:root {
  --canvas: #fff;
  --surface: #f7f8fa;
  --surface-soft: #f1f3f5;
  --ink-deep: #0a1317;
  --ink: #1c252b;
  --charcoal: #394047;
  --slate: #5e6670;
  --steel: #7c848d;
  --stone: #a4a9af;
  --hairline: #d8dde3;
  --hairline-soft: #e9edf2;
  --primary: #0064e0;
  --primary-deep: #0143b5;
  --success: #0f8f55;
  --warning: #f7b928;
  --critical: #d92d20;
  --attention: #b25e09;
  --radius-lg: 8px;
  --radius-xl: 16px;
  --radius-xxl: 24px;
  --radius-xxxl: 32px;
  --radius-full: 100px;
  --container: 1220px;
}

body {
  margin: 0;
  font-family: "Optimistic Display", Montserrat, Helvetica, Arial, "Noto Sans", sans-serif;
  color: var(--ink-deep);
  background: var(--canvas);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}
.mono { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.page { min-height: 100vh; background: var(--canvas); }
.container { width: min(var(--container), calc(100% - 64px)); margin: 0 auto; }

.promo {
  background: var(--ink-deep);
  color: var(--canvas);
  padding: 12px 24px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline-soft);
}
.topbar-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}
.nav-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.nav-pills a, .ghost-button, .primary-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 18px;
  white-space: nowrap;
}
.nav-pills a {
  background: var(--canvas);
  color: var(--ink);
  border: 1px solid var(--hairline);
}
.nav-pills a.is-active {
  color: var(--canvas);
  background: var(--ink-deep);
  border-color: var(--ink-deep);
}
.ghost-button { border: 2px solid rgba(10,19,23,.12); }
.primary-button {
  border: 0;
  color: var(--canvas);
  background: var(--ink-deep);
}

.hero {
  padding: 48px 0 64px;
  background:
    linear-gradient(180deg, #fff 0%, #f6f8fb 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(360px, .86fr);
  gap: 32px;
  align-items: stretch;
}
.hero-media {
  min-width: 0;
}
.hero-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-xxxl);
  overflow: hidden;
  background: var(--surface-soft);
  position: relative;
  border: 1px solid var(--hairline-soft);
}
.photo-viewer-trigger {
  border: 0;
  padding: 0;
  cursor: zoom-in;
  appearance: none;
  font: inherit;
  color: inherit;
  text-align: inherit;
}
.hero-photo > .photo-viewer-trigger {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--surface-soft);
}
.hero-photo-fallback {
  height: 100%;
  min-height: 520px;
  display: grid;
  place-items: center;
  color: var(--steel);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 500;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 0;
}
.eyebrow {
  color: var(--slate);
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 12px;
}
h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.16;
  font-weight: 500;
  font-feature-settings: "ss01", "ss02";
  letter-spacing: 0;
}
.lead {
  margin: 18px 0 0;
  color: var(--charcoal);
  font-size: 18px;
  line-height: 1.44;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.identity {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}
.identity-item {
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-xl);
  background: var(--canvas);
  padding: 16px;
  min-width: 0;
}
.label {
  display: block;
  color: var(--steel);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 5px;
}
.value {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.section {
  padding: 64px 0;
  border-top: 1px solid var(--hairline-soft);
}
.section.soft { background: var(--surface); }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
}
h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.28;
  font-weight: 500;
  font-feature-settings: "ss01", "ss02";
}
.section-note {
  color: var(--slate);
  max-width: 520px;
  margin: 8px 0 0;
  font-size: 15px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.summary-card, .info-card, .event-card, .tile {
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-xl);
  background: var(--canvas);
  padding: 24px;
}
.summary-card {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: space-between;
  padding: 18px;
}
.status-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(15,143,85,.12);
}
.tone-warn .status-dot {
  background: var(--warning);
  box-shadow: 0 0 0 6px rgba(247,185,40,.2);
}
.tone-critical .status-dot {
  background: var(--critical);
  box-shadow: 0 0 0 6px rgba(217,45,32,.12);
}
.summary-card strong {
  font-size: 21px;
  line-height: 1.2;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.summary-card span { color: var(--slate); font-size: 14px; }
.summary-card .summary-detail {
  color: var(--steel);
  font-size: 12px;
  line-height: 1.33;
  margin: 0;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-xxl);
  overflow: hidden;
  background: var(--canvas);
}
.spec-item {
  min-height: 96px;
  padding: 20px;
  border-right: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
  min-width: 0;
}
.spec-item:nth-child(4n) { border-right: 0; }
.spec-item .label { margin-bottom: 5px; }
.spec-item .value {
  display: block;
  font-size: 16px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.metric {
  border-radius: var(--radius-xxl);
  background: var(--ink-deep);
  color: var(--canvas);
  padding: 28px;
}
.metric .label { color: rgba(255,255,255,.66); }
.metric strong { display: block; font-size: 30px; line-height: 1.2; font-weight: 500; }
.metric.warning { background: #fff4d2; color: var(--ink-deep); border: 1px solid #f5d777; }
.metric.warning .label { color: var(--attention); }

.market-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}
.market-mini {
  position: relative;
  min-height: 110px;
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-xl);
  background: var(--canvas);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(10,19,23,.03);
}
.market-mini.accent {
  background: #dbffd1;
  border-color: #c2efb6;
  box-shadow: none;
}
.market-mini span {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
}
.market-mini strong {
  display: block;
  color: var(--ink-deep);
  font-size: 25px;
  line-height: 1.15;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.market-mini small {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.25;
  opacity: .78;
}

.mileage-chart {
  position: relative;
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-xxl);
  background:
    linear-gradient(180deg, rgba(0,100,224,.06), rgba(0,100,224,0) 58%),
    var(--canvas);
  padding: 22px;
  margin-bottom: 16px;
  overflow: hidden;
}
.mileage-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.mileage-chart-head h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.33;
}
.mileage-chart-body {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}
.mileage-svg {
  width: 100%;
  height: 260px;
  display: block;
}
.mileage-y-axis {
  position: relative;
  height: 260px;
  color: var(--steel);
  font-size: 12px;
  font-weight: 700;
}
.mileage-y-tick {
  position: absolute;
  right: 0;
  transform: translateY(-50%);
  white-space: nowrap;
}
.mileage-plot {
  position: relative;
  padding-bottom: 48px;
}
.mileage-plot-points {
  position: absolute;
  inset: 0 0 48px 0;
  pointer-events: none;
}
.mileage-grid-line {
  stroke: rgba(10, 19, 23, .08);
  stroke-width: .6;
  vector-effect: non-scaling-stroke;
}
.mileage-area { fill: rgba(0, 100, 224, .1); }
.mileage-line {
  fill: none;
  stroke: var(--primary);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.mileage-projected-line {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 4 5;
  opacity: .55;
  vector-effect: non-scaling-stroke;
}
.mileage-chart-point {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--canvas);
  box-shadow: 0 0 0 1px rgba(0,100,224,.18);
  transform: translate(-50%, -50%);
  pointer-events: auto;
  cursor: help;
}
.mileage-chart-point.warning { background: var(--warning); }
.mileage-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  min-width: 150px;
  transform: translateX(-50%);
  border-radius: 12px;
  background: var(--ink-deep);
  color: var(--canvas);
  padding: 9px 10px;
  font-size: 12px;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
  white-space: normal;
  z-index: 5;
}
.mileage-tooltip strong {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}
.mileage-tooltip-owner {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.76);
}
.mileage-chart-point:hover .mileage-tooltip,
.mileage-chart-point:focus-visible .mileage-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}
.mileage-x-axis {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28px;
  color: var(--slate);
  color: var(--slate);
}
.mileage-point-label {
  position: absolute;
  top: 4px;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.mileage-point-label.start { transform: translateX(0); }
.mileage-point-label.end { transform: translateX(-100%); }
.mileage-details {
  border: 0;
  border-radius: var(--radius-xl);
  background: var(--canvas);
  padding: 0;
  overflow: hidden;
  position: relative;
}
.mileage-toggle { position: absolute; opacity: 0; pointer-events: none; }
.mileage-details-body {
  position: relative;
  max-height: 210px;
  overflow: hidden;
  padding: 0 18px;
}
.mileage-toggle:checked ~ .mileage-details .mileage-details-body {
  max-height: none;
  overflow: visible;
  padding-bottom: 8px;
}
.mileage-details-body.is-open {
  max-height: none;
  overflow: visible;
  padding-bottom: 8px;
}
.mileage-expand {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 44px;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(255,255,255,0), var(--canvas) 70%, var(--canvas));
}
.mileage-expand::after {
  content: attr(data-closed);
  border-radius: var(--radius-full);
  background: var(--ink-deep);
  color: var(--canvas);
  padding: 9px 18px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.mileage-toggle:checked ~ .mileage-details .mileage-expand {
  position: static;
  min-height: 54px;
  padding: 0 18px 10px;
  background: transparent;
}
.mileage-toggle:checked ~ .mileage-details .mileage-expand::after { content: attr(data-open); }

.ownership-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  z-index: 3;
}
.ownership-track {
  position: relative;
  height: 30px;
  overflow: visible;
}
.ownership-segment {
  position: absolute;
  top: 3px;
  height: 24px;
  min-width: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border: 0;
  border-radius: 0;
  background: rgba(0,100,224,.12);
  box-shadow: inset 0 0 0 1px rgba(0,100,224,.16);
  color: var(--primary-deep);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.ownership-segment:nth-child(odd) {
  background: rgba(0,100,224,.14);
  box-shadow: inset 0 0 0 1px rgba(0,100,224,.18);
  color: var(--primary-deep);
}
.ownership-segment:nth-child(even) {
  background: rgba(0,154,190,.14);
  box-shadow: inset 0 0 0 1px rgba(0,154,190,.18);
  color: #086b84;
}
.ownership-segment.is-first { border-radius: var(--radius-full) 0 0 var(--radius-full); }
.ownership-segment.is-last { border-radius: 0 var(--radius-full) var(--radius-full) 0; }
.ownership-segment.is-first.is-last { border-radius: var(--radius-full); }
.ownership-segment.is-compressed {
  min-width: 0;
  padding: 0 4px;
  overflow: visible;
}
.ownership-segment.is-unknown {
  background: rgba(247,185,40,.18);
  box-shadow: inset 0 0 0 1px rgba(183,121,31,.24);
  color: #8a5b12;
}
.ownership-segment:hover,
.ownership-segment.is-active,
.ownership-segment:focus-visible {
  background: var(--primary);
  color: var(--canvas);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45), 0 8px 20px rgba(0,100,224,.16);
  transform: translateY(-1px);
  outline: none;
}
.ownership-popover {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  width: min(280px, calc(100vw - 48px));
  border-radius: 16px;
  background: var(--ink-deep);
  color: var(--canvas);
  padding: 12px 14px;
  box-shadow: 0 12px 28px rgba(10,19,23,.22);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(6px);
  transition: opacity .16s ease, transform .16s ease;
  z-index: 6;
}
.ownership-popover.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.ownership-popover::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 10px;
  height: 10px;
  background: var(--ink-deep);
  transform: translate(-50%, -5px) rotate(45deg);
}
.ownership-popover-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
}
.ownership-popover-type {
  color: rgba(255,255,255,.68);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.ownership-popover-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 7px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.72);
  font-size: 12px;
  line-height: 1.35;
}
.ownership-popover-row + .ownership-popover-row { margin-top: 7px; }
.ownership-popover-row strong {
  color: var(--canvas);
  font-size: 12px;
  text-align: right;
}

.timeline {
  display: grid;
  gap: 0;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 120px 18px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 0;
}
.timeline-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 144px;
  top: 43px;
  bottom: -18px;
  width: 2px;
  border-radius: var(--radius-full);
  background: rgba(0,100,224,.58);
}
.timeline-date { color: var(--slate); font-size: 14px; font-weight: 700; }
.timeline-mark {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: 14px;
  height: 14px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--canvas);
  box-shadow: 0 0 0 6px rgba(0,100,224,.12);
}
.timeline-item.warning .timeline-mark {
  background: var(--warning);
  box-shadow: 0 0 0 6px rgba(247,185,40,.22);
}
.timeline-body strong { display: block; font-size: 18px; }
.timeline-body p { margin: 4px 0 0; color: var(--slate); font-size: 14px; }
.owner-inline {
  display: inline-flex;
  width: fit-content;
  margin-top: 6px;
  border-radius: var(--radius-full);
  background: var(--surface-soft);
  color: var(--charcoal);
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 700;
}
.ownership-section {
  background: var(--surface);
}
.ownership-count {
  flex: 0 0 auto;
}
.ownership-panel {
  border-radius: var(--radius-xxxl);
  background: var(--canvas);
  padding: 24px 28px;
}
.ownership-alert {
  margin: 0 0 10px;
  border: 1px solid rgba(247,185,40,.35);
  border-radius: var(--radius-xl);
  background: rgba(247,185,40,.16);
  color: var(--ink-deep);
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.45;
}
.ownership-list {
  background: transparent;
}
.ownership-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px 0;
}
.ownership-item + .ownership-item {
  border-top: 1px solid rgba(10,19,23,.1);
}
.ownership-list .ownership-item:first-child {
  padding-top: 12px;
}
.ownership-list .ownership-item:last-child {
  padding-bottom: 8px;
}
.ownership-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink-deep);
  color: var(--canvas);
  padding: 0;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
}
.ownership-period {
  margin: 0 0 8px;
  color: var(--ink-deep);
  font-size: 22px;
  line-height: 1.28;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.ownership-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  color: var(--ink-deep);
}
.ownership-meta-value {
  min-width: 0;
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.ownership-meta-value + .ownership-meta-value::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 13px 3px;
  border-radius: 50%;
  background: var(--stone);
}
.ownership-meta-value.company {
  color: var(--attention);
  font-weight: 700;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.grid-2.section-spaced {
  margin-top: 16px;
}
.event-card h3, .info-card h3, .tile h3 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.33;
  font-weight: 700;
}
.event-card h3.spaced-title,
.info-card h3.spaced-title,
.tile h3.spaced-title {
  margin-top: 14px;
}
.info-card.section-spaced {
  margin-top: 16px;
}
.inline-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.kv {
  display: grid;
  grid-template-columns: minmax(110px, .42fr) minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--hairline-soft);
  font-size: 14px;
}
.kv:first-of-type { border-top: 0; }
.kv span:first-child { color: var(--steel); }
.kv span:last-child { color: var(--ink); overflow-wrap: anywhere; }

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: var(--radius-full);
  padding: 5px 11px;
  font-size: 12px;
  line-height: 1.33;
  font-weight: 700;
  background: #e2e8ee;
  color: var(--ink);
}
.badge.ok { background: #0b7f4a; color: var(--canvas); }
.badge.warn { background: #e3a30f; color: var(--ink-deep); }
.badge.critical { background: #b42318; color: var(--canvas); }
.card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 16px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: var(--ink-deep);
  color: var(--canvas);
  font-size: 14px;
  font-weight: 700;
}

.damage-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: stretch;
}
.damage-visual-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}
.damage-info-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.damage-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.other-dtp-card {
  margin: 16px 0 0;
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-xl);
  background: var(--canvas);
  overflow: hidden;
}
.other-dtp-card[open] {
  background: var(--surface-soft);
}
.other-dtp-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}
.other-dtp-summary::-webkit-details-marker { display: none; }
.other-dtp-summary-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.other-dtp-summary-text strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
}
.other-dtp-summary-text span {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 400;
}
.other-dtp-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--slate);
  border-bottom: 2px solid var(--slate);
  transform: rotate(45deg);
  transition: transform .18s ease;
  flex: 0 0 auto;
}
.other-dtp-card[open] .other-dtp-chevron {
  transform: rotate(225deg);
}
.other-dtp-body {
  display: grid;
  gap: 8px;
  padding: 0 16px 16px;
}
.other-dtp-row {
  display: grid;
  grid-template-columns: minmax(84px, .7fr) minmax(110px, .9fr) minmax(160px, 1.4fr);
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--hairline-soft);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}
.other-dtp-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.other-dtp-label {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
}
.restriction-history {
  margin-top: 12px;
  border-top: 1px solid var(--hairline-soft);
  padding-top: 12px;
}
.restriction-history summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.restriction-history summary::-webkit-details-marker { display: none; }
.restriction-history summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--slate);
  border-bottom: 2px solid var(--slate);
  transform: rotate(45deg);
  transition: transform .18s ease;
  flex: 0 0 auto;
}
.restriction-history[open] summary::after {
  transform: rotate(225deg);
}
.restriction-history-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}
.restriction-history-item {
  display: grid;
  gap: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--hairline-soft);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 400;
}
.restriction-history-item:first-child {
  border-top: 0;
  padding-top: 0;
}
.restriction-history-title {
  display: block;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 500;
}
.restriction-history-item span {
  color: var(--ink);
  overflow-wrap: anywhere;
}
.service-list {
  margin-top: 0;
}
.service-item {
  border-top: 0;
  padding: 0;
}
.service-item:last-child {
  padding-bottom: 0;
}
.service-item-main {
  display: grid;
  grid-template-columns: minmax(110px, .42fr) minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 10px 0;
  border-top: 1px solid var(--hairline-soft);
  font-size: 14px;
}
.service-list .service-item:first-child .service-item-main {
  border-top: 0;
}
.service-item-main.has-toggle {
  position: relative;
  padding-right: 22px;
  cursor: pointer;
  list-style: none;
}
.service-item-main.has-toggle::-webkit-details-marker { display: none; }
.service-date {
  color: var(--steel);
  line-height: 1.4;
}
.service-info {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  min-width: 0;
}
.service-title {
  display: inline;
  color: var(--ink);
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.service-meta {
  display: inline;
  margin-top: 0;
  color: var(--slate);
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.service-details {
  margin: 0;
}
.service-toggle-arrow {
  display: block;
  position: absolute;
  top: 15px;
  right: 2px;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--slate);
  border-bottom: 2px solid var(--slate);
  transform: rotate(45deg);
  transition: transform .18s ease;
}
.service-details[open] .service-toggle-arrow {
  transform: rotate(225deg);
}
.service-detail-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 8px 122px;
  background: #f8f9fb;
  border-radius: var(--radius-xl);
  padding: 10px;
}
.service-detail-group strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-deep);
  font-size: 12px;
  line-height: 1.25;
}
.service-detail-group ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-detail-group li {
  display: block;
  list-style: none;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.recall-card {
  margin-top: 16px;
}
.recall-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.recall-header h3 {
  margin-top: 0;
}
.recall-header .section-note {
  max-width: 760px;
}
.recall-list {
  border-top: 1px solid var(--hairline-soft);
}
.recall-item {
  display: grid;
  grid-template-columns: minmax(96px, .28fr) minmax(0, 1fr) minmax(88px, auto);
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline-soft);
}
.recall-date {
  color: var(--steel);
  font-size: 14px;
  line-height: 1.35;
}
.recall-main {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.recall-number {
  color: var(--ink-deep);
  font-size: 15px;
  line-height: 1.3;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.recall-meta {
  color: var(--slate);
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.recall-source {
  justify-self: end;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.recall-source:hover {
  text-decoration: underline;
}
.auction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.auction-lot {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-xl);
  padding: 12px;
  background: var(--canvas);
}
.auction-thumb {
  width: 112px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  object-fit: cover;
  background: var(--surface);
}
.auction-thumb-placeholder {
  border: 1px dashed var(--hairline);
}
.auction-main {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
}
.auction-topline {
  display: flex;
  align-items: center;
  gap: 8px;
}
.auction-topline strong {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: var(--radius-full);
  padding: 5px 10px;
  background: var(--warning);
  color: var(--ink-deep);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  white-space: nowrap;
}
.auction-topline span {
  color: var(--steel);
  font-size: 12px;
  line-height: 1.25;
}
.auction-main h4 {
  display: -webkit-box;
  margin: 0;
  color: var(--ink-deep);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.auction-main p {
  margin: 0;
  color: var(--slate);
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.auction-description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.auction-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  color: var(--steel);
  font-size: 12px;
  line-height: 1.35;
}
.auction-meta span {
  overflow-wrap: anywhere;
}
.auction-lot .card-action {
  grid-column: 2;
  justify-self: start;
  margin-top: -2px;
}
.auction-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 14px;
}
.auction-more-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  margin-inline: auto;
  border-radius: var(--radius-full);
  padding: 10px 18px;
  background: var(--ink-deep);
  color: var(--canvas);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.auction-more > .auction-grid {
  order: 1;
  width: 100%;
  margin-bottom: 14px;
}
.auction-more-toggle {
  order: 2;
}
.auction-more-toggle::-webkit-details-marker {
  display: none;
}
.auction-more-open {
  display: none;
}
.auction-more[open] .auction-more-closed {
  display: none;
}
.auction-more[open] .auction-more-open {
  display: inline;
}
.damage-tab {
  min-height: 40px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-full);
  padding: 9px 16px;
  background: var(--canvas);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  line-height: 1.43;
  font-weight: 700;
  cursor: pointer;
}
.damage-tab.is-active {
  background: var(--ink-deep);
  border-color: var(--ink-deep);
  color: var(--canvas);
}
.damage-panel { display: none; }
.damage-panel.is-active { display: block; }
.damage-map {
  position: relative;
  border-radius: var(--radius-xxl);
  background: var(--surface-soft);
  border: 1px solid var(--hairline-soft);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.damage-map-frame {
  position: relative;
  display: inline-block;
  width: min(100%, 720px);
  max-width: 100%;
}
.damage-map img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
}
.damage-point {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 3px solid var(--canvas);
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(0,100,224,.16);
}
.damage-point-red {
  background: var(--critical);
  box-shadow: 0 0 0 4px rgba(217,45,32,.16);
}
.damage-point-orange {
  background: var(--warning);
  box-shadow: 0 0 0 4px rgba(247,185,40,.24);
}
.damage-point-dot {
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(0,100,224,.16);
}
.damage-map-frame .damage-point {
  width: 24px;
  height: 24px;
  border-width: 4px;
  box-shadow: 0 0 0 5px rgba(0,100,224,.16);
}
.damage-map-frame .damage-point-red {
  box-shadow: 0 0 0 5px rgba(217,45,32,.16);
}
.damage-map-frame .damage-point-orange {
  box-shadow: 0 0 0 5px rgba(247,185,40,.24);
}
.damage-parts {
  width: 100%;
  margin: 12px auto 0;
  padding: 14px;
  border-radius: var(--radius-xxl);
  background: var(--surface-soft);
  border: 1px solid var(--hairline-soft);
  flex: 1;
  min-height: 118px;
}
.damage-parts-title {
  margin: 0 0 10px;
  padding-left: 0;
  color: var(--slate);
  font-size: 12px;
  line-height: 1.33;
  font-weight: 700;
}
.damage-parts-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
  margin: 0;
  padding-left: 0;
}
.damage-part {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: var(--canvas);
  color: var(--ink);
  border: 1px solid var(--hairline-soft);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  cursor: pointer;
}
.damage-part:focus-visible {
  outline: 2px solid rgba(0,100,224,.28);
  outline-offset: 2px;
}
.damage-part-marker {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,100,224,.14);
}
.damage-part-marker-red {
  background: var(--critical);
  box-shadow: 0 0 0 3px rgba(217,45,32,.14);
}
.damage-part-marker-orange {
  background: var(--warning);
  box-shadow: 0 0 0 3px rgba(247,185,40,.22);
}
.damage-part-marker-dot {
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,100,224,.14);
}
.damage-details {
  margin-top: 16px;
}
.damage-extra {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline-soft);
}
.damage-extra-title {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
}
.damage-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 0;
}
.damage-mini-stat {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}
.damage-mini-stat strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.1;
  font-weight: 600;
}
.damage-mini-stat span {
  display: block;
  margin-top: 4px;
  color: var(--steel);
  font-size: 11px;
  line-height: 1.25;
}
.damage-participants {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.damage-participant {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-xl);
  background: var(--surface-soft);
}
.damage-participant-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
}
.damage-participant .kv {
  padding: 7px 0;
  font-size: 13px;
}
.damage-detail-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  width: fit-content;
  margin: auto auto 0;
  padding: 7px 12px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-full);
  background: var(--canvas);
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 700;
  cursor: pointer;
}
.damage-detail-button:hover,
.damage-detail-button:focus-visible {
  border-color: var(--ink-deep);
  outline: none;
}
.damage-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
  padding: 22px;
  background: rgba(10,19,23,.72);
}
.damage-modal.is-open { display: grid; }
.damage-modal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1080px, 100%);
  margin: 0 auto;
  color: var(--canvas);
}
.damage-modal-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
}
.damage-modal-close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.1);
  color: var(--canvas);
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.damage-modal-card {
  width: min(1080px, 100%);
  min-height: 0;
  max-height: calc(100vh - 96px);
  align-self: start;
  margin: 0 auto;
  overflow: auto;
  border-radius: var(--radius-xxl);
  background: var(--canvas);
  padding: 22px;
}
.damage-modal-layout {
  display: grid;
  grid-template-columns: minmax(280px, .62fr) minmax(0, 1.38fr);
  gap: 18px;
  align-items: start;
}
.damage-modal-map {
  border: 0;
  border-radius: var(--radius-xxl);
  background: transparent;
  padding: 12px;
  min-height: 220px;
  display: grid;
  place-items: center;
  margin-top: 10px;
}
.damage-modal-map .damage-map-frame {
  width: min(100%, 560px);
}
.damage-modal-map .damage-point {
  width: 24px;
  height: 24px;
  border-width: 4px;
}
.damage-modal-side {
  min-width: 0;
}
.damage-modal-side h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.28;
}
.damage-part-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 6px;
  margin-top: 8px;
}
.damage-part-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  justify-self: start;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  padding: 7px 8px;
  border: 0;
  border-radius: var(--radius-lg);
  background: transparent;
  cursor: pointer;
}
.damage-part-row:focus-visible {
  outline: 2px solid rgba(0,100,224,.28);
  outline-offset: 2px;
}
.damage-part-row .damage-point {
  position: static;
  transform: none;
  width: 13px;
  height: 13px;
  border-width: 2px;
}
.damage-part-row strong {
  display: block;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.25;
}
.damage-severity-anchor {
  display: inline-block;
  min-width: 0;
}
.damage-severity-tooltip {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 90;
  min-width: 132px;
  max-width: min(240px, calc(100vw - 24px));
  transform: translate(-50%, -100%);
  border-radius: 12px;
  background: var(--ink-deep);
  color: var(--canvas);
  padding: 9px 10px;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}
.damage-severity-tooltip.is-visible {
  opacity: 1;
  transform: translate(-50%, calc(-100% - 2px));
}
.empty {
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-xl);
  padding: 28px;
  color: var(--slate);
  background: var(--canvas);
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.photo-strip .photo-viewer-trigger {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}
.photo-strip .photo-viewer-trigger:nth-child(n+7) {
  display: none;
}
.photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--surface-soft);
}
.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
  padding: 18px;
  background: rgba(10,19,23,.88);
  color: var(--canvas);
}
.photo-lightbox.is-open { display: grid; }
.photo-lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.photo-lightbox-count {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,.78);
}
.photo-lightbox-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.photo-lightbox-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: var(--canvas);
  padding: 0;
  cursor: pointer;
}
.photo-lightbox-button svg {
  display: block;
  width: 20px;
  height: 20px;
  stroke: currentColor;
}
.photo-lightbox-stage {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius-xxl);
  background: rgba(255,255,255,.06);
  touch-action: none;
}
.photo-lightbox-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center;
  transition: transform .16s ease;
  user-select: none;
}
.photo-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 48px;
  height: 64px;
  border: 0;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.14);
  color: var(--canvas);
  padding: 0;
  cursor: pointer;
}
.photo-lightbox-nav svg {
  display: block;
  width: 24px;
  height: 24px;
  stroke: currentColor;
}
.photo-lightbox-prev { left: 16px; }
.photo-lightbox-next { right: 16px; }
.photo-lightbox-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.photo-lightbox-thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  background: rgba(255,255,255,.12);
  cursor: pointer;
}
.photo-lightbox-thumb.is-active { border-color: var(--canvas); }
.photo-lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.report-footer {
  border-top: 1px solid var(--hairline-soft);
  padding: 40px 0;
  color: var(--steel);
  font-size: 12px;
}

@media (max-width: 1080px) {
  .hero-grid, .damage-wrap { grid-template-columns: 1fr; }
  .hero-photo-fallback { min-height: 430px; }
  .summary-grid, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-item:nth-child(4n) { border-right: 1px solid var(--hairline-soft); }
  .spec-item:nth-child(2n) { border-right: 0; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 20px, var(--container)); }
  .topbar-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 14px 0;
    gap: 12px;
  }
  .brand {
    grid-column: 1;
    grid-row: 1;
  }
  .topbar-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .nav-pills { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; overflow-x: auto; width: 100%; flex-wrap: nowrap; padding-bottom: 2px; }
  .hero { padding: 28px 0 16px; }
  .hero-photo { border-radius: var(--radius-xxl); }
  .hero-photo-fallback { min-height: 300px; border-radius: var(--radius-xxl); }
  h1 { font-size: 36px; }
  .identity, .grid-2, .grid-3, .metrics { grid-template-columns: 1fr; }
  .market-strip {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .market-mini {
    min-height: 96px;
    padding: 14px;
  }
  .market-mini strong {
    font-size: 21px;
  }
  .damage-map-frame .damage-point {
    width: 18px;
    height: 18px;
    border-width: 3px;
    box-shadow: 0 0 0 4px rgba(0,100,224,.16);
  }
  .damage-map-frame .damage-point-red {
    box-shadow: 0 0 0 4px rgba(217,45,32,.16);
  }
  .damage-map-frame .damage-point-orange {
    box-shadow: 0 0 0 4px rgba(247,185,40,.24);
  }
  .damage-mini-grid { grid-template-columns: 1fr; }
  .damage-modal {
    padding: 10px;
    gap: 10px;
  }
  .damage-modal-card {
    border-radius: var(--radius-xl);
    padding: 12px;
  }
  .damage-modal-layout { grid-template-columns: 1fr; }
  .damage-modal-map {
    min-height: 220px;
    padding: 10px;
  }
  .damage-modal-bar { gap: 10px; }
  .damage-modal-title { font-size: 13px; }
  .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 14px; }
  .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .summary-card {
    min-height: 0;
    padding: 10px;
    border-radius: 12px;
    gap: 4px;
    justify-content: start;
  }
  .status-line { gap: 8px; margin-bottom: 2px; }
  .summary-card strong { font-size: 16px; }
  .summary-card span { font-size: 12px; }
  .summary-card .summary-detail {
    font-size: 11px;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .status-dot { width: 9px; height: 9px; box-shadow: 0 0 0 4px rgba(15,143,85,.12); }
  .tone-warn .status-dot { box-shadow: 0 0 0 4px rgba(247,185,40,.2); }
  .tone-critical .status-dot { box-shadow: 0 0 0 4px rgba(217,45,32,.12); }
  .spec-item {
    min-height: 58px;
    padding: 10px 11px;
  }
  .spec-item:nth-child(4n) { border-right: 1px solid var(--hairline-soft); }
  .spec-item:nth-child(2n) { border-right: 0; }
  .spec-item .label { font-size: 11px; margin-bottom: 2px; }
  .spec-item .value { font-size: 12px; line-height: 1.2; }
  .section { padding: 16px 0; }
  .section-header { display: block; }
  .other-dtp-summary {
    align-items: flex-start;
    gap: 10px;
    padding: 13px 14px;
  }
  .other-dtp-summary-text strong {
    font-size: 14px;
    line-height: 1.35;
  }
  .other-dtp-body { padding: 0 14px 14px; }
  .other-dtp-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 0;
  }
  .recall-header {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
  }
  .recall-header .badge {
    justify-self: start;
  }
  .recall-item {
    grid-template-columns: 1fr;
    gap: 7px;
    align-items: start;
    padding: 13px 0;
  }
  .recall-source {
    justify-self: start;
  }
  .auction-grid {
    grid-template-columns: 1fr;
  }
  .auction-lot {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 11px;
    padding: 10px;
  }
  .auction-thumb {
    width: 84px;
  }
  .auction-lot .card-action {
    grid-column: 2;
  }
  .auction-main h4 {
    -webkit-line-clamp: 2;
  }
  .auction-description {
    -webkit-line-clamp: 1;
  }
  .service-detail-panel {
    grid-template-columns: 1fr;
    margin-left: 0;
  }
  .ownership-count { margin-top: 12px; }
  .ownership-panel {
    border-radius: 20px;
    padding: 18px;
  }
  .ownership-alert {
    margin-bottom: 6px;
    padding: 13px 14px;
    font-size: 14px;
  }
  .ownership-item {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 18px 0;
  }
  .ownership-list .ownership-item:first-child { padding-top: 12px; }
  .ownership-index {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  .ownership-period { font-size: 20px; }
  .ownership-meta {
    display: block;
  }
  .ownership-meta-value {
    display: inline;
    font-size: 14px;
  }
  .ownership-meta-value + .ownership-meta-value::before {
    margin: 0 9px 3px;
  }
  .timeline-item {
    grid-template-columns: 16px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: baseline;
    padding: 12px 0;
  }
  .timeline-item:not(:last-child)::after {
    display: block;
    left: 7px;
    top: 33px;
    bottom: -20px;
    width: 2px;
  }
  .timeline-date {
    grid-column: 3;
    grid-row: 1;
    text-align: right;
    font-size: 12px;
  }
  .timeline-body {
    display: contents;
  }
  .timeline-body strong {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }
  .timeline-body p {
    grid-column: 2 / -1;
    grid-row: 2;
    margin-top: 6px;
    padding-right: 0;
  }
  .owner-inline {
    grid-column: 2 / -1;
    grid-row: 3;
    margin-top: 4px;
    font-size: 11px;
  }
  .timeline-mark {
    display: block;
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    width: 10px;
    height: 10px;
    margin-top: 4px;
    border-width: 2px;
    box-shadow: 0 0 0 4px rgba(0,100,224,.12);
  }
  .photo-strip {
    grid-template-columns: repeat(6, minmax(96px, 1fr));
    overflow-x: auto;
    padding-bottom: 2px;
    margin-top: 12px;
  }
  .photo-lightbox { padding: 10px; gap: 10px; }
  .photo-lightbox-stage { border-radius: var(--radius-xl); }
  .photo-lightbox-nav { width: 40px; height: 56px; font-size: 30px; }
  .photo-lightbox-prev { left: 8px; }
  .photo-lightbox-next { right: 8px; }
  .photo-lightbox-thumb { flex-basis: 52px; width: 52px; height: 52px; }
  .metric strong { font-size: 24px; }
  .mileage-chart { padding: 14px; border-radius: 16px; }
  .mileage-chart-body { grid-template-columns: 30px minmax(0, 1fr); gap: 6px; }
  .mileage-svg { height: 180px; }
  .mileage-y-axis { height: 180px; font-size: 10px; }
  .mileage-chart-head { align-items: flex-start; margin-bottom: 4px; }
  .mileage-chart-head h3 { font-size: 15px; }
  .mileage-plot { padding-bottom: 50px; }
  .mileage-plot-points { inset: 0 0 50px 0; }
  .mileage-point-label {
    font-size: 10px;
    transform: translateX(-50%);
    transform-origin: top center;
  }
  .mileage-point-label.start { transform: translateX(0); transform-origin: top left; }
  .mileage-point-label.end { transform: translateX(-100%); transform-origin: top right; }
  .mileage-details-body { max-height: 220px; padding: 0 12px; }
  .mileage-expand { min-height: 104px; padding-top: 52px; }
  .mileage-toggle:checked ~ .mileage-details .mileage-details-body { padding-bottom: 6px; }
  .mileage-details-body.is-open { padding-bottom: 6px; }
  .mileage-toggle:checked ~ .mileage-details .mileage-expand { min-height: 50px; padding: 0 12px 8px; }
  .ownership-strip { bottom: 34px; }
  .ownership-track { height: 26px; }
  .ownership-segment { min-width: 24px; height: 22px; padding: 0 6px; font-size: 10px; }
  .ownership-segment.is-compressed { min-width: 0; padding: 0 3px; font-size: 9px; }
  .ownership-popover { width: min(250px, calc(100vw - 34px)); padding: 10px 12px; }
  .vin-id-row span:first-child {
    min-width: 0;
    font-size: 12px;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 420px) {
  .container { width: min(100% - 14px, var(--container)); }
  .summary-grid { gap: 6px; }
  .summary-card { padding: 9px; }
  .summary-card strong { font-size: 15px; }
  .summary-card .summary-detail { display: none; }
  .spec-item { min-height: 54px; padding: 9px; }
  .spec-item .value { font-size: 11.5px; }
}
