.hero{padding:24px 0 16px}.hero h1{font-size:38px}.controls{max-width:800px}.controls select{max-width:170px}.workspace-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px}.workspace-intro p{font-size:14px;margin:5px 0;color:var(--muted)}.display-actions{display:flex;gap:8px}.display-actions button{font-size:11px}.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:9px;overflow:hidden;margin:0 0 20px}.summary-grid>div{background:#121b1e;padding:14px 20px}.summary-grid small{display:block;font-size:10px;color:var(--muted)}.summary-grid strong{display:block;font-size:26px;line-height:1.3;margin-top:4px;font-variant-numeric:tabular-nums;letter-spacing:-.04em}.summary-grid>div:first-child strong{color:var(--lime)}.summary-grid.inset{margin:16px}.workspace-nav{display:flex;flex-wrap:wrap;gap:0 22px;overflow:visible}.workspace-nav button{padding:12px 0}.workspace-nav .hint{display:none}.research-bar{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;padding:16px;background:#101719;border:1px solid var(--line);border-radius:8px;margin-bottom:16px}.panel>.research-bar{border:0;border-bottom:1px solid var(--line);border-radius:0;margin-bottom:0}.research-bar label{display:flex;flex-direction:column;gap:5px;color:var(--muted);font-size:10px}.research-bar select,.research-bar input{color:var(--white);background:#1a2428;border:1px solid var(--line);border-radius:6px;padding:9px 11px;font-size:12px;min-height:39px}.research-bar select{max-width:240px}.record-search{flex:1;min-width:180px}.research-bar button{font-size:11px;min-height:39px}[hidden]{display:none!important}.ph h2{font-size:12px}.ph>div>span{display:block;margin-top:6px}.ph{gap:14px}.ph select,.ph button{font-size:11px}.view-note{font-size:11px;line-height:1.7;color:var(--muted);margin:14px 18px}.empty-state{padding:38px 22px;color:var(--muted);font-size:13px;border-bottom:1px solid var(--line)}.separated{margin-top:18px}.compound{display:inline-block;border-radius:4px;font-size:9px;font-weight:750;padding:3px 7px;background:#566367;color:#fff;letter-spacing:.05em}.SOFT{background:#fa606e;color:#25050b}.MEDIUM{background:#eccc53;color:#211e04}.HARD{background:#dde4e7;color:#1d272a}.INTERMEDIATE{background:#76c68a;color:#082e14}.WET{background:#62a7e5;color:#072543}.small-button{font-size:10px;padding:6px 9px}.mini-sector{display:flex;gap:2px;margin:3px 0}.seg{height:8px;width:7px;background:#596569}.s2048{background:#f0c756}.s2049{background:#63cf90}.s2051{background:#c084fc}.s2064{background:#b5c6cd}.tyre-legend{padding:18px;display:flex;gap:10px}.stint-row{display:flex;align-items:center;padding:6px 18px;gap:15px}.stint-row>b{width:38px;font-size:11px}.stint-track{height:29px;background:#0b1012;position:relative;flex:1;border-radius:4px;overflow:hidden}.stint-bar{position:absolute;height:27px;border-radius:3px;font-size:9px;padding:5px;overflow:hidden;white-space:nowrap;border-right:2px solid #0b1012;font-weight:650}#stintTable{margin-top:20px}.radio-player{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#1b272a;padding:22px}.radio-player strong{display:block;margin-top:5px}.radio-player audio{max-width:100%;width:400px}.radio-item{display:flex;align-items:center;gap:18px;padding:16px 22px;border-top:1px solid var(--line)}.radio-item>div:nth-child(2){flex:1}.radio-item small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.radio-item b{font-size:13px}.radio-item a{font-size:10px}.radio-badge{font-weight:800;color:var(--lime);font-size:16px;width:44px}.telemetry-layout{display:grid;grid-template-columns:1.6fr 1fr;gap:22px;padding:18px}.trace-panel{background:#0f171a;padding:15px;margin-bottom:10px;border:1px solid var(--line);border-radius:7px}.trace-head,.trace-axis{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted)}.trace-head b{text-transform:uppercase;color:var(--white);font-size:10px;letter-spacing:.1em}.trace{width:100%;height:100px;margin-top:12px}.trace-axis{font-size:9px}#locationPlot svg{width:100%;max-height:380px;background:#101719;border-radius:10px}.weather-traces{display:grid;grid-template-columns:1fr;gap:14px;padding:0 18px}.weather-traces:empty{display:none}.data-catalog{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;padding:18px}.dataset-card{padding:14px;text-align:left;background:#111a1d;display:flex;flex-direction:column;gap:7px;min-width:0}.dataset-card span{font-size:11px;font-weight:650}.dataset-card strong{font-size:24px;color:var(--lime);letter-spacing:-.04em}.dataset-card small{font-size:9px;color:var(--muted)}.pager{display:flex;align-items:center;justify-content:space-between;padding:16px;gap:12px}.pager span{font-size:11px;color:var(--muted)}.pager button{font-size:11px}.record-value{max-width:240px;display:inline-block;white-space:normal;font-size:10px;word-break:break-word}.view td{font-variant-numeric:tabular-nums}.view .table-wrap{max-height:66vh;overflow:auto}.view th{position:sticky;top:0;background:#172125;z-index:1}.tv-mode .workspace-intro,.tv-mode #coverageSummary{display:none}.tv-mode .workspace-nav{gap:0 18px}.tv-mode .workspace-nav button{font-size:12px}.tv-mode .controls{max-width:70%}.tv-mode .controls select{max-width:150px}
@media(max-width:1200px){.data-catalog{grid-template-columns:repeat(4,minmax(0,1fr))}.controls{max-width:100%}.controls select{max-width:210px}.telemetry-layout{grid-template-columns:1fr 1fr}}
@media(max-width:800px){.workspace-nav{gap:0 18px}.workspace-nav button{font-size:11px}.data-catalog{grid-template-columns:repeat(3,minmax(0,1fr))}.telemetry-layout{grid-template-columns:1fr}.workspace-intro{align-items:flex-start;flex-direction:column}.summary-grid>div{padding:12px}.summary-grid strong{font-size:23px}.radio-item{gap:10px}.radio-player{flex-direction:column;align-items:stretch}.tv-mode .controls{max-width:100%}.hero h1{font-size:32px}}
@media(max-width:520px){.data-catalog{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-grid strong{font-size:23px}.summary-grid small{font-size:9px}.workspace-nav{gap:0 17px}.research-bar{padding:12px;gap:10px}.research-bar label{flex:1;min-width:125px}.research-bar select,.research-bar input{width:100%;max-width:none}.research-bar button{flex:1}.ph{flex-wrap:wrap}.ph span{font-size:9px}.ph select{max-width:190px}.radio-item{flex-wrap:wrap}.radio-item a{margin-left:auto}.radio-item>div:nth-child(2){min-width:140px}.view td,.view th{padding:11px 12px}.display-actions{width:100%}.display-actions button{flex:1}.hero .controls select{min-width:135px!important;max-width:none!important;flex:1}.hero .controls #race{flex-basis:100%}.view .table-wrap{max-height:65vh}}

.pace-chart{padding:18px}.pace-chart svg{width:100%;max-height:310px}.pace-chart text{fill:#afbdc0;font-size:12px}#driverView .summary-grid{grid-template-columns:repeat(3,1fr)}#driverView .research-bar{flex-wrap:wrap}#driverDataLinks{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;padding:18px}@media(max-width:600px){#driverView .summary-grid{grid-template-columns:repeat(2,1fr)}#driverView .ph{flex-wrap:wrap;gap:12px}}

.sector-fastest{color:#d89aff!important;background:#a84eff18;font-weight:750}.sector-leaders{display:flex;flex-wrap:wrap;gap:22px;padding:14px 18px;font-size:12px}.sector-leaders b{color:#d89aff}

.run-pace{font-size:17px;color:var(--lime)}.driver-runs{border-top:1px solid var(--line);padding:18px}.driver-runs summary{cursor:pointer;display:flex;justify-content:space-between;gap:14px}.driver-runs summary span{color:var(--muted);font-size:12px}.detected-run{background:#111a1c;padding:18px;margin-top:14px;border-radius:8px}.detected-run h3{font-size:14px}.detected-run p{font-size:12px;color:#b6c4c8}.run-laps{display:flex;flex-wrap:wrap;gap:8px}.run-laps button{display:grid;gap:7px;min-width:105px;text-align:left}.run-laps small,.run-laps span{font-size:10px;color:var(--muted)}.run-laps strong{color:var(--lime);font-size:16px}.driver-records{margin-top:15px}#racepaceView .research-bar{flex-wrap:wrap}@media(max-width:600px){.driver-runs summary{flex-direction:column}.detected-run{padding:12px}}

.pace-check{width:20px!important;height:20px;accent-color:var(--lime)}#paceReferenceSource a{color:var(--lime)}#paceReferenceTable{margin-bottom:20px}

.pace-team{display:block;color:var(--muted);margin-top:5px;font-size:10px}

.view,#researchBar,#dataRecords{scroll-margin-top:18px}
.grid-penalty-panel{padding:14px 18px;border-bottom:1px solid var(--line)}
.grid-penalty-panel h3{margin:0;font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.grid-penalty-panel>p,.grid-penalty-empty{font-size:11px;color:var(--muted);margin:6px 0}
#gridPenaltyCards{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.grid-penalty-card{width:220px;max-width:100%;padding:14px;background:#ffcf6210;border:1px solid #c99a3d;border-radius:8px;overflow-wrap:anywhere}
.grid-penalty-card header{height:auto;min-height:32px;border:0;justify-content:flex-start;gap:6px;margin-bottom:10px}
.grid-penalty-card b{color:#ffd477;font-size:14px;display:block}.grid-penalty-card p{font-size:11px;margin:5px 0 12px}
.timing-table tr.grid-penalized{background:#ffcf6210}.timing-table tr.grid-penalized td:first-child{border-left:3px solid #e5b64d}

.session-comments{list-style:none;margin:0;padding:0 20px 20px}.session-comments li{display:grid;grid-template-columns:170px minmax(0,1fr);gap:20px;padding:16px 0;border-bottom:1px solid #30393d}.session-comment-meta{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#aebcbf}.session-comment-meta time{font-variant-numeric:tabular-nums}.session-comment-meta span{color:#f4f6f6;font-weight:600}.session-comments p{margin:0;line-height:1.55;overflow-wrap:anywhere;white-space:pre-wrap}@media(max-width:600px){.session-comments{padding:0 14px 14px}.session-comments li{grid-template-columns:1fr;gap:8px}.session-comment-meta{flex-direction:row;flex-wrap:wrap;gap:12px}}

.places-change{font-variant-numeric:tabular-nums;font-weight:800;white-space:nowrap;text-align:center}.places-up{color:#56ef9a!important}.places-down{color:#ff6b75!important}.places-even{color:#98a7b3!important}

.workspace-nav{display:block;border-top:1px solid var(--line);padding:5px 0}.nav-group{display:flex;align-items:center;flex-wrap:wrap;gap:0 21px}.nav-group>span{font-size:8px;letter-spacing:.12em;color:#6c838a;min-width:122px}.nav-group button{font-size:11px!important;padding:11px 0!important}.overview-heading,.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.overview-heading{margin:14px 0 22px}.overview-heading h2{font-size:30px;letter-spacing:-.04em;margin:9px 0}.overview-heading p,.section-heading span{color:var(--muted);font-size:12px}.overview-heading button{font-size:11px}.weekend-sessions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:22px}.weekend-session{display:flex;flex-direction:column;text-align:left;gap:10px;min-height:113px;padding:17px;background:#111b1e;border-radius:8px}.weekend-session small{font-size:8px;letter-spacing:.14em;color:#8b9c9f}.weekend-session b{font-size:17px}.weekend-session span{font-size:10px;color:var(--muted)}.weekend-session.selected{border-color:var(--lime);background:#1b2720}.weekend-session.selected small{color:var(--lime)}.weekend-session:disabled{opacity:.55;cursor:default}.overview-stats{grid-template-columns:repeat(6,minmax(0,1fr));margin-bottom:30px}.section-heading{margin:26px 0 16px}.section-heading h2{font-size:19px;margin:0 0 7px;letter-spacing:-.03em}.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.feature-card{background:linear-gradient(135deg,#192528,#101719);text-align:left;padding:23px;min-height:180px;border-radius:9px}.feature-card:hover,.roster-card:hover{border-color:#718747;background:#1b2828}.feature-index{color:var(--lime);font-size:9px;letter-spacing:.12em}.feature-card h3{font-size:21px;letter-spacing:-.04em;margin:16px 0 10px}.feature-card p{font-size:12px;color:#9eafb3;line-height:1.6;max-width:290px}.feature-card>b{display:block;font-size:10px;color:#e5efda;margin-top:20px}.conditions-line{padding:17px 20px;color:#92a8ae;background:#0e181c;border:1px solid #26373c;border-radius:8px;font-size:11px;margin:16px 0 25px}.roster-search{font-size:9px;color:var(--muted);display:flex;flex-direction:column;gap:7px}.roster-search input{padding:11px;background:#172327;color:var(--white);border:1px solid var(--line);border-radius:6px;width:230px}.roster-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.roster-card{border-top:3px solid var(--driver-color);text-align:left;padding:18px;background:#121b1e;border-radius:8px;min-width:0}.roster-card>div:first-child{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.roster-code{font-size:24px;font-weight:850;letter-spacing:-.05em;color:var(--driver-color)}.roster-number{font-size:27px;color:#52666c;font-weight:800}.roster-card>b{display:block;font-size:13px;margin-bottom:5px}.roster-card>small{color:var(--muted);font-size:10px}.roster-stats{display:flex;gap:18px;padding:16px 0 4px}.roster-stats span{display:flex;flex-direction:column;font-size:9px;gap:4px;color:var(--muted)}.roster-stats strong{font-size:16px;color:#e9eff0;font-variant-numeric:tabular-nums}.roster-card p{font-size:9px;color:#a5b4b8;margin:13px 0}.roster-open{display:block;color:#b9cb9b;font-size:9px;margin-top:16px}.analysis-strip{display:flex;align-items:center;justify-content:space-between;gap:25px;margin:25px 0;background:#17211e;border:1px solid #3b4a2b;border-radius:9px;padding:23px}.analysis-strip h3{font-size:19px;margin:10px 0}.analysis-strip p{font-size:11px;color:var(--muted);margin:0}.analysis-strip>div:last-child{display:flex;gap:8px;flex-wrap:wrap}.analysis-strip button{font-size:11px}.source-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.source-card{padding:24px}.source-card h2{font-size:22px;margin:15px 0}.source-card p{color:#9bafb3;line-height:1.8;font-size:12px}.source-card a{color:var(--lime);font-size:12px}.source-card button{font-size:11px;margin-top:10px}.coverage-state{font-size:11px;color:#d5e5bd}.report-tabs{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px}.report-tabs button{font-size:11px}.report-tabs .selected{border-color:var(--lime);color:var(--lime)}#officialSource{font-size:11px;color:var(--lime)}.driver-shortcuts{display:flex;gap:9px;flex-wrap:wrap;padding:0 16px 20px}.driver-shortcuts button{font-size:11px}.optional-analysis>summary{padding:20px;font-size:13px;cursor:pointer}.optional-analysis .view-note{margin-top:0}#driverView #driverRecordSummary{grid-template-columns:repeat(4,1fr)}#coverageSummary{display:none}.hero{padding-bottom:12px}.workspace-intro{margin-bottom:12px}
@media(max-width:1000px){.roster-grid{grid-template-columns:repeat(3,1fr)}.overview-stats{grid-template-columns:repeat(3,1fr)}.source-grid{grid-template-columns:1fr}.analysis-strip{align-items:flex-start;flex-direction:column}.nav-group>span{width:100%;padding:11px 0 2px}.feature-card{padding:17px}.weekend-sessions{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.feature-card{min-height:190px}.feature-card h3{font-size:18px}.feature-card p{font-size:11px}.feature-index{font-size:8px}.roster-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.roster-card{padding:13px}.roster-card>b{font-size:11px}.roster-stats{gap:10px}.roster-stats strong{font-size:14px}.section-heading,.overview-heading{align-items:flex-start;flex-direction:column;gap:12px}.section-heading h2{font-size:18px}.roster-search,.roster-search input{width:100%}.weekend-sessions{grid-template-columns:repeat(2,1fr)}.weekend-session{min-height:98px}.overview-heading h2{font-size:27px}.overview-stats>div{padding:12px 10px}.overview-stats strong{font-size:22px}.overview-stats small{font-size:8px}.nav-group{gap:0 17px}.nav-group button{font-size:10px!important}.driver-shortcuts button{flex:1;white-space:nowrap}#driverView #driverRecordSummary{grid-template-columns:repeat(2,1fr)}}

.mobile-dock{display:none}#driverRecordSummary strong{font-size:21px}#driverRecordSummary>div:nth-child(6) strong{font-size:15px;line-height:1.8}
@media(max-width:650px){.app{padding-bottom:95px}.mobile-dock{position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,1fr);gap:4px;background:#131e21ef;backdrop-filter:blur(14px);padding:10px 10px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #35494f;z-index:100}.mobile-dock button{font-size:11px;padding:13px 5px}.mobile-dock button.active{color:var(--lime);border-color:#708e3a}#driverRecordSummary strong{font-size:19px}}

.live-entry{display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(115deg,#28381e,#14201b);border:1px solid #536d37;border-radius:10px;padding:22px;margin:0 0 26px}.live-entry h2{font-size:22px;letter-spacing:-.035em;margin:9px 0}.live-entry p{font-size:12px;color:#b4c59e;margin:0}.live-entry button{font-size:12px;padding:14px 20px}.live-layout{display:grid;grid-template-columns:1fr 1fr;gap:18px}.live-card{padding:26px}.live-card h2{font-size:23px;line-height:1.3;letter-spacing:-.035em;margin:15px 0}.live-card p{font-size:13px;color:#a5b7bc;line-height:1.8}.live-card a{color:var(--lime);font-size:12px}.live-checks{display:grid;grid-template-columns:1fr;gap:12px;border-block:1px solid var(--line);padding:18px 0}.live-checks>div{display:flex;justify-content:space-between;gap:15px}.live-checks small{font-size:11px;color:var(--muted)}.live-checks b{font-size:11px}.live-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.live-actions button{font-size:12px}.live-card .live-account-help{font-size:11px;line-height:1.7;color:#90a7ae}.next-label{display:block;font-size:9px;color:var(--lime);letter-spacing:.1em;margin-top:30px}.watch-primary{display:inline-block;background:var(--lime);color:#17210b!important;padding:14px 20px;border-radius:7px;font-weight:750;margin:7px 0 15px;text-decoration:none}.watch-fallback{display:flex;align-items:center;gap:22px;margin-bottom:18px}.watch-fallback button{font-size:11px}.watch-card label{display:flex;flex-direction:column;gap:7px;font-size:10px;color:var(--muted)}.watch-card input{width:100%;min-width:0;background:#0e171a;border:1px solid var(--line);color:#b2c5c9;padding:10px;border-radius:5px;font-size:10px}.activation-link{display:inline-block;margin-top:20px}.watch-help{padding:21px;border:1px solid var(--line);background:#152024;border-radius:8px;margin-top:18px}.watch-help b{font-size:13px}.watch-help p{font-size:12px;color:#a5b7bc;line-height:1.7}#watchLinkStatus:empty{display:none}
@media(max-width:750px){.live-layout{grid-template-columns:1fr}.live-card{padding:20px}.live-entry{align-items:flex-start;flex-direction:column}.live-entry h2{font-size:21px}.live-entry button{width:100%}.live-checks b{font-size:10px}.watch-primary{width:100%;text-align:center}}

#overviewSessionContent[hidden],#weekendLinks[hidden]{display:none!important}body[data-view="overview"] :is(#coverageSummary,.session-strip,#researchBar,.timeline){display:none!important}body[data-view="overview"] .workspace-intro{display:flex!important}body .nav [data-view="overview"]{display:inline-block!important}#weekendLinks{margin:16px 0}#weekendSelectionHint{line-height:1.7}

.weekend-heading-actions{display:flex;flex-wrap:wrap;gap:8px}.nav [data-current-weekend].active{color:var(--lime)}


:root{color-scheme:dark;--bg:#0c1012;--panel:#141a1d;--line:#2a3337;--muted:#8f9fa5;--white:#ecf3f4;--lime:#d7fa64;--red:#ff6573}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--white);font:14px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,select,input{font:inherit}button,a,select,input{touch-action:manipulation}button,select{color:inherit;background:#20292d;border:1px solid var(--line);border-radius:7px;padding:10px 14px}button{cursor:pointer}button:hover{border-color:var(--lime)}button:disabled{opacity:.45;cursor:wait}a{color:var(--lime)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--lime);outline-offset:4px}.mono,.num{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-variant-numeric:tabular-nums}.app{max-width:1600px;margin:auto;padding:0 28px 28px}header{height:83px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:16px}.brand{display:flex;align-items:center;gap:12px}.brand-logo{display:block;width:76px;height:76px;object-fit:contain;flex:none;border-radius:8px}.brand b{font-size:17px;letter-spacing:.15em}.eyebrow{font-size:10px;font-weight:650;color:var(--muted);letter-spacing:.16em;text-transform:uppercase}.brand .eyebrow{font-size:9px}.header-right{display:flex;align-items:center;gap:18px}.pill{font-size:10px;border:1px solid #3b4934;background:#1e2920;color:var(--lime);padding:5px 9px;border-radius:20px;letter-spacing:.07em}.watchlink{text-decoration:none;padding:10px 14px;border:1px solid var(--line);border-radius:7px;color:var(--white);font-size:12px}.hero{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:32px 0 25px}.hero h1{margin:5px 0 7px;font-size:clamp(28px,3.4vw,49px);line-height:1.1;letter-spacing:-.045em}.hero h1 span{color:var(--lime)}.sub{color:var(--muted);font-size:12px}.controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.controls select{max-width:210px;font-size:12px}.primary{background:var(--lime);color:#17200c;border-color:var(--lime);font-weight:750}.nav{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:20px;overflow-x:auto}.nav button{background:none;border:0;border-radius:0;padding:12px 0;white-space:nowrap;font-size:12px;color:var(--muted)}.nav button.active{color:var(--lime);border-bottom:2px solid var(--lime)}.nav .hint{margin-left:auto;align-self:center;font-size:10px;color:var(--muted);white-space:nowrap}.notice{padding:11px 14px;background:#172320;border:1px solid #30423a;border-radius:7px;font-size:12px;margin-bottom:18px;display:flex;align-items:center;gap:12px}.notice.error{background:#2c1b20;border-color:#78414b}.notice span{flex:1}.notice button{padding:4px 9px;font-size:11px}.grid{display:grid;grid-template-columns:minmax(0,1fr) 325px;gap:18px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:10px;overflow:hidden}.ph{display:flex;justify-content:space-between;align-items:center;padding:15px 18px;border-bottom:1px solid var(--line)}.ph h2{margin:0;font-size:11px;letter-spacing:.12em;text-transform:uppercase}.ph span{color:var(--muted);font-size:10px}.wall{display:grid;grid-template-columns:1fr 1fr;gap:12px}.drivercard{background:linear-gradient(130deg,#1a2326,#111719);border:1px solid var(--line);border-radius:10px;overflow:hidden;position:relative}.driverhead{padding:14px 16px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #ffffff09}.driverhead:before{content:'';width:3px;height:25px;background:var(--team)}.driverhead select{padding:5px 4px;border:0;background:transparent;font-weight:700;flex:1;min-width:0;font-size:12px}.tag{font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.driverbody{padding:18px 20px;min-height:124px;display:flex;justify-content:space-between;align-items:center}.driverbody h3{font-size:26px;line-height:1.1;letter-spacing:-.04em;margin:4px 0 6px;max-width:200px}.driverbody .team{font-size:10px;color:var(--muted)}.car-number{font-size:62px;font-weight:900;font-style:italic;letter-spacing:-.09em;line-height:1;color:var(--team);opacity:.85}.metrics{display:grid;grid-template-columns:repeat(4,1fr);padding:12px 16px;background:#0b101244;gap:8px}.metric b{font-size:13px;display:block;margin-top:4px}.metric small{font-size:8px;letter-spacing:.08em;color:var(--muted);text-transform:uppercase}.spark{height:42px;margin:0 16px 10px}.spark svg{width:100%;height:100%}.cardfoot{display:flex;justify-content:space-between;padding:10px 16px;font-size:9px;border-top:1px solid #ffffff08;color:var(--muted)}.cardfoot span:first-child{color:var(--lime)}.tower{max-height:645px;overflow:auto}.tower-head,.row{display:grid;grid-template-columns:25px 1fr 41px 47px;align-items:center;gap:7px;padding:9px 14px}.tower-head{color:var(--muted);font-size:8px;letter-spacing:.08em}.row{border:0;border-top:1px solid #ffffff05;border-radius:0;width:100%;background:transparent;text-align:left;padding-top:8px;padding-bottom:8px;font-size:12px}.row:hover,.row.pinned{background:#d7fa6408}.row.pinned .pos{color:var(--lime)}.row .name{border-left:2px solid var(--team);padding-left:9px;font-weight:650}.row .name small{display:block;color:var(--muted);font-weight:400;font-size:9px}.tyre{font-size:10px;font-weight:700;color:#f5e279}.row .lap{font-size:10px;color:var(--muted)}.below{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px}.events{max-height:220px;overflow:auto;padding:6px}.event{display:flex;width:100%;border:0;border-bottom:1px solid #ffffff06;background:transparent;border-radius:0;text-align:left;gap:12px;padding:10px;font-size:11px}.event time{font-size:10px;color:var(--lime);min-width:49px}.event small{display:block;color:var(--muted);font-size:8px;text-transform:uppercase;letter-spacing:.08em}.empty{color:var(--muted);font-size:12px;padding:22px}.weather{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:20px}.weather b{display:block;font-size:24px;font-weight:600;margin-top:4px}.weather small{font-size:9px;color:var(--muted);text-transform:uppercase}.timeline{margin-top:18px;padding:18px 20px}.tl-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.tl-top strong{font-size:12px}.tl-top .clock{color:var(--lime);font-size:20px;letter-spacing:-.05em}.tl-top .right{margin-left:auto;display:flex;gap:7px;align-items:center}.tl-top button,.tl-top select{font-size:11px;padding:8px 10px}.track{position:relative;margin-top:18px;padding-top:13px}.track input{width:100%;accent-color:var(--lime);height:18px;margin:0}.markers{position:absolute;left:8px;right:8px;top:0;height:10px;pointer-events:none}.mark{position:absolute;width:3px;height:8px;background:#fcbd64}.time-labels{display:flex;justify-content:space-between;color:var(--muted);font-size:9px}.legend{display:flex;gap:18px;color:var(--muted);font-size:9px;margin-top:12px}.legend .accent{color:#fcbd64}footer{display:flex;justify-content:space-between;gap:16px;color:#7e9097;font-size:10px;margin-top:22px}footer a{color:#a4b7bc}.view[hidden]{display:none!important}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{font-size:9px;color:var(--muted);font-weight:500;text-transform:uppercase;letter-spacing:.08em}th,td{padding:14px 18px;border-bottom:1px solid var(--line);white-space:nowrap}td b{color:var(--lime)}.history-intro{padding:24px}.history-intro h2{font-size:28px;margin:0 0 8px;letter-spacing:-.035em}.racecards{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:0 24px 24px}.racecard{text-align:left;background:#192226;padding:18px}.racecard strong{display:block;font-size:17px;margin:10px 0 4px}.racecard small{color:var(--muted);font-size:10px}.racecard .arrow{float:right;color:var(--lime)}.watch-note{padding:20px 24px;margin-bottom:16px;display:flex;gap:20px;justify-content:space-between;align-items:center}.watch-note h2{font-size:20px;margin:0 0 6px}.watch-note p{margin:0;color:var(--muted);font-size:12px;max-width:680px}.compact .driverbody{min-height:80px;padding:12px 18px}.compact .driverbody h3{font-size:20px}.compact .car-number{font-size:44px}.compact .spark{display:none}.compact .below{display:none}.compact .hero{padding:16px 0}.compact .hero h1{font-size:27px}.compact .tower{max-height:480px}.source{color:var(--muted);font-size:9px}dialog{max-width:520px;width:calc(100% - 32px);background:var(--panel);color:var(--white);border:1px solid var(--line);border-radius:12px;padding:26px}dialog::backdrop{background:#000b}dialog h2{margin-top:0}dialog p{color:var(--muted);font-size:13px}.toplabel{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px}.toplabel h2{font-size:11px;letter-spacing:.12em;margin:0}.toplabel span{color:var(--muted);font-size:10px}
@media(min-width:1450px){.driverbody{min-height:150px}.car-number{font-size:78px}.driverbody h3{font-size:32px}}
@media(max-width:1100px){.grid{grid-template-columns:1fr 275px}.app{padding:0 20px 24px}.hero{align-items:flex-start;flex-direction:column;gap:16px}.controls select{max-width:280px}.metrics{padding:12px;gap:5px}.metric b{font-size:11px}.driverbody h3{font-size:22px}.car-number{font-size:50px}}
@media(max-width:800px){.grid{grid-template-columns:1fr}.tower{max-height:360px}.racecards{grid-template-columns:1fr 1fr}.header-right .pill{display:none}.watch-note{align-items:flex-start;flex-direction:column}.nav .hint{display:none}}
@media(max-width:520px){.header-right .watchlink{font-size:9px;padding:6px}.header-right #help{display:none}.app{padding:0 12px 20px}header{height:68px}.brand b{font-size:14px}.brand .eyebrow{font-size:8px}.brand-logo{width:58px;height:58px}.brand{gap:8px}.header-right{gap:4px}.watchlink{padding:8px;font-size:10px}.hero{padding:24px 0 20px}.hero h1{font-size:33px}.controls{width:100%}.controls select:nth-child(2){flex:1;max-width:200px}.controls button{flex:1}.nav{gap:22px;margin-bottom:14px}.wall{gap:9px}.driverhead{padding:9px 8px;gap:4px}.driverhead .tag{display:none}.driverhead select{font-size:11px}.driverbody{min-height:110px;padding:13px 12px;align-items:flex-start;position:relative}.driverbody h3{font-size:20px;max-width:105px;position:relative;z-index:1}.car-number{font-size:44px;position:absolute;right:10px;bottom:12px;opacity:.4}.driverbody .team{font-size:9px;max-width:100px}.metrics{grid-template-columns:1fr 1fr;gap:10px;padding:12px}.metric b{font-size:12px}.metric small{font-size:8px}.spark{height:32px;margin:0 10px 8px}.cardfoot{padding:9px 10px;font-size:8px}.below{grid-template-columns:1fr}.timeline{padding:14px}.tl-top .right{width:100%;margin-left:0;justify-content:space-between}.tl-top .clock{margin-left:auto}.legend{flex-wrap:wrap;gap:8px}.racecards{padding:0 14px 14px;gap:9px}.history-intro{padding:18px}.racecard{padding:12px}.racecard strong{font-size:15px}footer{flex-direction:column;gap:6px}.notice{font-size:11px}.compact .wall{grid-template-columns:1fr 1fr}.compact .driverbody{min-height:86px}.compact .driverbody h3{font-size:19px}}

.tv-mode .app{max-width:1800px}.tv-mode header{height:58px}.tv-mode .hero{padding:14px 0}.tv-mode .hero h1{font-size:30px}.tv-mode .hero .eyebrow{display:none}.tv-mode .nav{margin-bottom:12px}.tv-mode .notice{margin-bottom:12px;padding:7px 12px}.tv-mode .driverbody{min-height:75px;padding:10px 18px}.tv-mode .driverbody h3{font-size:22px;max-width:none}.tv-mode .driverbody h3 br{display:none}.tv-mode .driverbody h3 br:after{content:' '}.tv-mode .car-number{font-size:48px}.tv-mode .driverhead{padding:7px 12px}.tv-mode .driverhead select{font-size:13px}.tv-mode .metrics{padding:9px 16px}.tv-mode .metric b{font-size:16px}.tv-mode .metric small{font-size:10px}.tv-mode .spark{height:26px;margin-bottom:4px}.tv-mode .cardfoot{padding:6px 16px;font-size:10px}.tv-mode .below{display:none}.tv-mode .tower{max-height:430px}.tv-mode .row{font-size:14px;padding-top:6px;padding-bottom:6px}.tv-mode .timeline{margin-top:12px;padding:12px 18px}.tv-mode .track{margin-top:7px}.tv-mode footer{margin-top:10px}.tv-mode .toplabel{margin-bottom:8px}.tv-mode .grid{grid-template-columns:minmax(0,1fr) 280px}.tv-mode .header-right .pill{display:none}.tv-mode .controls select{max-width:170px}.tv-mode .hero{flex-direction:row;align-items:center}
@media(max-width:800px){.tv-mode .grid{grid-template-columns:1fr}.tv-mode .hero{flex-direction:column;align-items:flex-start}.tv-mode .metric b{font-size:13px}}@media(min-width:801px) and (max-width:1150px){.tv-mode .grid{grid-template-columns:minmax(0,1fr) 230px}.tv-mode .driverbody h3{font-size:19px}.tv-mode .metrics{gap:5px;padding:8px 10px}.tv-mode .metric b{font-size:12px}.tv-mode .metric small{font-size:8px}}

.session-strip{display:flex;align-items:center;gap:26px;padding:15px 18px;background:#111a1c;border:1px solid var(--line);border-radius:9px;margin-bottom:18px}.session-strip small{display:block;color:var(--muted);font-size:8px;letter-spacing:.13em}.session-strip strong{display:block;font-size:12px;margin-top:5px}.session-strip button{margin-left:auto;font-size:11px}.live-good{color:var(--lime)}.live-bad{color:#ffba76}.timing-note{font-size:11px;color:var(--muted);padding:12px 18px}.timing-table th{position:sticky;top:0;background:#182125}.timing-table td,.timing-table th{padding:11px 13px}.driver-inline{display:flex;align-items:center;gap:9px}.driver-inline i{height:25px;width:3px;background:var(--team)}.driver-inline small{display:block;font-size:9px;color:var(--muted)}.timing-table button{padding:3px 5px;border:0;background:transparent;text-align:left}.timing-table .best{color:var(--lime)}.quick-sessions{display:flex;flex-wrap:wrap;gap:8px;padding:0 24px 20px}.quick-sessions button{font-size:11px}.connection-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.connection-head h2{margin:0}.connection-head button{padding:4px 10px}.connection-actions{display:flex;gap:8px;flex-wrap:wrap}#connection input{display:block;width:100%;padding:12px;background:#0c1114;border:1px solid var(--line);border-radius:6px;color:white;margin:8px 0}#connection label{font-size:12px}.controls select{max-width:180px}.nav{gap:20px}.timing-table .telemetry{font-size:10px;color:var(--muted)}.tv-mode .session-strip{padding:10px 16px;margin-bottom:10px}.tv-mode .timing-table td{font-size:14px}.tv-mode #timingView .table-wrap{max-height:58vh;overflow:auto}.nav button.active{font-weight:650}.mode-live .timeline .track,.mode-live .timeline .time-labels,.mode-live .timeline .tl-top .right{display:none}.mode-live .timeline .legend{margin-top:8px}.mode-live .timeline .clock{margin-left:auto}.mode-live #modeLabel{color:var(--lime)}
@media(max-width:1100px){.session-strip{gap:15px}.header-right .watchlink{display:none}}@media(max-width:650px){.session-strip{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px}.session-strip button{grid-column:1/-1;margin:0}.session-strip strong{font-size:11px}.controls select{flex:1;max-width:none!important;min-width:110px}.controls select#race{flex-basis:100%}.nav{gap:18px}.header-right #connectLive{font-size:10px;padding:8px}.quick-sessions{padding:0 14px 14px}.timing-table td,.timing-table th{padding:10px}.hero h1{font-size:30px}.tv-mode .session-strip{padding:10px}}

/* Blend the existing black logo background into the application surface. */
.brand-logo{mix-blend-mode:normal;border-radius:0!important;background:transparent!important}
.view .table-wrap{max-height:none!important;overflow-x:auto;overflow-y:visible}
.fit-chart-button{white-space:nowrap;margin-left:auto;font-size:11px}
#chartFit{width:calc(100vw - 16px);max-width:none;height:calc(100dvh - 16px);max-height:none;margin:auto;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--bg);color:var(--white);overflow:hidden}
#chartFit::backdrop,#installApp::backdrop{background:#000b}
.fit-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;height:42px}.fit-toolbar h2{font-size:15px;margin:0}.fit-toolbar button{padding:8px 15px}
.fit-viewport{position:relative;width:100%;height:calc(100% - 75px);overflow:hidden;margin-top:8px}
.fit-content{position:absolute;transform-origin:top left;max-width:none!important}
.fit-content .panel{margin:0!important;max-width:none!important}.fit-content .table-wrap{max-height:none!important;overflow:visible!important}.fit-content table{width:100%}
.fit-content .fit-chart-button,.fit-content .research-bar,.fit-content .ph select,.fit-content .ph label,.fit-content .view-note,.fit-content .timing-note{display:none!important}
.fit-content button{pointer-events:none}.fit-note{margin:6px 0 0;color:var(--muted);font-size:11px}
#installApp{max-width:450px;background:var(--panel);color:var(--white);padding:24px;border:1px solid var(--line);border-radius:12px}#installApp h2{margin-top:0}#installApp li{margin:12px 0}#installApp p{color:var(--muted);font-size:12px}
@media(max-width:600px){.fit-toolbar h2{font-size:12px}.fit-note{font-size:10px}.fit-chart-button{padding:8px 10px}.install-app-button{font-size:10px;padding:8px}#chartFit{padding:9px}}
@media(display-mode:standalone){.install-app-button{display:none}.app{padding-top:env(safe-area-inset-top);padding-bottom:max(28px,env(safe-area-inset-bottom))}}
.fit-content td,.fit-content th{padding:5px 8px!important;font-size:12px!important}.fit-content button{padding:0!important}.fit-content button:disabled{opacity:1;cursor:default}.fit-content .ph{padding:10px 14px}.fit-content .sector-leaders{padding:8px 14px}

.team-logo{display:inline-block!important;width:28px!important;height:22px!important;object-fit:contain;vertical-align:middle;flex:0 0 28px;margin-right:7px}.watch-table-wrap .team-logo{margin-right:0}.driverbody h3 .team-logo{width:34px!important;height:28px!important}.name .team-logo{float:left}#watchDriver>.team-logo{float:left;margin-top:4px}

.restoring-workspace .app{visibility:hidden}.restoring-workspace #sessionLoading{display:grid!important}.restoring-workspace #sessionLoading[hidden]{display:grid!important}

.logo-light-back{background:#eaf0f3;border-radius:3px;padding:2px}.driver-inline>span,.drivercard h3,.tower .name,.row .name{color:var(--team)}.driver-inline small,.name small{color:var(--muted)}

.team-logo-tint{mask-size:contain;mask-repeat:no-repeat;mask-position:center;-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center}

.result-driver,.result-team{display:flex;align-items:center;gap:8px;min-width:0}.result-driver .team-logo,.result-team .team-logo{margin:0;flex-shrink:0}.result-driver b{display:block;font-weight:600}.result-driver small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.result-team>span:last-child{white-space:normal}

body[data-view="home"] .hero,body[data-view="home"] .workspace-intro,body[data-view="home"] #coverageSummary,body[data-view="home"] .notice,body[data-view="home"] .session-strip,body[data-view="home"] #researchBar,body[data-view="home"] .timeline{display:none!important}
body:not(.has-session) .session-strip,body:not(.has-session) .timeline,body:not(.has-session) #coverageSummary{display:none!important}
body:not(.has-session) .nav .hint{display:none}
body[data-view="live"] .hero,body[data-view="live"] .workspace-intro,body[data-view="live"] #coverageSummary,body[data-view="live"] .session-strip,body[data-view="live"] .timeline{display:none!important}
.home-welcome{padding:64px 0 32px;max-width:800px;margin:auto}.home-welcome h1{font-size:clamp(36px,5vw,64px);letter-spacing:-.055em;line-height:1.08;margin:18px 0}.home-welcome h1 span{color:var(--lime)}.home-welcome p{font-size:17px;color:var(--muted);line-height:1.7}.home-choices{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:800px;margin:auto}.home-choice{text-align:left;padding:28px;background:var(--panel);border-radius:16px}.home-choice h2{font-size:25px;margin:18px 0 8px}.home-choice h2 span{float:right;color:var(--lime)}.home-choice p{color:var(--muted);min-height:48px;font-size:14px}.home-choice b{display:block;color:var(--lime);margin-top:24px}.home-footnote{text-align:center;color:var(--muted);margin-top:24px}.home-secondary{display:flex;justify-content:center;gap:12px}.home-secondary button{border:0;background:none;color:var(--muted);font-size:12px}body[data-view="home"] footer{max-width:800px;margin:40px auto 0}body[data-view="home"] .header-right .watchlink{display:none}@media(max-width:600px){.home-welcome{padding:32px 8px 16px}.home-welcome p{font-size:14px}.home-choices{grid-template-columns:1fr;gap:12px}.home-choice{padding:20px}.home-choice h2{margin:10px 0 6px;font-size:22px}.home-choice p{min-height:0;margin:8px 0}.home-choice b{margin-top:14px}.home-footnote{font-size:11px}.home-welcome h1{font-size:39px}}

#archive{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}.weekend-card{padding:22px;background:#192226;border:1px solid var(--line);border-radius:12px;min-width:0}.weekend-card h3{font-size:22px;margin:12px 0 8px}.weekend-card h3 span{display:block;font-size:13px;font-weight:400;color:var(--muted);margin-top:4px}.weekend-card p{color:var(--muted);font-size:12px}.weekend-card label{display:block;font-size:11px;margin-top:16px;color:var(--muted)}.weekend-card select{display:block;width:100%;margin-top:6px;color:var(--white);font-size:13px}.weekend-card .weekend-availability{font-size:10px;line-height:1.5;min-height:30px;margin-top:15px}.weekend-open{width:100%;font-size:12px}@media(max-width:1100px){#archive{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){#archive{grid-template-columns:1fr}.weekend-card{padding:18px}}

.telemetry-legend{display:flex;gap:16px;flex-wrap:wrap;padding:0 20px 16px}.telemetry-legend p{font-size:12px;color:var(--muted)}#telemetryView .research-bar select{max-width:260px}#telemetryView .telemetry-layout{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}@media(max-width:850px){#telemetryView .telemetry-layout{grid-template-columns:1fr}}

.session-loading[hidden]{display:none!important}.session-loading{position:fixed;inset:auto 16px 28px;z-index:2000;display:flex;justify-content:center;pointer-events:none}.session-loading-card{display:flex;align-items:center;gap:18px;width:min(520px,100%);padding:18px 24px;background:rgba(15,22,25,.97);border:1px solid #526165;border-radius:16px;box-shadow:0 12px 60px #0009;backdrop-filter:blur(14px)}.session-loading-card img{width:76px;height:76px;object-fit:contain;flex:none;animation:sector-loading-spin 2.6s linear infinite}.session-loading-card strong{font-size:16px}.session-loading-card p{font-size:12px;color:var(--muted);margin:6px 0 0;line-height:1.5}.session-loading-card>div{min-width:0}@keyframes sector-loading-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.session-loading-card img{animation:none}}@media(max-width:520px){.session-loading{bottom:calc(16px + env(safe-area-inset-bottom))}.session-loading-card{padding:14px 18px;gap:12px}.session-loading-card img{width:58px;height:58px}}

/* Keep the year and circuit together; reserve a full heading row on tablets. */
#raceTitle:has(.race-name){display:flex;align-items:center;gap:.22em;flex-wrap:wrap;color:#fff}
#raceTitle .race-name{color:var(--race-name,#fff)}
#raceTitle .race-year-circuit{display:inline-flex;align-items:center;gap:.3em;white-space:nowrap;flex:none}
#raceTitle .race-year{color:var(--race-year,#b8c0c4)}
#raceTitle .title-circuit{display:block;width:96px;height:60px;flex:none;color:var(--race-circuit,#fff)}
@media(min-width:701px){#raceTitle:has(.race-name){flex-wrap:nowrap;white-space:nowrap}}
@media(min-width:701px) and (max-width:1400px){.hero,.tv-mode .hero{flex-direction:column;align-items:stretch}.hero>div:first-child{width:100%;min-width:0}.hero .controls,.tv-mode .hero .controls{max-width:100%}.hero h1{font-size:clamp(28px,3.4vw,46px)}}
@media(max-width:700px){#raceTitle .title-circuit{width:70px;height:44px}#raceTitle:has(.race-name){font-size:clamp(25px,6vw,32px)}}

.brand-home{padding:0;border:0;background:transparent;display:block;flex:none}.brand-home:hover{background:#ffffff08}.brand-home .brand-logo{display:block}.session-loading{inset:0;align-items:center;background:#08101370}.session-loading-card{width:min(440px,calc(100% - 32px));padding:24px}.sz-loader{position:relative;width:86px;height:86px;flex:none}.sz-loader svg{position:absolute;inset:0;width:100%;height:100%}.sz-loader-ring{animation:sector-loading-spin 2.6s linear infinite}.sz-loader-center{transform:none}.session-loading-card .sz-loader image{animation:none}@media(prefers-reduced-motion:reduce){.sz-loader-ring{animation:none}}

/* Native, keyboard-accessible desktop controls for macOS and Windows. */
html{scrollbar-gutter:stable}
select{appearance:auto;-webkit-appearance:menulist;max-width:100%;min-height:40px;line-height:normal;font-family:inherit;font-size:14px;color:#ecf3f4;background-color:#20292d;cursor:pointer}
select option{color:#ecf3f4;background-color:#20292d}
select:focus-visible{outline:2px solid #ff263b;outline-offset:3px}
.research-bar{flex-wrap:wrap;align-items:flex-end}
.research-bar>label{min-width:0;flex:1 1 190px}
.research-bar>label select,.research-bar>label input{width:100%;max-width:none!important;min-width:0!important}
.controls{min-width:0}.controls select{min-width:130px;flex:1 1 160px;max-width:280px}
.research-bar,.controls,.weekend-card{overflow-anchor:none}
@media(pointer:coarse){select{font-size:16px;min-height:44px}}
@media(min-width:900px){.research-bar>label{max-width:320px}.research-bar>.record-search{max-width:none;flex:2 1 240px}}
@media(forced-colors:active){select,select option{color:CanvasText;background:Canvas;border:1px solid ButtonText}}

#raceTitle.dark-circuit .title-circuit{filter:drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff)}

/* Keep session selection and its action together as one aligned control row. */
.hero,.tv-mode .hero{flex-direction:column;align-items:stretch;gap:18px}
.hero>.controls,.tv-mode .hero>.controls{display:grid;grid-template-columns:90px minmax(0,1.2fr) 145px minmax(0,1.5fr) max-content;align-items:center;gap:10px;width:100%;max-width:none;min-width:0}
.hero>.controls select,.hero>.controls #load{height:44px;min-height:44px;min-width:0!important;max-width:none!important;width:100%;margin:0;box-sizing:border-box;font-size:12px}
.hero>.controls select{overflow:hidden;text-overflow:ellipsis;padding:0 10px}
.hero>.controls #load{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;padding:0 18px}
@media(max-width:699px){.hero>.controls,.tv-mode .hero>.controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.hero>.controls #sessionType{grid-column:1/-1}.hero>.controls #race{grid-column:1}.hero>.controls #load{grid-column:2;padding:0 10px}}

/* Give country, year and circuit equal prominence without separating the icon. */
#raceTitle:has(.race-name){font-size:clamp(36px,4.3vw,60px);line-height:1.12;column-gap:.3em}
#raceTitle .title-circuit{width:clamp(105px,9vw,132px);height:clamp(66px,5.65vw,83px)}
@media(max-width:700px){#raceTitle:has(.race-name){font-size:clamp(29px,7vw,38px)}#raceTitle .title-circuit{width:84px;height:53px}}

.live-session-picker{display:flex;flex-direction:column;gap:7px;margin:16px 0;font-size:12px;color:var(--muted)}.live-session-picker select{width:100%;min-width:0;max-width:100%;font-size:13px}#liveSessionNotice{padding:10px 12px;border-left:3px solid #ffb347;background:#ffb3470a;font-size:12px;line-height:1.6}

.weekend-race-control{width:100%;min-height:44px;margin-top:8px;font-size:12px}

/* The SVG removes only near-black canvas pixels and preserves the uploaded artwork. */
.brand-logo,#watchHome img,.sz-loader svg{mix-blend-mode:normal}
.sz-loader-ring{transform-origin:50% 50%}

.brand b{white-space:nowrap}.brand-race-control{color:#ed0018}

/* Keep session tools on their own destination before a session is selected. */
.session-page-empty{padding:24px;background:var(--panel);border:1px solid var(--line);border-radius:10px}
.session-page-empty h2{margin:0 0 12px;font-size:22px}
.session-page-empty p{color:var(--muted);font-size:14px;line-height:1.5}
body:not(.has-session) .view.awaiting-session>:not(.session-page-empty){display:none!important}

/* Driver Wall contains the four driver cards and timing tower only. */
body[data-view="wall"] #radioView{display:none!important}

/* Replay clock is available only with Team Radio. */
body:not([data-view="radio"]) .timeline{display:none!important}

body[data-view="watch"] .app{height:100vh;height:100dvh;max-width:none;padding:0 14px;overflow:hidden}
body[data-view="watch"] .app>*:not(#watchView):not(#displayModes){display:none!important}
body[data-view="watch"] #watchView{display:flex!important;flex-direction:column;height:100%;gap:10px;padding:8px 0}
.watch-head{display:flex;align-items:center;gap:10px;min-height:42px}.watch-head>button:first-child{padding:0;background:none;border:0}.watch-head img{width:46px;height:46px;object-fit:contain;display:block}.watch-head strong{font-size:16px}.watch-head small{display:block;color:var(--muted);font-size:11px}.watch-head #watchExit{margin-left:auto;font-size:11px;padding:8px 10px}
.watch-grid{display:grid;grid-template-columns:minmax(440px,1.6fr) minmax(270px,1fr);gap:12px;min-height:0;flex:1}.watch-order,.watch-side>section{background:#131a1e;border:1px solid #2a3337;border-radius:9px;min-height:0;overflow:hidden}.watch-order{display:flex;flex-direction:column}.watch-panel-title{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-bottom:1px solid #2a3337}.watch-panel-title h2,.watch-control h2{font-size:11px;text-transform:uppercase;letter-spacing:.08em;margin:0}.watch-panel-title span,.watch-panel-title label{font-size:10px;color:var(--muted)}.watch-table-wrap{min-height:0;overflow:auto;flex:1}.watch-order table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}.watch-order th{font-size:9px;letter-spacing:.04em;color:#9da9ad;text-align:right;padding:8px;position:sticky;top:0;background:#182226;z-index:1}.watch-order th:nth-child(2),.watch-order td:nth-child(2){text-align:left}.watch-order td{padding:3px 8px;height:26px;border-bottom:1px solid #ffffff08;text-align:right;font-variant-numeric:tabular-nums}.watch-order td button{display:flex;align-items:center;gap:8px;padding:0;background:none;border:0;font-size:12px}.watch-order td button i{width:3px;height:15px;background:var(--team)}.watch-order td small{font-size:9px;color:var(--muted)}.watch-selected{background:#ffffff0b}.watch-tyre{display:inline-grid;place-items:center;width:19px;height:19px;border-radius:50%;font-size:10px;font-weight:800}.watch-note{padding:7px 12px;margin:0;font-size:10px;color:var(--muted)}.watch-side{min-height:0;display:flex;flex-direction:column;gap:10px}.watch-focus{padding:12px;flex:none}#watchDriver strong{font-size:15px;display:block}#watchDriver small{font-size:10px;color:var(--muted)}#watchStats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}#watchStats small{font-size:9px;color:var(--muted);display:block}#watchStats b{font-size:13px;font-variant-numeric:tabular-nums}.watch-radio{display:flex;flex-direction:column;flex:1;min-height:130px}.watch-audio{padding:8px 12px;display:flex;gap:8px;align-items:center}.watch-audio span{font-size:10px;max-width:110px}.watch-audio audio{height:28px;width:100%;min-width:100px}.watch-radio input{vertical-align:middle}#watchRadioList{overflow:auto;flex:1;min-height:0}#watchRadioList article{padding:10px 12px;border-top:1px solid #ffffff0c}#watchRadioList article>div{display:flex;gap:10px;align-items:center}#watchRadioList time{font-size:10px;color:var(--muted)}#watchRadioList button{margin-left:auto;font-size:10px;padding:4px 8px}#watchRadioList p{font-size:11px;line-height:1.4;margin:6px 0 0}.watch-control{padding:12px;max-height:140px;overflow:auto!important;flex:none}#watchControl p{font-size:10px;line-height:1.4;margin:6px 0 0}#watchControl time{color:#a6b1b5}.watch-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:30px}#watchReplay{display:flex;align-items:center;gap:8px;flex:1}#watchReplay[hidden]{display:none}#watchReplay button{padding:5px 9px;font-size:10px}#watchSeek{flex:1;min-width:50px}#watchClock{font-size:11px;color:var(--muted);white-space:nowrap}
@media(max-width:760px){body[data-view="watch"] .app{height:auto;min-height:100vh;min-height:100dvh;overflow:visible;padding:0 8px}.watch-grid{display:flex;flex-direction:column}.watch-order{flex:none}.watch-table-wrap{overflow:auto}.watch-side{min-height:380px}.watch-radio{max-height:340px}.watch-head strong{font-size:13px}.watch-order td,.watch-order th{padding-left:5px;padding-right:5px}.watch-order table{font-size:11px}.watch-foot{flex-wrap:wrap}.watch-head{position:sticky;top:0;background:#0c1012;z-index:5}}
@media(min-width:761px) and (max-height:760px){.watch-order td{height:22px;padding-top:1px;padding-bottom:1px}.watch-order th{padding-top:5px;padding-bottom:5px}.watch-head img{width:38px;height:38px}.watch-control{max-height:100px}}

.watch-order td button{color:var(--white)}.watch-order td button b{color:var(--team)}

.watch-head #watchWeekend{margin-left:auto;min-height:44px;font-size:12px;white-space:nowrap}.watch-head #watchExit{margin-left:0;min-height:44px}.watch-head{flex-wrap:wrap}.watch-head>div{min-width:0}
.ipad-return{display:none}body.tv-mode .ipad-return{display:flex;position:fixed;bottom:max(12px,env(safe-area-inset-bottom));right:16px;z-index:30;gap:8px;padding:8px;border:1px solid var(--line);border-radius:12px;background:#141a1df5;box-shadow:0 4px 24px #0008}.ipad-return button{min-height:44px;font-size:13px}body.tv-mode .app{padding-bottom:100px}

.drivercard .spark,body.tv-mode .drivercard .spark{height:auto;margin:10px 16px 12px}.lap-trend-head,.lap-trend-stats,.lap-trend-key{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.lap-trend-head{font-size:12px}.lap-trend-head span,.lap-trend-key,.lap-trend-note{color:var(--muted);font-size:10px}.lap-trend-stats{font-size:11px;margin-top:8px}.lap-trend-stats b{font-variant-numeric:tabular-nums;color:var(--white)}.lap-trend-delta{margin:4px 0;font-size:12px}.drivercard .spark svg{display:block;width:100%;height:auto;max-height:160px}.spark svg text{fill:#b8c8ce;font-size:8px;font-variant-numeric:tabular-nums}.lap-trend-key span:last-child{color:#ffbd69}.lap-trend-note{margin:6px 0 0}.lap-trend-empty{font-size:12px;color:var(--muted);padding:12px 0}

/* Compact race desk: order remains primary; supporting data stays alongside. */
.watch-side{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:minmax(180px,1fr) minmax(130px,.75fr) auto;gap:8px;overflow:auto}.watch-map{display:flex;flex-direction:column}.watch-map #watchMap{flex:1;min-height:90px;display:grid;place-items:center}.watch-map .title-circuit{width:100%;height:100%;max-height:180px;color:inherit;filter:drop-shadow(0 0 1px #fff8)}#watchCircuitName{max-width:55%;text-align:right}.watch-focus{padding:10px}#watchStats{grid-template-columns:1fr 1fr;gap:12px 8px}#watchStats b{font-size:12px}.watch-activity,.watch-control{max-height:none!important;overflow:auto!important;min-height:0}.watch-control{padding:10px}.watch-activity p{font-size:11px;padding:0 10px;line-height:1.5}.watch-activity time{color:var(--muted)}#watchWeather{display:flex;justify-content:space-around;gap:5px;padding:8px;font-size:10px;flex-wrap:wrap;border-top:1px solid var(--line)}.watch-side>.watch-radio{grid-column:1/-1;display:block;min-height:0;max-height:220px;border:1px solid var(--line);border-radius:8px;background:#131a1e;overflow:auto}.watch-radio summary{padding:10px 12px;cursor:pointer;font-size:12px}.watch-radio:not([open])>*:not(summary){display:none}.watch-radio .watch-note{display:none}.watch-side .watch-panel-title{padding:8px}.watch-side .watch-panel-title h2{font-size:10px}
@media(min-width:761px){.watch-grid{grid-template-columns:minmax(430px,1.2fr) minmax(340px,1fr)}}
@media(max-width:760px){.watch-side{min-height:480px;overflow:visible;grid-template-rows:240px 170px auto}.watch-grid{gap:10px}.watch-order td{height:28px}}

#watchMap svg{width:100%;height:100%;max-height:240px}.locator-track{fill:none;stroke:#d7fa64;stroke-width:5;stroke-linejoin:round}.locator-drivers g{transition:transform .25s linear}.locator-drivers circle{fill:var(--marker);stroke:#0c1012;stroke-width:2}.locator-drivers text{fill:var(--marker);font-size:11px;font-weight:800;paint-order:stroke;stroke:#0c1012;stroke-width:3px}.locator-drivers .selected circle{r:7;stroke:white}.locator-drivers .selected text{fill:white}#watchMapRetry{font-size:10px;padding:4px 8px;margin:0 10px 5px;align-self:flex-start}.watch-radar{grid-column:1/-1;min-height:220px!important;display:flex;flex-direction:column}#watchRadar{flex:1;min-height:170px}#watchRadar iframe{width:100%;height:100%;min-height:170px;border:0}.watch-side{grid-template-rows:minmax(220px,1fr) minmax(230px,1fr) minmax(120px,.6fr) auto}.watch-side>.watch-radio{grid-column:1/-1}.watch-side .watch-radar .watch-note{font-size:9px}@media(max-width:760px){.watch-side{grid-template-rows:260px 280px 180px auto}}@media(prefers-reduced-motion:reduce){.locator-drivers g{transition:none}}

.watch-radar{min-height:330px!important}#watchRadar iframe{min-height:290px}#watchRadar{min-height:290px}.watch-side{grid-template-rows:minmax(220px,1fr) minmax(330px,1.25fr) minmax(120px,.6fr) auto}

#watchBests{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:#344047;border-top:1px solid #344047;flex:none}#watchBests>div{background:#182126;padding:12px 8px;min-width:0}#watchBests small{display:block;color:#acb9c2;font-size:9px;text-transform:uppercase}#watchBests strong{display:block;color:#cf94ff;font-size:16px;font-variant-numeric:tabular-nums;margin:3px 0}#watchBests span{font-size:11px}.watch-feed{grid-column:1/-1;min-height:200px!important;display:flex;flex-direction:column}.watch-feed .watch-audio{flex:none;border-bottom:1px solid var(--line)}#watchFeed{overflow:auto;min-height:100px;max-height:310px;flex:1}#watchFeed article{padding:9px 12px;border-bottom:1px solid #ffffff12;border-left:3px solid #738b9b}#watchFeed .feed-radio{border-left-color:#c694ff}#watchFeed .feed-control{border-left-color:#ffd26c}#watchFeed article>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}#watchFeed small,#watchFeed time{font-size:9px;color:#a4b5bf}#watchFeed article b{font-size:11px}#watchFeed p{margin:5px 0;font-size:12px;line-height:1.45}#watchFeed button{margin-left:auto;font-size:10px;padding:4px 8px}.watch-side{grid-template-rows:minmax(220px,1fr) minmax(330px,1.25fr) minmax(220px,1fr) auto}@media(max-width:480px){#watchBests strong{font-size:13px}#watchBests>div{padding:9px 5px}}

/* Keyboard and scrollbar support without changing the compact layout. */
.watch-table-wrap,#watchFeed,#watchRadioList{scroll-padding-top:40px;overscroll-behavior:contain;scrollbar-color:#647780 #131a1e}
#watchView :is(button,input,select,summary):focus-visible{outline:2px solid var(--lime);outline-offset:2px}
.watch-order td button:focus-visible{outline-offset:1px}
@media(forced-colors:active){.watch-selected{outline:2px solid Highlight;outline-offset:-2px}.watch-tyre,.watch-order td button b{color:CanvasText!important}#watchView :focus-visible{outline-color:Highlight}}
/* Keep the complete circuit inside its compact panel, without stretching it. */
.watch-map #watchMap{min-height:90px;min-width:0;overflow:hidden;position:relative}
.watch-map #watchMap svg{display:block;width:100%;height:100%;max-height:240px;object-fit:contain}
.watch-map .locator-track{vector-effect:non-scaling-stroke}

/* Weather follows the best-lap panel; Track Pulse owns the freed right column. */
.watch-left{display:grid;grid-template-rows:minmax(310px,1fr) 330px;gap:10px;min-width:0;min-height:0;overflow:auto}
.watch-left>.watch-radar{background:#131a1e;border:1px solid var(--line);border-radius:9px;overflow:hidden;grid-column:auto}
.watch-side{grid-template-rows:220px minmax(260px,1fr) auto}
.watch-side>.watch-feed{grid-column:1/-1;min-height:260px!important}
#watchFeed{max-height:none}
.watch-feed .watch-audio,.watch-feed #watchTranscriptStatus{flex-shrink:0}
@media(max-width:760px){
 .watch-left{display:flex;flex-direction:column;overflow:visible}
 .watch-left>.watch-order{flex:none}
 .watch-left>.watch-radar{height:360px;flex:none}
 .watch-side{grid-template-rows:250px 480px auto;min-height:0}
}
@media(min-width:761px) and (max-height:760px){
 .watch-left{grid-template-rows:minmax(280px,1fr) 330px}
 .watch-side{grid-template-rows:200px minmax(300px,1fr) auto}
}

/* Compact priorities: taller maps, short timing panel and one-line Track Pulse. */
.watch-left{grid-template-rows:minmax(260px,.85fr) minmax(420px,1.15fr)}
.watch-bottom{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(145px,1fr);gap:10px;min-height:0;min-width:0}
.watch-bottom>section{background:#131a1e;border:1px solid var(--line);border-radius:9px;overflow:hidden;min-width:0}
.watch-bottom>.watch-radar{grid-column:auto;min-height:0!important}
.watch-bottom #watchRadar{min-height:0;flex:1}
.watch-bottom #watchRadar iframe{min-height:0;height:100%;display:block}
.watch-penalties{overflow:auto!important}
#watchPenalties article{margin:8px;padding:10px;border:1px solid #bb9748;border-radius:7px;background:#ffcf6210}
#watchPenalties b{display:block;color:#ffd477;font-size:12px;margin:6px 0}
#watchPenalties small{display:block;font-size:10px;color:var(--muted);overflow-wrap:anywhere}
.watch-side{grid-template-columns:minmax(0,2fr) minmax(150px,1fr);grid-template-rows:minmax(360px,1.6fr) minmax(190px,.8fr) auto}
.watch-side>.watch-feed{min-height:190px!important}
.watch-map #watchMap{min-height:180px;flex:1}
.watch-map #watchMap svg,.watch-map .title-circuit{max-height:none;width:100%;height:100%}
#watchBests>div{padding:7px 8px}#watchBests strong{font-size:14px;margin:1px 0}
#watchFeed article{display:flex;align-items:center;gap:7px;padding:3px 8px;height:31px;min-height:31px;overflow:hidden;white-space:nowrap}
#watchFeed article>div{display:contents}
#watchFeed article time{flex:none;order:0}
#watchFeed article small{flex:none;order:1;font-size:8px}
#watchFeed article b{flex:none;order:2;display:flex;align-items:center}
#watchFeed article .team-logo{width:20px!important;flex-basis:20px;height:16px!important;margin-right:3px}
#watchFeed article .pulse-message{order:3;flex:1;min-width:35px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;border:0;background:none;margin:0;padding:3px 0;font-size:11px;color:var(--white)}
#watchFeed article button:not(.pulse-message){order:4;flex:none;padding:3px 5px;margin:0;font-size:9px}
#watchTranscriptStatus{margin:0;padding:3px 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:9px;min-height:0}
.watch-feed .watch-audio{padding:5px 10px}
@media(max-width:760px){
 .watch-left>.watch-order{height:340px}
 .watch-bottom{height:440px;flex:none;grid-template-columns:minmax(0,1.8fr) minmax(120px,1fr)}
 .watch-side{grid-template-rows:400px 240px auto}
}
@media(max-width:480px){.watch-bottom{grid-template-columns:minmax(0,1.7fr) minmax(105px,1fr)}.watch-side{grid-template-columns:minmax(0,1.6fr) minmax(120px,1fr)}#watchFeed article>div>small{display:none}}

.watch-historical #watchMap .title-circuit{width:100%;height:100%;max-width:none;max-height:none;margin:0;color:inherit}.watch-weather-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px;height:100%;align-content:center}.watch-weather-summary div{padding:14px;background:#ffffff08;border-radius:8px}.watch-weather-summary small,.watch-weather-summary b{display:block}.watch-weather-summary small{color:#a7b6b2;font-size:11px;margin-bottom:8px}.watch-weather-summary b{font-size:16px}.watch-historical #watchReplay{display:none}

.watch-live .watch-radio,.watch-live .watch-audio,.watch-live #watchTranscriptStatus{display:none!important}.watch-side>.watch-penalties{grid-column:2;grid-row:1;display:flex;flex-direction:column;overflow:hidden}.watch-side>.watch-penalties #watchPenalties{overflow:auto;min-height:0}.watch-conditions{background:#131a1e;border:1px solid var(--line);border-radius:9px;overflow:auto;min-width:0}.watch-conditions #watchWeather{display:grid;grid-template-columns:1fr;border:0;padding:12px;gap:18px}.watch-conditions #watchWeather span{display:flex;flex-direction:column;gap:5px;color:var(--muted);font-size:11px}.watch-conditions #watchWeather b{font-size:17px;color:var(--white)}.watch-driver-dialog{width:min(440px,90vw);padding:18px;border:1px solid #53636c;border-radius:12px;background:#131a1e;color:var(--white)}.watch-driver-dialog::backdrop{background:#000a}.watch-driver-dialog .watch-focus{background:transparent;border:0}.watch-driver-dialog>button{margin-top:18px;width:100%}.watch-driver-dialog #watchStats{grid-template-columns:1fr 1fr}.watch-live .watch-side{grid-template-rows:minmax(360px,1.6fr) minmax(190px,.8fr)}

/* Give best laps 65% of the compact left column. */
@media(min-width:761px){.watch-left{grid-template-rows:minmax(0,1.85fr) minmax(0,1fr)}}
@media(max-width:760px){.watch-left>.watch-order{height:max(480px,65dvh)}.watch-bottom{height:300px}}

/* Taller Pulse list, retaining single-line events. */
@media(min-width:761px){.watch-side,.watch-live .watch-side{grid-template-rows:minmax(0,1.15fr) minmax(0,1fr) auto}.watch-side>.watch-feed{min-height:0!important}}
@media(max-width:760px){.watch-side,.watch-live .watch-side{grid-template-rows:400px 360px auto}}

/* Preserve usable weather space on desktop and mirrored screens. A short
   window can scroll the left column instead of collapsing the map to a strip. */
@media(min-width:761px){
 .watch-left{grid-template-rows:minmax(330px,1.65fr) minmax(300px,1fr)}
 .watch-conditions #watchWeather{padding:10px;gap:12px}
 .watch-conditions #watchWeather span{flex-direction:row;align-items:baseline;justify-content:space-between;gap:8px}
 .watch-conditions #watchWeather b{font-size:15px}
}

/* Give the embedded document a definite rectangle, including in older Silk.
   Its intrinsic iframe height must not push the radar footer off the panel. */
.watch-bottom>.watch-radar{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.watch-bottom #watchRadar{position:relative;min-width:0;min-height:0;overflow:hidden}
.watch-bottom #watchRadar iframe{position:absolute;top:0;left:0;width:100%;height:100%;min-height:0}
.watch-bottom>.watch-conditions{overflow:auto}
#watchOverallBests{flex:none;padding:5px 8px;border-top:1px solid #344047;background:#141d22;font-size:10px}
#watchOverallBests[hidden]{display:none}
#watchOverallBests>small{display:block;color:var(--muted);font-size:9px;margin-bottom:3px;text-transform:uppercase}
#watchOverallBests>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
#watchOverallBests span{line-height:1.4;min-width:0}
#watchOverallBests span strong{font-variant-numeric:tabular-nums}

/* Continuous, subdued circuit line beneath the live markers. */
#watchMap .locator-track{fill:none;stroke:#d7fa64;stroke-opacity:.9;stroke-width:2;filter:drop-shadow(0 0 1px #08131966);stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
#watchMap .title-circuit path{stroke:#d7fa64;stroke-opacity:.9;stroke-width:1.4;filter:none}

/* Shared touch layout for Safari on iOS and Chromium on Android. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
button,a,input,select,summary{touch-action:manipulation}
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid #d7fa64;outline-offset:3px}
dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow:auto;overscroll-behavior:contain}
@media(max-width:760px),(max-width:950px) and (max-height:500px){
 .app{width:100%;min-width:0;padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right));padding-bottom:calc(90px + env(safe-area-inset-bottom))}
 header{height:auto!important;min-height:72px;flex-wrap:wrap;gap:10px;padding:10px 0}.header-right{flex-wrap:wrap;gap:8px;margin-left:auto}.header-right button{font-size:12px}
 button,select,input:not([type=checkbox]):not([type=range]),summary{min-height:44px}select,input:not([type=checkbox]):not([type=range]),textarea{font-size:16px!important;max-width:100%;min-width:0}input[type=checkbox]{width:22px;height:22px}input[type=range]{min-height:32px}
 .hero>.controls #race{grid-column:1/-1}.hero>.controls #load{grid-column:1/-1}.hero>.controls select{font-size:16px}
 .hero,.ph,.research-bar,.overview-heading,.workspace-intro,.analysis-strip{min-width:0;flex-wrap:wrap;gap:10px}.ph>*{max-width:100%}.ph label,.research-bar label{min-width:0}.ph select,.research-bar select{width:100%}
 #raceTitle:has(.race-name){font-size:clamp(26px,7vw,38px);flex-wrap:wrap}.race-year-circuit{white-space:nowrap;max-width:100%}
 .workspace-nav .nav-group{display:flex;overflow:visible;flex-wrap:wrap;width:100%;max-width:100%;gap:6px;padding:8px 0}.workspace-nav .nav-group>span{position:static;width:100%;min-width:0;flex:0 0 100%;font-size:9px;padding:6px 0}.workspace-nav .nav-group>button{flex:0 1 auto;white-space:normal;min-height:44px;min-width:0;font-size:12px!important;padding:10px 12px!important;border:1px solid var(--line);border-radius:6px;text-align:left}
 .view,.panel,.grid,.telemetry-layout,.telemetry-layout>*{min-width:0;max-width:100%}.view .table-wrap{overflow-x:auto!important;overscroll-behavior-x:contain}.table-wrap table{min-width:620px}.timing-table td:nth-child(2),.timing-table th:nth-child(2){position:sticky;left:0;z-index:2;background:#141a1d;box-shadow:2px 0 4px #0005}.timing-table th:nth-child(2){z-index:3}.timing-table button{min-height:40px}
 .telemetry-layout{grid-template-columns:minmax(0,1fr)!important;padding:10px}.telemetry-layout svg{max-width:100%;height:auto}.feature-grid,.roster-grid,.summary-grid,.data-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}.source-grid,.live-layout{grid-template-columns:minmax(0,1fr)}
 body[data-view=watch] .app{height:auto;min-height:100vh;min-height:100dvh;overflow:visible;padding:0 max(8px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}
 body[data-view=watch] #watchView{height:auto;min-height:100vh;min-height:100dvh}.watch-head{position:sticky;top:0;padding-top:env(safe-area-inset-top);background:#0c1012;z-index:5;display:grid;grid-template-columns:44px minmax(0,1fr);gap:6px}.watch-head>div{overflow-wrap:anywhere}.watch-head #watchWeekend,.watch-head #watchCurrentWeekend,.watch-head #watchExit{margin:0;width:100%;font-size:12px}.watch-head #watchWeekend{grid-column:1/-1}.watch-head #watchExit{grid-column:1/-1}.watch-head img{width:42px;height:42px}
 .watch-grid{display:flex;flex-direction:column;min-width:0}.watch-left{display:flex;flex-direction:column;overflow:visible}.watch-left>.watch-order{height:max(480px,65dvh);flex:none}.watch-table-wrap{overflow:auto;overscroll-behavior:contain}.watch-order table{min-width:550px}.watch-order th:nth-child(2),.watch-order td:nth-child(2){position:sticky;left:0;background:#182226;z-index:2}.watch-order th:nth-child(2){z-index:3}.watch-order td button{min-height:40px}.watch-order td{height:44px}
 .watch-bottom{height:360px;grid-template-columns:minmax(0,1.7fr) minmax(110px,1fr)}.watch-weather-summary{grid-template-columns:1fr;padding:8px;gap:6px;overflow:auto;align-content:start}.watch-weather-summary div{padding:8px}.watch-weather-summary b{font-size:13px}.watch-conditions #watchWeather{padding:10px;gap:12px}.watch-conditions #watchWeather b{font-size:14px}
 .watch-side,.watch-live .watch-side{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:320px auto 380px auto;overflow:visible}.watch-side>.watch-map{grid-row:1;grid-column:1}.watch-side>.watch-penalties{grid-row:2;grid-column:1;max-height:250px;min-height:100px}.watch-side>.watch-feed{grid-row:3;grid-column:1;min-height:0!important}.watch-side>.watch-radio{grid-row:4;grid-column:1}.watch-live .watch-side{grid-template-rows:320px auto 380px}
 #watchFeed article{height:44px;min-height:44px}#watchFeed article .pulse-message{min-height:44px;font-size:12px}#watchFeed article time{font-size:10px}#watchFeed article button:not(.pulse-message){min-width:44px;min-height:44px}.watch-driver-dialog{width:calc(100vw - 24px)}.watch-driver-dialog #watchStats{gap:18px}.watch-driver-dialog #watchStats b{font-size:16px}
 #installApp{width:calc(100vw - 24px);padding:18px}#installApp button{width:100%}.watch-foot{padding-bottom:env(safe-area-inset-bottom)}
}
@media(max-width:360px){.brand b{font-size:13px}.header-right{width:100%;justify-content:space-between}.feature-grid,.roster-grid{grid-template-columns:1fr}.watch-bottom{grid-template-columns:minmax(0,1.45fr) minmax(105px,1fr)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
@media(max-width:480px){
 .watch-order table{min-width:0;width:100%;table-layout:fixed}.watch-order th,.watch-order td{padding-left:4px;padding-right:4px;font-size:11px}.watch-order th:first-child{width:28px}.watch-order th:nth-child(2){width:91px}.watch-order th:nth-child(3){width:69px}.watch-order th:nth-child(4){width:76px}.watch-order th:nth-child(5){width:32px}.watch-order th:nth-child(6),.watch-order td:nth-child(6),.watch-order th:nth-child(7),.watch-order td:nth-child(7){display:none}.watch-order td button{gap:4px;font-size:11px}.watch-order td button small{display:none}.watch-table-wrap .team-logo{width:22px!important;flex-basis:22px}
 .watch-head{display:flex;flex-wrap:wrap}.watch-head>div{flex:1;min-width:0}.watch-head #watchWeekend,.watch-head #watchCurrentWeekend,.watch-head #watchExit{flex:1 1 40%;width:auto;font-size:11px}
}
@media(max-width:480px){.watch-head>div{flex:1 0 calc(100% - 56px)}.watch-head>button:first-child{flex:0 0 44px}}

.watch-head #watchCurrentWeekend{min-height:44px;font-size:12px;white-space:nowrap}@media(max-width:760px){.watch-head #watchCurrentWeekend{grid-column:1/-1}}

.watch-data-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.watch-data-nav button{min-height:44px;font-size:12px}.watch-data-nav button.active{color:var(--lime)}@media(max-width:760px){.watch-data-nav{grid-column:1/-1;flex-basis:100%}.watch-data-nav button{flex:1 1 auto;padding:8px}}

.fia-hero{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:8px 0 22px}.fia-hero h2{font-size:clamp(26px,4vw,42px);letter-spacing:-.045em;margin:7px 0}.fia-hero p{color:var(--muted);max-width:700px;line-height:1.6;margin:0}.fia-actions{display:flex;gap:9px;flex-wrap:wrap}.fia-actions a,.fia-source-link{display:inline-block;border:1px solid var(--line);border-radius:6px;padding:10px 13px;color:var(--text);text-decoration:none;font-size:12px}.fia-actions a:hover,.fia-source-link:hover{border-color:var(--lime);color:var(--lime)}.fia-controls{display:flex;gap:12px;flex-wrap:wrap;align-items:end;padding:16px}.fia-controls label{display:flex;flex-direction:column;gap:7px;color:var(--muted);font-size:11px}.fia-controls input{background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:6px;padding:10px;min-width:190px}.fia-controls select{max-width:300px}.fia-status{margin:0 16px 16px;padding:12px 14px;border-radius:7px;border:1px solid #364445;color:var(--muted);font-size:12px;line-height:1.6}.fia-status.snapshot{border-color:#8c733f;background:#c7961110;color:#ebce8b}.fia-docs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 16px 18px}.fia-doc{display:flex;gap:14px;border:1px solid var(--line);border-radius:8px;padding:16px;color:inherit;text-decoration:none;background:#0e1517;min-height:112px}.fia-doc:hover{border-color:var(--lime);background:#182322}.fia-doc-number{color:var(--lime);font:700 20px monospace;min-width:35px}.fia-doc h3{font-size:14px;line-height:1.5;margin:5px 0 10px}.fia-doc p{color:var(--muted);font-size:11px;margin:0;line-height:1.5}.fia-doc small{color:#b5c4c6;font-size:10px}.component-legend{display:flex;gap:14px;flex-wrap:wrap;padding:14px 16px;font-size:11px}.component-available{color:#c9ef87}.component-limit{color:#f0ce76}.component-over{color:#ff9f9f}.component-unknown{color:var(--muted)}.component-table{overflow:auto;max-height:75vh;border-top:1px solid var(--line)}.component-table table{width:100%;min-width:1050px;border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums}.component-table th{position:sticky;top:0;background:#1b2427;z-index:2;font-size:11px;text-align:left;padding:13px 12px;white-space:nowrap;border-bottom:1px solid var(--line)}.component-table th small{display:block;font-size:9px;color:var(--muted);font-weight:400;margin-top:5px}.component-table td{padding:13px 12px;border-bottom:1px solid #ffffff0a;background:#11191b}.component-table tr:nth-child(even) td{background:#151e21}.component-table th:first-child,.component-table td:first-child{position:sticky;left:0;z-index:1;min-width:183px}.component-table th:first-child{z-index:3}.component-table td b{font-size:14px;display:block}.component-table td small{font-size:10px;color:var(--muted);display:block;margin-top:5px}.component-table .next-penalty{font-size:9px;margin-top:5px;display:block;color:#bccacc}.component-driver{font-size:12px}.component-driver strong{display:block}.component-sources{padding:16px;display:flex;gap:8px;flex-wrap:wrap}.component-notes{padding:0 18px 16px;color:var(--muted);font-size:12px;line-height:1.7}.component-detail{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.component-detail h3{font-size:13px;padding:16px;margin:0}.component-detail p{margin:0 16px 16px;font-size:12px;line-height:1.7;color:var(--muted)}body[data-view="fia"] .timeline,body[data-view="components"] .timeline{display:none}body[data-view="fia"] .workspace-nav,body[data-view="components"] .workspace-nav{display:flex}body[data-view="fia"] .session-controls,body[data-view="components"] .session-controls{display:none}@media(max-width:760px){.fia-hero{display:block}.fia-hero .fia-actions{margin-top:15px}.fia-docs,.component-detail{grid-template-columns:1fr}.fia-controls{gap:10px}.fia-controls label{flex:1;min-width:140px}.fia-controls input,.fia-controls select{width:100%;min-width:0}.fia-hero h2{font-size:30px}.component-table td,.component-table th{padding:11px 9px}.fia-docs{padding:0 10px 12px}.fia-doc{padding:13px}.component-table td:first-child,.component-table th:first-child{min-width:160px}.fia-status{margin:0 10px 12px}.fia-source-link{font-size:11px}}

.home-secondary{flex-wrap:wrap}body:is([data-view="fia"],[data-view="components"]) :is(.hero,.workspace-intro,#coverageSummary,.notice,.session-strip,#researchBar,.timeline){display:none!important}

.component-table table{table-layout:fixed}.component-table th:first-child{width:183px}.component-table th,.component-table td{white-space:normal}.component-table th small{line-height:1.5}.component-table td.component-available b{color:#c9ef87}.component-table td.component-limit b{color:#f0ce76}.component-table td.component-over b{color:#ff9f9f}.component-table caption.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.component-counts{display:grid;grid-template-columns:1fr 1fr;gap:10px}.component-table .component-counts small{font-size:11px;margin:0 0 4px;color:#b5c4c6}.component-counts strong{font-size:17px;color:var(--text)}.component-remaining{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #ffffff14;margin-top:10px;padding-top:8px}.component-table .component-remaining small{margin:0;font-size:11px;color:inherit}.component-table .component-remaining b{font-size:19px}.component-overage{display:block;font-size:11px;margin-top:6px}.component-table .next-penalty{line-height:1.5;margin-top:8px}.component-table td{vertical-align:top}

.fia-summary-lines{margin:12px 0 8px;font-size:12px;line-height:1.6}.fia-summary-lines div{margin:7px 0}.fia-summary-lines dt{font-weight:700;color:var(--text)}.fia-summary-lines dd{margin:0;color:var(--muted);overflow-wrap:anywhere}.fia-doc>div:last-child{min-width:0}.fia-summary-retry{margin-top:8px}

/* Shared controls stay outside page-specific and presentation-mode sections. */
#displayModes{display:flex;align-items:center;justify-content:flex-end;gap:8px;position:sticky;top:0;z-index:110;padding:8px 0;background:var(--bg);border-bottom:1px solid var(--line);flex:none}
#displayModes button{min-height:44px;padding:8px 16px;font-size:12px;white-space:nowrap}
#displayModes button[aria-pressed="true"]{color:var(--lime);border-color:#718b42;background:#25301e}
body[data-view="watch"] .app{display:flex;flex-direction:column;padding-bottom:0}
body[data-view="watch"] #watchView{height:auto;min-height:0;flex:1}
body[data-view="watch"] .watch-head{position:static}
@media(max-width:520px){#displayModes button{flex:1;padding:8px 10px}}

/* Keep the desktop Race Control proportions on Fire TV's smaller CSS viewport.
   CSS zoom scales layout and pointer targets together; panel data is unchanged. */
html.fire-tv body[data-view="watch"]{overflow:hidden}
html.fire-tv body[data-view="watch"] .app{
 width:var(--tv-width);height:var(--tv-height);min-height:0;max-width:none;
 zoom:var(--tv-scale);padding:0 14px;overflow:hidden;margin:0;
 display:flex;flex-direction:column;
}
html.fire-tv body[data-view="watch"] #displayModes{position:static;min-height:61px}
html.fire-tv body[data-view="watch"] #watchView{height:auto;min-height:0;max-width:none;flex:1 1 0;padding:8px 0}
html.fire-tv body[data-view="watch"] .watch-head{position:static;display:flex;flex-wrap:nowrap;min-height:46px;flex:none;padding:0;gap:10px}
html.fire-tv body[data-view="watch"] .watch-head>div{flex:1;min-width:0}
html.fire-tv body[data-view="watch"] .watch-head strong{font-size:16px}
html.fire-tv body[data-view="watch"] .watch-head small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.fire-tv body[data-view="watch"] .watch-head img{width:46px;height:46px}
html.fire-tv body[data-view="watch"] .watch-head button{flex:none;width:auto;min-height:44px;font-size:12px;margin:0}
html.fire-tv body[data-view="watch"] .watch-data-nav{flex:none;flex-wrap:nowrap}
html.fire-tv body[data-view="watch"] .watch-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);min-height:0;flex:1 1 0;gap:12px}
html.fire-tv body[data-view="watch"] .watch-left{display:grid;grid-template-rows:minmax(0,1.35fr) minmax(390px,1fr);min-height:0;overflow:hidden;gap:10px}
html.fire-tv body[data-view="watch"] .watch-left>.watch-order{height:auto;min-height:0}
html.fire-tv body[data-view="watch"] .watch-table-wrap{min-height:0;flex:1 1 0;overflow:auto}
html.fire-tv body[data-view="watch"] .watch-order table{min-width:0;width:100%;table-layout:auto}
html.fire-tv body[data-view="watch"] .watch-order th{padding:5px 8px;font-size:9px;width:auto}
html.fire-tv body[data-view="watch"] .watch-order>.watch-panel-title{padding:8px 12px}
html.fire-tv body[data-view="watch"] .watch-order>.watch-note{padding:5px 12px}
html.fire-tv body[data-view="watch"] .watch-order td{display:table-cell;height:16px;padding:0 8px;font-size:12px;line-height:14px;border-bottom:0;box-shadow:inset 0 -1px #ffffff08}
html.fire-tv body[data-view="watch"] .watch-order td button{min-height:16px;font-size:12px;line-height:14px;gap:8px}
html.fire-tv body[data-view="watch"] .watch-order td button small{display:inline}
html.fire-tv body[data-view="watch"] .watch-tyre{vertical-align:middle;width:14px;height:14px;line-height:14px}
html.fire-tv body[data-view="watch"] .watch-table-wrap .team-logo{height:14px!important;width:22px!important;flex-basis:22px;margin:0}
html.fire-tv body[data-view="watch"] .watch-bottom{height:auto;min-height:0;grid-template-columns:minmax(0,1.8fr) minmax(145px,1fr)}
html.fire-tv body[data-view="watch"] .watch-side{display:grid;grid-template-columns:minmax(0,2fr) minmax(150px,1fr);grid-template-rows:minmax(0,1.15fr) minmax(0,1fr) auto;min-height:0;overflow:hidden}
html.fire-tv body[data-view="watch"] .watch-side>.watch-map{grid-column:1;grid-row:1}
html.fire-tv body[data-view="watch"] .watch-map #watchMap{min-height:0}
html.fire-tv body[data-view="watch"] .watch-side>.watch-penalties{grid-column:2;grid-row:1;min-height:0;max-height:none}
html.fire-tv body[data-view="watch"] .watch-side>.watch-feed{grid-column:1/-1;grid-row:2}
html.fire-tv body[data-view="watch"] .watch-side>.watch-radio{grid-column:1/-1;grid-row:3}
html.fire-tv body[data-view="watch"] .watch-conditions #watchWeather{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 10px;padding:12px}
html.fire-tv body[data-view="watch"] .watch-conditions #watchWeather span{flex-direction:column;align-items:flex-start;gap:5px;font-size:11px;line-height:1.2}
html.fire-tv body[data-view="watch"] .watch-conditions #watchWeather b{font-size:13px}
html.fire-tv body[data-view="watch"] #watchFeed article{height:31px;min-height:31px}
html.fire-tv body[data-view="watch"] #watchFeed article .pulse-message{min-height:0;font-size:11px}
html.fire-tv body[data-view="watch"] #watchFeed article button:not(.pulse-message){min-height:0;min-width:0}
html.fire-tv body[data-view="watch"] .watch-foot{padding:0;flex:none}

/* Brazil 2026 qualifying only: 75% statistics / 25% weather, equal top/bottom. */
#watchView.watch-brazil-trial .watch-grid{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,1fr)}
#watchView.watch-brazil-trial .watch-left{display:grid;grid-template-rows:minmax(0,1fr) minmax(0,1fr);overflow:hidden}
#watchView.watch-brazil-trial .watch-order{height:auto;min-height:0}
#watchView.watch-brazil-trial .watch-order>.watch-panel-title{flex:none;padding:8px 10px}
#watchView.watch-brazil-trial #watchLap{margin-left:auto}
#watchView.watch-brazil-trial .watch-trial-sector-control{display:flex;align-items:center;gap:6px;white-space:nowrap}
#watchView.watch-brazil-trial .watch-trial-sector-control select{padding:4px 6px;min-height:26px;font-size:10px;max-width:135px}
#watchView.watch-brazil-trial .watch-bottom{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,3fr);grid-template-rows:auto minmax(0,1fr);gap:10px;height:auto;min-height:0}
#watchView.watch-brazil-trial .watch-trial-summary{grid-column:1/-1;grid-row:1;min-height:0}
#watchView.watch-brazil-trial .watch-bottom>.watch-map{grid-column:1;grid-row:2;min-height:0}
#watchView.watch-brazil-trial .watch-map #watchMap{min-height:0}
#watchView.watch-brazil-trial .watch-bottom>.watch-conditions{grid-column:2;grid-row:2;min-height:0;overflow:auto}
#watchView.watch-brazil-trial .watch-bottom>.watch-penalties{grid-column:3;grid-row:2;display:flex;flex-direction:column;min-height:0;overflow:hidden!important}
#watchView.watch-brazil-trial #watchPenalties{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:7px;overflow:auto;min-height:0;padding:0 8px 8px}
#watchView.watch-brazil-trial #watchPenalties article{margin:0;padding:8px}
#watchView.watch-brazil-trial #watchPenalties b{font-size:11px}
#watchView.watch-brazil-trial #watchPenalties small{font-size:10px}
#watchView.watch-brazil-trial .watch-side{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) minmax(0,1fr);overflow:hidden;position:relative}
#watchView.watch-brazil-trial .watch-side>.watch-radar{grid-column:1;grid-row:1;min-height:0!important;display:grid;grid-template-rows:auto minmax(0,1fr) auto}
#watchView.watch-brazil-trial #watchRadar{position:relative;min-height:0;min-width:0;overflow:hidden}
#watchView.watch-brazil-trial #watchRadar iframe{position:absolute;top:0;left:0;width:100%;height:100%;min-height:0;display:block}
#watchView.watch-brazil-trial .watch-side>.watch-feed{grid-column:1;grid-row:2;min-height:0!important;margin-bottom:40px}
#watchView.watch-brazil-trial.watch-live .watch-side>.watch-feed{margin-bottom:0}
#watchView.watch-brazil-trial .watch-side>.watch-radio{position:absolute;bottom:0;left:0;right:0;z-index:3;max-height:45%;background:#131a1e}
#watchView.watch-brazil-trial .watch-conditions #watchWeather{grid-template-columns:1fr;gap:10px;padding:10px}
#watchView.watch-brazil-trial .watch-conditions #watchWeather span{flex-direction:row;align-items:baseline;justify-content:space-between;gap:6px}
#watchView.watch-brazil-trial .watch-conditions #watchWeather b{font-size:13px}
#watchView.watch-brazil-trial #watchBests>div{padding:5px 8px}
#watchView.watch-brazil-trial .watch-trial-summary>.watch-note{padding:4px 8px}
#watchTrialTiming{flex:1;min-height:0;min-width:0;overflow:auto;scrollbar-color:#647780 #131a1e}
#watchTrialTiming table{width:100%;min-width:900px;table-layout:fixed;border-collapse:collapse}
#watchTrialTiming th{padding:5px 4px;font-size:9px;white-space:normal;line-height:1.3;text-align:right;width:auto;position:sticky;top:0}
#watchTrialTiming td{display:table-cell;padding:0 4px;height:18px;font-size:11px;line-height:16px;border-bottom:0;box-shadow:inset 0 -1px #ffffff08;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right}
#watchTrialTiming th:nth-child(1){width:3%}#watchTrialTiming th:nth-child(2){width:17%}#watchTrialTiming th:nth-child(3){width:9%}#watchTrialTiming th:nth-child(4){width:11%}#watchTrialTiming th:nth-child(5){width:9%}
#watchTrialTiming th:nth-child(6),#watchTrialTiming th:nth-child(7),#watchTrialTiming th:nth-child(8),#watchTrialTiming th:nth-child(9){width:8%}
#watchTrialTiming th:nth-child(10),#watchTrialTiming th:nth-child(11){width:5%}#watchTrialTiming th:nth-child(12){width:9%}
#watchTrialTiming th:nth-child(2),#watchTrialTiming td:nth-child(2){text-align:left;position:static}
#watchTrialTiming th:nth-child(2){position:sticky}
#watchTrialTiming td button{padding:0;min-height:18px;font-size:11px;line-height:16px;display:block;max-width:100%;border:0}
#watchTrialTiming .driver-inline{display:flex;align-items:center;gap:4px}
#watchTrialTiming td button small{display:inline;font-size:9px;line-height:1;margin-left:3px}
#watchTrialTiming .team-logo{width:20px!important;height:14px!important;flex-basis:20px;margin-right:0}
#watchTrialTiming .best{color:var(--lime)}
#watchTrialTiming .sector-fastest{color:#d89aff!important;background:#a84eff18;font-weight:750}
@media(max-width:760px){
 html:not(.fire-tv) #watchView.watch-brazil-trial .watch-grid{display:flex;flex-direction:column}
 html:not(.fire-tv) #watchView.watch-brazil-trial .watch-left{display:flex;flex-direction:column;overflow:visible}
 html:not(.fire-tv) #watchView.watch-brazil-trial .watch-order{height:510px;flex:none}
 html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto 290px auto;height:auto;flex:none}
 html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-penalties{grid-column:1/-1;grid-row:3;max-height:330px}
 html:not(.fire-tv) #watchView.watch-brazil-trial #watchPenalties{grid-template-columns:repeat(2,minmax(0,1fr))}
 html:not(.fire-tv) #watchView.watch-brazil-trial .watch-side{grid-template-rows:360px 380px;min-height:0}
 html:not(.fire-tv) #watchView.watch-brazil-trial .watch-order>.watch-panel-title{flex-wrap:wrap}
}
/* Revised column order for the unpublished Brazil trial. */
#watchTrialTiming .trial-statistics th{width:auto}
#watchTrialTiming .trial-statistics th:first-child{width:3%}
#watchTrialTiming .trial-statistics th:nth-child(2){width:16%}
#watchTrialTiming .trial-statistics th:nth-child(3),#watchTrialTiming .trial-statistics th:nth-child(4){width:8%}
#watchTrialTiming .trial-statistics th:nth-child(5){width:10%}
#watchTrialTiming .trial-statistics th:nth-child(6),#watchTrialTiming .trial-statistics th:nth-child(7){width:8%}
#watchTrialTiming .trial-statistics th:nth-child(8),#watchTrialTiming .trial-statistics th:nth-child(9),#watchTrialTiming .trial-statistics th:nth-child(10){width:6%}
#watchTrialTiming .trial-statistics th:nth-child(11){width:8%}
#watchTrialTiming .trial-statistics th:nth-child(12),#watchTrialTiming .trial-statistics th:nth-child(13){width:3%}
#watchTrialTiming .trial-statistics th:nth-child(14){width:7%}
#watchTrialTiming .trial-statistics td{height:23px;font-size:10px;line-height:12px}
#watchTrialTiming .trial-statistics td button{line-height:12px;font-size:10px}
#watchTrialTiming .trial-statistics td button small{display:block;margin:0;font-size:8px;line-height:10px}
#watchTrialTiming .trial-statistics .driver-inline b{color:var(--team)}
#watchView.watch-brazil-trial .watch-bottom{grid-template-columns:minmax(0,3fr) minmax(0,1fr) minmax(0,1fr)}
#watchView.watch-brazil-trial .watch-bottom>.watch-penalties{grid-column:3}
#watchView.watch-brazil-trial .watch-bottom>.watch-map{grid-column:1}
#watchView.watch-brazil-trial #watchPenalties{grid-template-columns:minmax(0,1fr)}
#watchView.watch-brazil-trial .watch-feed .watch-audio,#watchView.watch-brazil-trial #watchTranscriptStatus,#watchView.watch-brazil-trial .watch-radio{display:none!important}
#watchView.watch-brazil-trial .watch-side>.watch-feed{margin-bottom:0}
#watchView.watch-brazil-trial #watchFeed article{height:auto;min-height:0;white-space:normal;padding:10px}
#watchView.watch-brazil-trial #watchFeed .pulse-message{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.4}
@media(max-width:760px){html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom{grid-template-columns:1fr 1fr}html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-map{grid-column:1}html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-conditions{grid-column:2}html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-penalties{grid-column:1/-1}}
#watchView.watch-brazil-trial .trial-tyre{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;box-sizing:border-box;border:3px solid var(--tyre-color,#8b969c);border-radius:50%;background:#11191d;color:var(--tyre-color,#aebbc2);font-size:11px;font-weight:800;line-height:1;flex:none}
#watchView.watch-brazil-trial .tyre-S{--tyre-color:#ff5059}#watchView.watch-brazil-trial .tyre-M{--tyre-color:#ffdc39}#watchView.watch-brazil-trial .tyre-H{--tyre-color:#f3f6fa}#watchView.watch-brazil-trial .tyre-I{--tyre-color:#62d38c}#watchView.watch-brazil-trial .tyre-W{--tyre-color:#57b7ff}
#watchView.watch-brazil-trial .trial-tyre-set{display:inline-flex;align-items:center;justify-content:flex-end;gap:5px}
#watchView.watch-brazil-trial .trial-tyre-set small{font-size:8px;color:var(--muted)}
#watchView.watch-brazil-trial .trial-tyre-legend{display:flex;align-items:center;gap:5px;margin-top:5px;font-size:9px}
#watchView.watch-brazil-trial .trial-tyre-legend .trial-tyre{width:16px;height:16px;font-size:9px;border-width:2px;margin-left:6px}
#watchView.watch-brazil-trial #watchPenalties{display:block;padding:0;overflow:auto}
#watchView.watch-brazil-trial #watchPenalties article{margin:0;padding:0;border:0;border-bottom:1px solid #ffffff18;border-left:3px solid #bb9748;border-radius:0;background:transparent}
#watchView.watch-brazil-trial #watchPenalties summary{padding:8px;cursor:pointer;color:#ffd477;font-size:11px;line-height:1.35}
#watchView.watch-brazil-trial #watchPenalties details p{padding:0 8px 8px;margin:0;font-size:10px;color:var(--muted);line-height:1.4}

#watchView.watch-brazil-trial #watchPenalties .penalty-line{padding:8px;margin:0;color:#ffd477;font-size:10px;line-height:1.35;white-space:nowrap}
#watchView.watch-brazil-trial #watchPenalties .penalty-line{display:flex;align-items:baseline;min-width:0;padding:8px 6px;gap:0}
#watchView.watch-brazil-trial #watchPenalties .penalty-line>span:first-child{flex:none}
#watchView.watch-brazil-trial #watchPenalties .penalty-reason{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}
/* Full-width statistics and pulse, with adjacent circuit/weather maps. */
#watchView.watch-brazil-trial .watch-grid{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(360px,1.8fr) auto minmax(240px,1fr) minmax(150px,.7fr);gap:10px;overflow:auto}
#watchView.watch-brazil-trial .watch-grid>.watch-order{grid-column:1;grid-row:1}
#watchView.watch-brazil-trial .watch-grid>.watch-trial-summary{grid-column:1;grid-row:2}
#watchView.watch-brazil-trial .watch-grid>.watch-bottom{grid-column:1;grid-row:3;grid-template-columns:minmax(0,2fr) minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
#watchView.watch-brazil-trial .watch-bottom>.watch-map{grid-column:1;grid-row:1}
#watchView.watch-brazil-trial .watch-bottom>.watch-radar{grid-column:2;grid-row:1;min-height:0!important;display:grid;grid-template-rows:auto minmax(0,1fr) auto}
#watchView.watch-brazil-trial .watch-bottom>.watch-conditions{grid-column:3;grid-row:1}
#watchView.watch-brazil-trial .watch-bottom>.watch-penalties{grid-column:4;grid-row:1}
#watchView.watch-brazil-trial .watch-grid>.watch-feed{grid-column:1;grid-row:4;min-height:0!important;background:#131a1e;border:1px solid #2a3337;border-radius:9px;overflow:hidden}
#watchView.watch-brazil-trial #watchFeed article{padding:7px 10px}
#watchView.watch-brazil-trial #watchFeed .pulse-message{font-size:14px;line-height:1.45}
#watchView.watch-brazil-trial #watchFeed time,#watchView.watch-brazil-trial #watchFeed small{font-size:11px}
#watchTrialTiming .trial-statistics td,#watchTrialTiming .trial-statistics td button{font-size:12px;line-height:14px}
#watchTrialTiming .trial-statistics td button small{font-size:9px;line-height:11px}
@media(max-width:760px){html:not(.fire-tv) #watchView.watch-brazil-trial .watch-grid{display:flex;flex-direction:column;overflow:visible}html:not(.fire-tv) #watchView.watch-brazil-trial .watch-grid>.watch-bottom{grid-template-columns:1fr 1fr;grid-template-rows:300px 250px}html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-map{grid-column:1;grid-row:1}html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-radar{grid-column:2;grid-row:1}html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-conditions{grid-column:1;grid-row:2}html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-penalties{grid-column:2;grid-row:2}html:not(.fire-tv) #watchView.watch-brazil-trial .watch-grid>.watch-feed{height:320px;flex:none}}

/* Map and weather fill the lower left; pulse sits beneath conditions/penalties. */
#watchView.watch-brazil-trial .watch-grid{grid-template-rows:minmax(420px,1.55fr) auto minmax(350px,1fr)}
#watchView.watch-brazil-trial .watch-grid>.watch-bottom{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,.8fr) minmax(0,.8fr);grid-template-rows:minmax(0,1fr) minmax(0,1fr);gap:10px}
#watchView.watch-brazil-trial .watch-bottom>.watch-map{grid-column:1;grid-row:1/3}
#watchView.watch-brazil-trial .watch-bottom>.watch-radar{grid-column:2;grid-row:1/3}
#watchView.watch-brazil-trial .watch-bottom>.watch-feed{grid-column:3/5;grid-row:2;min-height:0!important;background:#131a1e;border:1px solid #2a3337;border-radius:9px;overflow:hidden}
#watchTrialTiming .trial-statistics td,#watchTrialTiming .trial-statistics td button{font-size:16px;line-height:19px;height:31px}
#watchTrialTiming .trial-statistics td button small{font-size:11px;line-height:12px}
#watchTrialTiming .trial-statistics th{font-size:12px;padding:7px 4px}
#watchView.watch-brazil-trial .trial-tyre-set small{font-size:10px}
@media(max-width:760px){html:not(.fire-tv) #watchView.watch-brazil-trial .watch-grid>.watch-bottom{grid-template-columns:1fr 1fr;grid-template-rows:300px 250px 300px}html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-map,html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-radar{grid-row:1}html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-feed{grid-column:1/-1;grid-row:3}}
#watchView.watch-brazil-trial .watch-conditions #watchWeather{gap:4px;padding:6px 10px}
#watchView.watch-brazil-trial .watch-conditions .watch-note{margin:0;padding:4px 10px}
#watchView.watch-brazil-trial #watchPenalties .penalty-line{padding:5px 6px}
#watchView.watch-brazil-trial .watch-grid>.watch-bottom{grid-template-rows:minmax(0,1.2fr) minmax(0,1fr)}
/* Keep fastest times in two compact strips and return height to statistics. */
#watchView.watch-brazil-trial #watchBests>div{display:flex;align-items:baseline;gap:8px;padding:5px 8px;white-space:nowrap}
#watchView.watch-brazil-trial #watchBests small{display:inline;font-size:11px}
#watchView.watch-brazil-trial #watchBests strong{display:inline;margin:0;font-size:16px}
#watchView.watch-brazil-trial #watchBests span{font-size:12px}
#watchView.watch-brazil-trial #watchOverallBests{display:flex;align-items:baseline;gap:12px;padding:4px 8px}
#watchView.watch-brazil-trial #watchOverallBests[hidden]{display:none}
#watchView.watch-brazil-trial #watchOverallBests>small{flex:none;margin:0;font-size:10px}
#watchView.watch-brazil-trial #watchOverallBests>div{flex:1;font-size:11px}
#watchView.watch-brazil-trial .watch-trial-summary>.watch-note{margin:0;padding:3px 8px;line-height:1.2}
#watchView.watch-brazil-trial .trial-tyre-legend{margin-top:0}
#watchView.watch-brazil-trial .watch-grid{grid-template-rows:minmax(420px,1fr) auto minmax(350px,.64fr)}
@media(max-width:760px){html:not(.fire-tv) #watchView.watch-brazil-trial #watchBests>div{flex-wrap:wrap;gap:3px}html:not(.fire-tv) #watchView.watch-brazil-trial #watchOverallBests{display:block}}

#watchTrialTiming .trial-statistics th:nth-child(14),#watchTrialTiming .trial-statistics th:nth-child(15){width:7%}
#watchTrialTiming .trial-statistics th:nth-child(2){width:15%}
#watchTrialTiming .trial-extra-detail{display:block;font-size:10px;line-height:11px;color:var(--muted)}

#watchTrialTiming .trial-statistics th:nth-child(2){width:13%}
#watchTrialTiming .trial-statistics th:nth-child(12){width:5%}
#watchTrialTiming .trial-statistics th:nth-child(14),#watchTrialTiming .trial-statistics th:nth-child(15),#watchTrialTiming .trial-statistics th:nth-child(16){width:7%}

/* Reserve room for all 22 drivers without shrinking the primary statistics. */
#watchView.watch-brazil-trial .watch-grid{grid-template-rows:minmax(660px,1fr) auto minmax(330px,.48fr)}
#watchTrialTiming .trial-statistics td,#watchTrialTiming .trial-statistics td button{height:28px;line-height:17px;font-size:16px}
#watchTrialTiming .trial-statistics td button small{line-height:10px;font-size:10px}
#watchTrialTiming .trial-extra-detail{line-height:10px}
/* Align every tyre badge and reserve a full-height column for Track Pulse. */
#watchView.watch-brazil-trial .trial-tyre-set{display:inline-grid;grid-template-columns:20px 48px;width:73px;gap:5px;align-items:center;justify-content:start;text-align:left;font-variant-numeric:tabular-nums}
#watchView.watch-brazil-trial .trial-tyre-set>span{display:flex;justify-content:space-between;align-items:baseline;width:48px}
#watchView.watch-brazil-trial .watch-bottom>.watch-feed{grid-column:4;grid-row:1/3}
#watchView.watch-brazil-trial .watch-bottom>.watch-penalties{grid-column:3;grid-row:2}
#watchView.watch-brazil-trial #watchFeed{max-height:none}
#watchView.watch-brazil-trial .watch-feed>.watch-panel-title{flex-wrap:wrap;gap:3px}
@media(max-width:760px){html:not(.fire-tv) #watchView.watch-brazil-trial .watch-grid>.watch-bottom{grid-template-rows:300px 250px 300px}html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-penalties{grid-column:1;grid-row:3}html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-feed{grid-column:2;grid-row:2/4}}

#watchView.watch-brazil-trial .watch-penalties>.watch-note{display:none}
#watchView.watch-brazil-trial #watchPenalties .penalty-line{display:grid;grid-template-columns:1fr 1fr 1.1fr;gap:6px;padding:4px 6px;font-size:12px;line-height:1.2}
#watchView.watch-brazil-trial #watchPenalties .penalty-line>span{min-width:0}
#watchView.watch-brazil-trial #watchPenalties .penalty-reason{white-space:normal;overflow:visible;text-overflow:clip}
#watchView.watch-brazil-trial #watchPenalties .penalty-line{padding:2px 6px}
#watchView.watch-brazil-trial .trial-tyre-set>span{display:block;text-align:right;width:48px;white-space:nowrap}

#watchTrialTiming .trial-statistics td:nth-child(15) .trial-extra-detail{display:inline;margin-left:3px;line-height:inherit;vertical-align:baseline;font-size:11px}
/* Size the statistics panel from its actual rows, including the final driver. */
html.fire-tv #watchView.watch-brazil-trial .watch-grid{grid-template-rows:max-content auto minmax(330px,1fr)}
html.fire-tv #watchView.watch-brazil-trial #watchTrialTiming{flex:none;overflow-x:auto;overflow-y:hidden;padding-bottom:6px}
/* Slightly smaller statistics leave breathing room for every lower panel. */
html.fire-tv #watchTrialTiming .trial-statistics td,html.fire-tv #watchTrialTiming .trial-statistics td button{font-size:15px;line-height:16px;height:26px;min-height:26px}
html.fire-tv #watchTrialTiming .trial-statistics td button small{font-size:9px;line-height:9px}
html.fire-tv #watchTrialTiming .trial-statistics th{font-size:11px;padding-top:5px;padding-bottom:5px}
html.fire-tv #watchView.watch-brazil-trial .watch-trial-summary>.watch-note{display:flex;flex-wrap:wrap;align-items:center;gap:4px;min-height:28px;box-sizing:border-box}
html.fire-tv #watchView.watch-brazil-trial .trial-tyre-legend{float:none;display:inline-flex;margin:0 0 0 auto}
html.fire-tv #watchView.watch-brazil-trial .watch-grid{grid-template-rows:max-content auto minmax(360px,1fr)}
#watchTrialTiming .trial-statistics th:nth-child(4),#watchTrialTiming .trial-statistics td:nth-child(4){text-align:center}

/* Requested swap: Track Pulse on the left, circuit locator on the right. */
#watchView.watch-brazil-trial .watch-bottom>.watch-feed{grid-column:1;grid-row:1/3}
#watchView.watch-brazil-trial .watch-bottom>.watch-map{grid-column:4;grid-row:1/3}

/* Even numeric spacing; keep gaps beside fastest lap without oversized columns. */
#watchTrialTiming .trial-statistics th:nth-child(3),#watchTrialTiming .trial-statistics th:nth-child(4){width:6.5%}
#watchTrialTiming .trial-statistics th:nth-child(5){width:9%}
#watchTrialTiming .trial-statistics th:nth-child(3),#watchTrialTiming .trial-statistics td:nth-child(3),#watchTrialTiming .trial-statistics th:nth-child(4),#watchTrialTiming .trial-statistics td:nth-child(4),#watchTrialTiming .trial-statistics th:nth-child(5),#watchTrialTiming .trial-statistics td:nth-child(5){text-align:center;padding-left:4px;padding-right:4px}
#watchTrialTiming .trial-statistics .gap-round{display:inline;font-size:9px;opacity:.75;line-height:inherit}

/* Explicit percentages total 100; no browser redistribution of oversized columns. */
#watchTrialTiming .trial-statistics th:nth-child(1){width:2.5%}
#watchTrialTiming .trial-statistics th:nth-child(2){width:12%}
#watchTrialTiming .trial-statistics th:nth-child(3){width:6%}
#watchTrialTiming .trial-statistics th:nth-child(4){width:6%}
#watchTrialTiming .trial-statistics th:nth-child(5){width:8%}
#watchTrialTiming .trial-statistics th:nth-child(6){width:7%}
#watchTrialTiming .trial-statistics th:nth-child(7){width:7%}
#watchTrialTiming .trial-statistics th:nth-child(8){width:5%}
#watchTrialTiming .trial-statistics th:nth-child(9){width:5%}
#watchTrialTiming .trial-statistics th:nth-child(10){width:5%}
#watchTrialTiming .trial-statistics th:nth-child(11){width:7%}
#watchTrialTiming .trial-statistics th:nth-child(12){width:4%}
#watchTrialTiming .trial-statistics th:nth-child(13){width:2.5%}
#watchTrialTiming .trial-statistics th:nth-child(14){width:8%}
#watchTrialTiming .trial-statistics th:nth-child(15){width:7%}
#watchTrialTiming .trial-statistics th:nth-child(16){width:8%}
#watchTrialTiming .trial-statistics td:nth-child(14){line-height:14px}
#watchTrialTiming .trial-statistics td:nth-child(14) .trial-extra-detail{font-size:9px;line-height:9px;margin-top:0}

/* Shared 18-column layout: preserve row height and readable values. */
#watchTrialTiming .trial-statistics th:nth-child(1){width:2%}
#watchTrialTiming .trial-statistics th:nth-child(2){width:11%}
#watchTrialTiming .trial-statistics th:nth-child(3){width:5.5%}
#watchTrialTiming .trial-statistics th:nth-child(4){width:5.5%}
#watchTrialTiming .trial-statistics th:nth-child(5){width:7.5%}
#watchTrialTiming .trial-statistics th:nth-child(6){width:6.5%}
#watchTrialTiming .trial-statistics th:nth-child(7){width:6.5%}
#watchTrialTiming .trial-statistics th:nth-child(8){width:4.5%}
#watchTrialTiming .trial-statistics th:nth-child(9){width:4.5%}
#watchTrialTiming .trial-statistics th:nth-child(10){width:4.5%}
#watchTrialTiming .trial-statistics th:nth-child(11){width:6%}
#watchTrialTiming .trial-statistics th:nth-child(12){width:9%}
#watchTrialTiming .trial-statistics th:nth-child(13){width:3.5%}
#watchTrialTiming .trial-statistics th:nth-child(14){width:2%}
#watchTrialTiming .trial-statistics th:nth-child(15){width:7%}
#watchTrialTiming .trial-statistics th:nth-child(16){width:5%}
#watchTrialTiming .trial-statistics th:nth-child(17){width:5%}
#watchTrialTiming .trial-statistics th:nth-child(18){width:4.5%}
#watchTrialTiming .trial-statistics td:nth-child(15) .trial-extra-detail{display:block;font-size:9px;line-height:9px;margin:0}
#watchTrialTiming .trial-statistics td:nth-child(16) .trial-extra-detail,#watchTrialTiming .trial-statistics td:nth-child(17) .trial-extra-detail{display:inline;font-size:9px;line-height:inherit;margin:0}
#watchTrialTiming .stint-history{display:grid;grid-template-columns:18px 38px 38px;align-items:center;justify-content:center;gap:3px;width:100%;padding:0;white-space:nowrap;font-variant-numeric:tabular-nums}
#watchTrialTiming .stint-history-item{display:grid;grid-template-columns:15px 20px;align-items:center;gap:3px;min-height:15px}
#watchTrialTiming .stint-history-item>span{text-align:right}
#watchTrialTiming .stint-history .trial-tyre{width:15px;height:15px;min-width:15px;font-size:10px;line-height:15px}
#watchTrialTiming .trial-statistics .stint-history>small{display:inline;font-size:9px}

#watchTrialTiming .trial-statistics th:nth-child(2){width:12%}
#watchTrialTiming .trial-statistics th:nth-child(12){width:8%}

/* Race-only places column preserves the established metric slots. */

#watchTrialTiming .trial-statistics.race-places th:nth-child(2){width:16%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(4),#watchTrialTiming .trial-statistics.race-places th:nth-child(5){width:8%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(6){width:10%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(7),#watchTrialTiming .trial-statistics.race-places th:nth-child(8){width:8%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(9),#watchTrialTiming .trial-statistics.race-places th:nth-child(10),#watchTrialTiming .trial-statistics.race-places th:nth-child(11){width:6%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(12){width:8%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(13),#watchTrialTiming .trial-statistics.race-places th:nth-child(14){width:3%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(15){width:7%}


#watchTrialTiming .trial-statistics.race-places th:nth-child(15),#watchTrialTiming .trial-statistics.race-places th:nth-child(16){width:7%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(2){width:15%}


#watchTrialTiming .trial-statistics.race-places th:nth-child(2){width:13%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(13){width:5%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(15),#watchTrialTiming .trial-statistics.race-places th:nth-child(16),#watchTrialTiming .trial-statistics.race-places th:nth-child(17){width:7%}


#watchTrialTiming .trial-statistics.race-places td:nth-child(16) .trial-extra-detail{display:inline;margin-left:3px;line-height:inherit;vertical-align:baseline;font-size:11px}

#watchTrialTiming .trial-statistics.race-places th:nth-child(5),#watchTrialTiming .trial-statistics.race-places td:nth-child(5){text-align:center}


/* Even numeric spacing; keep gaps beside fastest lap without oversized columns. */
#watchTrialTiming .trial-statistics.race-places th:nth-child(4),#watchTrialTiming .trial-statistics.race-places th:nth-child(5){width:6.5%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(6){width:9%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(4),#watchTrialTiming .trial-statistics.race-places td:nth-child(4),#watchTrialTiming .trial-statistics.race-places th:nth-child(5),#watchTrialTiming .trial-statistics.race-places td:nth-child(5),#watchTrialTiming .trial-statistics.race-places th:nth-child(6),#watchTrialTiming .trial-statistics.race-places td:nth-child(6){text-align:center;padding-left:4px;padding-right:4px}


/* Explicit percentages total 100; no browser redistribution of oversized columns. */
#watchTrialTiming .trial-statistics.race-places th:nth-child(1){width:2.5%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(2){width:12%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(4){width:6%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(5){width:6%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(6){width:8%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(7){width:7%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(8){width:7%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(9){width:5%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(10){width:5%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(11){width:5%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(12){width:7%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(13){width:4%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(14){width:2.5%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(15){width:8%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(16){width:7%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(17){width:8%}

#watchTrialTiming .trial-statistics.race-places td:nth-child(15){line-height:14px}

#watchTrialTiming .trial-statistics.race-places td:nth-child(15) .trial-extra-detail{font-size:9px;line-height:9px;margin-top:0}


/* Shared 18-column layout: preserve row height and readable values. */
#watchTrialTiming .trial-statistics.race-places th:nth-child(1){width:2%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(2){width:11%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(4){width:5.5%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(5){width:5.5%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(6){width:7.5%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(7){width:6.5%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(8){width:6.5%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(9){width:4.5%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(10){width:4.5%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(11){width:4.5%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(12){width:6%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(13){width:9%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(14){width:3.5%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(15){width:2%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(16){width:7%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(17){width:5%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(18){width:5%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(19){width:4.5%}

#watchTrialTiming .trial-statistics.race-places td:nth-child(16) .trial-extra-detail{display:block;font-size:9px;line-height:9px;margin:0}

#watchTrialTiming .trial-statistics.race-places td:nth-child(17) .trial-extra-detail,#watchTrialTiming .trial-statistics.race-places td:nth-child(18) .trial-extra-detail{display:inline;font-size:9px;line-height:inherit;margin:0}


#watchTrialTiming .trial-statistics.race-places th:nth-child(2){width:12%}

#watchTrialTiming .trial-statistics.race-places th:nth-child(13){width:8%}
#watchTrialTiming .trial-statistics.race-places th:nth-child(3){width:4%}

/* Native tablet/desktop layout; the verified Fire TV canvas stays separate. */
html:not(.fire-tv) body[data-view="watch"]{overflow:auto}
html:not(.fire-tv) body[data-view="watch"] .app{height:auto;min-height:100vh;min-height:100dvh;overflow:visible;padding:0 max(12px,env(safe-area-inset-right)) 16px max(12px,env(safe-area-inset-left))}
html:not(.fire-tv) body[data-view="watch"] #watchView{min-height:0;flex:none}
html:not(.fire-tv) #watchView.watch-brazil-trial .watch-grid{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;overflow:visible;flex:none}
html:not(.fire-tv) #watchView.watch-brazil-trial .watch-grid>.watch-order{height:auto;min-height:0;flex:none}
html:not(.fire-tv) #watchTrialTiming{flex:none;max-height:none;overflow:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
html:not(.fire-tv) #watchTrialTiming .trial-statistics{min-width:1760px;table-layout:fixed}
html:not(.fire-tv) #watchTrialTiming .trial-statistics td{height:32px;display:table-cell}
html:not(.fire-tv) #watchTrialTiming .trial-statistics th{display:table-cell}
html:not(.fire-tv) #watchTrialTiming .trial-statistics td button{min-height:32px}
html:not(.fire-tv) #watchTrialTiming .trial-statistics th:nth-child(2),html:not(.fire-tv) #watchTrialTiming .trial-statistics td:nth-child(2){position:sticky;left:0;background:#182226;z-index:2;box-shadow:3px 0 6px #0005}
html:not(.fire-tv) #watchTrialTiming .trial-statistics th:nth-child(2){z-index:4}
html:not(.fire-tv) #watchView.watch-brazil-trial .watch-grid>.watch-bottom{height:auto;min-height:440px;grid-template-columns:1fr 1fr .85fr 1fr;grid-template-rows:minmax(220px,auto) minmax(210px,auto)}
html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-map{grid-column:1;grid-row:1/3}
html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-radar{grid-column:2;grid-row:1/3}
html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-conditions{grid-column:3;grid-row:1}
html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-penalties{grid-column:3;grid-row:2;max-height:none}
html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-feed{grid-column:4;grid-row:1/3;height:auto;min-height:0}
html:not(.fire-tv) #watchView.watch-brazil-trial #watchFeed{max-height:430px}
html:not(.fire-tv) #watchView.watch-brazil-trial #watchPenalties{overflow:visible}
html:not(.fire-tv) #watchView.watch-brazil-trial .watch-head{flex-wrap:wrap}
html:not(.fire-tv) #watchView.watch-brazil-trial .watch-head>div{flex:1 1 300px}
html:not(.fire-tv) #watchView.watch-brazil-trial .watch-trial-summary #watchBests>div{flex-wrap:wrap;white-space:normal}
html:not(.fire-tv) #watchView.watch-brazil-trial .trial-tyre-legend{flex-wrap:wrap}
@media(max-width:1759px){html:not(.fire-tv) #watchView.watch-brazil-trial .watch-order>.watch-panel-title h2::after{content:' · Swipe table for more columns';font-weight:400;text-transform:none;letter-spacing:0;color:#acb9c2}}
@media(max-width:1200px){
 html:not(.fire-tv) #watchView.watch-brazil-trial .watch-grid>.watch-bottom{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:360px minmax(220px,auto) minmax(190px,auto)}
 html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-map{grid-column:1;grid-row:1}
 html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-radar{grid-column:2;grid-row:1}
 html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-conditions{grid-column:1;grid-row:2}
 html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-penalties{grid-column:1;grid-row:3}
 html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-feed{grid-column:2;grid-row:2/4}
 html:not(.fire-tv) #watchView.watch-brazil-trial .watch-data-nav{width:100%}
 html:not(.fire-tv) #watchView.watch-brazil-trial #watchBests{grid-template-columns:repeat(2,minmax(0,1fr))}
 html:not(.fire-tv) #watchView.watch-brazil-trial #watchOverallBests{display:block}
 html:not(.fire-tv) #watchView.watch-brazil-trial #watchOverallBests>div{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:540px){
 html:not(.fire-tv) #watchView.watch-brazil-trial .watch-grid>.watch-bottom{display:flex;flex-direction:column}
 html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-map,html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-radar{height:340px;flex:none}
 html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-feed{height:420px;flex:none}
 html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-conditions,html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-penalties{min-height:190px;flex:none}
}
@media(max-width:1200px){
 html:not(.fire-tv) #watchView.watch-brazil-trial #watchFeed article{display:flex;align-items:center;gap:6px;padding:7px 8px;min-height:0;height:auto;white-space:nowrap}
 html:not(.fire-tv) #watchView.watch-brazil-trial #watchFeed article>div{display:flex;flex:none;flex-wrap:nowrap;gap:4px}
 html:not(.fire-tv) #watchView.watch-brazil-trial #watchFeed article>div>small{display:none}
 html:not(.fire-tv) #watchView.watch-brazil-trial #watchFeed .pulse-message{display:block;flex:1;min-width:0;min-height:0;height:auto;margin:0;padding:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:20px;text-align:left}
}

/* Apple dashboard mode fits every column using the same proven canvas as TV. */
html.apple-dashboard #watchView.watch-brazil-trial #watchFeed article{display:flex;align-items:center;gap:6px;padding:6px 8px;min-height:0;height:auto;white-space:nowrap}
html.apple-dashboard #watchView.watch-brazil-trial #watchFeed article>div{display:flex;flex:none;flex-wrap:nowrap;gap:4px}
html.apple-dashboard #watchView.watch-brazil-trial #watchFeed article>div>small{display:none}
html.apple-dashboard #watchView.watch-brazil-trial #watchFeed .pulse-message{display:block;flex:1;min-width:0;min-height:0;height:auto;margin:0;padding:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:20px;text-align:left}
html.apple-dashboard #watchTrialTiming .trial-statistics td{overflow:visible;text-overflow:clip}
html.apple-dashboard #watchTrialTiming .trial-statistics td button{overflow:visible;text-overflow:clip}
html.apple-dashboard body[data-view="watch"] .app{height:min(var(--tv-height),1400px)}
html.apple-dashboard #watchView.watch-brazil-trial .watch-head .watch-data-nav{order:1}
html.apple-dashboard #watchView.watch-brazil-trial .watch-head #watchExit{order:2}

/* WebKit must scale the dashboard and iframe viewport as one surface.
   CSS zoom on desktop Safari can leave the embedded map smaller than its panel. */
html.ipad-dashboard{-webkit-text-size-adjust:none;text-size-adjust:none}
html.apple-dashboard:not(.desktop-dashboard) body[data-view="watch"] .app{zoom:1!important;transform:scale(var(--tv-scale));transform-origin:top left;position:absolute;top:0;left:0}
html.ipad-dashboard #watchTrialTiming th,html.ipad-dashboard #watchTrialTiming td{-webkit-text-size-adjust:none;text-size-adjust:none}
html.ipad-dashboard #watchView.watch-brazil-trial .watch-bottom>.watch-conditions{overflow:visible}

html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-feed{grid-column:1;grid-row:1/3}
html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-map{grid-column:4;grid-row:1/3}
@media(max-width:1200px){html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-feed{grid-column:1;grid-row:1}html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-map{grid-column:2;grid-row:2/4}}
/* Silk: an auto track with min-height:0 can collapse the summary to zero.
   Reserve its intrinsic height before allocating remaining space to panels. */
html.fire-tv:not(.apple-dashboard) #watchView.watch-brazil-trial .watch-grid{grid-template-rows:max-content max-content minmax(240px,1fr)}
html.fire-tv:not(.apple-dashboard) #watchView.watch-brazil-trial .watch-trial-summary{min-height:min-content;height:auto;align-self:start}
/* Weather panel: title and taller map, without a separate explanatory footer. */
#watchView.watch-brazil-trial .watch-bottom>.watch-radar{grid-template-rows:auto minmax(0,1fr)}
/* Compact chronological rows across TV, tablet and desktop. */
#watchView.watch-brazil-trial #watchFeed article{display:flex;align-items:center;gap:5px;padding:3px 7px;min-height:0;height:auto;white-space:nowrap}
#watchView.watch-brazil-trial #watchFeed article>div{display:flex;flex:none;align-items:center;flex-wrap:nowrap;gap:4px}
#watchView.watch-brazil-trial #watchFeed article>div>small{display:none}
#watchView.watch-brazil-trial #watchFeed .pulse-message{display:block;flex:1;min-width:0;min-height:0;height:auto;margin:0;padding:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:17px;font-size:14px;text-align:left}
html.apple-dashboard #watchView.watch-brazil-trial #watchFeed article{padding:3px 7px;gap:5px}
html.apple-dashboard #watchView.watch-brazil-trial #watchFeed .pulse-message{line-height:17px}

/* Give the retired legend's space to the lower panels. Keep all six readings
   within the conditions panel, including on Silk's scaled desktop canvas. */
#watchView.watch-brazil-trial .watch-conditions #watchWeather{
 grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding:6px 10px;
}
html.fire-tv body[data-view="watch"] #watchView.watch-brazil-trial .watch-conditions #watchWeather{
 grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding:6px 10px;
}
html.fire-tv body[data-view="watch"] #watchView.watch-brazil-trial .watch-conditions #watchWeather span,
#watchView.watch-brazil-trial .watch-conditions #watchWeather span{
 flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:2px;line-height:18px;white-space:normal;min-width:0;
}
html.fire-tv #watchView.watch-brazil-trial .watch-grid>.watch-bottom{
 grid-template-rows:minmax(160px,1.2fr) minmax(0,1fr);
}

#archiveShortcut{display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}#archiveShortcut svg{flex:none}

#watchView.watch-brazil-trial #watchFeed .pulse-message{font-size:13px;line-height:16px}html.apple-dashboard #watchView.watch-brazil-trial #watchFeed .pulse-message{line-height:16px}

/* Silk: return the heading's vertical padding to the penalty recipients. */
html.fire-tv:not(.apple-dashboard) #watchView.watch-brazil-trial .watch-penalties>.watch-panel-title{padding:0 8px;min-height:0;flex:none}
html.fire-tv:not(.apple-dashboard) #watchView.watch-brazil-trial .watch-penalties>.watch-panel-title h2{line-height:14px;margin:0}

html.fire-tv:not(.apple-dashboard) #watchView.watch-brazil-trial #watchPenalties .penalty-line{padding:1px 6px}
.watch-pulse-navigation{display:none}
html.fire-tv:not(.apple-dashboard) .watch-pulse-navigation{display:flex;gap:5px;margin-left:auto}
html.fire-tv:not(.apple-dashboard) #watchView .watch-feed>.watch-panel-title>span{display:none}
html.fire-tv:not(.apple-dashboard) .watch-pulse-navigation button{font-size:12px;line-height:18px;min-height:24px;padding:2px 8px;white-space:nowrap}
html.fire-tv:not(.apple-dashboard) .watch-pulse-navigation button:focus-visible{outline:3px solid #c9ef73;outline-offset:1px;background:#334322}

/* Consistent row height keeps remote scrolling predictable on Silk. */
html.fire-tv:not(.apple-dashboard) #watchView.watch-brazil-trial #watchFeed article{height:26px;min-height:26px;box-sizing:border-box}
#watchPulseRange{font-size:10px;white-space:nowrap;align-self:center;color:var(--muted)}

/* Every platform scrolls the full feed; Fire TV also has remote buttons. */
#watchView:not(.watch-remote-pulse) .watch-pulse-navigation{display:none}
#watchView #watchFeed{overflow-y:auto!important;overflow-x:hidden!important;min-height:0;touch-action:pan-y;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain}
#watchView.watch-remote-pulse .watch-pulse-navigation{display:flex;align-items:center;gap:5px;margin-left:auto}
#watchView.watch-remote-pulse #watchFeed article{height:26px;min-height:26px;box-sizing:border-box}

/* Dual-unit ranges must wrap within their own cell on Safari and scaled TV layouts. */
#watchView.watch-brazil-trial .watch-conditions #watchWeather b{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.3}

#watchView.watch-brazil-trial .watch-penalties>.watch-note{display:none}

body[data-view="standings"] .hero,body[data-view="standings"] .workspace-intro,body[data-view="standings"] #coverageSummary,body[data-view="standings"] .session-strip,body[data-view="standings"] #researchBar,body[data-view="standings"] .timeline,body[data-view="standings"] .notice{display:none!important}
.standings-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:26px 0}.standings-heading h1{font-size:clamp(26px,3vw,40px);margin:8px 0}.standings-heading p{color:var(--muted);font-size:14px;max-width:700px;line-height:1.5}.standings-controls{display:flex;align-items:end;gap:12px}.standings-controls label{display:grid;gap:6px;font-size:12px;color:var(--muted)}.standings-controls select{min-width:105px;font-size:16px}.standings-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:20px;align-items:start}.standings-grid article{min-width:0}.standings-grid h2{font-size:22px}.standings-grid .ph{padding:20px}.standings-grid .ph a{font-size:12px}.standings-scroll{overflow-x:auto}.standings-scroll table{width:100%;min-width:0;table-layout:auto}.standings-scroll th{font-size:11px;padding:13px 12px;white-space:normal}.standings-scroll td{font-size:15px;padding:14px 12px;white-space:normal;line-height:1.4}.standings-scroll th:first-child,.standings-scroll td:first-child{width:44px;text-align:center}.standings-scroll tbody tr:first-child{background:#c7ef3710}.standings-scroll tbody tr:first-child td:first-child{color:var(--lime);font-weight:700}.standings-scroll th:last-child,.standings-points{text-align:right;font-variant-numeric:tabular-nums;font-weight:700}.standings-points{color:var(--lime)}.standings-empty{padding:24px;color:var(--muted)}.standings-source-status{padding:14px 20px;font-size:11px;line-height:1.5;color:var(--muted);border-top:1px solid var(--line);margin:0}.home-secondary{flex-wrap:wrap}
@media(max-width:1000px){.standings-grid{grid-template-columns:1fr}.standings-scroll td{font-size:16px}}
@media(max-width:600px){.standings-heading{align-items:start;flex-direction:column}.standings-scroll td{font-size:13px;padding:12px 7px}.standings-scroll th{padding:12px 7px}.standings-grid .ph{padding:16px}.standings-grid h2{font-size:20px}}
#standingsView .fit-chart-button{display:none}.standings-grid .ph{min-height:76px;box-sizing:border-box;gap:12px}.standings-grid .ph a{white-space:nowrap}.standings-source-status{border-top:0;border-bottom:1px solid var(--line)}

body[data-view="standings"] .workspace-nav .nav-group:not(:first-child){display:none}
.championship-title-status{padding:16px 20px;border-bottom:1px solid var(--line);background:#c7ef370b}.championship-title-status strong{display:block;color:var(--lime);font-size:16px;line-height:1.4}.championship-title-status p{margin:7px 0 0;color:var(--muted);font-size:12px;line-height:1.6;overflow-wrap:anywhere}

.championship-points-blurb{margin:12px 20px;color:var(--muted);font-size:13px;line-height:1.6;overflow-wrap:anywhere}.championship-points-blurb strong{color:var(--text,#e7eff2);font-weight:600}

/* Race Control summary: full page remains unchanged. */
#watchStandingsDialog .standings-heading{margin:0 0 12px;gap:12px}
#watchStandingsDialog .standings-heading h1{font-size:22px;margin:0}
#watchStandingsDialog .standings-heading p,#watchStandingsDialog .standings-heading .eyebrow,#watchStandingsDialog .ph a,#watchStandingsDialog .championship-title-status{display:none}
#watchStandingsDialog .standings-grid{gap:12px;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
#watchStandingsDialog .ph{min-height:0;padding:10px 12px}
#watchStandingsDialog .ph h2{font-size:16px}
#watchStandingsDialog .standings-scroll td,#watchStandingsDialog .standings-scroll th{padding:6px 10px;font-size:13px;line-height:1.3}
#watchStandingsDialog .standings-source-status{padding:8px 12px;font-size:11px}
#watchStandingsDialog .championship-points-blurb{padding:8px 12px;margin:0;font-size:12px}
@media(max-width:650px){#watchStandingsDialog .standings-grid{grid-template-columns:1fr}}

/* Universal Race Control layout: timing first, three compact panels below. */
#watchView.watch-brazil-trial .watch-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:max-content auto minmax(255px,1fr)!important;gap:8px!important}
#watchView.watch-brazil-trial .watch-grid>.watch-order{grid-column:1!important;grid-row:1!important;min-height:0!important}
#watchView.watch-brazil-trial .watch-trial-summary{grid-column:1!important;grid-row:2!important}
#watchView.watch-brazil-trial .watch-grid>.watch-bottom{grid-column:1!important;grid-row:3!important;display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(0,1.35fr) minmax(290px,1fr)!important;grid-template-rows:minmax(0,1fr)!important;height:auto!important;min-height:0!important;gap:8px!important}
#watchView.watch-brazil-trial .watch-bottom>.watch-map{grid-column:1!important;grid-row:1!important;min-height:0!important;height:auto!important;display:flex;flex-direction:column}
#watchView.watch-brazil-trial .watch-bottom>.watch-feed{grid-column:2!important;grid-row:1!important;height:auto!important;min-height:0!important;margin:0!important}
#watchView.watch-brazil-trial .watch-bottom>.watch-conditions{grid-column:3!important;grid-row:1!important;min-height:0!important;overflow:auto!important}
#watchMap{position:relative;flex:1;min-height:0!important;width:100%;overflow:hidden}#watchMap iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
#watchMapNote{display:none}#watchMapRetry{position:absolute;right:8px;top:5px;z-index:2}.watch-map{position:relative}
#watchView.watch-brazil-trial #watchFeed{min-height:0!important;max-height:none!important;flex:1}
#watchView.watch-brazil-trial #watchTrialTiming .trial-statistics td{font-size:15px!important;height:29px!important;padding:3px 5px!important}
#watchView.watch-brazil-trial #watchTrialTiming .trial-statistics th{font-size:11px!important;padding:5px!important}
#watchView.watch-brazil-trial #watchTrialTiming .trial-statistics td button{font-size:15px!important;min-height:26px!important}
#watchView.watch-brazil-trial #watchTrialTiming .trial-statistics td small{font-size:10px!important}
#watchView.watch-brazil-trial .watch-conditions #watchWeather{grid-template-columns:repeat(3,minmax(0,1fr))!important;padding:5px 10px;gap:5px 8px!important}
#watchView.watch-brazil-trial .watch-conditions #watchWeather span{font-size:11px!important;line-height:14px!important}
#watchView.watch-brazil-trial .watch-conditions #watchWeather b{font-size:13px!important}
#watchForecast{border-top:1px solid #35444a;padding:7px 10px;font-size:11px;line-height:1.45}#watchForecast small{display:block;color:#b1c0c7;font-size:10px}.forecast-hours{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:5px 0}.forecast-hours>span{display:flex;flex-direction:column}.forecast-hours strong{font-size:12px;color:#e8f3f7}.forecast-hours>span>span{font-size:10px}
#watchPenaltyDialog{width:min(780px,90vw);max-width:780px;padding:18px}#watchPenaltyDialog>.watch-penalties{display:block!important;max-height:70vh;overflow:auto!important}#watchPenaltyDialog #watchPenalties{display:block!important;padding:0}#watchPenaltyDialog .penalty-line{display:grid;grid-template-columns:1fr 150px 1.2fr;gap:14px;padding:10px 5px;font-size:15px}#watchPenaltyDialog>.watch-penalties>.watch-note{display:none}
.championship-points-blurb{display:block!important;margin:12px 16px!important;font-size:17px!important;color:#eaf4f7!important}.championship-points-blurb strong{color:#d7fa64;font-size:22px}
html:not(.fire-tv) #watchView.watch-brazil-trial .watch-grid{grid-template-rows:max-content auto minmax(255px,1fr)!important}
@media(max-width:800px){html:not(.fire-tv) #watchView.watch-brazil-trial .watch-grid{grid-template-rows:auto auto auto!important}html:not(.fire-tv) #watchView.watch-brazil-trial .watch-grid>.watch-bottom{height:auto!important;grid-template-columns:1fr!important;grid-template-rows:235px 235px auto!important}html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-map{grid-column:1!important;grid-row:1!important}html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-feed{grid-column:1!important;grid-row:2!important}html:not(.fire-tv) #watchView.watch-brazil-trial .watch-bottom>.watch-conditions{grid-column:1!important;grid-row:3!important}#watchPenaltyDialog .penalty-line{grid-template-columns:1fr 90px 1fr;font-size:12px;gap:8px}}

/* Fill the available viewport on native layouts as well as fitted TV/tablet canvases. */
html:not(.fire-tv) body[data-view="watch"] .app{height:auto!important;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;padding-bottom:0!important}
html:not(.fire-tv) body[data-view="watch"] #watchView.watch-brazil-trial{flex:1 0 auto!important;min-height:0!important;height:auto!important}
html:not(.fire-tv) #watchView.watch-brazil-trial .watch-grid{flex:1 0 auto!important;min-height:0!important}
#watchView.watch-brazil-trial{padding-bottom:0!important;gap:6px!important}
#watchView.watch-brazil-trial .watch-grid{align-content:stretch!important}
#watchView.watch-brazil-trial .watch-grid>.watch-bottom{align-self:stretch!important;align-items:stretch!important;max-height:none!important}
#watchView.watch-brazil-trial .watch-bottom>section{align-self:stretch!important;max-height:none!important;box-sizing:border-box}
#watchView.watch-brazil-trial .watch-foot{min-height:14px!important;line-height:14px;gap:0!important;padding:0!important}
#watchView.watch-brazil-trial #watchClock{font-size:10px}
@media(max-width:800px){html:not(.fire-tv) #watchView.watch-brazil-trial .watch-grid>.watch-bottom{grid-template-rows:minmax(300px,40vh) minmax(300px,40vh) minmax(230px,auto)!important}}

/* A stable lower row for every session, including sparse upcoming rosters. */
html:not(.fire-tv) #watchView.watch-brazil-trial .watch-grid{grid-template-rows:auto auto minmax(320px,1fr)!important}
html:not(.fire-tv) #watchView.watch-brazil-trial .watch-grid>.watch-bottom{min-height:320px!important}
html.ipad-dashboard #watchView.watch-brazil-trial #watchTrialTiming{max-height:58vh!important;max-height:58dvh!important;overflow:auto!important}
html.ipad-dashboard #watchView.watch-brazil-trial .watch-bottom{min-height:340px!important}
html.ipad-dashboard #watchView.watch-brazil-trial .watch-conditions #watchWeather{grid-template-columns:repeat(2,minmax(0,1fr))!important}
@media(min-width:801px) and (max-width:1200px){html:not(.fire-tv) #watchView.watch-brazil-trial .watch-grid>.watch-bottom{grid-template-columns:minmax(0,1.15fr) minmax(0,1.15fr) minmax(220px,.85fr)!important}}
@media(max-width:800px){html:not(.fire-tv) #watchView.watch-brazil-trial .watch-grid{grid-template-rows:auto auto auto!important}}

html.fire-tv #watchView.watch-brazil-trial .watch-grid{grid-template-rows:minmax(0,max-content) auto minmax(340px,1fr)!important}
html.fire-tv #watchView.watch-brazil-trial .watch-grid>.watch-order{overflow:hidden!important}

/* One measured Race Control canvas on Chrome, Safari, iPad and Silk. */
html.race-fit{--race-safe-top:env(safe-area-inset-top,0px);--race-safe-bottom:env(safe-area-inset-bottom,0px);--race-safe-left:env(safe-area-inset-left,0px);--race-safe-right:env(safe-area-inset-right,0px);--tv-scale:1;--tv-width:1920px;--tv-height:1280px;--race-left:4px;--race-top:4px}
html.race-fit body[data-view="watch"]{margin:0!important;overflow:hidden!important}
html.race-fit body[data-view="watch"] .app{position:fixed!important;left:var(--race-left)!important;top:var(--race-top)!important;right:auto!important;bottom:auto!important;transform:scale(var(--tv-scale))!important;transform-origin:top left!important;zoom:1!important;width:var(--tv-width)!important;height:var(--tv-height)!important;min-height:0!important;max-width:none!important;box-sizing:border-box!important;padding:0 8px!important;margin:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
html.race-fit body[data-view="watch"] #watchView.watch-brazil-trial{display:flex!important;flex:1 1 0!important;flex-direction:column!important;min-height:0!important;height:auto!important;padding:0!important;gap:8px!important}
html.race-fit #watchView.watch-brazil-trial .watch-head{position:static!important;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;min-height:56px!important;flex:none!important;padding:4px 0!important;gap:8px!important}
html.race-fit #watchView.watch-brazil-trial .watch-head>div{flex:1 1 280px!important;min-width:180px!important}
html.race-fit #watchView.watch-brazil-trial .watch-head strong{font-size:16px!important;white-space:nowrap!important}
html.race-fit #watchView.watch-brazil-trial .watch-head small{max-width:470px;white-space:normal!important;font-size:10px!important}
html.race-fit #watchView.watch-brazil-trial .watch-head>button,html.race-fit #watchView.watch-brazil-trial .watch-head nav button{width:auto!important;min-height:38px!important;margin:0!important;white-space:nowrap!important;padding:8px 10px!important;font-size:12px!important;flex:none!important}
html.race-fit #watchView.watch-brazil-trial .watch-head #watchHome{padding:0!important}
html.race-fit #watchView.watch-brazil-trial .watch-head .watch-data-nav{width:auto!important;display:flex!important;flex-wrap:nowrap!important;gap:6px!important;order:0!important}
html.race-fit body[data-view="watch"] #displayModes{position:static!important;display:flex!important;flex:none!important;flex-wrap:nowrap!important;min-height:0!important;padding:0!important;gap:6px!important;border:0!important;order:1!important}
html.race-fit body[data-view="watch"] #displayModes button{min-height:38px!important;padding:8px 10px!important;white-space:nowrap!important;font-size:12px!important;flex:none!important}
html.race-fit #watchView.watch-brazil-trial .watch-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:max-content max-content minmax(360px,1fr)!important;gap:8px!important;min-height:0!important;flex:1 1 0!important;overflow:visible!important}
html.race-fit #watchView.watch-brazil-trial .watch-grid>.watch-order{height:auto!important;min-height:0!important;overflow:visible!important}
html.race-fit #watchView.watch-brazil-trial #watchTrialTiming{flex:none!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
html.race-fit #watchView.watch-brazil-trial #watchTrialTiming table{width:100%!important;min-width:0!important;table-layout:fixed!important}
html.race-fit #watchView.watch-brazil-trial #watchTrialTiming th,html.race-fit #watchView.watch-brazil-trial #watchTrialTiming td{position:static!important;box-sizing:border-box!important}
html.race-fit #watchView.watch-brazil-trial #watchTrialTiming td{height:29px!important;padding:2px 5px!important;font-size:15px!important}
html.race-fit #watchView.watch-brazil-trial .watch-grid>.watch-bottom{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:minmax(0,1fr)!important;height:auto!important;min-height:360px!important;gap:8px!important;align-items:stretch!important}
html.race-fit #watchView.watch-brazil-trial .watch-bottom>section{height:auto!important;min-height:0!important;min-width:0!important;max-height:none!important;overflow:hidden!important}
html.race-fit #watchView.watch-brazil-trial .watch-bottom>.watch-map{grid-column:1!important;grid-row:1!important;display:flex!important;flex-direction:column!important}
html.race-fit #watchView.watch-brazil-trial .watch-bottom>.watch-feed{grid-column:2!important;grid-row:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
html.race-fit #watchView.watch-brazil-trial .watch-bottom>.watch-conditions{grid-column:3!important;grid-row:1!important;overflow:auto!important}
html.race-fit #watchView.watch-brazil-trial #watchWeather{grid-template-columns:repeat(3,minmax(0,1fr))!important}
html.race-fit #watchView.watch-brazil-trial #watchBests{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
html.race-fit #watchView.watch-brazil-trial .watch-foot{min-height:14px!important;flex:none!important;margin:0!important;padding:0!important}
html.race-fit body[data-view="watch"] .ipad-return{display:none!important}

/* Safari desktop's browser chrome must not cover the page header. */
html.safari-desktop body:not([data-view="watch"]) .app{padding-top:max(24px,env(safe-area-inset-top))!important}
html.safari-desktop{scroll-padding-top:24px}

#watchMap .map-loading-outline{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#c8d8df;background:#172127}
#watchMap .map-loading-outline svg{width:80%;height:70%;max-width:none;max-height:none}
#watchMap .map-loading-outline span{font-size:13px}
/* Only the regular workspace header changes; Race Control keeps its locked layout. */
body:not([data-view="watch"]) .workspace-title-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;width:100%}
body:not([data-view="watch"]) .workspace-title-row>div:first-child{min-width:0;flex:1}
body:not([data-view="watch"]) .compact-workspace-nav{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;border:0;padding:0;overflow:visible;flex-shrink:0}
.compact-workspace-nav details.nav-group{position:relative;display:block}
.compact-workspace-nav summary{cursor:pointer;list-style:none;padding:12px 14px;border:1px solid var(--line);border-radius:6px;background:var(--panel);font-size:11px;font-weight:700;white-space:nowrap}
.compact-workspace-nav summary::-webkit-details-marker{display:none}
.compact-workspace-nav summary:after{content:' ▾'}
.compact-workspace-nav .workspace-menu-items{position:absolute;right:0;top:100%;z-index:40;min-width:220px;max-height:60vh;overflow:auto;background:#172125;border:1px solid var(--line);border-radius:6px;box-shadow:0 8px 24px #0008;padding:6px}
.compact-workspace-nav .workspace-menu-items button{display:block;width:100%;text-align:left;padding:11px 12px!important;font-size:12px!important;border:0}
#paceLapTable{overflow:auto;max-width:100%;-webkit-overflow-scrolling:touch}
#paceLapTable .mini-sector{align-items:center;white-space:nowrap;min-height:12px}
#paceLapTable .mini-sector b{font-size:9px;margin-right:3px}
#paceLapTable .mini-sector small{font-size:9px;color:var(--muted)}
@media(max-width:800px){body:not([data-view="watch"]) .workspace-title-row{flex-wrap:wrap}body:not([data-view="watch"]) .compact-workspace-nav{flex-shrink:1;justify-content:flex-start}.compact-workspace-nav summary{padding:11px 10px;font-size:10px}.compact-workspace-nav details:first-child .workspace-menu-items{left:0;right:auto}}

/* Shared single-row command bar: logo, menus, Race Control and display controls. */
body:not([data-view="watch"]) .app>header{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:12px!important;height:auto!important;min-height:76px;padding:8px 0!important}
body:not([data-view="watch"]) .app>header .brand{flex:none}
.header-command-strip{display:flex;align-items:center;justify-content:flex-start;gap:10px;flex:1;min-width:0;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
body:not([data-view="watch"]) .header-command-strip #displayModes{position:static;flex:none;flex-wrap:nowrap;padding:0;border:0;gap:6px}
body:not([data-view="watch"]) .header-command-strip .header-right{display:flex;flex-wrap:nowrap;flex:none;width:auto;gap:6px;margin:0}
body:not([data-view="watch"]) .header-command-strip .header-right>*{flex:none;white-space:nowrap}
html.race-fit #displayModes .compact-workspace-nav{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:6px!important;flex:none!important;padding:0!important;margin:0!important;border:0!important;overflow:visible!important}
#displayModes .compact-workspace-nav summary{font-size:11px;padding:12px 10px;min-height:40px;box-sizing:border-box}
body:not([data-view="watch"]) .compact-workspace-nav .workspace-menu-items{position:fixed;right:auto;width:232px;min-width:0;max-width:calc(100vw - 16px);z-index:1000;max-height:60vh}
html.race-fit body[data-view="watch"] #displayModes .compact-workspace-nav .workspace-menu-items{position:absolute;left:auto;right:0;top:100%;z-index:1000}
@media(max-width:1250px){body:not([data-view="watch"]) .app>header .brand>div{display:none}.header-command-strip{justify-content:flex-start}body:not([data-view="watch"]) .brand-logo{width:54px;height:54px}body:not([data-view="watch"]) #displayModes button{padding:8px 10px;font-size:11px}}

#watchForecast .forecast-narrative{margin:7px 0;font-size:12px;line-height:1.5;color:var(--text);white-space:normal}

/* Uniform command controls; only the live entry carries the yellow accent. */
html body #displayModes>button,html body #displayModes summary,html body .header-right>button,html.race-fit #watchView.watch-brazil-trial .watch-head>button:not(#watchHome),html.race-fit #watchView.watch-brazil-trial .watch-head nav button{
 box-sizing:border-box!important;min-height:40px!important;height:40px!important;padding:8px 10px!important;font-size:12px!important;line-height:20px!important;font-weight:700!important;border:1px solid #56656b!important;border-radius:6px!important;background:#29373d!important;color:#f3f6f7!important;box-shadow:none!important;text-transform:none!important;letter-spacing:normal!important;
}
html body #displayModes #connectLive{background:var(--lime)!important;border-color:var(--lime)!important;color:#101715!important}
html body #displayModes #tvMode{display:none!important}
html body #displayModes button.active,html body #displayModes button[aria-pressed="true"]{border-color:#a7b6bd!important}
html body #displayModes summary:focus-visible,html body #displayModes button:focus-visible{outline:2px solid white;outline-offset:2px}
html.race-fit #watchView .watch-head #watchExit{order:100!important;margin-left:auto!important}
#watchStandingsDialog{width:min(1180px,calc(100vw - 32px));max-width:1180px;max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box}
#watchStandingsDialog>button{display:block;margin:0 0 12px auto;min-height:40px}
#watchStandingsDialog #standingsView:not([hidden]){display:block!important}
@media(max-width:800px){#watchStandingsDialog{padding:16px}#watchStandingsDialog .standings-grid{grid-template-columns:1fr}}

/* Auto margin aligns available space right without clipping overflow on tablets. */
body:not([data-view="watch"]) .header-command-strip #displayModes{margin-left:auto!important;margin-right:0!important}

.watch-session-control{display:flex;align-items:center;gap:6px;font-size:11px;margin:3px 0;color:var(--muted)}
#watchSession{width:170px;max-width:100%;min-height:30px;padding:3px 7px;font-size:12px;color:var(--white)}

/* Standalone result browsing has its own season and event controls. */
body[data-view="official"] .hero,body[data-view="official"] .workspace-intro,body[data-view="official"] .session-strip,body[data-view="official"] #researchBar,body[data-view="official"] .timeline,body[data-view="official"] .notice{display:none!important}
/* Each dropdown is a single list anchored to its own heading. */
html body #displayModes .workspace-menu-items{padding:5px!important;border-radius:6px;display:flex;flex-direction:column;gap:0!important}
html body #displayModes .workspace-menu-items button,html.race-fit #watchView #displayModes .workspace-menu-items button{display:block!important;flex:none!important;width:100%!important;min-height:40px!important;margin:0!important;padding:10px 12px!important;text-align:left!important;border:0!important;border-radius:3px!important;background:transparent!important;box-shadow:none!important;font-size:12px!important;font-weight:500!important;white-space:normal!important}
html body #displayModes .workspace-menu-items button:hover,html body #displayModes .workspace-menu-items button.active{background:#ffffff10!important;color:var(--lime)!important}
html.race-fit body[data-view="watch"] #displayModes .compact-workspace-nav .workspace-menu-items{left:0!important;right:auto!important;top:calc(100% + 4px)!important}

/* Keep the event and session choice together, with a clearer brand mark. */
html body #watchView .watch-head #watchHome img{width:100px!important;height:100px!important}
#watchView .watch-title-line{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
#watchView .watch-title-line .watch-session-control{margin:0;flex:none}
html.race-fit #watchView .watch-title-line{flex-wrap:nowrap}
html.race-fit #watchView.watch-brazil-trial .watch-head>.watch-heading{min-width:max-content!important}
html.race-fit #watchView.watch-brazil-trial .watch-title-line #watchTitle{max-width:260px;white-space:normal!important;line-height:1.2}

/* Public pages show results, not internal provenance and raw-data tools. */
html body #sourcesView,html body #dataView,html body [data-view="sources"],html body [data-view="data"],html body #officialSource,html body #officialJSON,html body #standings-drivers-source,html body #standings-team-source,html body #sourceLabel,html body #paceReferenceSource,html body #componentSource,html body #driverDataLinks,html body #exportTelemetry{display:none!important}

html body .internal-data-tools,html body #exportDriver{display:none!important}
html body #componentSources,html body #fiaSource{display:none!important}

#raceTitle .race-country-flag{width:1.1em;height:.75em;object-fit:contain;display:inline-block;flex:none;border-radius:2px}

/* Presentation only: retain established geometry, density and timing colours. */
:root{--sz-ui-font:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--sz-accent:#e85855}
body h1,body h2,body h3,body button,body summary,body select,body option{
 font-family:var(--sz-ui-font);
}
body h1,body h2,body h3,body select,body option{ text-transform:capitalize; }
html body .ph h2,html body .watch-panel-title h2,html body .grid-penalty-panel h3{
 text-transform:capitalize!important;font-weight:700;letter-spacing:.035em;
}
html body .compact-workspace-nav summary,html body .workspace-menu-items button,
html body #displayModes>button,html body .watch-head>button:not(#watchHome){
 font-family:var(--sz-ui-font)!important;text-transform:capitalize!important;font-weight:700;
}
html body .workspace-menu-items button{font-size:12px;letter-spacing:normal}
body select{font-weight:600;letter-spacing:normal}
/* Inset accents and gradients do not add height or move adjacent content. */
body .ph,body .watch-panel-title{
 background:linear-gradient(105deg,rgba(232,88,85,.09),transparent 55%);
 box-shadow:inset 3px 0 0 rgba(232,88,85,.75);
}
body .home-choice,body .weekend-card{
 background:linear-gradient(135deg,rgba(232,88,85,.08),transparent 45%),var(--panel);
 box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 8px 24px rgba(0,0,0,.15);
}
body .workspace-menu-items{
 box-shadow:0 14px 32px rgba(0,0,0,.45),inset 0 2px 0 var(--sz-accent);
}
html body .compact-workspace-nav details[open]>summary{
 border-color:var(--sz-accent)!important;
}
@media(hover:hover){
 html body #displayModes>button:not(#connectLive):hover,
 html body #displayModes summary:hover,
 html body .watch-head>button:not(#watchHome):hover{
  border-color:var(--sz-accent)!important;background:#35434a!important;
 }
 body .workspace-menu-items button:hover{background:#29373d;box-shadow:inset 3px 0 0 var(--sz-accent)}
 body .home-choice:hover,body .weekend-card:hover{border-color:#b85754}
}
body select:focus-visible,body summary:focus-visible{outline:2px solid #f0a29e;outline-offset:2px}

/* Approved homepage hero. The original logo is alpha-masked, never redrawn. */
.home-welcome{display:grid;grid-template-columns:clamp(180px,22vw,280px) minmax(0,1fr);align-items:center;gap:36px;max-width:1120px;padding:48px 0 36px}
.home-hero-logo{display:block;width:100%;height:auto;object-fit:contain;background:transparent;border:0;border-radius:0;box-shadow:none}
.home-hero-copy{min-width:0}
.home-welcome h1{font-size:clamp(30px,4.1vw,56px);letter-spacing:-.045em;line-height:1.12;margin:18px 0}
.home-welcome p{font-size:18px;line-height:1.65;margin:0;color:#b6c1c6}
.home-choices{max-width:1120px}
html body #displayModes>button,html body #displayModes summary,
html body .workspace-menu-items button,html body .header-right>button,
html.race-fit #watchView.watch-brazil-trial .watch-head>button:not(#watchHome),
html.race-fit #watchView.watch-brazil-trial .watch-head nav button{color:var(--lime)!important}
html body #displayModes #connectLive,html body .header-right #connectLive{
 background:#20292d!important;color:var(--lime)!important;border-color:var(--lime)!important;box-shadow:inset 0 0 0 1px var(--lime)!important;
}
.brand-logo,#watchHome img,.home-hero-logo{background:transparent!important;box-shadow:none!important}
@media(max-width:800px){
 .home-welcome{grid-template-columns:160px minmax(0,1fr);gap:22px;padding:32px 0}
 .home-welcome h1{font-size:clamp(28px,4.5vw,38px)}
 .home-welcome p{font-size:16px}
}
@media(max-width:600px){
 .home-welcome{grid-template-columns:minmax(0,1fr);gap:18px;padding:24px 8px 28px;text-align:center}
 .home-hero-logo{width:180px;margin:0 auto}
 .home-welcome h1{font-size:clamp(28px,7.2vw,39px)}
 .home-welcome .eyebrow{font-size:9px;letter-spacing:.1em}
}

/* Center the complete brand group over equal square entry cards. */
#homeView .home-welcome{max-width:720px;grid-template-columns:200px minmax(0,1fr);gap:8px;margin-inline:auto;padding:30px 0 8px}
#homeView .home-hero-copy{text-align:center}
#homeView .home-welcome h1{font-size:clamp(30px,3.7vw,48px)}
#homeView .home-welcome p{font-size:17px;max-width:620px;margin-inline:auto}
#homeView .home-choices{max-width:780px;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-inline:auto}
#homeView .home-choice{aspect-ratio:1 / 1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px}
#homeView .home-choice h2{width:100%;font-size:28px;margin:22px 0 14px}
#homeView .home-choice h2 span{float:none;display:inline-block;margin-left:8px}
#homeView .home-choice p{min-height:0;margin:0;max-width:300px;line-height:1.7}
#homeView .home-choice b{margin-top:28px}
@media(max-width:800px){
 #homeView .home-welcome{grid-template-columns:160px minmax(0,1fr);gap:8px}
 #homeView .home-welcome h1{font-size:clamp(27px,4.5vw,36px)}
 #homeView .home-choice{padding:20px}
 #homeView .home-choice h2{font-size:23px}
}
@media(max-width:600px){
 #homeView .home-welcome{grid-template-columns:minmax(0,1fr);gap:14px;padding:24px 8px 4px}
 #homeView .home-hero-logo{width:160px;margin-inline:auto}
 #homeView .home-choices{max-width:380px;grid-template-columns:minmax(0,1fr);gap:18px}
 #homeView .home-choice h2{font-size:27px}
 #homeView .home-welcome h1{font-size:clamp(28px,7.2vw,39px)}
}

.home-race-entry{position:relative;width:100%;height:76px;overflow:hidden;contain:layout paint}
 .home-race-entry video{display:block;width:100%;height:76px;object-fit:fill;pointer-events:none}
.home-intro-action{text-align:center;margin:14px 0 0}
.home-intro-action .home-race-replay{background:none;border:0;padding:6px;color:var(--lime);font:inherit;font-size:12px;text-decoration:underline;cursor:pointer}
.home-intro-status{display:block;font-size:12px;color:#b6c1c6}

.home-race-entry video{visibility:hidden;border:0;box-shadow:none}
.home-race-entry.is-playing video{visibility:visible}

body[data-view="home"] #sessionLoading{display:none!important}

