:root {
  color-scheme: light;
  --ink: #15243a;
  --muted: #66758a;
  --line: #e4eaf1;
  --paper: #ffffff;
  --canvas: #f6f8fb;
  --navy: #102642;
  --navy-2: #183658;
  --orange: #ee7426;
  --orange-dark: #ce5411;
  --green: #178269;
  --shadow: 0 18px 50px rgba(25, 44, 70, .10);
  font-family: "DM Sans", system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 20; padding: 12px 16px; border-radius: 10px; background: white; color: var(--ink); }
.skip-link:focus { left: 8px; }
.site-header { position: sticky; top: 0; z-index: 10; height: 76px; border-bottom: 1px solid rgba(218, 226, 236, .82); background: rgba(255,255,255,.94); backdrop-filter: blur(18px); }
.header-inner { width: min(1220px, calc(100% - 48px)); height: 100%; margin: auto; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: Manrope, sans-serif; font-size: 22px; font-weight: 800; letter-spacing: -.8px; color: var(--navy); white-space: nowrap; }
.brand-accent { color: var(--orange); }
.brand-mark { position: relative; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; gap: 3px; transform: rotate(-18deg); }
.brand-mark::before { position: absolute; content: ""; width: 27px; height: 16px; border: 2px solid var(--orange); border-left-color: transparent; border-right-color: transparent; border-radius: 50%; }
.brand-mark i { width: 3px; height: 10px; border-radius: 3px; background: var(--navy); z-index: 1; }
.main-nav { display: flex; align-items: center; height: 100%; gap: 30px; margin-left: auto; }
.main-nav a { position: relative; display: flex; align-items: center; height: 100%; color: #66758a; font-size: 13px; font-weight: 600; text-decoration: none; transition: color .15s ease; }
.main-nav a:hover, .main-nav .nav-active { color: var(--navy); }
.main-nav .nav-active::after { position: absolute; content: ""; height: 3px; left: 0; right: 0; bottom: -1px; border-radius: 3px 3px 0 0; background: var(--orange); }
.official-link { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #dce4ed; border-radius: 9px; padding: 10px 13px; color: var(--navy); font-size: 12px; font-weight: 700; text-decoration: none; background: white; transition: .2s ease; }
.official-link:hover { border-color: #f2c8ad; color: var(--orange-dark); box-shadow: 0 5px 15px rgba(206,84,17,.08); }
.menu-toggle { display: none; border: 0; background: transparent; width: 40px; height: 40px; }
.menu-toggle span { display: block; width: 21px; height: 2px; margin: 5px auto; border-radius: 3px; background: var(--navy); }
.hero { position: relative; overflow: hidden; padding: 74px 24px 26px; color: white; background: radial-gradient(ellipse at 84% 11%, rgba(59,102,145,.38), transparent 28%), linear-gradient(120deg, #10243d 0%, #163553 58%, #1a3b58 100%); }
.hero::before { position: absolute; content: ""; inset: 0; opacity: .15; background-image: linear-gradient(35deg, transparent 44%, rgba(255,255,255,.16) 44.2%, transparent 44.5%), linear-gradient(145deg, transparent 53%, rgba(255,255,255,.12) 53.2%, transparent 53.5%); background-size: 500px 350px, 640px 400px; pointer-events: none; }
.hero-grid { position: absolute; top: -85px; right: -115px; width: 600px; height: 600px; border: 1px solid rgba(255,255,255,.06); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.018), 0 0 0 95px rgba(255,255,255,.014), 0 0 0 145px rgba(255,255,255,.012); }
.hero-inner { position: relative; width: min(1220px, 100%); margin: auto; display: grid; grid-template-columns: minmax(310px, .88fr) minmax(560px, 1.12fr); gap: clamp(38px, 6vw, 90px); align-items: center; }
.hero-copy { max-width: 475px; padding-bottom: 25px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 23px; border: 1px solid rgba(255,255,255,.18); border-radius: 100px; padding: 7px 12px; background: rgba(255,255,255,.065); color: #d7e5f2; font-size: 11px; font-weight: 700; letter-spacing: .25px; }
.pulse-dot, .mini-live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #65d7ae; box-shadow: 0 0 0 4px rgba(101,215,174,.13); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin-bottom: 18px; font-family: Manrope, sans-serif; font-size: clamp(38px, 4vw, 55px); line-height: 1.12; letter-spacing: -2.25px; font-weight: 800; }
.hero h1 em { color: #ffb878; font-style: normal; }
.hero-lede { max-width: 440px; margin-bottom: 27px; color: #c8d6e4; font-size: 15px; line-height: 1.7; }
.hero-trust { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: #d7e2ed; font-size: 10px; font-weight: 600; }
.trust-icon { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: -4px; border-radius: 50%; color: #133851; background: #ffbd7b; font-size: 10px; font-weight: 900; }
.trust-separator { color: #7f99b2; }
.search-card { overflow: hidden; border: 1px solid rgba(228,234,241,.7); border-radius: 17px; background: var(--paper); box-shadow: 0 24px 60px rgba(3, 14, 27, .3); color: var(--ink); }
.search-tabs { display: flex; align-items: stretch; min-height: 62px; padding: 0 20px; border-bottom: 1px solid #e9edf2; gap: 25px; }
.search-tab { position: relative; display: inline-flex; align-items: center; gap: 8px; border: 0; padding: 0 3px; color: #748197; background: transparent; font-size: 12px; font-weight: 700; white-space: nowrap; }
.search-tab:hover { color: var(--navy); }
.search-tab.active { color: var(--navy); }
.search-tab.active::after { position: absolute; content: ""; height: 3px; right: 0; bottom: -1px; left: 0; border-radius: 3px 3px 0 0; background: var(--orange); }
.tab-icon { color: var(--orange); font-size: 15px; }
.search-panel { padding: 24px 25px 0; }
.search-panel[hidden] { display: none; }
.panel-heading h2 { margin-bottom: 5px; color: var(--navy); font-family: Manrope, sans-serif; font-size: 19px; letter-spacing: -.55px; }
.panel-heading p { margin-bottom: 18px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.search-form { display: grid; grid-template-columns: minmax(150px, 1.18fr) minmax(155px, 1fr) 145px; align-items: end; gap: 12px; }
.route-form { grid-template-columns: minmax(0,1fr) 30px minmax(0,1fr) 140px; }
.simple-search-form { grid-template-columns: minmax(180px,1fr) 145px; }
.field { display: flex; min-width: 0; flex-direction: column; gap: 7px; color: #3f4d60; font-size: 10px; font-weight: 700; }
.station-field { min-width: 0; }
.station-autocomplete { position: relative; display: block; width: 100%; }
.suggestion-list { position: absolute; z-index: 15; top: calc(100% + 5px); right: 0; left: 0; overflow: auto; max-height: 260px; border: 1px solid #dce3eb; border-radius: 9px; padding: 4px; background: #fff; box-shadow: 0 12px 28px rgba(22,48,78,.14); }
.suggestion-list[hidden] { display: none; }
.suggestion-option { display: flex; width: 100%; flex-direction: column; align-items: flex-start; border: 0; border-radius: 6px; padding: 9px 10px; color: var(--navy); background: transparent; cursor: pointer; text-align: left; }
.suggestion-option:hover, .suggestion-option:focus-visible { outline: 0; background: #fff3ea; }
.suggestion-option span { font-size: 11px; font-weight: 700; }
.suggestion-option small { margin-top: 3px; color: #8793a3; font-size: 9px; font-weight: 500; }
.form-message { margin: 10px 0 0; color: #aa5724; font-size: 10px; }
.form-message[hidden] { display: none; }
.input-wrap { display: flex; align-items: center; min-width: 0; height: 45px; border: 1px solid #dce3eb; border-radius: 8px; padding: 0 12px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.input-wrap:focus-within { border-color: #e59156; box-shadow: 0 0 0 3px rgba(238,116,38,.1); }
.input-wrap input { min-width: 0; width: 100%; border: 0; outline: 0; color: var(--navy); background: transparent; font-size: 12px; font-weight: 600; }
.input-wrap input::placeholder { color: #9aa6b5; font-weight: 400; }
.input-symbol { flex: 0 0 auto; margin-right: 9px; color: #9aa6b5; font-size: 14px; }
.field small { color: #98a3b0; font-size: 9px; font-weight: 500; }
.primary-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; height: 45px; border: 0; border-radius: 8px; padding: 0 14px; color: white; background: linear-gradient(120deg, #ed792b, #e8651d); box-shadow: 0 5px 12px rgba(232,101,29,.2); font-size: 11px; font-weight: 700; transition: transform .15s, box-shadow .15s, opacity .15s; }
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(232,101,29,.25); }
.primary-button:disabled { cursor: wait; opacity: .7; }
.external-action { width: min(100%, 360px); text-decoration: none; }
.search-foot { display: flex; align-items: center; min-height: 46px; margin-top: 21px; border-top: 1px solid #edf0f4; color: #8592a3; font-size: 9px; gap: 6px; }
.search-foot a { color: var(--orange-dark); font-weight: 700; text-decoration: none; }
.search-foot a:hover { text-decoration: underline; }
.search-foot-right { margin-left: auto; }
.secure-icon { color: var(--green); font-size: 13px; }
.swap-button { align-self: end; width: 30px; height: 45px; border: 0; color: var(--orange); background: transparent; font-size: 19px; cursor: pointer; }
.status-output { margin-top: 17px; }
.result-message { display: flex; gap: 12px; border: 1px solid #d8e4ef; border-radius: 10px; padding: 14px; background: #f8fbfe; color: var(--navy); }
.result-message.error { border-color: #f3d5c6; background: #fff9f5; }
.message-icon { display: inline-grid; place-items: center; flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; color: white; background: #6486a3; font-size: 12px; font-weight: 800; }
.result-message.error .message-icon { background: var(--orange); }
.result-message b { display: block; margin-bottom: 4px; font-size: 12px; }
.result-message p { margin-bottom: 7px; color: #6d7b8e; font-size: 10px; line-height: 1.5; }
.result-message a { color: var(--orange-dark); font-size: 10px; font-weight: 700; text-decoration: none; }
.loading-message { display: flex; align-items: center; gap: 10px; padding: 15px 3px; color: #728198; font-size: 11px; }
.loading-spinner { width: 17px; height: 17px; border: 2px solid #e8c2a8; border-top-color: var(--orange); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.live-result { overflow: hidden; border: 1px solid #e1e7ee; border-radius: 11px; background: #fff; }
.result-topline { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #edf0f4; padding: 11px 14px; }
.result-live { display: flex; align-items: center; gap: 8px; color: #14775f; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.result-source { color: #99a4b2; font-size: 9px; }
.result-title-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px; }
.result-overline { margin: 0 0 5px; color: #8591a2; font-size: 9px; }
.result-title-row h3 { margin: 0; color: var(--navy); font-family: Manrope, sans-serif; font-size: 15px; }
.result-title-row h3 span { color: var(--orange); }
.delay-pill { border-radius: 30px; padding: 7px 10px; color: #188165; background: #e9f7f2; font-size: 9px; font-weight: 800; white-space: nowrap; }
.delay-pill.late { color: #ab5b19; background: #fff1e5; }
.current-location { display: flex; align-items: center; gap: 10px; margin: 0 14px; border-radius: 9px; padding: 11px; background: #f5f8fb; }
.location-pin { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 8px; color: var(--orange); background: #fff0e4; font-size: 17px; }
.current-location small { display: block; margin-bottom: 3px; color: #8793a3; font-size: 8px; }
.current-location b { display: block; color: var(--navy); font-size: 10px; }
.freshness { margin-left: auto; padding-left: 10px; text-align: right; }
.next-halt { padding: 11px 15px 4px; color: #8491a2; font-size: 9px; }
.next-halt b { margin-left: 4px; color: var(--navy); }
.route-details { margin: 7px 14px; border-top: 1px solid #edf0f4; }
.route-details summary { padding: 11px 0 5px; color: var(--navy); cursor: pointer; font-size: 10px; font-weight: 700; }
.result-route { list-style: none; margin: 7px 0 0; padding: 0 0 0 4px; }
.result-stop { position: relative; display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: 9px; min-height: 36px; padding: 3px 0; }
.result-stop:not(:last-child)::after { position: absolute; content: ""; top: 23px; left: 5px; width: 1px; height: 19px; background: #dce4ec; }
.result-stop-mark { width: 11px; height: 11px; border: 2px solid #aebbc9; border-radius: 50%; background: white; }
.result-stop.departed .result-stop-mark { border-color: #4f9b85; background: #4f9b85; }
.result-stop.current .result-stop-mark { border-color: var(--orange); box-shadow: 0 0 0 3px #fff0e4; }
.result-stop b, .result-stop small { display: block; }
.result-stop b { color: #3d4b5e; font-size: 9px; }
.result-stop small { margin-top: 2px; color: #9aa4b2; font-size: 8px; }
.stop-time { color: #68778a; font-size: 8px; }
.result-footer { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #edf0f4; padding: 10px 14px; color: #8793a3; font-size: 8px; }
.result-footer a { flex: 0 0 auto; color: var(--orange-dark); font-weight: 700; text-decoration: none; }
.hero-bottom { position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; width: min(1220px, 100%); margin: 38px auto 0; color: #8ca2b7; font-size: 9px; letter-spacing: .25px; }
.hero-bottom-line { width: 35px; height: 1px; background: rgba(255,255,255,.2); }
.content-width { width: min(1180px, calc(100% - 48px)); margin-right: auto; margin-left: auto; }
.quick-tools { padding-top: 66px; padding-bottom: 66px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }
.section-kicker { margin-bottom: 8px; color: var(--orange-dark); font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.section-description { margin: 10px 0 0; color: #738195; font-size: 12px; line-height: 1.6; }
.section-heading h2, .explainer-copy h2 { margin: 0; color: var(--navy); font-family: Manrope, sans-serif; font-size: clamp(23px, 3vw, 30px); line-height: 1.2; letter-spacing: -1px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--orange-dark); font-size: 11px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }
.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tool-card { position: relative; display: flex; min-height: 196px; flex-direction: column; align-items: flex-start; border: 1px solid #e4e9ef; border-radius: 13px; padding: 19px; background: white; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.tool-card:hover { transform: translateY(-3px); border-color: #f1c8ae; box-shadow: 0 12px 28px rgba(22,48,78,.08); }
.tool-card-featured { border-color: #f0cfb8; background: linear-gradient(150deg, #fff 30%, #fff7f1); }
.tool-icon { display: grid; place-items: center; width: 37px; height: 37px; margin-bottom: 17px; border-radius: 10px; font-size: 17px; font-weight: 700; }
.tool-icon.orange { color: #d65f1a; background: #fff0e4; }
.tool-icon.blue { color: #386fa9; background: #eaf2fb; }
.tool-icon.green { color: #25846e; background: #e9f6f1; }
.tool-icon.violet { color: #6d62a7; background: #f0eefb; }
.tool-title { margin-bottom: 7px; color: var(--navy); font-family: Manrope, sans-serif; font-size: 12px; font-weight: 800; }
.tool-desc { max-width: 220px; margin-bottom: auto; color: #7a8798; font-size: 10px; line-height: 1.55; }
.tool-arrow { position: absolute; top: 20px; right: 18px; color: #b1bdc9; font-size: 15px; }
.tool-tag { display: inline-flex; align-items: center; margin-top: 15px; border-radius: 30px; padding: 5px 8px; color: #a7531d; background: #fff0e4; font-size: 8px; font-weight: 800; }
.muted-tag { color: #7f8b9c; background: #f1f4f7; }
.status-explainer { padding-bottom: 52px; }
.explainer-card { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 45px; border: 1px solid #e4e9ef; border-radius: 16px; padding: 35px 39px; background: #fff; }
.explainer-copy h2 { max-width: 420px; margin-bottom: 14px; }
.explainer-copy p { max-width: 470px; margin-bottom: 17px; color: #738195; font-size: 12px; line-height: 1.8; }
.update-visual { border: 1px solid #e4eaf0; border-radius: 13px; padding: 20px; background: linear-gradient(145deg, #f9fbfd, #f1f5f8); }
.visual-topline { display: flex; justify-content: space-between; color: #94a0ae; font-size: 8px; font-weight: 800; letter-spacing: .5px; }
.visual-topline span:first-child { display: inline-flex; align-items: center; gap: 8px; color: #547064; }
.mini-live { width: 6px; height: 6px; box-shadow: 0 0 0 3px rgba(101,215,174,.13); }
.visual-route { padding: 29px 5px 18px; }
.route-stops { display: flex; align-items: center; padding: 0 12px; }
.stop { flex: 0 0 auto; width: 13px; height: 13px; border: 2px solid #c2cbd4; border-radius: 50%; background: #fff; }
.stop.done { border-color: #4a9a81; background: #4a9a81; }
.stop.current { border-color: var(--orange); box-shadow: 0 0 0 4px #fff0e5; }
.route-line { flex: 1; height: 2px; background: #dce3ea; }
.route-line.done-line { background: #75b49f; }
.station-labels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 11px; }
.station-labels div:nth-child(2) { text-align: center; }
.station-labels div:nth-child(3) { text-align: right; }
.station-labels b, .station-labels small { display: block; }
.station-labels b { color: #546174; font-size: 9px; }
.station-labels small { margin-top: 3px; color: #9ca7b5; font-size: 8px; }
.visual-note { display: flex; align-items: flex-start; gap: 9px; border-radius: 8px; padding: 11px; color: #758296; background: #fff; font-size: 9px; line-height: 1.5; }
.note-icon { display: grid; place-items: center; flex: 0 0 15px; height: 15px; border-radius: 50%; color: #fff; background: #8799aa; font-size: 9px; font-weight: 800; }
.trust-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; padding-top: 4px; padding-bottom: 64px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item-icon { display: grid; place-items: center; flex: 0 0 37px; height: 37px; border-radius: 10px; color: #cd621f; background: #fff0e5; font-size: 17px; }
.trust-item:nth-child(2) .trust-item-icon { color: #426e9a; background: #eaf2fa; }
.trust-item:nth-child(3) .trust-item-icon { color: #37856f; background: #e9f5f1; }
.trust-item b, .trust-item small { display: block; }
.trust-item b { margin-bottom: 4px; color: var(--navy); font-size: 10px; }
.trust-item small { color: #8793a2; font-size: 9px; line-height: 1.45; }
.site-footer { border-top: 1px solid #e5eaf0; background: #fff; }
.footer-inner { display: flex; width: min(1180px, calc(100% - 48px)); flex-wrap: wrap; align-items: center; gap: 16px 26px; margin: auto; padding: 23px 0 26px; }
.footer-brand { font-size: 17px; }
.footer-brand .brand-mark { transform: scale(.82) rotate(-18deg); margin-right: -3px; }
.footer-inner p { margin: 0 auto 0 0; color: #8490a0; font-size: 9px; }
.footer-links { display: flex; gap: 17px; }
.footer-links a { color: #6c7a8d; font-size: 9px; text-decoration: none; }
.footer-links a:hover { color: var(--orange-dark); }
.footer-inner > small { width: 100%; color: #9aa4b1; font-size: 8px; line-height: 1.5; }
.footer-inner > .copyright { width: auto; margin-left: auto; }

/* Server-rendered timetable, station and route pages. */
.data-page { min-height: calc(100vh - 190px); padding: 28px 0 72px; }
.data-page > * { width: min(1180px, calc(100% - 48px)); margin-right: auto; margin-left: auto; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 24px; color: #8b97a6; font-size: 11px; }
.breadcrumbs a { color: #60738b; text-decoration: none; }
.breadcrumbs a:hover { color: var(--orange-dark); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: #48586d; font-weight: 700; }
.page-hero { border: 1px solid #e4e9ef; border-radius: 16px; padding: 32px 36px; background: linear-gradient(120deg, #fff, #fffaf6); }
.page-hero h1 { max-width: 950px; margin-bottom: 11px; color: var(--navy); font-family: Manrope, sans-serif; font-size: clamp(30px, 4vw, 44px); line-height: 1.15; letter-spacing: -1.6px; }
.page-hero p { max-width: 820px; margin: 0; color: #65758a; font-size: 14px; line-height: 1.75; }
.snapshot-notice { margin-top: 18px; border: 1px solid #f1d7c4; border-radius: 10px; padding: 13px 16px; color: #76543c; background: #fff8f2; font-size: 11px; line-height: 1.6; }
.snapshot-notice b { color: #9e4d1c; }
.snapshot-notice a { color: var(--orange-dark); font-weight: 700; text-decoration: none; }
.snapshot-notice a:hover { text-decoration: underline; }
.source-note { margin-top: 18px; color: #8793a2; font-size: 10px; line-height: 1.6; }
.directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.directory-card { position: relative; display: flex; min-height: 82px; flex-direction: column; justify-content: center; border: 1px solid #e3e9ef; border-radius: 11px; padding: 15px 44px 15px 17px; background: #fff; text-decoration: none; transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease; }
.directory-card:hover { transform: translateY(-2px); border-color: #efc2a3; box-shadow: 0 8px 20px rgba(22,48,78,.07); }
.directory-card > span { color: var(--navy); font-size: 13px; font-weight: 800; }
.directory-card small { margin-top: 6px; color: #8793a2; font-size: 10px; }
.directory-card b { position: absolute; top: 50%; right: 17px; color: var(--orange); font-size: 19px; transform: translateY(-50%); }
.station-list { overflow: hidden; margin-top: 22px; border: 1px solid #e1e7ee; border-radius: 13px; background: #fff; }
.station-list-row { display: grid; grid-template-columns: minmax(220px, 1.1fr) minmax(210px, 1fr) 20px; align-items: center; gap: 18px; min-height: 65px; border-bottom: 1px solid #edf0f4; padding: 11px 17px; text-decoration: none; }
.station-list-row:last-child { border-bottom: 0; }
.station-list-row:hover { background: #fffaf6; }
.station-list-row > span:first-child b, .station-list-row > span:first-child small { display: block; }
.station-list-row > span:first-child b { color: var(--navy); font-size: 12px; }
.station-list-row > span:first-child small { margin-top: 4px; color: #8c98a7; font-size: 9px; }
.station-list-row > span:nth-child(2) { color: #758296; font-size: 10px; }
.station-list-row > span:last-child { color: var(--orange); font-size: 17px; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 22px; color: #7e8a9a; font-size: 10px; }
.pagination a { border: 1px solid #e0e6ed; border-radius: 7px; padding: 8px 11px; color: var(--navy); background: #fff; font-weight: 700; text-decoration: none; }
.pagination a:hover { border-color: #efc2a3; color: var(--orange-dark); }
.station-facts, .route-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; border: 1px solid #e3e8ee; border-radius: 12px; padding: 17px 19px; background: #fff; }
.station-facts > div, .route-summary > div { display: flex; min-width: 130px; flex: 1 1 130px; flex-direction: column; gap: 6px; }
.station-facts small, .route-summary small { color: #8a96a5; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.station-facts b, .route-summary > div > b { color: var(--navy); font-size: 12px; }
.station-facts a { color: var(--orange-dark); font-size: 10px; font-weight: 700; text-decoration: none; }
.content-section { margin-top: 34px; }
.content-section .section-heading { align-items: flex-end; margin-bottom: 15px; }
.content-section .section-heading h2 { font-size: 24px; }
.table-scroll { overflow: auto; border: 1px solid #e1e7ee; border-radius: 12px; background: #fff; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; }
.data-table th { padding: 12px 14px; color: #758296; background: #f7f9fb; font-size: 9px; font-weight: 800; letter-spacing: .3px; white-space: nowrap; }
.data-table td { border-top: 1px solid #edf0f4; padding: 12px 14px; color: #637186; font-size: 10px; white-space: nowrap; }
.data-table tbody tr:hover { background: #fffaf6; }
.data-table a { color: var(--navy); text-decoration: none; }
.data-table a:hover { color: var(--orange-dark); }
.data-table td a b, .data-table td a small { display: inline-block; }
.data-table td a small { margin-left: 7px; color: #8c98a7; font-size: 9px; }
.route-summary { gap: 20px; padding: 19px 22px; }
.route-summary > div { min-width: 180px; }
.route-summary > div > a { display: flex; flex-direction: column; gap: 4px; color: var(--navy); text-decoration: none; }
.route-summary > div > a b { font-size: 13px; }
.route-summary > div > a span { color: #8793a2; font-size: 9px; }
.route-summary-arrow { color: var(--orange); font-size: 21px; }
.empty-state { border: 1px dashed #d9e1e9; border-radius: 12px; padding: 28px; background: #fff; text-align: center; }
.empty-state b { color: var(--navy); font-size: 14px; }
.empty-state p { margin: 9px auto 17px; color: #7b8798; font-size: 11px; line-height: 1.6; }
.empty-state .primary-button { display: inline-flex; text-decoration: none; }
.page-links { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 24px; }
.page-links a { color: var(--orange-dark); font-size: 11px; font-weight: 700; text-decoration: none; }
.page-links a:hover { text-decoration: underline; }

@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: minmax(260px,.75fr) minmax(480px,1.25fr); gap: 32px; }
  .search-tabs { gap: 17px; padding: 0 17px; }
  .search-panel { padding-right: 19px; padding-left: 19px; }
  .search-form { grid-template-columns: 1fr 1fr; }
  .search-form .primary-button { grid-column: 1 / -1; }
  .route-form { grid-template-columns: minmax(0,1fr) 30px minmax(0,1fr); }
  .route-form .primary-button { grid-column: 1 / -1; }
  .simple-search-form { grid-template-columns: minmax(0,1fr) 145px; }
  .simple-search-form .primary-button { grid-column: auto; }
  .tool-grid { grid-template-columns: repeat(2,1fr); }
  .directory-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .site-header { height: 65px; }
  .header-inner { width: calc(100% - 32px); gap: 12px; }
  .brand { font-size: 20px; }
  .main-nav { position: absolute; display: none; top: 64px; right: 0; left: 0; height: auto; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); padding: 7px 16px 12px; background: white; box-shadow: 0 12px 24px rgba(17,37,62,.08); }
  .main-nav.nav-open { display: flex; }
  .main-nav a { height: auto; padding: 13px 4px; }
  .main-nav .nav-active::after { display: none; }
  .official-link { margin-left: auto; padding: 9px 10px; font-size: 10px; }
  .menu-toggle { display: block; }
  .hero { padding: 49px 16px 23px; }
  .hero-inner { display: flex; flex-direction: column; align-items: stretch; gap: 26px; }
  .hero-copy { max-width: 600px; padding: 0; }
  .hero h1 { font-size: clamp(37px, 9vw, 49px); }
  .hero-lede { max-width: 520px; font-size: 13px; }
  .search-card { width: 100%; }
  .search-tabs { justify-content: space-between; gap: 8px; padding: 0 13px; }
  .search-tab { gap: 5px; font-size: 10px; }
  .tab-icon { font-size: 13px; }
  .search-panel { padding: 20px 16px 0; }
  .search-foot { align-items: flex-start; flex-wrap: wrap; padding: 12px 0; }
  .search-foot-right { margin-left: 0; }
  .hero-bottom { margin-top: 22px; }
  .content-width { width: calc(100% - 32px); }
  .quick-tools { padding-top: 44px; padding-bottom: 43px; }
  .section-heading { align-items: flex-start; }
  .section-heading .text-link { margin-top: 8px; }
  .tool-grid { gap: 10px; }
  .tool-card { min-height: 185px; padding: 15px; }
  .tool-title { font-size: 11px; line-height: 1.4; }
  .tool-desc { font-size: 9px; }
  .explainer-card { grid-template-columns: 1fr; gap: 24px; padding: 25px 21px; }
  .trust-strip { grid-template-columns: 1fr; gap: 15px; padding-bottom: 39px; }
  .footer-inner { width: calc(100% - 32px); gap: 13px 18px; }
  .footer-inner p { width: calc(100% - 150px); margin-left: auto; }
  .data-page { padding-top: 20px; }
  .data-page > * { width: calc(100% - 32px); }
  .page-hero { padding: 24px 21px; }
  .page-hero p { font-size: 12px; }
  .station-list-row { grid-template-columns: minmax(150px,1fr) minmax(140px,.9fr) 16px; gap: 10px; padding-right: 12px; padding-left: 12px; }
  .station-list-row > span:nth-child(2) { font-size: 9px; }
  .station-facts, .route-summary { padding: 14px; }
}
@media (max-width: 460px) {
  .official-link { gap: 5px; padding: 8px; }
  .menu-toggle { width: 31px; padding: 0; }
  .search-tabs { min-height: 57px; }
  .search-tab { flex-direction: column; justify-content: center; gap: 1px; font-size: 8px; }
  .search-form { grid-template-columns: 1fr; }
  .search-form .primary-button { grid-column: auto; }
  .route-form { grid-template-columns: minmax(0,1fr) 28px minmax(0,1fr); gap: 7px; }
  .route-form .primary-button { grid-column: 1 / -1; }
  .simple-search-form { grid-template-columns: 1fr; }
  .simple-search-form .primary-button { grid-column: auto; }
  .field small { font-size: 8px; }
  .section-heading { display: block; }
  .section-heading .text-link { margin-top: 12px; }
  .tool-grid { grid-template-columns: 1fr 1fr; }
  .tool-card { min-height: 190px; }
  .result-title-row h3 { font-size: 12px; }
  .delay-pill { padding: 6px 7px; font-size: 8px; }
  .freshness { max-width: 45%; }
  .freshness b { font-size: 8px; }
  .footer-inner p { order: 3; width: 100%; margin: -8px 0 0; }
  .footer-links { width: 100%; order: 4; }
  .footer-inner > .copyright { margin-left: 0; }
  .directory-grid { grid-template-columns: 1fr; }
  .station-list-row { grid-template-columns: 1fr 18px; gap: 3px 8px; padding: 12px; }
  .station-list-row > span:first-child { grid-column: 1; }
  .station-list-row > span:nth-child(2) { grid-column: 1; }
  .station-list-row > span:last-child { grid-column: 2; grid-row: 1 / span 2; }
  .station-facts, .route-summary { gap: 13px; }
  .station-facts > div, .route-summary > div { flex-basis: calc(50% - 10px); }
  .route-summary-arrow { display: none; }
  .data-table th, .data-table td { padding: 10px; }
  .page-links { flex-direction: column; gap: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
