.vehicle-map-card{background:#fff;border:1px solid #f0d4ba;border-radius:18px;padding:18px;margin:0 0 18px;box-shadow:0 6px 20px #3d250b0b;color:#1e293b}
.vehicle-map-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.vehicle-map-heading h3{margin:0;color:#b94b08;font-size:19px}.vehicle-map-heading p{margin:6px 0 0;color:#64748b;font-size:13px}.vehicle-map-selector{display:block;max-width:470px;margin:15px 0;font-weight:800}.vehicle-map-selector select{display:block;width:100%;margin-top:7px;min-height:44px;border:1px solid #d1d5db;border-radius:10px;background:white;color:#172033;padding:8px}
.vehicle-map-legend{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;font-weight:700;margin:10px 0}.vehicle-map-legend span{display:inline-flex;align-items:center;gap:6px}.vehicle-map-dot{display:inline-block;width:12px;height:12px;border-radius:50%;background:#d1d5db}.vehicle-map-dot.changed{background:#16a34a}.vehicle-map-dot.maintenance{background:#ea580c}
.vehicle-map-drawing{max-width:1000px;margin:auto;position:relative}.vehicle-map-drawing svg{display:block;width:100%;max-height:620px}.vehicle-map-zone{cursor:pointer;outline:none}.vehicle-map-zone rect,.vehicle-map-zone ellipse{transition:stroke .15s,filter .15s}.vehicle-map-zone:hover rect,.vehicle-map-zone:hover ellipse,.vehicle-map-zone:focus rect,.vehicle-map-zone:focus ellipse{stroke:#0f172a;stroke-width:3;filter:brightness(1.08)}.vehicle-map-zone text{pointer-events:none;font-family:Arial,sans-serif;font-size:12px;font-weight:bold;fill:#172033}.vehicle-map-zone.active rect,.vehicle-map-zone.active ellipse{stroke:#0f172a;stroke-width:4}.vehicle-map-details{border-radius:13px;background:#f8fafc;border:1px solid #e2e8f0;padding:13px;margin-top:12px;min-height:55px}.vehicle-map-details h4{margin:0 0 9px}.vehicle-map-entry{border-top:1px solid #e2e8f0;padding:9px 0;font-size:13px;line-height:1.8}.vehicle-map-entry:first-of-type{border-top:0}.vehicle-map-entry small{color:#64748b}.vehicle-map-empty{color:#64748b;font-size:13px}.vehicle-map-count{font-weight:900;color:#c2410c}
@media(max-width:600px){.vehicle-map-card{padding:11px}.vehicle-map-heading h3{font-size:16px}.vehicle-map-zone text{font-size:10px}}

.vehicle-map-zone:hover rect,.vehicle-map-zone:focus rect{stroke:#f97316;stroke-width:2.5;filter:brightness(1.02)}
@media(max-width:650px){.vehicle-map-drawing{overflow-x:auto}.vehicle-map-drawing svg{min-width:680px}.vehicle-map-zone text{font-size:12px}}

/* Redesigned responsive vehicle maintenance map: no crossing leader lines or overlapping labels. */
.vehicle-map-drawing{max-width:1160px;width:100%;margin:12px auto}
.vehicle-map-layout{display:grid;grid-template-columns:minmax(180px,1fr) minmax(250px,350px) minmax(180px,1fr);gap:20px;align-items:center;padding:20px;background:linear-gradient(150deg,#f8fafc,#fff 55%,#fff7ed);border:1px solid #e2e8f0;border-radius:22px}
.vehicle-map-column{display:flex;flex-direction:column;gap:10px;min-width:0}
.vehicle-map-tile{position:relative;display:flex;flex-direction:column;align-items:flex-start;text-align:right;gap:5px;width:100%;min-height:59px;padding:11px 16px 11px 12px;border:1px solid #dbe3ec;border-right:4px solid #94a3b8;border-radius:13px;background:#fff;color:#1e293b;cursor:pointer;font-family:inherit;box-shadow:0 2px 8px #0f172a08;transition:transform .15s,border-color .15s,box-shadow .15s}
.vehicle-map-tile.changed{border-right-color:#16a34a;background:#f3fcf5}.vehicle-map-tile.periodic{border-right-color:#f97316;background:#fff7ed}
.vehicle-map-tile:hover,.vehicle-map-tile:focus-visible,.vehicle-map-tile.active{transform:translateY(-1px);border-color:#f97316;box-shadow:0 4px 14px #f9731629;outline:none}
.vehicle-map-tile-name{font-size:13px;font-weight:800;line-height:1.5}.vehicle-map-tile-count{font-size:11px;color:#64748b}
.vehicle-map-car{min-width:0;text-align:center;display:flex;flex-direction:column;align-items:center;gap:5px}
.vehicle-map-car-caption{font-weight:900;color:#334155;font-size:14px}.vehicle-map-car svg{display:block;width:100%;max-width:340px;height:auto;max-height:480px;overflow:visible}
.vehicle-map-car-hint{font-size:11px;line-height:1.7;color:#64748b;max-width:250px}
.vehicle-map-pin{cursor:pointer;outline:none}.vehicle-map-pin:hover circle:first-child,.vehicle-map-pin:focus-visible circle:first-child,.vehicle-map-pin.active circle:first-child{stroke:#f97316;stroke-width:4}
@media(max-width:850px){.vehicle-map-layout{grid-template-columns:1fr 1fr;gap:12px;padding:12px}.vehicle-map-car{grid-column:1/-1;grid-row:1}.vehicle-map-column{align-self:start}.vehicle-map-tile{min-height:62px}}
@media(max-width:650px){.vehicle-map-drawing{overflow:visible}.vehicle-map-drawing svg{min-width:0}.vehicle-map-layout{gap:8px;padding:9px}.vehicle-map-tile{padding:9px 10px;min-height:60px}.vehicle-map-tile-name{font-size:11px}.vehicle-map-tile-count{font-size:10px}.vehicle-map-car svg{max-width:250px}}

/* Five selectable viewpoints; category cards stay interactive for every view. */
.vehicle-map-views{border-radius:20px;overflow:hidden}
.vehicle-map-view-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;padding:12px;background:#f1f5f9;border:1px solid #e2e8f0;border-bottom:0;border-radius:18px 18px 0 0}
.vehicle-map-view-button{font:inherit;font-size:12px;font-weight:800;cursor:pointer;border:1px solid #cbd5e1;border-radius:10px;padding:10px 14px;background:#fff;color:#334155;transition:background .15s,border-color .15s}
.vehicle-map-view-button:hover,.vehicle-map-view-button:focus-visible{border-color:#f97316;outline:2px solid #fed7aa}
.vehicle-map-view-button.selected{background:#172033;color:#fff;border-color:#f97316}
.vehicle-map-views .vehicle-map-layout{border-radius:0 0 18px 18px}
.vehicle-map-car svg[viewBox="0 0 460 250"]{max-width:420px;max-height:310px}
@media(max-width:650px){.vehicle-map-view-tabs{gap:5px;padding:8px}.vehicle-map-view-button{font-size:11px;padding:8px 9px}}

/* Refined vehicle silhouette and numbered, high-contrast hotspots */
.vehicle-map-views .vehicle-map-layout{background:linear-gradient(135deg,#f8fafc 0%,#fff 65%,#fff7ed 100%);gap:24px}
.vehicle-map-car{padding:16px 8px;border:1px solid #e2e8f0;border-radius:20px;background:radial-gradient(circle at center,#fff 40%,#f1f5f9 100%);box-shadow:inset 0 1px 0 #fff}
.vehicle-map-car svg{filter:drop-shadow(0 4px 7px #0f172a0d)}
.vehicle-map-pin{transition:opacity .15s;touch-action:manipulation}
.vehicle-map-pin circle{transition:stroke-width .15s,filter .15s}
.vehicle-map-pin:hover circle:first-child,.vehicle-map-pin:focus-visible circle:first-child,.vehicle-map-pin.active circle:first-child{stroke:#f97316;stroke-width:4;filter:drop-shadow(0 0 4px #fb923c)}
.vehicle-map-pin:focus-visible{outline:none}
.vehicle-map-pin text{pointer-events:none;fill:white;font-size:10px;font-weight:900}
.vehicle-map-tile-name{display:flex;align-items:center;gap:9px}
.vehicle-map-tile-index{display:inline-flex;align-items:center;justify-content:center;flex:0 0 23px;height:23px;border-radius:8px;background:#e2e8f0;color:#334155;font-size:11px;font-weight:900}
.vehicle-map-tile.changed .vehicle-map-tile-index{background:#dcfce7;color:#166534}
.vehicle-map-tile.periodic .vehicle-map-tile-index{background:#ffedd5;color:#9a3412}
.vehicle-map-tile:focus-visible{outline:2px solid #f97316;outline-offset:2px}
@media(max-width:850px){.vehicle-map-views .vehicle-map-layout{gap:12px}.vehicle-map-car{padding:12px 6px}}

/* Workshop inspection-sheet visual system */
.vehicle-map-car{background:linear-gradient(160deg,#f5f9fc,#eaf2f8);border:1px solid #d6e3ed;border-radius:18px;padding:15px 9px;box-shadow:inset 0 0 0 1px #fff}
.vehicle-map-car-caption{color:#24445f;letter-spacing:.1px}
.vehicle-map-car svg.vehicle-workshop-svg{filter:none;max-height:500px}
.vehicle-map-pin circle:first-child{fill:#fff;stroke-width:2.5;filter:drop-shadow(0 2px 3px #243e5b40)}
.vehicle-map-pin:focus-visible{outline:none}
.vehicle-map-pin:hover circle:first-child,.vehicle-map-pin:focus-visible circle:first-child{stroke:#f97316;stroke-width:4}
.vehicle-map-view-button.selected{box-shadow:0 0 0 2px #fdba74}
@media(max-width:650px){.vehicle-map-car{padding:10px 4px}.vehicle-map-car svg.vehicle-workshop-svg{max-width:300px}}

/* Two-view workshop schematic, with independent anatomically positioned hotspots. */
.vehicle-map-layout{grid-template-columns:minmax(155px,1fr) minmax(320px,1.65fr) minmax(155px,1fr);align-items:center;gap:16px}
.vehicle-map-car{width:100%;min-width:0;overflow:hidden}
.vehicle-map-car svg.vehicle-workshop-top{width:min(100%,390px);max-width:390px;max-height:570px}
.vehicle-map-car svg.vehicle-workshop-side{width:100%;max-width:560px;max-height:360px}
.vehicle-map-pin text{fill:#fff!important;font-size:11px!important;pointer-events:none}
.vehicle-map-zone.vehicle-map-tile{width:100%}
@media(max-width:960px){.vehicle-map-layout{grid-template-columns:repeat(2,minmax(0,1fr))}.vehicle-map-car{grid-column:1/-1;grid-row:1}.vehicle-map-column{align-self:start}}
@media(max-width:550px){.vehicle-map-layout{gap:8px;padding:8px}.vehicle-map-car svg.vehicle-workshop-side{width:100%}.vehicle-map-tile-name{font-size:11px}.vehicle-map-car{padding:9px 2px}}

/* Workshop v9: responsive technical drawings and stable pin visibility */
.vehicle-map-car{background:#f8fbfd!important;border:1px solid #d6e5ef!important;box-shadow:none!important}
.vehicle-map-car svg.vehicle-workshop-top{max-width:390px!important;max-height:600px!important}
.vehicle-map-car svg.vehicle-workshop-side{max-width:590px!important;max-height:400px!important}
.vehicle-map-pin{cursor:pointer}.vehicle-map-pin text{font-size:11px!important;fill:#fff!important}
.vehicle-map-tile-index{flex-shrink:0}.vehicle-map-view-tabs{position:relative;z-index:1}
@media(max-width:850px){.vehicle-map-car{grid-column:1/-1;grid-row:1}}

/* Reference workshop design - same vehicle artwork as approved mockup */
.vehicle-map-ref-stage{position:relative;width:100%;max-width:850px;margin:auto;line-height:0;direction:ltr;overflow:hidden;border:0;border-radius:0;background:#fff}
.vehicle-map-ref-stage>img{display:block;width:100%;height:auto;user-select:none}
.vehicle-map-ref-overlay{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.vehicle-map-ref-pin{cursor:pointer;outline:none}.vehicle-map-ref-pin:hover circle,.vehicle-map-ref-pin:focus circle{stroke:#f97316;stroke-width:3;fill:#fb923c22}
.vehicle-map-car{background:#fff!important;border:0!important;max-width:none!important;padding:5px!important}
.vehicle-map-layout{grid-template-columns:minmax(170px,1fr) minmax(480px,2.5fr) minmax(170px,1fr)!important;align-items:center}
.vehicle-map-tile{min-height:58px;border-radius:12px!important}
@media(max-width:1100px){.vehicle-map-layout{grid-template-columns:repeat(2,minmax(0,1fr))!important}.vehicle-map-car{grid-column:1/-1;grid-row:1}}
@media(max-width:650px){.vehicle-map-layout{grid-template-columns:repeat(2,minmax(0,1fr))!important}.vehicle-map-tile{min-height:62px}}

/* Interactive status and selection on top of the approved workshop reference images. */
.vehicle-map-ref-pin .vehicle-map-marker-ring{fill:rgba(100,116,139,.06);stroke:#64748b;stroke-width:3;opacity:.75;vector-effect:non-scaling-stroke;transition:stroke .18s,stroke-width .18s,fill .18s,opacity .18s;filter:drop-shadow(0 1px 2px #0004)}
.vehicle-map-ref-pin.changed .vehicle-map-marker-ring{stroke:#16a34a;fill:rgba(22,163,74,.12);opacity:1}
.vehicle-map-ref-pin.periodic .vehicle-map-marker-ring{stroke:#ea580c;fill:rgba(234,88,12,.10);opacity:1}
.vehicle-map-ref-pin:hover .vehicle-map-marker-ring,.vehicle-map-ref-pin:focus-visible .vehicle-map-marker-ring,.vehicle-map-ref-pin.active .vehicle-map-marker-ring{stroke:#f97316!important;stroke-width:6!important;fill:rgba(251,146,60,.22)!important;opacity:1;filter:drop-shadow(0 0 6px #fb923c)}
.vehicle-map-ref-pin{cursor:pointer;touch-action:manipulation}
.vehicle-map-ref-pin:focus-visible{outline:none}
.vehicle-map-tile.active{border-color:#f97316!important;background:#fff7ed!important;box-shadow:0 0 0 2px #fed7aa!important}
@media(prefers-reduced-motion:reduce){.vehicle-map-ref-pin .vehicle-map-marker-ring{transition:none}}

/* No new circles: the original printed number pixels are recolored on a canvas. */
.vehicle-map-ref-stage>img{display:block;width:100%;height:auto}
.vehicle-map-original-art{display:block;width:100%;height:auto;user-select:none}
.vehicle-map-ref-pin circle{fill:transparent!important;stroke:transparent!important;stroke-width:0!important}
.vehicle-map-ref-pin:hover circle,.vehicle-map-ref-pin.active circle{fill:transparent!important;stroke:transparent!important}

.vehicle-map-ref-stage:has(>canvas.vehicle-map-original-art)>img{display:none}
