:root {
  --bg: #f4f6f8; --card: #ffffff; --text: #15202b; --muted: #4a5866;
  --line: #dce2e8; --accent: #0b5cad; --accent-ink: #ffffff; --dark: #15202b; --dark-ink: #ffffff; --dark-muted: #d5dde5;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1419; --card: #1a2129; --text: #e7edf3; --muted: #a9b6c3;
    --line: #2c3742; --accent: #5aa2ea; --accent-ink: #0f1419; --dark: #e7edf3; --dark-ink: #0f1419; --dark-muted: #2c3742;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: system-ui, "Segoe UI", Arial, sans-serif; line-height: 1.6; }
a { color: var(--accent); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.top { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.top .wrap { padding-top: 10px; padding-bottom: 10px; display: flex; align-items: center; gap: 12px; }
.find { position: relative; flex: 1; }
.find input { width: 100%; font: inherit; font-size: 16px; padding: 8px 12px; min-height: 44px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--text); }
.find-results { position: absolute; inset-inline: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: 12px; max-height: 60vh; overflow-y: auto; }
.find-results button { width: 100%; text-align: start; font: inherit; font-size: 15px; padding: 10px; min-height: 44px; border: 0; border-radius: 8px; background: transparent; color: var(--text); cursor: pointer; }
.find-results button:hover, .find-results button:focus { background: var(--bg); }
.find-results .none { padding: 10px; color: var(--muted); font-size: 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
main li, main section[id] > h2, .qa h3 { scroll-margin-top: 80px; }
.hit { background: var(--bg); outline: 2px solid var(--accent); border-radius: 6px; }
.brand { font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
main { display: flex; flex-direction: column; gap: 16px; padding-top: 16px; padding-bottom: 32px; }
.crumbs { font-size: 14px; color: var(--muted); }
.card { background: var(--card); border-radius: 16px; padding: 20px; }
.card h1 { margin: 0; font-size: 24px; line-height: 1.3; }
.card h2 { margin: 0 0 12px; font-size: 18px; }
.card h3 { margin: 12px 0 6px; font-size: 15px; }
.muted { color: var(--muted); font-size: 14px; margin: 4px 0 0; }
.hero { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.badge { background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 30px; border-radius: 12px; min-width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; padding: 0 10px; }
.mini { display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 700; border-radius: 6px; padding: 0 8px; margin-inline-end: 6px; }
.route, .lines { list-style: none; margin: 0; padding: 0; }
.route li, .lines li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.route li:last-child, .lines li:last-child { border-bottom: 0; }
.route a, .lines a { text-decoration: none; color: var(--text); }
.route .stop { display: flex; align-items: baseline; gap: 10px; }
.route .num { min-width: 28px; height: 28px; border-radius: 999px; border: 2px solid var(--accent); color: var(--accent); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.times { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.times li { border: 1px solid var(--line); border-radius: 8px; padding: 2px 8px; font-size: 14px; font-variant-numeric: tabular-nums; }
.card h4 { margin: 10px 0 6px; font-size: 14px; color: var(--muted); }
.jumps { margin: 8px 0 0; font-size: 14px; }
.sv-btn, .btn { font: inherit; font-size: 15px; padding: 10px 16px; min-height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer;  display: inline-block; text-decoration: none; }
.sv { width: 100%; height: 280px; border: 0; border-radius: 12px; }
.qa h3 { margin: 12px 0 2px; }
.qa p { margin: 0; color: var(--muted); }
.cta { background: var(--dark); color: var(--dark-ink); border-radius: 16px; padding: 24px; }
.cta h2 { margin: 0 0 8px; font-size: 20px; }
.cta p { margin: 0 0 16px; color: var(--dark-muted); }
.cta-btn { display: inline-block; background: var(--card); color: var(--text); font-weight: 700; text-decoration: none; padding: 12px 20px; border-radius: 999px; min-height: 44px; }
.foot { font-size: 13px; color: var(--muted); padding-bottom: 32px; }
