/* public/styles.css에서 빌드 때 뽑은 Metro Lens 조각 규칙. 직접 고치지 않는다. */
:root {
  color-scheme: light;

  
  --detail-sticky-inset: 152px;

  
  --ink: var(--seed-color-fg-neutral);
  --ink-muted: var(--seed-color-fg-neutral-muted);
  --muted: var(--seed-color-fg-neutral-subtle);
  --line: var(--seed-color-stroke-neutral-muted);
  --line-strong: var(--seed-color-stroke-neutral-weak);
  --panel: var(--seed-color-bg-layer-default);
  --panel-fill: var(--seed-color-bg-layer-fill);
  --green: var(--seed-color-fg-brand);
  --green-soft: var(--seed-color-bg-brand-weak);
  --blue: var(--seed-color-fg-informative);
  --focus-ring-color: #087a50;
  --focus-ring: 0 0 0 2px var(--seed-color-bg-layer-default), 0 0 0 4px var(--focus-ring-color);
  --shadow: 0 18px 55px rgba(22, 39, 31, 0.16);
  --shadow-dialog: 0 24px 70px rgba(15, 30, 23, .26);
  --shadow-side: 5px 0 14px rgba(22, 39, 31, .09);
  --shadow-marker: 0 2px 6px rgba(20, 34, 28, .3);
  --sidebar-width: clamp(352px, 30vw, 392px);
  --detail-panel-width: clamp(300px, 25vw, 340px);
  
  --map-min-width: 640px;

  
  --segment-active: var(--seed-color-bg-layer-default);
  --segment-active-shadow: 0 1px 4px rgba(0, 0, 0, .16);

  
  --map-surface: rgba(255, 255, 255, .96);
  --map-surface-soft: #f1f5f3;
  --map-surface-hover: #e6ede9;
  --map-ink: #26352e;
  --map-muted: #53625a;
  --map-line: rgba(216, 224, 219, .92);
  --map-brand: #087a50;
  --map-brand-pressed: #0a6a47;
  --map-shadow: 0 8px 24px rgba(30, 50, 41, .12);
  --complex-pin-sale: #0b6b4f;
  --complex-pin-sale-selected: #064b37;
  --complex-pin-jeonse: #1f5fa8;
  --complex-pin-jeonse-selected: #174a85;
  --complex-chart-deal: #e96516;
  
  --map-void: linear-gradient(145deg, #e7eee9, #f2eee7);
  --map-void-grid: rgba(255, 255, 255, .75);
  --map-void-label: rgba(22, 35, 29, .12);

  
  --dense: var(--seed-font-size-t2);

}
:root, :root[data-seed-color-mode=light-only], :root[data-seed-color-mode=system][data-seed-user-color-scheme=light] {
  --seed-color-palette-carrot-100: #ecf7f2;
  --seed-color-palette-carrot-200: #d9efe5;
  --seed-color-palette-carrot-300: #b4dfcb;
  --seed-color-palette-carrot-400: #7fc7a8;
  --seed-color-palette-carrot-500: #3aa97c;
  --seed-color-palette-carrot-600: #087a50;
  --seed-color-palette-carrot-700: #076e48;
  --seed-color-palette-carrot-800: #065c3c;
  --seed-color-palette-carrot-900: #044a31;
  --seed-color-palette-carrot-1000: #023320;

  
  
  --seed-color-fg-neutral-subtle: #646b77;
  
  --seed-color-fg-placeholder: var(--seed-color-fg-neutral-subtle);
  --seed-color-fg-informative: #1266cc;
  --seed-color-fg-critical: #c62a2a;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --focus-ring-color: #1c9a6b;

  --seed-color-palette-carrot-100: #10201a;
  --seed-color-palette-carrot-200: #12291f;
  --seed-color-palette-carrot-300: #14382a;
  --seed-color-palette-carrot-400: #0f4c35;
  --seed-color-palette-carrot-500: #0a6244;
  --seed-color-palette-carrot-600: #12805a;
  --seed-color-palette-carrot-700: #1c9a6b;
  --seed-color-palette-carrot-800: #41b98a;
  --seed-color-palette-carrot-900: #8ad9b8;
  --seed-color-palette-carrot-1000: #dcf3e8;

  
  --seed-color-bg-brand-solid: var(--seed-color-palette-carrot-600);
  --seed-color-bg-brand-solid-pressed: var(--seed-color-palette-carrot-500);

  --shadow: 0 18px 55px rgba(0, 0, 0, .55);
  --shadow-dialog: 0 24px 70px rgba(0, 0, 0, .6);
  --shadow-side: 5px 0 14px rgba(0, 0, 0, .4);
  --shadow-marker: 0 2px 6px rgba(0, 0, 0, .45);

  --segment-active: var(--seed-color-palette-gray-400);
  --segment-active-shadow: 0 1px 4px rgba(0, 0, 0, .45);

  --map-surface: rgba(26, 30, 35, .94);
  --map-surface-soft: #2b3038;
  --map-surface-hover: #363c45;
  --map-ink: #e7ecea;
  --map-muted: #aab4af;
  --map-line: rgba(74, 83, 92, .9);
  --map-brand: #12805a;
  --map-brand-pressed: #1c9a6b;
  --map-shadow: 0 8px 24px rgba(0, 0, 0, .5);
  --map-void: linear-gradient(145deg, #14181d, #1b201d);
  --map-void-grid: rgba(233, 240, 236, .12);
  --map-void-label: rgba(233, 240, 236, .1);
}
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.route-detail-heading { position: sticky; z-index: 6; top: 0; display: grid; grid-template-columns: 7px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 16px 16px 16px; border-bottom: 1px solid var(--line); background: var(--seed-color-bg-layer-default); }
.route-detail-heading :is(h1, h2) { margin: 0 0 4px; font-size: var(--seed-font-size-t8); letter-spacing: -.02em; }
.route-detail-color { align-self: stretch; min-height: 48px; border-radius: 4px; }
.route-detail-actions { display: flex; align-items: center; gap: 6px; }
.route-detail-live { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 6px 0 0; color: var(--seed-color-fg-informative); font-size: var(--seed-font-size-t2); font-weight: var(--seed-font-weight-bold); }
.route-detail-live small { color: var(--seed-color-fg-neutral-subtle); font-size: var(--seed-font-size-t2); font-weight: var(--seed-font-weight-medium); }
.route-stop-list { padding: 0 12px 24px; }
.route-stop-button { position: relative; width: 100%; min-height: 68px; display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 6px 8px 0; border: 0; border-bottom: 1px solid var(--line); text-align: left; background: transparent; cursor: pointer; }
.route-stop-button::before { content: ''; position: absolute; top: 0; bottom: 0; left: 56px; width: 3px; background: var(--green); opacity: .7; }
.route-stop-button:first-child::before { top: 50%; }
.route-stop-button:last-child::before { bottom: 50%; }
.route-stop-button.selected { background: var(--seed-color-bg-brand-weak); }
@media (hover: hover) {
.route-stop-button:hover { background: var(--seed-color-bg-brand-weak); }
}
.route-stop-button.long-gap { margin-top: 32px; }
.route-stop-button.long-gap::before { top: -30px; }
.route-stop-gap-label { position: absolute; top: -21px; left: 31px; padding: 2px 4px; border-radius: 4px; color: var(--seed-color-fg-neutral-subtle); background: var(--seed-color-bg-layer-default); font-size: var(--seed-font-size-t2); }
.route-stop-node { z-index: 1; width: 13px; height: 13px; justify-self: end; margin-right: 4px; border: 3px solid var(--green); border-radius: 50%; background: var(--seed-color-bg-layer-default); }
.route-stop-copy { min-width: 0; display: grid; gap: 4px; }
.route-stop-copy strong { overflow: hidden; font-size: var(--seed-font-size-t4); text-overflow: ellipsis; white-space: nowrap; }
.route-stop-copy small, .route-stop-more { color: var(--muted); font-size: var(--seed-font-size-t2); }
.route-stop-more { text-align: right; }
.route-stop-button.non-stopping { min-height: 38px; cursor: default; opacity: .52; }
.route-stop-button.non-stopping .route-stop-copy { gap: 2px; }
.route-stop-button.non-stopping .route-stop-copy strong { font-size: var(--seed-font-size-t2); }
.route-stop-button.non-stopping .route-stop-more { font-size: var(--seed-font-size-t2); }
.route-stop-button.non-stopping .route-stop-node { width: 10px; height: 10px; border-width: 2px; }
.route-stop-button.non-stopping::before { border-left: 3px dashed var(--seed-color-stroke-brand-weak); background: transparent; }
.route-stop-button.non-stopping .route-stop-node { border-color: var(--seed-color-stroke-brand-weak); border-style: dashed; }
.route-stop-button.terminal .route-stop-node { width: 16px; height: 16px; border-width: 4px; background: var(--green); }
.app-header { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px; }
.app-header-actions { display: flex; align-items: center; gap: 6px; }
.app-header .eyebrow { display: none; }
.eyebrow, .section-label { margin: 0 0 4px; color: var(--muted); font-size: var(--seed-font-size-t3); font-weight: var(--seed-font-weight-medium); }
.app-header h1, .app-header .app-title { margin: 0; font-size: var(--seed-font-size-t6); font-weight: var(--seed-font-weight-bold); line-height: 1; letter-spacing: -.04em; }
.search-section { padding: 0 16px 12px; border-bottom: 1px solid var(--line); }
.search-form { padding-inline: 13px 4px; background: var(--seed-color-bg-layer-default); box-shadow: none; }
.search-form:focus-within::after { border-color: transparent; box-shadow: var(--focus-ring); }
.search-icon { display: grid; place-items: center; color: var(--seed-color-fg-neutral-muted); }
.search-form input::placeholder { color: var(--seed-color-fg-neutral-subtle); }
.search-feedback { margin: 8px 2px 0; color: var(--muted); font-size: var(--seed-font-size-t2); line-height: 1.5; }
.search-feedback:empty { display: none; }
.search-results { max-height: calc(100dvh - 180px); display: grid; margin-top: 8px; overflow-y: auto; }
.search-result-heading { padding: 4px 2px 2px; color: var(--green); font-size: var(--seed-font-size-t2); font-weight: var(--seed-font-weight-bold); }
.search-result { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 8px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; text-align: left; background: var(--seed-color-bg-layer-default); cursor: pointer; }
.search-result:focus-visible { background: var(--seed-color-bg-brand-weak); }
@media (hover: hover) {
.search-result:hover { background: var(--seed-color-bg-brand-weak); }
}
.search-result:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.search-result-name { min-width: 0; overflow: hidden; font-size: var(--seed-font-size-t4); font-weight: var(--seed-font-weight-bold); text-overflow: ellipsis; white-space: nowrap; }
.search-result-count { color: var(--green); font-size: var(--seed-font-size-t2); font-weight: var(--seed-font-weight-bold); }
.search-result-number { width: 20px; height: 20px; flex: none; display: inline-grid; place-items: center; margin-right: 6px; border-radius: var(--seed-radius-full); color: var(--seed-color-palette-static-white); background: var(--seed-color-bg-brand-solid); font-size: var(--seed-font-size-t2); font-variant-numeric: tabular-nums; }
.search-ask { color: var(--green); }
.search-ask .search-result-name { display: inline-flex; align-items: center; gap: 6px; }
.search-pin { width: 28px; height: 28px; display: grid; place-items: center; border: 2px solid var(--seed-color-palette-static-white); border-radius: var(--seed-radius-full); box-sizing: border-box; color: var(--seed-color-palette-static-white); background: var(--seed-color-bg-brand-solid); box-shadow: var(--shadow-marker); font-size: var(--seed-font-size-t3); font-weight: var(--seed-font-weight-bold); font-variant-numeric: tabular-nums; }
.search-result-meta { grid-column: 1 / -1; color: var(--muted); font-size: var(--seed-font-size-t2); }
.search-result-route-color { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--route-color, var(--green)); vertical-align: middle; }
.search-empty { padding: 16px 12px; border: 1px dashed var(--seed-color-stroke-neutral-weak); border-radius: 8px; color: var(--muted); text-align: center; font-size: var(--seed-font-size-t3); }
.detail-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.detail-title { min-width: 0; flex: 1; }
.detail-actions { flex: none; display: flex; align-items: center; gap: 4px; }
.detail-heading h1, .detail-heading h2 { margin-bottom: 4px; font-size: var(--seed-font-size-t8); letter-spacing: -.02em; }
.muted { margin-bottom: 0; color: var(--muted); font-size: var(--seed-font-size-t3); }
.icon-button { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--seed-color-fg-neutral-muted); background: var(--seed-color-bg-layer-default); font-size: var(--seed-font-size-t7); line-height: 1; cursor: pointer; }
@media (hover: hover) {
.icon-button:hover { background: var(--seed-color-bg-neutral-weak); }
}
.segmented-control { grid-template-columns: 1fr 1fr; }
.segmented-control button { padding: 6px 8px; border: 0; border-radius: var(--seed-radius-full); color: var(--seed-color-fg-neutral-subtle); background: transparent; font: inherit; font-size: var(--seed-font-size-t3); font-weight: var(--seed-font-weight-bold); cursor: pointer; }
.segmented-control button.active { color: var(--seed-color-fg-neutral); background: var(--segment-active); box-shadow: var(--segment-active-shadow); }
.route-fit-button { margin-left: auto; white-space: nowrap; }
.route-fit-button { padding: 4px 8px; border: 1px solid var(--line); border-radius: 8px; color: var(--seed-color-fg-neutral-muted); background: var(--seed-color-bg-layer-default); font: inherit; font-size: var(--seed-font-size-t2); font-weight: var(--seed-font-weight-bold); cursor: pointer; }
.route-fit-button:focus-visible { border-color: var(--seed-color-stroke-neutral-solid); color: var(--green); outline: none; }
@media (hover: hover) {
.route-fit-button:hover { border-color: var(--seed-color-stroke-neutral-solid); color: var(--green); outline: none; }
}
.route-fit-button.quiet { border-color: transparent; background: transparent; }
.route-fit-button.quiet:focus-visible { border-color: var(--line); }
@media (hover: hover) {
.route-fit-button.quiet:hover { border-color: var(--line); }
}
.search-results {
  scrollbar-width: thin;
  scrollbar-color: var(--seed-color-bg-neutral-solid-muted) transparent;
}
.search-results::-webkit-scrollbar { width: 11px; height: 11px; }
.search-results::-webkit-scrollbar-track { background: transparent; }
.search-results::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: var(--seed-radius-full);
  background-color: var(--seed-color-bg-neutral-solid-muted);
  background-clip: content-box;
}
@media (hover: hover) {
.search-results::-webkit-scrollbar-thumb:hover { background-color: var(--seed-color-bg-neutral-solid); }
}
.icon { flex: none; display: block; }
.home-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.home-card {
  position: relative;
  min-height: 44px;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--seed-radius-r3);
  color: inherit;
  background: var(--seed-color-bg-layer-default);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.home-card-icon { width: 32px; height: 32px; display: grid; place-items: center; margin-bottom: 4px; border-radius: var(--seed-radius-r2); color: var(--green); background: var(--green-soft); }
.home-card-name { font-size: var(--seed-font-size-t4); font-weight: var(--seed-font-weight-bold); line-height: 1.35; }
.home-card-note { color: var(--muted); font-size: var(--seed-font-size-t3); line-height: 1.45; word-break: keep-all; }
@media (hover: hover) {
.home-card:hover { border-color: var(--seed-color-stroke-brand-weak); background: var(--seed-color-bg-neutral-weak); }
}
.home-card:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.home-card[aria-expanded="true"] { border-color: var(--seed-color-stroke-brand-solid); background: var(--green-soft); }
.home-card[aria-expanded="true"] .home-card-name { color: var(--green); }
.home-card[aria-expanded="true"] .home-card-icon { color: var(--seed-color-palette-static-white); background: var(--seed-color-bg-brand-solid); }
.pick-recent { display: grid; }
.pick-recent:empty { display: none; }
.pick-recent-title { margin: 4px 0; color: var(--muted); font-size: var(--seed-font-size-t2); font-weight: var(--seed-font-weight-bold); }
.pick-recent-row { width: 100%; min-height: 44px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; padding: 8px 4px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; color: inherit; background: none; font: inherit; text-align: left; cursor: pointer; }
.pick-recent-row:last-child { border-bottom: 0; }
@media (hover: hover) {
.pick-recent-row:hover { background: var(--seed-color-bg-neutral-weak); }
}
.pick-recent-row:focus-visible { outline: none; background: var(--seed-color-bg-neutral-weak); box-shadow: var(--focus-ring); }
.pick-recent-kind { width: 28px; height: 28px; display: grid; place-items: center; border-radius: var(--seed-radius-r2); color: var(--ink-muted); background: var(--seed-color-bg-neutral-weak); }
.pick-recent-body { min-width: 0; display: grid; gap: 2px; }
.pick-recent-name { overflow: hidden; font-size: var(--seed-font-size-t4); font-weight: var(--seed-font-weight-bold); text-overflow: ellipsis; white-space: nowrap; }
.pick-recent-meta { overflow: hidden; color: var(--muted); font-size: var(--seed-font-size-t2); text-overflow: ellipsis; white-space: nowrap; }
.seat-pick-choice { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 6px 6px 6px 8px; border: 1px solid var(--line); border-radius: var(--seed-radius-r3); }
.seat-pick-choice .route-plate { grid-area: auto; }
.seat-pick-choice-kind { width: 28px; height: 28px; display: grid; place-items: center; border-radius: var(--seed-radius-r2); color: var(--ink-muted); background: var(--seed-color-bg-neutral-weak); }
.seat-pick-choice-body { min-width: 0; display: grid; gap: 2px; }
.seat-pick-choice-title { font-size: var(--seed-font-size-t4); font-weight: var(--seed-font-weight-bold); line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seat-pick-choice-meta { color: var(--muted); font-size: var(--seed-font-size-t2); line-height: 1.45; word-break: keep-all; }
.seat-pick-change { min-height: 32px; padding: 0 8px; border: 0; border-radius: 8px; color: var(--seed-color-fg-brand); background: transparent; font: inherit; font-size: var(--seed-font-size-t3); font-weight: var(--seed-font-weight-bold); white-space: nowrap; cursor: pointer; }
@media (hover: hover) {
.seat-pick-change:hover { background: var(--seed-color-bg-neutral-weak); }
}
.seat-pick-change:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.seat-pick-row { width: 100%; min-height: 44px; display: grid; grid-template-columns: minmax(0, 1fr) 64px; grid-template-areas: 'body badge' 'trend badge'; align-items: center; gap: 0 12px; padding: 8px 4px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; color: inherit; background: none; font: inherit; text-align: left; cursor: pointer; }
.seat-pick-row.with-plate { grid-template-columns: auto minmax(0, 1fr) 64px; grid-template-areas: 'plate body badge' 'trend trend badge'; }
.seat-pick-row .route-plate { grid-area: plate; }
.seat-pick-row .seat-pick-body { grid-area: body; }
.seat-pick-row .seat-pick-trend { grid-area: trend; }
.seat-pick-row:last-child { border-bottom: 0; }
@media (hover: hover) {
.seat-pick-row:hover { background: var(--seed-color-bg-neutral-weak); }
}
.seat-pick-row:focus-visible { outline: none; background: var(--seed-color-bg-neutral-weak); box-shadow: var(--focus-ring); }
.seat-pick-body { min-width: 0; display: grid; gap: 2px; }
.seat-pick-name { overflow: hidden; font-size: var(--seed-font-size-t4); font-weight: var(--seed-font-weight-bold); text-overflow: ellipsis; white-space: nowrap; }
.seat-pick-meta { overflow: hidden; color: var(--muted); font-size: var(--seed-font-size-t2); text-overflow: ellipsis; white-space: nowrap; }
.seat-pick-badge { grid-area: badge; justify-self: end; min-width: 48px; padding: 2px 8px; border-radius: 999px; font-size: var(--seed-font-size-t2); font-weight: var(--seed-font-weight-bold); font-variant-numeric: tabular-nums; line-height: 1.6; text-align: center; white-space: nowrap; }
.seat-pick-badge[data-level="high"] { color: var(--seed-color-fg-positive-contrast); background: var(--seed-color-bg-positive-weak); }
.seat-pick-badge[data-level="medium"] { color: var(--seed-color-fg-warning-contrast); background: var(--seed-color-bg-warning-weak); }
.seat-pick-badge[data-level="low"] { color: var(--seed-color-fg-critical-contrast); background: var(--seed-color-bg-critical-weak); }
.seat-pick-badge[data-level="pending"] { color: var(--muted); background: var(--seed-color-bg-neutral-weak); }
.seat-pick-badge[data-level="none"] { color: var(--muted); background: transparent; }
.seat-pick-trend { display: flex; gap: 2px; height: 16px; margin: 4px 0; }
.seat-pick-trend-cell { position: relative; display: flex; flex: 1 1 0; align-items: flex-end; min-width: 0; border-radius: 2px 2px 0 0; }
.seat-pick-trend-cell::before { content: ''; display: block; width: 100%; height: var(--seat-fill, 0%); min-height: 2px; border-radius: 2px 2px 0 0; background: var(--line-strong); }
.seat-pick-trend-cell[data-level="high"]::before { background: var(--seed-color-bg-positive-solid); }
.seat-pick-trend-cell[data-level="medium"]::before { background: var(--seed-color-bg-warning-solid); }
.seat-pick-trend-cell[data-level="low"]::before { background: var(--seed-color-bg-critical-solid); }
.seat-pick-trend-cell[data-level="pending"]::before { height: 4px; border-radius: 2px; }
.seat-pick-trend-cell[data-level="empty"]::before { height: 2px; border-radius: 0; background: var(--line); }
.seat-pick-trend-cell[data-level="outside"]::before { display: none; }
.seat-pick-trend-chosen { background: var(--seed-color-bg-brand-weak); }
.seat-pick-trend-chosen::after { content: ''; position: absolute; right: 0; bottom: -4px; left: 0; height: 2px; border-radius: 2px; background: var(--green); }
.seat-pick-list { display: grid; }
.seat-time { display: grid; gap: 8px; margin: 12px 0 4px; }
.seat-time-head { display: flex; align-items: center; gap: 8px; }
.seat-time-label { color: var(--muted); font-size: var(--seed-font-size-t3); font-weight: var(--seed-font-weight-bold); }
.seat-time-value { margin-right: auto; color: var(--ink); font-size: var(--seed-font-size-t7); font-weight: var(--seed-font-weight-bold); font-variant-numeric: tabular-nums; line-height: 1.2; }
.seat-time .filter-group { flex: none; padding: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; }
.seat-time-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 2px 8px; }
.seat-time-step { position: relative; width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--seed-color-bg-layer-default); cursor: pointer; }
.seat-time-step::after { content: ''; position: absolute; inset: -6px; }
@media (hover: hover) {
.seat-time-step:hover:not(:disabled) { background: var(--seed-color-bg-neutral-weak); }
}
.seat-time-step:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.seat-time-step:disabled { color: var(--seed-color-fg-disabled); cursor: default; }
.seat-time-input { width: 100%; min-height: 24px; margin: 0; accent-color: var(--green); cursor: pointer; }
.seat-time-input:focus-visible { outline: none; border-radius: 999px; box-shadow: var(--focus-ring); }
.seat-time-ticks { grid-column: 2; display: flex; justify-content: space-between; gap: 4px; color: var(--muted); font-size: var(--seed-font-size-t2); font-variant-numeric: tabular-nums; }
.pick-recent:has(> .seat-time) { display: contents; }
.pick-recent > .seat-time { position: sticky; z-index: 2; bottom: 0; order: 1; margin: 0 -16px; padding: 12px 16px 16px; border-top: 1px solid var(--line); background: var(--panel); }
.pick-recent .seat-pick-row { scroll-margin-bottom: 136px; }
.pick-recent > .seat-pick-choice { margin-bottom: 8px; }
.pick-recent:has(> .seat-time) > .seat-pick-choice { margin-bottom: 0; }
.route-plate {
  grid-area: color; align-self: center; min-width: 56px; min-height: 40px;
  display: grid; align-content: center; justify-items: center; gap: 0;
  padding: 4px 6px; border-radius: 4px;
  font-variant-numeric: tabular-nums; line-height: 1.1;
}
.route-plate-number { font-size: var(--seed-font-size-t4); font-weight: var(--seed-font-weight-bold); letter-spacing: -.02em; }
.route-plate-type { font-size: var(--seed-font-size-t2); font-weight: var(--seed-font-weight-bold); letter-spacing: .02em; white-space: nowrap; }
.filter-group { display: flex; gap: 4px; padding: 4px 6px; border-radius: 999px; background: var(--map-surface); box-shadow: var(--map-shadow); backdrop-filter: blur(12px); }
.filter-chip { position: relative; display: inline-flex; align-items: center; padding: 6px 12px; border: 0; border-radius: 999px; color: var(--map-muted); background: var(--map-surface-soft); font: inherit; font-size: var(--seed-font-size-t2); font-weight: var(--seed-font-weight-bold); white-space: nowrap; cursor: pointer; }
@media (hover: hover) {
.filter-chip:hover { background: var(--map-surface-hover); }
}
.filter-chip-button.active { color: white; background: var(--map-brand); }
@media (hover: hover) {
.filter-chip-button.active:hover { background: var(--map-brand-pressed); }
}
.filter-chip-button:focus-visible { outline: 2px solid color-mix(in srgb, var(--map-brand) 45%, transparent); outline-offset: 1px; }
.filter-chip-button:disabled { color: var(--muted); cursor: not-allowed; opacity: .55; }
@media (hover: hover) {
.filter-chip-button:disabled:hover { background: var(--map-surface-soft); }
}
.journey-point-marker { width: 12px; height: 12px; border: 2px solid var(--map-brand); border-radius: 50%; background: var(--map-surface, #fff); box-shadow: var(--shadow-marker); }
.journey-point-marker[data-terminal="true"] { width: 16px; height: 16px; border-width: 3px; }
.plan-endpoint-marker { width: 18px; height: 18px; border: 3px solid var(--map-surface, #fff); border-radius: 50%; background: var(--green); box-shadow: var(--shadow-marker); }
.plan-endpoint-marker[data-endpoint="to"] { background: var(--seed-color-fg-critical); }
.plan-endpoint-marker[data-endpoint="via"] {
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--map-surface, #fff);
  font-size: var(--dense);
  font-weight: var(--seed-font-weight-bold);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.naver-selected-stop { width: 30px; height: 30px; display: grid; place-items: center; pointer-events: none; border: 3px solid white; border-radius: 50%; background: rgba(8, 122, 80, .22); box-shadow: 0 0 0 4px rgba(8, 122, 80, .16), 0 5px 13px rgba(20, 50, 36, .28); }
.naver-selected-stop::after { content: ''; width: 10px; height: 10px; border: 2px solid white; border-radius: 50%; background: var(--green); }
.naver-user-location { width: 22px; height: 22px; display: block; pointer-events: none; border: 4px solid white; border-radius: 50%; background: #1684ff; box-shadow: 0 0 0 7px rgba(22, 132, 255, .2), 0 3px 10px rgba(20, 50, 80, .3); }
@media (max-width: 720px) {
.route-detail-heading { padding: 12px 12px 12px; }
.route-detail-heading :is(h1, h2) { font-size: var(--seed-font-size-t8); letter-spacing: -.02em; }
.route-stop-list { padding: 0 8px 12px; }
.route-stop-button { min-height: 58px; grid-template-columns: 62px minmax(0, 1fr) auto; padding: 6px 4px 6px 0; }
.route-stop-button.long-gap { margin-top: 24px; }
.route-stop-button.long-gap::before { top: -22px; }
.route-stop-gap-label { top: -17px; }
.route-stop-button.non-stopping { min-height: 32px; }
.route-stop-button::before { left: 50px; }
.route-stop-copy strong { font-size: var(--seed-font-size-t4); }
.app-header { position: absolute; z-index: 4; top: 8px; right: 8px; left: 8px; min-height: 0; padding: 0; pointer-events: none; }
.eyebrow { display: none; }
.app-header h1, .app-header .app-title { color: var(--seed-color-fg-neutral-subtle); font-family: inherit; font-size: var(--seed-font-size-t2); letter-spacing: -.02em; }
.search-section {
    position: fixed;
    z-index: 35;
    top: max(8px, env(safe-area-inset-top));
    right: 8px;
    left: 8px;
    min-width: 0;
    padding: 0;
    border-bottom: 0;
  }
.search-form { padding-inline: 12px 4px; box-shadow: var(--shadow); }
.search-icon { display: none; }
.search-feedback { display: none; }
.search-results {
    position: absolute;
    top: 48px;
    right: 0;
    left: 0;
    max-height: calc(100dvh - 72px);
    margin: 0;
    padding: 8px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--seed-color-stroke-neutral-muted);
    border-radius: 12px;
    background: var(--panel);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
  }
.search-result { min-height: 46px; gap: 2px 8px; padding: 8px; }
.search-result-name { font-size: var(--seed-font-size-t3); }
.search-result-count, .search-result-meta { font-size: var(--seed-font-size-t2); }
.home-card { gap: 2px; padding: 8px 12px 12px; }
.home-card-icon { width: 28px; height: 28px; }
.home-card-name { font-size: var(--seed-font-size-t4); }
.home-card-note { font-size: var(--seed-font-size-t3); }
.pick-recent > .seat-time { margin: 0 -8px; padding: 8px; gap: 4px; }
.pick-recent > .seat-time .seat-time-ticks { display: none; }
.pick-recent > .seat-time .seat-time-row { row-gap: 0; }
.detail-heading { gap: 6px; }
.detail-heading h1, .detail-heading h2 { overflow: hidden; margin-bottom: 2px; font-size: var(--seed-font-size-t8); text-overflow: ellipsis; white-space: nowrap; letter-spacing: -.02em; }
.detail-actions { gap: 4px; }
.section-label, .muted { font-size: var(--seed-font-size-t2); }
.icon-button { font-size: var(--seed-font-size-t5); }
.segmented-control { padding: 2px; border-radius: 8px; }
.segmented-control button { padding: 4px 6px; font-size: var(--seed-font-size-t2); }
.route-fit-button { padding: 4px 6px; font-size: var(--seed-font-size-t2); }
.route-plan-form {
    padding: 8px;
    border: 1px solid var(--seed-color-stroke-neutral-muted);
    border-radius: 12px;
    background: var(--panel);
    box-shadow: var(--shadow);
  }
.route-plan-form .route-plan-suggestions { padding: 0; border: 0; background: transparent; }
.route-plan-suggestions { max-height: min(40vh, 300px); }
.filter-chip { padding: 6px 8px; font-size: var(--dense); }
}
.route-plan-form { display: grid; gap: 8px; }
.route-plan-fields { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 8px; align-items: center; }
.route-plan-field { grid-column: 1; padding-inline: 12px 4px; }
.route-plan-field .seed-text-input__value { min-width: 0; }
.route-plan-dot { flex: 0 0 auto; width: 9px; height: 9px; border-radius: 999px; background: var(--green); }
.route-plan-dot[data-endpoint="to"] { background: transparent; border: 2px solid var(--seed-color-fg-critical); }
.route-plan-dot[data-endpoint="via"] { background: transparent; border: 2px solid var(--ink-muted); }
.route-plan-vias { grid-column: 1; display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.route-plan-via { min-width: 0; }
.route-plan-via .seed-text-input__value::-webkit-search-cancel-button { display: none; appearance: none; }
.route-plan-via-remove {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
@media (hover: hover) {
.route-plan-via-remove:hover { background: var(--seed-color-bg-neutral-weak); color: var(--ink); }
}
.route-plan-fields:has(.route-plan-via) .route-plan-swap { grid-row: 1 / span 3; }
.route-plan-swap {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 32px;
  min-height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: var(--seed-radius-r3);
  background: var(--seed-color-bg-layer-default);
  color: var(--ink-muted);
  cursor: pointer;
}
@media (hover: hover) {
.route-plan-swap:hover { background: var(--seed-color-bg-neutral-weak); }
}
.route-plan-actions { display: flex; align-items: center; gap: 8px; }
.route-plan-time { flex: 0 1 176px; min-width: 160px; padding-inline: 12px; }
.route-plan-actions button[type="submit"] { flex: 1 1 auto; }
.route-plan-close { flex: none; }
@media (hover: hover) {
.route-plan-close:hover { color: var(--ink); }
}
.route-plan-time-label { flex: 0 0 auto; margin-right: 6px; color: var(--muted); font-size: var(--seed-font-size-t2); font-weight: var(--seed-font-weight-bold); }
.route-plan-suggestions {
  display: grid;
  gap: 2px;
  max-height: 300px;
  padding: 4px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: var(--seed-radius-r4);
  background: var(--seed-color-bg-layer-default);
}
.route-plan-suggestion-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px 2px; color: var(--muted); font-size: var(--seed-font-size-t2); font-weight: var(--seed-font-weight-bold); }
.route-plan-suggestion-clear { min-height: 24px; padding: 0 4px; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: var(--seed-font-size-t2); text-decoration: underline; cursor: pointer; }
@media (hover: hover) {
.route-plan-suggestion-clear:hover { color: var(--ink); }
}
.route-plan-suggestion {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 8px;
  min-height: 40px;
  padding: 6px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.route-plan-suggestion[aria-selected="true"] { background: var(--seed-color-bg-brand-weak); }
@media (hover: hover) {
.route-plan-suggestion:hover { background: var(--seed-color-bg-brand-weak); }
}
.route-plan-suggestion:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
.route-plan-suggestion-name { min-width: 0; overflow: hidden; font-size: var(--seed-font-size-t3); font-weight: var(--seed-font-weight-bold); text-overflow: ellipsis; white-space: nowrap; }
.route-plan-suggestion[data-kind="location"] .route-plan-suggestion-name { color: var(--green); }
.route-plan-suggestion-kind { grid-column: 2; grid-row: 1 / span 2; color: var(--muted); font-size: var(--seed-font-size-t2); white-space: nowrap; }
.route-plan-suggestion-meta { grid-column: 1; min-width: 0; overflow: hidden; color: var(--muted); font-size: var(--seed-font-size-t2); text-overflow: ellipsis; white-space: nowrap; }
.route-plan-via-add {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--seed-radius-r3);
  background: transparent;
  color: var(--ink-muted);
  font: inherit;
  font-size: var(--seed-font-size-t2);
  font-weight: var(--seed-font-weight-bold);
  cursor: pointer;
}
@media (hover: hover) {
.route-plan-via-add:hover { background: var(--seed-color-bg-neutral-weak); color: var(--ink); }
}
.segmented-control button:disabled { opacity: .6; cursor: wait; }
.route-plan-feedback { margin: 0 2px; color: var(--seed-color-fg-critical); font-size: var(--seed-font-size-t2); line-height: 1.5; }
.route-plan-feedback:empty { display: none; }
.route-plan-body { margin-top: 4px; }
.routing-notice { margin: 8px 2px; color: var(--muted); font-size: var(--seed-font-size-t3); }
.routing-card { margin: 0 -8px; padding: 12px 8px; border-bottom: 1px solid var(--line); }
.routing-card[data-compact="true"] { margin: 0; padding: 0; }
.routing-card[data-compact="true"]:last-child { border-bottom: 0; }
.routing-fold-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 4px 8px;
  min-height: 24px;
  padding: 8px;
  cursor: pointer;
  list-style: none;
}
.routing-fold-summary::-webkit-details-marker { display: none; }
.routing-fold-summary:focus-visible { outline: none; border-radius: var(--seed-radius-r2); box-shadow: var(--focus-ring); }
.routing-fold-summary .routing-mode-bar { grid-column: 2 / -1; margin: 0; }
.routing-fold-title { min-width: 0; overflow: hidden; color: var(--ink); font-size: var(--seed-font-size-t4); text-overflow: ellipsis; white-space: nowrap; }
.routing-fold-duration { color: var(--ink); font-size: var(--seed-font-size-t4); font-weight: var(--seed-font-weight-bold); font-variant-numeric: tabular-nums; white-space: nowrap; }
.routing-fold-chevron { display: inline-flex; color: var(--muted); transition: transform .15s ease; }
.routing-fold[open] > .routing-fold-summary .routing-fold-chevron { transform: rotate(180deg); }
.routing-fold-body { padding: 0 8px 8px 32px; }
.routing-card[data-active="true"] { background: var(--green-soft); }
.routing-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.routing-duration { margin: 0; font-size: var(--seed-font-size-t6); font-weight: var(--seed-font-weight-bold); }
.routing-recommended {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: var(--seed-font-size-t2);
  font-weight: var(--seed-font-weight-bold);
  white-space: nowrap;
}
.routing-mode-bar { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px 2px; margin: 8px 0 0; }
.routing-mode-bar:empty { display: none; }
.routing-mode-leg { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; flex-basis: 6px; }
.routing-mode-leg[data-mode="walk"], .routing-mode-leg[data-mode="wait"] { min-width: 6px; }
.routing-mode-bar[data-shared-axis="true"] { display: grid; gap: 4px; min-width: 0; }
.routing-mode-track { display: flex; align-items: flex-start; width: calc((100cqw - 22px - 64px - 48px - 6px * 3) * var(--group-bar-ratio)); min-width: 0; }
.routing-mode-track .routing-mode-leg { flex-basis: 0; min-width: 0; container-type: inline-size; }
.routing-mode-track .routing-mode-fill { container-type: inline-size; }
.routing-mode-names { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; }
@container (max-width: 32px) {
.routing-mode-fill [data-axis-minutes="true"] { visibility: hidden; }
}
.routing-mode-via { flex: 0 0 auto; width: 4px; height: 16px; border-radius: 999px; background: var(--ink); }
.routing-mode-fill {
  align-self: stretch;
  height: 16px;
  overflow: hidden;
  border-radius: var(--seed-radius-full);
  background: var(--leg-color, var(--green));
  color: var(--leg-ink, var(--seed-color-palette-static-white));
  font-size: var(--seed-font-size-t2);
  font-weight: var(--seed-font-weight-bold);
  font-variant-numeric: tabular-nums;
  line-height: 16px;
  text-align: center;
  white-space: nowrap;
}
.routing-mode-leg[data-mode="walk"] > .routing-mode-fill {
  height: 4px;
  margin: 6px 0;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 3px, transparent 3px 6px);
}
.routing-mode-leg[data-mode="wait"] > .routing-mode-fill {
  height: 4px;
  margin: 6px 0;
  background: var(--line-strong);
  opacity: .5;
}
.routing-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--seed-color-bg-neutral-weak);
  color: var(--ink);
  font-size: var(--seed-font-size-t2);
  font-weight: var(--seed-font-weight-bold);
  white-space: nowrap;
}
.routing-seat-tail-group { display: inline-flex; align-items: center; white-space: nowrap; }
.routing-seat-tail-group > .routing-badge { position: relative; z-index: 1; }
.routing-seat-tail {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px 0 4px;
  border: 2px solid var(--leg-color, var(--green));
  border-left: 0;
  border-radius: 0 999px 999px 0;
  background: var(--seed-color-bg-layer-default);
  color: var(--seed-color-fg-neutral);
  font-size: var(--seed-font-size-t2);
  font-weight: var(--seed-font-weight-bold);
  font-variant-numeric: tabular-nums;
}
.routing-seat-tail::before {
  content: "";
  position: absolute;
  top: -2px;
  bottom: -2px;
  left: -12px;
  width: 12px;
  border-block: 2px solid var(--leg-color, var(--green));
  background: inherit;
}
.routing-seat-tail[data-low="true"] { color: var(--seed-color-fg-critical); }
.routing-mode-leg[data-mode="seat-wait"] > .routing-mode-fill {
  background: repeating-linear-gradient(135deg, var(--leg-color) 0 2px, transparent 2px 5px);
  box-shadow: inset 0 0 0 1px var(--leg-color);
}
.routing-mode-bar[data-shared-axis="true"] .routing-seat-tail-group { max-width: 100%; overflow: hidden; }
.routing-badge-group { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 100%; }
.routing-route-option { display: inline-flex; align-items: baseline; gap: 4px; }
.routing-route-time, .routing-badge-count { color: var(--muted); font-size: var(--seed-font-size-t2); white-space: nowrap; }
.routing-stop-routes { margin-top: 4px; }
.routing-live { display: grid; gap: 6px; margin: 4px 0 0; padding: 8px; border: 1px solid var(--line); border-radius: 8px; list-style: none; }
.routing-live-row { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; min-width: 0; }
.routing-live-arrivals { display: grid; flex: 1 1 144px; gap: 2px; min-width: 0; }
.routing-live-status { flex: 1 1 144px; color: var(--muted); font-size: var(--seed-font-size-t2); }
button.routing-badge { position: relative; border: 0; font: inherit; font-size: var(--seed-font-size-t2); font-weight: var(--seed-font-weight-bold); cursor: pointer; }
button.routing-badge::after { content: ""; position: absolute; inset: -4px 0; }
@media (hover: hover) {
button.routing-badge:hover { text-decoration: underline; }
}
.routing-badge[data-mode="subway"] { background: var(--leg-color, var(--green)); color: var(--leg-ink, var(--seed-color-palette-static-white)); }
.routing-badge[data-mode="bus"] { background: var(--leg-color, var(--green)); color: var(--leg-ink, var(--seed-color-palette-static-white)); }
.routing-badge[data-mode="walk"] { background: transparent; border: 1px dashed var(--line-strong); color: var(--muted); font-weight: var(--seed-font-weight-regular); }
.routing-badge[data-mode="subway"][data-planned="true"], .routing-mode-leg[data-planned="true"] > .routing-mode-fill {
  background: color-mix(in srgb, var(--leg-color, var(--green)) 18%, var(--panel));
  color: var(--ink);
  outline: 1px dashed var(--leg-color, var(--green));
  outline-offset: -1px;
}
.routing-facts { margin: 8px 0 0; color: var(--muted); font-size: var(--seed-font-size-t2); line-height: 1.5; }
.routing-detail { margin-top: 8px; }
.routing-detail summary { min-height: 24px; display: flex; align-items: center; cursor: pointer; color: var(--muted); font-size: var(--seed-font-size-t2); }
.routing-timeline { margin: 8px 0 0; padding: 0; list-style: none; }
.routing-stop, .routing-leg { display: grid; grid-template-columns: 32px 12px minmax(0, 1fr); column-gap: 8px; }
.routing-timeline[data-clock="false"] > .routing-stop, .routing-timeline[data-clock="false"] > .routing-leg { grid-template-columns: 12px minmax(0, 1fr); }
.routing-stop-time { padding-top: 2px; color: var(--muted); font-size: var(--seed-font-size-t2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.routing-stop-rail { display: flex; flex-direction: column; align-items: center; }
.routing-stop-rail::before, .routing-stop-rail::after { content: ""; width: 0; border-left: 4px solid var(--rail-in, var(--green)); }
.routing-stop-rail::before { height: 4px; }
.routing-stop-rail::after { flex: 1; border-left-color: var(--rail-out, var(--green)); }
.routing-stop[data-into="walk"] > .routing-stop-rail::before { border-left: 3px dotted var(--line-strong); }
.routing-stop[data-out="walk"] > .routing-stop-rail::after { border-left: 3px dotted var(--line-strong); }
.routing-stop[data-into="none"] > .routing-stop-rail::before, .routing-stop[data-out="none"] > .routing-stop-rail::after { border-left-color: transparent; }
.routing-stop-dot {
  flex: none;
  box-sizing: border-box;
  width: 12px;
  height: 12px;
  border: 3px solid var(--stop-color, var(--line-strong));
  border-radius: var(--seed-radius-full);
  background: var(--panel);
}
.routing-stop[data-role="via"] > .routing-stop-rail > .routing-stop-dot { border-color: var(--ink); background: var(--ink); }
.routing-stop-body { min-width: 0; padding-bottom: 2px; }
.routing-stop-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 6px;
  margin: 0;
  color: var(--ink);
  font-size: var(--seed-font-size-t4);
  font-weight: var(--seed-font-weight-bold);
  line-height: 1.4;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.routing-stop-note { margin: 2px 0 0; color: var(--muted); font-size: var(--seed-font-size-t2); font-variant-numeric: tabular-nums; }
.routing-leg-rail { justify-self: center; width: 0; border-left: 4px solid var(--leg-color, var(--green)); }
.routing-timeline[data-clock="true"] .routing-leg-rail { grid-column: 2; }
.routing-leg[data-planned="true"] > .routing-leg-rail { border-left-style: dashed; }
.routing-leg[data-mode="walk"] > .routing-leg-rail { border-left: 3px dotted var(--line-strong); }
.routing-leg[data-mode="seat-wait"] > .routing-leg-rail {
  width: 4px;
  border-left: 0;
  background: repeating-linear-gradient(180deg, var(--leg-color) 0 3px, transparent 3px 6px);
}
.routing-leg[data-mode="seat-wait"] .routing-leg-time { display: flex; align-items: center; gap: 4px; }
.routing-leg[data-mode="seat-wait"][data-low="true"] .routing-leg-time { color: var(--seed-color-fg-critical); }
.routing-leg-body { min-width: 0; padding: 8px 0 12px; }
.routing-leg-time { margin: 0; color: var(--muted); font-size: var(--seed-font-size-t3); font-variant-numeric: tabular-nums; }
.routing-leg-note { margin: 2px 0 0; color: var(--muted); font-size: var(--seed-font-size-t2); font-variant-numeric: tabular-nums; }
.routing-transfer { display: flex; align-items: baseline; gap: 8px; margin: 2px 0 0; font-size: var(--seed-font-size-t2); }
.routing-transfer-kind { color: var(--muted); }
.route-fit-button { min-height: 24px; }
@media (prefers-reduced-motion: reduce) {
.routing-fold-chevron { transition: none; }
}
.seat-chart { position: relative; isolation: isolate; display: flex; align-items: flex-end; gap: 2px; height: 92px; margin-bottom: 16px; padding: 0 0 0 24px; touch-action: pan-y; }
.seat-chart-guides { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.seat-chart-guide {
  position: absolute; left: 24px; right: 0; bottom: var(--seat-guide, 50%);
  border-top: 1px dashed color-mix(in srgb, var(--ink) 45%, transparent);
}
.seat-chart-guide small {
  position: absolute; right: calc(100% + 4px); bottom: 0; transform: translateY(50%);
  color: var(--muted); font-size: var(--dense); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.seat-chart-readout {
  min-height: 20px; margin: 0 0 8px;
  font-size: var(--seed-font-size-t3); line-height: 1.35;
}
.seat-chart-readout strong { color: var(--ink); font-size: var(--seed-font-size-t3); }
.seat-nav { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 2px 8px; margin: 0 0 12px; }
.seat-nav-step { position: relative; width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--seed-color-bg-layer-default); cursor: pointer; }
.seat-nav-step::after { content: ''; position: absolute; inset: -6px; }
@media (hover: hover) {
.seat-nav-step:hover:not(:disabled) { background: var(--seed-color-bg-neutral-weak); }
}
.seat-nav-step:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.seat-nav-step:disabled { color: var(--seed-color-fg-disabled); cursor: default; }
.seat-nav-track { position: relative; display: flex; height: 24px; overflow: hidden; border-radius: 4px; background: var(--seed-color-bg-neutral-weak); cursor: pointer; touch-action: none; }
.seat-nav-track:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.seat-nav-cell { flex: 1 1 0; min-width: 0; }
.seat-nav-cell[data-level="high"] { background: var(--seed-color-bg-positive-solid); }
.seat-nav-cell[data-level="medium"] { background: var(--seed-color-bg-warning-solid); }
.seat-nav-cell[data-level="low"] { background: var(--seed-color-bg-critical-solid); }
.seat-nav-cell[data-level="pending"] { background: var(--line-strong); }
.seat-nav-window {
  position: absolute; top: 0; bottom: 0; left: var(--seat-window-left, 0%); width: var(--seat-window-width, 12.5%);
  border: 2px solid var(--ink); border-radius: 4px; pointer-events: none;
  box-shadow: 0 0 0 999px color-mix(in srgb, var(--panel) 55%, transparent);
}
.seat-nav-ticks { grid-column: 2; position: relative; display: block; height: 16px; color: var(--muted); font-size: var(--seed-font-size-t2); font-variant-numeric: tabular-nums; }
.seat-nav-ticks span { position: absolute; top: 0; left: var(--seat-tick-left); transform: translateX(-50%); white-space: nowrap; }
.seat-chart-column.seat-chart-pointed .seat-chart-bar { outline: 1px solid var(--ink); outline-offset: 1px; }
.seat-chart-column.seat-chart-chosen { border-radius: 2px; background: var(--seed-color-bg-brand-weak); }
.seat-chart-column {
  position: relative; display: flex; flex: var(--seat-span, 1) 1 0; flex-direction: column; justify-content: flex-end;
  height: 100%; min-width: 0;
}
.seat-chart-column small {
  position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%);
  font-size: var(--dense); color: var(--muted); line-height: 1;
}
.seat-chart-bar {
  display: block; width: 100%; height: var(--seat-fill, 0%); min-height: 2px;
  border-radius: 2px 2px 0 0; background: var(--line-strong);
}
.seat-chart-column.high .seat-chart-bar { background: var(--seed-color-bg-positive-solid); }
.seat-chart-column.medium .seat-chart-bar { background: var(--seed-color-bg-warning-solid); }
.seat-chart-column.low .seat-chart-bar { background: var(--seed-color-bg-critical-solid); }
.seat-chart-column.pending .seat-chart-bar {
  height: 10px; border-radius: 2px;
  background: repeating-linear-gradient(
    135deg, var(--line-strong), var(--line-strong) 2px, transparent 2px, transparent 5px
  );
}
.seat-chart-column.provisional .seat-chart-bar { background-image: repeating-linear-gradient(135deg, transparent 0 3px, rgb(255 255 255 / .6) 3px 5px); }
:root[data-theme="dark"] .seat-chart-column.provisional .seat-chart-bar { background-image: repeating-linear-gradient(135deg, transparent 0 3px, rgb(0 0 0 / .45) 3px 5px); }
.seat-chart-column.empty .seat-chart-bar { height: 2px; background: var(--line); }
.home-card-note { text-wrap: pretty; }
.panel-trail { display: inline-flex; align-items: center; min-height: 24px; max-width: 100%; gap: 2px; margin: 0 0 2px; padding: 0; border: 0; color: var(--muted); background: transparent; font: inherit; font-size: var(--seed-font-size-t2); text-decoration: underline; cursor: pointer; }
.panel-trail span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (hover: hover) {
.panel-trail:hover { color: var(--ink); }
}
.icon-button[data-panel-dismiss] { position: relative; }
.icon-button[data-panel-dismiss]::after { content: ''; position: absolute; width: max(100%, 44px); height: max(100%, 44px); left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 999px; }
.routing-progress { display: grid; gap: 12px; margin-bottom: 12px; }
.routing-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.routing-step { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: var(--seed-font-size-t2); }
.routing-step[data-state="done"] .icon { color: var(--green); }
.routing-step[data-state="active"] { color: var(--ink); font-weight: var(--seed-font-weight-bold); }
.routing-step-dot { width: 8px; height: 8px; border: 2px solid var(--line-strong); border-radius: 999px; }
.routing-step[data-state="active"] .routing-step-dot { border-color: var(--green); background: var(--green); }
.routing-slow { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: var(--seed-font-size-t2); }
.routing-slow-cancel { min-height: 44px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--seed-color-bg-layer-default); color: var(--ink); font: inherit; font-size: var(--seed-font-size-t3); cursor: pointer; }
.routing-skeleton { display: grid; gap: 8px; }
.routing-skeleton-card { display: grid; gap: 8px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; }
.routing-skeleton-card > span { display: block; border-radius: 4px; background: var(--seed-color-bg-neutral-weak); }
.routing-skeleton-title { width: 48px; height: 24px; }
.routing-skeleton-bar { width: 100%; height: 16px; }
.routing-skeleton-meta { width: 72%; height: 12px; }
.routing-skeleton[data-kind="station"] .routing-skeleton-title { width: 40%; }
.routing-skeleton[data-kind="station"] .routing-skeleton-bar { height: 32px; border-radius: 8px; }
.routing-input-summary { display: flex; align-items: center; width: 100%; min-height: 56px; gap: 12px; padding: 8px 8px 8px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
.routing-input-summary-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.routing-input-summary-title { display: flex; align-items: center; min-width: 0; gap: 6px; font-size: var(--seed-font-size-t5); font-weight: var(--seed-font-weight-bold); line-height: 1.35; }
.routing-input-summary-title .icon { flex: none; color: var(--muted); }
.routing-input-summary-name { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.routing-input-summary-meta { color: var(--muted); font-size: var(--seed-font-size-t2); font-variant-numeric: tabular-nums; }
.routing-input-summary-edit { flex: none; display: inline-flex; align-items: center; min-height: 32px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--seed-font-size-t3); font-weight: var(--seed-font-weight-bold); }
.routing-input-summary:focus-visible { outline: none; box-shadow: var(--focus-ring); }
@media (max-width: 720px) {
.routing-input-summary { box-shadow: var(--shadow); }
}
