:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#17211c;background:#f3f5f3;font-synthesis:none;--green:#176b4d;--green-2:#21815f;--border:#dfe5e1;--muted:#68756e;--ink:#17211c;--card:#fff;--soft:#f6f8f6;--red:#c34444;--shadow:0 18px 55px rgba(27,49,38,.1)}*{box-sizing:border-box}body{margin:0;min-width:1180px;min-height:100vh;background:radial-gradient(circle at 15% -20%,#e2f2e9 0,transparent 28%),#f3f5f3}button,input,select{font:inherit}button{cursor:pointer}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{margin:0 0 7px;font-weight:800;letter-spacing:.14em;font-size:10px;color:var(--green)}.topbar{height:66px;background:#ffffffe6;backdrop-filter:blur(14px);border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 30px;position:sticky;top:0;z-index:20}.brand,.topbar-right,.account-pill,.head-actions,.control,.tabs-row,.tabs,.breakdowns,.toolbar,.quick-filters,.chips,.bulkbar,.name-cell,.status,.popover-head,.saved-row,.modal-head,.modal-actions{display:flex;align-items:center}.brand{gap:11px}.brand>div:last-child{display:grid}.brand strong{font-size:14px}.brand span{font-size:11px;color:var(--muted)}.brand-mark{width:37px;height:37px;border-radius:11px;background:linear-gradient(145deg,#1b7655,#0d4934);color:#fff;display:grid;place-items:center;box-shadow:0 7px 16px #176b4d38}.topbar-right{gap:10px}.account-pill{gap:8px;border:1px solid var(--border);padding:6px 11px 6px 6px;border-radius:999px;font-size:12px;font-weight:700;background:#fff}.account-pill>span{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;color:#fff;background:#263d32}.icon-button{border:0;background:transparent;width:32px;height:32px;display:grid;place-items:center;border-radius:8px;color:#617068}.icon-button:hover{background:#edf2ef}.workspace{max-width:1570px;margin:auto;padding:29px 30px 70px}.page-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:19px}.page-head h1{font-size:27px;letter-spacing:-.035em;margin:0 0 5px}.page-head p:last-child{margin:0;font-size:12px}.head-actions{gap:9px}.control{height:38px;gap:7px;padding:0 12px;border:1px solid #d8dfda;border-radius:9px;background:#fff;color:#3d4b44;font-size:12px;font-weight:700;box-shadow:0 1px 1px #00000005}.control:hover,.control.active{border-color:#9ab9a9;background:#f4faf7;color:var(--green)}.control:disabled,button:disabled{opacity:.45;cursor:not-allowed}.popover-wrap{position:relative}.popover{position:absolute;z-index:40;top:calc(100% + 8px);right:0;background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow);padding:14px}.popover-title{font-size:12px;font-weight:800;margin:0 0 10px}.date-popover{width:420px}.preset-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.preset-grid button{border:1px solid var(--border);background:#fafbfa;border-radius:7px;padding:8px;font-size:11px;text-align:left}.custom-range{border-top:1px solid var(--border);margin-top:12px;padding-top:12px;display:flex;gap:8px;align-items:flex-end}.custom-range label,.login-card label,.modal label{display:grid;gap:5px;font-size:11px;font-weight:700;color:#536159}.custom-range input,.login-card input,.modal input,.modal select{border:1px solid var(--border);border-radius:8px;height:36px;padding:0 9px;background:#fff}.tiny-note{font-size:10px;color:var(--muted);margin:11px 0 0}.primary{border:0;background:var(--green);color:#fff;border-radius:8px;height:36px;padding:0 14px;font-weight:800;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:7px}.primary:hover{background:var(--green-2)}.wide{width:100%}.freshness{display:flex;align-items:center;gap:7px;font-size:11px;color:#607068;margin:0 0 12px}.freshness .dot{width:7px;height:7px;border-radius:50%;background:#d09037}.freshness.ok .dot{background:#21a56e;box-shadow:0 0 0 4px #e4f6ee}.freshness strong{color:#405148}.freshness span:last-child{margin-left:2px}.kpis{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-bottom:10px}.kpi{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:16px 17px;min-height:103px;position:relative;overflow:hidden}.kpi:before{content:"";position:absolute;left:0;top:0;right:0;height:3px;background:#b9c5bf}.kpi.positive:before{background:#39a67c}.kpi.negative:before{background:#d36a6a}.kpi p{font-size:11px;color:var(--muted);font-weight:700;margin:0 0 11px}.kpi strong{display:block;font-size:22px;letter-spacing:-.03em}.kpi span{font-size:9px;color:#8b958f}.chart-card{height:116px;background:#173c2e;color:#d9f5e9;border-radius:12px;padding:17px 19px;display:flex;align-items:stretch;justify-content:space-between;margin-bottom:11px;overflow:hidden}.chart-card h3{margin:3px 0;color:#fff;font-size:15px}.section-label{margin:0;color:#91baa8;font-size:10px;text-transform:uppercase;letter-spacing:.12em;font-weight:800}.chart-card svg{width:60%;color:#62d1a5;filter:drop-shadow(0 4px 6px rgba(49,208,151,.2))}.report-card{background:var(--card);border:1px solid var(--border);border-radius:13px;box-shadow:0 7px 28px #22342b0b;overflow:visible}.tabs-row{justify-content:space-between;border-bottom:1px solid var(--border);padding:0 15px}.tabs button,.breakdowns button{border:0;background:transparent;height:49px;padding:0 13px;color:#647069;font-size:12px;font-weight:700;display:flex;align-items:center;gap:7px;position:relative}.tabs button span{font-size:9px;background:#eef2ef;padding:2px 5px;border-radius:5px}.tabs button.active{color:var(--green)}.tabs button.active:after{content:"";position:absolute;bottom:-1px;left:10px;right:10px;height:2px;background:var(--green)}.breakdowns{gap:5px}.breakdowns button{height:31px;border:1px solid var(--border);border-radius:8px;padding:0 9px}.breakdowns button.active{background:#eaf5ef;color:var(--green);border-color:#b6d6c7}.breadcrumbs{display:flex;align-items:center;gap:5px;background:#f8faf8;border-bottom:1px solid var(--border);padding:8px 18px;font-size:11px;color:var(--muted)}.breadcrumbs button{border:0;background:transparent;color:var(--green);font-weight:700}.toolbar{gap:8px;padding:12px 15px;border-bottom:1px solid var(--border)}.search-box{width:260px;height:37px;border:1px solid var(--border);border-radius:8px;background:#fafbfa;display:flex;align-items:center;gap:7px;padding:0 10px;color:#8a9690}.search-box:focus-within{border-color:#8cb9a4;box-shadow:0 0 0 3px #edf7f2}.search-box input{border:0;outline:0;background:transparent;min-width:0;flex:1;font-size:12px}.search-box button{border:0;background:transparent;color:#78847e}.quick-filters{gap:6px}.quick-filters select{height:37px;border:1px solid var(--border);border-radius:8px;background:#fff;padding:0 24px 0 9px;font-size:11px;color:#56645d}.toolbar-spacer{flex:1}.count{font-size:9px;background:var(--green);color:#fff;width:17px;height:17px;border-radius:50%;display:grid;place-items:center}.filter-popover{width:620px}.popover-head{justify-content:space-between}.popover-head span{font-size:10px;color:var(--muted)}.rule{display:flex;gap:6px;margin-bottom:7px}.rule select,.rule input{height:35px;min-width:0;flex:1;border:1px solid var(--border);background:#fff;border-radius:7px;padding:0 7px;font-size:11px}.text-button{border:0;background:transparent;color:var(--green);font-weight:800;font-size:11px;padding:8px 0}.danger{color:#b14a4a}.columns-popover{width:265px;max-height:470px;overflow:auto}.column-option{display:flex;align-items:center;justify-content:space-between;padding:6px 0;border-bottom:1px solid #eef1ef}.column-option label{display:flex;gap:8px;align-items:center;font-size:11px}.column-option span{display:flex}.column-option button{border:0;background:transparent;padding:4px;color:#748079}.saved-popover{width:260px}.saved-row{justify-content:space-between;border-bottom:1px solid #edf1ee}.saved-row>button:first-child{border:0;background:transparent;padding:9px 0;flex:1;text-align:left;font-size:11px}.chips{gap:6px;flex-wrap:wrap;padding:8px 15px;background:#fbfcfb;border-bottom:1px solid var(--border)}.chips button{display:flex;align-items:center;gap:5px;border:1px solid #cfe1d7;background:#edf7f2;color:#35624e;border-radius:999px;padding:5px 8px;font-size:10px}.chips .clear{border:0;background:transparent;color:#a04444;font-weight:700}.bulkbar{gap:8px;padding:9px 15px;background:#183e2f;color:#fff;font-size:11px}.bulkbar button{border:1px solid #537464;background:#294e3f;color:#fff;border-radius:7px;padding:6px 10px}.bulkbar .icon-button{margin-left:auto;border:0}.table-wrap{overflow:auto;max-height:620px;position:relative}table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}th{height:41px;background:#f8faf8;border-bottom:1px solid var(--border);padding:0 11px;position:sticky;top:0;z-index:3;color:#65716b;text-align:left;font-size:9px;letter-spacing:.07em;text-transform:uppercase;white-space:nowrap;user-select:none}th svg{margin-left:4px;vertical-align:middle}td{height:52px;border-bottom:1px solid #edf0ee;padding:7px 11px;font-size:11px;color:#344139;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}tr:hover td{background:#fbfdfc}tr.selected td{background:#edf8f2}.numeric{text-align:right;font-variant-numeric:tabular-nums}.name-cell{gap:9px;min-width:0}.name-cell>div{display:grid;min-width:0}.name-cell strong{font-size:11px;overflow:hidden;text-overflow:ellipsis}.name-cell small{color:#9aa39e;font-size:8px}.name-cell>svg{margin-left:auto;color:#9aa79f}.entity-icon{width:27px;height:27px;flex:0 0 27px;border-radius:7px;display:grid;place-items:center;font-size:9px;font-weight:900;color:#fff;background:#436756}.entity-icon.adset{background:#6a6e91}.entity-icon.ad{background:#986f53}.toggle{width:31px;height:18px;border:0;border-radius:999px;background:#c9d0cc;padding:2px;transition:.2s}.toggle span{display:block;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #89958e;transition:.2s}.toggle.on{background:#2da876}.toggle.on span{transform:translate(13px)}.status{gap:5px;font-size:10px}.status>span{width:6px;height:6px;border-radius:50%;background:#a0aaa5}.status.running>span{background:#24a470}.status.paused>span{background:#e1a342}.status.archived>span{background:#8b9390}.status em{font-style:normal;background:#e7f2ed;color:#287054;border-radius:4px;padding:2px 4px;font-size:8px}.budget-input{width:75px;text-align:right;border:1px solid transparent;border-radius:6px;padding:5px;background:transparent}.budget-input:hover,.budget-input:focus{border-color:var(--border);background:#fff;outline:0}.bid-button{border:0;background:#edf3ef;color:#446052;border-radius:5px;padding:4px 7px;font-size:9px}.match{font-size:9px;border-radius:999px;padding:4px 7px;background:#f1f2f1}.match.matched{background:#e6f5ed;color:#217252}.match.partial{background:#fff3dd;color:#9a6411}.good{color:#14875d!important}.bad{color:#c44a4a!important}.country-code{font-weight:800;background:#edf2ef;padding:4px 7px;border-radius:5px}.resize-handle{position:absolute;right:-3px;top:0;width:7px;height:100%;cursor:col-resize}.empty{height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#8b9690;gap:8px}.empty strong{color:#445149}.empty button{border:0;background:transparent;color:var(--green);font-weight:800}.empty.state{height:340px;background:#fff;border:1px solid var(--border);border-radius:13px}.table-footer{display:flex;justify-content:space-between;padding:10px 15px;font-size:9px;color:#8b958f;border-top:1px solid var(--border)}.notice{padding:10px 13px;border-radius:9px;margin-bottom:10px;display:flex;gap:8px;font-size:11px}.error-notice{background:#fff0f0;color:#8e3434;border:1px solid #f0cccc}.toast{position:fixed;right:24px;bottom:24px;z-index:80;background:#183c2e;color:#fff;border:0;border-radius:10px;padding:12px 14px;display:flex;align-items:center;gap:8px;box-shadow:var(--shadow);font-size:11px}.login-shell,.loading-screen{min-height:100vh;display:grid;place-items:center}.login-card{width:390px;background:#fff;border:1px solid var(--border);border-radius:17px;padding:32px;box-shadow:var(--shadow)}.login-card h1{margin:15px 0 5px;letter-spacing:-.035em}.login-card>p.muted{font-size:12px;margin-bottom:24px}.login-card form{display:grid;gap:14px}.form-error{font-size:11px;color:#b03c3c;background:#fff0f0;padding:9px;border-radius:7px}.loading-screen{align-content:center;gap:13px;color:var(--muted);font-size:12px}.loading-screen .brand-mark{margin:auto}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.modal-backdrop{position:fixed;inset:0;z-index:100;background:#0d1a1485;display:grid;place-items:center;padding:30px}.modal{width:760px;max-height:80vh;overflow:auto;background:#fff;border-radius:16px;box-shadow:var(--shadow);padding:22px}.compact-modal{width:480px;display:grid;gap:15px}.modal-head{justify-content:space-between;margin-bottom:15px}.modal-head h2{margin:0 0 3px}.modal-head span{font-size:11px;color:var(--muted)}.hour-bars{display:grid;gap:7px}.hour{display:grid;grid-template-columns:48px 1fr 85px;gap:10px;align-items:center;font-size:10px}.hour>div{height:12px;background:#eef2ef;border-radius:4px;overflow:hidden}.hour i{display:block;height:100%;border-radius:4px}.good-bg{background:#35b27f}.bad-bg{background:#d76666}.hour strong{text-align:right}.modal-actions{justify-content:flex-end;gap:8px}.modal-actions>button:not(.primary){border:1px solid var(--border);background:#fff;border-radius:8px;height:36px;padding:0 13px}@media(max-width:1250px){.kpis{grid-template-columns:repeat(3,1fr)}.workspace{padding-left:18px;padding-right:18px}}.search-control{display:flex;align-items:center;gap:6px}.search-submit{height:36px;border:1px solid #b9d2c5;border-radius:8px;padding:0 12px;background:#eef7f2;color:var(--green);font-size:11px;font-weight:800}.search-submit:hover{background:#e2f1e9}.hourly-scope{display:grid;gap:5px;margin:-4px 0 16px;color:#536159;font-size:11px;font-weight:700}.hourly-scope select{height:36px;border:1px solid var(--border);border-radius:8px;padding:0 9px;background:#fff}:root{color-scheme:light;--green: #4058d6;--green-2: #2946b8;--border: #e1e7ef;--muted: #64748b;--ink: #172033;--soft: #f7f9fc;--shadow: 0 1px 2px rgb(15 23 42 / 4%), 0 12px 30px -22px rgb(15 23 42 / 36%)}body{color:var(--ink);background:#f6f8fb}.topbar{min-height:58px;height:auto;padding:10px 24px;background:#fffffff5}.brand-chip,.theme-toggle,.privacy-toggle{display:inline-flex;align-items:center}.brand-chip{gap:8px;height:36px;padding:3px 10px 3px 3px;border:1px solid var(--border);border-radius:8px;background:#fff;color:#29364b;font-size:11px;font-weight:700}.brand-chip img{width:28px;height:28px;border-radius:7px}.product-name{display:grid;padding-left:2px}.privacy-toggle{gap:8px;height:36px;color:#536176;font-size:11px;font-weight:700;cursor:pointer}.privacy-toggle input{position:absolute;opacity:0;pointer-events:none}.privacy-switch{width:32px;height:18px;padding:2px;border-radius:999px;background:#cbd5e1;transition:.16s ease}.privacy-switch:after{display:block;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0f172a47;content:"";transition:.16s ease}.privacy-toggle input:checked+.privacy-switch{background:var(--green)}.privacy-toggle input:checked+.privacy-switch:after{transform:translate(14px)}.privacy-toggle input:focus-visible+.privacy-switch{outline:2px solid var(--green);outline-offset:2px}.theme-toggle{gap:6px;height:36px;padding:0 10px;border:1px solid var(--border);border-radius:8px;background:#fff;color:#536176;font-size:11px;font-weight:700}.privacy-value{color:var(--muted)!important;letter-spacing:.12em;user-select:none}.chart-private{display:grid;width:60%;place-items:center;border:1px dashed rgb(255 255 255 / 22%);border-radius:8px;color:#b7c1cf;font-size:11px;font-weight:700}.rule select[multiple]{min-height:72px;padding:4px}html[data-theme=dark]{color-scheme:dark;--green: #8197ff;--green-2: #9aacff;--border: #263244;--muted: #a5b1c2;--ink: #eef3fa;--card: #111827;--soft: #151e2d;--shadow: 0 1px 2px rgb(0 0 0 / 28%), 0 18px 44px -22px rgb(0 0 0 / 80%);color:var(--ink);background:#080d18}html[data-theme=dark] body,html[data-theme=dark] .app-shell,html[data-theme=dark] .login-shell,html[data-theme=dark] .loading-screen{color:var(--ink);background:#080d18}html[data-theme=dark] .topbar,html[data-theme=dark] .login-card,html[data-theme=dark] .report-card,html[data-theme=dark] .kpi,html[data-theme=dark] .popover,html[data-theme=dark] .modal,html[data-theme=dark] .empty.state{border-color:var(--border);background:#111827;color:var(--ink)}html[data-theme=dark] .brand-chip,html[data-theme=dark] .theme-toggle,html[data-theme=dark] .account-pill,html[data-theme=dark] .control,html[data-theme=dark] .search-box,html[data-theme=dark] .search-submit,html[data-theme=dark] .quick-filters select,html[data-theme=dark] .custom-range input,html[data-theme=dark] .login-card input,html[data-theme=dark] .rule input,html[data-theme=dark] .rule select,html[data-theme=dark] .modal input,html[data-theme=dark] .modal select,html[data-theme=dark] .hourly-scope select{border-color:#334155;background:#151e2d;color:#eef3fa}html[data-theme=dark] .privacy-toggle,html[data-theme=dark] .theme-toggle,html[data-theme=dark] .brand-chip,html[data-theme=dark] .freshness,html[data-theme=dark] .table-footer,html[data-theme=dark] .muted{color:#a5b1c2}html[data-theme=dark] .tabs-row,html[data-theme=dark] .toolbar,html[data-theme=dark] .breadcrumbs,html[data-theme=dark] .chips,html[data-theme=dark] .table-footer,html[data-theme=dark] td{border-color:#263244}html[data-theme=dark] th{border-color:#263244;background:#151e2d;color:#a5b1c2}html[data-theme=dark] td,html[data-theme=dark] .name-cell strong,html[data-theme=dark] .empty strong,html[data-theme=dark] .kpi strong,html[data-theme=dark] .freshness strong{color:#eef3fa}html[data-theme=dark] tr:hover td{background:#151e2d}html[data-theme=dark] tr.selected td{background:#18264a}html[data-theme=dark] .chips,html[data-theme=dark] .toolbar,html[data-theme=dark] .table-footer{background:#111827}html[data-theme=dark] .chips button,html[data-theme=dark] .bid-button,html[data-theme=dark] .match,html[data-theme=dark] .country-code{border-color:#334155;background:#1b2940;color:#c9d4e5}html[data-theme=dark] .preset-grid button,html[data-theme=dark] .column-option,html[data-theme=dark] .saved-row{border-color:#263244;background:#151e2d;color:#eef3fa}html[data-theme=dark] .budget-input{color:#eef3fa}html[data-theme=dark] .budget-input:hover,html[data-theme=dark] .budget-input:focus{border-color:#3a485d;background:#151e2d}
