/* R9 sizing only. Load after the proposal, header and map/layout sheets.
   Public /web CSS baseline was read on 2026-11-08 (see SIZING-R9-NOTES.txt).
   Keep the approved photo / metadata / tariff / status composition. At narrow
   widths the card may grow; titles and tariffs are never fitted to a smaller font. */
.ev-station-reference-surface .sheet-port.connector-row.ev-port-row {
  --ev-port-photo-size: 62px;
  --ev-port-price-width: 70px;
  --ev-port-badge-width: 74px;
  height: auto;
  min-height: 64px;
  padding: 5px 9px;
  grid-template-columns: var(--ev-port-photo-size) minmax(0, 1fr) var(--ev-port-price-width) var(--ev-port-badge-width);
  column-gap: 6px;
  row-gap: 7px;
}
.ev-station-reference-surface .ev-port-row .connector-visual {
  width: 62px;
  height: 54px;
}
.ev-station-reference-surface .ev-port-row .connector-content {
  min-width: 0;
  white-space: normal;
  line-height: 1.2;
}
.ev-station-reference-surface .ev-port-row .connector-content > .connector-primary {
  display: block;
  max-height: none;
  margin: 0;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  white-space: normal;
  overflow-wrap: anywhere;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.2;
}
.ev-station-reference-surface .sheet-port.connector-row.ev-port-row .connector-number {
  font-size: 16px;
  font-weight: 750;
  line-height: inherit;
}
.ev-station-reference-surface .ev-port-row .ev-port-meta {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: anywhere;
}
.ev-station-reference-surface .ev-port-row .connector-description {
  display: block;
  max-height: none;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: anywhere;
}
.ev-station-reference-surface .ev-port-row .connector-price .connector-tariff {
  min-width: 0;
  max-width: 100%;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.05;
  white-space: normal;
  overflow-wrap: anywhere;
}
.ev-station-reference-surface .ev-port-row .connector-tariff-amount {
  font-size: inherit;
  white-space: nowrap;
}
.ev-station-reference-surface .ev-port-row .connector-tariff-unit {
  display: inline;
  font-size: .85em;
  font-weight: 550;
  white-space: nowrap;
}
.ev-station-reference-surface .sheet-port.connector-row.ev-port-row .badge {
  padding: 3px 5px;
  font-size: 9px;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
}
.ev-station-reference-surface .ev-port-row .ev-port-progress .port-soc {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
}
.ev-station-reference-surface .ev-port-row .ev-port-progress .connector-eta {
  font-size: 11px;
  font-weight: 550;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: anywhere;
}
.ev-station-reference-surface .ev-port-row .ev-port-progress .soc-wait {
  font-size: 9px;
  line-height: 1.3;
  white-space: normal;
}
.ev-station-reference-surface .ev-port-row .ev-port-booking .connector-booking-note {
  font-size: 10px;
  line-height: 1.25;
  white-space: normal;
}

/* Existing booking control geometry; colors, glow, disabled state and handlers
   continue to come from bookings.css and app-theme.css. */
.ev-station-reference-surface .booking-entry {
  box-sizing: border-box;
  min-height: 46px;
  padding: 11px 14px;
  font-size: 14px;
  line-height: 1.45;
}

/* Same 62px track, 48px thumb and 6px inset as the deployed swipe control.
   SwipeAction still owns offsets, fill, capture, completion and keyboard rules. */
.ev-station-reference-surface .ev-start-swipe .ev-start-swipe-track {
  --ev-start-swipe-thumb: 48px;
  --ev-start-swipe-inset: 6px;
  --swipe-fill-width: 48px;
  box-sizing: border-box;
  height: 62px;
  min-height: 62px;
  border-radius: 18px;
}
.ev-station-reference-surface .ev-start-swipe .ev-start-swipe-plug,
.ev-station-reference-surface .ev-start-swipe .ev-start-car-inlet {
  top: 6px;
  width: 48px;
  height: 48px;
}
.ev-station-reference-surface .ev-start-swipe .ev-start-swipe-plug {
  left: 6px;
  border-radius: 13px;
}
.ev-station-reference-surface .ev-start-swipe .ev-start-car-inlet { right: 6px; }
.ev-station-reference-surface .ev-start-swipe .ev-start-swipe-copy {
  inset: 4px 62px 8px;
  gap: 2px;
}
.ev-station-reference-surface .ev-start-swipe .ev-start-swipe-title {
  font-size: 16px;
  line-height: 1.15;
}
.ev-station-reference-surface .ev-start-swipe .ev-start-swipe-direction {
  font-size: 11px;
  line-height: 1.25;
}
.ev-station-reference-surface .ev-start-swipe .ev-start-swipe-selected {
  font-size: 14px;
  line-height: 1.3;
}
.ev-station-reference-surface .ev-start-select-prompt {
  box-sizing: border-box;
  height: auto;
  min-height: 62px;
  padding: 12px 18px;
  border-radius: 18px;
  font-size: 16px;
  line-height: 1.3;
}

@media (max-width: 390px) {
  .ev-station-reference-surface .ev-start-swipe .ev-start-swipe-title,
  .ev-station-reference-surface .ev-start-select-prompt { font-size: 14px; }
}
@media (max-width: 380px) {
  .ev-station-reference-surface .sheet-port.connector-row.ev-port-row {
    --ev-port-photo-size: 62px;
    --ev-port-price-width: 58px;
    --ev-port-badge-width: 68px;
    column-gap: 4px;
    row-gap: 6px;
    min-height: 64px;
  }
}
@media (max-width: 350px) {
  .ev-station-reference-surface .sheet-port.connector-row.ev-port-row .badge {
    padding: 2px 4px;
    line-height: 1.05;
  }
}
@media (min-width: 600px) {
  .ev-station-reference-surface .sheet-port.connector-row.ev-port-row {
    --ev-port-photo-size: 62px;
    --ev-port-price-width: 76px;
    --ev-port-badge-width: 94px;
    column-gap: 10px;
    min-height: 64px;
  }
}
