:root{color:#172033;font-synthesis:none;--brand:#176b5b;--brand-dark:#0d4f43;--ink:#172033;--muted:#667085;--line:#dfe7e9;--card:#fff;--low:#16865c;--medium:#d59b0b;--high:#cf3f4d;background:#f4f7f8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input{font:inherit}.shell{grid-template-columns:250px 1fr;min-height:100vh;display:grid}.sidebar{color:#fff;background:#102b2a;flex-direction:column;gap:38px;padding:28px 20px;display:flex}.brand{align-items:center;gap:12px;display:flex}.brand div{flex-direction:column;display:flex}.brand small{color:#9fb9b5;margin-top:2px}.brand-logo{object-fit:contain;background:#fff;border-radius:12px;flex:none;width:46px;height:46px;padding:3px}.sidebar nav a{color:#bed0cd;border-radius:10px;padding:12px 14px;text-decoration:none}.sidebar nav a.active,.sidebar nav a:hover{color:#fff;background:#1b4541}.sidebar-note{color:#91aaa6;margin-top:auto;font-size:.8rem}.workspace{min-width:0}.topbar{border-bottom:1px solid var(--line);background:#fff;justify-content:flex-end;align-items:center;gap:22px;height:74px;padding:0 34px;display:flex}.topbar div{text-align:right;flex-direction:column;display:flex}.topbar small{color:var(--muted)}main{max-width:1400px;margin:auto;padding:36px}.page-header{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:28px;display:flex}.page-header h1{margin:5px 0 6px;font-size:2rem}.page-header p,.muted{color:var(--muted);margin:0}.eyebrow{text-transform:uppercase;letter-spacing:.1em;color:var(--brand);font-size:.73rem;font-weight:800}.button{cursor:pointer;border:0;border-radius:9px;padding:10px 15px;font-weight:700}.button.primary{background:var(--brand);color:#fff}.button.primary:hover{background:var(--brand-dark)}.button.ghost{color:var(--brand-dark);background:#edf4f2}.button:disabled{opacity:.6;cursor:wait}.dashboard-page{gap:26px;display:grid}.dashboard-page .page-header{margin-bottom:0}.dashboard-header p{max-width:680px}.dashboard-metrics{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.dashboard-metric-card{background:var(--card);border:1px solid var(--line);border-radius:16px;align-items:flex-start;gap:16px;padding:22px;display:flex;box-shadow:0 8px 28px #21373e0d}.dashboard-metric-card>div{gap:5px;display:grid}.dashboard-metric-card span{color:var(--muted);font-size:.84rem;font-weight:700}.dashboard-metric-card strong{font-size:2rem;line-height:1.1}.dashboard-metric-card small{color:var(--muted);font-size:.76rem}.dashboard-metric-icon{width:44px;height:44px;color:var(--brand);background:#e3f3ef;border-radius:12px;flex:none;place-items:center;display:grid}.dashboard-metric-icon.rooms{color:#4169a7;background:#e9effb}.dashboard-metric-icon.attendance{color:var(--low);background:#e9f7ee}.dashboard-metric-icon svg{width:23px;height:23px}.dashboard-section{gap:16px;display:grid}.dashboard-section-heading{justify-content:space-between;align-items:flex-end;gap:20px;display:flex}.dashboard-section-heading h2{margin:4px 0 0;font-size:1.3rem}.dashboard-section-heading time{color:var(--muted);text-transform:capitalize;font-size:.84rem}.today-room-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.today-room-card{border:1px solid var(--line);background:#fff;border-radius:14px;padding:19px;box-shadow:0 6px 22px #21373e0a}.room-card-heading{border-bottom:1px solid #edf1f2;justify-content:space-between;gap:12px;padding-bottom:16px;display:flex}.room-card-heading h3{margin:0 0 4px;font-size:1rem}.room-card-heading span,.room-card-heading small{color:var(--muted);font-size:.75rem}.room-card-heading small{white-space:nowrap}.today-percentages{grid-template-columns:repeat(3,1fr);gap:8px;padding-top:16px;display:grid}.today-percentages div{gap:3px;display:grid}.today-percentages strong{font-size:1.15rem}.today-percentages span{color:var(--muted);font-size:.72rem}.today-percentages .present strong{color:var(--low)}.today-percentages .late strong{color:#a67100}.today-percentages .absent strong{color:var(--high)}.dashboard-empty{text-align:center;min-height:126px;color:var(--muted);background:#f9fbfb;border:1px dashed #cbd9dc;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:7px;padding:24px;display:flex}.dashboard-empty strong{color:var(--ink)}.trend-panel{gap:18px}.chart-legend{color:var(--muted);gap:20px;font-size:.78rem;display:flex}.chart-legend span{align-items:center;gap:7px;display:flex}.chart-legend span:before{content:"";background:currentColor;border-radius:3px;width:18px;height:3px}.chart-legend .present{color:var(--low)}.chart-legend .absent{color:var(--high)}.attendance-chart-wrap{overflow-x:auto}.attendance-chart{width:100%;min-width:650px;display:block}.chart-grid-line{stroke:#e8eef0;stroke-width:1px}.chart-axis-label{fill:#7b8794;font-size:10px}.chart-axis-label.week{text-transform:capitalize}.chart-line{fill:none;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round}.chart-line.present{stroke:var(--low)}.chart-line.absent{stroke:var(--high)}.chart-point{stroke:#fff;stroke-width:2px}.chart-point.present{fill:var(--low)}.chart-point.absent{fill:var(--high)}.chart-note{color:var(--muted);margin:0;font-size:.76rem}.chart-empty{min-height:230px}.dashboard-update{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;padding-top:20px;display:flex}.dashboard-update>div{align-items:center;gap:10px;display:flex}.dashboard-update p{color:var(--muted);margin:0;font-size:.82rem}.dashboard-update p strong{color:var(--ink);font-weight:700}.refresh-status-dot{background:var(--low);border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 4px #e4f5ed}.refresh-button{align-items:center;gap:7px;display:flex}.refresh-button span{font-size:1.1rem}.dashboard-inline-error{color:#8c2733;background:#fde8eb;border:1px solid #f5c7ce;border-radius:10px;margin:0;padding:12px 14px;font-size:.85rem}.stat-card,.panel{background:var(--card);border:1px solid var(--line);border-radius:14px;box-shadow:0 8px 28px #21373e0d}.stat-card{border-top:4px solid var(--brand);padding:20px}.stat-card.high{border-top-color:var(--high)}.stat-card.medium{border-top-color:var(--medium)}.stat-card.low{border-top-color:var(--low)}.stat-card span{color:var(--muted);min-height:36px;font-size:.84rem;display:block}.stat-card strong{font-size:1.8rem}.panel{padding:24px}.panel h2{margin-top:0}.risk-bars{gap:18px;max-width:700px;display:grid}.risk-bars>div>div{justify-content:space-between;margin-bottom:7px;display:flex}.risk-bars progress{border:0;border-radius:20px;width:100%;height:12px;overflow:hidden}.risk-bars progress::-webkit-progress-bar{background:#edf1f2}.risk-bars progress::-webkit-progress-value{background:var(--low)}.risk-bars progress.medium::-webkit-progress-value{background:var(--medium)}.risk-bars progress.alto::-webkit-progress-value{background:var(--high)}.source{color:var(--muted);margin-top:22px;display:block}.state-box{border:1px solid var(--line);min-height:180px;color:var(--muted);background:#fff;border-radius:14px;justify-content:center;align-items:center;gap:12px;padding:24px;display:flex}.state-box.error{color:#8c2733;flex-direction:column}.spinner{border:3px solid #dce9e6;border-top-color:var(--brand);border-radius:50%;width:20px;height:20px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.table-panel{padding:0;overflow:hidden}.table-meta{border-bottom:1px solid var(--line);color:var(--muted);justify-content:space-between;padding:18px 20px;display:flex}.table-meta strong{color:var(--ink)}.table-scroll{overflow:auto}table{border-collapse:collapse;text-align:left;width:100%}th{text-transform:uppercase;letter-spacing:.05em;color:var(--muted);background:#f9fbfb;font-size:.75rem}th,td{white-space:nowrap;border-bottom:1px solid #edf1f2;padding:15px 18px}.code{color:var(--brand);font-family:ui-monospace,monospace}.risk{border-radius:99px;padding:5px 10px;font-size:.78rem;font-weight:800;display:inline-flex}.risk-bajo{color:var(--low);background:#e5f6ef}.risk-medio{color:#916500;background:#fff4d1}.risk-alto{color:var(--high);background:#fde8eb}.risk-pendiente{color:#637083;background:#eef1f4}.login-page{background:linear-gradient(135deg,#0e3632,#176b5b);grid-template-columns:1.15fr .85fr;min-height:100vh;display:grid}.login-intro{color:#fff;padding:12vw 9vw}.login-intro h1{max-width:800px;margin:18px 0;font-size:clamp(2.5rem,5vw,5.3rem);line-height:1.02}.login-intro p{color:#c8ded9;max-width:600px;font-size:1.1rem;line-height:1.7}.login-intro .eyebrow{color:#aee8da}.login-card{background:#fff;border-radius:20px;align-self:center;gap:19px;max-width:460px;margin:40px;padding:42px;display:grid;box-shadow:0 30px 80px #0000003b}.login-brand{margin-bottom:8px}.login-card h2{margin:0;font-size:1.7rem}.login-card label{gap:7px;font-size:.88rem;font-weight:700;display:grid}.login-card input{border:1px solid #cfdadd;border-radius:9px;outline:none;width:100%;padding:12px}.login-card input:focus{border-color:var(--brand);box-shadow:0 0 0 3px #d9eee9}.form-error{color:#9a2835;background:#fde8eb;border-radius:8px;margin:0;padding:10px}@media (width<=1000px){.dashboard-metrics{grid-template-columns:repeat(2,1fr)}.today-room-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.login-page{grid-template-columns:1fr}.login-intro{display:none}.login-card{justify-self:center;width:calc(100% - 40px);margin:20px}.shell{grid-template-columns:1fr}.sidebar{gap:15px;padding:16px 20px}.sidebar nav{display:flex}.sidebar-note{display:none}.topbar{padding:0 20px}main{padding:24px 18px}}@media (width<=600px){.dashboard-metrics,.today-room-grid{grid-template-columns:1fr}.dashboard-section-heading,.dashboard-update{flex-direction:column;align-items:flex-start}.dashboard-update .button{justify-content:center;width:100%}.page-header{display:block}.page-header .button{margin-top:16px}.sidebar nav a{font-size:.88rem}.topbar small{display:none}}.student-avatar{object-fit:cover;background:#e3efec;border:1px solid #cbdeda;border-radius:50%;width:42px;height:42px}.student-avatar.fallback{color:var(--brand-dark);place-items:center;font-weight:800;display:grid}.student-form{margin-bottom:20px}.form-section{border:1px solid var(--line);border-radius:12px;margin:20px 0;padding:4px 18px 0}.form-section legend{color:var(--brand-dark);padding:0 8px;font-weight:800}.form-section .muted{margin:6px 0 0}.form-grid,.form-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.form-grid{margin:20px 0}.form-wide{grid-column:1/-1}.data-form{gap:14px;display:grid}.data-form h2,.student-form h2{margin:0}.data-form label,.student-form label,.filter-row label{gap:7px;font-size:.85rem;font-weight:700;display:grid}.data-form input,.data-form select,.data-form textarea,.student-form input,.student-form select,.filter-row select{color:var(--ink);background:#fff;border:1px solid #cfdadd;border-radius:9px;padding:10px}.data-form textarea{resize:vertical;min-height:80px}.student-form .check{align-items:center;gap:8px;display:flex}.student-form .check input{width:auto}.filter-row{justify-content:space-between;align-items:end;margin:18px 0;display:flex}.filter-row label{min-width:180px}.notice{border-radius:10px;padding:12px 16px}.notice.success{color:#126548;background:#e5f6ef;border:1px solid #b9e3d2}.notice.error{color:#912d38;background:#fde8eb;border:1px solid #f4c2c9}.status{border-radius:99px;padding:5px 10px;font-size:.78rem;font-weight:800;display:inline-flex}.status.active{color:var(--low);background:#e5f6ef}.status.inactive{color:#637083;background:#eef1f4}.inactive-row{color:#6b737e;background:#fafbfb}.row-actions{align-items:center;gap:7px;display:flex}.button.small{color:#334a47;background:#e9efef;padding:7px 9px;font-size:.76rem}.form-columns{align-items:start}@media (width<=760px){.form-grid,.form-columns{grid-template-columns:1fr}.form-wide{grid-column:auto}.sidebar nav{overflow:auto}.sidebar nav a{white-space:nowrap}.filter-row{align-items:stretch}.row-actions{flex-direction:column;align-items:flex-start}}.panel-heading,.form-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.panel-heading h2{margin-bottom:4px}.history-panel{margin-bottom:20px}.history-list{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin-top:18px;display:grid}.history-list article{border:1px solid var(--line);border-radius:10px;gap:7px;padding:14px;display:grid}.history-list small{color:var(--muted)}.tracking-filter label{min-width:min(500px,100%)}.tracking-records{gap:18px;margin-top:20px;display:grid}.empty-cell{text-align:center;color:var(--muted);padding:28px}.form-actions{justify-content:flex-start}.filters-panel{margin:18px 0}.filters-grid{grid-template-columns:repeat(5,minmax(140px,1fr));gap:12px;display:grid}.filters-grid label{gap:7px;font-size:.82rem;font-weight:700;display:grid}.filters-grid input,.filters-grid select{width:100%;color:var(--ink);background:#fff;border:1px solid #cfdadd;border-radius:9px;padding:10px}.filter-actions{justify-content:flex-end;gap:8px;margin-top:14px;display:flex}.table-subtitle{color:var(--muted);margin-top:3px;display:block}.modal-backdrop{z-index:1000;background:#0a1e1d94;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.modal-card{background:#fff;border-radius:16px;width:min(900px,100%);max-height:90vh;padding:26px;overflow:auto;box-shadow:0 30px 80px #00000047}.modal-card h3{margin:26px 0 12px}.audit-list{gap:12px;display:grid}.audit-list article{border-left:4px solid var(--brand);background:#f7faf9;border-radius:8px;padding:14px 16px}.audit-list p{color:var(--muted);margin:7px 0}.audit-list ul{margin:10px 0 0;padding-left:20px}.audit-heading{justify-content:space-between;gap:15px;display:flex}.audit-heading time{color:var(--muted);font-size:.82rem}@media (width<=1050px){.filters-grid{grid-template-columns:repeat(3,1fr)}}@media (width<=760px){.filters-grid{grid-template-columns:1fr}.modal-backdrop{padding:10px}.modal-card{padding:18px}.audit-heading{gap:4px;display:grid}}.filters-panel{border-top:4px solid var(--brand);background:linear-gradient(#fbfefd,#fff)}.filters-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px;padding-bottom:16px;display:flex}.filters-heading>div{align-items:center;gap:12px;display:flex}.filters-heading h2{margin:0 0 3px;font-size:1rem}.filters-heading p{color:var(--muted);margin:0;font-size:.83rem}.filter-icon{width:34px;height:34px;color:var(--brand-dark);background:#dff2ed;border-radius:9px;place-items:center;font-size:1.25rem;font-weight:900;display:grid}.filter-count{color:var(--brand-dark);white-space:nowrap;background:#edf4f2;border-radius:99px;padding:6px 10px;font-size:.76rem;font-weight:800}.scholarship-form{margin-bottom:22px}.scholarship-form label{gap:7px;font-size:.85rem;font-weight:700;display:grid}.scholarship-form input,.scholarship-form textarea{color:var(--ink);font:inherit;background:#fff;border:1px solid #cfdadd;border-radius:9px;padding:10px}.scholarship-form textarea{resize:vertical;min-height:90px}.full-field{grid-column:1/-1}.scholarship-grid{grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:16px;display:grid}.scholarship-card{border:1px solid var(--line);background:#fff;border-radius:15px;gap:17px;padding:20px;display:grid;box-shadow:0 8px 28px #21373e0f}.scholarship-card.is-inactive{opacity:.72}.scholarship-card-top{justify-content:space-between;align-items:center;display:flex}.scholarship-mark{width:42px;height:42px;color:var(--brand);background:#dff3ed;border-radius:10px;place-items:center;font-size:1.05rem;font-weight:900;display:grid}.scholarship-year{color:var(--brand);text-transform:uppercase;letter-spacing:.06em;font-size:.76rem;font-weight:800}.scholarship-card h2{margin:4px 0 5px;font-size:1.1rem}.scholarship-card p{color:var(--muted);min-height:38px;margin:0;font-size:.86rem}.scholarship-metrics{border-top:1px solid var(--line);border-bottom:1px solid var(--line);grid-template-columns:repeat(3,1fr);gap:14px;padding:14px 0;display:grid}.scholarship-metrics div{text-align:center;gap:3px;display:grid}.scholarship-metrics strong{font-size:1.35rem}.scholarship-metrics small{color:var(--muted)}.card-actions{flex-wrap:wrap;gap:7px;display:flex}@media (width<=760px){.filters-heading{align-items:flex-start}.filter-count{display:none}.full-field{grid-column:auto}}.section-tabs{background:#e8efee;border-radius:11px;gap:5px;width:max-content;margin:0 0 18px;padding:5px;display:flex}.section-tabs button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;padding:9px 14px;font-weight:800}.section-tabs button.active{color:var(--brand-dark);background:#fff;box-shadow:0 2px 8px #1437331a}.user-form{margin-bottom:20px}.user-form label{gap:7px;font-size:.85rem;font-weight:700;display:grid}.user-form input,.user-form select{color:var(--ink);font:inherit;background:#fff;border:1px solid #cfdadd;border-radius:9px;padding:10px}.compact-filters{padding-bottom:18px}.user-filters{grid-template-columns:2fr 1fr 1fr}.role-chip{color:#294e49;background:#e8f1f0;border-radius:7px;padding:5px 9px;font-size:.78rem;font-weight:800;display:inline-flex}.audit-panel>.panel-heading{margin-bottom:18px}.audit-target{color:var(--brand);margin-top:3px;font-size:.8rem;display:block}.audit-heading>div{display:grid}@media (width<=760px){.section-tabs{width:100%}.section-tabs button{flex:1}.user-filters{grid-template-columns:1fr}}.report-layout{grid-template-columns:minmax(0,1fr) 330px;align-items:start;gap:18px;display:grid}.report-builder{gap:20px;display:grid}.report-filter-title{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding-bottom:12px;display:flex}.report-filters{grid-template-columns:repeat(3,minmax(140px,1fr))}.report-filters label{gap:7px;font-size:.82rem;font-weight:700;display:grid}.report-filters input,.report-filters select{width:100%;color:var(--ink);background:#fff;border:1px solid #cfdadd;border-radius:9px;padding:10px}.export-panel{gap:13px;display:grid;position:sticky;top:92px}.export-panel h2{margin:4px 0}.format-option{border:1px solid var(--line);cursor:pointer;border-radius:11px;grid-template-columns:auto 48px 1fr;align-items:center;gap:10px;padding:12px;display:grid}.format-option.selected{border-color:var(--brand);background:#f9fdfc;box-shadow:0 0 0 3px #d9eee9}.format-option input{accent-color:var(--brand)}.format-option>span:last-child{gap:3px;display:grid}.format-option small{color:var(--muted);line-height:1.3}.format-icon{border-radius:8px;place-items:center;width:46px;height:38px;font-size:.72rem;font-weight:900;display:grid}.format-icon.pdf{color:#a32938;background:#fde8eb}.format-icon.xlsx{color:#126548;background:#e5f6ef}.export-summary{background:#f5f8f8;border-radius:10px;padding:13px;font-size:.82rem}.export-summary ul{color:var(--muted);gap:5px;margin:8px 0 0;padding-left:18px;display:grid}.report-download{width:100%}.report-audit-list article{border-left-color:#28766a}.filter-tags{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.filter-tags span{color:#385853;background:#e8f1f0;border-radius:6px;padding:5px 8px;font-size:.75rem;font-weight:700}@media (width<=1050px){.report-layout{grid-template-columns:1fr}.export-panel{position:static}.report-filters{grid-template-columns:repeat(2,1fr)}}@media (width<=760px){.report-filters{grid-template-columns:1fr}}.report-type-select{gap:7px;font-size:.86rem;font-weight:700;display:grid}.report-type-select select{width:100%;color:var(--ink);font:inherit;background:#fff;border:1px solid #b9cbce;border-radius:10px;padding:11px}.report-type-description{border-left:4px solid var(--brand);background:#eef7f5;border-radius:8px;padding:13px 15px}.report-type-description p{color:var(--muted);margin:5px 0 0;line-height:1.5}.status.admission-pendiente{color:#805b00;background:#fff4d1}.status.admission-aceptado{color:var(--low);background:#e5f6ef}.status.admission-rechazado{color:var(--high);background:#fde8eb}.pending-panel{border-top:4px solid var(--medium);margin-top:22px}.button.small.approve{color:#126548;background:#dff3eb}.button.small.reject{color:#912d38;background:#fde8eb}.admission-report-filter{align-items:end;gap:18px;margin-bottom:18px;display:flex}.admission-report-filter label{gap:7px;font-size:.82rem;font-weight:700;display:grid}.admission-report-filter select{color:var(--ink);background:#fff;border:1px solid #cfdadd;border-radius:9px;padding:10px}.prediction-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px;display:grid}.prediction-generator{border-top:4px solid var(--medium);grid-template-columns:minmax(260px,1fr) minmax(280px,1fr) auto;align-items:end;gap:18px;margin-bottom:20px;display:grid}.prediction-generator h2{margin:0 0 5px}.prediction-generator label,.prediction-edit label{gap:7px;font-size:.85rem;font-weight:700;display:grid}.prediction-generator select,.prediction-edit input,.prediction-edit textarea{color:var(--ink);font:inherit;background:#fff;border:1px solid #cfdadd;border-radius:9px;padding:10px}.prediction-filter .filters-grid{grid-template-columns:minmax(180px,320px)}.probability-value{color:var(--brand-dark);font-size:1.08rem}.snapshot-line{color:var(--muted);font-size:.8rem;line-height:1.55;display:block}.factor-list{flex-wrap:wrap;gap:5px;max-width:260px;display:flex}.factor-list span{color:#315b55;background:#edf4f2;border-radius:6px;padding:4px 7px;font-size:.72rem}.prediction-edit{gap:17px;width:min(540px,100%);display:grid}.prediction-edit h2{margin:4px 0}.prediction-edit textarea{resize:vertical;min-height:90px}.risk-result-summary{background:#f4f8f7;border-radius:12px;align-items:center;gap:18px;padding:18px;display:flex}.risk-result-summary .probability-value{font-size:1.7rem}@media (width<=1000px){.prediction-generator{grid-template-columns:1fr 1fr}.prediction-generator>div{grid-column:1/-1}}@media (width<=760px){.prediction-stats{grid-template-columns:1fr 1fr}.prediction-generator{grid-template-columns:1fr}.prediction-generator>div{grid-column:auto}}.attendance-controls{border-top:4px solid var(--brand);margin-bottom:18px}.attendance-toolbar{grid-template-columns:minmax(200px,1fr) 180px minmax(240px,1.4fr) auto;align-items:end;gap:14px;display:grid}.attendance-toolbar label{gap:7px;font-size:.84rem;font-weight:700;display:grid}.attendance-toolbar input,.attendance-toolbar select{width:100%;color:var(--ink);font:inherit;background:#fff;border:1px solid #cfdadd;border-radius:9px;padding:10px}.attendance-summary{border-top:1px solid var(--line);color:var(--muted);flex-wrap:wrap;align-items:center;gap:18px;margin-top:18px;padding-top:16px;font-size:.86rem;display:flex}.attendance-summary strong{color:var(--ink)}.session-state{color:#805b00;background:#fff4d1;border-radius:99px;margin-right:auto;padding:6px 10px;font-weight:800}.session-state.saved{color:var(--low);background:#e5f6ef}.attendance-student{align-items:center;gap:11px;display:flex}.attendance-options{gap:7px;display:flex}.attendance-option{border:1px solid var(--line);color:var(--muted);cursor:pointer;background:#fff;border-radius:8px;padding:8px 12px;font-weight:800}.attendance-option.selected.presente{color:#126548;background:#e5f6ef;border-color:#82caae}.attendance-option.selected.ausente{color:#912d38;background:#fde8eb;border-color:#e9a4ad}.attendance-option.selected.tardia{color:#805b00;background:#fff4d1;border-color:#e8c55f}.attendance-observation{width:100%;min-width:240px;color:var(--ink);font:inherit;background:#fff;border:1px solid #cfdadd;border-radius:8px;padding:9px 10px}.attendance-observation:focus{outline:2px solid color-mix(in srgb,var(--brand) 30%,transparent);border-color:var(--brand)}.attendance-save{background:#f9fbfb;justify-content:flex-end;align-items:center;gap:20px;padding:18px 20px;display:flex}.attendance-save span{color:var(--muted);font-size:.84rem}.evaluation-section{margin-top:22px}.evaluation-section>summary{cursor:pointer;color:var(--brand-dark);font-size:1.05rem;font-weight:800}.evaluation-section[open]>summary{margin-bottom:18px}.evaluation-form{border-top:1px solid var(--line);padding-top:18px}.evaluation-history{border:1px solid var(--line);border-radius:10px;margin-top:20px}@media (width<=1000px){.attendance-toolbar{grid-template-columns:1fr 1fr}.attendance-search{grid-column:1/-1}}@media (width<=650px){.attendance-toolbar{grid-template-columns:1fr}.attendance-search{grid-column:auto}.attendance-summary{gap:10px}.session-state{width:100%;margin:0}.attendance-options{flex-direction:column}.attendance-save{flex-direction:column;align-items:stretch}.attendance-save .button{width:100%}}.attendance-history-section{border-top:4px solid var(--brand-dark);margin-top:24px}.attendance-history-section .panel-heading{margin-bottom:18px}.history-filters{border:1px solid var(--line);background:#f7faf9;border-radius:11px;grid-template-columns:minmax(180px,320px) minmax(180px,260px);gap:14px;padding:18px;display:grid}.history-filters label{gap:7px;font-size:.84rem;font-weight:700;display:grid}.history-filters select{width:100%;color:var(--ink);font:inherit;background:#fff;border:1px solid #cfdadd;border-radius:9px;padding:10px}.history-summary{margin-top:18px}.attendance-record-state{color:#637083;background:#eef1f4;border-radius:99px;padding:5px 10px;font-size:.78rem;font-weight:800;display:inline-flex}.attendance-record-state.presente{color:#126548;background:#e5f6ef}.attendance-record-state.ausente{color:#912d38;background:#fde8eb}.attendance-record-state.tardia,.attendance-record-state.justificado{color:#805b00;background:#fff4d1}.empty-history{text-align:center;color:var(--muted);padding:28px}.evaluation-page{border-top:4px solid var(--brand)}.evaluation-page .tracking-filter{margin-top:0}@media (width<=650px){.history-filters{grid-template-columns:1fr}}.scholarship-form select{color:var(--ink);font:inherit;background:#fff;border:1px solid #cfdadd;border-radius:9px;padding:10px}.room-grid{grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:16px;display:grid}.entity-section{margin:26px 0}.section-heading{align-items:center;gap:10px;margin-bottom:14px;display:flex}.section-heading h2{margin:0;font-size:1.15rem}.section-heading span{min-width:28px;height:28px;color:var(--brand-dark);background:#dff2ed;border-radius:99px;place-items:center;font-size:.8rem;font-weight:800;display:grid}.compact-state{min-height:90px}.room-creation-section{margin-top:4px;margin-bottom:20px;padding-bottom:18px}.initial-room-list{gap:10px;margin:16px 0;display:grid}.initial-room-list>div{grid-template-columns:minmax(220px,1fr) auto;align-items:end;gap:10px;display:grid}.room-card .scholarship-mark{background:#edf4f2}.modal-content{margin-top:22px}.button:disabled[title]{cursor:not-allowed}@media (width<=650px){.initial-room-list>div,.room-grid{grid-template-columns:1fr}}.shell{align-items:start}.sidebar{gap:30px;height:100vh;position:sticky;top:0;overflow-y:auto}.sidebar nav{gap:22px;display:grid}.nav-section{gap:6px;display:grid}.nav-section-title{color:#72918c;letter-spacing:.12em;text-transform:uppercase;padding:0 12px 5px;font-size:.68rem;font-weight:800}.sidebar nav a{align-items:center;gap:11px;padding:10px 12px;font-size:.9rem;font-weight:650;display:flex}.nav-icon{flex:0 0 19px;width:19px;height:19px}@media (width<=1000px){.sidebar{height:auto;position:static;overflow:visible}.sidebar nav{gap:14px;display:flex;overflow-x:auto}.nav-section{align-items:center;gap:6px;display:flex}.nav-section-title{display:none}}.http-error-page{background:radial-gradient(circle at 18% 18%,#d7f3e8e6,#0000 30%),linear-gradient(145deg,#f7fbfa,#e9f1f0);place-items:center;max-width:none;min-height:100vh;margin:0;padding:40px 24px;display:grid}.http-error-card{text-align:center;border:1px solid var(--line);background:#fffffff0;border-radius:24px;flex-direction:column;align-items:center;width:min(680px,100%);padding:42px;display:flex;box-shadow:0 28px 80px #14393521}.http-error-brand{color:var(--brand-dark);letter-spacing:.04em;align-self:flex-start;align-items:center;gap:11px;font-size:.9rem;display:flex}.http-error-brand .brand-logo{border-radius:10px;width:38px;height:38px}.http-error-illustration{width:210px;height:175px;color:var(--brand);place-items:center;margin:10px 0 12px;display:grid;position:relative}.http-error-illustration:before{content:"";background:#e5f3ef;border-radius:50%;width:150px;height:150px;position:absolute}.http-error-illustration svg{opacity:.85;width:92px;height:92px;position:absolute}.http-error-code{z-index:1;color:var(--brand-dark);text-shadow:0 2px #fff;font-size:3rem;font-weight:900;line-height:1;position:absolute;bottom:5px;right:0}.http-error-card h1{letter-spacing:-.035em;color:var(--ink);margin:9px 0 12px;font-size:clamp(2rem,5vw,3rem)}.http-error-card p{max-width:560px;color:var(--muted);margin:0;font-size:1.05rem;line-height:1.65}.http-error-card small{color:#7c878e;max-width:520px;margin-top:13px;line-height:1.5}.http-error-action{margin-top:28px;text-decoration:none}.error-403 .http-error-illustration{color:#9a6b00}.error-403 .http-error-illustration:before{background:#fff4d1}@media (width<=600px){.http-error-page{padding:18px}.http-error-card{padding:28px 20px}.http-error-brand{align-self:center}.http-error-illustration{width:185px;height:150px}.http-error-illustration:before{width:130px;height:130px}}
