/* Shared body map: both projections remain visible, including unknown condition. */
.body-inspection-map { padding: 0; border: 0; }
.body-inspection-map .encar-damage-visuals {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; overflow: visible;
}
.body-inspection-map .encar-damage-view,
.body-inspection-map .encar-structure-view:not([hidden]) {
  display: block; position: relative; margin: 0; padding: 12px; min-width: 0;
}
.body-inspection-map .encar-damage-view figcaption { color: var(--text-primary); font-size: 14px; }
.body-inspection-map .encar-damage-view svg {
  width: 100%; max-width: 440px; height: auto; aspect-ratio: 1050 / 1280;
  margin: 0 auto; filter: none;
}
.body-inspection-map .encar-damage-view svg image { pointer-events: none; }
.body-inspection-map.china-damage-map [data-zone],
.body-inspection-map.china-damage-map [data-zone]:not(.is-damaged) {
  fill: transparent; stroke: transparent; stroke-width: 2; transform: none;
  vector-effect: non-scaling-stroke; cursor: pointer; transition: fill .15s ease;
}
.body-inspection-map.china-damage-map [data-zone]:hover,
.body-inspection-map.china-damage-map [data-zone]:focus {
  fill: color-mix(in srgb, var(--primary-color) 15%, transparent);
  stroke: var(--primary-color); transform: none; outline: none;
}
.body-inspection-map.china-damage-map [data-zone].is-damaged {
  fill: color-mix(in srgb, var(--primary-color) 55%, transparent); stroke: var(--primary-color);
}
.body-inspection-map.china-damage-map [data-zone].status-x {
  fill: color-mix(in srgb, var(--danger-color) 50%, transparent); stroke: var(--danger-color);
}
.body-inspection-map.china-damage-map [data-zone].status-p,
.body-inspection-map.china-damage-map [data-zone].status-a {
  fill: color-mix(in srgb, var(--warning-color) 55%, transparent);
  stroke: var(--text-primary); stroke-dasharray: 4 3;
}
.body-inspection-map.china-damage-map [data-zone]:focus-visible { stroke: var(--text-primary); stroke-width: 3; }
.body-inspection-map .encar-damage-legend-item .encar-damage-swatch { background: var(--primary-color); }
.body-inspection-map .status-x .encar-damage-swatch { background: var(--danger-color); }
.body-inspection-map .status-p .encar-damage-swatch,
.body-inspection-map .status-a .encar-damage-swatch { background: var(--warning-color); border: 1px dashed var(--text-primary); }
.body-inspection-marker { pointer-events: none; }
.body-inspection-marker circle { fill: var(--bg-color); stroke: var(--text-primary); stroke-width: 2; }
.body-inspection-marker text { fill: var(--text-primary); font-size: 28px; font-weight: 700; }
.body-inspection-map .encar-damage-tooltip { margin: 8px 0 0; box-shadow: none; line-height: 1.45; }
.body-inspection-summary { font-size: 14px; line-height: 1.5; color: var(--text-secondary); margin: 0 0 12px; }
.body-inspection-orientation { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--text-secondary); }
.body-inspection-map .china-damage-map-parts { list-style: none; padding: 0; margin: 14px 0 0; color: var(--text-primary); }
.body-inspection-map .china-damage-map-parts li { margin-top: 6px; }
.body-inspection-map .china-damage-map-note { font-size: 12px; line-height: 1.5; }
@media (min-width: 769px) {
  .body-inspection-map .encar-damage-visuals { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  .body-inspection-map.china-damage-map [data-zone] { transition: none; }
}
