@font-face { font-family: 'OLU Noto'; src: url('/assets/NotoSansArabic-variable.ttf') format('truetype'); font-style: normal; font-weight: 100 900; font-display: swap; }
:root { font-family: 'OLU Noto', 'Segoe UI', Tahoma, sans-serif; color: #16243b; background: #f5f8fd; }
header { background: #fff; color: #16243b; border-bottom: 1px solid #dce5f0; padding-block: 24px; }
header strong { color: #175bc4 !important; letter-spacing: -.04em !important; }
header p { color: #52647b; }
main { margin-block: 30px; }
.panel { background: #fff; border-color: #dce5f0; border-radius: 18px; padding: 24px; box-shadow: 0 12px 36px #193b6909; }
.notice { color: #60460d; background: #fff8e8; border-color: #c89a38; }
input, textarea, select { color: #16243b; border-color: #cbd9e8; border-radius: 10px; }
input:focus, select:focus, textarea:focus, button:focus-visible { outline-color: #175bc4; }
button { background: #175bc4; color: #fff; border-radius: 10px; min-height: 44px; }
button.secondary { color: #164f9e; background: #fff; border-color: #cbd9e8; }
.menu button[aria-current=page] { background: #104a9e; color: #fff; }
.stat { background: #f5f8fd; border-color: #dce5f0; border-radius: 12px; }
.stat strong { color: #175bc4; }
th { background: #edf4ff; }
a { color: #1556b1; }
@media(max-width:640px) { header { padding: 20px; } .panel { padding: 18px; } }

:root { color: #1e293b; background: #f8fafc; }
header { background: #14315c; color: #f8fafc; border-color: #14315c; }
header strong { color: #f8fafc !important; } header p { color: #e2e8f0; }
.panel, .stat { background: #f8fafc; border-color: #e2e8f0; }
.notice { color: #14315c; background: #e2e8f0; border-color: #0e7c86; }
input, textarea, select { color: #1e293b; border-color: #e2e8f0; }
input:focus, select:focus, textarea:focus, button:focus-visible { outline-color: #0e7c86; }
button, .menu button[aria-current=page] { background: #14315c; color: #fff; }
button.secondary { color: #14315c; background: #f8fafc; border-color: #e2e8f0; }
.stat strong { color: #14315c; } th { background: #e2e8f0; } a { color: #0e7c86; }

html[data-theme="dark"] { color-scheme:dark; background:#101e19; color:#eef4ed; }
html[data-theme="dark"] body { background:#101e19; color:#eef4ed; }
html[data-theme="dark"] header { background:#14271e; border-color:#b99248; }
html[data-theme="dark"] :is(.panel,.stat) { background:#1c3024; border-color:#405b49; color:#eef4ed; }
html[data-theme="dark"] .notice { background:#253e2e; border-color:#b99248; color:#eef4ed; }
html[data-theme="dark"] :is(input,textarea,select) { background:#182b21; color:#eef4ed; border-color:#637d67; }
html[data-theme="dark"] :is(th,td) { border-color:#496653; color:#eef4ed; }
html[data-theme="dark"] th { background:#253e2e; }
html[data-theme="dark"] :is(button,.menu button[aria-current=page]) { background:#42654d; color:#fff; }
html[data-theme="dark"] button.secondary { background:#253e2e; border-color:#637d67; color:#eef4ed; }
html[data-theme="dark"] :is(.stat strong,a) { color:#e4d29e; }
html[data-theme="dark"] .tiny,html[data-theme="dark"] footer { color:#c5d5c8; }
