/* ===== 5 DISEÑOS de la app (se escoge uno: <body class="tema-X">) =====
   1 finca (verde, el de ahora) · 2 amarillo (guineo) · 3 caribe (azul mar) · 4 noche (oscuro) · 5 facil (letras gigantes) */

/* ---------- 2. GUINEO AMARILLO: alegre, barra amarilla, letras oscuras ---------- */
body.tema-amarillo{--bg:#fffbea;--card:#fff;--fg:#2b2100;--muted:#7a6a3a;--line:#f1e4b3;--suave:#fff3c4;
  --verde:#2b2100;--verde2:#4a3a00;--verde-d:#2b2100;--amarillo:#ffd23f;--amarillo2:#ffe27a;--ok-s:#e7f6dc;--rojo:#d63a2f;--rojo-s:#ffe2dc}
body.tema-amarillo header.top{background:#ffd23f;color:#2b2100;box-shadow:0 3px 0 #e6b800}
body.tema-amarillo header.top .atras{background:rgba(0,0,0,.08);color:#2b2100}
body.tema-amarillo .sync{background:rgba(0,0,0,.1);color:#2b2100}
body.tema-amarillo .hero{background:#ffd23f;color:#2b2100;box-shadow:0 6px 0 #e6b800}
body.tema-amarillo .hero .num{background:rgba(255,255,255,.55)}
body.tema-amarillo .hero::after{opacity:.35}
body.tema-amarillo .barra{background:rgba(0,0,0,.12)} body.tema-amarillo .barra i{background:#2b2100}
body.tema-amarillo .btn.p,body.tema-amarillo .seg button.on{background:#2b2100;color:#ffd23f;box-shadow:none}
body.tema-amarillo .btn.a{background:#ffd23f;box-shadow:0 4px 0 #e6b800}
body.tema-amarillo .card,body.tema-amarillo .kpi{border:2px solid var(--line);box-shadow:none}
body.tema-amarillo .avatar{background:#ffd23f;color:#2b2100;border-radius:50%}
body.tema-amarillo nav.tabs button.on{background:#ffd23f;color:#2b2100}
body.tema-amarillo .stepper button{background:#ffd23f;color:#2b2100}
body.tema-amarillo .total-venta{background:#fff3c4} body.tema-amarillo .total-venta .big{color:#2b2100}

/* ---------- 3. CARIBE AZUL: azul mar y turquesa, tarjetas limpias ---------- */
body.tema-caribe{--bg:#eef7fb;--card:#fff;--fg:#0b2a3a;--muted:#5b7a8a;--line:#d6e9f2;--suave:#e3f3fa;
  --verde:#0a6fa8;--verde2:#14a3c7;--verde-d:#0a5280;--amarillo:#ffb703;--amarillo2:#ffd166;--ok-s:#d9f2ec;--rojo:#e4572e;--rojo-s:#fde6df}
body.tema-caribe header.top{background:linear-gradient(120deg,#0a5280,#0a6fa8 50%,#14a3c7)}
body.tema-caribe .hero{background:linear-gradient(120deg,#0a5280,#0a6fa8 50%,#19b5c9);box-shadow:0 10px 24px rgba(10,111,168,.3)}
body.tema-caribe .hero::after{content:"🌊"}
body.tema-caribe .btn.p,body.tema-caribe .seg button.on{background:linear-gradient(120deg,#0a6fa8,#14a3c7);box-shadow:0 6px 14px rgba(10,111,168,.25)}
body.tema-caribe .avatar{background:#e3f3fa;color:#0a5280}
body.tema-caribe .avatar.ok{background:#d9f2ec;color:#0b7a5a}
body.tema-caribe .chip.aldia,body.tema-caribe .tag.ok,body.tema-caribe .aviso.ok{background:#d9f2ec;color:#0b7a5a}
body.tema-caribe .aldia{color:#0b7a5a}
body.tema-caribe nav.tabs button.on{background:#e3f3fa;color:#0a5280}
body.tema-caribe .stepper button{color:#0a5280}
body.tema-caribe .total-venta .big{color:#0a5280}
body.tema-caribe .card:has(.lista){background:none;border:0;box-shadow:none;padding:0}
body.tema-caribe .lista .it{background:#fff;border:1px solid var(--line);border-radius:18px;margin-bottom:10px;padding:14px;box-shadow:0 2px 8px rgba(10,82,128,.07)}
body.tema-caribe .avatar{border-radius:50%}

/* ---------- 4. NOCHE: oscuro, verde brillante; se lee bien y gasta menos batería ---------- */
body.tema-noche{--bg:#0c0f0d;--card:#161b17;--fg:#f1f5f0;--muted:#9aa79a;--line:#263027;--suave:#1d241e;
  --verde:#22c55e;--verde2:#4ade80;--verde-d:#86efac;--amarillo:#facc15;--amarillo2:#fde047;--ok-s:#14321f;--esp-s:#332b0b;
  --rojo:#f87171;--rojo-s:#3a1717;--sombra:0 6px 18px rgba(0,0,0,.35)}
body.tema-noche,body.tema-noche html{background:#0c0f0d}
body.tema-noche header.top{background:#111712;border-bottom:1px solid #263027;box-shadow:none}
body.tema-noche header.top h1{color:#4ade80}
body.tema-noche .hero{background:#14261a;border:1px solid #22452c;box-shadow:none}
body.tema-noche .hero .num b{color:#4ade80}
body.tema-noche .btn.p,body.tema-noche .seg button.on{background:#22c55e;color:#06200f;box-shadow:0 0 0 1px #4ade80,0 6px 16px rgba(34,197,94,.25)}
body.tema-noche .btn.a{background:#facc15;color:#2b2100}
body.tema-noche input,body.tema-noche select{background:#0f1410;border-color:#2b352c}
body.tema-noche .avatar{background:#1d241e;color:#facc15}
body.tema-noche .avatar.ok{background:#14321f;color:#4ade80}
body.tema-noche nav.tabs{background:#111712;border-color:#263027}
body.tema-noche nav.tabs button.on{background:#14321f;color:#4ade80}
body.tema-noche .ticket{background:#fff;color:#111}
body.tema-noche .toast{background:#22c55e;color:#06200f}
body.tema-noche .aviso.info{background:#332b0b;color:#fde047}

/* ---------- 5. FÁCIL GIGANTE: letras y botones extra grandes, colores de semáforo, sin adornos ---------- */
body.tema-facil{--bg:#ffffff;--card:#ffffff;--fg:#000;--muted:#333;--line:#000;--suave:#f2f2f2;
  --verde:#008a2e;--verde2:#008a2e;--verde-d:#006b23;--amarillo:#ffc400;--amarillo2:#ffc400;--ok-s:#d7f5df;--rojo:#d10000;--rojo-s:#ffe0e0;
  --r:10px;--sombra:none;font-size:19px}
body.tema-facil header.top{background:#008a2e;box-shadow:none}
body.tema-facil header.top h1{font-size:1.3rem}
body.tema-facil .card,body.tema-facil .kpi{border:2px solid #000}
body.tema-facil .hero{background:#fff;color:#000;border:3px solid #008a2e;box-shadow:none}
body.tema-facil .hero::after{display:none}
body.tema-facil .hero .num{background:#d7f5df}
body.tema-facil .hero .num b{font-size:1.4rem}
body.tema-facil .barra{background:#e6e6e6} body.tema-facil .barra i{background:#008a2e}
body.tema-facil .btn{border:2px solid #000;font-size:1.1rem;min-height:58px}
body.tema-facil .btn.p,body.tema-facil .seg button.on{background:#008a2e;border-color:#008a2e;box-shadow:none}
body.tema-facil .btn.grande{min-height:72px;font-size:1.35rem}
body.tema-facil .lista .it{padding:16px 6px;border-bottom:2px solid #000}
body.tema-facil .lista .it .n{font-size:1.2rem}
body.tema-facil .avatar{width:52px;height:52px;border:2px solid #000;background:#ffc400;color:#000;border-radius:10px}
body.tema-facil .avatar.ok{background:#008a2e;color:#fff}
body.tema-facil .avatar.debe{background:#d10000;color:#fff}
body.tema-facil .chip{font-size:1rem;border:2px solid currentColor}
body.tema-facil .stepper button{width:70px;height:70px;border:2px solid #000;background:#ffc400;color:#000;font-size:2.2rem}
body.tema-facil .stepper input{height:70px;font-size:2.1rem;border:2px solid #000}
body.tema-facil input{border:2px solid #000;font-size:1.2rem}
body.tema-facil label{color:#000;font-size:.9rem}
body.tema-facil nav.tabs{border:2px solid #000;box-shadow:none}
body.tema-facil nav.tabs button{font-size:.8rem;color:#000}
body.tema-facil nav.tabs button .ic{font-size:1.7rem}
body.tema-facil nav.tabs button.on{background:#ffc400;color:#000}
body.tema-facil .total-venta{background:#fff;border:3px solid #008a2e}
body.tema-facil .total-venta .big{font-size:2.5rem;color:#000}
body.tema-facil .dias-sel button{border:2px solid #000;color:#000;font-size:1rem}
