:root{color-scheme:light;--hg-bg:#f5f7f7;--hg-surface:#fff;--hg-text:#202a29;--hg-muted:#5b6966;--hg-border:#d6e1de;--hg-primary:#127568;--hg-soft:#e7f3ee;--hg-rose:#fcf0f2;--hg-amber:#fff5d8;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root[data-theme=dark]{color-scheme:dark;--hg-bg:#161d1c;--hg-surface:#202927;--hg-text:#edf5f2;--hg-muted:#b0c2bb;--hg-border:#45554f;--hg-primary:#6bd4b6;--hg-soft:#233c33;--hg-rose:#432e34;--hg-amber:#423b25}.hogar{margin:0;background:var(--hg-bg);color:var(--hg-text);font-size:16px;line-height:1.55;letter-spacing:0}.hogar *,.hogar *:before,.hogar *:after{box-sizing:border-box}.hogar [hidden]{display:none!important}.hogar h1{font-size:30px;line-height:1.2;margin:24px 0;font-weight:720}.hogar h2{font-size:21px;line-height:1.35;margin:0 0 14px}.hogar h3{font-size:18px;line-height:1.4;margin:0 0 8px}.hogar h2:has(svg),.hogar h3:has(svg){display:flex;align-items:center;gap:10px}.hogar h4{font-size:15px;margin:0 0 10px}.hogar p{margin:8px 0 18px}.hogar a{color:var(--hg-primary);text-underline-offset:3px}.hogar button,.hogar .hg-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:11px 17px;min-height:46px;border:1px solid var(--hg-border);border-radius:7px;background:var(--hg-surface);color:var(--hg-text);font:inherit;line-height:1.35;cursor:pointer;text-decoration:none;text-align:center;max-width:100%}.hogar button:hover,.hogar .hg-button:hover{border-color:var(--hg-primary);background:var(--hg-soft)}.hogar button:disabled{cursor:default;opacity:.55}.hogar button.hg-primary{background:#127568;color:#fff;border-color:#127568}.hogar button.hg-primary:hover{background:#0c6055}.hogar :focus-visible{outline:3px solid var(--hg-primary);outline-offset:3px}.hogar svg{flex-shrink:0}.hogar label{display:grid;gap:7px;font-size:15px;font-weight:600}.hogar input,.hogar select{min-height:48px;width:100%;max-width:100%;border:1px solid var(--hg-border);background:var(--hg-surface);color:var(--hg-text);border-radius:6px;padding:10px 13px;font:inherit;font-size:17px}.hogar form{display:grid;gap:16px}.hogar form p{margin:0}.hogar main{max-width:1140px;margin:0 auto;padding:16px 28px 48px;min-height:55vh}.hg-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px max(24px,calc((100% - 1084px)/2));border-bottom:1px solid var(--hg-border);background:var(--hg-surface)}.hg-header .hg-brand{display:flex;gap:12px;align-items:center;font-size:21px;color:var(--hg-text);text-decoration:none;line-height:1.2}.hg-brand b{display:block;font-weight:450;font-size:14px;color:var(--hg-muted)}.hg-header .hg-logo{width:46px;height:46px}.hg-header-tools{display:flex;align-items:center;gap:10px}.hg-header-tools select{width:72px;font-size:15px}.hogar .hg-icon{width:46px;height:46px;padding:10px}.hg-icon span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.hg-photo{width:100px;height:116px;object-fit:cover;border-radius:7px;background:var(--hg-soft)}.hg-logo{width:64px;height:64px;object-fit:contain;flex-shrink:0}.hg-family{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:24px;max-width:1084px;margin:28px auto 20px}.hg-family>div:first-child{display:flex;align-items:center;gap:16px;max-width:100%}.hg-family p{font-size:14px;color:var(--hg-muted);margin:0 0 4px}.hg-family strong{font-size:21px;overflow-wrap:anywhere}.hg-selects{display:flex;gap:16px;max-width:100%}.hg-selects label{max-width:280px}.hg-nav{display:flex;gap:12px;max-width:1084px;margin:0 auto 12px}.hogar .hg-nav .hg-button{flex:1;padding:14px 12px;color:var(--hg-text)}.hg-nav .hg-button:nth-child(1){background:var(--hg-soft)}.hg-nav .hg-button:nth-child(2){background:var(--hg-rose)}.hg-nav .hg-button:nth-child(3){background:var(--hg-amber)}.hg-nav svg{width:24px;height:24px;color:var(--hg-primary)}.hg-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0}.hg-pupil{display:flex;align-items:flex-start;gap:20px;padding:24px;border:1px solid var(--hg-border);background:var(--hg-surface);border-radius:8px;border-top:4px solid #52aa93}.hg-pupil:nth-child(3n+2){border-top-color:#d68197}.hg-pupil:nth-child(3n+3){border-top-color:#d1ac43}.hg-pupil>div{min-width:0;flex:1}.hg-pupil h2{font-size:22px;margin:8px 0;overflow-wrap:anywhere}.hg-pupil p{font-size:14px;color:var(--hg-muted);margin:6px 0 12px}.hg-eyebrow{font-size:14px;color:var(--hg-primary);font-weight:650}.hg-muted{color:var(--hg-muted);font-size:14px}.hg-login{max-width:520px;margin:32px auto}.hg-login-heading{text-align:center;padding:0 0 24px}.hg-login-heading .hg-logo{height:82px;width:82px}.hg-login-heading h1{margin:16px 0 8px;font-size:34px}.hg-login-heading p{color:var(--hg-muted);font-size:19px}.hg-login-form{border-top:1px solid var(--hg-border);padding-top:24px}.hg-social-login{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0 16px}.hogar .hg-social{width:100%;min-height:54px;justify-content:flex-start;padding:12px 14px;font-weight:600}.hogar .hg-social svg{width:22px;height:22px}.hogar .hg-social-google{border-color:#4285f4}.hogar .hg-social-facebook{border-color:#1877f2}.hogar .hg-social-apple{border-color:#202124}.hogar .hg-social-microsoft{border-color:#7fba00}.hg-microsoft-logo{display:grid;grid-template-columns:repeat(2,9px);grid-template-rows:repeat(2,9px);gap:2px;width:22px;height:22px;flex:0 0 22px}.hg-microsoft-logo i{display:block}.hg-microsoft-logo i:nth-child(1){background:#f35325}.hg-microsoft-logo i:nth-child(2){background:#81bc06}.hg-microsoft-logo i:nth-child(3){background:#05a6f0}.hg-microsoft-logo i:nth-child(4){background:#ffba08}.hg-login-note{text-align:center;margin:0}.hg-divider{height:1px;background:var(--hg-border);margin:22px 0}.hg-login-alternatives{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:24px 0 16px}.hg-login-alternatives button{flex-direction:column;padding:18px 8px;min-height:112px}.hg-login-alternatives svg{width:30px;height:30px;color:var(--hg-primary)}.hg-narrow{max-width:600px;margin:30px auto}.hogar .hg-code{text-align:center;font-size:28px;font-variant-numeric:tabular-nums}.hg-status{display:flex;gap:10px;align-items:flex-start;padding:16px;border-radius:6px;background:var(--hg-soft);margin:16px 0;overflow-wrap:anywhere}.hg-status svg{margin-top:2px}.hg-error{background:var(--hg-rose);border-left:4px solid #c04c67}.hg-status .lucide-loader-circle{animation:hg-spin 1s linear infinite}@keyframes hg-spin{to{transform:rotate(360deg)}}.hg-actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.hg-section{margin-top:28px;border-top:1px solid var(--hg-border);padding:24px 0 0}.hg-section summary{font-size:20px;font-weight:650;cursor:pointer;padding-bottom:12px}.hg-account-heading{display:flex;align-items:center;gap:24px;margin:28px 0}.hg-account-heading h1{margin:10px 0}.hg-account-heading .hg-photo{height:132px;width:114px}.hg-data{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:8px 0}.hg-data>div{display:flex;justify-content:space-between;align-items:baseline;gap:16px;border-bottom:1px solid var(--hg-border);padding:11px 0;min-width:0}.hg-data dt{color:var(--hg-muted)}.hg-data dd{margin:0;font-weight:600;text-align:right;overflow-wrap:anywhere}.hg-subjects{display:grid;gap:20px}.hg-subject{padding:22px;border:1px solid var(--hg-border);border-radius:7px;background:var(--hg-surface);break-inside:avoid}.hg-subject>p{color:var(--hg-muted);font-size:14px}.hg-competency{margin-top:20px;padding-top:12px;border-top:2px solid var(--hg-soft)}.hg-competency .hg-data{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.hg-competency .hg-data>div{background:var(--hg-soft);padding:10px;border:0;border-radius:4px}.hg-company{display:flex;align-items:center;gap:16px;margin:16px 0}.hg-performance{border-left:4px solid #52aa93;padding:12px 20px;margin:28px 0;background:var(--hg-soft)}.hg-performance strong{font-size:32px}.hg-performance progress{width:100%;height:10px;display:block;accent-color:#127568;margin-top:10px}.hg-date{max-width:300px;margin:24px 0}.hg-attendance{border-top:1px solid var(--hg-border)}.hg-attendance article{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 12px;border-bottom:1px solid var(--hg-border)}.hg-attendance article:nth-child(odd){background:var(--hg-surface)}.hg-attendance article>div{display:flex;align-items:center;gap:12px}.hg-state{display:inline-block;border-radius:5px;padding:5px 10px;background:var(--hg-soft);font-size:14px;font-weight:600;white-space:nowrap}.hg-state-A{background:var(--hg-rose)}.hg-state-T,.hg-state-E{background:var(--hg-amber)}.hg-state-empty,.hg-state-NA{background:var(--hg-bg);color:var(--hg-muted);border:1px solid var(--hg-border)}.hg-device{background:var(--hg-surface);border:1px solid var(--hg-border);padding:24px;border-radius:7px}.hg-device>svg{color:var(--hg-primary);width:28px;height:28px;margin-bottom:14px}.hg-device p{color:var(--hg-muted);font-size:14px}.hg-notices{margin:24px 0;display:grid;gap:14px}.hogar .hg-notice{display:grid;grid-template-columns:48px 1fr 20px;gap:16px;width:100%;text-align:left;padding:20px;border-left:4px solid #b86986;background:var(--hg-surface)}.hg-notice.is-read{border-left-color:var(--hg-border)}.hg-notice-icon{display:grid;place-items:center;background:var(--hg-rose);width:46px;height:46px;border-radius:7px;color:#ad4e6a}.hg-notice small{display:block;color:var(--hg-muted);margin-bottom:8px}.hg-notice strong{display:block;margin-bottom:6px}.hg-notice span{overflow-wrap:anywhere}.hogar dialog{width:min(560px,calc(100% - 32px));max-height:calc(100dvh - 40px);overflow:auto;border:1px solid var(--hg-border);border-radius:8px;background:var(--hg-surface);color:var(--hg-text);padding:26px;box-shadow:0 16px 60px #0004}.hogar dialog::backdrop{background:#101d1bb3}.hogar dialog form[method=dialog]{display:flex;justify-content:flex-end;margin-top:20px}.hg-camera{display:block;width:100%;max-height:45dvh;aspect-ratio:1;object-fit:cover;background:#152824;border-radius:6px}.hg-qr{display:flex;justify-content:center}.hg-qr img{width:min(100%,320px);aspect-ratio:1;border-radius:6px}.hg-footer{display:flex;align-items:center;justify-content:center;gap:24px;padding:20px 24px calc(20px + env(safe-area-inset-bottom));border-top:1px solid var(--hg-border);color:var(--hg-muted);font-size:14px}.hg-empty{padding:32px 0;color:var(--hg-muted)}.hg-school-option{justify-content:flex-start!important;gap:16px!important;padding:24px!important}@media(max-width:1150px){.hg-family,.hg-nav{margin-left:28px;margin-right:28px}}@media(max-width:780px){.hg-gallery{grid-template-columns:1fr}.hg-family{align-items:flex-start}.hg-selects{width:100%}.hg-selects label{flex:1;max-width:none;min-width:0}.hg-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.hogar .hg-nav .hg-button{flex-direction:column;font-size:13px;padding:12px 3px}.hg-competency .hg-data{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.hogar main{padding:12px 16px 32px}.hg-header{padding:12px 16px;gap:8px}.hg-header .hg-brand{font-size:19px}.hg-header-tools{gap:5px}.hg-header-tools select{width:63px}.hg-family,.hg-nav{margin-left:16px;margin-right:16px}.hg-family strong{font-size:19px}.hg-family .hg-logo{width:48px;height:48px}.hg-login{margin-top:20px}.hg-login-heading h1{font-size:30px}.hg-login-heading p{font-size:17px}.hg-social-login{grid-template-columns:1fr}.hg-pupil{gap:15px;padding:19px 16px}.hg-pupil .hg-photo{width:76px;height:96px}.hg-pupil h2{font-size:20px}.hg-data{grid-template-columns:1fr}.hg-account-heading{gap:16px;align-items:flex-start}.hg-account-heading .hg-photo{width:75px;height:90px}.hg-account-heading h1{font-size:24px}.hg-subject{padding:17px}.hg-attendance article{align-items:flex-start}.hg-state{font-size:13px}.hg-footer{flex-wrap:wrap;gap:12px}.hogar .hg-notice{grid-template-columns:36px 1fr;padding:15px;gap:12px}.hg-notice>svg{display:none}.hg-notice-icon{width:36px;height:36px}.hg-notice-icon svg{width:20px}}@media(prefers-reduced-motion:reduce){.hogar *{animation:none!important}}@media print{.hg-header,.hg-family,.hg-nav,.hg-footer,.hg-account>button,.hg-account>a,.hg-actions{display:none!important}.hogar{background:#fff;color:#000}.hogar main{max-width:none;padding:0}.hg-subject{break-inside:avoid;background:#fff}.hogar h1{font-size:22px}}
