/* ---------- App operativa: enrolamiento y servicios ---------- */
.app-standalone .ops-hero{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:26px 18px 18px}
.app-standalone .ops-hero img{height:56px;width:auto}
.app-standalone .ops-hero h2{font-size:18px;font-weight:800;letter-spacing:-.02em;color:#f8fafc}
.app-standalone .ops-hero p{font-size:10px;color:#8fa1b6;line-height:1.55;max-width:300px}
.app-standalone .ops-branch{background:linear-gradient(120deg,#18243a,#152034);border:1px solid #2a3b52;border-radius:10px;padding:15px;margin-bottom:14px}
.app-standalone .ops-branch .ob-title{font-size:16px;font-weight:800;color:#fff;letter-spacing:-.015em}
.app-standalone .ops-branch .ob-meta{font-size:11px;color:#9fb0c4;margin-top:4px;line-height:1.5}
.app-standalone .ops-branch .ob-ceco{font-family:var(--mono);font-size:10px;color:#7f91a6;margin-top:5px}
.app-standalone .ops-services{display:grid;grid-template-columns:1fr;gap:12px}
.app-standalone .ops-service{display:flex;align-items:center;gap:16px;width:100%;min-height:96px;text-align:left;background:#101b2c;border:1px solid #2a3b52;border-radius:12px;padding:18px 16px;color:#e6edf6;transition:.15s;touch-action:manipulation}
.app-standalone .ops-service:active{transform:scale(.99);border-color:#3a5069;background:#142136}
.app-standalone .ops-service .os-ic{width:56px;height:56px;border-radius:12px;display:grid;place-items:center;background:rgba(255,0,43,.10);color:var(--red);flex:none}
.app-standalone .ops-service .os-ic i{font-size:24px}
.app-standalone .ops-service .os-body{flex:1;min-width:0;text-align:left}
.app-standalone .ops-service .os-body b{display:block;font-size:17px;font-weight:800;letter-spacing:-.01em;line-height:1.2}
.app-standalone .ops-service .os-body small{display:block;font-size:12px;color:#9fb0c4;margin-top:3px;line-height:1.45;font-weight:400}
.app-standalone .ops-service .os-arrow{font-size:18px;color:#94a3b8;flex:none}
.app-standalone .ops-code{font-family:var(--mono);font-size:22px;font-weight:700;letter-spacing:.12em;color:#fff;text-align:center;background:#0a1220;border:1px dashed #3a5069;border-radius:6px;padding:12px}
.app-standalone .ops-qr{display:block;width:200px;height:200px;margin:12px auto;background:#fff;border-radius:6px;padding:8px}
.app-standalone .ops-record{display:flex;align-items:flex-start;gap:9px;background:#18243a;border:1px solid #2a3b52;border-radius:7px;padding:9px 10px;margin-bottom:6px}
.app-standalone .ops-record .or-ic{width:27px;height:27px;border-radius:5px;background:rgba(56,189,248,.10);color:#38bdf8;display:grid;place-items:center;font-size:10px;flex:none}
.app-standalone .ops-record .or-b{min-width:0;flex:1}
.app-standalone .ops-record b{display:block;font-size:10.5px;color:#eef4fb}
.app-standalone .ops-record span{display:block;font-size:8.5px;color:#7f91a6;margin-top:1px;line-height:1.4}
.app-standalone .ops-record .or-actions{display:flex;flex-direction:column;gap:4px;flex:none}
.app-standalone .ops-record .or-actions button{height:24px;padding:0 7px;font-size:8px;width:auto}
.app-standalone .ops-note{font-size:9px;color:#7f91a6;line-height:1.5;text-align:center;margin-top:8px}
.app-standalone .ops-scanner{position:fixed;inset:0;z-index:300;background:rgba(3,8,16,.92);display:flex;align-items:center;justify-content:center;padding:18px}
.app-standalone .ops-scanner-box{position:relative;width:100%;max-width:360px;background:#0b1322;border:1px solid #2a3b52;border-radius:10px;overflow:hidden}
.app-standalone .ops-scanner-head{display:flex;align-items:center;justify-content:space-between;padding:11px 13px;border-bottom:1px solid #26374d;font-size:11px;font-weight:700;color:#e6edf6}
.app-standalone .ops-scanner-head button{background:none;border:0;color:#94a3b8;font-size:20px;line-height:1;cursor:pointer}
.app-standalone .ops-scanner-head-actions{display:flex;align-items:center;gap:2px}
.app-standalone .ops-scanner-head-actions button{width:30px;height:30px;display:grid;place-items:center;border-radius:7px}
.app-standalone .ops-scanner-head-actions #scanCamInfo{font-size:15px}
.app-standalone .ops-scanner-head-actions button:active{background:#1b2a40}
.app-standalone .ops-scanner video{width:100%;height:clamp(240px,44vh,330px);object-fit:cover;background:#000;display:block}
.app-standalone .ops-scanner-foot{padding:10px 13px;font-size:9px;color:#7f91a6;text-align:center;line-height:1.5}

/* ---------- Utilidades móviles que antes vivían en el shell de visitas ---------- */
.app-standalone .m-note{background:rgba(56,189,248,.06);border:1px solid rgba(56,189,248,.18);border-radius:5px;padding:8px 9px;font-size:9px;color:#9fc2d6;line-height:1.5}
.app-standalone .m-note.m-ok{background:rgba(34,197,94,.08);border-color:rgba(34,197,94,.28);color:#bbf7d0}
.app-standalone .m-danger{background:rgba(239,68,68,.08);border-color:rgba(239,68,68,.25);color:#fca5a5}
.app-standalone .m-empty{text-align:center;color:#64748b;font-size:10px;padding:14px 8px}
.app-standalone .m-photo img{width:100%;height:100%;object-fit:cover}
.app-standalone .app-loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:var(--bg);color:#8fa1b6;font-size:10px;z-index:50}
.app-standalone .spinner{width:28px;height:28px;border:2px solid #26374d;border-top-color:var(--red);border-radius:50%;animation:opsSpin .8s linear infinite}
@keyframes opsSpin{to{transform:rotate(360deg)}}

/* ---------- Accesibilidad: controles y textos más grandes ---------- */
.app-standalone .app-top .at b{font-size:14px}
.app-standalone .app-top .at span{font-size:10px}
.app-standalone .m-btn{height:48px;font-size:14px}
.app-standalone .m-inp{font-size:13px;padding:11px 12px}
.app-standalone .m-field label{font-size:9.5px}
.app-standalone .m-title h3{font-size:11px}
.app-standalone .m-title span{font-size:10px}
.app-standalone .m-item .mb b{font-size:13px}
.app-standalone .m-item .mb span{font-size:10px}
.app-standalone .ops-record b{font-size:12px}
.app-standalone .ops-record span{font-size:10px}
.app-standalone .ops-record .or-ic{width:32px;height:32px;font-size:12px;border-radius:6px}
.app-standalone .ops-record .or-actions button{height:32px;font-size:9.5px;padding:0 9px}
.app-standalone .ops-note{font-size:10px}

/* ---------- Detalle de ronda: proporciones y jerarquía ---------- */
.app-standalone .topbar-btn{width:auto;height:34px;padding:0 11px;font-size:11px;border-radius:8px;gap:6px}
.app-standalone .round-detail-scroll{display:flex;flex-direction:column;gap:14px}
.app-standalone .round-hero{background:linear-gradient(145deg,#1a2940,#152034);border:1px solid #2a3b52;border-radius:12px;padding:18px 16px;box-shadow:0 10px 24px rgba(0,0,0,.18)}
.app-standalone .round-hero-head{display:flex;align-items:flex-start;gap:12px}
.app-standalone .round-hero-icon{width:44px;height:44px;border-radius:11px;display:grid;place-items:center;background:rgba(255,0,43,.10);border:1px solid rgba(255,0,43,.18);color:var(--red);flex:none}
.app-standalone .round-hero-icon i{font-size:19px}
.app-standalone .round-hero-copy{min-width:0;flex:1}
.app-standalone .round-eyebrow{display:block;font-size:9px;line-height:1.3;letter-spacing:.11em;text-transform:uppercase;color:#8fa1b6;font-weight:700;margin-bottom:4px}
.app-standalone .round-hero-copy h2{font-size:19px;line-height:1.2;color:#f8fafc;font-weight:800;letter-spacing:-.02em}
.app-standalone .round-hero-copy p{font-size:11.5px;line-height:1.45;color:#9fb0c4;margin-top:4px}
.app-standalone .round-hero-head .pill{flex:none;margin-top:2px;padding:5px 8px;border-radius:99px;font-size:9px}
.app-standalone .round-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}
.app-standalone .round-meta div{min-height:54px;background:rgba(8,15,27,.45);border:1px solid #26374d;border-radius:8px;padding:9px 10px;display:flex;flex-direction:column;justify-content:center}
.app-standalone .round-meta span{display:block;font-size:8px;line-height:1.3;letter-spacing:.08em;text-transform:uppercase;color:#7f91a6;font-weight:700;margin-bottom:3px}
.app-standalone .round-meta b{display:block;font-size:12px;line-height:1.3;color:#e8f0fa;font-weight:700}
.app-standalone .round-hero .round-instructions{margin-top:14px;padding:10px 12px;font-size:11px;line-height:1.55}
.app-standalone .round-action{background:#18243a;border:1px solid #2a3b52;border-radius:12px;padding:14px}
.app-standalone .round-action-copy{margin-bottom:12px}
.app-standalone .round-action-copy b{display:block;font-size:14px;line-height:1.3;color:#eef4fb;font-weight:700}
.app-standalone .round-action-copy span{display:block;font-size:10.5px;line-height:1.45;color:#8fa1b6;margin-top:3px}
.app-standalone .round-action .m-btn{height:52px;font-size:15px;border-radius:8px}
.app-standalone .round-action .m-note{font-size:11px;line-height:1.5;padding:11px 12px;border-radius:8px}
@media (max-width:360px){.app-standalone .round-hero{padding:16px 13px}.app-standalone .round-hero-copy h2{font-size:17px}.app-standalone .round-meta b{font-size:11px}}

/* ---------- Parking: confirmación de envío y detalle al escanear ---------- */
.app-standalone .parking-result{text-align:center;padding:22px 16px}
.app-standalone .parking-result.ok{border-color:rgba(34,197,94,.35);background:linear-gradient(160deg,rgba(34,197,94,.10),#18243a 58%)}
.app-standalone .parking-result.bad{border-color:rgba(239,68,68,.35);background:linear-gradient(160deg,rgba(239,68,68,.10),#18243a 58%)}
.app-standalone .parking-result-icon{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;margin:0 auto 12px;font-size:23px}
.app-standalone .parking-result.ok .parking-result-icon{background:rgba(34,197,94,.12);border:1px solid rgba(34,197,94,.32);color:#4ade80}
.app-standalone .parking-result.bad .parking-result-icon{background:rgba(239,68,68,.12);border:1px solid rgba(239,68,68,.32);color:#f87171}
.app-standalone .parking-result-title{font-size:18px;line-height:1.25;font-weight:800;letter-spacing:-.02em;color:#f8fafc}
.app-standalone .parking-result-text{font-size:11.5px;line-height:1.55;color:#9fb0c4;margin-top:5px}
.app-standalone .parking-result-text b{color:#e8f0fa;font-weight:700}
.app-standalone .parking-gallery{grid-template-columns:repeat(2,1fr);gap:8px}
.app-standalone .parking-optional{display:inline-block;margin-left:6px;padding:2px 6px;border-radius:999px;background:#24344a;border:1px solid #3a5069;color:#9fb0c4;font-size:8px;letter-spacing:.06em;text-transform:none;font-weight:600;vertical-align:middle}

/* ---------- Ronda en curso: tiempo y llamado a finalizar ---------- */
.app-standalone .round-live{background:linear-gradient(145deg,#1a2940,#152034);border-color:rgba(34,197,94,.32);box-shadow:0 12px 28px rgba(0,0,0,.22)}
.app-standalone .round-live-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.app-standalone .round-live-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;background:rgba(34,197,94,.10);border:1px solid rgba(34,197,94,.28);color:#6ee7a2;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.app-standalone .round-live-dot{width:7px;height:7px;border-radius:50%;background:#4ade80;animation:opsPulse 1.8s infinite}
@keyframes opsPulse{0%,100%{box-shadow:0 0 0 0 rgba(74,222,128,.45)}50%{box-shadow:0 0 0 5px rgba(74,222,128,0)}}
.app-standalone .round-live-count{font-size:9px;color:#8fa1b6;white-space:nowrap}
.app-standalone .round-live-count b{color:#e8f0fa;font-weight:700}
.app-standalone .round-live-time{display:flex;align-items:baseline;gap:8px;margin-top:14px}
.app-standalone .round-live-time #roundRemaining{font-family:var(--mono);font-size:36px;line-height:1;font-weight:800;color:#f8fafc;letter-spacing:-.03em}
.app-standalone .round-live-label{font-size:9px;text-transform:uppercase;letter-spacing:.1em;color:#8fa1b6;font-weight:700}
.app-standalone .round-live-bar{height:6px;border-radius:999px;background:#24344a;overflow:hidden;margin-top:12px}
.app-standalone .round-live-bar span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#22c55e,#f59e0b);transition:width .5s}
.app-standalone .round-live-meta{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:8px;font-size:9px;color:#7f91a6}
.app-standalone .round-live-meta b{color:#c3d2e3;font-weight:600}
.app-standalone .round-live-note{margin-top:12px;padding:10px 11px;border-left:3px solid #22c55e;background:rgba(34,197,94,.06);border-radius:0 6px 6px 0;font-size:10.5px;line-height:1.5;color:#b9c6d6}
.app-standalone .round-session-closed{display:inline-flex;align-items:center;gap:6px;margin-top:14px;padding:6px 10px;border-radius:999px;background:rgba(56,189,248,.10);border:1px solid rgba(56,189,248,.25);color:#7dd3fc;font-size:9px;font-weight:700;letter-spacing:.04em}

/* ============================================================
   Refresh UI operativa: legibilidad, distribución y acciones fijas
   ============================================================ */
.app-standalone .app-top{flex:none;padding:calc(14px + env(safe-area-inset-top)) 16px 10px;gap:12px;min-width:0}
.app-standalone .app-top .at b{font-size:16px}
.app-standalone .app-top .at span{font-size:11px}
.app-standalone .app-scroll{flex:1 1 auto;min-height:0;height:auto;padding:16px 16px calc(38px + env(safe-area-inset-bottom))}
.app-standalone .m-title{margin:20px 2px 10px}
.app-standalone .m-title h3{font-size:12px}
.app-standalone .m-title span{font-size:11px}

.app-standalone .m-stat{gap:10px;margin-bottom:18px}
.app-standalone .m-stat div{padding:13px 14px;border-radius:10px}
.app-standalone .m-stat b{font-size:22px}
.app-standalone .m-stat span{font-size:10px}

.app-standalone .m-item{padding:14px;gap:12px;border-radius:12px;margin-bottom:9px}
.app-standalone .m-item .mic{width:42px;height:42px;border-radius:10px;font-size:16px}
.app-standalone .m-item .mb b{font-size:15px}
.app-standalone .m-item .mb span{font-size:11.5px}
.app-standalone .m-item .pill{font-size:9.5px;padding:5px 8px}
.app-standalone .m-chev{color:#64748b;font-size:12px;flex:none}

.app-standalone .m-card{padding:16px;border-radius:12px}
.app-standalone .m-field{margin-bottom:15px}
.app-standalone .m-field label{font-size:10.5px;margin-bottom:6px}
.app-standalone .m-inp{font-size:15px;padding:13px 14px;border-radius:9px}
.app-standalone .m-btn{height:52px;font-size:15px;border-radius:10px}
.app-standalone .m-btn:disabled{opacity:.55;box-shadow:none}
.app-standalone .m-btn.ghost{height:42px;font-size:12.5px}
.app-standalone .m-btn.ghost.topbar-btn{height:38px;font-size:11px}
.app-standalone .topbar-btn.icon-only{width:38px;min-width:38px;padding:0}
.app-standalone .m-note{font-size:11.5px;line-height:1.55;padding:11px 12px;border-radius:8px}
.app-standalone .m-empty{font-size:12px;padding:20px 10px}

.app-standalone .ops-branch{padding:18px;border-radius:13px;margin-bottom:18px}
.app-standalone .ops-branch .ob-title{font-size:18px}
.app-standalone .ops-branch .ob-meta{font-size:12.5px}
.app-standalone .ops-branch .ob-ceco{font-size:11px}
.app-standalone .ops-services{gap:14px}
.app-standalone .ops-service{min-height:106px;padding:18px;border-radius:14px;gap:15px}
.app-standalone .ops-service .os-ic{width:58px;height:58px;border-radius:14px}
.app-standalone .ops-service .os-ic i{font-size:25px}
.app-standalone .ops-service .os-body b{font-size:18px}
.app-standalone .ops-service .os-body small{font-size:12.5px}
.app-standalone .ops-service .os-arrow{font-size:16px}

.app-standalone .ops-record{padding:13px 14px;border-radius:11px;margin-bottom:8px;gap:12px}
.app-standalone .ops-record b{font-size:14px}
.app-standalone .ops-record span{font-size:11.5px}
.app-standalone .ops-record .or-ic{width:40px;height:40px;border-radius:10px;font-size:15px}
.app-standalone .ops-record .or-actions button{height:38px;font-size:11px;padding:0 12px}

.app-standalone .round-hero{padding:20px 18px;border-radius:14px}
.app-standalone .round-hero-copy h2{font-size:22px}
.app-standalone .round-hero-copy p{font-size:13px}
.app-standalone .round-meta{gap:10px;margin-top:18px}
.app-standalone .round-meta div{min-height:64px;padding:11px 12px;border-radius:10px}
.app-standalone .round-meta span{font-size:9px}
.app-standalone .round-meta b{font-size:14px}
.app-standalone .round-hero .round-instructions{font-size:12.5px;padding:12px 14px}
.app-standalone .round-action{position:sticky;bottom:calc(8px + env(safe-area-inset-bottom));z-index:8;padding:15px;border-radius:14px;background:linear-gradient(180deg,rgba(24,36,58,.96),#18243a);box-shadow:0 -10px 26px rgba(0,0,0,.28)}
.app-standalone .round-action-copy b{font-size:15px}
.app-standalone .round-action-copy span{font-size:12px}
.app-standalone .round-action .m-btn{height:54px;font-size:15px}

.app-standalone .app-sticky-action{position:static;padding:14px 0 0;background:transparent}
.app-standalone .app-sticky-action .tiny{font-size:10.5px}

.app-standalone .round-live-time #roundRemaining{font-size:44px}
.app-standalone .round-live-note{font-size:12px}
.app-standalone .round-live-count{font-size:10.5px}
.app-standalone .round-live-meta{font-size:10.5px}

.app-standalone .m-photos{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.app-standalone .m-photo{border-radius:10px}
.app-standalone .m-photo span{font-size:9px}
.app-standalone .sig-canvas{height:150px;border-radius:10px}

.toast{right:14px;bottom:calc(14px + env(safe-area-inset-bottom));max-width:calc(100vw - 28px);font-size:13px;padding:13px 15px;border-radius:10px;z-index:340}
body.ops-offline .toast{bottom:calc(70px + env(safe-area-inset-bottom))}

.net-banner{position:fixed;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:240;display:flex;align-items:center;gap:9px;padding:11px 13px;border-radius:10px;background:#7f1d1d;border:1px solid #b91c1c;color:#fecaca;font-size:12px;font-weight:600;box-shadow:0 12px 30px rgba(0,0,0,.35);pointer-events:none}
.net-banner i{color:#fca5a5}

.app-standalone .error-state{background:#18243a;border:1px solid #2a3b52;border-radius:14px;padding:24px 18px;text-align:center;margin-top:8px}
.app-standalone .error-state .error-icon{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;margin:0 auto 14px;background:rgba(245,158,11,.12);border:1px solid rgba(245,158,11,.3);color:#fbbf24;font-size:23px}
.app-standalone .error-state h3{font-size:18px;color:#f8fafc;font-weight:800;margin-bottom:6px}
.app-standalone .error-state p{font-size:13px;line-height:1.55;color:#9fb0c4;margin-bottom:18px}

.app-standalone .pending-photo{grid-column:1 / -1;display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:9px;background:rgba(239,68,68,.08);border:1px solid rgba(239,68,68,.3);color:#fca5a5;font-size:11.5px;line-height:1.45}
.app-standalone .pending-photo button{margin-left:auto;height:34px;padding:0 12px;border-radius:8px;border:1px solid #b91c1c;background:#7f1d1d;color:#fecaca;font-size:11px;font-weight:700;flex:none}

@media (max-width:360px){
  .app-standalone .app-top .at b{font-size:15px}
  .app-standalone .round-hero-copy h2{font-size:19px}
  .app-standalone .round-meta{grid-template-columns:1fr}
  .app-standalone .m-stat b{font-size:20px}
}

/* Evita desbordes horizontales y verticales en pantallas angostas */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
html,body{overflow-x:hidden}
.app-standalone{overflow-wrap:break-word}
.app-standalone,.app-standalone .device-screen,.app-standalone .app-scroll{width:100%;max-width:100%;min-width:0}
.app-standalone .device-screen{height:100%;min-height:0}
.app-standalone .app-top{min-width:0}
.app-standalone .app-top .at{flex:1;min-width:0;max-width:100%}
.app-standalone .app-top .ar{flex:none}
.app-standalone .app-scroll{overflow-x:hidden}
.app-standalone .m-note,.app-standalone .ops-note,.app-standalone .round-instructions,.app-standalone .m-item .mb span,.app-standalone .ops-record span,.app-standalone .ops-branch .ob-meta{overflow-wrap:anywhere}
.app-standalone .m-stat,.app-standalone .ops-services,.app-standalone .m-item,.app-standalone .m-card,.app-standalone .ops-branch,.app-standalone .round-hero,.app-standalone .round-action,.app-standalone .ops-record{min-width:0;max-width:100%}
.app-standalone .m-stat{grid-template-columns:repeat(3,minmax(0,1fr))}
.app-standalone .m-kpi{grid-template-columns:repeat(2,minmax(0,1fr))}
.app-standalone .m-item .mb{min-width:0;overflow:hidden}

/* ============================================================
   Login de servicio
   ============================================================ */
.app-standalone .login-shell{position:absolute;inset:0;display:flex;flex-direction:column;background:radial-gradient(120% 60% at 50% -10%,rgba(255,0,43,.13),transparent 60%),linear-gradient(180deg,#0b1322,#0f172a 46%,#0a1020);overflow-y:auto;-webkit-overflow-scrolling:touch;padding:calc(14px + env(safe-area-inset-top)) 18px calc(16px + env(safe-area-inset-bottom))}
.app-standalone .login-head{display:flex;align-items:center;gap:12px;flex:none;min-height:44px}
.app-standalone .login-back{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:rgba(148,163,184,.08);border:1px solid #2a3b52;color:#cbd5e1;font-size:15px;flex:none}
.app-standalone .login-back:active{background:#1b2a40}
.app-standalone .login-logo{height:34px;width:auto;margin-left:2px}
.app-standalone .login-head-tag{margin-left:auto;font-size:9.5px;letter-spacing:.14em;text-transform:uppercase;color:#7f91a6;font-weight:700}
.app-standalone .login-content{flex:1;display:flex;flex-direction:column;justify-content:center;gap:22px;padding:24px 0 10px;max-width:440px;width:100%;margin:0 auto;min-height:0}
.app-standalone .login-brand{text-align:center;margin-bottom:0}
.app-standalone .login-eyebrow{display:inline-block;font-size:10px;letter-spacing:.22em;text-transform:uppercase;color:#8fa1b6;font-weight:700;margin-bottom:6px}
.app-standalone .login-brand h1{font-size:38px;line-height:1;font-weight:800;letter-spacing:.16em;color:#f8fafc;text-shadow:0 8px 30px rgba(255,0,43,.18)}
.app-standalone .login-brand h1::after{content:"";display:block;width:44px;height:3px;border-radius:99px;background:linear-gradient(90deg,var(--red),#f59e0b);margin:12px auto 0}
.app-standalone .login-brand p{font-size:12.5px;color:#8fa1b6;margin-top:12px;line-height:1.5}
.app-standalone .login-card{display:flex;flex-direction:column;gap:0;width:100%;max-width:440px;margin:0 auto;background:linear-gradient(165deg,#18243a,#111b2c);border:1px solid #2a3b52;border-radius:18px;padding:20px 18px;box-shadow:0 24px 60px rgba(0,0,0,.42)}
.app-standalone .login-service{display:flex;align-items:center;gap:12px;padding:12px;border-radius:13px;background:rgba(8,15,27,.55);border:1px solid #26374d;margin-bottom:18px}
.app-standalone .login-service-ic{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:rgba(255,0,43,.12);border:1px solid rgba(255,0,43,.22);color:var(--red);font-size:18px;flex:none}
.app-standalone .login-service-copy{min-width:0;flex:1}
.app-standalone .login-service-copy b{display:block;font-size:15px;color:#f1f5f9;font-weight:800;letter-spacing:-.01em}
.app-standalone .login-service-copy span{display:block;font-size:11px;color:#8fa1b6;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.app-standalone .login-secure-chip{display:inline-flex;align-items:center;gap:4px;padding:4px 7px;border-radius:999px;background:rgba(34,197,94,.10);border:1px solid rgba(34,197,94,.25);color:#6ee7a2;font-size:8.5px;font-weight:700;letter-spacing:.04em;flex:none}
.app-standalone .login-card h2{font-size:22px;font-weight:800;letter-spacing:-.02em;color:#f8fafc}
.app-standalone .login-sub{font-size:12px;line-height:1.5;color:#8fa1b6;margin:5px 0 16px}
.app-standalone .login-field{margin-bottom:13px}
.app-standalone .login-field label{display:block;font-size:10px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:#8fa1b6;margin-bottom:6px}
.app-standalone .login-input-wrap{display:flex;align-items:center;gap:10px;background:#0b1423;border:1px solid #2a3b52;border-radius:11px;padding:0 13px;height:52px;transition:border-color .15s,box-shadow .15s}
.app-standalone .login-input-wrap:focus-within{border-color:rgba(255,0,43,.55);box-shadow:0 0 0 3px rgba(255,0,43,.10)}
.app-standalone .login-input-wrap > i{color:#64748b;font-size:14px;flex:none}
.app-standalone .login-input{flex:1;min-width:0;height:100%;border:0;background:transparent;color:#f1f5f9;font-size:16px;outline:none;padding:0}
.app-standalone .login-input::placeholder{color:#5b6b80}
.app-standalone .login-eye{width:38px;height:38px;border-radius:9px;display:grid;place-items:center;color:#94a3b8;background:transparent;flex:none}
.app-standalone .login-eye:active{background:#1b2a40}
.app-standalone .login-error{display:none;margin:2px 0 12px;padding:10px 11px;border-radius:9px;background:rgba(239,68,68,.10);border:1px solid rgba(239,68,68,.30);color:#fca5a5;font-size:11.5px;line-height:1.45}
.app-standalone .login-error.visible{display:block;animation:loginErrorIn .18s ease}
.app-standalone .login-cta{width:100%;height:54px;font-size:15.5px;border-radius:12px;margin-top:2px}
.app-standalone .login-help{display:flex;align-items:flex-start;gap:8px;margin-top:16px;padding-top:14px;border-top:1px solid #26374d;font-size:10.5px;line-height:1.5;color:#7f91a6}
.app-standalone .login-help i{color:#64748b;font-size:12px;margin-top:2px}
.app-standalone .login-foot{flex:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:14px;font-size:9.5px;color:#5b6b80;letter-spacing:.04em;text-transform:uppercase}
.app-standalone .login-foot span{display:inline-flex;align-items:center;gap:5px}
.app-standalone .login-foot i{color:#22c55e}
.app-standalone .login-card.shake{animation:loginShake .34s ease}
@keyframes loginShake{0%,100%{transform:translateX(0)}20%{transform:translateX(-6px)}40%{transform:translateX(6px)}60%{transform:translateX(-4px)}80%{transform:translateX(4px)}}
@keyframes loginErrorIn{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}

/* ============================================================
   Animación de inicio de ronda
   ============================================================ */
.round-start-overlay{position:fixed;inset:0;z-index:600;display:grid;place-items:center;padding:24px;background:radial-gradient(90% 60% at 50% 30%,rgba(34,197,94,.14),transparent 65%),rgba(4,10,20,.94);opacity:0;transition:opacity .28s ease}
.round-start-overlay.visible{opacity:1}
.round-start-box{width:100%;max-width:330px;text-align:center;transform:translateY(10px) scale(.98);transition:transform .35s cubic-bezier(.2,.9,.2,1)}
.round-start-overlay.visible .round-start-box{transform:translateY(0) scale(1)}
.round-start-visual{position:relative;width:120px;height:120px;margin:0 auto 22px;display:grid;place-items:center}
.rs-core{position:relative;z-index:2;width:76px;height:76px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#22c55e,#15803d);color:#fff;font-size:30px;box-shadow:0 0 0 10px rgba(34,197,94,.10),0 18px 40px rgba(34,197,94,.25);animation:rsCore .6s cubic-bezier(.2,.9,.2,1) both}
.rs-ring{position:absolute;inset:0;border-radius:50%;border:2px solid rgba(74,222,128,.55);animation:rsRing 1.6s ease-out infinite}
.rs-ring-2{animation-delay:.7s}
@keyframes rsRing{0%{transform:scale(.55);opacity:.8}100%{transform:scale(1.25);opacity:0}}
@keyframes rsCore{0%{transform:scale(.4);opacity:0}60%{transform:scale(1.06)}100%{transform:scale(1);opacity:1}}
.round-start-eyebrow{display:inline-block;font-size:10px;letter-spacing:.22em;text-transform:uppercase;font-weight:800;color:#6ee7a2;margin-bottom:8px}
.round-start-box h2{font-size:23px;line-height:1.15;font-weight:800;color:#f8fafc;letter-spacing:-.02em}
.round-start-box p{font-size:12px;color:#8fa1b6;margin-top:6px}
.round-start-bar{height:4px;border-radius:99px;background:#24344a;overflow:hidden;margin:18px auto 12px;max-width:220px}
.round-start-bar span{display:block;height:100%;width:0;border-radius:99px;background:linear-gradient(90deg,#22c55e,#f59e0b);animation:rsBar 1.7s ease forwards}
@keyframes rsBar{0%{width:4%}70%{width:78%}100%{width:100%}}
.round-start-hint{font-size:10px;color:#64748b;letter-spacing:.03em}

/* ============================================================
   Recordatorio persistente de ronda en curso
   ============================================================ */
.round-reminder{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:230;display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:13px;background:linear-gradient(135deg,rgba(21,128,61,.96),rgba(15,63,38,.98));border:1px solid rgba(74,222,128,.45);color:#eafff2;box-shadow:0 14px 34px rgba(0,0,0,.42);animation:reminderIn .25s ease}
.round-reminder.hidden{display:none}
.rr-ic{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);font-size:16px;flex:none}
.rr-copy{min-width:0;flex:1}
.rr-copy b{display:block;font-size:12.5px;font-weight:800;letter-spacing:.01em}
.rr-copy span{display:block;font-size:10.5px;line-height:1.35;color:#c8f7d8;margin-top:1px}
.rr-action{flex:none;height:36px;padding:0 14px;border-radius:9px;background:#eafff2;color:#14532d;font-size:11.5px;font-weight:800;border:0}
.rr-action:active{transform:scale(.97)}
@keyframes reminderIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
body.has-round-reminder .toast{bottom:calc(84px + env(safe-area-inset-bottom))}
body.ops-offline .round-reminder{bottom:calc(70px + env(safe-area-inset-bottom))}
body.ops-offline .round-action{bottom:calc(58px + env(safe-area-inset-bottom))}
body.ops-offline .app-sticky-action{padding-bottom:calc(58px + env(safe-area-inset-bottom))}
body.ops-offline.has-round-reminder .toast{bottom:calc(142px + env(safe-area-inset-bottom))}

@media (max-width:360px){
  .app-standalone .login-brand h1{font-size:33px}
  .app-standalone .login-card{padding:18px 15px}
  .app-standalone .login-card h2{font-size:20px}
  .app-standalone .round-reminder{padding:9px 10px;gap:8px}
  .rr-copy b{font-size:11.5px}
  .rr-copy span{font-size:9.5px}
}
@media (max-height:700px){
  .app-standalone .login-content{justify-content:flex-start;gap:16px;padding-top:18px}
  .app-standalone .login-brand h1{font-size:32px}
  .app-standalone .login-brand p{margin-top:8px}
}

/* ---------- Cámara integrada: selección de lente y captura ---------- */
.app-standalone .ops-camera{position:fixed;inset:0;z-index:320;background:rgba(3,8,16,.97);display:flex;align-items:center;justify-content:center}
.app-standalone .ops-camera-box{width:100%;height:100%;max-width:540px;background:#050b14;display:flex;flex-direction:column;overflow:hidden}
.app-standalone .ops-camera-head{display:flex;align-items:center;justify-content:space-between;padding:calc(10px + env(safe-area-inset-top)) 14px 10px;background:#0b1322;border-bottom:1px solid #26374d;font-size:12px;font-weight:700;color:#e6edf6}
.app-standalone .ops-camera-head button{background:none;border:0;color:#94a3b8;font-size:24px;line-height:1;cursor:pointer;padding:0 4px}
.app-standalone .ops-camera-stage{position:relative;flex:1;min-height:0;background:#000;display:flex;align-items:center;justify-content:center}
.app-standalone .ops-camera-stage video{width:100%;height:100%;object-fit:cover;display:block;background:#000}
.app-standalone .ops-camera-error{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:22px;text-align:center;background:rgba(5,11,20,.95);color:#e6edf6}
.app-standalone .ops-camera-error[hidden]{display:none}
.app-standalone .ops-camera-error i{font-size:30px;color:#f59e0b}
.app-standalone .ops-camera-error b{font-size:13px}
.app-standalone .ops-camera-error span{font-size:11px;color:#9fb0c4;line-height:1.55;max-width:300px}
.app-standalone .ops-camera-error-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:6px}
.app-standalone .ops-camera-error-actions .m-btn{width:auto;min-width:0;padding:0 12px;height:34px;font-size:10px}
.app-standalone .ops-camera-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px calc(18px + env(safe-area-inset-bottom));background:#0b1322;border-top:1px solid #26374d}
.app-standalone .ops-camera-shutter{width:66px;height:66px;border-radius:50%;border:3px solid #fff;background:transparent;display:grid;place-items:center;cursor:pointer;flex:none;padding:0}
.app-standalone .ops-camera-shutter span{width:50px;height:50px;border-radius:50%;background:#fff;display:block}
.app-standalone .ops-camera-shutter:disabled{opacity:.4}
.app-standalone .ops-camera-switch,.app-standalone .ops-camera-cancel{border:0;background:none;color:#cbd5e1;font-size:10px;font-weight:700;cursor:pointer;min-width:76px;padding:8px 4px}
.app-standalone .ops-camera-switch i{font-size:22px}
.app-standalone .ops-camera-switch:disabled{opacity:.35}
.app-standalone .ops-camera-hint{padding:6px 14px calc(8px + env(safe-area-inset-bottom));background:#0b1322;color:#7f91a6;font-size:9px;text-align:center;line-height:1.4}

/* ---------- Escáner: guía de encuadre, errores de cámara y selector de lente ---------- */
.app-standalone .ops-scanner-stage{position:relative;background:#000;overflow:hidden}
.app-standalone .ops-scan-guide{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;pointer-events:none}
.app-standalone .ops-scan-guide[hidden]{display:none}
.app-standalone .ops-scan-guide .sg-frame{position:relative;width:min(62%,228px,34vh);aspect-ratio:1/1;border-radius:14px;box-shadow:0 0 0 9999px rgba(3,8,16,.46)}
.app-standalone .ops-scan-guide .sg-c{position:absolute;width:26px;height:26px;border:3px solid #4ade80;border-radius:3px;filter:drop-shadow(0 0 4px rgba(74,222,128,.45))}
.app-standalone .ops-scan-guide .sg-c.tl{top:-1px;left:-1px;border-right:0;border-bottom:0;border-top-left-radius:14px}
.app-standalone .ops-scan-guide .sg-c.tr{top:-1px;right:-1px;border-left:0;border-bottom:0;border-top-right-radius:14px}
.app-standalone .ops-scan-guide .sg-c.bl{bottom:-1px;left:-1px;border-right:0;border-top:0;border-bottom-left-radius:14px}
.app-standalone .ops-scan-guide .sg-c.br{bottom:-1px;right:-1px;border-left:0;border-top:0;border-bottom-right-radius:14px}
.app-standalone .ops-scan-guide .sg-text{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;background:rgba(15,23,42,.86);border:1px solid rgba(74,222,128,.36);color:#d1fae5;font-size:10px;font-weight:700;letter-spacing:.01em;white-space:nowrap;max-width:92%;overflow:hidden;text-overflow:ellipsis}
.app-standalone .ops-scanner-error{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:18px;text-align:center;background:rgba(5,11,20,.95);color:#e6edf6}
.app-standalone .ops-scanner-error[hidden]{display:none}
.app-standalone .ops-scanner-error i{font-size:26px;color:#f59e0b}
.app-standalone .ops-scanner-error b{font-size:12px}
.app-standalone .ops-scanner-error span{font-size:9px;color:#9fb0c4;line-height:1.5;max-width:280px}
.app-standalone .ops-scanner-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:center;margin-top:5px}
.app-standalone .ops-scanner-actions button{border:1px solid #3a5069;background:#142136;color:#dbe7f4;border-radius:6px;padding:6px 10px;font-size:9px;font-weight:700;cursor:pointer}
.app-standalone .ops-scanner-foot{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;row-gap:6px;padding:10px 13px;font-size:9px;color:#7f91a6;text-align:center;line-height:1.5}
.app-standalone .ops-scanner-foot #scanCameraName{max-width:46%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;text-decoration:underline dotted;text-underline-offset:2px}
.app-standalone .ops-scanner-foot button{display:inline-flex;align-items:center;gap:4px;border:1px solid #2a3b52;background:#0f1a2b;color:#b9c9db;border-radius:5px;padding:4px 8px;font-size:8px;font-weight:700;cursor:pointer}
.app-standalone .ops-scanner-foot button[hidden]{display:none}
.app-standalone .ops-scanner-foot button.on{border-color:#f59e0b;background:#3a2a08;color:#fbbf24}
.app-standalone .ops-scanner-foot button:active{transform:scale(.96)}
.app-standalone .ops-focus-ring{position:fixed;width:54px;height:54px;margin:-27px 0 0 -27px;border:2px solid #fbbf24;border-radius:50%;pointer-events:none;z-index:5;animation:ops-focus-pulse .7s ease-out forwards}
@keyframes ops-focus-pulse{0%{transform:scale(1.5);opacity:0}25%{opacity:1}100%{transform:scale(.85);opacity:0}}
.app-standalone .ops-scanner-hint{padding:0 13px 10px;font-size:10px;color:#fbbf24;text-align:center;line-height:1.45}

/* Selector de zoom (lente lógico) y diagnóstico de cámaras */
.app-standalone .ops-scanner-zoom{display:flex;align-items:center;justify-content:center;gap:10px;padding:2px 13px 4px}
.app-standalone .ops-scanner-zoom[hidden]{display:none}
.app-standalone .ops-scanner-zoom button{width:34px;height:34px;border-radius:50%;border:1px solid #2a3b52;background:#0f1a2b;color:#dbe7f4;font-size:12px;display:grid;place-items:center;cursor:pointer;padding:0}
.app-standalone .ops-scanner-zoom span{min-width:48px;text-align:center;font-family:var(--mono);font-size:11px;color:#e6edf6}
.app-standalone .ops-scanner-zoom button:active{transform:scale(.95)}
.app-standalone .ops-cam-report{position:absolute;inset:0;z-index:8;display:flex;flex-direction:column;padding:14px;background:rgba(5,11,20,.98);color:#e6edf6;overflow-y:auto}
.app-standalone .ops-cam-report-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:10px;border-bottom:1px solid #26374d}
.app-standalone .ops-cam-report-head b{font-size:12.5px}
.app-standalone .ops-cam-report-head button{background:none;border:0;color:#94a3b8;font-size:22px;line-height:1;cursor:pointer;padding:0 4px}
.app-standalone .ops-cam-report ul{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:7px}
.app-standalone .ops-cam-report li{background:#101b2c;border:1px solid #2a3b52;border-radius:8px;padding:8px 10px}
.app-standalone .ops-cam-report li b{display:block;font-size:11.5px;color:#eef4fb}
.app-standalone .ops-cam-report li span{display:block;font-size:9.5px;color:#8fa1b6;margin-top:2px;word-break:break-all}
.app-standalone .ops-cam-report p{margin-top:12px;font-size:10px;line-height:1.5;color:#9fb0c4}
.app-standalone .ops-cam-native{margin-top:14px;padding-top:12px;border-top:1px solid #26374d}
.app-standalone .ops-cam-native > b{display:block;font-size:12px;color:#eef4fb}


/* ============================================================
   Parking: formulario agrupado y resumen del carnet escaneado
   ============================================================ */
.app-standalone [hidden]{display:none!important}
.app-standalone .app-top .ar{display:flex;align-items:center;gap:6px}
.app-standalone .parking-section{padding:16px;margin-bottom:14px}
.app-standalone .ps-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}
.app-standalone .ps-title{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:800;letter-spacing:-.01em;color:#eef4fb}
.app-standalone .ps-title i{color:var(--red);font-size:13px}
.app-standalone .ps-help{margin:0 0 12px;font-size:11.5px;line-height:1.5;color:#8fa1b6}
.app-standalone .ps-scan{width:auto;height:38px;padding:0 12px;font-size:11.5px;flex:none}
.app-standalone .parking-person{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:10px;background:rgba(34,197,94,.08);border:1px solid rgba(34,197,94,.28)}
.app-standalone .parking-person .pp-ic{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:rgba(34,197,94,.16);color:#4ade80;flex:none}
.app-standalone .parking-person .pp-body{min-width:0;flex:1}
.app-standalone .parking-person .pp-body b{display:block;font-size:13.5px;color:#eef4fb;font-weight:700;line-height:1.3}
.app-standalone .parking-person .pp-body span{display:block;font-size:11px;color:#9fb0c4;margin-top:1px;font-family:var(--mono)}
.app-standalone .parking-person .pp-edit{flex:none;height:32px;padding:0 10px;border-radius:8px;border:1px solid #3a5069;background:transparent;color:#c7d5e5;font-size:11px;font-weight:700}

/* ============================================================
   Tema claro: blanco, rojo y negro
   ============================================================ */
html[data-theme="light"]{
  --red:#d81e2c;--red-dark:#b3121f;--red-hover:#e53241;
  --bg:#ffffff;--bg-deep:#f4f5f7;
  --card:#ffffff;--card-2:#f6f7f9;
  --line:#e3e6ea;--line-2:#d8dce2;
  --text:#111318;--text-2:#4b5563;--muted:#8a929e;
  color-scheme:light;
}
html[data-theme="light"] body{background:#f4f5f7;color:#111318}
html[data-theme="light"] .app-standalone{background:#fff;color:#111318}
html[data-theme="light"] .app-standalone .app-top{background:#fff;border-bottom-color:#e3e6ea}
html[data-theme="light"] .app-standalone .app-top .at b{color:#111318}
html[data-theme="light"] .app-standalone .app-top .at span{color:#5b6472}
html[data-theme="light"] .app-standalone .topbar-btn.ghost{color:#111318;border-color:#d8dce2;background:#fff}
html[data-theme="light"] .app-standalone .ops-hero h2{color:#111318}
html[data-theme="light"] .app-standalone .ops-hero p{color:#5b6472}
html[data-theme="light"] .app-standalone .ops-branch{background:#fff;border-color:#e3e6ea;box-shadow:0 6px 18px rgba(17,19,24,.06)}
html[data-theme="light"] .app-standalone .ops-branch .ob-title{color:#111318}
html[data-theme="light"] .app-standalone .ops-branch .ob-meta{color:#4b5563}
html[data-theme="light"] .app-standalone .ops-branch .ob-ceco{color:#8a929e}
html[data-theme="light"] .app-standalone .ops-service{background:#fff;border-color:#e3e6ea;color:#111318;box-shadow:0 6px 18px rgba(17,19,24,.05)}
html[data-theme="light"] .app-standalone .ops-service:active{background:#f6f7f9;border-color:#d8dce2}
html[data-theme="light"] .app-standalone .ops-service .os-body small{color:#5b6472}
html[data-theme="light"] .app-standalone .ops-service .os-arrow{color:#8a929e}
html[data-theme="light"] .app-standalone .ops-code{background:#f6f7f9;border-color:#d8dce2;color:#111318}
html[data-theme="light"] .app-standalone .ops-record{background:#fff;border-color:#e3e6ea}
html[data-theme="light"] .app-standalone .ops-record b{color:#111318}
html[data-theme="light"] .app-standalone .ops-record span{color:#5b6472}
html[data-theme="light"] .app-standalone .ops-note{color:#5b6472}
html[data-theme="light"] .app-standalone .m-card{background:#fff;border-color:#e3e6ea;box-shadow:0 6px 18px rgba(17,19,24,.05)}
html[data-theme="light"] .app-standalone .m-item{background:#fff;border-color:#e3e6ea}
html[data-theme="light"] .app-standalone .m-item .mb b{color:#111318}
html[data-theme="light"] .app-standalone .m-item .mb span{color:#5b6472}
html[data-theme="light"] .app-standalone .m-title h3{color:#111318}
html[data-theme="light"] .app-standalone .m-title span{color:#5b6472}
html[data-theme="light"] .app-standalone .m-field label{color:#5b6472}
html[data-theme="light"] .app-standalone .m-inp{background:#fff;border-color:#d8dce2;color:#111318}
html[data-theme="light"] .app-standalone .m-inp::placeholder{color:#9aa2ae}
html[data-theme="light"] .app-standalone .m-inp:focus{border-color:var(--red);box-shadow:0 0 0 3px rgba(216,30,44,.10)}
html[data-theme="light"] .app-standalone .m-btn.sec{background:#fff;border-color:#e3e6ea;color:#111318}
html[data-theme="light"] .app-standalone .m-btn.ghost{background:#fff;border-color:#d8dce2;color:#111318}
html[data-theme="light"] .app-standalone .m-note{background:#fff5f6;border-color:#f3c9ce;color:#8a1f2a}
html[data-theme="light"] .app-standalone .m-note.m-ok{background:#f1faf3;border-color:#bfe3c8;color:#2f6b3c}
html[data-theme="light"] .app-standalone .m-danger{background:#fff5f5;border-color:#f0c4c8;color:#a31824}
html[data-theme="light"] .app-standalone .m-empty{color:#8a929e}
html[data-theme="light"] .app-standalone .app-loading{background:#fff;color:#5b6472}
html[data-theme="light"] .app-standalone .spinner{border-color:#e3e6ea;border-top-color:var(--red)}
html[data-theme="light"] .app-standalone .round-hero{background:#fff;border-color:#e3e6ea;box-shadow:0 8px 22px rgba(17,19,24,.07)}
html[data-theme="light"] .app-standalone .round-hero-copy h2{color:#111318}
html[data-theme="light"] .app-standalone .round-hero-copy p{color:#5b6472}
html[data-theme="light"] .app-standalone .round-eyebrow{color:#8a929e}
html[data-theme="light"] .app-standalone .round-meta div{background:#f6f7f9;border-color:#e3e6ea}
html[data-theme="light"] .app-standalone .round-meta span{color:#8a929e}
html[data-theme="light"] .app-standalone .round-meta b{color:#111318}
html[data-theme="light"] .app-standalone .round-action{background:#fff;border-color:#e3e6ea;box-shadow:0 -10px 26px rgba(17,19,24,.08)}
html[data-theme="light"] .app-standalone .round-action-copy b{color:#111318}
html[data-theme="light"] .app-standalone .round-action-copy span{color:#5b6472}
html[data-theme="light"] .app-standalone .round-instructions{background:#fff5f6;color:#3f3a3b}
html[data-theme="light"] .app-standalone .round-strong{color:#111318}
html[data-theme="light"] .app-standalone .round-live{background:#fff;border-color:#cfe6d4;box-shadow:0 8px 22px rgba(17,19,24,.07)}
html[data-theme="light"] .app-standalone .round-live-time #roundRemaining{color:#111318}
html[data-theme="light"] .app-standalone .round-live-label,
html[data-theme="light"] .app-standalone .round-live-meta{color:#5b6472}
html[data-theme="light"] .app-standalone .round-live-meta b{color:#111318}
html[data-theme="light"] .app-standalone .round-live-bar{background:#eceef1}
html[data-theme="light"] .app-standalone .round-live-note{background:#f1faf3;color:#36523c}
html[data-theme="light"] .app-standalone .parking-result.ok{background:#fff;border-color:#bfe3c8}
html[data-theme="light"] .app-standalone .parking-result.bad{background:#fff;border-color:#f0c4c8}
html[data-theme="light"] .app-standalone .parking-result-title{color:#111318}
html[data-theme="light"] .app-standalone .parking-result-text{color:#5b6472}
html[data-theme="light"] .app-standalone .parking-optional{background:#f3f4f6;border-color:#e3e6ea;color:#5b6472}
html[data-theme="light"] .app-standalone .error-state{background:#fff;border-color:#e3e6ea}
html[data-theme="light"] .app-standalone .error-state h3{color:#111318}
html[data-theme="light"] .app-standalone .error-state p{color:#5b6472}
html[data-theme="light"] .app-standalone .login-shell{background:radial-gradient(120% 60% at 50% -10%,rgba(216,30,44,.10),transparent 60%),linear-gradient(180deg,#fff,#f4f5f7 46%,#fff)}
html[data-theme="light"] .app-standalone .login-head-tag,
html[data-theme="light"] .app-standalone .login-eyebrow{color:#8a929e}
html[data-theme="light"] .app-standalone .login-brand h1{color:#111318;text-shadow:none}
html[data-theme="light"] .app-standalone .login-brand p{color:#5b6472}
html[data-theme="light"] .app-standalone .login-card{background:#fff;border-color:#e3e6ea;box-shadow:0 18px 50px rgba(17,19,24,.10)}
html[data-theme="light"] .app-standalone .login-card h2{color:#111318}
html[data-theme="light"] .app-standalone .login-sub{color:#5b6472}
html[data-theme="light"] .app-standalone .login-service{background:#f6f7f9;border-color:#e3e6ea}
html[data-theme="light"] .app-standalone .login-service-copy b{color:#111318}
html[data-theme="light"] .app-standalone .login-service-copy span{color:#5b6472}
html[data-theme="light"] .app-standalone .login-input-wrap{background:#fff;border-color:#d8dce2}
html[data-theme="light"] .app-standalone .login-input{color:#111318}
html[data-theme="light"] .app-standalone .login-input::placeholder{color:#9aa2ae}
html[data-theme="light"] .app-standalone .login-back{background:#fff;border-color:#e3e6ea;color:#111318}
html[data-theme="light"] .app-standalone .login-help{color:#5b6472;border-color:#e3e6ea}
html[data-theme="light"] .app-standalone .login-foot{color:#8a929e}
html[data-theme="light"] .app-standalone .m-stat div{background:#fff;border-color:#e3e6ea}
html[data-theme="light"] .app-standalone .m-stat b{color:#111318}
html[data-theme="light"] .app-standalone .m-stat span{color:#5b6472}
html[data-theme="light"] .app-standalone .ps-title{color:#111318}
html[data-theme="light"] .app-standalone .ps-help{color:#5b6472}
html[data-theme="light"] .app-standalone .parking-person{background:#f1faf3;border-color:#bfe3c8}
html[data-theme="light"] .app-standalone .parking-person .pp-body b{color:#111318}
html[data-theme="light"] .app-standalone .parking-person .pp-body span{color:#5b6472}
html[data-theme="light"] .app-standalone .parking-person .pp-edit{background:#fff;border-color:#d8dce2;color:#111318}
html[data-theme="light"] .toast{background:#111318;color:#fff}

/* Estados, GPS y detalle en tema claro */
html[data-theme="light"] .app-standalone .pill.ok{color:#1c7a43;background:#e8f7ee;border-color:#bfe3c8}
html[data-theme="light"] .app-standalone .pill.warn{color:#92610a;background:#fdf3df;border-color:#f0d9a8}
html[data-theme="light"] .app-standalone .pill.bad{color:#b3261e;background:#fdecec;border-color:#f3c9ce}
html[data-theme="light"] .app-standalone .pill.info{color:#0b6f97;background:#e8f4fb;border-color:#b9ddf0}
html[data-theme="light"] .app-standalone .pill.gray{color:#4b5563;background:#f3f4f6;border-color:#e3e6ea}
html[data-theme="light"] .app-standalone .pill.violet{color:#6d4fc4;background:#f1edfd;border-color:#d9ccf7}
html[data-theme="light"] .app-standalone .m-gps{background:#f1faf3;border-color:#bfe3c8}
html[data-theme="light"] .app-standalone .m-gps b{color:#2f6b3c}
html[data-theme="light"] .app-standalone .m-gps span{color:#5b6472}
html[data-theme="light"] .app-standalone .m-gps.warn{background:#fdf8ec;border-color:#f0d9a8}
html[data-theme="light"] .app-standalone .m-gps.warn b{color:#8a5a08}
html[data-theme="light"] .app-standalone .m-gps.warn span{color:#7a6432}
html[data-theme="light"] .app-standalone .m-gps.bad{background:#fdecec;border-color:#f3c9ce}
html[data-theme="light"] .app-standalone .m-gps.bad b{color:#a31824}
html[data-theme="light"] .app-standalone .m-gps.bad span{color:#7a4a4a}
html[data-theme="light"] .app-standalone .round-detail-grid div{background:#f6f7f9;border-color:#e3e6ea}
html[data-theme="light"] .app-standalone .round-detail-grid span{color:#8a929e}
html[data-theme="light"] .app-standalone .round-detail-grid b{color:#111318}

.app-standalone .login-head .topbar-btn{height:34px;width:34px;min-width:34px;padding:0;border-radius:10px;flex:none}

/* ============================================================
   Sistema visual recto: menos radios, más estructura
   ============================================================ */
.app-standalone .m-card,
.app-standalone .ops-branch,
.app-standalone .ops-service,
.app-standalone .m-item,
.app-standalone .ops-record,
.app-standalone .round-hero,
.app-standalone .round-action,
.app-standalone .round-live,
.app-standalone .error-state,
.app-standalone .parking-section,
.app-standalone .parking-result,
.app-standalone .m-note,
.app-standalone .pending-photo,
.app-standalone .m-stat div,
.app-standalone .round-meta div,
.app-standalone .m-photo,
.app-standalone .ops-qr,
.app-standalone .ops-code,
.app-standalone .m-gps,
.app-standalone .round-instructions,
.app-standalone .ops-scanner-box,
.app-standalone .ops-cam-report li{border-radius:2px}

.app-standalone .m-btn,
.app-standalone .m-inp,
.app-standalone .topbar-btn,
.app-standalone .login-back,
.app-standalone .ps-scan,
.app-standalone .pp-edit,
.app-standalone .ops-record .or-actions button,
.app-standalone .ops-scanner-actions button,
.app-standalone .ops-scanner-zoom button,
.app-standalone .ops-scanner-foot button,
.app-standalone .pending-photo button,
.app-standalone .rr-action,
.app-standalone .login-eye{border-radius:2px}

.app-standalone .pill,
.app-standalone .parking-optional,
.app-standalone .login-secure-chip,
.app-standalone .round-live-badge,
.app-standalone .round-session-closed{border-radius:2px}

.app-standalone .ops-service .os-ic,
.app-standalone .ops-record .or-ic,
.app-standalone .m-item .mic,
.app-standalone .round-hero-icon,
.app-standalone .login-service-ic,
.app-standalone .pp-ic,
.app-standalone .parking-result-icon{border-radius:3px}

/* Barra superior con acento recto */
.app-standalone .app-top{border-bottom:2px solid var(--red)}
.app-standalone .m-title h3{position:relative;padding-left:10px;text-transform:uppercase;letter-spacing:.08em;font-size:11px}
.app-standalone .m-title h3::before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:3px;height:14px;background:var(--red)}

/* ============================================================
   Login: terminal de acceso (no tarjeta genérica centrada)
   ============================================================ */
.app-standalone .login-shell{
  background:
    linear-gradient(145deg,rgba(216,30,44,.12) 0 18%,transparent 18.2%),
    #080e19;
  padding:calc(14px + env(safe-area-inset-top)) 18px calc(14px + env(safe-area-inset-bottom));
}
.app-standalone .login-head{
  display:flex;align-items:center;gap:11px;padding-bottom:12px;border-bottom:1px solid rgba(148,163,184,.22);
}
.app-standalone .login-logo{height:30px;margin:0}
.app-standalone .login-head-copy{display:flex;flex-direction:column;line-height:1.1;min-width:0}
.app-standalone .login-head-copy b{font-size:13px;letter-spacing:.16em;color:#eef4fb;font-weight:800}
.app-standalone .login-head-copy span{font-size:8.5px;letter-spacing:.14em;text-transform:uppercase;color:#8fa1b6;margin-top:2px}
.app-standalone .login-head .topbar-btn{margin-left:auto;background:transparent;border-color:rgba(148,163,184,.25)}
.app-standalone .login-content{justify-content:center;gap:20px;padding:16px 0 8px;max-width:440px;margin:0 auto}
.app-standalone .login-brand{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:0;margin:0;padding:0}
.app-standalone .login-eyebrow{display:inline-flex;align-items:center;gap:7px;font-size:9px;letter-spacing:.2em;text-transform:uppercase;color:#c7d5e5;font-weight:700;margin:0 0 10px}
.app-standalone .login-eyebrow i{width:7px;height:7px;background:var(--red);display:block;flex:none}
.app-standalone .login-brand h1{font-size:46px;line-height:.92;letter-spacing:.02em;font-weight:800;color:#f8fafc;text-shadow:none}
.app-standalone .login-brand h1::after{content:none}
.app-standalone .login-brand-rule{width:100%;height:2px;background:linear-gradient(90deg,var(--red) 0 34%,rgba(148,163,184,.18) 34%);margin:12px 0}
.app-standalone .login-brand p{font-size:12px;line-height:1.55;color:#8fa1b6;max-width:330px;margin:0}
.app-standalone .login-card{
  display:block;padding:0;max-width:440px;width:100%;margin:0 auto;
  background:#0e1726;border:1px solid #26374d;border-top:3px solid var(--red);border-radius:0;
  clip-path:polygon(0 0,calc(100% - 18px) 0,100% 18px,100% 100%,0 100%);
  box-shadow:0 18px 40px rgba(0,0,0,.35);
}
.app-standalone .login-card-head{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid #26374d}
.app-standalone .login-step{font-family:var(--mono);font-size:20px;font-weight:700;color:var(--red);line-height:1}
.app-standalone .login-card-copy h2{font-size:17px;font-weight:800;color:#f8fafc;letter-spacing:-.01em}
.app-standalone .login-card-copy p{font-size:10.5px;color:#8fa1b6;margin-top:2px;line-height:1.4}
.app-standalone .login-form{padding:16px}
.app-standalone .login-field{margin-bottom:12px}
.app-standalone .login-input-wrap{
  height:50px;display:flex;align-items:stretch;gap:0;padding:0;border-radius:2px;
  background:#070d17;border:1px solid #33475f;transition:border-color .12s,box-shadow .12s;
}
.app-standalone .login-input-wrap:focus-within{border-color:var(--red);box-shadow:inset 3px 0 0 var(--red)}
.app-standalone .login-input-wrap > i{width:42px;display:grid;place-items:center;flex:none;background:rgba(255,255,255,.025);border-right:1px solid #26374d;color:#8fa1b6;font-size:13px}
.app-standalone .login-input{height:100%;padding:0 12px;font-size:15px;color:#f1f5f9}
.app-standalone .login-eye{width:42px;height:auto;border-left:1px solid #26374d;border-radius:0;color:#8fa1b6;background:transparent}
.app-standalone .login-cta{height:50px;border-radius:2px;font-size:13.5px;letter-spacing:.04em;text-transform:uppercase;margin-top:2px}
.app-standalone .login-error{margin:0 0 10px}
.app-standalone .login-help{padding:12px 16px 14px;border-top:1px dashed #26374d;margin:0;font-size:10.5px;color:#7f91a6;gap:8px}
.app-standalone .login-foot{padding-top:12px;border-top:1px solid rgba(148,163,184,.18);color:#5b6b80;font-size:8.5px;letter-spacing:.14em;text-transform:uppercase}
.app-standalone .login-foot-mark{font-family:var(--mono);color:#8fa1b6}

html[data-theme="light"] .app-standalone .login-shell{
  background:
    linear-gradient(145deg,rgba(216,30,44,.10) 0 18%,transparent 18.2%),
    #f4f5f7;
}
html[data-theme="light"] .app-standalone .login-head{border-bottom-color:#e3e6ea}
html[data-theme="light"] .app-standalone .login-head-copy b{color:#111318}
html[data-theme="light"] .app-standalone .login-head-copy span{color:#5b6472}
html[data-theme="light"] .app-standalone .login-head .topbar-btn{background:#fff;border-color:#d8dce2;color:#111318}
html[data-theme="light"] .app-standalone .login-eyebrow{color:#4b5563}
html[data-theme="light"] .app-standalone .login-brand h1{color:#111318}
html[data-theme="light"] .app-standalone .login-brand-rule{background:linear-gradient(90deg,var(--red) 0 34%,#e3e6ea 34%)}
html[data-theme="light"] .app-standalone .login-brand p{color:#5b6472}
html[data-theme="light"] .app-standalone .login-card{background:#fff;border-color:#e3e6ea;border-top-color:var(--red);box-shadow:0 18px 40px rgba(17,19,24,.10)}
html[data-theme="light"] .app-standalone .login-card-head{border-bottom-color:#e3e6ea}
html[data-theme="light"] .app-standalone .login-card-copy h2{color:#111318}
html[data-theme="light"] .app-standalone .login-card-copy p{color:#5b6472}
html[data-theme="light"] .app-standalone .login-input-wrap{background:#fff;border-color:#d8dce2}
html[data-theme="light"] .app-standalone .login-input-wrap > i{background:#f6f7f9;border-right-color:#e3e6ea;color:#5b6472}
html[data-theme="light"] .app-standalone .login-input{color:#111318}
html[data-theme="light"] .app-standalone .login-input::placeholder{color:#9aa2ae}
html[data-theme="light"] .app-standalone .login-eye{border-left-color:#e3e6ea;color:#5b6472}
html[data-theme="light"] .app-standalone .login-help{border-top-color:#e3e6ea;color:#5b6472}
html[data-theme="light"] .app-standalone .login-foot{border-top-color:#e3e6ea;color:#8a929e}
html[data-theme="light"] .app-standalone .login-foot-mark{color:#5b6472}

@media (max-height:720px){
  .app-standalone .login-content{justify-content:flex-start;gap:16px;padding-top:10px}
  .app-standalone .login-brand h1{font-size:38px}
  .app-standalone .login-brand p{font-size:11px}
}
@media (max-width:360px){
  .app-standalone .login-brand h1{font-size:40px}
  .app-standalone .login-card-head{padding:12px 13px}
  .app-standalone .login-form{padding:13px}
}

/* Ajustes del rediseño */
.app-standalone .login-eye{align-self:stretch}
.app-standalone .login-card{box-shadow:none;filter:drop-shadow(0 16px 28px rgba(0,0,0,.38))}
html[data-theme="light"] .app-standalone .login-card{box-shadow:none;filter:drop-shadow(0 16px 28px rgba(17,19,24,.12))}
html[data-theme="light"] .app-standalone .app-top{border-bottom:2px solid var(--red)}

/* Detalles que aún quedaban curvos */
.app-standalone .ops-scanner-head-actions button{border-radius:2px}
.app-standalone .round-hero-head .pill{border-radius:2px}
.app-standalone .round-action .m-btn{border-radius:2px}
.app-standalone .round-action .m-note{border-radius:2px}
.app-standalone .round-live-bar,
.app-standalone .round-live-bar span{border-radius:2px}
.app-standalone .round-live-note{border-radius:2px}
.app-standalone .sig-canvas{border-radius:2px}
.app-standalone .login-error{border-radius:2px}
.toast{border-radius:2px}
.net-banner{border-radius:2px}
.app-standalone .round-reminder{border-radius:2px}
.app-standalone .rr-ic{border-radius:3px}

/* El login-form global de rondas.css traía fondo oscuro; aquí manda la tarjeta */
.app-standalone .login-form{display:block;background:transparent}

/* Acceso al dashboard desde el menú de la app */
.app-standalone .ops-service.dashboard-entry{margin-top:14px;border-color:rgba(255,0,43,.35);background:linear-gradient(120deg,rgba(255,0,43,.10),#101b2c 58%)}
.app-standalone .ops-service.dashboard-entry .os-ic{background:rgba(255,0,43,.16);color:var(--red)}
.app-standalone a.ops-service{text-decoration:none}
html[data-theme="light"] .app-standalone .ops-service.dashboard-entry{background:linear-gradient(120deg,rgba(216,30,44,.08),#fff 58%);border-color:rgba(216,30,44,.30)}

/* ---------- Rondas móvil: diseño tipo Intranet ---------- */
.app-standalone .rounds-search{display:flex;align-items:center;gap:8px;height:42px;padding:0 11px;margin-bottom:12px;background:#101b2c;border:1px solid #2a3b52;border-radius:2px}
.app-standalone .rounds-search i{color:#7f91a6;font-size:12px}
.app-standalone .rounds-search input{flex:1;min-width:0;border:0;background:transparent;color:#eef4fb;font-size:13px;outline:none}
.app-standalone .rounds-search input::placeholder{color:#64748b}
.app-standalone .rounds-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:14px}
.app-standalone .rounds-kpi{position:relative;background:#18243a;border:1px solid #2a3b52;border-top:2px solid var(--red);border-radius:2px;padding:10px 12px;overflow:hidden}
.app-standalone .rounds-kpi span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#8fa1b6;font-weight:700}
.app-standalone .rounds-kpi b{display:block;font-size:23px;line-height:1.1;color:#f8fafc;margin-top:4px;font-weight:800}
.app-standalone .rounds-kpi.kpi-warn{border-top-color:#f59e0b}
.app-standalone .rounds-kpi.kpi-blue{border-top-color:#38bdf8}
.app-standalone .rounds-kpi.kpi-bad{border-top-color:#ef4444}
.app-standalone .rounds-kpi.kpi-ok{border-top-color:#22c55e}
.app-standalone .rounds-tabs{display:flex;gap:3px;margin:4px 0 12px;border-bottom:1px solid #26374d;overflow-x:auto}
.app-standalone .rounds-tab{flex:none;display:inline-flex;align-items:center;gap:5px;border:0;border-bottom:2px solid transparent;background:transparent;color:#8fa1b6;font-size:11px;font-weight:700;padding:9px 10px}
.app-standalone .rounds-tab span{display:inline-block;min-width:16px;padding:1px 5px;border-radius:2px;background:#24344a;color:#cbd5e1;font-size:9px;text-align:center}
.app-standalone .rounds-tab.active{color:#fff;border-bottom-color:var(--red)}
.app-standalone .rounds-tab.active span{background:rgba(216,30,44,.16);color:#fca5a5}
.app-standalone .rounds-attention-list{display:flex;flex-direction:column;gap:7px;margin-bottom:6px}
.app-standalone .round-attention{display:flex;align-items:center;gap:9px;width:100%;text-align:left;background:#18243a;border:1px solid #2a3b52;border-left:4px solid #f59e0b;border-radius:2px;padding:10px 11px;color:#eef4fb}
.app-standalone .round-attention.vencida,.app-standalone .round-attention.no_realizada{border-left-color:#ef4444}
.app-standalone .round-attention.en_curso{border-left-color:#f59e0b}
.app-standalone .round-attention .ra-time{font-family:var(--mono);font-size:13px;font-weight:800;min-width:44px;color:#fff}
.app-standalone .round-attention .ra-body{flex:1;min-width:0}
.app-standalone .round-attention .ra-body b{display:block;font-size:12.5px;color:#eef4fb;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.app-standalone .round-attention .ra-body small{display:block;font-size:10px;color:#8fa1b6;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.app-standalone .round-attention > i{color:#64748b;font-size:10px}
html[data-theme="light"] .app-standalone .rounds-search{background:#fff;border-color:#e3e6ea}
html[data-theme="light"] .app-standalone .rounds-search input{color:#111318}
html[data-theme="light"] .app-standalone .rounds-kpi{background:#fff;border-color:#e3e6ea}
html[data-theme="light"] .app-standalone .rounds-kpi b{color:#111318}
html[data-theme="light"] .app-standalone .rounds-kpi span{color:#5b6472}
html[data-theme="light"] .app-standalone .rounds-tabs{border-bottom-color:#e3e6ea}
html[data-theme="light"] .app-standalone .rounds-tab{color:#5b6472}
html[data-theme="light"] .app-standalone .rounds-tab span{background:#f3f4f6;color:#4b5563}
html[data-theme="light"] .app-standalone .rounds-tab.active{color:#111318}
html[data-theme="light"] .app-standalone .round-attention{background:#fff;border-color:#e3e6ea}
html[data-theme="light"] .app-standalone .round-attention .ra-body b{color:#111318}
html[data-theme="light"] .app-standalone .round-attention .ra-body small{color:#5b6472}

/* Homologación: tabs con los botones de la app */
.app-standalone .rounds-tabs{display:flex;gap:6px;margin:4px 0 12px;border-bottom:0;overflow:visible}
.app-standalone .rounds-tabs .m-btn span{display:inline-block;min-width:15px;padding:1px 5px;border-radius:2px;background:rgba(0,0,0,.18);font-size:9px;font-weight:700}
.app-standalone .rounds-tabs .m-btn.sec span{background:#24344a;color:#cbd5e1}
html[data-theme="light"] .app-standalone .rounds-tabs .m-btn.sec span{background:#f3f4f6;color:#4b5563}

/* ---------- Control de accesos: botón de salida destacado ---------- */
.app-standalone .ops-record .or-actions .btn-exit{
  background:#dc2626;
  border:1px solid #ef4444;
  color:#fff;
  font-weight:800;
  box-shadow:0 3px 10px rgba(220,38,38,.34), 0 0 0 1px rgba(239,68,68,.16);
}
.app-standalone .ops-record .or-actions .btn-exit:hover{background:#b91c1c}
.app-standalone .ops-record .or-actions .btn-exit:active{background:#991b1b;transform:scale(.97)}
html[data-theme="light"] .app-standalone .ops-record .or-actions .btn-exit{
  background:#dc2626;
  border-color:#dc2626;
  color:#fff;
}
html[data-theme="light"] .app-standalone .ops-record .or-actions .btn-exit:hover{background:#b91c1c}
