:root{--bg:#f3f6fb;--ink:#152641;--muted:#7c8aa0;--primary:#2c61d4;--line:#e0e7f0;--blue:#4b80ef;--cyan:#23ada7;--violet:#8d6cda;--green:#149873;--amber:#e7a34f;--sidebar:#10213a;--white:#fff}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,'Segoe UI',Arial,sans-serif;background:var(--bg);color:var(--ink);font-size:13px;line-height:1.45}button,select{font:inherit}button{cursor:pointer}button:focus-visible,select:focus-visible{outline:3px solid #a3c3ff;outline-offset:2px}.shell{display:flex;min-height:100vh}.sidebar{width:224px;flex:none;background:var(--sidebar);padding:26px 18px;position:sticky;top:0;height:100vh;color:#d8e5f5;display:flex;flex-direction:column}.brand{display:flex;gap:11px;align-items:center;border-bottom:1px solid #263e5e;padding:2px 6px 25px}.brand-logo{height:40px;width:40px;display:grid;place-items:center;background:#f6c05d;border-radius:11px;font-size:19px;font-weight:900;color:#142640;letter-spacing:-2px}.brand strong{font-size:13px;letter-spacing:2px;display:block}.brand span{font-size:9px;letter-spacing:2px;color:#96a8c0}.side-title{font-size:10px;font-weight:800;color:#7e97b3;letter-spacing:2px;margin:26px 12px 10px}.side-link{display:flex;align-items:center;gap:9px;background:#284a7a;padding:12px 13px;border-radius:9px;color:white;font-weight:700}.side-link svg{height:17px;width:17px}.side-next{font-size:12px;margin:16px 10px;color:#91a6bd;line-height:1.6}.side-next strong{color:#d6e6f7}.side-box{margin-top:auto;background:#192d48;border:1px solid #2b496a;border-radius:12px;padding:15px;font-size:11px;color:#c1d2e6}.side-box b{display:block;margin-bottom:7px;color:#fff}.side-box span{display:block;color:#91a8c5;line-height:1.6}.side-foot{font-size:10px;color:#6884a2;margin:17px 8px 0}
.page{min-width:0;width:100%;max-width:2350px;padding:29px 36px 62px;margin:0 auto}.top{display:flex;align-items:center;justify-content:space-between;gap:18px}.crumb{font-size:12px;color:#8a99ae}.crumb b{color:#294064}.crumb span{padding:0 9px;color:#b5beca}.actions{display:flex;gap:9px;align-items:center}.demo{border:1px solid #eccf95;border-radius:999px;background:#fff6e6;color:#986c23;padding:7px 13px;font-size:10px;font-weight:850;letter-spacing:1px;white-space:nowrap}.act{background:white;border:1px solid #dbe4f0;color:#415779;border-radius:9px;padding:9px 13px;font-size:12px;font-weight:750;white-space:nowrap}.act:hover{background:#f4f8ff}.heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-top:26px}.eyebrow{font-weight:900;font-size:9px;letter-spacing:2.1px;color:#366adb;margin-bottom:10px}.heading h1{font-size:32px;letter-spacing:-1.2px;margin:0;color:#172741;line-height:1.15}.subtitle{color:#8a96aa;margin:6px 0 0;font-size:12px}.period{display:flex;gap:4px;border:1px solid #e1e7ef;background:#e9eef6;padding:4px;border-radius:10px;white-space:nowrap}.period button{border:0;border-radius:7px;color:#627795;padding:9px 12px;background:transparent;font-size:11px;font-weight:750}.period button.active{background:white;box-shadow:0 2px 7px #243d6615;color:#162d55}
.tabs{margin-top:29px;display:flex;gap:2px;border-bottom:1px solid #dbe4ef;padding-bottom:9px}.tabs button{padding:11px 16px;border:0;border-radius:10px;background:transparent;color:#617492;font-weight:730;font-size:12px}.tabs button.active{background:#183052;color:white;box-shadow:0 6px 15px #19345b25}.tabs button[disabled]{opacity:.45;cursor:not-allowed}.filters{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:18px 0}.filter-left{display:flex;align-items:center;gap:9px}.filter-title{color:#7b8aa2;font-size:11px;font-weight:700;margin-right:6px}select{border:1px solid #d8e2f0;background:white;border-radius:9px;padding:12px 35px 12px 13px;min-width:165px;color:#1c3558;font-size:11px;font-weight:720;box-shadow:0 1px 0 #ffffff}.small-muted{font-size:10px;color:#94a2b5}.notice{background:#edf4ff;border:1px solid #d9e6ff;color:#586f92;display:flex;justify-content:space-between;gap:10px;align-items:center;border-radius:9px;padding:12px 15px;font-size:11px}.notice strong{color:#244e98}.notice .method-version{white-space:nowrap;font-size:10px;color:#7f96bd}
.kpis{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px;margin-top:16px}.kpi{min-width:0;background:#fff;border:1px solid #dfe6ef;border-radius:12px;padding:15px 14px 12px;min-height:113px;box-shadow:0 6px 18px #273e6610;position:relative;overflow:hidden}.kpi:before{content:"";position:absolute;height:3px;width:35px;background:#87a9ed;left:0;top:0}.kpi.green:before{background:#69cda5}.kpi.amber:before{background:#f0b34d}.kpi.violet:before{background:#a894ec}.kpi .k-label{font-size:10px;color:#8390a4;line-height:1.35;min-height:27px}.kpi .k-value{font-size:23px;line-height:1.15;font-weight:830;color:#1a2c4b;letter-spacing:-.6px;white-space:nowrap;margin-top:8px}.kpi .k-foot{font-size:10px;color:#8c9aaa;margin-top:7px;line-height:1.4}
.panels{display:grid;grid-template-columns:minmax(0,1.68fr) minmax(340px,.94fr);gap:13px;margin-top:14px}.panel{background:white;border:1px solid #dfe6f0;border-radius:13px;padding:18px 20px;box-shadow:0 6px 18px #273e6608}.panel-head{display:flex;justify-content:space-between;align-items:start;gap:12px}.panel h2{margin:0;font-size:15px;color:#1b2e4e;letter-spacing:-.25px}.panel .p-sub{font-size:11px;color:#91a0b5;margin-top:3px}.legend{display:flex;align-items:center;gap:15px;color:#7788a3;font-size:10px;white-space:nowrap}.legend b{display:inline-block;width:9px;height:9px;border-radius:3px;margin-right:5px}.chart-plot{height:265px;position:relative;margin-top:6px}.chart-plot svg{width:100%;height:100%;overflow:visible}.chart-footer{font-size:10px;color:#8391a7;border-top:1px solid #e9edf4;margin-top:4px;padding-top:10px}.funnel{margin-top:20px;display:flex;flex-direction:column;gap:14px}.f-row .f-info{display:flex;justify-content:space-between;color:#70809b;font-size:11px;margin-bottom:5px}.f-info strong{color:#263f64}.f-track{height:9px;background:#edf1f7;border-radius:20px;overflow:hidden}.f-fill{height:100%;background:linear-gradient(90deg,#4474eb,#77a4f6);border-radius:20px}.f-fill.advance{background:linear-gradient(90deg,#e2a349,#f0b972)}.funnel-note{border-top:1px solid #edf0f5;margin-top:22px;padding-top:12px;color:#8696ad;font-size:10px;line-height:1.65}
.tablepanel{margin-top:14px;padding:18px 18px 13px}.tablepanel .panel-head{padding:0 2px 13px}.section-tip{font-size:11px;color:#7889a2;margin-top:4px}.table-actions{display:flex;gap:8px}.mini-btn{border:1px solid #dce5f2;border-radius:7px;background:#f8faff;color:#5c759e;padding:9px 12px;font-size:11px;font-weight:750;white-space:nowrap}.mini-btn:hover{border-color:#adc2eb;color:#244b85}.tablewrap{width:100%;overflow:auto;border:1px solid #e0e7f1;border-radius:11px;background:white}.datatable{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;font-size:11px;font-variant-numeric:tabular-nums}.datatable th,.datatable td{padding:13px 11px;text-align:right;border-right:1px solid #e8edf5;border-bottom:1px solid #e8edf5;white-space:nowrap}.datatable th:last-child,.datatable td:last-child{border-right:0}.datatable thead tr:first-child th{background:#e8eef8;color:#546b8d;font-size:11px;text-align:center;font-weight:800;padding:10px 12px;border-bottom:1px solid #d9e3f3}.datatable thead tr:first-child th.group-spend{background:#fcf1df}.datatable thead tr:first-child th.group-adv{background:#f1eafc}.datatable thead tr:first-child th.group-sales{background:#e5f5ee}.datatable thead tr:first-child th.group-eff{background:#e8f2f9}.datatable thead tr:nth-child(2) th{background:#f4f7fb;font-size:10px;color:#516c95;font-weight:760;line-height:1.35;text-align:center;padding:14px 9px}.datatable tbody td{background:white}.datatable tbody tr:nth-child(even) td{background:#f7f9fc}.datatable tbody tr:hover td{background:#eef5ff}.datatable td:first-child,.datatable thead tr th:first-child{position:sticky;left:0;z-index:3;box-shadow:3px 0 5px #1a37510a}.datatable tbody tr:nth-child(even) td:first-child{background:#f7f9fc}.datatable tbody td:first-child{text-align:left;min-width:153px;font-weight:800;color:#203859}.datatable tbody td:first-child small{display:block;color:#91a1b7;font-weight:500;font-size:10px;margin-top:2px}.datatable tfoot td{background:#eaf1ff;font-weight:850;color:#244a83;border-bottom:0}.datatable tfoot td:first-child{text-align:left;position:sticky;left:0;z-index:3;background:#eaf1ff;min-width:153px}.datatable .important{font-weight:850;color:#2457b4}.datatable .positive{color:#178e6c;font-weight:850}.datatable .unknown{color:#aab7c7}.datatable .money{color:#25446f}.datatable .abnormal{color:#ac651d}.datatable .col-dim{color:#6b7c96}.datatable .col-direct{background:#f1f8ff}.table-foot{font-size:10px;color:#91a1b5;line-height:1.7;margin:12px 3px 0}.scroll-note{font-size:10px;color:#8a9bb2;margin:8px 0 0}.products{margin-top:14px}.products-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin-top:14px}.product{border:1px solid #e2e9f1;border-radius:11px;padding:16px;display:flex;align-items:center;justify-content:space-between;gap:14px}.product .p-label{font-size:12px;font-weight:780;color:#314c72}.product .p-sub{font-size:10px;line-height:1.5;color:#8da0b5;margin-top:6px}.product .p-val{font-size:19px;color:#18365e;font-weight:850;white-space:nowrap}.prod-circle{width:35px;height:35px;border-radius:9px;background:#ebf2fe;color:#5283dd;display:grid;place-items:center;font-size:17px;font-weight:800;margin-right:9px}.product .left{display:flex;align-items:center}.foot{display:flex;justify-content:space-between;gap:30px;color:#9aa9b9;font-size:10px;margin-top:19px;line-height:1.5}@media(max-width:1630px){.kpis{grid-template-columns:repeat(4,1fr)}}@media(max-width:1180px){.sidebar{width:190px}.page{padding:22px}.panels{grid-template-columns:1fr}.products-grid{grid-template-columns:1fr}.kpi .k-value{font-size:22px}}@media(max-width:780px){.sidebar{display:none}.page{padding:19px 12px}.heading,.top{flex-direction:column;align-items:start}.kpis{grid-template-columns:repeat(2,1fr)}.heading h1{font-size:27px}.filters{align-items:start;flex-direction:column}.filter-left{flex-wrap:wrap}.tabs{overflow:auto}.notice .method-version{display:none}.panel{padding:14px}.foot{display:block}}@media print{.sidebar,.act,.period,.table-actions,.tabs button[disabled],.scroll-note{display:none!important}.page{padding:12px}.shell{display:block}.tablewrap{overflow:visible}.datatable{font-size:9px}.kpis{grid-template-columns:repeat(4,1fr)}.panel{break-inside:avoid}}

/* Forecast: page 01 only. No external dependencies. */
.forecast-panel{margin-top:14px}.forecast-header{align-items:center}.section-kicker{font-size:9px;letter-spacing:1.6px;color:#5279b0;font-weight:850;margin-bottom:8px}.cutoff-label{display:flex;align-items:center;gap:10px;color:#6a7e9d;font-size:11px;font-weight:750;background:#f4f7fc;border:1px solid #dce5f1;padding:9px 13px;border-radius:10px;white-space:nowrap}.cutoff-label input{color:#1a355c;background:white;border:1px solid #d7e2f0;border-radius:7px;padding:8px 10px;font:inherit;font-weight:800;max-width:160px}.forecast-explainer{background:#f0f5fd;border:1px solid #dce8f7;border-radius:9px;color:#657b99;font-size:11px;line-height:1.65;margin-top:16px;padding:12px 14px}.forecast-explainer strong{color:#264977}.forecast-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:14px 0}.forecast-tile{border:1px solid #e0e8f2;border-radius:11px;padding:14px 15px;min-width:0}.forecast-tile .flabel{color:#7c8ca6;font-size:10px;font-weight:650}.forecast-tile .fvalue{font-size:22px;font-weight:830;color:#1d3457;margin-top:7px;white-space:nowrap}.forecast-tile .fnote{font-size:10px;color:#91a1b6;margin-top:5px}.forecast-tile.remaining{background:#f4fbf9;border-color:#d6eee5}.forecast-tile.remaining .fvalue{color:#0f8b6d}.forecast-tile.paid{background:#f7faff}.forecast-table-scroll{overflow-x:auto;border-radius:10px;border:1px solid #dfe7f2}.forecast-table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums;font-size:11px}.forecast-table th{background:#edf2fa;color:#546c91;font-weight:780;padding:12px;text-align:right;white-space:nowrap}.forecast-table td{padding:12px;border-top:1px solid #e8edf5;text-align:right;white-space:nowrap;color:#355173}.forecast-table th:first-child,.forecast-table td:first-child{text-align:left;font-weight:780}.forecast-table tbody tr:nth-child(even) td{background:#f9fbfe}.forecast-table tfoot td{background:#eaf2ff;font-weight:850;color:#1f477b}.forecast-table .fremaining{font-weight:850;color:#118669}.forecast-table .fsource{font-size:10px;color:#94a4b9;font-weight:500;margin-top:2px}.forecast-table .date-cell{white-space:nowrap}.forecast-table .no-rows{text-align:left;color:#8696a8;font-weight:550;padding:18px}.forecast-details{margin-top:12px}.forecast-details summary{cursor:pointer;font-weight:750;color:#3a6299;font-size:11px;margin-bottom:11px}.forecast-details summary span{color:#91a1b6;font-weight:500}.forecast-direct{border-color:#ceddf5}.forecast-direct-tag{font-size:10px;font-weight:750;color:#3b629c;background:#edf4ff;border-radius:99px;padding:8px 12px;white-space:nowrap}.forecast-note{color:#8294aa;font-size:10px;margin-top:11px;line-height:1.6}.products-grid:has(.product.product-wide){grid-template-columns:repeat(3,minmax(0,1fr))}.product.product-wide{display:block}.product .product-primary{display:flex;align-items:center;justify-content:space-between;gap:12px}.product .fquick{margin-top:11px;padding-top:10px;border-top:1px solid #e9eff6;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px}.product .fquick span{color:#7487a2}.product .fquick b{color:#128e70;white-space:nowrap}.product .fquick.fq-plain b{color:#18365e}.product .fquick + .fquick{margin-top:8px;padding-top:8px}.product .fquick small{color:#97a5b6;display:block;font-size:9px;margin-top:3px}.product.product-wide .p-val{font-size:18px}.products-grid:has(.product.product-wide) .product:not(.product-wide){align-items:flex-start}
@media(max-width:1150px){.forecast-summary{grid-template-columns:repeat(2,1fr)}.products-grid:has(.product.product-wide){grid-template-columns:1fr}.forecast-header{flex-wrap:wrap}}@media(max-width:600px){.forecast-summary{grid-template-columns:1fr}.cutoff-label{white-space:normal}.forecast-tile .fvalue{font-size:19px}}
/* --- production additions (CSP: no inline styles; real-data states) --- */
.legend b.dot-spend{background:#5d91ec}.legend b.dot-rev{background:#24afa5;border-radius:50%}
.live{border:1px solid #bfe3d4;border-radius:999px;background:#ecf8f3;color:#147a5b;padding:7px 13px;font-size:10px;font-weight:850;letter-spacing:1px;white-space:nowrap}
.live.stale{border-color:#eccf95;background:#fff6e6;color:#986c23}
.side-link{text-decoration:none}.side-legacy{display:block;margin-top:10px;color:#9fc0ea;font-size:11px;text-decoration:none}.side-legacy:hover{color:#fff}
.nodata{color:#aab7c7}.kpi .k-value.nodata{font-size:18px;color:#9aa8ba}
.loading{opacity:.55;transition:opacity .2s}
.error-box{background:#fff4f2;border:1px solid #f3c8bf;color:#9b3b2a;border-radius:9px;padding:12px 15px;font-size:11px;margin-top:14px}
.datatable tbody tr.shared-row td{color:#8a99ae;font-style:italic}
.empty-product{padding:26px;color:#7487a2;font-size:12px;line-height:1.6}
.f-fill.money{background:linear-gradient(90deg,#23ada7,#5fd0c9)}
.chart-empty{display:grid;place-items:center;height:100%;color:#91a1b6;font-size:12px}
@media(max-width:780px){.panel-head{flex-wrap:wrap}.table-actions{flex-wrap:wrap}.legend{flex-wrap:wrap;white-space:normal}.forecast-direct-tag{white-space:normal}}
@media(max-width:780px){.actions{flex-wrap:wrap}.tabs{max-width:100%}.top,.heading,.filters{max-width:100%}}
/* Park pages (ADR-081): tab links, sources table drill-down, cohort and plan blocks */
.tabs a{padding:11px 16px;border-radius:10px;color:#617492;font-weight:730;font-size:12px;text-decoration:none;white-space:nowrap}.tabs a:hover{background:#eef3fb;color:#244b85}.tabs button.active,.tabs a.active{background:#183052;color:white;box-shadow:0 6px 15px #19345b25}
.datatable .raw-pairs{display:block;color:#97a6ba;font-weight:500;font-size:9px;margin-top:3px;white-space:normal;max-width:230px;line-height:1.35}.datatable .sub{display:block;font-size:9px;color:#97a6ba;font-weight:500;margin-top:2px}.datatable tr.drill-row td{background:#fbfcff;color:#5f7393;font-weight:500}.datatable tr.drill-row td:first-child{padding-left:24px;font-weight:650;color:#4d6489}.datatable tr.unknown-row td:first-child{color:#7d8ea6}.park-page .datatable tfoot td:first-child small{display:block;color:#7c93bb;font-weight:600;font-size:10px;margin-top:2px}.drill-toggle{border:0;background:none;color:#3f6db5;font:inherit;font-size:10px;font-weight:700;padding:0;margin-top:3px;cursor:pointer}
.mode-flag{display:inline-block;font-size:10px;font-weight:750;border-radius:99px;padding:5px 10px;margin-left:8px;background:#fff4e2;color:#a8681c}.mode-flag.ok{background:#e7f6ef;color:#16805f}.cohort-box{background:#f6f9fe;border:1px solid #dfe8f5;border-radius:10px;padding:12px 14px;font-size:11px;color:#5f7393;line-height:1.65;margin-top:12px}.cohort-box strong{color:#21436f}
.plan-status{display:inline-block;font-size:10px;font-weight:780;border-radius:99px;padding:5px 10px;background:#fff4e2;color:#a8681c;margin-left:6px}.plan-status.approved{background:#e7f6ef;color:#16805f}.plan-source{font-size:10px;color:#8697ae;margin-top:9px;line-height:1.6}.plan-source a{color:#3f6db5}.pct-good{color:#12866a;font-weight:800}.pct-low{color:#b5651d;font-weight:800}
@media(max-width:780px){.park-page .filter-left select{min-width:0;flex:1 1 140px}.park-page .datatable .raw-pairs{max-width:160px}}
/* Custom date range (all pages) and the «i» explainer (ADR-083) */
.period-box{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.custom-range{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end;font-size:11px;color:#6b7c96}.custom-range input{border:1px solid #d8e2f0;border-radius:8px;padding:6px 8px;font:inherit;font-size:11px;color:#1c3558;background:#fff}.custom-range .mini-btn{padding:7px 10px}.date-error{color:#b5401d;font-weight:700;flex-basis:100%;text-align:right}
.info-pop{position:relative;display:inline-block}.info-pop summary{list-style:none;cursor:pointer;width:22px;height:22px;border-radius:50%;border:1px solid #c9d6ea;color:#3f6db5;font-weight:800;font-size:12px;display:grid;place-items:center;background:#f6f9fe}.info-pop summary::-webkit-details-marker{display:none}.info-pop .info-body{position:absolute;z-index:20;top:28px;left:0;width:min(420px,86vw);background:#fff;border:1px solid #d9e3f3;border-radius:10px;box-shadow:0 10px 30px #1a375126;padding:10px 13px;font-size:11px;line-height:1.55;color:#4d6489}.info-pop .info-body p{margin:6px 0}
.kpi .k-foot .k-break{display:block;color:#7d8ea6;margin-top:3px}.kpi .k-foot .k-pct{font-weight:800;color:#12866a}.kpi .k-foot .k-pct.low{color:#b5651d}.plan-conflicts{margin-top:9px;font-size:10px;color:#8a5a1d;line-height:1.6}.plan-conflicts summary{cursor:pointer;font-weight:750}.plan-status.conflict{background:#fdecdc;color:#a3501b}
@media(max-width:780px){.period-box{align-items:stretch;width:100%}.custom-range{justify-content:flex-start}.info-pop .info-body{left:auto;right:0}}
/* Acquisition cohorts, plan info, forecast issues (ADR-085) */
#acq-block{min-width:0}.acq-table td:first-child small{display:block;color:#91a1b7;font-weight:500;font-size:10px;margin-top:2px}.plan-info{margin-top:10px}.plan-info summary{cursor:pointer;font-size:11px;font-weight:750;color:#3a6299}.forecast-details.issues summary{color:#a3501b}.forecast-details.issues a{color:#3f6db5;font-weight:750}
/* Archive of the 2026 reports, prorated plan (ADR-086) */
.source-badge{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:999px;font-size:10px;font-weight:800;letter-spacing:.02em;vertical-align:middle}.source-badge.archive{background:#f3ead8;color:#8a5a1d}.source-badge.live{background:#e3f3ec;color:#12866a}
.archive-table td .sub,.cov-table td .sub{display:block;color:#91a1b7;font-size:10px;font-weight:500;margin-top:2px}.archive-mark{display:block;margin-top:3px;font-size:10px;color:#a3501b;line-height:1.35}
.cov-table td{font-size:11px;min-width:92px}.cov-table td.cov-arch{background:#fbf6ec}.cov-table td.cov-none{color:#a3b1c4;font-style:italic}.cov-live{display:block;color:#12866a;font-weight:700;font-size:10px;margin-top:2px}
#archive-block{min-width:0}#archive-recon .nodata{color:#a3501b;font-weight:700}
/* «Отчёт 2026 · План / факт» (ADR-087, ADR-088: one right-aligned axis per column) */
.panels.panels-one{grid-template-columns:minmax(0,1fr)}
#r26-block{min-width:0}#r26-block.loading .r26-wrap{opacity:.45}.r26-head{flex-wrap:wrap;gap:8px}.r26-count{font-size:11px;color:#527093;font-weight:600;align-self:center;white-space:nowrap}
.r26-toolbar{display:flex;flex-wrap:wrap;gap:9px;align-items:end;margin:2px 2px 12px}.r26-toolbar label{display:grid;gap:4px;font-size:10px;font-weight:700;color:#687e9e}
.r26-toolbar select,.r26-toolbar input{font:inherit;font-size:12px;min-height:32px;border-radius:8px;border:1px solid #d4e0f1;background:#fff;color:#172e52;padding:0 9px;font-weight:650}
.r26-dates{display:flex;align-items:center;gap:5px;font-size:12px;color:#8195b2}.mini-btn.active{background:#182f51;color:#fff;border-color:#182f51}
.r26-scroll{overflow:auto;max-height:680px;border:1px solid #dce5f2;border-radius:11px}
table.r26{border-collapse:separate;border-spacing:0;width:100%;min-width:1180px;font-variant-numeric:tabular-nums;table-layout:auto}
.r26 th{position:sticky;top:0;z-index:3;background:#eaf0f8;color:#486186;font-size:11px;text-align:right;padding:11px 12px;white-space:nowrap;border-bottom:1px solid #d6e1ef;font-weight:800;vertical-align:bottom}
.r26 th .h{display:block;font-size:10px;font-weight:500;color:#8195b2;margin-top:2px}.r26 th.l,.r26 td.l{text-align:left}
.r26 td{border-bottom:1px solid #e4ebf5;padding:9px 12px;text-align:right;font-size:12px;white-space:nowrap;vertical-align:top;background:#fff}
.r26 td>span{display:block;text-align:right}.r26 tbody tr:hover td{background:#edf3fe}
.r26 th:first-child{left:0;z-index:5}.r26 td.r-month{text-align:left;font-weight:800;position:sticky;left:0;z-index:2;min-width:128px;max-width:200px;white-space:normal;box-shadow:2px 0 3px #e8eef6}
.r26 td.r-month>span,.r26 td.r-prod>span{text-align:left}.r26 td.r-prod{text-align:left;font-weight:650;min-width:100px}
.r26 .r-plan{color:#8a9bb3;font-size:10px;line-height:1.35}.r26 .r-fact{font-weight:800;color:#173963;line-height:1.35}.r26 td.r-emph .r-fact{color:#0e56ae}
.r26 .r-sub{color:#879bb6;font-size:10px;font-weight:500;white-space:normal;line-height:1.3;margin-top:2px}
.r26 .r-warn{color:#a3501b}.r26 .r-pct{font-size:10px;font-weight:800;line-height:1.35}.r26 .r-pct.good{color:#12866a}.r26 .r-pct.low{color:#b5651d}
.r26 tr.r-net td{background:#f7f9fc}.r26 tr.r-park td{font-size:11px}.r26 tr.r-park td.r-indent{padding-left:24px;font-weight:600;color:#486186}
.r26 tr.r-empty td{color:#a8b8ca}.r26 tr.r-empty td[colspan]{text-align:left;font-style:italic}
.r26 tfoot td{background:#eef3fa;font-weight:700;border-top:2px solid #d6e1ef}.r26 td.r-none{text-align:center;padding:24px;color:#8195b2}
.r26-pivot{min-width:1000px}.r26-pivot th,.r26-pivot td{text-align:right}.r26-pivot th.l,.r26-pivot td.l{text-align:left;position:sticky;left:0;z-index:2;min-width:160px;background:#fff;font-weight:700}
.r26-pivot thead th.l{z-index:5;background:#eaf0f8}.r26-pivot tr.r-group td{background:#eaf0f8;text-align:left;font-weight:800;color:#17375d}
@media(max-width:780px){.r26-toolbar select{min-width:120px}.r26-dates{flex-wrap:wrap}.r26 td.r-month{min-width:104px}}
/* Shared navigation and filters (ADR-094). Table headers stay in their scroll containers. */
.report-controls{position:sticky;top:8px;z-index:40;background:#f8fafd;border:1px solid #d8e2ef;border-radius:12px;padding:9px 10px;margin:18px 0 14px;box-shadow:0 4px 18px #18305212}
.controls-top{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.report-controls .tabs{margin:0;padding:0;border:0;min-width:0;gap:2px}
.report-controls .tabs a,.report-controls .tabs button{padding:8px 10px;font-size:11px;border-radius:8px;white-space:nowrap}
.report-controls .period{padding:3px;flex:none}.report-controls .period button{padding:6px 10px}
.controls-options{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px;min-width:0}
.report-controls .custom-range{margin:0;gap:5px;flex:none}.report-controls .custom-range input{padding:6px;min-height:32px;width:114px}
.report-controls .custom-range .mini-btn{min-height:32px;padding:6px 9px}
.report-controls .filters{margin:0;min-width:0;flex:1;justify-content:flex-end}
.report-controls .filter-left{gap:6px;min-width:0;width:100%;justify-content:flex-end}
.report-controls select{min-width:0;padding:8px 24px 8px 9px;max-width:100%;flex:1;min-height:34px}
#report-controls-toggle{display:none;border:1px solid #d0ddef;background:white;color:#294c80;border-radius:8px;padding:7px 10px;font-weight:700;font-size:11px}
.panel,.tablepanel,.forecast-panel,.kpis{scroll-margin-top:var(--report-controls-height,120px)}
.kpi .k-break,.kpi .k-caption{display:block;margin-top:3px}.kpi .k-caption{font-size:9px;color:#8a9bb0;line-height:1.4}
.table-foot[hidden]{display:none}
@media(max-width:1050px) and (min-width:781px){.report-controls .tabs a,.report-controls .tabs button{padding:7px 6px;font-size:10px}.controls-options{flex-wrap:wrap}.report-controls .filters{flex-basis:100%}.report-controls .filter-left{justify-content:flex-start}.report-controls select{flex:1}}
@media(max-width:780px){
 .report-controls{top:4px;padding:7px;margin:14px 0 12px;max-height:calc(100dvh - 12px);overflow:auto}
 .controls-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}
 .report-controls .tabs{grid-column:1/-1;overflow:auto;width:100%}
 .report-controls .tabs a,.report-controls .tabs button{padding:7px 8px;font-size:10px}
 .report-controls .period{justify-self:start}.report-controls .period button{padding:6px 10px}
 #report-controls-toggle{display:block}
 .controls-options{display:none}.report-controls.controls-open .controls-options{display:grid;gap:8px}
 .report-controls .custom-range{display:flex;flex-wrap:wrap;gap:5px}
 .report-controls .custom-range input{width:112px}.report-controls .custom-range .date-error{flex-basis:100%}
 .report-controls .filters,.report-controls .filter-left{width:100%}
 .report-controls .filter-left{display:grid;grid-template-columns:1fr 1fr;gap:6px}
 .report-controls select{width:100%;font-size:10px}.report-controls #mode{grid-column:1/-1}
}
@media print{.report-controls{display:none}}
/* «Динамика показателей» (ADR-099): one compact weekly chart between the KPIs and the funnel, the five pages */
.wk-panel{margin-top:14px;padding:14px 17px 9px}.wk-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.wk-head h2{margin:0;font-size:15px;color:#1b2e4e;letter-spacing:-.25px}
.wk-switch{display:flex;border:1px solid #dce5f2;border-radius:8px;padding:2px;background:#f3f6fc}.wk-switch button{border:0;background:transparent;color:#647c9d;border-radius:6px;font-size:11px;font-weight:750;padding:6px 10px;cursor:pointer}.wk-switch button.active{background:#193355;color:#fff}
.wk-metrics{display:flex;align-items:center;gap:14px;white-space:nowrap;overflow-x:auto;padding:9px 0 3px;scrollbar-width:thin}.wk-metric{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:#334c6e;cursor:pointer;user-select:none}.wk-metric.off{opacity:.45;cursor:not-allowed}
.wk-metric input{appearance:none;-webkit-appearance:none;margin:0;width:13px;height:13px;border-radius:4px;border:1px solid #c1cfe2;flex:none;position:relative;cursor:pointer;background:#fff}.wk-metric input:checked{background:var(--wk-color);border-color:var(--wk-color)}.wk-metric input:checked:after{content:'✓';position:absolute;top:-2px;left:2px;font-size:10px;color:#fff;font-weight:900}.wk-metric input:disabled{cursor:not-allowed}
.wk-plot{height:182px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}.wk-plot svg{display:block;height:180px}.wk-plot svg text{font-family:Inter,"Segoe UI",Arial,sans-serif}
.wk-axis{fill:#7d8fa9;font-size:10px}.wk-x{fill:#5c7192;font-size:11px}.wk-val{fill:#1b3558;font-size:10px;font-weight:800}.wk-na{fill:#9aaac0;font-size:10px;font-weight:700}.wk-lval{font-size:10px;font-weight:800}.wk-val,.wk-na,.wk-lval{paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}.wk-empty{fill:#7184a2;font-size:13px}.wk-bar{cursor:default}
.wk-note{text-align:center;color:#8b9db5;font-size:10px;padding:4px 0 0;min-height:17px}.wk-tip{position:fixed;z-index:60;background:#162b4b;color:#fff;border-radius:8px;padding:7px 11px;font-size:12px;pointer-events:none;display:none;box-shadow:0 8px 22px #162b4b44;line-height:1.55}
@media(max-width:780px){.wk-panel{padding:12px}.wk-metrics{gap:6px 11px;flex-wrap:wrap;white-space:normal}}
@media print{.wk-switch{display:none}.wk-panel{break-inside:avoid}}
/* revenue mode switch: a one-line hint; on the ДР slice of «Продажи в выбранные даты» the first five KPIs (spend .. CRM
   bookings: the selected dates' requests and spend) are visually quieter than paid banquets / revenue / ROAS - only a
   class of the container, the numbers stay readable (value contrast >= 4.5:1) */
.mode-hint{margin:-4px 4px 0;font-size:11px;line-height:1.45;color:#5f7190}.mode-hint+.kpis{margin-top:10px}
.kpis.kpis-calendar-bday>.kpi:nth-child(-n+5){background:#f4f6f9;border-color:#e5eaf1;box-shadow:none}
.kpis.kpis-calendar-bday>.kpi:nth-child(-n+5):before{background:#c5cfdc}
.kpis.kpis-calendar-bday>.kpi:nth-child(-n+5) .k-value{color:#4f6180}
/* «Откуда узнали»: share of the undefined requests / conversion into a booking under the numbers */
.heard-table td .h-pct{display:block;font-size:10px;font-weight:500;color:#5f7190;margin-top:2px}
/* «Учесть интернет» (ADR-102): one compact checkbox with a «?» hint (hover, focus, tap), the estimate panel and the
   «в т. ч.» row inside «Не определено» */
.internet-filter{position:relative;display:inline-flex;align-items:center;gap:4px;flex:none;white-space:nowrap}
.check-filter{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:720;color:#1c3558;cursor:pointer;padding:0 2px}
.check-filter input{width:15px;height:15px;margin:0;accent-color:#2c61d4;cursor:pointer}
.hint-btn{width:20px;height:20px;border-radius:50%;border:1px solid #c3d1e6;background:#fff;color:#2c61d4;font-size:11px;font-weight:800;line-height:1;padding:0;cursor:help}
.hint-btn:focus-visible,.check-filter input:focus-visible{outline:2px solid #2c61d4;outline-offset:2px}
.hint-tip{position:absolute;top:calc(100% + 6px);right:0;z-index:60;width:320px;max-width:calc(100vw - 32px);white-space:normal;background:#10213a;color:#f3f6fb;font-size:11px;font-weight:500;line-height:1.5;border-radius:8px;padding:10px 12px;box-shadow:0 8px 24px #10213a40}
.datatable tbody tr.internet-row td{background:#f8fafd;color:#4f6180;font-style:italic}
.datatable tbody tr.internet-row td:first-child{font-weight:700;padding-left:26px}
@media(max-width:780px){.report-controls .filter-left .internet-filter{grid-column:1/-1;justify-content:flex-start}.hint-tip{right:auto;left:0}}
.kpi .k-foot .k-internet{color:#2c61d4;font-weight:700}
/* подсказки к показателям (ADR-104): one popover fixed to the viewport (never cut by a scrolled table or the sticky filters) */
[data-tip]{cursor:help}
[data-tip]:focus-visible{outline:2px solid #2c61d4;outline-offset:2px;border-radius:3px}
.kpi .k-label [data-tip],.datatable th[data-tip],.r26 th[data-tip],.wk-metric [data-tip]{text-decoration:underline dotted #9fb1cc;text-underline-offset:3px}
.metric-tip{position:fixed;z-index:200;left:0;top:0;max-width:360px;background:#10213a;color:#eef3fb;border-radius:9px;padding:11px 13px 10px;font-size:11px;line-height:1.5;box-shadow:0 10px 30px #10213a55;pointer-events:none}
.metric-tip .tip-title{font-weight:800;font-size:12px;margin-bottom:3px;color:#fff}
.metric-tip .tip-def{color:#c9d6ea}
.metric-tip .tip-lines{display:grid;grid-template-columns:auto auto;gap:2px 12px;margin:7px 0 0}
.metric-tip .tip-lines dt{color:#a9bad3;font-weight:500;margin:0}
.metric-tip .tip-lines dd{margin:0;text-align:right;font-weight:700;color:#fff;font-variant-numeric:tabular-nums}
.metric-tip .tip-split{border-top:1px solid #2c4366;padding-top:5px}
.metric-tip .tip-formula{margin-top:7px;font-weight:800;color:#fff}
.metric-tip .tip-note{margin-top:6px;color:#f3d49b}
.metric-tip .tip-src{margin-top:7px;color:#8fa3c0;font-size:10px}
