:root{--ink:#172b3b;--muted:#7d8d99;--bg:#f3f6f8;--line:#e5ebef;--accent:#187b70;--nav:#102a35;--blue:#347cd0}*{box-sizing:border-box}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',sans-serif;background:var(--bg);color:var(--ink);font-size:14px}button,input,select{font:inherit}button{cursor:pointer;border:1px solid transparent;border-radius:7px;padding:10px 15px;transition:background .16s}button:hover{filter:brightness(.96)}button:disabled{opacity:.5;cursor:not-allowed}input,select{border:1px solid #dce4e9;background:white;border-radius:6px;padding:10px;color:var(--ink);outline:none}input:focus,select:focus{border-color:#349e91;box-shadow:0 0 0 3px #def2ec}button.primary{background:var(--accent);color:white;font-weight:600}button.secondary{background:white;border-color:#dce5e9;color:#425967}button.danger{background:#fff1ef;color:#b64a43;border-color:#f4d3cd}h1,h2,h3,p{margin:0}h2{font-size:16px;font-weight:650}p.muted,.muted{color:var(--muted)}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.7px;color:#679086}.brand-mark{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;background:#38a993;color:white;font-weight:800;font-size:17px;border-radius:10px;letter-spacing:-1px}.sidebar{position:fixed;inset:0 auto 0 0;width:222px;background:var(--nav);color:#d1dfe3;padding:30px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;font-size:19px;font-weight:650;padding:0 8px}.brand small{display:block;font-size:8px;font-weight:400;letter-spacing:2px;color:#92afb7;margin-top:5px}.workspace-label{font-size:11px;color:#809fa8;margin:38px 12px 16px;display:flex;justify-content:space-between}.workspace-label span{font-size:8px;letter-spacing:1px;color:#74b6a8}nav button{display:flex;width:100%;align-items:center;gap:12px;background:transparent;color:#9db5bd;text-align:left;margin:5px 0;padding:13px 14px;font-size:13px}nav button.active{background:#24434a;color:#b7f2dc}nav button i{font-size:19px;font-style:normal;width:20px;text-align:center}nav small{font-size:9px;border:1px solid #47616a;border-radius:4px;padding:2px 4px;margin-left:auto}.nav-divider{height:1px;background:#2a424a;margin:23px 12px}.sidebar-bottom{margin-top:auto;font-size:11px;padding:20px 10px 0;color:#94b0b8}.sidebar-bottom small{display:block;margin:9px 0;color:#718d97}.sidebar-bottom button{padding:7px 0;background:none;color:#b9cbd0;font-size:11px}.dot,.small-dot{display:inline-block;background:#3ac69c;border-radius:50%;width:6px;height:6px;margin-right:6px}.small-dot{width:8px;height:8px}.topbar{height:75px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line);padding:0 34px}.breadcrumb{color:#8e9ca7;font-size:12px}.breadcrumb span{margin:0 13px;color:#cbd5dc}.breadcrumb b{color:#4c6571;font-weight:500}.topbar-right{display:flex;align-items:center;gap:22px;font-size:11px;color:#8999a2}.live-chip{background:#eaf5ee;color:#39856f;padding:6px 10px;border-radius:5px;font-size:10px}.avatar{width:31px;height:31px;background:#edf1f5;display:flex;align-items:center;justify-content:center;color:#455e71;border:1px solid #e2e8ed;border-radius:50%;font-size:10px;font-weight:700}main{margin-left:222px}.page-wrap{max-width:1680px;margin:auto;padding:32px 34px}.page-title{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:27px}.page-title h1{font-size:27px;font-weight:650;letter-spacing:-.8px;margin:8px 0 10px}.page-title p{font-size:12px;color:#85949e}.toolbar{display:flex;gap:9px;align-items:center}.toolbar button,.toolbar select{font-size:11px;padding:10px 12px}.scope-note{border:1px solid #dae8e7;background:#eef6f5;border-radius:7px;color:#62847f;padding:12px 15px;margin-bottom:22px;display:flex;gap:10px;font-size:11px;line-height:1.6}#last-query{margin-left:auto;white-space:nowrap;color:#8ca29d}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:23px}.metric{background:white;border:1px solid var(--line);border-radius:9px;padding:20px 21px;position:relative;overflow:hidden;min-height:139px}.metric:before{content:'';position:absolute;left:0;top:0;width:100%;height:3px;background:#7bb7c7}.metric:nth-child(2):before{background:#6daf98}.metric:nth-child(3):before{background:#b9a474}.metric:nth-child(4):before{background:#829fc4}.metric-label{color:#71838e;font-size:12px;display:flex;justify-content:space-between}.metric-label span{color:#b2c3c9;font-size:15px}.metric-value{font-size:29px;font-weight:650;margin:14px 0 9px;letter-spacing:-.9px;overflow-wrap:anywhere}.metric-value.small-value{font-size:18px;letter-spacing:0;line-height:1.4}.metric-note{font-size:10px;color:#a0adb5}.card{background:white;border:1px solid var(--line);border-radius:9px;margin-bottom:22px;overflow:hidden}.card-heading{padding:21px 23px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #edf1f3}.card-heading p{font-size:11px;color:#8c9ba4;margin-top:7px;line-height:1.6}.card-heading button,.card-heading select{font-size:11px}.card-heading>div:last-child{display:flex;gap:9px}.card-heading>div:first-child{display:block}.badge{background:#edf6f5;color:#68a699;font-size:9px;letter-spacing:1.3px;padding:5px 7px;border-radius:4px}.dashboard-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:22px}.chart-body{min-height:240px;padding:20px 24px}.empty{padding:42px 20px;text-align:center;color:#9caab3;font-size:12px;line-height:1.8}.runtime-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:24px}.runtime-item{border-bottom:1px solid #edf1f3;padding:0 0 18px}.runtime-item span{display:block;color:#97a5ae;font-size:11px;margin-bottom:9px}.runtime-item strong{font-size:17px;font-weight:600}.soft-note{padding:15px 23px;color:#8b9b99;font-size:11px;background:#f8faf9;line-height:1.9}.bar-row{margin-bottom:20px}.bar-label{display:flex;justify-content:space-between;font-size:11px;margin-bottom:8px}.bar-label span{color:#8ea0a9}.bar-track{height:6px;background:#eef4f5;border-radius:4px;overflow:hidden}.bar-fill{height:100%;background:linear-gradient(90deg,#278f80,#8cc7bc);min-width:0;border-radius:4px}.bar-row:nth-child(2n) .bar-fill{background:linear-gradient(90deg,#4186b3,#9bbdd1)}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:12px}th{font-weight:500;color:#8a9aa4;background:#fafcfd;font-size:10px;padding:14px 20px;border-bottom:1px solid var(--line)}td{padding:18px 20px;border-bottom:1px solid #eef2f4;color:#536a78}tr:last-child td{border-bottom:0}td strong{font-weight:550;color:#344e5d}td small{display:block;color:#a2afb7;margin-top:6px;font-size:10px}td button{font-size:10px;padding:5px 8px;background:#f0f5f5;color:#508c7e}.pill{font-size:10px;padding:4px 7px;border-radius:4px;background:#eff3f6;color:#8a9aa7}.pill.good{background:#e9f6ed;color:#4b9670}.pill.bad{background:#fdf0ed;color:#be786c}.batch-toolbar{padding:13px 23px;background:#fbfcfd;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:10px}.batch-toolbar span{font-size:11px;color:#94a2ab;margin-right:auto}.batch-toolbar button{font-size:11px;padding:7px 11px}.pack-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.pack{padding:23px;cursor:pointer}.pack-icon{width:45px;height:45px;border-radius:9px;background:#edf6f3;color:#3c8c78;display:flex;align-items:center;justify-content:center;font-size:22px;margin-bottom:18px}.pack h2{font-size:18px;margin-bottom:13px}.pack p{font-size:11px;color:#91a0a9;line-height:1.8}.pack .pill{display:inline-block;margin-top:17px}pre{padding:23px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.9;color:#607888;margin:0}.roadmap{padding:35px}.roadmap>h2{font-size:25px;margin:17px 0}.roadmap>p{color:#8c9aa3;font-size:12px}.roadmap-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:35px 0 10px}.roadmap-grid>div{padding:25px;background:#f6f9f8;border-radius:8px}.roadmap-grid b{font-size:26px;color:#99b9ae}.roadmap-grid h3{font-size:15px;margin:20px 0 12px}.roadmap-grid p{font-size:12px;line-height:1.9;color:#82968e}footer{font-size:10px;text-align:center;color:#a3b0b7;margin:35px 0 0;letter-spacing:.3px}footer span{margin:0 12px;color:#c3cdd2}.login-screen{display:flex;min-height:100vh;align-items:center;justify-content:center;gap:100px;background:radial-gradient(ellipse at 10% 40%,#dfefea,transparent 55%),#f4f7f7}.login-brand h1{font-size:44px;line-height:1.5;letter-spacing:-2px;margin:30px 0 22px;color:#20443e}.login-brand p{font-size:14px;line-height:2;color:#7d9990}.login-caption{display:block;font-size:9px;letter-spacing:3px;color:#9aafa8;margin-top:60px}.login-card{background:white;border:1px solid #e3ebe7;border-radius:14px;padding:42px;width:390px;box-shadow:0 20px 65px #234c3910}.login-card h2{font-size:23px;margin:16px 0 12px}.login-card p.muted{font-size:12px;margin-bottom:28px}label{display:block;font-size:12px;color:#647985;margin:20px 0}label input,label select{display:block;width:100%;margin-top:9px;font-size:12px;padding:12px}label select[multiple]{min-height:130px}.login-card button{width:100%;margin-top:10px;display:flex;justify-content:space-between}.login-card small{display:block;color:#acb9b5;font-size:10px;margin-top:26px;text-align:center}.error{color:#b65b4c;font-size:12px;margin-top:14px}dialog{border:1px solid #e3e9ed;border-radius:12px;padding:25px;max-width:650px;width:calc(100% - 30px);box-shadow:0 25px 90px #102a3530}dialog::backdrop{background:#152b3b55;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:center}.modal-head button{background:none;font-size:25px;color:#8b9da8;padding:0 6px}dialog p{color:#8497a1;font-size:12px;line-height:1.9;margin-top:16px}dialog .primary{margin-top:16px}#toast{position:fixed;right:30px;bottom:25px;border:1px solid #c6dfd6;background:#fff;color:#387a67;padding:15px 23px;border-radius:8px;box-shadow:0 8px 30px #123c3015;max-width:450px;z-index:10;font-size:12px;line-height:1.7}[hidden]{display:none!important}@media(min-width:1550px){.page-wrap{padding:38px 48px}.metric{padding:24px;min-height:150px}}@media(max-width:1120px){.sidebar{width:190px}main{margin-left:190px}.page-wrap{padding:25px 22px}.topbar{padding:0 22px}.page-title{align-items:flex-start;flex-direction:column}.metric-grid{gap:12px}.metric{padding:17px}.metric-value{font-size:25px}.dashboard-grid{grid-template-columns:1fr}.pack-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.sidebar{width:64px;padding:20px 7px}.brand{padding:0}.brand>span:last-child,.workspace-label,.sidebar-bottom,.nav-divider,nav small{display:none}.brand-mark{width:40px;height:40px}.sidebar nav{margin-top:25px}.sidebar nav button{font-size:0;padding:12px;gap:0}.sidebar nav i{font-size:22px}main{margin-left:64px}.page-wrap{padding:20px 14px}.topbar{height:60px;padding:0 15px}.topbar-right{gap:8px}#clock,.breadcrumb{display:none}.metric-grid{grid-template-columns:1fr 1fr}.metric-value{font-size:24px}.toolbar{flex-wrap:wrap}.card-heading{padding:18px;align-items:flex-start;flex-direction:column}.card-heading>div:last-child{flex-wrap:wrap}.scope-note{font-size:10px}#last-query{display:none}.pack-grid{grid-template-columns:1fr}.roadmap-grid{grid-template-columns:1fr}.login-brand{display:none}.login-screen{padding:20px}.login-card{padding:30px;width:100%}.batch-toolbar{flex-wrap:wrap;padding:12px}.batch-toolbar span{width:100%}.page-title h1{font-size:24px}}
textarea{font:inherit;display:block;width:100%;border:1px solid #dce4e9;border-radius:6px;padding:12px;margin-top:9px;resize:vertical;color:var(--ink);line-height:1.7}.pack-editor{padding:25px}.editor-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}.pack-editor h2{margin:18px 0}.pack-editor p{font-size:12px;line-height:1.9;margin:12px 0}.asset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px;margin:18px 0}.asset-option{padding:12px;border:1px solid var(--line);border-radius:8px;margin:0;position:relative}.asset-option input{width:auto;position:absolute;top:8px;left:8px}.asset-option img{width:100%;height:110px;object-fit:contain;background:#f3f6f8;display:block;margin:15px 0 8px}.asset-option b,.asset-option small{display:block}.asset-option:has(input:checked){border-color:var(--accent);background:#eef8f4}.pack-editor details{margin:18px 0}.pack-editor summary{cursor:pointer;color:var(--accent)}@media(max-width:850px){.editor-columns{grid-template-columns:1fr}.login-brand{display:none}.login-screen{padding:25px}.login-card{max-width:390px;width:100%}}
#report-table table,#campaigns-table table{min-width:1800px}#report-table th,#campaigns-table th{white-space:nowrap}#report-table td:not(:first-child),#campaigns-table td:not(:nth-child(2)){white-space:nowrap}#report-table th:first-child,#report-table td:first-child{position:sticky;left:0;background:white;z-index:1;min-width:170px}#report-table th:first-child{background:#fafcfd;z-index:2}
.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:1120px){.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:420px){.metric-grid{grid-template-columns:1fr}}
.inline-toggle{display:flex;align-items:center;gap:6px;margin:0;font-size:11px;white-space:nowrap}.inline-toggle input{width:auto;margin:0}.card-heading>div:last-child{flex-wrap:wrap}

/* Focused multi-account operations */
.manage-account-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;padding:18px 24px}.manage-account-option{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid #dfe8ec;border-radius:9px;background:#fff}.manage-account-option small{display:block;color:#78909b;margin-top:5px}.manage-account-option input{width:auto;margin-top:3px}#manage-accounts input{flex-shrink:0}#pilot-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:18px}#pilot-summary .runtime-item{padding:10px;border:0}details.card>summary{padding:18px 24px;cursor:pointer;font-weight:600}details.card>article{border:0;margin:0}.manage-account-grid label{margin:0}@media(max-width:700px){#pilot-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.manage-account-grid{grid-template-columns:1fr}}

.account-asset-preview{display:block;width:100%;max-width:320px;height:160px;object-fit:contain;background:#f3f6f8;margin:12px 0}.account-asset-preview[hidden]{display:none}.account-creative-form{margin-top:24px}.account-config-result{padding:12px 0;color:var(--accent)}

.sidebar{overflow-y:auto}.sidebar .brand{flex-shrink:0}#page-attribution #at-leads{padding:20px}#page-attribution .scope-note{line-height:1.8}#page-attribution .card>p{padding:12px 24px}#page-attribution input,#page-attribution select{max-width:100%}
