:root {
    --navy: #111c36;
    --navy-soft: #1b2948;
    --blue: #4169e1;
    --blue-dark: #3156cc;
    --ink: #202b40;
    --muted: #8b95a8;
    --line: #edf0f5;
    --surface: #fff;
    --canvas: #f7f8fb;
    --green: #2da77a;
    font-family: "Inter", sans-serif;
    color: var(--ink);
    background: var(--canvas);
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--canvas); font-size: 13px; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
.app-shell { min-height: 100vh; }
.sidebar { position: fixed; z-index: 20; inset: 0 auto 0 0; width: 252px; display: flex; flex-direction: column; background: var(--navy); color: #b7c1d5; transition: width .24s ease, transform .24s ease; }
.brand { min-height: 78px; padding: 18px 17px 15px 20px; display: flex; align-items: center; gap: 11px; border-bottom: 1px solid rgba(255,255,255,.07); color: #fff; flex-shrink: 0; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 38px; padding: 2px; border-radius: 8px; background: #fff; }
.brand-copy { display: grid; gap: 2px; min-width: 0; }
.brand-copy strong { font: 800 13px "Manrope",sans-serif; letter-spacing: -.35px; line-height: 1.2; }
.brand-copy small { color: #8895ae; font-size: 10px; letter-spacing: .2px; }
.sidebar-collapse { margin-left: auto; padding: 5px; border: 0; background: transparent; color: #74819a; display: grid; place-items: center; }
.sidebar-collapse svg { width: 17px; }
.side-nav { flex: 1; overflow-y: auto; padding: 12px 12px 18px; scrollbar-width: thin; scrollbar-color: #394665 transparent; }
.nav-caption { display: block; padding: 14px 10px 7px; color: #78859e; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.15px; }
.nav-link { min-height: 36px; display: flex; align-items: center; gap: 11px; padding: 0 10px; margin: 2px 0; border-radius: 7px; color: #aab5ca; font-size: 11.5px; font-weight: 500; transition: background .18s ease, color .18s ease; }
.nav-link svg { width: 16px; height: 16px; color: #8391ab; stroke-width: 1.8; flex: 0 0 auto; }
.nav-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-link.active { background: #294078; color: #fff; box-shadow: inset 2px 0 #83a2ff; }
.nav-link.active svg { color: #92acff; }
.teacher-portal-tabs { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 0 17px; margin: 0 0 20px; border-bottom: 1px solid #e9edf4; }
.teacher-portal-tabs a { min-height: 34px; display: inline-flex; align-items: center; gap: 7px; padding: 0 11px; border: 1px solid #e6eaf1; border-radius: 7px; background: #fff; color: #667287; font-size: 10px; font-weight: 600; transition: background .16s ease, color .16s ease, border-color .16s ease; }
.teacher-portal-tabs a svg { width: 14px; height: 14px; color: #8793a7; }
.teacher-portal-tabs a:hover { border-color: #cbd8f5; color: #3156cc; }
.teacher-portal-tabs a.is-active { border-color: #cddafa; background: #eff4ff; color: #3156cc; }
.teacher-portal-tabs a.is-active svg { color: #4169e1; }
.sidebar-bottom { padding: 10px 12px 0; border-top: 1px solid rgba(255,255,255,.07); flex-shrink: 0; }
.sidebar-user { display: flex; align-items: center; gap: 9px; min-height: 54px; padding: 7px 3px; border-top: 1px solid rgba(255,255,255,.06); }
.avatar { flex: 0 0 auto; display: inline-grid; place-items: center; overflow: hidden; border-radius: 50%; object-fit: cover; font-weight: 700; }
.avatar-admin { width: 31px; height: 31px; background: #e6a980; color: #603b27; font-size: 12px; }
.user-meta, .profile-label { display: grid; gap: 2px; min-width: 0; }
.user-meta strong { color: #e6eaf2; font-size: 10.5px; max-width: 145px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-meta small { color: #8d99b0; font-size: 9.5px; }
.sidebar-logout { margin-left: auto; color: #8391ab !important; }
.main-area { min-height: 100vh; margin-left: 252px; transition: margin-left .24s ease; }
.topbar { height: 66px; padding: 0 31px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #fff; border-bottom: 1px solid var(--line); }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 14px; min-width: 0; }
.topbar-right { gap: 17px; }
.icon-button { width: 32px; height: 32px; padding: 0; display: inline-grid; place-items: center; color: #6d788d; background: transparent; border: 0; border-radius: 7px; position: relative; }
.icon-button:hover { background: #f3f5f9; color: var(--ink); }
.icon-button svg { width: 17px; height: 17px; }
.mobile-menu { display: none; }
.breadcrumbs { display: flex; gap: 9px; align-items: center; white-space: nowrap; font-size: 11px; color: #8d97a9; }
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs svg { width: 13px; height: 13px; color: #b0b7c4; }
.breadcrumbs span { color: #303b50; font-weight: 600; }
.global-search { height: 34px; width: 205px; padding: 0 9px; display: flex; align-items: center; gap: 7px; border: 1px solid #eef0f4; border-radius: 6px; background: #fafbfc; }
.global-search > svg { width: 14px; color: #98a1b1; flex: 0 0 auto; }
.global-search input { width: 100%; min-width: 0; outline: 0; border: 0; background: transparent; color: var(--ink); font-size: 10.5px; }
.global-search input::placeholder { color: #9da6b6; }
.global-search kbd { padding: 2px 4px; background: white; border: 1px solid #e8ebf0; border-radius: 3px; color: #a2aab8; font: 9px "Inter",sans-serif; white-space: nowrap; }
.notification-button { border: 1px solid #eef0f4; }
.notification-dot { width: 6px; height: 6px; position: absolute; top: 6px; right: 6px; border: 1.5px solid white; border-radius: 100%; background: #eb6874; }
.session-pill { display: flex; align-items: center; gap: 7px; padding: 7px 9px; color: #5c687d; border: 1px solid #edf0f4; border-radius: 6px; font-size: 10px; white-space: nowrap; }
.session-pill svg { width: 13px; height: 13px; color: #8792a5; }
.session-pill svg:last-child { width: 11px; }
.profile-menu { position: relative; }
.profile-menu summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.profile-menu summary::-webkit-details-marker { display: none; }
.avatar-top { width: 31px; height: 31px; color: #603b27; background: #e6a980; font-size: 11px; }
.profile-label strong { color: #303b50; font-size: 10px; white-space: nowrap; }
.profile-label small { color: #919aab; font-size: 9px; }
.profile-menu summary > svg { width: 13px; color: #9da6b4; }
.profile-dropdown, .row-dropdown { position: absolute; z-index: 8; right: 0; top: calc(100% + 10px); min-width: 165px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 28px #1a2a4518; }
.profile-dropdown a, .row-dropdown a, .row-dropdown button { width: 100%; padding: 9px; display: flex; align-items: center; gap: 8px; color: #556176; border: 0; border-radius: 5px; background: transparent; font-size: 11px; text-align: left; }
.profile-dropdown a:hover, .row-dropdown a:hover, .row-dropdown button:hover { background: #f5f7fb; color: var(--blue); }
.profile-dropdown svg, .row-dropdown svg { width: 14px; }
.page-content { max-width: 1600px; padding: 27px 31px 16px; margin: 0 auto; }
.welcome-row, .page-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 19px; }
.welcome-row h1, .page-heading-row h1 { margin: 7px 0 4px; color: #222d41; font: 800 22px "Manrope",sans-serif; letter-spacing: -.7px; }
.welcome-row p, .page-heading-row p { margin: 0; color: #8a94a5; font-size: 11.5px; }
.eyebrow { display: flex; align-items: center; gap: 6px; color: #8b96a8; font-size: 10px; font-weight: 600; }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: #6c89ee; box-shadow: 0 0 0 3px #e8edff; }
.welcome-actions { display: flex; align-items: center; gap: 9px; }
.button { min-height: 34px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 6px; font-size: 10.5px; font-weight: 600; transition: background .16s ease, transform .16s ease, box-shadow .16s ease; }
.button:hover { transform: translateY(-1px); }
.button svg { width: 14px; height: 14px; }
.button-primary { border: 1px solid var(--blue); background: var(--blue); color: #fff; box-shadow: 0 3px 8px #4169e123; }
.button-primary:hover { background: var(--blue-dark); box-shadow: 0 4px 12px #4169e133; }
.button-secondary { border: 1px solid #e5e9f0; background: #fff; color: #5f6b80; }
.button-secondary:hover { border-color: #ccd6eb; color: var(--blue); background: #fbfcff; }
.button-small { min-height: 30px; }
.demo-note { display: flex; align-items: center; gap: 8px; padding: 9px 11px; margin-bottom: 13px; color: #68789a; border: 1px solid #e4eaff; border-radius: 6px; background: #f4f7ff; font-size: 10px; }
.demo-note svg { width: 14px; height: 14px; color: #6c88e7; flex: 0 0 auto; }
.stats-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; margin-bottom: 14px; }
.stat-card { min-width: 0; padding: 13px 14px 12px; background: var(--surface); border: 1px solid #edf0f4; border-radius: 8px; box-shadow: 0 2px 7px #1a2a4505; transition: transform .18s ease, box-shadow .18s ease; }
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 7px 18px #1a2a450c; }
.stat-top { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin-bottom: 13px; }
.stat-icon, .activity-icon, .quick-icon, .form-section-icon { display: inline-grid; place-items: center; flex: 0 0 auto; border-radius: 8px; }
.stat-icon { width: 31px; height: 31px; }
.stat-icon svg { width: 16px; height: 16px; }
.blue { color: #4a70df; background: #edf1ff; }
.violet { color: #8b6bdd; background: #f2edff; }
.cyan { color: #2a9fae; background: #e8f8fa; }
.green { color: #2ca67a; background: #eaf8f1; }
.amber { color: #d48a2d; background: #fff5e8; }
.rose { color: #df7184; background: #fff0f2; }
.stat-change { display: inline-flex; align-items: center; gap: 3px; padding: 4px 6px; border-radius: 5px; font-size: 8px; font-weight: 600; white-space: nowrap; }
.stat-change svg { width: 11px; height: 11px; }
.stat-change.positive { color: #29956e; background: #ecf8f2; }
.stat-change.neutral { color: #818ca0; background: #f4f6f9; }
.stat-value { display: block; margin-bottom: 2px; color: #273248; font: 800 21px "Manrope",sans-serif; letter-spacing: -.6px; }
.stat-label { display: block; color: #4b576b; font-size: 10px; font-weight: 600; white-space: nowrap; }
.stat-foot { display: block; margin-top: 6px; color: #99a2b1; font-size: 9px; }
.analytics-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 13px; margin-bottom: 13px; }
.panel { min-width: 0; padding: 15px 16px; border: 1px solid #edf0f4; border-radius: 8px; background: #fff; box-shadow: 0 2px 7px #1a2a4504; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-heading h2 { margin: 0; color: #293449; font: 700 12px "Manrope",sans-serif; letter-spacing: -.1px; }
.panel-heading p { margin: 4px 0 0; color: #99a2b1; font-size: 9.5px; }
.select-button { padding: 6px 8px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid #eceff4; border-radius: 5px; background: #fff; color: #68758a; font-size: 9px; }
.select-button svg, .more-button svg { width: 13px; height: 13px; }
.more-button { width: 27px; height: 27px; display: grid; place-items: center; color: #8691a3; border: 0; border-radius: 5px; background: transparent; }
.more-button:hover { background: #f4f6f9; }
.chart-wrap { position: relative; min-width: 0; }
.enrollment-chart { height: 176px; margin-top: 12px; }
.attendance-chart-row { min-height: 175px; display: flex; align-items: center; justify-content: space-around; gap: 14px; padding-top: 3px; }
.doughnut-chart { width: 145px; height: 145px; flex: 0 0 auto; }
.chart-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.chart-center strong { color: #293449; font: 800 18px "Manrope",sans-serif; }
.chart-center span { margin-top: 3px; color: #98a1b0; font-size: 9px; }
.legend-list { display: grid; gap: 11px; min-width: 112px; }
.legend-list span { display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: 7px; color: #7d8798; font-size: 9px; }
.legend-list b { color: #445066; font-weight: 600; }
.legend-dot { width: 7px; height: 7px; border-radius: 50%; }
.dot-blue { background: #4169e1; }.dot-orange { background: #ff9f43; }.dot-purple { background: #9271e8; }.dot-gray { background: #dce1ea; }
.class-chart { height: 171px; margin-top: 13px; }
.gender-content { min-height: 175px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.gender-bars { display: grid; gap: 14px; }
.gender-row { display: grid; grid-template-columns: 45px minmax(40px,1fr) 28px; gap: 9px; align-items: center; color: #7b8698; font-size: 9px; }
.gender-row b { color: #536076; text-align: right; font-size: 9px; }
.gender-track { height: 6px; overflow: hidden; border-radius: 8px; background: #f0f2f6; }
.gender-track i { height: 100%; display: block; border-radius: inherit; }
.girl-fill { width: 52%; background: #9474e5; }.boy-fill { width: 46%; background: #5385e7; }.other-fill { width: 12%; background: #45b89a; }
.gender-total { display: flex; align-items: center; gap: 9px; padding-top: 12px; border-top: 1px solid #f0f2f6; }
.gender-total strong { display: block; color: #303b50; font: 700 13px "Manrope",sans-serif; }
.gender-total small { display: block; margin-top: 2px; color: #9aa3b2; font-size: 9px; }
.demo-chip, .sample-tag { padding: 4px 6px; color: #8190ae; background: #f2f5fc; border-radius: 4px; font-size: 8px; font-weight: 600; }
.demo-chip { margin-left: auto; }
.lower-grid, .bottom-grid { display: grid; grid-template-columns: 1.18fr 1fr; gap: 13px; margin-bottom: 13px; }
.activity-list { margin-top: 13px; }
.activity-item { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid #f1f3f7; }
.activity-item:last-child { border-bottom: 0; padding-bottom: 1px; }
.activity-icon { width: 29px; height: 29px; border-radius: 7px; }
.activity-icon svg { width: 14px; height: 14px; }
.activity-item > div { min-width: 0; }
.activity-item strong { display: block; color: #414d62; font-size: 10px; font-weight: 600; }
.activity-item p { margin: 3px 0; color: #8993a3; font-size: 9px; line-height: 1.4; }
.activity-item small { color: #a6aebc; font-size: 8px; }
.quick-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 14px; }
.quick-action { min-height: 75px; position: relative; padding: 9px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 6px; border: 1px solid #eff1f5; border-radius: 7px; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.quick-action:hover { transform: translateY(-1px); border-color: #dce4f7; background: #fbfcff; }
.quick-icon { width: 27px; height: 27px; border-radius: 6px; }
.quick-icon svg { width: 14px; height: 14px; }
.quick-action strong { color: #586479; font-size: 9px; font-weight: 600; line-height: 1.3; }
.quick-arrow { position: absolute; top: 8px; right: 8px; width: 12px; height: 12px; color: #aeb6c4; }
.text-link { display: inline-flex; align-items: center; gap: 5px; color: #5875d1; font-size: 9px; font-weight: 600; white-space: nowrap; }
.text-link:hover { color: var(--blue-dark); }
.text-link svg { width: 12px; height: 12px; }
.event-list { margin-top: 9px; }
.event-item { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-bottom: 1px solid #f1f3f7; }
.event-item:last-child { border-bottom: 0; }
.date-tile { width: 34px; height: 38px; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 0 0 auto; border-radius: 6px; color: #4c6ede; background: #edf1ff; }
.date-tile b { font: 700 14px "Manrope",sans-serif; line-height: 1.05; }
.date-tile span { margin-top: 2px; font-size: 7px; font-weight: 700; letter-spacing: .5px; }
.date-tile.lavender { color: #8a6ddd; background: #f2edff; }.date-tile.mint { color: #2c9b76; background: #eaf8f2; }
.event-copy { display: grid; gap: 3px; min-width: 0; flex: 1; }
.event-copy strong { overflow: hidden; color: #4a566b; font-size: 9.5px; text-overflow: ellipsis; white-space: nowrap; }
.event-copy span { color: #98a1b0; font-size: 8.5px; }
.event-kind { padding: 4px 6px; border-radius: 4px; font-size: 7px; font-weight: 600; white-space: nowrap; }
.exam-kind { color: #bc7c30; background: #fff4e5; }.event-kind-label { color: #6074b5; background: #f0f3ff; }
.live-status { display: inline-flex; align-items: center; gap: 5px; color: #8290a4; font-size: 9px; }
.live-status i { width: 6px; height: 6px; border-radius: 50%; background: #46b98c; }
.attendance-summary { display: flex; align-items: flex-end; justify-content: space-between; margin: 24px 2px 10px; }
.summary-number strong { display: block; color: #293449; font: 800 23px "Manrope",sans-serif; letter-spacing: -.5px; }
.summary-number span { display: block; margin-top: 3px; color: #98a1b0; font-size: 9px; }
.summary-percent { color: #2ea77b; font: 700 14px "Manrope",sans-serif; }
.progress-track { height: 7px; overflow: hidden; border-radius: 9px; background: #eff2f7; }
.progress-track span { display: block; height: 100%; width: 94.6%; border-radius: inherit; background: linear-gradient(90deg,#5278e6,#62b99a); }
.approval-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 11px; color: #929cad; font-size: 8.5px; }
.approval-footer a { color: #5875d1; font-weight: 600; white-space: nowrap; }
.recently-admitted { padding-bottom: 9px; margin-bottom: 15px; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { padding: 11px 9px 9px; color: #929bad; border-bottom: 1px solid #eef0f4; font-size: 8.5px; font-weight: 600; white-space: nowrap; }
td { padding: 10px 9px; color: #647086; border-bottom: 1px solid #f2f4f7; font-size: 9px; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
.person-cell { display: inline-flex; align-items: center; gap: 8px; color: #475368; }
.person-cell > span:last-child { display: grid; gap: 3px; }
.person-cell strong { color: #4b576c; font-size: 9px; font-weight: 600; }
.person-cell small { color: #9ca5b3; font-size: 8px; }
.avatar-student { width: 28px; height: 28px; color: #556fb8; background: #edf1ff; font-size: 9px; }
.status-badge { display: inline-flex; align-items: center; padding: 4px 7px; border-radius: 12px; font-size: 8px; font-weight: 600; }
.status-active { color: #268b67; background: #eaf7f0; }.status-inactive { color: #838c9c; background: #f0f2f5; }.status-graduated { color: #6472b8; background: #eff0ff; }
.empty-inline, .empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-inline { padding: 21px 10px 13px; }
.empty-icon { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 12px; color: #6e88df; background: #edf1ff; }
.empty-icon svg { width: 20px; }
.empty-inline strong { margin-top: 9px; color: #475368; font-size: 11px; }
.empty-inline p { margin: 5px 0 11px; color: #98a2b2; font-size: 9px; }
.page-footer { display: flex; justify-content: space-between; gap: 10px; padding: 9px 1px 0; color: #a4acb9; font-size: 8.5px; }
.messages { display: grid; gap: 7px; margin-bottom: 12px; }
.message { display: flex; align-items: center; gap: 8px; padding: 10px 12px; color: #288b67; border: 1px solid #d8f0e5; border-radius: 6px; background: #effaf5; font-size: 10px; }
.message svg { width: 15px; }
.page-heading-row { margin-bottom: 19px; }
.directory-panel { padding: 0; overflow: visible; }
.filter-form { padding: 13px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid #f0f2f5; }
.directory-search { height: 34px; min-width: 225px; flex: 1 1 225px; display: flex; align-items: center; gap: 7px; padding: 0 9px; border: 1px solid #e9edf3; border-radius: 6px; background: #fbfcfd; }
.directory-search svg { width: 14px; color: #99a3b2; flex: 0 0 auto; }
.directory-search input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 10px; }
.directory-search input::placeholder { color: #a3acba; }
.filter-form select { height: 34px; min-width: 105px; padding: 0 8px; border: 1px solid #e9edf3; border-radius: 6px; outline: none; color: #667287; background: #fff; font-size: 9px; }
.filter-form select:focus, .form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: #9aaff5; box-shadow: 0 0 0 3px #4169e115; }
.filter-button { min-height: 34px; }
.directory-meta { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px 1px; color: #8a94a5; font-size: 9px; }
.directory-meta strong { color: #475368; }
.reset-link { color: #627bd1; font-weight: 600; }
.student-table { min-width: 950px; }
.student-table td { padding-top: 11px; padding-bottom: 11px; }
.row-menu { position: relative; }
.row-menu summary { width: 27px; height: 27px; display: grid; place-items: center; list-style: none; border-radius: 5px; color: #8490a2; cursor: pointer; }
.row-menu summary::-webkit-details-marker { display: none; }.row-menu summary:hover { background: #f3f5f9; }
.row-menu summary svg { width: 16px; }
.row-dropdown { top: 26px; min-width: 145px; }
.row-dropdown-floating { position: fixed; z-index: 1200; right: auto; min-width: min(145px, calc(100vw - 16px)); max-width: calc(100vw - 16px); max-height: calc(100vh - 16px); overflow-y: auto; overscroll-behavior: contain; }
.row-dropdown form { margin: 0; }
.row-dropdown button { cursor: pointer; }
.pagination { min-height: 48px; padding: 8px 14px; display: flex; align-items: center; justify-content: flex-end; gap: 14px; border-top: 1px solid #f0f2f5; color: #929bad; font-size: 9px; }
.pagination a, .pagination .disabled { display: inline-flex; align-items: center; gap: 5px; }
.pagination a { color: #5a6fbd; font-weight: 600; }.pagination .disabled { color: #b8bfca; }
.pagination svg { width: 13px; }
.empty-state { min-height: 300px; padding: 28px 20px; }
.empty-state h2 { margin: 14px 0 6px; color: #38455b; font: 700 15px "Manrope",sans-serif; }
.empty-state p { max-width: 370px; margin: 0 0 15px; color: #939dad; font-size: 10px; line-height: 1.6; }
.student-edit-form { max-width: 930px; }
.form-panel { padding: 18px; margin-bottom: 12px; }
.form-section-heading { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 15px; border-bottom: 1px solid #f0f2f6; }
.form-section-icon { width: 33px; height: 33px; }
.form-section-icon svg { width: 16px; }
.form-section-heading h2 { margin: 0; color: #344057; font: 700 12px "Manrope",sans-serif; }
.form-section-heading p { margin: 3px 0 0; color: #98a1b0; font-size: 9px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 17px; }
.form-field { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1/-1; }
.form-field label { color: #566277; font-size: 9.5px; font-weight: 600; }
.form-field-label { color: #566277; font-size: 9.5px; font-weight: 600; }
.portal-access-field { display: grid; grid-template-columns: auto auto 1fr; align-items: center; justify-content: start; gap: 7px 9px; min-height: 36px; }
.portal-access-field > input[type="hidden"] { display: none; }
.portal-switch { position: relative; width: 32px; height: 18px; flex: 0 0 32px; padding: 0; border: 0; border-radius: 999px; background: #cbd2de; cursor: pointer; transition: background .18s ease; }
.portal-switch[aria-checked="true"] { background: #4169e1; }
.portal-switch:focus-visible { outline: 3px solid #4169e133; outline-offset: 2px; }
.portal-switch-thumb { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #15213a33; transition: transform .18s ease; }
.portal-switch[aria-checked="true"] .portal-switch-thumb { transform: translateX(14px); }
.portal-toggle-status { color: #667287; font-size: 9px; font-weight: 600; }
.parent-photo-field { align-content: start; }
.parent-photo-preview { width: 52px; height: 52px; overflow: hidden; border: 1px solid #e7ebf1; border-radius: 8px; background: #f5f7fb; }
.parent-photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.parent-photo-preview img[hidden] { display: none; }
.form-field input[type="file"] { min-height: 36px; padding: 6px; color: #68758a; font-size: 9px; }
.student-account-fields { display: grid; gap: 5px; }
.inline-checkbox { display: inline-flex; align-items: center; gap: 7px; color: #566277; font-size: 9.5px; font-weight: 600; }
.form-field .inline-checkbox input { width: 14px; min-height: 14px; padding: 0; margin: 0; accent-color: #4169e1; }
.required-mark { margin-left: 3px; color: #dc6472; }
.form-field input, .form-field textarea, .form-field select { width: 100%; min-height: 36px; padding: 8px 10px; border: 1px solid #e7ebf1; border-radius: 5px; outline: 0; color: #455168; background: #fff; font-size: 10px; }
.subject-picker { position: relative; width: 100%; min-width: 0; }
.subject-picker-native { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.subject-picker-trigger { width: 100%; min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border: 1px solid #e7ebf1; border-radius: 5px; color: #455168; background: #fff; text-align: left; font-size: 10px; transition: border-color .16s ease, box-shadow .16s ease; }
.subject-picker-trigger:hover, .subject-picker-trigger[aria-expanded="true"] { border-color: #9aaff5; }
.subject-picker-trigger:focus-visible { outline: 0; border-color: #7893ed; box-shadow: 0 0 0 3px #4169e115; }
.subject-picker-trigger:not(.has-value) .subject-picker-value { color: #a9b0bc; }
.subject-picker-chevron { width: 7px; height: 7px; margin: -4px 2px 0 0; border-right: 1.5px solid #7e8ba0; border-bottom: 1.5px solid #7e8ba0; transform: rotate(45deg); }
.subject-picker-menu { position: fixed; z-index: 1200; display: flex; flex-direction: column; min-width: 240px; padding: 7px; overflow: hidden; border: 1px solid #e4e9f1; border-radius: 9px; background: #fff; box-shadow: 0 12px 35px #17234024; }
.subject-picker-menu[hidden] { display: none; }
.subject-picker-search { position: sticky; z-index: 1; top: 0; display: block; padding: 2px 2px 7px; background: #fff; }
.subject-picker-search input { width: 100%; min-height: 36px; padding: 8px 10px; border: 1px solid #e7ebf1; border-radius: 6px; outline: 0; color: #455168; background: #fff; font-size: 11px; }
.subject-picker-search input:focus { border-color: #9aaff5; box-shadow: 0 0 0 3px #4169e115; }
.subject-picker-results { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.subject-picker-option { width: 100%; min-height: 34px; display: block; padding: 8px 10px; border: 0; border-radius: 5px; color: #455168; background: #fff; text-align: left; font-size: 10px; }
.subject-picker-option:hover, .subject-picker-option:focus-visible { outline: 0; color: #3156cc; background: #f1f5ff; }
.subject-picker-option[aria-selected="true"] { color: #3156cc; background: #eef3ff; font-weight: 650; }
.subject-picker-other { margin-top: 5px; border-top: 1px solid #edf0f5; border-radius: 0 0 5px 5px; color: #3156cc; font-weight: 650; }
.subject-picker-empty { padding: 11px 10px; margin: 0; color: #8b95a8; font-size: 10px; }
.subject-picker-custom { display: flex; gap: 6px; padding: 8px 2px 2px; border-top: 1px solid #edf0f5; }
.subject-picker-custom[hidden] { display: none; }
.subject-picker-custom input { flex: 1; width: 100%; min-width: 0; min-height: 34px; padding: 7px 9px; border: 1px solid #e7ebf1; border-radius: 5px; outline: 0; color: #455168; font-size: 10px; }
.subject-picker-custom input:focus { border-color: #9aaff5; }
.subject-picker-custom-action { flex: 0 0 auto; padding: 0 9px; border: 0; border-radius: 5px; color: #fff; background: #4169e1; font-size: 9px; font-weight: 650; }
.subject-picker-invalid { border-color: #d65b69; box-shadow: 0 0 0 3px #d65b6918; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #a9b0bc; }
.form-field textarea { min-height: 75px; resize: vertical; }
.field-help { color: #98a1af; font-size: 8px; }
.field-error, .form-errors { color: #be4d5b; font-size: 9px; }
.form-errors { padding: 10px 12px; margin-bottom: 12px; border: 1px solid #f3d9dc; border-radius: 5px; background: #fff7f7; }
.form-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 1px 0 5px; }
.feature-placeholder { min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 38px 20px; }
.feature-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; color: #6080e2; background: #edf1ff; }
.feature-icon svg { width: 25px; height: 25px; }
.coming-soon { padding: 5px 8px; margin-top: 14px; color: #7385b8; border-radius: 4px; background: #f1f4ff; font-size: 8px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }
.feature-placeholder h2 { margin: 10px 0 6px; color: #344057; font: 700 16px "Manrope",sans-serif; }
.feature-placeholder p { max-width: 430px; margin: 0 0 15px; color: #8d97a7; font-size: 10px; line-height: 1.7; }
.profile-card { padding: 20px; }
.profile-hero { display: flex; align-items: center; gap: 12px; padding-bottom: 17px; border-bottom: 1px solid #f0f2f6; }
.profile-avatar { width: 54px; height: 54px; color: #536fb8; background: #edf1ff; font-size: 19px; }
.profile-photo { display: block; flex: 0 0 54px; border-radius: 14px; object-fit: cover; }
.guardian-profile-card { margin-top: 14px; }
.guardian-profile-hero { padding-bottom: 14px; }
.guardian-profile-hero h2 { margin: 0 0 4px; color: #334057; font: 700 14px "Manrope",sans-serif; }
.profile-hero h2 { margin: 0 0 4px; color: #334057; font: 700 16px "Manrope",sans-serif; }
.profile-hero div { flex: 1; }.profile-hero div span { color: #8b95a6; font-size: 10px; }
.profile-details { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 19px; padding-top: 19px; }
.profile-details > div { display: grid; gap: 5px; }
.profile-details small { color: #98a1b0; font-size: 9px; }
.profile-details strong { color: #4a566a; font-size: 10px; font-weight: 600; overflow-wrap: anywhere; }
.profile-wide { grid-column: 1/-1; }
.sidebar-scrim { display: none; }
body.sidebar-collapsed .sidebar { width: 70px; }
body.sidebar-collapsed .main-area { margin-left: 70px; }
body.sidebar-collapsed .brand { justify-content: center; padding: 16px 8px; }
body.sidebar-collapsed .brand-copy, body.sidebar-collapsed .brand .sidebar-collapse, body.sidebar-collapsed .nav-caption, body.sidebar-collapsed .nav-link span, body.sidebar-collapsed .sidebar-bottom { display: none; }
body.sidebar-collapsed .side-nav { padding-inline: 12px; }
body.sidebar-collapsed .nav-link { justify-content: center; padding: 0; }
body.sidebar-collapsed .nav-link svg { width: 18px; height: 18px; }
@media (min-width: 761px) { body.sidebar-collapsed .nav-link { position: relative; } body.sidebar-collapsed .nav-link:hover::after { content: attr(aria-label); } }
@media (max-width: 1190px) {
    .stats-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .topbar { padding-inline: 22px; }.page-content { padding-inline: 22px; }
    .global-search { width: 175px; }
    .profile-label { display: none; }
    .sidebar { width: 228px; }.main-area { margin-left: 228px; }
}
@media (max-width: 900px) {
    .topbar { padding-inline: 16px; }.page-content { padding: 21px 16px 14px; }
    .analytics-grid { grid-template-columns: 1fr 1fr; }
    .lower-grid, .bottom-grid { grid-template-columns: 1fr 1fr; }
    .global-search { width: 155px; }.global-search kbd { display: none; }
    .session-pill { padding: 7px; }
}
@media (max-width: 760px) {
    .sidebar { width: 264px; transform: translateX(-100%); box-shadow: 15px 0 36px #101b3530; }
    .main-area, body.sidebar-collapsed .main-area { margin-left: 0; }
    body.drawer-open .sidebar { transform: translateX(0); }
    body.drawer-open .sidebar-scrim { position: fixed; z-index: 19; inset: 0; display: block; background: #10182b70; }
    .mobile-menu { display: inline-grid; }.desktop-menu { display: none; }
    .topbar { height: 58px; gap: 8px; }.topbar-left, .topbar-right { gap: 8px; }
    .breadcrumbs { gap: 5px; font-size: 10px; }
    .global-search { width: min(35vw,170px); }.global-search input { font-size: 9px; }
    .session-pill { display: none; }
    .welcome-row, .page-heading-row { align-items: flex-start; flex-direction: column; gap: 13px; }
    .welcome-actions { width: 100%; }.welcome-actions .button { flex: 1; }
    .page-heading-row > .button { align-self: flex-start; }
    .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
    .analytics-grid, .lower-grid, .bottom-grid { grid-template-columns: 1fr; }
    .enrollment-chart { height: 190px; }
    .attendance-chart-row { justify-content: center; gap: 35px; }
    .class-chart { height: 190px; }
    .quick-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .directory-panel { overflow: hidden; }.filter-form { align-items: stretch; }
    .directory-search { flex-basis: 100%; }
    .filter-form select { flex: 1 1 28%; min-width: 0; }
    .filter-button { flex: 1 1 auto; }
    .profile-details { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 480px) {
    .topbar { padding-inline: 10px; }.topbar-right { gap: 6px; }
    .global-search { width: 34px; padding: 0; justify-content: center; border-color: transparent; background: transparent; }
    .global-search:focus-within { width: 145px; padding: 0 7px; border-color: #e9edf3; background: #fafbfc; }
    .global-search input { width: 0; }.global-search:focus-within input { width: 100%; }
    .global-search kbd, .profile-label, .profile-menu summary > svg { display: none; }
    .breadcrumbs span { max-width: 110px; overflow: hidden; text-overflow: ellipsis; }
    .page-content { padding: 18px 11px 12px; }
    .welcome-row h1, .page-heading-row h1 { font-size: 20px; }
    .stat-card { padding: 11px 10px; }.stat-value { font-size: 19px; }.stat-label { font-size: 9px; white-space: normal; min-height: 22px; }
    .stat-change { font-size: 7px; }.stats-grid { gap: 7px; }
    .panel { padding: 13px 12px; }
    .quick-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .quick-action { min-height: 69px; }
    .attendance-chart-row { gap: 15px; }.doughnut-chart { width: 130px; height: 130px; }.legend-list { min-width: 100px; }
    .form-grid { grid-template-columns: 1fr; gap: 12px; }.field-full { grid-column: auto; }
    .form-panel { padding: 14px 12px; }
    .profile-card { padding: 14px 12px; }.profile-hero { flex-wrap: wrap; }.profile-hero .status-badge { margin-left: 66px; margin-top: -6px; }
    .profile-details { gap: 15px 10px; }
    .page-footer { font-size: 7.5px; }
}
.row-menu-note { display: block; padding: 8px 9px; color: #9aa3b1; font-size: 9px; }
.form-note { display: flex; align-items: flex-start; gap: 7px; color: #7e8ba0; font-size: 9px; line-height: 1.5; }
.form-note svg { width: 14px; flex: 0 0 auto; color: #5681c8; }
.credential-result { width: min(100%, 620px); margin: 48px auto; }
.credential-success-icon { width: 45px; height: 45px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 13px; color: #318b69; background: #eaf7f0; }
.credential-success-icon svg { width: 23px; }
.credential-result h1 { margin: 8px 0; color: #222d41; font: 800 24px "Manrope",sans-serif; letter-spacing: -.7px; }
.credential-result > p { max-width: 530px; margin: 0 0 18px; color: #838ea0; font-size: 11px; line-height: 1.7; }
.credential-card { display: grid; gap: 15px; padding: 17px; }
.credential-card > div { display: grid; gap: 6px; }
.credential-card small { color: #8993a4; font-size: 9px; }
.credential-card strong { color: #344057; font-size: 12px; overflow-wrap: anywhere; }
.credential-password { grid-template-columns: 1fr auto; align-items: center; padding-top: 13px; border-top: 1px solid #f0f2f6; }
.credential-password small { grid-column: 1/-1; }
.credential-warning { display: flex; gap: 8px; padding: 11px; margin: 12px 0 18px; color: #8d7440; border: 1px solid #f1e7c9; border-radius: 6px; background: #fffaf0; font-size: 9px; line-height: 1.5; }
.credential-warning svg { width: 14px; flex: 0 0 auto; }
.directory-filters, .form-grid { align-items: end; }
.directory-filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.directory-filters .form-field { min-width: 150px; flex: 1 1 160px; }
.teacher-student-filters { align-items: end; }
.teacher-student-search { flex: 1.5 1 220px !important; }
.teacher-student-filter-actions { display: flex; flex: none; gap: 7px; }
.attendance-admin-filters { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)) auto; align-items: end; }
.attendance-admin-filters .form-field { min-width: 0; }
.attendance-admin-filters .button { min-height: 36px; }
.attendance-summary-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.attendance-admin-filters select:disabled { color: #9aa3b1; background: #f5f6f8; cursor: not-allowed; }
.attendance-admin-filters .field-error { color: #be4d5b; }
@media (max-width: 760px) {
    .attendance-admin-filters { grid-template-columns: 1fr 1fr; }
    .attendance-admin-filters .button { width: 100%; }
}
@media (max-width: 480px) {
    .attendance-admin-filters { grid-template-columns: 1fr; }
    .attendance-summary-grid { grid-template-columns: 1fr 1fr; }
}
.attendance-history-filters { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)) auto; align-items: start; gap: 12px; }
.attendance-history-filters .form-field { min-width: 0; }
.attendance-history-filters .field-help:empty { display: none; }
.attendance-history-filters .form-field input,
.attendance-history-filters .form-field select { min-width: 0; width: 100%; height: 36px; }
.attendance-history-filters .button { min-height: 36px; margin-top: 22px; align-self: start; white-space: nowrap; }
.attendance-history-filters option[hidden] { display: none; }
.student-picker { position: relative; }
.student-picker-trigger { width: 100%; min-height: 36px; padding: 0 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; overflow: hidden; color: #455168; border: 1px solid #e7ebf1; border-radius: 5px; background: #fff; font-size: 10px; text-align: left; }
.student-picker-trigger:hover, .student-picker-trigger[aria-expanded="true"] { border-color: #b8c7f7; }
.student-picker-trigger:disabled { color: #9aa3b1; background: #f5f6f8; cursor: not-allowed; }
.student-picker-trigger:disabled:hover { border-color: #e7ebf1; }
.student-picker-trigger span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.student-picker-trigger svg { width: 14px; height: 14px; flex: 0 0 auto; color: #8d97a8; }
.student-picker-panel { position: absolute; z-index: 15; top: calc(100% + 5px); left: 0; width: min(340px, calc(100vw - 40px)); padding: 8px; border: 1px solid #e6eaf1; border-radius: 7px; background: #fff; box-shadow: 0 12px 30px #1827441c; }
.student-picker-panel[hidden], .student-picker-trigger[hidden] { display: none; }
.student-picker-search { height: 34px; padding: 0 9px; display: flex; align-items: center; gap: 7px; border: 1px solid #e7ebf1; border-radius: 5px; background: #fafbfc; }
.student-picker-search svg { width: 14px; height: 14px; flex: 0 0 auto; color: #929cad; }
.form-field .student-picker-search input,
.form-field .student-picker-search input:focus { width: 100%; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; box-shadow: none; background: transparent; color: #455168; font-size: 10px; }
.student-picker-search input::placeholder { color: #9da6b6; }
.student-picker-options { max-height: 220px; overflow-y: auto; margin-top: 5px; }
.student-picker-option { width: 100%; min-height: 34px; padding: 6px 8px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; color: #455168; border: 0; border-radius: 4px; background: #fff; font-size: 10px; text-align: left; cursor: pointer; }
.student-picker-option:hover, .student-picker-option:focus-visible, .student-picker-option[aria-selected="true"] { outline: 0; background: #f2f5ff; color: #3156cc; }
.student-picker-option small { color: #8b95a8; font-size: 9px; }
.student-picker-all { min-height: 30px; border-bottom: 1px solid #edf0f5; border-radius: 0; font-weight: 600; }
.student-picker-empty { padding: 10px 8px; margin: 0; color: #8993a4; font-size: 10px; }
@media (max-width: 1000px) {
    .attendance-history-filters { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 560px) {
    .attendance-history-filters { grid-template-columns: 1fr 1fr; gap: 10px; }
    .attendance-history-filters .form-field { min-width: 0; }
    .attendance-history-filters .button { width: 100%; }
}
@media (max-width: 380px) {
    .attendance-history-filters { grid-template-columns: 1fr; }
}
.exam-stats { grid-template-columns: repeat(4,minmax(0,1fr)); }
.exam-list-panel { overflow: visible; }
.exam-filters { align-items: end; }
.exam-filters .form-field { min-width: 145px; }
.exam-name-link:hover { color: var(--blue); }
.exam-secondary { display: block; margin-top: 4px; color: #8d97a8; font-size: 9px; }
.exam-actions { position: relative; }
.exam-actions > summary { cursor: pointer; list-style: none; }
.exam-actions > summary::-webkit-details-marker { display: none; }
.exam-actions .row-dropdown { min-width: 195px; }
.exam-actions .row-dropdown form { margin: 0; }
.exam-actions .exam-danger-action { color: #b94a55; }
.exam-empty { min-height: 190px; }
.exam-empty .button { margin-top: 8px; }
.status-draft { color: #87651d; background: #fff6df; }
.status-published { color: #24744f; background: #eaf7ef; }
.status-completed { color: #68758a; background: #f0f2f6; }
.status-cancelled { color: #a33e4c; background: #fdecef; }
.exam-form-panel { max-width: 850px; }
.exam-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; align-items: start; }
.exam-form-grid .form-field { min-width: 0; display: grid; gap: 6px; color: #536077; font-size: 10px; font-weight: 600; }
.exam-form-grid .form-field input,
.exam-form-grid .form-field select,
.exam-form-grid .form-field textarea { width: 100%; min-width: 0; min-height: 36px; padding: 8px 10px; color: #455168; border: 1px solid #e5e9f0; border-radius: 5px; background: #fff; font-size: 10.5px; font-weight: 400; }
.exam-form-grid .form-field textarea { min-height: 76px; resize: vertical; }
.exam-form-grid .form-field input:focus,
.exam-form-grid .form-field select:focus,
.exam-form-grid .form-field textarea:focus { outline: 0; border-color: #9eb2f3; box-shadow: 0 0 0 3px #4169e115; }
.exam-form-grid .form-field > span small { color: #98a1b0; font-size: 9px; font-weight: 400; }
.exam-form-grid .field-help { color: #929cad; font-size: 9px; font-weight: 400; }
.exam-scope-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; align-items: start; }
.exam-multi-field { max-width: 390px; }
.exam-multi-field > span { color: #536077; font-size: 10px; font-weight: 600; }
.exam-multi-field > span small { color: #98a1b0; font-size: 9px; font-weight: 400; }
.exam-multi-control { position: relative; min-width: 0; }
.exam-form-grid .exam-multi-field select.exam-scope-native { position: absolute; width: 1px; height: 1px; min-width: 1px; min-height: 1px; padding: 0; margin: -1px; overflow: hidden; border: 0; clip: rect(0,0,0,0); white-space: nowrap; }
.exam-multi-trigger { width: 100%; min-height: 36px; padding: 0 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #455168; border: 1px solid #e5e9f0; border-radius: 5px; background: #fff; font-size: 10px; text-align: left; }
.exam-multi-trigger:hover, .exam-multi-trigger[aria-expanded="true"] { border-color: #b8c7f7; }
.exam-multi-trigger > svg { width: 14px; height: 14px; color: #8d97a8; flex: 0 0 auto; }
.exam-multi-chips { min-height: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.exam-multi-chips:empty { display: none; }
.exam-multi-placeholder { color: #939daf; font-size: 10px; font-weight: 400; }
.exam-multi-chip { max-width: 100%; padding: 4px 6px 4px 8px; display: inline-flex; align-items: center; gap: 5px; color: #3756ad; border: 1px solid #dce5ff; border-radius: 999px; background: #f3f6ff; font-size: 9px; overflow-wrap: anywhere; }
.exam-multi-chip button { width: 14px; height: 14px; padding: 0; display: inline-grid; place-items: center; color: #6f7fae; border: 0; border-radius: 50%; background: transparent; font-size: 13px; line-height: 1; }
.exam-multi-chip button:hover { color: #a8424f; background: #fff; }
.exam-multi-panel { position: absolute; z-index: 20; top: calc(100% + 5px); left: 0; width: min(320px, 100%); max-height: 215px; padding: 7px; overflow: hidden; border: 1px solid #e7ebf1; border-radius: 6px; background: #fff; box-shadow: 0 12px 30px #18243a1c; }
.exam-multi-panel[hidden] { display: none; }
.exam-multi-search { height: 32px; padding: 0 7px; display: flex; align-items: center; gap: 6px; border: 1px solid #e9edf3; border-radius: 5px; background: #fff; }
.exam-multi-search svg { width: 14px; height: 14px; color: #929cad; flex: 0 0 auto; }
.exam-form-grid .exam-multi-field .exam-multi-search input,
.exam-form-grid .exam-multi-field .exam-multi-search input:focus { width: 100%; min-width: 0; height: 100%; min-height: 0; padding: 0; border: 0; border-radius: 0; outline: 0; box-shadow: none; background: transparent; color: #455168; font-size: 10px; }
.exam-multi-options { max-height: 145px; margin-top: 5px; overflow-y: auto; overscroll-behavior: contain; }
.exam-multi-option { min-height: 29px; padding: 5px 7px; display: flex; align-items: center; gap: 6px; color: #455168; border-radius: 4px; font-size: 10px; font-weight: 400; cursor: pointer; }
.exam-multi-option:hover { background: #f3f6ff; }
.exam-form-grid .exam-multi-field .exam-multi-option input { width: 14px; height: 14px; min-height: 14px; flex: 0 0 14px; padding: 0; margin: 0; accent-color: var(--blue); }
.exam-multi-option > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.exam-multi-option[hidden] { display: none; }
.exam-multi-empty { padding: 10px 8px; margin: 0; color: #8993a4; font-size: 10px; }
.exam-multi-empty[hidden] { display: none; }
.exam-form-grid .field-error, .exam-form-errors { color: #b94a55; font-size: 9px; font-weight: 500; }
.exam-form-errors ul { margin: 0; padding-left: 18px; }
.exam-form-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 3px; }
.exam-subject-schedules { display: grid; gap: 12px; min-width: 0; padding: 16px; border: 1px solid #e6eaf1; border-radius: 8px; background: #fbfcfe; }
.exam-schedule-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.exam-schedule-heading h2 { margin: 0 0 4px; color: #23304a; font: 700 13px "Manrope",sans-serif; }
.exam-schedule-heading p { margin: 0; color: #7e899c; font-size: 10px; line-height: 1.5; }
.exam-schedule-heading .button { flex: 0 0 auto; }
.exam-schedule-rows { display: grid; gap: 10px; min-width: 0; }
.exam-schedule-row { min-width: 0; padding: 13px; border: 1px solid #e5e9f0; border-radius: 7px; background: #fff; }
.exam-schedule-row-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; color: #37445d; font-size: 10px; }
.exam-schedule-remove { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px; border: 0; border-radius: 4px; background: transparent; color: #9a5c66; font-size: 9px; cursor: pointer; }
.exam-schedule-remove:hover { background: #fff0f1; color: #a33e4c; }
.exam-schedule-remove svg { width: 13px; height: 13px; }
.exam-schedule-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; align-items: start; }
.exam-schedule-fields .form-field { min-width: 0; display: grid; gap: 5px; color: #536077; font-size: 9px; font-weight: 600; }
.exam-schedule-fields .form-field input,
.exam-schedule-fields .form-field select { width: 100%; min-width: 0; min-height: 34px; padding: 7px 8px; color: #455168; border: 1px solid #e5e9f0; border-radius: 5px; background: #fff; font-size: 10px; font-weight: 400; }
.exam-schedule-fields .form-field > span small { color: #98a1b0; font-size: 8px; font-weight: 400; }
.exam-time-field { min-width: 0; margin: 0; padding: 0; display: grid; align-content: start; gap: 3px; border: 0; }
.exam-time-label { color: #536077; font-size: 12px; font-weight: 500; line-height: 1; }
.exam-time-control { min-width: 0; display: inline-flex; align-items: center; gap: 5px; }
.exam-time-control label { min-width: 0; display: block; flex: 0 0 auto; }
.exam-time-control .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.exam-time-separator { color: #748097; text-align: center; font-size: 12px; font-weight: 400; }
.exam-time-field input[data-time-hidden] { display: none; }
.exam-schedule-fields .exam-time-control select { box-sizing: border-box; display: block; min-width: 0; height: 36px; padding: 0 7px; color: #455168; border: 1px solid #e2e7ef; border-radius: 6px; outline: 0; background: #fff; font-family: inherit; font-size: 12px; font-weight: 400; transition: border-color .16s ease, box-shadow .16s ease; }
.exam-schedule-fields .exam-time-control select[data-time-hour],
.exam-schedule-fields .exam-time-control select[data-time-minute] { width: 48px; }
.exam-schedule-fields .exam-time-control select[data-time-meridiem] { width: 58px; }
.exam-schedule-fields .exam-time-control select:focus { border-color: #9aaff5; box-shadow: 0 0 0 3px #4169e115; }
.exam-schedule-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.exam-saved-schedules { margin-top: 14px; }
.exam-saved-actions { display: flex; align-items: center; gap: 6px; }
.exam-saved-actions .button { width: auto; height: auto; min-height: 28px; padding: 5px 9px; display: inline-flex; place-items: initial; font-size: 9px; }
.exam-saved-actions form { margin: 0; }
.exam-saved-actions .button-danger:hover { color: #a8424f; border-color: #efcdd2; background: #fff8f8; }
.exam-schedule-instructions { grid-column: 1 / -1; }
.exam-schedule-row [hidden] { display: none !important; }
@media (max-width: 700px) {
    .exam-schedule-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 560px) {
    .exam-schedule-heading { align-items: stretch; flex-direction: column; }
    .exam-schedule-heading .button { justify-content: center; }
    .exam-schedule-fields { grid-template-columns: 1fr; }
    .exam-schedule-instructions { grid-column: auto; }
    .exam-time-field { width: 100%; }
}
.exam-summary-panel { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.exam-summary-panel > div { display: grid; align-content: start; gap: 7px; }
.exam-summary-panel > div > span { color: #8993a4; font-size: 9px; }
.exam-summary-panel > div > strong { color: #344057; font-size: 11px; }
.exam-summary-panel .exam-description { grid-column: 1/-1; padding-top: 12px; border-top: 1px solid #f0f2f6; }
.exam-description p { margin: 0; color: #58657a; font-size: 10px; line-height: 1.6; }
.exam-draft-notice { display: flex; align-items: center; gap: 9px; padding: 11px 13px; margin: 0 0 14px; color: #82621e; border: 1px solid #f1e7c9; border-radius: 7px; background: #fffaf0; font-size: 10px; line-height: 1.5; }
.exam-draft-notice svg { width: 15px; flex: 0 0 auto; }
.exam-published-notice { color: #347456; border-color: #dcefe5; background: #f5fbf7; }
.exam-cancelled-notice { color: #9d4652; border-color: #f1dfe2; background: #fff8f8; }
.exam-paper-actions { display: flex; align-items: center; gap: 7px; }
.exam-paper-actions a, .exam-paper-actions button { width: 29px; height: 29px; display: inline-grid; place-items: center; color: #748097; border: 1px solid #edf0f5; border-radius: 5px; background: #fff; }
.exam-paper-actions a:hover, .exam-paper-actions button:hover { color: var(--blue); border-color: #dce4fb; background: #f7f9ff; }
.exam-paper-actions svg { width: 14px; height: 14px; }
.exam-paper-actions form, .exam-detail-actions form { margin: 0; }
.exam-detail-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.button-danger { color: #a8424f; border: 1px solid #f0d9dd; background: #fff; }
.button-danger:hover { background: #fff5f6; }
.guardian-profile-card button.guardian-portal-toggle.button-success,
.guardian-profile-card button.guardian-portal-toggle.button-danger {
    appearance: none;
    -webkit-appearance: none;
    padding: 0 12px;
    border: 1px solid transparent;
    color: #fff;
    font: 600 10.5px "Inter", sans-serif;
}
.guardian-profile-card button.guardian-portal-toggle.button-success { border-color: #16A34A; background-color: #16A34A; }
.guardian-profile-card button.guardian-portal-toggle.button-success:hover,
.guardian-profile-card button.guardian-portal-toggle.button-success:focus,
.guardian-profile-card button.guardian-portal-toggle.button-success:active,
.guardian-profile-card button.guardian-portal-toggle.button-success:disabled { border-color: #16A34A; background-color: #16A34A; color: #FFFFFF; }
.guardian-profile-card button.guardian-portal-toggle.button-danger { border-color: #DC2626; background-color: #DC2626; }
.guardian-profile-card button.guardian-portal-toggle.button-danger:hover,
.guardian-profile-card button.guardian-portal-toggle.button-danger:focus,
.guardian-profile-card button.guardian-portal-toggle.button-danger:active,
.guardian-profile-card button.guardian-portal-toggle.button-danger:disabled { border-color: #DC2626; background-color: #DC2626; color: #FFFFFF; }
.guardian-profile-card button.guardian-portal-toggle:focus-visible { outline: 3px solid rgba(43, 125, 232, .35); outline-offset: 2px; }
.guardian-profile-card button.guardian-portal-toggle:disabled { cursor: wait; transform: none; }
.guardian-portal-feedback { margin: 9px 0 0; }
.guardian-portal-feedback.is-error { color: #b91c1c; }
.portal-exam-filters .form-field { min-width: 180px; }
@media (max-width: 900px) {
    .exam-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .exam-summary-panel { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 560px) {
    .exam-stats { gap: 8px; }
    .exam-form-grid { grid-template-columns: 1fr; gap: 12px; }
    .exam-form-grid .field-full { grid-column: auto; }
    .exam-form-grid .exam-scope-grid { grid-column: 1/-1; grid-template-columns: 1fr; gap: 12px; }
    .exam-multi-field { max-width: none; }
    .exam-summary-panel { grid-template-columns: 1fr 1fr; gap: 13px; }
    .exam-filters { gap: 9px; }
    .exam-filters .form-field { flex-basis: calc(50% - 9px); min-width: 0; }
    .exam-filters .button { width: 100%; }
    .welcome-actions { flex-wrap: wrap; }
}
@media (max-width: 380px) {
    .exam-filters .form-field { flex-basis: 100%; }
    .exam-summary-panel { grid-template-columns: 1fr; }
    .attendance-history-filters .button { margin-top: 0; }
}
.attendance-options { display: flex; gap: 8px; padding: 0; border: 0; margin: 0; }
.section-assignment-picker { position: relative; }
.section-assignment-picker .section-assignment-native { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.section-assignment-toggle { width: 100%; min-height: 36px; display: flex; align-items: center; gap: 7px; padding: 5px 9px; border: 1px solid #e7ebf1; border-radius: 5px; outline: 0; color: #647086; background: #fff; cursor: pointer; text-align: left; font: inherit; }
.section-assignment-toggle:focus-visible { border-color: #9aaff5; box-shadow: 0 0 0 3px #4169e115; }
.section-assignment-placeholder { color: #8993a4; font-size: 10px; }
.section-assignment-chips { display: flex; flex: 1; align-items: center; gap: 4px; min-width: 0; overflow-x: auto; scrollbar-width: thin; }
.section-assignment-chip { flex: 0 0 auto; max-width: 200px; overflow: hidden; padding: 4px 7px; border-radius: 999px; color: #405b9f; background: #edf2ff; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.section-assignment-toggle > svg { width: 14px; height: 14px; flex: 0 0 auto; margin-left: auto; }
.section-assignment-menu { position: absolute; z-index: 15; top: calc(100% + 5px); right: 0; left: 0; max-height: 290px; overflow: auto; padding: 8px; border: 1px solid #e7ebf1; border-radius: 8px; background: #fff; box-shadow: 0 12px 30px #18243a1c; }
.section-assignment-menu[hidden] { display: none; }
.section-assignment-search { position: sticky; z-index: 1; top: 0; display: flex; align-items: center; gap: 7px; padding: 7px; border: 1px solid #e9edf3; border-radius: 6px; background: #fff; }
.section-assignment-search svg { width: 14px; height: 14px; color: #8993a4; }
.form-field .section-assignment-search input { width: 100%; min-height: 24px; padding: 0; border: 0; box-shadow: none; font-size: 10px; }
.section-assignment-options { display: grid; gap: 2px; padding-top: 6px; }
.section-assignment-option { display: flex; align-items: center; gap: 8px; padding: 8px 7px; border-radius: 5px; color: #455168; cursor: pointer; font-size: 10px; }
.section-assignment-option:hover { background: #f5f7fb; }
.form-field .section-assignment-option input { width: 15px; height: 15px; min-height: 15px; flex: 0 0 15px; padding: 0; margin: 0; accent-color: #4169e1; }
.section-assignment-option[hidden] { display: none; }
.section-assignment-empty { padding: 9px 7px; margin: 0; color: #8993a4; font-size: 10px; }
.section-assignment-empty[hidden] { display: none; }
.class-add-panel { padding: 18px; margin-bottom: 16px; }
.class-add-form { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(150px, .7fr) auto; align-items: start; gap: 14px; }
.class-add-form .form-field { min-width: 0; }
.class-add-form .form-field input { height: 36px; min-height: 36px; }
.class-add-form .button { min-height: 36px; margin-top: 17px; }
.field-help { display: block; padding-top: 5px; color: #8993a4; font-size: 10px; }
.field-help[data-section-empty-message][hidden] { display: none; }
.class-list-panel { padding: 4px 18px; }
.class-list-row { display: block; min-height: 58px; padding: 13px 0; border-bottom: 1px solid #edf0f5; }
.class-list-row:last-child { border-bottom: 0; }
.class-list-summary { display: block; min-width: 0; }
.class-list-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.class-list-summary strong { color: #344057; font-size: 13px; }
.class-list-section-label { display: block; padding-top: 7px; color: #707b8e; font-size: 10px; }
.class-list-sections { display: grid; gap: 4px; padding: 3px 0 0 17px; margin: 0; color: #566277; font-size: 11px; list-style: disc; }
.class-list-sections li { padding-left: 1px; }
.class-list-sections .no-sections { color: #8993a4; list-style: none; margin-left: -17px; }
.class-list-edit { flex: 0 0 auto; color: #4169e1; font-size: 11px; }
.class-list-edit summary { cursor: pointer; font-weight: 600; }
.class-edit-content { display: grid; gap: 12px; min-width: min(460px, calc(100vw - 48px)); padding: 14px; margin-top: 8px; border: 1px solid #e9edf3; border-radius: 8px; background: #fff; }
.class-edit-form { display: flex; align-items: end; gap: 10px; }
.class-edit-form .form-field { flex: 1; min-width: 0; }
.class-edit-form .button { flex: 0 0 auto; white-space: nowrap; }
.class-edit-row, .class-section-edit-row { display: flex; align-items: end; gap: 8px; }
.class-edit-row > form:first-child { flex: 1; min-width: 0; }
.class-edit-row > form:last-child, .class-section-edit-row > form:last-child { flex: 0 0 auto; }
.class-edit-row > form:last-child .button, .class-section-edit-row > form:last-child .button { min-height: 36px; }
.class-add-section-form { padding-top: 10px; border-top: 1px solid #edf0f5; }
.class-section-edit-row { padding-top: 9px; border-top: 1px solid #f1f3f7; }
.button-danger { min-height: 34px; padding: 0 10px; border: 1px solid #f0d7d9; border-radius: 6px; color: #a64c55; background: #fff7f7; font-size: 10px; font-weight: 600; }
.button-danger:hover { border-color: #e6bfc2; background: #fff0f1; }
.class-list-empty { padding: 22px 0; color: #707b8e; font-size: 12px; text-align: center; }
@media (max-width: 620px) {
    .class-add-form { grid-template-columns: 1fr; }
    .class-add-form .button { width: 100%; }
    .class-list-heading { align-items: flex-start; }
    .class-edit-content { min-width: min(300px, calc(100vw - 48px)); }
    .class-edit-form { align-items: stretch; flex-direction: column; }
    .class-edit-row, .class-section-edit-row { align-items: stretch; flex-direction: column; }
    .class-edit-row > form:last-child, .class-section-edit-row > form:last-child { align-self: flex-start; }
}
.brand-mark { overflow: hidden; }
.school-profile-form { display: grid; gap: 14px; }
.school-profile-section { padding: 18px; }
.school-profile-section .panel-heading { margin-bottom: 16px; }
.school-logo-field { grid-column: 1/-1; max-width: 310px; }
.school-logo-preview { width: 92px; height: 92px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; overflow: hidden; border: 1px dashed #dbe1eb; border-radius: 12px; color: #8894a8; background: #f8faff; font-size: 9px; }
.school-logo-preview svg { width: 22px; height: 22px; }
.school-logo-preview img { width: 100%; height: 100%; object-fit: cover; }
.school-profile-actions { display: flex; justify-content: flex-end; }
.school-profile-actions .button { min-height: 39px; padding-inline: 17px; }
.parent-school-picker { margin-bottom: 16px; }
.parent-school-picker .directory-filters { margin: 0; }
.parent-school-picker .form-field { min-width: min(100%, 360px); }
.portal-access-cell { display: flex; align-items: center; gap: 9px; }
.portal-access-cell form { display: inline-flex; }
.parent-school-card { max-width: 900px; padding: 22px; }
.parent-school-heading { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid #edf0f5; }
.parent-school-logo { width: 70px; height: 70px; display: grid; place-items: center; flex: 0 0 70px; overflow: hidden; border-radius: 14px; color: #4169e1; background: #f1f5ff; }
.parent-school-logo img { width: 100%; height: 100%; object-fit: cover; }
.parent-school-logo svg { width: 29px; height: 29px; }
.parent-school-heading h2 { margin: 4px 0; color: #263248; font: 800 20px "Manrope",sans-serif; }
.parent-school-heading p { margin: 0; color: #7e899b; font-size: 11px; }
.parent-school-about { padding: 18px 0; }
.parent-school-about h3, .parent-school-social h3 { margin: 0 0 8px; color: #344057; font-size: 12px; }
.parent-school-about p { margin: 0; color: #647086; font-size: 11px; line-height: 1.8; }
.parent-school-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; padding: 18px 0; }
.parent-school-details > div { min-width: 0; }
.parent-school-details span { color: #8993a4; font-size: 9px; font-weight: 600; text-transform: uppercase; }
.parent-school-details p { margin: 5px 0 0; color: #455168; font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.parent-school-details a, .parent-school-social a { color: #4169e1; }
.parent-school-social { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; padding-top: 16px; border-top: 1px solid #edf0f5; }
.parent-school-social h3 { flex: 0 0 100%; margin: 0; }
.parent-school-social a { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 600; }
.parent-school-social svg { width: 14px; height: 14px; }
@media (max-width: 620px) {
    .school-profile-section { padding: 15px 12px; }
    .school-profile-actions .button { width: 100%; }
    .parent-school-card { padding: 16px 13px; }
    .parent-school-heading h2 { font-size: 17px; }
    .parent-school-details { grid-template-columns: 1fr; gap: 14px; }
}
.academic-sessions-heading { align-items: flex-end; }
.active-session-summary { display: flex; align-items: center; gap: 15px; padding: 18px; margin-bottom: 16px; }
.active-session-icon { width: 43px; height: 43px; display: grid; place-items: center; flex: 0 0 43px; border-radius: 12px; color: #4169e1; background: #edf2ff; }
.active-session-icon svg { width: 20px; height: 20px; }
.active-session-copy h2 { margin: 4px 0; color: #263248; font: 800 17px "Manrope",sans-serif; }
.active-session-copy p { margin: 0; color: #7e899b; font-size: 10px; }
.academic-session-form-panel, .academic-session-table-panel { margin-bottom: 16px; }
.academic-session-form-panel { padding: 18px; }
.academic-session-form-panel .panel-heading, .academic-session-table-panel .panel-heading { margin-bottom: 16px; }
.academic-session-fields { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: end; }
.session-active-checkbox { grid-column: 1/-1; }
.session-checkbox-label { display: inline-flex; align-items: center; gap: 9px; color: #455168; font-size: 10px; font-weight: 600; cursor: pointer; }
.session-checkbox-label input { width: 16px; height: 16px; min-height: 16px; accent-color: #4169e1; }
.academic-session-form-actions { display: flex; gap: 9px; margin-top: 17px; }
.academic-session-form-actions .button { min-height: 38px; padding-inline: 14px; }
.academic-session-table-panel { padding: 18px; }
.academic-session-table th, .academic-session-table td { white-space: nowrap; }
.academic-session-table td:first-child strong { color: #344057; font-size: 11px; }
.session-status { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 999px; font-size: 9px; font-weight: 700; }
.session-status-active { color: #26734f; background: #eaf7ef; }
.session-status-upcoming { color: #93691b; background: #fff6df; }
.session-status-completed { color: #697488; background: #f0f2f6; }
.session-row-actions { display: flex; align-items: center; gap: 7px; }
.session-row-actions form { margin: 0; }
.session-action { min-height: 30px !important; padding: 0 9px !important; font-size: 9px !important; }
.session-action svg { width: 12px !important; height: 12px !important; }
.session-table-empty { padding: 28px !important; color: #7e899b; text-align: center; }
.results-heading > div { min-width: 0; }
.results-heading > .button { flex: 0 0 auto; }
.results-current-session { display: inline-flex; align-items: center; gap: 5px; padding-top: 8px; color: #68758a; font-size: 10px; }
.results-current-session svg { width: 13px; height: 13px; color: #4169e1; }
.results-summary-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; margin: 0 0 16px; }
.results-summary-card { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 15px; border: 1px solid #e9edf3; border-radius: 9px; background: #fff; box-shadow: 0 3px 12px #17243b08; }
.results-summary-icon { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 8px; }
.results-summary-icon svg { width: 17px; height: 17px; }
.results-summary-icon.blue { color: #4169e1; background: #edf2ff; }
.results-summary-icon.violet { color: #7658c8; background: #f2efff; }
.results-summary-icon.green { color: #27845b; background: #eaf7ef; }
.results-summary-card > div { min-width: 0; display: grid; gap: 3px; }
.results-summary-card small { color: #7d889a; font-size: 9px; }
.results-summary-card strong { color: #2d3950; font-size: 20px; line-height: 1.15; }
.results-summary-card > div > span { color: #99a2b0; font-size: 9px; }
.results-filter-panel, .results-table-panel { margin-bottom: 15px; }
.results-filters { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: end; gap: 12px; }
.results-filters .form-field { min-width: 0; display: grid; gap: 5px; color: #536077; font-size: 10px; font-weight: 600; }
.results-filters select { width: 100%; min-width: 0; height: 35px; padding: 0 9px; color: #455168; border: 1px solid #e5e9f0; border-radius: 5px; background: #fff; font-size: 10px; font-weight: 400; }
.results-filters select:focus { outline: 0; border-color: #9eb2f3; box-shadow: 0 0 0 3px #4169e115; }
.results-filter-actions { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: 7px; padding-top: 2px; }
.results-performance-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; margin-bottom: 15px; }
.results-performance-panel { min-width: 0; padding: 15px; }
.results-breakdown-list { display: grid; }
.results-breakdown-row { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #eff1f5; }
.results-breakdown-row:last-child { border-bottom: 0; }
.results-breakdown-row > span { min-width: 0; display: grid; gap: 3px; }
.results-breakdown-row > span strong { overflow: hidden; color: #39465d; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.results-breakdown-row small { color: #929cad; font-size: 9px; }
.results-breakdown-row > strong { flex: 0 0 auto; color: #30466e; font-size: 11px; }
.results-empty-inline { margin: 0; color: #8993a4; font-size: 10px; }
.results-table-panel { padding: 0 14px 12px; }
.results-table { min-width: 1020px; }
.results-table td small { display: block; padding-top: 3px; color: #929cad; font-size: 9px; }
.results-student-link { color: #365ab9; font-weight: 600; }
.results-student-link:hover { text-decoration: underline; }
.results-status { display: inline-flex; padding: 4px 7px; border-radius: 999px; font-size: 9px; font-weight: 600; white-space: nowrap; }
.results-status.published { color: #24744f; background: #eaf7ef; }
.results-status.draft { color: #87651d; background: #fff6df; }
.results-empty-state { min-height: 155px; display: grid; place-content: center; justify-items: center; gap: 7px; padding: 20px; color: #8993a4; text-align: center; }
.results-empty-state .empty-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #7185c9; background: #f0f3ff; }
.results-empty-state .empty-icon svg { width: 16px; height: 16px; }
.results-empty-state strong { color: #455168; font-size: 11px; }
.results-empty-state p { margin: 0; font-size: 10px; }
.results-pagination { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 2px 0; color: #8993a4; font-size: 10px; }
.results-pagination > div { display: flex; gap: 6px; }
.result-detail-heading { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; margin-bottom: 15px; }
.result-detail-heading > div { display: grid; gap: 5px; }
.result-detail-heading span, .result-detail-heading small { color: #8993a4; font-size: 9px; }
.result-detail-heading strong { color: #344057; font-size: 14px; }
.teacher-marks-panel { margin-bottom: 15px; }
.teacher-marks-form { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)) auto; align-items: end; gap: 10px; }
.teacher-marks-form .form-field { min-width: 0; display: grid; gap: 5px; color: #536077; font-size: 10px; font-weight: 600; }
.teacher-marks-form select, .teacher-marks-form input { width: 100%; min-width: 0; height: 36px; padding: 0 9px; color: #455168; border: 1px solid #e5e9f0; border-radius: 5px; background: #fff; font-size: 10px; font-weight: 400; }
@media (max-width: 900px) {
    .results-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .results-summary-grid { gap: 9px; }
    .results-summary-card { padding: 12px; }
    .teacher-marks-form { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 560px) {
    .results-heading { align-items: flex-start; }
    .results-heading > .button { width: 100%; }
    .results-summary-grid { grid-template-columns: 1fr; }
    .results-summary-card { padding: 11px 13px; }
    .results-filters, .results-performance-grid, .result-detail-heading { grid-template-columns: 1fr; }
    .results-filter-actions { grid-column: auto; }
    .results-pagination { align-items: flex-start; flex-direction: column; }
    .teacher-marks-form { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .academic-sessions-heading { align-items: flex-start; }
    .academic-sessions-heading > .button { width: 100%; }
    .academic-session-fields { grid-template-columns: 1fr 1fr; }
    .session-active-checkbox { grid-column: 1/-1; }
}
@media (max-width: 480px) {
    .academic-session-form-panel, .academic-session-table-panel { padding: 14px 11px; }
    .academic-session-fields { grid-template-columns: 1fr; }
    .session-active-checkbox { grid-column: auto; }
    .active-session-summary { align-items: flex-start; padding: 14px 12px; }
    .academic-session-form-actions { flex-direction: column; }
    .academic-session-form-actions .button { width: 100%; }
}
.attendance-options label { position: relative; }
.attendance-options input { position: absolute; opacity: 0; }
.attendance-options span { min-height: 36px; display: inline-flex; align-items: center; padding: 0 13px; border: 1px solid #e6eaf1; border-radius: 7px; color: #647086; background: #fff; cursor: pointer; font-size: 11px; font-weight: 600; }
.attendance-options input:checked + span { color: #236a4d; border-color: #9bd6bb; background: #edfaf3; }
.attendance-options label:last-child input:checked + span { color: #a44e52; border-color: #e7b5b8; background: #fff2f2; }
.attendance-options input:focus-visible + span { outline: 3px solid #8da7ff; outline-offset: 2px; }
.attendance-options input:disabled + span { color: #8992a1; border-color: #e2e5ea; background: #f0f1f3; cursor: not-allowed; opacity: .58; }
.button-attendance-saved,
.button-attendance-saved:hover,
.button-attendance-saved:disabled { border: 1px solid #d5d9df; color: #747d89; background: #e5e7eb; box-shadow: none; cursor: not-allowed; opacity: .62; transform: none; }
.button:disabled { cursor: not-allowed; }
.attendance-save-banner { display: flex; align-items: center; gap: 14px; padding: 16px 18px; margin: 0 0 18px; border: 1px solid #b9e2c8; border-radius: 9px; background: #effaf2; color: #245c39; }
.attendance-save-banner-icon { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 50%; color: #19864b; background: #d8f2e0; }
.attendance-save-banner-icon svg { width: 22px; height: 22px; }
.attendance-save-banner-copy { min-width: 0; flex: 1; }
.attendance-save-banner-copy h3 { margin: 0 0 4px; color: #225c39; font: 700 13px "Manrope",sans-serif; }
.attendance-save-banner-copy p { margin: 0 0 4px; color: #426d51; font-size: 10px; line-height: 1.55; }
.attendance-save-banner-copy small { color: #668271; font-size: 9px; }
.attendance-save-banner-action { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex: 0 0 auto; color: #54745e; font-size: 9px; font-weight: 600; }
.attendance-save-banner-action .button { white-space: nowrap; }
.attendance-save-banner-editing { border-color: #d8e2ef; background: #f4f7fb; color: #485b76; }
.attendance-save-banner-editing .attendance-save-banner-icon { color: #526b9a; background: #e4ebf8; }
.attendance-save-banner-editing .attendance-save-banner-copy h3 { color: #374c70; }
.attendance-save-banner-editing .attendance-save-banner-copy p { margin-bottom: 0; color: #62728d; }
.attendance-inline-note { color: #788397; font-size: 10px; }
@media (max-width: 700px) {
    .attendance-save-banner { align-items: flex-start; flex-wrap: wrap; padding: 14px; }
    .attendance-save-banner-copy { flex-basis: calc(100% - 54px); }
    .attendance-save-banner-action { width: 100%; justify-content: space-between; padding-left: 52px; }
}
@media (max-width: 420px) {
    .attendance-save-banner-action { align-items: stretch; flex-direction: column; padding-left: 0; }
    .attendance-save-banner-action .button { width: 100%; }
}
.assignment-card a { margin-top: 6px; color: #4169e1; font-size: 10px; font-weight: 600; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 14px; padding: 16px; color: #707b8e; font-size: 10px; }
.account-heading { margin-bottom: 15px; }
.account-stats-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; margin-bottom: 15px; }
.account-stat-card { min-width: 0; display: flex; align-items: center; gap: 13px; padding: 17px; border: 1px solid #edf0f4; border-radius: 9px; background: #fff; box-shadow: 0 2px 8px #1a2a4505; }
.account-stat-icon { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; }
.account-stat-icon svg { width: 19px; height: 19px; }
.account-stat-card > div { min-width: 0; display: grid; gap: 3px; }
.account-stat-label { color: #778398; font-size: 10px; font-weight: 600; }
.account-stat-card strong { color: #263248; font: 800 24px "Manrope",sans-serif; line-height: 1.1; }
.account-stat-card small { color: #9aa3b1; font-size: 9px; }
.account-directory { padding: 0; overflow: hidden; }
.account-directory-heading { padding: 17px 18px 13px; }
.account-category-tabs { display: flex; align-items: center; gap: 4px; padding: 0 16px; border-bottom: 1px solid #edf0f4; overflow-x: auto; }
.account-category-tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 11px 9px; color: #7a8699; border-bottom: 2px solid transparent; font-size: 10px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.account-category-tabs a:hover, .account-category-tabs a.active { color: #4169e1; }
.account-category-tabs a.active { border-bottom-color: #4169e1; }
.account-category-tabs a span { min-width: 19px; padding: 2px 5px; border-radius: 999px; color: #77849b; background: #f1f3f7; font-size: 8px; text-align: center; }
.account-filters { display: flex; align-items: end; gap: 10px; padding: 14px 18px; }
.account-filters .form-field { display: grid; gap: 5px; color: #59667b; font-size: 9px; font-weight: 600; }
.account-search { flex: 1 1 360px; }
.account-type-filter { flex: 0 0 155px; }
.account-status-filter { flex: 0 0 145px; }
.account-filters input, .account-filters select { width: 100%; height: 35px; padding: 0 9px; border: 1px solid #e4e9f1; border-radius: 6px; color: #39465d; background: #fff; font: 400 10px Inter,sans-serif; }
.account-reset-link { padding: 8px 2px; color: #69758b; font-size: 9px; text-decoration: none; }
.account-result-count { margin: 0; padding: 0 18px 10px; color: #8993a4; font-size: 9px; }
.account-table-wrap { overflow-x: auto; }
.account-table { min-width: 1020px; }
.account-table th { color: #8390a3; font-size: 8px; letter-spacing: .04em; text-transform: uppercase; }
.account-table td { vertical-align: middle; }
.account-person { display: flex; align-items: center; gap: 8px; min-width: 135px; color: #354158; font-size: 10px; }
.account-person strong { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-avatar { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #4467c7; background: #edf2ff; font-size: 10px; font-weight: 700; }
.account-subline { display: block; padding: 3px 0 0 36px; color: #929cad; font-size: 8px; }
.account-username { color: #63718a; font-size: 9px; }
.account-row-menu { position: relative; }
.account-row-menu > summary { width: 28px; height: 28px; display: grid; place-items: center; list-style: none; color: #6e7a8e; border: 1px solid #edf0f4; border-radius: 6px; cursor: pointer; }
.account-row-menu > summary::-webkit-details-marker { display: none; }
.account-row-menu > summary svg { width: 15px; height: 15px; }
.account-row-menu[open] .row-dropdown { right: 0; left: auto; z-index: 20; min-width: 170px; }
.account-row-menu .row-dropdown form { margin: 0; }
.account-row-menu .row-dropdown button { width: 100%; display: flex; align-items: center; gap: 7px; padding: 8px 10px; color: #536077; background: #fff; border: 0; font: 500 9px Inter,sans-serif; text-align: left; cursor: pointer; }
.account-row-menu .row-dropdown button:hover { color: #355cc0; background: #f5f7fc; }
.account-row-menu .row-dropdown button svg { width: 13px; height: 13px; }
.account-row-menu .row-dropdown .account-delete-action { color: #b94a51; }
.account-empty-state { min-height: 175px; display: grid; place-content: center; justify-items: center; gap: 7px; padding: 20px; color: #8993a4; text-align: center; }
.account-empty-icon { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 50%; color: #7185c9; background: #f0f3ff; }
.account-empty-icon svg { width: 17px; height: 17px; }
.account-empty-state strong { color: #455168; font-size: 11px; }
.account-empty-state p { margin: 0; font-size: 9px; }
.account-pagination { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px; border-top: 1px solid #edf0f4; color: #8993a4; font-size: 9px; }
.account-confirm-dialog { width: min(440px,calc(100% - 28px)); padding: 21px; border: 1px solid #e5e9f0; border-radius: 12px; box-shadow: 0 18px 60px #10203a35; }
.account-confirm-dialog::backdrop { background: #14213b70; backdrop-filter: blur(2px); }
.account-confirm-dialog form { display: grid; justify-items: start; gap: 10px; }
.account-confirm-icon { width: 38px; height: 38px; display: grid; place-items: center; color: #be7b29; border-radius: 10px; background: #fff5e8; }
.account-confirm-icon svg { width: 18px; height: 18px; }
.account-confirm-dialog h2 { margin: 0; color: #2d394f; font: 700 15px Manrope,sans-serif; }
.account-confirm-dialog p { margin: 0; color: #707c90; font-size: 11px; line-height: 1.6; }
.account-confirm-actions { display: flex; justify-content: end; gap: 8px; width: 100%; padding-top: 7px; }
.force-password-panel { max-width: 520px; padding: 20px; }
.force-password-panel form { display: grid; gap: 14px; }
.force-password-field { display: grid; gap: 7px; color: #536077; font-size: 10px; font-weight: 600; }
.force-password-field input { width: 100%; min-height: 38px; padding: 0 10px; border: 1px solid #e4e9f1; border-radius: 6px; font: 400 11px Inter,sans-serif; }
@media (max-width: 760px) {
    .account-stats-grid { gap: 9px; }
    .account-stat-card { padding: 13px; }
    .account-category-tabs { padding-inline: 9px; }
    .account-filters { flex-wrap: wrap; padding: 12px; }
    .account-search { flex-basis: calc(100% - 10px); }
    .account-type-filter { flex: 1 1 145px; }
    .account-status-filter { flex: 1 1 130px; }
}
@media (max-width: 520px) {
    .account-heading { align-items: flex-start; }
    .account-heading .welcome-actions { width: 100%; }
    .account-heading .welcome-actions .button { flex: 1; justify-content: center; }
    .account-stats-grid { grid-template-columns: 1fr; }
    .account-stat-card { padding: 12px 14px; }
    .account-stat-icon { width: 35px; height: 35px; }
    .account-stat-card strong { font-size: 21px; }
    .account-directory-heading { padding: 14px 12px; }
    .account-category-tabs a { padding-inline: 7px; }
    .account-result-count { padding-inline: 12px; }
    .account-filters .button { flex: 1; }
}
.pagination a { color: #4169e1; font-weight: 600; }
@media (max-width: 680px) { .credential-result { margin: 28px auto; } }

.audit-heading { align-items: flex-end; gap: 18px; }
.audit-stats-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; margin-bottom: 16px; }
.audit-stat-card { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 17px; border: 1px solid #e8ecf2; border-radius: 10px; background: #fff; box-shadow: 0 3px 12px #243a5a08; }
.audit-stat-icon { width: 39px; height: 39px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; }
.audit-stat-icon svg { width: 19px; height: 19px; }
.audit-stat-icon.blue { color: #4268d6; background: #edf2ff; }.audit-stat-icon.green { color: #269477; background: #e9f7f1; }.audit-stat-icon.violet { color: #7960c5; background: #f1edff; }.audit-stat-icon.amber { color: #bd812a; background: #fff5e7; }
.audit-stat-card > div { min-width: 0; display: grid; gap: 3px; }.audit-stat-card > div > span { color: #79859a; font-size: 9px; font-weight: 600; }.audit-stat-card strong { color: #29364d; font: 700 22px Manrope,sans-serif; }.audit-stat-card small { color: #9aa3b1; font-size: 8px; }
.audit-directory { padding: 0; overflow: hidden; }.audit-directory-heading { padding: 17px 18px 12px; }.audit-directory-heading h2 { margin: 0; color: #344057; font: 700 13px Manrope,sans-serif; }.audit-directory-heading p { margin: 5px 0 0; color: #8c96a6; font-size: 9px; }
.audit-filters { display: grid; grid-template-columns: minmax(210px,2fr) repeat(4,minmax(120px,1fr)) repeat(2,minmax(125px,1fr)) auto auto; align-items: end; gap: 9px; padding: 13px 18px; border-bottom: 1px solid #edf0f4; }
.audit-filters .form-field { min-width: 0; display: grid; gap: 5px; color: #59667b; font-size: 9px; font-weight: 600; }
.audit-filters input,.audit-filters select { width: 100%; min-width: 0; height: 35px; padding: 0 8px; border: 1px solid #e4e9f1; border-radius: 6px; color: #39465d; background: #fff; font: 400 9px Inter,sans-serif; }
.audit-filters .button { min-height: 35px; padding-inline: 10px; white-space: nowrap; font-size: 9px; }.audit-reset-link { color: #69758b; font-size: 9px; white-space: nowrap; text-decoration: none; }
.audit-table-wrap { overflow-x: auto; }.audit-table { min-width: 1100px; }.audit-table th { color: #8390a3; font-size: 8px; letter-spacing: .04em; text-transform: uppercase; }.audit-table td { vertical-align: middle; font-size: 9px; }.audit-table td time { display: grid; gap: 3px; color: #4d5a71; white-space: nowrap; }.audit-table td time small,.audit-subline { display: block; color: #929cad; font-size: 8px; }.audit-actor { display: block; max-width: 150px; overflow: hidden; color: #39465d; text-overflow: ellipsis; white-space: nowrap; }.audit-action { color: #3f4d65; font-weight: 600; }.audit-category { color: #707d92; }.audit-record { display: block; max-width: 180px; overflow: hidden; color: #4c5a70; text-overflow: ellipsis; white-space: nowrap; }.audit-status { display: inline-flex; padding: 4px 7px; border-radius: 999px; font-size: 8px; font-weight: 600; white-space: nowrap; }.audit-status-success { color: #187b5f; background: #e7f6ef; }.audit-status-failed { color: #b44852; background: #fff0ef; }.audit-detail-link { color: #4169d6; font-size: 9px; font-weight: 600; white-space: nowrap; text-decoration: none; }.audit-detail-link:hover { text-decoration: underline; }
.audit-empty { min-height: 190px; display: grid; justify-items: center; align-content: center; gap: 8px; padding: 22px; color: #8993a4; text-align: center; }.audit-empty > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; color: #6b81cc; background: #eff2ff; }.audit-empty svg { width: 19px; }.audit-empty strong { color: #445169; font-size: 11px; }.audit-empty p { max-width: 480px; margin: 0; font-size: 9px; line-height: 1.6; }.audit-empty-compact { min-height: 90px; }.audit-pagination { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px; border-top: 1px solid #edf0f4; color: #8993a4; font-size: 9px; }
.audit-detail-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }.audit-detail-card { min-width: 0; padding: 17px; }.audit-detail-card .panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }.audit-detail-list { display: grid; margin: 0; }.audit-detail-list > div { display: grid; grid-template-columns: minmax(105px,.7fr) minmax(0,1.3fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid #f0f2f6; }.audit-detail-list > div:last-child { border-bottom: 0; }.audit-detail-list dt { color: #8993a4; font-size: 9px; }.audit-detail-list dd { min-width: 0; margin: 0; color: #3f4c63; font-size: 9px; overflow-wrap: anywhere; }.audit-detail-values { margin: 0; padding-left: 15px; }.audit-detail-values li { padding: 2px 0; }.audit-technical { grid-column: 1/-1; }
.audit-change-comparison { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-bottom: 12px; }.audit-change-comparison section { min-width: 0; padding: 10px; border: 1px solid #edf0f4; border-radius: 7px; background: #fbfcfe; }.audit-change-comparison h3 { margin: 0 0 8px; color: #67748a; font-size: 9px; }.audit-change-comparison p { margin: 0; color: #929cad; font-size: 9px; }.audit-change-comparison dl { display: grid; margin: 0; }.audit-change-comparison dl > div { display: grid; grid-template-columns: minmax(70px,.8fr) minmax(0,1.2fr); gap: 8px; padding: 5px 0; border-bottom: 1px solid #edf0f4; }.audit-change-comparison dl > div:last-child { border-bottom: 0; }.audit-change-comparison dt { color: #929cad; font-size: 8px; }.audit-change-comparison dd { min-width: 0; margin: 0; color: #3f4c63; font-size: 8px; overflow-wrap: anywhere; }
@media (max-width: 1100px) { .audit-filters { grid-template-columns: repeat(4,minmax(130px,1fr)); }.audit-search { grid-column: span 2; } }
@media (max-width: 760px) { .audit-stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.audit-filters { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 12px; }.audit-search { grid-column: 1/-1; }.audit-filters .button { justify-content: center; }.audit-heading { align-items: flex-start; flex-direction: column; }.audit-detail-grid { grid-template-columns: 1fr; }.audit-technical { grid-column: auto; } }
@media (max-width: 440px) { .audit-stats-grid { gap: 8px; }.audit-stat-card { align-items: flex-start; flex-direction: column; gap: 8px; padding: 11px; }.audit-stat-card strong { font-size: 19px; }.audit-detail-card { padding: 13px; }.audit-detail-list > div { grid-template-columns: 1fr; gap: 4px; }.audit-change-comparison { grid-template-columns: 1fr; } }

.homework-form-panel, .homework-list-panel, .homework-portal-controls { margin-bottom: 16px; }
.homework-form { display: grid; gap: 14px; }
.homework-form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px 15px; max-width: 1100px; }
.homework-form-grid .homework-wide { grid-column: 1 / -1; }
.homework-form-grid .form-field { min-width: 0; }
.homework-form-grid .form-control { width: 100%; min-height: 36px; padding: 8px 10px; color: var(--ink); background: #fff; border: 1px solid #e6eaf0; border-radius: 6px; outline: 0; font-size: 11px; }
.homework-form-grid textarea.form-control { min-height: 92px; resize: vertical; }
.homework-form-grid .form-control:focus { border-color: #9aaff4; box-shadow: 0 0 0 3px #4169e115; }
.homework-form-grid input[type="file"].form-control { padding: 6px; }
.homework-form-grid .form-field > span { display: block; margin-bottom: 6px; color: #536077; font-size: 10px; font-weight: 600; }
.homework-form-grid .form-field > span b { padding-left: 3px; color: #d65a67; }
.homework-form-grid .form-field small { display: block; margin-top: 5px; color: #8993a5; font-size: 9px; }
.homework-form-grid .form-field small.field-error, .homework-form .form-errors { color: #c34c5b; }
.homework-form-hint { margin: 0; color: #8993a5; font-size: 10px; }
.homework-form-actions, .homework-filter-actions, .homework-row-actions { display: flex; align-items: center; gap: 8px; }
.homework-filters { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; padding: 0 0 15px; }
.homework-filters .form-field { min-width: 135px; flex: 1 1 145px; }
.homework-filters .form-field > span { display: block; margin-bottom: 5px; color: #677286; font-size: 9px; font-weight: 600; }
.homework-filters select, .homework-filters input { width: 100%; height: 34px; padding: 0 9px; background: #fff; border: 1px solid #e6eaf0; border-radius: 6px; color: #465268; font-size: 10px; }
.homework-filter-actions { padding-bottom: 1px; }
.homework-instructions, .table-wrap td small { display: block; margin-top: 4px; color: #8a94a5; font-size: 9px; line-height: 1.5; }
.homework-state { display: inline-flex; align-items: center; padding: 4px 7px; border-radius: 20px; font-size: 9px; font-weight: 600; white-space: nowrap; }
.homework-state.overdue { color: #a93c4d; background: #fff0f1; }
.homework-state.due-today { color: #966615; background: #fff7e6; }
.homework-state.upcoming { color: #28775b; background: #eaf8f1; }
.homework-attachment-link { display: inline-flex; align-items: center; gap: 5px; color: var(--blue); font-size: 10px; font-weight: 600; white-space: nowrap; }
.homework-attachment-link svg { width: 13px; height: 13px; }
.homework-row-actions { gap: 5px; }
.homework-row-actions .button { min-height: 28px; padding: 0 8px; font-size: 9px; }
.button-danger { border: 1px solid #f1dfe2; background: #fff; color: #b94b5a; }
.button-danger:hover { background: #fff4f5; }
.button-danger:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.homework-empty { padding: 26px 14px !important; color: #798397; text-align: center; }
.homework-empty strong, .homework-empty span { display: block; }
.homework-empty strong { margin-bottom: 5px; color: #455168; font-size: 11px; }
.homework-empty span { font-size: 10px; }
.homework-pagination { display: flex; justify-content: center; align-items: center; gap: 12px; padding-top: 14px; color: #7d8799; font-size: 10px; }
.homework-portal-controls { padding: 15px; }
.homework-portal-controls .homework-filters { padding-bottom: 0; }
.homework-date-filter { max-width: 160px; }
.homework-portal-list { display: grid; gap: 12px; }
.homework-card { padding: 17px 18px; }
.homework-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.homework-subject { color: var(--blue); font-size: 10px; font-weight: 700; }
.homework-card h2 { margin: 10px 0 9px; color: #27344a; font: 700 15px "Manrope", sans-serif; }
.homework-meta { display: flex; flex-wrap: wrap; gap: 12px; color: #7c8799; font-size: 9px; }
.homework-meta span { display: inline-flex; align-items: center; gap: 5px; }
.homework-meta svg { width: 13px; height: 13px; }
.homework-card-instructions { margin: 12px 0; color: #576378; font-size: 11px; line-height: 1.7; }
@media (max-width: 900px) {
    .homework-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .homework-form-grid { grid-template-columns: minmax(0, 1fr); }
    .homework-form-grid .homework-wide { grid-column: auto; }
    .homework-filters { align-items: stretch; }
    .homework-filters .form-field { min-width: 100%; max-width: none; }
    .homework-filter-actions { width: 100%; }
    .homework-card { padding: 14px; }
}
.my-classes-heading { align-items: center; }
.my-classes-filter-panel { margin-bottom: 13px; }
.my-classes-filters { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; align-items: end; }
.my-classes-filters .form-field { min-width: 0; display: grid; gap: 5px; color: #536077; font-size: 9px; font-weight: 600; }
.my-classes-filters .form-control { width: 100%; min-width: 0; height: 35px; padding: 6px 8px; border: 1px solid #e5e9f0; border-radius: 5px; background: #fff; color: #455168; font-size: 10px; }
.my-classes-filter-actions { display: flex; gap: 7px; grid-column: span 2; }
.my-classes-filter-actions .button { min-height: 35px; }
.my-classes-filter-note { margin: 9px 0 0; color: #8993a4; font-size: 9px; line-height: 1.5; }
.my-classes-summary-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 11px; margin-bottom: 13px; }
.my-class-card-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-bottom: 13px; }
.my-class-card { min-width: 0; margin: 0; }
.my-class-card-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.my-class-card-heading h2 { margin: 4px 0 0; color: #344057; font: 700 13px "Manrope",sans-serif; }
.my-class-session { color: #8792a4; font-size: 9px; }
.my-class-count { padding: 5px 8px; border-radius: 20px; color: #4562bf; background: #eff3ff; font-size: 9px; white-space: nowrap; }
.my-class-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; margin: 13px 0; }
.my-class-metrics > div { min-width: 0; padding: 8px 7px; border: 1px solid #edf0f5; border-radius: 6px; background: #fbfcfe; }
.my-class-metrics strong, .my-class-metrics span { display: block; }
.my-class-metrics strong { color: #344057; font-size: 13px; }
.my-class-metrics span { margin-top: 3px; color: #8792a4; font-size: 8px; }
.my-class-links { display: flex; flex-wrap: wrap; gap: 6px 11px; padding: 0 0 10px; border-bottom: 1px solid #edf0f5; }
.my-class-links a, .my-class-exam-lists a { color: #4968ca; font-size: 9px; font-weight: 600; }
.my-class-exam-lists { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding-top: 10px; }
.my-class-exam-lists h3 { margin: 0 0 7px; color: #4a566b; font-size: 10px; }
.my-class-exam-lists p { margin: 0 0 7px; color: #59667b; font-size: 9px; line-height: 1.5; }
.my-class-exam-lists small { display: block; color: #8b95a5; font-size: 8px; }
.muted-empty { color: #929cad !important; }
.my-classes-detail-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; margin-bottom: 13px; }
.my-classes-attendance-panel, .my-classes-exams-panel, .my-classes-results-panel { min-width: 0; margin-bottom: 13px; }
.my-classes-chart { position: relative; width: min(100%,300px); height: 190px; margin: 0 auto 12px; }
.my-classes-table { min-width: 720px; }
.my-classes-empty { grid-column: 1/-1; }
.my-classes-empty p { margin-bottom: 0; color: #8792a4; font-size: 10px; }
@media (max-width: 900px) {
    .my-classes-filters { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .my-class-card-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .my-classes-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .my-classes-filter-actions { grid-column: 1/-1; }
    .my-classes-filter-actions .button { flex: 1; }
    .my-classes-summary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .my-class-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .my-class-exam-lists { grid-template-columns: 1fr; }
    .my-class-card-heading { flex-wrap: wrap; }
}
@media (max-width: 380px) {
    .my-classes-filters { grid-template-columns: 1fr; }
}
