.client-vehicle-map{overflow:hidden;border:1px solid #cfddd4;border-radius:14px;background:radial-gradient(circle at 50% 43%,#fff 0,#f2f7f3 67%,#e8f0eb 100%)}
.health-map-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid #dce7df;background:rgba(255,255,255,.9)}
.health-control-group{display:inline-flex;gap:4px;padding:3px;border-radius:9px;background:#edf3ef}
.health-control-group button{min-height:34px;padding:6px 10px;border:0;border-radius:7px;background:transparent;color:#617067;font:inherit;font-size:11px;font-weight:800;cursor:pointer}
.health-control-group button[aria-pressed="true"]{background:#fff;color:#08743a;box-shadow:0 1px 4px rgba(17,50,31,.12)}
.health-vehicle-stage{position:relative;width:min(820px,100%);aspect-ratio:3/2;margin:-2% auto -4%;isolation:isolate}
.health-vehicle-stage:after{content:"";position:absolute;z-index:-1;left:13%;right:10%;bottom:15%;height:8%;border-radius:50%;background:rgba(4,23,14,.15);filter:blur(14px)}
.health-vehicle-stage>img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .4s ease;filter:drop-shadow(0 18px 18px rgba(15,32,22,.16))}
.health-vehicle-stage.right-view>img{transform:scaleX(-1)}
.health-marker-layer{position:absolute;inset:0}
.health-marker{--marker:#77847c;position:absolute;width:23px;height:23px;padding:0;border:3px solid #fff;border-radius:50%;background:var(--marker);box-shadow:0 0 0 2px var(--marker),0 5px 13px rgba(3,20,12,.24);cursor:pointer;transition:transform .16s ease,box-shadow .16s ease}
.health-marker:hover,.health-marker:focus-visible,.health-marker.selected{z-index:4;transform:scale(1.18);box-shadow:0 0 0 3px rgba(255,255,255,.95),0 0 0 6px var(--marker),0 8px 17px rgba(3,20,12,.25);outline:0}
.health-marker:after{content:attr(data-health-title);position:absolute;left:50%;bottom:calc(100% + 10px);width:max-content;max-width:150px;transform:translateX(-50%);padding:6px 8px;border-radius:7px;background:#081d13;color:#fff;font-size:10px;font-weight:800;opacity:0;pointer-events:none;transition:opacity .16s ease}
.health-marker:hover:after,.health-marker:focus-visible:after{opacity:1}
.health-marker.good{--marker:#13a752}.health-marker.watch{--marker:#d89a13}.health-marker.concern{--marker:#c43a3a}
.health-marker.hood{left:27%;top:49%}.health-marker.roof{left:58%;top:13%}.health-marker.front-fender{left:45%;top:56%}.health-marker.front-door{left:69%;top:51%}.health-marker.rear-door{left:81%;top:44%}.health-marker.rear-quarter{left:90%;top:38%}.health-marker.decklid{left:94%;top:25%}.health-marker.rocker{left:72%;top:70%}.health-marker.front-bumper{left:10%;top:68%}.health-marker.rear-bumper{left:95%;top:51%}.health-marker.front-wheel{left:49%;top:78%}.health-marker.rear-wheel{left:89%;top:64%}
.health-marker-layer[data-health-side="right"] .health-marker.hood{left:auto;right:27%}.health-marker-layer[data-health-side="right"] .health-marker.roof{left:auto;right:58%}.health-marker-layer[data-health-side="right"] .health-marker.front-fender{left:auto;right:45%}.health-marker-layer[data-health-side="right"] .health-marker.front-door{left:auto;right:69%}.health-marker-layer[data-health-side="right"] .health-marker.rear-door{left:auto;right:81%}.health-marker-layer[data-health-side="right"] .health-marker.rear-quarter{left:auto;right:90%}.health-marker-layer[data-health-side="right"] .health-marker.decklid{left:auto;right:94%}.health-marker-layer[data-health-side="right"] .health-marker.rocker{left:auto;right:72%}.health-marker-layer[data-health-side="right"] .health-marker.front-bumper{left:auto;right:10%}.health-marker-layer[data-health-side="right"] .health-marker.rear-bumper{left:auto;right:95%}.health-marker-layer[data-health-side="right"] .health-marker.front-wheel{left:auto;right:49%}.health-marker-layer[data-health-side="right"] .health-marker.rear-wheel{left:auto;right:89%}
.health-map-detail{min-height:74px;margin:0 18px 16px;padding:14px 16px;border-left:4px solid var(--green);border-radius:10px;background:#fff;box-shadow:0 4px 14px rgba(17,50,31,.06)}
.health-map-detail[data-state="watch"]{border-left-color:#d89a13}.health-map-detail[data-state="concern"]{border-left-color:#c43a3a}.health-map-detail[data-state="unread"]{border-left-color:#77847c}
.health-map-detail strong{display:block;font-size:14px}.health-map-detail p{margin:4px 0 0;color:#526057;font-size:12px;line-height:1.45}
.health-map-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:9px 20px;padding:12px 15px;border-top:1px solid #dce7df;background:rgba(255,255,255,.9);color:#617067;font-size:10px;font-weight:750}
.health-map-legend span{display:inline-flex;align-items:center;gap:6px}.health-map-legend i{width:9px;height:9px;border-radius:50%;background:#77847c;box-shadow:0 0 0 2px #fff,0 0 0 3px currentColor}.health-map-legend i.good{background:#13a752;color:#13a752}.health-map-legend i.watch{background:#d89a13;color:#d89a13}.health-map-legend i.concern{background:#c43a3a;color:#c43a3a}
@media(max-width:760px){.health-map-controls{align-items:stretch;flex-direction:column}.health-control-group{width:100%}.health-control-group button{flex:1;min-height:42px;padding-inline:7px}.health-vehicle-stage{width:calc(100% + 18px);margin-left:-9px;margin-right:-9px}.health-marker{width:19px;height:19px;border-width:2px}.health-map-detail{margin-inline:12px}}
@media print{.health-map-controls{display:none}.health-marker{width:16px;height:16px;border-width:2px;box-shadow:0 0 0 1px var(--marker)}.health-map-detail{box-shadow:none}.client-vehicle-map{break-inside:avoid}}
.media-unavailable{display:grid;place-items:center;width:100%;aspect-ratio:4/3;padding:10px;background:#e9efe9;color:#526057;text-align:center;font-size:12px;font-weight:700}
