:root{--red:#e72e40;--ink:#1c252d;--muted:#7b858e;--line:#e7eaed;--blue:#4389ed;--compare:#f46561;--canvas:#f6f8f9;--radius:12px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--canvas);font-size:14px}button,input,select{font:inherit}button,a,select,input[type=range],input[type=checkbox]{cursor:pointer}button{color:inherit}button{background:none;border:0}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #86b6ff;outline-offset:3px}svg.icon{width:18px;height:18px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:background .16s,border-color .16s}button:hover{background:#edf0f3}.global-nav{height:76px;display:flex;align-items:center;gap:24px;padding:0 30px;background:white;border-bottom:1px solid var(--line)}.brand{display:flex;gap:9px;align-items:center;font-size:18px;letter-spacing:3px;font-weight:750}.brand svg{width:38px;height:32px;stroke:var(--red);stroke-width:6;fill:none}.brand-light{font-weight:450}.nav-divider{width:1px;height:23px;background:var(--line)}.product-name{font-weight:550;font-size:15px;letter-spacing:-.2px}.global-nav nav{display:flex;align-self:stretch;gap:20px;margin-left:28px}.global-nav nav button{border-bottom:2px solid transparent;padding:0 4px;font-size:14px;color:#707a82;border-radius:0}.global-nav nav button.nav-current{border-bottom-color:var(--red);color:var(--ink)}.demo-badge{margin-left:auto;color:#818b92;font-size:11px;letter-spacing:1.6px;font-weight:650;white-space:nowrap}.app-shell{display:grid;grid-template-columns:222px minmax(0,1fr)}.session-rail{background:#fff;border-right:1px solid var(--line);padding:27px 16px;display:flex;flex-direction:column;min-height:calc(100vh - 76px)}.back-button{justify-content:flex-start;width:100%;padding:9px 11px;margin-bottom:25px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:14px;font-weight:550}.back-button .icon:last-child{margin-left:auto;width:15px}.rail-track{padding:0 10px}.eyebrow{font-size:10px;font-weight:650;letter-spacing:1.6px;color:#919aa1}.rail-track h2{font-size:16px;margin:12px 0 6px;letter-spacing:-.3px}.rail-track p{color:var(--muted);font-size:12px;margin:0 0 28px}.rail-label{display:flex;justify-content:space-between;padding:0 11px 13px;color:#818a91;font-size:12px}.lap-row{display:flex;align-items:center;gap:10px;width:100%;padding:14px 11px;margin-bottom:5px;border:1px solid transparent;border-radius:8px;text-align:left}.lap-row.selected{background:#edf4fe;border-color:#dbe8fc}.lap-number{border:1px solid #e2e6ea;border-radius:5px;width:27px;height:27px;display:grid;place-items:center;font-size:12px;color:#7e8993;background:#fff}.lap-row.selected .lap-number{border-color:#bad5fa;color:var(--blue)}.lap-main{display:flex;flex-direction:column;gap:3px}.lap-main strong{font-weight:600;font-size:14px;font-variant-numeric:tabular-nums}.lap-main span{font-size:10px;letter-spacing:.6px;color:#94a0ac}.lap-row .lap-delta{margin-left:auto;color:#96a0a7;font-size:11px;font-variant-numeric:tabular-nums}.lap-row.selected .lap-delta{color:var(--blue)}.lap-best{color:var(--blue)!important}.rail-foot{margin-top:auto;display:flex;align-items:flex-start;gap:8px;border-top:1px solid var(--line);padding:19px 8px 0;color:#99a2aa}.rail-foot .icon{width:14px;margin-top:2px}.rail-foot p{font-size:12px;line-height:1.6;margin:0}main{max-width:1800px;width:100%;padding:28px 32px 0;margin:auto}.workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:25px}.breadcrumb{font-size:12px;color:#8e979e;margin-bottom:9px}.breadcrumb span{padding:0 10px;color:#bac1c6}h1{font-size:29px;font-weight:650;letter-spacing:-1px;margin:0 0 8px}.track-country{vertical-align:middle;font-size:10px;letter-spacing:1px;border:1px solid #dfe4e7;border-radius:4px;padding:3px 5px;margin-left:7px;color:#849097;font-weight:550}.workspace-heading p{color:#8a949d;font-size:12px;margin:0}.workspace-heading p span{margin:0 6px;color:#b6bfc6}.header-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.button{background:#fff;border:1px solid #dfe4e8;padding:10px 13px;border-radius:7px;min-height:40px;font-size:13px;font-weight:550;white-space:nowrap;box-shadow:0 1px 2px #1c252d03}.button:hover{background:#f2f5f7;border-color:#bac6cf}.button.primary,.button.engaged{background:var(--red);color:#fff;border-color:var(--red)}.button.engaged:hover{background:#d92839}.button.icon-only{width:40px;padding:8px}.button.small{min-height:33px;padding:7px 10px;font-size:12px}.summary-strip{display:grid;grid-template-columns:1.13fr 1.2fr 1fr 1fr 1.1fr;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px 0;margin-bottom:22px;box-shadow:0 2px 3px #13192002}.summary-strip>div{padding:0 24px;border-right:1px solid var(--line)}.summary-strip>div:last-child{border:0}.metric-label{color:#8a949d;font-size:12px;display:flex;gap:5px;align-items:center;white-space:nowrap}.metric-label .icon{width:12px;height:12px}.summary-strip strong{display:flex;align-items:center;gap:7px;font-size:24px;font-weight:600;letter-spacing:-.7px;font-variant-numeric:tabular-nums;margin-top:8px;white-space:nowrap}.summary-strip strong small{font-size:12px;font-weight:450;color:#929da5;letter-spacing:0}.summary-strip .best-pill{font-size:9px;color:#3880de;background:#eff5fe;border-radius:3px;padding:4px;font-weight:600}.summary-strip .weather-summary{display:flex;align-items:center;gap:14px}.weather-summary>.icon{color:#87949c;width:26px;height:26px}.analysis-card{border:1px solid var(--line);border-radius:var(--radius);background:#fff;overflow:hidden;box-shadow:0 3px 8px #13192003}.section-toolbar{display:flex;justify-content:space-between;align-items:center;padding:13px 18px}.section-label{display:flex;align-items:center;gap:9px;color:#929ba3;font-size:12px}.section-label>.icon{width:16px;height:16px;color:#56636f}.section-label h2{font-size:14px;color:#34414c;font-weight:600;margin:0}.quiet-separator{height:14px;width:1px;background:#dfe4e8;margin:0 4px}.map-view-switch{display:flex;gap:3px}.map-view-switch button{border-radius:5px;padding:6px 11px;color:#87949e;font-size:12px}.map-view-switch button.selected{background:#edf1f4;color:#33434f;font-weight:550}.map-wrap{background:#151d23;position:relative;height:365px;overflow:hidden;flex:1;min-width:0}.map-video-row{display:flex}.map-top{position:absolute;left:20px;right:16px;top:16px;display:flex;justify-content:space-between;z-index:3;pointer-events:none}.map-top>*{pointer-events:auto}.lap-chips{display:flex;gap:8px}.lap-chip{display:flex;align-items:center;gap:7px;background:#202c34d9;border:1px solid #36434c;border-radius:6px;padding:8px 10px;font-size:11px;color:#e1e7ec}.lap-chip i{width:6px;height:6px;border-radius:50%;background:var(--blue)}.lap-chip b{font-variant-numeric:tabular-nums;font-weight:500;margin-left:9px}.lap-chip.red i{background:var(--compare)}#map-stage,#circuit-svg{width:100%;height:100%;display:block}#map-stage{cursor:grab;touch-action:none}#map-stage:active{cursor:grabbing}#track-road{stroke:#444f55;stroke-width:13;fill:none;stroke-linecap:round;stroke-linejoin:round}#track-line-a{stroke:#61a5ff;stroke-width:2;fill:none;stroke-linejoin:round}.map-telemetry{position:absolute;left:20px;top:77px;pointer-events:none}.map-telemetry>div{margin-bottom:20px}.map-telemetry span{display:block;font-size:10px;color:#85939e}.map-telemetry strong{display:block;font-size:21px;color:#e7edf1;font-weight:500;letter-spacing:-.3px;margin-top:3px;font-variant-numeric:tabular-nums}.map-telemetry strong small{font-size:10px;color:#7d8d99;margin-left:6px;font-weight:400;letter-spacing:0}.map-controls{display:flex;flex-direction:column;gap:4px;position:absolute;right:16px;top:66px}.map-small{border:1px solid #3a464d;border-radius:5px;width:31px;height:30px;background:#202b33cf;color:#bac7cf;font-size:21px}.map-small:hover{background:#3c4a56}.map-small .icon{width:15px;height:15px}#map-north{height:40px;flex-direction:column;gap:1px;font-size:12px}#bearing-label{font-size:8px;color:#9eadb7}.map-controls>span{height:4px}.map-bottom{display:flex;justify-content:space-between;position:absolute;bottom:13px;left:20px;right:18px;align-items:center;font-size:10px;color:#81929e}.map-bottom label{display:flex;align-items:center;gap:5px}.map-bottom input{accent-color:#6d9cbe;width:11px;height:11px}.playback-bar{display:flex;align-items:center;gap:15px;padding:11px 19px;font-size:12px;color:#82909a}.play-button{background:#f1f5f8;border:1px solid #e6ebef;border-radius:50%;width:29px;height:29px;color:#435464}.play-button .icon{width:12px;height:12px}#play-time{font-variant-numeric:tabular-nums;color:#364956;min-width:49px}input[type=range]{accent-color:var(--blue);height:4px}#lap-position{flex:1;min-width:20px}.play-duration{font-variant-numeric:tabular-nums}.playback-bar select,.telemetry-actions select{border:0;color:#63737f;background:transparent;font-size:12px}.linked-label{display:flex;align-items:center;gap:5px;color:#9aa6af;font-size:11px;margin-left:7px;white-space:nowrap}.linked-label .icon{width:14px;height:14px}.telemetry-section{margin-top:23px}.telemetry-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px;gap:8px}.telemetry-actions{display:flex;gap:12px;align-items:center}.segmented{display:flex;background:#e9eef1;border-radius:6px;padding:3px}.segmented button{padding:5px 10px;font-size:11px;color:#85939d;border-radius:4px}.segmented button.active{background:white;color:#435360;box-shadow:0 1px 3px #1b354014}.chart-card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:15px 16px 8px;margin-bottom:10px;overflow:hidden}.chart-head{display:flex;align-items:center;gap:10px;margin-bottom:7px;min-height:27px}.chart-head h3{font-size:13px;margin:0;font-weight:600}.chart-head small{font-size:10px;color:#9aa6ae;font-weight:450;margin-left:5px}.chart-value{font-variant-numeric:tabular-nums;font-size:13px;font-weight:550;margin-left:auto}.blue-text{color:var(--blue)}.telemetry-chart{width:100%;height:132px;display:block;overflow:visible;touch-action:none}.workspace-footer{display:flex;justify-content:space-between;align-items:center;color:#a2aeb6;font-size:10px;margin-top:26px;padding:18px 0;border-top:1px solid #e9edf0}.workspace-footer>span:first-child{font-size:8px;letter-spacing:1.6px;display:flex;gap:7px;align-items:center}.footer-mark{font-size:13px;font-weight:800;font-style:italic;color:#a3aeb5}.workspace-footer button{font-size:10px;color:#8c99a3}kbd{font:10px inherit;border:1px solid #d7dfe5;border-radius:3px;padding:1px 4px;background:white}dialog{border:1px solid #dfe4e8;box-shadow:0 30px 90px #0b1b3550;border-radius:16px;padding:0;max-width:620px;width:calc(100% - 30px);max-height:85vh;color:var(--ink)}dialog::backdrop{background:#07142466;backdrop-filter:blur(4px)}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:#1e303c;color:#fff;border-radius:9px;padding:12px 18px;opacity:0;pointer-events:none;transition:.2s;z-index:30;max-width:90vw}#toast.visible{opacity:1;transform:translate(-50%,0)}[hidden]{display:none!important}@media(min-width:1600px){main{padding:32px 45px 0}.map-wrap{height:430px}}@media(max-width:1150px){.app-shell{grid-template-columns:185px 1fr}main{padding:24px 20px 0}.session-rail{padding:24px 10px}.summary-strip>div{padding:0 15px}.summary-strip strong{font-size:21px}.summary-strip .weather-summary{gap:7px}.product-name{display:none}.global-nav nav{margin-left:0}.header-actions{max-width:250px}.workspace-heading{align-items:flex-start}.summary-strip{grid-template-columns:repeat(4,1fr)}.summary-strip .weather-summary{display:none}}@media(max-width:850px){.app-shell{grid-template-columns:1fr}.session-rail{display:none}.global-nav{height:62px;padding:0 18px;gap:14px}.global-nav nav{margin-left:auto;gap:12px}.demo-badge{display:none}.workspace-heading{gap:16px}h1{font-size:25px}.header-actions{max-width:100%;gap:5px}.header-actions .button{font-size:12px;padding:8px}.header-actions .icon{width:16px;height:16px}.map-wrap{height:360px}.summary-strip{margin-bottom:16px}.telemetry-actions{gap:6px}.linked-label{display:none}.workspace-footer>span:first-child{display:none}.map-video-row{flex-direction:column}}@media(max-width:560px){main{padding:19px 12px 0}.global-nav .brand{font-size:14px;letter-spacing:2px}.brand svg{width:30px}.global-nav nav button{font-size:12px}.nav-divider{display:none}.workspace-heading{flex-direction:column;margin-bottom:18px}.header-actions{width:100%;justify-content:flex-start}.header-actions .button{flex:1;white-space:nowrap}.header-actions .icon-only{flex:none}.summary-strip{grid-template-columns:repeat(2,1fr);row-gap:20px;padding:17px 0}.summary-strip>div:nth-child(2){border:0}.section-toolbar{padding:12px;gap:5px}.section-label{gap:6px}.map-view-switch button{padding:6px;font-size:11px}.section-toolbar .quiet-separator,.section-toolbar #map-lap-caption{display:none}.map-telemetry{left:13px;top:67px}.map-telemetry strong{font-size:17px}.map-top{left:12px}.map-controls{right:10px}.map-bottom{left:12px;font-size:9px}.map-bottom #map-instruction{max-width:110px}.telemetry-header{flex-wrap:wrap;row-gap:10px}.telemetry-actions{width:100%;justify-content:space-between}.telemetry-header>.section-label{padding-left:2px}.playback-bar{gap:10px;padding:10px 12px}.chart-card{padding:13px 10px 5px}.workspace-footer{font-size:9px}.play-duration{display:none}.telemetry-chart{height:130px}.map-wrap{height:330px}}
main{margin:0 auto}.map-top .lap-chip{cursor:pointer}.lap-chip .icon{width:11px;height:11px;color:#7f93a3}.comparison-close{color:#9babb8;padding:0 6px;font-size:20px}.chart-dot{width:7px;height:7px;border-radius:50%;background:var(--blue)}.chart-dot.purple{background:#9670d6}.metric-select{border:0;background:white;max-width:220px;font-size:14px;font-weight:550;color:#314452;padding-right:10px;outline-offset:4px}.chart-unit{color:#9aa5ad;font-size:12px}.metric-help{color:#94a2ad;border:1px solid #b3bdc5;width:13px;height:13px;display:grid;place-items:center;border-radius:50%;font-size:9px;cursor:help}.chart-readouts{display:flex;gap:18px;margin-left:auto;font-size:13px;font-variant-numeric:tabular-nums;font-weight:550}.red-text{color:#e86c67}.chart-axis{fill:#95a3ad;font:10px Inter,-apple-system,BlinkMacSystemFont,sans-serif}.close-chart{font-size:22px;color:#95a0a9;width:26px;height:26px;border-radius:5px}.sector-summary{margin-top:19px}.sector-heading{display:flex;align-items:center;gap:14px;margin-bottom:12px}.sector-heading h2{font-size:14px;margin:0;font-weight:600}.sector-heading>span{font-size:12px;color:#8e9ba5}.sector-heading button{margin-left:auto;font-size:12px;color:#7e909e}.sector-heading .icon{width:14px;height:14px}.sector-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.sector-cell{background:#fff;border:1px solid var(--line);border-radius:8px;padding:15px 18px;align-items:flex-start;flex-direction:column;gap:7px}.sector-cell>span{font-size:10px;letter-spacing:1px;color:#8a9aa6}.sector-cell strong{font-weight:550;font-size:19px;letter-spacing:-.3px;font-variant-numeric:tabular-nums}.sector-cell small{color:#9cabb5;font-size:11px}.sector-cell .time-loss{color:#dc7977}.sector-cell .time-gain{color:#339578}.partial-laps{display:flex;gap:9px;margin:18px 7px}.partial-laps button{color:#8696a3;font-size:12px;padding:5px;border-radius:4px}.partial-laps button.active{background:#edf4fe;color:var(--blue)}.mobile-lap-picker{display:none}.video-panel{width:360px;flex-shrink:0;background:#fafcfd;border-left:1px solid var(--line);display:flex;flex-direction:column;min-height:365px}.video-heading{display:flex;align-items:center;justify-content:space-between;padding:13px 16px 6px}.video-heading h3{font-size:14px;margin:0;font-weight:600}.video-heading button{font-size:21px;color:#9aa7b0}.video-session{display:flex;align-items:center;gap:8px;padding:0 16px 13px;font-size:12px;color:#85939e}.video-session select{background:transparent;border:0;color:#496171;font-size:12px;max-width:240px}.video-empty{flex:1;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:20px}.video-empty-icon{font-size:40px;color:#a4b5c1;background:#edf2f6;border-radius:50%;width:65px;height:65px;display:grid;place-items:center}.video-empty h4{font-size:15px;font-weight:550;margin:18px 0 6px}.video-empty p{font-size:13px;color:#8699a6;max-width:245px;line-height:1.65;margin:0 0 16px}.video-empty>span{font-size:11px;color:#a0adb7;margin-top:10px}.video-privacy{font-size:11px;line-height:1.6;text-align:center;color:#9aabb7;padding:0 20px 20px}.video-frame{height:185px;background:#10171d;position:relative;display:flex;align-items:center}.video-frame video{width:100%;height:100%;object-fit:contain}.video-status{position:absolute;left:12px;right:12px;bottom:10px;text-align:center;font-size:11px;color:#fff;background:#101923b0;border-radius:4px}.video-status:empty{display:none}.video-filename{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;color:#8a9eac;padding:10px 16px}.video-sync{padding:2px 16px 10px}.sync-label{display:flex;justify-content:space-between;margin-bottom:8px}.sync-label b{font-size:12px;font-weight:550}.sync-label span{font-size:11px;color:#9aaab5}.offset-controls{display:flex;align-items:center;gap:5px}.offset-controls>button:not(.button){border:1px solid #dce5eb;background:white;width:28px;height:30px;border-radius:5px;font-size:17px;color:#768b9b}.offset-controls input{width:76px;border:1px solid #dce5eb;height:30px;border-radius:5px;font-size:12px;text-align:center;font-variant-numeric:tabular-nums}.offset-controls .button{margin-left:auto;font-size:11px;padding:6px 8px;min-height:30px}.video-sync p{font-size:11px;line-height:1.55;color:#90a1ae;margin:8px 0 0}.video-footer{border-top:1px solid #e3e9ee;margin-top:auto;padding:10px 16px;display:flex;align-items:center;gap:10px;font-size:10px;color:#93a3af}.video-footer button{font-size:11px;padding:0;color:#6e879b}.video-footer span{margin-left:auto}#frame-align{padding-top:10px}#frame-align label{font-size:11px;color:#6b8292}#frame-align input{width:100%;margin:14px 0 8px}#frame-time{font-size:11px;color:#6c8494}.map-wrap.expanded{position:fixed;inset:20px;height:auto!important;z-index:20;border:6px solid #293941;border-radius:14px;box-shadow:0 0 0 30px #051019bb}.modal-heading{display:flex;align-items:flex-start;justify-content:space-between;padding:25px 27px 10px}.modal-heading h2{font-size:24px;letter-spacing:-.6px;font-weight:600;margin:7px 0}.modal-close{font-size:25px;color:#8ca0ad;border-radius:5px;width:30px;height:30px}.modal-body{padding:0 27px 25px}.modal-intro{font-size:14px;line-height:1.65;color:#81909b;margin:5px 0 22px}.modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:23px}.modal-actions .button{font-size:14px}.field{margin-bottom:17px}.field label{display:block;font-size:13px;font-weight:550;margin:0 0 7px;color:#4f626e}.field select,.field input{width:100%;padding:10px 11px;background:white;border:1px solid #dce4e9;border-radius:6px;color:#425663;min-height:42px;font-size:14px}.field-note{color:#90a0ab;font-size:12px;line-height:1.65;margin:10px 0}.reference-preview{display:flex;align-items:center;padding:15px;background:#edf4fd;border:1px solid #dce9fb;border-radius:8px;margin-bottom:21px;gap:13px}.color-dot{width:8px;height:8px;background:var(--blue);border-radius:50%}.reference-preview b{font-size:14px;font-weight:550}.reference-preview small{display:block;font-size:12px;color:#8a9eae;margin-top:5px}.reference-preview strong{font-size:22px;font-weight:550;margin-left:auto;font-variant-numeric:tabular-nums;color:#4589e7}.filter-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:7px}.filter-row select{width:100%;border:1px solid #dfe6ea;padding:9px;border-radius:5px;background:white;font-size:12px;color:#647987}.session-result{width:100%;justify-content:flex-start;padding:19px 0;border-bottom:1px solid #e9edf0;text-align:left;gap:13px}.session-track-icon{background:#f0f4f7;border-radius:8px;width:40px;height:44px;display:grid;place-items:center;color:#859bad}.session-result b{font-size:14px;font-weight:550}.session-result small{display:block;font-size:11px;color:#8ca0ac;margin-top:5px}.session-result-time{margin-left:auto;text-align:right}.session-result-time b{font-size:17px;letter-spacing:-.5px;font-variant-numeric:tabular-nums}.library-foot{display:flex;justify-content:space-between;margin-top:24px;font-size:11px;color:#8ea0ad}.library-foot button{font-size:11px;padding:0;color:#6d8799}.empty-results{padding:25px 0;text-align:center;font-size:14px;color:#8b9fab}.lap-choice-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.lap-choice{border:1px solid #e1e8ec;border-radius:8px;display:flex;justify-content:space-between;padding:16px;font-size:14px}.lap-choice.chosen{background:#edf4fd;border-color:#bed7fa;color:#4589e7}.lap-choice b{font-weight:550;font-variant-numeric:tabular-nums}.detail-grid{display:flex;gap:25px}.detail-column{flex:1}.detail-column h3{font-size:15px;color:#4689e9;display:flex;justify-content:space-between}.detail-column:nth-child(2) h3{color:#e7756c}.detail-column h3 span{font-size:14px}.detail-column dl{display:grid;grid-template-columns:1fr auto;gap:14px;font-size:13px}.detail-column dt{color:#8a9da9}.detail-column dd{margin:0;font-variant-numeric:tabular-nums;color:#4d6575}.export-form{display:grid;grid-template-columns:repeat(2,1fr);gap:0 15px}.export-checks{display:flex;flex-direction:column;gap:13px;font-size:13px;color:#6c8494}.export-checks label{display:flex;align-items:center;gap:8px}.export-checks input{accent-color:var(--blue)}.privacy-note{padding:17px;background:#f1f5f8;border-radius:9px;margin:18px 0}.privacy-note b{font-size:14px;font-weight:550}.privacy-note p{font-size:13px;line-height:1.65;color:#7f94a2;margin:7px 0 0}.session-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:15px 0 25px}.session-info-grid span{display:block;color:#8c9daa;font-size:12px;margin-bottom:6px}.session-info-grid b{font-size:16px;font-weight:550}.action-list{display:flex;flex-direction:column;gap:1px}.action-list button{justify-content:flex-start;padding:13px 0;font-size:14px;border-top:1px solid #e9eef1}.action-list .danger-action{color:#d56c6b;font-size:13px}.guide-steps>div{display:flex;gap:18px;margin:20px 0}.guide-steps>div>span{font-size:12px;color:#c0cbd3;font-weight:550;margin-top:4px}.guide-steps h3{font-size:16px;font-weight:550;margin:0 0 7px}.guide-steps p{font-size:14px;line-height:1.7;color:#8195a3;margin:0}.shortcut-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px 35px;background:#f7f9fb;padding:18px;border:1px solid #e9eef2;border-radius:9px;font-size:12px;color:#78909f}.shortcut-grid span{display:flex;justify-content:space-between}.map-attribution{position:absolute;bottom:33px;left:20px;color:#839ba9;font-size:9px;z-index:2}.map-attribution a{text-decoration:underline}.map-tile{filter:saturate(.45) brightness(.58)}.layer-street #track-road{stroke:#13242bc0;stroke-width:10}.map-top .lap-chips{flex-wrap:wrap}.video-panel~.map-controls{display:none}
@media(max-width:1150px){.video-panel{width:315px}.video-frame{height:170px}.chart-readouts{font-size:12px;gap:10px}}@media(max-width:850px){.video-panel{width:100%;border-left:0;border-top:1px solid var(--line);min-height:0}.video-frame{height:240px}.video-empty{padding:30px}.video-empty-icon{width:50px;height:50px;font-size:34px}.video-empty h4{margin-top:13px}.sector-grid{gap:7px}.sector-cell{padding:13px}.video-filename,.video-sync,.video-footer{font-size:12px}.video-sync{max-width:500px;width:100%}.modal-intro,.guide-steps p{font-size:14px}}@media(max-width:560px){.chart-readouts{font-size:11px;gap:8px}.metric-select{font-size:12px;max-width:155px}.chart-unit{font-size:10px}.metric-help{display:none}.chart-head{gap:5px}.chart-dot{width:5px;height:5px}.sector-heading>span{display:none}.sector-grid{grid-template-columns:repeat(2,1fr)}.sector-cell strong{font-size:18px}.lap-chip{padding:7px;font-size:10px}.lap-chip b{margin-left:3px}.map-top{right:10px}.map-telemetry{top:100px}.map-telemetry>div{margin-bottom:17px}.filter-row{grid-template-columns:1fr}.modal-heading{padding:21px 19px 8px}.modal-body{padding:0 19px 20px}.modal-heading h2{font-size:23px}.export-form{grid-template-columns:1fr}.detail-grid{flex-direction:column;gap:5px}.library-foot{gap:14px;flex-direction:column}.shortcut-grid{gap:12px}.chart-axis{font-size:11px}.map-attribution{left:12px;font-size:8px}.section-label h2{font-size:14px}}
.metric-label,.rail-label,.section-label,.map-view-switch button,.chart-head small,.playback-bar,.sector-heading>span,.telemetry-actions select{font-size:12px}.map-telemetry span,.map-bottom,.map-attribution,.map-controls #bearing-label{font-size:10px}.header-actions{max-width:none}.header-actions .button{font-size:13px}.workspace-heading{gap:20px}.map-wrap{height:380px}.map-telemetry strong{font-size:23px}.telemetry-chart{height:150px}.chart-head{margin-bottom:4px}.chart-axis{font-size:11px}.chart-unit{font-size:12px}.map-top{z-index:3}.map-attribution{font-size:9px}.map-bottom label{font-size:11px}@media(max-width:1200px){.header-actions{max-width:275px}.workspace-heading{align-items:center}}@media(max-width:560px){.header-actions{max-width:none;flex-wrap:wrap}.header-actions .button{font-size:12px;flex:1 1 42%}.workspace-heading{align-items:flex-start}.chart-readouts{flex-wrap:wrap;gap:3px;text-align:right;justify-content:flex-end;max-width:118px}.map-wrap{height:355px}.map-telemetry strong{font-size:18px}.metric-select{max-width:148px}.map-attribution{max-width:260px;font-size:8px;bottom:36px}.chart-unit{display:none}}
.layer-street .map-telemetry{background:#101c24db;padding:12px;border-radius:7px;top:73px;left:18px}.layer-street .map-telemetry>div:last-child{margin-bottom:0}.layer-street .map-attribution,.layer-street .map-bottom{background:#101c24db;color:#c4d2dc;border-radius:4px;padding:3px 6px}.layer-street .map-telemetry span{color:#9bafbd}.layer-street .map-attribution a{color:#c9d9e5}@media(max-width:560px){.layer-street .map-telemetry{top:100px;left:10px;padding:9px}.layer-street .map-attribution{bottom:42px}}
@media(max-width:850px){.map-video-row>.map-wrap{flex:none;width:100%}}@media(max-width:560px){.map-telemetry{top:108px;left:13px}.map-telemetry span{font-size:10px}.map-telemetry strong{font-size:16px}.map-telemetry strong small{font-size:9px}.map-telemetry>div{margin-bottom:15px}.map-controls{top:66px}.map-bottom{bottom:12px}.map-attribution{bottom:42px}.map-telemetry{background:#151d239c;padding:6px;border-radius:5px}}
.app-shell{grid-template-columns:184px minmax(0,1fr)}
.session-rail{padding:26px 11px}.lap-row{gap:8px;padding:12px 8px}.lap-number{width:23px;height:25px}.lap-main strong{font-size:13px}.lap-row .lap-delta{font-size:10px}.rail-track{padding:0 7px}.partial-laps{gap:8px;margin:15px 4px}.theoretical-lap{border:1px dashed #d7c8ee;margin-top:14px;background:#faf7ff}.theoretical-lap .lap-number{color:#8965b7;border-color:#dcc9f5}.theoretical-lap .lap-main span{font-size:8px;letter-spacing:.5px;color:#8965b7}.theoretical-lap.selected{background:#f0e8ff;border-color:#b999e2}.theoretical-lap.selected .lap-number{border-color:#b999e2;color:#8965b7}
.compare-summary{display:flex;flex-direction:column;text-align:left;gap:4px}.compare-summary small{font-size:8px;letter-spacing:.8px;font-weight:550;opacity:.8}.compare-summary b{font-size:12px;font-weight:550}
.map-wrap{background:#e9eef1;height:400px}.map-tile{filter:saturate(.4) brightness(1.03)}.track-edge{fill:none;stroke:#b4c0c8;stroke-width:6;stroke-linecap:round;stroke-linejoin:round}#track-road,.layer-street #track-road{stroke:#d3dce2;stroke-width:4.8;fill:none;stroke-linecap:round;stroke-linejoin:round}#track-line-a,#track-line-b{stroke-width:1.2;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round;fill:none}#track-line-a{stroke:#237cdd}#track-line-b{stroke:#e95652;stroke-dasharray:5 2.5}.sector-tick{stroke:#586f80;stroke-width:1.1;vector-effect:non-scaling-stroke}.sector-tick.start-finish{stroke:#1e303c;stroke-width:1.6}.sector-leader{fill:none;stroke:#879cac;stroke-width:.6;stroke-dasharray:2 3;vector-effect:non-scaling-stroke;opacity:.65}.map-sector-label rect{fill:#f7fafce8;stroke:#c4d1da;stroke-width:.7}.map-sector-label text{font:9px Inter,-apple-system,BlinkMacSystemFont,sans-serif;fill:#526b7d;letter-spacing:.5px;font-weight:650}.driving-event{stroke:white;stroke-width:.85}.event-brake{fill:#e44e50}.event-turn{fill:#d79714}.event-accel{fill:#259b73}.map-telemetry,.layer-street .map-telemetry{background:#1b2b36ed;padding:11px 13px;border-radius:7px;top:77px;left:18px;box-shadow:0 2px 5px #10212b15}.map-telemetry>div{margin-bottom:15px}.map-telemetry>div:last-child{margin-bottom:0}.map-telemetry span{color:#a8b9c5}.map-telemetry strong{font-size:21px}.map-telemetry strong small{color:#a2b5c4}.map-bottom,.layer-street .map-bottom{background:transparent;padding:0;color:#566c7b}.map-option-toggles{display:flex;gap:12px;background:#1b2b36ed;color:#c6d3db;padding:6px 9px;border-radius:5px}.map-bottom input{accent-color:#80b5fa}.map-attribution,.layer-street .map-attribution{color:#6a7d8a;background:#f2f5f8db;border-radius:3px;padding:3px 5px;bottom:42px}.map-attribution a,.layer-street .map-attribution a{color:#566e7e}.event-legend{position:absolute;left:50%;top:61px;transform:translateX(-50%);display:flex;gap:14px;align-items:center;background:#f6f9fbeb;border:1px solid #d5dfe6;border-radius:5px;padding:6px 9px;color:#678093;font-size:9px;pointer-events:none;white-space:nowrap}.event-legend span{display:flex;align-items:center;gap:5px}.event-legend i{display:inline-block;width:6px;height:6px}.event-legend .legend-brake{background:#e44e50;border-radius:1px}.event-legend .legend-turn{background:#d79714;transform:rotate(45deg)}.event-legend .legend-accel{width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:7px solid #259b73}
.comparison-axis{display:flex;align-items:center;gap:9px}.comparison-axis>span{font-size:12px;color:#8193a0}.graph-zoom-toolbar{display:flex;align-items:center;gap:9px;min-height:36px;margin:0 1px 10px;color:#8294a1;font-size:11px}.graph-zoom-toolbar>span:first-child{margin-right:4px}.graph-zoom-toolbar button{border:1px solid #dce4e9;background:#fff;border-radius:5px;height:27px;padding:0 9px;font-size:11px;color:#627c8e}.graph-zoom-toolbar button#graph-zoom-in,.graph-zoom-toolbar button#graph-zoom-out{font-size:17px;padding:0;width:27px}.graph-zoom-toolbar #graph-zoom-label{font-variant-numeric:tabular-nums;min-width:29px;text-align:center}.graph-zoom-toolbar input{max-width:170px;min-width:55px;flex:1;margin-left:auto}.graph-zoom-toolbar small{font-size:10px;white-space:nowrap}button:disabled{opacity:.42;cursor:default}.graph-zoom-toolbar input:disabled{opacity:.3}.telemetry-chart{height:185px}.add-graph-row{display:flex;align-items:center;justify-content:center;gap:13px;margin:13px 0 5px}.add-graph-row .button{border-style:dashed;background:transparent;color:#748b9c;padding:8px 16px}.add-graph-row>span{font-size:10px;color:#98a6b1}.sector-heading{gap:12px;flex-wrap:wrap}.sector-heading>button{margin-left:0}.sector-heading>button:last-child{margin-left:4px}.best-sectors-toggle{display:flex;gap:6px;align-items:center;color:#7c909e;font-size:11px;margin-left:auto}.best-sectors-toggle input{accent-color:#9871c4}.sector-cell{padding:13px 15px;gap:8px;transition:border-color .15s,background .15s;text-align:left}.sector-cell.active{background:#edf4ff;border-color:#73a8ee;box-shadow:inset 0 0 0 1px #b7d5fa}.sector-card-heading{display:flex;align-items:center;justify-content:space-between;width:100%}.sector-active-label{font-size:8px;letter-spacing:.4px;color:#3f82d7}.sector-time-row{display:flex;align-items:center;justify-content:space-between;width:100%;gap:8px}.sector-time-row>span{font-size:10px;white-space:nowrap}.sector-time-row strong{font-size:19px}.absolute-sector{border-top:1px solid #e0e6ee;width:100%;padding-top:9px;margin-top:2px;display:flex;flex-direction:column;gap:5px}.absolute-sector>span{font-size:8px;color:#9980b8;letter-spacing:.8px}.absolute-sector b{font-size:12px;color:#825dae;display:flex;justify-content:space-between;align-items:center;font-weight:550;font-variant-numeric:tabular-nums}.absolute-sector b small{font-weight:400;color:#927fa6;font-size:10px}.theoretical-note{font-size:12px;color:#9078aa;margin:0 0 12px}
.video-panel{width:100%;min-height:0;border-left:0;border-top:1px solid var(--line);background:#f8fafc;padding:15px 18px 18px}.video-section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.video-section-heading h3{margin:0 0 4px;font-size:13px;font-weight:600}.video-section-heading span{font-size:10px;color:#92a1ae}.video-section-heading button{font-size:23px;color:#91a3b1}.video-cards{display:grid;grid-template-columns:1fr;gap:14px}.two-videos .video-cards{grid-template-columns:1fr 1fr}.lap-video-card{border:1px solid #dfe7ec;border-radius:9px;overflow:hidden;background:#fff;display:flex;flex-direction:column;min-width:0}.video-card-heading{display:flex;align-items:center;gap:9px;padding:12px 14px}.video-letter{display:grid;place-items:center;border-radius:5px;width:25px;height:25px;font-size:12px;color:#337fdc;background:#edf4fd}.video-letter.b{color:#d95c58;background:#fff0ef}.video-card-heading b{font-size:12px;font-weight:600}.video-card-heading small{display:block;color:#94a2ad;font-size:10px;margin-top:3px}.clip-local{margin-left:auto;color:#a3afb8;font-size:9px}.video-frame{height:250px;width:100%}.video-empty{min-height:236px;padding:19px}.video-empty-icon{width:43px;height:43px;font-size:30px}.video-empty h4{font-size:13px;margin-top:12px}.video-empty p{font-size:12px;margin-bottom:13px}.video-empty .button{min-height:35px;font-size:12px}.video-empty>span{font-size:10px}.video-sync{max-width:none}.frame-align{padding-top:12px}.frame-align label,.frame-time{font-size:10px;color:#879aaa}.frame-align input{width:100%;margin:14px 0 9px}.video-composite{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;min-height:236px;color:#947aaf}.video-composite b{font-size:14px}.video-composite p{max-width:300px;text-align:center;font-size:12px;line-height:1.7;color:#96a4ae}
@media(min-width:1600px){.map-wrap{height:430px}.telemetry-chart{height:210px}}
@media(max-width:1150px){.app-shell{grid-template-columns:169px minmax(0,1fr)}.session-rail{padding:24px 8px}.lap-row{padding:12px 6px;gap:6px}.lap-row .lap-delta{font-size:9px}.sector-cell{padding:12px 11px}.sector-time-row strong{font-size:17px}.sector-time-row>span{font-size:9px}.video-frame{height:215px}.header-actions{max-width:300px}}
@media(max-width:850px){.app-shell{grid-template-columns:1fr}.header-actions{max-width:none}.session-rail{display:none}.telemetry-chart{height:180px}.map-wrap{height:380px}.graph-zoom-toolbar{gap:7px}.graph-zoom-toolbar small{display:none}.sector-heading>span{display:none}}
@media(max-width:560px){.map-wrap{height:380px}.event-legend{top:90px;gap:10px;font-size:8px;left:48%}.map-telemetry,.layer-street .map-telemetry{left:10px;top:126px;padding:8px 9px}.map-telemetry strong{font-size:16px}.map-telemetry span{font-size:9px}.map-telemetry>div{margin-bottom:12px}.map-bottom{left:10px;right:10px;bottom:10px;justify-content:center}.map-bottom #map-instruction{display:none}.map-option-toggles{gap:10px;width:100%;justify-content:center}.map-bottom label{font-size:10px}.map-attribution,.layer-street .map-attribution{left:10px;bottom:46px;max-width:290px;font-size:8px}.two-videos .video-cards{grid-template-columns:1fr}.video-panel{padding:13px 11px}.video-frame{height:205px}.graph-zoom-toolbar{flex-wrap:wrap;gap:6px}.graph-zoom-toolbar>span:first-child{display:none}.graph-zoom-toolbar input{max-width:80px}.telemetry-chart{height:160px}.comparison-axis{gap:8px}.comparison-axis>span{font-size:11px}.sector-heading{gap:10px}.best-sectors-toggle{margin-left:auto;font-size:10px}.sector-heading>button{font-size:10px}.sector-heading>button:last-child{margin-left:auto}.sector-time-row strong{font-size:18px}.sector-time-row>span{font-size:9px}.sector-cell{padding:13px 12px}.sector-card-heading{font-size:9px!important}.sector-active-label{font-size:7px}.header-actions .compare-summary small{font-size:7px}.header-actions .compare-summary b{font-size:11px}.event-legend+.map-telemetry{pointer-events:none}}

.sector-chart-label{font:10px Inter,-apple-system,BlinkMacSystemFont,sans-serif;fill:#899eae;letter-spacing:1px}.sector-chart-label.selected{fill:#4285db;font-weight:700}

.event-legend{left:20px;top:auto;bottom:66px;transform:none}@media(max-width:560px){.event-legend{left:10px;top:auto;bottom:68px}}

@media(max-width:560px){.event-legend{top:52px;bottom:auto}}
/* Refined circuit lines and custom-sector controls. */
.track-edge{stroke:#bbcbd6;stroke-width:9;filter:drop-shadow(0 1px 1px #58708022)}#track-road,.layer-street #track-road{stroke:#e1e9ef;stroke-width:7}.line-halo{stroke:#fff;stroke-width:4;stroke-opacity:.72;fill:none;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}#track-line-a{stroke:#3988e9;stroke-width:2.35}#track-line-b{stroke:#ec6860;stroke-width:2.15;stroke-dasharray:none}.is-comparing #track-line-a{stroke-width:2.05}.is-comparing .line-halo{stroke-width:3.4;stroke-opacity:.55}.sector-leader{opacity:.38}.sector-tick{stroke-width:1.2}.map-wrap{background:#eaf0f4}.driving-event{stroke-width:1}.map-sector-label rect{fill:#ffffffed;stroke:#d4dfe6}.map-sector-label text{fill:#6b8293}
.graph-zoom-toolbar button.create-sector{height:31px;margin-left:7px;padding:0 12px;border-color:#b8d9d8;background:#f3fbfa;color:#288d88;font-size:12px;font-weight:550;white-space:nowrap}.graph-zoom-toolbar button.create-sector:hover{background:#e2f3f0}.marking-sector .telemetry-chart{cursor:crosshair}.marking-sector .chart-card{border-color:#acd5d1}.marking-sector [data-tooltip]{pointer-events:none}
#custom-sector-editor{background:#f3faf9;border:1px solid #bcded9;border-radius:11px;margin:0 0 12px;padding:16px 18px}.custom-editor-heading{display:flex;align-items:center;gap:11px}.custom-sector-symbol{background:#dff1ed;color:#208b82;border:1px solid #c4e4df;width:33px;height:33px;display:grid;place-items:center;border-radius:7px;font-size:20px}.custom-editor-heading strong{font-size:14px;font-weight:600;color:#32695f}.custom-editor-heading p{margin:4px 0 0;color:#7a9690;font-size:12px}.custom-editor-heading>button{margin-left:auto;color:#89a49d;font-size:24px}.custom-editor-controls{display:flex;align-items:flex-end;gap:12px;margin-top:16px}.custom-name{font-size:11px;color:#739189;display:flex;flex-direction:column;gap:6px;max-width:240px;flex:1}.custom-name input{width:100%;border:1px solid #cde1dc;border-radius:6px;background:white;color:#3b625a;padding:10px 11px;font-size:13px;height:40px}.sector-mark-button{display:flex;justify-content:flex-start;gap:9px;border:1px solid #d6e5e1;border-radius:7px;padding:9px 13px;background:#fff;min-width:125px;min-height:54px}.sector-mark-button>span:last-child{display:flex;flex-direction:column;gap:5px;text-align:left;color:#819a93;font-size:11px}.sector-mark-button b{font-size:13px;color:#427369;font-weight:550;font-variant-numeric:tabular-nums}.sector-mark-button.active{border-color:#50a99b;background:#e9f6f2;box-shadow:0 0 0 2px #b8e0d749}.mark-dot{height:18px;width:2px;background:#29998a;position:relative}.mark-dot:before{content:'';width:6px;height:6px;position:absolute;top:-2px;left:-2px;border-radius:50%;background:#29998a}.mark-dot.finish:before{border-radius:0}.draft-sector-time{margin-left:auto;padding-bottom:5px;display:flex;flex-direction:column;gap:5px;white-space:nowrap;font-size:12px;color:#468ba2;font-variant-numeric:tabular-nums}.draft-sector-time>span:only-child{color:#71948a;line-height:1.5}#save-custom-sector{background:#288f81;color:white;border-color:#288f81;height:40px;margin-bottom:5px;font-size:12px}.custom-editor-hint{font-size:11px;color:#8aa49d;margin:13px 0 0;line-height:1.6}.custom-sector-summary{margin-top:22px}.custom-summary-heading{display:flex;gap:14px;align-items:center;margin-bottom:12px}.custom-summary-heading h2{font-size:14px;font-weight:600;margin:0;color:#46796e}.custom-summary-heading>span{font-size:11px;color:#95a99f}.custom-sector-grid{grid-template-columns:repeat(auto-fill,minmax(225px,1fr))}.custom-sector-card{border:1px solid #dbe7e1;border-radius:9px;background:#fff;overflow:hidden}.custom-sector-card.active{border-color:#64b5a9;box-shadow:0 0 0 1px #c8e5df;background:#f0faf7}.custom-sector-card .sector-cell{border:0;border-radius:0;background:transparent;width:100%;min-height:130px}.custom-sector-card .sector-card-heading{font-size:12px;letter-spacing:0;color:#478477;font-weight:550;gap:10px}.custom-sector-card .sector-active-label{color:#52a092;font-size:8px}.custom-range{font-size:10px!important;letter-spacing:0!important;color:#9aaaa5!important}.custom-sector-actions{display:flex;gap:16px;justify-content:flex-end;border-top:1px solid #e7efea;padding:8px 12px}.custom-sector-actions button{font-size:11px;color:#87a097;padding:2px 4px}.custom-sector-actions button:hover{color:#2d8775;background:#eef7f2}.custom-sector-card .absolute-sector{margin-top:3px}.custom-sector-card .sector-cell:hover{background:#eff9f680}
@media(max-width:1050px){.custom-editor-controls{flex-wrap:wrap}.custom-name{max-width:none;min-width:160px}.draft-sector-time{margin-left:0}.graph-zoom-toolbar input{max-width:90px}}
@media(max-width:560px){.graph-zoom-toolbar button.create-sector{margin-left:auto;font-size:11px;padding:0 9px}.graph-zoom-toolbar input{max-width:55px}.custom-editor-controls{gap:9px}.custom-name{flex:1 1 100%}.sector-mark-button{flex:1;min-width:110px}.draft-sector-time{flex:1;padding-top:5px}#custom-sector-editor{padding:13px 12px}.custom-editor-heading p{font-size:11px;line-height:1.5}.custom-editor-hint{font-size:10px}.custom-summary-heading{flex-wrap:wrap;gap:7px}.custom-sector-grid{grid-template-columns:1fr 1fr;gap:8px}.custom-sector-card .sector-cell{padding:12px 10px}.custom-sector-card .sector-card-heading{font-size:11px;flex-wrap:wrap;gap:4px}.custom-sector-card .sector-time-row strong{font-size:16px}.custom-summary-heading>span{font-size:10px}}
/* Stable playback targets and compact live lap values. */
#play-btn>*,.video-overlay-button>*,.video-settings summary svg{pointer-events:none}.play-button{min-width:34px;width:34px;height:34px;flex-shrink:0}.play-button [data-play-icon],.play-button [data-pause-icon],.video-play-button span{display:flex;align-items:center;justify-content:center}
.map-telemetry,.layer-street .map-telemetry{min-width:109px;padding:12px 14px}.map-telemetry.comparison-values{width:188px}.map-telemetry>div{margin-bottom:13px}.map-data-head{display:grid;grid-template-columns:1fr 1fr;gap:14px;border-bottom:1px solid #ffffff1a;padding-bottom:9px;margin-bottom:12px!important}.map-telemetry .map-data-head span{font-size:10px;white-space:nowrap;font-weight:550}.map-data-row{display:grid;grid-template-columns:1fr;gap:2px 14px}.comparison-values .map-data-row{grid-template-columns:1fr 1fr}.map-telemetry .map-data-label{grid-column:1/-1;display:flex;justify-content:space-between;gap:8px;font-size:10px;margin-bottom:3px;color:#9fb2c0}.map-data-label small{font-size:9px;font-weight:400;color:#8196a6}.map-telemetry .map-data-row strong{font-size:22px;line-height:1.15;margin:0;letter-spacing:-.4px;white-space:nowrap}.map-telemetry .map-a{color:#aed0ff}.map-telemetry .map-b{color:#ffada4}.map-telemetry:not(.comparison-values) .map-a{color:#f0f5f9}.driving-event{stroke-width:1.3;filter:drop-shadow(0 1px 1px #162f4855)}#marker-a,#marker-b{filter:drop-shadow(0 1px 1px #162f4855)}
/* Footage occupies the panel; setup stays inside the Sync dropdown. */
.video-panel{position:relative;padding:0;background:#10161c;border:0;border-top:1px solid #dce4e8}.video-cards{display:grid;gap:2px;grid-template-columns:1fr;min-height:0}.two-videos .video-cards{grid-template-columns:1fr 1fr}.lap-video-card{border:0;border-radius:0;background:#10161c;overflow:visible;min-height:0;position:relative}.video-frame{position:relative;width:100%;height:auto;aspect-ratio:16/9;max-height:66vh;min-height:220px;background:#0b1117;display:flex;align-items:center;justify-content:center;overflow:hidden}.video-frame video{display:block;width:100%;height:100%;object-fit:contain;background:#090e13}.video-slot-badge{position:absolute;z-index:3;top:12px;left:12px;border:1px solid #6999d966;border-radius:5px;background:#162c47df;color:#b6d6ff;display:grid;place-items:center;width:25px;height:25px;font-size:11px;font-weight:650}.video-slot-badge.b{background:#482b2bdc;color:#ffb4ab;border-color:#c87c7566}.video-panel-tools{position:absolute;left:50%;transform:translateX(-50%);top:10px;z-index:8;display:flex;gap:8px}.video-overlay-button{color:#e1eaf3;border:1px solid #ffffff25;background:#152330da;min-width:33px;height:33px;padding:7px;border-radius:6px;gap:7px;font-size:11px;white-space:nowrap;backdrop-filter:blur(8px)}.video-overlay-button:hover{background:#30475bec;border-color:#ffffff55}.video-overlay-button .icon{width:16px;height:16px}.video-overlay-controls{position:absolute;z-index:4;left:12px;right:12px;bottom:10px;display:flex;align-items:center;gap:10px;color:white}.video-overlay-controls:before{content:'';position:absolute;inset:-26px -12px -10px;z-index:-1;background:linear-gradient(transparent,#080f18ad);pointer-events:none}.video-elapsed{color:#e4ebf2;font-size:12px;font-variant-numeric:tabular-nums;text-shadow:0 1px 3px #000}.video-linked{margin-left:auto;display:flex;align-items:center;gap:5px;font-size:10px;color:#a8bac9}.video-linked .icon{width:13px;height:13px}.video-play-button{width:36px;height:33px}.video-play-button .icon{width:15px;height:15px}.video-status{bottom:54px;left:50%;right:auto;transform:translateX(-50%);padding:5px 9px;white-space:nowrap;max-width:90%;font-size:11px;z-index:3}.video-settings{position:absolute;right:12px;top:12px;z-index:9;color:#475e6d}.video-settings summary{display:flex;align-items:center;gap:7px;list-style:none;cursor:pointer;background:#152330da;border:1px solid #ffffff25;border-radius:6px;padding:7px 9px;color:#d7e4ef;font-size:11px;backdrop-filter:blur(8px)}.video-settings summary::-webkit-details-marker{display:none}.video-settings summary .icon{width:14px;height:14px}.video-settings summary .icon:last-child{width:11px}.video-settings[open] summary{background:#345166}.video-settings-menu{position:absolute;right:0;top:calc(100% + 7px);width:310px;max-width:calc(100vw - 40px);background:#fcfdfe;border:1px solid #dce5ec;border-radius:9px;box-shadow:0 15px 40px #07152260;overflow:auto;max-height:calc(66vh - 100px)}.video-settings-menu .video-filename{padding:12px 14px 11px;border-bottom:1px solid #e7edf1;margin-bottom:12px;color:#879cae;font-size:11px}.video-settings-menu .video-sync{padding:0 14px 13px;width:100%}.video-settings-menu .video-footer{padding:11px 14px;justify-content:space-between}.video-settings-menu .sync-label b{color:#4d687c;font-size:12px}.video-settings-menu .offset-controls input{width:65px}.video-settings-menu .offset-controls .button{font-size:10px;padding:6px}.video-settings-menu .frame-align label{display:block;line-height:1.5}.video-empty,.video-composite{width:100%;height:100%;min-height:220px;color:#c5d3df;padding:30px 15px}.video-empty-icon{background:#21313e;color:#91a9bc}.video-empty h4{color:#d5e0e9;margin-top:13px}.video-empty p,.video-empty>span,.video-composite p{color:#8199ad}.video-composite b{color:#b7a4d2}
.video-panel.video-expanded,.video-panel:fullscreen{position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;z-index:100;background:#070c11}.video-expanded .video-cards{height:100%;width:100%;grid-template-columns:1fr!important;align-items:stretch}.video-expanded[data-expanded="both"] .video-cards{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:2px}.video-expanded[data-expanded="a"] [data-video-slot="b"],.video-expanded[data-expanded="b"] [data-video-slot="a"]{display:none}.video-expanded .lap-video-card{height:100%;min-height:0}.video-expanded .video-frame{height:100%;max-height:none;min-height:0;aspect-ratio:auto}.video-expanded .video-panel-tools{top:15px}.video-expanded .video-overlay-controls{left:18px;right:18px;bottom:16px}.video-expanded .video-settings-menu{max-height:calc(100vh - 125px)}.video-expanded .video-overlay-controls:before{inset:-50px -18px -16px}.video-expanded .video-slot-badge,.video-expanded .video-settings{top:18px}.video-expanded .video-empty,.video-expanded .video-composite{min-height:0}
@media(max-width:850px){.map-telemetry.comparison-values{width:165px}.map-telemetry .map-data-row strong{font-size:19px}}
@media(max-width:560px){.video-panel{padding:0}.two-videos .video-cards{grid-template-columns:1fr}.video-frame{min-height:210px;max-height:none}.video-settings-menu{width:290px;max-height:155px}.video-panel-tools{top:10px}.video-panel-tools .video-overlay-button{font-size:9px;padding:6px}.video-slot-badge{left:10px;top:10px}.video-settings{right:10px;top:10px}.video-settings summary{padding:6px;gap:4px;font-size:10px}.video-overlay-controls{left:10px;right:10px;bottom:9px}.video-expanded[data-expanded="both"] .video-settings summary span{display:none}.video-expanded[data-expanded="both"] .video-linked{display:none}.video-expanded[data-expanded="both"] .video-elapsed{font-size:10px}.video-expanded[data-expanded="both"] .video-overlay-controls{left:8px;right:8px;gap:5px}.video-expanded .video-settings-menu{max-width:calc(50vw - 15px);width:290px}.video-expanded .video-settings-menu .offset-controls{flex-wrap:wrap}.video-expanded .video-settings-menu .video-footer{gap:10px}.map-telemetry,.layer-street .map-telemetry{padding:10px;min-width:98px}.map-telemetry.comparison-values{width:128px;padding:9px}.map-data-head,.map-data-row{gap:2px 8px}.map-telemetry .map-data-head span{font-size:8px}.map-telemetry .map-data-row strong{font-size:16px}.map-telemetry .map-data-label{font-size:9px}.map-data-label small{font-size:8px}.map-telemetry>div{margin-bottom:10px}.map-telemetry .map-data-head{padding-bottom:7px;margin-bottom:9px!important}}

/* Keep the shared fullscreen control clear of the individual video controls. */
.two-videos:not([data-expanded="a"]):not([data-expanded="b"]) .video-slot-badge,.two-videos:not([data-expanded="a"]):not([data-expanded="b"]) .video-settings{top:52px}
.video-settings-menu,.video-expanded .video-settings-menu{max-height:var(--video-menu-height,155px);max-width:min(var(--video-menu-width,310px),calc(100vw - 40px))}.offset-controls :disabled{opacity:.45;cursor:default}
/* Theme switch and the shared fullscreen timeline. */
:root{--surface:#fff;--surface-alt:#f2f5f8;--surface-raised:#fff;--secondary:#687e8e;--chart-grid:#e9edef;--chart-mask:#dde2e7;color-scheme:light}
.theme-toggle{margin-left:4px;flex-shrink:0;min-height:36px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);font-size:12px;gap:7px}.theme-toggle .icon{width:16px;height:16px}.theme-toggle:hover{background:var(--surface-alt)}
.fullscreen-transport{display:none;position:absolute;z-index:12;left:50%;transform:translateX(-50%);bottom:20px;width:min(850px,calc(100% - 40px));padding:12px 16px;border:1px solid #ffffff29;border-radius:12px;background:#14212eed;box-shadow:0 6px 30px #0003;color:#e8f1fa;align-items:center;gap:13px;backdrop-filter:blur(12px)}.fullscreen-transport>span{font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}.fullscreen-transport input{flex:1;min-width:40px;accent-color:#69aaff;height:28px}.fullscreen-transport [data-transport-play]>*{pointer-events:none;display:flex}.fullscreen-transport [data-transport-play]{min-width:36px}.map-wrap.expanded>.fullscreen-transport,.video-expanded>.fullscreen-transport{display:flex}.map-wrap.expanded .map-bottom{bottom:93px}.map-wrap.expanded .map-attribution{bottom:127px}.map-wrap.expanded .event-legend{bottom:151px;top:auto}.video-expanded .video-overlay-controls{bottom:100px}.video-expanded .video-status{bottom:145px}
.map-wrap.layer-none{background:var(--surface)}.layer-none .circuit-grid,.layer-none .track-edge,.layer-none #track-road,.layer-none #base-tiles{display:none}.layer-none .line-halo{stroke-opacity:.35}
.driving-event{stroke:#fff;stroke-width:2;filter:drop-shadow(0 1px 1.5px #10263999)}.event-brake{fill:#ef4658}.event-turn{fill:#f7b82e}.event-accel{fill:#13ad7e}#marker-a,#marker-b{filter:drop-shadow(0 1px 2px #0b264bbb)}
.telemetry-chart line[stroke="#e9edef"]{stroke:var(--chart-grid)}.telemetry-chart [data-sector-mask]{fill:var(--chart-mask)}
/* Deep charcoal surfaces keep A/B colors and driving events easy to distinguish. */
html[data-theme="dark"]{color-scheme:dark;--ink:#e1eaf2;--muted:#9eafbf;--line:#34373c;--canvas:#111214;--surface:#191b1e;--surface-alt:#25272b;--surface-raised:#24262b;--secondary:#a1b3c5;--blue:#72aeff;--compare:#ff8d83;--chart-grid:#34373c;--chart-mask:#17191d;--red:#eb5363}
[data-theme="dark"] .global-nav,[data-theme="dark"] .session-rail,[data-theme="dark"] .summary-strip,[data-theme="dark"] .analysis-card,[data-theme="dark"] .chart-card,[data-theme="dark"] .sector-cell,[data-theme="dark"] dialog,[data-theme="dark"] .back-button,[data-theme="dark"] .button,[data-theme="dark"] .metric-select,[data-theme="dark"] .lap-number,[data-theme="dark"] kbd,[data-theme="dark"] .custom-sector-card{background:var(--surface);border-color:var(--line);color:var(--ink)}
[data-theme="dark"] button:hover{background:var(--surface-alt)}[data-theme="dark"] .button.primary,[data-theme="dark"] .button.engaged{background:#cb3f50;border-color:#df5867;color:#fff}[data-theme="dark"] .button.primary:hover,[data-theme="dark"] .button.engaged:hover{background:#df4b5c}[data-theme="dark"] .nav-divider,[data-theme="dark"] .quiet-separator{background:var(--line)}
[data-theme="dark"] .lap-row.selected,[data-theme="dark"] .lap-choice.chosen,[data-theme="dark"] .reference-preview{background:#292d33;border-color:#4a5666;color:#b5d5ff}[data-theme="dark"] .lap-row.selected .lap-number{background:#2c3540;border-color:#4275a9;color:#bfdeff}[data-theme="dark"] .summary-strip .best-pill{background:#2e3540;color:#a1caff}[data-theme="dark"] .theoretical-lap{border-color:#5d5079;background:#241f36}[data-theme="dark"] .theoretical-lap.selected{background:#34294a;border-color:#8a71b6}
[data-theme="dark"] .workspace-heading p,[data-theme="dark"] .rail-track p,[data-theme="dark"] .rail-label,[data-theme="dark"] .breadcrumb,[data-theme="dark"] .metric-label,[data-theme="dark"] .section-label,[data-theme="dark"] .section-label>span,[data-theme="dark"] .eyebrow,[data-theme="dark"] .lap-main span,[data-theme="dark"] .lap-delta,[data-theme="dark"] .rail-foot,[data-theme="dark"] .workspace-footer,[data-theme="dark"] .global-nav nav button,[data-theme="dark"] .demo-badge{color:#96aabd}
[data-theme="dark"] .section-label h2,[data-theme="dark"] .global-nav nav button.nav-current,[data-theme="dark"] .sector-heading h2,[data-theme="dark"] .sector-time-row strong,[data-theme="dark"] .summary-strip strong,[data-theme="dark"] .chart-head h3{color:#e0eaf4}[data-theme="dark"] .track-country{border-color:var(--line);color:#94a9bc}[data-theme="dark"] .summary-strip>div,[data-theme="dark"] .rail-foot,[data-theme="dark"] .workspace-footer,[data-theme="dark"] .session-result,[data-theme="dark"] .lap-choice{border-color:var(--line)}
[data-theme="dark"] .map-view-switch button{color:#a1b4c6}[data-theme="dark"] .map-view-switch button.selected{background:#2b3e52;color:#e1edf9}[data-theme="dark"] .map-wrap{background:#15171a}[data-theme="dark"] .map-wrap.layer-none{background:var(--surface)}[data-theme="dark"] .track-edge{stroke:#484c52}[data-theme="dark"] #track-road{stroke:#2c3035}[data-theme="dark"] .line-halo{stroke:#15171a;stroke-opacity:.9}[data-theme="dark"] #track-line-a{stroke:#79b5ff}[data-theme="dark"] #track-line-b{stroke:#ff958a}[data-theme="dark"] .map-sector-label rect{fill:#292e35;stroke:#484e58}[data-theme="dark"] .map-sector-label text{fill:#bacada}[data-theme="dark"] .sector-leader{stroke:#91a9bd}[data-theme="dark"] .map-tile{filter:saturate(.4) brightness(.45)}[data-theme="dark"] .event-legend{background:#192b3bef;color:#b9cada;border-color:#344a5f}[data-theme="dark"] .map-attribution,[data-theme="dark"] .layer-street .map-attribution{background:#232629e8;color:#9eb5c9}[data-theme="dark"] .map-telemetry,[data-theme="dark"] .layer-street .map-telemetry{background:#282b30ed;border:1px solid #3d5266}
[data-theme="dark"] .playback-bar{border-color:var(--line);color:#a8bcce}[data-theme="dark"] .play-button{background:#2e333a;color:#c4dcf1}[data-theme="dark"] .playback-bar select,[data-theme="dark"] .telemetry-actions select{background:var(--surface);color:#c4d5e5}[data-theme="dark"] .segmented{background:#25292f}[data-theme="dark"] .segmented button{color:#8fa9bf}[data-theme="dark"] .segmented button.active{background:#444b56;color:#e2f0ff;box-shadow:none}[data-theme="dark"] .graph-zoom-toolbar button{background:#25292f;border-color:#424851;color:#c6dbed}[data-theme="dark"] .graph-zoom-toolbar{color:#9eb5c9}[data-theme="dark"] .chart-axis{fill:#95adc2}[data-theme="dark"] .sector-chart-label{fill:#829cb3}[data-theme="dark"] .sector-chart-label.selected{fill:#91c4ff}[data-theme="dark"] .chart-unit,[data-theme="dark"] .metric-help,[data-theme="dark"] .add-graph-row>span{color:#95adc2}[data-theme="dark"] .blue-text,[data-theme="dark"] .sector-time-row .blue-text{color:#87bbff}[data-theme="dark"] .red-text,[data-theme="dark"] .sector-time-row .red-text{color:#ff9b91}
[data-theme="dark"] .sector-cell.active{background:#20344d;border-color:#5985b4}[data-theme="dark"] .sector-card-heading,[data-theme="dark"] .sector-heading>span,[data-theme="dark"] .sector-heading button,[data-theme="dark"] .best-sectors-toggle{color:#9cb1c6}[data-theme="dark"] .sector-active-label{color:#91c4ff}[data-theme="dark"] .absolute-sector{border-color:#3a495a;background:#1f2a3d;color:#b5a5df}[data-theme="dark"] .absolute-sector span,[data-theme="dark"] .absolute-sector small{color:#ada2c4}[data-theme="dark"] .time-gain{color:#71d6b4}[data-theme="dark"] .time-loss{color:#f8988e}
[data-theme="dark"] .field select,[data-theme="dark"] .field input,[data-theme="dark"] .filter-row select,[data-theme="dark"] .custom-name input,[data-theme="dark"] .offset-controls input{background:#17191d;color:#d6e5f3;border-color:#41464e}[data-theme="dark"] .field label,[data-theme="dark"] .detail-column dd,[data-theme="dark"] .session-info-grid b{color:#c3d5e5}[data-theme="dark"] .modal-intro,[data-theme="dark"] .field-note,[data-theme="dark"] .guide-steps p,[data-theme="dark"] .privacy-note p,[data-theme="dark"] .export-checks,[data-theme="dark"] .detail-column dt{color:#9cafc1}[data-theme="dark"] .privacy-note,[data-theme="dark"] .session-track-icon,[data-theme="dark"] .guide-steps>div>span{background:#292d33;color:#b5cee7}[data-theme="dark"] .session-info-grid>div,[data-theme="dark"] .shortcut-grid>span{background:#25292e;border-color:#3c4149}[data-theme="dark"] .action-list button{border-color:#3c4149;color:#b4cbdf}
[data-theme="dark"] #custom-sector-editor{background:#142f31;border-color:#31585a}[data-theme="dark"] .custom-editor-heading strong,[data-theme="dark"] .custom-summary-heading h2{color:#92d8ca}[data-theme="dark"] .custom-editor-heading p,[data-theme="dark"] .custom-editor-hint,[data-theme="dark"] .custom-name{color:#97bbb5}[data-theme="dark"] .custom-sector-symbol{background:#244c47;border-color:#38766c;color:#a0e3d5}[data-theme="dark"] .sector-mark-button{background:#173c3b;border-color:#37655f}[data-theme="dark"] .sector-mark-button.active{background:#23534b;border-color:#6cbaac;box-shadow:none}[data-theme="dark"] .sector-mark-button b,[data-theme="dark"] .draft-sector-time{color:#ade4d9}[data-theme="dark"] .custom-sector-card.active{background:#183831;border-color:#549e8e;box-shadow:none}[data-theme="dark"] .custom-sector-card .sector-cell{background:transparent}[data-theme="dark"] .custom-sector-actions{border-color:#34574c}[data-theme="dark"] .graph-zoom-toolbar button.create-sector{background:#1c413d;border-color:#3a7165;color:#9cdbca}[data-theme="dark"] .custom-graph-mark rect{fill:#224940}[data-theme="dark"] .custom-graph-mark text{fill:#a0e4d1}
[data-theme="dark"] .video-settings-menu{background:#25282d;border-color:#454b54;color:#becfe0}[data-theme="dark"] .video-settings-menu .video-filename,[data-theme="dark"] .video-settings-menu .video-footer{border-color:#454b54}[data-theme="dark"] .video-settings-menu .sync-label b,[data-theme="dark"] .video-settings-menu .frame-align label{color:#b8ccdf}[data-theme="dark"] .video-settings-menu .offset-controls button{background:#333942;color:#c3d8ea;border-color:#4b5562}[data-theme="dark"] .video-settings-menu .video-footer button{color:#a1c7e5}[data-theme="dark"] .video-panel{border-color:var(--line)}
@media(max-width:560px){.global-nav{flex-wrap:wrap;height:auto;min-height:62px;padding:12px 16px;gap:8px 12px}.global-nav nav{order:3;flex-basis:100%;justify-content:center;align-self:auto;gap:25px}.global-nav nav button{padding:7px 0}.theme-toggle{margin-left:auto;font-size:11px;padding:7px 9px}.map-view-switch button{padding:6px 5px}.fullscreen-transport{width:calc(100% - 20px);bottom:12px;padding:10px;gap:7px}.fullscreen-transport [data-transport-duration]{display:none}.fullscreen-transport>span{font-size:10px}.fullscreen-transport .video-overlay-button{min-width:28px;width:28px}.map-wrap.expanded .map-bottom{bottom:87px}.map-wrap.expanded .event-legend{bottom:146px;top:auto}.video-expanded .video-overlay-controls{bottom:92px}.video-expanded .video-linked{display:none}}

[data-theme="dark"] #play-time,[data-theme="dark"] .play-duration,[data-theme="dark"] .map-bottom,[data-theme="dark"] #map-instruction,[data-theme="dark"] .linked-label{color:#a5bacd}[data-theme="dark"] .map-attribution a{color:#bfd3e5}
/* RaceBox branding and calm, consistent map instruments. */
:root{--red:#ea2127;--map-panel:#f9fafbf2;--map-panel-border:#cdd2d8;--map-panel-text:#3c434c;--map-panel-muted:#6d7580}.brand{display:flex;letter-spacing:normal}.brand img{display:block;width:168px;height:32px;object-fit:contain}.brand .logo-dark{display:none}[data-theme="dark"] .brand .logo-light{display:none}[data-theme="dark"] .brand .logo-dark{display:block}
html[data-theme="dark"]{--red:#ea2127;--ink:#e7e8eb;--muted:#a7a9af;--line:#34373c;--canvas:#111214;--surface:#191b1e;--surface-alt:#25272b;--surface-raised:#24262b;--secondary:#b1b3ba;--chart-grid:#34373c;--chart-mask:#17191d;--map-panel:#282b30ed;--map-panel-border:#484c53;--map-panel-text:#e2e4e9;--map-panel-muted:#afb3bc}
.button.primary,.button.engaged,[data-theme="dark"] .button.primary,[data-theme="dark"] .button.engaged{background:var(--red);border-color:var(--red);color:#fff}.button.primary:hover,.button.engaged:hover,[data-theme="dark"] .button.primary:hover,[data-theme="dark"] .button.engaged:hover{background:#d21b22;border-color:#d21b22}.global-nav nav button.nav-current{border-bottom-color:var(--red)}
.map-telemetry,.layer-street .map-telemetry,[data-theme="dark"] .map-telemetry,[data-theme="dark"] .layer-street .map-telemetry,.lap-chip,.map-small,.map-option-toggles,.event-legend,[data-theme="dark"] .event-legend{background:var(--map-panel);border:1px solid var(--map-panel-border);color:var(--map-panel-text);box-shadow:0 3px 12px #11182708;backdrop-filter:blur(10px);border-radius:8px}
.map-small:hover,.lap-chip:hover{background:var(--surface-raised)}.lap-chip{padding:8px 11px;font-size:11px}.lap-chip b{color:var(--map-panel-text)}.lap-chip .icon{color:var(--map-panel-muted)}.comparison-close{color:var(--map-panel-muted)}.map-telemetry .map-data-head{border-color:var(--map-panel-border)}.map-telemetry .map-data-label,.map-data-label small,.map-telemetry .map-data-head span{color:var(--map-panel-muted)}.map-telemetry .map-a,.map-telemetry:not(.comparison-values) .map-a{color:#376da9}.map-telemetry .map-b{color:#c94f49}[data-theme="dark"] .map-telemetry .map-a,[data-theme="dark"] .map-telemetry:not(.comparison-values) .map-a{color:#9cc5f6}[data-theme="dark"] .map-telemetry .map-b{color:#efaaa3}.map-telemetry .map-data-row strong{font-size:21px;font-weight:550}.map-telemetry>div{margin-bottom:10px}.map-option-toggles{padding:7px 10px}.map-bottom label{color:var(--map-panel-text)}.map-option-toggles input{accent-color:var(--red)}.map-attribution,.layer-street .map-attribution,[data-theme="dark"] .map-attribution,[data-theme="dark"] .layer-street .map-attribution{background:transparent;color:var(--map-panel-muted);bottom:107px}.map-attribution a,[data-theme="dark"] .map-attribution a{color:inherit}.map-bottom #map-instruction{display:none}
.event-legend,[data-theme="dark"] .event-legend{left:20px;bottom:18px;top:auto;transform:none;padding:5px;display:flex;flex-direction:column;align-items:stretch;gap:4px;max-width:calc(100% - 40px)}.event-type-toggles{display:flex;gap:3px}.event-type-toggles button{font-size:12px;gap:7px;padding:8px 9px;min-height:34px;border-radius:5px;color:var(--map-panel-text);border:1px solid transparent}.event-type-toggles button[aria-pressed="true"]{background:var(--surface);border-color:var(--line)}.event-type-toggles button[aria-pressed="false"]{opacity:.45}.event-legend i{width:10px;height:10px;flex-shrink:0}.event-lap-picker{display:flex;align-items:center;gap:4px;border-top:1px solid var(--line);padding:5px 4px 1px}.event-lap-picker>span{font-size:10px;margin-right:5px;color:var(--map-panel-muted)}.event-lap-picker button{font-size:11px;min-width:28px;padding:4px 7px;border-radius:4px;color:var(--map-panel-muted)}.event-lap-picker button[aria-pressed="true"]{background:var(--surface-alt);color:var(--map-panel-text);font-weight:650}.event-lap-picker small{font-size:10px;margin-left:auto;color:var(--map-panel-muted)}.event-brake{--event-color:#e74c55}.event-turn{--event-color:#e9ae29}.event-accel{--event-color:#16aa7a}.event-lap-b{fill:var(--surface)!important;stroke:var(--event-color);stroke-width:2.6}.event-lap-picker button[data-event-lap="a"][aria-pressed="true"]{color:var(--blue)}.event-lap-picker button[data-event-lap="b"][aria-pressed="true"]{color:var(--compare)}
.lap-sort{display:flex;align-items:center;gap:7px;margin:0 7px 14px}.lap-sort label{font-size:11px;color:var(--muted);white-space:nowrap}.lap-sort select{min-width:0;flex:1;padding:7px 4px;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--ink);font-size:11px}.best-lap-row .lap-main strong,.best-lap-row .lap-main span,.best-lap-row .lap-delta{color:#218753!important}.best-lap-row .lap-number{background:#edf8f1;border-color:#b7ddc7;color:#238554}.best-lap-row.selected{border-color:#aad4bc;background:#f0f8f3}[data-theme="dark"] .best-lap-row .lap-main strong,[data-theme="dark"] .best-lap-row .lap-main span,[data-theme="dark"] .best-lap-row .lap-delta{color:#78c798!important}[data-theme="dark"] .best-lap-row.selected{background:#20332a;border-color:#3f7154}[data-theme="dark"] .best-lap-row .lap-number{background:#274033;border-color:#437958;color:#8bd2a7}.theoretical-lap,[data-theme="dark"] .theoretical-lap{display:flex;align-items:stretch;flex-direction:column;gap:10px;margin:16px 0 10px;padding:15px 12px;border:1px dashed #b9bbc2;background:linear-gradient(135deg,var(--surface),var(--surface-alt));border-radius:9px;position:relative}.theoretical-heading{display:flex;align-items:center;gap:6px;color:var(--red);font-size:9px;letter-spacing:.55px;font-weight:700;white-space:nowrap}.theoretical-heading>span{font-size:20px;line-height:16px}.theoretical-time{font-size:23px;font-variant-numeric:tabular-nums;color:var(--ink);font-weight:600;letter-spacing:-.5px}.theoretical-source{display:flex;flex-direction:column;gap:8px;font-size:10px;color:var(--muted)}.theoretical-source b{font-size:9px;font-weight:500;border:1px solid var(--line);padding:3px 6px;border-radius:4px;align-self:flex-start}.theoretical-lap.selected,[data-theme="dark"] .theoretical-lap.selected{border:1px solid var(--red);box-shadow:inset 3px 0 var(--red);background:var(--surface-alt)}
#add-graph,[data-theme="dark"] #add-graph{background:var(--red);color:#fff;border:1px solid var(--red);padding:11px 22px;min-width:150px;font-size:13px;box-shadow:0 3px 10px #ea212720;opacity:1}#add-graph:hover{background:#d31b22}#add-graph:disabled,[data-theme="dark"] #add-graph:disabled{background:var(--surface-alt);border-color:var(--line);color:var(--muted);box-shadow:none;cursor:default}.add-graph-row{padding-top:12px;gap:14px}#compare-btn>.icon{width:20px;height:20px;stroke-width:1.5}
.field textarea{width:100%;resize:vertical;min-height:105px;max-height:240px;padding:11px 12px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--ink);font:inherit;font-size:14px;line-height:1.6}.session-info-grid{grid-template-columns:repeat(3,1fr);margin-bottom:22px}.details-save-row{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.details-save-row>span{font-size:12px;color:#228b58}.share-details-toggle{display:flex;align-items:center;gap:8px;font-size:13px;margin:0 0 20px;color:var(--secondary)}.share-details-toggle input{accent-color:var(--red)}.field input:focus,.field textarea:focus{outline:2px solid #ea212750;outline-offset:2px}
.map-wrap.expanded .event-legend{bottom:102px;top:auto}.map-wrap.expanded .map-attribution{bottom:192px}
@media(max-width:560px){.brand img{width:147px;height:28px}.map-wrap{height:460px}.event-legend,[data-theme="dark"] .event-legend{left:10px;right:10px;max-width:none;bottom:53px}.event-type-toggles button{flex:1;padding:7px 4px;font-size:11px;gap:6px}.event-legend i{width:9px;height:9px}.map-attribution,.layer-street .map-attribution,[data-theme="dark"] .map-attribution{left:10px;bottom:143px;font-size:8px}.map-bottom{left:10px;right:10px;bottom:12px}.map-option-toggles{justify-content:flex-end;width:auto;margin-left:auto;gap:12px}.map-telemetry .map-data-row strong{font-size:17px}.map-wrap.expanded .event-legend{bottom:133px}.map-wrap.expanded .map-attribution{bottom:222px}.session-info-grid{grid-template-columns:repeat(3,1fr);gap:8px}}
.map-bottom{left:auto;right:18px;bottom:18px;width:auto;justify-content:flex-end}.map-wrap.expanded .map-bottom{left:auto;right:18px}@media(max-width:560px){.map-bottom{left:10px;right:10px;bottom:12px}.map-wrap.expanded .map-bottom{left:10px;right:10px}}
.event-legend,[data-theme="dark"] .event-legend{pointer-events:auto;z-index:5}
/* Revision 7: responsive footage, direct actions and pinned graph inspection. */
html[data-theme="dark"]{--canvas:#1b1c1f;--surface:#232528;--surface-alt:#2d3034;--surface-raised:#303338;--line:#404349;--chart-grid:#3d4045;--chart-mask:#25272b;--map-panel:#32353bed}
[data-theme="dark"] .map-wrap{background:#24262a}[data-theme="dark"] .line-halo{stroke:#24262a}[data-theme="dark"] .map-wrap.layer-none{background:var(--surface)}
.compare-control{display:flex;position:relative}.compare-control.is-comparing #compare-btn{padding-right:43px}.compare-control #quick-stop-compare{position:absolute;right:7px;top:50%;transform:translateY(-50%);height:28px;width:28px;border-radius:5px;color:white;font-size:22px;background:#ffffff14}.compare-control #quick-stop-compare:hover{background:#ffffff30}
.is-comparing .driving-event.event-lap-a{fill:#3988e9!important;stroke:#fff;--event-color:#3988e9}.is-comparing .driving-event.event-lap-b{fill:#ec6860!important;stroke:#fff;stroke-width:2;--event-color:#ec6860}
[data-theme="dark"] .is-comparing .driving-event.event-lap-a{fill:#79b5ff!important}[data-theme="dark"] .is-comparing .driving-event.event-lap-b{fill:#ff958a!important}
.is-comparing .event-legend i{background:var(--map-panel-muted)}
[data-tooltip]{pointer-events:none}[data-tooltip].cursor-pinned{pointer-events:auto}[data-unpin]{cursor:pointer;outline:none}[data-unpin]:hover rect,[data-unpin]:focus rect{fill:#ffffff40}.cursor-pinned>rect{stroke:#95b4d0;stroke-width:1}.telemetry-chart{cursor:crosshair}
.video-quick-actions{position:absolute;right:12px;top:12px;display:flex;gap:5px;z-index:10}.video-settings{right:92px}.two-videos:not([data-expanded="a"]):not([data-expanded="b"]) .video-quick-actions{top:52px}.video-expanded .video-quick-actions{top:18px}
.analysis-card{container-type:inline-size}.map-video-row{display:grid;grid-template-columns:minmax(0,1fr);position:relative}.map-wrap{container-type:inline-size;flex:none}.video-panel{min-width:0}.lap-video-card{min-width:0}.video-panel.video-expanded,.video-panel:fullscreen{display:block!important}.video-expanded .video-cards{display:grid!important}.video-expanded .lap-video-card{grid-column:auto!important;grid-row:auto!important}
@container (min-width:1320px){
 .map-video-row.has-video:not(.comparison-video){grid-template-columns:minmax(560px,1.15fr) minmax(0,1fr)}
 .has-video:not(.comparison-video)>.map-wrap{grid-column:1;grid-row:1;height:460px}
 .has-video:not(.comparison-video)>.video-panel:not(.video-expanded){display:contents}
 .has-video:not(.comparison-video)>.video-panel:not(.video-expanded)>.video-cards{display:contents}
 .has-video:not(.comparison-video)>.video-panel:not(.video-expanded) .lap-video-card{grid-column:2;grid-row:1}
 .has-video:not(.comparison-video)>.video-panel:not(.video-expanded) .video-frame{height:100%;max-height:none;aspect-ratio:auto}
}
@container (min-width:1600px){
 .map-video-row.has-video.comparison-video{grid-template-columns:minmax(0,1fr) minmax(560px,1.4fr) minmax(0,1fr)}
 .has-video.comparison-video>.map-wrap{grid-column:2;grid-row:1;height:500px}
 .has-video.comparison-video>.video-panel:not(.video-expanded),.has-video.comparison-video>.video-panel:not(.video-expanded)>.video-cards{display:contents}
 .has-video.comparison-video>.video-panel:not(.video-expanded) [data-video-slot="a"]{grid-column:1;grid-row:1}
 .has-video.comparison-video>.video-panel:not(.video-expanded) [data-video-slot="b"]{grid-column:3;grid-row:1}
 .has-video.comparison-video>.video-panel:not(.video-expanded) .video-frame{height:100%;max-height:none;aspect-ratio:auto}
 .has-video.comparison-video>.video-panel:not(.video-expanded) .video-panel-tools{left:auto;right:12px;transform:none}
}
@container (max-width:620px){
 .lap-chips{flex-direction:column;align-items:flex-start;gap:7px}.lap-chips .comparison-close{position:absolute;left:180px;top:45px}.map-telemetry{top:76px;left:12px}.map-telemetry.comparison-values{top:126px;width:150px}.map-data-head,.map-data-row{gap:2px 8px}.map-telemetry .map-data-row strong{font-size:17px}.map-telemetry .map-data-head span{font-size:9px}
 .event-legend,[data-theme="dark"] .event-legend{left:10px;right:10px;bottom:53px;max-width:none}.event-type-toggles button{flex:1}.map-bottom{left:10px;right:10px;bottom:12px}.map-attribution,.layer-street .map-attribution,[data-theme="dark"] .map-attribution{left:10px;bottom:143px;font-size:8px}
}
@media(max-width:560px){.header-actions .compare-control{flex:1;min-width:0}.compare-control #compare-btn{width:100%}.video-settings{right:88px}.video-quick-actions{right:10px}.video-expanded[data-expanded="both"] .video-quick-actions{top:85px}.video-expanded[data-expanded="both"] .video-settings{right:10px}.video-expanded[data-expanded="both"] .video-slot-badge{left:8px}.map-telemetry.comparison-values{width:128px}}
.rail-toggle{height:32px;width:32px;align-self:flex-end;margin:-12px -6px 14px 0;border:1px solid var(--line);border-radius:6px;color:var(--secondary);background:var(--surface)}.rail-toggle .icon{width:18px;height:18px}.rail-compact-lap{display:none}.app-shell.rail-collapsed{grid-template-columns:94px minmax(0,1fr)}.rail-collapsed .session-rail{padding:24px 8px}.rail-collapsed .session-rail>*:not(.rail-toggle):not(.rail-compact-lap){display:none}.rail-collapsed .rail-toggle{align-self:center;margin:-9px 0 24px}.rail-collapsed .rail-toggle .icon{transform:rotate(180deg)}.rail-collapsed .rail-compact-lap{display:flex;flex-direction:column;gap:9px;align-items:center;padding:13px 3px;border:1px solid var(--line);border-radius:8px;background:var(--surface);width:100%;color:var(--ink)}.rail-compact-lap>span{font-size:10px;letter-spacing:1px;color:var(--muted)}.rail-compact-lap>b{font-size:11px;font-weight:500}.rail-compact-lap>strong{font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--blue)}
@media(max-width:850px){.app-shell.rail-collapsed{grid-template-columns:1fr}.rail-toggle{display:none}}

.analysis-card:has(.map-wrap.expanded,.video-expanded){container-type:normal}
.video-settings-menu{right:-80px}@media(max-width:560px){.video-settings-menu{right:-78px}.video-expanded[data-expanded="both"] .video-settings-menu{right:0}}

.event-legend .legend-accel{width:11px;height:10px;border:0;background:#16aa7a;clip-path:polygon(50% 0,100% 100%,0 100%)}.is-comparing .event-legend .legend-accel{background:var(--map-panel-muted)}
/* Revision 8: compact graph controls and clearer selectors. */
.telemetry-section{margin-top:12px}.telemetry-header{margin-bottom:8px;min-height:38px}.chart-card{padding-top:12px}.chart-head{margin-bottom:5px;min-height:34px}
.metric-select,[data-theme="dark"] .metric-select{max-width:245px;min-width:84px;height:34px;padding:6px 28px 6px 10px;border:1px solid var(--line);border-radius:7px;background:var(--surface-alt);color:var(--ink);font-size:13px;font-weight:550;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' stroke='%237d8790' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:12px;background-position:right 10px center}.metric-select:hover{border-color:#9baab7}.chart-dot{display:none}
.units-control{display:flex;align-items:center;gap:8px;padding:0 0 0 11px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--secondary);font-size:12px;font-weight:550}.telemetry-actions .units-control select,[data-theme="dark"] .telemetry-actions .units-control select{height:38px;min-width:77px;padding:7px 10px;font-size:14px;font-weight:600;color:var(--ink);background:transparent;border:0;border-left:1px solid var(--line);border-radius:0 7px 7px 0}.units-control:hover{border-color:#9baab7}.units-control:focus-within{outline:2px solid #ea212750;outline-offset:2px}
#graph-navigation{border-top:1px solid var(--line);margin:0;padding:8px 0 1px;min-height:39px;gap:8px;flex-wrap:nowrap}#graph-navigation>span:first-child{display:inline;font-size:11px;margin:0 2px 0 0}#graph-navigation button{height:28px;min-width:28px;border-color:var(--line);background:var(--surface-alt);font-size:17px}#graph-navigation #graph-zoom-label{min-width:35px;font-size:11px}#graph-navigation input{max-width:240px;min-width:80px;width:150px;margin-left:auto;height:18px;flex:1}
.sector-heading #create-sector{margin-left:8px;min-height:34px;padding:7px 12px;border:1px solid #bfd8d3;border-radius:7px;background:#f0f9f6;color:#237b6f;font-size:12px;font-weight:550;white-space:nowrap}.sector-heading #create-sector:hover{background:#e1f1ec}[data-theme="dark"] .sector-heading #create-sector{background:#29463f;border-color:#49796c;color:#b4dfd0}.sector-heading #create-sector:disabled{opacity:.5}.sector-summary{margin-top:16px}
[data-tooltip] text{font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif}
@media(max-width:560px){.telemetry-header{row-gap:7px}.telemetry-actions{align-items:center}.units-control{gap:7px;padding-left:9px;font-size:11px}.telemetry-actions .units-control select{height:38px;min-width:73px;font-size:14px}.comparison-axis{gap:5px}.comparison-axis>span{font-size:10px}.segmented button{padding:6px 8px}.chart-head{flex-wrap:wrap;gap:7px}.chart-readouts{margin-left:auto;gap:8px}.metric-select{max-width:210px}.chart-head:has(.close-chart) .chart-readouts{margin-left:auto}.sector-heading #create-sector{margin-left:auto;font-size:12px}.sector-heading{gap:8px}#graph-navigation{gap:6px}#graph-navigation input{max-width:150px;min-width:65px}}
@media(max-width:560px){.header-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.header-actions>.button,.header-actions>.compare-control{width:100%;min-width:0}.header-actions .button{min-height:43px}.compare-control.is-comparing #compare-btn{padding-right:34px;justify-content:flex-start;gap:6px}.compare-control #quick-stop-compare{right:5px;width:24px;height:26px}.compare-summary{min-width:0}.header-actions .compare-summary small{white-space:normal;letter-spacing:.2px;font-size:7px;line-height:1.3}.header-actions .compare-summary b{font-size:10px;white-space:nowrap}.header-actions #compare-btn>.icon{width:16px;height:16px}}

/* Revision 9: range detail, neutral sector blocks and independent preview chrome. */
.units-control:focus-within{outline:none}
.telemetry-actions .units-control select:focus{outline:none;box-shadow:none}
.units-control.keyboard-focus:focus-within{border-color:var(--blue);box-shadow:0 0 0 2px #4389ed40}
.absolute-sector,[data-theme="dark"] .absolute-sector{background:transparent;border-color:var(--line);color:var(--ink)}
.absolute-sector span,.absolute-sector small,[data-theme="dark"] .absolute-sector span,[data-theme="dark"] .absolute-sector small{color:var(--muted)}
.absolute-sector b,[data-theme="dark"] .absolute-sector b{color:var(--ink)}
.button.subscription-button,[data-theme="dark"] .button.subscription-button{background:var(--surface-alt);color:var(--muted);border-color:var(--line);box-shadow:none}
.button.subscription-button:hover,[data-theme="dark"] .button.subscription-button:hover{color:var(--ink);border-color:var(--muted)}
.subscription-button .icon:last-child{width:12px;height:12px;opacity:.8;margin-left:-3px}
.subscription-notice{display:flex;align-items:flex-start;gap:16px;margin:12px 0 24px;line-height:1.65;color:var(--secondary)}
.subscription-notice>.icon{width:42px;height:42px;padding:10px;background:var(--surface-alt);border:1px solid var(--line);border-radius:10px}
.subscription-notice p{margin:0;font-size:15px}
.driving-event .event-glyph{fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
[data-theme="dark"] .is-comparing .driving-event .event-glyph{stroke:#172532}
[data-marker-style="badges"] .event-legend i{clip-path:none;transform:none;border-radius:50%;width:14px;height:14px;display:grid;place-items:center;color:white;font-size:9px;font-style:normal;font-weight:700}
[data-marker-style="badges"] .legend-brake:after{content:'Ⅱ'}
[data-marker-style="badges"] .legend-turn:after{content:'↱'}
[data-marker-style="badges"] .legend-accel:after{content:'⌃'}
.development-toolbar{position:relative;z-index:25;background:#eceeef;color:#4b5158;border-bottom:1px solid #cbd0d5;font-size:12px;box-shadow:0 1px 4px #1015190a}
.development-topline{min-height:30px;display:flex;align-items:center;gap:14px;padding:0 18px}
.development-toolbar button{color:#4b5158;font-size:12px;border-radius:4px;min-height:27px;padding:4px 8px}
.development-toolbar button:hover{background:#dce1e5}
#development-toggle{font-weight:600;padding-left:0;gap:8px}
#development-toggle>span:first-child{font-family:ui-monospace,monospace;font-weight:600;color:#7e878f}
.development-chevron{transition:transform .15s}
#development-toggle[aria-expanded="true"] .development-chevron{transform:rotate(180deg)}
#development-status{color:#7b838a;font-size:11px;margin-left:auto;font-variant-numeric:tabular-nums}
#development-reset{border:1px solid #c2c9ce;min-height:23px;font-size:11px;padding:2px 8px}
#development-controls{display:flex;align-items:flex-end;gap:18px;padding:10px 18px 14px;border-top:1px solid #d8dde1;flex-wrap:wrap}
#development-resolution{display:flex;align-items:flex-end;gap:14px}
#development-controls label{display:flex;flex-direction:column;gap:5px;font-size:11px;font-weight:550;color:#737c84}
#development-controls select,#development-controls input{border:1px solid #c4ccd2;border-radius:5px;height:33px;background:#fff;color:#3b4650;padding:5px 8px;font-size:12px;font-weight:500}
#development-controls select{max-width:245px}
.development-dimensions{display:flex;gap:7px;align-items:flex-end}
.development-dimensions>span{margin-bottom:9px;color:#949da5}
.development-dimensions input{width:74px;font-variant-numeric:tabular-nums}
#development-controls button[type="submit"]{height:33px;background:#505b65;color:#fff;border:1px solid #505b65;padding:5px 13px}
.development-note{font-size:11px;color:#889198;max-width:210px;line-height:1.5;margin:0 0 2px auto}
.development-preview-active{overflow:hidden}
.development-preview{position:fixed;inset:30px 0 0;z-index:24;display:grid;place-items:center;overflow:auto;padding:20px;background:#d7dbdf;background-image:radial-gradient(#bbc2c8 1px,transparent 1px);background-size:12px 12px}
.development-frame-holder{position:relative;flex-shrink:0;box-shadow:0 4px 28px #252c3940;outline:1px solid #9ba5ad;background:var(--canvas)}
.development-frame-holder iframe{display:block;position:absolute;left:0;top:0;border:0;transform-origin:top left;background:var(--canvas)}
[data-theme="dark"] .development-toolbar{background:#303337;color:#c1c6cb;border-color:#50565b}
[data-theme="dark"] .development-toolbar button{color:#c1c6cb}
[data-theme="dark"] .development-toolbar button:hover{background:#44494f}
[data-theme="dark"] #development-controls{border-color:#474d53}
[data-theme="dark"] #development-controls label,[data-theme="dark"] #development-status{color:#abb2b9}
[data-theme="dark"] #development-controls select,[data-theme="dark"] #development-controls input{background:#24272b;color:#e2e6ea;border-color:#5b626a;color-scheme:dark}
[data-theme="dark"] .development-preview{background-color:#24272b;background-image:radial-gradient(#3d4248 1px,transparent 1px)}
@media(max-width:750px){.development-note{display:none}#development-controls{gap:12px}.development-topline{padding:0 10px;gap:8px}#development-status{font-size:10px}#development-resolution{flex-wrap:wrap;gap:10px}.development-toolbar #development-toggle{font-size:11px}}
@media(max-width:430px){#development-status{max-width:100px;line-height:1.25}#development-reset{max-width:78px}.development-topline{min-height:34px}#development-controls{padding:10px}.development-dimensions input{width:80px}#development-controls select{max-width:270px}}

/* Revision 10: optional compact deck, letter pins and session corner analysis. */
.theoretical-lap,[data-theme="dark"] .theoretical-lap{gap:4px;padding:10px 11px;margin-top:12px}
.theoretical-heading{gap:6px}.theoretical-heading>span{font-size:17px;line-height:18px}
.theoretical-time{font-size:20px;line-height:1.2}.theoretical-source{display:block;font-size:10px;line-height:1.35}
.driving-event .event-letter{fill:white;stroke:none;font:750 9px Inter,sans-serif}
.driving-event .event-stem{fill:none;stroke:currentColor;stroke-width:1.7}.event-brake{color:#e44e50}.event-turn{color:#d79714}.event-accel{color:#259b73}
.driving-event .event-pill{stroke:white;stroke-width:1.3}.driving-event .event-anchor{stroke:white;stroke-width:1}
.is-comparing .event-lap-a{color:#4389ed}.is-comparing .event-lap-b{color:#ed6c66}
[data-marker-style="pills"] .event-legend i{clip-path:none;transform:none;border-radius:4px;width:17px;height:15px;display:grid;place-items:center;color:white;font-size:10px;font-style:normal;font-weight:700}
[data-marker-style="pills"] .legend-brake:after{content:'B'}[data-marker-style="pills"] .legend-turn:after{content:'T'}[data-marker-style="pills"] .legend-accel:after{content:'A'}
.map-range-highlight{fill:none;stroke:#ea2127;stroke-opacity:.24;stroke-width:15;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.analysis-insights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;align-items:start}
.analysis-disclosure{border:1px solid var(--line);border-radius:9px;background:var(--surface);overflow:hidden;min-width:0}
.analysis-disclosure[open]{grid-column:1/-1}
.analysis-disclosure>summary{display:flex;align-items:center;gap:9px;min-height:43px;padding:10px 13px;cursor:pointer;list-style:none}
.analysis-disclosure>summary::-webkit-details-marker{display:none}.analysis-disclosure>summary:hover{background:var(--surface-alt)}
.analysis-disclosure>summary strong{font-size:12px;font-weight:600}.analysis-disclosure>summary small{color:var(--muted);font-size:10px;margin-left:auto;white-space:nowrap}
.analysis-section-icon{color:var(--red);font-size:19px;line-height:18px}.analysis-chevron{font-size:17px;color:var(--muted);line-height:15px}.analysis-disclosure[open]>summary .analysis-chevron{transform:rotate(180deg)}
.analysis-disclosure[open]>summary{border-bottom:1px solid var(--line)}.analysis-disclosure-body{padding:18px}
.analysis-intro{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:17px}.analysis-intro p{font-size:12px;line-height:1.6;margin:0;color:var(--secondary)}.analysis-intro>span{font-size:10px;line-height:1.5;color:var(--muted);text-align:right;max-width:250px}
.corner-analysis-grid,.opportunities-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.corner-analysis-card,.opportunity-card{border:1px solid var(--line);border-radius:9px;background:var(--surface);overflow:hidden;min-width:0}
.corner-analysis-card.active,.opportunity-card.active{border-color:var(--red);box-shadow:0 0 0 1px var(--red)}
.corner-card-open{width:100%;justify-content:flex-start;gap:10px;padding:12px;text-align:left}.corner-card-open>.corner-preview{width:48px;height:51px;flex:none}
.corner-card-open>span{min-width:0}.corner-card-open b{font-size:13px;font-weight:650}.corner-card-open small{display:block;font-size:9px;color:var(--muted);margin-top:4px;line-height:1.4}
.corner-card-open>strong{margin-left:auto;font-size:15px;font-weight:650;white-space:nowrap;font-variant-numeric:tabular-nums}.corner-card-open>strong small{font-size:11px}
.corner-preview-bed{fill:none;stroke:var(--line);stroke-width:9;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.corner-preview-line{fill:none;stroke:var(--blue);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.corner-preview-apex{fill:var(--red);stroke:var(--surface);stroke-width:1;vector-effect:non-scaling-stroke}.corner-preview-entry{fill:var(--surface);stroke:var(--blue);stroke-width:1.5;vector-effect:non-scaling-stroke}.corner-preview-exit{fill:var(--blue);stroke:var(--surface);stroke-width:1;vector-effect:non-scaling-stroke}
.corner-speed-phases{display:grid;grid-template-columns:repeat(3,1fr);padding:12px 8px;background:var(--surface-alt);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.corner-speed-phases>div{padding:0 8px;border-right:1px solid var(--line)}.corner-speed-phases>div:last-child{border:0}.corner-speed-phases span{display:block;color:var(--muted);font-size:10px;margin-bottom:6px}.corner-speed-phases strong{font-size:17px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.corner-speed-phases strong small{font-size:9px;font-weight:400;margin-left:4px;color:var(--muted)}.corner-speed-phases>div>small{display:block;font-size:11px;margin-top:4px}
.corner-benchmark{padding:10px 12px;display:flex;justify-content:space-between;gap:8px;font-size:9px;color:var(--muted);line-height:1.5}.corner-benchmark b{font-weight:600;color:var(--secondary)}
.corner-measurements{border-top:1px solid var(--line)}.corner-measurements>summary{list-style:none;display:flex;justify-content:space-between;cursor:pointer;padding:11px 12px;color:var(--secondary);font-size:11px}.corner-measurements>summary::-webkit-details-marker{display:none}.corner-measurements[open]>summary span{transform:rotate(45deg)}
.corner-measurements dl{margin:0;padding:0 12px 8px}.corner-measurements dl>div{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-top:1px solid var(--line);font-size:10px;line-height:1.5}.corner-measurements dt{color:var(--muted)}.corner-measurements dd{margin:0;text-align:right;font-variant-numeric:tabular-nums;max-width:59%}.corner-measurements dd span,.corner-measurements dd small{display:block}.corner-measurements dd small{color:var(--muted);font-size:9px}
.analysis-note{font-size:10px;color:var(--muted);line-height:1.6;margin:15px 0 0}.corner-measurements .analysis-note{padding:0 12px 12px;margin:0}
.opportunity-open{display:block;width:100%;text-align:left;padding:16px}.opportunity-open:hover{background:var(--surface-alt)}.opportunity-topline{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:600}.opportunity-rank{color:var(--red);font-size:10px}.opportunity-evidence{margin-left:auto;border-radius:4px;padding:3px 5px;font-size:9px;background:var(--surface-alt);color:var(--muted);font-weight:400}
.opportunity-visual{display:flex;align-items:center;gap:18px;margin:18px 0}.opportunity-visual>.corner-preview{width:85px;height:85px;flex:none}.opportunity-visual>div>span,.opportunity-visual>div>small{display:block;font-size:9px;color:var(--muted);line-height:1.5}.opportunity-visual strong{display:block;font-size:27px;font-weight:650;letter-spacing:-.7px;margin:5px 0;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap}.opportunity-visual strong small{font-size:13px;font-weight:500;margin-left:4px;color:var(--muted)}
.opportunity-open h3{font-size:14px;font-weight:600;margin:0 0 9px;line-height:1.45}.opportunity-open p{font-size:11px;line-height:1.65;color:var(--secondary);margin:0 0 15px}.opportunity-laps{font-size:10px;line-height:1.6;color:var(--muted)}.opportunity-laps span{display:block}.opportunity-action{display:block;font-size:11px;color:var(--red);font-weight:600;margin-top:15px}
.opportunity-footer{border-top:1px solid var(--line);padding:10px 14px;display:flex;gap:10px;align-items:center;justify-content:space-between}.opportunity-footer>span{font-size:9px;color:var(--muted);line-height:1.5}.opportunity-footer>button{font-size:10px;white-space:nowrap;padding:7px 8px;border-radius:5px;background:var(--surface-alt);border:1px solid var(--line)}
.analysis-method{margin-top:16px;font-size:11px;color:var(--secondary);line-height:1.65}.analysis-method summary{cursor:pointer;color:var(--muted)}.analysis-method a{color:var(--blue);text-decoration:underline;text-underline-offset:2px}
.analysis-focus{grid-column:1/-1;background:var(--surface);border-left:3px solid var(--red);border-radius:4px;display:flex;align-items:center;justify-content:space-between;padding:9px 12px;font-size:11px;color:var(--secondary)}.analysis-focus button{padding:5px 7px;border-radius:4px;color:var(--red);font-size:11px;white-space:nowrap}
.telemetry-section{container-type:inline-size;container-name:telemetry}
[data-graph-style="compact"] #graphs{display:grid;grid-template-columns:1fr;border:1px solid var(--line);border-radius:0 0 9px 9px;background:var(--surface);overflow:hidden}
[data-graph-style="compact"] .chart-card{border:0;border-radius:0;border-right:1px solid var(--line);margin:0;padding:9px 12px 0;min-width:0;background:transparent}
[data-graph-style="compact"] .chart-card:last-child{border-right:0}
[data-graph-style="compact"] .chart-head{gap:6px;flex-wrap:wrap;min-height:34px;margin-bottom:4px}
[data-graph-style="compact"] .chart-dot{display:none}[data-graph-style="compact"] .chart-unit{display:none}
[data-graph-style="compact"] .chart-readouts{font-size:10px;gap:5px;line-height:1.4;margin-left:auto;flex-direction:column;align-items:flex-end}
[data-graph-style="compact"] .metric-select{font-size:12px;max-width:155px;padding:6px 25px 6px 8px;height:31px}
[data-graph-style="compact"] .close-chart{width:20px;font-size:19px;flex:none}
#compact-graph-navigation{border:1px solid var(--line);border-bottom:0;background:var(--surface);border-radius:9px 9px 0 0;padding:0 12px}
#compact-graph-navigation #graph-navigation{border:0;min-height:35px;padding:3px 0}
#compact-graph-navigation input{max-width:260px}
@container telemetry (min-width:760px){[data-graph-style="compact"] #graphs:not([data-count="1"]){grid-template-columns:repeat(2,minmax(0,1fr))}}
@container telemetry (min-width:1080px){[data-graph-style="compact"] #graphs[data-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1200px){
 [data-graph-style="compact"] .global-nav{height:58px}
 [data-graph-style="compact"] main{padding-top:16px}
 [data-graph-style="compact"] .workspace-heading{margin-bottom:12px}
 [data-graph-style="compact"] .summary-strip{padding:11px 0;margin-bottom:12px}
 [data-graph-style="compact"] .map-wrap:not(.expanded){height:320px}
 [data-graph-style="compact"] .playback-bar{padding-top:8px;padding-bottom:8px}
 [data-graph-style="compact"] .analysis-insights{margin-top:8px}
 [data-graph-style="compact"] .analysis-disclosure>summary{min-height:39px;padding-top:8px;padding-bottom:8px}
 [data-graph-style="compact"] .telemetry-section{margin-top:8px}
 [data-graph-style="compact"] .graph-footer{margin-top:7px}
}
@container (min-width:1080px){
 [data-graph-style="compact"] .map-video-row.has-video:not(.comparison-video){grid-template-columns:minmax(500px,1.1fr) minmax(0,1fr)}
 [data-graph-style="compact"] .map-video-row.has-video.comparison-video{grid-template-columns:minmax(0,1fr) minmax(500px,1.5fr) minmax(0,1fr)}
 [data-graph-style="compact"] .has-video>.map-wrap:not(.expanded){grid-column:1;grid-row:1;height:320px}
 [data-graph-style="compact"] .has-video.comparison-video>.map-wrap:not(.expanded){grid-column:2}
 [data-graph-style="compact"] .has-video>.video-panel:not(.video-expanded),[data-graph-style="compact"] .has-video>.video-panel:not(.video-expanded)>.video-cards{display:contents}
 [data-graph-style="compact"] .has-video>.video-panel:not(.video-expanded) .lap-video-card{grid-column:2;grid-row:1}
 [data-graph-style="compact"] .has-video.comparison-video>.video-panel:not(.video-expanded) [data-video-slot="a"]{grid-column:1}
 [data-graph-style="compact"] .has-video.comparison-video>.video-panel:not(.video-expanded) [data-video-slot="b"]{grid-column:3}
 [data-graph-style="compact"] .has-video>.video-panel:not(.video-expanded) .video-frame{height:100%;max-height:none;aspect-ratio:auto;min-height:0}
 [data-graph-style="compact"] .has-video.comparison-video>.video-panel:not(.video-expanded) .video-panel-tools{left:auto;right:12px;transform:none}
}
@media(max-width:1250px){.corner-analysis-grid,.opportunities-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.opportunity-card:last-child{grid-column:1/-1}.opportunity-card:last-child .opportunity-open{display:grid;grid-template-columns:1fr 1fr;column-gap:22px}.opportunity-card:last-child .opportunity-topline{grid-column:1/-1}.opportunity-card:last-child .opportunity-visual{grid-row:2/6}.analysis-intro{display:block}.analysis-intro>span{display:block;text-align:left;margin-top:5px;max-width:none}}
@media(max-width:650px){.analysis-insights{grid-template-columns:1fr}.analysis-disclosure-body{padding:12px}.analysis-disclosure>summary{padding:11px}.analysis-disclosure>summary strong{font-size:11px}.corner-analysis-grid,.opportunities-grid{grid-template-columns:1fr}.opportunity-card:last-child .opportunity-open{display:block}.corner-speed-phases strong{font-size:18px}.corner-benchmark{font-size:10px}.analysis-focus{gap:10px;line-height:1.5}.opportunity-visual{justify-content:flex-start;gap:26px}.opportunity-visual>.corner-preview{width:90px;height:90px}}
@media(min-width:1200px){
 [data-graph-style="compact"] .breadcrumb{display:none}
 [data-graph-style="compact"] .summary-strip{padding:8px 0}
 [data-graph-style="compact"] .summary-strip strong{font-size:22px;margin-top:5px}
 [data-graph-style="compact"] .section-toolbar{padding-top:8px;padding-bottom:8px;min-height:40px}
 [data-graph-style="compact"] .map-wrap:not(.expanded) .map-controls{display:grid;grid-template-columns:repeat(2,28px);gap:4px;top:63px;right:16px}
 [data-graph-style="compact"] .map-wrap:not(.expanded) .map-controls button{width:28px;height:28px;min-height:28px}
 [data-graph-style="compact"] .map-wrap:not(.expanded) #map-north{grid-column:1/-1;width:100%;height:34px;flex-direction:row;gap:6px}
 [data-graph-style="compact"] .map-wrap:not(.expanded) #fit-map{grid-column:1/-1;width:100%}
 [data-graph-style="compact"] .map-wrap:not(.expanded) .map-attribution{bottom:3px;left:18px;font-size:7px;max-width:90%}
 [data-graph-style="compact"] .map-wrap:not(.expanded) .map-telemetry{top:68px;padding:8px 10px}
 [data-graph-style="compact"] .map-wrap:not(.expanded) .map-data-row{margin-bottom:8px}
 [data-graph-style="compact"] .map-wrap:not(.expanded) .map-data-row:last-child{margin-bottom:0}
 [data-graph-style="compact"] .map-wrap:not(.expanded) .map-data-row strong{font-size:18px}
}
@media(min-width:1200px) and (max-height:950px){[data-graph-style="compact"] .map-wrap:not(.expanded){height:275px}}
@container (min-width:1080px){@media(max-height:950px){[data-graph-style="compact"] .has-video>.map-wrap:not(.expanded){height:275px}}}
@container (min-width:1080px){
 [data-graph-style="compact"] .has-video>.video-panel:not(.video-expanded) .lap-video-card{height:320px}
 @media(max-height:950px){[data-graph-style="compact"] .has-video>.video-panel:not(.video-expanded) .lap-video-card{height:275px}}
}
@media(min-width:1200px){
 [data-graph-style="compact"] main{padding-top:12px}
 [data-graph-style="compact"] .workspace-heading{margin-bottom:10px}
 [data-graph-style="compact"] h1{font-size:25px;margin-bottom:4px}
 [data-graph-style="compact"] .summary-strip{padding:9px 0;margin-bottom:10px}
 [data-graph-style="compact"] .summary-strip>div{display:flex;align-items:center;gap:9px;padding:0 15px}
 [data-graph-style="compact"] .summary-strip strong{font-size:17px;margin:0;gap:4px;letter-spacing:-.3px}
 [data-graph-style="compact"] .summary-strip .metric-label{font-size:10px}
 [data-graph-style="compact"] .summary-strip .weather-summary>svg{display:none}
 [data-graph-style="compact"] .summary-strip .weather-summary>div{display:flex;align-items:center;gap:9px}
 [data-graph-style="compact"] .section-toolbar{padding:6px 16px;min-height:36px}
 [data-graph-style="compact"] .playback-bar{padding:5px 18px}
 [data-graph-style="compact"] .play-button{height:28px;width:28px}
 [data-graph-style="compact"] .map-wrap:not(.expanded) .event-legend{left:12px;right:auto;bottom:21px;max-width:calc(100% - 24px)}
 [data-graph-style="compact"] .map-wrap:not(.expanded) .event-type-toggles button{font-size:10px;gap:5px;padding:6px}
 [data-graph-style="compact"] .map-wrap:not(.expanded) .map-bottom{bottom:21px;right:12px;left:auto}
 [data-graph-style="compact"] .map-wrap:not(.expanded) .map-option-toggles{gap:7px}
 [data-graph-style="compact"] .map-wrap:not(.expanded) .map-bottom label{font-size:9px}
 [data-graph-style="compact"] .map-wrap:not(.expanded) .lap-chips{flex-direction:row;gap:5px}
 [data-graph-style="compact"] .map-wrap:not(.expanded) .lap-chip{font-size:10px;padding:6px}
 [data-graph-style="compact"] .map-wrap:not(.expanded) .lap-chip b{margin-left:2px}
 [data-graph-style="compact"] .map-wrap:not(.expanded) .comparison-close{position:static}
 [data-graph-style="compact"] .map-wrap:not(.expanded) .map-telemetry.comparison-values{top:65px}
}
[data-graph-style="compact"] .telemetry-header{border:1px solid var(--line);border-radius:9px 9px 0 0;background:var(--surface);padding:6px 10px;gap:12px;margin-bottom:0;flex-wrap:wrap}
[data-graph-style="compact"] .telemetry-header .section-label h2{font-size:12px}
[data-graph-style="compact"] .telemetry-header #cursor-caption{font-size:10px}
[data-graph-style="compact"] .telemetry-header .quiet-separator{margin:0 2px}
[data-graph-style="compact"] #compact-graph-navigation{border:0;padding:0;flex:1;min-width:180px;max-width:310px;margin-left:auto}
[data-graph-style="compact"] #compact-graph-navigation #graph-navigation{min-height:30px;padding:0;gap:5px}
[data-graph-style="compact"] #compact-graph-navigation #graph-pan{width:85px;min-width:55px;max-width:120px}
[data-graph-style="compact"] #graphs{border-top:0}
@media(min-width:1200px){[data-graph-style="compact"] .units-control{font-size:10px;gap:7px;padding-left:8px}[data-graph-style="compact"] .telemetry-actions .units-control select{height:30px;font-size:12px;min-width:70px}}
@media(max-width:650px){[data-graph-style="compact"] #compact-graph-navigation{order:3;flex-basis:100%;max-width:none}[data-graph-style="compact"] .chart-card{border-right:0;border-bottom:1px solid var(--line)}}
@media(min-width:1200px){[data-graph-style="compact"] .map-wrap:not(.expanded) .map-controls>span{display:none}}
.analysis-insights:has(.analysis-disclosure[open]) .analysis-disclosure{grid-column:1/-1}
@media(min-width:1200px){
 [data-graph-style="compact"] main{padding-top:8px}
 [data-graph-style="compact"] .map-wrap:not(.expanded) .map-telemetry.comparison-values{width:184px;padding:6px 8px;top:60px}
 [data-graph-style="compact"] .map-wrap:not(.expanded) .comparison-values .map-data-head{grid-template-columns:46px 46px;justify-content:end;gap:7px;margin-bottom:5px;padding-bottom:5px;min-height:18px}
 [data-graph-style="compact"] .map-wrap:not(.expanded) .comparison-values .map-data-row{grid-template-columns:58px 46px 46px;align-items:center;gap:3px 7px;margin-bottom:4px}
 [data-graph-style="compact"] .map-wrap:not(.expanded) .comparison-values .map-data-row:last-child{margin-bottom:0}
 [data-graph-style="compact"] .map-wrap:not(.expanded) .comparison-values .map-data-label{grid-column:auto;display:block;margin:0;font-size:8px;line-height:1.15}
 [data-graph-style="compact"] .map-wrap:not(.expanded) .comparison-values .map-data-label small{display:block;font-size:7px;float:none;margin-top:2px}
 [data-graph-style="compact"] .map-wrap:not(.expanded) .comparison-values .map-data-row strong{font-size:16px}
}
[data-theme="dark"] .analysis-focus button,[data-theme="dark"] .opportunity-action,[data-theme="dark"] .opportunity-rank,[data-theme="dark"] .analysis-section-icon{color:#ff8b80}
[data-theme="dark"] .is-comparing .driving-event .event-letter{fill:#172532}

/* Revision 12: graphs-only deck, persistent section review and stronger RaceBox cues. */
:root{--gain:#167947;--loss:#bc3f3f;--brand-tint:#ea212709}
[data-theme="dark"]{--gain:#79dca6;--loss:#ffa299;--brand-tint:#ea21270d}
.global-nav{border-bottom-color:#ea21272b}.global-nav nav button.active{color:var(--red)}
.section-label h2{position:relative}.telemetry-header .section-label h2:before{content:'';display:inline-block;width:3px;height:13px;background:var(--red);border-radius:2px;margin-right:8px;vertical-align:-2px}
.section-toolbar{box-shadow:inset 3px 0 var(--red)}
.lap-row.selected{box-shadow:inset 3px 0 var(--red)}
.button.engaged,.button.primary{box-shadow:0 2px 6px #ea212715}
.analysis-insights{display:block}.analysis-insights .analysis-focus{margin-top:8px}
.analysis-disclosure{border-color:var(--line);border-top:2px solid #ea21277a}
.analysis-disclosure>summary{min-height:45px}.analysis-disclosure>summary strong{font-size:13px}
.analysis-section-icon{display:grid;place-items:center;width:25px;height:25px;border-radius:6px;background:var(--brand-tint);flex:none}
.analysis-disclosure>summary:hover{background:var(--brand-tint)}
.advanced-insights{margin-top:14px}
.analysis-focus{gap:12px;line-height:1.45;min-height:43px}
.analysis-focus-actions{display:flex;gap:7px;flex:none}
.analysis-focus-actions [data-analysis-play]{background:var(--brand-tint);border:1px solid #ea212744;padding:6px 10px;font-weight:600}
.analysis-focus [data-focus-label]{font-size:12px}
.theoretical-short-name,.partial-time,.rail-compact-summary{display:none}
.theoretical-heading>.theoretical-full-name,.theoretical-heading>.theoretical-short-name{font-size:9px;line-height:1.3}
.app-shell.rail-collapsed .session-rail>.rail-compact-summary{display:flex;flex-direction:column;align-items:center;gap:5px;margin:0 0 12px;color:var(--secondary)}
.rail-compact-summary>span{font-size:11px;font-weight:650;letter-spacing:.6px}.rail-compact-summary>small{font-size:10px;color:var(--muted)}
.app-shell.rail-collapsed .session-rail>#lap-list{display:block;width:100%}
.rail-collapsed .rail-toggle{margin-bottom:14px}
.rail-collapsed .lap-row{display:flex;flex-direction:column;gap:5px;align-items:center;padding:10px 3px;margin-bottom:5px;width:100%;min-height:55px;border-radius:7px;border:1px solid var(--line)}
.rail-collapsed .lap-row.selected{border-color:#ea212780}
.rail-collapsed .lap-number{display:block;width:auto;height:auto;border:0;background:transparent;padding:0;font-size:10px;color:var(--secondary);line-height:1.2}
.rail-collapsed .lap-number:before{content:'Lap '}
.rail-collapsed .lap-main{display:block}.rail-collapsed .lap-main strong{font-size:13px;letter-spacing:-.4px}
.rail-collapsed .lap-main>span,.rail-collapsed .lap-delta{display:none}
.rail-collapsed .best-lap-row .lap-number,.rail-collapsed .best-lap-row .lap-main strong{color:var(--gain)}
.rail-collapsed .theoretical-heading{font-size:9px;letter-spacing:0;display:block;line-height:1.3}
.rail-collapsed .theoretical-full-name,.rail-collapsed .theoretical-diamond,.rail-collapsed .theoretical-source{display:none}
.rail-collapsed .theoretical-short-name{display:inline}.rail-collapsed .theoretical-time{font-size:13px}
.rail-collapsed .theoretical-lap{margin-top:10px;border-style:dashed;border-color:#ea212769}
.rail-collapsed .partial-laps{display:grid;grid-template-columns:1fr;gap:6px;padding-top:7px;border-top:1px solid var(--line)}
.rail-collapsed .partial-laps button{display:flex;flex-direction:column;gap:4px;font-size:10px;padding:8px 2px;border:1px solid var(--line);border-radius:6px}
.rail-collapsed .partial-laps button.active{border-color:var(--red);background:var(--brand-tint)}
.rail-collapsed .partial-time{display:block;font-size:12px;font-weight:550;color:var(--secondary)}
[data-graph-style="side-by-side"] #graphs{display:grid;grid-template-columns:1fr;gap:10px}
[data-graph-style="side-by-side"] .chart-card{margin-bottom:0;min-width:0}
[data-graph-style="side-by-side"] .chart-head{flex-wrap:wrap;gap:7px}
[data-graph-style="side-by-side"] .chart-readouts{gap:6px;flex-wrap:wrap}
[data-graph-style="side-by-side"] .metric-select{max-width:calc(100% - 65px)}


.opportunities-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,315px),1fr));align-items:stretch;gap:14px}
.opportunity-card{display:flex;flex-direction:column;border-top:3px solid #ea212759;background:var(--surface);transition:border-color .16s,box-shadow .16s}
.opportunity-card:hover{border-color:#ea212773;box-shadow:0 4px 16px #15212c08}
.opportunity-card.active{border-color:var(--red);box-shadow:0 0 0 1px var(--red)}
.opportunity-card:last-child{grid-column:auto}
.opportunity-card .opportunity-open,.opportunity-card:last-child .opportunity-open{display:flex;flex-direction:column;flex:1;width:100%;padding:16px;text-align:left;gap:0;background:transparent}
.opportunity-card .opportunity-open:hover{background:var(--brand-tint)}
.opportunity-topline{width:100%;gap:9px;font-size:14px}
.opportunity-rank{display:grid;place-items:center;width:27px;height:27px;border-radius:6px;background:var(--brand-tint);font-size:11px;font-weight:700;flex:none}
.opportunity-section-name{font-size:14px;font-weight:650}.opportunity-section-name small{display:block;font-size:11px;font-weight:450;color:var(--muted);margin-top:3px}
.opportunity-evidence{font-size:10px;font-weight:500;padding:4px 6px;white-space:nowrap}
.opportunity-visual{width:100%;justify-content:space-between;gap:10px;margin:19px 0 17px;min-height:86px}
.opportunity-visual>.corner-preview{width:65px;height:80px;flex:none;padding:3px}
.opportunity-visual .opportunity-saving>span{font-size:12px;font-weight:550;color:var(--secondary)}
.opportunity-visual .opportunity-saving>small{font-size:11px;color:var(--muted)}
.opportunity-visual .opportunity-saving strong{font-size:28px;line-height:1.2;letter-spacing:-.8px;color:var(--gain);margin:6px 0;white-space:nowrap}
.opportunity-saving strong>small{color:var(--gain);font-size:14px;margin-left:4px}
.gain-range-separator{font-size:11px;font-weight:450;letter-spacing:0;margin:0 5px;color:var(--gain)}
.opportunity-pass-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;width:100%;margin-bottom:14px}
.opportunity-pass{border:1px solid var(--line);border-radius:8px;overflow:hidden;text-align:left}
.current-pass{background:#c2434306;border-color:#be494920}.best-pass{background:#16865307;border-color:#16865325}
[data-theme="dark"] .current-pass{background:#e9615c08;border-color:#e9615c30}[data-theme="dark"] .best-pass{background:#34bb790a;border-color:#5dcb9138}
.opportunity-pass-heading{padding:9px 10px;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:4px}
.opportunity-pass-heading>span{font-size:10px;font-weight:650;letter-spacing:.35px;text-transform:uppercase}.opportunity-pass-heading>b{font-size:12px;font-weight:550}
.current-pass .opportunity-pass-heading,.current-pass dd,.current-pass .opportunity-pass-time strong{color:var(--loss)}
.best-pass .opportunity-pass-heading,.best-pass dd,.best-pass .opportunity-pass-time strong{color:var(--gain)}
.opportunity-pass dl{margin:0;padding:10px;display:grid;gap:11px}
.opportunity-pass dl>div{display:flex;flex-direction:column;gap:4px}.opportunity-pass dt{font-size:11px;color:var(--secondary)}
.opportunity-pass dd{margin:0;font-size:19px;font-weight:600;line-height:1.15;font-variant-numeric:tabular-nums}
.opportunity-pass dd>small{font-size:10px;font-weight:450;margin-left:4px;color:var(--muted)}
.opportunity-pass-time{display:flex;align-items:baseline;gap:5px;flex-wrap:wrap;padding:9px 10px;border-top:1px solid var(--line)}
.opportunity-pass-time strong{font-size:16px;font-variant-numeric:tabular-nums}.opportunity-pass-time strong small{font-size:10px;margin-left:3px}
.opportunity-pass-time>span{font-size:9px;color:var(--muted)}
.opportunity-open .opportunity-description{font-size:12px;line-height:1.6;margin:0 0 15px;color:var(--secondary);width:100%}
.opportunity-action{font-size:12px;margin-top:auto;align-self:flex-start;font-weight:600;color:var(--red)}
.opportunity-footer{margin-top:auto;padding:11px 14px;gap:7px;flex-wrap:wrap}
.opportunity-footer>span{font-size:10px}.opportunity-footer>button{font-size:11px;font-weight:550;margin-left:auto;border-color:#ea212739;background:var(--brand-tint)}
@media(max-width:650px){.analysis-focus{align-items:flex-start;flex-direction:column;gap:6px}.analysis-focus-actions{width:100%;justify-content:space-between}.opportunity-card .opportunity-open,.opportunity-card:last-child .opportunity-open{padding:14px}.opportunity-visual{gap:8px}.opportunity-visual>.corner-preview{width:57px;height:75px}.opportunity-visual .opportunity-saving strong{font-size:27px}.opportunity-evidence{font-size:9px}.analysis-disclosure>summary strong{font-size:12px}.opportunity-pass dd{font-size:20px}}

/* Revision 13: quieter analysis surfaces and optional design accents. */
.global-nav{border-bottom-color:var(--line)}
.section-toolbar,.lap-row.selected{box-shadow:none}
.telemetry-header .section-label h2:before{display:none}
.theoretical-lap.selected,[data-theme="dark"] .theoretical-lap.selected{box-shadow:none}
.rail-collapsed .lap-row.selected{border-color:var(--blue)}
.analysis-disclosure{border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.analysis-disclosure>summary{min-height:46px;padding:9px 14px;gap:10px}
.analysis-disclosure>summary strong{font-size:13px;font-weight:550}
.analysis-disclosure>summary:hover{background:var(--surface-alt)}
.analysis-section-icon{width:26px;height:26px;background:transparent;color:var(--muted);font-size:19px;border-radius:8px}
[data-theme="dark"] .analysis-section-icon{color:var(--muted)}
#improvement-analysis>summary{min-height:50px}
#improvement-analysis>summary strong{font-size:14px;font-weight:650;color:var(--ink)}
#improvement-analysis .analysis-section-icon{background:var(--brand-tint);color:var(--red);width:30px;height:30px}
#opportunity-count{padding:5px 8px;border-radius:6px;background:var(--brand-tint);color:var(--red);font-size:11px;font-weight:600}
[data-theme="dark"] #opportunity-count,[data-theme="dark"] #improvement-analysis .analysis-section-icon{color:#ffaaa3}
.analysis-focus{border:1px solid var(--line);border-radius:9px;background:var(--surface);padding:7px 11px;min-height:40px;gap:10px}
.analysis-focus [data-focus-label]{font-size:12px;color:var(--secondary)}
.analysis-focus button,[data-theme="dark"] .analysis-focus button{color:var(--secondary);font-size:11px}
.analysis-focus-actions [data-analysis-play]{border:1px solid var(--line);background:var(--surface-alt);padding:5px 9px;border-radius:6px}
.analysis-focus-actions [data-clear-analysis]{color:var(--muted)}
.opportunity-card{border:1px solid var(--line);border-radius:10px;box-shadow:none}
.opportunity-card:hover{border-color:var(--muted);box-shadow:none}
.opportunity-card.active{border-color:var(--blue);box-shadow:0 0 0 1px color-mix(in srgb,var(--blue) 35%,transparent)}
.opportunity-card .opportunity-open,.opportunity-card:last-child .opportunity-open{padding:15px;display:flex;flex-direction:column}
.opportunity-card .opportunity-open:hover{background:color-mix(in srgb,var(--surface-alt) 45%,transparent)}
.opportunity-topline{gap:8px}
.opportunity-rank{width:auto;height:auto;background:transparent;font-size:11px;color:var(--muted);font-weight:500}
[data-theme="dark"] .opportunity-rank{color:var(--muted)}
.opportunity-section-name{font-size:14px;font-weight:600}.opportunity-section-name small{font-size:11px}
.opportunity-evidence{font-size:10px;background:var(--surface-alt);font-weight:400}
.opportunity-visual{min-height:74px;margin:13px 0 12px;gap:8px}
.opportunity-visual>.corner-preview{width:68px;height:74px;padding:4px}
.opportunity-visual .opportunity-saving>span{font-size:11px;font-weight:450;color:var(--muted)}
.opportunity-visual .opportunity-saving strong{font-size:27px;margin:6px 0;letter-spacing:-.6px}
.opportunity-comparison{width:100%;margin:0 0 12px;border-top:1px solid var(--line)}
.pass-columns,.opportunity-comparison dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(70px,.85fr) minmax(70px,.85fr);column-gap:8px;align-items:baseline}
.pass-columns{padding:10px 0 7px;font-size:11px;font-weight:550;text-align:right}
.pass-columns small{display:block;font-size:10px;font-weight:400;margin-top:3px}
.current-pass-value{color:var(--loss)}.best-pass-value{color:var(--gain)}
.opportunity-comparison dl{margin:0}.opportunity-comparison dl>div{padding:6px 0}
.opportunity-comparison dt{color:var(--secondary);font-size:11px;line-height:1.35}
.opportunity-comparison dd{margin:0;text-align:right;font-size:15px;font-weight:550;font-variant-numeric:tabular-nums;white-space:nowrap}
.opportunity-comparison dd small{font-size:9px;font-weight:400;color:var(--muted);margin-left:3px}
.opportunity-comparison .pass-time-row{border-top:1px solid var(--line);padding-top:8px;margin-top:4px}
.pass-time-row dd{font-size:13px}.pass-time-row dt{font-size:10px}
.opportunity-open .opportunity-description{font-size:12px;line-height:1.55;margin:0 0 10px}
.opportunity-action,[data-theme="dark"] .opportunity-action{font-size:11px;color:var(--secondary);font-weight:550}
.opportunity-footer{padding:10px 13px;background:color-mix(in srgb,var(--surface-alt) 35%,transparent)}
.opportunity-footer>button{background:var(--surface);border-color:var(--line);color:var(--ink);font-weight:550;font-size:11px;min-height:31px}
.opportunity-footer>button:hover{border-color:var(--muted)}
.opportunity-footer>button.is-comparing{color:var(--loss)}
.graph-plot-area{min-width:0;container-type:inline-size;container-name:graph-plots}
[data-graph-style="side-by-side"] .graph-workspace{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:10px;align-items:start}
[data-graph-style="side-by-side"] #graphs{grid-template-columns:1fr}
[data-graph-style="side-by-side"] .add-graph-row{margin:0;padding:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0;align-self:stretch}
[data-graph-style="side-by-side"] #add-graph{width:40px;min-width:40px;max-width:40px;height:40px;padding:0;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--red);box-shadow:0 2px 6px #17212b06}
[data-graph-style="side-by-side"] #add-graph:hover:enabled{border-color:var(--red);background:var(--brand-tint)}
[data-graph-style="side-by-side"] #add-graph .icon{width:20px;height:20px}
[data-graph-style="side-by-side"] .add-graph-text{display:none}
[data-graph-style="side-by-side"] #graph-count{font-size:10px;line-height:1.4;text-align:center;max-width:42px}
@container graph-plots (min-width:760px){[data-graph-style="side-by-side"] #graphs:not([data-count="1"]){grid-template-columns:repeat(2,minmax(0,1fr))}}
@container graph-plots (min-width:1080px){[data-graph-style="side-by-side"] #graphs[data-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}}
.comparison-feedback{color:var(--loss);font-size:13px;line-height:1.5}.comparison-feedback:empty{display:none}
/* Revision 14: persistent development chrome and direct unit toggle. */
html{scroll-padding-top:calc(var(--development-toolbar-height,0px) + 12px)}
body{padding-top:var(--development-toolbar-height,0px)}
.development-toolbar{position:fixed;top:0;left:0;right:0;z-index:110;max-height:65dvh;overflow:auto;overscroll-behavior:contain}
.development-topline{position:sticky;top:0;background:inherit;z-index:1}
.telemetry-header .section-label{flex-wrap:wrap;min-width:0;row-gap:7px}
.units-toggle{display:inline-flex;align-items:center;flex-shrink:0;padding:3px;border:1px solid var(--line);border-radius:9px;background:var(--surface-alt);gap:2px}
.units-toggle label{position:relative;cursor:pointer;display:flex}
.units-toggle input{position:absolute;inset:0;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.units-toggle span{display:flex;align-items:center;justify-content:center;min-width:47px;min-height:29px;padding:4px 9px;border-radius:6px;font-size:12px;font-weight:600;color:var(--secondary)}
.units-toggle input:checked+span{background:var(--surface);color:var(--red);box-shadow:0 1px 4px #00000014}
.units-toggle input:hover+span{color:var(--red)}
.units-toggle input:focus-visible+span{outline:2px solid var(--blue);outline-offset:1px}
.telemetry-actions:empty,.telemetry-actions:not(:has(#comparison-axis:not([hidden]))){display:none}
.map-wrap.expanded{inset:calc(var(--development-toolbar-height,0px) + 12px) 12px 12px;width:auto;max-width:none;height:auto!important}
.video-panel.video-expanded:not(:fullscreen){top:var(--development-toolbar-height,0px)!important;height:calc(100dvh - var(--development-toolbar-height,0px))!important}
@media(max-width:650px){.telemetry-header .section-label{width:100%}.telemetry-header .quiet-separator{display:none}.telemetry-header #cursor-caption{margin-left:auto;font-size:10px}.units-toggle span{min-width:42px;padding:4px 7px}.telemetry-actions{margin-left:0}.development-dimensions{max-width:100%}}

.opportunity-focused{padding:2px 0 8px;border-bottom:1px solid var(--line)}
.opportunity-focused .pass-columns>span:first-child{text-align:left;font-size:10px;line-height:1.4;color:var(--muted);font-weight:400}
.opportunity-focused dt{font-size:12px;font-weight:550;color:var(--ink)}
.opportunity-focused dt small{display:block;color:var(--muted);font-size:10px;font-weight:400;margin-top:3px}
.opportunity-focused dd{font-size:20px;letter-spacing:-.3px}
.opportunity-focused dl>div{padding:8px 0}
.opportunity-open .opportunity-description{font-size:12px;line-height:1.7;margin-bottom:16px}
/* v15 — local recordings, a focused opportunity view, and anchored onboarding. */
.csv-session-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:-8px 0 15px;padding:10px 13px;border:1px solid var(--line);border-radius:8px;background:var(--surface,#fff);font-size:11px;color:var(--muted)}.csv-session-bar span{min-width:0;overflow-wrap:anywhere}.csv-session-bar button{white-space:nowrap;border:1px solid var(--line);border-radius:6px;padding:7px 10px;color:var(--ink);font-weight:600;background:var(--canvas)}.csv-dialog{max-width:660px}.csv-drop{display:flex;flex-direction:column;align-items:center;gap:9px;padding:24px 18px;background:var(--canvas);border:1px dashed var(--muted);border-radius:10px;cursor:pointer;text-align:center}.csv-drop span{font-size:15px;font-weight:600;overflow-wrap:anywhere}.csv-drop small{font-size:11px;color:var(--muted)}.csv-drop input{max-width:100%;font-size:12px;margin-top:7px}.csv-drop.dragging{border-color:var(--red);background:#e72e4010}.csv-status,.csv-success,.csv-error{margin:14px 0;font-size:12px}.csv-success{color:var(--gain,#269267)}.csv-error{color:var(--loss,#df4f5f)}.csv-summary{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--line);padding-bottom:15px;gap:12px}.csv-summary>div{display:flex;flex-direction:column;gap:5px}.csv-summary strong{font-size:24px;font-weight:600;letter-spacing:-.7px}.csv-summary span{font-size:11px;color:var(--muted)}.csv-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:16px 0}.csv-fields label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:var(--muted)}.csv-fields input,.csv-fields select{width:100%;min-width:0;background:var(--surface,#fff);color:var(--ink);border:1px solid var(--line);border-radius:7px;padding:10px}.csv-mapping{border:1px solid var(--line);border-radius:8px;padding:12px}.csv-mapping summary{font-size:12px;font-weight:600;cursor:pointer}.csv-laps{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0}.csv-laps>span{padding:6px 9px;border-radius:5px;background:var(--canvas);font-size:10px;color:var(--muted)}.csv-laps b{color:var(--ink);margin-left:6px;font-variant-numeric:tabular-nums}.csv-warning{font-size:11px;line-height:1.6;color:var(--muted)}.development-import{display:flex!important;flex-direction:row!important;align-items:center;gap:7px!important;align-self:end;min-height:35px;white-space:nowrap}.development-import input{accent-color:var(--red);width:16px;height:16px}.imported-map .track-edge,.imported-map #track-road{opacity:0}
.opportunity-v15{display:flex;flex-direction:column;overflow:hidden;border-radius:12px!important;box-shadow:0 3px 15px #00000003!important;background:var(--surface,#fff)!important;border:1px solid var(--line)!important}.opportunity-v15.active{border-color:var(--gain,#269267)!important}.opportunity-body{padding:20px 20px 16px;flex:1}.opportunity-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.opportunity-header h3{margin:7px 0 0;font-size:16px;font-weight:600;letter-spacing:-.35px}.opportunity-kicker{font-size:9px;color:var(--muted);letter-spacing:1px}.opportunity-header .corner-preview{width:68px;height:53px;flex-shrink:0;opacity:.85}.opportunity-v15 .opportunity-saving{display:flex;flex-direction:column;gap:5px;margin:0 0 18px}.opportunity-v15 .opportunity-saving strong{font-size:29px;line-height:1.2;letter-spacing:-1px;color:var(--gain,#229267);font-variant-numeric:tabular-nums}.opportunity-v15 .opportunity-saving strong small{font-size:14px;margin-left:5px}.opportunity-v15 .opportunity-saving>span{font-size:10px;color:var(--muted)}.opportunity-v15 .gain-range-separator{font-size:12px;letter-spacing:0;padding:0 6px;font-weight:400;vertical-align:middle}.opportunity-key-metrics{display:flex;flex-direction:column;gap:8px;margin-bottom:14px}.opportunity-key-metric{background:var(--canvas);border-radius:8px;padding:11px 12px}.opportunity-key-metric>span{display:flex;justify-content:space-between;gap:8px;font-size:11px;font-weight:550}.opportunity-key-metric>span small{font-size:9px;font-weight:400;color:var(--muted)}.opportunity-key-metric>div{display:flex;align-items:center;gap:15px;margin-top:9px}.opportunity-key-metric>div>span:not(.pass-arrow){display:flex;align-items:baseline;gap:7px}.opportunity-key-metric small{font-size:9px}.opportunity-key-metric b{font-size:19px;font-weight:550;letter-spacing:-.5px;font-variant-numeric:tabular-nums}.pass-arrow{color:var(--muted);font-size:13px}.opportunity-v15 .opportunity-description{font-size:12px;line-height:1.7;color:var(--muted);margin:0 0 12px}.opportunity-evidence-line{font-size:10px;color:var(--muted);line-height:1.6}.opportunity-v15 .opportunity-footer{border-top:1px solid var(--line);padding:12px 16px;display:flex;gap:8px;flex-wrap:wrap;justify-content:space-between;background:transparent}.opportunity-v15 .opportunity-footer button{font-size:10px;padding:7px 9px;min-height:32px}.opportunity-v15 .opportunity-play{border-color:transparent;background:var(--canvas);font-weight:600;color:var(--ink)}.opportunity-v15 .opportunity-action{font-size:10px;margin:0;color:inherit}
.tour-overlay{position:fixed;inset:0;z-index:800;pointer-events:auto;background:#090c101a}.tour-popover{position:fixed;max-height:calc(100dvh - var(--development-toolbar-height,38px) - 24px);overflow:auto;pointer-events:auto;padding:22px;border:1px solid var(--line);border-radius:15px;background:var(--surface,#fff);color:var(--ink);box-shadow:0 18px 80px #0006;z-index:802}.tour-highlight{outline:2px solid var(--red)!important;outline-offset:5px;box-shadow:0 0 0 6px #e72e4010!important;scroll-margin-block:calc(var(--development-toolbar-height,38px) + 20px)}.tour-step{display:flex;justify-content:space-between;align-items:center;gap:8px;color:var(--muted);font-size:9px;font-weight:600;letter-spacing:1px}.tour-step button{font-size:22px;line-height:1;width:28px;height:28px;border-radius:5px}.tour-progress{display:flex;gap:4px;margin:12px 0 20px}.tour-progress i{height:3px;flex:1;background:var(--line);border-radius:2px}.tour-progress .done{background:var(--red)}.tour-popover h2{margin:0 0 11px;font-size:20px;letter-spacing:-.5px;font-weight:600}.tour-popover p{font-size:13px;line-height:1.8;color:var(--muted);margin:0 0 23px}.tour-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}.tour-actions>button{font-size:11px;color:var(--muted);padding:8px 0}.tour-actions>div{display:flex;gap:8px;align-items:center}.tour-actions>div>button:not(.primary){font-size:12px;padding:8px}.tour-actions .button{min-height:36px;font-size:12px}.tour-active #product-workspace{pointer-events:none}.tour-active .development-toolbar{pointer-events:none}#help-btn{font-size:13px}#help-btn span{font-size:11px}
@media(max-width:650px){.csv-fields{grid-template-columns:1fr}.csv-session-bar{align-items:flex-start;flex-direction:column}.opportunity-body{padding:17px}.opportunity-v15 .opportunity-saving strong{font-size:28px}.global-nav{gap:10px}#help-btn{padding:7px}#help-btn span{display:none}}
/* v16: stronger opportunity previews and guide spotlight. */
.opportunity-header{gap:14px;margin-bottom:13px;align-items:center}.opportunity-header .corner-preview{width:126px;height:100px;max-width:43%;padding:8px;opacity:1;border:1px solid var(--line);border-radius:12px;background:linear-gradient(140deg,var(--canvas),color-mix(in srgb,var(--blue) 7%,var(--surface)));box-shadow:inset 0 1px 0 #ffffff10}.opportunity-v15 .opportunity-saving>.opportunity-promise{color:var(--ink);font-size:12px;font-weight:550;letter-spacing:0;margin-bottom:2px}.opportunity-v15 .opportunity-saving>span:last-child{font-size:10px;color:var(--muted)}
.tour-overlay{background:transparent}.tour-shade{position:fixed;background:#101217ad;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);pointer-events:none}.tour-spotlight{position:fixed;border:2px solid #fff;border-radius:12px;box-shadow:0 0 0 2px #e72e40cc,0 0 25px #e72e4040;pointer-events:none}.tour-highlight{outline:none!important;box-shadow:none!important}.tour-popover{box-shadow:0 20px 90px #0009}.tour-active #product-workspace{user-select:none}
@media(prefers-reduced-transparency:reduce){.tour-shade{backdrop-filter:none;-webkit-backdrop-filter:none;background:#101217df}}
@media(max-width:650px){.opportunity-header .corner-preview{width:116px;height:94px}}
