:root{--bg: #eef1e8;--surface: #fffdf9;--surface-alt: #f4eee5;--text: #22302b;--muted: #5a6b63;--border: #dbe2d4;--primary: #2f5d50;--primary-text: #ffffff;--peach: #e98e6b;--peach-soft: #fde6d6;--verde: #3d8a63;--verde-bg: #e1f1e6;--amarillo: #a26a00;--amarillo-bg: #fbefd2;--rojo: #b8392b;--rojo-bg: #fbe3df;--radius: 20px;font-family:Nunito,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:16px;line-height:1.5;color:var(--text);background:var(--bg)}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button{font:inherit;cursor:pointer}input,select,textarea{font:inherit}a{color:var(--primary)}.app{max-width:640px;margin:0 auto;min-height:100vh;padding:16px 16px 96px}.header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px}.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:18px;color:var(--primary)}.brand img{width:36px;height:36px;border-radius:10px}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:18px;margin-bottom:14px}.card h2{margin:0 0 8px;font-size:19px}.card h3{margin:0 0 6px;font-size:16px}.muted{color:var(--muted);font-size:14px}.small{font-size:13px}.row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.stack>*+*{margin-top:10px}.btn{border:none;border-radius:12px;padding:13px 16px;font-weight:600;font-size:15px;min-height:48px}.btn-primary{background:var(--primary);color:var(--primary-text)}.btn-secondary{background:var(--surface-alt);color:var(--text);border:1px solid var(--border)}.btn-danger{background:var(--rojo);color:#fff}.btn-link{background:none;border:none;color:var(--primary);text-decoration:underline;padding:6px 0;min-height:auto;font-weight:500}.btn-block{width:100%}.btn:disabled{opacity:.55;cursor:default}.chip{border:1px solid var(--border);background:var(--surface);border-radius:999px;padding:10px 14px;font-size:14px;min-height:44px;text-align:left}.chip.on{background:var(--primary);color:#fff;border-color:var(--primary)}.option{display:block;width:100%;text-align:left;border:1px solid var(--border);background:var(--surface);border-radius:12px;padding:12px 14px;margin-bottom:8px;min-height:48px;font-size:15px}.option.on{border-color:var(--primary);background:#e6efee;font-weight:600}.field{display:block;margin-bottom:12px}.field span{display:block;font-size:14px;margin-bottom:6px;color:var(--muted)}.input{width:100%;border:1px solid var(--border);background:var(--surface);border-radius:12px;padding:12px 14px;font-size:16px;min-height:48px}.light{border-radius:var(--radius);padding:16px;display:flex;gap:14px;align-items:center}.light .dot{width:22px;height:22px;border-radius:50%;flex-shrink:0}.light.verde{background:var(--verde-bg)}.light.verde .dot{background:var(--verde)}.light.amarillo{background:var(--amarillo-bg)}.light.amarillo .dot{background:var(--amarillo)}.light.rojo{background:var(--rojo-bg)}.light.rojo .dot{background:var(--rojo)}.alert{background:var(--rojo-bg);color:#7a1a14;border-radius:12px;padding:12px 14px;font-weight:600}.notice{background:var(--amarillo-bg);border-radius:12px;padding:12px 14px;font-size:14px}.capsule-item{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;text-align:left;border:none;border-bottom:1px solid var(--border);background:none;padding:14px 2px;font-size:15px;color:var(--text)}.capsule-item:last-child{border-bottom:none}.tag{font-size:12px;border-radius:999px;padding:3px 9px;background:var(--surface-alt);color:var(--muted);white-space:nowrap}.tag.free{background:var(--verde-bg);color:var(--verde)}.capsule-body p{line-height:1.55}.capsule-body li{margin-bottom:8px;line-height:1.5}.tabbar{position:fixed;left:0;right:0;bottom:0;background:var(--surface);border-top:1px solid var(--border);display:flex;justify-content:center;padding-bottom:env(safe-area-inset-bottom);z-index:10}.tabbar-inner{display:flex;width:100%;max-width:640px}.tab{flex:1;background:none;border:none;padding:10px 4px 12px;font-size:13px;color:var(--muted);display:flex;flex-direction:column;align-items:center;gap:2px;min-height:56px}.tab .ico{font-size:20px}.tab.on{color:var(--primary);font-weight:700}.sos{background:var(--rojo);color:#fff;border:none;border-radius:999px;padding:9px 14px;font-weight:700;font-size:14px;min-height:40px}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#141e1d73;z-index:50;display:flex;align-items:flex-end;justify-content:center}.sheet{background:var(--bg);width:100%;max-width:640px;max-height:92vh;overflow-y:auto;border-radius:22px 22px 0 0;padding:20px 16px 32px}.sheet-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.call{display:flex;justify-content:space-between;align-items:center;gap:10px;text-decoration:none;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:12px 14px;margin-bottom:8px}.call strong{display:block}.call .num{background:var(--primary);color:#fff;border-radius:10px;padding:9px 12px;font-weight:700;white-space:nowrap;font-size:14px}.call.urgent .num{background:var(--rojo)}.progress{height:6px;background:var(--surface-alt);border-radius:999px;overflow:hidden;margin-bottom:14px}.progress>div{height:100%;background:var(--primary)}.lock{text-align:center;padding:10px 0}.search{margin-bottom:12px}h1,h2,h3{font-weight:800;letter-spacing:-.01em}.card{border:none;box-shadow:0 1px #2f5d500f;border-radius:20px}.btn{border-radius:999px;padding:13px 22px}.btn-primary{background:var(--primary)}.btn-primary:hover{background:#264d42}.btn-secondary{background:var(--surface);border:1.5px solid var(--border)}.chip{border-radius:14px;border:1.5px solid var(--border)}.chip.on{background:var(--peach-soft);color:var(--text);border-color:var(--peach);font-weight:700}.option{border-radius:16px;border:1.5px solid var(--border)}.option.on{background:#e5efe9;border-color:var(--primary)}.input{border-radius:14px;border:1.5px solid var(--border)}.input:focus,.btn:focus-visible,.chip:focus-visible,.option:focus-visible,.tab:focus-visible,.capsule-item:focus-visible{outline:3px solid var(--peach);outline-offset:2px}.light{border-radius:20px}.alert,.notice{border-radius:16px}.tag{border-radius:999px}.sos{background:var(--rojo);border-radius:999px;padding:9px 16px}.brand{font-weight:800;letter-spacing:-.01em}.hero{position:relative;border-radius:28px;overflow:hidden;margin:0 0 16px;background:var(--surface)}.scene{display:block;width:100%;height:190px}.hero-text{position:absolute;left:20px;top:18px;right:120px}.hero-text h1{margin:0;font-size:26px;line-height:1.15}.hero-text p{margin:4px 0 0;font-size:14px;color:var(--muted)}.hero.noche .hero-text h1,.hero.noche .hero-text p{color:#fffdf9}.hero-state{display:flex;gap:12px;align-items:center;padding:14px 18px;background:var(--surface)}.hero-state .dot{width:14px;height:14px;border-radius:50%;flex-shrink:0}.hero-state strong{display:block}.faces{display:flex;gap:6px;justify-content:space-between}.face{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;background:var(--surface);border:1.5px solid var(--border);border-radius:16px;padding:10px 2px 8px;font-size:12px;color:var(--muted);min-height:64px}.face.on{background:var(--peach-soft);border-color:var(--peach);color:var(--text);font-weight:700}.tabbar{background:var(--surface);border-top:none;box-shadow:0 -1px 0 var(--border)}.tab{gap:3px;font-size:12px;font-weight:600}.tab .ico{display:grid;place-items:center;width:52px;height:30px;border-radius:999px}.tab.on{color:var(--primary);font-weight:800}.tab.on .ico{background:var(--peach-soft)}.welcome{text-align:center;padding:28px 8px 8px}.welcome h1{font-size:26px;margin:12px 0 6px}.welcome p{color:var(--muted);margin:0 auto;max-width:32ch}@media (prefers-reduced-motion: no-preference){.hero .scene{animation:rise .6s ease-out both}@keyframes rise{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}}.hero-compact .scene{height:150px}.hero-compact .hero-text{right:110px}.tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tile{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:2px;min-height:150px;border:none;border-radius:24px;padding:16px;text-align:left}.tile svg{margin-bottom:auto}.tile strong{font-size:17px;font-weight:800}.tile span{font-size:13px}.tile-peach{background:#fde6d6;color:#7a3a22}.tile-green{background:#e1f1e6;color:#1f5a3c}.tile-red{background:#fbe3df;color:#7e271f}.tile-blue{background:#e6ecf5;color:#26405f}.tile:active{transform:scale(.98)}.tile:focus-visible{outline:3px solid var(--primary);outline-offset:2px}.alert-strip{display:block;width:100%;text-align:left;border:none;background:var(--rojo-bg);color:#7a1a14;font-weight:700;border-radius:16px;padding:12px 14px;margin-bottom:12px;font-size:14px}.group-label{font-size:13px;font-weight:700;color:var(--muted);margin:14px 0 6px}.mini-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.mini-tile{display:flex;flex-direction:column;justify-content:space-between;gap:6px;min-height:84px;border:none;border-radius:18px;padding:10px;text-align:left;font-size:13px;font-weight:800;line-height:1.2}.mini-tile .glyph{font-size:22px;font-weight:400;line-height:1}.mini-tile:focus-visible,.crisis-bar:focus-visible{outline:3px solid var(--primary);outline-offset:2px}.tone-red{background:#fbe3df;color:#7e271f}.tone-blue{background:#e6ecf5;color:#26405f}.tone-green{background:#e1f1e6;color:#1f5a3c}.tone-sand{background:#f4eee5;color:#5a4a3a}.crisis-bar{display:flex;justify-content:space-between;align-items:center;width:100%;border:none;border-radius:18px;background:var(--rojo);color:#fff;font-weight:800;font-size:16px;padding:14px 16px;min-height:52px}.tile-sand{background:#f4eee5;color:#5a4a3a;text-decoration:none}.glyph-lg{font-size:32px;line-height:1;margin-bottom:auto}.course-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;margin-top:12px;border:none;border-radius:20px;background:var(--primary);color:#fff;padding:14px 16px;text-align:left;min-height:64px}.course-bar strong{display:block;font-size:16px;font-weight:800}.course-bar .small{color:#d7e6df}.course-ring{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--peach-soft);color:var(--primary);font-weight:800;font-size:13px;flex-shrink:0}.course-bar:focus-visible,.week-tile:focus-visible{outline:3px solid var(--peach);outline-offset:2px}.week-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.week-tile{display:flex;flex-direction:column;align-items:flex-start;gap:2px;border:none;border-radius:18px;padding:10px 12px;text-align:left;min-height:92px;font-size:13px;line-height:1.25}.week-tile strong{font-weight:800;font-size:14px}.week-num{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;font-weight:800;font-size:13px;margin-bottom:4px;background:#ffffffb3}.week-tile.done{background:#e1f1e6;color:#1f5a3c}.week-tile.current{background:#fde6d6;color:#7a3a22;box-shadow:inset 0 0 0 2px var(--peach)}.week-tile.locked{background:#f1ede6;color:#8a8174;cursor:default}.dots{display:flex;gap:6px;margin:4px 0 8px}.dots span{height:6px;flex:1;border-radius:9px;background:var(--border)}.dots span.past{background:#9cc3ae}.dots span.on{background:var(--primary)}.lesson-body h2{font-size:21px;margin:8px 0}.lesson-body{min-height:300px}textarea.input{resize:vertical;min-height:96px}.info-strip{display:block;width:100%;text-align:left;border:none;background:var(--peach-soft);color:#7a3a22;font-weight:700;border-radius:16px;padding:12px 14px;margin-bottom:12px;font-size:14px}.info-strip:focus-visible{outline:3px solid var(--primary);outline-offset:2px}.lang-pick{display:flex;justify-content:flex-end;margin:4px 0 -8px}.lang-pick select{font:inherit;font-size:14px;font-weight:700;color:var(--primary);background:#fff;border:1.5px solid var(--line, #d9dfd3);border-radius:999px;padding:6px 12px}
