:root{--green:#0b4f3c;--green-dark:#073b2d;--green-deep:#062f25;--green-soft:#eaf3ef;--green-pale:#f4f8f5;--gold:#c6a34a;--gold-soft:#f7f1df;--ink:#1f2d28;--muted:#75817b;--line:#e4eae6;--paper:#fff;--canvas:#f6f8f6;--danger:#b7463e;--shadow:0 12px 34px rgba(17,47,36,.08);font-family:Inter,"Segoe UI",system-ui,-apple-system,sans-serif;color:var(--ink);background:var(--canvas);font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html{min-width:320px;min-height:100%;background:var(--canvas)}body{margin:0;min-height:100vh;font-size:14px;line-height:1.5;color:var(--ink)}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{outline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(198,163,74,.62)}svg{display:block}.brand-lockup{display:flex;align-items:center;gap:11px;min-width:0;color:var(--green);text-decoration:none}.brand-symbol{width:43px;height:43px;flex:none;color:var(--green)}.brand-copy{display:flex;flex-direction:column;min-width:0}.brand-copy strong{font-family:Georgia,"Times New Roman",serif;font-size:19px;line-height:1.1;letter-spacing:-.35px}.brand-copy em{color:var(--gold);font-style:normal}.brand-copy small{margin-top:5px;color:#829087;font-size:10px;letter-spacing:.02em}.eyebrow{display:block;color:#849188;font-size:10px;font-weight:750;letter-spacing:.14em;line-height:1.4}.eyebrow-gold{color:#e4ce8c}.button{display:inline-flex;min-height:44px;align-items:center;justify-content:center;gap:12px;padding:0 18px;border:1px solid transparent;border-radius:9px;font-weight:650;cursor:pointer;transition:background-color .18s ease,transform .18s ease,border-color .18s ease}.button:hover{transform:translateY(-1px)}.button-primary{background:var(--green);color:#fff}.button-primary:hover{background:var(--green-dark)}.button-secondary{background:#fff;border-color:var(--line);color:var(--ink)}.button-secondary:hover{border-color:#b8c9bf;background:var(--green-pale)}.button-danger{background:#fff5f4;border-color:#f0d3d1;color:var(--danger)}.button-small{min-height:34px;padding:0 12px;border-radius:7px;font-size:12px}.button-full{width:100%;margin-top:8px}.text-link{color:var(--green);font-size:12px;font-weight:650}.text-link:hover{text-decoration:underline}.muted,.page-subtitle{color:var(--muted)}.field-error{display:block;margin-top:6px;color:var(--danger);font-size:12px}.flash{display:flex;align-items:center;gap:10px;margin:0 0 20px;padding:12px 15px;border:1px solid;border-radius:9px;font-size:13px}.flash-success{border-color:#cfe3d7;background:#f1f8f3;color:#2b6846}.flash-error{border-color:#f0d3d1;background:#fff5f4;color:#9e3934}.flash-check{display:grid;width:20px;height:20px;place-items:center;border-radius:50%;background:#d9eddf;font-size:12px;font-weight:800}.form-label{display:block;margin:0 0 7px;color:#37463e;font-size:12px;font-weight:680}.form-control,.form-select{width:100%;min-height:45px;padding:10px 12px;border:1px solid #dce4de;border-radius:8px;background:#fff;color:var(--ink);transition:border-color .16s,box-shadow .16s}.form-control::placeholder{color:#aab4ae}.form-control:focus,.form-select:focus{border-color:#78a08d;box-shadow:0 0 0 3px rgba(11,79,60,.09);outline:none}.field-help{display:block;margin-top:6px;color:var(--muted);font-size:11px}.field-group{margin-bottom:18px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.checkbox-row{display:flex;align-items:center;gap:9px;color:#56635c;font-size:12px}.checkbox-row input{width:16px;height:16px;accent-color:var(--green)}
/* Authentication */
.auth-body{display:flex;min-height:100vh;align-items:stretch;background:#fff}.auth-page{display:grid;width:100%;min-height:100vh;grid-template-columns:minmax(320px, .92fr) minmax(420px,1.08fr)}.auth-brand-panel{position:relative;display:flex;min-height:100vh;flex-direction:column;justify-content:space-between;overflow:hidden;padding:46px clamp(32px,6vw,90px);background:linear-gradient(145deg,var(--green) 0%,#0a4635 58%,var(--green-dark) 100%);color:#fff}.auth-brand-panel:before,.auth-brand-panel:after{position:absolute;content:"";pointer-events:none}.auth-brand-panel:before{top:34%;right:-170px;width:460px;height:460px;border:1px solid rgba(255,255,255,.09);border-radius:50%;box-shadow:0 0 0 32px rgba(255,255,255,.025),0 0 0 72px rgba(255,255,255,.018)}.auth-brand-panel:after{right:10%;bottom:15%;width:140px;height:140px;border:1px solid rgba(198,163,74,.34);transform:rotate(45deg)}.brand-lockup-light{position:relative;z-index:1;color:#fff}.brand-lockup-light .brand-symbol{color:#fff}.brand-lockup-light .brand-copy small{color:#d5e4dc}.auth-brand-message{position:relative;z-index:1;max-width:465px;margin:auto 0;padding:90px 0}.auth-brand-message h1{margin:17px 0 16px;font-family:Georgia,"Times New Roman",serif;font-size:clamp(42px,5.1vw,70px);font-weight:500;letter-spacing:-1.5px;line-height:1.08}.auth-brand-message p{max-width:365px;margin:0;color:#d2e2d9;font-size:15px;line-height:1.8}.unit-chips{display:flex;gap:9px;margin-top:31px}.unit-chips span{padding:7px 12px;border:1px solid rgba(255,255,255,.25);border-radius:5px;color:#f2df9c;font-size:11px;font-weight:750;letter-spacing:.08em}.auth-panel-footer{position:relative;z-index:1;color:#b7d0c3;font-size:11px}.auth-form-panel{display:flex;flex-direction:column;justify-content:center;padding:54px 7vw 26px}.auth-form-wrap{width:min(100%,410px);margin:0 auto}.auth-heading{margin-bottom:28px}.auth-heading-spaced{margin-top:28px}.auth-heading h2{margin:10px 0 8px;font-family:Georgia,"Times New Roman",serif;font-size:31px;font-weight:500;letter-spacing:-.45px}.auth-heading p{margin:0;color:var(--muted);font-size:13px;line-height:1.65}.auth-form .form-label{margin-top:16px}.auth-form>.form-label:first-child{margin-top:0}.auth-form .form-control{margin-bottom:3px}.label-row{display:flex;align-items:center;justify-content:space-between;margin-top:19px}.label-row .form-label{margin:0}.auth-form .checkbox-row{margin:15px 0 21px}.auth-note{margin:21px 0 0;color:#8a948e;text-align:center;font-size:11px;line-height:1.6}.auth-copyright{margin:38px 0 0;color:#9ca69f;text-align:center;font-size:10px}.back-link{display:inline-block;color:#68756d;font-size:12px}.back-link:hover{color:var(--green)}
/* Application shell */
.app-body{display:flex;min-height:100vh;background:var(--canvas)}.sidebar{position:fixed;z-index:30;inset:0 auto 0 0;display:flex;width:258px;flex-direction:column;padding:24px 16px 17px;background:#fff;border-right:1px solid var(--line)}.sidebar>.brand-lockup{padding:2px 9px 25px}.sidebar-section-label{padding:12px 12px 8px;color:#9aa59e;font-size:9px;font-weight:780;letter-spacing:.14em}.main-nav{display:flex;flex-direction:column;gap:3px}.nav-link{display:flex;min-height:43px;align-items:center;gap:12px;padding:0 12px;border-radius:8px;color:#647169;font-size:12px;font-weight:610;transition:background .15s,color .15s}.nav-link svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.nav-link:hover{background:var(--green-pale);color:var(--green)}.nav-link.active{background:#e9f2ed;color:var(--green);font-weight:740}.sidebar-unit-block{margin-top:20px}.unit-nav-item{display:flex;min-height:35px;align-items:center;gap:9px;padding:0 12px;color:#45534b;font-size:11px;font-weight:720}.unit-dot,.status-dot{width:7px;height:7px;border-radius:50%;background:#51a277;box-shadow:0 0 0 3px #e4f2e9}.unit-nav-item small{margin-left:auto;color:#96a099;font-size:10px;font-weight:500}.sidebar-empty{padding:0 12px;color:#9aa59e;font-size:11px}.sidebar-bottom{margin-top:auto;padding:16px 11px 2px;border-top:1px solid #edf0ed}.sidebar-foundation{color:#66736c;font-size:11px;font-weight:650;line-height:1.55}.sidebar-tagline{margin-top:5px;color:#a0aaa3;font-family:Georgia,"Times New Roman",serif;font-size:11px;font-style:italic}.app-main{display:flex;min-height:100vh;flex:1;flex-direction:column;margin-left:258px}.topbar{position:sticky;z-index:20;top:0;display:flex;height:70px;align-items:center;justify-content:space-between;padding:0 clamp(22px,4vw,54px);border-bottom:1px solid var(--line);background:rgba(255,255,255,.94);backdrop-filter:blur(12px)}.topbar-context{display:flex;align-items:center;gap:10px;color:#75817a;font-size:12px}.topbar-context-label{color:var(--green);font-weight:720}.topbar-separator{color:#c1c9c3}.topbar-user{display:flex;align-items:center;gap:10px}.user-avatar{display:grid;width:34px;height:34px;place-items:center;border-radius:50%;background:#e7f0eb;color:var(--green);font-size:13px;font-weight:750}.topbar-user-copy{display:flex;min-width:120px;flex-direction:column}.topbar-user-copy strong{font-size:11px;font-weight:680}.topbar-user-copy span{margin-top:2px;color:#8c9790;font-size:10px}.logout-button{display:grid;width:35px;height:35px;place-items:center;border:1px solid transparent;border-radius:8px;background:transparent;color:#829088;cursor:pointer}.logout-button:hover{border-color:var(--line);background:var(--green-pale);color:var(--green)}.logout-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.page-content{width:min(100%,1450px);flex:1;margin:0 auto;padding:34px clamp(22px,4vw,54px) 44px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:26px}.page-heading h1{margin:8px 0 5px;font-family:Georgia,"Times New Roman",serif;font-size:30px;font-weight:500;letter-spacing:-.45px}.page-subtitle{margin:0;font-size:12px}.status-pill{display:inline-flex;align-items:center;gap:8px;padding:8px 11px;border:1px solid #dceae0;border-radius:99px;background:#f5faf6;color:#52715d;font-size:10px;font-weight:700}.status-pill .status-dot{width:6px;height:6px}.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:19px}.stat-card{position:relative;display:flex;min-height:165px;flex-direction:column;align-items:flex-start;padding:18px 19px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 2px 6px rgba(17,47,36,.025)}.stat-icon{display:grid;width:36px;height:36px;place-items:center;margin-bottom:13px;border-radius:10px}.stat-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.stat-icon-green{background:#e8f2ec;color:var(--green)}.stat-icon-gold{background:var(--gold-soft);color:#a88430}.stat-icon-soft{background:#eff2f0;color:#6f8176}.stat-label{color:#77837b;font-size:11px}.stat-value{margin-top:2px;color:var(--ink);font-size:29px;font-weight:730;letter-spacing:-1px;line-height:1.2}.stat-value-text{font-size:22px}.stat-foot{margin-top:7px;color:#98a39b;font-size:10px}.content-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:16px}.panel-card{min-width:0;padding:20px;border:1px solid var(--line);border-radius:12px;background:#fff}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:15px}.panel-heading h2{margin:4px 0 0;font-family:Georgia,"Times New Roman",serif;font-size:20px;font-weight:500}.panel-heading .brand-symbol{width:38px;height:38px}.panel-count{padding:5px 9px;border-radius:99px;background:var(--green-pale);color:var(--green);font-size:10px;font-weight:700}.unit-list-card{display:flex;flex-direction:column}.unit-card-row{display:flex;min-height:63px;align-items:center;gap:12px;border-top:1px solid #edf0ed}.unit-emblem{display:grid;width:35px;height:35px;place-items:center;border-radius:9px;background:#edf4ef;color:var(--green);font-family:Georgia,"Times New Roman",serif;font-size:16px;font-weight:700}.unit-card-copy{display:flex;min-width:0;flex:1;flex-direction:column}.unit-card-copy strong{font-size:12px;letter-spacing:.025em}.unit-card-copy span{overflow:hidden;margin-top:2px;color:#8a958e;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.level-tag{padding:4px 8px;border:1px solid #e8ece9;border-radius:5px;color:#77837b;font-size:9px}.foundation-card{background:linear-gradient(150deg,#fff 0%,#fbfcfb 100%)}.foundation-tagline{margin:8px 0 14px;color:#8e7534;font-family:Georgia,"Times New Roman",serif;font-size:14px;font-style:italic;line-height:1.55}.foundation-divider{width:38px;height:2px;background:var(--gold)}.foundation-description{margin:14px 0 17px;color:#77837b;font-size:11px;line-height:1.7}.inline-action{display:inline-flex;align-items:center;gap:9px;color:var(--green);font-size:11px;font-weight:730}.inline-action:hover{text-decoration:underline}.role-note{color:#869189;font-size:10px;line-height:1.6}.empty-state{padding:28px 12px;text-align:center;color:#89948d;font-size:11px}.empty-icon{display:block;margin-bottom:7px;color:#bdc7c0;font-size:24px}.page-footer{display:flex;justify-content:space-between;padding:16px clamp(22px,4vw,54px);border-top:1px solid var(--line);color:#9aa49d;font-size:10px}.menu-toggle{display:none}.app-overlay{display:none}
/* Tables and account forms */
.list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:15px}.filter-form{display:flex;align-items:center;gap:8px}.filter-form .form-control,.filter-form .form-select{min-height:38px;font-size:11px}.search-control{width:min(270px,34vw)}.filter-form .form-select{width:150px}.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:9px}.data-table{width:100%;border-collapse:collapse;white-space:nowrap}.data-table th{padding:11px 14px;background:#f8faf8;color:#8a968e;text-align:left;font-size:9px;font-weight:760;letter-spacing:.08em;text-transform:uppercase}.data-table td{padding:12px 14px;border-top:1px solid #edf0ed;color:#56635b;font-size:11px}.data-table tbody tr:hover{background:#fbfcfb}.table-primary{display:block;color:#26362e;font-size:11px;font-weight:690}.table-secondary{display:block;margin-top:3px;color:#98a29b;font-size:10px}.role-badge{display:inline-flex;padding:4px 8px;border-radius:99px;background:#eef4f0;color:#426753;font-size:9px;font-weight:720}.role-badge.admin{background:#f7f1df;color:#876a27}.status-badge{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:650}.status-badge:before{width:6px;height:6px;border-radius:50%;background:#45a16d;content:""}.status-badge.inactive:before{background:#bd6b64}.status-badge.inactive{color:#9c6864}.table-actions{display:flex;align-items:center;gap:7px}.table-action{display:inline-flex;min-height:30px;align-items:center;justify-content:center;padding:0 9px;border:1px solid var(--line);border-radius:6px;background:#fff;color:#526057;font-size:10px;font-weight:650;cursor:pointer}.table-action:hover{border-color:#b5c7bb;color:var(--green)}.table-action.danger{color:var(--danger)}.pagination{display:flex;align-items:center;justify-content:space-between;margin-top:14px;color:#869189;font-size:10px}.pagination-actions{display:flex;gap:6px}.pagination-link{display:grid;min-width:29px;height:29px;place-items:center;padding:0 7px;border:1px solid var(--line);border-radius:6px;background:#fff;color:#57645c;font-size:10px}.pagination-link[aria-current="page"]{border-color:var(--green);background:var(--green);color:#fff}.pagination-link[aria-disabled="true"]{opacity:.45;pointer-events:none}.form-panel{max-width:760px;padding:23px;border:1px solid var(--line);border-radius:12px;background:#fff}.form-panel-heading{margin-bottom:22px;padding-bottom:16px;border-bottom:1px solid #edf0ed}.form-panel-heading h2{margin:0 0 5px;font-family:Georgia,"Times New Roman",serif;font-size:21px;font-weight:500}.form-panel-heading p{margin:0;color:var(--muted);font-size:11px}.form-panel .field-group{margin-bottom:17px}.unit-checkboxes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.unit-choice{display:flex;align-items:center;gap:8px;padding:11px 12px;border:1px solid var(--line);border-radius:8px;color:#59665e;font-size:11px}.unit-choice:has(input:checked){border-color:#a9c2b2;background:#f5faf6;color:var(--green)}.unit-choice input{accent-color:var(--green)}.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px;padding-top:18px;border-top:1px solid #edf0ed}.form-section-note{margin:6px 0 0;color:#8e9992;font-size:10px}.empty-table{padding:40px 20px;text-align:center;color:#89948d;font-size:12px}
.panel-title{margin:4px 0 0;font-family:Georgia,"Times New Roman",serif;font-size:20px;font-weight:500}.table-unit-list{color:#526057;font-size:10px}
@media(max-width:1100px){.sidebar{width:230px}.app-main{margin-left:230px}.content-grid{grid-template-columns:minmax(0,1.1fr) minmax(260px,.9fr)}.stat-card{padding:16px}.page-content{padding-top:28px}}@media(max-width:820px){.auth-page{grid-template-columns:1fr}.auth-brand-panel{min-height:245px;padding:22px 25px}.auth-brand-panel:before{top:-210px;right:-80px}.auth-brand-panel:after{right:9%;bottom:-33px;width:90px;height:90px}.auth-brand-message{margin:18px 0 0;padding:0 0 14px}.auth-brand-message h1{margin:9px 0 7px;font-size:38px}.auth-brand-message p{max-width:500px;font-size:12px}.auth-brand-panel>.brand-lockup .brand-symbol{width:37px;height:37px}.auth-brand-panel>.brand-lockup .brand-copy strong{font-size:17px}.auth-panel-footer{display:none}.auth-form-panel{padding:36px 24px 25px}.auth-form-wrap{max-width:440px}.auth-copyright{margin-top:28px}.sidebar{z-index:50;width:270px;transform:translateX(-102%);transition:transform .2s ease;box-shadow:none}.sidebar.open{transform:translateX(0);box-shadow:12px 0 35px rgba(9,35,25,.15)}.app-overlay.open{position:fixed;z-index:40;inset:0;display:block;background:rgba(13,29,21,.36)}.app-main{margin-left:0}.topbar{height:62px;padding:0 18px}.menu-toggle{display:flex;width:36px;height:36px;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--line);border-radius:8px;background:#fff;cursor:pointer}.menu-toggle span{width:15px;height:1.5px;border-radius:2px;background:#53645a}.topbar-context{margin-right:auto;margin-left:12px}.topbar-user-copy{display:none}.page-content{padding:25px 18px 35px}.page-heading{align-items:flex-start}.page-heading h1{font-size:27px}.status-pill{margin-top:4px}.stat-grid{gap:10px}.stat-card{min-height:152px;padding:14px}.content-grid{grid-template-columns:1fr}.page-footer{padding:14px 18px}}@media(max-width:560px){.auth-brand-panel{min-height:215px;padding:17px 19px}.auth-brand-message h1{font-size:33px}.auth-brand-message p{max-width:290px;font-size:11px}.auth-form-panel{padding:31px 20px 20px}.auth-heading h2{font-size:27px}.topbar{padding:0 13px}.topbar-context{gap:7px;font-size:10px}.topbar-user{gap:7px}.logout-button{width:31px;height:31px}.page-content{padding:22px 14px 30px}.page-heading{display:block;margin-bottom:19px}.status-pill{margin-top:14px}.page-heading h1{font-size:25px}.stat-grid{grid-template-columns:1fr 1fr}.stat-card{min-height:149px;padding:12px}.stat-grid .stat-card:last-child:nth-child(odd){grid-column:1/-1;min-height:130px}.stat-value{font-size:25px}.stat-foot{font-size:9px}.panel-card{padding:16px}.page-footer{padding:12px 14px;font-size:9px}.list-toolbar{align-items:stretch;flex-direction:column}.list-toolbar>.button{width:100%}.filter-form{display:grid;grid-template-columns:1fr 130px}.search-control{width:100%}.form-row{grid-template-columns:1fr;gap:0}.form-panel{padding:17px}.unit-checkboxes{grid-template-columns:1fr}.pagination{align-items:flex-start;gap:10px;flex-direction:column}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Audit activity */
.audit-filter-form{flex-wrap:wrap}.audit-event-chip{display:inline-flex;max-width:220px;align-items:center;padding:4px 8px;border:1px solid #e4ece6;border-radius:99px;background:#f5faf6;color:#436852;font-size:10px;font-weight:700}.audit-ip{color:#7e8a82!important;font-variant-numeric:tabular-nums}@media(max-width:680px){.audit-filter-form{width:100%}.audit-filter-form .search-control{width:100%}.audit-filter-form .form-select{width:auto;min-width:150px;flex:1}.audit-filter-form .button{flex:none}}

/* Master data and academic modules */
.sidebar-nav-group{padding:12px 12px 6px;color:#9aa59e;font-size:9px;font-weight:780;letter-spacing:.14em}.main-nav{overflow-y:auto;overscroll-behavior:contain}.content-card{margin-bottom:18px;padding:20px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 2px 6px rgba(17,47,36,.025)}.content-card h2,.panel-title{margin:0 0 13px;font-family:Georgia,"Times New Roman",serif;font-size:20px;font-weight:500}.content-card p{color:var(--muted);font-size:12px;line-height:1.65}.content-card table{width:100%;border-collapse:collapse}.content-card th{padding:11px 13px;background:#f8faf8;color:#89948d;text-align:left;font-size:9px;letter-spacing:.08em;text-transform:uppercase}.content-card td{padding:11px 13px;border-top:1px solid #edf0ed;color:#56635b;font-size:11px}.content-card input:not([type=checkbox]),.content-card select,.content-card textarea{width:100%;min-height:42px;padding:9px 11px;border:1px solid #dce4de;border-radius:8px;background:#fff;color:var(--ink)}.content-card input[type=checkbox]{accent-color:var(--green)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;align-items:end}.form-grid label{display:flex;flex-direction:column;gap:6px;color:#37463e;font-size:11px;font-weight:650}.form-grid label:has(input[type=checkbox]){flex-direction:row;align-items:center}.form-grid button,.content-card button{min-height:40px;padding:0 14px;border:1px solid transparent;border-radius:8px;background:var(--green);color:#fff;font-weight:650;cursor:pointer}.content-card button:hover,.form-grid button:hover{background:var(--green-dark)}.content-card .button-secondary,.module-actions .button-secondary{border-color:var(--line);background:#fff;color:#526057}.content-card .button-secondary:hover,.module-actions .button-secondary:hover{border-color:#b5c7bb;background:var(--green-pale);color:var(--green)}.module-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:0 0 15px}.module-actions form{display:flex;align-items:center;gap:8px}.module-actions input[type=file]{max-width:230px;padding:6px;border:1px solid var(--line);border-radius:7px;background:#fff;color:#59665e;font-size:10px}.empty-table{padding:25px;text-align:center;color:#89948d;font-size:11px}.content-card .pagination{gap:12px}.content-card ul{padding-left:20px;color:#56635b;font-size:11px;line-height:1.9}
@media(max-width:900px){.form-grid{grid-template-columns:1fr 1fr}.module-actions form{flex-wrap:wrap}}
@media(max-width:640px){.content-card{padding:15px}.form-grid{grid-template-columns:1fr}.module-actions{align-items:stretch}.module-actions form{width:100%}.module-actions input[type=file]{flex:1;min-width:0}.list-toolbar{align-items:stretch;flex-direction:column}.filter-form{flex-wrap:wrap}.search-control{width:100%}.form-row{grid-template-columns:1fr}.sidebar-nav-group{padding-top:9px}}
@media print{.sidebar,.topbar,.page-footer,.app-overlay,.menu-toggle,[data-print-hide],.table-actions,.pagination,.flash{display:none!important}.app-main{margin:0}.page-content{width:100%;padding:0}.app-body,body{background:#fff}.panel-card,.content-card{padding:0;border:0;box-shadow:none}.page-heading{margin-bottom:12px}.table-wrap{overflow:visible;border:0}.data-table{white-space:normal}.data-table th,.data-table td,.content-card th,.content-card td{padding:6px;border:1px solid #d7ddd8;color:#111;font-size:9px}a{color:#111;text-decoration:none}}

.assignment-list,.schedule-list,.teacher-class-list,.year-list,.semester-list{display:grid;gap:14px}.assignment-card,.schedule-card,.semester-card,.teacher-class-card{padding:15px;border:1px solid var(--line);border-radius:10px;background:#fff}.assignment-summary,.schedule-summary{display:flex;flex-direction:column;gap:4px;margin-bottom:12px;color:var(--ink);font-size:12px}.assignment-summary span,.schedule-summary span{color:var(--muted);font-size:10px}.assignment-edit{padding:13px 0;border-top:1px solid #edf0ed}.assignment-delete{padding-top:10px}.year-card details,.teacher-class-card details{margin-top:12px;padding-top:10px;border-top:1px solid #edf0ed}.year-card summary,.teacher-class-card summary{cursor:pointer;color:var(--green);font-size:11px;font-weight:700}.inline-editor{margin-top:10px;padding:12px;border-radius:9px;background:#f8faf8}.semester-list{margin-top:18px}.semester-card{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center}.semester-card .form-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.semester-delete{align-self:end}.semester-add{margin-top:12px;padding:12px;border:1px dashed #ced9d1;border-radius:8px}.attendance-filter{margin-bottom:16px}.attendance-filter label,.attendance-date-form label{display:flex;flex-direction:column;gap:6px;color:#37463e;font-size:11px;font-weight:650}.attendance-entry-form{display:grid;gap:14px;margin-top:15px}.attendance-entry-form .form-label{max-width:420px}.attendance-table-wrap select,.attendance-table-wrap input{min-width:115px;min-height:38px;padding:7px;border:1px solid #dce4de;border-radius:7px;background:#fff}.attendance-table-wrap input{min-width:150px}.attendance-date-form{max-width:480px;margin:0 0 16px}.teacher-class-card .table-wrap{margin-top:10px}.teacher-class-card td,.teacher-class-card th{padding:8px}.assignment-card button,.schedule-card button{min-height:37px;padding:0 12px;font-size:11px}.schedule-card>.button-secondary,.schedule-card>form{margin-top:10px}.page-heading .button{flex-shrink:0}
@media(max-width:900px){.semester-card{grid-template-columns:1fr}.semester-card .form-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.semester-card .form-grid{grid-template-columns:1fr}.attendance-table-wrap{overflow-x:auto}.attendance-table-wrap table{min-width:580px}.assignment-summary,.schedule-summary{font-size:11px}}

/* Class roster */
.data-table details{margin-top:8px}.data-table details summary{cursor:pointer;color:var(--green);font-size:10px;font-weight:700}.class-roster{max-height:180px;overflow:auto;margin-top:8px;padding:6px 10px;border:1px solid var(--line);border-radius:8px;background:#fbfcfb}.class-roster ul{margin:0;padding:0;list-style:none}.class-roster li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 0;border-top:1px solid #edf0ed;color:var(--ink);font-size:10px}.class-roster li:first-child{border-top:0}.class-roster li small{color:var(--muted);font-size:9px}@media print{.data-table details:not([open])>.class-roster{display:block!important}.data-table details summary{display:none}}

.brand-logo-image{object-fit:contain;border-radius:12px;background:#fff;padding:2px}.sidebar-foundation{max-width:190px;color:#f5f7f5;font-family:Georgia,"Times New Roman",serif;font-size:14px;font-weight:700;line-height:1.4;overflow-wrap:anywhere}.document-settings-block{margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}.document-settings-block h3{margin:0;color:var(--green);font-family:Georgia,"Times New Roman",serif;font-size:19px}.document-settings-block textarea.form-control{min-height:110px;resize:vertical}.document-image-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:8px}.document-image-field{min-width:0;padding:14px;border:1px solid var(--line);border-radius:10px;background:#fbfcfb}.document-image-preview,.profile-logo-preview{display:block;max-width:160px;max-height:120px;object-fit:contain;margin:0 0 12px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:6px}.profile-panel{margin-bottom:18px}.profile-panel>.panel-heading{margin-bottom:18px}@media(max-width:760px){.document-image-grid{grid-template-columns:1fr}.document-settings-block{margin-top:18px;padding-top:16px}.document-image-field{padding:12px}.sidebar-foundation{max-width:220px}}

/* Assessment and report-card module */
.sidebar{overflow-y:auto}.heading-actions{display:flex;flex-wrap:wrap;gap:8px}.assessment-form-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end}.assessment-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end}.assessment-form-grid label,.assessment-filter-grid label,.inline-edit-form label,.report-note-form label{display:flex;flex-direction:column;gap:6px;color:#37463e;font-size:12px;font-weight:650}.assessment-form-grid input,.assessment-form-grid select,.assessment-filter-grid input,.assessment-filter-grid select,.inline-edit-form input,.report-note-form textarea,.report-note-form select{width:100%;min-height:42px;padding:9px 11px;border:1px solid #dce4de;border-radius:8px;background:#fff;color:var(--ink)}.assessment-form-grid button,.assessment-filter-grid button{min-height:42px}.inline-edit-form{display:grid;min-width:260px;grid-template-columns:1fr 1fr;gap:9px;margin:10px 0;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fbfcfb}.inline-edit-form button{grid-column:1/-1}.grade-table-wrap{margin-top:16px}.grade-entry-table .score-input{width:105px;min-height:38px;padding:7px 9px;border:1px solid #dce4de;border-radius:7px}.grade-entry-table .note-input{width:min(260px,40vw);min-height:38px;padding:7px 9px;border:1px solid #dce4de;border-radius:7px}.report-student-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.report-student-heading h2{margin:6px 0 0;font-family:Georgia,"Times New Roman",serif;font-size:23px;font-weight:500}.report-metadata-grid,.attendance-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:18px}.report-metadata-grid>div,.attendance-summary-grid>div{display:flex;flex-direction:column;gap:4px;padding:11px;border:1px solid #edf0ed;border-radius:8px;background:#fbfcfb}.report-metadata-grid small,.attendance-summary-grid small{color:var(--muted);font-size:10px}.report-metadata-grid strong,.attendance-summary-grid strong{font-size:12px}.attendance-summary-grid{grid-template-columns:repeat(5,minmax(0,1fr));margin-top:0}.grade-breakdown-list span{display:block;margin-bottom:3px;color:#6c7971;font-size:10px}.report-note-form{display:flex;min-width:190px;flex-direction:column;gap:8px}.report-note-form textarea{resize:vertical}.report-summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.report-publish-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:16px}.report-publish-panel h2{margin:0}.report-publish-panel p{margin:5px 0 0}.report-card-detail-table{white-space:normal}
@media(max-width:980px){.assessment-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.assessment-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-metadata-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.assessment-form-grid,.assessment-filter-grid,.report-summary-grid{grid-template-columns:1fr}.report-publish-panel{align-items:flex-start;flex-direction:column}.attendance-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.heading-actions{width:100%}.heading-actions .button{flex:1}.list-toolbar{align-items:flex-start;flex-direction:column}.filter-form{width:100%;flex-wrap:wrap}.filter-form .form-select{flex:1;min-width:130px}}
