@import "https://fonts.googleapis.com/css2?family=Mulish:wght@400;500;600;700;800&family=Raleway:wght@600;700;800&display=swap";
:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#e3ebf5;--surface:#fff;--surface-muted:#edf3fa;--surface-raised:#f5f9fd;--border:#ccdaea;--border-strong:#b2c5db;--text:#172437;--muted:#63748a;--primary:#3157d5;--primary-strong:#2546b4;--primary-soft:#e7edff;--blue:#3157d5;--violet:#6a45cf;--teal:#0f7d8c;--amber:#d9822b;--grade-good:#3157d5;--grade-good-soft:#e7edff;--grade-low:#c0353d;--grade-low-soft:#fdebed;--shadow-xs:0 2px 8px #1220390f;--shadow-sm:0 6px 18px #12203914;--shadow-md:0 18px 46px #12203929}.academic-details-heading{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.student-pdf-button{border:1px solid var(--primary);background:var(--primary);color:#fff;min-height:36px;font:inherit;cursor:pointer;border-radius:10px;align-items:center;gap:7px;padding:7px 12px;font-size:12px;font-weight:700;display:inline-flex;box-shadow:0 6px 16px #3157d533}.student-pdf-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:16px;height:16px}.student-pdf-button:hover{border-color:var(--primary-strong);background:var(--primary-strong);color:#fff;transform:translateY(-1px);box-shadow:0 9px 20px #3157d547}.student-pdf-button:focus-visible{outline-offset:2px;outline:3px solid #3157d53d}.student-pdf-button:disabled{opacity:.5;cursor:not-allowed}.student-pdf-only{display:none}.student-pdf-render .student-pdf-only{display:block}.student-pdf-render .analysis-layout,.student-pdf-render .analysis-main,.student-pdf-render .analysis-sidebar,.student-pdf-render .analysis-main>.grid{width:100%;min-width:0;display:block}.student-pdf-render .student-header{grid-template-columns:2fr 1fr 1fr;gap:16px;display:grid}.student-pdf-render .student-header.has-olympic-card{grid-template-columns:2fr 1fr 1fr 1fr}.student-pdf-render .student-header>div:first-child{padding-right:0}.student-pdf-render .student-header>.grade-card{border-top:0;border-left:1px solid #d6e0ec;padding:10px 12px}.student-pdf-render .ranking-summary{grid-template-columns:repeat(3,1fr);display:grid}.student-pdf-render .panel,.student-pdf-render .student-header,.student-pdf-render .ranking-summary{box-shadow:none;margin:0;padding:12px}.student-pdf-render .student-pdf-chart-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.student-pdf-render .student-pdf-chart-row .panel-title{align-items:flex-start;gap:4px;min-height:22px}.student-pdf-render .student-pdf-chart-row .panel-title h3{font-size:13px}.student-pdf-render .student-pdf-chart-row .panel-title>span{display:none}.student-pdf-render .student-pdf-chart-row .legend{gap:5px 10px;font-size:10px}.student-pdf-render .student-pdf-chart-row .panel{min-height:0}.student-pdf-render .student-followup-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;display:grid}.student-pdf-render .student-pdf-chart-row .chart-shell svg{height:150px}.student-pdf-render .bars{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px}.student-pdf-render .bar-row{grid-template-columns:120px minmax(0,1fr) 32px;gap:6px;min-height:22px;padding:2px 0}.student-pdf-render .bar-label{white-space:normal;font-size:12px;overflow:visible}.student-pdf-render .bars-scroll,.student-pdf-render .occurrences-list,.student-pdf-render .table-scroll{height:auto;max-height:none;overflow:visible}.student-pdf-render,.student-pdf-render *,.student-pdf-render :before,.student-pdf-render :after{filter:none!important;background-image:none!important}.student-pdf-render{color:#172437!important;background-color:#fff!important}.student-pdf-render .panel,.student-pdf-render .student-header,.student-pdf-render .ranking-summary .metric,.student-pdf-render .grade-card{background-color:#fff!important;border-color:#d6e0ec!important}.student-pdf-render .chart-shell{background-color:#f8fbff!important}.student-pdf-render .occurrences-panel{background-color:#fff7f7!important;border-color:#fecaca!important}.student-pdf-render .student-ai-report{color:#172437!important;background-color:#f8faff!important;border:1px solid #c9d7f2!important;border-left:5px solid #3157d5!important}.student-ai-report-heading{margin-bottom:10px}.student-ai-report-heading span{color:#3157d5;letter-spacing:.08em;font-size:10px;font-weight:800}.student-ai-report-heading h3{margin:3px 0 0;font-size:18px}.student-ai-report-summary{margin:0;font-size:13px;line-height:1.55}.student-ai-report-groups{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:14px;display:grid}.student-ai-report-groups section{border-top:1px solid #d6e0ec;padding-top:9px}.student-ai-report-groups h4{margin:0 0 6px;font-size:12px}.student-ai-report-groups ul{margin:0;padding-left:17px}.student-ai-report-groups li{margin:0 0 4px;font-size:11px;line-height:1.4}.student-ai-report-note{border-top:1px solid #d6e0ec;margin:10px 0 0;padding-top:9px;font-size:11px;line-height:1.45}.student-ai-report>small{color:#61718a;margin-top:10px;font-size:9px;display:block}.student-report-flyout{z-index:110;position:relative}.student-report-trigger{color:#fff;width:100%;min-height:36px;font:inherit;cursor:pointer;background:#028747;border:1px solid #088d4d;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:7px 12px;font-size:12px;font-weight:700;transition:transform .18s,background .18s,color .18s;display:inline-flex}.student-report-trigger:hover{color:#fff;background:#016f3b;transform:translateY(-1px)}.student-report-trigger:disabled{opacity:.55;cursor:not-allowed;transform:none}.student-report-trigger>svg{width:17px;height:17px}.student-report-trigger .student-report-trigger-label{color:#fff;font-size:inherit}.student-report-popover{border:1px solid var(--border-strong);background:var(--surface);width:min(430px,100vw - 100px);max-height:min(650px,100dvh - 48px);color:var(--text);border-radius:16px;flex-direction:column;display:flex;position:fixed;overflow:hidden;box-shadow:0 22px 58px #14233c3d}.student-report-popover>header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:16px;padding:16px 18px 13px;display:flex}.student-report-popover>header span{color:var(--primary);letter-spacing:.1em;text-transform:uppercase;font-size:10px;font-weight:800}.student-report-popover>header h3{margin:3px 0 0;font-size:18px}.student-report-header-actions{align-items:center;gap:7px;display:flex}.student-report-export{border:1px solid var(--primary);background:var(--primary-soft);min-height:30px;color:var(--primary);font:inherit;cursor:pointer;border-radius:8px;align-items:center;gap:6px;padding:5px 9px;font-size:10px;font-weight:750;display:inline-flex}.student-report-export svg{width:14px;height:14px}.student-report-export:disabled{opacity:.5;cursor:not-allowed}.student-report-close{border:1px solid var(--border);background:var(--surface-muted);width:30px;height:30px;color:var(--text);font:inherit;cursor:pointer;border-radius:8px;flex:none;place-items:center;font-size:22px;line-height:1;display:grid}.student-report-content{scrollbar-color:var(--primary) var(--surface-muted);scrollbar-width:thin;flex:auto;width:100%;min-width:0;min-height:0;max-height:560px;padding:17px 22px 18px 18px;overflow-y:auto}.student-report-content::-webkit-scrollbar{width:7px}.student-report-content::-webkit-scrollbar-track{background:var(--surface-muted)}.student-report-content::-webkit-scrollbar-thumb{background:var(--primary);border-radius:999px}.student-report-content section{border-top:1px solid var(--border);margin-top:16px;padding-top:12px}.student-report-content h4{align-items:center;gap:7px;margin:0 0 7px;font-size:13px;display:flex}.student-report-content h4 svg{flex:none;width:16px;height:16px}.student-report-section.strong h4{color:var(--grade-good)}.student-report-section.weak h4{color:var(--grade-low)}.student-report-section.attention h4{color:#b36a00}.student-report-section.recommendation h4{color:var(--primary)}.student-report-content ul{gap:8px;margin:0;padding-left:18px;display:grid}.student-report-content li{white-space:normal;overflow-wrap:anywhere;min-width:0}.student-report-content li::marker{color:var(--primary)}.student-report-content li,.student-report-content p{font-size:12px;line-height:1.55}.student-report-summary{color:var(--text);margin:0;font-size:13px!important}.student-header .student-report-content .student-report-highlight{white-space:normal;overflow-wrap:anywhere;font-weight:700}.student-report-highlight.positive{color:var(--grade-good);-webkit-text-decoration-color:var(--grade-good);text-decoration-color:var(--grade-good)}.student-report-highlight.comparative-positive{color:var(--primary);-webkit-text-decoration-color:var(--primary);text-decoration-color:var(--primary)}.student-report-highlight.negative{color:var(--grade-low);-webkit-text-decoration-color:var(--grade-low);text-decoration-color:var(--grade-low)}.student-report-observation p{margin:0}.student-report-content>small{color:var(--muted);margin-top:16px;font-size:10px;line-height:1.4;display:block}.student-report-status{color:var(--muted);margin:0}.student-report-error p,.student-report-export-error{color:var(--grade-low);margin:0 0 10px}.student-report-error button{border:1px solid var(--border-strong);background:var(--surface);color:var(--primary);font:inherit;cursor:pointer;border-radius:8px;padding:7px 10px;font-size:11px;font-weight:700}html[data-theme=dark] .student-report-trigger{color:#fff;background:#028747}@media (max-width:760px){.student-report-popover{width:auto}.student-report-content{max-height:calc(72dvh - 76px)}}*{box-sizing:border-box}body{background:var(--background);color:var(--text);margin:0;font-family:Mulish,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}.app-shell-content{min-width:0;min-height:100vh;margin-left:224px}.login-shell-content{margin-left:0}.account-bar{border-bottom:1px solid var(--border);background:#fffffff0;justify-content:flex-end;align-items:center;gap:10px;min-height:72px;padding:10px 32px;display:flex;box-shadow:0 3px 14px #263e650a}.theme-toggle{border:1px solid var(--border);background:var(--surface);width:42px;height:42px;color:var(--muted);cursor:pointer;box-shadow:var(--shadow-xs);border-radius:11px;flex:none;place-items:center;display:grid}.theme-toggle:hover{color:var(--primary);background:var(--primary-soft);border-color:#9db4d5}.theme-toggle:focus-visible{outline-offset:2px;outline:3px solid #3157d53d}.theme-toggle svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:20px;height:20px}.account-summary{justify-content:flex-end;align-items:center;display:flex}.account-identity{justify-items:start;gap:4px;line-height:1;display:grid}.account-identity strong{color:#18243a;white-space:nowrap;font-size:14px}.account-identity small{background:var(--account-role-color,#172033);color:#fff;white-space:nowrap;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:700}html[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--background:#0f1724;--surface:#182231;--surface-muted:#222f40;--surface-raised:#1c2838;--border:#344358;--border-strong:#4a5d76;--text:#edf3fa;--muted:#a9b8ca;--primary:#7d9cff;--primary-strong:#6386f5;--primary-soft:#263657;--blue:#7d9cff;--grade-good:#7d9cff;--grade-good-soft:#263657;--grade-low:#ff7b83;--grade-low-soft:#49282d;--shadow-xs:0 1px 2px #0003, 0 2px 7px #0000001f;--shadow-sm:0 4px 18px #0003;--shadow-md:0 12px 34px #00000042}html[data-theme=dark] body{color:var(--text);background:#0f1724}html[data-theme=dark] h1,html[data-theme=dark] .grade-card-title h2,html[data-theme=dark] .account-identity strong{color:var(--text)}html[data-theme=dark] .account-bar{background:#131d2bf5;box-shadow:0 3px 14px #0000002e}html[data-theme=dark] .app-sidebar{border-right-color:var(--border);background:linear-gradient(#182231,#121c2a);box-shadow:8px 0 28px #0003}html[data-theme=dark] .app-sidebar-nav a:hover,html[data-theme=dark] .app-sidebar-platforms-trigger:hover,html[data-theme=dark] .app-sidebar-nav a.active{background:var(--primary-soft);color:#b8c8ff}html[data-theme=dark] .panel,html[data-theme=dark] .filters-panel,html[data-theme=dark] .student-header,html[data-theme=dark] .ranking-summary .metric,html[data-theme=dark] .grade-kpis article,html[data-theme=dark] .grade-card,html[data-theme=dark] .home-card,html[data-theme=dark] .notes-empty,html[data-theme=dark] .grade-header-unit-cards article{border-color:var(--border);box-shadow:var(--shadow-sm);background:linear-gradient(155deg,#1b2737,#182231)}html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] .panel-link{border-color:var(--border);background:var(--surface);color:var(--text)}html[data-theme=dark] .grade-table-scroll thead th{color:#c5d1df;background:#222f40}html[data-theme=dark] .grade-table-scroll tbody tr:hover{background:#25344a}.global-update-banner{z-index:140;color:#1e40af;text-align:center;background:#eff6ff;border-bottom:1px solid #bfdbfe;padding:9px 20px;font-size:13px;font-weight:700;position:sticky;top:0;box-shadow:0 3px 12px #2563eb14}.app-sidebar{z-index:150;background:linear-gradient(#fff 0%,#eff6ff 100%);border-right:1px solid #c7d7f2;flex-direction:column;width:224px;padding:22px 14px 16px;display:flex;position:fixed;inset:0 auto 0 0;box-shadow:8px 0 26px #2563eb0f}.app-sidebar-brand{color:var(--text);align-items:center;gap:11px;margin:0 6px 26px;text-decoration:none;display:flex}.app-sidebar-brand>span{background:var(--primary);color:#fff;border-radius:11px;flex:none;place-items:center;width:40px;height:40px;font-size:13px;font-weight:800;display:grid}.app-sidebar-brand div{gap:3px;min-width:0;display:grid}.app-sidebar-brand strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.app-sidebar-nav{gap:6px;display:grid}.app-sidebar-nav a,.app-sidebar-logout,.app-sidebar-platforms-trigger{min-height:46px;color:var(--muted);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;grid-template-columns:34px 1fr;align-items:center;gap:9px;padding:6px 9px;text-decoration:none;display:grid}.app-sidebar-nav a>span,.app-sidebar-logout>span,.app-sidebar-platforms-trigger>span{background:var(--surface-muted);width:30px;height:30px;color:var(--primary);border-radius:8px;place-items:center;font-size:10px;font-weight:800;display:grid}.app-sidebar-nav a strong,.app-sidebar-logout strong,.app-sidebar-platforms-trigger strong{font-size:13px}.app-sidebar-platforms-trigger{width:100%;font-family:inherit}.app-sidebar-nav a.active{background:var(--primary-soft);color:var(--primary);box-shadow:inset 3px 0 0 var(--primary)}.app-sidebar-nav a.active>span{background:var(--primary);color:#fff}.app-sidebar-logout{margin-top:auto;font-family:inherit}.app-sidebar-logout:hover{background:var(--grade-low-soft);color:var(--grade-low)}.app-sidebar-logout:hover>span{background:var(--grade-low);color:#fff}button,input,select{font:inherit}.login-page{place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{border:1px solid var(--border);background:var(--surface);border-radius:16px;width:min(420px,100%);padding:32px;box-shadow:0 18px 50px #1d27331a}.login-card h1{margin:4px 0 8px}.login-card>p:not(.eyebrow,.login-error){color:var(--muted);margin:0 0 24px}.login-card label{gap:7px;margin-top:16px;font-size:14px;font-weight:700;display:grid}.login-card input{border:1px solid var(--border);background:var(--surface);border-radius:8px;width:100%;padding:11px 12px}.login-card button{background:var(--primary);color:#fff;cursor:pointer;border:0;border-radius:8px;width:100%;margin-top:22px;padding:12px;font-weight:700}.login-card button:disabled{cursor:wait;opacity:.65}.login-error{color:var(--grade-low);margin:14px 0 0;font-size:14px}.page{width:min(1480px,100%);margin:0 auto;padding:28px 32px 44px}.topbar{grid-template-columns:minmax(260px,1fr) minmax(320px,520px);align-items:start;gap:24px;margin-bottom:18px;display:grid}.topbar-tools{gap:12px;display:grid}.topbar-actions{justify-content:flex-end;align-items:center;gap:10px;display:flex}.topbar-actions .panel-link{padding:8px 14px}.class-topbar{align-items:center}.page-subtitle{color:var(--muted);margin:8px 0 0}.panel-link{border:1px solid var(--border);background:var(--surface);color:var(--primary);border-radius:8px;justify-self:end;padding:10px 14px;font-weight:700;text-decoration:none}.inline-page-link{color:var(--primary);margin-top:10px;font-size:14px;font-weight:700;text-decoration:none;display:inline-block}.inline-page-link:hover,.panel-link:hover{text-decoration:underline}.filters-panel{border:1px solid var(--border);background:var(--surface);border-radius:8px;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:18px;padding:16px;display:grid}.filters-panel label{color:var(--muted);gap:7px;font-size:13px;display:grid}.filters-panel select{border:1px solid var(--border);background:var(--surface);width:100%;height:42px;color:var(--text);border-radius:8px;padding:0 12px}.compact-filters{background:0 0;border:0;grid-template-columns:240px 200px 220px 140px;justify-content:start;margin-bottom:12px;padding:0}.eyebrow{color:var(--primary);text-transform:uppercase;margin:0 0 6px;font-size:13px;font-weight:700}h1,h2,h3,p{margin-top:0}h1{letter-spacing:0;margin-bottom:0;font-size:32px}.search{z-index:20;gap:8px;display:grid;position:relative}.search label,.metric span,.student-header span,.panel-title span{color:var(--muted);white-space:nowrap;font-size:13px}.search-control{position:relative}.search input{border:1px solid var(--border);background:var(--surface);width:100%;height:42px;color:var(--text);border-radius:8px;padding:0 44px 0 12px}.student-list-toggle{border:0;border-left:1px solid var(--border);background:var(--surface);width:40px;height:40px;color:var(--muted);cursor:pointer;border-radius:0 7px 7px 0;padding:0;position:absolute;top:1px;right:1px}.student-list-toggle:before{content:"";border-top:7px solid;border-left:6px solid #0000;border-right:6px solid #0000;width:0;height:0;position:absolute;top:17px;left:14px}.student-list-toggle[aria-expanded=true]{color:var(--blue);background:var(--primary-soft)}.suggestions,.manual-list{gap:6px;display:grid}.suggestions{z-index:10;border:1px solid var(--border);background:var(--surface);border-radius:8px;width:100%;max-height:268px;padding:8px;position:absolute;top:calc(100% + 6px);right:0;overflow:auto;box-shadow:0 18px 40px #1d273329}.manual-list{z-index:10;border:1px solid var(--border);background:var(--surface);border-radius:8px;width:100%;max-height:220px;padding:8px;position:absolute;top:calc(100% + 6px);right:0;overflow:auto;box-shadow:0 18px 40px #1d273329}.suggestions button,.manual-list button{border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);text-align:left;cursor:pointer;border-radius:8px;gap:3px;padding:9px 11px;display:grid}.suggestions button.active,.manual-list button.active{border-color:var(--primary);background:var(--primary-soft)}.suggestions span,.manual-list span{color:var(--muted);font-size:12px}.student-header{border:1px solid var(--border);background:var(--surface);border-radius:8px;grid-template-columns:minmax(220px,1fr) 160px 240px auto;align-items:stretch;gap:12px;margin-bottom:14px;padding:12px;display:grid;position:relative}.student-header.has-olympic-card{grid-template-columns:minmax(190px,1fr) 220px 150px 220px auto}.student-header>.grade-card{box-sizing:border-box;text-align:left;align-content:center;align-self:stretch;padding:10px 12px;display:grid}.student-header>div:first-child{min-width:0}.student-header .academic-details-heading{min-height:36px}.student-header-actions{place-self:start end;gap:8px;display:grid}.student-header-actions>.student-pdf-button{justify-content:center;width:100%}.student-header .student-stage-averages{justify-content:start;width:100%}.student-header .olympic-medal-breakdown{width:100%}.student-header h2{margin:2px 0 3px;font-size:20px;line-height:1.2}.student-header p{color:var(--muted);margin-bottom:0;font-size:13px;line-height:1.35}.student-header>div>span,.student-header>.grade-card>span{font-size:11px;line-height:1.2}.metric{border-left:1px solid var(--border);padding-left:16px}.metric strong{margin-top:6px;font-size:38px;line-height:1;display:block}.metric small{color:var(--muted);margin-top:8px;font-size:12px;display:block}.student-stage-averages{border-top:1px solid #66768a38;grid-template-columns:repeat(4,28px);justify-content:start;gap:4px;margin-top:8px;padding-top:7px;display:grid}.student-stage-averages>div{gap:2px;min-width:0;display:grid}.student-stage-averages>div>span{text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:700;overflow:hidden}.student-stage-averages>div>strong{margin:0;font-size:14px;line-height:1.1}.grade-card .student-stage-averages strong.grade-good{color:var(--grade-good)}.grade-card .student-stage-averages strong.grade-low{color:var(--grade-low)}.olympic-medalist-card strong{font-size:20px;line-height:1.15}.olympic-medalist-card{border-left-color:var(--amber);background:linear-gradient(145deg,#fff,#fff9e8);position:relative}.olympic-medalist-card strong{color:#a76508}.olympic-medal-breakdown{border-top:1px solid #b47e1a33;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:9px;padding-top:7px;display:grid}.olympic-medal-breakdown>span{justify-items:center;gap:2px;min-width:0;display:grid}.olympic-medal-breakdown small{width:100%;color:var(--muted);letter-spacing:.02em;text-align:center;text-transform:uppercase;font-size:9px;font-weight:700;overflow:hidden}.olympic-medal-breakdown b{color:#704507;font-size:13px;line-height:1}.olympic-medal-ouro b{color:#a76508}.olympic-medal-prata b{color:#64748b}.olympic-medal-bronze b{color:#a4511d}.olympic-medal-outras b{color:var(--muted)}.olympic-medalist-tooltip{z-index:50;background:#fffdf7fa;border:1px solid #ead29b;border-radius:10px;width:190px;padding:11px 12px;display:none;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%);box-shadow:0 16px 36px #6548122e}.olympic-medalist-tooltip>b{color:#704507;margin-bottom:5px;font-size:12px;display:block}.olympic-medalist-tooltip>span{border-top:1px solid #b47e1a29;justify-content:space-between;align-items:baseline;gap:12px;padding:6px 0;display:flex}.olympic-medalist-tooltip>span>strong,.olympic-medalist-tooltip>span>small{margin:0;font-size:11px;line-height:1.2}.olympic-medalist-tooltip>span>small{color:var(--text);white-space:nowrap}.olympic-medalist-card:hover .olympic-medalist-tooltip,.olympic-medalist-card:focus-visible .olympic-medalist-tooltip{display:block}.grade-card{border-left-style:solid;border-left-width:4px;border-radius:8px;padding:14px 16px}.student-header>.grade-card>strong{margin-top:4px;font-size:28px}.student-header>.grade-card>small{margin-top:5px;font-size:11px;line-height:1.3}.student-header>.olympic-medalist-card>strong{font-size:17px;line-height:1.15}.grade-card.grade-good{border-color:var(--grade-good);background:var(--grade-good-soft)}.grade-card.grade-low{border-color:var(--grade-low);background:var(--grade-low-soft)}.grade-card.grade-good strong,.grade-value.grade-good{color:var(--grade-good)}.grade-card.grade-low strong,.grade-value.grade-low{color:var(--grade-low)}.grade-value{font-weight:700}.ranking-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:18px;display:grid}.ranking-summary.vertical{grid-template-columns:1fr;gap:10px;margin-bottom:16px}.ranking-summary .metric{border:1px solid var(--border);background:var(--surface);border-radius:8px;min-height:92px;padding:16px}.ranking-summary .metric strong{color:var(--primary);font-size:22px;line-height:1.15}.ranking-summary.vertical .metric{border-left:4px solid var(--primary);min-height:auto;padding:12px 14px}.ranking-summary.vertical .metric strong{font-size:18px}.ranking-label{align-items:center;gap:9px;margin-bottom:5px;display:flex}.ranking-trophy{background:var(--primary-soft);width:28px;height:28px;color:var(--primary);border:0;border-radius:8px;flex:0 0 28px;place-items:center;display:inline-grid}.ranking-trophy svg{fill:none;stroke:currentColor;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;overflow:visible}.grid{grid-template-columns:repeat(2,minmax(280px,1fr));gap:16px;display:grid}.analysis-layout{grid-template-columns:minmax(0,1fr);align-items:start;gap:16px;display:grid}.analysis-main{min-width:0}.academic-details-title{margin:0 0 5px;font-size:15px;line-height:1.2}.analysis-sidebar{min-width:0;position:sticky;top:16px}.panel{border:1px solid var(--border);background:var(--surface);border-radius:8px;min-height:360px;padding:16px}.wide{grid-column:1/-1}.rank-panel{min-height:auto}.occurrences-panel{background:linear-gradient(#fff 0%,#fff7f7 100%);border-color:#fecaca;min-height:auto;margin-top:0}.occurrences-heading{border-bottom:1px solid #fee2e2;justify-content:space-between;align-items:center;gap:16px;padding-bottom:14px;display:flex}.occurrences-heading div{gap:3px;display:grid}.occurrences-heading span{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:11px;font-weight:700}.occurrences-heading h3{color:var(--text);margin:0;font-size:17px}.occurrences-heading>strong{color:#b91c1c;background:#fee2e2;border-radius:12px;place-items:center;width:42px;height:42px;font-size:20px;display:grid}.occurrences-list{scrollbar-gutter:stable;gap:9px;max-height:210px;padding-top:14px;padding-right:6px;display:grid;overflow-y:auto}.occurrence-row{color:var(--muted);cursor:pointer;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:32px;font-size:13px;display:grid;position:relative}.occurrence-tooltip{z-index:1000;background:var(--surface);border:1px solid #bfd2e8;border-radius:10px;max-height:220px;padding:12px;position:fixed;overflow-y:auto;box-shadow:0 16px 36px #1d27332e}.occurrence-tooltip-portal{pointer-events:none}.occurrence-tooltip b{margin-bottom:6px;display:block}.occurrence-tooltip span{color:var(--text);overflow-wrap:anywhere;padding:5px 0;display:block}.occurrence-tooltip span+span{border-top:1px solid var(--border)}.occurrence-row span{overflow-wrap:anywhere}.occurrence-row strong{color:#b91c1c;text-align:center;min-width:28px;box-shadow:none;background:#fee2e2;border:1px solid #fecaca;border-radius:999px;padding:4px 8px}.occurrences-empty{color:var(--muted);text-align:center;margin:0;padding:28px 0 14px;font-size:13px}.student-followup-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:16px;margin-bottom:16px;display:grid}.ranking-browser{min-height:auto;margin-bottom:16px}.dashboard-ranking-scroll{max-height:42vh}.dashboard-ranking-table th:first-child,.dashboard-ranking-table td:first-child{white-space:normal;width:280px;max-width:280px}.dashboard-ranking-table tr.active-row th,.dashboard-ranking-table tr.active-row td{background:var(--primary-soft)}.dashboard-ranking-table tbody tr{cursor:pointer}.dashboard-ranking-table tbody tr:hover th,.dashboard-ranking-table tbody tr:hover td,.dashboard-ranking-table tbody tr:focus th,.dashboard-ranking-table tbody tr:focus td{background:#f0fdfa}.dashboard-ranking-table tbody tr:focus{outline:2px solid var(--primary);outline-offset:-2px}.student-row-button{width:100%;color:var(--primary);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:pointer;background:0 0;border:0;gap:2px;padding:0;font-weight:700;line-height:1.25;display:grid}.student-row-button small{color:var(--muted);font-size:11px;font-weight:400}.ranking-browser>.panel-title{flex-wrap:wrap;gap:12px}.ranking-title-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.ranking-action-buttons{align-items:stretch;gap:8px;display:flex}.export-button{border:1px solid var(--primary);background:var(--primary);color:#fff;cursor:pointer;border-radius:7px;padding:8px 12px;font-weight:700}.export-button:disabled{opacity:.45;cursor:not-allowed}.update-ranking-button{border:1px solid var(--primary);color:var(--primary);cursor:pointer;background:#fff;border-radius:7px;padding:8px 12px;font-weight:700}.update-ranking-button:disabled{opacity:.45;cursor:not-allowed}.ranking-update-message{color:var(--muted);margin:0 0 12px;font-size:13px}.ranking-update-dialog{z-index:160;box-sizing:border-box;border:1px solid var(--border);background:var(--surface);width:min(320px,100vw - 32px);max-height:calc(100dvh - 32px);color:var(--text);border-radius:10px;padding:16px;position:fixed;bottom:16px;right:16px;overflow:auto;box-shadow:0 6px 24px #0000001f}.ranking-update-dialog h2{margin:0 0 10px;font-size:16px}.ranking-update-dialog p{color:var(--muted);font-size:12px;line-height:1.4}.ranking-update-dialog dl{grid-template-columns:1fr 1fr;gap:12px;margin:12px 0;font-size:13px;display:grid}.ranking-update-dialog dt{color:var(--muted);font-size:12px}.ranking-update-dialog dd{overflow-wrap:anywhere;margin:4px 0 0;font-weight:700}.ranking-update-dialog .ranking-update-status{color:var(--primary);margin-bottom:0}.ranking-column-updated-at{color:var(--muted);white-space:nowrap;margin-top:3px;font-size:.7rem;font-weight:500;display:block}.discipline-filter{background:var(--surface-muted);border-radius:8px;gap:4px;padding:3px;display:inline-flex}.discipline-filter button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:7px 11px;font-weight:700}.discipline-filter button.active{background:var(--surface);color:var(--primary);box-shadow:0 1px 4px #1d27331f}.discipline-filter button.active.risk{background:var(--grade-low);color:#fff;box-shadow:0 2px 7px #dc26263d}.discipline-chart-heading{min-width:0}.panel-title .discipline-chart-description{white-space:normal;margin-top:5px;line-height:1.4;display:block}.discipline-click-hint{color:var(--primary);margin-top:7px;font-size:11px;font-weight:700;display:block}.compact-pagination{margin-top:10px}.compact-rank-panel{min-height:auto}.compact-rank-panel .matrix{min-width:0;font-size:12px}.compact-rank-panel .matrix th,.compact-rank-panel .matrix td{padding:8px 7px}.compact-rank-panel .matrix th:first-child,.compact-rank-panel .matrix td:first-child{max-width:76px}.panel-title{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:14px;display:flex}.panel-title h3{margin-bottom:0;font-size:18px}.stacked-chart-title{flex-direction:column;align-items:flex-start;gap:5px}.stacked-chart-title>span{white-space:normal;line-height:1.4}.chart-click-hint{color:var(--primary);font-size:11px;font-weight:700}.chart-shell svg{width:100%;max-height:280px}.grid-line{stroke:var(--surface-muted);stroke-width:1px}.approval-line{stroke:#eab308;stroke-width:2px;stroke-dasharray:8 6;opacity:.62}.approval-tick-bg{fill:#fef3c7;stroke:#eab308;stroke-width:1px}.approval-tick-label{fill:#854d0e;font-weight:700}.chart-point-label rect{fill:#fffffff0;stroke-width:1.2px}.chart-point-label text{font-size:11px;font-weight:800}.comparison-bar{opacity:.88}.comparison-bar-value{font-size:11px;font-weight:800}.student-stage-comparison-chart .comparison-bar-value{font-size:14px}.grouped-chart-bar[role=button]{cursor:pointer;outline:none}.grouped-chart-bar[role=button] .comparison-bar{transition:opacity .16s,stroke-width .16s}.grouped-chart-bar[role=button]:hover .comparison-bar,.grouped-chart-bar[role=button]:focus-visible .comparison-bar,.grouped-chart-bar.selected .comparison-bar{opacity:1;stroke:var(--text);stroke-width:2px}.knowledge-area-chart{position:relative}.knowledge-area-tooltip{overscroll-behavior:contain;background:linear-gradient(145deg,#fff 0%,#f2f7fc 58%,#e8f1fa 100%);border:1px solid #bfd2e8;border-radius:10px;width:100%;padding:12px;overflow:auto;box-shadow:0 16px 36px #1d27332e}.knowledge-area-tooltip-portal{z-index:260;position:fixed}.knowledge-area-tooltip-heading{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:10px;display:flex}.knowledge-area-tooltip-heading>div{gap:3px;display:grid}.knowledge-area-tooltip-heading strong{color:var(--text)}.knowledge-area-tooltip-heading span{color:var(--muted);font-size:12px}.knowledge-area-tooltip-heading button{border:1px solid var(--border);background:var(--surface);color:var(--primary);cursor:pointer;font:inherit;border-radius:6px;flex-shrink:0;padding:4px 8px;font-size:12px}.knowledge-area-tooltip table{border-collapse:collapse;width:100%;font-size:12px}.knowledge-area-tooltip th,.knowledge-area-tooltip td{border-top:1px solid var(--border);text-align:left;padding:7px 6px}.knowledge-area-tooltip th{color:var(--muted);font-weight:700}.knowledge-area-tooltip th:last-child,.knowledge-area-tooltip td:last-child{text-align:right;width:64px}.knowledge-area-tooltip p{color:var(--muted);margin:0;font-size:12px}svg text{fill:var(--muted);font-size:12px}.legend{color:var(--muted);flex-wrap:wrap;gap:12px 18px;font-size:13px;display:flex}.legend.knowledge-area-legend{gap:10px 16px;font-size:12px}.legend span{align-items:center;gap:6px;display:inline-flex}.legend i{border-radius:2px;width:11px;height:11px}.bars-scroll{scrollbar-gutter:stable;max-height:320px;padding:6px 6px 6px 4px;overflow:hidden auto;container-type:inline-size}.bar-chart{position:relative}.bars{grid-template-columns:minmax(0,1fr);gap:9px 20px;display:grid}@container (min-width:520px){.bars{grid-template-columns:repeat(2,minmax(0,1fr))}}.bar-row{grid-template-columns:minmax(100px,.9fr) minmax(0,1fr) 36px;align-items:center;gap:10px;min-height:24px;display:grid;position:relative}.bar-row:focus{outline:2px solid var(--primary);outline-offset:2px}.bar-row:hover,.bar-row:focus,.bar-row:focus-within{z-index:35}.discipline-bar-row{box-sizing:border-box;cursor:pointer;border-left:4px solid #0000;border-radius:9px;width:100%;margin:0;padding:4px 8px;transition:background .18s,border-color .18s,box-shadow .18s,transform .18s}.discipline-bar-row.selected{z-index:36;border-left-color:var(--grade-good);background:linear-gradient(90deg,#dbeafe 0%,#eef6ff 48%,#ffffff40 100%);transform:translate(2px);box-shadow:0 5px 14px #2563eb1f}.discipline-bar-row.selected .bar-label{color:#1d4ed8;font-weight:700}.bar-assessment-tooltip{box-sizing:border-box;background:linear-gradient(145deg,#fff 0%,#f2f7fc 58%,#e8f1fa 100%);border:1px solid #bfd2e8;border-radius:10px;width:100%;margin-top:14px;padding:12px;position:relative;overflow:hidden;box-shadow:0 16px 36px #1d27332e}.bar-assessment-tooltip>strong{margin-bottom:8px;display:block}.bar-assessment-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.bar-assessment-heading button{border:1px solid var(--border);background:var(--surface);color:var(--primary);cursor:pointer;font:inherit;border-radius:6px;flex-shrink:0;padding:4px 8px;font-size:12px}.bar-assessment-tooltip>small{color:var(--muted)}.bar-assessment-tooltip>div:not(.bar-assessment-heading){overscroll-behavior:contain;max-height:min(360px,60vh);overflow-y:auto}.bar-assessment-tooltip table{table-layout:fixed;border-collapse:collapse;width:100%;font-size:12px}.bar-assessment-tooltip th,.bar-assessment-tooltip td{border-top:1px solid var(--border);text-align:left;padding:7px 6px}.bar-assessment-tooltip th{color:#29445f;background:linear-gradient(90deg,#dbeafe 0%,#cfe3f7 100%);position:sticky;top:0}.bar-assessment-tooltip th:first-child,.bar-assessment-tooltip td:first-child{width:76px}.bar-assessment-tooltip th:nth-child(2),.bar-assessment-tooltip td:nth-child(2){overflow-wrap:anywhere;width:120px}.bar-assessment-tooltip th.assessment-grade-column,.bar-assessment-tooltip td.assessment-grade-column{text-align:right;width:48px}.bar-assessment-tooltip th.stage-average-column,.bar-assessment-tooltip td.stage-average-column{text-align:center;vertical-align:middle;width:82px}.bar-assessment-tooltip td.assessment-stage-column{vertical-align:middle;font-weight:750}.bar-assessment-tooltip tbody tr.stage-group-start>td{border-top:2px solid var(--primary)}.bar-assessment-tooltip tbody tr:nth-child(odd){background:linear-gradient(90deg,#ffffffe0,#eff6ffd1)}.bar-assessment-tooltip tbody tr:nth-child(2n){background:linear-gradient(90deg,#e0ecf8b8,#f4f8fcdb)}.bar-assessment-tooltip tbody tr:hover,.bar-assessment-tooltip tbody tr.stage-highlighted{background:linear-gradient(90deg,#dbeafe94,#bfdbfe61)}.bar-label{overflow-wrap:anywhere;white-space:normal;font-size:13px}.bar-track{background:var(--surface-muted);border-radius:999px;height:12px;overflow:hidden}.bar-fill{background:var(--primary);border-radius:999px;height:100%;display:block}.bar-fill.grade-good{background:var(--grade-good)}.bar-fill.grade-low{background:var(--grade-low)}.bar-value{color:var(--muted);text-align:right;font-size:13px}.matrix-scroll{border:1px solid var(--border);border-radius:8px;overflow:auto}.matrix-scroll.compact{max-width:760px}.matrix{border-collapse:collapse;width:100%;min-width:760px;font-size:13px}.matrix th,.matrix td{border-bottom:1px solid var(--border);text-align:right;white-space:nowrap;padding:9px 10px}.matrix th:first-child,.matrix td:first-child{z-index:1;background:var(--surface);text-align:left;text-overflow:ellipsis;max-width:260px;position:sticky;left:0;overflow:hidden}.matrix thead th{background:var(--surface-muted);color:var(--muted);font-weight:700}.ranking-table{min-width:0}.risk-table-scroll{max-height:320px}.risk-table{min-width:620px}.class-ranking-scroll{border:1px solid var(--border);border-radius:8px;overflow:auto}.class-ranking-table{min-width:820px}.pagination{color:var(--muted);justify-content:space-between;align-items:center;gap:14px;margin-top:14px;font-size:13px;display:flex}.pagination div{align-items:center;gap:10px;display:inline-flex}.pagination button{border:1px solid var(--border);background:var(--surface);min-width:82px;height:36px;color:var(--primary);cursor:pointer;border-radius:8px;font-weight:700}.pagination button:disabled{color:var(--muted);cursor:not-allowed;opacity:.55}.pagination strong{color:var(--text);font-size:13px}.student-name-hover{cursor:pointer;position:relative}.student-analysis-link{color:var(--primary);font-weight:700;text-decoration:none;display:block}.student-navigation-cell{padding:0!important}.student-navigation-cell .student-analysis-link{padding:10px 12px}.student-analysis-link:hover{text-decoration:underline}.student-average-tooltip{z-index:30;min-width:132px;color:var(--muted);white-space:nowrap;background:#f3f8fd;border:1px solid #cbdced;border-radius:8px;padding:9px 11px;font-size:12px;font-weight:600;display:none;position:absolute;top:50%;left:calc(100% + 10px);transform:translateY(-50%);box-shadow:0 12px 26px #2563eb24}.student-average-tooltip strong{margin-left:7px;font-size:13px}.student-average-tooltip strong.grade-good{color:var(--grade-good)}.student-average-tooltip strong.grade-low{color:var(--grade-low)}.student-name-hover:hover .student-average-tooltip{align-items:baseline;gap:2px;display:inline-flex}.empty,.status-page{color:var(--muted)}.grade-entry-header{grid-template-columns:minmax(260px,.8fr) minmax(560px,1.2fr);align-items:start;gap:24px;margin-bottom:20px;display:grid}.grade-header-units{min-width:0}.grade-header-units-title{margin-bottom:9px}.grade-header-units-title span{color:var(--muted);font-size:12px}.grade-header-units-title h2{margin:3px 0 0;font-size:17px}.grade-header-unit-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;display:grid}.grade-header-unit-cards article{border:1px solid var(--border);background:var(--surface);border-radius:9px;gap:4px;min-width:0;padding:11px 12px;display:grid;box-shadow:0 4px 12px #1d27330d}.grade-header-unit-cards span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.grade-header-unit-cards strong{color:var(--grade-low);font-size:20px}.grade-header-unit-cards small{color:var(--muted);font-size:10px}.stage-switch{gap:8px;margin-bottom:16px;padding-bottom:2px;display:flex;overflow-x:auto}.stage-switch button{white-space:nowrap;border:1px solid var(--border);background:var(--surface);color:var(--muted);cursor:pointer;border-radius:999px;padding:9px 16px;font-weight:700}.stage-switch button.active{border-color:var(--primary);background:var(--primary);color:#fff}.grade-entry-filters{margin-bottom:16px}.grade-entry-filters.two-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.grade-entry-filters.three-filters{grid-template-columns:repeat(2,minmax(0,1fr)) minmax(150px,.45fr)}.grade-entry-filters select:disabled{background:var(--surface-muted);cursor:not-allowed}.grade-assessment-filter{border:1px solid var(--border);background:var(--surface-muted);min-width:220px;max-width:480px;box-shadow:var(--shadow-xs);border-radius:10px;flex:320px;gap:8px;padding:10px 12px;display:grid}.grade-assessment-filter>span{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:11px;font-weight:750}.grade-assessment-filter>div{gap:7px;padding-bottom:2px;display:flex;overflow-x:auto}.grade-assessment-filter button{border:1px solid var(--border);background:var(--surface);color:var(--muted);white-space:nowrap;cursor:pointer;border-radius:999px;flex:none;padding:7px 13px;font-size:12px;font-weight:700}.grade-assessment-filter button:hover{border-color:var(--primary);color:var(--primary)}.grade-assessment-filter button.active{border-color:var(--primary);background:var(--primary);color:#fff;box-shadow:var(--shadow-primary)}.grade-assessment-filter button:disabled{cursor:wait;opacity:.6}.grade-manual-update{flex-direction:column;justify-content:flex-end;gap:7px;display:flex}.grade-manual-update button{border:1px solid var(--primary);background:var(--primary);color:#fff;cursor:pointer;border-radius:8px;align-self:flex-start;min-width:120px;min-height:42px;padding:7px 18px;font-weight:700}.grade-manual-update button:disabled{border-color:var(--border);background:var(--surface-muted);color:var(--muted);cursor:not-allowed}.grade-manual-update small,.grade-unit-updated{color:var(--muted);font-size:11px}.grade-manual-update small{white-space:nowrap;min-height:13px;line-height:13px}.grade-entry-update-message{color:var(--muted);margin:-6px 0 14px;font-size:12px}@media (max-width:900px){.grade-entry-filters.three-filters{grid-template-columns:1fr}}.grade-entry-error{background:var(--grade-low-soft);color:var(--grade-low);border:1px solid #fecaca;border-radius:8px;padding:12px 14px}.grade-update-status{z-index:100;border:1px solid var(--border);background:var(--surface);color:var(--muted);border-radius:999px;margin:0;padding:8px 12px;font-size:12px;position:fixed;top:18px;right:18px;box-shadow:0 8px 24px #1d27331f}.grade-section-placeholder{animation:1.8s ease-in-out infinite grade-loading-shimmer;overflow:hidden;background:linear-gradient(105deg,#fff 20%,#eef3f7 40%,#fff 60%) 0 0/220% 100%!important}.grade-header-unit-cards article.grade-section-placeholder.compact{min-height:92px}.content-skeleton{width:100%;min-width:0}.content-skeleton-items{gap:10px;width:100%;display:grid}.content-skeleton i{border:1px solid var(--border);background:linear-gradient(105deg, var(--surface-muted) 20%, var(--border) 40%, var(--surface-muted) 60%);background-size:220% 100%;border-radius:8px;animation:1.8s ease-in-out infinite grade-loading-shimmer;display:block}.content-skeleton-filters .content-skeleton-items{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.content-skeleton-filters i{height:42px}.content-skeleton-table{min-height:210px;padding:12px 0}.content-skeleton-table i{height:34px}.content-skeleton-table i:first-child{height:27px}.content-skeleton-list{min-height:190px;padding:12px 0}.content-skeleton-list i{height:44px}.content-skeleton-list i:nth-child(2){width:94%}.content-skeleton-list i:nth-child(3){width:88%}.content-skeleton-list i:nth-child(4){width:76%}.content-skeleton-inline{width:82px;padding-top:3px}.content-skeleton-inline i{border-radius:999px;height:12px}.content-skeleton-bars{min-height:230px;padding:14px 0}.content-skeleton-bars i{height:30px}.content-skeleton-bars i:nth-child(2){width:91%}.content-skeleton-bars i:nth-child(3){width:82%}.content-skeleton-bars i:nth-child(4){width:72%}.content-skeleton-bars i:nth-child(5){width:61%}.content-skeleton-cards .content-skeleton-items{grid-template-columns:repeat(3,minmax(0,1fr))}.content-skeleton-cards i{height:132px}.content-skeleton-chart{min-height:220px;padding-top:18px}.content-skeleton-chart .content-skeleton-items{border-bottom:1px solid var(--border);grid-template-columns:repeat(6,minmax(22px,1fr));align-items:end;gap:12px;height:200px;padding:0 18px}.content-skeleton-chart i{border-radius:8px 8px 2px 2px;height:32%}.content-skeleton-chart i:nth-child(2){height:48%}.content-skeleton-chart i:nth-child(3){height:42%}.content-skeleton-chart i:nth-child(4){height:68%}.content-skeleton-chart i:nth-child(5){height:58%}.content-skeleton-chart i:nth-child(6){height:82%}.content-skeleton-donut{min-height:176px;padding:8px 0}.content-skeleton-donut .content-skeleton-items{grid-template-columns:190px 1fr;align-items:center}.content-skeleton-donut i:first-child{background:conic-gradient(var(--border) 0 64%, var(--surface-muted) 64% 100%);border:0;border-radius:50%;grid-row:1/span 3;width:160px;height:160px;position:relative}.content-skeleton-donut i:first-child:after{content:"";background:var(--surface);border-radius:50%;position:absolute;inset:34px}.content-skeleton-donut i:not(:first-child){grid-column:2;height:13px}.content-skeleton-details{min-height:520px}.content-skeleton-details .content-skeleton-items{grid-template-columns:2fr 1fr;align-content:start}.content-skeleton-details i{min-height:150px}.content-skeleton-details i:first-child{grid-column:1/-1;min-height:120px}.skeleton-loading>:not(.content-skeleton){display:none!important}.filters-panel>.content-skeleton,.grade-kpis>.content-skeleton{grid-column:1/-1}.home-card-skeleton{flex:1;align-content:center;margin:18px 0}.notes-loading-stack{gap:16px;margin-bottom:16px;display:grid}@keyframes grade-loading-shimmer{to{background-position:-220% 0}}@media (prefers-reduced-motion:reduce){.content-skeleton i{animation:none}}.grade-kpis{grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:16px;display:grid}.notes-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.grade-kpis article,.grade-card{border:1px solid var(--border);background:var(--surface);border-radius:10px}.grade-kpis article{gap:7px;padding:18px;display:grid}.grade-kpis span,.grade-kpis small,.grade-card-title span,.grade-card-title small{color:var(--muted);font-size:13px}.grade-kpis strong{color:var(--primary);font-size:30px}.grade-kpi-missing strong{color:var(--grade-low)}.grade-kpi{min-height:148px}.grade-kpi>div{align-content:center;gap:7px;display:grid}.grade-kpi-missing,.grade-kpi-with-icon{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px!important}.grade-pie-wrap{justify-items:center;gap:8px!important}.grade-pie{border:5px solid var(--surface);width:76px;height:76px;box-shadow:0 0 0 1px var(--border), 0 6px 16px #1d27331a;border-radius:50%}.grade-pie-legend{gap:9px!important;display:flex!important}.grade-pie-legend span{align-items:center;gap:4px;font-size:10px;display:inline-flex}.grade-pie-legend i{border-radius:50%;width:7px;height:7px}.grade-pie-legend i.faltantes{background:var(--grade-low)}.grade-pie-legend i.digitadas{background:var(--grade-good)}.grade-kpi-icon{background:var(--primary-soft);width:72px;height:72px;color:var(--primary);border-radius:18px;place-items:center;display:grid!important}.grade-kpi-icon.hourglass{color:#c05621;background:#fff7ed}.grade-kpi-icon svg{fill:none;stroke:currentColor;stroke-width:2.4px;stroke-linecap:round;stroke-linejoin:round;width:46px;height:46px}.grade-kpi-icon svg path:nth-child(2){fill:currentColor;stroke-width:1.5px}.grade-layout{grid-template-columns:minmax(300px,.72fr) minmax(560px,1.28fr);gap:16px;margin-bottom:16px;display:grid}.grade-card{padding:18px}.grade-card-title{justify-content:space-between;align-items:end;gap:16px;margin-bottom:16px;display:flex}.grade-card-title h2{margin:4px 0 0;font-size:19px}.grade-card-title p{color:var(--muted);margin:6px 0 0;font-size:13px;line-height:1.45}.notes-low-table-actions{align-items:center;gap:12px;display:flex}.student-export-button{padding:5px 8px;font-size:11px;line-height:1.2}.grade-card-title .grade-click-hint{color:var(--primary);margin-top:8px;font-size:11px;font-weight:700;display:block}.grade-bars{gap:12px;display:grid}.grade-layout>.grade-card:first-child .grade-bars,.grade-subject-bars{overscroll-behavior:contain;scrollbar-gutter:stable;max-height:330px;margin:-5px -10px -5px -8px;padding:5px 10px 5px 8px;overflow-y:auto}.grade-bar{grid-template-columns:minmax(125px,190px) 1fr 70px;align-items:center;gap:12px;font-size:13px;display:grid}.grade-bar-track{background:var(--surface-muted);border-radius:999px;height:10px;display:flex;overflow:hidden}.grade-bar-track i{height:100%;display:block}.grade-bar-track i.digitadas,.grade-bar-legend i.digitadas{background:var(--grade-good)}.grade-bar-track i.faltantes,.grade-bar-legend i.faltantes{background:var(--grade-low)}.grade-bar-legend{color:var(--muted);justify-content:flex-end;gap:16px;margin:-5px 0 14px;font-size:12px;display:flex}.grade-bar-legend span{align-items:center;gap:6px;display:inline-flex}.grade-bar-legend i{border-radius:50%;width:10px;height:10px}.grade-bar strong{text-align:right}.grade-ranking ol{gap:0;margin:0;padding:0;list-style:none;display:grid}.grade-ranking li{border-top:1px solid var(--border);grid-template-columns:1fr auto;gap:12px;padding:10px 0;font-size:13px;display:grid}.grade-ranking li span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.grade-table-card{margin-bottom:16px}.grade-student-table{min-width:0}.grade-student-table .grade-table-scroll{max-height:430px}.grade-student-table table{min-width:720px}.grade-student-wide{margin-bottom:16px}.grade-detail-tables{grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px;display:grid}.grade-detail-tables .grade-card-title{align-items:start;min-height:102px}.grade-detail-tables .grade-table-scroll{max-height:330px;overflow-x:hidden}.grade-detail-tables .grade-student-table table{table-layout:fixed;min-width:0}.grade-detail-tables .grade-student-table th,.grade-detail-tables .grade-student-table td{overflow-wrap:anywhere;word-break:break-word}.grade-detail-tables>article:first-child th:first-child{width:24%}.grade-detail-tables>article:first-child th:nth-child(2){width:15%}.grade-detail-tables>article:first-child th:nth-child(3){width:14%}.grade-detail-tables>article:first-child th:nth-child(4){width:32%}.grade-detail-tables>article:first-child th:last-child{width:15%}.grade-detail-tables>article:last-child th:first-child{width:31%}.grade-detail-tables>article:last-child th:nth-child(2){width:18%}.grade-detail-tables>article:last-child th:nth-child(3){width:34%}.grade-detail-tables>article:last-child th:last-child{width:17%}.grade-subject-card,.grade-teacher-card{margin-bottom:16px}.grade-subject-bars{grid-template-columns:1fr}.grade-teacher-card ol{grid-template-columns:repeat(2,1fr);column-gap:28px;display:grid}.grade-subject-row{cursor:pointer;position:relative}.grade-series-row{cursor:pointer;border-radius:9px;margin:-5px -8px;padding:5px 8px;transition:background .18s,box-shadow .18s,transform .18s;position:relative}.grade-series-row.selected{box-shadow:inset 4px 0 0 var(--grade-good), 0 5px 14px #2563eb1f;background:linear-gradient(90deg,#dbeafe 0%,#eef6ff 48%,#ffffff40 100%);transform:translate(2px)}.grade-series-row.selected>span{color:#1d4ed8;font-weight:700}.grade-subject-row.selected{z-index:41;box-shadow:inset 4px 0 0 var(--grade-good), 0 5px 14px #2563eb1f;background:linear-gradient(90deg,#dbeafe 0%,#eef6ff 48%,#ffffff40 100%);border-radius:9px;margin:-5px -8px;padding:5px 8px;transform:translate(2px)}.grade-subject-row.selected>span{color:#1d4ed8;font-weight:700}.series-tooltip{z-index:40;background:linear-gradient(145deg,#fff 0%,#f2f7fc 58%,#e8f1fa 100%);border:1px solid #bfd2e8;border-radius:10px;width:min(330px,80vw);padding:12px;display:none;position:absolute;bottom:calc(100% + 8px);left:64px;overflow:hidden;box-shadow:0 16px 36px #1d27332e}.series-tooltip.pinned{display:block}.grade-series-row>.series-tooltip{display:none!important}.series-tooltip.portal-tooltip{z-index:1000;flex-direction:column;display:flex;position:fixed;bottom:auto}.series-tooltip>b,.series-tooltip>small{margin-bottom:7px;display:block}.tooltip-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:7px;display:flex}.tooltip-heading button{color:#1d4ed8;cursor:pointer;font:inherit;background:#fff;border:1px solid #93b4d5;border-radius:6px;padding:5px 7px;font-size:11px;font-weight:700}.tooltip-heading button:hover{background:#dbeafe}.series-tooltip>small{color:var(--muted)}.series-tooltip table{border-collapse:collapse;width:100%;font-size:12px}.series-tooltip th,.series-tooltip td{border-top:1px solid var(--border);text-align:left;padding:7px 5px}.series-tooltip th:last-child,.series-tooltip td:last-child{text-align:right}.series-tooltip td.percentage-heat{font-weight:700;transition:background-color .18s}.subject-tooltip{z-index:40;background:linear-gradient(145deg,#fff 0%,#f2f7fc 58%,#e8f1fa 100%);border:1px solid #bfd2e8;border-radius:10px;width:min(440px,80vw);height:auto;padding:12px;display:none;position:absolute;bottom:calc(100% + 8px);left:min(264px,22% + 74px);overflow:hidden;box-shadow:0 16px 36px #1d27332e}.grade-subject-row.pinned .subject-tooltip{display:block}.grade-subject-row>.subject-tooltip{display:none!important}.subject-tooltip.portal-tooltip{z-index:1000;flex-direction:column;display:flex;position:fixed;bottom:auto}.grade-subject-row.pinned{z-index:41}.subject-tooltip>b{margin-bottom:8px;display:block}.subject-tooltip>small{color:var(--muted);margin-bottom:9px;display:block}.subject-tooltip table{border-collapse:collapse;width:100%;font-size:12px}.subject-tooltip th,.subject-tooltip td{border-top:1px solid var(--border);text-align:left;padding:7px 5px}.subject-tooltip th:last-child,.subject-tooltip td:last-child{text-align:right}.subject-tooltip td.absolute-heat{font-weight:700;transition:background-color .18s}.tooltip-table-scroll{overscroll-behavior:contain;min-height:0;max-height:210px;overflow-y:auto}.portal-tooltip .tooltip-table-scroll{flex:auto}.series-tooltip thead th,.subject-tooltip thead th{z-index:1;color:#29445f;background:linear-gradient(90deg,#dbeafe 0%,#cfe3f7 100%);border-top:0;font-weight:700;position:sticky;top:0}.series-tooltip tbody tr:nth-child(odd),.subject-tooltip tbody tr:nth-child(odd){background:linear-gradient(90deg,#ffffffe0,#eff6ffd1)}.series-tooltip tbody tr:nth-child(2n),.subject-tooltip tbody tr:nth-child(2n){background:linear-gradient(90deg,#e0ecf8b8,#f4f8fcdb)}.series-tooltip tbody tr:hover,.subject-tooltip tbody tr:hover{background:linear-gradient(90deg,#dbeafe,#bfdbfe)}.grade-table-scroll{overflow-x:auto}.grade-table-scroll table{border-collapse:collapse;width:100%;font-size:13px}.grade-table-scroll th,.grade-table-scroll td{border-top:1px solid var(--border);text-align:left;padding:11px 10px}.grade-table-scroll th{color:var(--muted)}.grade-units>div:last-child{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.grade-units article{background:var(--surface-muted);border-radius:8px;gap:6px;padding:14px;display:grid}.grade-units article strong{font-size:22px}.grade-units article small{color:var(--muted)}.grade-matrix-card{margin-bottom:16px}.grade-matrix-card .grade-card-title{flex-wrap:wrap;align-items:center}.grade-matrix-card .grade-card-title>div:first-child{flex:390px;min-width:280px}.grade-matrix-heading>span{gap:1px;min-width:0;display:grid}.grade-matrix-heading small{color:color-mix(in srgb, var(--text) 78%, var(--muted));margin-top:2px;font-size:14px;font-weight:650;line-height:1.2}.grade-matrix-export-button{white-space:nowrap;align-self:flex-start;min-height:30px;padding:5px 9px;font-size:11px}.grade-matrix-export-button svg{width:14px;height:14px}.grade-matrix-empty{border:1px dashed var(--border);background:var(--surface-muted);min-height:220px;color:var(--muted);text-align:center;border-radius:11px;place-content:center;gap:7px;display:grid}.grade-matrix-empty strong{color:var(--text);font-size:17px}.grade-entry-matrix-scroll{border:1px solid var(--border);background:var(--surface-muted);overscroll-behavior:contain;scrollbar-gutter:stable;border-radius:11px;max-height:520px;overflow:auto}.grade-entry-matrix{border-collapse:separate;border-spacing:4px;width:max-content;min-width:100%;padding:2px}.grade-entry-matrix th{color:var(--muted);text-align:center;font-size:11px}.grade-entry-matrix thead th{z-index:3;background:var(--surface-muted);vertical-align:bottom;width:84px;min-width:84px;height:62px;position:sticky;top:0}.grade-entry-matrix thead th:first-child{z-index:5;text-align:left;vertical-align:middle;white-space:nowrap;width:1%;min-width:0;left:0}.grade-entry-matrix thead th span{color:var(--text);-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:11px;font-weight:750;line-height:1.15;display:-webkit-box;overflow:hidden}.grade-entry-matrix thead th small{margin-top:4px;font-size:9px;font-weight:500;display:block}.grade-entry-matrix tbody th{z-index:2;background:var(--surface);text-align:left;white-space:nowrap;width:1%;min-width:0;box-shadow:var(--shadow-xs);border-radius:7px;padding:8px 10px;position:sticky;left:0}.grade-entry-matrix tbody th strong,.grade-entry-matrix tbody th small{display:block}.grade-entry-matrix tbody th strong{color:var(--text);font-size:13px}.grade-entry-matrix tbody th small{margin-top:4px;font-size:10px;font-weight:500}.grade-entry-matrix td{width:84px;min-width:84px;padding:0}.grade-matrix-cell{border:1px solid hsl(var(--heat-hue) 42% 62% / .55);background:hsl(var(--heat-hue) 68% 82%);color:#26364c;text-align:center;cursor:pointer;width:100%;min-height:60px;box-shadow:inset 0 1px 0 #ffffff8c, var(--shadow-xs);border-radius:7px;place-content:center;gap:2px;padding:5px;display:grid}.grade-matrix-cell strong{font-variant-numeric:tabular-nums;font-size:12px}.grade-matrix-cell small{font-size:10px;font-weight:650}.grade-matrix-cell:hover{border-color:var(--primary);transform:translateY(-1px);box-shadow:0 5px 14px #3157d52e}.grade-matrix-cell.selected{outline:3px solid color-mix(in srgb, var(--primary) 35%, transparent);border-color:var(--primary)}.grade-matrix-cell.intense{color:#59161b}.grade-matrix-unavailable{color:var(--muted);text-align:center}.matrix-tooltip{background:var(--surface);border:1px solid #bfd2e8;border-radius:10px;width:min(440px,100vw - 24px);padding:12px;overflow:hidden;box-shadow:0 16px 36px #1d27332e}.matrix-tooltip.portal-tooltip{z-index:1000;flex-direction:column;display:flex;position:fixed}.matrix-tooltip>small{color:var(--muted);margin-bottom:9px;display:block}.matrix-tooltip table{border-collapse:collapse;width:100%;font-size:12px}.matrix-tooltip th,.matrix-tooltip td{border-top:1px solid var(--border);text-align:left;padding:7px 5px}.matrix-tooltip th:last-child,.matrix-tooltip td:last-child{text-align:right}.matrix-tooltip thead th{z-index:1;background:var(--surface-muted);color:var(--muted);border-top:0;position:sticky;top:0}.grade-origin-badge{background:var(--primary-soft);color:var(--primary);white-space:nowrap;border-radius:999px;padding:3px 7px;font-size:10px;font-weight:750;display:inline-flex}.grade-origin-badge.simulado{color:#8a5500;background:#fff0c7}.home-page{width:min(1180px,100%);margin:0 auto;padding:42px 32px}.home-header{justify-content:space-between;align-items:start;gap:24px;margin-bottom:34px;display:flex}.home-header h1{font-size:36px}.home-header>div>p:last-child{color:var(--muted);margin:8px 0 0;font-size:18px}.home-header-actions{flex-direction:column;align-items:flex-end;gap:9px;display:flex}.home-header-actions small{color:var(--muted);white-space:nowrap;font-size:12px}.home-cards{grid-template-columns:1fr 1fr;gap:22px;display:grid}.home-card{border:1px solid var(--border);background:var(--surface);border-radius:14px;flex-direction:column;min-height:410px;padding:20px;display:flex;box-shadow:0 10px 28px #1d27330f}.home-card-heading{justify-content:space-between;align-items:start;gap:18px;display:flex}.home-card-heading span{color:var(--muted);text-transform:uppercase;font-size:13px}.home-card-heading h2{margin:5px 0 0;font-size:21px}.home-card-heading>strong{color:var(--muted);font-size:13px}.home-stage-switch{flex-wrap:wrap;align-items:flex-end;gap:6px;margin-top:18px;padding-bottom:2px;display:flex}.home-stage-switch button{border:1px solid var(--border);background:var(--surface);color:var(--muted);cursor:pointer;border-radius:999px;flex:none;padding:7px 11px;font-size:12px;font-weight:700}.home-stage-switch button.active{border-color:var(--primary);background:var(--primary);color:#fff}.home-grade-unit{color:var(--muted);flex:none;gap:3px;margin-left:4px;font-size:12px;font-weight:700;display:grid}.home-grade-unit select{border:1px solid var(--border);background:var(--surface);width:155px;color:var(--text);font:inherit;border-radius:8px;padding:7px 9px}.home-grade-content{grid-template-columns:190px 1fr;align-items:center;gap:18px;margin:auto 0;display:grid}.donut-wrap{width:176px;height:176px;position:relative}.home-donut{border-radius:50%;place-items:center;width:176px;height:176px;display:grid}.home-donut:after{content:"";background:var(--surface);border-radius:50%;width:108px;height:108px;position:absolute}.home-donut>div{z-index:1;text-align:center;display:grid;position:relative}.home-donut strong{font-size:24px}.home-donut span{color:var(--muted);font-size:13px}.donut-hotspot{z-index:2;clip-path:polygon(50% 50%,50% 0,100% 0,100% 100%,0 100%,0 50%);border-radius:50%;position:absolute;inset:0}.home-tooltip{z-index:10;border:1px solid var(--border);background:var(--surface);border-radius:10px;width:250px;padding:13px;display:none;position:absolute;bottom:calc(100% + 10px);left:50%;transform:translate(-50%);box-shadow:0 16px 36px #1d273329}.home-tooltip>strong{margin-bottom:7px;display:block}.home-tooltip span{color:var(--muted);justify-content:space-between;gap:12px;padding:6px 0;font-size:12px;display:flex}.donut-hotspot:hover .home-tooltip,.ranking-hover-area:hover .home-tooltip{display:block}.home-legend{gap:5px;display:grid}.home-legend p{grid-template-columns:12px 1fr auto;align-items:center;gap:8px;margin:0;font-size:13px;display:grid}.home-legend i{border-radius:50%;width:10px;height:10px}.home-legend i.filled{background:var(--primary)}.home-legend i.missing{background:var(--grade-low)}.home-legend small{color:var(--grade-low);margin-top:7px}.home-access{background:var(--primary);color:#fff;border-radius:8px;align-self:start;padding:10px 18px;font-weight:700;text-decoration:none}.olympic-home-card{overflow:hidden}.olympic-home-caption{color:var(--muted);margin:8px 0 4px;font-size:12px}.olympic-home-chart{flex-direction:column;flex:1;justify-content:center;min-height:0;display:flex}.olympic-home-chart svg{width:100%;display:block;overflow:visible}.olympic-home-chart svg>g>line{stroke:#dce5ef;stroke-width:1px}.olympic-home-chart svg text{fill:var(--muted);text-anchor:end;font-size:10px}.olympic-home-chart svg .olympic-chart-year{text-anchor:middle;font-size:10px;font-weight:600}.olympic-chart-series polyline{fill:none;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round}.olympic-chart-series circle{fill:#fff;stroke-width:3px;transition:r .15s,fill .15s}.olympic-chart-series circle:hover,.olympic-chart-series circle:focus{r:6px;fill:#fff8e5;outline:none}.olympic-chart-tooltip rect{fill:#142033f5;stroke:#ffffff3d;stroke-width:1px;filter:drop-shadow(0 5px 10px #14203333)}.olympic-home-chart svg .olympic-chart-tooltip text{fill:#dbe6f2;text-anchor:start;font-size:10px;font-weight:600}.olympic-home-chart svg .olympic-chart-tooltip .olympic-chart-tooltip-value{fill:#fff;font-size:12px;font-weight:800}.olympic-chart-legend{flex-wrap:wrap;justify-content:center;gap:8px 16px;margin-top:2px;display:flex}.olympic-chart-legend span{color:var(--muted);align-items:center;gap:5px;font-size:11px;font-weight:600;display:inline-flex}.olympic-chart-legend i{border-radius:50%;width:9px;height:9px}.home-chart-empty{color:var(--muted);margin:auto;font-size:13px}.home-scores{grid-template-columns:1fr 1fr;gap:12px;margin:auto 0 18px;display:grid}.home-scores>div{background:var(--primary-soft);border-radius:10px;gap:6px;padding:17px;display:grid}.home-scores span{color:var(--muted);font-size:12px}.home-scores strong{color:var(--primary);font-size:30px}.home-scores>div.low{background:var(--grade-low-soft)}.home-scores>div.low strong,.low-text{color:var(--grade-low)!important}.ranking-hover-area{border:1px dashed var(--border);color:var(--muted);text-align:center;cursor:default;border-radius:8px;margin-bottom:24px;padding:12px;font-size:13px;position:relative}.ranking-tooltip{width:360px;bottom:calc(100% + 8px)}.ranking-tooltip span{text-align:left;grid-template-columns:1fr auto auto;display:grid}.ranking-tooltip em{color:var(--text);font-style:normal}.ranking-tooltip b{font-weight:700}.home-ranking-table-wrap{border:1px solid var(--border);background:var(--surface);border-radius:12px;max-height:268px;margin:22px 0 20px;overflow:auto}.home-ranking-table{border-collapse:collapse;width:100%;font-size:13px}.home-ranking-table th,.home-ranking-table td{border-bottom:1px solid var(--border);text-align:right;white-space:nowrap;padding:10px 12px}.home-ranking-table thead th{z-index:1;background:var(--surface-muted);color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:11px;position:sticky;top:0}.home-ranking-sort{width:100%;color:inherit;font:inherit;letter-spacing:inherit;text-align:right;text-transform:inherit;cursor:pointer;background:0 0;border:0;padding:0}.home-ranking-table th:first-child .home-ranking-sort{text-align:left}.home-ranking-sort:focus-visible{outline:2px solid var(--primary);outline-offset:3px;border-radius:3px}.home-ranking-table th:first-child,.home-ranking-table td:first-child{text-align:left}.home-ranking-table tbody th{color:var(--text);font-weight:700}.home-ranking-table tbody td{color:var(--primary);font-variant-numeric:tabular-nums;font-weight:800}.home-ranking-table tbody td:nth-child(2){color:var(--muted);font-weight:600}.home-ranking-table tbody td.low{color:var(--grade-low)}.home-ranking-table tbody tr:last-child>*{border-bottom:0}.home-ranking-table tbody tr:hover{background:var(--surface-muted)}.ranking-home-card .home-access{margin-top:auto}.notes-filters{grid-template-columns:repeat(5,minmax(0,1fr))}.notes-empty{border:1px dashed var(--border);background:var(--surface);min-height:260px;color:var(--muted);text-align:center;border-radius:12px;place-content:center;gap:8px;display:grid}.notes-empty strong{color:var(--text);font-size:18px}.notes-evolution-card{margin-bottom:16px}.notes-evolution-content{grid-template-columns:minmax(280px,1fr) minmax(280px,1fr);align-items:stretch;gap:14px;display:grid}.notes-evolution-chart{overflow:hidden}.notes-evolution-chart svg{width:100%;height:auto;display:block}.notes-evolution-bar{fill:var(--primary);opacity:.88}.notes-evolution-bar.low{fill:var(--grade-low)}.notes-evolution-bar.selected{opacity:1;stroke:var(--text);stroke-width:2px}.notes-evolution-value{fill:var(--primary);font-size:14px;font-weight:800}.notes-evolution-value.low{fill:var(--grade-low)}.notes-evolution-stage-label{fill:var(--muted);font-size:12px;font-weight:700}.notes-evolution-stages{grid-template-columns:repeat(2,minmax(125px,1fr));gap:9px;display:grid}.notes-evolution-stages button{border:1px solid var(--border);background:var(--surface);color:var(--text);text-align:left;cursor:pointer;border-radius:9px;gap:4px;padding:10px 12px;display:grid}.notes-evolution-stages button:hover{background:#f4f8ff;border-color:#93b4ea}.notes-evolution-stages button.selected{border-color:var(--primary);background:var(--primary-soft);box-shadow:inset 3px 0 0 var(--primary)}.notes-evolution-stages span{color:var(--muted);font-size:12px}.notes-evolution-stages strong{color:var(--primary);font-size:21px}.notes-evolution-stages strong.low{color:var(--grade-low)}.notes-evolution-stages small{color:var(--muted);font-size:11px}.notes-evolution-stages .notes-cutoff-difference{font-weight:750}.notes-evolution-stages .notes-cutoff-difference.good{color:var(--grade-good)}.notes-evolution-stages .notes-cutoff-difference.low{color:var(--grade-low)}.notes-evolution-stages .notes-at-or-above{color:var(--muted)}.notes-evolution-empty,.notes-stage-prompt{border:1px dashed var(--border);background:var(--surface-muted);color:var(--muted);text-align:center;border-radius:10px;padding:18px}.notes-stage-prompt{background:#f4f8ff;gap:5px;margin-bottom:16px;display:grid}.notes-stage-prompt strong{color:var(--primary)}.notes-stage-prompt span{font-size:13px}.notes-kpis .notes-low-value,.notes-table-grade,.notes-kpis .notes-kpi-success>strong{color:var(--grade-low)}.notes-stage-single{margin-bottom:16px}.notes-stage-card{min-width:0}.notes-discipline-kpi{font-size:20px!important}.notes-ranking-list{gap:2px;display:grid}.notes-ranking-row{border-top:1px solid var(--border);grid-template-columns:44px minmax(0,1fr) 64px;align-items:center;gap:12px;padding:12px 0;display:grid}.notes-position{background:var(--primary-soft);width:38px;height:38px;color:var(--primary);border-radius:50%;place-items:center;font-size:13px;display:grid}.notes-ranking-row>div{gap:6px;min-width:0;display:grid}.notes-ranking-row>div>span{font-weight:700}.notes-ranking-row small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.notes-average-track{background:var(--surface-muted);border-radius:999px;height:7px;overflow:hidden}.notes-average-track i{background:var(--primary);border-radius:999px;height:100%;display:block}.notes-average{color:var(--grade-good);text-align:right;font-size:20px}.notes-average.low{color:var(--grade-low)}.notes-low-table .grade-table-scroll{max-height:490px}.notes-home-card{min-height:360px}.notes-home-assessments{gap:6px;max-height:220px;margin:17px 0 12px;padding-right:5px;display:grid;overflow-y:auto}.notes-home-assessments>div{background:var(--surface-muted);border-radius:8px;grid-template-columns:minmax(72px,1fr) auto 58px;align-items:center;gap:9px;padding:8px 10px;display:grid}.notes-home-assessments span{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:800;overflow:hidden}.notes-home-assessments small{color:var(--muted);font-size:11px}.notes-home-assessments strong{text-align:right;font-size:17px}.notes-home-assessments strong.low{color:var(--grade-low)}.notes-home-assessments strong.good{color:var(--grade-good)}.notes-home-caption{color:var(--muted);margin:0 0 18px;font-size:12px}.status-page{place-items:center;min-height:100vh;display:grid}@media (max-width:980px){.app-shell-content{margin-top:70px;margin-left:0}.login-shell-content{margin-top:0}.account-bar{min-height:62px;padding:8px 18px}.app-sidebar{border-right:0;border-bottom:1px solid var(--border);flex-direction:row;align-items:center;gap:10px;width:auto;height:70px;padding:9px 12px;inset:0 0 auto;overflow-x:auto}.app-sidebar-brand{flex:none;margin:0 4px 0 0}.app-sidebar-brand div{display:none}.app-sidebar-nav{flex:none;gap:5px;display:flex}.app-sidebar-nav a,.app-sidebar-logout,.app-sidebar-platforms-trigger{grid-template-columns:1fr;width:42px;min-height:42px;padding:4px;display:grid}.app-sidebar-nav a>span,.app-sidebar-logout>span,.app-sidebar-platforms-trigger>span{margin:auto}.app-sidebar-nav a strong,.app-sidebar-logout strong,.app-sidebar-platforms-trigger strong{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.app-sidebar-logout{flex:none;margin:0 0 0 auto}.page{padding:18px}.topbar,.grade-kpis,.grade-layout,.grade-detail-tables,.student-header,.filters-panel,.compact-filters,.ranking-summary,.analysis-layout,.student-followup-grid,.grid{grid-template-columns:1fr}.student-header>div:first-child{padding-right:150px}.student-header-actions{position:absolute;top:12px;right:12px}.grade-entry-header{grid-template-columns:1fr}.grade-header-unit-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.home-page{padding:24px 18px}.home-header{flex-direction:column}.home-cards{grid-template-columns:1fr}.home-grade-content,.content-skeleton-donut .content-skeleton-items{grid-template-columns:1fr;justify-items:center}.home-legend{width:100%}.content-skeleton-donut i:first-child,.content-skeleton-donut i:not(:first-child){grid-area:auto}.content-skeleton-cards .content-skeleton-items,.content-skeleton-details .content-skeleton-items{grid-template-columns:1fr}.content-skeleton-details i:first-child{grid-column:auto}.grade-entry-header .panel-link{align-self:start}.notes-filters,.notes-evolution-content{grid-template-columns:1fr}.topbar-actions{justify-content:flex-start}.grade-units>div:last-child{grid-template-columns:1fr 1fr}.grade-kpi{min-height:auto}.grade-bar{grid-template-columns:110px 1fr 64px}.analysis-sidebar{position:static}.wide{grid-column:auto}.metric{border-left:0;border-top:1px solid var(--border);padding-top:14px;padding-left:0}.bar-row{grid-template-columns:minmax(88px,126px) minmax(0,1fr) 42px;gap:8px}.pagination{flex-direction:column;align-items:stretch}.pagination div{justify-content:space-between}}:root{--background:#f1f5fa;--surface:#fff;--surface-muted:#edf2f8;--surface-raised:#fbfdff;--border:#d6e0ec;--border-strong:#bdccdc;--text:#172437;--muted:#63748a;--primary:#3157d5;--primary-strong:#2546b4;--primary-soft:#e7edff;--blue:#3157d5;--teal:#3157d5;--teal-soft:#e7edff;--violet:#7656d6;--amber:#d99518;--coral:#d95656;--grade-good:#3157d5;--grade-good-soft:#e7edff;--grade-low:#d54d55;--grade-low-soft:#fdebed;--shadow-xs:0 1px 2px #1e314c0d, 0 2px 7px #1e314c0a;--shadow-sm:0 2px 4px #1e314c0d, 0 8px 20px #1e314c12;--shadow-md:0 4px 8px #1e314c0f, 0 16px 38px #1e314c17;--shadow-primary:0 7px 18px #3157d538}body{background:radial-gradient(circle at 82% -10%, #7656d612, transparent 29rem), radial-gradient(circle at 12% 8%, #3157d512, transparent 26rem), linear-gradient(180deg, #f7f9fc 0, var(--background) 34rem);font-feature-settings:"cv02", "cv03", "cv04", "cv11";-webkit-font-smoothing:antialiased;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}h1,h2,h3,strong{letter-spacing:-.018em}h1{color:#122039;font-weight:760}.app-sidebar{background:linear-gradient(180deg, #fffffffa, #f3f7fdf7), var(--surface);border-right-color:#b1c2d8b8;box-shadow:8px 0 32px #263e6514}.app-sidebar-brand>span{background:linear-gradient(145deg,#4268e7,#2546b4);box-shadow:0 6px 16px #3157d540,inset 0 1px #ffffff40}.app-sidebar-nav a,.app-sidebar-nav a>span,.app-sidebar-platforms-trigger>span,button,.panel-link,.home-access,.export-button,.update-ranking-button{transition:color .18s,background .18s,border-color .18s,box-shadow .18s,transform .18s}.app-sidebar-nav a:hover,.app-sidebar-platforms-trigger:hover{transform:translate(2px)}.app-sidebar-nav a.active{box-shadow:inset 3px 0 0 var(--primary), var(--shadow-xs);background:linear-gradient(90deg,#e1e9ff,#edf2ff)}.app-sidebar-nav a.active>span,.home-access,.export-button,.stage-switch button.active,.home-stage-switch button.active{background:linear-gradient(145deg, #4268e7, var(--primary-strong));box-shadow:var(--shadow-primary), inset 0 1px 0 #ffffff38}.global-update-banner{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#eff4ffeb;border-bottom-color:#cad8f4;box-shadow:0 5px 18px #3157d514}.panel,.filters-panel,.student-header,.ranking-summary .metric,.grade-kpis article,.grade-card,.home-card,.notes-empty{box-shadow:var(--shadow-sm), inset 0 1px 0 #ffffffd9;background:linear-gradient(155deg,#fff 0% 64%,#f9fbfe 100%);border-color:#c6d3e2e0;border-radius:14px}.panel,.grade-card,.home-card,.grade-kpis article,.ranking-summary .metric,.grade-header-unit-cards article{position:relative}.panel:before,.grade-card:before,.home-card:before{content:"";background:linear-gradient(90deg,#0000,#fffffff2,#0000);height:1px;position:absolute;top:-1px;left:18px;right:18px}.home-card:hover,.grade-header-unit-cards article:hover,.ranking-summary .metric:hover{box-shadow:var(--shadow-md);border-color:#bdcce2;transform:translateY(-2px)}.home-card,.grade-header-unit-cards article,.ranking-summary .metric{transition:transform .2s,border-color .2s,box-shadow .2s}.home-card:first-child{border-top:3px solid var(--primary)}.home-card:nth-child(2){border-top:3px solid var(--violet)}.home-card:nth-child(3){border-top:3px solid var(--amber)}.home-card:nth-child(4){border-top:3px solid var(--primary)}.filters-panel{box-shadow:var(--shadow-xs)}.filters-panel select,.search input,.home-grade-unit select{border-color:var(--border);background:linear-gradient(#fff,#fbfcfe);border-radius:10px;transition:border-color .18s,box-shadow .18s;box-shadow:inset 0 1px 2px #23365209,0 1px 2px #23365208}.filters-panel select:hover,.search input:hover,.home-grade-unit select:hover{border-color:#aebfd5}.filters-panel select:focus,.search input:focus,.home-grade-unit select:focus{border-color:var(--primary);outline:0;box-shadow:0 0 0 3px #3157d521,inset 0 1px 2px #23365208}.panel-link,.update-ranking-button{box-shadow:var(--shadow-xs);background:linear-gradient(#fff,#f5f8ff);border-color:#b8c8e7;border-radius:9px}.panel-link:hover,.update-ranking-button:hover{border-color:var(--primary);text-decoration:none;transform:translateY(-1px);box-shadow:0 5px 14px #3157d524}.home-access:hover,.export-button:hover,.stage-switch button.active:hover,.home-stage-switch button.active:hover{transform:translateY(-1px);box-shadow:0 9px 23px #3157d54a}.panel-title,.grade-card-title{border-bottom:1px solid #e5ebf3;padding-bottom:12px}.panel-title h3,.grade-card-title h2{color:#162641}.eyebrow,.home-card-heading span,.grade-card-title>div>span,.grade-header-units-title span{letter-spacing:.055em;text-transform:uppercase}.grade-header-unit-cards article{box-shadow:var(--shadow-xs);background:linear-gradient(145deg,#fff,#f9fbfe);border-radius:12px}.grade-header-unit-cards article:nth-child(4n+1){border-top:2px solid var(--primary)}.grade-header-unit-cards article:nth-child(4n+2){border-top:2px solid #5274df}.grade-header-unit-cards article:nth-child(4n+3){border-top:2px solid var(--violet)}.grade-header-unit-cards article:nth-child(4n+4){border-top:2px solid var(--amber)}.grade-kpi-icon{background:linear-gradient(145deg,#eef2ff,#dce6ff);box-shadow:0 8px 18px #3157d51f,inset 0 1px #fff}.grade-kpi-icon.hourglass{color:#b8750b;background:linear-gradient(145deg,#fff9e8,#ffedbd);box-shadow:0 8px 18px #d9951821,inset 0 1px #fff}.grade-kpi-expected strong{color:#b8750b}.bar-track,.grade-bar-track,.notes-average-track{background:linear-gradient(#dfe7f1,#edf2f7);box-shadow:inset 0 1px 3px #24385521,0 1px #fff}.bar-fill,.notes-average-track i{background:linear-gradient(180deg, #5579eb, var(--primary));box-shadow:inset 0 1px #ffffff59,0 2px 5px #3157d533}.bar-fill.grade-good,.grade-bar-track i.digitadas,.grade-bar-legend i.digitadas{background:linear-gradient(180deg, #5579eb, var(--grade-good))}.bar-fill.grade-low,.grade-bar-track i.faltantes,.grade-bar-legend i.faltantes{background:linear-gradient(180deg, #e36a70, var(--grade-low))}.student-header>.grade-card{background:var(--surface);box-shadow:none}.student-header>.grade-card:before{content:none}.analysis-layout .bar-track{background:var(--surface-muted);box-shadow:none}.analysis-layout .bar-fill{background:var(--primary);box-shadow:none}.analysis-layout .bar-fill.grade-good{background:var(--grade-good)}.analysis-layout .bar-fill.grade-low{background:var(--grade-low)}.chart-shell{background:linear-gradient(#f8fbffb8,#f1f6fc85);border-radius:11px;padding:7px 8px 3px;box-shadow:inset 0 0 0 1px #d6e0ec9e}.chart-shell svg{filter:drop-shadow(0 4px 8px #23375409)}.grid-line{stroke:#dfe7f0}.chart-point-label rect{filter:drop-shadow(0 3px 5px #1f314b1f)}.notes-evolution-chart{background:linear-gradient(#f8fbffb8,#f1f6fc85);border:0;border-radius:11px;box-shadow:inset 0 0 0 1px #d6e0ec9e}.home-donut,.grade-pie{filter:drop-shadow(0 9px 14px #20365626)}.home-donut:after{box-shadow:inset 0 2px 5px #1e314c14,0 1px #fff}.matrix-scroll,.grade-table-scroll{border-radius:11px}.matrix-scroll{border-color:var(--border);background:var(--surface);box-shadow:inset 0 1px 3px #1f314b0a}.matrix thead th,.grade-table-scroll thead th{color:#52657c;background:linear-gradient(#f3f7fb,#e9eff6)}.matrix tbody tr,.grade-table-scroll tbody tr{transition:background .15s}.matrix tbody tr:hover,.grade-table-scroll tbody tr:hover{background:#f2f6ff}.suggestions,.manual-list,.home-tooltip,.bar-assessment-tooltip,.knowledge-area-tooltip,.series-tooltip,.subject-tooltip,.occurrence-tooltip{box-shadow:var(--shadow-md);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffffa;border-color:#c7d4e3;border-radius:12px}.stage-switch button,.home-stage-switch button,.discipline-filter{box-shadow:var(--shadow-xs)}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.grade-pie-wrap{min-width:118px;gap:9px!important}.grade-pie{filter:none;border:6px solid #fff;border-radius:50%;place-items:center;width:100px;height:100px;display:grid;position:relative;box-shadow:0 0 0 1px #becddfb8,0 8px 19px #1e314c2e,inset 0 1px 2px #fff6}.grade-pie:after{content:"";background:linear-gradient(145deg,#fff,#f8fafc);border:1px solid #d3dde9cc;border-radius:50%;width:57px;height:57px;position:absolute;box-shadow:inset 0 2px 5px #1e314c14,0 1px 2px #1e314c14}.grade-pie-center{z-index:1;text-align:center;position:relative;gap:1px!important;display:grid!important}.grade-kpi-missing .grade-pie-center strong{color:var(--grade-low);font-size:15px;line-height:1}.grade-pie-center span{color:var(--muted);font-size:9px;font-weight:650}.grade-pie-legend{box-shadow:var(--shadow-xs);background:linear-gradient(#fff,#f7f9fc);border:1px solid #dce5f0;border-radius:999px;padding:4px 7px}.grade-pie-legend span+span{border-left:1px solid #dce5f0;padding-left:8px}.donut-wrap,.home-donut{width:160px;height:160px}.home-donut{filter:none;border:7px solid #fff;position:relative;box-shadow:0 0 0 1px #becddfb8,0 12px 26px #1e314c2b,inset 0 1px 2px #fff6}.home-donut:after{background:linear-gradient(145deg,#fff,#f8fafc);border:1px solid #d3dde9d1;width:92px;height:92px;box-shadow:inset 0 3px 7px #1e314c17,0 1px 2px #1e314c14}.home-donut-center{gap:2px}.home-donut-center strong{color:var(--primary);font-size:23px;line-height:1}.home-donut-center span{font-size:12px;font-weight:650}.home-legend p{box-shadow:var(--shadow-xs);background:linear-gradient(#fff,#f8fafc);border:1px solid #e0e7f0;border-radius:9px;padding:7px 9px}html[data-theme=dark] .home-legend p,html[data-theme=dark] .grade-pie-legend{border-color:var(--border);color:var(--text);background:linear-gradient(#253247,#202c3d)}html[data-theme=dark] .home-legend p span,html[data-theme=dark] .home-legend p strong,html[data-theme=dark] .grade-pie-legend span{color:var(--text)}html[data-theme=dark] .home-donut:after,html[data-theme=dark] .grade-pie:after{border-color:var(--border);background:linear-gradient(145deg,#202c3d,#182231);box-shadow:inset 0 2px 5px #0003}html[data-theme=dark] .suggestions,html[data-theme=dark] .manual-list,html[data-theme=dark] .home-tooltip,html[data-theme=dark] .bar-assessment-tooltip,html[data-theme=dark] .knowledge-area-tooltip,html[data-theme=dark] .series-tooltip,html[data-theme=dark] .subject-tooltip,html[data-theme=dark] .occurrence-tooltip{border-color:var(--border-strong);color:var(--text);box-shadow:var(--shadow-md);background:#1c2838fa}html[data-theme=dark] .series-tooltip thead th,html[data-theme=dark] .subject-tooltip thead th,html[data-theme=dark] .matrix thead th,html[data-theme=dark] .grade-table-scroll thead th{border-color:var(--border);color:#d9e4f1;background:linear-gradient(#2a394e,#243145)}html[data-theme=dark] .series-tooltip tbody tr:nth-child(odd),html[data-theme=dark] .subject-tooltip tbody tr:nth-child(odd){background:#1d2939}html[data-theme=dark] .series-tooltip tbody tr:nth-child(2n),html[data-theme=dark] .subject-tooltip tbody tr:nth-child(2n){background:#233145}html[data-theme=dark] .series-tooltip tbody tr:hover,html[data-theme=dark] .subject-tooltip tbody tr:hover,html[data-theme=dark] .matrix tbody tr:hover,html[data-theme=dark] .grade-table-scroll tbody tr:hover,html[data-theme=dark] .dashboard-ranking-table tbody tr:hover th,html[data-theme=dark] .dashboard-ranking-table tbody tr:hover td,html[data-theme=dark] .dashboard-ranking-table tbody tr:focus th,html[data-theme=dark] .dashboard-ranking-table tbody tr:focus td{background:#2a3b54}html[data-theme=dark] .grade-series-row.selected,html[data-theme=dark] .grade-subject-row.selected{box-shadow:inset 4px 0 0 var(--primary), 0 5px 14px #0003;background:linear-gradient(90deg,#293b63,#22324f 70%,#0000)}html[data-theme=dark] .grade-series-row.selected>span,html[data-theme=dark] .grade-subject-row.selected>span{color:#b9c8ff}html[data-theme=dark] .occurrences-panel{background:linear-gradient(#251e29,#201b26);border-color:#6b3b43}html[data-theme=dark] .occurrences-heading{border-bottom-color:#57343b}html[data-theme=dark] .occurrences-heading>strong,html[data-theme=dark] .occurrence-row strong{color:#ff9ba1;background:#49282d;border-color:#704049}html[data-theme=dark] .grade-kpi-icon.hourglass{color:#ffc66d;background:#49371e}html[data-theme=dark] .grade-kpi-expected strong{color:#ffc66d}html[data-theme=dark] .notes-stage-prompt,html[data-theme=dark] .notes-evolution-stages button:hover{background:#24334c}html[data-theme=dark] .olympic-home-chart svg>g>line{stroke:#40516a}html[data-theme=dark] .olympic-chart-series circle{fill:#182231}html[data-theme=dark] .olympic-chart-series circle:hover,html[data-theme=dark] .olympic-chart-series circle:focus{fill:#34435a}html[data-theme=dark] .discipline-bar-row.selected{background:linear-gradient(90deg,#293b63,#22324f 70%,#0000);box-shadow:0 5px 14px #0003}html[data-theme=dark] .discipline-bar-row.selected .bar-label{color:#b9c8ff}html[data-theme=dark] .bar-assessment-tooltip tbody tr:nth-child(odd){background:#1d2939}html[data-theme=dark] .bar-assessment-tooltip tbody tr:nth-child(2n){background:#233145}html[data-theme=dark] .bar-assessment-tooltip tbody tr:hover,html[data-theme=dark] .bar-assessment-tooltip tbody tr.stage-highlighted{background:#2a3b54}html[data-theme=dark] .series-tooltip td.percentage-heat,html[data-theme=dark] .subject-tooltip td.absolute-heat,html[data-theme=dark] .bar-assessment-tooltip td.absolute-heat{text-shadow:0 1px 1px #00000059;color:#fff1f2!important}html[data-theme=dark] .home-grade-unit select,html[data-theme=dark] .update-ranking-button,html[data-theme=dark] .tooltip-heading button{border-color:var(--border-strong);color:#b9c8ff;background:linear-gradient(#253247,#202c3d)}html[data-theme=dark] .olympic-medalist-card{border-left-color:var(--amber);background:linear-gradient(145deg,#28261f,#242116)}html[data-theme=dark] .olympic-medalist-tooltip{background:#2a2519fa;border-color:#66562f}:root{--radius-control:18px;--radius-card:14px;--ease-smooth:cubic-bezier(.22, 1, .36, 1)}html[data-theme=dark]{--background:#0a1120;--surface-muted:#131e35;--surface-raised:#17263f;--surface:#22355c;--border:#3a4f75;--border-strong:#50679a;--text:#e7edf7;--muted:#9fadc4;--primary:#4069d8;--primary-strong:#5a80e6;--primary-soft:#14243c;--blue:#7daef0;--violet:#b79bff;--teal:#4fd1de;--amber:#fbbf24;--grade-good:#7daef0;--grade-good-soft:#14243c;--grade-low:#fb7185;--grade-low-soft:#3d0f1c}h1,h2,h3,.app-sidebar-brand strong{font-family:Raleway,ui-sans-serif,system-ui,sans-serif}*{scrollbar-width:thin;scrollbar-color:var(--primary) transparent}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:var(--primary)}.app-shell-content{margin-left:248px}.app-sidebar{background:#122039;border-right:0;width:248px;padding:0 14px 18px;box-shadow:10px 0 30px #1220391f}.app-sidebar-brand{color:#fff;border-bottom:1px solid #ffffff1a;min-height:81px;margin:0 0 18px;padding:14px 4px}.app-sidebar-brand>span{background:#3157d5;border:1px solid #ffffff2e;border-radius:13px;width:42px;height:42px;font-family:Raleway,sans-serif;box-shadow:inset 0 1px #fff3}.app-sidebar-brand strong{color:#fff;font-size:16px;font-weight:800}.app-sidebar-brand small{color:#bdccdc;text-transform:none;font-size:11px}.app-sidebar-nav{gap:5px}.app-sidebar-nav a,.app-sidebar-logout,.app-sidebar-platforms-trigger{color:#d6e0ec;min-height:48px;transition:background-color .3s var(--ease-smooth), color .3s var(--ease-smooth), transform .3s var(--ease-smooth);border-radius:10px}.app-sidebar-nav a>span,.app-sidebar-logout>span,.app-sidebar-platforms-trigger>span{color:#bdccdc;background:0 0}.app-sidebar-nav svg,.app-sidebar-logout svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:19px;height:19px}.app-sidebar-nav a:hover,.app-sidebar-platforms-trigger:hover{color:#fff;background:#ffffff0f}.app-sidebar-nav a.active{color:#fff;background:#3157d5;box-shadow:0 8px 22px #00000029}.app-sidebar-nav a.active>span{color:#fff;background:0 0}.app-sidebar-logout{color:#bdccdc}.app-sidebar-logout:hover{color:#fb7185;background:#fb71851f}.app-sidebar-logout:hover>span{color:inherit;background:0 0}.app-sidebar-platforms-trigger[aria-expanded=true]>span{color:inherit}.app-sidebar-platforms-trigger[aria-expanded=true]{color:#fff;background:#ffffff1a}.platforms-flyout{z-index:200;box-sizing:border-box;border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-md);animation:platforms-flyout-in .22s var(--ease-smooth);border-radius:14px;padding:8px;position:fixed}.platforms-flyout-title{color:var(--muted);letter-spacing:.12em;text-transform:uppercase;margin:0;padding:6px 12px 4px;font-size:11px;font-weight:700;line-height:1.3}.platforms-link{color:var(--text);outline:none;align-items:center;gap:12px;padding:10px 12px 16px;text-decoration:none;display:flex;position:relative}.platforms-link-icon{background:var(--primary);color:#fff;border-radius:12px;flex:none;place-items:center;width:36px;height:36px;display:grid}.platforms-link-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;font-weight:600;line-height:1.4;overflow:hidden}.platforms-link-underline{background:var(--primary);transform-origin:0;height:1.5px;transition:transform .7s var(--ease-smooth);position:absolute;bottom:6px;left:-8px;right:12px;transform:scaleX(0)}.platforms-link:hover .platforms-link-underline,.platforms-link:focus-visible .platforms-link-underline{transform:scaleX(1)}.platforms-modal{z-index:210;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.platforms-modal-backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);cursor:default;background:#0f172a7a;border:0;width:100%;animation:.18s ease-out platforms-fade-in;position:absolute;inset:0}.platforms-modal-dialog{border:1px solid var(--border);background:var(--surface-muted);border-radius:18px;flex-direction:column;width:min(640px,100%);max-height:100%;animation:.22s ease-out platforms-modal-in;display:flex;position:relative;overflow:hidden;box-shadow:0 30px 80px #12203940}.platforms-modal-header{border-bottom:1px solid var(--border);background:var(--surface);justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 24px;display:flex}.platforms-modal-header h2{color:var(--text);letter-spacing:-.025em;margin:0;font-size:25px;font-weight:700;line-height:1.2}.platforms-modal-close{background:var(--surface-muted);width:34px;height:34px;color:var(--text);cursor:pointer;transition:transform .3s var(--ease-smooth);border:0;border-radius:999px;flex:none;place-items:center;display:grid;box-shadow:0 4px 14px #0d1b2a33}.platforms-modal-close:hover{transform:rotate(90deg)}.platforms-modal-body{overscroll-behavior:contain;min-height:0;padding:16px 24px;display:grid;overflow-y:auto}@keyframes platforms-flyout-in{0%{opacity:0;transform:translate(-8px)}to{opacity:1;transform:translate(0)}}@keyframes platforms-fade-in{0%{opacity:0}to{opacity:1}}@keyframes platforms-modal-in{0%{opacity:.7;transform:translateY(12px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@media (prefers-reduced-motion:reduce){.platforms-link-underline{transition-duration:.7s!important}.platforms-modal-close{transition-duration:.3s!important}.platforms-flyout{animation-duration:.22s!important}.platforms-modal-backdrop{animation-duration:.18s!important}.platforms-modal-dialog{animation-duration:.22s!important}}.account-bar{z-index:120;border-color:var(--border);min-height:82px;box-shadow:none;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#f5f9fde0;padding:12px 36px;position:sticky;top:0}.theme-toggle{border-color:var(--border);background:var(--surface);width:44px;height:44px;box-shadow:var(--shadow-xs);border-radius:16px}.theme-toggle:hover{border-color:var(--border-strong);background:var(--surface-muted)}.account-summary{border:1px solid var(--border);background:var(--surface);min-height:50px;box-shadow:var(--shadow-xs);border-radius:16px;gap:10px;padding:6px 14px 6px 6px}.account-avatar{background:var(--account-role-color,#000);color:#fff;border-radius:50%;flex:none;place-items:center;width:38px;height:38px;font-size:12px;font-weight:800;display:grid}.account-identity{gap:3px;line-height:1.15}.account-identity strong{color:var(--text)}.account-identity small{color:var(--muted);padding:0;font-weight:600;background:0 0!important}.page{padding:32px 36px 52px}h1{color:var(--text);letter-spacing:-.035em;font-size:clamp(1.75rem,2.4vw,2.25rem);font-weight:700}h2,h3{color:var(--text)}.eyebrow{color:var(--primary);letter-spacing:.12em}.panel,.filters-panel,.student-header,.ranking-summary .metric,.grade-kpis article,.grade-card,.home-card,.notes-empty,.grade-header-unit-cards article{border-color:var(--border-strong);border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--shadow-sm)}.panel-link,.filters-panel select,input,select,button{transition:border-color .3s var(--ease-smooth), background-color .3s var(--ease-smooth), color .3s var(--ease-smooth), box-shadow .3s var(--ease-smooth), transform .3s var(--ease-smooth)}.filters-panel select,.search-input,.panel-link{border-radius:var(--radius-control)}.panel-link:hover{border-color:var(--primary);background:var(--primary-soft);text-decoration:none;transform:translateY(-1px)}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,[role=button]:focus-visible{outline-offset:2px;outline:3px solid #3157d538}.login-page{background:radial-gradient(circle at 18% 18%, #3157d533, transparent 34%), radial-gradient(circle at 86% 82%, #7656d62e, transparent 32%), var(--background);position:relative;overflow:hidden}.login-page:before{content:"";border:1px solid #3157d533;border-radius:50%;width:420px;height:420px;position:absolute;transform:translate(-48vw,-36vh)}.login-card{border-color:var(--border-strong);border-radius:22px;width:min(440px,100%);padding:40px;position:relative;box-shadow:0 30px 80px #12203933}.login-card:before{background:var(--primary);color:#fff;content:"KE";border-radius:14px;place-items:center;width:48px;height:48px;margin-bottom:22px;font-family:Raleway,sans-serif;font-size:14px;font-weight:800;display:grid}.login-card input{border-color:var(--border);border-radius:var(--radius-control);min-height:48px;color:var(--text);padding:0 16px}.login-card input:focus{border-color:var(--primary);box-shadow:0 0 0 3px #3157d51a}.login-card button{background:var(--primary);border-radius:10px;min-height:48px}.login-card button:hover:not(:disabled){background:var(--primary-strong);transform:translateY(-1px);box-shadow:0 10px 24px #3157d538}html[data-theme=dark] .account-bar{background:#17263fe0}html[data-theme=dark] .app-sidebar{background:#122039;border-right:0;box-shadow:10px 0 30px #00000038}html[data-theme=dark] .app-sidebar-nav a.active{background:var(--primary);color:#fff}@media (max-width:760px){.app-shell-content{margin-top:70px;margin-left:0}.login-shell-content{margin-top:0}.app-sidebar{width:auto;height:70px;padding:9px 12px}.app-sidebar-brand{border:0;min-height:0;padding:0}.account-bar{min-height:68px;padding:10px 18px}.account-identity{display:none}.account-summary{padding-right:6px}.page{padding:24px 18px 40px}.login-card{padding:30px 24px}}.app-shell-content{flex-direction:column;min-height:100vh;display:flex}.app-page-content{flex:1 0 auto;min-width:0}.account-bar{justify-content:flex-start}.account-bar-context{gap:2px;min-width:0;margin-right:auto;display:grid}.account-bar-context small{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:11px;font-weight:700}.account-bar-context strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-family:Raleway,ui-sans-serif,system-ui,sans-serif;font-size:16px;overflow:hidden}.mobile-menu-toggle,.app-sidebar-close{border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer;place-items:center;display:none}.mobile-menu-toggle{border-radius:12px;flex:none;width:44px;height:44px}.mobile-menu-toggle svg,.app-sidebar-close svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:21px;height:21px}.app-sidebar-backdrop{display:none}.app-footer{border-top:1px solid var(--border);color:var(--muted);text-align:center;background:0 0;flex:none;justify-content:center;align-items:center;padding:22px 24px;font-size:14px;display:flex}.app-footer p{margin:0}@media (max-width:980px){.app-shell-content{margin-top:0}.app-sidebar{z-index:180;width:min(310px,88vw);height:100vh;transition:transform .22s var(--ease-smooth);border:0;flex-direction:column;align-items:stretch;gap:0;padding:0 14px 18px;position:fixed;inset:0 auto 0 0;overflow:hidden auto;transform:translate(-105%)}.app-shell.mobile-menu-open .app-sidebar{transform:translate(0)}.app-sidebar-brand{border-bottom:1px solid #ffffff1a;min-height:81px;margin:0 42px 18px 0;padding:14px 4px}.app-sidebar-brand div{display:grid}.app-sidebar-nav{flex:initial;gap:5px;display:grid}.app-sidebar-nav a,.app-sidebar-logout,.app-sidebar-platforms-trigger{grid-template-columns:34px 1fr;width:auto;min-height:48px;padding:6px 9px;display:grid}.app-sidebar-nav a strong,.app-sidebar-logout strong,.app-sidebar-platforms-trigger strong{clip:auto;width:auto;height:auto;position:static;overflow:visible}.app-sidebar-platforms-trigger{width:100%}.app-sidebar-logout{margin:auto 0 0}.app-sidebar-close{color:#fff;background:#ffffff0f;border-color:#ffffff24;border-radius:11px;width:40px;height:40px;display:grid;position:absolute;top:18px;right:14px}.app-sidebar-backdrop{z-index:170;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#070d189e;border:0;width:100%;display:block;position:fixed;inset:0}.mobile-menu-toggle{display:grid}.account-bar{min-height:70px;padding:10px 18px}.account-bar-context small{display:none}.account-bar-context strong{font-size:14px}.account-summary{padding-right:6px}.app-footer{padding:20px 18px}}@media (prefers-reduced-motion:reduce){.app-sidebar{transition:none}}.app-sidebar-nav a>span,.app-sidebar-logout>span,.app-sidebar-platforms-trigger>span{box-shadow:none;background:0 0;border:0;border-radius:0}.app-sidebar-nav a strong,.app-sidebar-logout strong,.app-sidebar-platforms-trigger strong{font-weight:500}.app-sidebar-nav a.active strong{font-weight:600}.page-title-with-icon,.title-with-icon,.meta-with-icon,.grade-entry-error,.grade-entry-update-message,.global-update-banner,.export-button{align-items:center;display:flex}.page-title-with-icon{gap:12px}.page-title-with-icon>i,.heading-with-icon>i{background:var(--primary-soft);color:var(--primary);border-radius:11px;flex:none;place-items:center;display:grid}.page-title-with-icon>i{width:42px;height:42px}.page-title-with-icon>i svg{width:23px;height:23px}.heading-with-icon{align-items:flex-start;gap:11px;min-width:0;display:flex}.heading-with-icon>i{width:38px;height:38px}.heading-with-icon>i svg{width:20px;height:20px}.heading-with-icon>div{min-width:0}.home-card:nth-child(2) .heading-with-icon>i{background:color-mix(in srgb, var(--violet) 13%, var(--surface));color:var(--violet)}.home-card:nth-child(3) .heading-with-icon>i{background:color-mix(in srgb, var(--amber) 14%, var(--surface));color:var(--amber)}.title-with-icon{gap:8px}.title-with-icon>svg{width:20px;height:20px;color:var(--primary);flex:none}.meta-with-icon{gap:6px}.meta-with-icon svg{flex:none;width:15px;height:15px}.global-update-banner{justify-content:center;gap:8px}.global-update-banner svg,.grade-entry-error svg,.grade-entry-update-message svg{flex:none;width:17px;height:17px}.grade-entry-error,.grade-entry-update-message{gap:8px}.export-button{justify-content:center;gap:7px}.export-button svg{flex:none;width:16px;height:16px}.notes-kpis article{padding-right:54px;position:relative;overflow:hidden}.kpi-context-icon{width:24px;height:24px;color:var(--primary);opacity:.68;position:absolute;top:17px;right:17px}.kpi-context-icon.warning{color:var(--grade-low)}.grade-kpi-icon>svg[viewBox="0 0 24 24"]{stroke-width:1.8px;width:39px;height:39px}.grade-kpi-icon>svg[viewBox="0 0 24 24"] path{fill:none}@media (max-width:620px){.page-title-with-icon{align-items:flex-start;gap:9px}.page-title-with-icon>i{width:36px;height:36px}.heading-with-icon>i{width:34px;height:34px}}html[data-theme=dark]{--background:#080f1d;--surface-muted:#111c2e;--surface-raised:#1b2a42;--surface:#16243a;--border:#30435f;--border-strong:#465d7f;--text:#f3f6fb;--muted:#b4c0d2;--primary:#86a3ff;--primary-strong:#9bb4ff;--primary-soft:#20345d;--blue:#86b9ff;--violet:#c1a9ff;--teal:#62dbe4;--amber:#ffd166;--grade-good:#86b9ff;--grade-good-soft:#20345d;--grade-low:#ff8c9a;--grade-low-soft:#491d2a;--shadow-xs:0 1px 2px #00000047, 0 3px 9px #00000029;--shadow-sm:0 2px 4px #0000003d, 0 10px 26px #0003;--shadow-md:0 8px 18px #0000003d, 0 24px 54px #0000004d;--shadow-primary:0 8px 22px #4b69d252}html[data-theme=dark] body{background:radial-gradient(circle at 84% -12%, #6b53be1f, transparent 30rem), radial-gradient(circle at 12% 6%, #4667c924, transparent 28rem), linear-gradient(180deg, #0c1628 0, var(--background) 34rem)}html[data-theme=dark] .account-bar{border-bottom-color:var(--border);background:#0c1728e6;box-shadow:0 1px #ffffff06}html[data-theme=dark] .account-summary,html[data-theme=dark] .platforms-flyout,html[data-theme=dark] .platforms-modal-header,html[data-theme=dark] .login-card{border-color:var(--border);background:var(--surface)}html[data-theme=dark] .platforms-modal-dialog{background:var(--surface-muted)}html[data-theme=dark] .panel,html[data-theme=dark] .filters-panel,html[data-theme=dark] .student-header,html[data-theme=dark] .ranking-summary .metric,html[data-theme=dark] .grade-kpis article,html[data-theme=dark] .grade-card,html[data-theme=dark] .home-card,html[data-theme=dark] .notes-empty,html[data-theme=dark] .grade-header-unit-cards article{border-color:var(--border);background:linear-gradient(145deg, #192941 0%, var(--surface) 72%);box-shadow:var(--shadow-sm), inset 0 1px 0 #ffffff09}html[data-theme=dark] .panel:before,html[data-theme=dark] .grade-card:before,html[data-theme=dark] .home-card:before{background:linear-gradient(90deg,#0000,#a5bee538,#0000)}html[data-theme=dark] .home-card:hover,html[data-theme=dark] .grade-header-unit-cards article:hover,html[data-theme=dark] .ranking-summary .metric:hover{border-color:var(--border-strong);box-shadow:var(--shadow-md)}html[data-theme=dark] .panel-title,html[data-theme=dark] .grade-card-title{border-bottom-color:var(--border)}html[data-theme=dark] .panel-title h3,html[data-theme=dark] .grade-card-title h2{color:var(--text)}html[data-theme=dark] .filters-panel select,html[data-theme=dark] .search input,html[data-theme=dark] .home-grade-unit select,html[data-theme=dark] .panel-link,html[data-theme=dark] .update-ranking-button{border-color:var(--border);background:linear-gradient(180deg, var(--surface-raised), var(--surface));color:var(--text);box-shadow:var(--shadow-xs)}html[data-theme=dark] .filters-panel select:hover,html[data-theme=dark] .search input:hover,html[data-theme=dark] .home-grade-unit select:hover,html[data-theme=dark] .panel-link:hover,html[data-theme=dark] .update-ranking-button:hover{border-color:var(--primary)}html[data-theme=dark] .home-access,html[data-theme=dark] .export-button,html[data-theme=dark] .stage-switch button.active,html[data-theme=dark] .home-stage-switch button.active,html[data-theme=dark] .app-sidebar-nav a.active,html[data-theme=dark] .login-card button{color:#fff;background:linear-gradient(145deg,#5576dc,#3d5dbb)}html[data-theme=dark] .grade-kpi-icon{background:linear-gradient(145deg,#263b68,#1c3158);box-shadow:inset 0 1px #ffffff0f}html[data-theme=dark] .grade-kpi-icon.hourglass{color:var(--amber);background:#49391f;box-shadow:inset 0 1px #ffffff0d}html[data-theme=dark] .chart-shell,html[data-theme=dark] .notes-evolution-chart{border-color:var(--border);background:linear-gradient(160deg,#17263c,#0f1a2b);box-shadow:inset 0 0 0 1px #4c638480}html[data-theme=dark] .grid-line,html[data-theme=dark] .notes-evolution-chart line{stroke:#465a78}html[data-theme=dark] .matrix-scroll,html[data-theme=dark] .grade-entry-matrix-scroll,html[data-theme=dark] .grade-entry-matrix thead th{background:#101b2c}html[data-theme=dark] .grade-entry-matrix tbody th{background:#1b2b44}html[data-theme=dark] .grade-matrix-cell{border-color:hsl(var(--heat-hue) 48% 48% / .7);background:hsl(var(--heat-hue) 48% 30%);color:#eef4fb;box-shadow:inset 0 1px 0 #ffffff0f, var(--shadow-xs)}html[data-theme=dark] .grade-matrix-cell.intense{color:#fff}html[data-theme=dark] .matrix-tooltip{border-color:var(--border-strong);background:#142135fa}html[data-theme=dark] .grade-origin-badge.simulado{color:#ffd166;background:#59461e}html[data-theme=dark] .matrix thead th,html[data-theme=dark] .grade-table-scroll thead th{border-color:var(--border);color:#dce5f2;background:linear-gradient(#243652,#1d2d46)}html[data-theme=dark] .matrix tbody tr:hover,html[data-theme=dark] .grade-table-scroll tbody tr:hover,html[data-theme=dark] .dashboard-ranking-table tbody tr:hover th,html[data-theme=dark] .dashboard-ranking-table tbody tr:hover td,html[data-theme=dark] .dashboard-ranking-table tbody tr:focus th,html[data-theme=dark] .dashboard-ranking-table tbody tr:focus td{background:#263a59}html[data-theme=dark] .suggestions,html[data-theme=dark] .manual-list,html[data-theme=dark] .home-tooltip,html[data-theme=dark] .bar-assessment-tooltip,html[data-theme=dark] .knowledge-area-tooltip,html[data-theme=dark] .series-tooltip,html[data-theme=dark] .subject-tooltip,html[data-theme=dark] .occurrence-tooltip{border-color:var(--border-strong);color:var(--text);background:#142135fa}html[data-theme=dark] .bar-track,html[data-theme=dark] .grade-bar-track,html[data-theme=dark] .notes-average-track{background:#0d1727;box-shadow:inset 0 1px 3px #0000008c,0 0 0 1px #465d7f47}html[data-theme=dark] .home-legend p,html[data-theme=dark] .grade-pie-legend{border-color:var(--border);background:linear-gradient(#1c2c45,#152238)}html[data-theme=dark] .home-donut:after,html[data-theme=dark] .grade-pie:after{border-color:var(--border);background:linear-gradient(145deg,#1b2b44,#111c2e)}html[data-theme=dark] .home-donut,html[data-theme=dark] .grade-pie{box-shadow:0 0 0 1px var(--border-strong), 0 12px 28px #0006;border-color:#16243a}html[data-theme=dark] button:focus-visible,html[data-theme=dark] a:focus-visible,html[data-theme=dark] select:focus-visible,html[data-theme=dark] input:focus-visible,html[data-theme=dark] [role=button]:focus-visible{outline-color:#86a3ff94}.dashboard-ranking-table{min-width:1000px}.dashboard-ranking-table thead th,.notes-low-table thead th{z-index:3;background:var(--surface-muted);box-shadow:inset 0 -1px 0 var(--border);position:sticky;top:0}.dashboard-ranking-table thead th:first-child{z-index:4}.notes-low-table table{min-width:840px}.table-actions-heading,.table-actions-cell{white-space:nowrap;width:104px;text-align:center!important}.details-button{border:1px solid var(--border-strong);background:var(--surface);min-height:32px;color:var(--primary);font:inherit;cursor:pointer;border-radius:8px;justify-content:center;align-items:center;padding:6px 11px;font-size:12px;font-weight:600;line-height:1;text-decoration:none;display:inline-flex}.details-button:hover{border-color:var(--primary);background:var(--primary-soft);color:var(--primary-strong);text-decoration:none}button,[role=button],.panel-link,.home-access,.export-button,.update-ranking-button,.details-button{box-shadow:none!important}.student-pdf-button,.export-button,.home-access,.grade-manual-update button,.stage-switch button.active,.home-stage-switch button.active{background:var(--primary)}.student-pdf-button:hover,.export-button:hover,.home-access:hover,.grade-manual-update button:hover,.stage-switch button.active:hover,.home-stage-switch button.active:hover{background:var(--primary-strong);box-shadow:none}.panel-link,.update-ranking-button{background:var(--surface)}.home-card-heading{align-items:center}.home-card-stat{border:1px solid color-mix(in srgb, currentColor 14%, transparent);background:color-mix(in srgb, currentColor 8%, var(--surface));min-width:112px;color:var(--primary);border-radius:11px;flex:none;align-items:center;gap:9px;padding:8px 10px;display:flex}.home-card-stat>svg{stroke-width:1.9px;flex:none;width:18px;height:18px}.home-card-stat>span{gap:1px;display:grid}.home-card-stat strong{color:currentColor;font-size:20px;line-height:1}.home-card-stat small{color:var(--muted);font-size:10px;font-weight:700;line-height:1.15}.home-card-stat.stat-violet{color:var(--violet)}.home-card-stat.stat-amber{color:var(--amber)}.home-card-stat.stat-teal{color:var(--teal)}.home-legend p{grid-template-columns:30px minmax(0,1fr) auto;min-height:44px;padding:6px 9px 6px 6px}.home-legend i.legend-icon{border-radius:8px;place-items:center;width:30px;height:30px;display:grid}.home-legend i.legend-icon svg{width:16px;height:16px}.home-legend i.legend-icon.filled{background:var(--grade-good-soft);color:var(--grade-good)}.home-legend i.legend-icon.missing{background:var(--grade-low-soft);color:var(--grade-low)}.home-legend>small{align-items:center;gap:5px;display:flex}.home-legend>small svg{flex:none;width:14px;height:14px}.home-access{align-items:center;gap:7px;display:inline-flex}.home-access svg{stroke-width:1.9px;flex:none;width:16px;height:16px}.notes-home-assessments>div{grid-template-columns:30px minmax(72px,1fr) auto 58px;padding:6px 10px 6px 7px}.notes-home-assessments>div>svg{background:color-mix(in srgb, var(--amber) 12%, var(--surface));width:28px;height:28px;color:var(--amber);stroke-width:1.9px;border-radius:8px;padding:6px}.metric-label{align-items:center;gap:8px;font-weight:700;display:inline-flex!important}.metric-label>i{background:var(--primary-soft);width:28px;height:28px;color:var(--primary);border-radius:8px;flex:none;place-items:center;display:grid}.metric-label>i svg{stroke-width:1.9px;width:16px;height:16px}.grade-header-unit-cards .metric-label{color:var(--text);font-size:12px}.grade-header-unit-cards .grade-unit-updated{align-items:center;gap:5px;display:flex}.grade-header-unit-cards .grade-unit-updated svg{flex:none;width:13px;height:13px}.grade-kpis article{overflow:hidden}.grade-kpis .metric-label{color:var(--text);font-size:13px}.grade-kpi-missing{background:color-mix(in srgb, var(--grade-low) 6%, var(--surface))!important}.grade-kpi-missing .metric-label>i,.notes-kpi-warning .metric-label>i{background:var(--grade-low-soft);color:var(--grade-low)}.grade-kpi-with-icon:not(.grade-kpi-expected),.notes-kpi-average{background:color-mix(in srgb, var(--primary) 5%, var(--surface))!important}.grade-kpi-expected{background:color-mix(in srgb, var(--amber) 7%, var(--surface))!important}.grade-kpi-expected .metric-label>i{background:color-mix(in srgb, var(--amber) 16%, var(--surface));color:var(--amber)}.notes-kpi-count{background:color-mix(in srgb, var(--violet) 6%, var(--surface))!important}.notes-kpi-count .metric-label>i{background:color-mix(in srgb, var(--violet) 15%, var(--surface));color:var(--violet)}.notes-kpi-warning{background:color-mix(in srgb, var(--grade-low) 6%, var(--surface))!important}.notes-kpi-success{background:color-mix(in srgb, var(--grade-good) 7%, var(--surface))!important}.notes-kpi-success .metric-label>i{background:color-mix(in srgb, var(--grade-good) 15%, var(--surface));color:var(--grade-good)}.notes-kpis article{padding-right:18px}.notes-kpis strong{margin-top:2px;font-size:32px;line-height:1}.title-with-icon{align-items:center}.title-with-icon>svg{background:var(--primary-soft);stroke-width:1.9px;border-radius:8px;width:28px;height:28px;padding:6px}.details-button{gap:6px}.details-button svg{flex:none;width:14px;height:14px}.occurrences-heading .title-with-icon>svg{background:var(--grade-low-soft);color:var(--grade-low)}html[data-theme=dark] .home-card-stat{border-color:color-mix(in srgb, currentColor 28%, var(--border))}html[data-theme=dark] .notes-home-assessments>div{background:var(--surface-muted)}html[data-theme=dark] .grade-section-placeholder{border-color:var(--border)!important;background:linear-gradient(105deg,#1d2939 20%,#2a3a50 40%,#1d2939 60%) 0 0/220% 100%!important}@media (max-width:620px){.home-card{min-height:0;padding:16px}.home-card-heading{align-items:flex-start}.home-card-stat{min-width:0;padding:7px 8px}.home-card-stat>svg{display:none}.home-card-stat strong{font-size:18px}.home-card-stat small{font-size:9px}.notes-home-assessments>div{grid-template-columns:28px minmax(70px,1fr) 50px}.notes-home-assessments>div>small{display:none}.grade-kpi-missing,.grade-kpi-with-icon{grid-template-columns:minmax(0,1fr)}.grade-kpi-icon{display:none!important}.grade-pie-wrap{margin-top:8px}.grade-card-title{flex-direction:column;align-items:flex-start}.notes-low-table-actions{justify-content:space-between;width:100%}}html[data-theme=dark] .student-pdf-button,html[data-theme=dark] .export-button,html[data-theme=dark] .home-access,html[data-theme=dark] .grade-manual-update button,html[data-theme=dark] .stage-switch button.active,html[data-theme=dark] .home-stage-switch button.active,html[data-theme=dark] .app-sidebar-nav a.active,html[data-theme=dark] .login-card button{color:#fff;background:#4664c1}html[data-theme=dark] .student-pdf-button:hover,html[data-theme=dark] .export-button:hover,html[data-theme=dark] .home-access:hover,html[data-theme=dark] .grade-manual-update button:hover,html[data-theme=dark] .stage-switch button.active:hover,html[data-theme=dark] .home-stage-switch button.active:hover,html[data-theme=dark] .login-card button:hover:not(:disabled){background:#5574d3}select option,select optgroup{color:#172437;background-color:#fff}select option:checked{color:#172437;background-color:#dce7ff}select option:disabled{color:#7c8ca1}html[data-theme=dark] select{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;border-color:var(--border);background-color:var(--surface-raised);color:var(--text)}html[data-theme=dark] select option,html[data-theme=dark] select optgroup{color:#f3f6fb;background-color:#16243a}html[data-theme=dark] select option:checked{color:#fff;background:#4664c1 linear-gradient(#4664c1 0% 100%)}html[data-theme=dark] select option:hover,html[data-theme=dark] select option:focus{color:#fff;background-color:#263a59}html[data-theme=dark] select option:disabled{color:#8290a6;background-color:#111c2e}html[data-theme=dark] select:disabled{color:#8290a6;opacity:1;background:#101a2a;border-color:#263a52}html[data-theme=dark] .suggestions,html[data-theme=dark] .manual-list,html[data-theme=dark] .platforms-flyout{border-color:var(--border-strong);box-shadow:var(--shadow-md);background:#111c2e}html[data-theme=dark] .suggestions button,html[data-theme=dark] .manual-list button{color:var(--text);background:0 0;border-color:#0000}html[data-theme=dark] .suggestions button:hover,html[data-theme=dark] .suggestions button:focus-visible,html[data-theme=dark] .manual-list button:hover,html[data-theme=dark] .manual-list button:focus-visible,html[data-theme=dark] .platforms-link:hover,html[data-theme=dark] .platforms-link:focus-visible{border-color:var(--border);color:#fff;background:#1d304d}html[data-theme=dark] .suggestions button.active,html[data-theme=dark] .manual-list button.active{color:#fff;background:#263f70;border-color:#7695f2}html[data-theme=dark] .suggestions button span,html[data-theme=dark] .manual-list button span{color:#b4c0d2}html[data-theme=dark] .student-list-toggle{border-left-color:var(--border);background:var(--surface-raised);color:#b4c0d2}html[data-theme=dark] .student-list-toggle:hover,html[data-theme=dark] .student-list-toggle[aria-expanded=true]{color:#fff;background:#263f70}
