:root{--navy:#06111f;--navy2:#0a1a2c;--ink:#0b1424;--blue:#0b6ff4;--blue2:#0958c9;--gold:#d8a23a;--text:#f7f9fd;--muted:#6f7f92;--line:#dbe3ec;--white:#fff;--soft:#f5f8fc;--green:#168b45;--red:#c93e48;--shadow:0 14px 36px rgba(8,26,48,.12)}
*{box-sizing:border-box}html{background:var(--navy)}body{margin:0;background:var(--navy);color:var(--text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;padding-bottom:calc(72px + env(safe-area-inset-bottom));min-height:100vh}button,input,select,textarea{font:inherit}.hidden{display:none!important}.view{display:none}.view.active{display:block}button{cursor:pointer}
.app-header{position:sticky;top:0;z-index:40;min-height:78px;padding:calc(9px + env(safe-area-inset-top)) 14px 9px;display:grid;grid-template-columns:48px 1fr 48px;align-items:center;background:rgba(5,13,24,.98);border-bottom:1px solid #1b2d43}.header-icon{height:42px;width:42px;border:0;background:transparent;color:#fff;border-radius:12px;font-size:23px;display:grid;place-items:center;text-decoration:none}.header-icon:active{background:#10243b}.app-brand{display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}.brand-mark{height:31px;display:flex;align-items:flex-end;font-family:Georgia,"Times New Roman",serif;font-size:35px;font-style:italic;letter-spacing:-.13em}.brand-r{color:#fff}.brand-t{color:#1778ef}.brand-taxi{font-size:9px;color:var(--gold);font-weight:900;letter-spacing:.34em;margin-top:2px}.brand-sub{font-size:7px;font-weight:800;letter-spacing:.17em;margin-top:4px;color:#fff}.phone-icon{font-size:20px}
main{max-width:760px;margin:auto}.quote-shell,.customer-page{background:linear-gradient(180deg,#ffffff 0%,#f6f9fd 100%);color:var(--ink);min-height:calc(100vh - 150px);padding:20px 14px 28px}.page-title{text-align:center;margin:0 auto 16px}.page-title h1{font-size:30px;margin:2px 0 4px;letter-spacing:-.03em}.page-title p{margin:0;color:#68788c;font-size:13px}.eyebrow-dark{font-size:10px!important;color:#0b6ff4!important;font-weight:900;letter-spacing:.15em}.quote-form{max-width:620px;margin:auto}.field-card{margin:9px 0;display:grid;grid-template-columns:26px 1fr 36px;align-items:center;gap:8px;background:#fff;border:1px solid #d9e2ec;border-radius:15px;padding:11px 11px;box-shadow:0 3px 12px rgba(10,35,65,.05)}.field-card.single-line{grid-template-columns:26px 1fr}.field-icon{text-align:center;color:#0b6ff4;font-size:15px}.pickup-dot{color:#0b6ff4}.destination-dot{color:#e04444}.field-copy{min-width:0;display:flex;flex-direction:column;gap:1px}.field-copy small{font-size:10px;color:#6b7a8c}.field-copy input,.field-copy select{width:100%;border:0;outline:0;background:transparent;color:#111d30;padding:0;font-size:14px;font-weight:700;min-width:0}.location-button,.swap-icon{border:0;background:transparent;color:#152033;font-size:23px;text-align:center}.date-time-row,.two-up{display:grid;grid-template-columns:1fr 1fr;gap:8px}.compact-field{padding:11px 9px;margin:0}.primary-action,.book-action{width:100%;border:0;border-radius:14px;padding:15px 16px;font-weight:850;font-size:17px;color:#fff;background:linear-gradient(135deg,#0d6ff4,#0a5bd2);box-shadow:0 10px 24px rgba(11,111,244,.23);margin-top:12px}.primary-action{display:flex;justify-content:center;gap:12px}.book-action{background:linear-gradient(135deg,#148a46,#1ca657)}.location-link{display:block;margin:9px auto 3px;border:0;background:transparent;color:#0b6ff4;font-size:12px;font-weight:800}.more-details{margin-top:12px;border:1px solid #dbe3ec;background:#fff;border-radius:14px;overflow:hidden}.more-details summary{list-style:none;padding:13px 14px;font-size:13px;font-weight:800;color:#203044;cursor:pointer}.more-details summary::-webkit-details-marker{display:none}.more-details summary:after{content:'›';float:right;font-size:20px}.details-content{padding:0 14px 14px}.details-content label{display:block;font-size:11px;color:#58697c;margin:10px 0}.details-content input,.details-content select,.details-content textarea{width:100%;margin-top:5px;border:1px solid #d9e1ea;background:#fff;color:#132033;border-radius:11px;padding:10px}.details-content textarea{min-height:72px}.grid2,.grid3{display:grid;gap:8px}.grid2{grid-template-columns:1fr 1fr}.grid3{grid-template-columns:repeat(3,1fr)}.check{display:flex!important;align-items:center;gap:8px}.check input{width:auto;margin:0}.text-btn{border:0;background:transparent;color:#0b6ff4;font-weight:800;padding:6px 0}
.gps-status,.maps-pending{margin:8px 0;padding:9px 11px;border-radius:10px;background:#eef6ff;color:#31506f;border:1px solid #cfe2f7;font-size:11px;line-height:1.4}.maps-pending.error{background:#fff5f5;border-color:#efcbd0;color:#8c343b}.nearby-wrap{margin:8px 0 10px}.nearby-title{font-size:10px;color:#67788c;margin-bottom:5px}.nearby-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.nearby-grid button{border:1px solid #cbd9e8;background:#fff;color:#223247;border-radius:9px;padding:8px 4px;font-size:10px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quote-result,.estimate{margin:13px 0 10px;background:#fff;border:1px solid #dce4ec;border-radius:17px;padding:16px;color:#132033;box-shadow:var(--shadow)}.fixed-price{display:inline-flex;align-items:center;background:#e8f8ee;color:#1b8a49;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:850}.quote-route-title{font-size:17px;line-height:1.35;margin:11px 0}.quote-route-title span{color:#0b6ff4}.route-summary{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid #edf0f3;font-size:12px}.estimate-breakdown>div{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid #edf0f3}.estimate-breakdown .estimate-total{font-size:16px;font-weight:850}.estimate-breakdown .estimate-total b{font-size:28px}.quote-result p{font-size:11px;color:#607084;line-height:1.45}.quote-unavailable{display:grid;gap:8px}.quote-unavailable a{display:block;text-align:center;text-decoration:none;background:#18a24d;color:#fff;border-radius:12px;padding:12px;font-weight:850}.route-map{height:230px;border-radius:15px;overflow:hidden;border:1px solid #dce4ec;background:#eaf0f6;margin:10px 0}
.customer-page{padding-top:18px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.page-head h1,.page-head h2{margin:3px 0;color:inherit}.eyebrow{color:#4a9cff;font-size:10px;font-weight:900;letter-spacing:.14em}.new-booking,.outline-btn{border:1px solid #c9d6e4;background:#fff;color:#18304b;border-radius:10px;padding:9px 11px;font-weight:800}.booking-tabs{display:grid;grid-template-columns:1fr 1fr;background:#e7eef6;border-radius:11px;padding:4px;margin:13px 0}.booking-tabs button{border:0;background:transparent;color:#66788e;border-radius:8px;padding:9px;font-weight:800}.booking-tabs button.active{background:#0b6ff4;color:#fff}.booking-list{display:grid;gap:9px}.booking-card{background:#fff;border:1px solid #dbe4ed;border-radius:15px;padding:14px;color:#132033;box-shadow:0 7px 20px rgba(12,36,64,.07)}.booking-card h3{font-size:15px;margin:7px 0;line-height:1.35}.booking-card p{color:#617286;font-size:11px;margin:6px 0}.booking-meta{display:flex;justify-content:space-between;gap:8px;color:#31475f;font-size:11px}.status-pill{display:inline-block;border-radius:999px;padding:5px 8px;font-size:9px;font-weight:850;background:#e5edf5}.status-pill.confirmed,.status-pill.accepted,.status-pill.completed{background:#e4f5e9;color:#247944}.status-pill.pending{background:#fff1cf;color:#87631c}
.staff-page{padding:18px 14px;background:#07111f;min-height:calc(100vh - 150px)}.panel,.job{background:#0d1c2e;border:1px solid #263d58;border-radius:16px;padding:14px;box-shadow:0 14px 38px rgba(0,0,0,.25);margin-bottom:10px}.job h3{font-size:15px;margin:7px 0}.job p{color:#b2c2d4;font-size:11px}.job-actions{display:flex;gap:8px;margin-top:9px}.job-actions button{flex:1;border:0;border-radius:9px;padding:9px;font-weight:800}.job-actions .primary,.primary{background:#0b6ff4;color:#fff}.job-actions .ghost{background:#132a44;color:#fff}.job-actions .light{background:#fff;color:#132033}.full{width:100%;padding:11px;border-radius:10px;border:0;font-weight:800}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.stats div{background:#0a1727;border-radius:11px;padding:11px;text-align:center}.stats b{font-size:23px;display:block}.stats span{font-size:9px;color:#91a6be}.status{padding:11px;border-radius:11px;margin:9px 0}.status.on{background:#153e29}.status.off{background:#3b2024}.switch input{display:none}.switch span{display:block;width:48px;height:27px;border-radius:999px;background:#263b52;position:relative}.switch span:before{content:'';position:absolute;top:4px;left:4px;width:19px;height:19px;border-radius:50%;background:#fff;transition:.2s}.switch input:checked+span{background:#20a95a}.switch input:checked+span:before{left:25px}
.destination-panel{position:fixed;z-index:70;inset:0;background:#07111f;padding:calc(16px + env(safe-area-inset-top)) 14px calc(90px + env(safe-area-inset-bottom));overflow:auto}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-head small{color:#5da7ff;font-size:10px;font-weight:900;letter-spacing:.14em}.panel-head h2{margin:3px 0}.close-btn{border:0;background:#13243a;color:#fff;border-radius:11px;width:39px;height:39px;font-size:17px}.destination-groups{margin-top:15px}.destination-group-title{font-size:10px;color:#91a6be;text-transform:uppercase;letter-spacing:.11em;margin:16px 0 6px}.destination-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.destination-grid button{border:1px solid #2c4968;background:#0c2035;color:#fff;border-radius:11px;padding:11px 8px;font-weight:780}.destination-grid button span{display:block;margin-bottom:3px}
.bottom-nav{position:fixed;z-index:50;bottom:0;left:0;right:0;height:calc(67px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(3,1fr);background:rgba(5,13,24,.98);border-top:1px solid #1e324b}.bottom-nav button,.bottom-nav a{border:0;background:transparent;color:#9fb0c3;text-decoration:none;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:10px}.bottom-nav button.active{color:#4a9cff}.nav-icon{font-size:18px;line-height:1}.side-menu{position:fixed;z-index:80;inset:0;background:rgba(0,0,0,.55);backdrop-filter:blur(5px)}.side-menu-card{position:absolute;left:0;top:0;bottom:0;width:min(82vw,310px);padding:calc(20px + env(safe-area-inset-top)) 15px 20px;background:#081627;border-right:1px solid #263d58}.menu-logo{display:flex;flex-direction:column;align-items:flex-start;margin:18px 0 22px}.menu-brand{font-size:54px;height:47px}.menu-item{display:block;width:100%;text-align:left;text-decoration:none;border:0;border-bottom:1px solid #1e344d;background:transparent;color:#fff;padding:13px 4px;font-weight:750}.menu-divider{height:14px}.staff-login-item{color:#b4c2d2}.login-dialog{border:0;border-radius:17px;background:#0d1c2e;color:#fff;width:min(92vw,420px);padding:19px}.login-dialog::backdrop{background:rgba(0,0,0,.72)}.login-dialog label{display:block;font-size:11px;margin:9px 0;color:#b9c9d9}.login-dialog input{width:100%;margin-top:5px;border:1px solid #334e6e;background:#071421;color:#fff;border-radius:10px;padding:11px}.fineprint{font-size:10px;color:#91a6be}.toast{position:fixed;z-index:100;left:50%;bottom:calc(80px + env(safe-area-inset-bottom));transform:translate(-50%,20px);background:#071421;color:#fff;border:1px solid #355272;border-radius:999px;padding:9px 13px;opacity:0;pointer-events:none;transition:.2s;font-size:11px}.toast.show{opacity:1;transform:translate(-50%,0)}.pac-container{z-index:10000!important;font-family:Inter,system-ui,sans-serif;border-radius:12px;box-shadow:0 12px 30px rgba(0,0,0,.25)}
@media(max-width:520px){.app-header{min-height:72px}.quote-shell,.customer-page{padding:16px 11px 22px}.page-title h1{font-size:27px}.field-card{padding:10px 9px}.two-up,.date-time-row{gap:7px}.field-copy input,.field-copy select{font-size:13px}.nearby-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.nearby-grid button{font-size:9px;padding:7px 3px}.route-map{height:205px}.grid3{grid-template-columns:1fr}.destination-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:700px){.quote-shell,.customer-page{margin-top:20px;border-radius:22px;box-shadow:0 20px 55px rgba(0,0,0,.22)}.destination-panel{left:50%;transform:translateX(-50%);max-width:760px}}

/* v3.2 booking negotiation + status workflow */
.status-pill.proposed{background:#fff1cf;color:#8a6214}.status-pill.customer_accepted{background:#eaf3ff;color:#135fae}.status-pill.declined{background:#fde8e9;color:#a52c35}.status-pill.arrived{background:#eaf3ff;color:#135fae}
.customer-proposal-line{margin:9px 0;padding:9px 10px;border-radius:10px;background:#fff7db;color:#624b17;font-size:11px;line-height:1.45}
.job-status-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.job-status-row small{color:#8fa4ba}.proposed-time{padding:8px 10px;border-radius:10px;background:#142b43;color:#dbe9f7!important}.proposal-note{margin-top:10px;padding:9px 10px;border-radius:10px;background:#3a2e16;color:#ffe3a4;font-size:11px;line-height:1.4}.proposal-note.success{background:#153725;color:#bff0cf}.job-actions.three{display:grid;grid-template-columns:1fr 1fr 1fr}.job-actions .danger{background:#5b1f29;color:#fff}
.action-dialog,.proposal-dialog{border:0;border-radius:18px;width:min(92vw,460px);padding:18px;box-shadow:0 24px 70px rgba(0,0,0,.35)}.action-dialog{background:#0d1c2e;color:#fff}.proposal-dialog{background:#fff;color:#132033;text-align:left}.action-dialog::backdrop,.proposal-dialog::backdrop{background:rgba(3,10,18,.72);backdrop-filter:blur(4px)}.action-dialog label{display:block;color:#b9c9d9;font-size:11px;margin:10px 0}.action-dialog input,.action-dialog textarea{width:100%;margin-top:5px;border:1px solid #334e6e;background:#071421;color:#fff;border-radius:10px;padding:11px}.dialog-copy{font-size:12px;line-height:1.5;color:#65768a}.action-dialog .dialog-copy{color:#aebed0}.proposal-icon{font-size:28px;margin-bottom:6px}.proposal-dialog h2{margin:5px 0 8px;font-size:22px}.proposal-route{font-size:12px;color:#52657a;line-height:1.45}.proposal-times{display:grid;gap:7px;margin:12px 0}.proposal-times>div{padding:10px;border-radius:11px;background:#f1f4f7;font-weight:750}.proposal-times .new-time{background:#eaf3ff;color:#0e5fab;border:1px solid #cde2fb}.proposal-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.proposal-actions button{border:0;border-radius:11px;padding:12px;font-weight:850}.accept-action{background:#138b48;color:#fff}.decline-action{background:#f4e9ea;color:#a32f37}.proposal-dialog small{display:block;margin-top:10px;color:#7b8998;line-height:1.4}
.driver-notice{margin:8px 0 12px;padding:10px 12px;border-radius:11px;background:#10263e;color:#c8dcf1;font-size:11px;line-height:1.45}.customer-alert{display:flex;flex-direction:column;gap:3px;margin:10px 0;padding:11px 12px;border-radius:12px}.arrived-alert{background:#e7f4ff;border:1px solid #acd8ff;color:#0c5790}.customer-alert span{font-size:11px}.driver-track{margin:10px 0;border:1px solid #dce7f1;border-radius:13px;overflow:hidden;background:#f8fbfe}.driver-track>div:first-child{display:flex;justify-content:space-between;gap:8px;padding:10px 11px;font-size:11px}.driver-track>div:first-child span{color:#617286}.driver-track-map{height:150px;width:100%;background:#e7eef6}.arrival-dialog{text-align:center}.arrival-icon{font-size:44px;margin-bottom:4px}.arrival-message{font-size:16px;font-weight:750;color:#17324f}.status-pill.arrived{background:#dff1ff;color:#0b61a4}.status-pill.declined{background:#fde8e9;color:#a52c35}.status-pill.confirmed{background:#e4f5e9;color:#247944}
/* v4.0 statutory fare + two-way negotiation */
.status-pill.customer_countered{background:#e9efff;color:#364fb0}.status-pill.enroute{background:#e8f2ff;color:#185d9d}.status-pill.onboard{background:#eee9ff;color:#6540a8}
.customer-counter{margin:12px 0;padding:12px;border-radius:12px;background:#f4f7fb;border:1px solid #dce5ef}.customer-counter p{margin:0 0 8px}.customer-counter label{display:block;font-size:11px;color:#5d6d80;margin:7px 0}.customer-counter input{width:100%;margin-top:4px;border:1px solid #cbd8e5;border-radius:9px;padding:9px;background:#fff;color:#132033}

/* v5.9 verified customer phone account */
.customer-auth-dialog{border:0;padding:0;border-radius:22px;width:min(92vw,430px);background:#fff;color:#132033;box-shadow:0 28px 90px rgba(0,0,0,.38)}.customer-auth-dialog::backdrop{background:rgba(2,9,18,.82);backdrop-filter:blur(6px)}.customer-auth-card{padding:22px}.customer-auth-card h2{margin:5px 0 8px;font-size:25px}.customer-auth-card label{display:block;font-size:11px;color:#52657a;margin:14px 0}.customer-auth-card input{width:100%;margin-top:6px;border:1px solid #cbd8e5;border-radius:12px;padding:13px;background:#fff;color:#132033;font-size:16px}.phone-auth-logo{display:flex;align-items:center;gap:12px;margin-bottom:18px}.phone-auth-logo .brand-mark{font-size:44px;height:39px}.phone-auth-logo .brand-r{color:#1778ef}.phone-auth-logo .brand-t{color:#132033}.phone-auth-logo>div:last-child{display:flex;flex-direction:column;gap:2px;color:#132033}.phone-auth-logo small{font-size:9px;letter-spacing:.15em}.auth-message{min-height:18px;font-size:11px;color:#8b343b;line-height:1.4}.auth-consent{font-size:9px;line-height:1.45;color:#708094;margin:13px 0 0}.otp-input{text-align:center;font-size:27px!important;letter-spacing:.24em;font-weight:850}.auth-link{width:100%;border:0;background:transparent;color:#0b6ff4;padding:12px;font-weight:800}.verified-phone-row{display:flex;justify-content:space-between;gap:10px;background:#eef8f2;border:1px solid #c9ead5;color:#245f3a;border-radius:12px;padding:12px;margin:12px 0}.verified-customer-box{display:flex;justify-content:space-between;align-items:center;gap:10px;border:1px solid #cfe4d7;background:#f1faf4;border-radius:12px;padding:11px;margin:10px 0}.verified-customer-box>div{display:flex;flex-direction:column;min-width:0}.verified-customer-box small{font-size:9px;color:#548064;text-transform:uppercase;font-weight:850;letter-spacing:.08em}.verified-customer-box strong{font-size:13px;color:#173b25}.verified-customer-box span{font-size:10px;color:#5e7868;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* v6 release-candidate: Firebase phone-auth reCAPTCHA host */
.recaptcha-slot{min-height:0;overflow:hidden}


/* RT BOOKING STATUS GROUPS */

.booking-tabs{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}

.booking-tabs button{
  min-width:0;
  line-height:1.15;
}

@media (min-width:520px){
  .booking-tabs{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}

.booking-card.booking-current{
  border-left:6px solid #28a86b;
  background:#f3fbf6;
}

.booking-card.booking-awaiting{
  border-left:6px solid #e5a400;
  background:#fff9e9;
}

.booking-card.booking-completed,
.booking-card.booking-declined{
  border-left:6px solid #d64a4a;
  background:#fff5f5;
}

.status-pill.pending,
.status-pill.proposed,
.status-pill.customer_countered,
.status-pill.customer_accepted{
  background:#fff0c2 !important;
  color:#805600 !important;
}

.status-pill.confirmed,
.status-pill.enroute,
.status-pill.arrived,
.status-pill.onboard{
  background:#dff6e8 !important;
  color:#237344 !important;
}

.status-pill.completed,
.status-pill.declined,
.status-pill.cancelled,
.status-pill.canceled{
  background:#ffe1e1 !important;
  color:#9b3030 !important;
}

.route-arrow{
  color:#1778ef;
  font-weight:900;
}

.customer-rating-box{
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid #e1e7ee;
}

.customer-rating-box p{
  margin:0 0 8px;
  font-size:14px;
  color:#4d6075;
}

.customer-rating-stars{
  display:flex;
  gap:7px;
  margin:8px 0 12px;
}

.customer-rating-star{
  appearance:none;
  -webkit-appearance:none;
  border:0!important;
  background:transparent!important;
  padding:0!important;
  margin:0;
  font-size:42px;
  line-height:1;
  color:#c6ced8;
  cursor:pointer;
  box-shadow:none!important;
  min-width:0!important;
}

.customer-rating-star.selected{
  color:#f2b62b;
}

.customer-rating-star:active{
  transform:scale(.92);
}

.customer-rating-comment{
  width:100%;
  min-height:70px;
  border:1px solid #cdd9e5;
  border-radius:12px;
  padding:11px 12px;
  resize:vertical;
  background:#fff;
  color:#172033;
  margin:3px 0 8px;
}

.customer-rating-reason{
  display:none;
  margin:3px 0 9px;
  color:#a45d00;
  font-size:12px;
  font-weight:700;
}

.customer-rating-reason.show{
  display:block;
}

.customer-submit-rating{
  width:100%;
  margin-top:5px;
}

/* ===== RT RATINGS ===== */

.overall-rating{
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-size:15px;
  font-weight:900;
  white-space:nowrap;
}

.overall-rating .stars{
  color:#f2b62b;
  font-size:21px;
  letter-spacing:2px;
  line-height:1;
}

.overall-rating strong{
  color:#172033;
  font-size:14px;
}

/* Journey rating stars */
.customer-rating-stars,
.driver-rating-stars{
  display:flex;
  align-items:center;
  gap:5px;
  margin:8px 0;
}

.customer-rating-star,
.driver-rating-star{
  appearance:none;
  -webkit-appearance:none;
  border:0 !important;
  background:transparent !important;
  padding:2px !important;
  margin:0;
  font-size:38px;
  line-height:1;
  color:#c6ced8;
  cursor:pointer;
  box-shadow:none !important;
}

.customer-rating-star.selected,
.customer-rating-star.active,
.driver-rating-star.selected,
.driver-rating-star.active{
  color:#f2b62b;
}

.customer-rating-star:active,
.driver-rating-star:active{
  transform:scale(.9);
}

/* v8.1 professional customer quote experience */
:root{
  --rt-navy:#07182b;
  --rt-blue:#0969e8;
  --rt-gold:#d39a2c;
  --rt-ink:#132033;
  --rt-muted:#66788a;
  --rt-line:#dbe4ec;
  --rt-surface:#ffffff;
}
body{background:linear-gradient(180deg,#edf6fb 0,#f7fafc 42%,#eef3f7 100%);color:var(--rt-ink)}
.app-header{background:rgba(5,16,30,.98);border-bottom:1px solid rgba(255,255,255,.08);box-shadow:0 8px 30px rgba(5,20,39,.18)}
.quote-shell{background:transparent;max-width:620px}
.page-title{padding:4px 8px 13px}
.page-title h1{letter-spacing:-.035em;font-weight:900}
.page-title>p:last-child{color:var(--rt-muted);font-size:13px}
.quote-assurance{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:0 2px 13px}
.quote-assurance span{display:flex;align-items:center;justify-content:center;gap:5px;min-height:32px;padding:6px;border:1px solid #d9e6ef;border-radius:999px;background:rgba(255,255,255,.76);color:#486176;font-size:10px;font-weight:800;white-space:nowrap}
.quote-assurance b{color:#168552}
.quote-form{position:relative}
.field-card{border:1px solid #d7e1e9;border-radius:17px;background:rgba(255,255,255,.96);box-shadow:0 5px 16px rgba(21,48,73,.055);transition:border-color .18s,box-shadow .18s,transform .18s}
.field-card:focus-within{border-color:#73aef4;box-shadow:0 0 0 3px rgba(9,105,232,.11),0 9px 24px rgba(21,48,73,.09);transform:translateY(-1px)}
.field-copy small{font-weight:750;color:#7a8999;letter-spacing:.01em}
.field-copy input,.field-copy select{font-weight:800;color:#172235}
.field-icon{opacity:.92}
.primary-action{min-height:58px;border-radius:16px;background:linear-gradient(135deg,#0877f9,#075dcc);box-shadow:0 12px 28px rgba(7,103,226,.26);letter-spacing:-.01em}
.primary-action:disabled{opacity:.7;box-shadow:none}
.location-link{padding:7px 12px;border-radius:999px}
.route-map{position:relative;height:236px;margin:14px 0 11px;border:1px solid #cfdae4;border-radius:19px;background:linear-gradient(135deg,#e6eef3,#d9e7ee);box-shadow:0 12px 30px rgba(19,43,68,.13)}
.route-map[aria-busy="true"]:before{content:'Loading your journey map…';position:absolute;inset:0;display:grid;place-items:center;color:#526b80;font-size:12px;font-weight:800;background:linear-gradient(110deg,#e8f0f4 25%,#f7fafb 40%,#e8f0f4 55%);background-size:220% 100%;animation:rt-map-loading 1.3s linear infinite}
@keyframes rt-map-loading{to{background-position-x:-220%}}
.route-map-frame{display:block;width:100%;height:100%;border:0}
.quote-result,.estimate{margin-top:13px;border:1px solid #d7e1e9;border-radius:20px;padding:18px;background:rgba(255,255,255,.98);box-shadow:0 16px 38px rgba(16,41,66,.11)}
.quote-route-title{font-size:18px;letter-spacing:-.02em}
.route-summary{margin:2px -2px 6px;padding:10px 2px;color:#546578}
.route-summary b{color:#213248;text-align:right}
.estimate-breakdown>div{align-items:baseline}
.estimate-breakdown .estimate-total{margin-top:3px;padding-top:13px;border-top:2px solid #dce5ed;border-bottom:0}
.estimate-breakdown .estimate-total b{font-size:31px;letter-spacing:-.04em;color:#0b3158}
.estimate p{margin:13px -2px -2px;padding:13px 14px;border-radius:13px;background:#f3f7fa;color:#56697c}
.more-details{border-radius:16px;box-shadow:0 5px 16px rgba(21,48,73,.04)}
.more-details summary{min-height:50px;display:flex;align-items:center;justify-content:space-between}
.more-details summary:after{float:none}
.book-action{min-height:58px;border-radius:16px;margin-top:14px;background:linear-gradient(135deg,#128b48,#19a759);box-shadow:0 12px 26px rgba(24,157,82,.22)}
.bottom-nav{background:rgba(5,15,28,.97);backdrop-filter:blur(14px);box-shadow:0 -8px 24px rgba(5,18,32,.1)}
.bottom-nav button.active{color:#64aaff}
@media(max-width:520px){
  .quote-shell{padding:15px 13px 24px}
  .quote-assurance{gap:4px}
  .quote-assurance span{font-size:9px;padding:5px 3px}
  .route-map{height:220px}
  .quote-result,.estimate{padding:17px}
}
@media(max-width:365px){
  .quote-assurance{grid-template-columns:1fr}
  .quote-assurance span{min-height:27px}
}


/* Customer v231: single, native-safe arrival overlay. */
.rt-arrival-overlay-v231{position:fixed;inset:0;z-index:2147483600;background:rgba(2,8,18,.90);display:grid;place-items:center;padding:20px}
.rt-arrival-overlay-v231.hidden{display:none!important}
.rt-arrival-card-v231{width:min(94vw,650px);max-height:92vh;overflow:auto;background:#fff;color:#172033;border-radius:30px;padding:30px 26px;text-align:center;box-shadow:0 30px 100px rgba(0,0,0,.65)}
.rt-arrival-taxi-v231{font-size:68px;line-height:1;margin:2px 0 14px}
.rt-arrival-card-v231 h2{font-size:clamp(34px,8vw,54px);line-height:1.06;margin:6px 0 22px;color:#172033}
.rt-arrival-driver-v231{font-size:clamp(20px,5vw,29px);line-height:1.35;font-weight:900;color:#172033;margin:0 0 18px}
.rt-arrival-vehicle-v231{font-size:clamp(18px,4.5vw,25px);font-weight:950;color:#174b73;background:#eaf5ff;border-radius:18px;padding:16px;margin:14px 0}
.rt-arrival-route-v231{font-size:15px;line-height:1.4;color:#526174;margin:18px 0 8px}
.rt-arrival-ref-v231{font-size:17px;color:#526174;margin:8px 0 22px}
.rt-arrival-close-v231{display:block;width:100%;min-height:64px;border:0;border-radius:17px;background:#1777ed;color:#fff;font-size:21px;font-weight:950}



/* Customer v232: native live tracking must remain lightweight during GPS updates. */
.driver-track-map-native{display:flex!important;align-items:center;justify-content:center;min-height:74px!important;padding:14px!important;text-align:center;font-weight:850;line-height:1.35;background:rgba(234,245,255,.96)!important;color:#174b73!important}

