/* jtpass.app shared stylesheet (generated pages copy this file to /assets/site.css) */
:root { --brand:#00695c; --brand-soft:#e0f2f1; --ink:#1b1f23; --muted:#5f6b72; --line:#dfe5e8; --bg:#f6f8f9; --warn:#b26a00; --warn-soft:#fff3e0; --good:#2e7d32; }
* { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; }
body { margin:0; background:var(--bg); color:var(--ink); font:16px/1.7 system-ui,-apple-system,"Segoe UI","Malgun Gothic","Apple SD Gothic Neo","Hiragino Sans","PingFang SC","Microsoft YaHei",sans-serif; word-break:keep-all; overflow-wrap:anywhere; }
:lang(zh-Hans), :lang(ja) { word-break:normal; }
a { color:var(--brand); }
.wrap { max-width:860px; margin:0 auto; padding:0 16px; }
.bar { background:var(--brand); color:#fff; }
.bar .row { display:flex; flex-wrap:wrap; gap:8px 16px; align-items:center; justify-content:space-between; padding-top:10px; padding-bottom:6px; }
.logo { display:flex; align-items:center; gap:8px; color:#fff; font-weight:700; font-size:18px; text-decoration:none; }
.logo img { border-radius:8px; background:#fff; }
.lang { font-size:13px; }
.lang a { color:#fff; opacity:.9; }
.lang strong { color:#fff; }
.topnav { max-width:860px; margin:0 auto; padding:0 16px 10px; display:flex; gap:16px; flex-wrap:wrap; font-size:15px; }
.topnav a { color:#fff; text-decoration:none; border-bottom:2px solid rgba(255,255,255,.5); }
.crumbs { font-size:13px; color:var(--muted); margin:14px 0 0; }
.crumbs a { color:var(--muted); }
h1 { font-size:26px; line-height:1.35; margin:8px 0 4px; }
h1 .ja, td .ja { font-size:.62em; color:var(--muted); font-weight:400; }
.sub { color:var(--muted); margin:0 0 8px; }
main section { background:#fff; border:1px solid var(--line); border-radius:12px; padding:16px 18px; margin:16px 0; }
h2 { margin:0 0 8px; font-size:20px; line-height:1.4; }
h3 { margin:14px 0 6px; font-size:16px; }
ul { margin:6px 0 0; padding-left:20px; }
li { margin:4px 0; }
ul.plain { list-style:none; padding:0; margin:0; }
ul.cols { columns:2 260px; }
ul.cards { list-style:none; padding:0; display:grid; gap:10px; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); }
ul.cards a { display:block; padding:14px; border:1px solid var(--line); border-radius:10px; text-decoration:none; color:var(--ink); background:var(--brand-soft); height:100%; }
ul.cards strong { display:block; color:var(--brand); font-size:17px; }
ul.cards span { font-size:14px; color:var(--muted); }
.muted { color:var(--muted); font-size:14px; }
.note { background:var(--warn-soft); border-radius:8px; padding:8px 12px; font-size:14px; }
.result { background:var(--brand-soft); border-radius:8px; padding:10px 14px; }
.good { color:var(--good); }
.badge { display:inline-block; font-size:12px; line-height:1.4; padding:1px 7px; border-radius:999px; background:var(--brand-soft); color:var(--brand); margin:0 4px 2px 0; white-space:nowrap; }
.badge.warn { background:var(--warn-soft); color:var(--warn); cursor:help; }
.scroll { overflow-x:auto; -webkit-overflow-scrolling:touch; }
table { border-collapse:collapse; width:100%; }
table.facts th { text-align:left; vertical-align:top; width:30%; color:var(--muted); font-weight:500; padding:6px 10px 6px 0; border-top:1px solid var(--line); }
table.facts td { padding:6px 0; border-top:1px solid var(--line); }
table.data { font-size:14px; }
/* only wide tables (4+ columns with line names) get a minimum width; they scroll sideways on small screens */
table.data.wide { min-width:520px; }
.scroll-hint { display:none; margin:4px 0 0; font-size:12px; color:var(--muted); text-align:right; }
.na { color:var(--muted); }
ul.note-list { margin:6px 0 10px; }
table.data th { text-align:left; font-weight:600; border-bottom:2px solid var(--line); padding:6px 8px; white-space:nowrap; }
table.data td { border-bottom:1px solid var(--line); padding:8px; vertical-align:top; }
table.data td.num { text-align:right; white-space:nowrap; }
tr.sum td { border-bottom:none; }
.lines { font-size:13px; color:var(--muted); margin-top:2px; }
/* the no-pass route under a fare cell: wraps and reads left to right like the route in column 1 */
table.data td.num .lines.rl { white-space:normal; text-align:left; min-width:160px; }
.disclaimer .unv-notes p, .disclaimer .unv-notes li { font-size:14px; }
.ln i { display:inline-block; width:8px; height:8px; border-radius:2px; margin-right:4px; vertical-align:middle; }
.hero { background:var(--brand-soft); }
.lead { font-size:18px; font-weight:600; margin:0 0 4px; }
.cta { display:inline-block; margin:8px 0 4px; background:var(--brand); color:#fff; font-weight:700; padding:12px 20px; border-radius:10px; text-decoration:none; }
.cta-box { text-align:center; background:var(--brand-soft); }
.disclaimer p { font-size:14px; }
footer { color:var(--muted); font-size:13px; padding:16px 16px 40px; }
footer a { color:var(--muted); }
@media (max-width:480px) {
  h1 { font-size:22px; }
  main section { padding:14px; }
  table.facts th { width:36%; }
}
@media (max-width:600px) {
  .scroll-hint { display:block; }
}
