.boarding-steps{display:flex;align-items:center;gap:8px;margin:18px 0 20px}
.control-panel{min-width:0}
.boarding-steps>span{height:1px;flex:1;background:var(--line)}
.boarding-steps button{display:flex;align-items:center;gap:6px;min-height:44px;padding:4px 0;border:0;background:transparent;color:var(--muted);font-size:12px;font-weight:600}
.boarding-steps i{display:grid;place-items:center;width:25px;height:25px;border:1px solid var(--line);border-radius:50%;font-style:normal;font-size:11px}
.boarding-steps button[aria-current=step]{color:var(--navy);font-weight:800}
.boarding-steps button[aria-current=step] i{background:var(--navy);color:#fff;border-color:var(--navy);box-shadow:0 0 0 4px #0847a60a}
.boarding-steps .complete i{background:#e3f4ec;color:#08745e;border-color:#bbdfd0}
.boarding-steps button:disabled{opacity:.65;cursor:default}
#nearby-workspace .hero-copy{margin-top:0}
#nearby-workspace .hero-copy>.eyebrow{display:none}
#boarding-title{font-size:clamp(24px,2.5vw,34px);line-height:1.1;max-width:360px}
#boarding-hint{font-size:12px;line-height:1.5}
.location-confirmed #location-button{background:#edf4f9;color:var(--ink);box-shadow:none;border:1px solid #d4e2ef}
.location-confirmed #location-button em{color:var(--muted)}
.location-confirmed #location-button .location-icon{background:white;color:var(--navy)}
.location-confirmed #location-button>span:nth-child(2){min-width:0}
.location-confirmed #location-action-title{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.location-confirmed #location-button .button-arrow{color:var(--navy);font-size:11px}
.boarding-direction{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:4px 0 14px;padding:13px;border:1px solid #d5e2ef;border-radius:16px;background:linear-gradient(120deg,#edf4fc,#f8fbff)}
.boarding-direction>span{min-width:0}
.boarding-direction small{display:block;color:var(--muted);font-size:9px;font-weight:700;letter-spacing:.08em}
.boarding-direction strong{display:block;margin-top:4px;font-size:13px;line-height:1.4;color:var(--ink);overflow-wrap:anywhere}
.boarding-direction button{display:flex;flex:0 0 auto;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:8px 11px;border:1px solid #bcd0e9;border-radius:12px;background:#fff;color:var(--navy);font-size:11px;font-weight:700}
.boarding-direction .ui-icon{width:17px;height:17px}
.arrival-destination{font-weight:700;line-height:1.5}
.direction-dialog{width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 28px);margin:auto;padding:24px;border:1px solid #dfe7ec;border-radius:26px;background:linear-gradient(155deg,#fffdf8,#f3f8fb);color:var(--ink);box-shadow:0 30px 100px #102d3f38;overflow:auto}
.direction-dialog::backdrop{background:#102d3f88;backdrop-filter:blur(5px)}
.direction-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.direction-dialog h2{font:700 27px/1.12 'Bricolage Grotesque',sans-serif;margin:8px 0 0;overflow-wrap:anywhere}
.direction-dialog .eyebrow{font-size:10px}
.direction-close{display:grid;place-items:center;flex:0 0 auto;width:44px;height:44px;padding:0;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--ink)}
#direction-help{margin:14px 0 20px;font-size:13px;line-height:1.55;color:var(--muted)}
#direction-options{display:grid;gap:10px}
.direction-choice{display:flex;align-items:center;gap:12px;min-height:98px;width:100%;padding:15px 12px;border:1px solid #dbe5eb;border-radius:18px;background:#fff;text-align:left;color:var(--ink);transition:border-color .16s,background .16s}
.direction-choice.current{border-color:#9cbadf;background:#eff5fc}
.direction-symbol{display:grid;place-items:center;flex:0 0 auto;width:38px;height:42px;border-radius:12px;background:#eef4f9;color:var(--navy)}
.direction-symbol .ui-icon{width:24px;height:24px}
.direction-choice>span:nth-child(2){min-width:0;flex:1}
.direction-choice small{display:block;font-size:9px;font-weight:700;letter-spacing:.055em;color:var(--navy)}
.direction-choice strong{display:block;margin:4px 0;font-size:15px;line-height:1.35;overflow-wrap:anywhere}
.direction-choice em{display:block;color:var(--muted);font-size:11px;line-height:1.4;font-style:normal}
.direction-choice>b{font-size:11px;color:var(--navy)}
.direction-back{min-height:44px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--navy);font-weight:700;font-size:12px}
#direction-back{margin-top:16px}
#location-confirm-dialog .location-confirm-intro{font-size:13px;line-height:1.5}
#location-confirm-dialog .location-confirm-card{grid-template-columns:42px minmax(0,1fr);gap:10px}
#location-confirm-dialog .location-confirm-card strong{font-size:14px;overflow-wrap:anywhere}
#location-confirm-dialog .location-confirm-card div>span{font-size:11px}
#location-confirm-dialog .location-confirm-card>b{grid-column:2;justify-self:start;font-size:11px;white-space:normal}
#location-confirm-dialog .location-accuracy>p{font-size:12px}
#location-confirm-dialog .location-accuracy>div{flex-wrap:wrap;gap:5px}
#location-confirm-dialog .location-accuracy>div :is(span,strong){font-size:12px}
#location-confirm-dialog .origin-correction summary{min-height:48px;font-size:13px;font-weight:700;color:var(--navy)}
#location-confirm-dialog .location-confirm-actions button{font-size:13px;min-height:48px}
#location-confirm-dialog .location-confirm-actions{position:sticky;bottom:-30px;padding:14px 0;background:#f3f8f5;gap:8px}
#location-confirm-dialog #confirm-location:disabled{opacity:.45;cursor:default}
#location-confirm-dialog #origin-search{font-size:16px;min-width:0}
#location-confirm-dialog .origin-results strong{font-size:13px}
#location-confirm-dialog .origin-results small{font-size:11px}
#location-confirm-dialog .origin-recent-item strong{font-size:12px;line-height:1.4}
#location-confirm-dialog .origin-recent-item small{font-size:10px;line-height:1.4}
#location-confirm-dialog .origin-recent-item button{min-height:48px}
#location-confirm-dialog #origin-search-form label{font-size:11px}
#location-confirm-dialog #origin-search-form button{font-size:12px}
#location-confirm-dialog .origin-recents header strong{font-size:10px}
.location-confirmed #location-button small{color:var(--navy)}
@media(max-width:900px){
  .nearby-stop-list{display:flex;gap:8px;width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;max-height:none;scroll-snap-type:x proximity;padding:4px 2px 10px;scrollbar-width:thin}
  .nearby-stop-choice{flex:0 0 90%;min-width:0;scroll-snap-align:start;min-height:66px}
  .nearby-stop-heading>b:after{content:' · deslize'}
  .nearby-stop-choice strong{font-size:12px}
  .nearby-stop-choice small{font-size:10px}
}
@media(hover:hover){.direction-choice:hover{background:#edf4fb;border-color:#749cca}.boarding-direction button:hover{background:#edf4fb}}
@media(max-width:900px){.boarding-steps{margin:10px 0 12px}.boarding-steps button{font-size:11px}#nearby-workspace .hero-copy{margin-bottom:12px}#boarding-title{font-size:24px}#boarding-hint{margin-bottom:10px}.boarding-direction{gap:8px;padding:11px}.boarding-direction button{flex-direction:column;gap:3px;font-size:10px;padding:6px 9px}.direction-dialog{padding:20px}.direction-dialog h2{font-size:25px}#location-confirm-dialog{padding:22px}#location-confirm-dialog .location-confirm-actions{bottom:-22px}#location-confirm-dialog .location-confirm-actions button{padding:10px 8px;font-size:12px}.direction-choice{gap:9px}.direction-choice strong{font-size:14px}}
@media(max-width:359px){.direction-symbol{width:28px;height:36px}.direction-choice{padding:12px 10px;gap:8px}.direction-dialog{padding:18px}.direction-choice>b{font-size:10px}#location-confirm-dialog .location-confirm-actions{grid-template-columns:1fr}.boarding-steps{gap:5px}}

.line-search-panel>summary span,.line-search-panel>summary b{font-size:12px}
.nearby-stop-heading{flex-wrap:wrap;gap:8px}
.nearby-stop-heading>div>span{font-size:10px}
.nearby-stop-heading>b{font-size:10px}
.nearby-stop-list{gap:9px}
.nearby-stop-choice{grid-template-columns:36px minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:12px;row-gap:5px;min-height:76px;padding:11px 12px}
.nearby-stop-choice .nearby-stop-icon{grid-column:1;grid-row:1/3;width:36px;height:36px}
.nearby-stop-choice>span:nth-child(2){display:contents}
.nearby-stop-choice strong{grid-column:2/4;grid-row:1;min-width:0;overflow:hidden;white-space:normal;text-overflow:clip;font-size:14px;line-height:1.25;overflow-wrap:anywhere}
.nearby-stop-choice small{grid-column:2;grid-row:2;min-width:0;margin:0;font-size:12px;line-height:1.35;white-space:normal}
.nearby-stop-choice>i{grid-column:3;grid-row:2;justify-self:end;align-self:center;font-size:12px;white-space:nowrap}
:root[data-theme=dark] .nearby-stop-choice>i{color:var(--night-link)}
.night-reading .nearby-stop-choice>i{color:#8dbbff}
@media(max-width:900px){
  .nearby-stop-choice{min-height:80px}
  .nearby-stop-choice strong{font-size:14px}
  .nearby-stop-choice small{font-size:12px}
}
@media(prefers-reduced-motion:reduce){.direction-choice{transition:none}}
