/* LaoGo 1.6: shared dimensional surfaces. Map rendering remains native. */
:root {
  --canvas: #f3f6fc;
  --border: #e1e7f2;
  --muted: #647491;
  --radius: 24px;
  --shadow: 0 12px 32px -16px rgba(26,52,102,.2), 0 2px 6px rgba(26,52,102,.035);
  --raised-shadow: 0 18px 45px -22px rgba(26,52,102,.28), 0 1px 0 #fff inset;
}
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
.rider-body { background: var(--canvas); }
.skip-link { position:fixed;top:-100px;left:20px;z-index:9999;padding:14px 20px;border-radius:12px;background:var(--navy);color:#fff; }
.skip-link:focus { top:12px; }
#main-content:focus { outline:none; }
.rider-header { padding:0 clamp(20px,3.3vw,52px);gap:36px;border-bottom-color:transparent;box-shadow:0 3px 20px rgba(30,58,110,.025); }
.brand-logo { height:44px; }
.rider-nav a { position:relative;border:0;padding:0 16px; }
.rider-nav a.active:after { content:"";position:absolute;bottom:0;left:16px;right:16px;height:4px;border-radius:4px;background:var(--blue); }
.rider-nav .icon { width:18px;height:18px; }
.icon-button,.language-form,.quiet-button { border-radius:13px; }
.icon-button { min-width:42px;min-height:42px; }
.avatar { color:#fff;background:linear-gradient(145deg,#5586ff,#315cff);box-shadow:0 5px 12px rgba(49,92,255,.2),0 1px 0 rgba(255,255,255,.5) inset; }
.quiet-button,.primary-small,.primary-button,.confirm-button { transition:transform .18s ease,box-shadow .18s ease,background .18s ease; }
.quiet-button { box-shadow:0 3px 8px rgba(22,45,86,.035); }
.primary-button,.confirm-button,.primary-small { background:linear-gradient(145deg,#4777ff,#315cff);border:1px solid rgba(49,92,255,.3);box-shadow:0 8px 16px -6px rgba(49,92,255,.38),0 1px 0 rgba(255,255,255,.25) inset;border-radius:14px; }
.primary-button:hover,.confirm-button:hover,.primary-small:hover { transform:translateY(-1px);background:var(--blue-dark);box-shadow:0 10px 20px -7px rgba(49,92,255,.5); }
button:disabled { cursor:wait;opacity:.65; }
input,textarea,select { max-width:100%; }
input:focus-visible,textarea:focus-visible,select:focus-visible { outline:3px solid rgba(49,92,255,.2);outline-offset:2px; }
.ride-welcome { display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:1600px;height:174px;margin:auto;padding:12px clamp(24px,3.3vw,52px);overflow:hidden; }
.ride-welcome h1 { margin:0 0 10px;font-size:clamp(27px,3.15vw,48px);line-height:1.12;letter-spacing:-1.6px;font-weight:800; }
.ride-welcome p { margin:0;color:var(--muted);font-size:clamp(14px,1.4vw,19px);line-height:1.5; }
.ride-welcome img { flex:none;width:310px;height:190px;object-fit:contain;filter:drop-shadow(0 14px 16px rgba(32,58,101,.09)); }
.booking-layout { max-width:1600px;margin:0 auto;padding:0 30px 26px;gap:20px;grid-template-columns:minmax(0,1.65fr) minmax(410px,1fr);height:auto;min-height:0;align-items:stretch; }
.rider-map { min-height:700px;border:3px solid #fff;border-radius:24px;box-shadow:var(--raised-shadow); }
.booking-rail { padding:24px;background:#fff;border:1px solid rgba(225,231,242,.7);border-radius:24px;box-shadow:var(--raised-shadow);overflow:visible; }
.booking-title { margin-bottom:17px;gap:12px; }
.booking-title h2 { margin:0;font-size:clamp(23px,1.85vw,29px);font-weight:800;letter-spacing:-.8px; }
.booking-title .text-button { display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:10px;background:var(--canvas); }
.booking-form { gap:11px; }
.location-field { padding:10px 14px 11px 18px;box-shadow:0 2px 4px rgba(15,35,70,.015) inset;border-radius:12px; }
.location-field input { min-width:0;width:100%;font-size:15px;line-height:1.6; }
.location-field small { display:none; }
.location-dot { top:28px;box-shadow:0 0 0 5px #edf2ff; }
.location-dot.amber { box-shadow:0 0 0 5px #fff6e5; }
.destination-field:before { top:-13px;height:22px; }
.time-row { min-height:46px;padding:6px 12px;gap:18px;margin:0; }
.time-row legend { font-size:12px;color:var(--muted); }
.time-row label { min-height:30px;font-weight:700; }
.saved-shortcuts { gap:10px;grid-template-columns:repeat(2,minmax(0,1fr)); }
.saved-shortcuts :is(button,a) { display:flex;align-items:center;gap:11px;min-width:0;min-height:54px;padding:10px 12px;border:1px solid var(--border);border-radius:12px;background:linear-gradient(150deg,#fafbfe,#f3f6fc);text-align:left; }
.saved-shortcuts :is(button,a)>span { display:grid;gap:3px;min-width:0; }
.saved-shortcuts b,.saved-shortcuts small { overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.saved-shortcuts small { margin:0;font-size:11px;color:var(--muted); }
.vehicle-list { display:grid;gap:7px;border:0;overflow:visible;margin:0; }
.vehicle-option,.vehicle-option:last-child { min-height:69px;grid-template-columns:70px minmax(0,1fr) auto 18px;gap:9px;padding:8px 11px;border:1px solid var(--border);border-radius:13px;transition:background .15s,border-color .15s,box-shadow .15s;cursor:pointer; }
.vehicle-option input { grid-column:4;grid-row:1;margin:0;width:18px;height:18px; }
.vehicle-option .vehicle-art { grid-column:1;grid-row:1; }
.vehicle-option>span:nth-of-type(2) { grid-column:2;grid-row:1; }
.vehicle-option>strong { grid-column:3;grid-row:1;font-size:14px;white-space:nowrap; }
.vehicle-option.selected { outline:0;border-color:var(--blue);box-shadow:0 0 0 1px var(--blue),0 4px 10px rgba(49,92,255,.06);background:#f6f8ff; }
.vehicle-art { width:70px;height:46px; }
.vehicle-art img { width:78px;height:54px;object-fit:contain; }
.vehicle-option[data-type=comfort] .vehicle-art img { filter:brightness(.82) saturate(.65); }
.vehicle-option[data-type=van] .vehicle-art { color:#315cff;background:linear-gradient(140deg,#f2f5ff,#dce5ff);border-radius:11px;box-shadow:0 3px 5px rgba(23,43,89,.08),0 1px 1px #fff inset; }
.payment-select { min-height:48px;border-radius:12px; }
.payment-select select { min-width:0;font-size:14px; }
.fare-disclosure { padding:4px 0;border:0;font-size:11px;line-height:1.5; }
.fare-disclosure .icon { width:16px; }
.confirm-button { min-height:54px;font-size:15px;padding:0 18px;gap:8px; }
.confirm-button strong { white-space:nowrap; }
.map-style-switcher { left:18px;right:auto;top:18px;box-shadow:0 6px 16px rgba(26,52,102,.12); }
.map-style-switcher button.active { color:#fff;background:var(--blue);box-shadow:0 3px 8px rgba(49,92,255,.22); }
.map-route-summary { top:auto;bottom:22px;left:20px;border:0;max-width:275px;border-radius:16px;padding:15px 18px; }
.map-route-summary small { text-transform:none;letter-spacing:0;font-size:12px; }
.map-route-summary em { font-size:10px;max-width:220px; }
.map-controls { top:18px;bottom:auto;right:18px; }
.map-controls button { width:42px;height:42px; }
.interactive-map .recent-trip-card { display:none; }
.experience-footer { display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px clamp(24px,3.3vw,52px);background:#fff;color:var(--muted);font-size:12px; }
.experience-footer>span { color:var(--navy);font-weight:800;font-size:17px; }
.experience-footer nav { display:flex;gap:22px; }
.portal-main { max-width:1440px;padding:36px clamp(22px,4vw,56px) 54px;min-height:calc(100vh - 170px); }
.portal-heading h1 { font-size:36px;letter-spacing:-1.1px; }
.portal-panel,.portal-trip-card,.rider-trip-row { border-color:rgba(225,231,242,.8);border-radius:20px;box-shadow:var(--shadow); }
.portal-panel>header { padding:18px 22px; }
.portal-panel>header h2 { font-size:18px; }
.portal-form { padding:22px;gap:16px; }
.portal-form :is(input,select,textarea) { min-height:48px;border-radius:12px; }
.portal-card-icon,.trip-route-icon { box-shadow:0 4px 9px rgba(49,92,255,.08),0 1px 0 #fff inset;background:linear-gradient(135deg,#f3f7ff,#e2eaff); }
.portal-two-column,.portal-detail-grid { gap:22px; }
.wallet-hero { position:relative;overflow:hidden;min-height:190px;background:linear-gradient(125deg,#0b1739,#1e3770);border:1px solid #3a5285;border-radius:24px;box-shadow:0 18px 28px -16px rgba(11,23,57,.5),0 1px 0 rgba(255,255,255,.2) inset; }
.wallet-hero:after { content:"";position:absolute;right:45px;top:-95px;width:280px;height:280px;border:38px solid rgba(255,255,255,.035);border-radius:50%;pointer-events:none; }
.wallet-hero strong { font-size:42px;letter-spacing:-1px; }
.wallet-hero small { color:#d0dbf6; }
.wallet-hero>.icon { width:62px;height:62px;filter:drop-shadow(0 8px 3px rgba(0,0,0,.16)); }
.portal-tabs a { min-height:44px;border-radius:12px; }
.portal-tabs a.active { background:var(--blue);color:#fff;box-shadow:0 5px 12px rgba(49,92,255,.16); }
.portal-tabs a.active span { background:rgba(255,255,255,.18); }
.portal-heading>div>small { text-transform:none;letter-spacing:0;font-size:12px; }
.trip-actions { display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px; }
.pickup-code { margin:0 22px 22px;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px dashed #adc1fa;border-radius:14px;background:#f3f6ff; }
.pickup-code>div { display:grid;gap:5px; }
.pickup-code small { color:var(--muted);max-width:270px;line-height:1.5; }
.pickup-code>strong { font-size:30px;letter-spacing:7px;color:var(--blue);white-space:nowrap; }
.trip-contact { display:flex;gap:12px;padding:0 22px 22px;flex-wrap:wrap; }
.trip-refresh-note { margin:0 0 16px;color:var(--muted);font-size:12px; }
.login-page { max-width:1400px;margin:32px auto;min-height:650px;grid-template-columns:minmax(360px,.8fr) 1.2fr;padding:20px;gap:40px; }
.login-panel { padding:40px clamp(24px,4vw,70px);background:#fff;border:1px solid var(--border);border-radius:26px;box-shadow:var(--raised-shadow); }
.login-panel h1 { font-size:36px;letter-spacing:-1px; }
.login-panel>p { line-height:1.6; }
.login-art { display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;text-align:center;padding:30px; }
.login-art h2 { margin:0;font-size:44px;line-height:1.15;letter-spacing:-1.5px;max-width:480px; }
.login-art p { color:var(--muted);font-size:17px;line-height:1.6;max-width:400px;margin:16px auto 0; }
.login-art img { width:min(100%,600px);height:auto;filter:drop-shadow(0 20px 25px rgba(31,60,106,.14)); }
.password-field { display:flex;align-items:center;border:1px solid var(--border);border-radius:12px;background:#fff; }
.password-field input { width:100%;min-width:0;border:0; }
.password-field button { min-height:46px;padding:0 13px;color:var(--blue);font-size:12px;font-weight:750; }
@media(min-width:1600px) { .booking-layout { min-height:730px; } }
@media(max-width:1180px) {
  .rider-header { gap:16px;padding:0 22px; }
  .rider-nav a { padding:0 10px;font-size:13px; }
  .rider-nav .icon { display:none; }
  .booking-layout { grid-template-columns:minmax(0,1.25fr) minmax(380px,1fr);padding:0 20px 24px;gap:16px; }
  .booking-rail { padding:20px; }
  .ride-welcome img { width:240px; }
  .ride-welcome h1 { font-size:36px; }
}
@media(max-width:900px) {
  .rider-header { height:74px; }
  .rider-header .language-form { display:flex; }
  .rider-header .header-actions { gap:7px; }
  .rider-nav { left:12px;right:12px;bottom:max(10px,env(safe-area-inset-bottom));height:68px;border:1px solid var(--border);border-radius:22px;box-shadow:0 12px 30px rgba(22,45,86,.14);align-items:center; }
  .rider-nav .icon { display:block;width:21px;height:21px; }
  .rider-nav a { padding:7px 12px;font-size:10px;gap:5px;min-height:50px;border-radius:14px; }
  .rider-nav a.active { border:0;background:#edf2ff; }
  .rider-nav a.active:after { display:none; }
  .ride-welcome { height:150px;padding:14px 24px; }
  .ride-welcome h1 { font-size:30px;letter-spacing:-.9px; }
  .ride-welcome img { width:220px;height:150px; }
  .booking-layout { display:flex;gap:16px;padding:0 20px 24px; }
  .rider-map { min-height:340px;height:40vh; }
  .booking-rail { padding:24px; }
  .booking-title h2 { font-size:26px; }
  .booking-form { gap:14px; }
  .vehicle-option { min-height:76px; }
  .portal-main { padding-bottom:28px; }
  .experience-footer { margin-bottom:90px; }
  .login-page { grid-template-columns:1fr;min-height:0;margin:20px auto;max-width:560px;padding:16px; }
  .login-art { display:none; }
}
@media(max-width:540px) {
  .rider-header { padding:0 16px;height:70px;gap:8px; }
  .brand-logo { height:34px;max-width:110px; }
  .rider-header .language-form { max-width:110px;height:38px;padding:0 7px;gap:4px; }
  .language-form .icon { display:none; }
  .language-form select { max-width:90px;font-size:12px; }
  .rider-header .header-actions { gap:4px; }
  .rider-header .avatar { width:33px;height:33px; }
  .rider-header .icon-button { min-width:34px;min-height:38px;width:34px;height:38px; }
  .rider-nav a { padding:7px 9px; }
  .ride-welcome { display:grid;grid-template-columns:minmax(0,1fr) 150px;min-height:148px;height:auto;padding:10px 20px;gap:6px; }
  .ride-welcome>div { position:relative;z-index:1;min-width:0; }
  .ride-welcome h1 { font-size:24px;letter-spacing:-.8px;max-width:230px; }
  .ride-welcome p { font-size:12px;max-width:210px; }
  .ride-welcome img { width:160px;height:125px;margin-right:-10px;margin-left:0; }
  .booking-layout { padding:0 12px 18px;gap:14px; }
  .rider-map { height:335px;min-height:335px;border-radius:21px; }
  .booking-rail { padding:20px 15px;border-radius:22px; }
  .booking-title h2 { font-size:24px; }
  .map-style-switcher { top:12px;left:12px;right:auto;max-width:calc(100% - 74px); }
  .map-style-switcher button,.map-style-switcher>a { font-size:10px;padding:0 8px;min-height:34px; }
  .map-controls { top:12px;right:10px;bottom:auto; }
  .map-controls button { width:36px;height:36px; }
  .map-route-summary { top:auto;bottom:22px;left:12px;max-width:220px;padding:11px 14px; }
  .map-route-summary strong { font-size:15px; }
  .saved-shortcuts :is(button,a) { padding:10px;gap:8px; }
  .vehicle-option,.vehicle-option:last-child { grid-template-columns:58px minmax(0,1fr) auto 16px;gap:7px;padding:8px; }
  .vehicle-art { width:58px; }
  .vehicle-art img { width:66px; }
  .vehicle-option>strong { font-size:12px; }
  .vehicle-option small { font-size:10px; }
  .time-row { gap:12px; }
  .time-row legend { font-size:11px; }
  .time-row label { font-size:12px; }
  .portal-main { padding:24px 14px; }
  .portal-heading h1 { font-size:30px; }
  .portal-panel>header { padding:16px 18px; }
  .portal-form { padding:18px; }
  .portal-two-column,.portal-detail-grid { gap:16px; }
  .wallet-hero { min-height:164px; }
  .wallet-hero strong { font-size:32px; }
  .pickup-code { flex-wrap:wrap;margin:0 16px 16px; }
  .experience-footer { padding:22px 18px;flex-direction:column;align-items:flex-start;gap:13px; }
  .login-panel { padding:30px 24px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*:before,*:after { transition:none!important;animation:none!important; } }
@media print {
  .rider-header,.rider-nav,.experience-footer,.trip-actions,.trip-refresh-note,.receipt-panel>form,.trip-contact,.pickup-code,.toast,.error-banner { display:none!important; }
  body,.portal-main { background:white; }
  .portal-main { padding:0;max-width:100%; }
  .portal-panel { box-shadow:none;break-inside:avoid; }
  .portal-detail-grid { display:block; }
  .portal-detail-grid>section,.portal-detail-grid>aside { margin-bottom:20px; }
}
