:root {
	--db-red: #ec0016; --db-red-dark: #c50014;
	--bg: #f0f3f7; --card: #ffffff; --card-2: #f6f8fa; --hover: #eef1f5; --xfer-bg: #e9edf2;
	--ink: #131821; --muted: #5a6573; --faint: #8a93a0;
	--border: #d7dce1; --field: #f0f3f7; --bar: #c8ced6; --navy: #16244a;
	--go: #1a8754; --meh: #b8860b; --risky: #e07b00; --stay: #ec0016; --blue: #1668a8;
	--rail: #9aa3b0; --dot-ring: #1a1a1a; --seg-bg: #9ca3af; --seg-border: #8b919c; --seg-fern-bg: #1c2536;
	--excl-bg: #1a1a1a; --routehead-bg: #71717a;
	--ok-bg: #eaf6ee; --ok-fg: #15663f; --ok-border: #cfe8d8;
	--warn: #e8730c; --warn-bg: #fdf3e6; --warn-fg: #95560a; --warn-border: #e6b482;
	--bad-bg: #fdecec; --bad-fg: #b3000f;
	color-scheme: light;
}

@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
	--db-red: #f2555c; --db-red-dark: #f8787e;
	--bg: #141a23; --card: #2a3340; --card-2: #222a35; --hover: #343f4d; --xfer-bg: #1b2430;
	--ink: #edf1f6; --muted: #99a2af; --faint: #6b7482;
	--border: #333d4a; --field: #212a35; --bar: #3a4450; --navy: #2f4e8c;
	--go: #56cc7b; --meh: #d9a93e; --risky: #f0913f; --stay: #f2555c; --blue: #6f9be0;
	--rail: #4a5563; --dot-ring: #c7ced6; --seg-bg: #3a4553; --seg-border: #4a5563; --seg-fern-bg: #182130;
	--excl-bg: #565f6d; --routehead-bg: #3a4450;
	--ok-bg: #1e3329; --ok-fg: #a7e6bd; --ok-border: #2c4a3a;
	--warn: #e8863a; --warn-bg: #3a2e1c; --warn-fg: #f2c193; --warn-border: #5a4a2c;
	--bad-bg: #3a2226; --bad-fg: #f3a7ab;
	color-scheme: dark;
} }
:root[data-theme="dark"] {
	--db-red: #f2555c; --db-red-dark: #f8787e;
	--bg: #141a23; --card: #2a3340; --card-2: #222a35; --hover: #343f4d; --xfer-bg: #1b2430;
	--ink: #edf1f6; --muted: #99a2af; --faint: #6b7482;
	--border: #333d4a; --field: #212a35; --bar: #3a4450; --navy: #2f4e8c;
	--go: #56cc7b; --meh: #d9a93e; --risky: #f0913f; --stay: #f2555c; --blue: #6f9be0;
	--rail: #4a5563; --dot-ring: #c7ced6; --seg-bg: #3a4553; --seg-border: #4a5563; --seg-fern-bg: #182130;
	--excl-bg: #565f6d; --routehead-bg: #3a4450;
	--ok-bg: #1e3329; --ok-fg: #a7e6bd; --ok-border: #2c4a3a;
	--warn: #e8863a; --warn-bg: #3a2e1c; --warn-fg: #f2c193; --warn-border: #5a4a2c;
	--bad-bg: #3a2226; --bad-fg: #f3a7ab;
	color-scheme: dark;
}

.brand-logo.drk { display: none; }
:root[data-theme="dark"] .brand-logo.lgt { display: none; }
:root[data-theme="dark"] .brand-logo.drk { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand-logo.lgt { display: none; } :root:not([data-theme="light"]) .brand-logo.drk { display: block; } }
.theme-toggle { margin-left: auto; border: 1px solid var(--border); background: var(--card); color: var(--muted); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex: none; transition: color .12s, border-color .12s; }
.theme-toggle:hover { color: var(--db-red); border-color: var(--db-red); }
.theme-toggle svg { width: 20px; height: 20px; fill: currentColor; }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle .sun { display: block; } :root:not([data-theme="light"]) .theme-toggle .moon { display: none; } }
* { box-sizing: border-box; }
body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	background: var(--bg);
	color: var(--ink);
	-webkit-font-smoothing: antialiased;
}
.page { max-width: 1400px; margin: 0 auto; padding: 22px 28px 64px; }

.appbar { background: var(--card); border-bottom: 1px solid var(--border); }
.appbar-inner { max-width: 1400px; margin: 0 auto; padding: 9px 28px; display: flex; align-items: center; }
.brand-link { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand-logo { height: 44px; width: auto; display: block; }
.brand-name { font-size: 20px; font-weight: 800; letter-spacing: -0.4px; margin: 0; }
.brand-z { color: var(--db-red); }
.sub { color: var(--muted); font-size: 13.5px; margin: 0 0 18px; line-height: 1.45; }
code { background: var(--hover); padding: 1px 5px; border-radius: 4px; font-size: 12.5px; }

.route-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--routehead-bg); color: #fff; border-radius: 8px; padding: 11px 16px; flex-wrap: wrap; }
.back { color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
.back:hover { text-decoration: underline; }
.route { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 600; font-size: 14.5px; }
.route .rsep { opacity: .8; }

.searchcard { background: var(--card); border-radius: 14px; padding: 18px 18px 20px; box-shadow: 0 2px 10px rgba(20,30,50,.06); }
.sc-title { font-size: 18px; font-weight: 800; margin: 0 0 4px; }
.sc-underline { width: 46px; height: 4px; background: var(--db-red); border-radius: 2px; margin-bottom: 16px; }
.sc-row { display: grid; grid-template-columns: 1fr 52px 1fr auto; gap: 12px; align-items: stretch; }
.field { position: relative; display: flex; align-items: center; gap: 12px; background: var(--field); border: 1px solid transparent; border-radius: 12px; padding: 14px 18px; }
.field:focus-within { border-color: var(--db-red); background: var(--card); }
.field.err { border-color: var(--db-red); background: var(--card); box-shadow: 0 0 0 3px rgba(236,0,22,.12); }
.sc-msg { display: none; align-items: center; gap: 9px; margin-top: 14px; padding: 11px 15px; background: rgba(236,0,22,.07); border: 1px solid rgba(236,0,22,.25); border-radius: 10px; color: var(--db-red-dark); font-weight: 600; font-size: 14px; }
.sc-msg:not([hidden]) { display: flex; }
.sc-msg-ic { display: inline-flex; color: var(--db-red); font-size: 18px; flex: 0 0 auto; }
.ficon { color: var(--db-red); font-size: 24px; line-height: 1; flex: 0 0 auto; }
.fbody { flex: 1; min-width: 0; }
.fbody label { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.fbody input { width: 100%; border: 0; background: transparent; outline: none; font-size: 19px; color: var(--ink); padding: 2px 0 0; }
.fclear { flex: 0 0 auto; border: 0; background: var(--border); color: #fff; width: 24px; height: 24px; border-radius: 50%; cursor: pointer; font-size: 13px; padding: 0; display: none; }
.field.has-value .fclear { display: block; }

.floc { flex: 0 0 auto; border: 0; background: transparent; color: var(--muted); width: 30px; height: 30px; border-radius: 50%; cursor: pointer; padding: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; transition: color .12s, background .12s; }
.floc:hover { color: var(--db-red); background: rgba(236,0,22,.08); }
.floc:disabled { cursor: default; }
.floc.busy { color: var(--db-red); animation: bzspin .8s linear infinite; }
@keyframes bzspin { to { transform: rotate(360deg); } }

.recent { margin: 14px 2px 0; }
.recent-lbl { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.recent-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.recent-chip { display: inline-flex; align-items: stretch; background: var(--card); border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.recent-go { border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 13.5px; font-weight: 600; padding: 7px 6px 7px 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.recent-go:hover { color: var(--db-red); }
.recent-arr { color: var(--muted); font-weight: 700; }
.recent-del { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 17px; line-height: 1; padding: 0 12px 0 6px; }
.recent-del:hover { color: var(--db-red); }
.swap { border: 1px solid var(--border); background: var(--card); border-radius: 50%; width: 52px; height: 52px; align-self: center; cursor: pointer; color: var(--ink); font-size: 22px; transition: background .12s; }
.swap:hover { background: var(--hover); }
.search-btn { border: 0; background: var(--db-red); color: #fff; font-weight: 800; font-size: 18px; padding: 0 32px; border-radius: 12px; cursor: pointer; }
.search-btn:hover { background: var(--db-red-dark); }
.search-btn:disabled { opacity: .6; cursor: default; }

.sc-options { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 14px; }
.sc-when-wrap { position: relative; }
.sc-when { display: inline-flex; align-items: center; gap: 10px; background: var(--field); border: 0; border-radius: 12px; padding: 12px 16px; font: inherit; font-size: 16px; font-weight: 600; color: var(--ink); cursor: pointer; }
.sc-when-ic { color: var(--db-red); display: inline-flex; font-size: 20px; }
.sc-when-caret { color: var(--muted); display: inline-flex; font-size: 18px; }
.sc-class { display: inline-flex; background: var(--field); border-radius: 12px; padding: 4px; gap: 2px; }
.cls-btn { border: 0; background: none; padding: 9px 18px; border-radius: 9px; font-size: 14px; font-weight: 700; color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.cls-btn:hover { color: var(--ink); }
.cls-btn.on { background: var(--navy); color: #fff; }
.sc-toggle { display: inline-flex; align-items: center; gap: 8px; background: var(--field); border: 1px solid transparent; border-radius: 12px; padding: 12px 16px; font: inherit; font-size: 15px; font-weight: 700; color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.sc-toggle svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.sc-toggle:hover { color: var(--ink); }
.sc-toggle.on { background: var(--navy); color: #fff; }
.sc-toggle.on:hover { color: #fff; }
.cl-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(10,16,28,.55); display: flex; align-items: center; justify-content: center; padding: 18px; }
.cl { position: relative; width: 100%; max-width: 460px; max-height: 88vh; overflow-y: auto; background: var(--card); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 24px 60px rgba(10,16,28,.35); padding: 26px 24px 22px; }
.cl-x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border: 0; background: none; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; border-radius: 8px; }
.cl-x:hover { color: var(--ink); background: var(--hover); }
.cl-badge { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--db-red); padding: 4px 10px; border-radius: 999px; }
.cl-title { font-size: 22px; font-weight: 900; letter-spacing: -.4px; margin: 12px 0 4px; color: var(--ink); }
.cl-sub { color: var(--muted); font-size: 14px; margin: 0 0 4px; }
.cl-sec { margin-top: 18px; }
.cl-sec-h { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.cl-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cl-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.4; color: var(--ink); }
.cl-list li::before { flex: none; font-weight: 800; line-height: 1.4; }
.cl-new li::before { content: '✓'; color: var(--go); }
.cl-soon li::before { content: '○'; color: var(--blue); }
.cl-ok { width: 100%; margin-top: 22px; border: 0; background: var(--db-red); color: #fff; font: inherit; font-size: 16px; font-weight: 800; padding: 13px; border-radius: 10px; cursor: pointer; }
.cl-ok:hover { background: var(--db-red-dark); }
.cl-foot { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); text-align: center; }
.cl-foot a { color: var(--db-red); font-weight: 700; text-decoration: none; }
.cl-foot a:hover { text-decoration: underline; }
.sc-score { display: inline-flex; align-items: center; gap: 8px; background: var(--field); border-radius: 12px; padding: 8px 14px; }
.sc-score-label { font-weight: 700; font-size: 14px; color: var(--ink); }
.sc-score select, .sc-score input { border: 1px solid var(--border); border-radius: 8px; padding: 7px 8px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--card); }
.sc-score input { width: 62px; }
.route-sub { color: var(--muted); font-size: 14px; font-weight: 600; margin: 2px 2px 16px; }

.dp-backdrop { position: fixed; inset: 0; z-index: 39; background: rgba(10,16,28,.4); }
.dp { position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; width: 360px; max-width: calc(100vw - 40px); background: var(--card); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 20px 55px rgba(20,30,50,.22); padding: 18px 20px 20px; }
.dp-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.dp-title { font-weight: 700; font-size: 19px; color: var(--ink); }
.dp-x { width: 34px; height: 34px; border: 1px solid var(--border); background: var(--card); border-radius: 9px; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; }
.dp-x:hover { border-color: var(--db-red); color: var(--db-red); }
.dp-seg { display: flex; width: fit-content; margin: 0 auto 16px; background: var(--field); border-radius: 999px; padding: 4px; }
.dp-seg-btn { border: 0; background: none; border-radius: 999px; padding: 8px 22px; font: inherit; font-size: 15px; font-weight: 700; color: var(--muted); cursor: pointer; }
.dp-seg-btn.on { background: var(--navy); color: #fff; }
.dp-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-bottom: 12px; }
.dp-month { text-align: center; font-weight: 800; font-size: 17px; color: var(--ink); }
.dp-nav { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; cursor: pointer; color: var(--db-red); font: inherit; font-size: 14px; font-weight: 700; padding: 4px 2px; }
.dp-nav.dp-prev { justify-self: start; }
.dp-nav.dp-next { justify-self: end; }
.dp-nav svg { width: 20px; height: 20px; }
.dp-nav:hover:not([disabled]) { color: var(--db-red-dark); }
.dp-nav[disabled] { color: var(--faint); cursor: default; }
.dp-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-bottom: 6px; }
.dp-week span { text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); }
.dp-week span.we { color: var(--faint); }
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.dp-day { aspect-ratio: 1; border: 0; background: none; border-radius: 50%; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.dp-day.empty { visibility: hidden; }
.dp-day:hover:not([disabled]):not(.sel) { background: var(--field); }
.dp-day[disabled] { color: var(--faint); cursor: default; }
.dp-day.today:not(.sel) { color: var(--db-red); font-weight: 800; }
.dp-day.sel { background: var(--db-red); color: #fff; font-weight: 700; }
.dp-time { display: flex; align-items: center; gap: 14px; margin: 18px 0 4px; }
.dp-step { width: 42px; height: 42px; border: 1px solid var(--border); background: var(--card); border-radius: 50%; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.dp-step svg { width: 22px; height: 22px; }
.dp-step:hover { background: var(--field); border-color: var(--db-red); color: var(--db-red); }
.dp-time-input { width: 78px; text-align: center; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; padding: 4px 0; font: inherit; font-size: 24px; font-weight: 700; color: var(--ink); background: none; }
.dp-time-input:focus { outline: none; border-bottom-color: var(--db-red); }
.dp-now { margin-left: auto; border: 1px solid var(--border); background: var(--card); border-radius: 8px; padding: 10px 18px; font: inherit; font-size: 15px; font-weight: 700; color: var(--ink); cursor: pointer; }
.dp-now:hover { border-color: var(--db-red); color: var(--db-red); }
.dp-apply { width: 100%; margin-top: 18px; border: 0; background: var(--db-red); color: #fff; border-radius: 8px; padding: 14px; font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; }
.dp-apply:hover { background: var(--db-red-dark); }
@media (min-width: 561px) { .dp-backdrop { display: none; } .dp.up { top: auto; bottom: calc(100% + 8px); } }
@media (max-width: 560px) { .dp { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(94vw, 380px); max-height: 92vh; overflow: auto; } }
.filter-clear { border: 1px solid var(--border); background: var(--card); border-radius: 8px; padding: 6px 12px; font: inherit; font-weight: 700; font-size: 13px; color: var(--db-red); cursor: pointer; margin-left: 6px; }
.filter-clear:hover { border-color: var(--db-red); }

.cdd { position: relative; }
.cdd-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); border-radius: 8px; background: var(--card); padding: 7px 10px 7px 12px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; }
.cdd-caret { color: var(--muted); display: inline-flex; font-size: 16px; }
.cdd-menu { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; min-width: 124px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 12px 30px rgba(20,30,50,.16); padding: 5px; }
.cdd-opt { display: block; width: 100%; text-align: left; border: 0; background: none; border-radius: 7px; padding: 9px 12px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; }
.cdd-opt:hover { background: var(--field); }
.cdd-custom { display: flex; align-items: center; gap: 8px; padding: 9px 12px; margin-top: 4px; border-top: 1px solid var(--border); font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.cdd-custom input { width: 52px; border: 1px solid var(--border); border-radius: 6px; padding: 5px 6px; font: inherit; font-size: 13.5px; text-align: center; background: var(--card); color: var(--ink); }
.cdd-custom input:focus { outline: none; border-color: var(--db-red); }
.cdd-custom-ok { border: 0; background: var(--navy); color: #fff; border-radius: 6px; padding: 6px 12px; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; margin-left: auto; }
.cdd-custom-ok:hover { background: var(--db-red); }

.suggestions { position: absolute; z-index: 9; left: 0; right: 0; top: calc(100% + 6px); background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(20,30,50,.16); }
.suggestions div { padding: 11px 14px; cursor: pointer; font-size: 14.5px; border-bottom: 1px solid var(--border); }
.suggestions div:last-child { border-bottom: 0; }
.suggestions div:hover { background: var(--field); }

.upd { color: var(--muted); font-size: 13px; margin: 14px 4px 0; display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--go); animation: livePulse 2s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(26,135,84,.45); } 70% { box-shadow: 0 0 0 6px rgba(26,135,84,0); } 100% { box-shadow: 0 0 0 0 rgba(26,135,84,0); } }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; margin: 6px 4px 16px; }
.rh-title { font-size: 24px; font-weight: 400; }
.rh-title strong { font-weight: 900; }
.rh-title span { color: var(--ink); font-size: 24px; }
.mode-toggle { display: inline-flex; background: var(--hover); border-radius: 11px; padding: 3px; gap: 2px; }
.mode-btn { border: 0; background: none; padding: 8px 16px; border-radius: 8px; font-size: 14px; font-weight: 700; color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.mode-btn:hover { color: var(--ink); }
.mode-btn.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(20,30,50,.14); }

.qconn { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; box-shadow: 0 1px 2px rgba(20,30,50,.05); }
.q-score { min-width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; border-radius: 12px; color: #fff; font-weight: 900; font-size: 23px; font-variant-numeric: tabular-nums; }
.q-top { font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.q-meta { font-weight: 500; color: var(--muted); font-size: 14px; }
.q-verdict { font-size: 14px; font-weight: 800; display: flex; align-items: center; gap: 5px; margin-top: 4px; }
.q-verdict svg.ic { width: 1.2em; height: 1.2em; }
.q-reason { font-size: 13px; color: var(--muted); margin-top: 3px; }
.q-db { color: var(--db-red); display: inline-flex; align-items: center; padding: 9px; border-radius: 9px; }
.q-db:hover { background: var(--card-2); }
.q-db svg.ic { width: 22px; height: 22px; }
.more-row { margin: 2px 4px 12px; }
.more-link { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; color: var(--ink); font-weight: 700; font-size: 14px; cursor: pointer; padding: 8px 2px; }
.more-link .ar { color: var(--db-red); font-weight: 800; font-size: 15px; }
.more-link:hover { color: var(--db-red-dark); }
.more-link:disabled { opacity: .55; cursor: default; }
.state { background: var(--card); border-radius: 12px; padding: 34px 16px; text-align: center; color: var(--muted); margin-top: 16px; }
.state a { color: var(--db-red-dark); font-weight: 700; }

.conn { background: var(--card); border-radius: 12px; box-shadow: 0 2px 8px rgba(20,30,50,.06); margin-bottom: 14px; overflow: hidden; }
.conn-top { display: grid; grid-template-columns: 1fr 168px; }
.conn-main { padding: 16px 18px 8px; min-width: 0; }
.conn-side { border-left: 1px solid var(--border); padding: 16px 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; }

.ctimes { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 4px 10px; }
.ct-col { display: flex; flex-direction: column; line-height: 1.15; }
.ct-plan { font-size: 19px; font-weight: 800; }
.ct-real { font-size: 15px; font-weight: 700; }
.ct-real.late { color: var(--bad-fg); }
.ct-real.ok { color: var(--ok-fg); }
.ct-dash { font-size: 19px; font-weight: 800; }
.ct-meta { color: var(--muted); font-size: 13.5px; align-self: flex-start; padding-top: 3px; }
.fast-badge { display: inline-flex; align-items: center; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--go); padding: 3px 8px 3px 6px; border-radius: 6px; align-self: flex-start; margin-top: 2px; }
.fast-badge svg.ic { width: 13px; height: 13px; }
.past-badge { display: inline-flex; align-items: center; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--navy); padding: 3px 8px; border-radius: 6px; align-self: flex-start; margin-top: 2px; }
.is-past { opacity: .58; }

.pbar { display: flex; gap: 4px; margin: 12px 0 10px; }
.seg { flex: 1; min-width: 56px; background: var(--seg-bg); color: var(--ink); font-weight: 700; font-size: 12px; text-align: center; padding: 6px 8px; border: 1px solid var(--seg-border); border-radius: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seg-fern { background: var(--seg-fern-bg); color: #fff; border-color: var(--seg-fern-bg); }
.seg.walk { flex: 0 0 auto; background: var(--hover); color: var(--muted); font-weight: 600; border-color: var(--border); }

.cstops { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.cstops .to { text-align: right; }

.cmeld { display: flex; align-items: center; gap: 7px; color: var(--db-red-dark); font-size: 13px; margin-top: 10px; font-weight: 600; }
.excl { display: inline-flex; width: 16px; height: 16px; border-radius: 50%; background: var(--excl-bg); color: #fff; font-size: 11px; font-weight: 800; align-items: center; justify-content: center; flex: 0 0 auto; }

.gauge { position: relative; width: 72px; height: 72px; }
.gauge svg { transform: rotate(-90deg); }
.gauge .num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gauge .num b { font-size: 22px; line-height: 1; }
.gauge .num span { font-size: 9px; color: var(--muted); }
.verdict { font-size: 13px; font-weight: 800; line-height: 1.25; }

.side-info { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; }
.side-reasons { display: flex; flex-direction: column; gap: 5px; width: 100%; }
.sr { display: flex; align-items: center; gap: 6px; width: 100%; font-size: 11.5px; font-weight: 600; color: var(--muted); line-height: 1.25; }
.sr-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fc); flex: none; }
.sr-l { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.sr b { flex: none; font-variant-numeric: tabular-nums; color: var(--fc); font-weight: 800; }
.side-good { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--go); }
.side-good svg.ic { width: 1.1em; height: 1.1em; }

.details-toggle { display: block; width: 100%; text-align: center; background: var(--card); border: 0; border-top: 1px solid var(--border); color: var(--muted); font-weight: 700; font-size: 14px; padding: 11px; cursor: pointer; }
.details-toggle .chev { color: var(--db-red); margin-left: 4px; }
.conn-details { display: none; padding: 4px 18px 20px; border-top: 1px solid var(--border); background: var(--card-2); }
.conn-details.open { display: block; }
.dsec-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 18px 0 8px; }

.meld-item { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; padding: 9px 0; border-bottom: 1px solid var(--border); }
.meld-item:last-child { border-bottom: 0; }
.meld-item .excl { background: var(--db-red); margin-top: 1px; }
.meld-item a { color: var(--db-red-dark); }

.facs { margin-top: 2px; }
.fac-legend { display: flex; gap: 16px; margin: 0 0 12px; font-size: 11px; color: var(--muted); }
.fac-legend .lg { display: inline-flex; align-items: center; gap: 5px; }
.fac-legend .lg::before { content: ''; width: 8px; height: 8px; border-radius: 50%; }
.fac-legend .lg-low::before { background: var(--meh); }
.fac-legend .lg-mid::before { background: var(--risky); }
.fac-legend .lg-high::before { background: var(--db-red); }
.fac { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 3px 12px; padding: 11px 0; }
.fac + .fac { border-top: 1px solid var(--border); }
.fac-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--fc); }
.fac .fl { font-size: 14.5px; font-weight: 600; }
.fac .fl small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; margin-top: 2px; }
.fac .pts { font-weight: 800; font-size: 15px; color: var(--fc); font-variant-numeric: tabular-nums; }
.fbar { grid-column: 2 / -1; height: 6px; background: var(--hover); border-radius: 4px; overflow: hidden; margin-top: 3px; }
.fbar > i { display: block; height: 100%; border-radius: 4px; background: var(--fc); transition: width .4s ease; }
.no-fac { color: var(--go); font-weight: 600; font-size: 14px; padding: 8px 0; }

.rp { margin-top: 12px; }
.rp-row { display: grid; grid-template-columns: 74px 30px 1fr auto; gap: 18px; }
.rp-time { font-size: 15px; text-align: right; line-height: 1.35; padding-top: 3px; white-space: nowrap; }
.rp-time b { font-weight: 800; }
.rp-time .rt { display: block; font-weight: 700; font-size: 14px; }
.rp-time .rt.late { color: var(--db-red); }
.rp-time .rt.ok { color: var(--go); }
.rp-dur { color: var(--muted); padding-top: 16px; font-weight: 600; font-size: 14px; }
.rp-seg .rp-dur, .rp-xfer .rp-dur { align-self: center; padding-top: 0; }
.rp-rail { position: relative; align-self: stretch; }
.rp-rail::before { content: ''; position: absolute; left: 13px; top: 0; bottom: 0; width: 2px; background: var(--rail); }
.rp-row.first .rp-rail::before { top: 12px; }
.rp-row.last .rp-rail::before { bottom: auto; height: 12px; }
.rp-dot { position: absolute; left: 6px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--card); border: 3px solid var(--dot-ring); box-sizing: border-box; }
.rp-stop { min-height: 46px; }

.rp-stop.pre-xfer { min-height: 0; align-items: end; }
.rp-stop.pre-xfer .rp-dot { top: auto; bottom: 5px; }
.rp-stop.pre-xfer .rp-pf { align-self: end; }
.rp-name { font-weight: 800; font-size: 17px; padding-top: 1px; }
.rp-name .cv { color: var(--db-red); }
.rp-blink { color: inherit; text-decoration: none; cursor: pointer; }
.rp-blink:hover .cv, .rp-blink:focus-visible .cv { color: var(--db-red-dark); }
.rp-blink:hover { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1.5px; }
.rp-blink .cv { color: var(--db-red); }
.rp-blink .cv svg.ic { width: .9em; height: .9em; }
.rp-pf { background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 5px; align-self: start; white-space: nowrap; }
.rp-vc { position: relative; padding: 4px 0 20px 21px; }
.rp-vc::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--leg, var(--border)); }
.veh-chip { background: var(--hover); border: 1px solid var(--border); font-weight: 700; font-size: 14px; padding: 5px 12px; border-radius: 5px; display: inline-block; }
.veh-chip .train-ico { vertical-align: -2px; margin-right: 2px; }
.veh-dir { display: block; color: var(--muted); font-size: 14px; margin-top: 10px; }
.veh-op { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; opacity: .8; }
.rp-subload { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 700; color: var(--warn-fg); background: rgba(224,123,0,.14); padding: 1px 8px; border-radius: 999px; vertical-align: 1px; }
.status-banner { display: flex; align-items: stretch; background: var(--card); border: 1px solid var(--warn-border); border-radius: 6px; overflow: hidden; margin: 28px 0 8px; box-shadow: 0 1px 3px rgba(20,30,50,.05); }
.status-banner[hidden] { display: none; }
.status-banner .sb-icon { flex: 0 0 auto; width: 62px; background: var(--warn); color: #fff; display: flex; align-items: flex-start; justify-content: center; padding-top: 24px; }
.status-banner .sb-icon svg { width: 22px; height: 22px; }
.status-banner .sb-body { padding: 24px 30px; }
.status-banner .sb-title { font-weight: 700; font-size: 19px; color: var(--ink); margin: 0 0 9px; }
.status-banner .sb-text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink); }
@media (max-width: 560px) { .status-banner .sb-icon { width: 50px; padding-top: 20px; } .status-banner .sb-body { padding: 18px 18px; } .status-banner .sb-title { font-size: 17px; } .status-banner .sb-text { font-size: 15px; } }

.invite-banner { display: flex; align-items: stretch; background: var(--card); border: 1px solid var(--ok-border); border-radius: 6px; overflow: hidden; margin: 28px 0 8px; box-shadow: 0 1px 3px rgba(20,30,50,.05); }
.invite-banner[hidden] { display: none; }
.invite-banner .ib-icon { flex: 0 0 auto; width: 62px; background: var(--go); color: #fff; display: flex; align-items: flex-start; justify-content: center; padding-top: 22px; }
.invite-banner .ib-icon svg { width: 24px; height: 24px; }
.invite-banner .ib-body { flex: 1; padding: 18px 26px; }
.invite-banner .ib-title { font-weight: 700; font-size: 18px; color: var(--ink); margin: 0 0 6px; }
.invite-banner .ib-text { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink); }
.invite-banner .ib-text a { color: var(--go); font-weight: 700; text-decoration: none; }
.invite-banner .ib-text a:hover { text-decoration: underline; }
.invite-banner .ib-close { flex: 0 0 auto; align-self: flex-start; background: none; border: 0; color: var(--muted); cursor: pointer; padding: 14px 14px 0 0; line-height: 0; }
.invite-banner .ib-close svg { width: 20px; height: 20px; }
.invite-banner .ib-close:hover { color: var(--ink); }
@media (max-width: 560px) { .invite-banner .ib-icon { width: 50px; padding-top: 18px; } .invite-banner .ib-body { padding: 15px 16px; } .invite-banner .ib-title { font-size: 16px; } .invite-banner .ib-text { font-size: 14.5px; } }
.rp-chips { margin-top: 12px; }
.rp-chip { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin: 0 7px 6px 0; }
.rp-chip.delay { background: rgba(236,0,22,.1); color: var(--db-red-dark); }
.rp-chip.load { background: rgba(224,123,0,.14); color: var(--warn-fg); }
.rp-chip.ac { background: rgba(20,120,190,.10); color: var(--blue); }
.rp-chip.acwarn { background: rgba(224,88,0,.14); color: var(--warn-fg); }
.rp-warn { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; line-height: 1.5; margin-top: 12px; }
.rp-warn .excl { background: var(--db-red); margin-top: 2px; }
.rp-warn a { color: var(--db-red-dark); }
.rp-togglerow { min-height: 0; }
.rp-stops-toggle { justify-self: start; background: none; border: 0; color: var(--db-red-dark); font-weight: 700; font-size: 14px; cursor: pointer; padding: 2px 0 6px; display: inline-flex; align-items: center; gap: 5px; }

.rp-stops { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s ease; }
.rp-stops.open { grid-template-rows: 1fr; }
.rp-stops-inner { overflow: hidden; min-height: 0; opacity: 0; transition: opacity .28s ease; }
.rp-stops.open .rp-stops-inner { opacity: 1; }

.rp-substop { min-height: 40px; align-items: center; }
.rp-subname { font-size: 16px; font-weight: 400; color: var(--ink); }
.rp-time-sm { padding-top: 0; color: var(--muted); font-weight: 400; font-size: 14px; }
.rp-pf-sm { justify-self: start; align-self: center; background: var(--hover); color: var(--ink); font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 5px; white-space: nowrap; }
.rp-dot.sm { left: 9.5px; top: 50%; transform: translateY(-50%); width: 9px; height: 9px; border-width: 2px; border-color: var(--border); }
.rp-xfer { align-items: stretch; }
.rp-xbox { grid-column: 3 / -1; background: var(--xfer-bg); border-radius: 8px; padding: 13px 16px; margin: 20px 0; }
.rp-xtitle { font-weight: 700; font-size: 15px; }
.rp-xrisk { font-size: 13.5px; font-weight: 700; margin-top: 5px; }
.rp-xrisk.ok { color: var(--go); }
.rp-xrisk.warn { color: var(--warn-fg); }
.rp-xrisk.bad { color: var(--db-red); }

.killtime-toggle { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; color: var(--blue); font-weight: 700; font-size: 13px; cursor: pointer; }
.killtime-toggle:hover { border-color: var(--border); }
.killtime-toggle.open .chev { transform: rotate(180deg); }
.killtime-list { display: none; margin-top: 8px; border-top: 1px solid var(--border); }
.killtime-list.open { display: block; }
.kt-item { display: grid; grid-template-columns: 1fr auto; gap: 1px 12px; padding: 9px 4px; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; }
.kt-item:last-child { border-bottom: 0; }
.kt-item:hover { background: var(--card); }
.kt-name { grid-column: 1; grid-row: 1; font-weight: 700; font-size: 14px; color: var(--ink); }
.kt-sub { grid-column: 1; grid-row: 2; color: var(--muted); font-size: 12.5px; }
.kt-dist { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--blue); font-weight: 700; font-size: 12.5px; white-space: nowrap; }
.kt-oh { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 700; vertical-align: 1px; }
.kt-oh-open { background: var(--ok-bg); color: var(--ok-fg); }
.kt-oh-closed { background: var(--bad-bg); color: var(--bad-fg); }
.kt-oh-unknown { background: var(--hover); color: var(--muted); }
.kt-msg { color: var(--muted); font-size: 13px; padding: 8px 4px; }

.dblink { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; padding: 11px 18px; background: var(--db-red); color: #fff; font-weight: 800; font-size: 14px; border-radius: 8px; text-decoration: none; }
.dblink:hover { background: var(--db-red-dark); }

footer { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; line-height: 1.6; text-align: center; }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 30px; margin-bottom: 16px; }
.foot-links a { color: var(--navy); font-weight: 600; font-size: 14px; text-decoration: none; }
.foot-links a:hover { color: var(--db-red); text-decoration: underline; }
.foot-copy { text-align: right; color: var(--muted); font-size: 13px; margin-top: 16px; }
.foot-note { max-width: 92ch; margin: 0 auto; font-size: 12.5px; line-height: 1.6; }

.about { max-width: 760px; }
.about-kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--db-red); margin: 4px 0 12px; }
.about-title { font-size: 38px; font-weight: 900; letter-spacing: -1px; margin: 0 0 14px; }
.about-lead { font-size: 17px; line-height: 1.6; color: var(--ink); margin: 0 0 6px; max-width: 64ch; }
.about-lead strong { color: var(--ink); font-weight: 700; }
.faq { margin: 30px 0 0; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; box-shadow: 0 1px 2px rgba(20,30,50,.05); transition: box-shadow .18s, border-color .18s; }
.faq-item[open] { box-shadow: 0 8px 26px rgba(20,30,50,.10); border-color: var(--border); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 17px 18px; font-weight: 800; font-size: 16.5px; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--db-red-dark); }
.faq-q { flex: 1; }
.faq-item summary .chev { color: var(--db-red); font-size: 20px; flex: 0 0 auto; }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-a { padding: 0 18px 18px; font-size: 15px; line-height: 1.7; color: var(--ink); }
.faq-a p { margin: 0 0 10px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a strong { color: var(--ink); font-weight: 700; }
.faq-a a { color: var(--db-red-dark); }
.about-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin: 34px 0 4px; }
.about-outro { font-size: 16px; color: var(--ink); margin: 0; }
.about-btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 26px; background: var(--db-red); color: #fff; font-weight: 800; font-size: 16px; border-radius: 10px; text-decoration: none; }
.about-btn:hover { background: var(--db-red-dark); }
.about-meta { color: var(--muted); font-size: 13.5px; margin-top: 20px; }
.about-meta a { color: var(--db-red-dark); }
@media (max-width: 560px) {
	.about-title { font-size: 30px; }
	.faq-item summary { font-size: 15.5px; padding: 15px 15px; }
}

.legal { max-width: 760px; }
.legal-title { font-size: 30px; font-weight: 900; letter-spacing: -.5px; margin: 4px 0 18px; }
.legal h2 { font-size: 19px; font-weight: 800; margin: 26px 0 8px; }
.legal p { font-size: 15px; line-height: 1.65; color: var(--ink); margin: 0 0 12px; }
.legal a { color: var(--db-red-dark); }
.legal .muted-note { color: var(--muted); font-size: 13.5px; }

@media (max-width: 680px) {
	.sc-row { grid-template-columns: 1fr; }
	.swap { justify-self: center; }
	.search-btn { padding: 13px; }
	.conn-top { grid-template-columns: 1fr; }
	.conn-side { border-left: 0; border-top: 1px solid var(--border); flex-direction: row; gap: 14px; }
	.conn-side .gauge { flex: none; }
	.side-info { flex: 1; align-items: flex-start; }
	.side-info .verdict { justify-content: flex-start; text-align: left; }
}

svg.ic { width: 1em; height: 1em; vertical-align: -0.15em; flex: none; }
.chev { display: inline-flex; align-items: center; transition: transform .15s ease; }
.details-toggle.open .chev, .rp-stops-toggle.open .chev { transform: rotate(180deg); }
.ic-warn { color: var(--db-red); display: inline-flex; align-items: center; }
.verdict { display: flex; align-items: center; justify-content: center; gap: 5px; }
.verdict svg.ic { width: 1.3em; height: 1.3em; }
.rp-chip svg.ic, .fast-badge svg.ic, .no-fac svg.ic, .rp-xtitle svg.ic { margin-right: 4px; }
.dblink svg.ic { width: 1.15em; height: 1.15em; }
.rp-name .cv svg.ic { width: .9em; height: .9em; }
.more-link .ar svg.ic { width: 1.1em; height: 1.1em; }
.no-fac { display: flex; align-items: center; gap: 6px; }

.ficon { display: inline-flex; align-items: center; }
.fclear { display: none; align-items: center; justify-content: center; }
.field.has-value .fclear { display: inline-flex; }
.swap { display: flex; align-items: center; justify-content: center; }
.search-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }

.hero { margin: 16px 2px 32px; }
.hero-title {
	font-size: 56px; line-height: 1.03; font-weight: 900; letter-spacing: -2px; margin: 0 0 20px;
	max-width: 22ch; min-height: 2.08em; text-wrap: balance;
	transition: opacity .4s ease, transform .4s ease;
}
.hero-title.is-out { opacity: 0; transform: translateY(-12px); }
.hero-sub { font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 72ch; margin: 0; }
.hero-sub strong { color: var(--ink); font-weight: 700; }

.searchcard { padding: 30px 30px 32px; border-radius: 18px; box-shadow: 0 18px 50px rgba(20,30,50,.15), 0 0 0 1px rgba(236,0,22,.10); }
.sc-title { font-size: 23px; }

.section-title { font-size: 26px; font-weight: 900; letter-spacing: -.6px; margin: 0 2px 6px; }
.section-sub { color: var(--muted); font-size: 15px; margin: 0 2px 0; }

.block-divider { height: 1px; background: var(--border); margin: 46px 0; }

.stats { margin: 76px 0 0; text-align: center; }
.stats-title { font-size: 22px; font-weight: 800; letter-spacing: .01em; color: var(--ink); margin: 0; }
.stats-rule { width: 54px; height: 2px; background: var(--border); border-radius: 2px; margin: 14px auto 16px; }
.stats-sub { color: var(--muted); font-size: 15px; margin: 0 0 28px; }
.stat-card { transition: opacity .38s ease, transform .38s ease; }
.stat-card.is-out { opacity: 0; transform: translateY(8px); }
.stat-eyebrow { display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.stat-lines { display: flex; flex-wrap: wrap; justify-content: center; }
.stat-line { flex: 1 1 0; min-width: 160px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 6px 24px; }
.stat-line + .stat-line { border-left: 1px solid var(--border); }
.stat-ic { width: 46px; height: 46px; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; }
.stat-ic svg { width: 42px; height: 42px; }
.stat-num { font-size: 38px; font-weight: 800; color: var(--ink); letter-spacing: -.5px; line-height: 1; font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.stat-cap { display: flex; align-items: center; justify-content: center; min-height: 2.7em; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); max-width: 20ch; line-height: 1.35; }
.stat-dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.stat-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--border); cursor: pointer; transition: background .2s; }
.stat-dots i.on { background: var(--navy); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 30px; margin-top: 22px; }
.feature { display: flex; flex-direction: column; align-items: flex-start; text-align: left; background: none; border: 0; padding: 0; }
.feat-ic { flex: none; width: 68px; height: 68px; border-radius: 0; background: none; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; font-size: 60px; margin-bottom: 16px; }
.feature b { display: block; font-size: 17px; margin-bottom: 8px; }
.feature > div > span { color: var(--muted); font-size: 14.5px; line-height: 1.5; }

@media (max-width: 880px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
	.features { grid-template-columns: 1fr; gap: 30px; }
	.hero-title { font-size: 38px; letter-spacing: -1px; }
	.hero-sub { font-size: 15px; }
}

.nf { text-align: center; padding-top: 30px; padding-bottom: 70px; }
.nf-num { font-size: clamp(110px, 26vw, 196px); font-weight: 900; line-height: .88; letter-spacing: -5px; color: var(--navy); }
.nf-board { display: inline-flex; align-items: center; gap: 12px; background: var(--navy); color: #fff; border-radius: 12px; padding: 11px 14px 11px 18px; margin: 20px 0 28px; font-weight: 700; font-size: 16px; box-shadow: 0 10px 26px rgba(22,36,74,.18); }
.nf-board-ic { display: inline-flex; align-items: center; font-size: 20px; opacity: .85; }
.nf-board-delay { background: var(--db-red); color: #fff; border-radius: 8px; padding: 5px 13px; font-weight: 900; letter-spacing: .3px; font-variant-numeric: tabular-nums; }
.nf-title { font-size: 30px; font-weight: 800; margin: 0 0 14px; color: var(--ink); letter-spacing: -.5px; }
.nf-sub { color: var(--muted); font-size: 16px; max-width: 470px; margin: 0 auto 8px; line-height: 1.6; }
.nf-sub strong { color: var(--ink); }
.nf-home { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; padding: 13px 26px; background: var(--db-red); color: #fff; font-weight: 800; font-size: 16px; border-radius: 10px; text-decoration: none; }
.nf-home:hover { background: var(--db-red-dark); }
@media (max-width: 560px) {
	.nf-title { font-size: 24px; }
	.nf-board { font-size: 14px; gap: 9px; }
}

@media (max-width: 700px) {
	.page { padding: 18px 16px 52px; }
	.appbar-inner { padding: 9px 16px; }
	.pbar { flex-wrap: wrap; }
	.searchcard { padding: 22px 18px 24px; }
}

@media (max-width: 560px) {
	.page { padding: 16px 13px 48px; }
	.brand-logo { height: 38px; }
	.brand-name { font-size: 18px; }

	.rh-title, .rh-title span { font-size: 20px; }
	.section-title { font-size: 22px; }
	.legal-title { font-size: 26px; }
	.sc-title { font-size: 20px; }

	.searchcard { padding: 20px 15px 22px; border-radius: 14px; }
	.sc-options { gap: 10px; }

	.route-head { padding: 10px 13px; }

	.seg { min-width: 46px; font-size: 11.5px; padding: 6px 6px; }

	.conn-main { padding: 14px 14px 8px; }
	.conn-details { padding: 4px 13px 18px; }
	.qconn { padding: 14px 14px; gap: 12px; }

	.rp-row { grid-template-columns: 54px 26px 1fr auto; gap: 10px; }
	.rp-time { font-size: 14px; }
	.rp-time .rt { font-size: 13px; }
	.rp-dur { font-size: 13px; padding-top: 14px; }
	.rp-name { font-size: 15.5px; }
	.rp-subname { font-size: 14.5px; }
	.rp-vc { padding-left: 18px; }
	.veh-chip, .veh-dir { font-size: 13px; }
	.rp-pf { padding: 4px 8px; font-size: 12px; }
	.rp-xbox { padding: 12px 13px; margin: 16px 0; }

	.mode-btn { padding: 10px 16px; }
	.fclear { width: 26px; height: 26px; }
}

@media (max-width: 380px) {
	.page { padding: 14px 11px 44px; }
	.rp-row { grid-template-columns: 48px 24px 1fr auto; gap: 8px; }
	.rp-name { font-size: 15px; }
	.rp-vc { padding-left: 16px; }
}
