:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0c0e12;--surface:#12151b;--surface2:#191e27;--line:#ffffff0e;--muted:#8490a3;--text:#eef1f7;--accent:#fc2726;--red:#ff5f58}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0;font-family:Arial,Helvetica,sans-serif;font-size:13px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button{color:#dbe1ed;cursor:pointer;background:#ffffff05;border:1px solid #ffffff12;border-radius:7px;justify-content:center;align-items:center;gap:7px;padding:9px 12px;transition:background .15s;display:inline-flex}button:disabled{opacity:.4;cursor:not-allowed}a{color:var(--accent);text-decoration:none}input,select,textarea{color:var(--text);background:#0e1117;border:1px solid #ffffff12;border-radius:6px;width:100%;min-width:0;padding:10px}input[type=checkbox]{width:14px;height:14px;accent-color:var(--accent);flex-shrink:0}input[type=range]{accent-color:var(--accent);padding:0}select{cursor:pointer;font-size:12px}textarea{resize:vertical;min-height:85px}label{color:#a7b1c0;margin:12px 0;font-size:12px;line-height:1.5;display:block}label input,label select,label textarea{margin-top:6px}small{color:var(--muted);font-size:10px;line-height:1.6;display:block}h1,h2,h3{letter-spacing:-.04em;font-weight:500}h1{font-size:29px}h2{font-size:28px}h3{font-size:16px}p{line-height:1.65}.muted{color:var(--muted)}.primary{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:600}.primary:hover{background:#d71d22;border-color:#d71d22}.eyebrow{letter-spacing:2px;color:var(--muted);font-size:9px}.pill{color:#a8b4c6;border:1px solid #ffffff12;border-radius:5px;padding:4px 7px;font-size:10px;display:inline-block}.topbar{border-bottom:1px solid var(--line);background:#101217;justify-content:space-between;align-items:center;height:68px;padding:0 24px;display:flex}.brand{align-items:center;gap:24px;display:flex}.brand img{width:112px;max-height:38px}.brand>span{letter-spacing:1.5px;color:#a7b1c0;border-left:1px solid #ffffff20;padding-left:22px;font-size:10px}.brand b{letter-spacing:1px;color:var(--accent);background:#fc272612;border-radius:3px;margin-left:6px;padding:4px;font-size:8px;font-weight:400}.top-actions{align-items:center;gap:12px;display:flex}.top-actions button{border:0;font-size:11px}.avatar{color:#cbd7e8;background:#28303e;border-radius:50%;justify-content:center;align-items:center;width:30px;height:30px;font-size:10px;display:flex}.workspace{grid-template-columns:245px minmax(0,1fr) 290px;min-height:calc(100vh - 68px);display:grid}.workspace.no-left{grid-template-columns:minmax(0,1fr) 290px}.workspace.no-right{grid-template-columns:245px minmax(0,1fr)}.workspace.no-left.no-right{grid-template-columns:minmax(0,1fr)}.library,.inspector{background:var(--surface);border-right:1px solid var(--line);min-width:0;padding:23px 17px}.inspector{border-right:0;border-left:1px solid var(--line)}.section-head{color:var(--muted);letter-spacing:1.2px;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px;font-size:9px;display:flex}.section-head button{background:0 0;border:0;padding:3px}.car-card{background:linear-gradient(145deg,#1f2632,#141821);border:1px solid #ffffff0c;border-radius:9px;margin:22px 0 28px;padding:19px 14px;position:relative}.car-card h3{margin:12px 0 4px}.car-card p{color:#94a0b3;margin:0 0 13px;font-size:11px}.car-icon{color:#6e839e}.text-button{color:var(--muted);background:0 0;border:0;padding:9px 0;font-size:11px}.car-card .text-button{margin-top:4px;display:block}.upload{color:var(--accent);cursor:pointer;border:1px dashed #fc272650;border-radius:7px;flex-wrap:wrap;align-items:center;gap:7px;padding:12px;font-size:11px;display:flex}.upload input,.file-button input{display:none}.upload small{width:100%;margin-left:22px;font-size:9px}.log-list{margin-top:12px}.log-row{grid-template-columns:minmax(0,1fr) 28px;align-items:center;column-gap:6px;display:grid}.log-row>button:first-child{text-align:left;color:#a9b6c9;background:0 0;border:0;grid-area:1/1;width:100%;min-width:0;padding:12px 0;font-size:11px;display:flex}.log-row span{text-overflow:ellipsis;flex:1;overflow:hidden}.log-row small{text-overflow:ellipsis;max-width:145px;margin-top:4px;font-size:9px;overflow:hidden}.delete-log{color:#657083;background:0 0;border:0;grid-area:1/2;justify-self:center;width:28px;height:28px;padding:5px}.library-footer{color:#8996a9;margin-top:36px;font-size:10px;line-height:1.9}.library-footer i,.plot-footer i{background:var(--accent);border-radius:50%;width:5px;height:5px;margin-right:6px;display:inline-block}.analysis{min-width:0;padding:26px 28px}.analysis-heading{justify-content:space-between;align-items:center;gap:15px;margin-bottom:25px;display:flex}.analysis-heading h1{margin:9px 0 0}.analysis-heading h1 span{vertical-align:middle;color:#8491a5;letter-spacing:0;background:#ffffff07;border-radius:4px;margin-left:14px;padding:4px 8px;font-size:11px}.toolbar{gap:6px;display:flex}.toolbar button{padding:8px;font-size:11px}.runs{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin-bottom:20px;display:grid}.run{background:var(--surface);border:1px solid #ffffff10;border-radius:8px;padding:12px}.run-title{align-items:center;gap:8px;margin-bottom:9px;display:flex}.run-title input{color:#cbd4e4;background:0 0;border:0;padding:2px;font-size:11px}.run-title button{background:0 0;border:0;padding:0 4px}.run-dot{border-radius:50%;flex-shrink:0;width:6px;height:6px}.run>select{padding:7px;font-size:10px}.range{align-items:center;gap:8px;display:flex}.range>*{flex:1;min-width:0}.range label{font-size:10px}.range input{padding:7px;font-size:11px}.range span{max-width:55px;font-size:10px}.plot-toolbar{align-items:center;gap:20px;margin:18px 0 12px;display:flex}.plot-chrome{display:contents}.segmented{background:#101319;border:1px solid #ffffff0d;border-radius:7px;padding:3px;display:flex}.segmented button{color:#7d8a9d;background:0 0;border:0;padding:7px 10px;font-size:11px}.segmented .selected{color:#e3ebf5;background:#242b36}.axis-switch{color:var(--muted);align-items:center;gap:8px;font-size:10px;display:flex}.axis-switch select{width:110px;padding:7px}.cursor{color:#8396aa;font-variant-numeric:tabular-nums;margin-left:auto;font-size:10px}.plot-card{background:radial-gradient(at 12% 0,#283f7080,#0000 65%),linear-gradient(145deg,#182b55,#111f45 65%,#101b38);border:1px solid #8aa7e126;border-radius:14px;overflow:hidden;box-shadow:inset 0 1px #c1d5ff0a,0 12px 36px #02081722}.chart-shell{width:100%;height:var(--workspace-chart-height,520px);min-height:440px;position:relative}.chart-shell.compact{height:320px;min-height:320px}.chart-shell.fill{height:100%;min-height:0;padding-top:92px}.chart-frame{width:100%;height:100%;position:relative}.chart{width:100%;height:100%;min-height:0}.chart-readout{z-index:3;pointer-events:none;position:absolute;inset:0;overflow:hidden}.chart-chip{border:1px solid var(--line);background:var(--surface);max-width:min(520px,52vw);color:var(--text);white-space:nowrap;border-radius:8px;align-items:baseline;gap:7px;padding:5px 9px;font-size:11px;line-height:1.25;animation:.12s ease-out chart-chip-in;display:flex;position:absolute;transform:translate(14px,-50%);box-shadow:0 8px 24px #00000038}.chart-chip.left{transform:translate(calc(-100% - 14px),-50%)}.chart-chip.solo{box-shadow:0 8px 24px #00000048,0 0 0 1px #ffffff14}.chart-chip-dot{border-radius:50%;flex-shrink:0;width:7px;height:7px}.chart-chip-name{text-overflow:ellipsis;max-width:400px;color:var(--muted);overflow:hidden}.chart-chip-value{font-variant-numeric:tabular-nums;color:var(--text);font-weight:600}.chart-chip-value small{color:var(--muted);margin-left:4px;font-size:10px;font-weight:400;display:inline}@keyframes chart-chip-in{0%{opacity:0}to{opacity:1}}.plot-footer{color:#67758a;justify-content:space-between;gap:10px;padding:12px 2px;font-size:9px;line-height:1.5;display:flex}.channels{max-height:340px;margin:10px -4px 22px;overflow:auto}.channel{color:#c0cbdc;align-items:flex-start;gap:8px;margin:0;padding:8px 4px;font-size:11px;line-height:1.5;display:flex}.channel input{margin-top:2px}.channel i{border-radius:50%;flex-shrink:0;width:6px;height:6px;margin-top:6px}.channel small{margin-top:3px;font-size:9px}.channel-actions{justify-content:flex-end;gap:8px;display:flex}.channel-actions button{color:var(--muted);background:0 0;border:0;padding:5px 2px;font-size:10px}details{border-top:1px solid var(--line);padding:13px 0}summary{cursor:pointer;color:#c5d0df;margin-bottom:8px;font-size:12px}details .primary{width:100%;margin-top:10px}details>select,details form>input,details form>select{margin:6px 0}details .text-button{width:100%}.check{align-items:flex-start;gap:8px;font-size:11px;display:flex}.check input{margin-top:3px}.event-list{border:1px solid #ffffff0d;border-radius:8px;margin-top:20px;padding:16px}.event-list>button{text-align:left;background:0 0;border:0;border-top:1px solid #ffffff08;justify-content:flex-start;width:100%;padding:12px 0}.event-list b{color:#ff9b7c;margin-left:auto;font-size:12px}.event-sign{width:24px;height:24px;color:var(--red);background:#ff6b5715;border-radius:5px;justify-content:center;align-items:center;display:flex}.event-list small{font-size:10px}.notice,.hint{color:#c6b98d;background:#edc86509;border:1px solid #edc86522;border-radius:6px;padding:12px;font-size:11px;line-height:1.7}.hint{padding:8px 12px}.notice input{margin:10px 0}.toast{z-index:100;color:#ffe2ca;background:#2b2630;border:1px solid #ff9d5077;border-radius:8px;max-width:600px;padding:15px 20px;line-height:1.6;position:fixed;top:78px;right:24px;box-shadow:0 10px 40px #0008}.toast button{border:0;margin-left:20px}.empty{text-align:center;background:radial-gradient(#fc272606,#0000 70%);flex-direction:column;justify-content:center;align-items:center;min-height:70vh;display:flex}.empty h2{margin:20px 0;font-size:42px;line-height:1.2}.empty p{color:var(--muted);margin-bottom:25px;font-size:12px;line-height:1.9}.empty-icon{width:80px;height:80px;color:var(--accent);background:#fc272607;border:1px solid #fc27261a;border-radius:20px;justify-content:center;align-items:center;margin-bottom:26px;display:flex}.table-scroll{max-height:650px;overflow:auto}table{border-collapse:collapse;text-align:left;width:100%;font-size:11px}td,th{border-bottom:1px solid #ffffff0a;padding:12px;line-height:1.5}th{color:#9caec5;background:#151b24;font-weight:400;position:sticky;top:0}td{color:#c2cede;font-variant-numeric:tabular-nums}tbody tr:hover{cursor:pointer;background:#ffffff05}.pagination{color:var(--muted);justify-content:center;align-items:center;gap:18px;padding:14px;display:flex}.note{border:1px solid #ffffff0c;border-radius:6px;margin:10px 0;padding:12px}.note b{font-size:11px}.note p{white-space:pre-wrap}.note button{margin-right:5px;padding:5px;font-size:10px}.modal-backdrop{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:50;background:#000b;justify-content:center;align-items:center;padding:30px;display:flex;position:fixed;inset:0}.modal{background:#151922;border:1px solid #ffffff16;border-radius:14px;width:650px;max-width:100%;max-height:90vh;padding:32px;position:relative;overflow:auto;box-shadow:0 30px 150px #000a}.modal h2{margin-top:10px}.close{background:0 0;border:0;font-size:22px;position:absolute;top:15px;right:15px}.form-grid{grid-template-columns:1fr 1fr;gap:0 16px;display:grid}.modal form>.primary{margin-top:15px}.inline-form{gap:10px;display:flex}.group-row{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:15px 0;display:flex}.group-row>b,.group-row>div{flex:1}.group-row select{width:150px}.group-row small{display:block}.file-button{cursor:pointer;border:1px solid #ffffff15;border-radius:6px;padding:8px;font-size:11px}.saved-row{justify-content:space-between;width:100%;margin-bottom:8px}.saved-row span{color:var(--muted);font-size:10px}.share-preview{border:1px solid #ffffff12;border-radius:7px;max-height:200px;padding:12px;overflow:auto}.share-preview>div{margin-bottom:12px}.share-preview .pill{margin:4px 4px 0 0;font-size:9px}.pending,.loading{text-align:center;max-width:680px;margin:15vh auto;padding:30px}.pending>img{width:150px;margin-bottom:35px}.pending button{margin:10px}.pending form{text-align:left;max-width:350px;margin:25px auto}.auth{grid-template-columns:1.1fr 1fr;min-height:100vh;display:grid}.auth-story{border-right:1px solid var(--line);background:radial-gradient(at 0 100%,#fc272613,#0000 60%),#0e1117;flex-direction:column;justify-content:center;padding:55px 12%;display:flex;position:relative}.auth-story>img{width:150px;position:absolute;top:45px}.auth-story h1{letter-spacing:-.065em;margin:25px 0;font-size:clamp(48px,5vw,84px);line-height:1.06}.auth-story em{color:var(--accent);font-style:normal}.auth-story>p{color:#8c9caf;line-height:1.9}.auth-lines{margin-top:25px}.auth-lines svg{fill:none;width:100%;height:130px;stroke:var(--accent);stroke-width:2px}.auth-lines path+path{stroke:#ff7666;stroke-dasharray:7 6;opacity:.5}.auth-lines small{letter-spacing:2px;margin-top:15px;font-size:8px}.auth-form{width:100%;max-width:460px;margin:auto;padding:45px}.auth-form h2{margin-top:30px;font-size:32px}.auth-form .primary{width:100%;margin-top:20px;padding:13px}.auth-form label{margin-top:20px}.auth-links{justify-content:space-between;margin-top:20px;display:flex}.auth-links button{color:#97a7be;background:0 0;border:0;padding:0;font-size:11px}.sr-only{clip:rect(0, 0, 0, 0);width:1px;height:1px;position:absolute;overflow:hidden}.report{max-width:1250px;margin:auto;padding:35px}.report header{align-items:center;gap:25px;margin-bottom:65px;display:flex}.report-logo{width:140px}.workshop-logo{object-fit:contain;max-width:140px;max-height:60px}.report-actions{align-items:center;gap:20px;margin-left:auto;font-size:12px;display:flex}.report h1{font-size:42px}.report-runs{gap:35px;margin:25px 0;display:flex}.report-runs p{color:var(--muted);font-size:11px}.report footer{border-top:1px solid var(--line);color:var(--muted);margin-top:40px;padding-top:25px;font-size:11px}.report table{margin:25px 0}.report .note{max-width:850px}@media (max-width:1150px){.workspace{grid-template-columns:210px minmax(0,1fr) 250px}.workspace.no-left{grid-template-columns:minmax(0,1fr) 250px}.workspace.no-right{grid-template-columns:210px minmax(0,1fr)}.analysis{padding:24px 16px}.analysis-heading{flex-wrap:wrap}.top-actions{gap:3px}.top-actions button{font-size:10px}.brand{gap:12px}.brand>span{padding-left:12px}.plot-footer{flex-direction:column}.range{gap:5px}}@media (max-width:850px){.workspace,.workspace.no-left,.workspace.no-right{flex-wrap:wrap;display:flex}.library{width:230px}.analysis{flex:1;width:calc(100% - 230px);min-width:300px}.inspector{width:100%;display:block}.channels{max-height:200px}.topbar{padding:0 12px}.brand>span{display:none}.top-actions button{font-size:0}.top-actions button svg{width:18px}.auth{grid-template-columns:1fr}.auth-story{display:none}.auth-form{padding:30px}.toolbar{flex-wrap:wrap}.report-actions{flex-direction:column;gap:10px}}@media print{:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}body{color:#111;background:#fff}.report{max-width:none;padding:0}.report-actions{display:none}.report header{margin-bottom:25px}.report h1{font-size:28px}.report .plot-card{-webkit-print-color-adjust:exact;print-color-adjust:exact;border:1px solid #ccc;background:#10131a!important}.report .table-scroll{max-height:none;overflow:visible}td,th{color:#111;background:#fff;border-color:#ddd}th{position:static}.report footer,.report .muted,.report small,.report-runs p{color:#555}.note{break-inside:avoid;border-color:#ccc}.report-logo{content:url(/logo-print.svg)}.report .chart{break-inside:avoid}button{display:none}@page{size:A4 landscape;margin:12mm}}.print-only{visibility:hidden;width:1000px;position:absolute;top:0;left:-10000px}.print-only .chart{min-height:320px}.print-legend{grid-template-columns:1fr 1fr;gap:3px 20px;margin-bottom:20px;display:grid}.print-legend p{margin:0;font-size:10px;line-height:1.4}@media print{.screen-only{display:none}.print-only{visibility:visible;width:1000px;position:static}.print-plot{break-before:page;break-inside:avoid}.print-plot h2{margin:10px 0 20px;font-size:21px}.report tr{break-inside:avoid}.report header{margin-bottom:20px}.report h1,.report .report-runs{margin:10px 0}.report footer{break-inside:avoid}}.focus-mode .topbar,.focus-mode .runs,.focus-mode .plot-footer,.focus-mode .analysis-heading .eyebrow,.focus-mode .event-list{display:none}.focus-mode .workspace{min-height:100vh}.focus-mode .analysis{padding:14px 20px}.focus-mode .analysis-heading{margin-bottom:12px}.focus-mode .analysis-heading h1{margin:0;font-size:18px}@media print{.report header{margin-bottom:12px}.report-logo{width:110px}.report h1{margin:8px 0;font-size:24px}.report h2{margin:12px 0;font-size:18px}.report>p{margin:6px 0}.report .report-runs{gap:25px;margin:8px 0}.report-runs h3{margin:6px 0}.report-runs p{margin:4px 0}.report table{margin:12px 0}.report td,.report th{padding:6px 10px;font-size:9px}.report section>div>p{margin:6px 0;font-size:11px}.print-plot h2{margin:10px 0 20px}.print-legend p{font-size:10px}}.axis-switch select[aria-label=Режим\ отображения]{width:230px;max-width:100%}.channel-count{color:#91a6ca;margin-top:8px;font-size:10px;line-height:1.5;display:block}.rule-list{gap:6px;margin:10px 0;display:grid}.rule-item{align-items:stretch;gap:4px;display:flex}.rule-item>button:first-child{white-space:normal;text-align:left;flex:1;font-size:11px;line-height:1.5}.rule-item>button.selected{background:#243957;border-color:#5ea6d7}.rule-editor{margin-top:12px}:root{--bg:#111216;--surface:#191b20;--surface2:#22252c;--line:#ffffff16;--muted:#9ba3b2;--text:#f3f3f3;--accent:#fc2726}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f5f5f7;--surface:#fff;--surface2:#eeeef2;--line:#1b20301c;--muted:#626977;--text:#20232b;--accent:#c91e23}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.logo-light{display:none}[data-theme=light] .logo-light{display:block}[data-theme=light] .logo-dark{display:none}button{color:var(--text);border-color:var(--line);background:var(--surface)}button:hover{background:var(--surface2);border-color:var(--muted)}input,select,textarea{background:var(--surface);border-color:var(--line);color:var(--text)}label{color:var(--muted)}.primary{color:#fff;background:#fc2726;border-color:#fc2726}.primary:hover{background:#d71d22}.topbar,.library,.inspector,.modal,.run,.plot-card,th{background:var(--surface);color:var(--text);border-color:var(--line)}.plot-card{box-shadow:none}.breadcrumbs{border-bottom:1px solid var(--line);color:var(--muted);align-items:center;gap:10px;padding:12px 28px;display:flex}.breadcrumbs button{background:0 0;border:0;padding:4px 0}.garage-page{max-width:1280px;margin:auto;padding:36px 28px 60px}.page-title{justify-content:space-between;align-items:center;gap:24px;margin-bottom:30px;display:flex}h1{letter-spacing:-1px}.page-title h1,.vehicle-page-heading h1{margin:10px 0;font-size:32px}.garage-filters{gap:12px;margin-bottom:24px;display:flex}.garage-filters input{flex:1}.garage-filters select{width:230px}.vehicle-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px;display:grid}.vehicle-tile{text-align:left;border-radius:14px;min-height:240px;padding:24px;display:block}.vehicle-tile:hover{border-color:var(--accent);transform:translateY(-2px)}.vehicle-tile-icon{color:var(--accent);margin-bottom:22px}.vehicle-tile h2{margin:15px 0 8px;font-size:20px}.vehicle-tile p{color:var(--muted);min-height:32px}.vehicle-tile footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;padding-top:18px;display:flex}.vehicle-tile footer span:last-child{color:var(--accent)}.pill{background:var(--surface2);color:var(--muted)}.vehicle-page-heading{max-width:1180px;margin:30px auto 0;padding:0 28px}.workspace.vehicle-detail{max-width:1180px;height:auto;margin:24px auto;padding:0 28px;display:block}.vehicle-detail .library{border:1px solid var(--line);border-radius:14px;width:auto;padding:28px}.vehicle-detail .library>select,.vehicle-detail .library>.sr-only,.vehicle-detail .library>.section-head:first-child{display:none}.vehicle-detail .car-card{text-align:left;margin-top:0}.vehicle-detail .car-icon{display:none}.vehicle-detail .log-list{max-height:none}.vehicle-detail .log-row{border:1px solid var(--line);border-radius:9px;margin:10px 0;padding-right:10px}.vehicle-detail .log-row>button:first-child{padding:18px}.admin-page .group-row{background:var(--surface);border:1px solid var(--line);border-radius:9px;padding:16px}.admin-page .group-row select{max-width:180px}.theme-picker{width:150px;font-size:11px}[data-theme=light] .analysis-heading h1,[data-theme=light] .car-card h3,[data-theme=light] .log-row button,[data-theme=light] .run-title input,[data-theme=light] .channel-name,[data-theme=light] .empty h2{color:var(--text)}[data-theme=light] .auth-shell{background:var(--bg)}[data-theme=light] .auth-card,[data-theme=light] .pending,[data-theme=light] .rule-item,[data-theme=light] .channel-row,[data-theme=light] .note{background:var(--surface);color:var(--text);border-color:var(--line)}[data-theme=light] .plot-toolbar,[data-theme=light] .axis-switch,[data-theme=light] .table-wrap{background:var(--surface);color:var(--text)}:focus-visible{outline:2px solid var(--accent)}@media (max-width:800px){.topbar{flex-wrap:wrap;gap:12px;height:auto;min-height:68px;padding:16px}.top-actions{flex-wrap:wrap;gap:6px}.brand>span{display:none}.page-title{flex-direction:column;align-items:flex-start}.garage-filters{flex-direction:column}.garage-filters select{width:100%}.garage-page{padding:24px 16px}}.car-card{background:var(--surface2);border-color:var(--line)}.car-card p,.car-icon,.log-row small,.library-footer,.plot-caption,.cursor{color:var(--muted)}.car-card h3,.channel,summary,.run-title input,.table-wrap td{color:var(--text)}.segmented{background:var(--surface2);border-color:var(--line)}.segmented button{color:var(--muted)}.segmented .selected{background:var(--surface);color:var(--text)}.table-wrap th{color:var(--muted);background:var(--surface2)}.run-title,.rule-item,.group-row{border-color:var(--line)}[data-theme=light] .sync-status{color:#3d4660;background:#eeeef7;border-color:#c9cbd8}[data-theme=light] .toast{color:var(--text);background:var(--surface)}.empty-search{text-align:center;color:var(--muted);padding:60px}.rule-item>button.selected{background:var(--surface2);border-color:var(--accent);color:var(--text);box-shadow:inset 3px 0 0 var(--accent)}[data-theme=light] .notice,[data-theme=light] .hint{color:#78521d;background:#fff8eb;border-color:#bd8b3c44}[data-theme=light] .event-list strong,[data-theme=light] .event-sign{color:#b83728}.compare-log{grid-area:2/1;justify-self:start;margin-bottom:8px;padding:5px 8px;font-size:10px}.run-source{gap:4px;min-width:0;margin:8px 0 12px;display:grid}.run-source strong{overflow-wrap:anywhere;font-size:12px}.run-source small{color:var(--muted);font-size:11px}.analysis-heading>div:first-child{min-width:0}.analysis-heading h1{overflow-wrap:anywhere}.vehicle-detail .compare-log{margin-left:18px}.log-row>button:first-child>svg{flex-shrink:0}.connection-status{white-space:nowrap;font-size:11px}.offline-panel{border:1px solid var(--line);background:var(--surface);width:min(620px,100vw - 32px);max-height:85vh;color:var(--text);border-radius:16px;padding:24px;overflow:auto;box-shadow:0 20px 90px #0005}.offline-panel p{font-size:13px;line-height:1.6}.offline-panel h3{margin-top:24px}.offline-file{border-bottom:1px solid var(--line);overflow-wrap:anywhere;gap:6px;padding:12px 0;display:grid}.offline-file small{color:var(--muted)}.offline-file button{justify-self:start}.pin-log{grid-area:3/1;justify-self:start;margin-bottom:8px;padding:5px 8px;font-size:10px}.vehicle-detail .pin-log{margin-left:18px}@media (display-mode:standalone),(display-mode:window-controls-overlay){.topbar{z-index:50;padding-top:max(12px, env(safe-area-inset-top));position:sticky;top:0}.brand span b{display:none}}.app-titlebar{display:none}@media (display-mode:window-controls-overlay){body{padding-top:env(titlebar-area-height,32px)}.app-titlebar{height:env(titlebar-area-height,32px);color:#17191e;z-index:10000;-webkit-user-select:none;user-select:none;background:#fc2726;display:block;position:fixed;inset:0 0 auto}.app-titlebar-content{left:env(titlebar-area-x,0px);top:env(titlebar-area-y,0px);width:env(titlebar-area-width,100%);height:env(titlebar-area-height,32px);white-space:nowrap;-webkit-app-region:drag;app-region:drag;align-items:center;gap:10px;padding-inline:12px;font-size:13px;font-weight:800;display:flex;position:absolute;overflow:hidden}.app-titlebar-content span{font-size:11px;font-weight:500}.topbar{top:env(titlebar-area-height,32px)}}.chart-workspace{--workspace-chart-height:max(440px, calc(100dvh - 270px))}.chart-workspace .analysis{min-width:0;padding:14px 18px}.chart-workspace .analysis-heading{gap:12px;margin-bottom:12px}.chart-workspace .analysis-heading>div:first-child{min-width:0}.chart-workspace .analysis-heading h1{overflow-wrap:anywhere;margin:0;font-size:17px}.chart-workspace .breadcrumbs{padding-block:8px;font-size:11px}.chart-workspace .plot-toolbar{flex-wrap:wrap;gap:10px;margin-bottom:10px}.chart-workspace .toolbar{flex-shrink:0}.chart-workspace .runs{margin-bottom:12px}.chart-workspace .library,.chart-workspace .inspector{max-height:calc(100dvh - 112px);position:sticky;top:0;overflow-y:auto}.chart-workspace .plot-card{border-radius:10px}.chart-workspace .workspace{min-height:calc(100dvh - 114px)}.chart-workspace .analysis.chart-full{height:calc(100dvh - 114px);min-height:440px;padding:6px;position:relative;overflow:visible}.chart-workspace .analysis.chart-full .plot-card{height:100%}.chart-workspace .analysis.chart-full>.analysis-heading{z-index:9;pointer-events:none;margin:0;position:absolute;top:12px;left:12px;right:12px}.chart-workspace .analysis.chart-full>.analysis-heading button{pointer-events:auto}.chart-workspace .analysis.chart-full>.plot-chrome{z-index:8;pointer-events:none;flex-direction:column;gap:8px;display:flex;position:absolute;top:54px;left:12px;right:12px}.chart-workspace .analysis.chart-full>.plot-chrome>*{pointer-events:auto}.chart-workspace .analysis.chart-full .plot-toolbar{margin:0}.chart-workspace .analysis.chart-full .plot-footer{display:none}.chart-workspace .analysis.chart-full>.sync-info,.chart-workspace .analysis.chart-full>.hint{z-index:7;border:1px solid var(--line);background:var(--surface);border-radius:8px;max-width:min(640px,72%);margin:0;padding:8px 10px;position:absolute;top:102px;left:14px}.chart-workspace.focus-mode .workspace{min-height:100vh}.chart-workspace.focus-mode .analysis.chart-full{height:calc(100dvh - 46px)}@media (max-width:1200px){.chart-workspace .workspace,.chart-workspace.focus-mode .workspace{min-height:calc(100dvh - 160px)}.chart-workspace .analysis.chart-full,.chart-workspace.focus-mode .analysis.chart-full{height:auto;padding:14px 18px}.chart-workspace .analysis.chart-full>.analysis-heading,.chart-workspace .analysis.chart-full>.plot-chrome,.chart-workspace .analysis.chart-full>.sync-info,.chart-workspace .analysis.chart-full>.hint{max-width:none;position:static}.chart-workspace .analysis.chart-full>.analysis-heading{pointer-events:auto;margin-bottom:12px}.chart-workspace .analysis.chart-full>.plot-chrome{display:contents}.chart-workspace .analysis.chart-full .plot-card{height:var(--workspace-chart-height)}.chart-workspace .chart-shell.fill{padding-top:0}.chart-workspace .analysis.chart-full .plot-toolbar{margin:18px 0 12px}.chart-workspace .analysis.chart-full>.sync-info,.chart-workspace .analysis.chart-full>.hint{margin:10px 0}}.chart-workspace.focus-mode{--workspace-chart-height:max(440px, calc(100dvh - 170px))}@media (display-mode:window-controls-overlay){.chart-workspace{--workspace-chart-height:max(440px, calc(100dvh - 270px - env(titlebar-area-height,32px)))}}@media (max-width:760px){.chart-workspace .analysis-heading,.chart-workspace .toolbar{flex-wrap:wrap}.chart-workspace .library,.chart-workspace .inspector{max-height:60vh;position:static}}.modal-dialog{color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:16px;margin:auto;padding:24px;overflow:auto;box-shadow:0 24px 100px #0005}.modal-dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#080a1080}.modal-header{justify-content:space-between;align-items:start;gap:20px;margin-bottom:20px;display:flex}.modal-header h2{margin:0 0 8px;font-size:20px}.modal-header p{color:var(--muted);margin:0;font-size:12px}.modal-footer{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:20px;display:flex}.runs-dialog{width:min(980px,100vw - 40px);max-height:calc(100dvh - 80px)}.runs-dialog .runs{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}.analytics-view{padding:16px}.analytics-settings{border-bottom:1px solid var(--line);padding-bottom:12px}.analytics-controls{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:14px;display:grid}.analytics-controls label{flex-direction:column;gap:6px;min-width:0;font-size:12px;display:flex}.analytics-controls label.check{flex-direction:row;align-items:center}.analytics-controls select{width:100%;min-width:0}.analytics-actions{flex-wrap:wrap;align-items:center;gap:16px;margin:14px 0;display:flex}.analytics-quality{color:var(--muted);font-size:11px}.analytics-quality p{margin:5px 0}.analytics-canvas{width:100%;height:max(480px,100dvh - 350px)}.help-link,.help-return{color:var(--text);border:1px solid var(--line);border-radius:7px;align-items:center;gap:7px;padding:9px 12px;font-size:12px;display:inline-flex}.help-link:hover,.help-return:hover{background:var(--surface2)}.help-header{border-bottom:1px solid var(--line);background:var(--surface);justify-content:space-between;align-items:center;gap:16px;padding:16px 28px;display:flex}.help-header .theme-picker{width:auto}.help-brand{color:var(--text);font-size:20px;font-weight:800}.help-brand span{color:var(--muted);margin-left:12px;font-size:12px;font-weight:400}.help-layout{grid-template-columns:250px minmax(0,850px);gap:48px;max-width:1240px;margin:auto;padding:36px 28px;display:grid}.help-toc{flex-direction:column;align-self:start;gap:5px;max-height:calc(100dvh - 70px);display:flex;position:sticky;top:24px;overflow:auto}.help-toc strong{margin:0 10px 12px}.help-toc a{color:var(--muted);border-radius:6px;padding:8px 10px;line-height:1.4}.help-toc a:hover,.help-toc a:focus-visible{color:var(--text);background:var(--surface2)}.help-content{min-width:0;font-size:15px;line-height:1.75}.help-intro h1{margin:16px 0;font-size:clamp(28px,4vw,40px);line-height:1.2}.help-intro small{color:var(--muted)}.help-content section{border-top:1px solid var(--line);margin-top:36px;padding-top:24px;scroll-margin-top:60px}.help-content h2{margin:0 0 18px;font-size:24px;line-height:1.3}.help-content li{margin:8px 0;padding-left:4px}.help-callout{border-left:3px solid var(--accent);background:var(--surface2);border-radius:0 8px 8px 0;margin:20px 0;padding:16px 20px}.help-table{overflow-x:auto}.help-content table{width:100%;min-width:480px}.help-content td,.help-content th{color:var(--text);white-space:normal;vertical-align:top;padding:12px;font-size:13px;line-height:1.55}.help-content blockquote{border-left:3px solid var(--accent);background:var(--surface);margin:20px 0;padding:15px 20px}.help-content dt{margin-top:22px;font-weight:700}.help-content dd{margin:7px 0 0}.help-footer{border-top:1px solid var(--line);justify-content:space-between;gap:15px;margin-top:40px;padding:24px 0;display:flex}@media (max-width:900px){.help-layout{grid-template-columns:minmax(0,1fr);gap:24px;padding:24px 18px}.help-toc{max-height:none;position:static}.help-header{flex-wrap:wrap;padding:14px 18px}}@media print{.help-header,.help-toc,.help-footer{display:none}.help-layout{padding:0;display:block}.help-content{color:#111}.help-content section{break-inside:auto}.help-content h2{break-after:avoid}}.collaboration{margin:16px 0}.dashboard-toolbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.dashboard-toolbar input{width:180px}.collaboration-panel{background:var(--panel);border:1px solid var(--border);border-radius:10px;margin:12px 0;padding:16px}.collaboration-panel>button{margin:4px}.collaboration-panel form{flex-wrap:wrap;gap:8px;display:flex}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px;display:grid}.dashboard-widget{border:1px solid var(--border);border-radius:12px;min-width:0;padding:12px}.dashboard-widget.full{grid-column:1/-1}.dashboard-widget>header{align-items:center;gap:6px;margin-bottom:8px;display:flex}.dashboard-widget>header strong{margin-right:auto}.dashboard-widget .analytics-chart{min-height:380px}@media (max-width:1000px){.dashboard-grid{grid-template-columns:1fr}}.point-dialog{width:min(620px,100vw - 40px);max-height:calc(100dvh - 80px)}.point-dialog textarea{resize:vertical;width:100%;min-height:140px;margin:0}.point-dialog form p[role=alert]{color:var(--danger,#fc5757);margin:10px 0 0;font-size:12px}.point-dialog form>p{color:var(--muted);margin:10px 0 0;font-size:12px}@media print{.dashboard-toolbar,.collaboration-panel,.dashboard-widget>header button{display:none!important}.dashboard-grid{display:block}.published-widget,.dashboard-widget{break-inside:avoid;margin:16px 0}.analytics-canvas{height:480px!important}}.dashboard-grid.is-dragging{-webkit-user-select:none;user-select:none}.dashboard-drag-handle{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;border-radius:8px;flex:none;justify-content:center;align-items:center;min-width:32px;min-height:32px;padding:0 6px;font-size:16px;line-height:1;display:inline-flex}.dashboard-drag-handle:active,.dashboard-grid.is-dragging .dashboard-drag-handle{cursor:grabbing}.dashboard-widget.dragging{opacity:.55}.dashboard-widget.drop-target{outline:2px dashed var(--accent);outline-offset:2px}@media (prefers-reduced-motion:reduce){.dashboard-widget,.dashboard-drag-handle{transition:none!important;animation:none!important}}@media (max-width:1290px){.topbar{gap:10px;padding-inline:16px}.top-actions{gap:6px;min-width:0}.brand img{width:96px}.top-actions button{padding:8px 9px}}@media (max-width:1270px){.brand>span{display:none}}@media (max-width:1150px){.top-actions button{gap:0;padding:9px;font-size:0}.top-actions button svg{width:18px;height:18px}.help-link{padding:8px 10px}}@media (max-width:768px){.top-actions button,.toolbar button,.toast button,.modal-header>button,.dashboard-widget>header button,.runs button[aria-label="Убрать из сравнения"],.delete-log{min-width:40px;min-height:40px}.toast{max-width:none;padding:12px 14px;top:76px;left:16px;right:16px}.toast button{margin-left:12px}.log-row{grid-template-columns:minmax(0,1fr) 40px}.delete-log{width:40px;height:40px}.admin-page .group-row{flex-wrap:wrap;align-items:stretch;gap:8px 10px;padding:14px 16px}.admin-page .group-row>div{flex:100%;min-width:0}.admin-page .group-row select{flex:100%;width:100%;max-width:none}.admin-page .group-row>span{flex:140px}.admin-page .group-row>span>button{white-space:nowrap;width:100%}.admin-page .group-row label.check{justify-content:flex-start}.dashboard-widget>header{flex-wrap:wrap;row-gap:6px}.dashboard-widget>header strong{overflow-wrap:anywhere;flex:calc(100% - 48px);min-width:0;margin-right:0}.dashboard-drag-handle{flex:0 0 40px;min-width:40px;min-height:40px}.dashboard-widget .analytics-canvas{height:320px}.analytics-view{padding:12px}.analytics-canvas{height:max(420px,100dvh - 320px)}.analytics-actions{gap:10px}.modal-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:16px}.modal-header{gap:12px}.runs-dialog .runs{grid-template-columns:minmax(0,1fr)}.modal-footer{flex-direction:column}.modal-footer button{width:100%;min-height:40px}.help-toc a{padding:6px 8px;font-size:13px}.help-footer{flex-direction:column}}
