:root{--jawda-header-navy:#102d55;--jawda-header-gold:#c9a65f;--jawda-focus:#b48c36}
/* Shared headers; content, menus and brand artwork retain their existing layout. */
html body header.teacher-portal-topbar,html body header.responsible-portal-topbar,html body header.accountant-portal-topbar,html body header.jawda-header-v19,html body header.pw-header,html body header.student-portal-topbar{
 background:linear-gradient(115deg,#0c2445,#173d70)!important;color:#fff!important;
 border:1px solid rgba(201,166,95,.6)!important;border-bottom:2px solid var(--jawda-header-gold)!important;
 box-shadow:0 5px 20px rgba(12,36,69,.14)!important
}
html body header.teacher-portal-topbar a,html body header.accountant-portal-topbar a,html body header.jawda-header-v19 .jawda-main-nav>a,html body header.pw-header a{color:#fff}
html body header.teacher-portal-topbar .dropdown-menu,html body header.jawda-header-v19 .dropdown-menu{background:#fff;color:#102d55;border:1px solid #e7d5b0}
html body header.teacher-portal-topbar .dropdown-menu a{color:#102d55}
html body header.teacher-portal-topbar a.active,html body header.teacher-portal-topbar a:hover,html body header.jawda-header-v19 .jawda-main-nav>a:hover{color:#ffe3a0}
html body header.teacher-portal-topbar .teacher-profile-trigger strong,html body header.teacher-portal-topbar .teacher-profile-trigger small{color:#fff}
:where(button,a,input,select,textarea):focus-visible{outline:3px solid var(--jawda-focus);outline-offset:3px}
:where(.form-control,.form-select,.bill-card input,.bill-card select){border-radius:10px}
input[data-jawda-money]{font-variant-numeric:tabular-nums;direction:ltr;text-align:right}
output.f-paid{background:#f0f5fa;color:#163960;font-weight:700;cursor:default}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
@media print{html body header.teacher-portal-topbar,html body header.jawda-header-v19{box-shadow:none!important}}
