@font-face{font-family:Titillium Web;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/titillium-web-latin-600-normal-DBtSc4_g.woff2) format("woff2"),url(/assets/titillium-web-latin-600-normal-DAj26wWp.woff) format("woff")}@font-face{font-family:Titillium Web;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/titillium-web-latin-700-normal-YDdGQjzo.woff2) format("woff2"),url(/assets/titillium-web-latin-700-normal-D73cfq1_.woff) format("woff")}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2) format("woff2-variations");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-wght-normal-CkhJZR-_.woff2) format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--bg: #121316;--panel: #1a1c21;--panel-2: #22252b;--field: #0e0f12;--line: #2c3038;--text: #ecedf0;--muted: #a6acb7;--yellow: #ffd800;--yellow-press: #b39700;--on-yellow: #000000;--danger: #ff6b6b;--ok: #4cc97a;--warn: #ffb347;--map-bg: #0d0f12;--grid-minor: #1a1e24;--grid-major: #252a32;--grass: #23402b;--road: #4b5059;--road-edge: #e6e8eb;--radius: 6px;--font: "Inter Variable", "Inter", system-ui, sans-serif;--display: "Titillium Web", "Inter Variable", system-ui, sans-serif;color-scheme:dark}*{box-sizing:border-box}html,body{margin:0;height:100%}body{background:var(--bg);color:var(--text);font-family:var(--font);font-size:1rem;-webkit-font-smoothing:antialiased}#root{min-height:100%}h1,h2{margin:0}button,input,select{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--yellow);outline-offset:2px}.muted{color:var(--muted)}.small{font-size:.85rem}.accent{color:var(--yellow)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:2.75rem;padding:0 1rem;border-radius:var(--radius);border:1px solid var(--line);background:var(--panel-2);color:var(--text);font-weight:700;font-size:.9rem;cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s}.btn:active:not(:disabled){filter:brightness(.9)}.btn:disabled{opacity:.45;cursor:not-allowed}.btn-primary{background:var(--yellow);border-color:var(--yellow);color:var(--on-yellow);font-weight:700}.btn-big{min-height:3.25rem;padding:0 1.4rem;font-size:1rem;border-radius:12px}.btn-icon{width:2.75rem;padding:0}.btn-ghost{background:transparent;border-color:transparent;box-shadow:none}.btn-ghost:active:not(:disabled){box-shadow:none}.btn-float{background:#121316e6;box-shadow:none;min-height:2.5rem}.btn-float.btn-icon{width:2.5rem}.btn-danger{background:var(--danger);border-color:var(--danger);color:#1a0505}.btn-quiet-danger{background:transparent;color:var(--danger);border-color:var(--line);box-shadow:none}@media (hover: hover){.btn:hover:not(:disabled){background:#2a2e35}.btn-primary:hover:not(:disabled){background:#ffe03a}.btn-ghost:hover:not(:disabled){background:var(--panel-2)}.btn-danger:hover:not(:disabled){background:#ff8282}}.brand{display:flex;align-items:center;gap:.75rem}.brand-full{height:1.75rem;width:auto;display:block}.brand-icon{height:1.9rem;width:auto;display:block}.brand-app{font-family:var(--display);font-weight:700;font-size:1.3rem;letter-spacing:.01em;text-transform:uppercase}.start{min-height:100vh;display:flex;flex-direction:column}.start-header{padding:1rem 2rem;border-bottom:1px solid var(--line);background:var(--panel)}.start-main{width:100%;max-width:74rem;margin:0 auto;padding:3.5rem 2rem 2.5rem;display:flex;flex-direction:column;gap:3rem}.hero{display:flex;flex-wrap:wrap;gap:2.5rem;align-items:center}.hero-text{flex:1 1 28rem;min-width:0;display:flex;flex-direction:column;gap:1.25rem}.hero h1{font-family:var(--display);font-weight:700;font-size:clamp(2.4rem,5vw,3.75rem);line-height:1.04;letter-spacing:.01em}.lead{margin:0;font-size:1.1rem;line-height:1.55;color:#c6cad2;max-width:34rem}.hero-actions{display:flex;flex-wrap:wrap;gap:.75rem}.hint{margin:0;font-size:.9rem;color:var(--muted)}.error{margin:0;color:var(--danger);font-weight:700}.error.banner{padding:.6rem 1.25rem;background:#2a1517;border-bottom:1px solid #4a2326}.hero-art{flex:1 1 22rem;min-width:0;height:20rem;border-radius:20px;border:1px solid var(--line);background-color:var(--map-bg);background-image:linear-gradient(var(--grid-minor) 1px,transparent 1px),linear-gradient(90deg,var(--grid-minor) 1px,transparent 1px);background-size:32px 32px;display:flex;align-items:center;justify-content:center;padding:1.5rem}.hero-thumb{width:100%;height:100%;color:var(--yellow)}.block{display:flex;flex-direction:column;gap:1rem}.block h2{font-family:var(--display);font-size:1.3rem;font-weight:700}.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(13rem,1fr));gap:1rem}.card{display:flex;flex-direction:column;align-items:flex-start;gap:.35rem;padding:.9rem;text-align:left;border-radius:14px;border:1px solid var(--line);background:var(--panel);cursor:pointer;box-shadow:0 4px #0a0b0d;transition:transform .12s,border-color .15s}.card:active{transform:translateY(2px);box-shadow:0 2px #0a0b0d}@media (hover: hover){.card:hover{border-color:var(--yellow);transform:translateY(-2px)}}.card-art{width:100%;height:7rem;border-radius:10px;background:var(--map-bg);display:flex;align-items:center;justify-content:center;padding:.75rem;margin-bottom:.4rem}.thumb{width:100%;height:100%;color:var(--road)}.thumb-plus{color:var(--muted)}.thumb-accent{color:var(--yellow)}.card-title{font-weight:700;font-size:1rem}.card-note{font-size:.85rem;color:var(--muted)}.card-credit{font-size:.75rem;color:var(--muted);font-style:italic}.recent{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.6rem}.recent-row{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;padding:.7rem .9rem;border-radius:14px;background:var(--panel);border:1px solid var(--line)}.recent-art{width:4.5rem;height:3.1rem;border-radius:8px;background:var(--map-bg);padding:.35rem;display:flex}.recent-text{flex:1 1 12rem;min-width:0;display:flex;flex-direction:column}.recent-name{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recent-meta{font-size:.85rem;color:var(--muted)}.footnote{margin:0;font-size:.85rem;color:var(--muted)}.drop-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;background:#0a0b0dd9;border:3px dashed var(--yellow);color:var(--yellow);font-weight:700;font-size:1.2rem;pointer-events:none}.editor{height:100vh;display:flex;flex-direction:column;overflow:hidden}.topbar{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem .9rem;padding:.6rem 1rem;background:var(--panel);border-bottom:1px solid var(--line)}.divider{width:1px;height:1.75rem;background:var(--line)}.name-field{display:flex;align-items:center;gap:.6rem}.name-field label{font-size:.85rem;color:var(--muted)}.name-field input,.field input{background:var(--field);border:1px solid var(--line);border-radius:8px;padding:.55rem .75rem;font-weight:700;min-width:0}.name-field input{width:13rem;font-size:.95rem}.save-state{display:inline-flex;align-items:center;gap:.4rem;font-size:.85rem;color:var(--muted)}.save-state .dot{width:.5rem;height:.5rem;border-radius:50%;background:var(--ok)}.save-saving .dot{background:var(--muted)}.save-failed{color:var(--danger)}.save-failed .dot{background:var(--danger)}.spacer{flex:1 1 0}.btn-row{display:flex;gap:.4rem}.workspace{flex:1 1 auto;min-height:0;display:flex}.tool-rail{flex:0 0 5.25rem;display:flex;flex-direction:column;gap:.3rem;padding:.6rem .5rem;background:var(--panel);border-right:1px solid var(--line);overflow-y:auto}.tool{flex:0 0 auto;min-height:3.2rem;border:0;border-radius:var(--radius);background:transparent;color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.25rem;font-size:.75rem;font-weight:700;cursor:pointer}.tool[aria-pressed=true]{background:#ffd80024;color:var(--yellow)}@media (hover: hover){.tool:hover:not([aria-pressed=true]){background:var(--panel-2);color:var(--text)}}.canvas-wrap{position:relative;flex:1 1 auto;min-width:0;background:var(--map-bg);overflow:hidden}.map{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;display:block;touch-action:none;-webkit-user-select:none;user-select:none}.map:focus-visible{outline:2px solid var(--yellow);outline-offset:-2px}.grid-minor{stroke:var(--grid-minor)}.grid-major{stroke:var(--grid-major)}.verge{fill:none;stroke:var(--grass);stroke-linecap:round;stroke-linejoin:round}.road{fill:none;stroke:var(--road);stroke-linecap:round;stroke-linejoin:round}.edge{fill:none;stroke:var(--road-edge);stroke-width:1.5px}.centerline{fill:none;stroke:var(--yellow);stroke-opacity:.65;stroke-width:1.5px;stroke-dasharray:6 6}.start-line{stroke:#fff;stroke-width:6px}.start-line-check{stroke:#000;stroke-width:6px;stroke-dasharray:3 3}.direction{fill:none;stroke:#fff;stroke-width:2.5px;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;opacity:.8}.preview{stroke:var(--yellow);stroke-width:1.5px;stroke-dasharray:4 5}.point{fill:var(--map-bg);stroke:var(--yellow);stroke-width:2px}.point.first{fill:var(--yellow);stroke:#000}.point.hover{stroke-width:3px}.point.selected{fill:var(--yellow);stroke:#000;stroke-width:2.5px}.point.closing{fill:var(--yellow);stroke:#fff;stroke-width:3px}.map-hint{position:absolute;top:.75rem;left:.75rem;right:11rem;margin:0;width:fit-content;max-width:calc(100% - 11.75rem);padding:.45rem .7rem;border-radius:8px;background:#121316e6;border:1px solid var(--line);font-size:.85rem;pointer-events:none}.map-scale{position:absolute;left:.75rem;bottom:.75rem;padding:.3rem .6rem;border-radius:8px;background:#121316e6;border:1px solid var(--line);font-size:.8rem;color:var(--muted);pointer-events:none}.map-zoom{position:absolute;right:.75rem;bottom:.75rem;display:flex;gap:.4rem}.panel{flex:0 0 19rem;min-width:0;overflow-y:auto;background:var(--panel);border-left:1px solid var(--line)}.panel-block{display:flex;flex-direction:column;gap:.75rem;padding:1.1rem 1.1rem 1.25rem;border-bottom:1px solid var(--line)}.panel-block h2{font-family:var(--display);font-size:1.05rem;font-weight:700;letter-spacing:.01em}.panel-block p{margin:0}.panel-head{display:flex;align-items:baseline;justify-content:space-between}.field{display:flex;flex-direction:column;gap:.35rem}.field label{font-size:.8rem;color:var(--muted)}.slider{width:100%;accent-color:var(--yellow)}.stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.stat{background:var(--field);border:1px solid var(--line);border-radius:10px;padding:.55rem .7rem;display:flex;flex-direction:column}.stat-label{font-size:.75rem;color:var(--muted)}.stat-value{font-size:1.2rem;font-weight:700}.check{display:flex;align-items:center;gap:.6rem;min-height:2.25rem;font-size:.9rem;cursor:pointer}.check input{width:1.1rem;height:1.1rem;accent-color:var(--yellow)}.keys{display:grid;grid-template-columns:auto 1fr;gap:.45rem .75rem;margin:0;font-size:.82rem;align-items:center}.keys dt{white-space:nowrap}.keys dd{margin:0;color:var(--muted)}kbd{display:inline-block;min-width:1.4rem;padding:.05rem .35rem;border-radius:5px;border:1px solid var(--line);border-bottom-width:2px;background:var(--panel-2);font-family:var(--font);font-size:.75rem;font-weight:700;text-align:center}.backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:flex;padding:1rem;background:#050608b8;overflow-y:auto}.modal{margin:auto;width:100%;max-width:28rem;padding:1.5rem;border-radius:16px;background:var(--panel);border:1px solid var(--line);box-shadow:0 24px 60px #00000080;outline:none}.modal h2{font-family:var(--display);font-weight:700;font-size:1.6rem;margin-bottom:.6rem}.modal p{margin:0 0 1.25rem;line-height:1.5;color:#c6cad2}.modal-actions{display:flex;justify-content:flex-end;gap:.6rem;flex-wrap:wrap}@media (max-width: 900px){.editor{height:auto;min-height:100vh;overflow:visible}.workspace{flex-wrap:wrap}.tool-rail{flex:1 1 100%;flex-direction:row;flex-wrap:wrap;border-right:0;border-bottom:1px solid var(--line);overflow:visible}.tool{flex:1 1 6.5rem;min-height:3rem;flex-direction:row;gap:.5rem;font-size:.85rem}.canvas-wrap{flex:1 1 100%;height:60vh}.panel{flex:1 1 100%;border-left:0}.start-main{padding:2rem 1rem}.start-header{padding:.9rem 1rem}.name-field input{width:10rem}}@media (max-width: 420px){.brand-full{height:1.3rem}.brand-app{font-size:1.1rem}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{transition:none!important;animation:none!important}}.kerb-base{fill:none;stroke-linecap:butt;stroke-linejoin:round}.kerb-stripes{fill:none;stroke-dasharray:1.6 1.6;stroke-linecap:butt;stroke-linejoin:round}.kerb-outline{fill:none;stroke:var(--yellow);stroke-opacity:.35;stroke-linejoin:round}.kerb.draft{opacity:.7}.bridge-shadow{fill:none;stroke:#000;stroke-opacity:.45;stroke-linecap:butt}.bridge-rail{fill:none;stroke:#9aa1ab;stroke-linecap:butt}.bridge .road{stroke-linecap:butt}.bridge.selected .bridge-rail{stroke:var(--yellow)}.banner-beam{fill:#050505;stroke:#3a3f48;stroke-width:1.5px}.banner-post{fill:#8a919b}.banner.selected .banner-beam{stroke:var(--yellow);stroke-width:2.5px}.crossing circle{fill:var(--danger);stroke:#1a0505;stroke-width:2}.crossing path{stroke:#1a0505;stroke-width:3;stroke-linecap:round;fill:none}.crossing.hover circle{fill:#ff8a8a;stroke:#fff}.warn{display:flex;gap:.5rem;align-items:flex-start;color:var(--warn);line-height:1.4}.warn svg{flex:0 0 auto;margin-top:.1rem}.orphan{display:flex;flex-direction:column;gap:.5rem}.field-label{font-size:.8rem;color:var(--muted)}.segmented{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.25rem;padding:.2rem;border-radius:var(--radius);background:var(--field);border:1px solid var(--line)}.segmented button{min-height:2.5rem;border:0;border-radius:8px;background:transparent;color:var(--muted);font-weight:700;cursor:pointer}.segmented button[aria-pressed=true]{background:var(--panel-2);color:var(--yellow)}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.wall path{fill:none;stroke-linejoin:round}.wall.draft{opacity:.7}.wall-outline{stroke:var(--yellow);stroke-opacity:.4;stroke-linecap:round}.wall-concrete .wall-main{stroke:#b9bec6;stroke-width:.8}.wall-concrete .wall-detail{stroke:#7d838c;stroke-width:.8;stroke-dasharray:.12 3.88}.wall-armco .wall-main{stroke:#dfe3e8;stroke-width:.35}.wall-armco .wall-detail{stroke:#6f757e;stroke-width:.7;stroke-dasharray:.2 1.8}.wall-tyres .wall-main{stroke:#1b1b1b;stroke-width:1.1;stroke-linecap:round;stroke-dasharray:0 1.15}.wall-tyres .wall-detail{stroke:#4b4f55;stroke-width:.45;stroke-linecap:round;stroke-dasharray:0 1.15}.wall-fence .wall-main{stroke:#a7aeb8;stroke-width:.12}.wall-fence .wall-detail{stroke:#d6dae0;stroke-width:.45;stroke-dasharray:.3 2.7}.banked{fill:none;stroke:#fff;stroke-linecap:butt}.bridge-deck{fill:none;stroke:#6c727b;stroke-linecap:butt}.bridge-ramp{fill:none;stroke:#fff;stroke-opacity:.07;stroke-linecap:butt}.bridge-side{fill:none;stroke:#c3c8cf;stroke-width:.9}.bridge-rail .bridge-side{stroke:#e3e7ec;stroke-width:.35}.bridge-fence{fill:none;stroke:#1b1d21;stroke-width:.25;stroke-dasharray:.4 .4}.bridge.selected .bridge-deck{stroke:var(--yellow)}.center-col{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}.center-col .canvas-wrap{flex:1 1 auto;min-height:0}.elevation{flex:0 0 auto;height:150px;background:var(--panel);border-top:1px solid var(--line);overflow:hidden;-webkit-user-select:none;user-select:none}.elevation svg{display:block}.elevation-empty{margin:0;padding:1rem 1.25rem;color:var(--muted);font-size:.85rem}.elev-grid{stroke:var(--grid-major);stroke-width:1}.elev-label{fill:var(--muted);font-size:11px;font-family:var(--font)}.elev-area{fill:var(--yellow);fill-opacity:.08}.elev-line{fill:none;stroke:var(--text);stroke-width:2;stroke-linejoin:round}.elev-base{fill:none;stroke:var(--muted);stroke-width:1.25;stroke-dasharray:4 4}.elev-steep{fill:none;stroke:var(--warn);stroke-width:3;stroke-linecap:round}.elev-steep.red{stroke:var(--danger)}.elev-bridge{fill:#fff;fill-opacity:.05}.elev-under{fill:var(--muted)}.elev-point{fill:var(--map-bg);stroke:var(--yellow);stroke-width:2;cursor:ns-resize}.elev-point.selected{fill:var(--yellow);stroke:#000}.elev-cursor{stroke:var(--muted);stroke-dasharray:3 3}.elev-readout{fill:var(--text);font-size:12px;font-weight:700;font-family:var(--font)}.swatches{display:flex;flex-wrap:wrap;gap:.4rem}.swatch{width:2.75rem;height:2.75rem;border-radius:10px;border:2px solid var(--line);cursor:pointer;padding:0}.swatch[aria-checked=true]{border-color:var(--yellow);box-shadow:0 0 0 2px #ffd80059}.field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.segmented.four{grid-template-columns:repeat(2,minmax(0,1fr))}@media (max-width: 900px){.center-col{flex:1 1 100%}.center-col .canvas-wrap{flex:0 0 auto;height:60vh}}.stat-value.warned{color:var(--warn)}.stat-value.bad{color:var(--danger)}details.panel-block>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:.5rem;cursor:pointer}details.panel-block>summary::-webkit-details-marker{display:none}details.panel-block>summary:after{content:"▸";color:var(--muted);font-size:.8rem;margin-left:auto}details.panel-block[open]>summary:after{content:"▾"}details.panel-block>summary h2{margin-right:auto}details.panel-block:not([open]){padding-bottom:1.1rem}.panel-block h3{margin:.25rem 0 0;font-size:.85rem;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.sub-head{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.btn-small{min-height:2.25rem;padding:0 .6rem;font-size:.8rem;box-shadow:none}.btn-icon.btn-small{width:2.25rem}.btn-row.wrap{flex-wrap:wrap}.btn[aria-pressed=true]{border-color:var(--yellow);color:var(--yellow)}.plain-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.2rem}.plain-list li{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.link-btn{background:none;border:0;padding:.3rem 0;color:var(--yellow);font-weight:700;font-size:.85rem;text-align:left;cursor:pointer}.link-btn:hover{text-decoration:underline}.inline-action{display:grid;grid-template-columns:1fr auto;gap:.5rem;align-items:end}.badge{font-size:.75rem;font-weight:700;padding:.15rem .5rem;border-radius:999px}.badge.good{background:#4cc97a26;color:var(--ok)}.badge.warned{background:#ffb34726;color:var(--warn)}.badge.bad{background:#ff6b6b26;color:var(--danger)}.checks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.45rem}.check-item{display:grid;grid-template-columns:auto 1fr auto;gap:.5rem;align-items:start;font-size:.85rem;line-height:1.35}.check-item svg{margin-top:.05rem}.check-item.ok svg{color:var(--ok)}.check-item.warn svg{color:var(--warn)}.check-item.fail svg{color:var(--danger)}.check-item .btn{margin-top:-.4rem}.runoff-band{fill:none;stroke-linecap:butt;stroke-linejoin:round}.runoff-texture{fill:none;stroke:#6f6249;stroke-dasharray:.2 .9;stroke-opacity:.6;stroke-linecap:round}.runoff-outline{fill:none;stroke:var(--yellow);stroke-opacity:.25}.runoff.draft{opacity:.6}.area{stroke:#ffffff40;stroke-width:1px;fill-opacity:.95}.area.selected{stroke:var(--yellow);stroke-width:2px}.area-vertex{fill:var(--map-bg);stroke:var(--yellow);stroke-width:2px;cursor:move}.area-draft polyline{fill:#ffd80014;stroke:var(--yellow);stroke-width:1.5px;stroke-dasharray:5 4}.area-draft circle{fill:var(--map-bg);stroke:var(--yellow);stroke-width:2px}.area-draft circle.first{fill:var(--yellow)}.pit-road{fill:none;stroke:#454a52;stroke-linecap:butt;stroke-linejoin:round}.pit-box rect{fill:#2a2e35;stroke:#e6e8eb;stroke-width:1px}.pit-box text,.grid-slot text{fill:#e6e8eb;font-family:var(--font);font-weight:700}.pit-box.bad rect,.grid-slot.bad rect{stroke:var(--danger)}.pitlane.selected .pit-road{stroke:#535963}.pit-limit{stroke:var(--yellow);stroke-width:3px}.pit-handle circle{fill:var(--yellow);stroke:#000;stroke-width:2;cursor:ew-resize}.pit-handle text{fill:#000;font-family:var(--font);font-weight:700;pointer-events:none}.grid-slot rect{fill:none;stroke:#fff;stroke-width:1.25px}.sector-line{stroke:var(--yellow);stroke-width:3px;stroke-dasharray:6 4}.timing-line.selected .sector-line,.timing-line.hover .start-line{stroke-width:5px}.map-label,.map-tag{font-family:var(--font);font-weight:700;pointer-events:none}.map-tag{fill:var(--yellow);paint-order:stroke;stroke:#000;stroke-width:3px}.tight{fill:none;stroke:var(--danger);stroke-opacity:.55;stroke-linecap:round;vector-effect:non-scaling-stroke}.background image{pointer-events:none}.background-frame{fill:none;stroke:var(--yellow);stroke-width:2px;stroke-dasharray:6 4}.scale-marks line{stroke:var(--yellow);stroke-width:2px;stroke-dasharray:4 3}.scale-marks circle{fill:var(--yellow);stroke:#000;stroke-width:2px}.panel{overflow-x:hidden}.field input,.field select{width:100%;box-sizing:border-box}.inline-action{grid-template-columns:minmax(0,1fr) auto}.badge{white-space:nowrap}.tight{stroke-opacity:.75}.timing-tag{cursor:ew-resize}.timing-tag rect{stroke:#000;stroke-width:1.5}.timing-tag.start rect{fill:#fff}.timing-tag.sector rect{fill:var(--yellow)}.timing-tag text{fill:#000;font-family:var(--font);font-weight:700;pointer-events:none}.timing-tag.hover rect{stroke:var(--yellow);stroke-width:3}.timing-tag.sector.hover rect{stroke:#fff}.map-snap{position:absolute;top:.75rem;right:.75rem;display:flex;gap:.4rem}.map-palette{position:absolute;top:3.6rem;left:.75rem;right:.75rem;display:flex;flex-wrap:wrap;gap:.35rem;pointer-events:none}.map-palette .btn{pointer-events:auto}.map-measure{position:absolute;left:.75rem;bottom:3rem;padding:.5rem .75rem;border-radius:8px;background:#121316eb;border:1px solid var(--yellow);font-size:.85rem;line-height:1.5;pointer-events:none}.map-measure strong{color:var(--yellow)}.measure line{stroke:var(--yellow);stroke-width:2px;stroke-dasharray:8 4}.measure circle,.measure-dot{fill:var(--yellow);stroke:#000;stroke-width:1.5px}.measure-label{fill:var(--yellow)}.select-box{fill:#ffd80014;stroke:var(--yellow);stroke-width:1px;stroke-dasharray:4 3}.turn-tag{cursor:pointer}.turn-tag rect{fill:#121316e0;stroke:var(--muted);stroke-width:1}.turn-tag text{fill:var(--text);font-family:var(--font);font-weight:700;pointer-events:none}.turn-tag.named rect{stroke:var(--yellow)}.turn-tag.selected rect{fill:var(--yellow);stroke:#000}.turn-tag.selected text{fill:#000}.elev-turn line{stroke:var(--muted);stroke-opacity:.35;stroke-dasharray:2 3}.elev-turn text{fill:var(--muted);font-size:10px;font-family:var(--font);font-weight:700}.obj{cursor:move}.obj-tyre{fill:#1b1b1d;stroke:#8b8f96;stroke-width:1px}.obj-cone{fill:#ff7a1a;stroke:#fff;stroke-width:1px}.obj-crown{fill:#2f6b35;stroke:#1c4421;stroke-width:1px}.obj-trunk{fill:#1c4421}.obj-body{fill:#6c727c;stroke:#2a2d33;stroke-width:1px}.obj-lamp{fill:var(--yellow)}.obj-marshal{fill:#ff8a2a;stroke:#2a2d33;stroke-width:1px}.obj-stripe{fill:#fff}.obj-rows{stroke:#3d4148;stroke-width:1px}.obj-building{fill:#b9bec6;stroke:#4b5059;stroke-width:1px}.obj-ridge{stroke:#7d838c;stroke-width:1px}.obj-frame{fill:none;stroke:var(--yellow);stroke-width:1.5px;stroke-dasharray:4 3}.paint-line{stroke:#fff;stroke-opacity:.9}.paint-line.selected{stroke:var(--yellow);stroke-opacity:1}.paint-logo{cursor:move}.paint-frame{fill:none;stroke:var(--yellow);stroke-width:1.5px;stroke-dasharray:4 3}.boards rect{fill:#fff;stroke:#000;stroke-width:1px}.boards text{fill:#fff;font-family:var(--font);font-weight:700;paint-order:stroke;stroke:#000;stroke-width:3px;pointer-events:none}.boards.selected rect{fill:var(--yellow)}.logo-picker{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:.4rem}.logo-wrap{position:relative;display:inline-flex}.logo-choice{width:6rem;height:2.75rem;padding:.3rem;border-radius:8px;border:2px solid var(--line);background:var(--field);cursor:pointer;display:grid;place-items:center}.logo-choice img{max-width:100%;max-height:100%;object-fit:contain}.logo-choice[aria-checked=true]{border-color:var(--yellow);box-shadow:0 0 0 2px #ffd80059}.logo-remove{position:absolute;top:-.5rem;right:-.5rem;width:1.6rem!important;min-height:1.6rem;padding:0;background:var(--panel-2);border-radius:50%}.layers{list-style:none;margin:0 0 .5rem;padding:0}.layers li{display:flex;align-items:center;gap:.25rem;padding:.1rem 0;font-size:.9rem}.layers li span{flex:1 1 auto}.layers li.off span{color:var(--muted);text-decoration:line-through}.layouts li{display:flex;align-items:center;gap:.4rem}.layouts li .link-btn{flex:1 1 auto;text-align:left}.clip-row{margin-bottom:.6rem}.panel select{width:100%;min-height:2.5rem;border-radius:8px;border:1px solid var(--line);background:var(--field);color:var(--text);font:inherit;padding:0 .5rem}.layers .btn[aria-pressed]{border-color:transparent;color:var(--text)}.layers .btn[aria-pressed=false]{color:var(--muted)}.layers li .btn[aria-label^=Unlock]{color:var(--yellow)}.race-line{fill:none;stroke-width:2.5px;stroke-linecap:round;stroke-linejoin:round}.race-line.power{stroke:var(--ok)}.race-line.corner{stroke:var(--yellow)}.race-line.brake{stroke:var(--danger)}.legend{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem .8rem;color:var(--muted);margin:.25rem 0}.legend .dot{display:inline-block;width:.7rem;height:.25rem;border-radius:2px;margin-right:-.4rem}.legend .dot.power{background:var(--ok)}.legend .dot.corner{background:var(--yellow)}.legend .dot.brake{background:var(--danger)}.turn-speeds li{display:flex;justify-content:space-between;font-size:.85rem}.tunnel-shade{fill:none;stroke:#000;stroke-opacity:.35;stroke-linecap:butt}.tunnel-wall{fill:none;stroke:#9aa0a8;stroke-width:2px;vector-effect:non-scaling-stroke}.elev-tunnel{fill:#000;fill-opacity:.35}.map-menu{position:absolute;z-index:20;min-width:15rem;padding:.3rem;border-radius:8px;background:var(--panel);border:1px solid var(--line);box-shadow:0 12px 32px #00000080}.map-menu-title{padding:.35rem .6rem .4rem;font-size:.75rem;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.map-menu button,.palette-list li{display:flex;align-items:center;justify-content:space-between;gap:1rem;width:100%;min-height:2rem;padding:0 .6rem;border:0;border-radius:5px;background:transparent;color:var(--text);font:inherit;font-size:.875rem;text-align:left;cursor:pointer}.map-menu button:hover,.map-menu button:focus-visible{background:var(--panel-2);outline:none}.map-menu button.danger{color:var(--danger)}.map-menu button.sep{margin-top:.3rem;border-top:1px solid var(--line);border-radius:0 0 5px 5px}.map-menu kbd,.palette-list kbd{font-family:var(--font);font-size:.72rem;color:var(--muted)}.modal.palette{max-width:34rem;padding:.75rem;align-self:flex-start;margin-top:12vh}.modal.palette h2{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.palette-search{display:flex;align-items:center;gap:.5rem;padding:0 .6rem;border:1px solid var(--line);border-radius:6px;background:var(--field);color:var(--muted)}.palette-search input{flex:1 1 auto;min-height:2.75rem;border:0;background:transparent;color:var(--text);font:inherit;font-size:1rem;outline:none}.palette-list{list-style:none;margin:.5rem 0 0;padding:0;max-height:50vh;overflow-y:auto}.palette-list li[aria-selected=true]{background:#ffd8001f;color:var(--yellow)}.palette-empty{color:var(--muted);cursor:default}.modal-list{margin:0 0 1.25rem;padding-left:1.2rem;color:#c6cad2;line-height:1.5}.block-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.search{display:inline-flex;align-items:center;gap:.4rem;padding:0 .7rem;border:1px solid var(--line);border-radius:6px;background:var(--field);color:var(--muted)}.search input{min-height:2.4rem;width:14rem;border:0;background:transparent;color:var(--text);font:inherit;outline:none}.card-grid.circuits{grid-template-columns:repeat(auto-fill,minmax(11rem,1fr))}.card[aria-busy=true]{border-color:var(--yellow)}.modal.circuits-modal{max-width:62rem;width:calc(100vw - 2rem)}.real-circuits .search{width:100%;margin:.25rem 0 1rem}.real-circuits .search input{width:100%}.real-circuits .card-grid.circuits{max-height:62vh;overflow-y:auto;padding:2px}
