:root{--ink:#192820;--green:#215941;--lime:#d7f58b;--muted:#778079;--line:#e9ece6}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#fafbf8;font-family:'DM Sans',sans-serif}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}header{height:88px;padding:0 42px;display:flex;align-items:center;border-bottom:1px solid var(--line);background:#fff;gap:72px}.brand{font-family:Manrope,sans-serif;font-weight:800;font-size:44px;letter-spacing:-4px;text-decoration:none;color:var(--green)}.brand span{display:inline-block;color:var(--green);font-size:35px;margin-left:4px}nav{display:flex;gap:32px;height:100%;align-items:center}.nav{background:none;border:0;font-size:14px;color:var(--muted);height:100%;position:relative}.nav.active{color:var(--green);font-weight:700}.nav.active:after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--green)}.header-right{margin-left:auto;display:flex;align-items:center;gap:24px}.demo{font-size:12px;color:#788275;background:#f3f6ef;border-radius:20px;padding:9px 13px}.avatar{border:0;border-radius:50%;width:38px;height:38px;background:var(--lime);color:var(--green);font-weight:700}main{display:flex;min-height:calc(100vh - 88px)}aside{width:440px;flex-shrink:0;padding:42px 38px 24px;display:flex;flex-direction:column;background:#fff}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:var(--green);margin-bottom:15px}h1{font-family:Manrope,sans-serif;font-size:43px;line-height:1.14;letter-spacing:-1.9px;margin:0 0 16px;font-weight:800}h1 span{color:#69934a}.intro{font-size:13px;color:var(--muted);margin:0 0 28px;line-height:1.7}.locations{background:#f7f8f4;border:1px solid #edf0e8;border-radius:14px;padding:4px 15px;position:relative}.locations:before{content:'';position:absolute;border-left:1px dashed #9fa99e;height:34px;top:48px;left:23px}.location{display:flex;align-items:center;gap:13px;min-height:74px}.location:first-child{border-bottom:1px solid #e5e9e0}.location>div{flex:1;min-width:0}.location label{display:block;font-size:9px;letter-spacing:1px;color:#7b857b;font-weight:700;margin-bottom:6px}.location input{width:100%;background:none;border:0;outline:none;font-size:13px;color:var(--ink);padding:0}.location input:focus{box-shadow:0 2px var(--green)}.origin-dot{width:16px;height:16px;border:4px solid var(--green);border-radius:50%;flex-shrink:0}.destination-dot{width:12px;height:12px;background:var(--green);margin:0 2px;flex-shrink:0}.location button{border:0;background:none;font-size:24px;color:var(--green)}.primary{border:0;border-radius:9px;background:var(--green);color:#fff;width:100%;padding:17px 18px;font-weight:600;font-size:13px;margin-top:15px;display:flex;align-items:center;justify-content:space-between}.primary:hover{background:#153c2b}.section-title{font-size:13px;font-weight:700;margin:27px 0 15px}.section-title span{float:right;font-size:11px;font-weight:400;color:var(--muted)}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quick-grid button{text-align:left;border:1px solid var(--line);background:white;border-radius:12px;padding:15px}.quick-grid button:hover{border-color:var(--green);background:#f8fbf3}.quick-grid span{display:block;font-size:23px;color:var(--green);margin-bottom:14px}.quick-grid b{display:block;font-size:12px;margin-bottom:4px}.quick-grid small{font-size:10px;color:var(--muted)}.tip{display:flex;gap:16px;border-radius:12px;background:#eff5e7;margin-top:27px;padding:20px}.tip>span{font-size:30px;color:var(--green)}.tip b{font-size:12px}.tip p{font-size:11px;color:#74816c;line-height:1.8;margin:5px 0 0}footer{font-size:10px;color:#8b9489;margin-top:auto;padding-top:30px;display:flex;align-items:center;gap:7px}.free-dot{display:inline-block;width:6px;height:6px;background:#5d9168;border-radius:50%}.map-shell{position:relative;flex:1;min-height:660px;background:#e6ecdf}#map{position:absolute;inset:0;z-index:0}.map-label{position:absolute;left:28px;top:27px;display:flex;gap:9px;align-items:center;background:white;padding:14px 18px;border-radius:8px;box-shadow:0 3px 20px #1928200d;font-size:12px;z-index:400}.map-label>span:last-child{border-left:1px solid var(--line);padding-left:10px;color:var(--muted)}.map-bottom{position:absolute;bottom:34px;left:30px;right:30px;z-index:400;display:flex;justify-content:space-between;align-items:end;pointer-events:none}.map-bottom>div{display:flex;gap:12px;align-items:center;background:#fff;padding:16px 21px;border-radius:10px;box-shadow:0 4px 24px #19282012}.map-bottom b{display:block;font-size:13px}.map-bottom div div span{display:block;font-size:11px;color:var(--muted);margin-top:4px}.map-pin{display:grid;place-items:center;background:var(--lime);width:38px;height:38px;border-radius:50%;font-size:23px}#recenter{pointer-events:auto;border:0;border-radius:10px;width:46px;height:46px;background:white;font-size:27px;color:var(--green);box-shadow:0 3px 15px #19282018}.leaflet-container{font-family:'DM Sans',sans-serif}.leaflet-control-zoom{border:0!important;box-shadow:0 2px 10px #19282014!important}.leaflet-control-attribution{font-size:9px!important}.pin{background:var(--green);border:3px solid white;border-radius:50%;width:23px!important;height:23px!important;box-shadow:0 2px 10px #0003}.pin.end{background:#93b85b}.car-option{display:flex;width:100%;align-items:center;gap:14px;padding:15px 12px;margin:8px 0;border:1px solid var(--line);background:#fff;border-radius:10px;text-align:left}.car-option.selected{border:1.5px solid var(--green);background:#f4f8ee}.car-icon{font-size:28px}.car-info{flex:1}.car-info b{font-size:13px}.car-info small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.car-price{font-size:14px;font-weight:700}.payment{display:flex;align-items:center;justify-content:space-between;margin-top:17px;font-size:11px;color:var(--muted)}select{padding:7px;border:1px solid var(--line);border-radius:5px;background:white;font-size:12px}.small-note{font-size:10px;color:var(--muted);line-height:1.6;text-align:center}#status{font-size:12px;line-height:1.6;color:var(--green);margin-top:10px}#status.error{color:#a04432}#results button{background:#fff;border:1px solid var(--line);text-align:left;padding:12px;width:100%;font-size:12px}#results button:hover{background:#eff5e7}#results{max-height:210px;overflow:auto}.trip-card,.history-card{padding:20px;border:1px solid var(--line);border-radius:12px;margin-top:20px}.trip-card h2{font-size:20px}.trip-card p,.history-card p{font-size:12px;color:var(--muted);line-height:1.7}.driver{display:flex;gap:13px;align-items:center;margin:20px 0}.driver span{border-radius:50%;background:var(--lime);padding:14px;font-weight:700}.secondary{width:100%;padding:12px;border:1px solid var(--line);border-radius:8px;background:white;margin-top:10px;color:var(--ink)}dialog{border:0;border-radius:16px;padding:30px;max-width:430px;color:var(--ink);box-shadow:0 10px 70px #0003}dialog::backdrop{background:#17291f66}dialog p{font-size:14px;line-height:1.7;color:var(--muted)}.close{float:right;border:0;background:none;font-size:28px}.rating{display:flex;gap:8px}.rating button{border:0;background:none;color:#96a087;font-size:27px}.rating button.chosen{color:#d5a338}#map-failure{position:absolute;top:100px;left:30px;right:30px;padding:20px;background:white;z-index:500;font-size:13px}:focus-visible{outline:2px solid #769851;outline-offset:3px}[hidden]{display:none!important}@media(min-width:1500px){aside{width:490px;padding:55px 50px}h1{font-size:50px}}@media(max-width:850px){header{padding:0 20px;height:74px;gap:30px}nav{gap:17px}.demo{display:none}.header-right{gap:0}aside{width:360px;padding:30px 24px}h1{font-size:38px}}@media(max-width:650px){header{padding:0 18px;gap:24px}.brand{font-size:37px}nav{gap:14px}.nav{font-size:11px}.avatar{width:30px;height:30px}main{flex-direction:column}.map-shell{order:-1;min-height:290px;height:290px}.map-bottom{bottom:20px;left:16px;right:16px}.map-bottom>div{display:none}.map-label{left:16px;top:16px;padding:10px}aside{width:100%;padding:30px 24px}h1 br{display:none}h1{font-size:34px}.intro{margin-bottom:20px}.eyebrow{font-size:9px}.leaflet-control-zoom{margin-top:15px!important}}
.pricing-link{border:1px solid var(--line);background:#f5f8ef;color:var(--green);padding:9px 15px;border-radius:8px;font-size:12px;margin-left:auto}.header-right{margin-left:0}.ride-schedule{display:grid;grid-template-columns:1.4fr 1fr;gap:12px;margin-top:16px}.ride-schedule label,.pricing-fields label,.holiday-dates{font-size:11px;color:var(--muted);display:block}.ride-schedule input,.pricing-fields input,.holiday-dates textarea{display:block;width:100%;border:1px solid var(--line);border-radius:7px;padding:10px 8px;margin-top:6px;background:#fff;color:var(--ink);font-size:12px}.holiday-check{display:flex;align-items:center;gap:6px;margin-top:12px;font-size:11px;color:var(--muted)}.rate-summary{font-size:11px;color:var(--muted);line-height:1.8;background:#f4f8ed;border-radius:8px;padding:12px}#pricing-dialog{width:min(560px,calc(100vw - 28px));max-width:560px;max-height:90vh;overflow:auto}#pricing-dialog h2{font-family:Manrope,sans-serif;margin-top:0;font-size:26px;letter-spacing:-1px}#pricing-dialog .pricing-note{font-size:11px;line-height:1.7}.table-scroll{overflow:auto}.price-table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}.price-table th,.price-table td{padding:10px 6px;border-bottom:1px solid var(--line)}.price-table thead{background:#f4f8ed;color:var(--green);font-size:10px}.price-table tbody th{font-weight:500}.price-table input{width:100%;min-width:70px;max-width:100px;border:1px solid var(--line);border-radius:6px;padding:8px;font-size:12px;color:var(--ink)}.pricing-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.holiday-dates textarea{resize:vertical}#pricing-feedback{font-size:12px;color:var(--green);line-height:1.6}@media(max-width:850px){header{gap:16px}.header-right{display:none}.pricing-link{padding:8px 10px}}@media(max-width:650px){header{gap:12px}nav{gap:8px}.nav{font-size:10px}.pricing-link{font-size:10px;padding:7px}.brand{font-size:32px}.brand span{font-size:25px}}
#drivers-dialog{width:min(530px,calc(100vw - 28px));max-width:530px;max-height:90vh;overflow:auto}#drivers-dialog .pricing-note{font-size:11px;line-height:1.7}.driver-select{display:block;font-size:11px;color:var(--muted);margin-top:18px}.driver-select select{display:block;width:100%;margin-top:8px;padding:11px}.pricing-fields select,.holiday-dates input{display:block;width:100%;margin-top:6px;padding:10px 8px;border:1px solid var(--line);border-radius:7px;font-size:12px;color:var(--ink)}#driver-feedback{font-size:12px;color:var(--green);line-height:1.6}.pix-card{border-top:1px solid var(--line);padding-top:16px;margin-top:16px}.pix-card h3{font-size:16px}.pix-card .pix-qr{display:block;width:min(100%,240px);height:auto;margin:16px auto;image-rendering:pixelated}.pix-card textarea{font-family:monospace;font-size:10px;word-break:break-all}.pix-card .error{color:#a04432}.pricing-link{margin-left:0}#open-drivers{margin-left:auto}header{gap:26px}@media(max-width:650px){header{height:auto;min-height:74px;flex-wrap:wrap;padding:10px 14px;gap:8px 14px}nav{flex:1;height:54px;justify-content:center}.nav{height:54px}#open-drivers{margin-left:0}.pricing-link{font-size:11px}aside{padding-top:24px}}
#account-dialog,#create-driver-dialog{width:min(480px,calc(100vw - 28px));max-height:90vh;overflow:auto}#account-dialog .holiday-dates,#create-driver-dialog .holiday-dates{margin-top:16px}.brand{letter-spacing:-2px;font-size:34px}header{gap:20px}#account-button{margin-left:auto}#open-drivers{margin-left:0}

.profile-entry{width:min(500px,calc(100vw - 24px));padding:28px}.profile-entry h2{font-family:Manrope,sans-serif;font-size:27px;margin:0 0 12px}.profile-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:24px}.profile-buttons button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border:1px solid var(--line);border-radius:12px;background:#f1f7e9;color:var(--green);font-weight:700;padding:20px 7px;font-size:13px;min-height:105px}.profile-buttons button:hover{background:var(--lime)}.profile-buttons span{font-size:28px}#profile-feedback{min-height:18px;font-size:12px;color:var(--green)}@media(max-width:400px){.profile-entry{padding:22px 16px}.profile-buttons{gap:7px}.profile-buttons button{font-size:12px}}

.recent-trip{display:flex;width:100%;align-items:center;gap:12px;text-align:left;background:#fff;border:1px solid var(--line);border-radius:10px;padding:14px 12px;margin:10px 0;color:var(--ink)}.recent-trip:hover{background:#f4f8ee;border-color:var(--green)}.recent-trip-icon{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;border-radius:50%;background:#eff5e7;color:var(--green);font-size:22px}.recent-trip-details{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}.recent-trip-details strong{font-size:12px;overflow-wrap:anywhere}.recent-trip-details small{font-size:10px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}.recent-trip-cost{flex-shrink:0;font-size:12px;font-weight:700}.recent-empty{font-size:12px;line-height:1.7;color:var(--muted);padding:18px;border:1px dashed var(--line);border-radius:10px}

.profile-switcher{position:sticky;top:0;z-index:700;display:flex;align-items:center;gap:16px;padding:10px 24px;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 2px 8px #1928200a}.profile-switcher-buttons{display:flex;gap:8px;flex-shrink:0}.profile-switcher-buttons button{padding:11px 18px;border:1px solid var(--line);border-radius:8px;background:#f1f7e9;color:var(--green);font-size:13px;font-weight:700;min-height:44px}.profile-switcher-buttons button[aria-pressed="true"]{background:var(--green);color:white;border-color:var(--green)}.profile-switcher label{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted)}.profile-switcher select{max-width:280px;min-height:40px;border:1px solid var(--line);border-radius:7px;background:#fff;padding:8px;font-size:12px;color:var(--ink)}#quick-profile-feedback{margin:0;font-size:12px;color:var(--green)}#quick-profile-feedback:empty{display:none}@media(max-width:650px){.profile-switcher{flex-wrap:wrap;gap:7px;padding:8px 14px}.profile-switcher-buttons{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.profile-switcher-buttons button{padding:10px 6px;font-size:12px}.profile-switcher label{width:100%;justify-content:space-between}.profile-switcher select{flex:1;min-width:0;max-width:65%;min-height:34px}#quick-profile-feedback{width:100%}}

.nearby-driver{display:flex;flex-direction:column;gap:6px;width:100%;padding:14px;margin:9px 0;border:1px solid var(--line);border-radius:10px;background:white;text-align:left;color:var(--ink)}.nearby-driver[aria-pressed="true"]{border-color:var(--green);background:#f1f7e9}.nearby-driver strong{font-size:13px}.nearby-driver span{font-size:12px;color:var(--muted)}#driver-availability{border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:26px}#driver-availability h2{font-size:22px}#driver-location-status{min-height:24px}

#approach-status{position:absolute;z-index:500;top:65px;left:16px;right:16px;background:white;padding:12px 16px;border-radius:14px;box-shadow:0 3px 15px #0002;font-weight:700}.driver-photo{width:64px;height:64px;object-fit:cover;border-radius:50%}.car-photo{width:100%;max-height:220px;object-fit:contain;border-radius:14px}#driver-attachments input{padding:10px;width:100%}

@media(max-width:760px){input,select,textarea{font-size:16px!important}html,body{max-width:100%;overflow-x:hidden}main,.map-shell,aside,.pricing-fields{min-width:0}dialog{width:calc(100% - 24px);max-width:calc(100% - 24px)}input,select,textarea{max-width:100%;box-sizing:border-box}}

/* Keep Safari form controls and header tracks inside the phone viewport. */
html{width:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%}
@media(max-width:760px){
 body{width:100%;min-width:0}
 header{display:grid;grid-template-columns:minmax(0,1fr) auto;height:auto;padding:12px 16px;gap:8px 12px;width:100%;min-width:0}
 .brand{font-size:30px;letter-spacing:-1.5px;min-width:0;white-space:nowrap}
 #account-button{grid-column:2;grid-row:1;margin:0;max-width:100%;font-size:12px}
 header nav{grid-column:1 / -1;grid-row:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;height:44px;min-width:0;gap:8px}
 .nav{height:44px;min-width:0;font-size:12px}
 #open-drivers,#open-pricing{margin:0;min-width:0}
 .header-right{display:none}
 main{flex-direction:column;width:100%;min-width:0}
 aside{width:100%;min-width:0;padding:24px 18px}
 .map-shell{order:-1;width:100%;min-width:0;height:270px;min-height:270px}
 .profile-switcher{display:grid;grid-template-columns:minmax(0,1fr);width:100%;min-width:0;padding:8px 16px;gap:8px}
 .profile-switcher-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:8px;min-width:0}
 .profile-switcher-buttons button{min-width:0;padding:10px 4px;font-size:12px}
 .profile-switcher label{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;min-width:0;width:100%}
 .profile-switcher select{width:100%;max-width:100%;min-width:0;min-height:44px}
 .ride-schedule{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}
 .pricing-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ride-schedule label,.pricing-fields label,.holiday-dates{min-width:0;max-width:100%}
 input,select,textarea{font-size:16px!important;min-width:0;width:100%;max-width:100%;border-radius:7px}
 input[type="checkbox"]{width:auto}
 .location{min-width:0}.location>div{min-width:0}.locations{width:100%;min-width:0}
 h1{font-size:32px;overflow-wrap:break-word}h1 br{display:none}
 .map-bottom>div{display:none}
 dialog{margin:auto;padding:24px 18px;width:calc(100% - 24px);max-width:calc(100% - 24px)}
}

.approach-car{display:grid;place-items:center;width:48px;height:48px;font-size:32px;background:#fff;border:3px solid #df7900;border-radius:50%;box-shadow:0 3px 14px #0005}
@media(max-width:760px){
 body.trip-tracking .map-shell{position:sticky;top:var(--profile-height,118px);z-index:600;flex:none;height:clamp(220px,32svh,290px);min-height:220px;scroll-margin-top:var(--profile-height,118px)}
 body.trip-tracking .map-label{display:none}
 body.trip-tracking #approach-status{top:10px;left:10px;right:52px;padding:10px;font-size:13px;line-height:1.4}
 body.trip-tracking #ride-panel>.eyebrow,body.trip-tracking #ride-panel>h1,body.trip-tracking #ride-panel>.intro{display:none}
 body.trip-tracking aside{padding:12px 16px}
 body.trip-tracking .trip-card{margin-top:8px}
}

.unavailable-driver{padding:14px;margin:10px 0;border:1px solid #ecd9b0;border-radius:10px;background:#fffaf0}.unavailable-driver strong{font-size:14px}.unavailable-driver p{font-size:13px;line-height:1.6;color:var(--muted)}#history-list,#driver-availability{scroll-margin-top:150px}


#driver-payment-panel{padding:18px;border:2px solid var(--green);border-radius:14px;background:#f7faf3;scroll-margin-top:var(--profile-height,190px);margin-bottom:24px}#driver-payment-panel h2{font-size:22px}#driver-payment-panel .pix-qr{width:min(100%,280px)}

/* Ride stages and clearer actions on both profiles. */
.journey-stage{padding:22px;margin-bottom:24px;border-radius:20px;background:#153e30;color:#fff;box-shadow:0 8px 24px #153e3018}.journey-stage .eyebrow{color:#bfddad;font-size:11px;letter-spacing:2px}.journey-stage h2{font-size:25px;line-height:1.2;margin:12px 0}.journey-stage p{font-size:14px;line-height:1.6;color:#e6eee9;margin:8px 0}.journey-stage ol{display:flex;list-style:none;gap:6px;padding:0;margin:20px 0 0}.journey-stage li{flex:1;min-width:0;border-top:4px solid #ffffff35;padding-top:8px;font-size:10px;color:#a6bcb0;text-align:center;overflow-wrap:anywhere}.journey-stage li.current{border-color:#dbf499;color:#dbf499;font-weight:800}.journey-stage li.done{border-color:#97c6a8;color:#e4f3e9}.journey-stage .stage-action{width:100%;background:#d5f291;color:#163e30;margin-top:18px;min-height:56px;font-size:17px}.journey-stage .stage-action:disabled{background:#cad5c3;color:#526258;opacity:.75}.driver-reputation{display:block;font-size:12px;line-height:1.6;color:#315b46}.nearby-driver{border-radius:16px;padding:18px;text-align:left;gap:7px}.nearby-driver[aria-pressed="true"]{border:2px solid #215941;background:#edf6e7;box-shadow:0 0 0 3px #21594114}.nearby-driver[aria-pressed="true"] strong::after{content:' · Selecionado';color:#215941}.nearby-driver strong{font-size:16px}.trip-card,.history-card{border-radius:18px}.trip-card .primary,.history-card .primary,#driver-payment-panel .primary{width:100%;min-height:54px;font-size:16px;font-weight:800;box-shadow:0 4px 12px #21594120}.rating button{min-width:44px;min-height:48px;font-size:30px}.payment-status{padding:16px;border:1px solid #dfbf70;border-radius:14px;background:#fff9e9}.payment-status h3{color:#654e12}.journey-stage [hidden]{display:none!important}
@media(max-width:760px){.journey-stage{padding:18px;margin-bottom:16px}.journey-stage h2{font-size:23px}.journey-stage li{font-size:10px}.profile-switcher-buttons button{min-height:48px}.nearby-driver{padding:16px}.trip-card .secondary{min-height:44px}.journey-stage{scroll-margin-top:var(--profile-height,118px)}}

.stage-source-action{display:none!important}

@media(max-width:760px){.journey-stage .stage-action{position:fixed;bottom:max(12px,env(safe-area-inset-bottom));left:16px;right:16px;width:calc(100% - 32px);z-index:950;margin:0;box-shadow:0 4px 20px #153e3055;border:2px solid #153e30;border-radius:14px}body:has(.stage-action){padding-bottom:84px}}

/* Readable type and stronger contrast on passenger and driver screens. */
:root{--muted:#4e5c53}body{font-size:16px}.eyebrow{font-size:14px;letter-spacing:1px}.intro,.small-note,.pricing-note{font-size:16px;line-height:1.65;color:#4e5c53}.location label,.ride-settings label,.profile-switcher label{font-size:14px;font-weight:700;color:#425349}.profile-switcher-buttons button,.profile-buttons button,.nav,#account-button{font-size:16px;font-weight:700}.profile-switcher select{font-size:16px;font-weight:600}.journey-stage .eyebrow{font-size:14px;font-weight:800;color:#d5edc7;letter-spacing:1px}.journey-stage h2{font-size:27px;font-weight:800}.journey-stage p{font-size:17px;font-weight:600;color:#fff;line-height:1.6}.journey-stage ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 10px}.journey-stage li{font-size:14px;font-weight:700;color:#dfebe3;line-height:1.4;overflow-wrap:normal}.journey-stage li.current{color:#e0ff9e}.journey-stage .stage-action{font-size:18px;font-weight:800;min-height:58px}.driver-reputation,.nearby-driver span{font-size:16px;font-weight:600;color:#425349}.nearby-driver strong{font-size:18px;font-weight:800}.trip-card p,.history-card p,.payment-status p,#driver-location-status,#nearby-feedback,#approach-status,#driver-arrival-detail,#driver-pickup-address,#rate-summary,#feedback{font-size:16px;line-height:1.65;font-weight:500}.history-card b,.trip-card h3{font-weight:800}.unavailable-driver strong{font-size:17px;font-weight:800}.unavailable-driver p{font-size:16px;color:#425349}.recent-trip-details strong,.recent-trip-cost{font-size:16px;font-weight:700}.recent-trip-details small,.recent-empty{font-size:15px;line-height:1.6;color:#4e5c53}.recent-trip{align-items:flex-start}.trip-card .secondary,.history-card .secondary{font-size:16px;font-weight:700}.pix-card p,.pix-card label{font-size:16px;line-height:1.65}.demo{font-size:14px}
@media(max-width:760px){.nav,#account-button,.profile-switcher-buttons button{font-size:16px}.journey-stage h2{font-size:26px}.journey-stage li{font-size:14px}.journey-stage p{font-size:17px}.profile-switcher label{display:block;font-size:14px}.profile-switcher select{display:block;width:100%;max-width:100%;margin-top:6px;font-size:16px;min-height:44px}.location label{font-size:14px}.intro{font-size:16px}.recent-trip{flex-wrap:wrap}.recent-trip-cost{margin-left:auto}.recent-trip-details{flex-basis:70%}body.trip-tracking #approach-status{font-size:16px;font-weight:700;line-height:1.5}}



/* Availability belongs to the driver selector, with one compact action. */
.profile-switcher .driver-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;min-width:0;flex:1;max-width:470px}.profile-switcher .driver-controls label{display:block;min-width:0;width:100%;font-size:13px;margin:0}.profile-switcher .driver-controls select{display:block;width:100%;max-width:100%;margin-top:5px;min-height:44px;font-size:16px;padding:8px 10px}.profile-switcher #driver-availability{padding:0;margin:0;border:0;background:transparent;max-width:none;min-width:0}.profile-switcher #driver-availability button{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:auto;min-height:44px;margin:0;padding:8px 12px;border-radius:22px;font-size:14px;font-weight:700;box-shadow:none;white-space:nowrap;border:1px solid #cddfce}.profile-switcher #driver-online{background:#fff;color:#215941}.profile-switcher #driver-online::before{content:'';width:8px;height:8px;border-radius:50%;border:1.5px solid #768379}.profile-switcher #driver-availability [hidden]{display:none!important}.profile-switcher #driver-location-status:not([hidden]){position:absolute;top:100%;left:14px;right:14px;padding:12px;margin:4px 0;background:#fff7e8;border:1px solid #ecd9b0;border-radius:10px;font-size:14px;line-height:1.5}@media(max-width:760px){.profile-switcher .driver-controls{width:100%;max-width:none;flex-basis:100%;gap:8px}.profile-switcher #driver-availability button{padding:8px 11px}}

.profile-switcher #driver-online[data-available="true"]{background:#eef6eb;color:#215941}.profile-switcher #driver-online[data-available="true"]::before{background:#28744c;border-color:#28744c}

/* Compact trip history with clear separators and readable mobile text. */
#history-list .history-card{padding:12px 0;margin:0;border:0;border-radius:0;box-shadow:none;background:transparent;overflow-wrap:anywhere}
#history-list .history-card+.history-card{border-top:2px solid #bdc9be;margin-top:10px;padding-top:14px}
#history-list .history-card>p{margin:4px 0;font-size:16px;line-height:1.35}
#history-list .history-card>b{display:block;font-size:16px;line-height:1.35;margin:4px 0;font-weight:800}
#history-list .history-card>.secondary,#history-list .history-card>.primary{margin-top:8px;padding:10px 12px;min-height:44px;line-height:1.3}
#history-list .history-card>p:empty{display:none}

#history-list .history-card .payment-status{display:none}

.history-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 5px;line-height:1.35;font-size:16px;font-weight:800}.history-heading strong{white-space:nowrap;color:#215941;font-size:18px}.history-heading b{min-width:0}

#history-list .history-card{padding:10px 0}#history-list .history-card+.history-card{margin-top:4px;padding-top:12px}
#history-list .history-destination{font-weight:700;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#history-list .history-metadata{color:#425349;font-weight:500}
.history-footer{display:flex;align-items:flex-start;flex-wrap:wrap;gap:4px 12px;margin-top:4px}.history-details{flex:1;min-width:100px;font-size:16px;color:#425349}.history-details summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:7px;font-weight:700}.history-details summary::before{content:'▸'}.history-details[open]{flex-basis:100%}.history-details[open] summary::before{content:'▾'}.history-details p{margin:4px 0;line-height:1.35;font-size:16px}.history-footer>.secondary{width:auto;min-height:44px;margin:0;padding:8px 12px;font-size:16px;font-weight:700}

#recent-trips .recent-trip{display:block;width:100%;text-align:left;background:transparent;border:0;border-radius:0;box-shadow:none;padding:10px 0;margin:0;color:var(--ink)}
#recent-trips .recent-trip+.recent-trip{border-top:2px solid #bdc9be;margin-top:4px;padding-top:12px}
#recent-trips .history-heading{display:flex;font-size:16px;margin:0 0 5px}#recent-trips .history-heading b{font-size:16px;font-weight:800}#recent-trips .history-heading strong{font-size:18px;font-weight:800}
#recent-trips .recent-history-destination{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:16px;line-height:1.35;font-weight:700;margin:4px 0}
#recent-trips .recent-history-metadata{display:block;font-size:16px;line-height:1.35;color:#425349;font-weight:500;margin:4px 0}

.journey-waze{display:flex;align-items:center;justify-content:center;text-align:center;min-height:48px;padding:12px;margin-top:12px;border-radius:10px;background:#fff;color:#153e30;text-decoration:none;font-size:17px;font-weight:800;line-height:1.35;border:2px solid #d5edc7}.journey-waze:focus-visible{outline:3px solid #d5f291;outline-offset:3px}
