:root{--bg:#f7f8fa;--surface:#fff;--ink:#202c33;--muted:#7b858d;--line:#e9edef;--green:#087f6d;--green-light:#e8f5ef;--sidebar:238px;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);font-synthesis:none;background:var(--bg)}
*{box-sizing:border-box}body{margin:0;font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #75bbaa;outline-offset:3px}svg{display:block}button svg,a svg{width:18px;height:18px}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:#fff;border-right:1px solid var(--line);padding:32px 20px 0;z-index:5;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;margin:0 5px 35px;font-size:20px;font-weight:750;letter-spacing:-.8px}.brand-mark{display:grid;place-items:center;width:35px;height:39px;background:var(--green);border-radius:11px;color:#fff;font-size:32px;font-weight:400}.brand-light{font-weight:400}.brand small{font-size:8px;letter-spacing:2px;display:block;margin-top:5px;color:#919b9b}.workspace{display:flex;align-items:center;gap:9px;background:#fafbfb;border:1px solid var(--line);border-radius:8px;padding:12px 10px;font-size:11px;font-weight:650;margin-bottom:29px}.workspace-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:6px;background:#edf1f3;color:#50616c}.workspace small,.account small{display:block;color:var(--muted);font-size:10px;font-weight:400;margin-top:4px}.local-dot,.tiny-dot{display:inline-block;width:6px;height:6px;background:#229c7e;border-radius:50%;flex-shrink:0}.local-dot{margin-left:auto}.nav-label{font-size:9px;letter-spacing:1.4px;font-weight:700;color:#9aa3a9;padding:0 12px;margin-bottom:11px}.nav-gap{margin-top:31px}nav>a{display:flex;align-items:center;gap:12px;padding:12px;margin-bottom:5px;font-size:12px;color:#7b858b;border-radius:7px;font-weight:500}nav>a:hover{background:#f5f7f7;color:#273f38}nav>a.active{background:#eaf5f0;color:var(--green);font-weight:650}nav>a>span:first-child svg{width:18px;height:18px}nav .tiny-dot,nav .nav-count{margin-left:auto}.nav-count{font-size:10px;border-radius:4px;padding:2px 5px;background:#eef1f2;color:#7c8990}.sidebar-bottom{margin-top:auto}.help-card{background:linear-gradient(135deg,#f0f7f4,#f6f9f7);border:1px solid #e4eee8;border-radius:9px;padding:15px;margin:25px 0 20px}.help-card>span svg{width:22px;height:22px;color:var(--green);margin-bottom:13px}.help-card strong{font-size:11px}.help-card p{font-size:10px;line-height:1.8;color:#84908b;margin:7px 0 13px}.help-card a{display:flex;justify-content:space-between;color:#307e65;font-size:10px;font-weight:650}.account{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:20px 0;font-size:10px;font-weight:600}.avatar{display:grid;place-items:center;width:33px;height:33px;flex-shrink:0;border-radius:50%;background:#edf0f6;color:#6b798f;font-size:10px;font-weight:650}.avatar.small{width:30px;height:30px}.version{font-size:9px;color:#a9b0b4;margin-left:auto}.shell{margin-left:var(--sidebar);min-height:100vh;display:flex;flex-direction:column}.topbar{height:76px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 38px}.breadcrumb{display:flex;gap:13px;font-size:11px;color:#939ca2}.breadcrumb strong{font-weight:500;color:#4f5c64}.breadcrumb>span{color:#c3c9cc}.topbar-right{display:flex;align-items:center;gap:20px}.local-badge{display:flex;align-items:center;gap:7px;color:#75847b;font-size:10px}.header-divider{height:22px;width:1px;background:var(--line)}main{padding:34px 38px 25px;max-width:1600px;width:100%;margin:0 auto;flex:1;outline:none}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}.eyebrow{color:#929b9f;letter-spacing:1.7px;font-size:9px;font-weight:700;display:block;margin-bottom:8px}h1{font-size:28px;letter-spacing:-1px;font-weight:650;margin:0 0 9px}h2{font-size:14px;font-weight:650;margin:0;letter-spacing:-.15px}.subtitle{color:var(--muted);font-size:12px;margin:0;line-height:1.7}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:9px 13px;border-radius:6px;border:1px solid transparent;font-size:11px;font-weight:600;white-space:nowrap}.primary{background:var(--green);color:white;border-color:var(--green);box-shadow:0 2px 3px #0a5b4320}.primary:hover{background:#066b5c}.secondary{background:#fff;border-color:#dfe5e8;color:#58666f}.secondary:hover{background:#f6f9f8}.text-button{border:0;background:none;color:var(--green);font-size:11px;font-weight:600;display:inline-flex;gap:7px;align-items:center;padding:6px 0}.text-button:hover{text-decoration:underline}.text-button svg{width:14px;height:14px}.controls{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:12px}.control-group{display:flex;align-items:center;gap:9px}.select-wrap{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #e0e6e8;border-radius:6px;padding:0 10px;min-height:36px}.select-wrap svg{color:#84918c;width:15px;height:15px}.select-wrap select{border:0;background:transparent;color:#3f4d55;font-size:11px;max-width:220px;padding:8px 0;cursor:pointer}.demo-tag,.tag{display:inline-flex;gap:5px;align-items:center;font-size:9px;padding:4px 7px;border-radius:4px;background:#eef3f8;color:#73869e;font-weight:550}.demo-tag{background:#fff3dc;color:#a37c33;border:1px solid #f2e7ce}.notice{display:flex;align-items:center;gap:9px;background:#fffaf0;border:1px solid #f0e5cb;color:#9b824e;padding:10px 13px;border-radius:7px;margin-bottom:20px;font-size:10px;line-height:1.6}.notice svg{width:15px;height:15px;flex-shrink:0}.notice a{margin-left:auto;font-weight:600;white-space:nowrap}.notice.green{background:#eff8f4;color:#487a69;border-color:#d9ebe1}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:22px}.metric{background:#fff;border:1px solid var(--line);border-radius:9px;padding:19px 20px}.metric-title{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#7c898e}.metric-title svg{width:16px;height:16px;color:#9da8ad}.metric-value{font-size:30px;font-weight:650;letter-spacing:-1px;margin-top:17px}.metric-bottom{display:flex;gap:7px;align-items:center;margin-top:10px;color:#99a1a6;font-size:9px}.metric-bottom strong{color:#6d8780;font-size:9px;font-weight:500}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(260px,1fr);gap:21px;margin-bottom:22px}.panel{background:#fff;border:1px solid var(--line);border-radius:9px;min-width:0;overflow:hidden}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:21px 22px 0}.panel-header p{color:#98a1a6;font-size:10px;margin:7px 0 0}.panel-body{padding:22px}.legend{display:flex;align-items:center;gap:12px;font-size:9px;color:#89959b}.legend>span{display:flex;align-items:center;gap:5px}.legend i{width:6px;height:6px;border-radius:50%;background:var(--green)}.legend i.blue{background:#88a8dc}.chart{height:228px;padding:14px 17px 6px 9px;position:relative}.chart svg{width:100%;height:100%;overflow:visible}.chart text{font-family:inherit;font-size:10px;fill:#a1a9ad}.chart line{stroke:#eef1f3;stroke-dasharray:3 4}.chart .chart-players{stroke:#128970;stroke-width:2.5;fill:none}.chart .chart-sessions{stroke:#91acdf;stroke-width:1.8;fill:none;stroke-dasharray:5 4}.chart-empty{height:210px;display:grid;place-items:center;color:#99a6ac;font-size:12px}.chart-caption{border-top:1px solid #f2f4f5;padding:12px 22px;display:flex;justify-content:space-between;font-size:9px;color:#8e9b9f}.chart-caption strong{color:#627871;font-weight:500}.sources{padding:22px}.source-row{margin-bottom:21px}.source-row:last-child{margin-bottom:0}.source-info{display:flex;align-items:center;justify-content:space-between;font-size:11px;margin-bottom:9px}.source-name{display:flex;align-items:center;gap:8px}.source-name i{width:7px;height:7px;border-radius:2px}.source-info strong{font-size:11px;font-weight:600}.source-info small{color:#9aa4a8;font-size:9px;margin-left:7px}.bar-track{height:5px;background:#f3f5f6;border-radius:5px;overflow:hidden}.bar-fill{height:100%;border-radius:5px;min-width:0}.sources-note{padding:0 22px 17px;color:#98a4a8;font-size:9px;line-height:1.7}.table-panel{margin-bottom:22px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:11px}th{font-weight:500;color:#929ea4;font-size:9px;background:#fafbfc;border-top:1px solid #f0f3f4;border-bottom:1px solid var(--line);padding:12px 22px}td{padding:16px 22px;border-bottom:1px solid #f0f3f4;color:#58656c}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfdfd}.table-panel .panel-header{padding-bottom:18px}.campaign-title{display:flex;gap:10px;align-items:center;color:#33444b;font-weight:600}.source-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:7px;background:#eef4fb;color:#658bb6;font-size:16px;font-weight:650}.source-icon.tiktok{background:#f0f2f3;color:#39454c}.source-icon.google{background:#fdf4e9;color:#d4a261}.campaign-title small{display:block;margin-top:4px;font-size:9px;font-weight:400;color:#9ba6ac}.progress{display:flex;align-items:center;gap:8px}.progress>span{width:58px;height:4px;background:#edf3ef;border-radius:4px;overflow:hidden}.progress i{height:100%;background:#83b8a0;display:block}.status{display:inline-flex;align-items:center;gap:5px;font-size:9px;color:#39876a;background:#eff8f2;border-radius:4px;padding:4px 7px}.row-action{border:0;background:none;color:#7c9292;padding:5px}.bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:21px}.integration-mini{display:flex;gap:15px;padding:23px;align-items:flex-start}.integration-icon{width:42px;height:42px;background:#f0f5f3;border-radius:9px;display:grid;place-items:center;color:#537e70;flex-shrink:0}.integration-icon svg{width:22px;height:22px}.integration-mini h2{font-size:12px;margin-top:2px}.integration-mini p{color:#929da2;font-size:10px;line-height:1.7;margin:7px 0}.build-summary{display:flex;gap:30px;padding:21px 22px}.build-summary>div{flex:1}.build-summary span{font-size:10px;color:#94a0a6;display:block;margin-bottom:9px}.build-summary strong{font-size:17px;font-weight:600}.build-summary small{font-size:9px;color:#7c9287;display:block;margin-top:7px}footer{display:flex;justify-content:space-between;gap:15px;padding:21px 38px;font-size:9px;color:#a0a9ae}footer>span:first-child{display:flex;align-items:center;gap:6px}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.project-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:24px;display:flex;flex-direction:column;align-items:flex-start;gap:14px}.project-art{width:52px;height:52px;border-radius:14px;background:#e7f3ec;color:#429275;display:grid;place-items:center;font-size:26px}.project-card h2{font-size:17px}.project-card p{font-size:11px;color:var(--muted);margin:0;line-height:1.7}.project-meta{border-top:1px solid var(--line);padding-top:13px;display:flex;justify-content:space-between;width:100%;font-size:10px;color:#95a0a6}.empty-state{padding:50px 25px;text-align:center;color:#91a0a7}.empty-state h2{color:#4f6860;font-size:16px;margin:0 0 10px}.empty-state p{line-height:1.8;font-size:12px}.empty-state .button{margin-top:10px}.steps{display:grid;grid-template-columns:1fr 1fr;gap:21px}.step-number{background:#eaf5ef;color:var(--green);display:inline-grid;place-items:center;border-radius:6px;width:27px;height:27px;font-size:11px;margin-right:9px}.step-content{padding:20px 22px}.step-content p{font-size:12px;color:#849199;line-height:1.8;margin:0 0 15px}.field{display:block;margin-bottom:17px}.field>span{display:block;font-size:11px;font-weight:600;color:#63737d;margin-bottom:7px}.field input,.field select,.field textarea{width:100%;border:1px solid #dfe6e8;border-radius:6px;padding:11px;background:#fff;color:#3e515c;font-size:12px}.field textarea{resize:vertical;min-height:70px}.field small{display:block;font-size:10px;color:#8c9b9f;line-height:1.6;margin-top:6px}.copy-field{display:flex;gap:8px;background:#f7f9fa;border:1px solid var(--line);border-radius:6px;align-items:center;padding:8px 11px;margin:8px 0 15px}.copy-field code{font-size:11px;overflow-wrap:anywhere;flex:1;color:#577168}.copy-field button{border:0;background:#fff;border-radius:4px;padding:6px;display:grid;place-items:center;color:#7c8d92}.copy-field svg{width:14px;height:14px}pre{padding:17px;border-radius:7px;background:#1e3033;color:#c5e2d6;overflow:auto;font-family:Consolas,monospace;font-size:11px;line-height:1.8;margin:12px 0}.check-list{padding:0;list-style:none;color:#75888e;font-size:11px;line-height:2.3}.check-list li:before{content:'✓';color:#188c70;margin-right:10px}.event-type{display:flex;gap:8px;align-items:center}.event-dot{width:6px;height:6px;border-radius:50%;background:#85ac9a}.mono{font-family:Consolas,monospace;font-size:10px}.event-toolbar{display:flex;align-items:center;gap:12px}.event-toolbar label{display:flex;align-items:center;gap:6px;color:#84958c;font-size:10px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:21px}.setting-row{display:flex;justify-content:space-between;gap:15px;padding:15px 0;border-bottom:1px solid var(--line);font-size:12px;color:#89969d}.setting-row:last-child{border:0}.setting-row strong{color:#536a60;font-weight:500}.muted{color:var(--muted)}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:25px}.dialog-heading h2{font-size:22px}dialog{border:1px solid var(--line);border-radius:14px;padding:28px;width:min(480px,calc(100% - 32px));box-shadow:0 20px 100px #182d3b26;color:var(--ink)}dialog::backdrop{background:#19383150;backdrop-filter:blur(3px)}.icon-button{border:0;background:none;font-size:25px;color:#8a989e;line-height:1;padding:3px}.dialog-actions{display:flex;gap:9px;justify-content:flex-end;border-top:1px solid var(--line);padding-top:20px}.form-error{font-size:11px;color:#b45454;line-height:1.5;min-height:16px}#toast{position:fixed;bottom:25px;left:calc(50% + var(--sidebar)/2);transform:translate(-50%,15px);padding:13px 20px;background:#253e36;color:#fff;border-radius:8px;font-size:12px;opacity:0;pointer-events:none;transition:.2s;z-index:20;max-width:80vw;box-shadow:0 5px 30px #19382b22}#toast.visible{opacity:1;transform:translate(-50%,0)}.skip-link{position:fixed;left:10px;top:-60px;z-index:100;background:white;padding:12px}.skip-link:focus{top:10px}.error-box{padding:35px;border:1px solid #efd6d2;background:#fff5f3;border-radius:10px;color:#9d5c52}.pill-row{display:flex;gap:8px;align-items:center}.info-note{color:#8b9a9f;font-size:10px;line-height:1.8;margin-top:15px}.live-label{display:flex;align-items:center;gap:6px;font-size:10px;color:#769185}
svg{width:18px;height:18px}.chart svg{width:100%;height:100%}.panel-header>svg{flex-shrink:0;color:#98a6a8}.project-art svg{width:26px;height:26px}
@media(min-width:1550px){main{padding-top:45px}.chart{height:280px}.metric{padding:24px}.metric-value{font-size:34px}.metric-bottom{margin-top:15px}}
@media(max-width:1150px){:root{--sidebar:210px}main{padding:28px 25px}.sidebar{padding:28px 14px 0}.topbar{padding:0 25px}.dashboard-grid{grid-template-columns:minmax(0,1.5fr) minmax(230px,1fr)}.metrics{gap:10px}.metric{padding:16px 13px}.metric-value{font-size:26px}.metric-title{font-size:10px}.metric-bottom{font-size:8px;gap:4px}.legend{gap:7px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){:root{--sidebar:70px}.sidebar{padding:25px 10px 0}.brand{margin:0 auto 30px;justify-content:center}.brand>span:last-child,.workspace,.nav-label,nav>a>.nav-count,.sidebar-bottom,nav>a>.tiny-dot{display:none}nav>a{font-size:0;justify-content:center;padding:13px 0;gap:0}nav>a>span:first-child{display:block}.dashboard-grid{grid-template-columns:1fr}.bottom-grid{grid-template-columns:1fr 1fr}.steps{grid-template-columns:1fr}.topbar{height:65px}.chart{height:250px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-grid{grid-template-columns:1fr}.page-heading{align-items:flex-start}.metric-title{font-size:11px}.metric-bottom{font-size:9px}}
@media(max-width:560px){:root{--sidebar:54px}.sidebar{padding:22px 5px 0}.brand-mark{width:31px;height:34px}.brand{margin-bottom:22px}main{padding:24px 15px}.topbar{padding:0 15px}.local-badge{font-size:0;gap:0}.topbar-right{gap:12px}.breadcrumb{font-size:10px;gap:8px}h1{font-size:23px}.page-heading{flex-wrap:wrap;gap:13px;margin-bottom:20px}.page-heading .button{font-size:10px}.controls{align-items:flex-start;flex-wrap:wrap}.select-wrap select{max-width:155px}.control-group{flex-wrap:wrap}.metrics{gap:9px}.metric{padding:15px 12px}.metric-value{font-size:25px}.metric-bottom{font-size:8px;flex-wrap:wrap}.metric-bottom strong{font-size:8px}.bottom-grid,.project-grid{grid-template-columns:1fr}.panel-header{padding:18px 16px 0}.legend{font-size:8px;gap:8px}.chart{height:215px;padding-right:12px}.chart-caption{padding:12px 16px;font-size:8px}.notice{align-items:flex-start}.notice a{display:none}footer{padding:20px 15px;line-height:1.8;flex-wrap:wrap}.steps .panel-header{padding-bottom:0}.step-content{padding:18px 16px}#toast{left:calc(50% + 20px);font-size:11px}.event-toolbar{gap:5px}.event-toolbar label{font-size:9px}.event-toolbar .button{padding:6px;font-size:9px}.panel-header h2{font-size:12px}.subtitle{font-size:11px}.sources{padding:22px 16px}.project-meta{flex-wrap:wrap;gap:9px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}



[data-manager-only][hidden]{display:none!important} fieldset{border:1px solid var(--border,#42494d);border-radius:8px;margin:16px 0;padding:12px} #runtime-settings textarea{min-height:90px}

.login-card[hidden]{display:none!important}.registration-success{color:#75d4bb;line-height:1.5}.button.danger{border:1px solid #d67676;color:#ed9c9c;background:transparent}.button.danger:hover{background:#532c32}#assigned-user-groups{margin-top:12px}

.password-tools{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.password-tools .button{flex:1;min-width:150px}[data-password-status]:empty{display:none}

/* Keep event filters usable alongside the refresh controls. */
.event-toolbar{flex-wrap:wrap;justify-content:flex-end}.event-toolbar .select-wrap select{max-width:220px}.controls{gap:12px;flex-wrap:wrap}.control-group{flex-wrap:wrap}.panel-header:has(.event-toolbar){flex-wrap:wrap;gap:14px}

.analysis-panel{margin-bottom:22px}.analysis-panel .panel-body{padding-top:18px}.analysis-chart{display:block;width:100%;height:auto;min-width:450px}.analysis-panel .panel-body:has(.analysis-chart){overflow-x:auto}.analysis-grid{stroke:var(--line);stroke-width:1}.analysis-axis{fill:var(--muted);font-size:12px;font-family:inherit}.analysis-line{stroke:#57d4cf;stroke-width:3;fill:none;stroke-linejoin:round}.analysis-point{fill:#57d4cf;stroke:#102026;stroke-width:2}.retention-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}.metric p.muted{font-size:11px;line-height:1.6;margin-bottom:0}.cohort-table th{white-space:nowrap}.cohort-cell{text-align:center;color:#c9eeec;background:rgba(87,212,207,calc(.04 + var(--retention)*.32));font-variant-numeric:tabular-nums}.cohort-pending{background:transparent;color:var(--muted)}.progression-open{fill:#29424a}.progression-completed{fill:#57d4cf}.progression-failed{fill:#ff6b4a}.progression-legend{display:flex;flex-wrap:wrap;gap:20px;font-size:12px;color:var(--muted);margin-bottom:14px}.progression-legend span{display:flex;align-items:center;gap:7px}.progression-legend i{height:9px;width:9px;border-radius:2px}.progression-legend .completed{background:#57d4cf}.progression-legend .failed{background:#ff6b4a}.progression-legend .open{background:#29424a}.cohort-table td,.cohort-table th{padding:14px 12px}@media(max-width:900px){.retention-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}

.run-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;margin:20px 0}.run-card{padding:22px}.run-card h2{font-size:19px;margin:14px 0 8px}.run-card p{color:var(--muted);font-size:12px;line-height:1.7}.run-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:16px}.run-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:30px 0 16px}.run-comparison td small,.run-comparison th small{display:block;font-size:11px;color:var(--muted);font-weight:400;margin-top:5px}.run-comparison th,.run-comparison td{min-width:160px}.run-metric-value{font-size:30px}.run-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;margin-top:20px;align-items:end}.run-form-grid button{margin-bottom:18px}.run-video-choice{display:block;padding:8px 0;color:var(--muted)}#run-create-dialog{width:min(720px,calc(100% - 32px));max-height:90vh;overflow:auto}.run-target-line{stroke:#f3c85f;stroke-dasharray:7 5;stroke-width:1.5}#run-cost-csv button,#run-attribution-csv button{margin:14px 0}#run-cost-csv input,#run-attribution-csv input{max-width:100%}@media(max-width:600px){.run-form-grid{grid-template-columns:1fr}.run-picker{grid-template-columns:1fr}.run-metric-value{font-size:25px}}

.run-player-table{max-height:450px;overflow:auto}.run-player-table thead th{position:sticky;top:0;background:var(--surface);z-index:1}

.campaign-metrics{margin-top:24px}.campaign-metrics .panel-header{flex-wrap:wrap;gap:16px}.campaign-age-table th,.campaign-age-table td{min-width:116px;white-space:nowrap;font-variant-numeric:tabular-nums}.campaign-age-table small{display:block;color:var(--muted);font-size:10px;font-weight:400;margin-top:6px}.campaign-age-table th:first-child{position:sticky;left:0;background:var(--surface);z-index:1;min-width:210px}.campaign-age-table td{color:#c9eeec}
.campaign-age-table td.roas-covered{color:#57d4cf;background:rgba(87,212,207,.09)}.campaign-age-table td.roas-below{color:#ff927a;background:rgba(255,107,74,.06)}

.campaign-age-table th:first-child{z-index:3}.campaign-age-table thead th:first-child{z-index:4}

.acquisition-setup{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0}.acquisition-setup>div{padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.acquisition-setup p{color:var(--muted);font-size:12px;line-height:1.7;margin:10px 0 0}.acquisition-table{font-variant-numeric:tabular-nums}.acquisition-table th,.acquisition-table td{min-width:120px;white-space:nowrap}.acquisition-table th:first-child{position:sticky;left:0;background:var(--surface);min-width:220px;z-index:2}.acquisition-table small,.acquisition-timeline small,.table-wrap td small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.acquisition-actions{display:flex;gap:8px;flex-wrap:wrap}.acquisition-actions .button{font-size:11px;padding:8px 10px}.acquisition-table .acquisition-actions{min-width:160px;max-width:250px;white-space:normal}.acquisition-selected td{background:rgba(87,212,207,.06)}.acquisition-timeline{max-height:420px;overflow:auto}@media(max-width:850px){.acquisition-setup{grid-template-columns:1fr}}

.acquisition-player-list{max-height:460px;overflow:auto}.acquisition-player-list thead th{position:sticky;top:0;background:var(--surface);z-index:1}#acquisition-player-list,#acquisition-player-detail{scroll-margin-top:24px}
.storage-panels{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:18px;margin:0 0 24px}.storage-panels .panel-header{gap:12px;flex-wrap:wrap}.storage-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:18px}.storage-stat{display:flex;flex-direction:column;gap:8px;min-width:0}.storage-stat>span{font-size:12px;color:var(--muted)}.storage-stat strong{font-size:23px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.storage-stat small{font-size:11px;color:var(--muted);line-height:1.5}.storage-meter{width:100%;height:9px;margin-top:22px;accent-color:var(--accent,#57d4cf)}.storage-panels .button{margin-top:4px}.storage-panels .info-note{line-height:1.7}
.progression-chart-controls{display:flex;gap:24px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.progression-chart-controls .field{min-width:210px;max-width:360px;margin:0}.progression-chart-controls .info-note{flex:1;min-width:220px;margin:0}.progression-chart-scroll{max-width:100%;overflow-x:auto;padding-bottom:8px;scrollbar-color:#56727b transparent}.analysis-chart.progression-chart-vertical{width:100%;min-width:var(--progression-width);height:430px}.progression-total{fill:#d9eeed;font-size:11px}.progression-level-label{font-size:11px}.progression-column:focus{outline:none}.progression-column:focus rect{stroke:#eefcfb;stroke-width:1.5}.progression-chart-scroll:focus-visible{outline:2px solid #57d4cf;outline-offset:4px}
.progression-hitarea{fill:transparent;stroke:none;pointer-events:all}.progression-column{cursor:pointer}.progression-column:focus .progression-hitarea{stroke:none}.level-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 20px}.level-detail-grid>div{padding:12px;background:var(--bg);border:1px solid var(--line);border-radius:7px}.level-detail-grid dt{font-size:11px;color:var(--muted);margin-bottom:7px}.level-detail-grid dd{font-size:20px;font-weight:600;margin:0;font-variant-numeric:tabular-nums}.topbar{position:sticky;top:0;z-index:6;background:var(--bg)}.topbar-actions{display:flex;align-items:center;gap:16px}.update-status{font-size:10px;color:var(--muted)}#update-data{white-space:nowrap}#update-data span{font-size:17px}@media(max-width:750px){.topbar-actions .local-badge{display:none}.update-status{display:none}.topbar-actions{gap:8px}#update-data{font-size:11px;padding:8px 10px}}
.level-popover{position:fixed;z-index:30;width:260px;max-width:calc(100vw - 24px);max-height:calc(100vh - 24px);overflow:auto;padding:12px 14px;border:1px solid #42616b;border-radius:9px;background:var(--surface);color:var(--ink);box-shadow:0 8px 28px #0007}.level-popover[hidden]{display:none}.level-popover>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:7px}.level-popover h2{font-size:14px;margin:0;overflow-wrap:anywhere}.level-popover>header button{border:0;background:none;color:var(--muted);font-size:20px;padding:0 3px;line-height:1.1}.level-popover-values{margin:0}.level-popover-values>div{display:flex;justify-content:space-between;gap:12px;padding:5px 0;border-bottom:1px solid var(--line)}.level-popover-values dt{font-size:11px;color:var(--muted)}.level-popover-values dd{margin:0;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}.level-popover-note{font-size:9px;color:var(--muted);line-height:1.5;margin:9px 0 0}

/* Keep advertisement actions compact as the acquisition funnel grows. */
.acquisition-table .acquisition-actions{display:grid;grid-template-columns:repeat(2,max-content);min-width:300px;max-width:none;gap:6px}.acquisition-table .acquisition-actions .button{white-space:nowrap}

[data-custom-ad-target][hidden],[data-smart-store-help][hidden]{display:none!important}

.app-link-toggle>span{display:flex;align-items:flex-start;gap:10px}.app-link-toggle input[type="checkbox"]{width:auto;flex:0 0 auto;margin:3px 0 0}
