.road-origin-control{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;font-size:.875rem;font-weight:650;color:#284536}
.road-origin-control select{font:inherit;font-weight:500;box-sizing:border-box;max-width:100%;min-height:2.45rem;padding:.35rem .5rem;border:1px solid #9bad9f;border-radius:.35rem;background:#fff;color:#1e3b2c}
.explorer .road-origin-control select{flex:1;min-width:8rem}
.road-reference{border-top:1px solid #dce5db;margin:.55rem 0;padding:.55rem 0;color:#244336;font-size:.875rem;overflow-wrap:anywhere}
.road-reference>span:first-child,.road-reference>div>span:first-child{font-weight:650}
.road-rate-details{font-size:.81rem;margin:.25rem 0;font-weight:normal;white-space:normal}
.road-rate-details summary{cursor:pointer;color:#315641}
.road-rate-details a{color:inherit;text-decoration:underline}
#compare-content>.road-origin-control{margin:0 0 .7rem}
.road-page-fare{display:grid;gap:.45rem;margin-top:.5rem}
@media(max-width:760px){.road-origin-control select{min-height:2.75rem}.selection .road-reference{margin:.3rem 0;padding:.35rem 0}}

/* lab-v4-route-guide */
.rg-page { margin:0; color:#183729; background:#f5f6f2; font:16px/1.55 system-ui,-apple-system,"Hiragino Sans","Yu Gothic",sans-serif; }
.rg-sitebar { padding:10px max(20px,calc((100vw - 990px) / 2)); display:flex; align-items:center; justify-content:space-between; gap:1rem; border-bottom:1px solid #dbe1d8; background:white; }
.rg-sitebar img { display:block; max-width:46vw; object-fit:contain; object-position:left; }
.rg-map-link,.rg-link { color:#185443; text-decoration:underline; text-underline-offset:3px; font-weight:650; }
.rg-sitebar a:last-child { font-size:.9rem; }
.rg-standalone { box-sizing:border-box; width:min(920px,100%); margin:clamp(18px,4vw,52px) auto; background:white; border:1px solid #dce3db; border-radius:14px; overflow:hidden; }
dialog.rg-dialog { box-sizing:border-box; position:fixed; inset:0; width:min(850px,calc(100vw - 36px)); max-width:none; height:auto; max-height:88vh; max-height:88dvh; min-height:0; margin:auto; padding:0; border:1px solid #ccd8ce; border-radius:14px; color:#183729; background:#fff; box-shadow:0 20px 80px #0e241b4a; overflow:auto; overscroll-behavior:contain; z-index:6000; }
dialog.rg-dialog::backdrop { background:rgba(14,35,28,.58); }
.rg-shell { --rg-green:#174e3c; --rg-light:#f0f5f0; --rg-rule:#dce5db; font:normal 16px/1.55 system-ui,-apple-system,"Hiragino Sans","Yu Gothic",sans-serif; color:#213c2d; text-align:left; min-width:0; }
.rg-shell * { box-sizing:border-box; }
.rg-shell :is(a,button,select,summary):focus-visible { outline:3px solid #c15d22; outline-offset:3px; }
.rg-shell button,.rg-shell select { font:inherit; text-transform:none; }
.rg-shell .rg-head { position:sticky; top:0; z-index:1; display:flex; justify-content:space-between; align-items:center; gap:12px; background:#fff; padding:16px 4%; border-bottom:1px solid var(--rg-rule); }
.rg-shell .rg-head h1,.rg-shell .rg-head h2 { margin:0; padding:0; font-size:clamp(19px,3vw,25px); font-weight:720; letter-spacing:.01em; line-height:1.3; color:var(--rg-green); background:none; border:none; }
.rg-shell .rg-close { cursor:pointer; background:#f4f6f1; color:var(--rg-green); min-height:40px; padding:6px 13px; border:1px solid var(--rg-rule); border-radius:6px; font-size:14px; font-weight:650; }
.rg-body { padding:22px 4% 26px; }
.rg-chooser { display:flex; align-items:center; flex-wrap:wrap; gap:8px 16px; margin:0 0 18px; }
.rg-chooser span { font-size:.86em; font-weight:700; color:#3f5549; }
.rg-chooser select { appearance:auto; max-width:100%; min-width:0; min-height:44px; padding:7px 30px 7px 12px; border:1px solid #9dad9d; border-radius:6px; color:#183d2f; background:white; line-height:1.3; }
.rg-shell .rg-route-title { margin:0 0 3px; padding:0; font-size:clamp(19px,3.6vw,27px); color:var(--rg-green); background:none; border:none; line-height:1.4; overflow-wrap:anywhere; }
.rg-via { font-size:14px; color:#425a4c; margin:3px 0 12px; overflow-wrap:anywhere; }
.rg-shell .rg-units { margin:8px 0; color:#3e5548; font-size:13px; font-weight:650; }
.rg-table { border-spacing:0; border-collapse:separate; width:100%; table-layout:fixed; margin:0; background:white; border:1px solid var(--rg-rule); border-radius:8px; overflow:hidden; color:#193929; }
.rg-table th,.rg-table td { border:0; border-bottom:1px solid var(--rg-rule); padding:10px 12px; text-align:right; line-height:1.45; font-variant-numeric:tabular-nums; vertical-align:middle; }
.rg-table thead th { color:#314c3b; background:#eef3ed; font-size:13px; font-weight:700; }
.rg-table th:first-child { width:30%; text-align:left; }
.rg-table tbody th { color:#244936; font-weight:650; }
.rg-table .rg-exit { display:block; overflow-wrap:anywhere; }
.rg-table .rg-branch,.rg-table .rg-picked { display:block; font-size:12px; font-weight:500; }
.rg-table .rg-picked { color:#215940; font-weight:700; }
.rg-table .rg-highlight { background:#e7f4e9; }
.rg-table .rg-highlight th { box-shadow:inset 3px 0 #2d825c; }
.rg-table .rg-fare { font-weight:720; }
.rg-table .rg-unit { font-size:.77em; padding-left:.1em; }
.rg-table tbody tr:last-child > * { border-bottom:0; }
.rg-note,.rg-conditions { color:#415949; font-size:.86em; margin:10px 0 0; }
.rg-conditions { border-top:1px solid var(--rg-rule); padding-top:10px; }
.rg-conditions summary { width:fit-content; cursor:pointer; color:var(--rg-green); font-weight:650; padding-block:5px; }
.rg-conditions ul { padding-left:1.2em; margin:5px 0; }
.rg-conditions li { margin-bottom:4px; overflow-wrap:anywhere; }
.rg-conditions a { color:inherit; }
.rg-route-options { display:flex; flex-wrap:wrap; gap:8px; margin:9px 0 10px; }
.rg-route-options button { cursor:pointer; padding:7px 12px; min-height:40px; border:1px solid #9bb0a2; border-radius:6px; color:var(--rg-green); background:white; font-weight:620; }
.rg-route-options button[aria-pressed=true] { background:var(--rg-green); color:white; border-color:var(--rg-green); }
.rg-error { margin:15px 4%; }
.rg-access { color:#254536; font-size:.94em; line-height:1.6; overflow-wrap:anywhere; }
.rg-access .rg-access-value { margin:2px 0; font-weight:650; }
.rg-access .rg-link { display:inline-block; padding-block:4px; }
.rg-amount { white-space:nowrap; display:inline-block; }
.rg-fare-unit { color:#476151; }
.course-card .rg-access { font-size:13px; }
@media (max-width:600px) {
  .rg-standalone { margin:0; border:none; border-radius:0; }
  dialog.rg-dialog { width:calc(100% - 12px); max-height:92vh; max-height:92dvh; border-radius:10px; }
  .rg-body { padding:16px 12px 20px; }
  .rg-shell .rg-head { padding:12px; }
  .rg-chooser { display:grid; gap:4px; }
  .rg-chooser select { width:100%; padding:9px; font-size:16px; }
  .rg-table th,.rg-table td { padding:9px 4px; font-size:clamp(12px,3.3vw,15px); }
  .rg-table th:first-child { width:29%; padding-left:7px; }
  .rg-table thead th { font-size:clamp(11px,2.9vw,13px); }
  .rg-table .rg-branch,.rg-table .rg-picked { font-size:11px; }
  .rg-shell .rg-close { min-height:44px; }
  .rg-table td { overflow-wrap:anywhere; }
}

.rg-reader-only { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip-path:inset(50%); white-space:nowrap!important; border:0!important; }
.rg-destination { display:flex; align-items:center; flex-wrap:wrap; gap:3px 9px; padding:7px 0; color:var(--rg-green); }
.rg-destination span { font-size:13px; }
.rg-destination .rg-jump { cursor:pointer; background:transparent; border:0; color:var(--rg-green); padding:5px; text-decoration:underline; font-size:13px; }

/* Only the prototype's normal visitor screens load this stylesheet. */
.road-origin-control { display:none!important; }
[data-road-quote]:not([data-rg-ready]) { visibility:hidden; }

.rg-access .rg-access-path { margin:0; color:#244b38; font-variant-numeric:tabular-nums; }
.rg-trip { display:block; margin-top:8px; }

.rg-head-line { display:inline-block; white-space:nowrap; }

/* Keep the regional section separate from another origin's complete journey. */
.rg-access-group + .rg-access-group { margin-top:9px; padding-top:8px; border-top:1px solid #dce5db; }
.rg-access-heading { display:block; font-size:.9em; font-weight:650; color:#476151; }
.rg-access-quote + .rg-access-quote { margin-top:6px; }
.rg-access-via { display:block; color:#476151; }
