:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#172334;background:#f2f5f9;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}.top{height:66px;background:#10243a;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(20px,calc((100vw - 1180px)/2));gap:16px}.brand{display:flex;align-items:center;gap:10px;color:white;text-decoration:none;font-weight:800;letter-spacing:-.03em}.brand small{display:block;color:#afbfce;font-size:10px;font-weight:500;letter-spacing:0;margin-top:2px}.topright{display:flex;align-items:center;gap:14px;font-size:12px}.topright form{margin:0}.role,.tag{border:1px solid #d8e0e9;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:700}.role{border-color:#49627b;color:#d7e6f4}.linkbtn{border:0;background:transparent;color:#fff;cursor:pointer;font:inherit;text-decoration:underline}.wrap{max-width:1180px;margin:24px auto;padding:0 20px;min-height:calc(100vh - 130px)}footer{text-align:center;color:#8491a0;font-size:11px;padding:18px}.notice{padding:12px 14px;border-radius:10px;background:#e7f6ed;color:#17663a;margin:0 0 16px;font-size:13px}.notice.error{background:#fff0ee;color:#9b3126}.hero{margin:4px 0 20px}.hero h1{font-size:25px;letter-spacing:-.04em;margin:0}.hero p{font-size:13px;color:#657386;margin:7px 0 0}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:13px;margin:16px 0}.card,.panel{background:white;border:1px solid #e0e6ed;border-radius:14px;padding:17px;box-shadow:0 3px 12px #162b4208}.metric{font-size:27px;font-weight:800;letter-spacing:-.04em}.muted{font-size:11px;color:#778598}.panel h2,.card h2{font-size:15px;margin:0 0 12px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:14px 0}.btn,button.btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid #d8e0e9;border-radius:9px;background:#fff;color:#26384a;padding:9px 12px;font-size:12px;font-weight:600;font-family:inherit;cursor:pointer;text-decoration:none}.btn.primary{background:#10243a;border-color:#10243a;color:#fff}.btn.danger{color:#a63232}.btn:hover{filter:brightness(.97)}form.inline{display:inline}input,select,textarea{width:100%;border:1px solid #d4dce5;border-radius:8px;background:#fff;padding:9px 10px;color:#172334;font-size:13px;font-family:inherit}label{display:block;font-size:11px;font-weight:700;color:#536276;margin:0 0 6px}.field{margin:12px 0}.row{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.tablewrap{overflow:auto;border:1px solid #e4e9ef;border-radius:10px}table{border-collapse:collapse;width:100%;background:#fff;font-size:12px}th{text-align:left;background:#f5f7fa;color:#526174;font-size:10px;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}td,th{padding:10px 11px;border-bottom:1px solid #edf0f3;vertical-align:top}tr:last-child td{border-bottom:0}.pill{display:inline-block;border-radius:999px;padding:4px 8px;background:#eef2f6;color:#526174;font-size:10px;font-weight:700}.pill.ok{background:#e3f5e9;color:#24643a}.pill.review{background:#fff3d9;color:#805a00}.pill.bad{background:#ffebe9;color:#9b3026}.empty{padding:24px;text-align:center;color:#8794a3;font-size:13px}.auth{max-width:420px;margin:8vh auto}.auth .brand{color:#10243a}.auth .brand small{color:#748294}.dangerbox{padding:12px;background:#fff5df;color:#765500;border-radius:9px;font-size:12px;line-height:1.5}.chartbar{height:8px;background:#eef1f5;border-radius:10px;overflow:hidden}.chartbar i{display:block;height:100%;background:#21865a}.actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.small{font-size:10px;color:#738094}.section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}.matchscore{font-variant-numeric:tabular-nums;font-weight:800}a{color:#205c8c}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #70b8f2;outline-offset:2px}@media(max-width:650px){.top{height:auto;min-height:62px;padding:11px 14px}.topright{gap:8px;flex-wrap:wrap;justify-content:flex-end}.wrap{padding:0 12px;margin:16px auto}.hero h1{font-size:21px}.metric{font-size:24px}td,th{padding:8px}}
.directory-layout{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:14px;align-items:start}.student-picker,.transcript-preview{position:sticky;top:12px;min-width:0}.student-picker{max-height:calc(100vh - 90px);display:flex;flex-direction:column}.student-picker .field{margin:4px 0 10px}.student-name-list{overflow:auto;min-height:180px;border-top:1px solid #edf0f3}.student-pick{display:block;padding:10px 9px;border-bottom:1px solid #edf0f3;text-decoration:none;color:#25374a;border-left:3px solid transparent}.student-pick span{display:block;font-size:12px;font-weight:700}.student-pick small{display:block;color:#788698;font-size:10px;margin-top:3px}.student-pick:hover,.student-pick.selected{background:#eff6fb;border-left-color:#286995}.transcript-preview iframe{display:block;width:100%;height:calc(100vh - 145px);min-height:620px;border:1px solid #e0e6ed;border-radius:9px;background:#fff}@media(max-width:850px){.directory-layout{grid-template-columns:1fr}.student-picker,.transcript-preview{position:static;max-height:none}.student-name-list{max-height:280px}.transcript-preview iframe{height:78vh;min-height:560px}}.cms-editor textarea{min-height:150px;padding:13px;border-radius:8px;background:#0d233d;color:#e7eef7;font:12px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:2}.cms-editor textarea::placeholder{color:#8da1b5}.cms-editor label .small{display:block;margin-top:4px;font-weight:500}.cms-editor .cms-check{display:flex;align-items:center;gap:8px;margin:18px 4px}.cms-editor .cms-check input{width:auto}.cms-editor .actions{margin-top:16px}.cms-editor .actions .btn{min-width:130px}.site-page-content{max-width:100%;padding:16px 20px;min-height:220px}.site-page-content h1,.site-page-content h2,.site-page-content h3{color:#142d4d}.site-page-content p{color:#425a73;line-height:1.8}
.appnav{background:#fff;border-bottom:1px solid #dfe6ed;box-shadow:0 2px 8px #13284008}.appnav-inner{max-width:1180px;margin:auto;padding:0 20px;display:flex;gap:4px;overflow-x:auto;scrollbar-width:thin}.appnav a{display:inline-flex;align-items:center;white-space:nowrap;padding:12px 11px;color:#405368;text-decoration:none;font-size:12px;font-weight:650;border-bottom:2px solid transparent}.appnav a:hover,.appnav a:focus-visible{color:#10243a;background:#f4f7fa;border-bottom-color:#c59b3c}@media(max-width:650px){.appnav-inner{padding:0 8px}.appnav a{padding:11px 9px;font-size:11px}}
.admin-photo-thumb{width:58px;height:52px;object-fit:cover;border-radius:4px;background:#e8eef4}

/* School population analytics on administrator dashboards. */
.dashboard-analytics{margin-top:16px}.dashboard-analytics .section-title{align-items:flex-start}.dashboard-analytics .section-title h2{margin:0 0 4px}.dashboard-analytics .section-title>a{font-size:12px;text-decoration:none}.analytics-gender-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:15px 0 20px}.analytics-stat{display:grid;gap:6px;padding:13px;border:1px solid #e2e8ef;border-radius:9px;background:#fbfcfe}.analytics-stat-label{color:#69798c;font-size:11px}.analytics-stat>b{color:#183a5e;font-size:24px;line-height:1.1}.analytics-stat small{color:#78879a;font-size:10px}.analytics-meter{height:5px;overflow:hidden;border-radius:99px;background:#e9edf2}.analytics-meter i{display:block;height:100%;border-radius:99px;background:#386f9c}.analytics-meter i.gold{background:#d3a927}.analytics-meter i.muted{background:#9aa6b4}.analytics-columns{display:grid;grid-template-columns:1fr 1.15fr;gap:20px}.analytics-columns h3,.enrollment-trend h3{margin:4px 0 10px;color:#233c57;font-size:14px}.analytics-columns .small,.enrollment-trend .small{margin:8px 0 0}.enrollment-trend{margin-top:20px;padding-top:15px;border-top:1px solid #e7ebf0}.enrollment-bars{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:8px;align-items:end;min-height:112px;padding:8px 0 0}.enrollment-month{display:flex;min-width:0;height:100px;flex-direction:column;align-items:center;justify-content:flex-end;gap:5px}.enrollment-month>b{color:#52677d;font-size:10px}.enrollment-bar{display:flex;width:min(24px,70%);height:65px;align-items:flex-end;overflow:hidden;border-radius:4px 4px 0 0;background:#edf1f5}.enrollment-bar i{display:block;width:100%;min-height:2px;border-radius:4px 4px 0 0;background:linear-gradient(180deg,#e5c04b,#285c8c)}.enrollment-month small{color:#77869a;font-size:9px;white-space:nowrap}.staff-gender-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.staff-gender-summary .analytics-stat>b{font-size:22px}
@media(max-width:800px){.analytics-columns{grid-template-columns:1fr}.staff-gender-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.analytics-gender-grid{grid-template-columns:1fr}.staff-gender-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.enrollment-bars{gap:4px}.enrollment-month small{font-size:8px}.dashboard-analytics .section-title{display:block}.dashboard-analytics .section-title>a{display:inline-block;margin-top:9px}}

/* Administrator media and news manager. */
.media-manager-grid{grid-template-columns:minmax(320px,.9fr) minmax(260px,.7fr);align-items:start}.media-filters{display:flex;gap:6px;flex-wrap:wrap}.media-filters .btn{padding:7px 10px;font-size:11px}.media-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(255px,1fr));gap:12px;margin-top:15px}.media-card{min-width:0;padding:13px;border:1px solid #e1e7ee;border-radius:10px;background:#fff}.media-card.media-archived{opacity:.72;background:#f6f7f9}.media-preview{display:grid;place-items:center;height:132px;margin-bottom:10px;overflow:hidden;border-radius:7px;background:linear-gradient(135deg,#eff3f8,#e5ebf2);color:#214b74}.media-preview img{width:100%;height:100%;object-fit:cover}.media-preview>span{font-size:18px;font-weight:850;letter-spacing:.08em}.media-card .field{margin:8px 0}.media-filename{overflow:hidden;color:#435970;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.media-meta{margin:5px 0;color:#8190a0;font-size:10px}.media-card-actions{display:flex;gap:6px;flex-wrap:wrap}.media-card-actions select{min-width:90px;flex:1}.media-card-actions .btn,.media-card>form:last-child .btn{font-size:11px;padding:7px 9px}.media-card>form:last-child{display:flex;align-items:center;gap:8px;margin-top:8px;padding-top:8px;border-top:1px solid #edf0f3}.media-card select[multiple]{min-height:140px}.news-media-links{display:grid;gap:5px;margin-top:9px}.news-media-links a{color:#174877;font-size:10px;font-weight:700;text-decoration:none}.news-media-links a:hover{text-decoration:underline}
@media(max-width:800px){.media-manager-grid{grid-template-columns:1fr}}
/* Dashboard component system: Tailwind-inspired spacing, surfaces and responsive grids. */
.dashboard-hero{position:relative;overflow:hidden;padding:24px 26px;border:1px solid #d9e5ef;border-radius:18px;background:linear-gradient(115deg,#fff 0%,#f5f9fd 62%,#edf4f8 100%);box-shadow:0 8px 26px #17324d0a}
.dashboard-hero:after{content:"";position:absolute;right:-35px;top:-95px;width:230px;height:230px;border:1px solid #2a5f8720;border-radius:50%;box-shadow:0 0 0 28px #2a5f8707,0 0 0 56px #2a5f8705;pointer-events:none}
.dashboard-eyebrow{display:block;margin-bottom:9px;color:#668098;font-size:9px;font-weight:800;letter-spacing:.16em}
.dashboard-hero h1{position:relative;z-index:1;font-size:26px}.dashboard-hero p{position:relative;z-index:1;max-width:620px;line-height:1.6}
.dashboard-section{margin:22px 0 26px}.dashboard-section-heading{display:flex;align-items:center;gap:12px;margin:0 0 12px}.dashboard-section-heading>div{min-width:0}.dashboard-section-heading h2{margin:0;color:#18334f;font-size:16px;letter-spacing:-.02em}.dashboard-section-heading p{margin:4px 0 0;color:#738397;font-size:11px;line-height:1.5}.step-index{display:grid;flex:0 0 34px;width:34px;height:34px;place-items:center;border:1px solid #d8e4ed;border-radius:11px;background:#edf4f9;color:#24587c;font-size:11px;font-weight:800}
.dashboard-workflow-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.workflow-card,.dashboard-service-card{position:relative;min-width:0;padding:17px;border:1px solid #e0e7ee;border-radius:14px;background:#fff;box-shadow:0 3px 12px #162b4207;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.workflow-card:hover,.dashboard-service-card:hover{transform:translateY(-2px);border-color:#b7cad9;box-shadow:0 10px 22px #162b4210}.workflow-card h3,.dashboard-service-card h3{margin:0 26px 7px 0;color:#243b53;font-size:13px;line-height:1.4}.workflow-card p,.dashboard-service-card>p{margin:0 0 14px;color:#738194;font-size:11px;line-height:1.6}.workflow-card>a{color:#1e628f;font-size:11px;font-weight:750;text-decoration:none}.workflow-card>a span{margin-left:3px}.workflow-arrow{position:absolute;right:15px;top:14px;color:#a6b8c7;font-size:16px}
.dashboard-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:12px 0 18px}.dashboard-metric{min-height:108px;padding:15px 16px;border-radius:13px}.dashboard-metric .metric{margin:7px 0 4px;color:#183a5e;font-size:25px}.dashboard-metric .small{line-height:1.5}
.dashboard-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.dashboard-service-card{padding:18px}.dashboard-service-card h3{margin-bottom:5px}.dashboard-service-links{display:grid;gap:2px}.dashboard-service-links a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-top:1px solid #edf0f3;color:#39556e;font-size:11px;text-decoration:none}.dashboard-service-links a span{color:#93a6b7}.dashboard-service-links a:hover{color:#1e628f}
.dashboard-analytics{margin:12px 0;padding:20px;border-radius:15px}.dashboard-analytics .section-title h2{margin:0 0 4px;font-size:16px}.dashboard-analytics .analytics-stat{border-radius:11px}.dashboard-analytics .analytics-columns{gap:16px}
@media(max-width:920px){.dashboard-workflow-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.dashboard-hero{padding:20px 18px;border-radius:14px}.dashboard-hero h1{font-size:22px}.dashboard-section{margin:18px 0 21px}.dashboard-workflow-grid,.dashboard-service-grid{grid-template-columns:1fr}.dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dashboard-metric{min-height:98px;padding:12px}.dashboard-metric .metric{font-size:22px}.dashboard-section-heading{align-items:flex-start}.dashboard-analytics{padding:15px}.dashboard-analytics .analytics-columns{grid-template-columns:1fr}}
.dashboard-workspace{margin-top:10px}.dashboard-tabbar{position:sticky;top:0;z-index:5;display:flex;gap:5px;overflow-x:auto;padding:6px;margin:0 0 16px;border:1px solid #e0e7ee;border-radius:14px;background:#ffffffed;box-shadow:0 4px 16px #10243a0b;backdrop-filter:blur(12px);scrollbar-width:thin}.dashboard-tabbar [role=tab]{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 15px;border:1px solid transparent;border-radius:9px;background:transparent;color:#617287;font-family:inherit;font-size:12px;font-weight:650;line-height:1.2;white-space:nowrap;cursor:pointer;transition:background .16s ease,color .16s ease,border-color .16s ease}.dashboard-tabbar [role=tab]:hover{background:#f2f6f9;color:#294963}.dashboard-tabbar [role=tab][aria-selected=true]{border-color:#d8e6f0;background:#eaf2f8;color:#164f76;box-shadow:inset 0 0 0 1px #ffffff}.dashboard-tabbar [role=tab]:focus-visible{outline:3px solid #70b8f2;outline-offset:2px}.dashboard-tab-content{min-height:260px}.dashboard-tab-panel[hidden]{display:none}.dashboard-tab-panel{animation:dashboard-panel-in .18s ease-out}@keyframes dashboard-panel-in{from{opacity:.65;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.dashboard-tab-panel>.dashboard-section{margin-top:3px}.dashboard-tab-panel>.dashboard-section-heading{margin-top:4px}.dashboard-tab-panel>.dashboard-section .dashboard-section-heading{margin-bottom:14px}.dashboard-tab-panel>.dashboard-section .dashboard-workflow-grid{margin-top:0}.dashboard-tab-panel>.dashboard-section+.dashboard-section{margin-top:20px}.dashboard-tab-panel>.dashboard-section .dashboard-workflow-grid .workflow-card{min-height:148px}.dashboard-tab-panel>.dashboard-section .dashboard-step-heading{margin-top:0}
@media(max-width:650px){.dashboard-tabbar{top:0;margin:0 -2px 12px;padding:4px;border-radius:11px}.dashboard-tabbar [role=tab]{min-height:38px;padding:0 12px;font-size:11px}.dashboard-tab-content{min-height:220px}.dashboard-tab-panel>.dashboard-section .dashboard-workflow-grid .workflow-card{min-height:0}}
.school-subnav{display:flex;gap:6px;overflow-x:auto;margin:-7px 0 18px;padding:5px;border:1px solid #e2e8ef;border-radius:12px;background:#fff}.school-subnav a{display:inline-flex;align-items:center;min-height:36px;padding:0 13px;border-radius:8px;color:#596c80;font-size:11px;font-weight:650;text-decoration:none;white-space:nowrap}.school-subnav a:hover{background:#f4f7fa;color:#204f73}.school-subnav a.active{background:#eaf2f8;color:#174f75;box-shadow:inset 0 0 0 1px #d8e6f0}
.school-management-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.school-management-card{position:relative;display:block;min-height:195px;padding:22px;border:1px solid #dfe7ee;border-radius:16px;background:#fff;color:#213a51;text-decoration:none;box-shadow:0 5px 18px #142f4808;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.school-management-card:hover{transform:translateY(-2px);border-color:#bfd0de;box-shadow:0 12px 28px #142f4812}.school-management-card.featured{background:linear-gradient(130deg,#fff,#eff6fa);border-color:#cadde9}.school-management-card h2{margin:13px 0 7px;font-size:17px}.school-management-card p{max-width:520px;margin:0 0 18px;color:#718195;font-size:12px;line-height:1.65}.school-management-card b{color:#205c85;font-size:11px}.school-management-icon{display:inline-grid;width:32px;height:32px;place-items:center;border-radius:10px;background:#edf3f7;color:#2b5b7a;font-size:10px;font-weight:800}
.admission-panel{padding:20px}.admission-panel>.section-title h2{margin:0 0 3px}.admission-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.8fr);gap:24px}.admission-grid h3{margin:10px 0 8px;color:#2d4359;font-size:13px}.admission-enrolment{padding:16px;border:1px solid #e4eaf0;border-radius:12px;background:#f9fbfc}.admission-enrolment .field{margin-top:7px}.subject-choice{margin:16px 0 0;padding:13px;border:1px solid #dfe6ed;border-radius:10px;background:#fff}.subject-choice legend,.schedule-options legend{padding:0 6px;color:#445a70;font-size:11px;font-weight:750}.subject-choice>p{margin:0 0 8px}.subject-choice-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 10px;max-height:300px;overflow:auto}.subject-choice-item{display:flex;align-items:center;gap:8px;min-width:0;margin:0;padding:8px 5px;border-bottom:1px solid #f0f2f5;color:#40546a;font-size:11px}.subject-choice-item input{flex:0 0 auto;width:15px;height:15px;margin:0;accent-color:#205d83}.subject-choice-item span{overflow:hidden;text-overflow:ellipsis}.subject-choice-item small{margin-left:auto;color:#8795a4;font-size:9px}.admission-submit{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:18px;padding-top:14px;border-top:1px solid #e9edf1}.student-list-panel>label{max-width:390px}.student-list-panel .tablewrap{margin-top:12px}.student-list-panel tbody tr[hidden]{display:none}.student-search-row{display:flex;align-items:center;gap:7px}.student-search-row input{min-width:0}.student-pagination{display:flex;justify-content:space-between;gap:10px;margin-top:12px}.schedule-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:8px 0 15px;padding:14px;border:1px solid #e2e8ee;border-radius:12px}.schedule-option{display:flex;align-items:flex-start;gap:10px;margin:0;padding:13px;border:1px solid #e7ecf1;border-radius:10px;background:#fff;cursor:pointer}.schedule-option:has(input:checked){border-color:#aac4d6;background:#f1f7fa}.schedule-option input{flex:0 0 auto;width:16px;height:16px;margin:2px 0 0;accent-color:#205d83}.schedule-option span{display:grid;gap:5px}.schedule-option b{color:#30475e;font-size:11px}.schedule-option small{color:#7a8898;font-size:10px;line-height:1.5}.exam-schedule-form>.small{display:block;margin-top:9px}
@media(max-width:760px){.admission-grid{grid-template-columns:1fr}.school-management-grid{grid-template-columns:1fr}.schedule-options{grid-template-columns:1fr}}
@media(max-width:520px){.school-subnav{margin-left:-2px;margin-right:-2px}.school-subnav a{padding:0 10px;font-size:10px}.admission-panel{padding:14px}.admission-submit{align-items:stretch;flex-direction:column}.admission-submit .btn{width:100%}.subject-choice-list{grid-template-columns:1fr}}

/* Dashboard population snapshot and staff age distribution. */
.dashboard-people-snapshot{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.people-snapshot-card{padding:18px;border:1px solid #dce6ef;border-radius:15px;background:linear-gradient(145deg,#fff,#f7fafc);box-shadow:0 8px 24px #173a5708}.people-snapshot-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.people-snapshot-heading h2{margin:3px 0;color:#183a5e;font-size:17px}.people-total{display:grid;place-items:center;min-width:52px;height:48px;padding:0 10px;border-radius:13px;background:#edf4fa;color:#184c72;font-size:21px}.people-snapshot-lines{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.people-snapshot-lines span{padding:7px 10px;border:1px solid #e2e8ef;border-radius:999px;background:white;color:#68798c;font-size:11px}.people-snapshot-lines b{margin-left:4px;color:#183a5e}.people-snapshot-card>.small{margin:7px 0;color:#68798c;font-size:11px;line-height:1.55}.people-snapshot-card .btn{margin-top:8px}.staff-age-summary{margin-top:16px;padding:14px;border:1px solid #e4eaf0;border-radius:12px;background:#fbfcfd}.staff-age-summary h3{margin:0 0 10px;color:#233c57;font-size:14px}.staff-age-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.staff-age-grid>div{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:9px;border-radius:8px;background:#f0f4f7;color:#65758a;font-size:11px}.staff-age-grid b{color:#193b5d;font-size:15px}
@media(max-width:720px){.dashboard-people-snapshot{grid-template-columns:1fr}.staff-age-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.student-sensitive-fields{margin:16px 0;padding:16px;border:1px solid #dfe7ee;border-radius:12px;background:#f9fbfd}.student-sensitive-fields legend{padding:0 7px;color:#294963;font-size:13px;font-weight:750}.student-sensitive-fields h3{margin:12px 0 4px;color:#294963;font-size:12px}.student-sensitive-fields>p{margin:3px 0 10px;line-height:1.55}.student-sensitive-fields [hidden]{display:none!important}.student-sensitive-summary{margin-top:14px;border-color:#e7d9bd;background:#fffdfa}.student-sensitive-summary .grid{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px;margin:10px 0 0}.student-sensitive-summary .card{padding:11px;border-radius:10px;box-shadow:none}.student-sensitive-summary .card b{font-size:12px}.student-wellbeing-analytics{border-color:#eadfc7;background:linear-gradient(150deg,#fff,#fffdf8)}.wellbeing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}.wellbeing-card{padding:13px;border:1px solid #e9edf1;border-radius:11px;background:#fff}.wellbeing-card h3{margin:0 0 8px;color:#304b63;font-size:12px}.wellbeing-card dl{display:grid;gap:0;margin:0}.wellbeing-card dl>div{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid #f0f2f4;font-size:11px}.wellbeing-card dl>div:last-child{border-bottom:0}.wellbeing-card dt{color:#65768a}.wellbeing-card dd{margin:0;color:#183a5e;font-weight:750}.wellbeing-card .wellbeing-unrecorded dt,.wellbeing-card .wellbeing-unrecorded dd{color:#8b6a2a}
.religion-priority{margin:12px 0 16px;padding:13px;border:1px solid #ead9a8;border-radius:12px;background:linear-gradient(135deg,#fffdf7,#fff)}.religion-priority>h3{margin:0 0 6px;color:#173b5e;font-size:14px}.student-quick-choice{min-width:0;margin:0;padding:0;border:0}.student-quick-choice>legend{margin:0 0 6px;padding:0;color:#42566b;font-size:11px;font-weight:700}.religion-choices>legend{display:none}.quick-choice-options{display:flex;flex-wrap:wrap;gap:6px}.quick-choice-option{position:relative;display:inline-flex;cursor:pointer;user-select:none}.quick-choice-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.quick-choice-option span{display:inline-flex;align-items:center;min-height:34px;padding:6px 12px;border:1px solid #d9e2ea;border-radius:999px;background:#fff;color:#30475d;font-size:12px;font-weight:650;transition:background .15s,border-color .15s,color .15s,box-shadow .15s}.quick-choice-option:hover span{border-color:#7393ae;background:#f2f7fb}.quick-choice-input:checked+span{border-color:#1d466b;background:#1d466b;color:#fff;box-shadow:0 2px 5px #173b5e22}.quick-choice-input:focus-visible+span{outline:3px solid #efc94c;outline-offset:2px}.denomination-choices{margin:8px 0}.denomination-choices>legend{margin-bottom:6px}.quick-choice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin:8px 0}.quick-choice-yes-no{padding:9px 10px;border:1px solid #e0e7ed;border-radius:10px;background:#fff}.quick-choice-yes-no>legend{margin-bottom:7px;color:#314b64}.quick-choice-yes-no .quick-choice-options{gap:5px}.quick-choice-yes-no .quick-choice-option span{min-height:30px;padding:4px 9px;font-size:11px}.quick-choice-yes-no .quick-choice-option:first-child span{color:#68798a}.quick-choice-yes-no .quick-choice-option:nth-child(2) .quick-choice-input:checked+span{border-color:#68798a;background:#68798a}.quick-choice-yes-no .quick-choice-option:nth-child(3) .quick-choice-input:checked+span{border-color:#1b765b;background:#1b765b}

/* Shared shell: fewer top-level choices, clear active module, consistent workspace spacing. */
body{background:linear-gradient(180deg,#f6f8fb 0,#f1f4f8 320px,#f4f6f9 100%)}
.top{position:sticky;top:0;z-index:30;box-shadow:0 4px 18px #10243a1c}
.appnav{position:sticky;top:66px;z-index:25;background:#ffffffed;backdrop-filter:blur(14px);box-shadow:0 5px 16px #10243a0a}
.appnav-inner{align-items:center;gap:7px;min-height:48px;overflow:visible}
.appnav-home,.nav-menu>summary{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:36px;padding:0 13px;border:1px solid transparent;border-radius:9px;color:#506276;font-size:11px;font-weight:700;text-decoration:none;white-space:nowrap;cursor:pointer;list-style:none}
.nav-menu>summary::-webkit-details-marker{display:none}
.nav-menu>summary span{color:#96a4b2;font-size:13px;transition:transform .16s ease}
.nav-menu[open]>summary span{transform:rotate(180deg)}
.appnav-home:hover,.nav-menu>summary:hover{background:#f3f6f9;color:#244863}
.appnav-home.active,.nav-menu[data-current=true]>summary{border-color:#d8e6f0;background:#eaf2f8;color:#174f75}
.nav-menu{position:relative}
.nav-menu-panel{position:absolute;top:calc(100% + 8px);left:0;z-index:40;display:grid;min-width:230px;padding:6px;border:1px solid #dfe6ed;border-radius:12px;background:#fff;box-shadow:0 14px 36px #10243a24;animation:nav-drop-in .14s ease-out}
.nav-menu-panel a{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 11px;border-radius:8px;color:#445970;font-size:11px;font-weight:600;text-decoration:none}
.nav-menu-panel a span{color:#a0adba;font-size:16px}
.nav-menu-panel a:hover,.nav-menu-panel a:focus-visible{background:#f1f6fa;color:#174f75}
@keyframes nav-drop-in{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}
.wrap{padding-top:27px;padding-bottom:34px}
.hero{padding:0 0 15px;border-bottom:1px solid #e1e7ed}
.hero h1{color:#17334f}
.hero p{max-width:760px;line-height:1.65}
.panel,.card{box-shadow:0 5px 18px #142f4808}
.panel{padding:19px}
.panel h2{color:#203a54;line-height:1.35}
.section-title{align-items:flex-start}
.tablewrap{box-shadow:0 2px 8px #142f4805}
th{position:sticky;top:0;z-index:1}
input,select,textarea{transition:border-color .15s ease,box-shadow .15s ease}
input:focus,select:focus,textarea:focus{border-color:#8aaec7;box-shadow:0 0 0 3px #2f78a515;outline:none}
.btn{transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease}
.btn:hover{transform:translateY(-1px);box-shadow:0 4px 10px #10243a12}
.school-subnav{position:sticky;top:114px;z-index:15;box-shadow:0 4px 12px #10243a0a}
#pdfStatistics{border-color:#d5e2ec;background:linear-gradient(145deg,#fff,#f8fbfd)}
#pdfStatistics .card{min-height:82px;border-color:#e1e9ef;background:#fff}
#pdfStatistics .metric{color:#174f75;font-variant-numeric:tabular-nums}
#pdfStatistics .tablewrap{margin-top:8px}
@media(max-width:760px){.top{position:relative}.appnav{position:relative;top:auto}.appnav-inner{flex-wrap:wrap;padding-top:5px;padding-bottom:5px}.nav-menu-panel{position:absolute;top:calc(100% + 5px);left:0;right:auto;min-width:220px;max-width:calc(100vw - 24px)}.school-subnav{position:relative;top:auto}.wrap{padding-top:20px}.panel{padding:15px}}
@media(max-width:520px){.appnav-inner{gap:3px}.appnav-home,.nav-menu>summary{min-height:34px;padding:0 9px;font-size:10px}.nav-menu-panel{top:calc(100% + 5px)}.hero{margin-bottom:15px}.hero h1{font-size:20px}.panel{border-radius:12px;padding:13px}.section-title{gap:8px}}
.sr-only{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}
.appnav-inner{overflow:visible}.appnav-links{display:flex;align-items:center;gap:7px;min-width:0}.nav-menu-panel a.active{background:#fff8e2;color:#17395f;font-weight:750}
.appnav-search{position:relative;flex:0 0 220px;margin-left:auto}.appnav-search input{height:36px;padding:7px 34px 7px 11px;border-color:#dbe3eb;border-radius:10px;background:#f8fafc;font-size:11px}.appnav-search input::placeholder{color:#8291a2}.appnav-search>kbd{position:absolute;top:8px;right:9px;padding:1px 5px;border:1px solid #d5dee7;border-radius:4px;background:#fff;color:#6d7d8e;font:10px ui-monospace,monospace}.appnav-search-results{position:absolute;top:calc(100% + 7px);right:0;z-index:50;display:grid;width:min(320px,calc(100vw - 24px));max-height:min(65vh,390px);overflow:auto;padding:6px;border:1px solid #dce5ee;border-radius:12px;background:#fff;box-shadow:0 16px 38px #10243a24}.appnav-search-results[hidden]{display:none}.appnav-search-results a{display:flex;align-items:center;min-height:38px;padding:8px 10px;border:0;border-radius:8px;color:#3b536b;font-size:11px;text-decoration:none}.appnav-search-results a:hover,.appnav-search-results a:focus,.appnav-search-results a[aria-selected=true]{outline:0;background:#f2f6f9;color:#17395f}.appnav-search-empty{padding:12px;color:#768597;font-size:11px}
@media(max-width:760px){.appnav-links{width:100%;overflow-x:auto;scrollbar-width:thin}.appnav-search{flex:1 1 100%;width:100%;margin:3px 0 2px}.appnav-search-results{right:0;width:100%}}
html[data-theme="dark"] body.application-shell .appnav-search input{border-color:#34485f;background:#152337;color:#edf3f8}html[data-theme="dark"] body.application-shell .appnav-search input::placeholder{color:#aab8c7}html[data-theme="dark"] body.application-shell .appnav-search>kbd{border-color:#3a4c61;background:#1b2c41;color:#c5d1de}html[data-theme="dark"] body.application-shell .appnav-search-results{border-color:#34485f;background:#142338}html[data-theme="dark"] body.application-shell .appnav-search-results a{color:#d3deea}html[data-theme="dark"] body.application-shell .appnav-search-results a:hover,html[data-theme="dark"] body.application-shell .appnav-search-results a:focus,html[data-theme="dark"] body.application-shell .appnav-search-results a[aria-selected=true]{background:#20364d;color:#f2d56e}html[data-theme="dark"] body.application-shell .nav-menu-panel a.active{background:#302e22;color:#f2d56e}
.dashboard-quick-actions{justify-content:flex-start}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
/* Shared school identity for the application shell and its universal footer. */
.brand{min-width:0;gap:12px;letter-spacing:0}.brand-mark,.brand-logo{width:42px;height:42px;flex:0 0 42px;border-radius:12px}.brand-mark{display:grid;place-items:center;background:#f4d66d;color:#10243a;font-size:13px;font-weight:900;letter-spacing:-.04em}.brand-logo{object-fit:contain;background:#fff;padding:3px}.brand-copy{display:block;max-width:min(42vw,440px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.brand-copy small{font-size:10px;overflow:hidden;text-overflow:ellipsis}.app-footer{margin-top:28px;padding:0 20px;background:#10243a;color:#d6e1ec}.app-footer-inner{max-width:1180px;margin:auto;min-height:94px;display:grid;grid-template-columns:minmax(220px,1fr) minmax(180px,1fr) auto;gap:18px;align-items:center}.app-footer-brand{display:flex;align-items:center;gap:11px;min-width:0}.app-footer-brand img,.app-footer-mark{width:38px;height:38px;flex:0 0 38px;border-radius:10px;object-fit:contain;background:#fff;padding:3px}.app-footer-mark{display:grid;place-items:center;background:#f4d66d;color:#10243a;font-size:12px;font-weight:900}.app-footer-brand b,.app-footer-brand small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-footer-brand b{font-size:12px;color:#fff}.app-footer-brand small{margin-top:4px;color:#9eb0c2;font-size:10px}.app-footer-contact{display:flex;flex-wrap:wrap;gap:4px 14px;color:#b8c7d5;font-size:10px}.app-footer-contact a{color:#f4d66d;text-decoration:none}.app-footer-note{color:#8297aa;font-size:9px;text-align:right;white-space:nowrap}
@media(max-width:720px){.app-footer{padding:0 14px}.app-footer-inner{grid-template-columns:1fr;gap:11px;padding:17px 0}.app-footer-note{text-align:left;white-space:normal}.brand-copy{max-width:52vw}.topright{font-size:10px}}
.student-directory-filters,.fee-roster-filters{display:grid;grid-template-columns:1.2fr 1fr 1fr auto;gap:10px;align-items:end;margin:10px 0 15px}.student-directory-filters .field,.fee-roster-filters .field{margin:0}.student-directory-filters .btn{min-height:37px}.student-list-panel .tablewrap{margin-top:6px}.student-list-panel tbody tr[hidden],.fee-student-row[hidden]{display:none}.student-list-panel td{vertical-align:middle}.fee-setup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:12px 0}.fee-compact-table{margin-top:14px;max-height:300px;overflow:auto}.fee-compact-table table{font-size:11px}.fee-compact-table td,.fee-compact-table th{padding:8px}.fee-bulk-panel{margin:14px 0}.fee-roster-filters{grid-template-columns:1.2fr 1fr 1fr auto;padding:12px;background:#f7f9fb;border:1px solid #e4e9ef;border-radius:11px}.fee-select-all{display:flex;align-items:center;gap:7px;margin:0 0 9px;white-space:nowrap}.fee-select-all input,.fee-student-check{width:16px;height:16px;accent-color:#205d83}.fee-student-table{max-height:390px}.fee-student-table td:first-child{width:65px;text-align:center}.fee-apply-submit{display:flex;justify-content:space-between;align-items:center;gap:14px;padding-top:13px}.fee-payment-panel{margin:14px 0}.fee-payment-panel summary{cursor:pointer;font-weight:750;color:#30475e}.fee-statement-panel{margin-top:14px}.fee-statement-panel table{min-width:980px}
.student-name-cell{display:flex;align-items:center;gap:9px;min-width:190px}.student-avatar,.student-profile-photo{width:42px;height:42px;flex:0 0 42px;border-radius:50%;object-fit:cover;background:#eaf0f5}.student-avatar-empty{display:grid;place-items:center;color:#35516a;font-weight:800}.student-profile-hero{display:flex;align-items:center;gap:16px}.student-profile-photo{width:64px;height:64px;flex-basis:64px;border:2px solid #fff;box-shadow:0 2px 8px #10243a18}.student-photo-edit{display:flex;align-items:center;gap:10px;margin:0 0 12px;padding:9px 11px;border:1px solid #e4eaf0;border-radius:10px;background:#f8fafc}.student-edit-photo{width:48px;height:48px;flex:0 0 48px;border-radius:9px;object-fit:cover;background:#eaf0f5}.student-photo-edit .field{margin:0}.bulk-subject-choices{margin:15px 0}.bulk-subject-choices .subject-choice-item{min-width:170px}
@media(max-width:760px){.student-directory-filters,.fee-roster-filters{grid-template-columns:1fr 1fr}.student-directory-filters .field:first-child,.fee-roster-filters .field:first-child{grid-column:1/-1}.fee-setup-grid{grid-template-columns:1fr}.fee-apply-submit{align-items:flex-start;flex-direction:column}.fee-select-all{grid-column:1/-1}}

.student-profile-tabs{display:flex;gap:6px;overflow-x:auto;margin:12px 0;padding:5px;border:1px solid #e4eaf0;border-radius:12px;background:#f7f9fb;scrollbar-width:thin}.student-profile-tabs [role=tab]{flex:0 0 auto;border:0;border-radius:8px;background:transparent;color:#43546a;padding:10px 13px;font:inherit;font-weight:650;cursor:pointer;white-space:nowrap;text-decoration:none}.student-profile-tabs [role=tab][aria-selected=true],body:has(#profile-information:target) .student-profile-tabs [href="#profile-information"],body:has(#profile-exams:target) .student-profile-tabs [href="#profile-exams"],body:has(#profile-conduct:target) .student-profile-tabs [href="#profile-conduct"],body:has(#profile-attendance:target) .student-profile-tabs [href="#profile-attendance"],body:has(#profile-fees:target) .student-profile-tabs [href="#profile-fees"]{background:#fff;color:#10243a;box-shadow:0 1px 5px #10243a1c}.profile-tab-panel[hidden]:not(:target){display:none!important}.profile-tab-panel:target{display:block!important}body:has(.profile-tab-panel:target) #profile-information:not(:target){display:none!important}
.back-to-top{position:fixed;z-index:80;right:20px;bottom:20px;width:44px;height:44px;display:grid;place-items:center;border:1px solid #ffffff40;border-radius:50%;background:#10243a;color:#f4d66d;box-shadow:0 8px 24px #10243a35;font-size:21px;font-weight:800;cursor:pointer;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .2s ease,transform .2s ease,background .2s ease}.back-to-top.is-visible{opacity:1;visibility:visible;transform:translateY(0)}.back-to-top:hover{background:#1b456b;transform:translateY(-2px)}.back-to-top:focus-visible{outline:3px solid #e4bf43;outline-offset:3px}.css-code-editor{min-height:420px;width:100%;font-family:Consolas,"Courier New",monospace;font-size:12px;line-height:1.55;tab-size:2;white-space:pre;overflow:auto}.restore-css-form{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px;padding-top:14px;border-top:1px solid #e4eaf0}@media(max-width:600px){.back-to-top{right:12px;bottom:12px;width:40px;height:40px}.css-code-editor{min-height:300px}}
.promotion-review{margin-top:16px}.promotion-student{border:1px solid #d8e2ed;border-radius:14px;padding:16px;margin:14px 0;background:var(--panel,#fff)}.promotion-student legend{font-size:1.05rem;font-weight:700;padding:0 8px}.promotion-rating-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.promotion-rating-grid textarea,.promotion-student textarea{width:100%;box-sizing:border-box;margin-top:8px}.promotion-student .row{align-items:end}.promotion-student .field{min-width:220px}@media(max-width:800px){.promotion-rating-grid{grid-template-columns:1fr}.promotion-student{padding:12px}}
.academic-matrix-wrap{max-height:72vh;overflow:auto;border:1px solid var(--line,#dbe4ed);border-radius:12px}.academic-matrix{min-width:max-content;border-collapse:separate;border-spacing:0}.academic-matrix th,.academic-matrix td{vertical-align:middle;min-width:112px}.academic-matrix thead th{position:sticky;top:0;z-index:2;background:var(--surface-strong,#eff4f8);text-align:center}.academic-matrix thead tr:first-child th{top:0}.academic-matrix thead tr:nth-child(2) th{top:42px}.academic-matrix tbody th[scope="row"]{position:sticky;left:0;z-index:1;background:var(--surface,#fff);text-align:left}.academic-matrix tbody td:first-child{font-weight:650}.academic-result-detail,.academic-change{display:block;margin-top:4px;font-size:.77rem;color:var(--muted,#66768a)}.academic-awaiting{color:var(--muted,#66768a);font-style:italic}.academic-not-entered{color:var(--muted,#8290a0);font-size:.82rem}.academic-change.improved{color:#14734d}.academic-change.declined{color:#b34242}.academic-change.maintained{color:#52657a}.academic-performance-panel .small{line-height:1.45}
.academic-summary{margin-top:18px}.academic-summary h3{margin:0 0 10px}.academic-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.academic-summary-card{display:grid;gap:5px;padding:14px;border:1px solid var(--line,#dbe4ed);border-radius:12px;background:var(--surface,#fff)}.academic-summary-card>b{font-size:1.35rem;color:var(--ink,#13283f)}.academic-summary-card>small{color:var(--muted,#66768a);line-height:1.4}.academic-average-grade{font-size:.9rem;color:var(--muted,#66768a)}
.staff-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0 16px;padding-bottom:10px;border-bottom:1px solid #dfe6ed}.staff-tabs a{padding:8px 11px;border:1px solid transparent;border-radius:9px;color:#40566d;text-decoration:none;font-size:12px;font-weight:650}.staff-tabs a:hover,.staff-tabs a[aria-current="page"]{border-color:#d5e2ed;background:#eaf2f8;color:#174b71}.staff-layout{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(0,1.5fr);gap:14px;align-items:start}.staff-review-card{margin:10px 0;padding:13px;border:1px solid #e1e7ee;border-radius:10px;background:#fbfcfe}.staff-review-card p{font-size:12px;line-height:1.55}.staff-review-card small{color:#77869a;font-size:10px}.staff-review-card .section-title{margin-bottom:6px}.staff-layout .panel>h2{margin-bottom:9px}
@media(max-width:850px){.staff-layout{grid-template-columns:1fr}}

.homepage-display-list{display:grid;gap:10px;margin:18px 0}.homepage-display-row{display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:12px;align-items:center;padding:15px 16px;border:1px solid #dce5ed;border-radius:12px;background:linear-gradient(135deg,#fff,#f8fafc);cursor:pointer}.homepage-display-row:hover{border-color:#a9bfd2;box-shadow:0 5px 18px rgba(25,55,84,.08)}.homepage-display-row input{width:18px;height:18px;accent-color:#174877}.homepage-display-row span{display:grid;gap:4px}.homepage-display-row b{color:#193957;font-size:13px}.homepage-display-row small{color:#6a7c90;font-size:11px;line-height:1.5}.homepage-display-row em{font-size:10px;font-style:normal;font-weight:700;color:#557087}.homepage-display-row:has(input:not(:checked)){background:#f4f6f8;opacity:.78}@media(max-width:600px){.homepage-display-row{grid-template-columns:22px minmax(0,1fr)}.homepage-display-row em{grid-column:2}}
.broadcast-compose{margin-top:14px}.provider-grid{margin:12px 0}.broadcast-student-picker{border:1px solid #dfe6ee;border-radius:10px;padding:12px;margin:12px 0;background:#f9fbfd}.broadcast-student-list{max-height:260px;overflow:auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:4px;margin-top:8px}.broadcast-student-row{display:flex;gap:9px;align-items:center;padding:8px;border:1px solid #e8edf2;border-radius:8px;background:#fff}.broadcast-student-row input,.broadcast-select-all input,.broadcast-consent input,.broadcast-channels input{width:auto}.broadcast-student-row span{display:flex;flex-direction:column;gap:3px}.broadcast-student-row small{font-size:10px;color:#758397;font-weight:500}.broadcast-select-all,.broadcast-consent{display:flex;align-items:flex-start;gap:9px;padding:10px;border-radius:9px;background:#f2f6fa;color:#304357;font-weight:600}.broadcast-channels{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.broadcast-channels>label{display:inline-flex;gap:7px;align-items:center;margin:0}.broadcast-consent{max-width:900px;font-size:12px}.broadcast-class-field[hidden],.broadcast-student-picker[hidden]{display:none}@media(max-width:650px){.broadcast-student-list{grid-template-columns:1fr}.provider-grid{grid-template-columns:1fr}}

.academic-rank-hint{display:block;margin-top:4px;color:#345d85;font-size:.72rem;font-weight:650;white-space:nowrap}.academic-summary[aria-label='Class and form rankings']{margin-top:14px}.academic-summary[aria-label='Class and form rankings'] .academic-average-grade{font-size:.72em;font-weight:600}.academic-summary[aria-label='Class and form rankings'] .academic-summary-card b{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}

.academic-rank-section{padding:18px 0 4px;border-top:1px solid #dce4ec}.academic-rank-section>h3{margin:0 0 12px;color:#173451;font-size:1.05rem}.academic-rank-section>h4{margin:18px 0 9px;color:#334c63;font-size:.9rem}.academic-rank-table{width:100%;min-width:620px;border-collapse:separate;border-spacing:0;background:#fff;font-variant-numeric:tabular-nums}.academic-rank-table thead th{padding:11px 13px;background:#16324a;color:#fff;text-align:left;font-size:.75rem;letter-spacing:.025em;font-weight:750}.academic-rank-table thead th:first-child{border-radius:9px 0 0 0}.academic-rank-table thead th:last-child{border-radius:0 9px 0 0}.academic-rank-table tbody td,.academic-rank-table tbody th{padding:10px 13px;border-bottom:1px solid #e6ebf0;background:#fff;color:#263d53;text-align:left;font-size:.82rem}.academic-rank-table tbody tr:nth-child(even) td,.academic-rank-table tbody tr:nth-child(even) th{background:#f7f9fb}.academic-rank-table tbody tr:hover td,.academic-rank-table tbody tr:hover th{background:#f0f5f9}.academic-rank-table tbody th{font-weight:700}.academic-rank-table tbody td>b{display:inline-grid;min-width:30px;height:30px;place-items:center;border-radius:8px;background:#fff5d8;color:#805e06;font-size:.95rem}.academic-rank-table tbody td>span{margin-left:5px;color:#6a7c8e;font-size:.75rem}.academic-rank-table tbody td>small{display:block;margin-top:3px;color:#758597;font-size:.72rem}.academic-rank-section>.small{margin:10px 0;color:#63758a;line-height:1.5}.academic-rank-hint{display:block;margin-top:4px;color:#345d85;font-size:.72rem;font-weight:650;white-space:nowrap}
@media(max-width:650px){.academic-rank-table tbody td,.academic-rank-table tbody th{padding:8px 9px}.academic-rank-section{padding-top:14px}}
@media print{.academic-rank-table{min-width:0;font-size:8pt}.academic-rank-table thead th{background:#16324a!important;color:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.academic-rank-table tbody td,.academic-rank-table tbody th{padding:6px 8px}.academic-rank-table tbody td>b{background:#fff5d8!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}}
.academic-matrix-wrap{max-width:100%}.academic-rank-legend{display:flex;align-items:center;gap:7px;padding:8px 12px;background:#f4f7fa;border-bottom:1px solid #dbe4ec;color:#40556b;font-size:.72rem}.academic-rank-legend b{color:#173451}.academic-rank-legend i{padding:0 3px;color:#a1adba;font-style:normal}.academic-mark-rank{display:flex;align-items:center;justify-content:space-between;gap:7px;min-width:0}.academic-mark-value{display:grid;gap:2px}.academic-cell-rank{flex:0 0 auto;color:#52677d;font-size:.66rem;font-weight:650;white-space:nowrap;font-variant-numeric:tabular-nums}.academic-rank-summary{margin:12px 0 4px;padding:12px 14px;border:1px solid #dce4ec;border-radius:11px;background:linear-gradient(140deg,#fff,#f7f9fb)}.academic-rank-summary-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:8px}.academic-rank-summary-head h3{margin:0;color:#173451;font-size:.9rem}.academic-rank-summary-head>span{color:#5b7188;font-size:.7rem}.academic-rank-table{min-width:0!important;width:min(100%,510px);border-collapse:collapse;font-variant-numeric:tabular-nums}.academic-rank-table thead th{padding:7px 9px;background:#eaf0f5;color:#314d67;text-align:left;font-size:.68rem;font-weight:750}.academic-rank-table thead th:first-child{border-radius:6px 0 0 0}.academic-rank-table thead th:last-child{border-radius:0 6px 0 0}.academic-rank-table tbody td{padding:6px 9px;border-bottom:1px solid #e5eaf0;background:transparent;color:#2e455c;font-size:.74rem}.academic-rank-table tbody td:first-child{font-weight:650}.academic-rank-table tbody td>b{display:inline;color:#173451;font-size:.82rem}.academic-rank-table tbody td>span{margin-left:2px;color:#667a8e;font-size:.7rem}.academic-rank-table tbody td>small{display:inline;margin-left:5px;color:#758597;font-size:.68rem}.academic-rank-summary>.tablewrap{overflow-x:auto}.academic-rank-summary>.tablewrap>p{margin:7px 0 0;color:#66788b;font-size:.68rem;line-height:1.45}.academic-rank-section{padding:0;border:0}.academic-rank-section>h3,.academic-rank-section>h4{margin:0}
@media(max-width:650px){.academic-mark-rank{align-items:flex-start;flex-direction:column;gap:2px}.academic-cell-rank{font-size:.64rem}.academic-rank-summary{padding:10px}.academic-rank-table{width:100%}}
@media print{.academic-rank-legend{background:#f4f7fa!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.academic-mark-rank{gap:4px}.academic-cell-rank{font-size:7pt}.academic-rank-summary{break-inside:avoid;padding:8px}.academic-rank-table{width:100%;max-width:510px}}
.academic-matrix{width:100%;min-width:660px;table-layout:fixed}.academic-matrix th,.academic-matrix td{min-width:0;width:88px;padding:8px 7px}.academic-matrix thead tr:first-child th{height:34px;padding:7px 6px;background:#16324a;color:#fff;font-weight:750}.academic-matrix thead tr:nth-child(2) th{top:34px;min-width:82px;background:#eaf0f5;color:#29445e;font-size:.72rem;line-height:1.25}.academic-matrix thead tr:nth-child(2) th>span{display:block}.academic-matrix thead tr:nth-child(2) th>small{display:block;margin-top:3px;color:#728297;font-size:.62rem;font-weight:650}.academic-matrix thead tr:first-child th:first-child{width:158px;min-width:158px}.academic-matrix tbody th[scope="row"]{width:158px;min-width:158px;max-width:158px;padding:8px 10px;white-space:normal;overflow-wrap:anywhere;font-size:.79rem}.academic-matrix tbody td{font-size:.75rem}.academic-mark-rank{align-items:flex-start;flex-direction:column;gap:2px}.academic-cell-rank{font-size:.62rem;line-height:1.2;color:#64788c}.academic-mark-value{font-size:.76rem}.academic-mark-value .academic-result-detail,.academic-mark-value .academic-change{font-size:.65rem;line-height:1.2}.academic-matrix-wrap{max-width:100%;max-height:62vh}.academic-rank-legend{padding:6px 10px;font-size:.67rem}
@media(max-width:650px){.academic-matrix{min-width:620px}.academic-matrix thead tr:first-child th:first-child,.academic-matrix tbody th[scope="row"]{width:135px;min-width:135px;max-width:135px}.academic-matrix th,.academic-matrix td{width:78px;padding:7px 5px}.academic-matrix thead tr:nth-child(2) th{min-width:74px}.academic-mark-rank{gap:2px}}
@media print{.academic-matrix{width:100%;min-width:0;table-layout:fixed}.academic-matrix th,.academic-matrix td{width:auto;min-width:0;padding:4px}.academic-matrix thead tr:nth-child(2) th{top:auto}.academic-matrix thead tr:first-child th:first-child,.academic-matrix tbody th[scope="row"]{width:125px;min-width:125px;max-width:125px}.academic-cell-rank{font-size:6.5pt}}
/* Transcript assessment groups: marks, grade and ranks stay in separate compact columns. */
.academic-matrix{width:max-content;min-width:100%;table-layout:fixed;font-variant-numeric:tabular-nums}.academic-matrix th,.academic-matrix td{box-sizing:border-box;min-width:0;padding:7px 5px;text-align:center}.academic-matrix .academic-subject-heading,.academic-matrix tbody th[scope="row"]{position:sticky;left:0;width:142px;min-width:142px;max-width:142px;text-align:left}.academic-matrix thead tr:nth-child(2) th{top:34px}.academic-matrix thead tr:nth-child(3) th{position:sticky;top:76px;z-index:3;background:#f3f6f9;color:#40556b;font-size:.64rem;line-height:1.15}.academic-matrix thead tr:nth-child(2) .academic-assessment-heading{min-width:0;background:#eaf0f5;color:#29445e;font-size:.7rem;line-height:1.2}.academic-assessment-heading>span,.academic-assessment-heading>small{display:block}.academic-assessment-heading>small{margin-top:2px;color:#728297;font-size:.59rem;font-weight:650}.academic-matrix .academic-col-mark{width:58px;min-width:58px}.academic-matrix .academic-col-grade{width:52px;min-width:52px}.academic-matrix .academic-col-class,.academic-matrix .academic-col-form{width:62px;min-width:62px}.academic-matrix .academic-mark-cell,.academic-matrix .academic-grade-cell{font-size:.73rem}.academic-matrix .academic-position-cell{font-size:.69rem;white-space:nowrap}.academic-position-cell>b{font-weight:750;color:#263e56}.academic-position-cell>small{margin-left:2px;color:#718195;font-size:.61rem}.academic-matrix .academic-missing{text-align:center;font-size:.68rem}.academic-matrix tbody tr:nth-child(even) td{background:#fafbfd}.academic-matrix tbody tr:hover td{background:#f0f5f9}.academic-matrix-wrap{max-height:62vh}.academic-result-detail{white-space:normal;font-size:.61rem}
@media(max-width:650px){.academic-matrix .academic-subject-heading,.academic-matrix tbody th[scope="row"]{width:120px;min-width:120px;max-width:120px}.academic-matrix .academic-col-mark{width:52px;min-width:52px}.academic-matrix .academic-col-grade{width:46px;min-width:46px}.academic-matrix .academic-col-class,.academic-matrix .academic-col-form{width:54px;min-width:54px}.academic-matrix th,.academic-matrix td{padding:6px 3px}.academic-matrix thead tr:nth-child(3) th{font-size:.58rem}}
@media print{.academic-matrix{width:100%;min-width:0;table-layout:fixed}.academic-matrix .academic-subject-heading,.academic-matrix tbody th[scope="row"]{position:static;width:13%;min-width:13%;max-width:13%}.academic-matrix .academic-col-mark,.academic-matrix .academic-col-grade,.academic-matrix .academic-col-class,.academic-matrix .academic-col-form{width:auto;min-width:0}.academic-matrix th,.academic-matrix td{padding:3px 2px;font-size:6.5pt}.academic-matrix thead tr:nth-child(2) th,.academic-matrix thead tr:nth-child(3) th{position:static}.academic-matrix-wrap{max-height:none;overflow:visible}}
/* Term aggregate transcript headers and editable exam contributions. */
.academic-matrix thead tr:nth-child(2) th{top:34px}.academic-matrix thead tr:nth-child(3) th{top:75px;z-index:3}.academic-matrix thead tr:nth-child(4) th{position:sticky;top:112px;z-index:4;background:#f7f9fb;color:#4b6074;font-size:.6rem;line-height:1.1}.academic-matrix thead tr:nth-child(3) .academic-component-heading,.academic-matrix thead tr:nth-child(3) .academic-term-result-heading,.academic-matrix thead tr:nth-child(3) .academic-assessment-subheading{background:#eaf0f5;color:#29445e;font-size:.66rem;line-height:1.15}.academic-component-heading>small{display:block;margin-top:3px;color:#7b6a35;font-size:.58rem}.academic-term-mark{background:#f5f8fc!important;font-weight:650}.academic-term-mark .academic-result-detail{font-weight:500}.exam-weight-form{display:flex;align-items:center;gap:4px;min-width:125px}.exam-weight-form input{width:58px;padding:6px 5px;text-align:right}.exam-weight-form .btn{padding:6px 7px;font-size:10px}.exam-schedule-form .field{min-width:145px}
@media(max-width:650px){.academic-matrix thead tr:nth-child(4) th{font-size:.55rem;top:105px}.academic-matrix thead tr:nth-child(3) .academic-component-heading,.academic-matrix thead tr:nth-child(3) .academic-term-result-heading{font-size:.58rem}}
.academic-term-summary,.academic-annual-summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;padding:10px 12px;border:1px solid #dce4ec;border-top:0;background:#f8fafc;color:#40556b;font-size:.7rem}.academic-term-summary>strong,.academic-annual-summary>strong{color:#173451;font-size:.73rem}.academic-term-summary>span,.academic-annual-summary>span{display:flex;align-items:baseline;gap:4px}.academic-term-summary small,.academic-annual-summary small{color:#697c8e}.academic-annual-summary{margin:14px 0 18px;border:1px solid #d8e2ec;border-radius:9px;background:linear-gradient(110deg,#eef4f8,#fbfcfd)}.academic-annual-summary>strong{font-size:.8rem}.academic-annual-summary>small{flex-basis:100%}.promotion-academic-indicator{display:flex;flex-wrap:wrap;gap:6px 16px;margin:8px 0 12px;padding:10px 12px;border-left:3px solid #d2ad37;border-radius:5px;background:#f5f8fb;color:#40556b;font-size:.74rem}.promotion-academic-indicator>b{color:#173451}.promotion-academic-indicator span{font-variant-numeric:tabular-nums}
@media print{.academic-matrix thead tr:nth-child(2) th,.academic-matrix thead tr:nth-child(3) th,.academic-matrix thead tr:nth-child(4) th{position:static;top:auto}}
.academic-year-results{margin:14px 0 20px}.academic-year-heading{margin:0 0 8px;padding:8px 11px;border-radius:8px;background:#16324a;color:#fff;font-size:.84rem;letter-spacing:.02em}.academic-term-block{margin:8px 0 12px}.academic-term-block>h4{margin:0;padding:8px 11px;border:1px solid #dce4ec;border-bottom:0;border-radius:9px 9px 0 0;background:#edf3f7;color:#23425d;font-size:.76rem}.academic-term-na{padding:10px 12px;border:1px solid #e4e9ef;border-radius:0 0 9px 9px;background:#fbfcfd;color:#6b7c8d;font-size:.73rem}.academic-term-table{width:max-content;min-width:100%;table-layout:fixed}.academic-term-table .academic-component-heading,.academic-term-table .academic-term-result-heading{font-size:.69rem;line-height:1.2}.academic-term-table .academic-component-heading small{display:block;margin-top:3px;color:#d6e5f2;font-size:.59rem;font-weight:650}.academic-term-table .academic-term-result-heading{background:#1e4969!important}.academic-term-table thead tr:nth-child(2) th{position:sticky;top:34px;z-index:3}.academic-term-table .academic-subject-heading{width:142px;min-width:142px;max-width:142px}.academic-term-table .academic-col-mark{width:62px;min-width:62px}.academic-term-table .academic-col-grade{width:55px;min-width:55px}.academic-term-table .academic-col-class,.academic-term-table .academic-col-form{width:64px;min-width:64px}.academic-term-table .academic-term-mark{background:#f4f8fb;font-variant-numeric:tabular-nums}.academic-term-table .academic-term-mark>b{color:#16324a}.academic-term-block .academic-matrix-wrap{max-height:none;overflow-x:auto;overflow-y:visible;border-radius:0 0 9px 9px}.academic-other-assessments{margin:16px 0 22px}.academic-other-table{min-width:max-content}.academic-other-table thead tr:nth-child(2) th{top:34px}.academic-other-table thead tr:nth-child(3) th{top:76px}
.transcript-print-terms{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;margin-top:12px;padding:10px 12px;border:1px solid #dce4ec;border-radius:9px;background:#f8fafc;color:#40556b;font-size:.73rem}.transcript-print-terms>strong{color:#173451}.transcript-print-terms label{display:inline-flex;align-items:center;gap:5px}.transcript-print-terms input{accent-color:#b38b1b}.transcript-print-terms .small{margin:0}.transcript-print-terms button{margin-left:auto}
@media print{body.print-terms-1 .academic-term-block:not([data-term-number="1"]),body.print-terms-2 .academic-term-block:not([data-term-number="2"]),body.print-terms-3 .academic-term-block:not([data-term-number="3"]),body.print-terms-12 .academic-term-block:not([data-term-number="1"]):not([data-term-number="2"]),body.print-terms-13 .academic-term-block:not([data-term-number="1"]):not([data-term-number="3"]),body.print-terms-23 .academic-term-block:not([data-term-number="2"]):not([data-term-number="3"]){display:none!important}body:not(.print-terms-123) .academic-annual-summary{display:none!important}}

/* Form 1 entrance assessment */
.entrance-summary-panel,.entrance-entry-panel{border-color:#d8e4ee}.entrance-summary-panel .section-title{align-items:center}.entrance-confirmed{margin:16px 0 0;padding:16px;border:1px solid #e0e8f0;border-radius:14px;background:#fbfdff}.entrance-confirmed .tablewrap{margin:12px 0}.entrance-ocr-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:12px 0;padding:12px;border-radius:12px;background:#f3f7fb}.entrance-ocr-controls .small{flex:1;min-width:220px}.entrance-mark-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}.entrance-mark-row{padding:14px;border:1px solid #e1e8f0;border-radius:12px;background:#fff}.entrance-mark-row[hidden],[data-form1-number][hidden]{display:none}.entrance-mark-row>b{display:block;margin-bottom:8px;color:#163858}.entrance-mark-row .row{gap:10px}.entrance-mark-row .field{margin:0;flex:1;min-width:115px}.entrance-mark-row small{display:block;margin-top:6px;color:#596f84;line-height:1.45}.entrance-entry-panel textarea{min-height:100px}.entrance-entry-panel .admission-submit{gap:10px;flex-wrap:wrap}.entrance-entry-panel .admission-submit .small{flex:1;min-width:250px}
@media(max-width:700px){.entrance-mark-grid{grid-template-columns:1fr}.entrance-confirmed{padding:12px}.entrance-ocr-controls{align-items:flex-start;flex-direction:column}}
.form1-admission-results{margin:18px 0;padding:18px;border:1px solid #d8e4ee;border-radius:14px;background:linear-gradient(145deg,#f7fbff,#fff)}.form1-admission-results[hidden]{display:none}.form1-admission-results h3{display:flex;align-items:center;gap:10px;margin-top:0}.form1-admission-results .entrance-mark-grid{margin:12px 0}.form1-admission-results textarea{min-height:80px}.form1-admission-results .field{margin-bottom:10px}
.entrance-actions{display:flex;flex-wrap:wrap;gap:6px;min-width:290px}.entrance-actions .btn{white-space:nowrap}.entrance-actions+.small,.entrance-actions~small{display:block;margin-top:5px;max-width:300px}
.entrance-baseline-layout{display:grid;grid-template-columns:minmax(230px,.9fr) minmax(0,1.5fr);gap:16px;align-items:start}.entrance-source-preview{margin:0;padding:10px;border:1px solid #dce5ef;border-radius:12px;background:#fff}.entrance-source-preview img{display:block;width:100%;max-height:420px;object-fit:contain;border-radius:8px}.entrance-source-preview figcaption{padding:8px 2px 0;color:#61758a;font-size:.78rem;overflow-wrap:anywhere}.entrance-subject-results{min-width:0}.entrance-subject-results .tablewrap{margin:0}.entrance-subject-results td:first-child{font-weight:650}.entrance-subject-results td:nth-child(2){font-weight:750;color:#173f64}@media(max-width:760px){.entrance-baseline-layout{grid-template-columns:1fr}}

/* Human resources directory and individual staff profiles */
.staff-entry-hidden{display:none!important}.staff-layout:has(.staff-entry-hidden){grid-template-columns:minmax(0,1fr)}.staff-directory-panel{min-width:0}.staff-directory-panel .section-title{align-items:center}.staff-directory-panel .section-title p{margin:4px 0 0}.staff-directory-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0}.staff-directory-tools input[type=search]{flex:1 1 280px;max-width:560px}.staff-name-link{color:var(--ink,#193957);text-decoration:none}.staff-name-link:hover{text-decoration:underline;color:#1a5b8d}.staff-entry-details,.staff-number-details,.staff-profile-entry{margin:12px 0;padding:12px 14px;border:1px solid var(--line,#dbe4ed);border-radius:12px;background:var(--surface,#fff)}.staff-entry-details>summary,.staff-number-details>summary,.staff-profile-entry>summary{cursor:pointer;color:var(--ink,#193957);font-weight:700}.staff-entry-content,.staff-profile-entry form{padding-top:14px}.staff-profile-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;margin-bottom:12px;border:1px solid #dbe4ed;border-radius:15px;background:linear-gradient(120deg,#fff,#f3f7fb)}.staff-profile-head h2{margin:4px 0}.staff-profile-head p{margin:4px 0;color:var(--muted,#65778c)}.staff-profile-tabs{display:flex;gap:7px;overflow:auto;margin:0 0 14px;padding:0 0 9px;border-bottom:1px solid var(--line,#dbe4ed)}.staff-profile-tabs a{white-space:nowrap;padding:9px 13px;border:1px solid transparent;border-radius:10px;text-decoration:none;color:#40566d;font-weight:650;font-size:12px}.staff-profile-tabs a:hover,.staff-profile-tabs a[aria-current=page]{border-color:#d5e2ed;background:#eaf2f8;color:#174b71}.staff-profile-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin:12px 0 0}.staff-profile-details>div{padding:13px;border:1px solid var(--line,#dbe4ed);border-radius:10px;background:var(--surface,#fff)}.staff-profile-details dt{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted,#65778c)}.staff-profile-details dd{margin:5px 0 0;font-weight:650;color:var(--ink,#193957)}.staff-directory-table td{vertical-align:middle}.staff-directory-table .actions{flex-wrap:wrap}.staff-directory-table .actions form{margin:0}.staff-directory-table tr[hidden]{display:none!important}
@media(max-width:720px){.staff-profile-head{align-items:flex-start;flex-direction:column}.staff-directory-panel .section-title{align-items:flex-start;flex-direction:column}.staff-directory-table{min-width:850px}}
.dashboard-birthdays{margin:14px 0}.birthday-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:9px}.birthday-card{display:grid;grid-template-columns:minmax(85px,.65fr) minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;border:1px solid #e0e8ef;border-radius:12px;background:linear-gradient(135deg,#fff,#f8fbff)}.birthday-date,.birthday-person{display:flex;flex-direction:column;gap:3px}.birthday-date b{color:#8a6510}.birthday-date small,.birthday-person small{color:var(--muted,#65778c);font-size:11px}.birthday-person{min-width:0}.birthday-person b{overflow-wrap:anywhere}.birthday-kind{padding:4px 8px;border-radius:999px;background:#edf3f8;color:#435c72;font-size:10px;font-weight:700}.check-row{display:flex;align-items:flex-start;gap:8px;margin-top:12px;font-size:12px}.check-row input{width:auto;margin-top:2px}@media(max-width:540px){.birthday-list{grid-template-columns:1fr}.birthday-card{grid-template-columns:80px minmax(0,1fr) auto}}


/* Mobile navigation: expand section links in the page flow for touch screens. */
@media(max-width:650px){
      .appnav-inner{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:4px;padding:8px 12px;overflow:visible}
        .appnav-home,.nav-menu>summary{width:100%;min-height:44px;justify-content:space-between;padding:0 13px;font-size:13px}
          .nav-menu-panel{position:static;min-width:0;width:100%;margin:2px 0 8px;padding:4px;border-radius:10px;box-shadow:none;animation:none}
            .nav-menu-panel a{min-height:44px;padding:11px 12px;font-size:13px}
            }
            