:root{color-scheme:dark;--bg:#0c141b;--panel:#131e27;--line:#2a3b48;--muted:#9caebf;--ink:#f3f7fa;--lime:#c5f84a;--red:#ff657d;--amber:#ffc24c;font:15px/1.5 'Segoe UI',system-ui,sans-serif;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}a{color:var(--lime)}button{border:1px solid var(--line);color:var(--ink);background:#1a2a36;border-radius:7px;padding:10px 16px;font-weight:600;transition:background .15s,transform .15s}button:hover{background:#294050}button.primary{background:var(--lime);color:#111b08;border-color:var(--lime)}button.primary:hover{background:#d8ff7e}button.danger{color:var(--red);background:transparent;border-color:#694151}button:disabled{opacity:.45;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--lime);outline-offset:3px}button.small{padding:6px 11px;font-size:12px}button.ghost{background:transparent}.muted,small{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);font-weight:600}h1,h2,h3,p{margin:0}h1{font-size:34px;letter-spacing:-.035em;line-height:1.2}h2{font-size:21px;letter-spacing:-.025em}h3{font-size:16px}p{color:var(--muted)}.brand{display:flex;flex-direction:column;width:168px;gap:4px}.brand img{width:98px;height:57px;object-fit:contain}.brand strong{font-size:16px;letter-spacing:.09em}.row{display:flex;gap:12px;align-items:center}.between{justify-content:space-between}.stack{display:grid;gap:16px}.grow{flex:1}.loading{padding:15vh 10vw;font-size:30px;font-weight:700;color:var(--lime)}.loading span{display:block;font-size:15px;color:var(--muted);margin-top:12px}.login{min-height:100vh;padding:42px 5vw;display:grid;grid-template-columns:1.35fr 1fr;gap:6vw;align-items:center;background:radial-gradient(ellipse at 20% 45%,#182a32,transparent 65%)}.login-hero{align-self:stretch;display:flex;flex-direction:column;justify-content:space-between;gap:30px}.login-hero h1{font-size:clamp(34px,4vw,58px);max-width:640px}.login-hero p{font-size:19px;margin:12px 0 0}.track-art{width:100%;max-height:260px;margin:12px 0;filter:drop-shadow(0 0 18px #c5f84a12)}.login-features{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.login-features>div{border:1px solid var(--line);border-radius:8px;padding:19px}.login-features svg{width:22px;height:22px;color:var(--lime);margin-bottom:16px}.login-features p{font-size:13px;margin-top:6px}.login-card{border:1px solid var(--line);background:#121d25e8;border-radius:12px;padding:clamp(28px,4vw,54px)}.login-card h2{font-size:36px;margin:8px 0}.login-card form{margin-top:36px}.login-card .primary{width:100%;margin-top:9px}.field{display:block;margin:0 0 18px;font-size:13px;color:#e4ebf1}.field>span{display:block;margin-bottom:7px}input,select{width:100%;padding:11px 13px;background:#0c151d;border:1px solid #3a4d5e;border-radius:6px;color:var(--ink);min-height:44px}select{cursor:pointer}input[type=checkbox]{width:18px;min-height:18px;accent-color:var(--lime)}.form-note{font-size:12px;margin-top:25px}.error{color:#ffb4c1;background:#482532;border:1px solid #714152;padding:12px;border-radius:6px;margin:14px 0;font-size:13px}.app{display:grid;grid-template-columns:226px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;border-right:1px solid var(--line);background:#101b23;padding:28px 19px;display:flex;flex-direction:column}.sidebar .brand{margin-bottom:30px}.project-picker{margin:10px 0 24px;font-size:13px}.nav{display:grid;gap:7px}.nav button{display:flex;align-items:center;gap:13px;text-align:left;border:0;background:transparent;font-weight:400;padding:12px 13px;color:#b5c4d0}.nav button.active{background:#c5f84a18;color:var(--lime);box-shadow:inset 3px 0 var(--lime)}.nav svg{width:20px;height:20px}.sidebar .account{margin-top:auto;padding-top:32px}.avatar{border-radius:50%;background:#2b3f4d;width:36px;height:36px;display:grid;place-items:center;color:var(--lime);font-weight:700}.account small{display:block;font-size:11px}.account button{margin-top:14px;padding:6px 0;color:var(--muted);border:0}.version{font-size:10px;letter-spacing:.15em;color:#8294a3;margin-top:24px}.main{padding:30px 34px;max-width:1720px;width:100%;margin:auto;align-self:start}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}.page-head p{margin-top:7px}.actions{display:flex;gap:10px;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-radius:10px;background:var(--panel);margin-bottom:24px}.stat{padding:23px 30px;display:flex;align-items:center;gap:22px}.stat+.stat{border-left:1px solid var(--line)}.stat svg{height:31px;width:31px;color:#a9becd}.stat strong{font-size:30px;display:block;line-height:1.2}.stat span{color:var(--muted);font-size:13px}.columns{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(285px,1fr);gap:22px}.card{border:1px solid var(--line);border-radius:10px;background:linear-gradient(120deg,#14212b,#101a22);padding:23px;min-width:0}.card-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.card-head p{font-size:13px;margin-top:4px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:7px}table{border-collapse:collapse;width:100%;text-align:left;font-size:13px;white-space:nowrap}th{font-size:10px;letter-spacing:.045em;color:var(--muted);font-weight:500;text-transform:uppercase;background:#0d17204d}th,td{padding:14px 16px;border-bottom:1px solid var(--line)}tr:last-child td{border-bottom:0}td strong{font-size:14px}td:last-child{text-align:right}.badge{font-size:11px;display:inline-flex;gap:7px;align-items:center;white-space:nowrap}.badge:before{content:'';width:7px;height:7px;border-radius:50%;background:currentColor}.badge.green{color:var(--lime)}.badge.amber{color:var(--amber)}.badge.red{color:var(--red)}.badge.gray{color:var(--muted)}.empty{padding:30px 15px;text-align:center;white-space:normal;color:var(--muted);font-size:13px}.empty strong{display:block;color:#d7e0e8;font-size:15px;margin-bottom:6px}.empty button{margin-top:17px}.hero-race{display:flex;justify-content:space-between;align-items:center;gap:20px;border:1px solid var(--line);border-radius:10px;padding:24px;background:linear-gradient(110deg,#1c2d29,#13202a);margin-bottom:22px}.hero-race h2{font-size:29px}.hero-race p{font-size:13px;margin-top:8px}.race-number{font:600 34px 'Bahnschrift','Segoe UI',sans-serif;white-space:nowrap}.checks{display:grid;gap:18px}.checks>div{display:flex;justify-content:space-between;gap:20px;font-size:13px}.checks>div+div{border-top:1px solid var(--line);padding-top:16px}.screen-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px}.screen-tile{padding:17px;border:1px solid var(--line);border-radius:8px;background:#0d171f}.screen-art{height:100px;border-radius:5px;background:linear-gradient(145deg,#213227,#0a141b);position:relative;overflow:hidden;margin:12px 0}.screen-art .mini-brand{position:absolute;top:9px;left:10px;font-weight:900;font-style:italic;color:var(--lime)}.screen-art .mini-line{height:7px;position:absolute;left:10px;right:15px;background:#9cb0bc22}.screen-art .mini-line:nth-child(2){top:43px;border-left:13px solid var(--lime)}.screen-art .mini-line:nth-child(3){top:59px;border-left:13px solid #39a8ff}.screen-art .mini-line:nth-child(4){top:75px;border-left:13px solid #ffad42}.screen-tile .actions{margin-top:13px}.footer-status{display:flex;align-items:center;gap:10px;font-size:11px;color:var(--muted);border:1px solid var(--line);border-radius:7px;padding:13px 17px;margin-top:24px}.footer-status span:last-child{margin-left:auto}.detail-list{display:grid;gap:18px;margin-top:20px}.detail-list>div{display:flex;justify-content:space-between;gap:15px;font-size:13px}.secret{display:block;font:13px/1.7 Consolas,monospace;word-break:break-all;padding:16px;background:#09131a;border:1px solid var(--line);border-radius:7px;margin:18px 0;color:var(--lime)}dialog{color:var(--ink);background:#14212b;border:1px solid #456071;border-radius:12px;padding:28px;width:min(540px,calc(100% - 32px));max-height:90vh;box-shadow:0 20px 100px #000a}dialog::backdrop{background:#050a10b8;backdrop-filter:blur(5px)}dialog h2{font-size:25px;margin-bottom:8px}dialog p{font-size:13px;margin-bottom:22px}dialog .actions{justify-content:flex-end;margin-top:22px}#toast{position:fixed;right:28px;bottom:24px;background:#24382b;border:1px solid #739331;border-radius:8px;padding:14px 21px;max-width:min(480px,90vw);box-shadow:0 8px 35px #0006;display:none;z-index:9}.live-screen{padding:34px 4vw;min-height:100vh;background:radial-gradient(ellipse at top left,#20302a,transparent 60%)}.live-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:42px;gap:20px}.live-head .brand{width:200px}.live-title{flex:1}.live-title h1{font-size:40px}.live-time{font:600 50px 'Bahnschrift','Segoe UI',sans-serif;font-variant-numeric:tabular-nums}.timing-table{font-size:clamp(15px,1.5vw,25px)}.timing-table td{padding:18px}.timing-table th{font-size:12px}.timing-table td strong{font-size:inherit}.position{display:grid;place-items:center;width:44px;height:44px;font-weight:800;border-radius:4px;color:#09120b;background:var(--driver,var(--lime))}.driver-name{border-left:4px solid var(--driver);padding-left:18px}.fuel{height:6px;background:#2b3b44;border-radius:5px;min-width:70px;overflow:hidden}.fuel>i{display:block;height:100%;background:var(--lime)}.live-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:25px}.live-facts .card>strong{font:600 36px 'Bahnschrift','Segoe UI',sans-serif;display:block;margin-top:8px}.countdown{text-align:center;padding:10vh 0}.countdown strong{font:700 clamp(80px,15vw,210px) 'Bahnschrift','Segoe UI',sans-serif;display:block;line-height:1.2}.countdown p{font-size:18px}.sim-label{color:var(--amber);font-size:12px;letter-spacing:.14em}.stale{color:var(--amber)}@media(min-width:1600px){.main{padding:40px}.card{padding:28px}.sidebar{padding-top:38px}}@media(max-width:1120px){.columns{grid-template-columns:1fr}.main{padding:24px}.page-head{align-items:flex-start}.stat{padding:20px;gap:12px}.login{gap:30px;padding:30px}.login-features>div{padding:13px}.login-features p{font-size:11px}}@media(max-width:760px){.login{display:block;padding:26px 20px}.login-hero{gap:20px}.login-hero h1{font-size:34px;margin:20px 0 0}.login-hero .track-art,.login-features{display:none}.login-card{margin-top:28px}.app{grid-template-columns:1fr}.sidebar{position:static;height:auto;padding:18px;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{margin-bottom:18px;flex-direction:row;align-items:center}.sidebar .brand img{width:55px;height:36px}.sidebar .brand strong{font-size:13px;white-space:nowrap}.sidebar .eyebrow,.sidebar .version{display:none}.nav{display:flex;overflow:auto;padding:3px}.nav button{white-space:nowrap;font-size:12px;padding:9px}.nav svg{width:16px;height:16px}.project-picker{margin:0 0 14px}.sidebar .account{padding-top:14px;display:flex;justify-content:space-between;align-items:center}.account button{margin:0}.account .avatar{width:30px;height:30px}.main{padding:20px 16px}.page-head{display:block}.page-head h1{font-size:29px}.page-head .actions{margin-top:18px}.stats{grid-template-columns:repeat(3,1fr)}.stat{padding:17px 12px;display:block}.stat svg{display:none}.stat strong{font-size:27px}.stat span{font-size:11px}.card{padding:17px}.hero-race{padding:19px}.hero-race h2{font-size:22px}.hero-race .race-number{display:none}.footer-status span:last-child{display:none}.live-screen{padding:24px 16px}.live-head{flex-wrap:wrap}.live-head .brand{width:100px}.live-title h1{font-size:25px}.live-time{font-size:32px}.live-facts{grid-template-columns:1fr}.timing-table td{padding:13px 10px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.sidebar,.main,.columns>.stack{min-width:0}.nav{min-width:0;max-width:100%}@media(max-width:760px){.app{grid-template-columns:minmax(0,1fr)}}


.live-screen .waiting-data{min-height:42vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:40px 24px;font-size:clamp(15px,1.4vw,22px)}.live-screen .waiting-data strong{font-size:clamp(24px,3vw,42px);line-height:1.25}
