:root{--ink:#202433;--muted:#788091;--purple:#7135b7;--line:#e8eaf0;--bg:#f4f5f9;--green:#178753;--blue:#4388d1;--red:#cb5167}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select{font:inherit}button,a,summary{cursor:pointer}button{border:1px solid #dce0e8;background:white;border-radius:9px;padding:9px 15px;color:var(--ink)}button:hover{border-color:#a989d3}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #a989d3;outline-offset:3px}button.primary{background:var(--purple);color:white;border-color:var(--purple);font-weight:600}aside{width:238px;position:fixed;inset:0 auto 0 0;background:#121724;color:#bcc1cf;padding:25px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;font-size:25px;font-weight:800;letter-spacing:2px}.brand small{display:block;letter-spacing:0;font-size:12px;font-weight:400;color:#8d95a9;margin-top:2px}.workspace{font-size:12px;letter-spacing:1.4px;border:1px solid #303649;border-radius:10px;padding:12px;margin:27px 0}.workspace span{display:block;letter-spacing:0;font-size:14px;color:#8992a8}.nav{display:flex;gap:13px;align-items:center;text-align:left;width:100%;padding:12px;border:0;background:transparent;color:#b8c0d2;font-size:15px;border-radius:9px;margin:3px 0}.nav:hover{background:#22283b;border:0;color:white}.nav.active{background:#6d36b3;color:white}aside details{margin-top:14px}aside summary{padding:12px;font-size:15px}aside details .nav{padding-left:30px;font-size:14px}.bottom{margin-top:auto;border-top:1px solid #2a3040;padding-top:12px}.user{display:flex;align-items:center;gap:10px;padding:14px 10px;color:white;font-size:14px}.user b{display:grid;place-items:center;background:#31364d;border-radius:50%;height:33px;width:33px}main{margin-left:238px;padding:0 34px;max-width:2300px}header{height:64px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:14px;color:var(--muted)}.crumb span{margin:0 14px}.badge{color:#584074;font-weight:600;font-size:13px}.heading{display:flex;align-items:center;justify-content:space-between;padding:30px 0 23px;gap:20px}h1,h2,p{margin:0}h1{font-size:29px;letter-spacing:-.7px}h1 span{font-size:18px;font-weight:400;color:var(--muted);margin-left:12px}h2{font-size:19px;letter-spacing:-.2px}.heading p,.section-head p{font-size:14px;color:var(--muted);margin-top:5px}.eyebrow{font-size:11px;letter-spacing:1.6px;font-weight:700;color:#8b7b9c;margin-bottom:8px}.source{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);max-width:240px}.source i{width:7px;height:7px;border-radius:50%;background:#299b76;flex-shrink:0}.panel{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 2px 7px #27214b03}.filters{display:flex;gap:15px;padding:20px;align-items:end;flex-wrap:wrap}label{display:flex;flex-direction:column;font-size:13px;color:#657083;gap:5px;min-width:110px}input,select{border:1px solid #dfe2e9;border-radius:8px;padding:9px 11px;background:#fff;color:var(--ink);font-size:14px;min-width:0;max-width:100%}input[type=checkbox]{accent-color:var(--purple);width:15px;height:15px}.filter-second{display:flex;gap:15px;width:100%;border-top:1px solid var(--line);padding-top:15px}.filter-second label{flex:1}.search-label{flex:1.5!important}.quick{display:flex;align-items:center;gap:10px;width:100%;flex-wrap:wrap;font-size:12px}.quick button{padding:5px 10px;font-size:12px;background:#f8f7fc;color:#665580}.quick .check{flex-direction:row;align-items:center;font-size:13px;margin-left:4px}.quick>span{margin-left:auto;color:#9b9eab}#status{font-size:13px;color:var(--muted);padding:12px 2px;min-height:41px}.tabs{display:inline-flex;background:#252a37;padding:4px;border-radius:24px;margin-bottom:20px;gap:3px}.tabs button{border:0;background:transparent;color:#cfd1dc;font-size:13px;padding:7px 20px;border-radius:20px}.tabs .selected{background:#fff;color:#3f315b;box-shadow:0 1px 4px #0002}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:21px}.kpi{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px 18px;border-top:3px solid var(--accent,#7135b7)}.kpi .label{font-size:13px;color:var(--muted)}.kpi strong{display:block;font-size:26px;letter-spacing:-.7px;line-height:1.45;margin-top:5px}.kpi small{font-size:12px;color:#8e94a3}.section-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px}.chart-panel{margin-bottom:22px}.legend{display:flex;gap:15px;flex-wrap:wrap}.legend label{flex-direction:row;align-items:center;min-width:0;color:#50576a}.legend i{height:8px;width:8px;border-radius:50%}.purple{background:#8d5dd0}.blue{background:#5e9de1}.red{background:#d97788}.chart{height:270px;margin:0 20px}.chart svg{height:100%;width:100%}.subtle{font-size:12px;color:#9b9fac;margin:8px 23px 19px}.table-tools{display:flex;gap:10px;align-items:center}.table-tools button,.table-tools summary{font-size:13px}#metric-picker{position:relative}#metric-picker summary{list-style:none;border:1px solid var(--line);border-radius:8px;padding:8px 12px}#metric-options{position:absolute;right:0;top:39px;width:310px;background:white;border:1px solid var(--line);border-radius:12px;padding:15px;z-index:10;box-shadow:0 15px 40px #1d123322;max-height:400px;overflow:auto}#metric-options label{flex-direction:row;font-size:14px;margin:7px 0}.table-scroll{overflow:auto;max-height:700px;border-top:1px solid var(--line);border-radius:0 0 14px 14px}table{border-collapse:separate;border-spacing:0;width:100%;font-size:13px;font-variant-numeric:tabular-nums}th,td{padding:10px 13px;text-align:right;border-bottom:1px solid #edf0f5;white-space:nowrap}th{background:#6e34af;color:white;font-weight:500;position:sticky;top:0;z-index:3}th:first-child{z-index:5}th:first-child,td:first-child{position:sticky;left:0;text-align:left;min-width:240px;max-width:320px;white-space:normal}td:first-child{background:white;z-index:2}.group td{background:#f4effa!important;font-weight:700;color:#6d3f99;border-top:2px solid #e1d5ee}.total-col{background:#faf8fe;font-weight:700}.negative,.returns{color:#c64e66;font-weight:600}.unknown{color:#a1a5b2}.heat{background:#f1f8ef}tbody tr:hover td{background:#faf9fd}.product-name{font-size:14px;font-weight:600}.product-id{font-size:12px;color:#8b90a0}.footnote{color:#8e95a3;font-size:12px;line-height:1.8;margin:17px 0}footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:25px 0;margin-top:22px;font-size:12px;letter-spacing:1px;color:#8d93a1}footer span{letter-spacing:0}.future{padding:50px;min-height:300px}.future p{max-width:700px;margin:15px 0 30px;color:var(--muted)}[hidden]{display:none!important}.login-body{display:flex;min-height:100vh;background:white}.login-story{width:48%;padding:55px 70px;background:#17172d;color:white;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh}.login-story h1{font-size:64px;line-height:1.15;font-weight:650;margin:20px 0}.login-story em{color:#ba92ee;font-style:normal}.login-story p{color:#a6a4bd;line-height:1.8}.login-story small{color:#8a879d}.login-main{margin:0;flex:1;display:grid;place-items:center;padding:40px}.login-card{width:360px;max-width:100%}.login-card h1{margin:8px 0}.login-card p{color:var(--muted);font-size:14px;margin:10px 0 28px}.login-card label{margin:20px 0;font-size:14px}.login-card button{width:100%;margin-top:15px}.login-card input{padding:13px}.lock-note{font-size:12px;color:#9599a7;text-align:center;border-top:1px solid var(--line);padding:25px 0;margin-top:30px}#auth-error{color:#bc385b}



.group[data-group="Продажи"] td{background:#ecf3fc!important;color:#3674b9;border-color:#d6e5fa}.group[data-group="Возвраты"] td{background:#fceef1!important;color:#b8435d;border-color:#efd3da}.group[data-group="Реклама"] td{background:#fff4e8!important;color:#aa6928;border-color:#f0dec7}.group[data-group="Прибыль"] td,.group[data-group="Себестоимость"] td{background:#eaf5fa!important;color:#367d9e;border-color:#cfe4ed}.group[data-group="Остатки"] td,.group[data-group="Воронка"] td{background:#edf7f2!important;color:#328263;border-color:#d4eadd}
.filters label,.kpi .label,.legend label,table{font-size:14px}.chart text{font-size:13px}
/* One layout grid: sidebar and content share the same geometry at any zoom. */
body:not(.login-body){--sidebar-width:238px;display:grid;grid-template-columns:var(--sidebar-width) minmax(0,1fr);align-items:start}
body:not(.login-body)>aside{position:sticky;inset:auto;top:0;width:auto;height:100vh;height:100svh;overflow:auto;min-width:0;align-self:start}
body:not(.login-body)>main{margin:0;width:100%;min-width:0;max-width:none;padding-inline:clamp(12px,2vw,34px)}
main>*,#rnp,.panel,.section-head>*,.table-scroll{min-width:0;max-width:100%}
.filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;align-items:end;gap:14px}
.filters>label,.filter-second>label{min-width:0;width:100%}.filters input,.filters select{width:100%}
.filter-second{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.filter-second>label{flex:initial}.quick{grid-column:1/-1}.quick .check{width:auto;min-width:0;flex-shrink:0}.quick input{width:15px}
.kpis{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}.kpi{min-width:0;padding:16px}.kpi strong{font-size:clamp(19px,1.65vw,26px);overflow-wrap:anywhere}.kpi .label{min-height:42px}
.chart-controls{display:flex;gap:22px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.period-control{min-width:135px}.chart-controls .legend{gap:12px}.chart-controls .legend label{white-space:nowrap}
.table-scroll{width:100%;overflow:auto;overscroll-behavior-inline:contain;scrollbar-gutter:stable}.table-scroll table{width:max-content;min-width:100%}.table-scroll th,.table-scroll td{min-width:98px}.table-scroll th:first-child,.table-scroll td:first-child{min-width:260px;width:260px;max-width:260px}.group td:first-child{position:static;width:auto;max-width:none}
.table-tools{flex-wrap:wrap}.chart{min-width:0}.chart svg{display:block;max-width:100%}.tabs{max-width:100%;flex-wrap:wrap}#metric-options{width:min(310px,80vw)}



.period-control{display:block;min-width:0;max-width:100%}.period-label{font-size:14px;color:#657083;margin-bottom:6px}.period-buttons{display:inline-flex;gap:3px;background:#f2eff7;padding:4px;border:1px solid #e3ddec;border-radius:10px;white-space:nowrap}.period-buttons button{background:transparent;border-color:transparent;padding:7px 14px;font-size:14px;border-radius:7px;min-width:66px}.period-buttons button[aria-pressed=true]{background:#7135b7;color:white;border-color:#7135b7;box-shadow:0 2px 4px #38115b15}
/* Continuous, content-driven layout: no simultaneous desktop/tablet jumps. */
body:not(.login-body){--sidebar-width:clamp(160px,16vw,238px)}
body:not(.login-body)>aside{padding:22px clamp(10px,1.2vw,18px)}
.brand{font-size:clamp(19px,1.7vw,25px);letter-spacing:1.4px;gap:8px}.brand small{line-height:1.5}.workspace{margin:22px 0;padding:10px;font-size:11px;letter-spacing:1px}.nav{min-width:0;padding:11px 9px;gap:10px;white-space:normal;overflow-wrap:break-word}.nav span{min-width:0}
.heading{flex-wrap:wrap;gap:14px}.source{margin-left:auto}.heading h1{line-height:1.3}.heading h1 span{display:inline-block}
.filters{grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:14px}.filters>#apply{grid-column:1/-1;justify-self:end;min-width:150px;width:auto}.filter-second{grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr))}.quick>span{flex:1 1 220px;text-align:right}
.kpis{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px}.kpi{padding:16px;min-height:148px}.kpi strong{font-size:24px;line-height:1.5}.kpi .label{min-height:42px}
.chart-panel .section-head{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));align-items:start;gap:18px}.chart-controls{width:100%;justify-content:flex-start;gap:12px}.period-buttons{max-width:100%}.chart-controls .legend{width:100%;gap:14px}.chart-controls .legend label{font-size:14px}.chart{height:clamp(230px,22vw,300px);margin-inline:18px}.chart svg{overflow:visible}
.table-scroll th:first-child,.table-scroll td:first-child{width:250px;min-width:250px;max-width:250px}.section-head{flex-wrap:wrap}.table-tools{margin-left:auto}.tabs{display:flex;width:max-content}.tabs button{white-space:nowrap;padding:7px 16px}
@media(max-width:600px){body:not(.login-body){display:block}body:not(.login-body)>aside{position:relative;top:auto;height:auto;width:100%;padding:12px}.brand small,.workspace,.bottom{display:none}aside nav{display:flex;overflow-x:auto;margin-top:10px}aside nav details{display:none}.nav{white-space:nowrap;flex-shrink:0;width:auto;font-size:13px;padding:8px}body:not(.login-body)>main{padding:0 12px}.heading{padding:20px 0}.heading h1 span{display:block;margin:3px 0}.source{margin:0}.filters{padding:12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.filter-second{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.quick>span{display:none}.kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.kpi{padding:11px;min-height:145px}.kpi strong{font-size:21px}.section-head{padding:16px}.chart{margin-inline:8px}.table-scroll th:first-child,.table-scroll td:first-child{width:190px;min-width:190px;max-width:190px}.tabs{width:100%}.tabs button{font-size:12px;padding:7px 9px;flex:1}.login-story{display:none}.login-main{padding:30px 20px}.login-main h1{font-size:29px}}
.login-story{padding:clamp(24px,4vw,70px)}.login-story h1{font-size:clamp(34px,4vw,64px)}.login-main{padding:clamp(20px,4vw,40px)}

/* RNP: compact cards and the reference matrix, with two sticky label columns. */
.kpis{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}
.comparison-caption{font-size:13px;color:#7b8290;margin:-8px 0 15px}
.metric-row[data-block="Заказы"]{--block-color:#8150bd}
.metric-row[data-block="Воронка"]{--block-color:#34916d}
.metric-row[data-block="Продажи"]{--block-color:#397ac8}
.metric-row[data-block="Реклама"]{--block-color:#d78334}
.metric-row[data-block="Прибыль"]{--block-color:#4b9cc4}
.metric-row[data-block="Остатки"]{--block-color:#34916d}
.preset-label select{font-weight:600}
.kpi{display:flex;flex-direction:column;min-height:154px}
.kpi .label{font-size:14px;min-height:42px}
.kpi strong{margin:5px 0 10px;font-variant-numeric:tabular-nums}
.kpi-comparison{display:flex;align-items:center;gap:5px;font-size:14px;font-weight:600;margin-top:auto;min-height:25px;line-height:1.4}
.kpi-comparison.up{color:#14834f}.kpi-comparison.down{color:#ce3e50}.kpi-comparison.flat{color:#7b8290}
.comparison-unavailable{color:#8b91a0;font-size:13px;margin-top:auto}
.trend-arrow{width:28px;height:28px;flex:0 0 28px;overflow:visible}
.trend-arrow path{fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.chart-panel .section-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap}
.chart-panel .section-head>div:first-child{flex:0 1 auto}
.chart-controls{flex:1 1 450px;justify-content:flex-end;gap:18px;width:auto}
.chart-controls .legend{order:1;width:auto;flex:0 1 auto}
.chart-controls .period-control{order:2;margin-left:auto}
.table-scroll .summary-table{--block-width:42px;--metric-width:250px;font-size:14px}
.table-scroll .summary-table th,.table-scroll .summary-table td{padding:7px 12px}
.table-scroll .summary-table .block-col,.table-scroll .summary-table .block-label{width:var(--block-width);min-width:var(--block-width);max-width:var(--block-width);left:0;padding:8px 5px;text-align:center}
.table-scroll .summary-table .block-label{position:sticky;z-index:2;background:color-mix(in srgb,var(--block-color) 15%,white);border-right:1px solid color-mix(in srgb,var(--block-color) 32%,white);border-bottom:2px solid #ccd1dd;vertical-align:middle;font-weight:650;color:var(--block-color)}
.block-label span{writing-mode:vertical-rl;transform:rotate(180deg);white-space:nowrap;letter-spacing:.5px}
.table-scroll .summary-table .metric-col,.table-scroll .summary-table .metric-label{position:sticky;left:var(--block-width);width:var(--metric-width);min-width:var(--metric-width);max-width:var(--metric-width);white-space:normal;text-align:right;background:white;z-index:2;border-right:1px solid #e4ddec}
.table-scroll .summary-table .metric-col{background:#6e34af;z-index:5}
.table-scroll .summary-table .block-col{z-index:6;font-size:0}
.summary-table .block-start>td{border-top:1px solid #c5cbd7}
.summary-table .block-end>td{border-bottom:2px solid #c5cbd7}
.summary-table .total-col{background:#f4f0fa;color:#4b3465;font-weight:700;border-right:1px solid #e4ddec}
.summary-table thead .total-col{background:#6e34af;color:white}
.summary-table .returns{color:#c33d55}
.table-scroll .summary-table tbody tr:hover .block-label{background:color-mix(in srgb,var(--block-color) 15%,white)}
.table-scroll .summary-table tbody tr:hover .total-col{background:#eee7f7}
@media(max-width:600px){.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.table-scroll .summary-table{--block-width:30px;--metric-width:170px;font-size:13px}.chart-controls{flex-basis:100%;gap:12px}.chart-controls .period-control{margin-left:0}.chart-controls .legend{flex-basis:100%}.kpi-comparison{font-size:12px}.trend-arrow{width:22px;height:22px;flex-basis:22px}}

/* One horizontal KPI strip; narrow windows scroll without shrinking text. */
.kpis{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(108px,1fr);gap:7px;overflow-x:auto;padding-bottom:7px;align-items:stretch;scrollbar-width:thin}
.kpi{padding:10px 9px;min-height:0;border-radius:9px;gap:0}
.kpi .label{font-size:16px;font-weight:650;line-height:1.15;min-height:55px;color:#34394c;overflow-wrap:anywhere}
.card-description{font-size:12px;line-height:1.3;min-height:44px;color:#7b8290;overflow-wrap:break-word}
.kpi strong{font-size:clamp(15px,1.15vw,21px);line-height:1.35;letter-spacing:-.4px;margin:7px 0;white-space:normal;overflow-wrap:anywhere}
.kpi strong small{font-size:10px}.kpi-comparison{font-size:12px;gap:2px;align-items:flex-start;min-height:34px;font-weight:600}.trend-arrow{width:20px;height:20px;flex-basis:20px}.comparison-unavailable{font-size:12px}
/* Real fixed widths, even when there are only one or two date columns. */
.table-scroll{max-height:none;scrollbar-gutter:auto}
.table-scroll table{table-layout:fixed;min-width:0;margin:0;text-align:left}
.table-scroll table .block-column{width:42px}.table-scroll table .label-column{width:250px}.table-scroll table .value-column{width:112px}
.table-scroll .summary-table{--block-width:42px;--metric-width:250px}
.table-scroll table th,.table-scroll table td{min-width:0;overflow:hidden;text-overflow:ellipsis;padding-inline:8px}
.table-scroll table th{white-space:normal;line-height:1.35}
.table-scroll .product-table th:first-child,.table-scroll .product-table td:first-child{width:250px;min-width:250px;max-width:250px}
#table td,#table th{--aim-top:0px;--aim-bottom:0px;--aim-left:0px;--aim-right:0px;box-shadow:inset var(--aim-left) 0 #934acb,inset var(--aim-right) 0 #934acb,inset 0 var(--aim-top) #934acb,inset 0 var(--aim-bottom) #934acb}
#table tr.crosshair-row>td:not(.block-label){--aim-top:2px;--aim-bottom:-2px}
#table .crosshair-col{--aim-left:2px;--aim-right:-2px}
#table tr.crosshair-row>.metric-label,#table .product-table tr.crosshair-row>td:first-child{--aim-left:2px}
#table tr.crosshair-row>td:last-child{--aim-right:-2px}
.table-open{overflow:hidden}
.matrix-panel.table-expanded{position:fixed;inset:10px;z-index:30;max-width:none;display:grid;grid-template-rows:auto minmax(0,1fr);margin:0;box-shadow:0 0 0 100vmax #11182780;overflow:hidden}
.matrix-panel.table-expanded .table-scroll{overflow:auto;min-height:0;max-height:none}
.matrix-panel.table-expanded .section-head{padding:14px 20px}
.settings-panel{margin-bottom:24px;overflow:hidden}.settings-explanation{padding:0 22px;color:#60697b;max-width:1100px;font-size:14px}.settings-explanation p{margin-bottom:10px}
#season-settings-status{font-size:14px;color:#657083;padding:15px 22px}
.settings-table{overflow:auto;width:100%}.settings-table table{table-layout:fixed;width:1040px;min-width:0;margin:0}
.settings-table .season-code{width:100px}.settings-table .season-date{width:140px}.settings-table .season-state{width:100px}
.settings-table th,.settings-table td{white-space:normal;padding:10px 8px;min-width:0;max-width:none;line-height:1.4;position:static}
.settings-table th{font-size:14px}.settings-table td input{font-size:13px;width:100%;padding:7px 4px}
.settings-table th:first-child,.settings-table td:first-child{width:100px;min-width:100px;max-width:100px;text-align:left}
.settings-table .season-active{background:#fff2a8;color:#6e5000;font-weight:700}
.settings-actions{padding:18px 22px;display:flex;gap:20px;align-items:center;justify-content:space-between}.settings-actions span{font-size:14px;color:#788091}
@media(max-width:600px){.kpis{grid-template-columns:none;grid-auto-columns:124px}.kpi .label{font-size:16px}.kpi strong{font-size:19px}.matrix-panel.table-expanded{inset:0;border-radius:0}.settings-actions{flex-wrap:wrap}}
.kpi .label{min-height:40px}
.card-description{min-height:36px}
.kpi strong{font-size:clamp(13px,1vw,18px);white-space:nowrap;overflow-wrap:normal}
.comparison-unavailable{overflow-wrap:normal}

.kpi .label,.card-description{overflow-wrap:normal;hyphens:auto}
.filter-actions{grid-column:1/-1;display:flex;gap:10px;justify-content:flex-end;align-items:center;flex-wrap:wrap}
.filter-actions button{min-width:130px}
#filters .filter-active{background:#7135b7;border-color:#7135b7;color:white;font-weight:600}
#filters .filter-active:focus-visible{outline-color:#b58bdf}
#filters select option{background:white;color:#202433}
#filters .filter-active::placeholder{color:#e2d1f3}

.matrix-panel .tabs{margin-top:12px;margin-bottom:0}
.graph-options{padding:0 22px 14px;gap:8px 14px;align-items:flex-start}
.graph-options label{font-size:14px;line-height:1.4;gap:6px;white-space:normal;min-width:0;align-items:center}
.graph-options i{height:9px;width:9px;border-radius:50%;flex:0 0 9px}
.graph-options input{flex-shrink:0}
.chart{position:relative;touch-action:pan-y}
.chart-axis-title{fill:#626b7d;font-size:12px;font-weight:600}
.chart-axis-value{fill:#818b9e;font-size:11px}
.chart-grid-line{stroke:#edf0f5;fill:none}
.chart-zero-line{stroke:#a9b0bd;stroke-width:1;fill:none}
.chart-no-values{fill:#929aaa;font-size:12px}
.chart-guide{stroke:#9d76c4;stroke-width:1;stroke-dasharray:4 3;pointer-events:none}
.chart rect[data-point]{cursor:crosshair;outline:none}
.chart rect[data-point]:focus-visible{stroke:#9961cc;stroke-width:1}
.chart-tooltip{position:absolute;z-index:12;width:max-content;max-width:min(360px,95%);padding:12px 14px;border:1px solid #dfd4eb;border-radius:10px;background:white;box-shadow:0 8px 25px #21123526;pointer-events:none;font-size:14px;color:#303647}
.chart-tooltip-date{font-weight:700;border-bottom:1px solid #eee8f5;padding-bottom:7px;margin-bottom:7px}
.chart-tooltip-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:4px 0;font-size:13px}
.chart-tooltip-row>span{display:flex;gap:6px;align-items:center;min-width:0}
.chart-tooltip-row i{width:8px;height:8px;border-radius:50%;flex:0 0 8px}
.chart-tooltip-row b{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:650}
.filter-pending{font-size:14px;color:#7135b7;margin-right:auto}
@media(max-width:600px){.graph-options{padding-inline:12px;gap:8px 10px}.graph-options label{font-size:13px}.chart-tooltip{padding:9px;max-width:96%}.chart-tooltip-row{font-size:12px;gap:8px}.filter-pending{flex-basis:100%}}

.chart .chart-axis-value{font-size:11px}
