.dbms-theme-toggle{display:inline-grid;place-items:center;flex:0 0 34px;width:34px;height:34px;padding:0;border:1px solid rgba(100,116,139,.28);border-radius:10px;background:rgba(255,255,255,.88);color:#17375e;font-size:17px;line-height:1;cursor:pointer;transition:background .18s ease,border-color .18s ease,transform .18s ease}.dbms-theme-toggle:hover{transform:translateY(-1px);background:#eff6ff}.portal-head-actions .dbms-theme-toggle,.student-header-actions .dbms-theme-toggle{border-color:rgba(255,255,255,.28);background:rgba(255,255,255,.12);color:#fff}.portal-login-card{position:relative}.portal-login-card>.dbms-theme-toggle{position:absolute;top:14px;right:14px}.nav-wrap>.dbms-theme-toggle{margin-left:14px}
html[data-theme="dark"] body:not(.portal-page){--paper:#0c1727;--ink:#e7eef8;--muted:#a9bad0;--border:#2b405b;--secondary:#122238;background:#0c1727;color:#e7eef8}html[data-theme="dark"] .site-header{background:rgba(12,23,39,.94);border-color:#2b405b}html[data-theme="dark"] .brand,html[data-theme="dark"] .desktop-nav{color:#e7eef8}html[data-theme="dark"] .dropdown,html[data-theme="dark"] .card,html[data-theme="dark"] .form-card,html[data-theme="dark"] .section-muted{background:#14253b;color:#e7eef8;border-color:#2b405b}html[data-theme="dark"] .section h2,html[data-theme="dark"] .card h3,html[data-theme="dark"] .card strong{color:#e7eef8}html[data-theme="dark"] .lead,html[data-theme="dark"] .card p{color:#b8c7d9}
html[data-theme="dark"] body.portal-page{--portal-bg:#0c1727;--portal-card:#14253b;--portal-border:#2b405b;--portal-text:#e7eef8;--portal-muted:#a9bad0;background:#0c1727;color:#e7eef8}html[data-theme="dark"] .portal-login-card,html[data-theme="dark"] .portal-empty-card,html[data-theme="dark"] .dashboard-card,html[data-theme="dark"] .portal-static-sidebar,html[data-theme="dark"] .modal-card{background:#14253b!important;color:#e7eef8!important;border-color:#2b405b!important}html[data-theme="dark"] .portal-login-card h1,html[data-theme="dark"] .portal-login-card h2,html[data-theme="dark"] .portal-login-card p,html[data-theme="dark"] .portal-static-main h2,html[data-theme="dark"] .portal-static-main h3{color:#e7eef8}html[data-theme="dark"] .portal-field input,html[data-theme="dark"] .portal-static-main input,html[data-theme="dark"] .portal-static-main select,html[data-theme="dark"] .portal-static-main textarea{background:#0f2035;color:#e7eef8;border-color:#39516d}html[data-theme="dark"] .portal-static-header,html[data-theme="dark"] .portal-dashboard-header{background:#10243b}html[data-theme="dark"] .portal-table-wrap .data-table th{background:#1a304a;color:#dce8f7}html[data-theme="dark"] .portal-table-wrap .data-table td{border-color:#2b405b;color:#d5e2f1}html[data-theme="dark"] .portal-page .portal-muted,html[data-theme="dark"] .portal-page .portal-help{color:#a9bad0}
@media(max-width:760px){.nav-wrap>.dbms-theme-toggle{margin-left:auto;margin-right:8px}.portal-login-card>.dbms-theme-toggle{top:10px;right:10px}}
.admin-student-filters{display:grid;grid-template-columns:minmax(220px,1fr) minmax(180px,.38fr);align-items:end;gap:14px;margin:12px 0 16px}.admin-student-filters .field{margin:0}.admin-student-filters select{width:100%;min-height:44px;border:1px solid #cbd5e1;border-radius:10px;padding:10px 12px;background:#fff;color:#172033;font:inherit;cursor:pointer}@media(max-width:680px){.admin-student-filters{grid-template-columns:1fr;gap:8px}}

.admin-theme-toggle{display:inline-grid;place-items:center;width:34px;min-width:34px;height:34px;min-height:34px;padding:0;font-size:17px;line-height:1}
