/* Engineering overview: vector geometry remains legible on screen and in exported reports. */
.pro-car.car-stage.engineering-stage{min-height:0!important}
.pro-car.car-stage.engineering-stage .vehicle-plane.engineering-plane{aspect-ratio:auto!important;height:auto!important;align-self:center;justify-self:center;min-width:0;max-width:390px}
.alignment-geometry-svg{display:block;width:100%;height:auto;overflow:visible}
.alignment-geometry-svg text{font-family:Arial,sans-serif;text-anchor:middle;fill:#aeb9c2}
.geometry-chassis{fill:#ffffff02;stroke:#89939d;stroke-width:1;stroke-dasharray:3 7;opacity:.2}
.geometry-wheel[data-toe=""]>g>rect:first-child{stroke-dasharray:3 3;opacity:.65}
.geometry-datum{stroke:#99a6b0;stroke-width:.8;stroke-dasharray:3 5;fill:none;opacity:.55}
.geometry-axle{fill:none;stroke:#73808a;stroke-width:1;opacity:.38}
.geometry-centerline{stroke:#9aa6b1;stroke-width:1;stroke-dasharray:7 6;opacity:.65}
.geometry-forward{stroke:#e0e6eb;stroke-width:1.5;fill:none}.geometry-orientation{font-size:9px;letter-spacing:1px}
.geometry-toe-axis{stroke:#e6c842;stroke-width:1.3;opacity:.85}.geometry-toe-arc{stroke:#e6c842;stroke-width:1.7;fill:none}.geometry-thrust{stroke:#6cb9ed;stroke-width:1.6;fill:none;stroke-dasharray:8 5}.geometry-corner{font-size:11px;font-weight:bold;letter-spacing:1px}.geometry-gamma{font-size:12px;fill:#70ccda!important}
.pro-car.car-stage.engineering-stage .vehicle-plane .bias-box{position:relative!important;left:auto!important;top:auto!important;bottom:auto!important;transform:none!important;width:100%!important;box-sizing:border-box;margin:8px 0 0;padding:10px!important;border-radius:14px;background:#1119;font-size:11px}
.engineering-stage .bias-box strong{font-size:13px}.engineering-stage .bias-box .balance-target-entry{display:block}
.engineering-stage .bias-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.engineering-stage .bias-summary-grid>span:last-child{grid-column:auto;border:0;padding-top:0}
.geometry-summary{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:10px;margin-top:4px}
.geometry-summary>div{text-align:center;border:1px solid #ffffff21;background:#ffffff03;border-radius:14px;padding:12px 8px}.geometry-summary span{display:block;color:#bfc7cd;font-size:11px;line-height:1.5}.geometry-summary strong{display:block;font-variant-numeric:tabular-nums;font-size:20px;margin-top:6px;font-weight:700}
.geometry-caption{grid-column:1/-1;line-height:1.6;text-align:center;margin:0!important;font-size:11px;color:#b5bdc4}.geometry-caption small{display:block;font-size:11px;margin-top:8px}.geometry-key{display:inline-block;margin:0 8px}.geometry-key:before{content:'';display:inline-block;vertical-align:middle;width:16px;height:2px;margin-right:6px;background:currentColor}.geometry-key-toe{color:#e6c842}.geometry-key-thrust{color:#6cb9ed}.geometry-key-camber{color:#70ccda}
.track-record-popup .track-layout-photo{width:100%;max-height:48vh;object-fit:contain;background:#090b0f;border-radius:16px}.track-record-popup .track-best-time{margin:8px 0;font-size:34px}.track-record-popup .popup-lap-context{line-height:1.7}.track-record-popup .popup-layout-empty{border:1px dashed #59626a;border-radius:16px;padding:24px;text-align:center;color:#bfc7cd}
@media(max-width:600px){.pro-car.car-stage.engineering-stage .vehicle-plane.engineering-plane{width:88%;max-width:350px}.geometry-summary{gap:6px}.geometry-summary>div{padding:10px 5px}.geometry-summary span{font-size:10px}.geometry-summary strong{font-size:17px}.geometry-caption{text-align:left}.geometry-key{margin:0 8px 5px 0}}
@media print{.geometry-chassis{stroke:#8b949b;opacity:.5}.geometry-datum,.geometry-centerline,.geometry-axle{stroke:#64717b;opacity:.8}.alignment-geometry-svg text{fill:#283139}.geometry-forward{stroke:#283139}.geometry-caption,.geometry-summary span{color:#333}.geometry-summary{break-inside:avoid}.geometry-summary>div{border-color:#aab0b5}.geometry-summary strong{color:#111}.geometry-key-toe{color:#8a6600}.geometry-key-thrust{color:#246c9c}.geometry-key-camber{color:#197380}}
@media print{.geometry-toe-axis,.geometry-toe-arc{stroke:#8a6600}.geometry-thrust{stroke:#246c9c}.geometry-camber rect{stroke:#197380}}

/* Blueprint layers: subdued construction, distinct measurement geometry. */
.blueprint-wheel-outline{fill:#0a1119;fill-opacity:.35;stroke:#a1c3d8;stroke-width:1.5}
.blueprint-wheel-inner{stroke:#6596b3;stroke-width:.7}
.blueprint-wheel-construction{fill:none;stroke:#6596b3;stroke-width:.6;stroke-dasharray:3 3;opacity:.55}
.geometry-toe-sector{fill:#e6c842;fill-opacity:.10;stroke:none}
.geometry-toe-axis{stroke-width:1.5}.geometry-toe-arc{stroke-width:2.6}
.geometry-arc-end{fill:#e6c842}.geometry-label-leader{fill:none;stroke:#e6c842;stroke-width:.7;opacity:.7}
.geometry-label-plate{fill:#05090e;stroke:#52697b;stroke-width:.6}
.alignment-geometry-svg .geometry-corner{fill:#f2f7fa;font-size:11px;letter-spacing:1px}
.alignment-geometry-svg .geometry-angle-label{fill:#eed567;font-size:10px;font-weight:bold}
.geometry-thrust{stroke-dasharray:none;stroke:none}
.geometry-thrust-arrow{stroke:#71caff;stroke-width:3.5;fill:none}
.geometry-thrust-sector{fill:#71caff;fill-opacity:.16;stroke:none}
.geometry-thrust-arc{stroke:#71caff;stroke-width:2.5;fill:none}
.geometry-thrust-pivot{fill:#071321;stroke:#71caff;stroke-width:1.5}
.geometry-thrust-leader{stroke:#71caff;stroke-width:.8}
.alignment-geometry-svg .geometry-thrust-title{fill:#a5ddff;font-size:7px;letter-spacing:.5px}
.alignment-geometry-svg .geometry-thrust-value{fill:#71caff;font-size:10px;font-weight:bold}
.geometry-camber-panel{fill:#081319;stroke:#477985;stroke-width:.6}
.alignment-geometry-svg .geometry-camber-title{fill:#9cc5cd;font-size:6.5px;letter-spacing:.2px}
.alignment-geometry-svg .geometry-camber-value{fill:#8de0eb;font-size:10px;font-weight:bold}
.geometry-camber-reference{fill:none;stroke:#738a94;stroke-width:.6;stroke-dasharray:2 2}
.geometry-camber-lean{fill:#70ccda;fill-opacity:.2;stroke:#70ccda;stroke-width:1.5}
@media print{.blueprint-wheel-outline{fill:#fff;stroke:#38596e}.blueprint-wheel-inner,.blueprint-wheel-construction{stroke:#6a8798}.geometry-label-plate{fill:#fff}.alignment-geometry-svg .geometry-corner{fill:#111}.alignment-geometry-svg .geometry-angle-label{fill:#735700}.geometry-thrust-arrow,.geometry-thrust-arc,.geometry-thrust-leader{stroke:#246c9c}.alignment-geometry-svg .geometry-thrust-value,.alignment-geometry-svg .geometry-thrust-title{fill:#246c9c}.geometry-camber-panel{fill:#f5fafb}.alignment-geometry-svg .geometry-camber-title,.alignment-geometry-svg .geometry-camber-value{fill:#175c66}}

/* One compact, matching row: axle toe, weight balance, rear thrust. */
.engineering-stage .geometry-summary{grid-template-columns:minmax(0,1fr) minmax(0,38%) minmax(0,1fr);align-items:stretch;margin-top:0}
.pro-car.car-stage.engineering-stage .geometry-summary>div{position:relative!important;left:auto!important;top:auto!important;bottom:auto!important;transform:none!important;width:100%!important;box-sizing:border-box;margin:0;padding:10px!important;border:1px solid #93834e;border-radius:14px;background:#1119;box-shadow:0 3px 12px #0006;display:flex;flex-direction:column;justify-content:center;min-width:0;font:11px/1.5 Arial,sans-serif;text-align:center}
.engineering-stage .geometry-summary .geometry-toe-summary{flex-direction:row;align-items:center}
.geometry-toe-summary .geometry-summary-metric{flex:1;min-width:0;padding:0 4px}
.engineering-stage .geometry-summary strong{color:#e6c842;font-size:13px;margin-top:6px;line-height:1.5}
.engineering-stage .geometry-summary span{color:inherit;font-size:11px;line-height:1.5}
.geometry-thrust-summary small{color:#b5bdc4;font-size:10px;margin-top:3px}
@media(max-width:600px){.engineering-stage .geometry-summary{grid-template-columns:1fr 1.35fr 1fr}.engineering-stage .geometry-summary .geometry-toe-summary{flex-direction:column}.geometry-toe-summary .geometry-summary-metric+ .geometry-summary-metric{margin-top:8px}.engineering-stage .geometry-summary span{font-size:10px}.pro-car.car-stage.engineering-stage .geometry-summary>div{padding:8px 4px!important}.engineering-stage .geometry-summary .bias-summary-grid{gap:3px}}
@media print{.pro-car.car-stage.engineering-stage .geometry-summary>div{background:#fff!important;border-color:#aaa;box-shadow:none;color:#111}.engineering-stage .geometry-summary strong{color:#111}.geometry-thrust-summary small{color:#333}}
