:root{--bg-0: #060b16;--bg-1: #0f172a;--bg-2: #131f38;--panel: rgba(20, 31, 56, .72);--panel-solid: #16223f;--stroke: rgba(148, 163, 184, .16);--stroke-strong: rgba(148, 163, 184, .3);--text: #f8fafc;--text-dim: #cbd5e1;--text-muted: #8597b3;--primary: #22c55e;--primary-dim: #16a34a;--accent: #38bdf8;--danger: #f87171;--danger-strong: #ef4444;--warn: #fbbf24;--gold: #fcd34d;--radius: 22px;--radius-sm: 14px;--shadow: 0 24px 60px -20px rgba(0, 0, 0, .7);--font-head: "Rubik", system-ui, sans-serif;--font-body: "Heebo", system-ui, sans-serif;--font-mono: "Share Tech Mono", ui-monospace, monospace}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;padding:0;min-height:100%}body{font-family:var(--font-body);color:var(--text);background:radial-gradient(1200px 600px at 80% -10%,#1b2c52 0%,transparent 55%),radial-gradient(900px 500px at -10% 10%,#10243a 0%,transparent 50%),linear-gradient(180deg,var(--bg-1) 0%,var(--bg-0) 100%);background-attachment:fixed;display:flex;justify-content:center;min-height:100vh;min-height:100dvh}button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}.device{position:relative;width:100%;max-width:440px;min-height:100vh;background:linear-gradient(180deg,var(--bg-1) 0%,#0a1325 100%);display:flex;flex-direction:column;overflow:hidden}@media (min-width: 480px){body{align-items:center;padding:24px 0}.device{min-height:auto;height:calc(100vh - 48px);max-height:940px;border-radius:44px;border:1px solid var(--stroke-strong);box-shadow:var(--shadow),0 0 0 10px #05080f,0 0 0 12px #1c2942}}.statusbar{display:flex;align-items:center;justify-content:space-between;padding:12px 22px 4px;font-size:13px;color:var(--text-dim);font-family:var(--font-mono);flex:none}.statusbar .dots{display:flex;gap:5px;align-items:center}.statusbar .bar{width:18px;height:9px;border-radius:2px;border:1px solid var(--text-muted);position:relative}.statusbar .bar:after{content:"";position:absolute;top:1px;bottom:1px;left:1px;right:1px;width:70%;background:var(--primary);border-radius:1px}.screen{flex:1;overflow-y:auto;overflow-x:hidden;padding:6px 18px 120px;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:var(--stroke-strong) transparent}.screen::-webkit-scrollbar{width:6px}.screen::-webkit-scrollbar-thumb{background:var(--stroke-strong);border-radius:8px}.app-head{display:flex;align-items:center;justify-content:space-between;padding:6px 2px 18px}.brand{display:flex;align-items:center;gap:10px}.brand .logo{width:38px;height:38px;border-radius:12px;background:#000;display:grid;place-items:center;overflow:hidden;box-shadow:0 0 18px -2px #39ff148c}.brand .logo img{width:100%;height:100%;object-fit:cover;display:block}.brand h1{font-family:var(--font-head);font-size:19px;font-weight:800;margin:0;letter-spacing:.5px}.brand p{margin:0;font-size:11px;color:var(--text-muted);letter-spacing:.5px}.head-pill{display:flex;align-items:center;gap:7px;background:#22c55e1f;border:1px solid rgba(34,197,94,.3);color:#86efac;font-size:11.5px;font-weight:600;padding:7px 11px;border-radius:999px}.head-pill .led{width:8px;height:8px;border-radius:50%;background:var(--primary);box-shadow:0 0 #22c55e99;animation:pulse 2s infinite}.head-actions{position:relative;display:flex;align-items:center;gap:8px}.menu-btn{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#94a3b81a;border:1px solid var(--stroke-strong);color:var(--text-dim);flex:none}.menu-btn.open,.menu-btn:hover{background:#22c55e24;border-color:#22c55e59;color:var(--primary)}.menu-btn svg{width:20px;height:20px}.head-menu{position:absolute;top:calc(100% + 8px);inset-inline-end:0;min-width:240px;z-index:40;background:#132038;border:1px solid var(--stroke-strong);border-radius:16px;padding:6px;box-shadow:0 18px 40px -16px #000000bf;animation:rise .2s ease}.head-menu button{width:100%;display:flex;align-items:center;gap:10px;text-align:start;padding:12px;border-radius:12px;font-size:13.5px;font-weight:600;color:var(--text)}.head-menu button:hover{background:#22c55e1f}.card{background:var(--panel);border:1px solid var(--stroke);border-radius:var(--radius);padding:18px;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}.card+.card{margin-top:14px}.section-title{display:flex;align-items:center;gap:8px;font-family:var(--font-head);font-weight:700;font-size:15px;margin:22px 2px 12px;color:var(--text)}.section-title .eyebrow{font-family:var(--font-mono);font-size:10px;color:var(--primary);letter-spacing:2px;background:#22c55e1a;padding:3px 8px;border-radius:6px;margin-inline-start:auto}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;width:100%;padding:15px 18px;border-radius:var(--radius-sm);font-family:var(--font-head);font-weight:700;font-size:15.5px;transition:transform .15s ease,filter .2s ease,background .2s ease}.btn:active{transform:scale(.98)}.btn-primary{background:linear-gradient(135deg,var(--primary),var(--primary-dim));color:#042713;box-shadow:0 14px 30px -12px #22c55eb3}.btn-primary:disabled{opacity:.45;cursor:not-allowed;filter:none;box-shadow:none}.btn-danger{background:linear-gradient(135deg,var(--danger),var(--danger-strong));color:#2a0707;box-shadow:0 14px 30px -12px #ef444499}.btn-danger:hover{filter:brightness(1.05)}.btn-danger:disabled{opacity:.45;cursor:not-allowed;filter:none;box-shadow:none}.btn-ghost{background:#94a3b81a;border:1px solid var(--stroke-strong);color:var(--text)}.btn-ghost:hover{background:#94a3b82e}.btn svg{width:20px;height:20px}.tabbar{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:space-around;padding:10px 10px calc(14px + env(safe-area-inset-bottom));background:linear-gradient(180deg,#0a112166,#070c18f5);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-top:1px solid var(--stroke);z-index:40}.tab{display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px 10px;border-radius:14px;color:var(--text-muted);font-size:10.5px;font-weight:600;min-width:56px;transition:color .2s ease,background .2s ease}.tab svg{width:23px;height:23px}.tab.active{color:var(--primary)}.tab.active.danger{color:var(--danger)}.tab .tab-dot{width:4px;height:4px;border-radius:50%;background:currentColor;opacity:0}.tab.active .tab-dot{opacity:1}.score-wrap{display:flex;align-items:center;gap:18px}.ring{--val: 0;position:relative;width:116px;height:116px;flex:none;border-radius:50%;background:conic-gradient(var(--primary) calc(var(--val) * 1%),rgba(148,163,184,.14) 0);display:grid;place-items:center;transition:background 1s ease}.ring:before{content:"";position:absolute;top:9px;right:9px;bottom:9px;left:9px;border-radius:50%;background:var(--panel-solid)}.ring .ring-inner{position:relative;text-align:center}.ring .num{font-family:var(--font-mono);font-size:30px;font-weight:700;line-height:1}.ring .lbl{font-size:10px;color:var(--text-muted);letter-spacing:1px}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:14px}.stat{background:#0a12238c;border:1px solid var(--stroke);border-radius:var(--radius-sm);padding:13px 14px}.stat .v{font-family:var(--font-mono);font-size:21px;font-weight:700}.stat .k{font-size:11.5px;color:var(--text-muted);margin-top:2px}.stat .v.good{color:var(--primary)}.stat .v.bad{color:var(--danger)}.feed-row{display:flex;gap:12px;padding:13px 0;border-bottom:1px solid var(--stroke)}.feed-row:last-child{border-bottom:none;padding-bottom:0}.feed-ic{width:38px;height:38px;flex:none;border-radius:11px;display:grid;place-items:center}.feed-ic svg{width:19px;height:19px}.feed-ic.warn{background:#fbbf2424;color:var(--warn)}.feed-ic.ok{background:#22c55e24;color:var(--primary)}.feed-ic.info{background:#38bdf824;color:var(--accent)}.feed-row .ttl{font-weight:600;font-size:14px}.feed-row .sub{font-size:12px;color:var(--text-muted);margin-top:2px;line-height:1.5}.feed-row .time{margin-inline-start:auto;font-size:10.5px;color:var(--text-muted);font-family:var(--font-mono);white-space:nowrap}.badge{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:700;padding:4px 9px;border-radius:999px}.badge.green{background:#22c55e24;color:#86efac}.badge.amber{background:#fbbf2424;color:var(--gold)}.badge.red{background:#f8717124;color:#fca5a5}.speedo{position:relative;width:250px;height:250px;margin:4px auto 0}.speedo svg{width:100%;height:100%;transform:rotate(135deg)}.speedo .center{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.speedo .big{font-family:var(--font-mono);font-size:66px;line-height:.9;font-weight:700;letter-spacing:-2px}.speedo .unit{font-size:13px;color:var(--text-muted);letter-spacing:3px;margin-top:6px}.speedo.over .big{color:var(--danger);animation:blink .8s steps(2) infinite}.live-state{text-align:center;font-size:13px;color:var(--text-muted);margin-top:6px}.live-state b{color:var(--text)}.roadinfo{display:flex;align-items:center;gap:12px;width:100%;margin-top:12px;padding:10px 14px;background:#94a3b814;border:1px solid var(--stroke);border-radius:var(--radius-sm);text-align:right}.roadinfo-text{flex:1;font-size:13px;line-height:1.55;min-width:0}.roadinfo-text .muted{font-size:12px}.drive-notices{display:grid;gap:8px}.drive-notices:empty{display:none}.drive-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:start;padding:12px;margin-bottom:6px;border:1px solid rgba(248,113,113,.5);border-radius:14px;background:#3b1920;color:#ffe4e6}.drive-notice.success{background:#12372c;border-color:#22c55e;color:#d1fae5}.drive-notice strong{font-size:14px}.notice-detail{font-size:12px;line-height:1.5;margin-top:3px}.notice-confirm{flex:none;min-height:44px;min-width:56px;border:1px solid currentColor;border-radius:10px;padding:8px;font-weight:700}.notice-link{color:var(--accent);text-decoration:underline;padding:5px 2px;font-size:inherit}.identity-hint,.delivery-state{font-size:12px;line-height:1.5;overflow-wrap:anywhere}.delivery-state.error{color:var(--warn)}.geo-error{color:var(--warn);font-size:12.5px;margin:6px 4px 0;line-height:1.5}.driving-messages:empty{display:none}.driving-card .speedo{width:min(220px,65vw);height:auto;aspect-ratio:1}.driving-card .live-state{margin:5px 0}.noentry-sign{flex:none;width:56px;height:56px;border-radius:50%;background:#dc2626;border:3px solid #fff;box-shadow:0 0 0 3px #dc2626,0 8px 20px -8px #dc2626b3;color:#fff;font-family:var(--font-head);font-weight:800;font-size:10px;line-height:1.15;display:grid;place-items:center;text-align:center}.noentry-sign.lg{width:96px;height:96px;font-size:16px;margin:0 auto 18px;border-width:4px;box-shadow:0 0 0 4px #dc2626,0 0 40px -6px #f87171d9}.testmode{margin-top:18px;border:1px dashed var(--stroke-strong);border-radius:var(--radius-sm);padding:14px 16px;background:#0a122366}.testmode .tm-head{display:flex;justify-content:space-between;align-items:center;font-size:12.5px;color:var(--text-muted);margin-bottom:10px}input[type=range]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:7px;border-radius:999px;background:linear-gradient(90deg,var(--danger),var(--warn),var(--primary));outline:none}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:24px;height:24px;border-radius:50%;background:#fff;border:3px solid var(--bg-1);box-shadow:0 2px 8px #00000080;cursor:pointer}.switch{position:relative;width:44px;height:26px;border-radius:999px;background:#94a3b840;transition:background .2s ease;flex:none}.switch.on{background:var(--primary)}.switch:after{content:"";position:absolute;top:3px;right:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:transform .2s ease}.switch.on:after{transform:translate(-18px)}.gate{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px 28px 50px;text-align:center}.gate .glow-logo{width:88px;height:88px;border-radius:26px;background:#000;display:grid;place-items:center;overflow:hidden;box-shadow:0 0 50px -8px #39ff14b3;margin-bottom:20px}.gate .glow-logo img{width:100%;height:100%;object-fit:cover;display:block}.gate h1{font-family:var(--font-head);font-size:30px;font-weight:900;margin:0 0 6px;letter-spacing:1px}.gate .tag{color:var(--text-dim);font-size:14px;line-height:1.6;max-width:300px;margin:0 0 30px}.iron{font-size:11.5px;color:var(--warn);background:#fbbf241a;border:1px solid rgba(251,191,36,.25);padding:9px 14px;border-radius:12px;margin-bottom:26px;line-height:1.5}.fingerprint{width:110px;height:110px;border-radius:50%;border:2px solid var(--stroke-strong);display:grid;place-items:center;margin-bottom:16px;transition:border-color .3s ease,box-shadow .3s ease;position:relative}.fingerprint svg{width:58px;height:58px;color:var(--text-muted);transition:color .3s ease}.fingerprint.scanning{border-color:var(--primary);box-shadow:0 0 0 6px #22c55e1f}.fingerprint.scanning svg{color:var(--primary)}.fingerprint .scanline{position:absolute;left:12%;right:12%;height:2px;background:var(--primary);box-shadow:0 0 12px var(--primary);top:20%;opacity:0}.fingerprint.scanning .scanline{opacity:1;animation:scan 1.2s ease-in-out infinite}.video{position:relative;border-radius:var(--radius-sm);overflow:hidden;aspect-ratio:16 / 9;background:linear-gradient(135deg,#1e293b,#0f172a);display:grid;place-items:center;border:1px solid var(--stroke)}.video .video-frame{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;border:0}.video .play{width:58px;height:58px;border-radius:50%;background:#ffffff1f;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:grid;place-items:center;border:1px solid rgba(255,255,255,.25)}.video .play svg{width:26px;height:26px;margin-inline-start:3px}.video .vlabel{position:absolute;bottom:10px;inset-inline-start:12px;font-size:12px;background:#00000080;padding:4px 10px;border-radius:8px;z-index:1;pointer-events:none}.video-feed{display:grid;gap:14px;margin-top:4px;margin-bottom:8px}.video-feed-item{padding:12px}.video-feed-item .video{border-radius:12px}.video-feed-title{margin-top:10px;font-size:13.5px;font-weight:600;font-family:var(--font-head)}.progress{height:8px;border-radius:999px;background:#94a3b829;overflow:hidden;margin-top:6px}.progress>span{display:block;height:100%;background:linear-gradient(90deg,var(--primary),var(--primary-dim));border-radius:999px;transition:width .6s ease}.quiz-opt{display:flex;align-items:center;gap:12px;width:100%;text-align:start;padding:14px 16px;border-radius:var(--radius-sm);border:1px solid var(--stroke);background:#0a122380;font-size:14.5px;font-weight:500;margin-top:10px;transition:border-color .2s,background .2s}.quiz-opt:hover{border-color:var(--stroke-strong)}.quiz-opt .mark{width:24px;height:24px;flex:none;border-radius:50%;border:2px solid var(--stroke-strong)}.quiz-opt.correct{border-color:var(--primary);background:#22c55e1f}.quiz-opt.correct .mark{border-color:var(--primary);background:var(--primary)}.quiz-opt.wrong{border-color:var(--danger);background:#f871711f}.quiz-opt.wrong .mark{border-color:var(--danger);background:var(--danger)}.attention{display:flex;align-items:center;gap:10px;font-size:12.5px;color:var(--warn);background:#fbbf2414;border:1px solid rgba(251,191,36,.22);padding:10px 14px;border-radius:12px;margin-top:12px}.upload{border:1.5px dashed var(--stroke-strong);border-radius:var(--radius-sm);padding:26px 18px;text-align:center;background:#0a122366;transition:border-color .2s,background .2s}.upload:hover{border-color:var(--primary);background:#22c55e0d}.upload svg{width:34px;height:34px;color:var(--text-muted)}.ocr-line{display:flex;align-items:center;gap:10px;font-size:13px;padding:9px 0;border-bottom:1px solid var(--stroke)}.ocr-line:last-child{border-bottom:none}.ocr-line .tick{width:20px;height:20px;flex:none;color:var(--primary)}.amnesty{background:linear-gradient(145deg,#22c55e24,#38bdf80f);border:1px solid rgba(34,197,94,.28)}.timeline{position:relative;padding-inline-start:22px}.timeline:before{content:"";position:absolute;inset-inline-start:5px;top:4px;bottom:4px;width:2px;background:var(--stroke-strong)}.tl-item{position:relative;padding:0 0 16px}.tl-item:last-child{padding-bottom:0}.tl-item:before{content:"";position:absolute;inset-inline-start:-22px;top:4px;width:12px;height:12px;border-radius:50%;background:var(--bg-1);border:2px solid var(--text-muted)}.tl-item.done:before{background:var(--primary);border-color:var(--primary)}.tl-item.active:before{background:var(--accent);border-color:var(--accent);box-shadow:0 0 0 4px #38bdf833}.tl-item .tl-t{font-weight:600;font-size:14px}.tl-item .tl-s{font-size:12px;color:var(--text-muted);margin-top:2px}.lead{font-size:13px;color:var(--text-dim);line-height:1.65}.muted{color:var(--text-muted)}.center{text-align:center}.row{display:flex;align-items:center;gap:10px}.spacer{height:12px}.toast{position:absolute;bottom:96px;left:16px;right:16px;z-index:55;background:var(--panel-solid);border:1px solid var(--stroke-strong);border-radius:14px;padding:13px 16px;display:flex;align-items:center;gap:11px;font-size:13.5px;box-shadow:var(--shadow);animation:rise .3s ease}.toast a{color:var(--accent)}@keyframes pulse{0%{box-shadow:0 0 #22c55e80}70%{box-shadow:0 0 0 8px #22c55e00}to{box-shadow:0 0 #22c55e00}}@keyframes blink{50%{opacity:.35}}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-5px)}75%{transform:translate(5px)}}@keyframes fade{0%{opacity:0}to{opacity:1}}@keyframes rise{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes scan{0%{top:22%}50%{top:74%}to{top:22%}}@keyframes spin{to{transform:rotate(360deg)}}.spinner{width:18px;height:18px;border-radius:50%;border:2.5px solid rgba(255,255,255,.3);border-top-color:#fff;animation:spin .8s linear infinite}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation:none!important;transition:none!important}}:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:6px}.back-link{display:inline-flex;align-items:center;gap:4px;color:var(--accent);font-size:13.5px;font-weight:600;margin-bottom:10px;padding:4px 0}.profile-tap{cursor:pointer;transition:border-color .2s ease,box-shadow .2s ease}.profile-tap:hover{border-color:#22c55e59;box-shadow:0 0 0 1px #22c55e1f}.field-grid{display:grid;gap:12px}.field{display:flex;flex-direction:column;gap:6px}.field-label{font-size:12px;color:var(--text-muted);font-weight:500}.field-input{width:100%;padding:12px 14px;border-radius:12px;border:1px solid var(--stroke-strong);background:#060b168c;color:var(--text);font-family:var(--font-body);font-size:15px;outline:none;transition:border-color .15s ease,box-shadow .15s ease}.field-input:focus{border-color:#38bdf88c;box-shadow:0 0 0 3px #38bdf81f}.field-input.mono{font-family:var(--font-mono);letter-spacing:.4px;font-size:14px}.field-input::placeholder{color:var(--text-muted);opacity:.7}.invite-flash{display:flex;align-items:center;gap:8px;margin-top:12px;padding:10px 12px;border-radius:12px;background:#22c55e1f;border:1px solid rgba(34,197,94,.28);color:#86efac;font-size:12.5px;font-weight:600;animation:rise .25s ease}.invite-list{margin-top:16px;display:grid;gap:2px}.invite-row{display:flex;align-items:center;gap:10px;padding:12px 4px;border-top:1px solid var(--stroke)}.invite-row:first-child{border-top:none;padding-top:4px}.invite-meta{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex:none}.invite-code{font-family:var(--font-mono);font-size:13px;letter-spacing:1.5px;color:var(--gold);background:#fcd34d1a;border:1px solid rgba(252,211,77,.25);padding:3px 8px;border-radius:8px}.invite-status{font-size:11px;color:var(--text-muted)}.invite-status.sent{color:var(--primary);font-weight:600}.sign-caption{display:flex;flex-direction:column;align-items:center;gap:5px;flex:none;color:var(--text-dim);font-size:10px;white-space:nowrap}.limit-sign{display:grid;place-items:center;flex:none;border-style:solid;border-radius:50%;width:76px;height:76px;border-width:8px;border-color:#ed1c24;color:#111;background:#fff;font-family:Arial,sans-serif;font-size:32px;font-weight:800;letter-spacing:-1.5px}.limit-sign.pending{background:#19243b;border:2px dashed #8597b3;color:#cbd5e1;opacity:1}.advisory-sign{display:grid;place-items:center;width:62px;height:62px;background:#164c87;border:2px solid #8bc5ff;border-radius:9px;color:#fff;font:700 28px Arial,sans-serif}.driving-instruments{position:relative;display:flow-root;width:100%;direction:ltr}.driving-instruments .speedo{width:min(100%,220px);margin:4px auto 0}.speed-limit-corner{position:absolute;top:4px;left:0;right:0;display:flex;justify-content:space-between;align-items:flex-start;direction:ltr}.speed-limit-corner .limit-sign{width:64px;height:64px;border-width:7px;font-size:28px}.speed-limit-corner .advisory-sign{width:48px;height:48px;font-size:24px}.speed-limit-corner .sign-caption{font-size:9px}.sign-panel{padding:10px;min-height:92px}.sign-panel .roadinfo-text{min-width:0}.sign-panel .road-heading{grid-template-columns:54px minmax(0,1fr);align-items:center;gap:8px}.sign-panel .road-badges{padding-top:0}.sign-panel .road-number{width:50px;height:30px;padding:3px}.sign-panel .road-number>span{font-size:18px}.sign-panel .road-description{display:grid;gap:2px}.sign-panel .road-description>b{display:-webkit-box;min-width:0;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:22px;line-height:1.2;font-weight:700}.sign-panel .road-direction{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:18px}.road-heading{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:start;gap:10px;width:100%;direction:rtl;text-align:right}.road-badges{display:grid;gap:8px;justify-items:center;padding-top:2px}.road-description{min-width:0;overflow-wrap:anywhere}.road-direction{margin-top:4px;color:var(--text-dim);font-size:12px}.road-number{--road-colour: #475569;display:inline-grid;place-items:center;padding:5px;width:60px;height:36px;border-radius:4px;border:1px solid #fff;box-shadow:0 0 0 2px var(--road-colour);background:var(--road-colour);flex:none}.road-number>span{display:grid;place-items:center;width:100%;padding:2px;color:var(--road-colour);background:#fff;font:700 20px/1 Arial,sans-serif;letter-spacing:-.5px;clip-path:polygon(8% 15%,50% 0,92% 15%,100% 50%,92% 85%,50% 100%,8% 85%,0 50%)}.road-number.motorway{--road-colour: #174fa4}.road-number.primary{--road-colour: #d71c27}.road-number.regional{--road-colour: #14722c}.road-number.local{--road-colour: #202020}.advisory-note{color:#93c5fd;font-size:10px;line-height:1.5;margin-top:5px}.no-entry-symbol{display:grid;place-items:center;flex:none;width:54px;height:54px;border:3px solid #fff;border-radius:50%;background:#ed1c24;box-shadow:0 0 0 1px #ed1c24}.no-entry-symbol>span{width:34px;height:9px;background:#fff;border-radius:1px}.simulation-launch{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px;width:100%;margin-top:14px;padding:13px;border:1px solid #2d4964;border-radius:12px;background:#14283f;font-weight:700;font-size:13px}.simulation-launch svg{width:16px;height:16px;color:var(--accent)}.simulation-launch span{width:100%;font-size:11px;font-weight:400;color:var(--text-muted)}.simulation-heading{display:flex;justify-content:space-between;align-items:center}.simulation-heading h2{margin:4px 0 0;font-size:21px;font-family:var(--font-head)}.demo-label{color:var(--accent);font-size:10px;font-weight:700;letter-spacing:.4px}.simulation-close{width:40px;height:40px;font-size:28px;border:1px solid var(--stroke-strong);border-radius:12px}.simulation-disclaimer{font-size:11px;color:var(--text-muted);margin:8px 0 14px;line-height:1.5}.simulation-dashboard{padding:14px;margin-bottom:12px}.simulation-instruction{display:flex;align-items:center;gap:10px;min-height:46px;text-align:right}.maneuver-arrow{color:var(--accent);font:34px Arial,sans-serif;flex:none}.simulation-instruction>div{flex:1;min-width:0}.simulation-instruction strong{font-size:14px}.simulation-instruction div>span{display:block;font-size:10px;color:var(--text-muted);line-height:1.5}.stage-count{font-size:11px;color:var(--text-muted)}.simulation-gauges{display:flex;align-items:center;justify-content:space-around;gap:8px;padding:10px 0 0}.simulation-gauges .speedo{width:155px;height:155px;flex:none;margin:0}.simulation-gauges .speedo .big{font-size:48px}.simulation-gauges .speedo .unit{font-size:12px}.simulation-signs{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}.simulation-signs .advisory-sign{width:46px;height:46px;font-size:23px}.simulation-signs .advisory{font-size:9px}.simulation-road{min-height:45px;display:flex;flex-direction:column;justify-content:center;font-size:12px}.simulation-road .road-heading{padding:4px 2px}.simulation-road small{text-align:center;color:#93c5fd;font-size:10px;margin-top:8px}.simulation-notice{min-height:64px;display:flex;flex-direction:column;justify-content:center;margin:5px 0}.simulation-notice .drive-notice{margin:0}.simulation-status{display:flex;align-items:center;gap:6px;padding:12px 8px;color:#cbd5e1;font-size:11px}.simulation-status>span:last-child{margin-inline-start:auto;color:var(--text-muted)}.led.paused{background:#64748b;box-shadow:none}.route-map{overflow:hidden;border-radius:12px;border:1px solid #26364d;background:#0a1426}.map-caption{display:block;padding:7px 10px 0;font-size:10px;color:var(--text-muted)}.route-map svg{display:block;width:100%;height:120px}.route-progress{background:#27334a;height:3px;border-radius:3px;margin-top:12px;overflow:hidden;direction:ltr}.route-progress>div{background:var(--primary);height:100%;transition:width .2s linear}.simulation-time{display:flex;justify-content:space-between;color:var(--text-muted);font-size:10px;margin:6px 0 10px}.simulation-controls{display:flex;align-items:center;gap:8px}.simulation-controls .btn{min-height:42px;width:auto;flex:1;padding:9px 12px;font-size:13px}.simulation-next{padding:10px 5px;font-size:11px;min-height:42px}.simulation-next:disabled{opacity:.4}.simulation-rate{display:flex;align-items:center;gap:4px;font-size:10px;color:var(--text-muted)}.simulation-rate select{border:1px solid #3b4d69;background:#101d32;color:#fff;padding:9px 4px;border-radius:8px;font-size:12px}.simulation-chapters{display:flex;overflow-x:auto;gap:6px;padding:2px 1px 10px}.simulation-chapters span{flex:none;font-size:10px;padding:6px 8px;border:1px solid var(--stroke);border-radius:8px;color:var(--text-muted)}.simulation-chapters .active{border-color:#38bdf8;color:#bae6fd;background:#122d43}.simulation-chapters .done{color:#86efac}.simulation-events{border:1px solid var(--stroke);border-radius:12px;padding:12px;background:#101c31}.simulation-events summary{display:flex;justify-content:space-between;gap:8px;font-size:12px;cursor:pointer}.simulation-events summary>span{font-size:10px;color:var(--text-muted)}.simulation-events ol{list-style:none;padding:0;margin:12px 0 0;max-height:200px;overflow-y:auto}.simulation-events li{display:flex;gap:10px;padding:6px 0;border-top:1px solid var(--stroke);font-size:11px}.simulation-events time{color:var(--text-muted)}.simulation-events .warning,.simulation-events .report{color:#fca5a5}.simulation-events .success{color:#86efac}.simulation-footnote{font-size:10px;line-height:1.6;color:var(--text-muted);padding:0 5px}@media (max-width: 374px){.sign-panel .road-description>b{font-size:20px}.speed-limit-corner .limit-sign{width:48px;height:48px;border-width:5px;font-size:23px}.speed-limit-corner .advisory{position:relative}.speed-limit-corner .advisory-sign{width:40px;height:40px;font-size:22px}.speed-limit-corner .advisory>span:last-child{position:absolute;bottom:calc(100% + 4px)}.simulation-gauges .speedo{width:130px;height:130px}.simulation-signs{gap:5px}.simulation-signs .limit-sign{width:65px;height:65px;font-size:29px}}@media (prefers-reduced-motion: reduce){.speedo svg circle,.route-progress>div{transition:none!important}}.device.is-driving{width:min(440px,100vw);height:100dvh;min-height:0}.is-driving .app-head,.is-driving .tabbar{display:none}.is-driving .screen{display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:6px 12px 12px}.is-driving .section-title{flex:none;margin:0 2px 8px;line-height:24px}.is-driving .driving-card{display:flex;flex-direction:column;flex:1;min-height:0;margin:0;padding:12px;gap:6px}.is-driving .driving-card>*{flex-shrink:0}.is-driving .drive-notices{display:grid;height:80px;align-content:start}.is-driving .drive-notice{padding:8px;margin:0;gap:8px}.is-driving .driving-instruments{flex:0 1 auto;aspect-ratio:1;min-height:100px;container-type:size}.is-driving .driving-instruments .speedo{position:absolute;top:4px;left:50%;transform:translate(-50%);margin:0;width:min(calc(100cqw - 32px),calc(100cqh - 4px));height:auto;max-width:none;aspect-ratio:1;overflow:hidden;container-type:inline-size}.is-driving .speedo svg{display:block}.is-driving .speedo .big{font-size:clamp(48px,33cqw,104px)}.is-driving .live-state{margin:0;font-size:12px;line-height:18px}.is-driving .sign-panel{margin:0;padding:8px}.is-driving .driving-messages{display:grid;gap:4px}.is-driving .driving-messages:empty,.is-driving .spacer{display:none}.is-driving .driving-messages p{margin:0;font-size:12px;line-height:1.4}.is-driving .drive-control{min-height:44px;padding:8px 12px;margin-top:auto}@media (max-width: 374px){.is-driving .drive-notices+.driving-instruments{margin-top:14px}}@media (min-width: 480px){.device.is-driving{height:calc(100dvh - 48px)}}@media (min-width: 480px) and (max-height: 500px){body{padding:0}.device.is-driving{width:100vw;max-width:none;height:100dvh;max-height:none;border:0;border-radius:0}.is-driving .driving-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto 1fr auto;gap:8px 16px}.is-driving .driving-instruments{grid-column:2;grid-row:1 / 5;aspect-ratio:auto}.is-driving .drive-notices{grid-column:1;grid-row:1}.is-driving .sign-panel{grid-column:1;grid-row:2}.is-driving .driving-messages{grid-column:1;grid-row:3;align-content:start}.is-driving .drive-control{grid-column:1;grid-row:4}.is-driving .live-state{display:none}}
