/* SOS Transporta App v1.4.1 MAPS-STREET-RADIOBASE - UI tipo app + Leaflet/OSRM */
.sos-t-app{--bg:#07111f;--panel:#101d31;--panel2:#13243d;--txt:#f7fbff;--muted:#a9b9cc;--line:rgba(255,255,255,.12);--accent:#18e0c2;--accent2:#4da3ff;--danger:#ff6270;--warn:#ffcc66;--ok:#48e087;--radius:22px;box-sizing:border-box;width:100%;max-width:1280px;margin:24px auto;padding:20px;color:var(--txt);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.sos-t-app *{box-sizing:border-box}.sos-t-hero{position:relative;display:flex;gap:18px;align-items:center;margin-bottom:18px;padding:24px;border:1px solid var(--line);border-radius:28px;background:radial-gradient(circle at 10% 0%,rgba(24,224,194,.22),transparent 28%),linear-gradient(135deg,#07111f 0%,#0d213d 58%,#103e52 100%);box-shadow:0 20px 60px rgba(7,17,31,.24);overflow:hidden}.sos-t-hero:after{content:"";position:absolute;right:-80px;top:-80px;width:220px;height:220px;border-radius:50%;background:rgba(77,163,255,.16);filter:blur(3px)}.sos-t-hero-compact{justify-content:space-between}.sos-t-hero-icon{display:grid;place-items:center;flex:0 0 68px;width:68px;height:68px;border-radius:22px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.15);font-size:34px}.sos-t-kicker{display:block;margin-bottom:6px;color:var(--accent);font-weight:900;text-transform:uppercase;letter-spacing:.08em;font-size:11px}.sos-t-hero h2,.sos-t-panel h3{margin:0;color:#fff;line-height:1.08}.sos-t-hero h2{font-size:clamp(28px,4vw,50px)}.sos-t-hero p{max-width:840px;margin:8px 0 0;color:var(--muted);font-size:16px}.sos-t-grid{display:grid;gap:14px;margin:16px 0}.sos-t-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sos-t-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sos-t-kpi,.sos-t-panel{border:1px solid var(--line);background:linear-gradient(180deg,rgba(19,36,61,.96),rgba(11,21,36,.96));border-radius:var(--radius);box-shadow:0 14px 38px rgba(0,0,0,.18)}.sos-t-kpi{padding:18px}.sos-t-kpi span{display:block;color:var(--muted);font-size:13px}.sos-t-kpi strong{display:block;margin-top:7px;font-size:clamp(22px,3vw,34px);color:#fff}.sos-t-kpi small{display:block;margin-top:8px;color:#93a8bf}.sos-t-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:16px;margin-top:16px}.sos-t-layout-wide{grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr)}.sos-t-panel{padding:18px}.sos-t-panel-head{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:16px}.sos-t-panel h3{font-size:24px}.sos-t-actions{display:flex;gap:10px;align-items:center}.sos-t-actions-wrap{flex-wrap:wrap;margin:12px 0}.sos-t-btn,.sos-t-chip,.sos-t-mini-btn,.sos-t-driver-select,.sos-t-input{appearance:none;border:1px solid rgba(255,255,255,.16);border-radius:16px;background:rgba(255,255,255,.08);color:#fff;padding:12px 14px;font-weight:800;text-decoration:none;line-height:1.1}.sos-t-input{width:100%;margin:7px 0 12px;background:rgba(255,255,255,.06);font-weight:600}.sos-t-input::placeholder{color:#7f94aa}.sos-t-btn,.sos-t-chip,.sos-t-mini-btn{cursor:pointer;transition:transform .18s ease,background .18s ease,border-color .18s ease}.sos-t-btn:hover,.sos-t-chip:hover,.sos-t-mini-btn:hover{transform:translateY(-1px);border-color:rgba(24,224,194,.4);background:rgba(24,224,194,.11);color:#fff;text-decoration:none}.sos-t-btn-primary{background:linear-gradient(135deg,var(--accent),var(--accent2));border-color:transparent;color:#06111f}.sos-t-mini-btn{padding:9px 11px;font-size:12px;border-radius:12px}.sos-t-alert,.sos-t-empty,.sos-t-quote-box{padding:14px 16px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:rgba(255,255,255,.06);color:var(--muted);margin:12px 0}.sos-t-quote-box strong{display:block;color:#fff;font-size:18px}.sos-t-quote-box span{display:block;margin-top:6px}.sos-t-link{color:var(--accent);font-weight:900}.sos-t-input-row{display:grid;grid-template-columns:1fr auto;gap:10px}.sos-t-mini-help{margin:-6px 0 12px;color:var(--muted);font-size:12px}.sos-t-radio-row{display:flex;gap:10px;flex-wrap:wrap}.sos-t-radio-row label{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.05);cursor:pointer}.sos-t-place-results{display:grid;gap:8px;margin:-4px 0 12px}.sos-t-place-option{width:100%;text-align:left;border:1px solid var(--line);border-radius:15px;background:rgba(255,255,255,.06);color:#fff;padding:10px 12px;cursor:pointer}.sos-t-place-option small{display:block;color:var(--muted);margin-top:3px}.sos-t-trip-list,.sos-t-dispatch-list{display:grid;gap:10px}.sos-t-trip-card,.sos-t-dispatch-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:13px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.055)}.sos-t-trip-card h4{margin:3px 0;color:#fff}.sos-t-trip-card p,.sos-t-dispatch-row small{margin:0;color:var(--muted)}.sos-t-radar{position:relative;min-height:360px;border:1px solid rgba(24,224,194,.22);border-radius:22px;overflow:hidden;background:radial-gradient(circle at center,rgba(24,224,194,.16),rgba(7,17,31,1));isolation:isolate}.sos-t-radar-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px),radial-gradient(circle at center,transparent 0 18%,rgba(255,255,255,.07) 18.4% 18.8%,transparent 19.2% 36%,rgba(255,255,255,.06) 36.4% 36.8%,transparent 37.2%);background-size:40px 40px,40px 40px,100% 100%;opacity:.86}.sos-t-radar:before{content:"";position:absolute;left:50%;top:50%;width:2px;height:55%;transform-origin:bottom center;transform:translate(-50%,-100%) rotate(0deg);background:linear-gradient(to top,rgba(24,224,194,.75),transparent);animation:sosRadar 5s linear infinite;z-index:1}.sos-t-radar-empty{position:absolute;left:18px;right:18px;bottom:18px;padding:12px 14px;border-radius:16px;background:rgba(0,0,0,.24);color:var(--muted);z-index:3}.sos-t-marker{position:absolute;width:18px;height:18px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 8px rgba(24,224,194,.18),0 0 25px rgba(24,224,194,.9);z-index:4;transform:translate(-50%,-50%)}.sos-t-marker span{position:absolute;left:22px;top:-8px;white-space:nowrap;padding:6px 9px;border-radius:999px;background:rgba(0,0,0,.45);font-size:12px;color:#fff}.sos-t-radar-list{display:grid;gap:8px;margin-top:12px;color:var(--muted);font-size:13px}.sos-t-radar-list div{padding:9px 11px;border-radius:12px;background:rgba(255,255,255,.05)}.sos-t-ads{margin-top:16px}.sos-t-ad-track{display:grid;grid-template-columns:repeat(3,minmax(240px,1fr));gap:12px}.sos-t-ad-card{display:grid;grid-template-columns:86px 1fr;gap:12px;padding:12px;border:1px solid rgba(255,255,255,.12);border-radius:20px;background:linear-gradient(135deg,rgba(24,224,194,.12),rgba(77,163,255,.08));color:#fff;text-decoration:none}.sos-t-ad-card:hover{color:#fff;text-decoration:none;border-color:rgba(24,224,194,.45)}.sos-t-ad-image{display:grid;place-items:center;width:86px;height:86px;border-radius:16px;background:rgba(255,255,255,.08);overflow:hidden;font-size:32px}.sos-t-ad-image img{width:100%;height:100%;object-fit:cover}.sos-t-ad-card strong{display:block;font-size:17px}.sos-t-ad-card p{margin:5px 0;color:var(--muted);font-size:13px;line-height:1.35}.sos-t-ad-card small{color:#8fa7bf}.sos-t-admin-form label{display:block;margin:8px 0 2px;color:var(--muted);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.sos-t-feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.sos-t-features-panel{margin-top:16px}.sos-t-feature{position:relative;min-height:118px;padding:14px;border-radius:18px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.055);overflow:hidden}.sos-t-feature span{display:inline-grid;place-items:center;width:30px;height:30px;margin-bottom:10px;border-radius:10px;background:rgba(255,255,255,.08);color:var(--accent);font-weight:900;font-size:12px}.sos-t-feature strong{display:block;color:#fff;line-height:1.18}.sos-t-feature small{display:block;margin-top:8px;color:var(--muted);line-height:1.35}.sos-t-feature.is-active{border-color:rgba(24,224,194,.35);background:linear-gradient(180deg,rgba(24,224,194,.12),rgba(255,255,255,.05))}.sos-t-feature.is-active:after{content:"Activo";position:absolute;top:12px;right:12px;color:var(--ok);font-size:10px;font-weight:900;text-transform:uppercase}.sos-t-feature.is-planned:after{content:"Ruta";position:absolute;top:12px;right:12px;color:var(--warn);font-size:10px;font-weight:900;text-transform:uppercase}.sos-t-toast{position:fixed;right:18px;bottom:18px;max-width:360px;z-index:999999;padding:14px 16px;border-radius:18px;background:#07111f;color:#fff;border:1px solid rgba(255,255,255,.16);box-shadow:0 20px 60px rgba(0,0,0,.38);transform:translateY(16px);opacity:0;pointer-events:none;transition:.2s ease}.sos-t-toast.is-visible{transform:translateY(0);opacity:1}.sos-t-toast.is-error{border-color:rgba(255,98,112,.55)}@keyframes sosRadar{to{transform:translate(-50%,-100%) rotate(360deg)}}@media(max-width:980px){.sos-t-grid-4,.sos-t-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}.sos-t-layout,.sos-t-layout-wide{grid-template-columns:1fr}.sos-t-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sos-t-ad-track{grid-template-columns:1fr 1fr}.sos-t-hero-compact{align-items:flex-start;flex-direction:column}}@media(max-width:640px){.sos-t-app{padding:12px;margin:12px auto}.sos-t-hero{align-items:flex-start;flex-direction:column;padding:18px;border-radius:22px}.sos-t-grid-4,.sos-t-grid-3,.sos-t-feature-grid,.sos-t-ad-track{grid-template-columns:1fr}.sos-t-panel-head,.sos-t-trip-card,.sos-t-dispatch-row{align-items:flex-start;flex-direction:column}.sos-t-input-row{grid-template-columns:1fr}.sos-t-radar{min-height:300px}.sos-t-driver-select{width:100%}.sos-t-actions{width:100%;flex-direction:column;align-items:stretch}.sos-t-btn,.sos-t-chip{text-align:center}.sos-t-hero h2{font-size:30px}}

/* SOS Transporta V1.4.1 - Maps Street UX */
.sos-t-maps-mode{display:flex;flex-direction:column;gap:12px}.sos-t-map-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;background:linear-gradient(135deg,#07111f,#123151);color:#fff;border-radius:18px;padding:10px 12px;font-size:12px;font-weight:900;box-shadow:0 12px 30px rgba(2,20,42,.18)}.sos-t-leaflet-map{height:390px;min-height:320px;border-radius:24px;overflow:hidden;border:2px solid rgba(0,229,255,.55);background:#dbeafe;box-shadow:inset 0 0 0 1px rgba(255,255,255,.55),0 18px 45px rgba(12,33,63,.16);position:relative;z-index:1}.sos-t-leaflet-map .leaflet-container,.sos-t-leaflet-map .leaflet-pane{z-index:1}.sos-t-map-loading{display:flex;align-items:center;justify-content:center;height:100%;font-weight:900;color:#0f172a}.sos-t-map-hint{font-size:11px;font-weight:800;color:#475569;background:#f8fafc;border:1px dashed #bae6fd;border-radius:14px;padding:8px 12px}.sos-t-place-results{display:flex;flex-direction:column;gap:8px;max-height:220px;overflow:auto}.sos-t-place-option{text-align:left;border:1px solid rgba(14,165,233,.25);background:#fff;border-radius:16px;padding:10px 12px;cursor:pointer;transition:.2s;box-shadow:0 8px 20px rgba(15,23,42,.05)}.sos-t-place-option:hover{transform:translateY(-1px);border-color:#0ea5e9;box-shadow:0 12px 26px rgba(14,165,233,.14)}.sos-t-place-option strong{display:block;color:#0f172a;font-size:14px}.sos-t-place-option small{display:block;color:#64748b;margin-top:3px;font-size:11px;line-height:1.3}.sos-t-quote-box strong{font-size:28px}.sos-t-quote-box span{display:block}.sos-t-btn.is-loading{opacity:.75;cursor:wait}.sos-t-mini-btn.sos-t-map-reset{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.25)}
@media(max-width:780px){.sos-t-leaflet-map{height:330px;border-radius:18px}.sos-t-map-toolbar{align-items:flex-start;flex-direction:column}.sos-t-input-row{flex-direction:column}.sos-t-input-row .sos-t-btn{width:100%}}

/* SOS Transporta V1.4.2 - UX Simple 7 pasos */
.sos-t-client-simple .sos-t-hero p{max-width:760px}
.sos-t-simple-shell{margin-top:16px;padding:14px;border-radius:28px;background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.035));border:1px solid rgba(255,255,255,.12);box-shadow:0 24px 70px rgba(0,0,0,.18)}
.sos-t-simple-steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:14px}
.sos-t-simple-step{display:flex;align-items:center;justify-content:center;min-height:42px;padding:8px;border-radius:14px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);color:#93a8bf;font-size:12px;font-weight:950;text-align:center;line-height:1.05}
.sos-t-simple-step.is-active{background:linear-gradient(135deg,rgba(24,224,194,.22),rgba(77,163,255,.16));border-color:rgba(24,224,194,.38);color:#fff}
.sos-t-simple-step.is-current{box-shadow:0 0 0 3px rgba(24,224,194,.12)}
.sos-t-simple-form{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:16px;align-items:start}
.sos-t-simple-main{display:grid;gap:12px}
.sos-t-simple-card,.sos-t-simple-side{padding:16px;border-radius:24px;background:rgba(255,255,255,.065);border:1px solid rgba(255,255,255,.11)}
.sos-t-simple-card h3{font-size:clamp(22px,4vw,34px);margin:4px 0 8px;color:#fff;line-height:1.05}
.sos-t-simple-card p{color:#a8bdd2;margin:0 0 14px;font-size:15px;line-height:1.45}
.sos-t-big-action{width:100%;font-size:clamp(18px,3vw,24px);padding:18px 20px;border-radius:22px;justify-content:center;box-shadow:0 18px 40px rgba(24,224,194,.22)}
.sos-t-simple-search-row{grid-template-columns:1fr 120px;align-items:center}.sos-t-simple-search-row .sos-t-input{margin:0}.sos-t-simple-search-row .sos-t-btn{height:100%}
.sos-t-mini-route-map{height:300px;min-height:260px;border-radius:22px}
.sos-t-simple-side{position:sticky;top:16px;display:grid;gap:12px}
.sos-t-simple-quote{margin:0;background:linear-gradient(135deg,rgba(24,224,194,.14),rgba(77,163,255,.09));border-color:rgba(24,224,194,.28)}
.sos-t-simple-quote strong{font-size:clamp(28px,5vw,42px);line-height:1;color:#fff}.sos-t-simple-quote span{font-size:13px;color:#a8bdd2}
.sos-t-simple-summary{display:grid;gap:8px}.sos-t-simple-summary div{padding:11px 12px;border-radius:16px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.08)}
.sos-t-simple-summary span{display:block;color:#8fa7bf;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.sos-t-simple-summary strong{display:block;color:#fff;font-size:14px;line-height:1.25;margin-top:4px;word-break:break-word}
.sos-t-simple-label{font-size:11px;color:#8fa7bf;text-transform:uppercase;font-weight:950;letter-spacing:.06em;margin-bottom:-6px}.sos-t-pay-cards{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.sos-t-pay-cards label{cursor:pointer}.sos-t-pay-cards input{position:absolute;opacity:0;pointer-events:none}.sos-t-pay-cards span{display:flex;align-items:center;justify-content:center;min-height:52px;border-radius:17px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);font-weight:950;color:#fff;text-align:center}.sos-t-pay-cards input:checked+span{background:linear-gradient(135deg,var(--accent),var(--accent2));color:#06111f;border-color:transparent}
.sos-t-simple-actions{display:grid;grid-template-columns:.72fr 1.28fr;gap:10px;margin:0}.sos-t-simple-actions .sos-t-btn{width:100%;font-size:16px;padding:16px}.sos-t-create-trip:disabled{opacity:.45;cursor:not-allowed;filter:grayscale(.35)}.sos-t-safe-note{display:block;color:#8fa7bf;line-height:1.35}
.sos-t-client-secondary{margin-top:16px}.sos-t-client-secondary .sos-t-radar{min-height:260px}
@media(max-width:980px){.sos-t-simple-form{grid-template-columns:1fr}.sos-t-simple-side{position:static}.sos-t-simple-steps{grid-template-columns:repeat(4,minmax(0,1fr))}.sos-t-mini-route-map{height:280px}}
@media(max-width:640px){.sos-t-simple-shell{padding:10px;border-radius:22px}.sos-t-simple-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.sos-t-simple-step{min-height:36px;font-size:11px}.sos-t-simple-card,.sos-t-simple-side{border-radius:20px;padding:13px}.sos-t-simple-search-row{grid-template-columns:1fr}.sos-t-mini-route-map{height:240px;min-height:220px}.sos-t-pay-cards,.sos-t-simple-actions{grid-template-columns:1fr}.sos-t-simple-actions .sos-t-btn{font-size:15px}.sos-t-ad-card{grid-template-columns:70px 1fr}.sos-t-ad-image{width:70px;height:70px}}

.sos-t-requote{opacity:.82}
.sos-t-requote::before{content:"↻ ";}

/* SOS Transporta V1.4.6 - UX limpia para usuario final */
.sos-t-client-ultra{max-width:1180px;margin:8px auto;padding:10px}
.sos-t-client-ultra .sos-t-brandbar{display:flex;align-items:center;gap:10px;margin:0 0 8px;padding:10px 12px;border-radius:20px;background:linear-gradient(135deg,rgba(7,17,31,.94),rgba(13,33,61,.92));border:1px solid rgba(255,255,255,.12);box-shadow:0 14px 36px rgba(0,0,0,.16)}
.sos-t-brandmark{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:15px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.14);overflow:hidden;font-size:24px}.sos-t-brandmark img{width:100%;height:100%;object-fit:contain;padding:4px}.sos-t-brandbar strong{font-size:18px;line-height:1.1;color:#fff;letter-spacing:-.02em}
.sos-t-ultra-shell{margin-top:8px;padding:10px;border-radius:24px}.sos-t-ultra-form{gap:10px}.sos-t-ultra-main{gap:9px}.sos-t-client-ultra .sos-t-simple-card,.sos-t-client-ultra .sos-t-simple-side{padding:11px;border-radius:18px}.sos-t-location-card{padding:8px!important}.sos-t-client-ultra .sos-t-big-action{min-height:58px;padding:14px 16px;border-radius:18px;font-size:20px;letter-spacing:.02em}.sos-t-client-ultra .sos-t-mini-help{margin-top:6px;color:#8fa7bf;font-size:11px;line-height:1.25;text-align:center}.sos-t-destination-card label{display:block;margin:0 0 6px;color:#8fa7bf;font-size:11px;font-weight:950;letter-spacing:.08em}.sos-t-client-ultra .sos-t-input{min-height:48px}.sos-t-client-ultra .sos-t-simple-search-row .sos-t-btn{min-height:48px}.sos-t-map-card-clean{padding:8px!important}.sos-t-client-ultra .sos-t-map-toolbar{padding:8px 10px;border-radius:14px}.sos-t-client-ultra .sos-t-mini-route-map{height:260px;min-height:230px;border-radius:16px}.sos-t-ultra-side{gap:9px}.sos-t-client-ultra .sos-t-simple-quote{padding:13px}.sos-t-client-ultra .sos-t-simple-quote strong{font-size:34px}.sos-t-client-ultra .sos-t-simple-quote span{font-size:12px}.sos-t-summary-compact{grid-template-columns:1fr 1fr;gap:7px}.sos-t-summary-compact div{padding:8px 9px}.sos-t-summary-compact span{font-size:10px}.sos-t-summary-compact strong{font-size:12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.sos-t-service-compact{padding:8px 12px;min-height:44px!important}.sos-t-client-ultra .sos-t-pay-cards span{min-height:48px}.sos-t-client-ultra .sos-t-simple-actions{grid-template-columns:.55fr 1.45fr}.sos-t-client-ultra .sos-t-simple-actions .sos-t-btn{padding:13px 12px}.sos-t-client-ultra .sos-t-safe-note{font-size:11px}.sos-t-client-ultra .sos-t-ad-carousel{margin-top:10px}.sos-t-client-ultra .sos-t-client-secondary{margin-top:10px}
@media(max-width:980px){.sos-t-client-ultra .sos-t-simple-form{grid-template-columns:1fr}.sos-t-client-ultra .sos-t-simple-side{position:static}.sos-t-client-ultra .sos-t-simple-side{order:2}.sos-t-client-ultra .sos-t-simple-main{order:1}.sos-t-client-ultra .sos-t-mini-route-map{height:245px}}
@media(max-width:640px){.sos-t-client-ultra{margin:4px auto;padding:6px}.sos-t-client-ultra .sos-t-brandbar{margin-bottom:6px;padding:8px 10px;border-radius:17px}.sos-t-brandmark{flex-basis:36px;width:36px;height:36px;border-radius:13px;font-size:22px}.sos-t-brandbar strong{font-size:16px}.sos-t-ultra-shell{padding:7px;border-radius:18px}.sos-t-client-ultra .sos-t-simple-card,.sos-t-client-ultra .sos-t-simple-side{padding:8px;border-radius:16px}.sos-t-client-ultra .sos-t-big-action{min-height:54px;font-size:18px;padding:12px 14px}.sos-t-client-ultra .sos-t-mini-help{font-size:10px}.sos-t-client-ultra .sos-t-simple-search-row{grid-template-columns:1fr 82px}.sos-t-client-ultra .sos-t-simple-search-row .sos-t-btn{width:100%;font-size:13px;padding:10px}.sos-t-client-ultra .sos-t-input{font-size:14px;min-height:44px}.sos-t-client-ultra .sos-t-map-toolbar{font-size:11px}.sos-t-client-ultra .sos-t-mini-route-map{height:220px;min-height:200px}.sos-t-summary-compact{grid-template-columns:1fr 1fr}.sos-t-client-ultra .sos-t-simple-quote strong{font-size:30px}.sos-t-client-ultra .sos-t-pay-cards{grid-template-columns:1fr 1fr}.sos-t-client-ultra .sos-t-simple-actions{grid-template-columns:1fr}.sos-t-client-ultra .sos-t-requote{display:none}.sos-t-client-ultra .sos-t-create-trip{font-size:16px!important;min-height:52px}.sos-t-client-ultra .sos-t-ad-card{grid-template-columns:62px 1fr}.sos-t-client-ultra .sos-t-ad-image{width:62px;height:62px}}

/* SOS Transporta V1.4.7 - Radiobase viva + SOS */
.sos-t-live-map{height:420px;min-height:340px;border-radius:22px;overflow:hidden;border:1px solid rgba(24,224,194,.25);background:#07111f;position:relative}.sos-t-live-map .leaflet-container{font-family:inherit}.sos-t-map-legend{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0;color:#dbeafe;font-size:12px}.sos-t-map-legend span{padding:7px 9px;border-radius:999px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);font-weight:900}.sos-t-map-legend .is-driver{color:#18e0c2}.sos-t-map-legend .is-client{color:#4da3ff}.sos-t-map-legend .is-destination{color:#ffcc66}.sos-t-map-legend .is-panic{color:#ff6270}.sos-t-live-pin{background:transparent!important;border:none!important}.sos-t-live-pin span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;box-shadow:0 8px 18px rgba(0,0,0,.28),0 0 0 6px rgba(255,255,255,.22);font-size:17px}.sos-t-live-pin-panic span{animation:sosPulse 1s infinite;box-shadow:0 0 0 8px rgba(255,51,77,.22),0 0 30px rgba(255,51,77,.9)}.sos-t-btn-danger{background:linear-gradient(135deg,#ff334d,#ff8a00)!important;color:#fff!important;border-color:transparent!important;box-shadow:0 14px 35px rgba(255,51,77,.22)}.sos-t-client-sosbar{display:flex;justify-content:flex-end;margin:-2px 0 8px}.sos-t-client-sosbar .sos-t-panic{padding:9px 13px;border-radius:999px;font-size:12px}.sos-t-alert-list{display:grid;gap:10px}.sos-t-alert-row{padding:13px;border:1px solid rgba(255,98,112,.35);border-radius:17px;background:linear-gradient(135deg,rgba(255,98,112,.16),rgba(255,255,255,.045))}.sos-t-alert-row strong{display:block;color:#fff}.sos-t-alert-row small{display:block;color:#ffc6ce;margin-top:4px}.sos-t-alert-row p{margin:8px 0 0;color:#e8f3ff}.sos-t-trip-coords{display:block;margin-top:6px;color:#8fa7bf;font-size:11px;line-height:1.35}.sos-t-driver .sos-t-live-map,.sos-t-client-secondary .sos-t-live-map{height:330px;min-height:290px}@keyframes sosPulse{0%{transform:scale(1);filter:brightness(1)}50%{transform:scale(1.16);filter:brightness(1.4)}100%{transform:scale(1);filter:brightness(1)}}@media(max-width:640px){.sos-t-live-map{height:320px;min-height:280px;border-radius:18px}.sos-t-map-legend{font-size:11px}.sos-t-client-sosbar{justify-content:stretch}.sos-t-client-sosbar .sos-t-panic{width:100%;min-height:44px}.sos-t-driver .sos-t-live-map,.sos-t-client-secondary .sos-t-live-map{height:285px}}

/* SOS Transporta V1.4.8 - Administración modular y mapa selectivo */
.sos-t-admin-modular .sos-t-hero{margin-bottom:14px}.sos-t-admin-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0 18px}.sos-t-admin-nav-card{display:grid;gap:5px;padding:14px;border:1px solid rgba(255,255,255,.11);border-radius:20px;background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.035));color:#fff;text-decoration:none;min-height:112px}.sos-t-admin-nav-card:hover{color:#fff;text-decoration:none;border-color:rgba(24,224,194,.42);transform:translateY(-1px)}.sos-t-admin-nav-card.is-active{border-color:rgba(24,224,194,.58);background:linear-gradient(135deg,rgba(24,224,194,.16),rgba(77,163,255,.08))}.sos-t-admin-nav-card>span{font-size:26px}.sos-t-admin-nav-card strong{font-size:15px}.sos-t-admin-nav-card small{color:#9fb3c8;line-height:1.3}.sos-t-single-admin-panel{max-width:980px}.sos-t-dispatch-row-selectable{align-items:stretch}.sos-t-dispatch-row-selectable.is-selected{border-color:rgba(24,224,194,.62);background:linear-gradient(135deg,rgba(24,224,194,.14),rgba(77,163,255,.08))}.sos-t-dispatch-main{display:grid;gap:4px;min-width:0}.sos-t-dispatch-main strong{color:#fff}.sos-t-dispatch-main small{display:block;line-height:1.35}.sos-t-dispatch-actions{display:grid;grid-template-columns:110px minmax(190px,1fr);gap:8px;align-items:center;min-width:320px}.sos-t-selective-map{border-color:rgba(77,163,255,.35)}.sos-t-map-legend .is-heat{color:#ff6b35}.sos-t-heat-circle{stroke:#ff6b35;fill:#ff6b35}.sos-t-vehicle-status-list{display:grid;gap:10px}.sos-t-vehicle-status{padding:12px 13px;border-radius:16px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.055)}.sos-t-vehicle-status strong{display:block;color:#fff}.sos-t-vehicle-status small{display:block;color:#9fb3c8;margin-top:4px}.sos-t-vehicle-status.is-alert{border-color:rgba(255,51,77,.68);background:linear-gradient(135deg,rgba(255,51,77,.18),rgba(255,255,255,.045));animation:sosSoftBlink 1.2s infinite}.sos-t-alerts-screen .sos-t-alert-row{border-width:2px}.sos-t-map-empty{margin-top:10px}.sos-t-live-map.sos-t-selective-map+ .sos-t-map-legend + .sos-t-map-empty{display:block}@keyframes sosSoftBlink{0%,100%{filter:brightness(1)}50%{filter:brightness(1.28)}}
@media(max-width:1080px){.sos-t-admin-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.sos-t-dispatch-actions{min-width:0;grid-template-columns:1fr}.sos-t-dispatch-row-selectable{flex-direction:column}}
@media(max-width:640px){.sos-t-admin-nav{grid-template-columns:1fr}.sos-t-admin-nav-card{min-height:auto}.sos-t-dispatch-actions{width:100%}}

/* SOS Transporta V1.4.9 - UX contraste + login + navegación inferior */
.sos-t-app{padding-bottom:92px}.sos-t-admin-modular{color:#102033}.sos-t-admin-modular .sos-t-admin-nav-card{background:#ffffff!important;color:#13243d!important;border:1px solid rgba(16,32,51,.13)!important;box-shadow:0 12px 28px rgba(15,35,65,.08)!important}.sos-t-admin-modular .sos-t-admin-nav-card strong{color:#13243d!important}.sos-t-admin-modular .sos-t-admin-nav-card small{color:#51667d!important;font-weight:700}.sos-t-admin-modular .sos-t-admin-nav-card>span{filter:saturate(1.15);opacity:1}.sos-t-admin-modular .sos-t-admin-nav-card:hover,.sos-t-admin-modular .sos-t-admin-nav-card.is-active{background:linear-gradient(135deg,#e9fffb,#eef6ff)!important;border-color:#18e0c2!important;color:#07111f!important}.sos-t-admin-modular .sos-t-kicker{color:#18e0c2}.sos-t-admin-modular .sos-t-panel{color:#f7fbff}.sos-t-admin-modular .sos-t-panel h3,.sos-t-admin-modular .sos-t-panel strong{color:#fff}.sos-t-admin-modular .sos-t-panel small,.sos-t-admin-modular .sos-t-panel p{color:#a9b9cc}.sos-t-admin-modular .sos-t-input,.sos-t-admin-modular select.sos-t-input{background:#ffffff!important;color:#07111f!important;border-color:rgba(16,32,51,.28)!important}.sos-t-admin-modular .sos-t-admin-form label{color:#dbeafe!important}.sos-t-admin-modular .sos-t-hero{color:#fff}.sos-t-admin-modular .sos-t-hero p{color:#c7d8ea}.sos-t-alert-danger{border-color:rgba(255,98,112,.55)!important;background:rgba(255,98,112,.12)!important;color:#ffd8dd!important}.sos-t-login-app{max-width:560px;min-height:calc(100vh - 60px);display:grid;align-content:center;gap:14px}.sos-t-login-card{padding:24px;border-radius:28px;background:linear-gradient(180deg,#13243d,#07111f);border:1px solid rgba(255,255,255,.13);box-shadow:0 22px 70px rgba(0,0,0,.22)}.sos-t-login-card h2{margin:6px 0 8px;color:#fff;font-size:clamp(28px,5vw,42px);line-height:1.05}.sos-t-login-card p{margin:0 0 16px;color:#b8c8da;line-height:1.45}.sos-t-login-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:rgba(24,224,194,.12);border:1px solid rgba(24,224,194,.3);color:#18e0c2;font-weight:950;font-size:12px;letter-spacing:.08em}.sos-t-login-form{display:grid;gap:8px}.sos-t-login-form label{color:#dbeafe;font-weight:900;font-size:12px;letter-spacing:.05em;text-transform:uppercase}.sos-t-login-form .sos-t-input{margin:0 0 8px;background:#fff!important;color:#07111f!important;border-color:rgba(255,255,255,.22)!important;min-height:50px}.sos-t-remember{display:flex!important;align-items:center;gap:9px;text-transform:none!important;letter-spacing:0!important;color:#c7d8ea!important}.sos-t-login-submit{min-height:54px;font-size:18px;text-transform:uppercase}.sos-t-login-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.sos-t-login-meta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:14px;color:#91a8bf;font-size:12px}.sos-t-login-meta a{color:#18e0c2;font-weight:900}.sos-t-bottom-nav{position:fixed;left:50%;bottom:12px;z-index:99999;transform:translateX(-50%);display:grid;grid-template-columns:repeat(var(--sos-nav-count,5),minmax(0,1fr));gap:6px;width:min(760px,calc(100vw - 18px));padding:8px;border-radius:24px;background:rgba(7,17,31,.94);border:1px solid rgba(255,255,255,.13);box-shadow:0 18px 55px rgba(0,0,0,.32);backdrop-filter:blur(14px)}.sos-t-bottom-nav a{display:grid;place-items:center;gap:2px;min-height:54px;padding:7px 4px;border-radius:17px;color:#dbeafe!important;text-decoration:none!important;font-size:11px;font-weight:900}.sos-t-bottom-nav a:hover{background:rgba(24,224,194,.13);color:#fff!important}.sos-t-bottom-nav span{font-size:21px;line-height:1}.sos-t-bottom-nav strong{font-size:11px;line-height:1;color:inherit!important}.sos-t-users-list{display:grid;gap:10px}.sos-t-user-role-row{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(180px,.7fr) auto;gap:10px;align-items:center;padding:13px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:rgba(255,255,255,.055)}.sos-t-user-role-row strong{display:block;color:#fff}.sos-t-user-role-row small{display:block;margin-top:4px;color:#a9b9cc}.sos-t-user-role-row .sos-t-input{margin:0}.sos-t-brandbar{color:#fff}.sos-t-client-secondary{scroll-margin-top:80px}.sos-t-panel#historial,.sos-t-panel#tracking{scroll-margin-top:80px}@media(max-width:782px){.sos-t-admin-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.sos-t-user-role-row{grid-template-columns:1fr}.sos-t-login-app{min-height:auto;margin:10px auto}.sos-t-login-actions{grid-template-columns:1fr}.sos-t-bottom-nav{bottom:8px;border-radius:20px}.sos-t-bottom-nav a{min-height:50px}.sos-t-bottom-nav strong{font-size:10px}}@media(max-width:420px){.sos-t-admin-nav{grid-template-columns:1fr}.sos-t-bottom-nav{gap:4px;padding:6px}.sos-t-bottom-nav span{font-size:19px}.sos-t-bottom-nav strong{font-size:9.5px}.sos-t-login-card{padding:18px;border-radius:22px}}

/* === V1.5.0 CONTROL OPERATIVO: filtros, roles CTO y listas grandes === */
.sos-t-filter-panel{margin:18px 0;padding:18px;border-radius:24px;background:#ffffff;color:#132033;border:1px solid rgba(15,23,42,.10);box-shadow:0 18px 45px rgba(15,23,42,.08)}
.sos-t-trip-filters label,.sos-t-token-form label{display:flex;flex-direction:column;gap:6px;font-weight:800;color:#132033;font-size:12px;text-transform:uppercase;letter-spacing:.05em}
.sos-t-filter-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px;color:#132033}
.sos-t-filter-actions label{flex-direction:row;align-items:center;text-transform:none;font-size:13px;letter-spacing:0}
.sos-t-filter-count{margin-left:auto;font-weight:900;color:#0f766e;background:#ecfeff;border:1px solid #99f6e4;border-radius:999px;padding:8px 12px}
.sos-t-delete-token-box{margin-top:14px;padding:14px;border-radius:18px;background:#fff7ed;border:1px solid #fed7aa;color:#7c2d12;display:grid;gap:8px}
.sos-t-delete-token-box strong{color:#9a3412;font-size:14px;text-transform:uppercase;letter-spacing:.04em}
.sos-t-token-form{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;align-items:end}
.sos-t-bulk-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:12px;padding:10px;border-radius:16px;background:#f8fafc;border:1px solid #e2e8f0;color:#0f172a}
.sos-t-trip-check{display:flex;align-items:center;justify-content:center;min-width:32px}
.sos-t-danger{background:#991b1b!important;color:#fff!important;border-color:#7f1d1d!important}
.sos-t-delete-token-input{max-width:220px}
.sos-t-pagination{display:flex;gap:6px;flex-wrap:wrap;margin-top:14px}
.sos-t-pagination a{min-width:34px;text-align:center;border-radius:12px;padding:8px 10px;border:1px solid #cbd5e1;color:#0f172a;background:#fff;text-decoration:none;font-weight:800}
.sos-t-pagination a.is-active{background:#0f766e;color:#fff;border-color:#0f766e}
.sos-t-admin-table-wrap{overflow:auto;max-width:100%}
.sos-t-admin-table{width:100%;border-collapse:separate;border-spacing:0 8px;color:#132033}
.sos-t-admin-table th{text-align:left;font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:#475569;padding:8px}
.sos-t-admin-table td{background:#f8fafc;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;padding:10px;vertical-align:top}
.sos-t-admin-table td:first-child{border-left:1px solid #e2e8f0;border-radius:14px 0 0 14px}
.sos-t-admin-table td:last-child{border-right:1px solid #e2e8f0;border-radius:0 14px 14px 0}
.sos-t-driver-table .sos-t-input{margin-bottom:7px;min-width:180px}
.sos-t-inline-role-form{display:flex;gap:8px;align-items:center}
.sos-t-fleet-filters{display:grid;grid-template-columns:1fr 180px;gap:10px;margin-bottom:14px;color:#132033}
.sos-t-fleet-filters .sos-t-safe-note{grid-column:1/-1;color:#475569}
.sos-t-vehicle-status[style*="display: none"]{display:none!important}
.sos-t-dispatch-row{grid-template-columns:auto 1fr auto}
.sos-t-dispatch-main small{display:block;margin-top:4px;color:#475569;font-weight:600}
@media(max-width:780px){.sos-t-token-form,.sos-t-fleet-filters{grid-template-columns:1fr}.sos-t-filter-count{margin-left:0}.sos-t-dispatch-row{grid-template-columns:1fr}.sos-t-trip-check{justify-content:flex-start}.sos-t-admin-table{min-width:760px}}

/* === V1.5.1 CENTRO TI: diagnóstico, logs y purga segura === */
.sos-t-it-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:18px;margin-top:18px}.sos-t-it-layout{margin-top:18px}.sos-t-it-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sos-t-it-kpi{padding:14px;border-radius:18px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);display:grid;gap:4px}.sos-t-it-kpi span{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#a9b9cc;font-weight:950}.sos-t-it-kpi strong{font-size:20px;color:#fff}.sos-t-it-kpi small{color:#a9b9cc}.sos-t-it-kpi.is-ok{border-color:rgba(24,224,194,.45);background:linear-gradient(135deg,rgba(24,224,194,.18),rgba(255,255,255,.055))}.sos-t-it-kpi.is-bad{border-color:rgba(255,98,112,.65);background:rgba(255,98,112,.13)}.sos-t-it-last{margin-top:12px;color:#c7d8ea!important}.sos-t-it-warning{padding:13px 14px;border-radius:16px;margin-bottom:12px}.sos-t-it-warning code{background:rgba(255,255,255,.12);padding:2px 6px;border-radius:7px;color:#fff}.sos-t-it-purge-form{display:grid;gap:9px}.sos-t-it-purge-form label{color:#dbeafe;font-weight:950;font-size:12px;text-transform:uppercase;letter-spacing:.06em}.sos-t-it-ok{display:inline-block;padding:5px 8px;border-radius:999px;background:#dcfce7;color:#166534;font-weight:950}.sos-t-it-bad{display:inline-block;padding:5px 8px;border-radius:999px;background:#fee2e2;color:#991b1b;font-weight:950}.sos-t-it-table code{font-size:12px;color:#0f172a;background:#e2e8f0;border-radius:7px;padding:2px 5px}.sos-t-it-table small{color:#475569!important}.sos-t-it-log-list{display:grid;gap:8px;max-height:330px;overflow:auto;padding-right:4px}.sos-t-it-log-list div{padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.10)}.sos-t-it-log-list strong{display:block;color:#fff}.sos-t-it-log-list small{display:block;margin-top:3px;color:#a9b9cc}.sos-t-debug-log{max-height:430px;overflow:auto;padding:14px;border-radius:16px;background:#020617;color:#dbeafe;border:1px solid rgba(255,255,255,.12);font-size:12px;line-height:1.45;white-space:pre-wrap}.sos-t-it-panel h4{color:#fff;margin:18px 0 10px}.sos-t-btn-danger{background:#991b1b!important;color:#fff!important;border-color:#7f1d1d!important}.sos-t-admin-nav-card[href*="sos-transporta-ti"].is-active{background:linear-gradient(135deg,#fff7ed,#fee2e2)!important;border-color:#fb7185!important}
@media(max-width:980px){.sos-t-it-grid{grid-template-columns:1fr}.sos-t-it-kpis{grid-template-columns:1fr}.sos-t-debug-log{max-height:300px}}


/* === V1.5.3 PRO DASHBOARD: UI/UX, KPIs, seguridad y papelera === */
.sos-t-exec-summary{margin-top:18px;background:linear-gradient(180deg,#ffffff,#f8fafc)!important;color:#132033!important;border-color:#dbeafe!important}.sos-t-exec-summary h3,.sos-t-exec-summary strong{color:#0f172a!important}.sos-t-exec-summary .sos-t-kicker{color:#0f766e!important}.sos-t-status-strip{display:flex;gap:8px;flex-wrap:wrap}.sos-t-status-chip{display:inline-flex;gap:6px;align-items:center;padding:8px 10px;border-radius:999px;background:#eef2ff;color:#1e293b;font-size:12px;font-weight:900}.sos-t-status-chip.status-requested,.sos-t-status-tile.status-requested{background:#dbeafe;color:#1e3a8a}.sos-t-status-chip.status-assigned,.sos-t-status-tile.status-assigned{background:#ede9fe;color:#5b21b6}.sos-t-status-chip.status-driver_on_way,.sos-t-status-tile.status-driver_on_way{background:#ffedd5;color:#9a3412}.sos-t-status-chip.status-in_progress,.sos-t-status-tile.status-in_progress{background:#dcfce7;color:#166534}.sos-t-status-chip.status-finished,.sos-t-status-tile.status-finished{background:#e2e8f0;color:#334155}.sos-t-status-chip.status-cancelled,.sos-t-status-tile.status-cancelled{background:#fee2e2;color:#991b1b}.sos-t-status-chip.status-incident,.sos-t-status-tile.status-incident{background:#fecaca;color:#7f1d1d}.sos-t-status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.sos-t-status-tile{padding:14px;border-radius:18px;background:#f8fafc;border:1px solid #e2e8f0;color:#132033}.sos-t-status-tile span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.06em;font-weight:950}.sos-t-status-tile strong{display:block;margin-top:6px;font-size:26px;color:inherit!important}.sos-t-kpi{position:relative;overflow:hidden}.sos-t-kpi:after{content:"";position:absolute;right:-32px;top:-32px;width:88px;height:88px;border-radius:50%;background:rgba(24,224,194,.08)}.sos-t-dispatch-row[data-trip-id]{border-left:5px solid rgba(24,224,194,.65)}.sos-t-dispatch-row .sos-t-driver-select{background:#fff!important;color:#0f172a!important}.sos-t-admin-nav-card{min-height:118px}.sos-t-admin-nav-card strong{font-size:15px}.sos-t-admin-nav-card[href*="sos-transporta-kpis"].is-active{background:linear-gradient(135deg,#ecfeff,#eff6ff)!important;border-color:#22d3ee!important}.sos-t-admin-nav-card[href*="sos-transporta-papelera"].is-active{background:linear-gradient(135deg,#fff7ed,#ffedd5)!important;border-color:#fb923c!important}.sos-t-app .sos-t-btn:focus,.sos-t-app .sos-t-mini-btn:focus,.sos-t-app .sos-t-input:focus{outline:3px solid rgba(24,224,194,.32);outline-offset:2px}.sos-t-safe-note{line-height:1.45}.sos-t-debug-clear-form{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.sos-t-debug-clear-form .sos-t-input{max-width:240px;margin:0}.sos-t-admin-modular .sos-t-empty{background:#fff;color:#334155;border-color:#e2e8f0}.sos-t-admin-modular .sos-t-filter-panel .sos-t-empty{background:#f8fafc}.sos-t-admin-modular .sos-t-panel .sos-t-kpi small{color:#93a8bf!important}.sos-t-admin-modular .sos-t-status-grid + .sos-t-status-grid{margin-top:12px}@media(max-width:980px){.sos-t-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.sos-t-status-grid{grid-template-columns:1fr}.sos-t-status-strip{display:grid}.sos-t-status-chip{justify-content:space-between}.sos-t-admin-nav-card{min-height:auto}.sos-t-debug-clear-form .sos-t-input{max-width:none;width:100%}}

/* === SOS Transporta V1.5.4: modo app, anuncios full y navegación externa === */
.sos-t-app-shell,
.sos-t-client,
.sos-t-driver {
  max-width: 980px;
  margin: 0 auto;
  min-height: 100dvh;
  padding-bottom: 88px;
}
.sos-t-app a { text-decoration: none; }
.sos-t-ads-app .sos-t-ad-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}
.sos-t-ad-card-app {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 118px;
}
.sos-t-ad-card-app .sos-t-ad-image {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, #fee2e2, #e0f2fe);
  display: grid;
  place-items: center;
}
.sos-t-ad-card-app .sos-t-ad-image img { width: 100%; height: 100%; object-fit: cover; }
.sos-t-ad-card-app strong { color: #0f172a; font-size: 15px; }
.sos-t-ad-card-app p { margin: 4px 0; color: #475569; font-size: 13px; line-height: 1.35; }
.sos-t-ad-card-app small { color: #64748b; }
.sos-t-ad-detail {
  overflow: hidden;
  padding: 0 !important;
  min-height: calc(100dvh - 98px);
  display: flex;
  flex-direction: column;
}
.sos-t-ad-detail-hero {
  min-height: 46dvh;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.sos-t-ad-detail-hero img { width: 100%; height: 100%; min-height: 46dvh; object-fit: cover; display: block; }
.sos-t-ad-detail-placeholder { font-size: 90px; color: #fff; }
.sos-t-ad-detail-body {
  padding: 22px;
  background: #fff;
  color: #0f172a;
  border-radius: 28px 28px 0 0;
  margin-top: -24px;
  position: relative;
  z-index: 2;
  box-shadow: 0 -18px 50px rgba(15, 23, 42, .16);
  flex: 1;
}
.sos-t-ad-detail-body h2 { margin: 8px 0 10px; color: #0f172a; font-size: clamp(24px, 5vw, 40px); line-height: 1.05; }
.sos-t-ad-detail-body p { color: #334155; font-size: 16px; line-height: 1.55; }
.sos-t-ad-detail-stats { color: #64748b; font-size: 13px; margin: 12px 0 18px; }
.sos-t-ad-detail-cta { flex: 1; justify-content: center; }
.sos-t-nav-external { background: #0ea5e9 !important; color: #fff !important; border-color: #0284c7 !important; }
@media (display-mode: standalone) {
  body { overscroll-behavior-y: contain; background: #f8fafc; }
  .sos-t-app { min-height: 100dvh; }
}
@media (max-width: 680px) {
  body:has(.sos-t-app) { margin: 0; }
  .sos-t-app-shell,
  .sos-t-client,
  .sos-t-driver { width: 100%; max-width: 100%; padding-left: 10px; padding-right: 10px; }
  .sos-t-ad-card-app { grid-template-columns: 82px 1fr; }
  .sos-t-ad-card-app .sos-t-ad-image { width: 82px; height: 82px; border-radius: 18px; }
  .sos-t-ad-detail { margin: -10px; border-radius: 0 !important; min-height: 100dvh; }
  .sos-t-ad-detail-hero, .sos-t-ad-detail-hero img { min-height: 48dvh; }
  .sos-t-ad-detail-body { padding: 20px 16px 96px; }
  .sos-t-bottom-nav { position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 9999; }
}


/* === SOS Transporta V1.5.5: corrección PWA, fullscreen, anuncios y dashboard tipo app === */
html, body { max-width: 100%; overflow-x: hidden; }
.sos-t-app, .sos-t-app * { max-width: 100%; }
.sos-t-pwa-screen,
.sos-t-client,
.sos-t-driver,
.sos-t-ads-only,
.sos-t-login-app {
  width: min(100%, 1280px) !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  overflow-x: hidden !important;
}
.sos-t-app-shell { min-height: calc(100dvh - 24px); }
.sos-t-app:fullscreen,
.sos-t-app:-webkit-full-screen {
  width: 100vw !important;
  max-width: none !important;
  height: 100vh !important;
  min-height: 100vh !important;
  margin: 0 !important;
  padding: 12px 12px 98px !important;
  border-radius: 0 !important;
  overflow-y: auto !important;
  background: #07111f !important;
}
html.sos-transporta-fullscreen #wpadminbar,
html.sos-transporta-fullscreen header,
html.sos-transporta-fullscreen footer,
html.sos-transporta-fullscreen .site-header,
html.sos-transporta-fullscreen .site-footer,
html.sos-transporta-fullscreen #socket,
html.sos-transporta-fullscreen #scroll-top-link { display: none !important; }
.sos-t-app-topbar,
.sos-t-brandbar {
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:10px 12px; margin:0 0 10px; border-radius:22px;
  background:rgba(7,17,31,.92); border:1px solid rgba(255,255,255,.12);
  box-shadow:0 10px 32px rgba(0,0,0,.22); position:sticky; top:8px; z-index:50;
}
.sos-t-brand-left{display:flex;align-items:center;gap:10px;min-width:0}.sos-t-brandmark{width:42px;height:42px;border-radius:15px;display:grid;place-items:center;overflow:hidden;background:linear-gradient(135deg,#18e0c2,#4da3ff);flex:0 0 auto}.sos-t-brandmark img{width:100%;height:100%;object-fit:cover}.sos-t-brandbar strong{color:#fff!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sos-t-hero-command{align-items:center;justify-content:space-between}.sos-t-hero-left{display:flex;align-items:center;gap:18px;min-width:0}.sos-t-shell-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.sos-t-shell-tools .sos-t-mini-btn{background:rgba(255,255,255,.12);color:#fff!important;border-color:rgba(255,255,255,.22)}
.sos-t-admin-modular .sos-t-hero{background:linear-gradient(135deg,#0f172a,#075985 58%,#0e7490);box-shadow:0 18px 48px rgba(15,23,42,.18)}
.sos-t-admin-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}.sos-t-admin-nav-card{min-height:138px;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:8px;text-decoration:none!important;border-radius:24px!important;padding:18px!important;background:#fff!important;color:#0f172a!important;border:1px solid rgba(15,23,42,.10)!important;box-shadow:0 12px 30px rgba(15,23,42,.08)!important;transition:.18s ease!important}.sos-t-admin-nav-card:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(15,23,42,.13)!important}.sos-t-admin-nav-card>span{font-size:30px!important}.sos-t-admin-nav-card strong{font-size:18px!important;color:#0f172a!important}.sos-t-admin-nav-card small{color:#64748b!important;font-weight:800!important;line-height:1.35!important}.sos-t-admin-nav-card.is-active{background:linear-gradient(135deg,#ecfeff,#eff6ff)!important;border-color:#06b6d4!important}
.sos-t-ads-only .sos-t-panel{margin-bottom:12px}.sos-t-ads-app{background:linear-gradient(180deg,rgba(19,36,61,.96),rgba(11,21,36,.96));overflow:hidden}.sos-t-ads-app .sos-t-panel-head{margin-bottom:12px}.sos-t-ad-track{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))!important;gap:12px!important;width:100%!important;overflow:visible!important}.sos-t-ad-card-app{grid-template-columns:110px minmax(0,1fr)!important;min-width:0!important;width:100%!important;overflow:hidden!important;align-items:center!important}.sos-t-ad-card-app .sos-t-ad-image{width:110px!important;height:92px!important;border-radius:18px!important}.sos-t-ad-card-app strong,.sos-t-ad-card-app p,.sos-t-ad-card-app small{overflow:hidden;text-overflow:ellipsis}.sos-t-ad-card-app p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.sos-t-ad-detail{padding:0!important;overflow:hidden!important;display:grid!important;grid-template-rows:minmax(42dvh, 48dvh) auto!important;min-height:calc(100dvh - 120px);border-radius:28px!important}.sos-t-ad-detail-hero{min-height:42dvh;background:#020617;display:grid;place-items:center;overflow:hidden}.sos-t-ad-detail-hero img{width:100%;height:100%;object-fit:cover}.sos-t-ad-detail-placeholder{font-size:92px}.sos-t-ad-detail-body{padding:18px;display:grid;gap:10px;background:linear-gradient(180deg,#13243d,#07111f)}.sos-t-ad-detail-body h2{margin:0;color:#fff;font-size:clamp(26px,7vw,48px);line-height:.98}.sos-t-ad-detail-body p{margin:0;color:#dbeafe;font-size:16px;line-height:1.45}.sos-t-ad-detail-stats{color:#9fb3c8;font-weight:850}.sos-t-ad-detail .sos-t-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.sos-t-ad-detail .sos-t-btn{text-align:center;display:grid;place-items:center;min-height:48px;white-space:normal}.sos-t-bottom-nav{max-width:760px!important}.sos-t-bottom-nav a{min-width:0!important}
body.sos-t-skin-light .sos-t-app{--bg:#f8fafc;--panel:#ffffff;--panel2:#eff6ff;--txt:#0f172a;--muted:#475569;--line:rgba(15,23,42,.12);color:#0f172a}body.sos-t-skin-light .sos-t-panel,body.sos-t-skin-light .sos-t-kpi{background:#fff!important;color:#0f172a!important;border-color:rgba(15,23,42,.12)!important}body.sos-t-skin-light .sos-t-panel h3,body.sos-t-skin-light .sos-t-panel strong,body.sos-t-skin-light .sos-t-kpi strong{color:#0f172a!important}body.sos-t-skin-light .sos-t-panel p,body.sos-t-skin-light .sos-t-panel small{color:#64748b!important}body.sos-t-skin-ocean .sos-t-hero{background:linear-gradient(135deg,#075985,#0891b2,#14b8a6)!important}
@media(max-width:980px){.sos-t-admin-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.sos-t-hero-command,.sos-t-hero-left{align-items:flex-start;flex-direction:column}.sos-t-shell-tools{justify-content:flex-start;width:100%}}
@media(max-width:640px){
  .sos-t-app{width:100%!important;max-width:100%!important;margin:0!important;padding:10px 10px 92px!important;border-radius:0!important;}
  .sos-t-pwa-screen,.sos-t-client,.sos-t-driver,.sos-t-ads-only,.sos-t-login-app{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;}
  .sos-t-bottom-nav{left:8px!important;right:8px!important;bottom:8px!important;width:auto!important;max-width:none!important;transform:none!important;grid-template-columns:repeat(var(--sos-nav-count,5),minmax(0,1fr))!important;}
  .sos-t-bottom-nav a{min-height:50px!important;padding:6px 3px!important}.sos-t-bottom-nav strong{font-size:9.5px!important}.sos-t-bottom-nav span{font-size:18px!important}
  .sos-t-admin-nav{grid-template-columns:1fr!important}.sos-t-admin-nav-card{min-height:auto!important}.sos-t-ad-card-app{grid-template-columns:96px minmax(0,1fr)!important}.sos-t-ad-card-app .sos-t-ad-image{width:96px!important;height:82px!important}.sos-t-ad-detail{grid-template-rows:minmax(40dvh,46dvh) auto!important;border-radius:0!important;min-height:calc(100dvh - 90px)}.sos-t-ad-detail .sos-t-actions{grid-template-columns:1fr!important}.sos-t-app-topbar{top:0;border-radius:0 0 18px 18px;margin-left:-10px;margin-right:-10px}.sos-t-shell-tools .sos-t-mini-btn{flex:1 1 auto}
}

/* === V1.5.6 FULLSCREEN REAL + SKIN FIX === */
html.sos-transporta-kiosk,
body.sos-transporta-kiosk,
html.sos-transporta-fullscreen,
body.sos-transporta-fullscreen{
  margin:0!important;
  padding:0!important;
  width:100%!important;
  min-height:100%!important;
  background:#020617!important;
  overflow:hidden!important;
}
body.sos-transporta-kiosk #wpadminbar,
body.sos-transporta-kiosk #adminmenumain,
body.sos-transporta-kiosk #adminmenuback,
body.sos-transporta-kiosk #adminmenuwrap,
body.sos-transporta-kiosk #adminmenu,
body.sos-transporta-kiosk #wpfooter,
body.sos-transporta-kiosk .update-nag,
body.sos-transporta-kiosk .notice,
body.sos-transporta-kiosk .notice-error,
body.sos-transporta-kiosk .notice-warning,
body.sos-transporta-kiosk #screen-meta-links,
html.sos-transporta-fullscreen #wpadminbar,
html.sos-transporta-fullscreen #adminmenumain,
html.sos-transporta-fullscreen #adminmenuback,
html.sos-transporta-fullscreen #adminmenuwrap,
html.sos-transporta-fullscreen #adminmenu,
html.sos-transporta-fullscreen #wpfooter,
html.sos-transporta-fullscreen .update-nag,
html.sos-transporta-fullscreen .notice,
html.sos-transporta-fullscreen .notice-error,
html.sos-transporta-fullscreen .notice-warning,
html.sos-transporta-fullscreen #screen-meta-links,
html.sos-transporta-fullscreen header,
html.sos-transporta-fullscreen footer,
html.sos-transporta-fullscreen .site-header,
html.sos-transporta-fullscreen .site-footer,
html.sos-transporta-fullscreen #header,
html.sos-transporta-fullscreen #footer,
html.sos-transporta-fullscreen #socket,
html.sos-transporta-fullscreen #scroll-top-link,
body.sos-transporta-kiosk header,
body.sos-transporta-kiosk footer,
body.sos-transporta-kiosk .site-header,
body.sos-transporta-kiosk .site-footer,
body.sos-transporta-kiosk #header,
body.sos-transporta-kiosk #footer,
body.sos-transporta-kiosk #socket,
body.sos-transporta-kiosk #scroll-top-link{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}
body.sos-transporta-kiosk #wpcontent,
body.sos-transporta-kiosk #wpbody,
body.sos-transporta-kiosk #wpbody-content,
html.sos-transporta-fullscreen #wpcontent,
html.sos-transporta-fullscreen #wpbody,
html.sos-transporta-fullscreen #wpbody-content{
  margin:0!important;
  padding:0!important;
  left:0!important;
  top:0!important;
  width:100%!important;
}
body.sos-transporta-kiosk #wpbody-content > .wrap,
html.sos-transporta-fullscreen #wpbody-content > .wrap{
  margin:0!important;
  padding:0!important;
  max-width:none!important;
  width:100%!important;
}
body.sos-transporta-kiosk .sos-t-app,
html.sos-transporta-fullscreen .sos-t-app,
.sos-t-app:fullscreen,
.sos-t-app:-webkit-full-screen{
  position:fixed!important;
  inset:0!important;
  width:100dvw!important;
  max-width:none!important;
  height:100dvh!important;
  max-height:100dvh!important;
  margin:0!important;
  padding:12px 12px 96px!important;
  border-radius:0!important;
  overflow:auto!important;
  z-index:2147483647!important;
  overscroll-behavior:contain!important;
}
body.sos-transporta-kiosk .sos-t-admin-modular,
html.sos-transporta-fullscreen .sos-t-admin-modular{
  padding:18px 18px 110px!important;
}
body.sos-transporta-kiosk .sos-t-bottom-nav,
html.sos-transporta-fullscreen .sos-t-bottom-nav{
  left:10px!important;
  right:10px!important;
  bottom:10px!important;
  width:auto!important;
  max-width:none!important;
  transform:none!important;
}
body.sos-transporta-kiosk .sos-t-app-topbar,
html.sos-transporta-fullscreen .sos-t-app-topbar{
  position:sticky!important;
  top:0!important;
  z-index:2147483646!important;
}
body.sos-transporta-kiosk .sos-t-fullscreen-toggle::after,
html.sos-transporta-fullscreen .sos-t-fullscreen-toggle::after{
  content:" Salir";
}

/* Pieles globales persistentes */
html.sos-t-skin-light body,
body.sos-t-skin-light{background:#f8fafc!important;color:#0f172a!important;}
html.sos-t-skin-light .sos-t-app,
body.sos-t-skin-light .sos-t-app,
.sos-t-app.sos-t-skin-light{
  --bg:#f8fafc;--panel:#ffffff;--panel2:#eef6ff;--txt:#0f172a;--muted:#475569;--line:rgba(15,23,42,.14);--accent:#0ea5e9;--accent2:#14b8a6;
  background:#f8fafc!important;color:#0f172a!important;
}
html.sos-t-skin-light .sos-t-panel,
html.sos-t-skin-light .sos-t-kpi,
html.sos-t-skin-light .sos-t-login-card,
html.sos-t-skin-light .sos-t-ad-card,
body.sos-t-skin-light .sos-t-panel,
body.sos-t-skin-light .sos-t-kpi,
body.sos-t-skin-light .sos-t-login-card,
body.sos-t-skin-light .sos-t-ad-card,
.sos-t-app.sos-t-skin-light .sos-t-panel,
.sos-t-app.sos-t-skin-light .sos-t-kpi,
.sos-t-app.sos-t-skin-light .sos-t-login-card,
.sos-t-app.sos-t-skin-light .sos-t-ad-card{
  background:#ffffff!important;color:#0f172a!important;border-color:rgba(15,23,42,.14)!important;box-shadow:0 16px 38px rgba(15,23,42,.08)!important;
}
html.sos-t-skin-light .sos-t-hero,
body.sos-t-skin-light .sos-t-hero,
.sos-t-app.sos-t-skin-light .sos-t-hero{
  background:linear-gradient(135deg,#ffffff,#ecfeff 52%,#e0f2fe)!important;color:#0f172a!important;border-color:rgba(14,165,233,.25)!important;
}
html.sos-t-skin-light .sos-t-hero h2,
html.sos-t-skin-light .sos-t-panel h3,
html.sos-t-skin-light .sos-t-panel strong,
html.sos-t-skin-light .sos-t-kpi strong,
html.sos-t-skin-light .sos-t-ad-card strong,
body.sos-t-skin-light .sos-t-hero h2,
body.sos-t-skin-light .sos-t-panel h3,
body.sos-t-skin-light .sos-t-panel strong,
body.sos-t-skin-light .sos-t-kpi strong,
body.sos-t-skin-light .sos-t-ad-card strong,
.sos-t-app.sos-t-skin-light .sos-t-hero h2,
.sos-t-app.sos-t-skin-light .sos-t-panel h3,
.sos-t-app.sos-t-skin-light .sos-t-panel strong,
.sos-t-app.sos-t-skin-light .sos-t-kpi strong,
.sos-t-app.sos-t-skin-light .sos-t-ad-card strong{color:#0f172a!important;}
html.sos-t-skin-light .sos-t-hero p,
html.sos-t-skin-light .sos-t-panel p,
html.sos-t-skin-light .sos-t-panel small,
html.sos-t-skin-light .sos-t-ad-card p,
html.sos-t-skin-light .sos-t-ad-card small,
body.sos-t-skin-light .sos-t-hero p,
body.sos-t-skin-light .sos-t-panel p,
body.sos-t-skin-light .sos-t-panel small,
body.sos-t-skin-light .sos-t-ad-card p,
body.sos-t-skin-light .sos-t-ad-card small,
.sos-t-app.sos-t-skin-light .sos-t-hero p,
.sos-t-app.sos-t-skin-light .sos-t-panel p,
.sos-t-app.sos-t-skin-light .sos-t-panel small,
.sos-t-app.sos-t-skin-light .sos-t-ad-card p,
.sos-t-app.sos-t-skin-light .sos-t-ad-card small{color:#475569!important;}
html.sos-t-skin-light .sos-t-brandbar,
body.sos-t-skin-light .sos-t-brandbar,
.sos-t-app.sos-t-skin-light .sos-t-brandbar,
html.sos-t-skin-light .sos-t-bottom-nav,
body.sos-t-skin-light .sos-t-bottom-nav,
.sos-t-app.sos-t-skin-light .sos-t-bottom-nav{
  background:rgba(255,255,255,.96)!important;color:#0f172a!important;border-color:rgba(15,23,42,.15)!important;
}
html.sos-t-skin-light .sos-t-brandbar strong,
body.sos-t-skin-light .sos-t-brandbar strong,
.sos-t-app.sos-t-skin-light .sos-t-brandbar strong,
html.sos-t-skin-light .sos-t-bottom-nav a,
body.sos-t-skin-light .sos-t-bottom-nav a,
.sos-t-app.sos-t-skin-light .sos-t-bottom-nav a{color:#0f172a!important;}
html.sos-t-skin-light .sos-t-input,
body.sos-t-skin-light .sos-t-input,
.sos-t-app.sos-t-skin-light .sos-t-input{background:#fff!important;color:#0f172a!important;border-color:rgba(15,23,42,.20)!important;}
html.sos-t-skin-light .sos-t-mini-btn:not(.sos-t-fullscreen-toggle),
body.sos-t-skin-light .sos-t-mini-btn:not(.sos-t-fullscreen-toggle),
.sos-t-app.sos-t-skin-light .sos-t-mini-btn:not(.sos-t-fullscreen-toggle){background:#eff6ff!important;color:#075985!important;border-color:#bae6fd!important;}

html.sos-t-skin-ocean body,
body.sos-t-skin-ocean{background:#042f3f!important;}
html.sos-t-skin-ocean .sos-t-app,
body.sos-t-skin-ocean .sos-t-app,
.sos-t-app.sos-t-skin-ocean{
  --bg:#042f3f;--panel:#063747;--panel2:#075066;--txt:#ecfeff;--muted:#bae6fd;--line:rgba(186,230,253,.22);--accent:#22d3ee;--accent2:#2dd4bf;
  background:linear-gradient(180deg,#042f3f,#06283a)!important;color:#ecfeff!important;
}
html.sos-t-skin-ocean .sos-t-panel,
html.sos-t-skin-ocean .sos-t-kpi,
body.sos-t-skin-ocean .sos-t-panel,
body.sos-t-skin-ocean .sos-t-kpi,
.sos-t-app.sos-t-skin-ocean .sos-t-panel,
.sos-t-app.sos-t-skin-ocean .sos-t-kpi{background:linear-gradient(180deg,#063747,#082f49)!important;border-color:rgba(34,211,238,.25)!important;}
html.sos-t-skin-ocean .sos-t-hero,
body.sos-t-skin-ocean .sos-t-hero,
.sos-t-app.sos-t-skin-ocean .sos-t-hero{background:linear-gradient(135deg,#075985,#0891b2,#14b8a6)!important;}

html.sos-t-skin-dark body,
body.sos-t-skin-dark{background:#020617!important;}
.sos-t-skin-toggle.is-active{outline:2px solid var(--accent,#18e0c2)!important;box-shadow:0 0 0 4px rgba(24,224,194,.16)!important;}

@media(max-width:640px){
  body.sos-transporta-kiosk .sos-t-app,
  html.sos-transporta-fullscreen .sos-t-app,
  .sos-t-app:fullscreen,
  .sos-t-app:-webkit-full-screen{padding:8px 8px 92px!important;}
}


/* === SOS Transporta V1.5.7: Skin Switcher real y visible en todas las apps === */
.sos-t-app-topbar{gap:10px;align-items:center;justify-content:space-between;flex-wrap:nowrap;}
.sos-t-app-top-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto;}
.sos-t-skinbar{display:inline-flex;align-items:center;gap:5px;padding:4px;border-radius:999px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(10px);}
.sos-t-skin-dot{appearance:none;width:30px;height:30px;display:inline-grid;place-items:center;border-radius:999px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.10);color:#fff;cursor:pointer;font-size:13px;line-height:1;transition:transform .15s ease, box-shadow .15s ease, background .15s ease;}
.sos-t-skin-dot:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(0,0,0,.18);}
.sos-t-skin-dot.is-active{outline:2px solid #18e0c2!important;box-shadow:0 0 0 4px rgba(24,224,194,.22)!important;background:#ffffff!important;color:#07111f!important;}

html.sos-t-skin-light,
body.sos-t-skin-light{background:#f3f7fb!important;color:#0f172a!important;}
html.sos-t-skin-light .sos-t-app,
body.sos-t-skin-light .sos-t-app,
.sos-t-app.sos-t-skin-light{--bg:#f3f7fb!important;--panel:#ffffff!important;--panel2:#eef6ff!important;--txt:#0f172a!important;--muted:#475569!important;--line:rgba(15,23,42,.14)!important;--accent:#0369a1!important;--accent2:#14b8a6!important;background:#f3f7fb!important;color:#0f172a!important;}
html.sos-t-skin-light .sos-t-brandbar,
body.sos-t-skin-light .sos-t-brandbar,
.sos-t-app.sos-t-skin-light .sos-t-brandbar,
html.sos-t-skin-light .sos-t-bottom-nav,
body.sos-t-skin-light .sos-t-bottom-nav,
.sos-t-app.sos-t-skin-light .sos-t-bottom-nav{background:rgba(255,255,255,.94)!important;border-color:rgba(15,23,42,.14)!important;color:#0f172a!important;box-shadow:0 10px 35px rgba(15,23,42,.10)!important;}
html.sos-t-skin-light .sos-t-brandbar *,
body.sos-t-skin-light .sos-t-brandbar *,
.sos-t-app.sos-t-skin-light .sos-t-brandbar *,
html.sos-t-skin-light .sos-t-bottom-nav a,
body.sos-t-skin-light .sos-t-bottom-nav a,
.sos-t-app.sos-t-skin-light .sos-t-bottom-nav a{color:#0f172a!important;}
html.sos-t-skin-light .sos-t-panel,
html.sos-t-skin-light .sos-t-kpi,
html.sos-t-skin-light .sos-t-ad-card,
html.sos-t-skin-light .sos-t-login-card,
body.sos-t-skin-light .sos-t-panel,
body.sos-t-skin-light .sos-t-kpi,
body.sos-t-skin-light .sos-t-ad-card,
body.sos-t-skin-light .sos-t-login-card,
.sos-t-app.sos-t-skin-light .sos-t-panel,
.sos-t-app.sos-t-skin-light .sos-t-kpi,
.sos-t-app.sos-t-skin-light .sos-t-ad-card,
.sos-t-app.sos-t-skin-light .sos-t-login-card{background:#ffffff!important;color:#0f172a!important;border-color:#dbe5f0!important;box-shadow:0 12px 35px rgba(15,23,42,.08)!important;}
html.sos-t-skin-light .sos-t-panel h1, html.sos-t-skin-light .sos-t-panel h2, html.sos-t-skin-light .sos-t-panel h3, html.sos-t-skin-light .sos-t-panel h4, html.sos-t-skin-light .sos-t-panel strong, html.sos-t-skin-light .sos-t-kpi strong, html.sos-t-skin-light .sos-t-ad-card strong,
body.sos-t-skin-light .sos-t-panel h1, body.sos-t-skin-light .sos-t-panel h2, body.sos-t-skin-light .sos-t-panel h3, body.sos-t-skin-light .sos-t-panel h4, body.sos-t-skin-light .sos-t-panel strong, body.sos-t-skin-light .sos-t-kpi strong, body.sos-t-skin-light .sos-t-ad-card strong,
.sos-t-app.sos-t-skin-light .sos-t-panel h1, .sos-t-app.sos-t-skin-light .sos-t-panel h2, .sos-t-app.sos-t-skin-light .sos-t-panel h3, .sos-t-app.sos-t-skin-light .sos-t-panel h4, .sos-t-app.sos-t-skin-light .sos-t-panel strong, .sos-t-app.sos-t-skin-light .sos-t-kpi strong, .sos-t-app.sos-t-skin-light .sos-t-ad-card strong{color:#0f172a!important;}
html.sos-t-skin-light .sos-t-panel p, html.sos-t-skin-light .sos-t-panel small, html.sos-t-skin-light .sos-t-ad-card p, html.sos-t-skin-light .sos-t-ad-card small,
body.sos-t-skin-light .sos-t-panel p, body.sos-t-skin-light .sos-t-panel small, body.sos-t-skin-light .sos-t-ad-card p, body.sos-t-skin-light .sos-t-ad-card small,
.sos-t-app.sos-t-skin-light .sos-t-panel p, .sos-t-app.sos-t-skin-light .sos-t-panel small, .sos-t-app.sos-t-skin-light .sos-t-ad-card p, .sos-t-app.sos-t-skin-light .sos-t-ad-card small{color:#475569!important;}
html.sos-t-skin-light .sos-t-input, body.sos-t-skin-light .sos-t-input, .sos-t-app.sos-t-skin-light .sos-t-input{background:#ffffff!important;color:#0f172a!important;border-color:#cbd5e1!important;}
html.sos-t-skin-light .sos-t-mini-btn:not(.sos-t-skin-dot),
body.sos-t-skin-light .sos-t-mini-btn:not(.sos-t-skin-dot),
.sos-t-app.sos-t-skin-light .sos-t-mini-btn:not(.sos-t-skin-dot){background:#e0f2fe!important;color:#075985!important;border-color:#7dd3fc!important;}

html.sos-t-skin-ocean, body.sos-t-skin-ocean{background:#042f3f!important;color:#f8fdff!important;}
html.sos-t-skin-ocean .sos-t-app, body.sos-t-skin-ocean .sos-t-app, .sos-t-app.sos-t-skin-ocean{--bg:#042f3f!important;--panel:#063747!important;--panel2:#0e7490!important;--txt:#f8fdff!important;--muted:#b7f1ff!important;--line:rgba(103,232,249,.25)!important;--accent:#22d3ee!important;--accent2:#2dd4bf!important;background:linear-gradient(180deg,#042f3f,#061826)!important;color:#f8fdff!important;}
html.sos-t-skin-ocean .sos-t-brandbar, body.sos-t-skin-ocean .sos-t-brandbar, .sos-t-app.sos-t-skin-ocean .sos-t-brandbar,
html.sos-t-skin-ocean .sos-t-bottom-nav, body.sos-t-skin-ocean .sos-t-bottom-nav, .sos-t-app.sos-t-skin-ocean .sos-t-bottom-nav{background:rgba(6,55,71,.94)!important;border-color:rgba(103,232,249,.24)!important;}
html.sos-t-skin-ocean .sos-t-panel, html.sos-t-skin-ocean .sos-t-kpi, html.sos-t-skin-ocean .sos-t-ad-card,
body.sos-t-skin-ocean .sos-t-panel, body.sos-t-skin-ocean .sos-t-kpi, body.sos-t-skin-ocean .sos-t-ad-card,
.sos-t-app.sos-t-skin-ocean .sos-t-panel, .sos-t-app.sos-t-skin-ocean .sos-t-kpi, .sos-t-app.sos-t-skin-ocean .sos-t-ad-card{background:linear-gradient(180deg,#063747,#082f49)!important;color:#f8fdff!important;border-color:rgba(103,232,249,.24)!important;}

html.sos-t-skin-dark .sos-t-app, body.sos-t-skin-dark .sos-t-app, .sos-t-app.sos-t-skin-dark{--bg:#07111f!important;--panel:#101d31!important;--panel2:#13243d!important;--txt:#f7fbff!important;--muted:#a9b9cc!important;--line:rgba(255,255,255,.12)!important;background:#07111f!important;color:#f7fbff!important;}

@media(max-width:640px){.sos-t-app-topbar{position:sticky;top:0;z-index:50;padding:8px 10px;margin:-4px -4px 10px;}.sos-t-brand-left strong{max-width:42vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sos-t-app-top-actions{gap:5px}.sos-t-skinbar{gap:3px;padding:3px}.sos-t-skin-dot{width:28px;height:28px;font-size:12px}.sos-t-fullscreen-toggle{min-width:36px;padding-left:9px!important;padding-right:9px!important;}}


/* === SOS Transporta V1.5.8: Skin Switcher blindado REAL === */
html[data-sos-skin], body[data-sos-skin]{transition:background .18s ease,color .18s ease;}
html[data-sos-skin="light"], body[data-sos-skin="light"]{background:#f4f8fb!important;color:#0f172a!important;color-scheme:light!important;}
html[data-sos-skin="light"] .sos-t-app, body[data-sos-skin="light"] .sos-t-app, .sos-t-app[data-sos-skin="light"]{
  --bg:#f4f8fb!important;--panel:#ffffff!important;--panel2:#eaf6ff!important;--txt:#0f172a!important;--muted:#475569!important;--line:rgba(15,23,42,.16)!important;--accent:#0284c7!important;--accent2:#0f766e!important;--danger:#dc2626!important;--warn:#ca8a04!important;--ok:#16a34a!important;
  background:#f4f8fb!important;color:#0f172a!important;color-scheme:light!important;
}
html[data-sos-skin="light"] .sos-t-hero, body[data-sos-skin="light"] .sos-t-hero, .sos-t-app[data-sos-skin="light"] .sos-t-hero,
html[data-sos-skin="light"] .sos-t-hero-command, body[data-sos-skin="light"] .sos-t-hero-command, .sos-t-app[data-sos-skin="light"] .sos-t-hero-command{
  background:linear-gradient(135deg,#ffffff 0%,#e0f2fe 58%,#ccfbf1 100%)!important;color:#0f172a!important;border-color:#bae6fd!important;box-shadow:0 16px 38px rgba(15,23,42,.10)!important;
}
html[data-sos-skin="light"] .sos-t-panel, html[data-sos-skin="light"] .sos-t-kpi, html[data-sos-skin="light"] .sos-t-ad-card, html[data-sos-skin="light"] .sos-t-login-card, html[data-sos-skin="light"] .sos-t-admin-nav-card,
body[data-sos-skin="light"] .sos-t-panel, body[data-sos-skin="light"] .sos-t-kpi, body[data-sos-skin="light"] .sos-t-ad-card, body[data-sos-skin="light"] .sos-t-login-card, body[data-sos-skin="light"] .sos-t-admin-nav-card,
.sos-t-app[data-sos-skin="light"] .sos-t-panel, .sos-t-app[data-sos-skin="light"] .sos-t-kpi, .sos-t-app[data-sos-skin="light"] .sos-t-ad-card, .sos-t-app[data-sos-skin="light"] .sos-t-login-card, .sos-t-app[data-sos-skin="light"] .sos-t-admin-nav-card{
  background:#ffffff!important;color:#0f172a!important;border-color:#dbe5f0!important;box-shadow:0 14px 32px rgba(15,23,42,.08)!important;
}
html[data-sos-skin="light"] .sos-t-app h1, html[data-sos-skin="light"] .sos-t-app h2, html[data-sos-skin="light"] .sos-t-app h3, html[data-sos-skin="light"] .sos-t-app h4, html[data-sos-skin="light"] .sos-t-app strong, html[data-sos-skin="light"] .sos-t-app label,
body[data-sos-skin="light"] .sos-t-app h1, body[data-sos-skin="light"] .sos-t-app h2, body[data-sos-skin="light"] .sos-t-app h3, body[data-sos-skin="light"] .sos-t-app h4, body[data-sos-skin="light"] .sos-t-app strong, body[data-sos-skin="light"] .sos-t-app label,
.sos-t-app[data-sos-skin="light"] h1, .sos-t-app[data-sos-skin="light"] h2, .sos-t-app[data-sos-skin="light"] h3, .sos-t-app[data-sos-skin="light"] h4, .sos-t-app[data-sos-skin="light"] strong, .sos-t-app[data-sos-skin="light"] label{color:#0f172a!important;}
html[data-sos-skin="light"] .sos-t-app p, html[data-sos-skin="light"] .sos-t-app small, html[data-sos-skin="light"] .sos-t-app span:not(.sos-t-kicker),
body[data-sos-skin="light"] .sos-t-app p, body[data-sos-skin="light"] .sos-t-app small, body[data-sos-skin="light"] .sos-t-app span:not(.sos-t-kicker),
.sos-t-app[data-sos-skin="light"] p, .sos-t-app[data-sos-skin="light"] small, .sos-t-app[data-sos-skin="light"] span:not(.sos-t-kicker){color:#475569!important;}
html[data-sos-skin="light"] .sos-t-mini-btn, body[data-sos-skin="light"] .sos-t-mini-btn, .sos-t-app[data-sos-skin="light"] .sos-t-mini-btn{background:#e0f2fe!important;color:#075985!important;border-color:#7dd3fc!important;}
html[data-sos-skin="light"] .sos-t-input, body[data-sos-skin="light"] .sos-t-input, .sos-t-app[data-sos-skin="light"] .sos-t-input,
html[data-sos-skin="light"] select, body[data-sos-skin="light"] select, .sos-t-app[data-sos-skin="light"] select{background:#ffffff!important;color:#0f172a!important;border-color:#cbd5e1!important;}
html[data-sos-skin="light"] .sos-t-bottom-nav, body[data-sos-skin="light"] .sos-t-bottom-nav, .sos-t-app[data-sos-skin="light"] .sos-t-bottom-nav,
html[data-sos-skin="light"] .sos-t-brandbar, body[data-sos-skin="light"] .sos-t-brandbar, .sos-t-app[data-sos-skin="light"] .sos-t-brandbar{
  background:rgba(255,255,255,.96)!important;color:#0f172a!important;border-color:#dbe5f0!important;box-shadow:0 12px 32px rgba(15,23,42,.10)!important;
}
html[data-sos-skin="light"] .sos-t-bottom-nav a, body[data-sos-skin="light"] .sos-t-bottom-nav a, .sos-t-app[data-sos-skin="light"] .sos-t-bottom-nav a,
html[data-sos-skin="light"] .sos-t-brandbar *, body[data-sos-skin="light"] .sos-t-brandbar *, .sos-t-app[data-sos-skin="light"] .sos-t-brandbar *{color:#0f172a!important;}

html[data-sos-skin="ocean"], body[data-sos-skin="ocean"]{background:#032b3a!important;color:#ecfeff!important;color-scheme:dark!important;}
html[data-sos-skin="ocean"] .sos-t-app, body[data-sos-skin="ocean"] .sos-t-app, .sos-t-app[data-sos-skin="ocean"]{
  --bg:#032b3a!important;--panel:#064257!important;--panel2:#075985!important;--txt:#ecfeff!important;--muted:#bae6fd!important;--line:rgba(125,211,252,.24)!important;--accent:#22d3ee!important;--accent2:#2dd4bf!important;
  background:linear-gradient(180deg,#032b3a,#061826)!important;color:#ecfeff!important;color-scheme:dark!important;
}
html[data-sos-skin="ocean"] .sos-t-hero, body[data-sos-skin="ocean"] .sos-t-hero, .sos-t-app[data-sos-skin="ocean"] .sos-t-hero{background:linear-gradient(135deg,#075985,#0891b2,#14b8a6)!important;color:#ecfeff!important;border-color:rgba(125,211,252,.28)!important;}
html[data-sos-skin="ocean"] .sos-t-panel, html[data-sos-skin="ocean"] .sos-t-kpi, html[data-sos-skin="ocean"] .sos-t-ad-card, body[data-sos-skin="ocean"] .sos-t-panel, body[data-sos-skin="ocean"] .sos-t-kpi, body[data-sos-skin="ocean"] .sos-t-ad-card, .sos-t-app[data-sos-skin="ocean"] .sos-t-panel, .sos-t-app[data-sos-skin="ocean"] .sos-t-kpi, .sos-t-app[data-sos-skin="ocean"] .sos-t-ad-card{background:linear-gradient(180deg,#064257,#082f49)!important;color:#ecfeff!important;border-color:rgba(125,211,252,.22)!important;}
html[data-sos-skin="ocean"] .sos-t-mini-btn, body[data-sos-skin="ocean"] .sos-t-mini-btn, .sos-t-app[data-sos-skin="ocean"] .sos-t-mini-btn{background:rgba(34,211,238,.14)!important;color:#ecfeff!important;border-color:rgba(125,211,252,.32)!important;}

html[data-sos-skin="red"], body[data-sos-skin="red"]{background:#1b0a0d!important;color:#fff7f7!important;color-scheme:dark!important;}
html[data-sos-skin="red"] .sos-t-app, body[data-sos-skin="red"] .sos-t-app, .sos-t-app[data-sos-skin="red"]{
  --bg:#1b0a0d!important;--panel:#2a1016!important;--panel2:#3f121b!important;--txt:#fff7f7!important;--muted:#fecdd3!important;--line:rgba(254,202,202,.20)!important;--accent:#ef4444!important;--accent2:#f97316!important;
  background:linear-gradient(180deg,#1b0a0d,#12070a)!important;color:#fff7f7!important;color-scheme:dark!important;
}
html[data-sos-skin="red"] .sos-t-hero, body[data-sos-skin="red"] .sos-t-hero, .sos-t-app[data-sos-skin="red"] .sos-t-hero{background:linear-gradient(135deg,#7f1d1d,#dc2626,#f97316)!important;color:#fff7f7!important;border-color:rgba(254,202,202,.25)!important;}
html[data-sos-skin="red"] .sos-t-panel, html[data-sos-skin="red"] .sos-t-kpi, html[data-sos-skin="red"] .sos-t-ad-card, body[data-sos-skin="red"] .sos-t-panel, body[data-sos-skin="red"] .sos-t-kpi, body[data-sos-skin="red"] .sos-t-ad-card, .sos-t-app[data-sos-skin="red"] .sos-t-panel, .sos-t-app[data-sos-skin="red"] .sos-t-kpi, .sos-t-app[data-sos-skin="red"] .sos-t-ad-card{background:linear-gradient(180deg,#2a1016,#1f0b10)!important;color:#fff7f7!important;border-color:rgba(254,202,202,.20)!important;}
html[data-sos-skin="red"] .sos-t-mini-btn, body[data-sos-skin="red"] .sos-t-mini-btn, .sos-t-app[data-sos-skin="red"] .sos-t-mini-btn{background:rgba(239,68,68,.18)!important;color:#fff7f7!important;border-color:rgba(254,202,202,.25)!important;}

html[data-sos-skin="dark"] .sos-t-app, body[data-sos-skin="dark"] .sos-t-app, .sos-t-app[data-sos-skin="dark"]{background:#07111f!important;color:#f7fbff!important;color-scheme:dark!important;}
.sos-t-skin-toggle.is-active{outline:2px solid var(--accent,#18e0c2)!important;box-shadow:0 0 0 4px rgba(24,224,194,.22)!important;}
html[data-sos-skin="light"] .sos-t-skin-toggle.is-active{background:#0ea5e9!important;color:#fff!important;}
html[data-sos-skin="ocean"] .sos-t-skin-toggle.is-active{background:#22d3ee!important;color:#032b3a!important;}
html[data-sos-skin="red"] .sos-t-skin-toggle.is-active{background:#ef4444!important;color:#fff!important;}

/* === SOS Transporta V1.5.9: menú inferior funcional y anclas === */
.sos-t-bottom-nav-active,
.sos-t-bottom-nav{
  pointer-events:auto!important;
  z-index:2147483000!important;
}
.sos-t-bottom-nav a,
.sos-t-bottom-link{
  pointer-events:auto!important;
  touch-action:manipulation!important;
  cursor:pointer!important;
  user-select:none!important;
  -webkit-tap-highlight-color:rgba(24,224,194,.25);
}
.sos-t-bottom-link.is-tapping{
  transform:translateY(-2px) scale(.98)!important;
  outline:2px solid var(--accent)!important;
}
.sos-t-anchor-target{
  scroll-margin-top:22px;
  scroll-margin-bottom:96px;
}
.sos-t-anchor-pulse{
  animation:sosAnchorPulse 1.1s ease;
}
@keyframes sosAnchorPulse{
  0%{box-shadow:0 0 0 0 rgba(24,224,194,.65)}
  70%{box-shadow:0 0 0 12px rgba(24,224,194,0)}
  100%{box-shadow:0 0 0 0 rgba(24,224,194,0)}
}
.sos-t-driver-income-panel{margin-top:16px;}
body.sos-transporta-kiosk .sos-t-bottom-nav,
html.sos-transporta-fullscreen .sos-t-bottom-nav{
  pointer-events:auto!important;
}

/* === SOS Transporta V1.6.0: navegación total y botones vivos === */
.sos-t-admin-nav-card,
.sos-t-bottom-link,
.sos-t-force-nav,
.sos-t-dashboard-back{
  pointer-events:auto!important;
  cursor:pointer!important;
  position:relative!important;
  z-index:20!important;
  -webkit-tap-highlight-color:rgba(24,224,194,.22)!important;
  touch-action:manipulation!important;
}
.sos-t-admin-nav-card.is-tapping,
.sos-t-bottom-link.is-tapping,
.sos-t-force-nav.is-tapping{
  transform:scale(.98)!important;
  filter:brightness(1.08)!important;
}
.sos-t-shell-tools{position:relative!important;z-index:30!important;pointer-events:auto!important;}
.sos-t-shell-tools .sos-t-mini-btn{pointer-events:auto!important;cursor:pointer!important;}
.sos-t-bottom-nav{pointer-events:auto!important;z-index:2147483000!important;}
.sos-t-bottom-nav *{pointer-events:auto!important;}
html.sos-transporta-kiosk #adminmenumain,
html.sos-transporta-kiosk #wpadminbar,
html.sos-transporta-kiosk #wpfooter,
body.sos-transporta-kiosk #adminmenumain,
body.sos-transporta-kiosk #wpadminbar,
body.sos-transporta-kiosk #wpfooter{display:none!important;}
html.sos-transporta-kiosk #wpcontent,
html.sos-transporta-kiosk #wpbody-content,
body.sos-transporta-kiosk #wpcontent,
body.sos-transporta-kiosk #wpbody-content{margin-left:0!important;padding-left:0!important;padding-top:0!important;}
html.sos-transporta-kiosk .sos-transporta-admin-wrap,
body.sos-transporta-kiosk .sos-transporta-admin-wrap{margin:0!important;max-width:none!important;width:100%!important;}
.sos-t-dashboard-back{font-weight:950!important;text-decoration:none!important;}
@media(max-width:640px){.sos-t-dashboard-back{width:100%;text-align:center}.sos-t-shell-tools{display:grid!important;grid-template-columns:1fr 1fr;gap:7px!important}.sos-t-shell-tools .sos-t-mini-btn{width:100%;justify-content:center;text-align:center}}

/* SOS Transporta v1.6.2 - Registro cliente, perfil y seguridad visual */
.sos-t-register-card,
.sos-t-client-profile-panel{
  position:relative;
  overflow:hidden;
}
.sos-t-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin:12px 0;
}
.sos-t-form-grid label,
.sos-t-register-form label,
.sos-t-profile-form label{
  display:block;
  color:var(--sos-t-text,#f8fafc);
  font-weight:900;
  font-size:13px;
  letter-spacing:.02em;
  margin:0 0 10px;
}
.sos-t-profile-form{
  display:block;
}
.sos-t-login-card .sos-t-form-grid .sos-t-input,
.sos-t-profile-form .sos-t-input,
.sos-t-register-form .sos-t-input{
  margin-top:7px;
}
.sos-t-login-meta .sos-t-mini-btn{
  min-height:auto;
  padding:9px 12px;
  font-size:12px;
  border-radius:999px;
}
.sos-t-client-profile-panel{
  margin-bottom:18px;
  border:1px solid rgba(34,211,238,.28);
  background:linear-gradient(135deg,rgba(15,23,42,.94),rgba(12,74,110,.78));
}
.sos-t-client-profile-panel textarea.sos-t-input{
  min-height:78px;
  resize:vertical;
}
body.sos-guardian-active .sos-t-app{
  filter:blur(12px);
  transition:filter .08s ease;
}
@media (max-width:780px){
  .sos-t-form-grid{grid-template-columns:1fr;}
  .sos-t-register-form .sos-t-btn,
  .sos-t-profile-form .sos-t-btn{width:100%;}
}

/* === SOS Transporta V1.6.3: registro con checkpoints GPS + scroll fullscreen === */
html.sos-transporta-kiosk,
body.sos-transporta-kiosk,
html.sos-transporta-fullscreen,
body.sos-transporta-fullscreen{
  height:auto!important;
  min-height:100%!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch!important;
}
body.sos-transporta-kiosk .sos-t-app,
html.sos-transporta-fullscreen .sos-t-app,
.sos-t-app[data-kiosk="1"],
.sos-t-app:fullscreen,
.sos-t-app:-webkit-full-screen{
  height:auto!important;
  min-height:100dvh!important;
  max-height:none!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  padding-bottom:130px!important;
}
body.sos-transporta-kiosk .sos-t-register-app,
html.sos-transporta-fullscreen .sos-t-register-app,
.sos-t-register-app[data-kiosk="1"]{
  display:block!important;
}
body.sos-transporta-kiosk .sos-t-login-card,
html.sos-transporta-fullscreen .sos-t-login-card,
.sos-t-register-app .sos-t-login-card,
.sos-t-register-card{
  overflow:visible!important;
  max-height:none!important;
}
.sos-t-checkpoint-box{
  margin:14px 0;
  padding:16px;
  border-radius:18px;
  border:1px solid rgba(34,211,238,.26);
  background:linear-gradient(135deg,rgba(34,211,238,.10),rgba(255,255,255,.045));
}
.sos-t-checkpoint-head{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:flex-start;
  margin-bottom:10px;
}
.sos-t-checkpoint-head strong{
  display:block;
  color:#fff;
  font-size:16px;
  font-weight:950;
}
.sos-t-checkpoint-head small{
  color:var(--muted,#a9b9cc);
  font-weight:700;
  line-height:1.35;
  text-align:right;
}
.sos-t-checkpoint-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin-top:10px;
}
.sos-t-checkpoint-status{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:8px 11px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.13);
  background:rgba(255,255,255,.07);
  color:var(--muted,#a9b9cc);
  font-size:12px;
  font-weight:900;
}
.sos-t-checkpoint-status.is-ok{
  color:#052e16!important;
  background:#bbf7d0!important;
  border-color:#22c55e!important;
}
.sos-t-checkpoint-status.is-error{
  color:#fff!important;
  background:rgba(239,68,68,.72)!important;
  border-color:rgba(254,202,202,.48)!important;
}
html[data-sos-skin="light"] .sos-t-checkpoint-box,
body[data-sos-skin="light"] .sos-t-checkpoint-box,
.sos-t-app[data-sos-skin="light"] .sos-t-checkpoint-box{
  background:#f8fafc!important;
  border-color:#bae6fd!important;
}
html[data-sos-skin="light"] .sos-t-checkpoint-head strong,
body[data-sos-skin="light"] .sos-t-checkpoint-head strong,
.sos-t-app[data-sos-skin="light"] .sos-t-checkpoint-head strong{color:#0f172a!important;}
html[data-sos-skin="light"] .sos-t-checkpoint-head small,
body[data-sos-skin="light"] .sos-t-checkpoint-head small,
.sos-t-app[data-sos-skin="light"] .sos-t-checkpoint-head small{color:#475569!important;}
@media(max-width:700px){
  .sos-t-checkpoint-head{flex-direction:column;}
  .sos-t-checkpoint-head small{text-align:left;}
  .sos-t-checkpoint-actions .sos-t-mini-btn,
  .sos-t-checkpoint-status{width:100%;justify-content:center;text-align:center;}
}

/* === SOS Transporta V1.6.4: Publicidad PRO, edición, timer, prioridad, categorías y popups === */
.sos-t-ad-pro-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:18px;align-items:start}.sos-t-ad-form-pro label{display:block;color:var(--sos-t-text,#f8fafc);font-weight:900;font-size:12px;letter-spacing:.04em;text-transform:uppercase}.sos-t-ad-form-pro .sos-t-input{margin-top:7px}.sos-t-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sos-t-check-grid{padding:12px;border:1px solid rgba(255,255,255,.13);border-radius:18px;background:rgba(255,255,255,.06)}.sos-t-check-grid label{display:flex;align-items:center;gap:8px;min-height:42px;text-transform:none;letter-spacing:0;font-size:13px}.sos-t-mini-badges{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.sos-t-mini-badges span,.sos-t-ad-meta span,.sos-t-priority-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:950;text-transform:uppercase;background:rgba(35,215,255,.12);color:#e0faff;border:1px solid rgba(35,215,255,.32)}.sos-t-ad-pro-help{padding:18px;border-radius:22px;background:linear-gradient(180deg,rgba(8,27,61,.92),rgba(2,8,23,.95));border:1px solid rgba(35,215,255,.24);box-shadow:0 16px 44px rgba(0,0,0,.22)}.sos-t-ad-pro-help h4{margin:0 0 10px;color:#fff;font-size:18px}.sos-t-ad-pro-help ol{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px;margin:0;padding-left:18px;color:#cfefff;font-size:12px;line-height:1.35}.sos-t-ad-admin-list{margin-top:18px;padding-top:18px;border-top:1px solid rgba(255,255,255,.1)}.sos-t-table-scroll{overflow-x:auto}.sos-t-table{width:100%;border-collapse:separate;border-spacing:0 8px}.sos-t-table th{color:#bfeeff;font-size:11px;text-align:left;text-transform:uppercase;letter-spacing:.08em;padding:8px}.sos-t-table td{padding:12px 8px;background:rgba(255,255,255,.06);border-top:1px solid rgba(255,255,255,.1);border-bottom:1px solid rgba(255,255,255,.1);color:#f8fafc}.sos-t-table tr td:first-child{border-left:1px solid rgba(255,255,255,.1);border-radius:14px 0 0 14px}.sos-t-table tr td:last-child{border-right:1px solid rgba(255,255,255,.1);border-radius:0 14px 14px 0}.sos-t-table tr.is-expired td{background:rgba(239,35,60,.12)}.sos-t-table small{color:#cfe7ff}.sos-t-status-pill{display:inline-flex;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:950}.sos-t-status-pill.is-on{background:rgba(34,197,94,.16);color:#bbf7d0;border:1px solid rgba(34,197,94,.36)}.sos-t-status-pill.is-off{background:rgba(148,163,184,.15);color:#e2e8f0;border:1px solid rgba(148,163,184,.32)}.sos-t-btn-small{padding:8px 10px;min-height:auto;font-size:12px}.sos-t-ad-meta{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:7px}.sos-t-ad-card.is-featured{border-color:rgba(250,204,21,.65)!important;box-shadow:0 0 24px rgba(250,204,21,.16),0 18px 50px rgba(0,0,0,.22)}.sos-t-coupon,.sos-t-coupon-mini{display:inline-flex;margin:9px 0;padding:8px 12px;border-radius:13px;background:rgba(34,197,94,.15);border:1px dashed rgba(34,197,94,.55);color:#dcfce7;font-weight:950}.sos-t-coupon-mini{font-size:12px;margin:4px 0 0}.sos-t-ad-floating-timer{position:absolute;right:16px;top:16px;z-index:2;padding:10px 12px;border-radius:16px;background:rgba(2,8,23,.82);border:1px solid rgba(35,215,255,.45);backdrop-filter:blur(10px);box-shadow:0 14px 35px rgba(0,0,0,.28)}.sos-t-ad-detail-hero{position:relative}.sos-t-ad-floating-timer span,.sos-t-ad-floating-timer strong{display:block;color:#fff}.sos-t-ad-countdown{font-weight:950;color:#8ee9ff}.sos-t-ad-countdown.is-expired{color:#fecaca}.sos-t-ad-popup{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(2,6,23,.68);opacity:0;pointer-events:none;transition:opacity .22s ease;backdrop-filter:blur(7px)}.sos-t-ad-popup.is-visible{opacity:1;pointer-events:auto}.sos-t-ad-popup-box{position:relative;width:min(440px,94vw);padding:26px;border-radius:28px;background:linear-gradient(145deg,#071833,#092e5f);border:1px solid rgba(35,215,255,.38);box-shadow:0 24px 90px rgba(0,0,0,.5),inset 0 0 35px rgba(35,215,255,.08);color:#fff;text-align:center}.sos-t-ad-popup-box h3{margin:12px 0 8px;color:#fff;font-size:28px;line-height:1}.sos-t-ad-popup-box p{color:#d7efff;font-size:15px;line-height:1.45}.sos-t-ad-popup-close{position:absolute;right:14px;top:12px;width:36px;height:36px;border:0;border-radius:999px;background:rgba(255,255,255,.12);color:#fff;font-size:26px;cursor:pointer}.sos-t-ad-popup-box .sos-t-btn{width:100%;margin-top:12px}@media(max-width:1100px){.sos-t-ad-pro-layout{grid-template-columns:1fr}.sos-t-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.sos-t-ad-pro-help ol{grid-template-columns:1fr}}@media(max-width:720px){.sos-t-grid-4{grid-template-columns:1fr}.sos-t-mini-badges{justify-content:flex-start}.sos-t-table{min-width:920px}.sos-t-ad-pro-help{padding:14px}.sos-t-ad-popup-box h3{font-size:23px}}

/* === SOS Transporta V1.6.5: Publicidad UX limpia + botones visibles + Guardian TI === */
.sos-t-ad-pro-layout{grid-template-columns:1fr!important;}
.sos-t-mini-badges,.sos-t-ad-pro-help{display:none!important;}
.sos-t-table .sos-t-btn,
.sos-t-table button.sos-t-btn,
.sos-t-admin-modular .sos-t-btn,
.sos-t-guardian-form .sos-t-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  min-height:38px!important;
  padding:9px 13px!important;
  border-radius:12px!important;
  font-weight:950!important;
  line-height:1.1!important;
  text-decoration:none!important;
  border:1px solid rgba(35,215,255,.52)!important;
  background:linear-gradient(135deg,#f8fafc,#dff6ff)!important;
  color:#061327!important;
  box-shadow:0 8px 22px rgba(0,0,0,.18)!important;
  opacity:1!important;
  visibility:visible!important;
}
.sos-t-table .sos-t-btn:hover,
.sos-t-admin-modular .sos-t-btn:hover,
.sos-t-guardian-form .sos-t-btn:hover{
  background:linear-gradient(135deg,#23d7ff,#18e0c2)!important;
  color:#02111f!important;
  border-color:#23d7ff!important;
}
.sos-t-table .sos-t-btn.sos-t-delete-ad,
.sos-t-btn.sos-t-btn-danger{
  background:linear-gradient(135deg,#ffeef0,#fecaca)!important;
  color:#7f1d1d!important;
  border-color:rgba(239,35,60,.55)!important;
}
.sos-t-table .sos-t-btn.sos-t-delete-ad:hover,
.sos-t-btn.sos-t-btn-danger:hover{
  background:linear-gradient(135deg,#ef233c,#ff6270)!important;
  color:#fff!important;
}
.sos-t-btn.sos-t-btn-primary,
.sos-t-guardian-form .sos-t-btn-primary{
  background:linear-gradient(135deg,var(--accent,#18e0c2),var(--accent2,#4da3ff))!important;
  color:#02111f!important;
  border-color:transparent!important;
}
.sos-t-guardian-switch-panel{border-color:rgba(35,215,255,.35)!important;background:linear-gradient(135deg,rgba(8,27,61,.96),rgba(2,8,23,.98))!important;}
.sos-t-guardian-status{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:950;letter-spacing:.08em;}
.sos-t-guardian-status.is-on{background:rgba(34,197,94,.18);color:#bbf7d0;border:1px solid rgba(34,197,94,.42);}
.sos-t-guardian-status.is-off{background:rgba(239,35,60,.18);color:#fecaca;border:1px solid rgba(239,35,60,.42);}
.sos-t-muted{color:var(--muted,#a9b9cc);font-size:13px;line-height:1.45;margin:0 0 12px;}
.sos-t-guardian-form label{display:block;color:#d7efff;font-weight:900;font-size:12px;text-transform:uppercase;letter-spacing:.06em;}
.sos-t-guardian-form .sos-t-input{margin-top:7px!important;background:rgba(255,255,255,.08)!important;color:#fff!important;border-color:rgba(255,255,255,.18)!important;}
.sos-t-guardian-form .sos-t-input::placeholder{color:#92a9bf!important;}
@media(max-width:720px){.sos-t-table .sos-t-btn{width:100%;margin:3px 0!important}.sos-t-actions-mini,.sos-t-table td:last-child{min-width:130px}}


/* === SOS Transporta V1.6.7: botón cerrar sesión por rol === */
.sos-t-bottom-link.is-logout{background:rgba(239,68,68,.14)!important;color:#fff!important;border:1px solid rgba(248,113,113,.26)!important;}
.sos-t-bottom-link.is-logout:hover{background:rgba(239,68,68,.24)!important;}
@media(max-width:420px){.sos-t-bottom-nav{grid-template-columns:repeat(var(--sos-nav-count,5),minmax(0,1fr))!important}.sos-t-bottom-link.is-logout strong{font-size:8.8px!important}}

/* === SOS Transporta V1.6.8: App Chofer Evolutiva 23 funciones === */
.sos-t-driver-evolution .sos-t-panel{scroll-margin-top:18px}
.sos-t-driver-top-kpis{margin-bottom:16px!important}
.sos-t-driver-life-panel{border-color:rgba(24,224,194,.34)!important;background:linear-gradient(135deg,rgba(5,24,44,.96),rgba(3,8,23,.98))!important}
.sos-t-driver-life-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.sos-t-life-card{position:relative;min-height:112px;padding:15px;border-radius:20px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.13);box-shadow:0 12px 32px rgba(0,0,0,.18);overflow:hidden}
.sos-t-life-card:before{content:"";position:absolute;inset:auto -20px -25px auto;width:78px;height:78px;border-radius:999px;background:rgba(35,215,255,.16)}
.sos-t-life-card span{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:999px;background:linear-gradient(135deg,var(--accent,#18e0c2),var(--accent2,#4da3ff));color:#02111f;font-weight:950;font-size:12px;margin-bottom:10px}
.sos-t-life-card strong{display:block;color:#fff;font-size:16px;line-height:1.15}
.sos-t-life-card small{display:block;color:#cfe7ff;margin-top:7px;font-weight:700;line-height:1.35}
.sos-t-driver-action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.sos-t-driver-action-grid .sos-t-btn{width:100%;min-height:50px;text-align:center;white-space:normal!important}
.sos-t-auto-gps.is-running{background:linear-gradient(135deg,#facc15,#fb923c)!important;color:#331400!important;border-color:#fde68a!important;box-shadow:0 0 0 3px rgba(250,204,21,.15)!important}
.sos-t-mini-badges-visible{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.sos-t-mini-badges-visible span{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:950;background:rgba(35,215,255,.12);color:#dffaff;border:1px solid rgba(35,215,255,.32)}
.sos-t-driver-command-row{padding:12px;border-radius:18px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.1);margin:12px 0}
.sos-t-status-row-pro .sos-t-chip.is-selected{background:linear-gradient(135deg,#18e0c2,#4da3ff)!important;color:#02111f!important;border-color:transparent!important}
.sos-t-trip-card-driver{border-color:rgba(77,163,255,.25)!important;background:linear-gradient(135deg,rgba(8,27,61,.72),rgba(2,8,23,.92))!important}
.sos-t-driver-contact-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px;padding-top:10px;border-top:1px dashed rgba(255,255,255,.16)}
.sos-t-contact-empty{display:inline-flex;align-items:center;min-height:34px;padding:7px 10px;border-radius:999px;background:rgba(148,163,184,.13);color:#dbeafe;font-size:12px;font-weight:800}
.sos-t-driver-money-grid{margin-bottom:14px!important}
.sos-t-driver-income-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}
.sos-t-driver-income-strip>div{padding:14px;border-radius:18px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12)}
.sos-t-driver-income-strip strong{display:block;color:#fff;font-size:17px;line-height:1.2}
.sos-t-driver-income-strip span{display:block;color:#cfe7ff;font-size:12px;font-weight:800;margin-top:5px}
.sos-t-driver-profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}
.sos-t-driver-profile-form label{display:block;color:#d7efff;font-weight:900;font-size:12px;text-transform:uppercase;letter-spacing:.05em}
.sos-t-driver-profile-form .sos-t-input{margin-top:7px!important}
.sos-t-features-panel-complete .sos-t-feature{background:linear-gradient(135deg,rgba(24,224,194,.12),rgba(77,163,255,.1))!important;border-color:rgba(24,224,194,.24)!important}
.sos-t-features-panel-complete .sos-t-feature small{color:#cfe7ff!important}
html[data-sos-skin="light"] .sos-t-life-card strong,
body[data-sos-skin="light"] .sos-t-life-card strong,
.sos-t-app[data-sos-skin="light"] .sos-t-life-card strong,
html[data-sos-skin="light"] .sos-t-driver-income-strip strong,
body[data-sos-skin="light"] .sos-t-driver-income-strip strong,
.sos-t-app[data-sos-skin="light"] .sos-t-driver-income-strip strong{color:#0f172a!important}
html[data-sos-skin="light"] .sos-t-life-card small,
body[data-sos-skin="light"] .sos-t-life-card small,
.sos-t-app[data-sos-skin="light"] .sos-t-life-card small,
html[data-sos-skin="light"] .sos-t-driver-income-strip span,
body[data-sos-skin="light"] .sos-t-driver-income-strip span,
.sos-t-app[data-sos-skin="light"] .sos-t-driver-income-strip span{color:#475569!important}
@media(max-width:1180px){.sos-t-driver-life-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sos-t-driver-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sos-t-driver-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){.sos-t-driver-life-grid,.sos-t-driver-action-grid,.sos-t-driver-income-strip,.sos-t-driver-profile-grid{grid-template-columns:1fr}.sos-t-mini-badges-visible{justify-content:flex-start}.sos-t-driver-action-grid .sos-t-btn,.sos-t-driver-contact-row .sos-t-mini-btn{width:100%;justify-content:center}.sos-t-life-card{min-height:auto}.sos-t-driver-command-row .sos-t-btn{width:100%}}

/* === SOS Transporta V1.6.9: Giro UX chofer/cliente operativo === */
.sos-t-driver-map-first{
  margin-top:16px!important;
  border-color:rgba(24,224,194,.38)!important;
  background:radial-gradient(circle at 20% 0%,rgba(24,224,194,.18),transparent 34%),linear-gradient(180deg,rgba(7,17,31,.98),rgba(10,23,42,.98))!important;
}
.sos-t-driver-map-first .sos-t-live-map{
  min-height:clamp(430px,62vh,720px)!important;
  border-radius:24px!important;
}
.sos-t-driver-map-head{align-items:flex-start!important;}
.sos-t-driver-status-dock{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:8px 0 10px;
}
.sos-t-driver-status-dock .sos-t-chip{width:100%;text-align:center;min-height:48px;}
.sos-t-driver-gps-dock{
  position:relative;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px!important;
  align-items:stretch!important;
}
.sos-t-driver-gps-dock .sos-t-btn{width:100%;min-height:52px;text-align:center;white-space:normal;}
.sos-t-gps-live-status{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  border-radius:999px;
  border:1px solid rgba(24,224,194,.28);
  background:rgba(24,224,194,.09);
  color:#dffaff;
  font-weight:900;
  font-size:12px;
}
.sos-t-gps-live-status.is-error{border-color:rgba(255,98,112,.44);background:rgba(255,98,112,.12);color:#ffe0e5;}
.sos-t-driver-compact-kpis .sos-t-kpi{padding:14px!important;}
.sos-t-driver-secondary-layout{grid-template-columns:minmax(0,1fr) minmax(340px,.75fr)!important;}
.sos-t-driver-actions-panel .sos-t-panel-head p{max-width:620px;}
.sos-t-driver-actions-panel .sos-t-driver-action-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
.sos-t-features-panel-complete{display:none!important;}
.sos-t-client-primary-booking{margin-top:14px!important;}
.sos-t-client-ultra .sos-t-client-profile-secondary{margin-top:16px;opacity:.94;}
.sos-t-client-ultra .sos-t-client-profile-secondary .sos-t-client-profile-panel{
  margin-bottom:0!important;
  border-color:rgba(148,163,184,.20)!important;
  background:linear-gradient(180deg,rgba(15,23,42,.72),rgba(2,8,23,.78))!important;
}
.sos-t-client-ultra .sos-t-client-profile-secondary .sos-t-client-profile-panel .sos-t-kicker:before{content:'Secundario · ';}
.sos-t-client-ultra .sos-t-simple-shell{border-color:rgba(24,224,194,.30)!important;}
.sos-t-client-ultra .sos-t-ads-app{border-color:rgba(250,204,21,.25)!important;}
.sos-t-client-ultra .sos-t-ads-app .sos-t-kicker{color:#facc15!important;}
@media(max-width:980px){
  .sos-t-driver-secondary-layout{grid-template-columns:1fr!important;}
  .sos-t-driver-gps-dock{grid-template-columns:repeat(2,minmax(0,1fr));}
  .sos-t-driver-actions-panel .sos-t-driver-action-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:640px){
  .sos-t-driver-map-first{padding:12px!important;border-radius:22px!important;}
  .sos-t-driver-map-first .sos-t-live-map{min-height:58vh!important;border-radius:18px!important;}
  .sos-t-driver-status-dock,.sos-t-driver-gps-dock,.sos-t-driver-actions-panel .sos-t-driver-action-grid{grid-template-columns:1fr!important;}
  .sos-t-gps-live-status{border-radius:16px;text-align:center;padding:9px;}
}


/* ==========================================================
 * SOS TRANSPORTA V1.6.14 — VISUAL CONTRAST + IMAGE FIT
 * Capa sumativa UI/UX: mensajes emergentes legibles y marcos
 * de imagen proporcionales para publicidad/promos/app.
 * ========================================================== */
.sos-t-toast{
  left:auto!important;
  right:18px!important;
  bottom:calc(18px + env(safe-area-inset-bottom,0px))!important;
  max-width:min(420px,calc(100vw - 28px))!important;
  padding:16px 18px 16px 52px!important;
  border-radius:20px!important;
  background:#f8fafc!important;
  color:#07111f!important;
  border:2px solid #10b981!important;
  box-shadow:0 22px 70px rgba(2,6,23,.32),0 0 0 1px rgba(255,255,255,.7) inset!important;
  font-weight:900!important;
  line-height:1.35!important;
  letter-spacing:.01em!important;
  text-shadow:none!important;
}
.sos-t-toast:before{
  content:"✓";
  position:absolute;
  left:16px;
  top:50%;
  width:26px;
  height:26px;
  transform:translateY(-50%);
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#10b981;
  color:#ffffff;
  font-weight:1000;
  box-shadow:0 8px 18px rgba(16,185,129,.32);
}
.sos-t-toast.is-error{
  background:#fff1f2!important;
  color:#7f1d1d!important;
  border-color:#ef4444!important;
}
.sos-t-toast.is-error:before{
  content:"!";
  background:#ef4444;
  color:#ffffff;
  box-shadow:0 8px 18px rgba(239,68,68,.32);
}
.sos-t-alert,
.sos-t-empty,
.sos-t-map-empty,
.sos-t-safe-note{
  text-shadow:none!important;
}
.sos-t-alert{
  background:#ecfeff!important;
  color:#083344!important;
  border:2px solid #06b6d4!important;
  font-weight:850!important;
}
.sos-t-alert strong,
.sos-t-alert h3,
.sos-t-alert p,
.sos-t-alert small{
  color:inherit!important;
}
.sos-t-alert-danger,
.sos-t-it-warning{
  background:#fff1f2!important;
  color:#7f1d1d!important;
  border:2px solid #ef4444!important;
  font-weight:900!important;
}
.sos-t-ad-popup{
  background:rgba(2,6,23,.76)!important;
}
.sos-t-ad-popup-box{
  width:min(460px,94vw)!important;
  background:#ffffff!important;
  color:#07111f!important;
  border:2px solid #18e0c2!important;
  box-shadow:0 28px 95px rgba(0,0,0,.48),0 0 0 8px rgba(24,224,194,.12)!important;
  text-shadow:none!important;
}
.sos-t-ad-popup-box .sos-t-kicker{
  color:#0f766e!important;
}
.sos-t-ad-popup-box h3{
  color:#07111f!important;
  text-shadow:none!important;
}
.sos-t-ad-popup-box p{
  color:#334155!important;
  font-weight:750!important;
  text-shadow:none!important;
}
.sos-t-ad-popup-close{
  background:#07111f!important;
  color:#ffffff!important;
  border:2px solid rgba(255,255,255,.86)!important;
  line-height:1!important;
}
.sos-t-ad-popup-box .sos-t-btn-primary{
  background:linear-gradient(135deg,#18e0c2,#4da3ff)!important;
  color:#06111f!important;
  border-color:transparent!important;
}
.sos-t-ad-image,
.sos-t-ad-card-app .sos-t-ad-image,
.sos-t-brandmark,
.sos-t-ad-detail-hero{
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
  background:linear-gradient(135deg,#f8fafc,#e0f2fe)!important;
}
.sos-t-ad-image,
.sos-t-ad-card-app .sos-t-ad-image{
  aspect-ratio:1 / 1!important;
  border:1px solid rgba(15,23,42,.10)!important;
}
.sos-t-ad-image img,
.sos-t-ad-card-app .sos-t-ad-image img,
.sos-t-brandmark img,
.sos-t-ad-detail-hero img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  image-rendering:auto!important;
  background:transparent!important;
  transform:none!important;
}
.sos-t-ad-image img,
.sos-t-ad-card-app .sos-t-ad-image img{
  padding:4px!important;
  border-radius:inherit!important;
}
.sos-t-brandmark img{
  padding:3px!important;
  border-radius:inherit!important;
}
.sos-t-ad-detail{
  overflow:hidden!important;
}
.sos-t-ad-detail-hero{
  min-height:clamp(260px,46dvh,540px)!important;
  background:radial-gradient(circle at center,#ffffff 0%,#f1f5f9 58%,#dbeafe 100%)!important;
  border-bottom:1px solid rgba(15,23,42,.08)!important;
}
.sos-t-ad-detail-hero img{
  padding:12px!important;
}
.sos-t-ad-card,
.sos-t-ad-card-app{
  min-width:0!important;
}
.sos-t-ad-card strong,
.sos-t-ad-card p,
.sos-t-ad-card small{
  min-width:0!important;
}
@media(max-width:640px){
  .sos-t-toast{
    left:10px!important;
    right:10px!important;
    bottom:calc(86px + env(safe-area-inset-bottom,0px))!important;
    max-width:none!important;
  }
  .sos-t-ad-card-app .sos-t-ad-image,
  .sos-t-ad-image{
    width:72px!important;
    height:72px!important;
    min-width:72px!important;
  }
  .sos-t-ad-detail-hero{
    min-height:clamp(230px,40dvh,420px)!important;
  }
}

/* === SOS Transporta V1.6.15: Ads popup conversion UX + contraste detalle === */
.sos-t-ad-detail.sos-t-panel{
  background:linear-gradient(180deg,#0b1830 0%,#07111f 100%)!important;
}
.sos-t-ad-detail.sos-t-panel .sos-t-ad-detail-body{
  background:linear-gradient(180deg,#10233f 0%,#07111f 100%)!important;
}
.sos-t-ad-detail.sos-t-panel .sos-t-kicker{
  color:#38e0cf!important;
}
.sos-t-ad-detail.sos-t-panel .sos-t-ad-detail-body h2{
  color:#f8fbff!important;
  text-shadow:none!important;
}
.sos-t-ad-detail.sos-t-panel .sos-t-ad-detail-body p{
  color:#d9e7f6!important;
  text-shadow:none!important;
}
.sos-t-ad-detail.sos-t-panel .sos-t-ad-detail-stats{
  color:#93b9d8!important;
}
.sos-t-ad-detail.sos-t-panel .sos-t-coupon{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
  padding:14px 16px!important;
  border-radius:18px!important;
  background:linear-gradient(135deg,rgba(16,185,129,.22),rgba(20,184,166,.16))!important;
  border:1px dashed rgba(255,255,255,.7)!important;
  color:#f0fdf4!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)!important;
}
.sos-t-ad-detail.sos-t-panel .sos-t-coupon strong{
  color:#ffffff!important;
  font-size:20px!important;
  letter-spacing:.04em!important;
}
.sos-t-ad-popup{
  background:rgba(2,6,23,.74)!important;
  backdrop-filter:blur(9px)!important;
}
.sos-t-ad-popup-box{
  width:min(520px,94vw)!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:28px!important;
  background:#ffffff!important;
  color:#07111f!important;
  text-align:left!important;
}
.sos-t-ad-popup-media{
  position:relative!important;
  width:100%!important;
  aspect-ratio:16 / 10!important;
  background:linear-gradient(135deg,#ecfeff,#dbeafe)!important;
  overflow:hidden!important;
}
.sos-t-ad-popup-media img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
}
.sos-t-ad-popup-placeholder{
  display:grid!important;
  place-items:center!important;
  width:100%!important;
  height:100%!important;
  font-size:78px!important;
  color:#0f766e!important;
}
.sos-t-ad-popup-copy{
  padding:20px 20px 22px!important;
}
.sos-t-ad-popup-box .sos-t-kicker{
  display:block!important;
  margin:0 0 6px!important;
  color:#0f766e!important;
}
.sos-t-ad-popup-meta{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  margin-bottom:8px!important;
  padding:6px 10px!important;
  border-radius:999px!important;
  background:#ecfeff!important;
  border:1px solid rgba(13,148,136,.18)!important;
  color:#0f766e!important;
  font-size:12px!important;
  font-weight:900!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
}
.sos-t-ad-popup-box h3{
  margin:0 0 8px!important;
  color:#07111f!important;
  font-size:clamp(30px,6vw,42px)!important;
  line-height:.95!important;
}
.sos-t-ad-popup-box p{
  margin:0!important;
  color:#334155!important;
  font-weight:700!important;
  font-size:15px!important;
  line-height:1.45!important;
}
.sos-t-ad-popup-coupon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin-top:14px!important;
  padding:10px 14px!important;
  border-radius:16px!important;
  background:linear-gradient(135deg,#062b45,#0d5f5a)!important;
  border:1px dashed rgba(255,255,255,.8)!important;
  color:#ffffff!important;
  font-weight:950!important;
  box-shadow:0 8px 22px rgba(6,43,69,.18)!important;
}
.sos-t-ad-popup-box .sos-t-btn-primary{
  width:100%!important;
  margin-top:16px!important;
  min-height:54px!important;
  border-radius:16px!important;
  font-size:16px!important;
  font-weight:950!important;
}
.sos-t-ad-popup-close{
  z-index:3!important;
  top:14px!important;
  right:14px!important;
}
@media(max-width:640px){
  .sos-t-ad-popup-box{ width:min(94vw,520px)!important; }
  .sos-t-ad-popup-copy{ padding:18px 16px 18px!important; }
  .sos-t-ad-popup-box h3{ font-size:32px!important; }
}


/* === SOS Transporta V1.6.16: fuerza visual popup con imagen y cache bust === */
body .sos-t-ad-popup .sos-t-ad-popup-box{
  max-width:520px!important;
}
body .sos-t-ad-popup .sos-t-ad-popup-media{
  display:block!important;
}
body .sos-t-ad-popup .sos-t-ad-popup-media img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
}
body .sos-t-ad-popup .sos-t-ad-popup-copy{
  display:block!important;
}
body .sos-t-ad-popup .sos-t-ad-popup-box h3,
body .sos-t-ad-popup .sos-t-ad-popup-box p,
body .sos-t-ad-popup .sos-t-ad-popup-box .sos-t-kicker{
  text-align:left!important;
}


/* === SOS Transporta V1.6.17: Ads marketing UX === */
.sos-t-ad-detail-v317{
  background:linear-gradient(180deg,#eef4f9 0%,#f9fbfd 100%)!important;
  border:1px solid rgba(15,23,42,.08)!important;
  box-shadow:0 18px 44px rgba(2,8,23,.08)!important;
  min-height:auto!important;
  grid-template-rows:auto auto!important;
}
.sos-t-ad-detail-v317 .sos-t-ad-detail-hero{
  position:relative!important;
  min-height:clamp(280px,46dvh,620px)!important;
  background:linear-gradient(135deg,#e2f4ec,#f5fbff)!important;
}
.sos-t-ad-detail-v317 .sos-t-ad-detail-hero img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
}
.sos-t-ad-detail-glow{
  position:absolute!important;
  inset:auto 0 0 0!important;
  height:35%!important;
  background:linear-gradient(180deg,rgba(255,255,255,0) 0%,rgba(2,8,23,.18) 100%)!important;
  pointer-events:none!important;
}
.sos-t-ad-hero-badge{
  position:absolute!important;
  left:18px!important;
  top:18px!important;
  z-index:2!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  padding:10px 16px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#d9ff00,#fff06b)!important;
  color:#163300!important;
  font-weight:950!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
  box-shadow:0 12px 24px rgba(0,0,0,.16)!important;
}
.sos-t-ad-detail-v317 .sos-t-ad-detail-body{
  margin:-22px 14px 14px!important;
  padding:22px 18px 20px!important;
  border-radius:26px!important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
  box-shadow:0 18px 36px rgba(15,23,42,.10)!important;
  display:grid!important;
  gap:12px!important;
}
.sos-t-ad-detail-v317 .sos-t-ad-marketing-strip{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  align-items:center!important;
}
.sos-t-ad-detail-v317 .sos-t-kicker{
  color:#0f766e!important;
  font-size:13px!important;
  font-weight:950!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
}
.sos-t-ad-mini-pill{
  display:inline-flex!important;
  align-items:center!important;
  padding:7px 10px!important;
  border-radius:999px!important;
  background:#eff6ff!important;
  color:#1d4ed8!important;
  border:1px solid rgba(59,130,246,.16)!important;
  font-size:11px!important;
  font-weight:900!important;
  text-transform:uppercase!important;
}
.sos-t-ad-detail-v317 h2{
  margin:0!important;
  color:#0f172a!important;
  font-size:clamp(30px,6vw,52px)!important;
  line-height:.96!important;
  letter-spacing:-.03em!important;
}
.sos-t-ad-detail-v317 p{
  margin:0!important;
  color:#334155!important;
  font-size:17px!important;
  line-height:1.5!important;
  font-weight:700!important;
}
.sos-t-ad-detail-v317 .sos-t-ad-detail-stats{
  color:#64748b!important;
  font-weight:850!important;
}
.sos-t-ad-detail-v317 .sos-t-coupon{
  background:linear-gradient(135deg,#082f49,#0f766e)!important;
  color:#f8fafc!important;
  border:1px dashed rgba(255,255,255,.7)!important;
  padding:14px 16px!important;
  border-radius:20px!important;
  box-shadow:0 10px 26px rgba(8,47,73,.18)!important;
}
.sos-t-ad-detail-v317 .sos-t-coupon strong{ color:#ffffff!important; font-size:24px!important; }
.sos-t-ad-detail-v317 .sos-t-actions{ grid-template-columns:repeat(3,minmax(0,1fr))!important; gap:10px!important; }
.sos-t-ad-detail-v317 .sos-t-btn{
  background:#ffffff!important;
  color:#0f172a!important;
  border:1px solid rgba(15,23,42,.16)!important;
}
.sos-t-ad-detail-v317 .sos-t-btn-primary{
  background:linear-gradient(135deg,#00c2ff,#14b8a6)!important;
  color:#07111f!important;
  border-color:transparent!important;
  box-shadow:0 10px 22px rgba(0,194,255,.20)!important;
}
body .sos-t-ad-popup .sos-t-ad-popup-box{
  width:min(540px,94vw)!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:28px!important;
  border:1px solid rgba(15,23,42,.08)!important;
  box-shadow:0 26px 90px rgba(0,0,0,.40)!important;
  background:#ffffff!important;
}
body .sos-t-ad-popup .sos-t-ad-popup-media{
  position:relative!important;
  width:100%!important;
  aspect-ratio:16/10!important;
  background:linear-gradient(135deg,#e6fffb,#ecfccb)!important;
}
body .sos-t-ad-popup .sos-t-ad-popup-media img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
}
body .sos-t-ad-popup .sos-t-ad-popup-copy{ padding:18px 18px 20px!important; }
body .sos-t-ad-popup .sos-t-ad-popup-box .sos-t-kicker{
  color:#0f766e!important;
  font-size:12px!important;
  font-weight:950!important;
  letter-spacing:.08em!important;
}
body .sos-t-ad-popup .sos-t-ad-popup-meta{
  margin-top:6px!important;
  margin-bottom:8px!important;
  background:#f1f5f9!important;
  color:#0f172a!important;
}
body .sos-t-ad-popup .sos-t-ad-popup-box h3{
  margin:2px 0 8px!important;
  color:#0f172a!important;
  font-size:clamp(28px,5vw,40px)!important;
  line-height:.95!important;
  letter-spacing:-.03em!important;
}
body .sos-t-ad-popup .sos-t-ad-popup-box p{
  color:#334155!important;
  font-size:16px!important;
  font-weight:700!important;
}
body .sos-t-ad-popup .sos-t-ad-popup-coupon{
  background:linear-gradient(135deg,#082f49,#0f766e)!important;
  color:#fff!important;
  border:1px dashed rgba(255,255,255,.8)!important;
}
body .sos-t-ad-popup .sos-t-btn-primary{
  min-height:56px!important;
  font-size:16px!important;
  font-weight:950!important;
  border-radius:16px!important;
  background:linear-gradient(135deg,#d9ff00,#14b8a6)!important;
  color:#0b1324!important;
}
@media(max-width:720px){
  .sos-t-ad-detail-v317 .sos-t-ad-detail-body{ margin:-18px 10px 10px!important; padding:18px 16px 16px!important; }
  .sos-t-ad-detail-v317 .sos-t-actions{ grid-template-columns:1fr!important; }
}
