/* Sobre Ruedas v2.7.0 — lenguaje visual profesional, adaptativo y accesible */
:root{
  --sr-yellow:#ffd400;
  --sr-yellow-strong:#f4c600;
  --sr-ink:#111318;
  --sr-muted:#6f7580;
  --sr-bg:#f5f6f8;
  --sr-card:#ffffff;
  --sr-card-2:#f0f2f5;
  --sr-line:#e3e6ea;
  --sr-success:#0f9f68;
  --sr-danger:#d53e45;
  --sr-warning:#d48a00;
  --sr-blue:#1769ff;
  --sr-shadow:0 18px 54px rgba(17,19,24,.16);
  --sr-soft-shadow:0 8px 24px rgba(17,19,24,.08);
  --sr-radius:24px;
}
html,body{background:#d8dde4}
body{font-family:Inter,-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",Roboto,Arial,sans-serif}
button{-webkit-tap-highlight-color:transparent}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(23,105,255,.28);outline-offset:2px}
.app{background:var(--sr-bg);max-width:none;box-shadow:none}
#map{background:#dce2e8}
.leaflet-control-attribution{background:rgba(255,255,255,.86)!important;color:#5e6470!important;padding:2px 5px!important;border-radius:7px 0 0 0}
.top{align-items:center;padding-left:14px;padding-right:14px}
.glass{background:rgba(255,255,255,.92);border:1px solid rgba(255,255,255,.72);box-shadow:0 8px 26px rgba(17,19,24,.14);backdrop-filter:blur(22px) saturate(160%)}
.round{width:46px;height:46px;border-radius:16px;color:#17191e;font-size:19px}
.brand{position:absolute;left:50%;transform:translateX(-50%);padding:6px 11px 6px 6px;border-radius:18px;max-width:calc(100vw - 126px);white-space:nowrap}
.brand .logo{width:38px;height:38px;border-radius:12px;background:var(--sr-yellow);font-size:21px;color:#111}
.brand>div:last-child{font-size:12px;letter-spacing:.045em;line-height:1.15;overflow:hidden;text-overflow:ellipsis}
.brand small{font-size:8px;letter-spacing:.1em;margin-top:3px}
#profileBtn{margin-left:auto}
.connection-status{top:calc(max(14px,env(safe-area-inset-top)) + 55px)!important;right:14px!important;border-radius:999px!important;padding:6px 10px!important;font-size:10px!important;font-weight:800!important;background:rgba(255,255,255,.94)!important;color:var(--sr-success)!important;box-shadow:var(--sr-soft-shadow)!important}
.sheet{left:0;right:0;bottom:0;border-radius:32px 32px 0 0;background:rgba(255,255,255,.98);border:1px solid rgba(255,255,255,.84);box-shadow:0 -18px 60px rgba(17,19,24,.18);padding:7px 16px calc(10px + env(safe-area-inset-bottom));height:70dvh}
.handle-wrap{height:28px}.handle{width:42px;height:5px;background:#c8ccd3}.sheet-hint{display:none}.sheet-content{height:calc(100% - 29px);padding:0 0 2px;scrollbar-width:none}.sheet-content::-webkit-scrollbar{display:none}
.hello{color:var(--sr-muted);font-size:12px;font-weight:760}.headline{font-size:29px;letter-spacing:-.045em;line-height:1.02;margin:5px 0 16px;color:var(--sr-ink)}
.route-composer{background:#15171c;border-radius:22px;padding:5px;box-shadow:0 14px 34px rgba(17,19,24,.21)}
.route-row{min-height:62px;grid-template-columns:18px 1fr 43px;padding:7px 7px 7px 13px}.route-row small{color:#aeb4bd;font-size:10px;letter-spacing:.02em}.route-copy strong{font-size:14px}.route-connector{left:23px;background:#4c525d}
.destination-row{background:#fff;border-radius:17px}.destination-input-wrap input{font-size:15px;font-weight:830}.route-icon-btn{width:41px;height:41px;border-radius:13px;background:#2a2d34}.search-action{background:var(--sr-yellow);color:#111;box-shadow:0 8px 18px rgba(255,212,0,.28)}
.address-suggestions{border-radius:18px;border-color:var(--sr-line);box-shadow:0 18px 44px rgba(17,19,24,.16);max-height:270px}.address-suggestion{padding:12px 13px}.address-suggestion .place-icon{background:#f0f2f5;border-radius:13px}.address-suggestion strong{font-size:13px}.address-suggestion small{font-size:10px}
.address-tools{margin-top:9px}.address-tools button{background:#fff;border:1px solid var(--sr-line);border-radius:15px;padding:11px;color:#4f5560;font-size:12px;box-shadow:var(--sr-soft-shadow)}
.route-status,.confirm-location{border-radius:16px;background:#f7f8fa;border-color:var(--sr-line)}
.dev-tools{border-radius:16px;background:#f6f7f9;border-color:var(--sr-line);margin-top:11px}.dev-tools summary{padding:11px 13px}.dev-tools-body{padding:11px}
.quick{gap:8px;padding:11px 0 3px}.chip{background:#f0f2f5;border:1px solid #e7e9ed;border-radius:999px;padding:9px 13px;font-size:12px;color:#353941}
.section-title{margin:17px 0 9px}.section-title h3{font-size:15px;letter-spacing:-.01em}.section-title button{font-weight:800;color:#555b66}
.vehicles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.vehicle,.vehicles button.vehicle{display:grid;grid-template-columns:44px 1fr;grid-template-rows:auto auto;gap:2px 9px;min-height:82px;border:1px solid var(--sr-line);border-radius:19px;padding:11px;background:#fff;text-align:left;box-shadow:0 5px 16px rgba(17,19,24,.05)}.vehicle .vicon,.vehicle>span:first-child{grid-row:1/3;width:44px;height:44px;border-radius:14px;background:#f0f2f5;display:grid;place-items:center;font-size:25px}.vehicle>div:nth-child(2){min-width:0}.vehicle strong{font-size:13px}.vehicle small{font-size:10px}.vehicle .price,.vehicle>b{grid-column:2;text-align:left;font-size:12px;color:#2f343c}.vehicle .price small,.vehicle>b small{display:inline;margin-left:3px;font-size:9px}.vehicle.active{border-color:var(--sr-yellow-strong);background:#fffdf2;box-shadow:0 0 0 3px rgba(255,212,0,.17),0 8px 22px rgba(17,19,24,.07)}
.fare{background:#f6f7f9;border-color:var(--sr-line);border-radius:18px;padding:13px}.fare .row{font-size:12px}.fare .row.total{font-size:15px}
.primary{background:var(--sr-yellow);color:#111;border-radius:17px;padding:15px;font-size:15px;box-shadow:0 12px 26px rgba(255,212,0,.27)}.primary:disabled{opacity:.55;box-shadow:none}.secondary{background:#eef0f3;color:#2c3037;border-radius:16px}
.nav{position:sticky;bottom:0;margin:14px -16px -10px;padding:7px 10px calc(7px + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);border-top:1px solid var(--sr-line);backdrop-filter:blur(18px);z-index:12}.nav button{color:#8a9099;font-size:9px;padding:6px 2px}.nav span{font-size:20px}.nav .active{color:#111}.nav .active span{color:#111}
.driver-card{background:#16181d;border-radius:21px;padding:13px}.avatar{overflow:hidden;background:linear-gradient(145deg,var(--sr-yellow),#fff0a6);border-radius:18px}.avatar img,.profile-photo img,.vehicle-photo img{width:100%;height:100%;object-fit:cover;display:block}.rating{background:#2b2f36;border-radius:12px}
.trip-stage{gap:6px}.trip-stage div{height:5px}.metrics{gap:8px}.metric{background:#f2f4f6;border:1px solid #ebedf0;border-radius:15px;padding:10px}.metric strong{font-size:17px;color:#17191e}.metric small{font-size:10px}.actions button{border-radius:15px;background:#eef0f3}.pickup-card,.trip-code,.live-route-card{border-radius:18px}
.earn{background:linear-gradient(145deg,#121419,#2a2e36);border-radius:23px;padding:18px;box-shadow:0 16px 34px rgba(17,19,24,.2)}.earn h2{font-size:34px;letter-spacing:-.05em}.toggle{background:#444a54}.request{border-radius:24px;padding:17px;background:#14161b;box-shadow:0 18px 40px rgba(17,19,24,.24)}.count{border-color:var(--sr-yellow)}.accept{background:var(--sr-yellow)}
.driver-trip-head,.driver-trip-route,.navigation-card,.driver-passenger-card{border-radius:20px!important}.driver-action{border-radius:17px!important;padding:15px!important;font-size:14px!important}
.auth{background:radial-gradient(circle at 80% 10%,rgba(255,212,0,.22),transparent 33%),linear-gradient(155deg,#0f1115,#20242b 68%,#3a3214);padding:18px;align-items:center}.auth-shell{width:min(100%,960px);margin:auto}.auth-brand img{filter:drop-shadow(0 18px 50px rgba(0,0,0,.34))}.auth-brand p{color:#d4d7dd}.auth-card{border-radius:28px;padding:22px;border:1px solid rgba(255,255,255,.82);box-shadow:0 24px 74px rgba(0,0,0,.32)}.tabs{background:#eef0f3;border-radius:14px}.auth input,.auth select{border-radius:14px;border-color:#dde1e6;background:#fbfbfc}.social{border-radius:14px}.upload-box{border-color:#d9dde3;background:#f7f8fa;border-radius:18px}.upload-label{background:#17191e;border-radius:14px}
.drawer{background:#fff;border-right:1px solid var(--sr-line)}.drawer button.menuitem{background:#f5f6f8;border-radius:15px}.modal{border-radius:28px;box-shadow:0 24px 74px rgba(0,0,0,.28)}
.toast{left:14px;right:14px;bottom:calc(18px + env(safe-area-inset-bottom));border-radius:15px;background:#15171c;box-shadow:0 14px 36px rgba(0,0,0,.24)}

/* Perfiles y restricciones */
.account-restriction{display:none;margin:0 0 12px;border-radius:17px;padding:12px 13px;background:#fff2d8;border:1px solid #f3c46b;color:#6b4600}.account-restriction.show{display:flex;gap:10px;align-items:flex-start}.account-restriction.danger{background:#fff0f1;border-color:#efb5b9;color:#861f27}.account-restriction .restriction-icon{font-size:21px}.account-restriction strong{display:block;font-size:13px}.account-restriction small{display:block;margin-top:3px;line-height:1.35}
.profile-editor{margin-top:12px;border:1px solid var(--sr-line);background:#fff;border-radius:21px;padding:14px}.profile-editor-head{display:flex;align-items:center;gap:12px}.profile-photo{width:76px;height:76px;border-radius:24px;background:#eceff3;display:grid;place-items:center;font-size:32px;overflow:hidden;flex:0 0 auto}.profile-photo-actions{display:grid;gap:6px;min-width:0}.profile-photo-actions strong{font-size:14px}.profile-photo-actions small{font-size:10px;color:var(--sr-muted)}.photo-label{display:inline-flex;align-items:center;justify-content:center;width:max-content;max-width:100%;background:#17191e;color:#fff;border-radius:12px;padding:9px 11px;font-size:11px;font-weight:850;cursor:pointer}.profile-editor input[type=file]{display:none}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:13px}.profile-grid .full{grid-column:1/-1}.profile-grid label{display:grid;gap:5px;color:#6b717b;font-size:10px;font-weight:780}.profile-grid input,.profile-grid select{width:100%;border:1px solid var(--sr-line);background:#fafbfc;color:#17191e;border-radius:13px;padding:11px;font-size:12px;min-width:0}.profile-save{width:100%;margin-top:12px;border:0;border-radius:14px;background:#17191e;color:#fff;padding:12px;font-weight:900}.vehicle-photo{width:100%;height:145px;border-radius:17px;background:#edf0f3;display:grid;place-items:center;overflow:hidden;color:#717782;margin-top:8px}
.registration-profile{margin-top:11px;border:1px solid #e0e3e8;border-radius:18px;padding:13px;background:#f8f9fa;text-align:left}.registration-profile h4{margin:0 0 8px;font-size:13px}.registration-profile .profile-photo-row{display:flex;gap:11px;align-items:center}.registration-profile .profile-photo{width:68px;height:68px;border-radius:20px}.registration-profile p{margin:0;text-align:left;font-size:11px;line-height:1.35}.registration-profile input[type=file]{display:none}.registration-profile .photo-label{margin-top:7px}.vehicle-registration-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.vehicle-registration-grid .full{grid-column:1/-1}.vehicle-registration-grid input,.vehicle-registration-grid select{margin-top:0!important}
.professional-identity{display:grid;grid-template-columns:64px 1fr auto;gap:11px;align-items:center;background:#15171c;color:#fff;border-radius:21px;padding:12px;margin-top:12px}.professional-identity .avatar{width:64px;height:64px}.professional-identity small{display:block;color:#b9bec7;margin-top:3px}.professional-identity .identity-status{font-size:10px;background:#2b3038;border-radius:999px;padding:7px 9px;white-space:nowrap}

/* Modo oscuro completo */
body.theme-dark{
  --ink:#f3f5f7;--muted:#a8aeb8;--bg:#0e1014;--card:#171a20;--line:#30343c;--surface:#171a20;--surface-2:#20242b;
  --sr-ink:#f3f5f7;--sr-muted:#a8aeb8;--sr-bg:#0e1014;--sr-card:#171a20;--sr-card-2:#20242b;--sr-line:#30343c;color-scheme:dark;background:#080a0d
}
body.theme-dark .app{background:var(--sr-bg)}
body.theme-dark #map{filter:brightness(.76) saturate(.78) contrast(1.05)}
body.theme-dark .glass{background:rgba(24,27,33,.92);border-color:rgba(255,255,255,.08);color:#f5f6f8}
body.theme-dark .sheet{background:rgba(23,26,32,.985);border-color:#2d323a}
body.theme-dark .headline,body.theme-dark .metric strong{color:#f4f6f8}
body.theme-dark .destination-row,body.theme-dark .vehicle,body.theme-dark .vehicles button.vehicle,body.theme-dark .profile-editor,body.theme-dark .registration-profile{background:#20242b;color:#f4f6f8;border-color:#333840}
body.theme-dark .vehicle.active{background:#282617;border-color:var(--sr-yellow)}
body.theme-dark .vehicle .vicon,body.theme-dark .vehicle>span:first-child,body.theme-dark .address-suggestion .place-icon,body.theme-dark .profile-photo,body.theme-dark .vehicle-photo{background:#2a2f37}
body.theme-dark .fare,body.theme-dark .metric,body.theme-dark .dev-tools,body.theme-dark .route-status{background:#20242b;border-color:#30353d}
body.theme-dark .nav{background:rgba(23,26,32,.97);border-color:#30353d}.theme-dark .nav .active{color:#fff}
body.theme-dark .address-tools button,body.theme-dark .chip,body.theme-dark .secondary,body.theme-dark .actions button,body.theme-dark .setting,body.theme-dark .saved-card{background:#20242b;color:#f0f2f5;border-color:#30353d}
body.theme-dark .address-suggestions,body.theme-dark .address-suggestion{background:#171a20;color:#f3f5f7;border-color:#30353d}
body.theme-dark .profile-grid input,body.theme-dark .profile-grid select,body.theme-dark .auth input,body.theme-dark .auth select{background:#20242b;color:#f4f6f8;border-color:#363b44}
body.theme-dark .profile-save,body.theme-dark .photo-label{background:#f2f4f7;color:#111318}
body.theme-dark .notice-card,body.theme-dark .confirm-location{background:#20242b;border-color:#30353d}
body.theme-dark .drawer,body.theme-dark .modal{background:#171a20;color:#f3f5f7}.theme-dark .drawer button.menuitem{background:#20242b;color:#f3f5f7}
body.theme-dark .account-restriction{background:#3a2b12;border-color:#795b24;color:#ffd88a}.theme-dark .account-restriction.danger{background:#3b1b1f;border-color:#74363c;color:#ffb4bb}
body.theme-dark .leaflet-control-attribution{background:rgba(18,20,24,.84)!important;color:#c1c6ce!important}

/* Tablet y escritorio: mapa a pantalla completa + panel lateral operativo */
@media(min-width:820px){
  body{padding:0;background:#cfd5dd}.app{width:100%;height:100dvh;border-radius:0}
  .top{left:24px;right:auto;width:430px;padding-top:24px;justify-content:flex-start;gap:10px}.brand{position:static;transform:none;order:-1;flex:1;max-width:none}.top #profileBtn{margin-left:0}.top #menuBtn{order:-2}
  .sheet{left:24px;right:auto;bottom:24px;top:92px;width:430px;height:auto!important;border-radius:28px;padding:8px 18px 14px;box-shadow:0 24px 80px rgba(17,19,24,.24)}
  .sheet-content{height:calc(100% - 30px)}.handle-wrap{cursor:default}.handle{opacity:.45}.nav{margin-left:-18px;margin-right:-18px;margin-bottom:-14px;border-radius:0 0 28px 28px}
  .map-confirm{left:auto;right:32px;width:420px;bottom:32px}.pin-mode{left:70%}
  .drawer{position:fixed}.overlay{position:fixed;place-items:center}.modal{max-width:520px}.toast{position:fixed;left:auto;right:28px;width:380px;bottom:28px}
  .auth-shell{display:grid;grid-template-columns:1fr 420px;gap:64px;align-items:center}.auth-brand{display:block}.auth-card{padding:28px}.auth{padding:48px}
  .vehicles{grid-template-columns:1fr 1fr}.profile-grid{grid-template-columns:1fr 1fr 1fr}.profile-grid .full{grid-column:1/-1}
}
@media(min-width:1180px){
  .top{left:42px;width:460px}.sheet{left:42px;width:460px}.pin-mode{left:67%}
}
@media(max-width:390px){
  .sheet{padding-left:13px;padding-right:13px}.headline{font-size:27px}.nav{margin-left:-13px;margin-right:-13px}.brand{max-width:calc(100vw - 118px)}.brand>div:last-child{font-size:11px}.vehicles{grid-template-columns:1fr 1fr}.profile-grid{grid-template-columns:1fr}.profile-grid .full{grid-column:auto}
}
@media(max-height:650px) and (max-width:819px){.sheet{height:66dvh}.headline{font-size:25px}.route-row{min-height:56px}}

/* Sobre Ruedas v2.7.0 · comunicación, ayuda y carga optimizada */
.media-upload-progress{position:fixed;inset:0;z-index:10050;background:rgba(5,7,10,.46);display:none;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(4px)}
.media-upload-progress.show{display:flex}.media-upload-card{width:min(360px,100%);background:var(--card,#fff);color:var(--ink,#111);border-radius:22px;padding:20px;box-shadow:0 24px 70px rgba(0,0,0,.28)}
.media-upload-card strong{display:block;margin-bottom:12px}.media-upload-card small{display:block;margin-top:9px;color:var(--muted,#68707d)}.media-progress-track{height:9px;border-radius:999px;background:var(--surface-2,#e9edf2);overflow:hidden}.media-progress-track span{display:block;height:100%;width:0;background:#f6c600;border-radius:inherit;transition:width .2s ease}
.communication-bar{display:none;gap:8px;margin:12px 0 4px;padding:9px;border:1px solid var(--line,#e4e7ec);border-radius:18px;background:var(--card,#fff);box-shadow:0 8px 26px rgba(16,24,40,.08)}
.communication-bar.show{display:grid;grid-template-columns:repeat(3,1fr)}.communication-bar button{border:0;border-radius:13px;padding:10px 6px;background:var(--surface-2,#f1f3f6);color:var(--ink,#15181d);font-weight:900;font-size:12px}.communication-bar button.primary{background:#111318;color:#fff}.communication-bar button.emergency{background:#fff1f1;color:#a51616}
.comm-badge{display:inline-flex;min-width:18px;height:18px;padding:0 5px;align-items:center;justify-content:center;border-radius:999px;background:#d92d20;color:#fff;font-size:10px;margin-left:3px}.comm-badge.hidden{display:none}
.sr-modal-backdrop{position:fixed;inset:0;z-index:10020;background:rgba(5,7,10,.58);display:none;align-items:flex-end;justify-content:center;backdrop-filter:blur(5px)}.sr-modal-backdrop.show{display:flex}
.sr-modal{width:min(620px,100%);max-height:min(88dvh,820px);display:flex;flex-direction:column;background:var(--card,#fff);color:var(--ink,#111);border-radius:26px 26px 0 0;box-shadow:0 -24px 70px rgba(0,0,0,.25);overflow:hidden;padding-bottom:env(safe-area-inset-bottom)}
.sr-modal-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 18px;border-bottom:1px solid var(--line,#e5e7eb)}.sr-modal-head h3{margin:0;font-size:18px}.sr-modal-head small{display:block;color:var(--muted,#697180);margin-top:2px}.sr-modal-head button{border:0;background:var(--surface-2,#eef1f5);color:var(--ink,#111);width:36px;height:36px;border-radius:50%;font-weight:900}
.chat-list{flex:1;overflow:auto;padding:16px;background:var(--surface-2,#f4f6f8);min-height:260px}.chat-empty{text-align:center;color:var(--muted,#697180);padding:42px 18px}.chat-message{max-width:82%;margin:0 0 10px;padding:10px 12px;border-radius:16px;background:var(--card,#fff);box-shadow:0 3px 12px rgba(16,24,40,.06);word-break:break-word}.chat-message.mine{margin-left:auto;background:#111318;color:#fff;border-bottom-right-radius:5px}.chat-message.theirs{margin-right:auto;border-bottom-left-radius:5px}.chat-message.system{margin:8px auto;background:#fff8d6;color:#594b00;text-align:center;max-width:92%;font-size:12px}.chat-message small{display:block;margin-top:5px;opacity:.65;font-size:10px}.chat-quick{display:flex;gap:7px;overflow-x:auto;padding:9px 12px;border-top:1px solid var(--line,#e5e7eb);scrollbar-width:none}.chat-quick button{white-space:nowrap;border:1px solid var(--line,#dce0e6);background:var(--card,#fff);color:var(--ink,#111);border-radius:999px;padding:8px 11px;font-size:11px;font-weight:850}.chat-compose{display:flex;gap:8px;padding:10px 12px 12px}.chat-compose input{flex:1;min-width:0;border:1px solid var(--line,#d9dde5);background:var(--card,#fff);color:var(--ink,#111);border-radius:14px;padding:12px}.chat-compose button{border:0;background:#f6c600;color:#111;border-radius:14px;padding:0 17px;font-weight:950}
.help-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:14px;overflow:auto}.help-option{border:1px solid var(--line,#e2e5ea);background:var(--card,#fff);color:var(--ink,#111);border-radius:16px;padding:13px;text-align:left;font-weight:850;min-height:68px}.help-option span{display:block;font-size:20px;margin-bottom:6px}.help-option.active{border-color:#f6c600;box-shadow:0 0 0 2px rgba(246,198,0,.22)}.help-form{padding:0 14px 16px}.help-form label{display:block;font-size:12px;font-weight:850;margin:10px 0 6px}.help-form textarea{width:100%;min-height:105px;resize:vertical;border:1px solid var(--line,#d9dde5);background:var(--card,#fff);color:var(--ink,#111);border-radius:15px;padding:12px}.help-priority{display:flex;gap:8px}.help-priority button{flex:1;border:1px solid var(--line,#d9dde5);background:var(--card,#fff);color:var(--ink,#111);border-radius:12px;padding:9px;font-weight:850}.help-priority button.active{background:#111318;color:#fff}.help-submit{width:100%;border:0;border-radius:15px;background:#f6c600;color:#111;padding:13px;font-weight:950;margin-top:12px}
.support-case-list{display:grid;gap:9px;padding:14px;overflow:auto}.support-case-card{border:1px solid var(--line,#e2e5ea);border-radius:16px;padding:13px;background:var(--card,#fff)}.support-case-card strong{display:block}.support-case-card small{display:block;color:var(--muted,#697180);margin-top:4px}.case-status{display:inline-flex;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:900;margin-top:8px;background:#eef2f6}.case-status.open{background:#fff3cd;color:#6c5100}.case-status.in_review{background:#e8f1ff;color:#164b91}.case-status.resolved,.case-status.closed{background:#e7f7ed;color:#176b37}
.call-panel{padding:24px 18px;text-align:center}.call-orb{width:90px;height:90px;border-radius:50%;display:grid;place-items:center;margin:4px auto 16px;background:#111318;color:#fff;font-size:34px;box-shadow:0 0 0 12px rgba(246,198,0,.18)}.call-status{font-weight:900;font-size:18px}.call-subtitle{color:var(--muted,#697180);font-size:12px;margin-top:5px}.call-actions{display:flex;justify-content:center;gap:14px;margin-top:22px}.call-actions button{border:0;border-radius:50%;width:58px;height:58px;font-size:21px}.call-actions .accept{background:#16a34a;color:#fff}.call-actions .hangup{background:#dc2626;color:#fff}.call-actions .mute{background:var(--surface-2,#eef1f5);color:var(--ink,#111)}
.inbox-panel-v270,.help-panel-v270{padding-bottom:90px}.v270-nav-five{grid-template-columns:repeat(5,1fr)!important}.v270-nav-five button{font-size:9px!important}.v270-nav-five button span{font-size:18px!important}
.address-suggestion.manual-result{border-style:dashed}.address-source{display:block;color:var(--muted,#697180);font-size:9px;margin-top:2px}.address-error-actions{display:flex;gap:8px;margin-top:10px}.address-error-actions button{flex:1;border:0;border-radius:11px;padding:9px;background:#111318;color:#fff;font-weight:850}.address-error-actions button:last-child{background:#f6c600;color:#111}
body.theme-dark .media-upload-card,body.theme-dark .sr-modal,body.theme-dark .chat-message.theirs,body.theme-dark .help-option,body.theme-dark .support-case-card{background:#181b20;color:#f4f6f8;border-color:#30343c}body.theme-dark .chat-list{background:#101216}body.theme-dark .chat-compose input,body.theme-dark .help-form textarea{background:#111318;color:#fff;border-color:#343943}
@media(min-width:700px){.sr-modal-backdrop{align-items:center;padding:20px}.sr-modal{border-radius:26px;max-height:88dvh}.help-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* v2.7.0 · conversación con soporte */
.support-case-card{display:flex;width:100%;flex-direction:column;gap:6px;text-align:left;border:1px solid var(--sr-border,#e2e5e9);background:var(--sr-card,#fff);color:inherit;border-radius:16px;padding:13px 14px;cursor:pointer;font:inherit}
.support-case-card:hover,.support-case-card:focus-visible{border-color:#f5c400;box-shadow:0 8px 22px rgba(0,0,0,.08);outline:none}
.support-case-card strong{font-size:13px}.support-case-card small{display:block;color:var(--muted,#6b7280);line-height:1.35}.case-open-hint{font-size:11px;font-weight:900;color:#8b6d00}
.support-thread-user{display:flex;flex-direction:column;gap:9px;min-height:260px;max-height:52vh;overflow:auto;padding:14px;background:var(--sr-soft,#f4f5f7)}
.support-user-message{max-width:86%;padding:10px 12px;border-radius:16px;background:var(--sr-card,#fff);border:1px solid var(--sr-border,#e2e5e9);white-space:pre-wrap;overflow-wrap:anywhere}
.support-user-message.mine{align-self:flex-end;background:#ffe36a;border-color:#f4cb00;color:#171717}.support-user-message.admin{align-self:flex-start}
.support-user-message small{display:block;margin-top:5px;font-size:10px;opacity:.7}
body.dark .support-case-card,body.dark .support-user-message.admin{background:#181b20;border-color:#30343b;color:#f3f4f6}
body.dark .support-thread-user{background:#0f1114}.dark .case-open-hint{color:#ffd84d}
/* Sobre Ruedas v2.8.0 — estabilidad visual y estados operativos */
body.sr-v280-active-ride #tripPanel:not(.hidden),
body.sr-v280-active-ride #driverActiveTrip:not(.hidden){display:block!important}
body.sr-v280-active-ride #mainSheet{z-index:850}
body.sr-v280-active-ride .sheet-content{padding-bottom:calc(104px + env(safe-area-inset-bottom))}

#chatBtn:disabled,#callBtn:disabled,#driverChatV270:disabled,#driverCallV270:disabled,#driverCallPassenger:disabled{
  opacity:.48;filter:grayscale(.35);cursor:not-allowed;box-shadow:none
}
#chatBtn:not(:disabled),#callBtn:not(:disabled),#driverChatV270:not(:disabled),#driverCallV270:not(:disabled),#driverCallPassenger:not(:disabled){
  opacity:1;cursor:pointer
}

.address-suggestions{
  position:relative!important;z-index:1600!important;max-height:min(46vh,390px)!important;overflow:auto!important;
  overscroll-behavior:contain;box-shadow:0 18px 42px rgba(8,12,20,.2)
}
.address-suggestion{width:100%;text-align:left}
.address-suggestion>div{min-width:0}
.address-suggestion strong,.address-suggestion small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sr-v280-manual-pin{position:sticky;bottom:0;border-top:2px solid var(--line)!important;background:var(--card)!important}

#ratingModal{z-index:2600}
#ratingModal .modal{max-width:440px;margin:auto}
#ratingModal .star-picker button{min-width:48px;min-height:52px;touch-action:manipulation}

.sr-v280-account-state{margin:9px 0;padding:10px 12px;border-radius:14px;background:#fff1cc;color:#6c4600;font-weight:850}
body.theme-dark .sr-v280-account-state{background:#382d11;color:#ffe8a1}

.driver-passenger-card .avatar img,#passengerDriverAvatar img,#ratingDriverAvatar img{
  display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit
}

@media (max-width:600px){
  body.sr-v280-active-ride .sheet{max-height:calc(100dvh - env(safe-area-inset-top) - 8px)}
  #tripPanel .actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  #tripPanel .actions button{min-width:0;padding-inline:6px}
  .address-suggestions{max-height:42vh!important}
}
/* Sobre Ruedas v2.9.0 — identidad visual unificada */
:root{
  --sr-teal:#00b894;--sr-teal-2:#18d7b4;--sr-blue:#1677ff;--sr-navy:#07111d;
  --sr-bg:#f5f8fb;--sr-card:#ffffff;--sr-text:#122033;--sr-muted:#728096;--sr-line:#e4eaf0;
  --sr-shadow:0 18px 48px rgba(18,32,51,.14)
}
body{background:var(--sr-bg)}
.app{background:var(--sr-bg)}
.logo{background:linear-gradient(145deg,var(--sr-teal-2),var(--sr-teal));color:#07111d}
.brand{border:1px solid rgba(255,255,255,.7)}
.brand small{color:#64748b}
.primary,.accept,.hero button{background:linear-gradient(135deg,var(--sr-teal-2),var(--sr-teal))!important;color:#061018!important;box-shadow:0 12px 28px rgba(0,184,148,.27)!important}
.dot{background:var(--sr-teal);box-shadow:0 0 0 4px rgba(0,184,148,.18)}
.vehicle.active{border-color:var(--sr-teal);box-shadow:0 0 0 3px rgba(0,184,148,.14)}
.progress div{background:linear-gradient(90deg,var(--sr-teal),var(--sr-blue))}
.badge{background:#e8fbf6;color:#08765f}

/* Apertura animada */
#srSplash290{position:fixed;z-index:99999;inset:0;background:radial-gradient(circle at 50% 15%,#112437 0,#07111d 48%,#02070c 100%);display:grid;place-items:center;overflow:hidden;color:white;transition:opacity .45s ease,visibility .45s ease}
#srSplash290.hide{opacity:0;visibility:hidden}
.sr-splash-map{position:absolute;inset:-10%;opacity:.16;background-image:linear-gradient(30deg,transparent 46%,#19e4bc 47%,transparent 49%),linear-gradient(120deg,transparent 47%,#1677ff 48%,transparent 50%);background-size:120px 120px;transform:rotate(-8deg) scale(1.2)}
.sr-splash-core{position:relative;z-index:3;text-align:center;padding:24px;width:min(88vw,420px)}
.sr-splash-logo{width:112px;height:112px;border-radius:31px;margin:0 auto 20px;background:linear-gradient(145deg,#25e5bd,#00a982);display:grid;place-items:center;color:#061018;font:1000 68px/1 system-ui;box-shadow:0 0 0 10px rgba(25,228,188,.08),0 22px 60px rgba(0,184,148,.42);animation:srLogoIn .75s cubic-bezier(.2,.8,.2,1) both}
.sr-splash-title{font-weight:1000;font-size:34px;letter-spacing:-.04em}.sr-splash-title span{color:#22d6b0}.sr-splash-sub{margin-top:7px;color:#a7b6c8;font-size:13px;letter-spacing:.28em;text-transform:uppercase}
.sr-road{position:relative;height:150px;margin-top:24px;overflow:hidden}
.sr-road-line{position:absolute;left:-34%;width:55%;height:5px;border-radius:99px;background:linear-gradient(90deg,transparent,#21e4bd,#1f8fff,transparent);filter:drop-shadow(0 0 9px #19d9b4);animation:srRoad 1.55s linear infinite}
.sr-road-line:nth-child(1){top:23px}.sr-road-line:nth-child(2){top:54px;animation-delay:.2s}.sr-road-line:nth-child(3){top:87px;animation-delay:.4s}.sr-road-line:nth-child(4){top:120px;animation-delay:.6s}
.sr-splash-loading{font-size:11px;letter-spacing:.22em;color:#8ea0b4;text-transform:uppercase;margin-top:-2px}
@keyframes srRoad{0%{transform:translateX(0) skewX(-16deg)}100%{transform:translateX(250%) skewX(-16deg)}}
@keyframes srLogoIn{0%{opacity:0;transform:scale(.55) rotate(-8deg)}100%{opacity:1;transform:scale(1) rotate(0)}}
@media(prefers-reduced-motion:reduce){.sr-road-line,.sr-splash-logo{animation:none}}

/* Barra inferior fija y segura */
@media(max-width:819px){
  .app .nav{position:fixed!important;left:50%!important;transform:translateX(-50%);right:auto!important;bottom:0!important;width:min(100%,520px)!important;margin:0!important;padding:5px 12px calc(5px + env(safe-area-inset-bottom))!important;background:rgba(255,255,255,.96)!important;backdrop-filter:blur(18px);border-top:1px solid var(--sr-line)!important;box-shadow:0 -12px 35px rgba(18,32,51,.10);z-index:1800!important}
  .app .nav button{color:#8190a4!important;padding:2px!important}.app .nav button span{font-size:15px!important;line-height:1!important}.app .nav .active{color:var(--sr-teal)!important}
  .app .sheet{padding-bottom:calc(58px + env(safe-area-inset-bottom))!important}
  .app .sheet-content{padding-bottom:0!important}
}

/* Perfil pasajero/conductor */
#accountPanel.sr-profile-290{padding-top:4px}
.sr-profile-head{background:linear-gradient(145deg,#fff,#f7fbfd);border:1px solid var(--sr-line);border-radius:25px;padding:18px;box-shadow:var(--sr-shadow);margin:10px 0 14px}
.sr-profile-user{display:grid;grid-template-columns:82px 1fr auto;gap:14px;align-items:center}.sr-profile-photo{width:82px;height:82px;border-radius:50%;background:linear-gradient(145deg,#dffaf4,#bcf2e6);border:4px solid #fff;box-shadow:0 0 0 3px rgba(0,184,148,.28);overflow:hidden;display:grid;place-items:center;font-size:38px}.sr-profile-photo img{width:100%;height:100%;object-fit:cover}
.sr-profile-user h2{font-size:25px}.sr-verified{display:inline-flex;align-items:center;gap:6px;margin-top:5px;padding:5px 9px;border-radius:999px;background:#e8fbf6;color:#08765f;font-size:11px;font-weight:900}.sr-edit{border:1px solid #cfe0e6;background:#fff;color:#08765f;border-radius:13px;padding:9px 11px;font-weight:900}
.sr-profile-contact{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:17px;padding-top:14px;border-top:1px solid var(--sr-line);font-size:12px;color:#526276}.sr-profile-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:14px}.sr-stat{background:#f4faf9;border:1px solid #dff1ed;border-radius:16px;text-align:center;padding:12px 7px}.sr-stat strong{display:block;font-size:21px;color:#102033}.sr-stat small{color:#738196;font-size:9px}
.sr-profile-menu{background:#fff;border:1px solid var(--sr-line);border-radius:22px;overflow:hidden;box-shadow:0 14px 38px rgba(18,32,51,.08)}.sr-profile-menu button{width:100%;border:0;border-bottom:1px solid var(--sr-line);background:#fff;display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center;padding:13px 15px;text-align:left;color:#142236}.sr-profile-menu button:last-child{border-bottom:0}.sr-profile-menu .ico{width:38px;height:38px;border-radius:12px;background:#e9fbf6;color:#008d72;display:grid;place-items:center;font-size:18px}.sr-profile-menu strong{display:block;font-size:13px}.sr-profile-menu small{display:block;color:#8491a3;font-size:10px;margin-top:2px}.sr-profile-menu .danger{color:#d43d4f}.sr-profile-menu .danger .ico{background:#fff0f2;color:#d43d4f}

/* Modo oscuro coherente */
body.theme-dark{--sr-bg:#07111d;--sr-card:#101b28;--sr-text:#f6fbff;--sr-muted:#9eb0c4;--sr-line:#263648;background:#07111d}
body.theme-dark .sr-profile-head,body.theme-dark .sr-profile-menu,body.theme-dark .sr-profile-menu button{background:#101b28;color:#f6fbff;border-color:#263648}body.theme-dark .sr-profile-head{background:linear-gradient(145deg,#132231,#0d1723)}body.theme-dark .sr-stat{background:#122932;border-color:#1f4a49}body.theme-dark .sr-stat strong{color:#fff}body.theme-dark .sr-edit{background:#132331;color:#35e0ba;border-color:#2e465b}
@media(max-width:430px){.sr-profile-user{grid-template-columns:70px 1fr}.sr-profile-photo{width:70px;height:70px}.sr-profile-user .sr-edit{grid-column:1/-1}.sr-profile-contact{grid-template-columns:1fr}.sr-profile-head{padding:15px}.sr-profile-user h2{font-size:22px}}

/* Admin centro de operaciones */
body.admin-v290{--ink:#132033;--bg:#f3f7fa;--card:#fff;--muted:#738196;--line:#e3eaf0}
body.admin-v290 .sidebar{background:linear-gradient(180deg,#07111d,#0e2032);box-shadow:16px 0 50px rgba(6,17,29,.22)}
body.admin-v290 .brandmark{background:linear-gradient(145deg,#22d7b2,#00a984);color:#061018}
body.admin-v290 .menu button.active{background:linear-gradient(135deg,rgba(0,184,148,.24),rgba(22,119,255,.15));color:#fff;border-left:3px solid #25e1bc}
body.admin-v290 .content{background:linear-gradient(180deg,#f7fafc,#eef4f7)}
body.admin-v290 .stat,body.admin-v290 .panel,body.admin-v290 .person{border-radius:20px;border:1px solid #e2eaf0;box-shadow:0 12px 34px rgba(18,32,51,.08)}
body.admin-v290 .stat strong{color:#122033}body.admin-v290 .panel-head{border-bottom:1px solid #e9eef2}
body.admin-v290 .primary,body.admin-v290 .approve{background:linear-gradient(135deg,#25d9b5,#00aa88)!important;color:#07111d!important}
.sr-wordmark{width:min(84%,360px);margin:0 auto;display:block;filter:drop-shadow(0 18px 38px #0008);animation:srLogoIn .75s cubic-bezier(.2,.8,.2,1) both}.sr-route-stage{height:220px;position:relative;margin-top:8px}.sr-route-stage svg{width:100%;height:100%}.sr-route-main,.sr-route-glow{fill:none;stroke-linecap:round;stroke-dasharray:760;stroke-dashoffset:760;animation:srDraw290 2.3s ease forwards}.sr-route-main{stroke:url(#srG);stroke-width:8;filter:drop-shadow(0 0 10px #25e5bd)}.sr-route-glow{stroke:#287cff;stroke-width:20;opacity:.15}.sr-moto-moving{position:absolute;width:72px;left:4%;bottom:10%;offset-path:path("M 0 170 C 115 75 180 200 275 105 S 395 110 490 10");offset-distance:0%;animation:srMoto290 2.3s ease forwards;filter:drop-shadow(0 8px 12px #0008)}.sr-progress{height:4px;background:#173040;border-radius:99px;overflow:hidden;margin-top:12px}.sr-progress i{display:block;height:100%;background:linear-gradient(90deg,#25e5bd,#287cff);transform:translateX(-100%);animation:srProgress290 2.3s ease forwards}@keyframes srDraw290{to{stroke-dashoffset:0}}@keyframes srMoto290{to{offset-distance:100%}}@keyframes srProgress290{to{transform:none}}
#srOnboarding290{position:fixed;z-index:99998;inset:0;background:linear-gradient(155deg,#03101a,#071b29);display:flex;align-items:flex-end;justify-content:center;padding:24px 18px calc(24px + env(safe-area-inset-bottom));color:#fff;transition:.35s}#srOnboarding290.hide{opacity:0;pointer-events:none}.sr-onboard-skip{position:absolute;top:max(20px,env(safe-area-inset-top));right:20px;border:1px solid #ffffff33;background:#ffffff12;color:#fff;padding:9px 14px;border-radius:999px}.sr-onboard-card{width:min(100%,460px);background:#0b2230;border:1px solid #ffffff16;border-radius:28px;padding:22px;box-shadow:0 28px 90px #0008}.sr-onboard-card>img{width:220px;display:block;margin:0 auto 16px}.sr-onboard-card h1{text-align:center;font-size:27px}.sr-onboard-card>p{text-align:center;color:#a9bcc9;margin:8px 0 19px}.sr-role-choice{width:100%;display:grid;grid-template-columns:54px 1fr auto;gap:12px;align-items:center;text-align:left;padding:14px;margin-top:10px;border-radius:19px;background:#102b3b;color:#fff;border:1px solid #1b5164}.sr-role-choice.passenger{border-color:#25e5bd88}.sr-role-choice.driver{border-color:#287cff88}.sr-role-choice>span{width:54px;height:54px;border-radius:15px;background:#163949;display:grid;place-items:center;font-size:25px}.sr-role-choice strong{font-size:17px}.sr-role-choice small{display:block;color:#a8bbc6;margin-top:3px}.sr-onboard-card>a{display:block;text-align:center;color:#b5c7d1;text-decoration:none;margin-top:15px;font-size:13px}.sr-vehicle-card{display:grid;grid-template-columns:112px 1fr;gap:14px;padding:12px;margin-top:12px;background:var(--sr-card);border:1px solid var(--sr-line);border-radius:20px}.sr-vehicle-image{width:112px;height:92px;border-radius:16px;background:#eaf2f5;overflow:hidden;display:grid;place-items:center;font-size:36px}.sr-vehicle-image img{width:100%;height:100%;object-fit:cover}.sr-vehicle-card h3{font-size:16px}.sr-vehicle-card p{color:var(--sr-muted);font-size:12px;margin:5px 0}.sr-vehicle-card strong,.sr-vehicle-card small{display:block}.sr-vehicle-card small{color:#08765f;margin-top:6px;font-weight:800}

/* ---- Botón "Pedir viaje" rediseñado (v2.9.0) ---- */
#requestBtn{
  --btn-grad-a:#00c9a0; --btn-grad-b:#00a87f;
  display:flex!important;align-items:center;justify-content:center;gap:8px;
  background:linear-gradient(135deg,var(--btn-grad-a),var(--btn-grad-b))!important;
  color:#062018!important;
  border:0!important;
  border-radius:16px!important;
  margin:4px auto 8px!important;width:calc(100% - 24px)!important;max-width:440px;
  padding:13px 18px!important;
  font-size:16px!important;font-weight:1000!important;letter-spacing:.2px;
  box-shadow:0 10px 24px rgba(0,184,148,.32),inset 0 1px 0 rgba(255,255,255,.28)!important;
  transition:transform .12s ease,box-shadow .12s ease,filter .2s ease;
}
#requestBtn::before{content:"🧭";font-size:19px}
#requestBtn:active{transform:translateY(2px) scale(.99)!important;box-shadow:0 5px 14px rgba(0,184,148,.25)!important}
#requestBtn:disabled{opacity:.65;filter:saturate(.6);transform:none}
body.theme-dark #requestBtn{--btn-grad-a:#16d6ae;--btn-grad-b:#00a87f;color:#04180f!important}
/* Viaje activo: panel fijo, barrita e indicador ocultos */
#mainSheet.sr-trip-lock .handle-wrap,
#mainSheet.sr-trip-lock .sheet-hint{visibility:hidden!important}

/* ============ MODAL DE CHAT (conductor ↔ pasajero) ============ */
.chat-modal{display:flex;flex-direction:column;height:min(70dvh,560px);padding:0;overflow:hidden}
.chat-overlay{align-items:center;padding:14px}
.chat-head{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid var(--line,#e5e7eb)}
.chat-head strong{font-size:16px}
.chat-head small{display:block;color:var(--muted,#6b7280);font-size:12px;margin-top:2px}
.chat-head .close{border:0;background:var(--line,#eef0f3);width:30px;height:30px;border-radius:50%;font-size:14px;cursor:pointer}
.chat-body{flex:1;overflow-y:auto;padding:14px 14px 6px;display:flex;flex-direction:column;gap:8px;background:var(--bg,#f7f7f8)}
.chat-msg{max-width:80%;padding:9px 13px;border-radius:16px;font-size:14px;line-height:1.35;word-break:break-word;white-space:pre-wrap}
.chat-msg .meta{display:block;font-size:10.5px;color:var(--muted,#6b7280);margin-top:3px}
.chat-msg.me{align-self:flex-end;background:#2563eb;color:#fff;border-bottom-right-radius:4px}
.chat-msg.me .meta{color:#cfd8ff}
.chat-msg.other{align-self:flex-start;background:#fff;color:var(--ink,#111);border:1px solid var(--line,#e5e7eb);border-bottom-left-radius:4px}
.chat-day{font-size:11px;color:var(--muted,#6b7280);text-align:center;margin:6px 0 2px}
.chat-empty{color:var(--muted,#6b7280);text-align:center;padding:40px 16px;font-size:13.5px}
.chat-input-row{display:flex;gap:8px;padding:11px 12px;border-top:1px solid var(--line,#e5e7eb);background:#fff}
.chat-input-row input{flex:1;border:1px solid var(--line,#e5e7eb);border-radius:22px;padding:11px 15px;font-size:14px;margin-top:0}
.chat-input-row button{border:0;background:#2563eb;color:#fff;width:44px;height:44px;border-radius:50%;font-size:17px;cursor:pointer;flex:none}
.chat-input-row button:disabled{opacity:.5}
.chat-hint{font-size:11.5px;color:var(--muted,#6b7280);text-align:center;padding:6px 12px}
.chat-loading{color:var(--muted,#6b7280);text-align:center;padding:30px;font-size:13px}
.chat-pin{display:flex;align-items:center;gap:7px;margin:8px 4px;padding:8px 10px;background:#eef7ff;border:1px solid #bfdbfe;border-radius:12px;font-size:12px;color:#1d4ed8}

/* Botón "Escribir dirección" en modo pin del mapa */
.map-confirm .write{background:var(--surface-2,#eef0f3);color:var(--ink,#111)}

/* ===== Radar de conductores (pasajero elige a quién pedir) ===== */
.radar-section{margin-top:14px;border:1px solid var(--border,#e2e4e8);border-radius:16px;padding:12px;background:var(--surface-1,#fff)}
.radar-head{display:flex;flex-direction:column;gap:2px;margin-bottom:10px}
.radar-head h3{margin:0;font-size:14px;font-weight:700;color:var(--ink,#111)}
.radar-head small{font-size:11px;color:var(--muted,#6b7280)}
.radar-list{display:flex;flex-direction:column;gap:8px;max-height:220px;overflow-y:auto}
.radar-loading,.radar-empty,.radar-error{font-size:12px;color:var(--muted,#6b7280);text-align:center;padding:12px 8px}
.radar-error{color:#c0392b}
.radar-driver{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid var(--border,#e2e4e8);border-radius:12px;cursor:pointer;transition:all .15s ease;background:var(--surface-2,#f4f5f7)}
.radar-driver:hover{border-color:#1677ff}
.radar-driver.selected{border-color:#1677ff;background:#eef4ff;box-shadow:0 0 0 1px #1677ff}
.radar-driver .r-avatar{width:38px;height:38px;border-radius:50%;background:#e8ebf0;display:flex;align-items:center;justify-content:center;font-size:18px;overflow:hidden;flex-shrink:0}
.radar-driver .r-avatar img{width:100%;height:100%;object-fit:cover}
.radar-driver .r-info{flex:1;min-width:0}
.radar-driver .r-info strong{display:block;font-size:13px;color:var(--ink,#111);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.radar-driver .r-info small{font-size:11px;color:var(--muted,#6b7280);display:block;margin-top:2px}
.radar-driver .r-price{text-align:right;flex-shrink:0}
.radar-driver .r-price strong{font-size:14px;color:#10a66a;font-weight:800}
.radar-driver .r-price small{display:block;font-size:10px;color:var(--muted,#6b7280)}
.radar-driver .r-check{width:20px;height:20px;border-radius:50%;border:2px solid #cbd5e1;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:12px;color:#fff}
.radar-driver.selected .r-check{background:#1677ff;border-color:#1677ff}
.radar-total{margin-top:10px;padding:10px 12px;border-radius:12px;background:#eefbf4;border:1px solid #b7e6cd;color:#0b7a43;font-size:13px;font-weight:700;text-align:center}
