@font-face { font-family: Heebo; src: url(/fonts/heebo-hebrew.woff2) format("woff2"); font-weight: 100 900; unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; font-display: swap; }
@font-face { font-family: Heebo; src: url(/fonts/heebo-latin.woff2) format("woff2"); font-weight: 100 900; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; font-display: swap; }

:root {
  --paper: #fbfaf7;
  --ink: #16181a;
  --soft: #5d6266;
  --line: #dcd9d2;
  --live: #0b6e4f;
  --chip: #efece5;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #141516; --ink: #ecebe8; --soft: #9a9ea2; --line: #2c2e30; --live: #5cc59b; --chip: #222426; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.45 Heebo, "Segoe UI", Arial, sans-serif; }
a { color: inherit; }
main { max-width: 640px; margin: 0 auto; padding: 8px 16px 48px; }

.top { max-width: 640px; margin: 0 auto; padding: 14px 16px 6px; display: flex; justify-content: space-between; align-items: baseline; }
.top .home { font-weight: 800; font-size: 19px; text-decoration: none; letter-spacing: -0.2px; }
.top .apilink { color: var(--soft); font-size: 14px; }

h1 { font-size: 26px; line-height: 1.2; margin: 18px 0 4px; font-weight: 800; }
h2 { font-size: 18px; margin: 28px 0 8px; }
.meta { color: var(--soft); margin: 0 0 14px; }
.fine { color: var(--soft); font-size: 14px; margin-top: 22px; }
.empty { padding: 18px 0; color: var(--soft); }

.ask { margin: 18px 0; }
.ask label { display: block; font-weight: 700; margin-bottom: 4px; }
.field { display: flex; gap: 8px; }
.field input { flex: 1; min-width: 0; font: inherit; font-size: 19px; padding: 10px 12px; border: 1.5px solid var(--ink); border-radius: 6px; background: transparent; color: var(--ink); }
.field button { font: inherit; font-weight: 700; padding: 0 18px; border: 0; border-radius: 6px; background: var(--ink); color: var(--paper); cursor: pointer; }
.near { font-weight: 700; }

.num { display: inline-block; min-width: 2.6em; padding: 1px 6px; border: 2px solid var(--ink); border-radius: 5px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; text-decoration: none; }
h1 .num { font-size: 22px; vertical-align: 2px; margin-left: 6px; }

.lines { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.lines a { text-decoration: none; padding: 2px 10px; border-radius: 99px; background: var(--chip); font-size: 15px; font-variant-numeric: tabular-nums; }
.lines a.on { background: var(--ink); color: var(--paper); }

.board { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.board li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.board .num { font-size: 20px; }
.board .to { font-weight: 600; line-height: 1.25; }
.board small { display: block; font-weight: 400; font-size: 13.5px; color: var(--soft); }
.board .when { text-align: left; font-weight: 800; font-size: 19px; white-space: nowrap; }
.board .when small { text-align: left; }
.board li.live .when { color: var(--live); }
.board li.live .when small::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--live); margin-left: 5px; vertical-align: 1px; }
.board li.plan .when small::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; border: 1.5px solid var(--soft); margin-left: 5px; vertical-align: 1px; }

.list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.list li a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.list .num { margin-left: 10px; }
.list small { display: block; color: var(--soft); font-size: 14px; }

.stops { list-style: none; margin: 8px 0 0; padding: 0 14px 0 0; border-right: 3px solid var(--ink); }
.stops li { position: relative; padding: 6px 0; }
.stops li::before { content: ""; position: absolute; right: -21px; top: 15px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.stops li a { text-decoration: none; display: block; }
.stops small { display: block; color: var(--soft); font-size: 13.5px; }
.stops .bus { display: inline-block; margin: 2px 0 4px; padding: 1px 8px; border-radius: 4px; background: var(--live); color: var(--paper); font-size: 13.5px; font-weight: 700; }

.times { line-height: 2; font-variant-numeric: tabular-nums; }
.times span { margin-left: 10px; }
.times .past { color: var(--soft); text-decoration: line-through; text-decoration-thickness: 1px; }

body.doc main { max-width: 760px; }
body.doc .top { max-width: 760px; }
.doc p { max-width: 68ch; }
.doc dl { margin: 0; border-top: 1px solid var(--line); }
.doc dt { padding-top: 12px; font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: 15px; word-break: break-all; }
.doc dd { margin: 4px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--soft); }
.doc code { font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: 0.9em; background: var(--chip); padding: 1px 4px; border-radius: 3px; }
