/* SOT Rental Public Profile — full design system.
 * High-fidelity rebuild matching docs/design-handoff-rental/.
 * All values pull from transport-tokens.css. Square corners by brand rule. */

@import url("transport-tokens.css");
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter+Tight:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap");

/* ── Scope root ─────────────────────────────────────────── */
/*
 * Constrain to the same shell width the theme header uses
 * (`.stot-shell { max-width: var(--stot-shell-max, 1280px) }`)
 * so the rental profile aligns with the global nav band rather than
 * stretching edge-to-edge. The wrapper `<section class="sot-vertical-section">`
 * the theme dispatch emits has no width of its own — that's why the
 * constraint has to live on `.sot-rmt` directly.
 */
.sot-rmt {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  position: relative;
  max-width: var(--stot-shell-max, 1280px);
  margin-left: auto;
  margin-right: auto;
}

/* On viewports narrower than the shell width, give the inner 48px-gutter
 * sections a tighter pad so content doesn't hug the screen edge. */
@media (max-width: 720px) {
  .sot-rmt-crumb,
  .sot-rmt-header,
  .sot-rmt-main,
  .sot-rmt-section {
    padding-left: 16px;
    padding-right: 16px;
  }
}
.sot-rmt * { box-sizing: border-box; }
.sot-rmt a { color: inherit; text-decoration: none; }
.sot-rmt button { font-family: inherit; }

.sot-rmt .serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.sot-rmt .mono  { font-family: var(--mono); }
.sot-rmt .eyebrow {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600;
}

/* ── Breadcrumb row ─────────────────────────────────────── */
.sot-rmt-crumb {
  padding: 14px 48px;
  font-size: 12px;
  color: var(--ink-3);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sot-rmt-crumb strong { color: var(--ink); }
.sot-rmt-crumb-tools { display: flex; gap: 16px; }
.sot-rmt-crumb-tools span { cursor: pointer; }

/* ── Header ─────────────────────────────────────────────── */
.sot-rmt-header {
  padding: 32px 48px 16px;
}
.sot-rmt-header h1 {
  font-family: var(--serif);
  font-size: 52px;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 10px 0 12px;
  font-weight: 400;
}
.sot-rmt-meta {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--ink-2);
  align-items: center;
  flex-wrap: wrap;
}
.sot-rmt-meta strong { color: var(--ink); font-weight: 600; }
.sot-rmt-meta .dot { color: var(--ink-4); }
.sot-rmt-meta .reviews { color: var(--ink-3); }
.sot-rmt-verified {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--forest);
}
.sot-rmt-verified::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--forest);
  display: inline-block;
}

/* ── Stars ──────────────────────────────────────────────── */
.sot-rmt-stars {
  display: inline-flex;
  gap: 1px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1;
}
.sot-rmt-stars.lg { font-size: 18px; }
.sot-rmt-stars.sm { font-size: 10px; }
.sot-rmt-stars .e { color: var(--ink-4); }

/* ── Gallery grid ───────────────────────────────────────── */
.sot-rmt-gallery-wrap { display: block; width: 100%; padding: 0 48px 16px; box-sizing: border-box; }
.sot-rmt-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 210px 210px;
  gap: 4px;
  margin-top: 16px;
}
.sot-rmt-gallery .tile {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--paper-3);
}
.sot-rmt-gallery .tile.hero { grid-row: span 2; }
/* adaptive layouts — real photos only (2026-08-19) */
.sot-rmt-gallery.n1 { grid-template-columns: 1fr; grid-template-rows: 360px; }
.sot-rmt-gallery.n1 .tile.hero { grid-row: span 1; }
.sot-rmt-gallery.n2 { grid-template-columns: 1fr 1fr; grid-template-rows: 320px; }
.sot-rmt-gallery.n2 .tile.hero { grid-row: span 1; }
.sot-rmt-gallery.n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 210px 210px; }
.sot-rmt-gallery.n4 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 210px 210px; }
.sot-rmt-gallery.n4 .tile:nth-child(4) { grid-column: 2 / span 2; }
.sot-rmt-gallery .tile img,
.sot-rmt-gallery .tile .ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sot-rmt-gallery .ph {
  background: linear-gradient(155deg, #2E7398 0%, #0A4D6E 55%, #063349 100%);
}
.sot-rmt-gallery .ph.t-forest { background: linear-gradient(155deg, #3A8155 0%, #1F5A36 60%, #133A22 100%); }
.sot-rmt-gallery .ph.t-ocean-deep { background: linear-gradient(155deg, #0A4D6E 0%, #063349 100%); }
.sot-rmt-gallery .ph.t-sunset { background: linear-gradient(155deg, #E69568 0%, #D86B3C 55%, #9E3F1E 100%); }
.sot-rmt-gallery .ph.t-ink { background: linear-gradient(155deg, #2B3D44 0%, #0F1F24 100%); }
.sot-rmt-gallery .ph.t-paper-3 { background: linear-gradient(155deg, #F3EFE6 0%, #E7E0D2 100%); }
.sot-rmt-gallery .ph.t-sand { background: linear-gradient(155deg, #EBD3A0 0%, #E5C68A 100%); }
.sot-rmt-gallery .ph.t-forest-deep { background: linear-gradient(155deg, #1F5A36 0%, #133A22 100%); }
.sot-rmt-gallery .more-scrim {
  position: absolute;
  inset: 0;
  background: rgba(15,31,36,0.55);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ── Trust badges ───────────────────────────────────────── */
.sot-rmt-trust {
  padding: 20px 48px 28px;
}
.sot-rmt-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.sot-rmt-trust .pill {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sot-rmt-trust .pill .lbl { font-size: 13px; font-weight: 600; color: var(--ink); }
.sot-rmt-trust .pill .sub { font-size: 12px; color: var(--ink-3); line-height: 1.4; }

/* ── Main 2-col grid ────────────────────────────────────── */
.sot-rmt-main {
  padding: 8px 48px 64px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: flex-start;
}
.sot-rmt-main .left { min-width: 0; }
.sot-rmt-main aside.right {
  position: static; /* the rail now carries the boarding maps (2026-08-20) — too tall to pin */
  top: 24px;
}
/* ── Rail: where you board (boarding maps + office) ── */
.sot-rmt-rail-board { margin-top: 22px; }
.sot-rmt-rail-h { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 0 0 10px; letter-spacing: -0.02em; }
.sot-rmt-rail-note { font-size: 13px; color: var(--ink-3); }
.sot-rmt-board-card { border: 1px solid var(--line); background: var(--paper-2, #fff); padding: 12px 14px; margin-bottom: 10px; }
.sot-rmt-board-card .rt { font-family: var(--serif); font-size: 17px; margin-bottom: 8px; }
.sot-rmt-board-card .loc { font-size: 13px; line-height: 1.4; margin-top: 8px; }
.sot-rmt-board-card .loc .city { color: var(--ink-3); }
.sot-rmt-board-card .times { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; font-size: 12px; color: var(--ink-3); }
.sot-rmt-board-card .times a { color: var(--ocean); text-decoration: none; font-weight: 600; }
.sot-rmt-board-card .maplink { display: inline-block; margin-top: 8px; font-size: 12.5px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; color: var(--ink); }
.sot-rmt-minimap { height: 150px; background: var(--paper-3, #E7E0D2); overflow: hidden; }
.sot-rmt-minimap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ── Section blocks ─────────────────────────────────────── */
.sot-rmt-section { padding-top: 56px; margin-top: 56px; border-top: 1px solid var(--line); }
.sot-rmt-section.first { padding-top: 0; margin-top: 0; border-top: none; }
.sot-rmt-section.about { padding-bottom: 32px; border-bottom: 1px solid var(--line); border-top: none; margin-top: 0; padding-top: 0; }
.sot-rmt-section h2 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
  font-size: 28px;
}
.sot-rmt-section h2.lg { font-size: 32px; }
.sot-rmt-section h2.sm { font-size: 24px; letter-spacing: -0.01em; }
.sot-rmt-section p.lede {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
  max-width: 720px;
}
.sot-rmt-section p.sub {
  font-size: 14px;
  color: var(--ink-3);
  margin: 0 0 18px;
}

/* ── Stat row ───────────────────────────────────────────── */
.sot-rmt-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 24px;
}
.sot-rmt-stats .n {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.sot-rmt-stats .l {
  font-size: 10px;
  color: var(--ink-3);
  margin-top: 4px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ── Fleet ──────────────────────────────────────────────── */
.sot-rmt-fleet-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  flex-wrap: wrap;
}
.sot-rmt-fleet-tab {
  background: transparent;
  border: none;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
}
.sot-rmt-fleet-tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.sot-rmt-fleet-sort {
  margin-left: auto;
  padding: 12px 0;
  font-size: 12px;
  color: var(--ink-3);
}
.sot-rmt-fleet-sort strong { color: var(--ink); }

.sot-rmt-fleet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sot-rmt-vcard {
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
  position: relative;
  text-align: left;
  width: 100%;
  padding: 0;
  font-family: inherit;
}
.sot-rmt-vcard:hover {
  border-color: var(--ink);
  box-shadow: 0 8px 20px -10px rgba(15,31,36,0.18);
}
.sot-rmt-vcard.is-booked { opacity: 0.65; }
.sot-rmt-vcard .photo {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #2E7398 0%, #0A4D6E 55%, #063349 100%);
}
.sot-rmt-vcard .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sot-rmt-vcard .photo .chip {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(251,248,242,0.92);
  padding: 4px 9px;
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
}
.sot-rmt-vcard .photo .booked-scrim {
  position: absolute;
  inset: 0;
  background: rgba(15,31,36,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.sot-rmt-vcard .body { padding: 16px; }
.sot-rmt-vcard .head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.sot-rmt-vcard .sub {
  font-size: 11px;
  color: var(--ink-3);
  margin-bottom: 3px;
  letter-spacing: 0.04em;
}
.sot-rmt-vcard h3 {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.15;
  font-weight: 400;
}
.sot-rmt-vcard .price {
  text-align: right;
  flex-shrink: 0;
}
.sot-rmt-vcard .price .v {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -0.02em;
}
.sot-rmt-vcard .price .u {
  font-size: 10px;
  color: var(--ink-3);
  margin-top: 1px;
}
.sot-rmt-vcard .spec-line {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  font-size: 11px;
  color: var(--ink-3);
  flex-wrap: wrap;
}
.sot-rmt-vcard .foot {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ── Availability dot ───────────────────────────────────── */
.sot-rmt-avail {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--ink-2);
}
.sot-rmt-avail::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
  background: var(--forest);
}
.sot-rmt-avail.is-warn::before { background: var(--warn); }
.sot-rmt-avail.is-err::before { background: var(--error); }

/* ── Map block ──────────────────────────────────────────── */
/* ── Where you board: per-route boarding cards + office (2026-08-19) ── */
.sot-rmt-board-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 14px 0 18px; }
.sot-rmt-board-card { border: 1px solid var(--line, #DDD3BE); background: var(--paper-2, #fff); padding: 14px 16px; }
.sot-rmt-board-card .rt { font-family: Fraunces, Georgia, serif; font-size: 18px; margin-bottom: 6px; }
.sot-rmt-board-card .loc { font-size: 14px; line-height: 1.4; }
.sot-rmt-board-card .loc .city { color: var(--ink-3, #546870); }
.sot-rmt-board-card .times { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; font-size: 12.5px; color: var(--ink-3, #546870); }
.sot-rmt-board-card .maplink { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.sot-rmt-office-h { font-family: 'JetBrains Mono', Menlo, monospace; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-3, #546870); margin: 18px 0 8px; }
.sot-rmt-map {
  position: relative;
  height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #E8E4D7;
}
.sot-rmt-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.sot-rmt-map .empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
}
.sot-rmt-map-meta {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  font-size: 12px;
}
.sot-rmt-map-meta .k {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  font-weight: 600;
  text-transform: uppercase;
}
.sot-rmt-map-meta .v { font-size: 13px; margin-top: 4px; }

/* ── Reviews ────────────────────────────────────────────── */
.sot-rmt-review-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
  gap: 16px;
}
.sot-rmt-review-bars {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.sot-rmt-bar .lab {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 12px;
}
.sot-rmt-bar .lab .l { color: var(--ink-2); }
.sot-rmt-bar .lab strong { color: var(--ink); }
.sot-rmt-bar .track {
  height: 4px;
  background: var(--paper-3);
}
.sot-rmt-bar .fill {
  height: 100%;
  background: var(--forest);
}
.sot-rmt-review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.sot-rmt-rev {
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.sot-rmt-rev .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.sot-rmt-rev .who { display: flex; align-items: center; gap: 10px; }
.sot-rmt-rev .av {
  width: 36px; height: 36px;
  border-radius: 50%;
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
}
.sot-rmt-rev .av.c0 { background: var(--ocean); }
.sot-rmt-rev .av.c1 { background: var(--forest); }
.sot-rmt-rev .av.c2 { background: var(--accent-sunset); }
.sot-rmt-rev .av.c3 { background: var(--ink); }
.sot-rmt-rev .nm { font-size: 13px; font-weight: 600; }
.sot-rmt-rev .sub { font-size: 11px; color: var(--ink-3); }
.sot-rmt-rev p { font-size: 13px; line-height: 1.6; margin: 10px 0; color: var(--ink-2); }
.sot-rmt-rev .vrt {
  font-size: 10px;
  font-family: var(--mono);
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── FAQ ────────────────────────────────────────────────── */
.sot-rmt-faq-item { border-bottom: 1px solid var(--line); }
.sot-rmt-faq-q {
  width: 100%;
  background: transparent;
  border: none;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.sot-rmt-faq-q .ind { font-size: 18px; color: var(--ink-3); }
.sot-rmt-faq-a {
  display: none;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.65;
  padding: 0 0 16px;
}
.sot-rmt-faq-item.is-open .sot-rmt-faq-a { display: block; }

/* ── AGB ────────────────────────────────────────────────── */
.sot-rmt-agb-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sot-rmt-agb-list li {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dotted var(--line);
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
}
.sot-rmt-agb-list .n {
  font-family: var(--mono);
  color: var(--ink-4);
  min-width: 24px;
  font-size: 11px;
  padding-top: 3px;
}

/* ── Reserve card (sticky right) ────────────────────────── */
.sot-rmt-reserve {
  border: 1px solid var(--ink);
  padding: 22px;
  background: var(--paper);
}
.sot-rmt-reserve .price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}
.sot-rmt-reserve .from { font-size: 12px; color: var(--ink-3); }
.sot-rmt-reserve .amt {
  font-family: var(--serif);
  font-size: 36px;
  letter-spacing: -0.02em;
}
.sot-rmt-reserve .per { font-size: 13px; color: var(--ink-3); margin-left: 6px; }
.sot-rmt-reserve .rating { font-size: 12px; color: var(--ink-3); }

.sot-rmt-reserve .form {
  border: 1px solid var(--line);
}
.sot-rmt-reserve .form .row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.sot-rmt-reserve .form .cell {
  padding: 10px 12px;
}
.sot-rmt-reserve .form .cell.div { border-right: 1px solid var(--line); }
.sot-rmt-reserve .form .cell + .single,
.sot-rmt-reserve .form .single { border-bottom: 1px solid var(--line); }
.sot-rmt-reserve .form .single:last-child { border-bottom: none; }
.sot-rmt-reserve .form .lab {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  font-weight: 600;
  text-transform: uppercase;
}
.sot-rmt-reserve .form input,
.sot-rmt-reserve .form select {
  width: 100%;
  border: none;
  background: transparent;
  padding: 3px 0 0;
  font-family: inherit;
  font-size: 13px;
  color: var(--ink);
  outline: none;
}

.sot-rmt-btn-cta {
  width: 100%;
  background: var(--forest);
  color: var(--paper);
  border: none;
  padding: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 12px;
  cursor: pointer;
  text-transform: uppercase;
}
.sot-rmt-btn-cta:hover { background: var(--forest-deep); }
.sot-rmt-btn-ghost {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-transform: uppercase;
}
.sot-rmt-btn-ink {
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 13px 26px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-transform: uppercase;
}
.sot-rmt-btn-ink:disabled { background: var(--ink-4); cursor: not-allowed; }

.sot-rmt-reserve .nocard {
  font-size: 11px;
  color: var(--ink-3);
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}
.sot-rmt-reserve .mini-list {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 14px;
  font-size: 12px;
  color: var(--ink-2);
  display: grid;
  gap: 8px;
}
.sot-rmt-reserve .mini-list .row {
  display: flex;
  justify-content: space-between;
}
.sot-rmt-reserve .mini-list strong { color: var(--ink); font-weight: 600; }

.sot-rmt-coin {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.55;
}
.sot-rmt-coin strong { color: var(--ink); }
.sot-rmt-wa {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.sot-rmt-wa .lab { color: var(--ink-3); }
.sot-rmt-wa a { color: var(--ocean); font-weight: 600; }

/* ── Modal shell ────────────────────────────────────────── */
.sot-rmt-dialog {
  /* Portaled to <body> by the JS (2026-08-20) — above the theme's sticky
     header (z 40) and below the WP admin bar (99999); tokens are :root. */
  position: fixed;
  inset: 0;
  background: rgba(15,31,36,0.55);
  z-index: 99990;
  font-family: var(--sans);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 40px;
  overflow-y: auto;
}
.sot-rmt-dialog.is-open { display: flex; }
.sot-rmt-dialog .panel {
  background: var(--paper);
  width: 100%;
  max-width: 960px;
  box-shadow: 0 30px 60px -20px rgba(15,31,36,0.45);
  position: relative;
}
.sot-rmt-dialog#sot-rmt-vdetail .panel { max-width: 980px; }
.sot-rmt-dialog#sot-rmt-booking .panel { max-width: 1040px; }
.sot-rmt-dialog .close-x {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  font-size: 18px;
  color: var(--ink-2);
  z-index: 2;
  line-height: 1;
}

/* ── Lightbox ───────────────────────────────────────────── */
.sot-rmt-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15,31,36,0.92);
  z-index: 99995;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.sot-rmt-lightbox.is-open { display: flex; }
.sot-rmt-lightbox .stage {
  width: 90%;
  max-width: 1100px;
  aspect-ratio: 16 / 10;
  background: var(--ink);
  position: relative;
}
.sot-rmt-lightbox .stage img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.sot-rmt-lightbox .stage .ph {
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, #2E7398 0%, #0A4D6E 55%, #063349 100%);
}
.sot-rmt-lightbox .ctrl {
  position: absolute;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(251,248,242,0.3);
  background: rgba(15,31,36,0.4);
  color: var(--paper);
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
}
.sot-rmt-lightbox .ctrl.prev { left: 24px; }
.sot-rmt-lightbox .ctrl.next { right: 24px; }
.sot-rmt-lightbox .close-x {
  position: absolute;
  top: 24px; right: 24px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(251,248,242,0.3);
  background: rgba(15,31,36,0.4);
  color: var(--paper);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sot-rmt-lightbox .count {
  position: absolute;
  bottom: 24px;
  color: var(--paper-3);
  font-family: var(--mono);
  font-size: 12px;
}

/* ── Vehicle Detail modal ───────────────────────────────── */
.sot-rmt-vdetail-hero {
  height: 340px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #2E7398 0%, #0A4D6E 55%, #063349 100%);
}
.sot-rmt-vdetail-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sot-rmt-vdetail-hero .chips {
  position: absolute;
  top: 20px; left: 20px;
  display: flex;
  gap: 8px;
}
.sot-rmt-vdetail-hero .chip {
  padding: 5px 10px;
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 700;
  text-transform: uppercase;
}
.sot-rmt-vdetail-hero .chip.cat {
  background: rgba(251,248,242,0.92);
  color: var(--ink);
}
.sot-rmt-vdetail-hero .chip.vrf {
  background: rgba(15,31,36,0.5);
  color: var(--paper);
  font-weight: 600;
}
.sot-rmt-vdetail-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 4px 0;
  background: var(--ink);
}
.sot-rmt-vdetail-thumbs .t {
  height: 60px;
  background: linear-gradient(155deg, #2E7398 0%, #0A4D6E 100%);
}
.sot-rmt-vdetail-body { padding: 32px 36px; }
.sot-rmt-vdetail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 24px;
}
.sot-rmt-vdetail-head h2 {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 6px 0 10px;
  font-weight: 400;
}
.sot-rmt-vdetail-head .meta {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 13px;
  color: var(--ink-2);
}
.sot-rmt-vdetail-head .pr {
  text-align: right;
}
.sot-rmt-vdetail-head .pr .v {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.sot-rmt-vdetail-head .pr .u { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.sot-rmt-vdetail-head .pr .wm { font-size: 12px; color: var(--ink-2); margin-top: 8px; }
.sot-rmt-vdetail-best {
  padding: 14px 16px;
  background: var(--paper-2);
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--ink-2);
}
.sot-rmt-vdetail-best strong { color: var(--ink); }

.sot-rmt-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.sot-rmt-tab {
  background: transparent;
  border: none;
  padding: 12px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  font-family: inherit;
}
.sot-rmt-tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.sot-rmt-tab-panel { display: none; }
.sot-rmt-tab-panel.is-active { display: block; }

.sot-rmt-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 32px;
  row-gap: 14px;
  font-size: 13px;
}
.sot-rmt-spec {
  padding-bottom: 12px;
  border-bottom: 1px dotted var(--line);
}
.sot-rmt-spec .k {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: 4px;
}
.sot-rmt-spec .v { font-weight: 500; }

.sot-rmt-addons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sot-rmt-addons .row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.sot-rmt-addons .row .p { color: var(--ink-3); }

.sot-rmt-rules { margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.sot-rmt-rules li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.sot-rmt-rules li::before { content: "·"; color: var(--ink-4); }

.sot-rmt-vdetail-foot {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.sot-rmt-vdetail-foot .lhs {
  font-size: 12px;
  color: var(--ink-3);
  max-width: 360px;
  line-height: 1.5;
}
.sot-rmt-vdetail-foot .reserve-btn {
  background: var(--forest);
  color: var(--paper);
  border: none;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-transform: uppercase;
}
.sot-rmt-vdetail-foot .reserve-btn:disabled {
  background: var(--ink-4);
  cursor: not-allowed;
}

/* ── Booking Flow ───────────────────────────────────────── */
.sot-rmt-booking-head {
  padding: 28px 36px;
  border-bottom: 1px solid var(--line);
}
.sot-rmt-booking-head h2 {
  font-family: var(--serif);
  font-size: 32px;
  margin: 8px 0 18px;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.sot-rmt-stepper {
  display: flex;
  gap: 6px;
}
.sot-rmt-stepper .step {
  flex: 1;
  padding: 10px 12px;
  border-top: 2px solid var(--line);
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 12px;
  color: var(--ink-4);
  font-weight: 500;
}
.sot-rmt-stepper .step.done,
.sot-rmt-stepper .step.active {
  border-top-color: var(--ink);
  color: var(--ink);
}
.sot-rmt-stepper .step.active { font-weight: 600; }
.sot-rmt-stepper .step .n {
  font-family: var(--serif);
  font-size: 16px;
}

.sot-rmt-booking-body {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 0;
}
.sot-rmt-booking-body.done { grid-template-columns: 1fr; }
.sot-rmt-booking-main { padding: 28px 36px; }
.sot-rmt-booking-summary {
  background: var(--paper-2);
  padding: 28px;
  border-left: 1px solid var(--line);
}

#book-hidden-seats, #book-hidden-seats[hidden] { display: none !important; }
.sot-rmt-dialog#sot-rmt-booking .panel { max-width: 1180px; }
.sot-rmt-booking-summary { background: #F6EFEA; }
.sot-rmt-summary-top { display: flex; gap: 14px; align-items: flex-start; }
.sot-rmt-summary-top .ph { width: 84px; height: 84px; border-radius: 6px; overflow: hidden; flex-shrink: 0; background: var(--paper-3, #E7E0D2); }
.sot-rmt-summary-top .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sot-rmt-summary-top .eyebrow { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.sot-rmt-summary-top h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 4px 0 2px; line-height: 1.1; }
.sot-rmt-summary-top .when { font-size: 13px; color: var(--ink-3); }
.sot-rmt-summary-top .fare { font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.sot-rmt-summary-total strong { font-size: 22px; }
.sot-rmt-summary-total span { font-weight: 700; color: var(--ink); font-size: 14px; }
.sot-rmt-summary-policy { margin-top: 16px; padding: 10px 12px; border: 1px solid var(--line); background: var(--paper); font-size: 12.5px; color: var(--ink-2); line-height: 1.45; }
.sot-rmt-dialog * { box-sizing: border-box; }
.sot-rmt-dialog a { color: inherit; text-decoration: none; }
.sot-rmt-dialog button { font-family: inherit; }
/* payment choice (cash on boarding · SOTCoin) */
.sot-rmt-pay-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 720px) { .sot-rmt-pay-options { grid-template-columns: 1fr; } }
.sot-rmt-pay-opt { display: block; border: 1px solid var(--line); padding: 12px 14px; cursor: pointer; background: var(--paper); }
.sot-rmt-pay-opt.is-on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.sot-rmt-pay-opt input { margin: 0 8px 0 0; vertical-align: middle; accent-color: var(--ink); }
.sot-rmt-pay-opt .t { font-weight: 600; font-size: 14px; }
.sot-rmt-pay-opt .s { display: block; margin-top: 4px; font-size: 12.5px; color: var(--ink-3); }
.sot-rmt-pay-bal { font-weight: 500; color: var(--ocean); font-size: 12.5px; margin-left: 4px; }
.sot-rmt-pay-topup { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; padding: 10px 12px; background: var(--paper-2); border: 1px solid var(--line); font-size: 13px; }
.sot-rmt-btn-sm { padding: 8px 14px !important; font-size: 12px !important; }
/* return-trip (multi-leg) booking */
.sot-rmt-add-return { display: block; width: 100%; margin-top: 14px; padding: 13px 16px; background: var(--forest, #1F5A36); color: #fff; border: 0; font-family: inherit; font-size: 14px; font-weight: 700; letter-spacing: .02em; cursor: pointer; }
.sot-rmt-add-return:hover { background: var(--forest-deep, #133A22); }
.sot-rmt-add-return[hidden] { display: none !important; }
.sot-rmt-leg-note { margin-top: 14px; padding: 10px 12px; background: #E4EFE7; color: var(--forest, #1F5A36); font-size: 13px; }
.sot-rmt-leg-note[hidden] { display: none !important; }
.sot-rmt-summary .lines .row.is-leg { border-bottom: 1px dashed var(--line); padding: 7px 0; }
.sot-rmt-summary .lines .row.is-discount strong { color: var(--forest, #1F5A36); }
.sot-rmt-leg-x { border: 0; background: none; color: var(--error, #B53F3F); font-size: 15px; cursor: pointer; padding: 0 0 0 6px; line-height: 1; vertical-align: middle; }
.sot-rmt-pay-topup[hidden], #book-payment[hidden] { display: none !important; }
.sot-rmt-booking-step { display: none; }
.sot-rmt-booking-step.is-active { display: block; }

.sot-rmt-book-section {
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.sot-rmt-book-section h4 {
  font-family: var(--serif);
  font-size: 18px;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  font-weight: 400;
}
.sot-rmt-book-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.sot-rmt-book-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sot-rmt-field {
  display: block;
  border: 1px solid var(--line);
  padding: 10px 12px;
  background: var(--paper);
  cursor: text;
}
.sot-rmt-field .lab {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
}
.sot-rmt-field input,
.sot-rmt-field select,
.sot-rmt-field textarea {
  border: none;
  background: transparent;
  padding: 3px 0 0;
  width: 100%;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  resize: vertical;
}
.sot-rmt-file {
  border: 1px dashed var(--line);
  padding: 10px 12px;
  background: var(--paper);
}
.sot-rmt-file .lab {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
}
.sot-rmt-file .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  font-size: 13px;
}
.sot-rmt-file input[type="file"] {
  font-size: 11px;
  font-family: var(--mono);
  color: var(--ink-2);
  border: none;
  background: transparent;
  padding: 0;
}

.sot-rmt-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.sot-rmt-choice {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  cursor: pointer;
}
.sot-rmt-choice.is-on { border: 2px solid var(--ink); padding: 13px 15px; }
.sot-rmt-choice input { margin-right: 8px; }
.sot-rmt-choice .lab { font-weight: 600; font-size: 14px; }
.sot-rmt-choice .sub {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 4px;
  margin-left: 22px;
  line-height: 1.5;
}

.sot-rmt-addon-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 13px;
}
.sot-rmt-addon-toggle.is-on { border: 2px solid var(--ink); padding: 11px 13px; }
.sot-rmt-addon-toggle input { margin-right: 10px; }
.sot-rmt-addon-toggle .p { color: var(--ink-3); }

.sot-rmt-pay-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.sot-rmt-pay {
  display: block;
  padding: 16px 14px;
  border: 1px solid var(--line);
  text-align: center;
  cursor: pointer;
  background: var(--paper);
}
.sot-rmt-pay.is-on { border: 2px solid var(--ink); padding: 15px 13px; }
.sot-rmt-pay .lab { font-size: 14px; font-weight: 600; }
.sot-rmt-pay .sub { font-size: 11px; color: var(--ink-3); margin-top: 4px; }

.sot-rmt-deposit-notice {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
  padding: 14px 16px;
  background: var(--paper-2);
}

.sot-rmt-review-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.sot-rmt-review-row .k { color: var(--ink-3); }

.sot-rmt-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
}

.sot-rmt-summary-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.sot-rmt-summary-top .ph {
  width: 84px; height: 84px;
  background: linear-gradient(155deg, #2E7398 0%, #0A4D6E 100%);
  flex-shrink: 0;
}
.sot-rmt-summary-top .ph img { width: 100%; height: 100%; object-fit: cover; }
.sot-rmt-summary .lines {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 14px;
  font-size: 13px;
  color: var(--ink-2);
}
.sot-rmt-summary .lines .row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}
.sot-rmt-summary .total {
  border-top: 1px solid var(--ink);
  margin-top: 10px;
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}
.sot-rmt-summary .coin {
  margin-top: 10px;
  font-size: 11px;
  color: var(--ocean);
}
.sot-rmt-summary .cancel-note {
  margin-top: 18px;
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 11px;
  color: var(--ink-3);
  line-height: 1.5;
}

.sot-rmt-confirm {
  padding: 40px 20px 60px;
  text-align: center;
}
.sot-rmt-confirm .check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}
.sot-rmt-confirm h3 {
  font-family: var(--serif);
  font-size: 32px;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.sot-rmt-confirm p {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0 auto 28px;
  max-width: 440px;
  line-height: 1.6;
}
.sot-rmt-confirm .grid {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 10px 32px;
  text-align: left;
  margin-bottom: 28px;
  font-size: 13px;
}
.sot-rmt-confirm .grid .k { color: var(--ink-3); }
.sot-rmt-confirm .actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.sot-rmt-error {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid var(--error);
  background: rgba(168,49,31,0.06);
  color: var(--error);
  font-size: 13px;
  display: none;
}
.sot-rmt-error.is-open { display: block; }

/* ── Responsive (< 900px) ───────────────────────────────── */
@media (max-width: 900px) {
  .sot-rmt-header,
  .sot-rmt-trust,
  .sot-rmt-main,
  .sot-rmt-crumb { padding-left: 20px; padding-right: 20px; }
  .sot-rmt-header h1 { font-size: 38px; }
  .sot-rmt-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 180px;
  }
  .sot-rmt-gallery .tile.hero { grid-row: span 1; grid-column: span 2; }
  .sot-rmt-gallery .tile:nth-child(n+5) { display: none; }
  .sot-rmt-trust-grid { grid-template-columns: 1fr 1fr; }
  .sot-rmt-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .sot-rmt-main aside.right { position: static; }
  .sot-rmt-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .sot-rmt-fleet-grid { grid-template-columns: 1fr; }
  .sot-rmt-review-bars { grid-template-columns: 1fr; gap: 16px; }
  .sot-rmt-review-grid { grid-template-columns: 1fr; }
  .sot-rmt-map-meta { grid-template-columns: 1fr 1fr; }
  .sot-rmt-booking-body { grid-template-columns: 1fr; }
  .sot-rmt-booking-summary { border-left: none; border-top: 1px solid var(--line); }
  .sot-rmt-dialog { padding: 20px 12px; }
  .sot-rmt-vdetail-head { flex-direction: column; }
  .sot-rmt-vdetail-head .pr { text-align: left; }
  .sot-rmt-book-grid-3,
  .sot-rmt-book-grid-2 { grid-template-columns: 1fr; }
  .sot-rmt-pay-grid { grid-template-columns: 1fr; }
}

/* ── Transport-specific additions ───────────────────────── */

/* Time chips under each route card */
.sot-rmt-times {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.sot-rmt-time-chip {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  background: var(--paper-2);
  color: var(--ink-2);
  border: 1px solid var(--line);
}

/* Trip-type toggle inside reserve card */
.sot-rmt-trip-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 12px;
  border: 1px solid var(--ink);
}
.sot-rmt-tt {
  background: transparent;
  border: none;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  cursor: pointer;
  text-transform: uppercase;
}
.sot-rmt-tt.is-on {
  background: var(--ink);
  color: var(--paper);
}

/* Passenger stepper inside reserve card */
.sot-rmt-stepper-row {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 3px;
}
.sot-rmt-step-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink);
  padding: 0;
}
.sot-rmt-stepper-row input[type="number"] {
  width: 56px !important;
  text-align: center;
  border-top: 1px solid var(--line) !important;
  border-bottom: 1px solid var(--line) !important;
  border-left: none !important;
  border-right: none !important;
  padding: 4px 0 !important;
  font-size: 13px;
  font-family: inherit;
  background: var(--paper);
  -moz-appearance: textfield;
}
.sot-rmt-stepper-row input[type="number"]::-webkit-outer-spin-button,
.sot-rmt-stepper-row input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Vehicle-class radios inside reserve card */
.sot-rmt-class-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 4px;
}
.sot-rmt-class {
  display: block;
  border: 1px solid var(--line);
  padding: 6px 4px;
  text-align: center;
  font-size: 11px;
  cursor: pointer;
  color: var(--ink-2);
  background: var(--paper);
}
.sot-rmt-class.is-on {
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font-weight: 600;
  padding: 5.5px 3.5px;
}
.sot-rmt-class input { display: none; }

/* Honest empty states — wiki ch.09 §9.6. Added 2026-07-27 with the P0
 * removal of the fabricated star rating and review count, the four
 * invented testimonials, the six-route demo catalogue, the invented
 * on-time and trips-completed performance claims and the invented terms. */
.sot-rmt-empty {
  padding: 32px;
  border: 1px dashed var(--line);
  text-align: center;
  color: var(--ink-3);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
}
.sot-rmt-noreviews { color: var(--ink-3); }
.sot-rmt-review-count {
  font-size: 16px;
  font-family: var(--sans);
  color: var(--ink-3);
  margin-left: 8px;
  font-weight: 400;
}
.sot-rmt-route-rating { font-size: 11px; color: var(--ink-3); }
.sot-rmt-price-onreq {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-3);
}

/* ═══════════════════════════════════════════════════════════════════════
   2026-08-08 · Canon identity header (logo) + seat-map booking wizard.
   All visuals are classes — zero inline styles (wiki ch.09 §9.3 #1).
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Identity header: logo · eyebrow · H1 · meta ───────────────────── */
.sot-rmt-header { display: flex; align-items: center; gap: 22px; }
.sot-rmt-header-body { min-width: 0; flex: 1 1 auto; }
.sot-rmt-logo {
  flex: 0 0 auto; width: 96px; height: 96px; border-radius: 18px;
  background: var(--paper); border: 1px solid var(--line);
  display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 6px 18px rgba(15, 31, 36, .06);
}
.sot-rmt-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; display: block; }
.sot-rmt-logo--mono span { font-family: var(--serif); font-size: 40px; color: var(--ink-3); }
.sot-rmt-tagline { margin: 6px 0 4px; color: var(--ink-2); font-size: 15px; }
.sot-rmt-meta-rating { display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 640px) {
  .sot-rmt-header { gap: 14px; }
  .sot-rmt-logo { width: 64px; height: 64px; border-radius: 14px; }
  .sot-rmt-logo--mono span { font-size: 28px; }
}

/* ── Action rail extras ────────────────────────────────────────────── */
.sot-rmt-reserve .cell .lab { display: block; }
.sot-rmt-route-facts { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 12px 0 4px; font-size: 12.5px; color: var(--ink-3); }
.sot-rmt-route-facts span { white-space: nowrap; }
.sot-rmt-empty {
  display: grid; gap: 4px; padding: 14px; margin: 12px 0;
  border: 1px dashed var(--line); border-radius: 12px; background: var(--paper-2);
  font-size: 13px; color: var(--ink-3);
}
.sot-rmt-empty strong { color: var(--ink); }

/* ── Wizard layout ─────────────────────────────────────────────────── */
.sot-rmt-dialog--wide .panel { max-width: 1080px; }
.sot-rmt-book-grid-3 { display: grid; grid-template-columns: 1.4fr 1fr .7fr; gap: 12px; }
.sot-rmt-stops-row { margin-top: 10px; }
.sot-rmt-field .lab { display: block; }
.sot-rmt-field--block { display: block; }
.sot-rmt-help { margin: -4px 0 10px; font-size: 12.5px; color: var(--ink-3); }
.sot-rmt-error { display: none; margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: #fff3f2; color: var(--error); font-size: 13px; }
.sot-rmt-error:not(:empty) { display: block; }
@media (max-width: 720px) {
  .sot-rmt-book-grid-3 { grid-template-columns: 1fr 1fr; }
  .sot-rmt-book-grid-3 .sot-rmt-field:first-child { grid-column: 1 / -1; }
}

/* ── Seat map (bus deck) ───────────────────────────────────────────── */
.sot-rmt-seatmap { border: 1px solid var(--line); border-radius: 14px; background: var(--paper-2); padding: 14px; }
.sot-rmt-seatmap-hint { text-align: center; padding: 26px 10px; font-size: 13.5px; color: var(--ink-3); }
.sot-rmt-seatmap-loading { text-align: center; padding: 26px 10px; font-size: 13px; color: var(--ink-3); display: flex; gap: 8px; align-items: center; justify-content: center; }
.sot-rmt-spinner { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--forest); animation: sot-rmt-spin .8s linear infinite; }
@keyframes sot-rmt-spin { to { transform: rotate(360deg); } }
.sot-rmt-bus { max-width: 360px; margin: 0 auto; }
.sot-rmt-bus-front {
  height: 34px; border-radius: 40px 40px 8px 8px; background: var(--ink); color: var(--paper);
  display: grid; place-items: center; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px;
}
.sot-rmt-bus-deck {
  position: relative; width: 100%; aspect-ratio: 5 / 8; min-height: 300px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
}
.sot-rmt-seat {
  position: absolute; transform: translate(-50%, -50%);
  width: 15%; aspect-ratio: 1; min-width: 34px; border-radius: 9px 9px 6px 6px;
  border: 1.5px solid var(--line); background: var(--paper);
  font: 600 12px var(--sans); color: var(--ink-2); cursor: pointer;
  display: grid; place-items: center; transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
}
.sot-rmt-seat--avail:hover { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 4px 12px rgba(15, 31, 36, .12); border-color: var(--forest); }
.sot-rmt-seat--sel { background: var(--forest); border-color: var(--forest-deep); color: #fff; box-shadow: 0 6px 16px rgba(30, 90, 60, .28); }
.sot-rmt-seat--booked { background: var(--paper-3); color: var(--ink-4); border-color: var(--line); cursor: not-allowed; text-decoration: line-through; }
.sot-rmt-seatmap-legend { display: flex; justify-content: center; gap: 16px; margin-top: 10px; font-size: 12px; color: var(--ink-3); }
.sot-rmt-seatmap-legend span { display: inline-flex; align-items: center; gap: 6px; }
.sot-rmt-seatmap-legend .sw { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--line); background: var(--paper); }
.sot-rmt-seatmap-legend .sw-sel { background: var(--forest); border-color: var(--forest-deep); }
.sot-rmt-seatmap-legend .sw-booked { background: var(--paper-3); }
.sot-rmt-seatmap-summary { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); }
.sot-rmt-seatmap-summary em { font-style: normal; color: var(--forest-deep); font-weight: 600; }

/* ── Passenger cards ───────────────────────────────────────────────── */
.sot-rmt-pax-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; background: var(--paper); }
.sot-rmt-pax-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.sot-rmt-pax-head .seat { font-family: var(--mono); font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--ink); color: var(--paper); }
.sot-rmt-pax-head .tag { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--forest-deep); }

/* ── Review ────────────────────────────────────────────────────────── */
.sot-rmt-review .rv { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.sot-rmt-review .rv > span { color: var(--ink-3); flex: 0 0 auto; }
.sot-rmt-review .rv > strong { text-align: right; color: var(--ink); }
.sot-rmt-review .rv-list { flex-direction: column; }
.sot-rmt-review .rv-list ul { margin: 6px 0 0; padding: 0 0 0 16px; }
.sot-rmt-review .rv-list li { margin: 4px 0; }
.sot-rmt-review .rv-total { border-bottom: 0; padding-top: 14px; font-size: 16px; }
.sot-rmt-review .rv-total strong { color: var(--forest-deep); }
.sot-rmt-accept { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; font-size: 13px; color: var(--ink-2); line-height: 1.5; cursor: pointer; }
.sot-rmt-accept input { margin-top: 3px; }

/* ── Summary rail ──────────────────────────────────────────────────── */
.sot-rmt-summary-top h3 { margin: 4px 0 2px; font-family: var(--serif); font-size: 20px; }
.sot-rmt-summary-top .when { font-size: 13px; color: var(--ink-3); }
.sot-rmt-summary-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.sot-rmt-summary-total strong { font-size: 20px; color: var(--ink); }
.sot-rmt-summary-facts { margin-top: 14px; display: grid; gap: 6px; }
.sot-rmt-summary-facts div { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; }
.sot-rmt-summary-facts span { color: var(--ink-3); }
.sot-rmt-summary-facts strong { text-align: right; color: var(--ink-2); font-weight: 600; }

/* ── Done state ────────────────────────────────────────────────────── */
.sot-rmt-confirm .actions a.sot-rmt-btn-ghost { text-decoration: none; display: inline-flex; align-items: center; }

/* ── two-bus day: vehicle switcher in the wizard (2026-08-18 capacity model) ── */
.sot-rmt-vehicle-switch { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 10px; font-size: 12.5px; color: var(--ink-3); }
.sot-rmt-vehicle-switch .lab { margin-right: 4px; }
.sot-rmt-vehicle-btn { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 4px 10px; font: 600 12px var(--sans); color: var(--ink-2); cursor: pointer; }
.sot-rmt-vehicle-btn.is-on { background: var(--forest); border-color: var(--forest-deep); color: #fff; }
