/* One theme control across administrative and public interactive pages. */
html{color-scheme:light}
.nk-theme-control{display:inline-flex!important;align-items:center;gap:2px;padding:3px;border:1px solid #ffffff65;border-radius:7px;background:#0755c1;flex-shrink:0;margin-left:auto;font:600 12px Arial,sans-serif;line-height:1}
.nk-theme-control button{appearance:none;border:0!important;border-radius:4px!important;padding:8px 11px!important;min-height:30px;min-width:52px;width:auto!important;background:transparent!important;color:#fff!important;box-shadow:none!important;font:600 12px Arial,sans-serif!important;cursor:pointer;margin:0!important}
.nk-theme-control button[aria-pressed=true]{background:#fff!important;color:#164575!important}
.nk-theme-control button:focus-visible{outline:2px solid #fff;outline-offset:2px}
.nk-theme-standalone{position:fixed;top:12px;right:16px;z-index:1001;box-shadow:0 2px 10px #122c4026}
html body :is(#adminThemeToggle,#themeToggle,#ersThemeToggle,#ersTrashThemeToggle,#appearanceThemeToggle,.theme-toggle,.theme-btn,button[onclick="toggleTheme()"]){display:none!important}
@media(max-width:480px){.nk-mobilebar>span{font-size:14px;min-width:0;overflow-wrap:anywhere}.nk-mobilebar{gap:8px!important}.nk-theme-control button{min-width:44px;padding:8px!important}.nk-theme-control{margin-left:auto}}
@media screen{
 html[data-nk-theme=dark]{color-scheme:dark;background:#171b1f}
 html[data-nk-theme=dark] body{background:#171b1f!important;color:#e5ebed!important;--bg:#171b1f!important;--page:#171b1f!important;--light:#171b1f!important;--card:#22292e!important;--surface:#22292e!important;--white:#22292e!important;--input:#1c2328!important;--ink:#e5ebed!important;--text:#e5ebed!important;--muted:#b0bfc5!important;--line:#414d54!important;--border:#414d54!important;--soft:#2a343b!important}
 html[data-nk-theme=dark] body :is(.nk-main,.main,.ad-main,.class-main,.staff-main,.layout,.ad-layout,.class-layout,.staff-shell){background-color:#171b1f!important;color:#e5ebed!important}
 html[data-nk-theme=dark] body :is(.card,.ad-card,.class-card,.page-card,.section-card,.panel,.panel-body,.panel-head,.premium-card,.premium-chart-card,.folder-card,.admin-card,.trash-card,.staff-card,.staff-panel,.staff-stat,.stat,.box,.topbar,.top,.toolbar,.hero,.ad-header,.staff-header,.staff-hero,.report-header,.report-register,.filter-bar,.filters,.notice,.help,.alert,.message,.ad-box,.access-box,.passport-box,.form-class-sidebar,.table-wrap,.ad-table-wrap,.class-manage-wrap,.create-form,.modern-program-card,.creation-step,.cute-card,.clearance-shell,.clearance-content,.clearance-table-card,.clearance-toolbar,.file-drop,.names-drop,.edit-modal,.edit-modal-head,.edit-modal-body,.items-box,.modal-box,.modal-content,.delete-confirm-box,.confirm-box,.db-context-menu,.report-actions-list,.floating-actions,.floating-assets,.floating-toolbar){background:#22292e!important;color:#e5ebed!important;border-color:#414d54!important;box-shadow:none!important}
 html[data-nk-theme=dark] body :is(h1,h2,h3,h4,h5,.school-name,.student,.admin-name,.staff-name,.report-student-name,.page-title,.card-title,.panel-title,.stat-number,.stat-label,.ad-page-title,.field-label,.field label,.edit-field label,.filter-field label,.staff-field label,.control-label,.access-title,.class-name){color:#e5ebed!important}
 html[data-nk-theme=dark] body :is(p,small,.eyebrow,.card-subtitle,.school-sub,.admin-user,.admin-access-summary,.count,.empty,.ad-note,.ad-count,.stat small,.pagination,.view-options,.staff-subtitle){color:#b5c4cc!important}
 html[data-nk-theme=dark] body :is(input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=submit]):not([type=button]),select,textarea,.input-wrap,.textarea-wrap,.cute-control){background:#192126!important;color:#e7eef1!important;border-color:#54636b!important;box-shadow:none!important}
 html[data-nk-theme=dark] body :is(input,textarea)::placeholder{color:#a4b7c1!important;opacity:1}
 html[data-nk-theme=dark] body :is(table,tbody,td){background:#22292e!important;color:#dfe9ee!important;border-color:#3c494f!important}
 html[data-nk-theme=dark] body th{background:#2e3b42!important;color:#d6e9f4!important;border-color:#53656e!important}
 html[data-nk-theme=dark] body tr:nth-child(even)>td{background:#252f35!important}
 html[data-nk-theme=dark] body tr:hover>td{background:#304047!important}
 html[data-nk-theme=dark] body :is(.btn.light,.btn-light,.edit-report-btn,.items-btn,.select-all-items-btn,.ad-mini-btn,.mini-btn,.report-actions-menu summary,.admin-workspace-tabs button,.ad-workspace-tabs button,.staff-workspace-tabs button){background:#2b3c46!important;color:#dcecf4!important;border-color:#506b7b!important}
 html[data-nk-theme=dark] body :is(.admin-workspace-tabs button[aria-selected=true],.ad-workspace-tabs button[aria-selected=true],.staff-workspace-tabs button[aria-selected=true]){background:#245447!important;color:#e0fff0!important;border-color:#70ad97!important}
 html[data-nk-theme=dark] body :is(.stat.total,.stat:nth-child(4n+1)){background:#233d50!important;color:#c0e4ff!important;border-color:#3e6b8a!important}
 html[data-nk-theme=dark] body :is(.stat.reported,.stat:nth-child(4n+2),.sync-chip,.tick-pill.done){background:#244538!important;color:#bcf2d8!important;border-color:#4e8069!important}
 html[data-nk-theme=dark] body :is(.stat.pending,.stat:nth-child(4n+3),.tick-pill:not(.done)){background:#493d24!important;color:#f7e0a4!important;border-color:#8c7544!important}
 html[data-nk-theme=dark] body :is(.stat.today,.stat:nth-child(4n+4)){background:#492f3e!important;color:#f8c5df!important;border-color:#89566f!important}
 html[data-nk-theme=dark] body .stat :is(span,strong,small){color:inherit!important}
 html[data-nk-theme=dark] body :is(.filter-status,.role-badge,.privilege-chip,.class-pill){background:#30414b!important;color:#d6eaf4!important;border-color:#506773!important}
 html[data-nk-theme=dark] body .btn.danger{background:#6c2d39!important;color:#ffe8ed!important;border-color:#a45060!important}
 html[data-nk-theme=dark] body :is(.staff-card-head,.staff-card-body,.staff-filters,.staff-tabs,.staff-table-wrap,.staff-form-section,.staff-structure-dropdown,.structure-item,.structure-item-body,.structure-category-compact,.assignment-builder-wrap,.staff-passport-upload,.staff-profile-card,.profile-card,.assignment-row,.profile-assignment-row){background:#22292e!important;color:#e5ebed!important;border-color:#414d54!important;box-shadow:none!important}
 html[data-nk-theme=dark] body :is(.staff-form-section h3,.staff-structure-dropdown>summary,.staff-status-editor>summary,.staff-workspace-tabs a,.staff-tabs a){background:#2b3c46!important;color:#dcecf4!important;border-color:#506b7b!important}
 html[data-nk-theme=dark] body :is(.staff-workspace-tabs a[aria-selected=true],.staff-tabs a.active){background:#245447!important;color:#e0fff0!important}
 html[data-nk-theme=dark] body .staff-stat :is(b,span,small){color:#dceaf0!important}
 html[data-nk-theme=dark] body :is(.staff-filters label,.staff-user,.assignment-inline,.compact-hod-form label){color:#b8d3e2!important}
 html[data-nk-theme=dark] body .staff-stat:nth-child(3n+1){background:#233d50!important;border-color:#3e6b8a!important}
 html[data-nk-theme=dark] body .staff-stat:nth-child(3n+2){background:#244538!important;border-color:#4e8069!important}
 html[data-nk-theme=dark] body .staff-stat:nth-child(3n){background:#493d24!important;border-color:#8c7544!important}
 html[data-nk-theme=dark] body :is(.assignment-alert-panel,.staff-alert.err){background:#492f3e!important;color:#f8c5df!important;border-color:#89566f!important;animation:none!important}
 html[data-nk-theme=dark] body .nk-sidebar.nk-sidebar.nk-sidebar{background:#104c93!important}
 html[data-nk-theme=dark] body .nk-mobilebar{background:#133e70!important}
 html[data-nk-theme=dark] body .nk-theme-control{background:#182e48!important}
 html[data-nk-theme=dark] body .nk-theme-control button[aria-pressed=true]{background:#dce8f4!important;color:#16354e!important}
 /* Letter artwork and passport images keep their original colours. */
 html[data-nk-theme=dark] body #letterSheet,html[data-nk-theme=dark] body #letterSheet :is(p,small,h1,h2,h3,h4,span,div,td,th){background-color:transparent!important;color:#111!important;border-color:initial!important;color-scheme:light}
 html[data-nk-theme=dark] body #letterSheet{background:#fff!important}
}
@media print{.nk-theme-control{display:none!important}html,html[data-nk-theme=dark] body{color-scheme:light;background:#fff!important;color:#000!important}}
