:root{color-scheme:light;--bg:#f3f5f8;--ink:#172236;--muted:#526078;--line:#e0e6ee;--white:#fff;--accent:#214ec8;--accent-dark:#163caa;--blue-light:#edf2ff;--green:#077658;--purple:#6b3caf;--radius:18px;font:15px/1.48 system-ui,-apple-system,"Segoe UI",sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink)}[hidden]{display:none!important}a{color:var(--accent-dark)}button,input,select{font:inherit}button,select{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible,[tabindex]:focus-visible,summary:focus-visible{outline:3px solid #7797ff;outline-offset:2px}h1,h2,p{margin:0}.wrap{max-width:1420px;margin:auto;padding:0 36px}.top{background:#fff;border-bottom:1px solid var(--line)}.top-inner{height:66px;display:flex;align-items:center;justify-content:space-between;gap:14px}.brand{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:760;white-space:nowrap}.brand small{font-weight:500;color:var(--muted);font-size:13px}.logo{height:35px;width:35px;display:grid;place-items:center;border-radius:10px;background:var(--accent);color:white}.snapshot{font-size:12px;font-weight:650;color:var(--muted);white-space:nowrap}.snapshot i{display:inline-block;height:8px;width:8px;margin-right:5px;background:#338369;border-radius:50%}.hero{padding:35px 0 26px;display:flex;align-items:end;justify-content:space-between;gap:18px}.eyebrow,.label{display:block;font-weight:780;letter-spacing:.095em;font-size:11px;color:var(--accent-dark)}h1{font-size:clamp(30px,5vw,48px);font-weight:790;line-height:1.12;letter-spacing:-.045em;margin:8px 0}.intro{color:var(--muted);font-size:15px}.panel{background:var(--white);border:1px solid var(--line);border-radius:var(--radius)}.filters{padding:14px 18px;display:flex;gap:28px;align-items:flex-start}.label{margin:0 0 6px;color:var(--muted);text-transform:uppercase}.segments{display:flex;flex-wrap:wrap;gap:5px}.segments button,.button{border-radius:10px;border:1px solid transparent;padding:8px 12px;background:#eff2f7;color:#28374f;white-space:nowrap;font-weight:670;font-size:13px;line-height:1.25;text-decoration:none;display:inline-flex;align-items:center;gap:6px}.segments button:hover,.subtle:hover{background:#e1e8f7}.segments button[aria-pressed=true],.primary{color:white;background:var(--accent)}.segments button[aria-pressed=true]:hover,.primary:hover{background:var(--accent-dark)}.subtle{background:white;border-color:var(--line)}.period form{display:flex;align-items:end;gap:8px;flex-wrap:wrap;margin-top:12px}.period form label{display:flex;flex-direction:column;font-size:12px;color:var(--muted);gap:3px}.period input,select{min-height:34px;border:1px solid var(--line);border-radius:8px;padding:5px 8px;background:white;color:var(--ink)}
.section-line{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:24px 0 8px}h2{font-size:20px;line-height:1.2;letter-spacing:-.025em}.date-label{font-size:13px;color:var(--muted);font-weight:650}.coverage{color:#7a4c13;background:#fff4dc;border:1px solid #f0dbb1;padding:9px 12px;border-radius:10px;font-size:12px;margin:0 0 12px}.coverage:empty{display:none}.kpis{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}.kpi{padding:14px 13px;min-height:106px}.kpi>p{font-size:12px;font-weight:700;color:var(--muted);white-space:normal}.kpi strong{display:block;font-size:clamp(17px,2vw,27px);line-height:1.1;letter-spacing:-.045em;margin:8px 0 5px;font-variant-numeric:tabular-nums}.kpi small{display:block;color:var(--muted);font-size:11px;line-height:1.3}.kpi.highlight{border-color:#bcccf7;background:var(--blue-light)}.kpi.highlight strong{color:var(--accent-dark)}
.overview{display:grid;grid-template-columns:1.65fr 1fr;gap:14px;margin:15px 0}.overview .panel{padding:17px 18px;min-width:0}.overview header p,.records-head p,.dialog-head p:not(.eyebrow){color:var(--muted);font-size:13px;margin:5px 0 0}.chart-legend{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin:12px 0 2px}.dot{height:9px;width:9px;display:inline-block;border-radius:3px;margin-right:6px}.dot.spend,.bar.spend{background:#426de2}.dot.revenue,.bar.revenue{background:#30a488}.plot{position:relative;display:flex;gap:4px;justify-content:space-around;margin:8px 0 0 44px;padding:0 4px;border-bottom:1px solid var(--line);height:107px;background:repeating-linear-gradient(to top,#fff,#fff calc(50% - 1px),#ecf0f5 calc(50% - 1px),#ecf0f5 50%)}.plot .axis{position:absolute;left:-43px;color:var(--muted);font-size:10px;line-height:1}.axis.top-axis{top:0}.axis.mid-axis{top:50%}.axis.bottom-axis{bottom:0}.bars{height:100%;display:flex;align-items:end;gap:4px;flex:1;justify-content:center;min-width:0}.bar{width:calc(50% - 2px);max-width:25px;border-radius:4px 4px 0 0}.plot-labels{display:flex;gap:4px;margin-left:44px;padding:4px;color:var(--muted);font-size:11px}.plot-labels span{flex:1;text-align:center;white-space:nowrap}.attrib-stack{height:9px;border-radius:10px;overflow:hidden;background:#edf1f7;display:flex;margin:15px 0 7px}.attrib-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:4px 0;font-size:12px}.attrib-row button{background:none;border:0;text-align:left;color:var(--accent-dark);padding:2px 0;font-size:inherit}.attrib-row button:hover{text-decoration:underline}.attrib-row strong{font-variant-numeric:tabular-nums;white-space:nowrap}.matched{background:#3261da}.channel{background:#df9633}.unmarked{background:#8d65ca}.other{background:#8c9bb1}
.records{margin-top:15px;overflow:hidden}.records-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px 10px}.table-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:0 18px 12px}.search{display:flex;align-items:center;gap:7px;padding:0 9px;border:1px solid var(--line);border-radius:8px;color:var(--muted);max-width:100%}.search input{border:0;background:transparent;min-width:0;width:218px;max-width:100%;padding:7px 1px;font-size:13px;color:var(--ink)}.table-tools #count{margin-left:auto;color:var(--muted);font-size:12px}.table-scroll{overflow:auto;max-width:100%;border-top:1px solid var(--line)}table{border-collapse:collapse;width:100%;font-size:13px}th,td{padding:9px 12px;vertical-align:top;text-align:left;border-bottom:1px solid var(--line)}th:first-child,td:first-child{padding-left:18px}th:last-child,td:last-child{padding-right:18px}th{background:#f6f8fc;font-size:11px;font-weight:730;color:#42506a;white-space:nowrap}.number{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}th button,.campaign-link{border:none;padding:0;color:inherit;text-align:inherit;background:transparent;font-size:inherit;font-weight:inherit}.campaign-link{font-weight:690;color:var(--accent-dark);display:block;text-align:left}.campaign-link:hover,th button:hover{text-decoration:underline}.campaign-name{width:37%;min-width:220px;overflow-wrap:anywhere}.cell-sub{display:block;color:var(--muted);font-size:11px;margin-top:3px}.badge{border-radius:5px;background:#edf0f5;color:#4a566d;padding:2px 6px;font-size:10px;font-weight:700;white-space:nowrap;display:inline-block}.badge.ppc{background:#eaf0ff;color:#2144a0}.badge.target{background:#f1e9fc;color:#653999}.paid-note{background:#fbfcfe}.muted{color:var(--muted)}.empty{padding:25px 18px;text-align:center;color:var(--muted)}.pages{display:flex;align-items:center;justify-content:end;gap:8px;padding:10px 18px;color:var(--muted);font-size:12px}.pages:empty{display:none}.pages button:disabled{opacity:.5;cursor:default}.method{margin-top:16px;color:var(--muted);font-size:12px}.method summary{width:fit-content;cursor:pointer;font-weight:500}.method summary:hover{text-decoration:underline}.method p{margin:9px 0}.method ul{margin:7px 0;padding-left:19px}.method li{margin:3px 0}footer{padding:19px 0 24px;display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:12px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
dialog{width:min(1000px,calc(100% - 28px));max-height:90vh;padding:0;border:1px solid var(--line);border-radius:16px;color:var(--ink);box-shadow:0 24px 100px #202d564d}dialog::backdrop{background:#18254099}.dialog-head{padding:15px 18px;display:flex;justify-content:space-between;align-items:start;gap:8px}.dialog-head h2{margin-top:4px;overflow-wrap:anywhere}.dialog-inner{max-height:88vh;overflow:auto}.deal-name{min-width:230px;max-width:450px;overflow-wrap:anywhere}.deal-status{min-width:114px}
@media(max-width:1080px){.kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.filters{gap:16px}.wrap{padding:0 24px}}
@media(max-width:720px){.wrap{padding:0 14px}.hero{padding:24px 0 17px;align-items:start;flex-direction:column;gap:10px}.top-inner{height:54px}.brand small{display:none}.filters{flex-direction:column;gap:10px;padding:12px}.kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.kpi{min-height:84px;padding:11px}.kpi strong{font-size:22px}.overview{grid-template-columns:1fr;gap:8px}.overview .panel{padding:13px}.records-head{align-items:start;flex-direction:column;padding-left:12px}.table-tools{padding-left:12px}.table-tools #count{margin-left:0}.segments button{padding:8px 10px}.date-label{font-size:12px}.chart-legend{gap:9px}.plot-labels{font-size:10px}footer{flex-wrap:wrap}}
.overview{grid-template-columns:1fr}
.category-panel{margin:14px 0;overflow:hidden}.category-panel header{padding:16px 18px 12px}.category-panel header p,#category-note{color:var(--muted);font-size:12px;margin-top:5px}.category-panel th[scope=row]{white-space:normal;min-width:168px}.category-panel .number{white-space:nowrap}#category-note{padding:5px 18px 12px}.kpi strong{overflow-wrap:anywhere}.kpi strong:empty{min-height:1.1em}

.refresh-control{text-align:right;min-width:106px}.refresh-control p{max-width:280px;margin-top:5px;color:var(--muted);font-size:12px}.refresh-control p:empty{display:none}#refresh:disabled{opacity:.65;cursor:default}@media(max-width:720px){.refresh-control{text-align:left}}
.dash-nav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:17px;padding-bottom:10px;border-bottom:1px solid var(--line)}
.dash-nav a{padding:7px 11px;border-radius:8px;text-decoration:none;font-size:13px;font-weight:680;color:var(--muted)}
.dash-nav a:hover{background:#e9eef8}.dash-nav a[aria-current=page]{color:var(--accent-dark);background:var(--blue-light)}
.quality-budget{margin:10px 2px 0;color:var(--muted);font-size:12px}
.quality-panel{margin-top:14px;overflow:hidden}.quality-panel h2{padding:16px 16px 11px}
.quality-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:0 16px 14px}
.quality-stat{display:grid;grid-template-columns:1fr auto;align-items:baseline;gap:3px 8px;background:#f4f6fa;border-radius:9px;padding:10px}
.quality-stat span{grid-column:1/-1;font-size:12px;color:var(--muted);font-weight:620}.quality-stat strong{font-size:24px;line-height:1.1}.quality-stat small,.quality-pct,.quality-panel th small{color:var(--muted);font-weight:450}
.quality-stat.commercial{background:#e8f5ee}.quality-stat.spam{background:#faeff0}.quality-stat.nontarget{background:#fcf3e5}
.quality-panel th[scope=row]{white-space:normal;min-width:142px}.quality-panel th small{display:block;font-size:10px;margin-top:2px}.quality-panel tr:last-child td,.quality-panel tr:last-child th{border-bottom:0}
@media(max-width:720px){.quality-stats{grid-template-columns:repeat(2,minmax(0,1fr));padding-inline:11px}.quality-stat.total{grid-column:1/-1}.quality-panel h2{padding-inline:11px}.dash-nav{margin-bottom:12px}}
.dashboard-layout{display:grid;grid-template-columns:198px minmax(0,1fr);gap:25px}
.dashboard-layout>main{min-width:0}.sidebar{min-width:0;padding-top:25px}
.sidebar .dash-nav{position:sticky;top:15px;display:flex;flex-direction:column;gap:4px;padding:13px 11px 14px;border:1px solid var(--line);border-radius:13px;background:white}
.sidebar .dash-nav .label{padding-left:8px;margin:4px 0}
.sidebar .dash-nav a{display:flex;align-items:center;gap:8px;line-height:1.35;min-height:34px}
.side-sections{display:flex;flex-direction:column;gap:4px;border-top:1px solid var(--line);margin-top:10px;padding-top:8px}
.nav-mark{width:21px;height:21px;flex:none;border-radius:5px;background:#edf1f7;color:#405474;display:grid;place-items:center;font-size:11px;font-weight:780}
.dash-nav a[aria-current=page] .nav-mark{background:#dce7ff;color:var(--accent-dark)}
.project-panel{padding:17px 18px}.project-panel h2{margin-bottom:12px}.project-panel #project-links{display:grid;gap:7px;max-width:520px}
.project-panel #project-links a{display:flex;justify-content:space-between;gap:10px;padding:9px 10px;border:1px solid var(--line);border-radius:7px;text-decoration:none;font-weight:650}
.project-panel #project-links a:hover{background:var(--blue-light)}
.sales-bar{width:100%;min-width:120px;height:7px;background:#e9edf4;border-radius:6px;overflow:hidden}
.sales-bar i{display:block;height:100%;background:#2f9b7c;border-radius:6px}
@media(max-width:1050px){.dashboard-layout{grid-template-columns:176px minmax(0,1fr);gap:16px}}
@media(max-width:720px){.dashboard-layout{display:block}.sidebar{padding-top:12px}.sidebar .dash-nav{position:static;display:flex;flex-direction:row;flex-wrap:wrap;gap:5px;margin-bottom:0;padding:8px}.sidebar .dash-nav .label{flex-basis:100%;margin-bottom:1px}.sidebar .dash-nav a{min-height:30px;padding:5px 7px;font-size:12px}.side-sections{width:100%;flex-direction:row;flex-wrap:wrap;gap:5px;margin-top:3px;padding-top:5px}.nav-mark{width:17px;height:17px}}

@media(max-width:390px){.brand{font-size:14px}.brand .logo{width:28px;height:28px}.snapshot{font-size:10px}}
