/* 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}
