/* Design tokens — diambil dari ticket.transportforjakarta.or.id */
:root {
  --tfj-blue: #18549c;
  --tfj-navy: #14293d;
  --tfj-ink: #00162b;
  --tfj-muted: #5a6a7a;
  --tfj-lime: #e8ec14;
  --tfj-cream: #fcf9ee;
  --tfj-tint: #ecf4fc;
  --tfj-red: #e4002b;
  --tfj-green: #006d3a;
  --tfj-gold: #f9d437;
  --radius-card: 25px;
  --radius-tile: 20px;
  --radius-chip: 10px;
  --radius-pill: 500px;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-route: "PT Sans", "Arial", sans-serif;
  --font-route-narrow: "PT Sans Narrow", "Arial Narrow", "PT Sans", sans-serif;
  --wrap: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); background: var(--tfj-cream); color: var(--tfj-navy); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 800; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--tfj-lime); color: var(--tfj-blue); padding: 8px 14px; border-radius: var(--radius-chip); font-weight: 700; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--tfj-blue); outline-offset: 2px; }

/* Buttons & chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--radius-pill); padding: 10px 20px; font: inherit; font-size: .875rem; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: filter .15s, background .15s; }
.btn-lime { background: var(--tfj-lime); color: var(--tfj-blue); }
.btn-lime:hover { filter: brightness(.95); }
.btn-blue { background: var(--tfj-blue); color: #fff; }
.btn-blue:hover { filter: brightness(1.1); }
.btn-ghost { border-color: var(--tfj-blue); color: var(--tfj-blue); background: transparent; }
.btn-ghost:hover { background: var(--tfj-tint); }
.btn-ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.chip { display: inline-block; border-radius: var(--radius-pill); padding: 4px 12px; font-size: .75rem; font-weight: 700; background: var(--tfj-tint); color: var(--tfj-blue); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 color-mix(in srgb, var(--tfj-navy) 10%, transparent); }
.hdr { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { white-space: nowrap; padding: 8px 12px; border-radius: var(--radius-pill); font-size: .875rem; font-weight: 600; text-decoration: none; color: var(--tfj-navy); }
.nav a:hover { background: var(--tfj-tint); color: var(--tfj-blue); }
.hdr-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.hdr select, .hdr .search input { font: inherit; font-size: .875rem; font-weight: 600; border: 2px solid color-mix(in srgb, var(--tfj-navy) 20%, transparent); border-radius: var(--radius-pill); padding: 7px 14px; background: #fff; color: var(--tfj-navy); }
.search input { width: 200px; font-weight: 400; }
.lang { display: inline-flex; border: 2px solid color-mix(in srgb, var(--tfj-navy) 20%, transparent); border-radius: var(--radius-pill); overflow: hidden; }
.lang button { font: inherit; font-size: .75rem; font-weight: 700; border: 0; background: none; padding: 7px 10px; color: var(--tfj-navy); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--tfj-blue); color: #fff; }
.menu-btn { display: none; }

/* Hero */
.hero { background: var(--tfj-ink); color: #fff; padding: 56px 0 72px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: var(--tfj-blue); opacity: .45; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 18ch; }
.hero p.lead { margin-top: 14px; max-width: 56ch; color: rgba(255,255,255,.8); }
.plan { margin-top: 28px; background: #fff; color: var(--tfj-navy); border-radius: var(--radius-card); padding: 20px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; max-width: 860px; }
.plan label { display: block; font-size: .75rem; font-weight: 700; color: var(--tfj-muted); margin-bottom: 4px; }
.plan input { width: 100%; font: inherit; border: 2px solid color-mix(in srgb, var(--tfj-navy) 20%, transparent); border-radius: var(--radius-chip); padding: 11px 14px; color: var(--tfj-navy); }
.plan input:focus { border-color: var(--tfj-blue); outline: none; }
.plan .btn { align-self: end; height: 48px; }
.quick { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .8rem; color: rgba(255,255,255,.7); }
.quick button { font: inherit; font-size: .8rem; font-weight: 600; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; border-radius: var(--radius-pill); padding: 5px 12px; cursor: pointer; }
.quick button:hover { background: rgba(255,255,255,.14); }
.plan-note { margin-top: 10px; font-size: .75rem; color: rgba(255,255,255,.6); }

/* Sections */
section.block { padding: 64px 0; }
section.alt { background: #fff; }
section.tint { background: var(--tfj-tint); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.sec-head p { color: var(--tfj-muted); margin-top: 6px; max-width: 60ch; }
.more { font-weight: 700; font-size: .875rem; color: var(--tfj-blue); text-decoration: none; }
.more:hover { text-decoration: underline; }

/* Status board */
.status { background: #fff; border-radius: var(--radius-card); overflow: hidden; border: 1px solid color-mix(in srgb, var(--tfj-navy) 10%, transparent); }
.status-row { display: grid; grid-template-columns: 52px minmax(120px, 230px) minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 14px 20px; text-decoration: none; color: inherit; }
.status-row:hover { background: var(--tfj-tint); }
.status-row .prev { order: 0; padding-left: 9px; }
.status-row .st-name { grid-column: 3; }
.modeico.sm { width: 48px; height: 48px; border-radius: 14px; }
.modeico.sm img { width: 32px; height: 32px; }
.status-row + .status-row { border-top: 1px solid color-mix(in srgb, var(--tfj-navy) 10%, transparent); }
.status-row strong { display: block; }
.status-row small { color: var(--tfj-muted); }
.badge { border-radius: var(--radius-pill); padding: 4px 12px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.badge.ok { background: color-mix(in srgb, var(--tfj-green) 15%, transparent); color: var(--tfj-green); }
.badge.warn { background: color-mix(in srgb, var(--tfj-gold) 35%, transparent); color: #6b5300; }
.badge.bad { background: color-mix(in srgb, var(--tfj-red) 10%, transparent); color: var(--tfj-red); }
.status-foot { padding: 12px 20px; background: var(--tfj-tint); font-size: .8rem; color: var(--tfj-muted); }
.roundel { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--font-route); font-weight: 700; font-size: .95rem; line-height: 1; letter-spacing: 0; flex: none; font-variant-numeric: tabular-nums; }
.roundel.sm, .mini, .num { font-family: var(--font-route-narrow); font-weight: 700; }

/* Map */
.map-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: stretch; }
.map-card { position: relative; border-radius: var(--radius-card); background: var(--tfj-ink); min-height: 340px; overflow: hidden; color: #fff; display: flex; align-items: end; padding: 28px; }
.map-card svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.map-card .cap { position: relative; }
.map-card .cap h3 { font-size: 1.4rem; }
.map-card .cap p { color: rgba(255,255,255,.75); font-size: .9rem; margin: 4px 0 14px; }
.map-card .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.card { background: #fff; border-radius: var(--radius-card); padding: 24px; }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card .ver { display: inline-block; margin-bottom: 12px; }
.card ul { margin: 0; padding-left: 18px; color: var(--tfj-muted); font-size: .9rem; }
.card ul li + li { margin-top: 6px; }

/* Modes */
/* Halaman moda */
.modeico { width: 84px; height: 84px; border-radius: 22px; background: #fff; display: grid; place-items: center; flex: none; border: 1px solid color-mix(in srgb, var(--tfj-navy) 10%, transparent); }
.modeico img { width: 64px; height: 64px; }
.modemap { width: 100%; height: auto; border-radius: var(--radius-chip); background: #fff; border: 1px solid color-mix(in srgb, var(--tfj-navy) 10%, transparent); }
.linegrid.one { grid-template-columns: 1fr; }
.pdfmap { display: block; width: 100%; height: min(78vh, 680px); border: 1px solid color-mix(in srgb, var(--tfj-navy) 10%, transparent); border-radius: var(--radius-chip); background: #fff; }
.modes-more { width: 100%; text-align: center; margin-top: 18px; font-size: .9rem; color: rgba(255,255,255,.8); }
.modes-more a { color: var(--tfj-lime); font-weight: 700; margin: 0 6px; }

/* Tim Kami */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tabs [role=tab] { font: inherit; font-size: .9rem; font-weight: 700; border: 2px solid var(--tfj-blue); background: transparent; color: var(--tfj-blue); border-radius: var(--radius-pill); padding: 9px 20px; cursor: pointer; }
.tabs [role=tab][aria-selected="true"] { background: var(--tfj-blue); color: #fff; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.member { background: var(--tfj-cream); border-radius: var(--radius-card); padding: 14px 14px 20px; display: flex; flex-direction: column; gap: 4px; text-align: center; }
.member img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-tile); margin-bottom: 10px; background: var(--tfj-tint); }
.member b { font-size: 1rem; line-height: 1.25; }
.member small { color: var(--tfj-muted); font-size: .82rem; line-height: 1.3; }
.member .avatar { width: 100%; aspect-ratio: 1; border-radius: var(--radius-tile); font-size: 2rem; margin-bottom: 10px; }
.orgchart { margin: 44px 0 0; }
.orgchart h3 { font-size: 1.3rem; margin-bottom: 14px; }
.orgchart img { width: 100%; height: auto; border-radius: var(--radius-card); background: #fff; border: 1px solid color-mix(in srgb, var(--tfj-navy) 10%, transparent); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }

/* Jelajahi moda: bagian gelap, kartu putih tinggi berisi ikon + nama (gaya transportforjakarta.or.id) */
.modes-sec { background: var(--tfj-ink); color: #fff; }
.modes-head { text-align: center; margin-bottom: 36px; }
.modes-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.modes-head p { color: rgba(255,255,255,.75); margin: 10px auto 0; max-width: 60ch; }
/* Kartu ringkas, rata tengah; bila tidak muat dalam satu baris, turun ke baris berikutnya (tanpa scroll) */
.modes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 1120px; margin: 0 auto; padding: 6px 0 12px; }
.mode { flex: 0 0 108px; background: #fff; color: var(--tfj-ink); border-radius: 20px; padding: 16px 8px 14px; text-align: center; text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 8px; border: 2px solid rgba(255,255,255,.35); transition: transform .15s, box-shadow .15s; }
.mode:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,.35); }
.mode img { width: 56px; height: 56px; margin: 0; border-radius: 14px; }
.mode b { font-size: .85rem; font-weight: 800; line-height: 1.2; min-height: 2.4em; display: grid; place-items: center; }
.modes-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.btn-white { background: #fff; color: var(--tfj-blue); }
.btn-white:hover { filter: brightness(.95); }

/* Fares */
.fares { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.fare { background: #fff; border-radius: var(--radius-tile); padding: 22px; }
.fare .price { font-size: 1.7rem; font-weight: 800; color: var(--tfj-blue); margin: 6px 0; }
.fare small { color: var(--tfj-muted); }
.note { margin-top: 16px; font-size: .8rem; color: var(--tfj-muted); }

/* Upcoming */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.timeline li { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; background: #fff; border-radius: var(--radius-tile); padding: 14px 20px; }
.date { text-align: center; background: var(--tfj-tint); color: var(--tfj-blue); border-radius: var(--radius-chip); padding: 8px 4px; font-weight: 800; line-height: 1.1; }
.date span { display: block; font-size: .7rem; font-weight: 700; }

/* Guides */
.guides { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.guide { background: var(--tfj-blue); color: #fff; border-radius: var(--radius-card); padding: 24px; text-decoration: none; display: flex; flex-direction: column; gap: 8px; min-height: 160px; }
.guide:nth-child(2) { background: var(--tfj-green); }
.guide:nth-child(3) { background: var(--tfj-navy); }
.guide:nth-child(4) { background: var(--tfj-ink); }
.guide h3 { font-size: 1.15rem; }
.guide p { font-size: .85rem; color: rgba(255,255,255,.8); }
.guide span { margin-top: auto; font-weight: 700; font-size: .85rem; color: var(--tfj-lime); }

/* Collab + insights */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.tile { background: #fff; border-radius: var(--radius-card); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; border: 1px solid color-mix(in srgb, var(--tfj-navy) 10%, transparent); }
.tile .thumb { height: 120px; background: linear-gradient(135deg, var(--tfj-blue), var(--tfj-navy)); display: grid; place-items: center; color: var(--tfj-lime); font-weight: 800; font-size: 1rem; padding: 12px; text-align: center; }
.tile .thumb.g { background: linear-gradient(135deg, var(--tfj-green), var(--tfj-navy)); }
.tile .thumb.k { background: linear-gradient(135deg, var(--tfj-navy), var(--tfj-ink)); }
.tile .body { padding: 18px 20px 22px; }
.tile h3 { font-size: 1rem; margin: 6px 0; }
.tile p { font-size: .85rem; color: var(--tfj-muted); }

/* Community strip */
.community { background: var(--tfj-ink); color: #fff; padding: 56px 0; }
.community .grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.community h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.community p { margin-top: 10px; color: rgba(255,255,255,.8); max-width: 54ch; }
.community .btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.event { background: rgba(255,255,255,.08); border-radius: var(--radius-tile); padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.event + .event { margin-top: 10px; }
.event small { color: rgba(255,255,255,.65); display: block; }
.event .chip { background: var(--tfj-lime); color: var(--tfj-blue); }

footer { background: var(--tfj-ink); color: rgba(255,255,255,.7); border-top: 1px solid rgba(255,255,255,.12); padding: 32px 0; font-size: .85rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { text-decoration: none; margin-right: 16px; }
footer a:hover { color: var(--tfj-lime); }
.report { color: var(--tfj-lime); font-weight: 700; }

@media (max-width: 900px) {
  .nav, .search { display: none; }
  .menu-btn { display: inline-flex; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: #fff; padding: 12px 16px; margin: 0; box-shadow: 0 12px 20px rgba(0,0,0,.1); }
  .map-grid, .community .grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .plan { grid-template-columns: 1fr; }
  /* ponsel: [ikon moda] [nama + sumber] [status] sebaris dan rata tengah; ikon lin di baris kedua; waktu pembaruan di baris ketiga */
  .status-row { grid-template-columns: 52px minmax(0, 1fr) auto; column-gap: 12px; row-gap: 10px; align-items: center; }
  .status-row .modeico { grid-column: 1; grid-row: 1; }
  .status-row .st-name { grid-column: 2; grid-row: 1; }
  .status-row .badge { grid-column: 3; grid-row: 1; justify-self: end; align-self: center; font-size: .68rem; padding: 3px 9px; }
  .status-row .prev { grid-column: 1 / -1; grid-row: 2; }
  .status-row .upd { grid-column: 1 / -1; grid-row: 3; justify-self: start; }
  .modes { gap: 10px; }
  .mode { flex: 0 0 calc((100% - 20px) / 3); padding: 14px 6px 12px; }
  .timeline li { grid-template-columns: 64px 1fr; }
  .timeline li .chip { grid-column: 2; justify-self: start; }
  section.block { padding: 44px 0; }
  .logo img { height: 34px; }
}
/* Template jalur & stasiun */
.crumbs { padding: 20px 0 8px; font-size: .8rem; color: var(--tfj-muted); }
.crumbs a { text-decoration: none; color: var(--tfj-blue); font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.page-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 12px 0 24px; }
.page-head h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-top: 6px; }
.roundel.big { width: 64px; height: 64px; font-size: 1.35rem; }
.head-status { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.head-status small, .empty { color: var(--tfj-muted); font-weight: 400; }
.empty { font-style: italic; font-size: .9rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 20px; }
.fact { background: #fff; border-radius: var(--radius-tile); padding: 16px 20px; }
.fact small { display: block; color: var(--tfj-muted); font-size: .75rem; font-weight: 700; margin-bottom: 4px; }
.fact b { font-size: 1.1rem; }
.two { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: start; }
.two > aside, .two > div { display: grid; gap: 20px; }
.two .card h2 { font-size: 1.1rem; margin-bottom: 14px; }
@media (max-width: 800px) { .two { grid-template-columns: 1fr; } .head-status { margin-left: 0; align-items: flex-start; } }
.route { list-style: none; margin: 0; padding: 0; position: relative; }
.route::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 6px; background: var(--line); border-radius: 3px; }
.route li a { display: flex; align-items: center; gap: 16px; padding: 9px 0; text-decoration: none; position: relative; }
.route .dot { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--tfj-ink); margin-left: 5px; flex: none; z-index: 1; }
.route .nm { font-weight: 700; }
.route li a:hover .nm { color: var(--tfj-blue); text-decoration: underline; }
.mini { font-size: .8rem; font-weight: 700; color: #fff; border-radius: var(--radius-pill); padding: 2px 8px; }
.linkrow { display: flex; align-items: center; gap: 14px; padding: 10px 0; text-decoration: none; }
.linkrow + .linkrow { border-top: 1px solid color-mix(in srgb, var(--tfj-navy) 10%, transparent); }
.linkrow span:nth-child(2) { flex: 1; }
.linkrow small { display: block; color: var(--tfj-muted); }
a.linkrow:hover b { color: var(--tfj-blue); }
.acclist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.acc { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.acc span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 800; }
.acc small { margin-left: auto; font-weight: 400; color: var(--tfj-muted); }
.acc.yes span { background: color-mix(in srgb, var(--tfj-green) 15%, transparent); color: var(--tfj-green); }
.acc.no span { background: color-mix(in srgb, var(--tfj-red) 10%, transparent); color: var(--tfj-red); }
.acc.unk span { background: var(--tfj-tint); color: var(--tfj-muted); }
.prevnext { display: flex; justify-content: space-between; margin-bottom: 16px; font-weight: 700; font-size: .875rem; }
.prevnext a { color: var(--tfj-blue); text-decoration: none; }
.prevnext a:hover { text-decoration: underline; }
.report-link { color: var(--tfj-blue); font-weight: 700; }
main > .wrap { padding-bottom: 48px; }

/* Tentang Kami */
.about-hero { padding: 56px 0; }
.about-hero .chip { background: var(--tfj-lime); color: var(--tfj-blue); margin-bottom: 14px; }
.about-two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.about-two h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 12px; }
.body-text { color: var(--tfj-navy); max-width: 60ch; }
.stats { list-style: none; margin: 8px 0 12px; padding: 0; display: grid; gap: 12px; }
.stats li { display: flex; align-items: baseline; gap: 12px; }
.stats b { font-size: 1.8rem; color: var(--tfj-blue); min-width: 56px; }
.stats span { color: var(--tfj-muted); }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.person { background: #fff; border-radius: var(--radius-card); padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.person small { color: var(--tfj-muted); }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--tfj-tint); color: var(--tfj-blue); display: grid; place-items: center; font-weight: 800; margin-bottom: 8px; }
.partners { display: flex; flex-wrap: wrap; gap: 10px; }
.partners .chip { background: #fff; font-size: .9rem; padding: 8px 16px; }
@media (max-width: 800px) { .about-two { grid-template-columns: 1fr; } }

/* Data Commute: daftar jalur */
.op { margin-bottom: 36px; }
.linegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.lcard { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: var(--radius-tile); padding: 12px 16px; text-decoration: none; border: 1px solid color-mix(in srgb, var(--tfj-navy) 10%, transparent); }
.lcard:hover { box-shadow: 0 8px 20px color-mix(in srgb, var(--tfj-navy) 14%, transparent); }
.lcard b { display: block; font-size: .9rem; line-height: 1.25; }
.lcard small { color: var(--tfj-muted); }
.roundel.sm { font-size: .8rem; }
.mode .roundel.sm { font-size: 1rem; }
.roundel.xs { font-size: .65rem; }
.roundel.big.xs { font-size: .85rem; }
.roundel.big.sm { font-size: 1.05rem; }
.segh { font-size: .85rem; color: var(--tfj-muted); margin: 18px 0 6px; }
.num { font-size: .9rem; font-weight: 700; color: var(--tfj-muted); min-width: 32px; }
.exits { display: flex; flex-wrap: wrap; gap: 8px; }
.exits a { text-decoration: none; }
.exits a:hover { background: var(--tfj-blue); color: #fff; }
code { background: var(--tfj-tint); padding: 2px 6px; border-radius: 6px; }

/* Blog & artikel */
.filters { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; }
.catbtn { font: inherit; font-size: .8rem; font-weight: 700; border: 0; border-radius: var(--radius-pill); padding: 7px 16px; background: #fff; color: var(--tfj-navy); cursor: pointer; }
.catbtn[aria-pressed="true"] { background: var(--tfj-blue); color: #fff; }
.filters input { font: inherit; font-size: .875rem; border: 2px solid color-mix(in srgb, var(--tfj-navy) 20%, transparent); border-radius: var(--radius-pill); padding: 8px 16px; width: min(280px, 100%); }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.post { background: #fff; border-radius: var(--radius-card); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; border: 1px solid color-mix(in srgb, var(--tfj-navy) 10%, transparent); transition: transform .15s, box-shadow .15s; }
.post:hover { transform: translateY(-3px); box-shadow: 0 12px 28px color-mix(in srgb, var(--tfj-navy) 14%, transparent); }
.post.feature { grid-column: 1 / -1; flex-direction: row; }
.post.feature .cover { flex: 1.2; height: auto; min-height: 260px; }
.post.feature .pbody { flex: 1; justify-content: center; }
.post.feature h3 { font-size: 1.7rem; }
.pbody { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.pbody h3 { font-size: 1.1rem; line-height: 1.3; }
.pbody p { font-size: .9rem; color: var(--tfj-muted); }
.pbody small { color: var(--tfj-muted); margin-top: auto; }
.cover { height: 170px; display: flex; align-items: flex-end; padding: 16px; color: var(--tfj-lime); font-weight: 800; letter-spacing: .08em; font-size: .75rem; text-transform: uppercase; }
.tone-blue { background: linear-gradient(135deg, var(--tfj-blue), var(--tfj-navy)); }
.tone-green { background: linear-gradient(135deg, var(--tfj-green), var(--tfj-navy)); }
.tone-navy { background: linear-gradient(135deg, var(--tfj-navy), var(--tfj-ink)); }
.tone-lime { background: linear-gradient(135deg, var(--tfj-blue), var(--tfj-green)); }
.pager { display: flex; justify-content: center; gap: 8px; margin: 32px 0; }
.pager button { font: inherit; font-weight: 700; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; }
.pager button[aria-current="true"] { background: var(--tfj-blue); color: #fff; }
.subscribe { margin-top: 24px; background: var(--tfj-blue); color: #fff; border-radius: var(--radius-card); padding: 28px; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.subscribe h2 { font-size: 1.4rem; }
.subscribe p { color: rgba(255,255,255,.85); font-size: .9rem; margin-top: 4px; max-width: 44ch; }
.subscribe .row { display: flex; gap: 8px; }
.subscribe input { font: inherit; border: 0; border-radius: var(--radius-pill); padding: 10px 18px; min-width: 220px; }
.article { max-width: 760px; margin: 0 auto; }
.a-head { text-align: center; padding: 16px 0 24px; }
.a-head time { color: var(--tfj-muted); font-size: .9rem; }
.a-head h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin: 10px 0 14px; }
.a-cats { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--tfj-green); }
.a-cats a { text-decoration: none; color: var(--tfj-green); }
.a-cats span { color: var(--tfj-muted); }
.byline { margin-top: 12px; font-style: italic; color: var(--tfj-muted); }
.a-cover { border-radius: var(--radius-card); height: 280px; }
.a-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 20px 0; }
.a-share .chip { border: 0; cursor: pointer; text-decoration: none; font-family: inherit; }
.a-body { font-size: 1.05rem; line-height: 1.8; }
.a-body h2 { font-size: 1.5rem; margin: 32px 0 10px; }
.a-body p { margin-bottom: 16px; }
.a-body ul, .a-body ol { margin: 0 0 16px; padding-left: 24px; }
.a-body li + li { margin-top: 6px; }
.a-body blockquote { margin: 24px 0; padding: 16px 22px; border-left: 6px solid var(--tfj-lime); background: var(--tfj-tint); border-radius: 0 var(--radius-tile) var(--radius-tile) 0; font-weight: 600; }
.related { margin-top: 56px; }
.related h2 { font-size: 1.5rem; margin-bottom: 16px; }
@media (max-width: 800px) { .post.feature { flex-direction: column; } .post.feature .cover { min-height: 170px; } }

/* Nomor rute dua baris: JAK kecil di atas, angka besar di bawah */
.roundel.stack { flex-direction: column; display: flex; align-items: center; justify-content: center; gap: 0; font-family: var(--font-route-narrow); }
.roundel.stack i { font-style: normal; font-size: .6rem; font-weight: 700; letter-spacing: .04em; line-height: 1; opacity: .9; }
.roundel.stack b { font-size: 1.05rem; font-weight: 700; line-height: 1; margin-top: 1px; }
.roundel.stack.big i { font-size: .65rem; }
.roundel.stack.big b { font-size: 1.4rem; }
.mode .roundel.stack i { font-size: .6rem; }

/* Accordion bagian jalur */
.acc-sec { background: #fff; border-radius: var(--radius-tile); border: 1px solid color-mix(in srgb, var(--tfj-navy) 10%, transparent); margin-bottom: 10px; overflow: hidden; }
.acc-sec summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 14px 18px; }
.acc-sec summary::-webkit-details-marker { display: none; }
.acc-sec summary:hover { background: var(--tfj-tint); }
.acc-title { font-weight: 800; font-size: 1.05rem; flex: 1; min-width: 0; }
.acc-title .chip { margin-left: 6px; vertical-align: middle; }
.prev { display: flex; align-items: center; padding-left: 10px; }
.prev .roundel { width: 36px; height: 36px; font-size: .85rem; margin-left: -9px; box-shadow: 0 0 0 2px #fff; }
.prev .roundel.sm { font-size: .68rem; }
.prev .roundel.xs { font-size: .55rem; }
.prev .roundel.stack i { font-size: .45rem; }
.prev .roundel.stack b { font-size: .8rem; }
.prev .more-n { background: var(--tfj-navy); color: #fff; font-family: var(--font); font-size: .7rem; font-weight: 700; }
.chev { width: 10px; height: 10px; border-right: 2.5px solid var(--tfj-blue); border-bottom: 2.5px solid var(--tfj-blue); transform: rotate(45deg); transition: transform .2s; margin: 0 6px 4px 2px; flex: none; }
.acc-sec[open] > summary .chev { transform: rotate(-135deg); margin-bottom: 0; margin-top: 4px; }
.acc-sec[open] > summary .prev { visibility: hidden; }
.acc-body { padding: 4px 18px 18px; }
@media (max-width: 640px) { .acc-sec summary { flex-wrap: wrap; } .acc-title { flex-basis: 100%; } .prev { order: 3; } .chev { margin-left: auto; order: 4; } }
/* Moda kereta: lingkaran putih dengan garis (stroke) berwarna */
.roundel.outline { background: #fff; color: var(--tfj-ink); border: 6px solid var(--rc); }
.roundel.outline.big { border-width: 7px; }
.roundel.outline.stack i { opacity: 1; }
.prev .roundel.outline { border-width: 5px; }
.mini.outline { background: #fff; color: var(--tfj-ink); border: 3px solid var(--rc); padding: 0 7px; }
.kor.mod { margin-bottom: 10px; }

/* Toolbar: pencarian, tampilan, filter koridor */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.seg { display: inline-flex; background: #fff; border-radius: var(--radius-pill); padding: 3px; border: 1px solid color-mix(in srgb, var(--tfj-navy) 12%, transparent); }
.seg button { font: inherit; font-size: .8rem; font-weight: 700; border: 0; background: none; border-radius: var(--radius-pill); padding: 7px 14px; color: var(--tfj-navy); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--tfj-blue); color: #fff; }
.kor { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 22px; }
.kor > span { font-size: .8rem; font-weight: 700; color: var(--tfj-muted); margin-right: 4px; }
.kor .catbtn { min-width: 38px; padding: 6px 12px; text-align: center; }

/* Tampilan kotak: nomor rute di atas, nama di bawah, 5 kolom */
.view-grid .linegrid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.view-grid .lcard { flex-direction: column; justify-content: center; text-align: center; gap: 10px; aspect-ratio: 1 / 1; padding: 14px 10px; }
.view-grid .lcard .roundel { width: 54px; height: 54px; font-size: 1.15rem; }
.view-grid .lcard .roundel.sm { font-size: 1rem; }
.view-grid .lcard .roundel.xs { font-size: .8rem; }
.view-grid .lcard .roundel.stack i { font-size: .65rem; }
.view-grid .lcard .roundel.stack b { font-size: 1.2rem; }
.view-grid .lcard b { font-size: .8rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1000px) { .view-grid .linegrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 800px) { .view-grid .linegrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .view-grid .linegrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.op:has(> .acc-sec) { margin-bottom: 0; }
.tjparent { margin-bottom: 28px; }
.tjp { font-size: 1.15rem; margin: 8px 0 14px; padding-bottom: 8px; border-bottom: 3px solid var(--tfj-lime); display: flex; gap: 10px; align-items: center; }
.tjgroup { margin-bottom: 22px; }
.tjgroup h4 { font-size: 1.05rem; margin: 6px 0 2px; color: var(--tfj-blue); }
.tjgroup h4 small { color: var(--tfj-muted); font-weight: 600; margin-left: 6px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
