:root{--ink:#17233b;--muted:#59677f;--accent:#6950e8;--paper:#f5f7fb;--border:#e2e7f0;--green:#6950e8;--nav:#11182c;--shadow:0 4px 20px #16233c05;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button:focus-visible,a:focus-visible{outline:3px solid #8eddf4}button{cursor:pointer;border:0}a{color:inherit}button:disabled{cursor:not-allowed;opacity:.5}.loading{padding:50px}h1,h2,h3,p{margin-top:0}h1{font-size:30px;letter-spacing:-1px;font-weight:700}h2{font-size:20px;letter-spacing:-.4px;font-weight:650}h3{font-size:16px;font-weight:650}p{line-height:1.6}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{font-size:11px;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted);font-weight:650}.layout{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--nav);color:#e9eefb;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:30px 18px 20px;gap:32px}.brand{padding:0 12px}.brand img{display:block;width:185px;height:auto}.brand small{display:block;color:#9faec8;letter-spacing:2px;font-size:10px;margin-top:18px}.nav-label{font-size:10px;color:#9faec8;letter-spacing:1.5px;padding:0 14px;margin-bottom:13px}.nav-item{width:100%;display:flex;gap:12px;align-items:center;background:none;color:#b9c4d9;padding:13px 14px;border-radius:9px;text-align:left;margin-bottom:5px;font-size:14px}.nav-item:hover{background:#1d2841;color:white}.nav-item.active{background:#7460eb;color:white;box-shadow:0 4px 20px #6950e830}.nav-icon{font-size:19px;width:22px;text-align:center}.sidebar-bottom{margin-top:auto;border-top:1px solid #2c3650;padding-top:20px}.user{display:flex;gap:10px;align-items:center;font-size:12px}.user .muted{color:#adbad1}.avatar{width:36px;height:36px;border-radius:12px;background:#302b62;color:#d5cdff;display:grid;place-items:center;font-weight:700}.shell{min-width:0}.topbar{height:80px;background:white;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 40px;gap:20px;font-size:13px}.topbar .right{display:flex;align-items:center;gap:16px}.workspace{padding:8px 12px;border-radius:7px;background:#f4f5fa;font-size:12px}.online{font-size:12px;color:#176a50}.online:before{content:'';display:inline-block;width:6px;height:6px;background:#28966e;border-radius:50%;margin-right:7px}.content{max-width:1480px;margin:auto;padding:36px 40px 65px}.page-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.page-title h1{margin-bottom:8px}.page-title p{margin-bottom:0;font-size:14px;color:var(--muted)}.btn{padding:12px 18px;border-radius:8px;background:var(--accent);color:white;font-size:13px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;min-height:42px;transition:background .15s,box-shadow .15s}.btn:hover{box-shadow:0 3px 10px #2b235222}.btn.secondary{background:white;color:var(--ink);border:1px solid #d8dfeb}.btn.gold{background:#176a50}.btn.quiet{background:transparent;color:var(--muted);padding:8px 10px}.btn.small{padding:9px 12px;font-size:12px}.grid{display:grid;gap:20px}.stats{grid-template-columns:repeat(4,1fr);margin-bottom:26px}.stat{background:white;border:1px solid var(--border);border-radius:12px;padding:23px}.stat-label{font-size:13px;color:var(--muted);display:flex;justify-content:space-between}.stat-value{font-size:36px;font-weight:700;letter-spacing:-1px;margin:12px 0 8px}.stat-bottom{font-size:12px;color:var(--muted)}.two-cols{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);gap:24px}.panel{border:1px solid var(--border);background:white;border-radius:12px;padding:25px;box-shadow:var(--shadow)}.panel-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.panel-title h2{margin:0;font-size:17px}.campaign-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:14px;align-items:center;padding:19px 0;border-bottom:1px solid var(--border)}.campaign-row:last-child{border-bottom:0}.monogram{width:44px;height:44px;border-radius:10px;display:grid;place-items:center;background:#efedff;color:#6551c9;font-size:13px;font-weight:700}.campaign-name{font-size:14px;font-weight:650;margin-bottom:6px}.campaign-name:hover{text-decoration:underline}.campaign-meta{font-size:12px;color:var(--muted);line-height:1.5}.badge{font-size:11px;border-radius:6px;padding:6px 9px;display:inline-block;white-space:nowrap;background:#edf1f7;color:#51627b}.badge.review{background:#fff3da;color:#8b5c0e}.badge.approved,.badge.live{background:#e4f5ed;color:#176a50}.badge.changes{background:#fff0e8;color:#995020}.badge.draft{background:#efedff;color:#6450bd}.field{margin-bottom:19px}.field label{font-size:13px;font-weight:600;display:block;margin-bottom:8px}.field input,.field textarea,.field select,.tabs select{border:1px solid #d6deeb;background:#fff;border-radius:8px;width:100%;padding:12px 13px;color:var(--ink);font-size:14px;min-height:44px}.field input:focus,.field textarea:focus,.field select:focus{outline:3px solid #6950e822;border-color:#6950e8}.field input[readonly]{background:#f5f7fb}.field textarea{resize:vertical;min-height:110px;line-height:1.6}.field input[type=color]{height:44px;padding:5px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.quick-card{padding:18px 0;border-bottom:1px solid var(--border);display:flex;gap:14px;font-size:13px}.quick-card:last-child{border-bottom:0}.quick-card>span{font-size:21px;color:var(--accent)}.quick-card strong{display:block;margin-bottom:6px}.empty{padding:34px 22px;text-align:center;color:var(--muted);font-size:14px;line-height:1.7;border:1px dashed #cdd7e7;border-radius:10px}.cards{grid-template-columns:repeat(3,minmax(0,1fr))}.client-card h3{margin:20px 0 8px;font-size:18px}.client-card p{font-size:13px;color:var(--muted);min-height:42px}.card-footer{border-top:1px solid var(--border);padding-top:16px;margin-top:20px;display:flex;gap:10px;justify-content:space-between;font-size:12px;color:var(--muted)}.tabs{display:flex;gap:7px;margin-bottom:24px;flex-wrap:wrap;align-items:center}.tab{background:transparent;padding:11px 15px;border-radius:8px;color:var(--muted);font-size:13px;min-height:42px}.tab.active{background:#eae6ff;color:#5c43c9;font-weight:650}.tabs select{width:auto;margin-left:auto;max-width:240px}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}.table th{color:var(--muted);font-weight:600;font-size:12px;padding:13px;border-bottom:1px solid var(--border);background:#f8f9fc}.table td{padding:17px 13px;border-bottom:1px solid var(--border)}.table button{background:transparent;color:var(--accent);padding:6px}.board{display:flex;gap:16px;overflow:auto;padding-bottom:20px}.column{min-width:240px;flex:1;background:#edf1f7;border:1px solid var(--border);border-radius:12px;padding:16px}.column-title{display:flex;justify-content:space-between;font-size:13px;font-weight:650;margin-bottom:20px}.column-title span{color:var(--muted)}.lead-card{background:white;border:1px solid var(--border);border-radius:9px;padding:17px;margin-bottom:12px;text-align:left;width:100%}.lead-card strong{font-size:14px;display:block;margin-bottom:8px}.lead-card span{font-size:12px;color:var(--muted)}.file-card{display:flex;align-items:center;gap:16px;background:white;border:1px solid var(--border);border-radius:12px;padding:20px}.file-icon{width:48px;height:48px;border-radius:10px;display:grid;place-items:center;background:#efedff;color:#6551c9;font-size:12px;font-weight:650}.file-main{flex:1;min-width:0}.file-card strong{font-size:13px;display:block;overflow-wrap:anywhere}.file-card p{font-size:12px;margin:6px 0 0;color:var(--muted)}.integration{display:flex;align-items:center;gap:15px;border-bottom:1px solid var(--border);padding:20px 0}.integration:last-child{border:0}.integration .description{flex:1}.integration p{font-size:12px;color:var(--muted);margin:6px 0 0}.integration strong{font-size:14px}.notice{background:#edf5ff;color:#35577f;border:1px solid #d5e5fa;padding:14px 18px;border-radius:9px;font-size:13px;line-height:1.6;margin-bottom:24px}.note{font-size:12px;color:var(--muted);line-height:1.6}.review-card p{font-size:13px;color:var(--muted)}.creative-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.creative{border:1px solid var(--border);border-radius:10px;overflow:hidden;background:white}.creative svg{display:block;width:100%;height:auto}.creative-footer{padding:13px;font-size:12px;display:flex;align-items:center;justify-content:space-between}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:white}.auth-brand{background:radial-gradient(ellipse at 15% 90%,#253461 0%,transparent 55%),radial-gradient(ellipse at 100% 0%,#302653 0%,transparent 60%),#11182c;color:white;display:flex;flex-direction:column;padding:clamp(40px,6vw,100px);justify-content:center}.auth-brand .brand{padding:0;margin-bottom:70px}.auth-brand .brand img{width:230px}.auth-brand h1{font-size:clamp(38px,3.5vw,60px);line-height:1.1;max-width:600px;letter-spacing:-2px}.auth-brand h1 span{color:#8eddf4}.auth-brand p{color:#c2cce1;max-width:440px;font-size:16px}.auth-tags{display:flex;gap:10px;flex-wrap:wrap;margin-top:25px}.auth-tags span{border:1px solid #455373;border-radius:20px;padding:8px 14px;color:#c2cce1;font-size:12px}.auth-form{display:grid;place-items:center;padding:45px}.auth-form>div{width:100%;max-width:400px}.auth-form h2{font-size:28px;margin:15px 0 12px}.auth-form .btn{width:100%}.auth-form .link-button{display:block;margin:18px auto;background:none;color:var(--accent);font-size:13px;padding:6px}.auth-form form{margin-top:30px}.success-note{padding:20px;background:#e4f5ed;border-radius:10px;color:#176a50;line-height:1.6}.form-section{margin:28px 0 20px;padding-top:20px;border-top:1px solid var(--border)}.form-section:first-child{margin-top:0;padding-top:0;border:0}.form-section h3{font-size:14px;color:var(--accent)}dialog{border:1px solid var(--border);border-radius:16px;padding:0;width:min(840px,calc(100vw - 32px));max-height:90vh;box-shadow:0 25px 100px #11182c40;color:var(--ink)}dialog::backdrop{background:#11182c80;backdrop-filter:blur(4px)}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:24px 28px;border-bottom:1px solid var(--border);position:sticky;top:0;background:white;z-index:1}.modal-head h2{margin:0;font-size:21px}.modal-body{padding:26px 28px}.close{background:#edf1f7;border-radius:8px;width:36px;height:36px;font-size:23px;color:var(--muted)}#toast{position:fixed;bottom:26px;right:26px;background:#17233b;color:white;border-radius:10px;padding:16px 22px;z-index:100;box-shadow:0 5px 30px #0002;display:none;max-width:400px;font-size:13px}#toast.error{background:#a03535}.checklabel{display:flex;gap:10px;font-size:13px;line-height:1.6;margin-bottom:16px;align-items:start}.checklabel input{accent-color:var(--accent);width:17px;height:17px;flex-shrink:0}.detail-answer{border-bottom:1px solid var(--border);padding:14px 0;font-size:14px}.detail-answer small{display:block;color:var(--muted);margin-bottom:6px}.error-text{color:#b03737;font-size:13px;margin:16px 0;line-height:1.6}.prompt-result{white-space:pre-wrap;line-height:1.6;font-size:12px;background:#f5f7fb;padding:20px;border-radius:9px;max-height:400px;overflow:auto}.work-banner{background:#151f38;color:white;border-radius:12px;padding:24px 28px;display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:26px}.work-banner h2{font-size:19px;margin:0 0 7px}.work-banner p{font-size:13px;color:#c2cce1;margin:0}.work-banner .btn{flex-shrink:0;background:#8eddf4;color:#132039}.account-row{display:flex;gap:15px;align-items:center;flex-wrap:wrap;padding:15px 0;border-bottom:1px solid var(--border)}.account-row>div{flex:1;min-width:180px}.account-row strong{font-size:13px}.account-row p{font-size:12px;margin:5px 0;color:var(--muted)}
@media(min-width:1700px){.content{padding-top:46px}.cards{grid-template-columns:repeat(4,1fr)}}
@media(max-width:1100px){.layout{grid-template-columns:215px minmax(0,1fr)}.sidebar .brand img{width:165px}.content{padding:28px 25px}.topbar{padding:0 25px}.two-cols{grid-template-columns:1fr}.cards{grid-template-columns:repeat(2,1fr)}.workspace{display:none}}
@media(max-width:760px){.layout{display:block}.sidebar{height:auto;position:relative;padding:20px 18px 12px;gap:22px}.sidebar .brand{padding:0}.sidebar .brand img{width:158px}.sidebar .brand small{display:none}.sidebar nav{display:flex;overflow:auto;gap:5px;padding-bottom:6px}.nav-label,.sidebar-bottom{display:none}.nav-item{white-space:nowrap;width:auto;padding:11px 12px;font-size:12px;flex-shrink:0}.nav-icon{font-size:16px}.topbar{height:60px;padding:0 18px}.content{padding:24px 18px}.page-title{align-items:flex-start;flex-wrap:wrap;margin-bottom:24px}.page-title h1{font-size:27px}.page-title p{font-size:13px}.stats{grid-template-columns:1fr 1fr;gap:12px}.stat{padding:18px}.stat-value{font-size:30px}.stat-bottom{font-size:11px}.cards{grid-template-columns:1fr}.panel{padding:20px}.campaign-row{grid-template-columns:36px minmax(0,1fr);gap:12px}.campaign-row .badge{grid-column:2;justify-self:start}.monogram{width:36px;height:36px}.creative-grid{grid-template-columns:1fr}.auth{display:block}.auth-brand{padding:32px 26px}.auth-brand .brand{margin-bottom:30px}.auth-brand .brand img{width:175px}.auth-brand h1{font-size:35px;letter-spacing:-1px;margin-bottom:15px}.auth-brand p{font-size:14px;margin-bottom:0}.auth-tags{display:none}.auth-form{padding:35px 26px}.form-row{grid-template-columns:1fr;gap:0}.modal-body,.modal-head{padding:20px}.topbar .right{gap:6px}.online{display:none}.work-banner{padding:22px;align-items:start;flex-direction:column}.tabs select{width:100%;max-width:none;margin:7px 0}.integration{flex-wrap:wrap}.integration .description{min-width:160px}.table-wrap{padding:10px}.field input,.field textarea,.field select{font-size:16px}#toast{left:18px;right:18px;bottom:18px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.sidebar nav{scrollbar-width:thin;scrollbar-color:#455373 #11182c}.sidebar nav::-webkit-scrollbar{height:4px}.sidebar nav::-webkit-scrollbar-track{background:#11182c}.sidebar nav::-webkit-scrollbar-thumb{background:#455373;border-radius:4px}
