/*
 * GENERATED by scripts/build_erp_dark_contrast.py — do not edit by hand.
 * Dark-mode counterparts for ERP module rules that hardcode light surfaces,
 * dark text or light borders. Manual tweaks go in sls-dark-mode.css.
 * Regenerate: python3 scripts/build_erp_dark_contrast.py
 */

/* ── public/css/hr-module.css ── */
:where(html[data-theme="dark"]) .sls-export-who-btn.is-active {
  background: #123f46;
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .hr-page-hero {
  background: linear-gradient(135deg, #1e293b 0%, #123f46 55%, #113e50 100%);
}

:where(html[data-theme="dark"]) .hr-stat-card:hover {
  border-color: rgba(68, 238, 205, 0.38);
}

:where(html[data-theme="dark"]) .hr-nav-card:hover {
  border-color: rgba(75, 231, 207, 0.38);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .hr-panel__head {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .hr-panel__foot {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .hr-leave-row {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .hr-btn--ghost {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .hr-kpi--amber .hr-kpi__value {
  color: #f9c094;
}

:where(html[data-theme="dark"]) .hr-kpi--rose .hr-kpi__value {
  color: #f599af;
}

:where(html[data-theme="dark"]) .hr-surface__count {
  background: #3a3827;
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .hr-alert--amber .hr-alert__icon {
  background: #3a3827;
  color: #f9c094;
}

:where(html[data-theme="dark"]) .hr-alert--rose .hr-alert__icon {
  background: #4b182a;
  color: #f599af;
}

:where(html[data-theme="dark"]) .hr-alert--teal .hr-alert__icon {
  background: #114047;
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .hr-alert--blue .hr-alert__icon {
  background: #12305e;
  color: #9cb3f2;
}

:where(html[data-theme="dark"]) .hr-alert--violet .hr-alert__icon {
  background: #334155;
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .hr-alert--slate .hr-alert__icon {
  background: #26334a;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .hr-alert--emerald .hr-alert__icon {
  background: #11403b;
  color: #94f9dd;
}

:where(html[data-theme="dark"]) .hr-pill {
  background: #26334a;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .hr-pill--ok {
  background: #11403b;
  color: #95f8dd;
}

:where(html[data-theme="dark"]) .hr-pill--warn {
  background: #3a3827;
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .hr-pill--bad {
  background: #4b182a;
  color: #f49ab3;
}

:where(html[data-theme="dark"]) .hr-insight.hr-alert--amber .hr-insight__icon {
  color: #f9c094;
}

:where(html[data-theme="dark"]) .hr-insight.hr-alert--rose .hr-insight__icon {
  color: #f599af;
}

:where(html[data-theme="dark"]) .hr-insight.hr-alert--teal .hr-insight__icon {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .hr-insight.hr-alert--violet .hr-insight__icon {
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .hr-insight.hr-alert--emerald .hr-insight__icon {
  color: #94f9dd;
}

:where(html[data-theme="dark"]) .hr-module-list a {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .hr-module-list a:hover {
  background: #123f46;
}

:where(html[data-theme="dark"]) .hr-status--slate {
  background: #26334a;
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .hr-status--amber {
  background: #3a3827;
  color: #f5bc99;
  border-color: rgba(240, 199, 66, 0.38);
}

:where(html[data-theme="dark"]) .hr-status--blue {
  background: #12305e;
  color: #9fb2ef;
}

:where(html[data-theme="dark"]) .hr-status--emerald {
  background: #11403b;
  color: #95f8dd;
  border-color: rgba(80, 226, 168, 0.38);
}

:where(html[data-theme="dark"]) .hr-payroll-dropdown__menu {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .hr-payroll-dropdown__menu a,
:where(html[data-theme="dark"]) .hr-payroll-dropdown__menu button {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .hr-payroll-dropdown__menu a:hover,
:where(html[data-theme="dark"]) .hr-payroll-dropdown__menu button:hover {
  background: #123f46;
}

:where(html[data-theme="dark"]) .hr-payroll-workflow__note--ok {
  color: #94f9dd;
}

:where(html[data-theme="dark"]) .hr-payroll-chip {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .hr-payroll-chip:hover {
  border-color: rgba(75, 231, 207, 0.38);
  background: #123f46;
}

:where(html[data-theme="dark"]) .hr-payroll-locked-hint {
  color: #f9c094;
}

:where(html[data-theme="dark"]) .hr-payroll-notes input[type="text"] {
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .hr-payroll-notes-current {
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .hr-payroll-exc-details {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .hr-payroll-exc-more {
  color: #f9c094;
}

:where(html[data-theme="dark"]) .hr-stat-dl dd.is-deduct {
  color: #f599af;
}

:where(html[data-theme="dark"]) .hr-inline-note {
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .hr-payroll-timeline__item {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .hr-payroll-timeline__item:hover {
  border-color: rgba(75, 231, 207, 0.38);
}

:where(html[data-theme="dark"]) .hr-payroll-timeline__status {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .hr-payroll-timeline__item--slate {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .hr-payroll-timeline__item--amber {
  background: #3a3827;
  border-color: rgba(240, 199, 66, 0.38);
}

:where(html[data-theme="dark"]) .hr-payroll-timeline__item--blue {
  background: #26334a;
}

:where(html[data-theme="dark"]) .hr-payroll-timeline__item--emerald {
  background: #11403c;
  border-color: rgba(80, 226, 168, 0.38);
}

:where(html[data-theme="dark"]) .hr-payroll-filters input[type="search"],
:where(html[data-theme="dark"]) .hr-payroll-filters select {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .hr-payroll-filters__check {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .hr-payroll-table thead th {
  background: #26334a;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .hr-payroll-table tbody td {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .hr-payroll-table tbody tr:hover td {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .hr-payroll-table .is-net {
  background: rgba(17, 64, 71, 0.4);
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .hr-payroll-table .is-deduct {
  background: rgba(75, 24, 42, 0.35);
  color: #f599af;
}

:where(html[data-theme="dark"]) .hr-payroll-table .is-cost {
  background: rgba(18, 37, 94, 0.35);
  color: #aca8e6;
}

:where(html[data-theme="dark"]) .hr-payroll-row-actions a,
:where(html[data-theme="dark"]) .hr-payroll-row-actions button {
  background: #1e293b;
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .hr-payroll-row-actions a:hover,
:where(html[data-theme="dark"]) .hr-payroll-row-actions button:hover {
  border-color: rgba(75, 231, 207, 0.38);
  background: #123f46;
}

:where(html[data-theme="dark"]) .hr-payroll-expand:hover {
  background: #123f46;
}

:where(html[data-theme="dark"]) .hr-payroll-flash--success {
  background: #11403c;
  border: 1px solid rgba(75, 231, 159, 0.38);
  color: #95f8dd;
}

:where(html[data-theme="dark"]) .hr-payroll-flash--error {
  background: #3a182a;
  border: 1px solid rgba(240, 66, 88, 0.38);
  color: #f49ab3;
}

:where(html[data-theme="dark"]) .zk-page .zk-night-shift-row input[type="text"],
:where(html[data-theme="dark"]) .zk-page .zk-night-shift-row input[type="time"],
:where(html[data-theme="dark"]) .zk-page .zk-night-shift-row input[type="number"] {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #f1f5f9;
}

@media (max-width: 767px) {
:where(html[data-theme="dark"]) .zk-page .zk-night-shift-row__mobile-label {
  color: #a3b1c6;
}
}

:where(html[data-theme="dark"]) .zk-page .zk-row-menu__item--danger i {
  color: #f29caf;
}

:where(html[data-theme="dark"]) .zk-page .zk-roster-person-tab__pin {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .zk-page .zk-roster-person-tab[aria-selected="true"] .zk-roster-person-tab__pin {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .zk-roster-day-meta__label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .zk-roster-day-meta__value {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .zk-holiday-policy__icon {
  background: #26334a;
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .zk-holiday-policy__badge--school {
  background: #26334a;
  border-color: rgba(66, 143, 240, 0.38);
  color: #9cb3f2;
}

:where(html[data-theme="dark"]) .zk-holiday-policy__badge--security {
  background: #123f46;
  border-color: rgba(68, 238, 205, 0.38);
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .zk-holiday-policy__badge--custom {
  background: #3a2e27;
  border-color: rgba(240, 159, 66, 0.38);
  color: #f8b295;
}

:where(html[data-theme="dark"]) .zk-holiday-policy__card:hover {
  border-color: rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .zk-holiday-policy__card:has(input:checked) .zk-holiday-policy__icon {
  background: #114047;
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .zk-holiday-policy__card:has(input:checked) .zk-holiday-policy__title {
  color: #a0eee9;
}

:where(html[data-theme="dark"]) .zk-holiday-policy__card--security.is-recommended:not(:has(input:checked)) {
  border-color: rgba(75, 231, 207, 0.38);
}

:where(html[data-theme="dark"]) .zk-holiday-policy__day:has(input:checked) {
  border-color: rgba(68, 238, 205, 0.38);
  background: #123f46;
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .zk-excuse-modal__head {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .zk-excuse-modal__title {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .zk-excuse-form__foot {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .zk-excuse-meta__name {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .zk-excuse-meta__pin {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .zk-excuse-tabs {
  background: #26334a;
}

:where(html[data-theme="dark"]) .zk-excuse-tab {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .zk-excuse-tab:hover {
  background: rgba(30, 41, 59, 0.7);
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .zk-excuse-tab.is-active {
  background: #1e293b;
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .zk-excuse-hint {
  color: #9bf2ec;
  background: #123f46;
  border: 1px solid rgba(66, 240, 203, 0.38);
}

:where(html[data-theme="dark"]) .zk-excuse-balance__item {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .zk-excuse-balance__item.is-avail {
  background: #123f46;
  border-color: rgba(68, 238, 205, 0.38);
}

:where(html[data-theme="dark"]) .zk-excuse-balance__label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .zk-excuse-balance__value {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .zk-excuse-balance__input {
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #f1f5f9;
  background: #1e293b;
}

:where(html[data-theme="dark"]) .zk-excuse-balance__item.is-avail .zk-excuse-balance__input {
  border-color: rgba(75, 231, 207, 0.38);
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .zk-excuse-balance__item.is-avail .zk-excuse-balance__value {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .zk-excuse-balance__note {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .zk-excuse-balance__note.is-warn {
  color: #f9c094;
}

:where(html[data-theme="dark"]) .zk-excuse-mission-dur {
  background: #123f46;
  border: 1px solid rgba(68, 238, 205, 0.38);
}

:where(html[data-theme="dark"]) .zk-excuse-mission-dur strong {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .zk-excuse-mission-dur__legs {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .zk-excuse-legs-head {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .zk-excuse-leg {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .zk-leg-duration {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .zk-excuse-leg__remove {
  border: 1px solid rgba(240, 66, 88, 0.38);
  background: #3a182a;
  color: #f599af;
}

:where(html[data-theme="dark"]) .zk-excuse-btn--add {
  background: #1e293b;
  color: #9bf2ec;
  border: 1px solid rgba(68, 238, 205, 0.38);
}

:where(html[data-theme="dark"]) .zk-excuse-btn--add:hover {
  background: #123f46;
}

:where(html[data-theme="dark"]) .zk-excuse-field label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .zk-excuse-field input[type="text"],
:where(html[data-theme="dark"]) .zk-excuse-field input[type="number"],
:where(html[data-theme="dark"]) .zk-excuse-field input[type="time"],
:where(html[data-theme="dark"]) .zk-excuse-field input[type="date"],
:where(html[data-theme="dark"]) .zk-excuse-field select,
:where(html[data-theme="dark"]) .zk-excuse-field textarea {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .zk-excuse-msg.is-ok {
  background: #11403c;
  color: #95f8dd;
  border: 1px solid rgba(75, 231, 159, 0.38);
}

:where(html[data-theme="dark"]) .zk-excuse-msg.is-err {
  background: #3a182a;
  color: #f49ab3;
  border: 1px solid rgba(240, 66, 88, 0.38);
}

:where(html[data-theme="dark"]) .zk-excuse-btn--ghost {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .zk-excuse-btn--ghost:hover {
  background: #26334a;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .zk-roll-act {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .zk-roll-act:hover {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .zk-roll-act--print {
  color: #9bf2ec;
  border-color: rgba(68, 238, 205, 0.38);
}

:where(html[data-theme="dark"]) .zk-roll-act--print:hover {
  background: #123f46;
}

:where(html[data-theme="dark"]) .zk-roll-act--edit {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .zk-roll-act--excuse {
  color: #bea0ee;
  border-color: rgba(97, 66, 240, 0.38);
}

:where(html[data-theme="dark"]) .zk-roll-act--excuse:hover {
  background: #26334a;
}

/* ── public/css/profile-social-ui.css ── */
:where(html[data-theme="dark"]) .social-comment-text {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .profile-action-btn--message {
  background: #26334a;
  border-color: rgba(66, 143, 240, 0.38);
  color: #9cb3f2;
}

:where(html[data-theme="dark"]) .profile-action-btn--message:hover {
  background: #12305e;
  color: #9fb2ef;
}

:where(html[data-theme="dark"]) .profile-friends-status-unfriend {
  color: #f599af;
  background: #3a182a;
}

:where(html[data-theme="dark"]) .profile-peer-menu-btn {
  background: #1e293b;
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .profile-peer-menu-btn:hover {
  background: #26334a;
  border-color: rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .profile-peer-menu-item--warn {
  color: #f9c094;
}

:where(html[data-theme="dark"]) .profile-peer-menu-item--warn:hover {
  background: #3a3827;
}

:where(html[data-theme="dark"]) .profile-peer-menu-item--danger i {
  color: #ef9e9e;
}

:where(html[data-theme="dark"]) .profile-job-meta__item {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .profile-job-meta__item i {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .profile-job-meta__item--pin {
  background: #113e50;
  border-color: rgba(66, 222, 240, 0.38);
  color: #99e1f5;
}

:where(html[data-theme="dark"]) button.profile-stat:hover,
:where(html[data-theme="dark"]) a.profile-stat:hover {
  border-color: rgba(66, 143, 240, 0.38);
}

:where(html[data-theme="dark"]) .profile-feeling-panel {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .profile-feeling-panel__title {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .profile-feeling-panel__close {
  background: #26334a;
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .profile-feeling-panel__close:hover {
  background: #334155;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .profile-feeling-panel__section {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .profile-feeling-chip {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .profile-feeling-chip:hover {
  background: #3a3827;
  border-color: rgba(240, 205, 66, 0.38);
}

:where(html[data-theme="dark"]) .profile-feeling-chip.is-on {
  background: #123f46;
  border-color: rgba(75, 231, 207, 0.38);
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .profile-feeling-chip__emoji {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .profile-feeling-panel__remove {
  color: #f29caf;
}

:where(html[data-theme="dark"]) .replies-list {
  border-color: rgba(148, 163, 184, 0.24) !important;
}

:where(html[data-theme="dark"]) .profile-sidebar-media-tab.is-active .profile-sidebar-media-tab-count {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .profile-sidebar-media-file:hover {
  background: #1e293b;
  border-color: rgba(66, 143, 240, 0.38);
}

:where(html[data-theme="dark"]) .profile-media-empty-hint {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .profile-sidebar-media-see-all:hover {
  background: #12305e;
}

:where(html[data-theme="dark"]) .profile-friend-groups-card {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .profile-friend-groups-card .sls-hscroll.is-overflow .sls-hscroll__btn:disabled {
  background: #1e293b;
  border-color: rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .profile-friend-group-btn {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .profile-friend-group-btn:hover {
  background: #26334a;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .profile-friend-group-count {
  background: #334155;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .profile-contact-group + .profile-contact-group {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .profile-contact-group-head {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .profile-contact-group-head .profile-friend-group-count {
  background: #114047;
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .profile-contact-group-more {
  color: #98b5f6;
}

:where(html[data-theme="dark"]) .profile-contact-group-more:hover {
  background: #26334a;
  color: #9cb3f2;
}

:where(html[data-theme="dark"]) .profile-hover-popover .phc-name a:hover {
  color: #98b5f6;
}

:where(html[data-theme="dark"]) .profile-hover-popover .phc-role {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .profile-hover-popover.phc-own .phc-btn-profile:hover {
  background: #26334a;
}

:where(html[data-theme="dark"]) .profile-hover-popover .phc-presence.is-online {
  color: #94f9dd;
}

:where(html[data-theme="dark"]) .profile-hover-popover .phc-presence.is-offline {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .profile-hover-popover .phc-badge {
  background: #26334a;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .profile-hover-popover .phc-badge.is-friend {
  background: #26334a;
  color: #9cb3f2;
}

:where(html[data-theme="dark"]) .profile-hover-popover .phc-btn-message:hover:not(:disabled) {
  background: #26334a;
}

:where(html[data-theme="dark"]) .social-mention {
  color: #98b5f6;
}

:where(html[data-theme="dark"]) .social-mention-unresolved {
  color: #a3b1c6;
}

@media (max-width: 767px) {
:where(html[data-theme="dark"]) #lightbox-modal.lb-open .lightbox-side-panel,
:where(html[data-theme="dark"]) #lightbox-modal.lb-open .lb-sidebar {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
}
}

:where(html[data-theme="dark"]) #lightbox-modal.lb-open .lightbox-side-panel,
:where(html[data-theme="dark"]) #lightbox-modal.lb-open .lb-sidebar {
  background: #1e293b;
  border-left: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) #lightbox-modal.lb-open .lb-sidebar-composer {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) #lightbox-modal.lb-open #lb-comments-container,
:where(html[data-theme="dark"]) #lightbox-modal.lb-open .lb-comments-scroll {
  background: #1e293b;
}

/* ── public/css/sls-date-input.css ── */
:where(html[data-theme="dark"]) .sls-date-triple__label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-date-triple__select,
:where(html[data-theme="dark"]) .sls-date-triple__input {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background-color: #1e293b;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sls-date-triple__select.is-invalid {
  background-color: #26334a;
}

:where(html[data-theme="dark"]) .sls-date-field.is-disabled .sls-date-triple__select {
  background-color: #26334a;
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-legal-docs-layout .sls-legal-docs-field > label {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .sls-legal-docs-text-input,
:where(html[data-theme="dark"]) .legal-docs-container .sls-legal-docs-field--passport input[type="text"] {
  color: #f1f5f9;
  background-color: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-legal-docs-group {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-legal-docs-group-title {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-legal-docs-field--date {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .legal-docs-container .time-remaining-label {
  color: #a3b1c6;
}

/* ── public/css/uniform_booking_applications/uniform_booking_applications.css ── */
:where(html[data-theme="dark"]) #ubApplicantsTable .ja-sort:hover {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ub-settings-upload-btn {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .ub-settings-upload-btn:hover {
  background: #1e293b;
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ub-inv-report-summary__card {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ub-inv-report-summary__label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ub-inv-report-summary__value {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ub-inv-report-item {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ub-inv-report-item__head {
  background: #1e293b;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ub-inv-report-item__name {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ub-inv-report-item__mix {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ub-inv-report-table th,
:where(html[data-theme="dark"]) .ub-inv-report-table td {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ub-inv-report-table th {
  background: #1e293b;
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ub-inv-report-table td {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .ub-inv-report-table tr.ub-inv-report-total-row td {
  background: #3a3827;
}

:where(html[data-theme="dark"]) .ub-inv-report-balance.is-shortage {
  color: #ef9e9e;
}

:where(html[data-theme="dark"]) .ub-inv-report-balance.is-even {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ub-inv-report-badge {
  background: #26334a;
  color: #aba6e7;
}

:where(html[data-theme="dark"]) .ub-revisions__title {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .ub-revision {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ub-revision__meta {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ub-revision__totals {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .ub-revision__totals b {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ub-revision__delta.is-up b {
  color: #f9c094;
}

:where(html[data-theme="dark"]) .ub-revision__delta.is-down b {
  color: #94f9dd;
}

:where(html[data-theme="dark"]) .ub-revision__summary {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ub-revision__table-wrap {
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ub-revision__table th,
:where(html[data-theme="dark"]) .ub-revision__table td {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ub-revision__table thead th {
  background: #1e293b;
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ub-revision__table td.is-up {
  color: #f9c094;
}

:where(html[data-theme="dark"]) .ub-revision__table td.is-down {
  color: #94f9dd;
}

:where(html[data-theme="dark"]) .ub-removed-student {
  background: #3a3827;
}

/* ── public/css/hr/employee-field-audit.css ── */
:where(html[data-theme="dark"]) .sls-efa-btn {
  border: 1px solid rgba(240, 199, 66, 0.38);
  background: #3a3827;
  color: #f9c094;
}

:where(html[data-theme="dark"]) .sls-efa-field {
  border-color: rgba(240, 199, 66, 0.38) !important;
  background-color: #1e293b !important;
}

:where(html[data-theme="dark"]) .sls-efa-panel {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-efa-head {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-efa-title {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sls-efa-subtitle {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-efa-close {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-efa-close:hover {
  background: #26334a;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sls-efa-tabs {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-efa-tab {
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-efa-tab:not(.is-active) .sls-efa-tab__count {
  background: #26334a;
  color: #aba6e7;
}

:where(html[data-theme="dark"]) .sls-efa-body {
  background: rgba(30, 41, 59, 0.6);
}

:where(html[data-theme="dark"]) .sls-efa-card {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-efa-card__head {
  background: #1e293b;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-efa-chip--indigo {
  background: #26334a;
  color: #aba6e7;
}

:where(html[data-theme="dark"]) .sls-efa-chip--sky {
  background: #26334a;
  color: #94d6f9;
}

:where(html[data-theme="dark"]) .sls-efa-chip--amber {
  background: #3a3827;
  color: #f9c094;
}

:where(html[data-theme="dark"]) .sls-efa-chip--teal {
  background: #123f46;
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .sls-efa-chip--slate {
  background: #26334a;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .sls-efa-chip--rose {
  background: #3a182a;
  color: #f599af;
}

:where(html[data-theme="dark"]) .sls-efa-table th {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-efa-tr {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-efa-row--focus {
  background: #3a3827;
}

:where(html[data-theme="dark"]) .sls-efa-fieldname {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .sls-efa-old {
  color: #f599af;
}

:where(html[data-theme="dark"]) .sls-efa-new {
  color: #94f9dd;
}

:where(html[data-theme="dark"]) .sls-efa-revert {
  border: 1px solid rgba(240, 66, 88, 0.38);
  background: #3a182a;
  color: #f599af;
}

:where(html[data-theme="dark"]) .sls-efa-card--revert {
  border-color: rgba(240, 66, 88, 0.38);
}

:where(html[data-theme="dark"]) .sls-efa-card--revert .sls-efa-card__head {
  background: #26334a;
}

:where(html[data-theme="dark"]) .sls-efa-tag {
  background: #26334a;
  color: #a3b1c6;
}

/* ── public/css/hr/job_application_portal.css ── */
:where(html[data-theme="dark"]) .ja-typewriter-cursor {
  background-color: #1e293b;
}

:where(html[data-theme="dark"]) .ja-portal .tool-btn:hover {
  border-color: rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ja-lang-switch button.ja-lang-btn.is-active,
:where(html[data-theme="dark"]) .ja-portal .ja-lang-switch a.ja-lang-btn.is-active {
  background: linear-gradient(135deg, #1e293b 0%, #1e293b 100%);
  color: #a3b6eb;
  border-color: rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ja-glass-card {
  background: rgba(30, 41, 59, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ja-position-panel {
  background: rgba(30, 41, 59, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ja-media-card {
  background: rgba(30, 41, 59, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ja-field label {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .ja-field input:not([type="file"]),
:where(html[data-theme="dark"]) .ja-field select,
:where(html[data-theme="dark"]) .ja-field textarea {
  background: rgba(30, 41, 59, 0.92);
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ja-field select.sls-gselect {
  color: #e2e8f0;
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ja-field input[type="file"] {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ja-field input.ess-field-locked[readonly],
:where(html[data-theme="dark"]) .ja-field input.ess-field-locked[aria-readonly="true"] {
  background: #26334a;
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ja-field input.ess-field-locked:focus {
  border-color: rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ja-radio-pill span {
  border: 2px solid rgba(66, 141, 240, 0.38);
  background: linear-gradient(180deg, #1e293b 0%, #1e293b 100%);
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .ja-radio-pill span i {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ja-radio-pill:hover span {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ja-radio-pill input:checked + span {
  background: linear-gradient(135deg, #3a3827 0%, #3a3827 55%, #4b4525 100%);
  color: #f3bb9b;
}

:where(html[data-theme="dark"]) .ja-radio-pill input:checked + span,
:where(html[data-theme="dark"]) .ja-radio-pill input:checked + span span {
  color: #f3bb9b;
}

:where(html[data-theme="dark"]) .ja-radio-pill input:checked + span i {
  color: #f9c094;
}

:where(html[data-theme="dark"]) .ja-repeat-box {
  background: rgba(30, 41, 59, 0.85);
}

:where(html[data-theme="dark"]) .ja-btn-secondary {
  background: #334155;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .ja-btn-danger {
  color: #ef9e9e;
}

:where(html[data-theme="dark"]) .ja-alert-success {
  color: #95f8dd;
}

:where(html[data-theme="dark"]) .ja-alert-danger {
  color: #f49ab3;
}

:where(html[data-theme="dark"]) .ja-alert-bank-notice {
  background: linear-gradient(135deg, #26334a 0%, #113050 55%, #113e50 100%);
  color: #9ad3f4;
}

:where(html[data-theme="dark"]) .ja-alert-bank-notice__dear {
  color: #94d6f9;
}

:where(html[data-theme="dark"]) .ess-success {
  --ess-success-ink: #f1f5f9;
  --ess-success-muted: #a3b1c6;
  background: radial-gradient(120% 80% at 50% 0%, rgba(13, 148, 136, 0.10) 0%, rgba(255, 255, 255, 0) 55%),
    #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ess-success__mail {
  background: #123f46;
  color: #a0eee9;
}

:where(html[data-theme="dark"]) .ess-success__btn--ghost {
  background: #1e293b;
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ess-success__btn--ghost:hover {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ja-email-sent-note {
  background: linear-gradient(135deg, #11403c 0%, #114035 100%);
  color: #9fefbd;
}

:where(html[data-theme="dark"]) .ja-submit-overlay-card {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ja-submit-overlay-card i {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ja-cv-name-en {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .ja-compact-label {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .ja-pitch-max {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ja-field-hint--compact {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ja-optional {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ja-pitch-toolbar .ja-btn.is-muted {
  background: #4b1825;
  color: #f09e9e;
}

:where(html[data-theme="dark"]) .ja-pitch-upload-panel {
  background: rgba(30, 41, 59, 0.95);
}

:where(html[data-theme="dark"]) .ja-pitch-upload-head {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .ja-pitch-upload-track {
  background: #334155;
}

:where(html[data-theme="dark"]) .ja-pitch-upload-success {
  background: linear-gradient(135deg, #11403c 0%, #114035 100%);
  color: #9fefbd;
}

:where(html[data-theme="dark"]) .ja-pitch-error.is-info {
  background: linear-gradient(135deg, #3a3827 0%, #3a3827 100%);
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .ja-cv-attachments-heading {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ja-cv-attach-tile {
  border: 2px solid rgba(148, 163, 184, 0.24);
  background: linear-gradient(180deg, #1e293b 0%, #1e293b 100%);
}

:where(html[data-theme="dark"]) .ja-cv-attach-tile-media {
  background: #26334a;
}

:where(html[data-theme="dark"]) .ja-cv-attach-tile-media--icon {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ja-cv-attach-tile--pdf .ja-cv-attach-tile-media--icon {
  color: #ef9e9e;
}

:where(html[data-theme="dark"]) .ja-cv-attach-tile-label {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ja-cv-attach-tile-action {
  background: #11403c;
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ja-cv-pitch-expand-btn {
  background: #11403c;
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ja-cv-pitch-expand-btn:hover,
:where(html[data-theme="dark"]) .ja-cv-pitch-expand-btn:focus-visible {
  background: #114047;
}

:where(html[data-theme="dark"]) .ja-cv-table {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ja-cv-table th,
:where(html[data-theme="dark"]) .ja-cv-table td {
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ja-cv-table thead th {
  background: #334155;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ja-cv-table tbody th[scope="row"] {
  background: #1e293b;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .ja-cv-table tbody td {
  background: #1e293b;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ja-cv-table--profile .ja-cv-td-photo-wrap {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ja-cv-photo-img {
  border: 3px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ja-cv-td-ref {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ja-cv-td-url a,
:where(html[data-theme="dark"]) .ja-cv-td-ltr a {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ja-cv-td-desc,
:where(html[data-theme="dark"]) .ja-cv-td-hint {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ja-cv-td-hint {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ja-cv-pdfs-print-heading {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ja-cv-attach-thumb {
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ja-photo-preview {
  background: linear-gradient(135deg, #334155, #1e293b);
}

:where(html[data-theme="dark"]) .ja-photo-preview--pick {
  color: #99e1f5;
  background: linear-gradient(145deg, #113050 0%, #26334a 55%, #113e50 100%);
}

:where(html[data-theme="dark"]) .ja-photo-preview--pick:hover,
:where(html[data-theme="dark"]) .ja-photo-preview--pick:focus-visible {
  color: #94d6f9;
}

:where(html[data-theme="dark"]) .ja-photo-preview__badge {
  border: 2px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ja-field-hint {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ja-ref-code {
  color: #9bf2ec;
  background: linear-gradient(135deg, #11403c, #11403b);
}

:where(html[data-theme="dark"]) .ja-cv-item {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(30, 41, 59, 0.75);
}

:where(html[data-theme="dark"]) .ja-doc-thumb {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) body.ja-pdf-export {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ja-file-thumb {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ja-file-thumb__img {
  background: #334155;
}

:where(html[data-theme="dark"]) .ja-file-thumb__pdf {
  color: #ef9e9e;
  background: linear-gradient(145deg, #26334a, #3a2e27);
}

:where(html[data-theme="dark"]) .ess-email-confirm--optional input {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ess-email-locked__value {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ess-email-locked__hint {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ja-file-choose {
  background: rgba(30, 41, 59, 0.65);
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ja-file-choose:hover {
  background: rgba(17, 64, 60, 0.95);
}

:where(html[data-theme="dark"]) .ja-file-name {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .ja-file-icon-btn {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .ja-file-icon-btn:hover:not(:disabled) {
  background: #11403c;
  border-color: rgba(68, 238, 205, 0.38);
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ja-portal .ess-legal-docs {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ja-portal .ess-legal-docs__title {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ja-portal .ess-legal-docs__title > i {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ja-portal .ess-doc-remaining--expired {
  color: #ef9e9e;
}

:where(html[data-theme="dark"]) .ja-field textarea {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(30, 41, 59, 0.82);
}

:where(html[data-theme="dark"]) .ja-date-part {
  background: rgba(30, 41, 59, 0.92);
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ja-img-modal-panel {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ja-img-modal-head {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ja-img-modal-close {
  background: #26334a;
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ja-img-modal-close:hover {
  background: #4b1825;
  color: #ef9e9e;
}

:where(html[data-theme="dark"]) .ja-pdf-preview {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ja-portal #slsSmartPhotoModal .sls-smart-photo-panel {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ja-portal #slsSmartPhotoModal .sls-smart-photo-head,
:where(html[data-theme="dark"]) .ja-portal #slsSmartPhotoModal .sls-smart-photo-foot {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ja-portal #slsSmartPhotoModal .sls-smart-photo-foot {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ja-portal #slsSmartPhotoModal .sls-smart-photo-workspace {
  background: #26334a;
}

:where(html[data-theme="dark"]) .ja-portal #slsSmartPhotoModal .sls-smart-photo-preview-aside {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

@media (min-width: 900px) {
:where(html[data-theme="dark"]) .ja-portal #slsSmartPhotoModal .sls-smart-photo-preview-aside {
  border-left: 1px solid rgba(148, 163, 184, 0.24);
}
}

:where(html[data-theme="dark"]) .ja-portal #slsSmartPhotoModal #slsSmartPhotoCancel {
  background: #334155;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .ja-portal #slsSmartPhotoModal #slsSmartPhotoClose {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ja-portal #slsSmartPhotoModal h3 {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ja-portal #slsSmartPhotoModal #slsSmartPhotoHint {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) body.ja-cv-embed {
  background: #1e293b;
}

:where(html[data-theme="dark"]) body.ja-cv-embed .ja-portal-site-footer {
  color: #a3b1c6;
  border-top-color: rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) body.ja-cv-embed .ja-portal-site-footer__wa {
  color: #9fefbd;
}

:where(html[data-theme="dark"]) body.ja-cv-embed .ja-portal-site-footer__wa:hover {
  color: #a3ebbe;
}

/* ── public/css/hr/my_hr_workspace.css ── */
:where(html[data-theme="dark"]) .mws {
  --mws-ink: #f1f5f9;
  --mws-muted: #a3b1c6;
  --mws-line: rgba(148, 163, 184, 0.24);
  --mws-bg: #1e293b;
  --mws-surface: #1e293b;
  --mws-teal-soft: #11403c;
}

:where(html[data-theme="dark"]) .mws-hero__scrim {
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.06) 0%,
    rgba(15, 23, 42, 0.42) 78%,
    rgba(30, 41, 59, 0.98) 100%
  );
}

:where(html[data-theme="dark"]) .mws-hero__cover:not(.has-photo) .mws-hero__scrim {
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.15) 0%,
    rgba(15, 23, 42, 0.55) 70%,
    rgba(30, 41, 59, 0.98) 100%
  );
}

:where(html[data-theme="dark"]) .mws-hero__band {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .mws-avatar {
  background: #1e293b;
  border: 5px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .mws-avatar-edit {
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .mws-name {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .mws-handle {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .mws-job-meta__item {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .mws-job-meta__item i {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .mws-job-meta__item--pin {
  background: #113e50;
  border-color: rgba(66, 222, 240, 0.38);
  color: #99e1f5;
}

:where(html[data-theme="dark"]) .mws-meta--pin {
  background: #113e50;
  border: 1px solid rgba(66, 222, 240, 0.38);
  color: #99e1f5;
}

:where(html[data-theme="dark"]) .mws-notice {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .mws-notice em {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .mws-notice--ok {
  background: #11403c;
}

:where(html[data-theme="dark"]) .mws-notice--warn {
  background: #3a3827;
}

:where(html[data-theme="dark"]) .mws-notice--holiday {
  background: #26334a;
}

:where(html[data-theme="dark"]) .mws-tasks__empty {
  border: 1px dashed rgba(72, 234, 129, 0.38);
  background: #123f34;
  color: #a3ebbe;
}

:where(html[data-theme="dark"]) .mws-pane-btn {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .mws-pane-btn__icon {
  background: #26334a;
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .mws-pane-btn__label {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .mws-pane-btn__hint {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .mws-pane-btn:hover {
  background: #1e293b;
  border-color: rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .mws-pane-btn:hover .mws-pane-btn__icon {
  background: #334155;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .mws-pane-btn.is-active {
  background: #26334a;
}

:where(html[data-theme="dark"]) .mws-pane-btn.is-active .mws-pane-btn__icon {
  background: #12305e;
  color: #9cb3f2;
}

:where(html[data-theme="dark"]) .mws-pane-btn.is-active .mws-pane-btn__label {
  color: #a3b6eb;
}

:where(html[data-theme="dark"]) .mws-pane-btn--leave.is-active {
  background: #11403c;
  border-color: rgba(80, 226, 168, 0.38);
}

:where(html[data-theme="dark"]) .mws-pane-btn--leave.is-active .mws-pane-btn__icon {
  background: #11403b;
  color: #94f9dd;
}

:where(html[data-theme="dark"]) .mws-pane-btn--leave.is-active .mws-pane-btn__label {
  color: #95f8dd;
}

:where(html[data-theme="dark"]) .mws-pane-btn--pay.is-active {
  background: #3a2e27;
}

:where(html[data-theme="dark"]) .mws-pane-btn--pay.is-active .mws-pane-btn__icon {
  background: #3a2f27;
  color: #f8b295;
}

:where(html[data-theme="dark"]) .mws-pane-btn--pay.is-active .mws-pane-btn__label {
  color: #f3b19b;
}

:where(html[data-theme="dark"]) .mws-pane-btn--profile.is-active {
  background: #26334a;
}

:where(html[data-theme="dark"]) .mws-pane-btn--profile.is-active .mws-pane-btn__icon {
  background: #12255e;
  color: #aba6e7;
}

:where(html[data-theme="dark"]) .mws-pane-btn--profile.is-active .mws-pane-btn__label {
  color: #aca8e6;
}

:where(html[data-theme="dark"]) .mws-pane-btn--profile.is-active .mws-pane-btn__hint {
  color: #a19df1;
}

:where(html[data-theme="dark"]) .mws-balance--slate .mws-balance__value {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .mws-balance__bar {
  background: #334155;
}

:where(html[data-theme="dark"]) .mws-cal-range {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .mws-cal__day {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .mws-cal__day.has-leave-ok {
  background: #114047;
  color: #a0eee9;
}

:where(html[data-theme="dark"]) .mws-cal__day.has-leave-pending {
  background: #3a3827;
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .mws-cal__day.has-leave-ok {
  background: #114047;
  border-color: rgba(75, 231, 207, 0.38);
  color: #a0eee9;
}

:where(html[data-theme="dark"]) .mws-cal__day.has-leave-pending {
  background: #3a3827;
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .mws-cal__day.has-holiday {
  background: #334155;
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .mws-cal__day.has-present {
  background: #113050;
  color: #94d6f9;
}

:where(html[data-theme="dark"]) .mws-cal__day.has-absent {
  background: #4b182a;
  color: #f49ab3;
}

:where(html[data-theme="dark"]) .mws-cal-sheet__panel {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .mws-cal-sheet__weekday {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .mws-cal-sheet__title {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .mws-cal-sheet__badge {
  background: #26334a;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .mws-cal-sheet__badge[data-tone="holiday"] {
  background: #334155;
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .mws-cal-sheet__badge[data-tone="leave-ok"] {
  background: #114047;
  color: #a0eee9;
}

:where(html[data-theme="dark"]) .mws-cal-sheet__badge[data-tone="leave-pending"] {
  background: #3a3827;
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .mws-cal-sheet__badge[data-tone="present"] {
  background: #113050;
  color: #94d6f9;
}

:where(html[data-theme="dark"]) .mws-cal-sheet__badge[data-tone="absent"] {
  background: #4b182a;
  color: #f49ab3;
}

:where(html[data-theme="dark"]) .mws-cal-sheet__badge[data-tone="work"],
:where(html[data-theme="dark"]) .mws-cal-sheet__badge[data-tone="work-override"],
:where(html[data-theme="dark"]) .mws-cal-sheet__badge[data-tone="upcoming"] {
  background: #26334a;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .mws-cal-sheet__badge[data-tone="outside"] {
  background: #1e293b;
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .mws-cal-sheet__tags li {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .mws-cal-sheet__note {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .mws-action-btn--perm,
:where(html[data-theme="dark"]) .mws-action-btn--early {
  background: #3a2e27;
  color: #f3b19b;
}

:where(html[data-theme="dark"]) .mws-action-btn--mission {
  background: #26334a;
  color: #9cb3f2;
}

:where(html[data-theme="dark"]) .mws-kpi-card {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .mws-kpi-card--amber {
  background: #3a3827;
  border-color: rgba(240, 199, 66, 0.38);
}

:where(html[data-theme="dark"]) .mws-kpi-card--violet {
  background: #26334a;
}

:where(html[data-theme="dark"]) .mws-kpi-card--rose {
  background: #3a182a;
}

:where(html[data-theme="dark"]) .mws-payhero {
  border: 1px solid rgba(68, 238, 205, 0.38);
  background: linear-gradient(135deg, #123f46, #1e293b 60%);
}

:where(html[data-theme="dark"]) .mws-payhero__bridge {
  background: rgba(30, 41, 59, 0.92);
}

:where(html[data-theme="dark"]) .mws-payhero__bridge-title {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .mws-payhero__bridge-lead,
:where(html[data-theme="dark"]) .mws-payhero__bridge-note {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .mws-pay-bridge__row {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .mws-pay-bridge__row span {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .mws-pay-bridge__row--base {
  background: #113e50;
  border-color: rgba(66, 222, 240, 0.38);
}

:where(html[data-theme="dark"]) .mws-pay-bridge__row--deduct strong {
  color: #f09e9e;
}

:where(html[data-theme="dark"]) .mws-pay-bridge__row--net {
  background: #11403c;
  border-color: rgba(80, 226, 168, 0.38);
}

:where(html[data-theme="dark"]) .mws-pay-bridge__row--net strong {
  color: #94f9dd;
}

:where(html[data-theme="dark"]) .mws-pay-bridge__meta strong {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .mws-pay-monthadj {
  border: 1px dashed rgba(68, 238, 205, 0.38);
  background: rgba(18, 63, 70, 0.65);
}

:where(html[data-theme="dark"]) .mws-pay-monthadj__title {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .mws-pay-monthadj__list li {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .mws-pay-monthadj__list li.is-deduct strong {
  color: #f09e9e;
}

:where(html[data-theme="dark"]) .mws-pay-monthadj__list li.is-add strong {
  color: #94f9dd;
}

:where(html[data-theme="dark"]) .mws-pay-monthadj__foot {
  border-top: 1px solid rgba(66, 240, 203, 0.38);
}

:where(html[data-theme="dark"]) .mws-pay-monthadj__foot strong {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .mws-field {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .mws-field input,
:where(html[data-theme="dark"]) .mws-field textarea,
:where(html[data-theme="dark"]) .mws-field select {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .mws-presets button {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .mws-presets button.is-on,
:where(html[data-theme="dark"]) .mws-presets button:hover {
  border-color: rgba(68, 238, 205, 0.38);
  color: #a0eee9;
}

:where(html[data-theme="dark"]) .mws-list__item {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .mws-badge--ok {
  background: #114047;
  color: #a0eee9;
}

:where(html[data-theme="dark"]) .mws-badge--warn {
  background: #3a3827;
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .mws-badge--danger {
  background: #4b182a;
  color: #f49ab3;
}

:where(html[data-theme="dark"]) .mws-badge--info {
  background: #113050;
  color: #94d6f9;
}

:where(html[data-theme="dark"]) .mws-chip {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .mws-chip--teal {
  border-color: rgba(75, 231, 159, 0.38);
  color: #a0eee9;
}

:where(html[data-theme="dark"]) .mws-table th,
:where(html[data-theme="dark"]) .mws-table td {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .mws-profile-item {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .mws-profile-item dd {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .mws-seg button {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .mws-seg button.is-on {
  background: #113050;
  color: #94d6f9;
}

:where(html[data-theme="dark"]) .mws-panel[data-mws-panel="profile"] .mws-card {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .mws-panel[data-mws-panel="profile"] .mws-card__title {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .mws-leave-card {
  background: #26334a;
}

:where(html[data-theme="dark"]) .mws-leave-card--annual {
  background: #26334a;
  border-color: rgba(66, 143, 240, 0.38);
  color: #9fb2ef;
}

:where(html[data-theme="dark"]) .mws-leave-card--casual {
  background: #3a2e27;
  border-color: rgba(240, 159, 66, 0.38);
  color: #f3b19b;
}

:where(html[data-theme="dark"]) .mws-leave-card--sick {
  background: #26334a;
  border-color: rgba(240, 66, 66, 0.38);
  color: #eea0a0;
}

:where(html[data-theme="dark"]) .mws-leave-card--perm {
  background: #3a3827;
  border-color: rgba(240, 205, 66, 0.38);
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .mws-leave-dialog__panel {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .mws-leave-dialog__form {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .mws-leave-dialog__body {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .mws-leave-dialog__banner {
  color: #9fb2ef;
  background: #26334a;
  border: 1px solid rgba(66, 143, 240, 0.38);
}

:where(html[data-theme="dark"]) .mws-excuse-tab {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .mws-excuse-tab:hover {
  background: #26334a;
  color: #9cb3f2;
}

:where(html[data-theme="dark"]) .mws-dlg-stat {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .mws-dlg-stat--ok {
  background: #11403c;
  border-color: rgba(75, 231, 159, 0.38);
}

:where(html[data-theme="dark"]) .mws-dlg-stat--amber {
  background: #3a3827;
  border-color: rgba(240, 205, 66, 0.38);
}

:where(html[data-theme="dark"]) .mws-dlg-stat__label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .mws-dlg-stat--ok .mws-dlg-stat__label {
  color: #94f9dd;
}

:where(html[data-theme="dark"]) .mws-dlg-stat--amber .mws-dlg-stat__label {
  color: #f9c094;
}

:where(html[data-theme="dark"]) .mws-dlg-stat__value {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .mws-dlg-stat--ok .mws-dlg-stat__value {
  color: #95f8dd;
}

:where(html[data-theme="dark"]) .mws-preset-btn {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .mws-preset-btn:hover,
:where(html[data-theme="dark"]) .mws-preset-btn.is-on {
  background: #11403c;
  border-color: rgba(75, 231, 207, 0.38);
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .mws-dlg-label {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .mws-dlg-input,
:where(html[data-theme="dark"]) .mws-dlg-textarea,
:where(html[data-theme="dark"]) .mws-dlg-select {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .mws-dlg-days {
  border: 1px solid rgba(66, 143, 240, 0.38);
  background: #26334a;
}

:where(html[data-theme="dark"]) .mws-dlg-days__value {
  color: #9cb3f2;
}

:where(html[data-theme="dark"]) .mws-leave-dialog__foot {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .mws-leave-dialog__foot .ppc-btn--ghost {
  background: #1e293b;
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .mws-leave-dialog__foot .ppc-btn--ghost:hover {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .mws-zk .zk-shell {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .mws-zk-rpt {
  color: #f1f5f9;
  background: #1e293b;
}

:where(html[data-theme="dark"]) .mws-zk-rpt h2 {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .mws-zk-rpt .meta,
:where(html[data-theme="dark"]) .mws-zk-rpt .stats,
:where(html[data-theme="dark"]) .mws-zk-rpt .work {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .mws-zk-rpt .zk-rpt-doc-title__name {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .mws-zk-rpt .zk-rpt-doc-title__period {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .mws-zk-rpt .zk-rpt-doc-title__month {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .mws-zk-rpt table {
  background: #1e293b;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .mws-zk-rpt th,
:where(html[data-theme="dark"]) .mws-zk-rpt td {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .mws-zk-rpt th {
  background: #26334a;
}

:where(html[data-theme="dark"]) .mws-zk-rpt .mws-zk-days-table th.mws-zk-col-notes,
:where(html[data-theme="dark"]) .mws-zk-rpt .mws-zk-days-table td.mws-zk-col-notes {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .mws-zk-rpt tfoot td {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .mws-zk-rpt .late {
  color: #f9c094;
}

:where(html[data-theme="dark"]) .mws-zk-rpt .overtime {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .mws-zk-rpt .st-present {
  color: #94f9dd;
  background: #11403b;
}

:where(html[data-theme="dark"]) .mws-zk-rpt .st-late {
  color: #f9c094;
  background: #3a3827;
}

:where(html[data-theme="dark"]) .mws-zk-rpt .st-absent {
  color: #f599af;
  background: #4b1825;
}

:where(html[data-theme="dark"]) .mws-zk-rpt .st-holiday {
  color: #cbd5e1;
  background: #334155;
}

:where(html[data-theme="dark"]) .mws-zk-rpt .st-no_checkin,
:where(html[data-theme="dark"]) .mws-zk-rpt .st-no_checkout {
  color: #f9c094;
  background: #3a2e27;
}

:where(html[data-theme="dark"]) .mws-zk-rpt .st-off_day_work {
  color: #9bf2ec;
  background: #114047;
}

:where(html[data-theme="dark"]) .mws-zk-rpt .st-on_leave {
  color: #aba6e7;
  background: #12255e;
}

:where(html[data-theme="dark"]) .mws-zk-rpt .st-mission {
  color: #94d6f9;
  background: #113050;
}

:where(html[data-theme="dark"]) .mws-zk-rpt .st-permit,
:where(html[data-theme="dark"]) .mws-zk-rpt .st-excused {
  color: #bb98f6;
  background: #334155;
}

@media (max-width: 768px) {
:where(html[data-theme="dark"]) .mws-zk-rpt .mws-zk-days-table tbody tr,
:where(html[data-theme="dark"]) .mws-zk-rpt .mws-zk-days-table tfoot tr,
:where(html[data-theme="dark"]) .mws-zk-rpt .mws-zk-sum-table tbody tr {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}
}

@media (max-width: 768px) {
:where(html[data-theme="dark"]) .mws-zk-rpt .mws-zk-days-table td,
:where(html[data-theme="dark"]) .mws-zk-rpt .mws-zk-days-table tfoot td,
:where(html[data-theme="dark"]) .mws-zk-rpt .mws-zk-sum-table td {
  border-bottom: 1px dashed rgba(148, 163, 184, 0.24);
}
}

@media (max-width: 768px) {
:where(html[data-theme="dark"]) .mws-zk-rpt .mws-zk-days-table td::before,
:where(html[data-theme="dark"]) .mws-zk-rpt .mws-zk-days-table tfoot td::before,
:where(html[data-theme="dark"]) .mws-zk-rpt .mws-zk-sum-table td::before {
  color: #a3b1c6;
}
}

@media (max-width: 768px) {
:where(html[data-theme="dark"]) .mws-zk-rpt .mws-zk-days-table tfoot td[colspan] {
  color: #f1f5f9;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}
}

@media (max-width: 768px) {
:where(html[data-theme="dark"]) .mws-zk-rpt .mws-zk-sum-table td.mws-zk-sum-head {
  color: #f1f5f9;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}
}

:where(html[data-theme="dark"]) .mws-faceprint .zk-tab.is-active,
:where(html[data-theme="dark"]) .mws-faceprint .zk-tab[aria-selected="true"] {
  background: #11403c;
  color: #a0eee9;
}

:where(html[data-theme="dark"]) .mws-ess-form .mws-ess-card,
:where(html[data-theme="dark"]) .mws-ess-form .ja-card {
  border: 1px solid var(--mws-line, rgba(148, 163, 184, 0.24));
  background: #1e293b;
}

:where(html[data-theme="dark"]) .mws-ess-form .ja-actions {
  background: transparent;
}

:where(html[data-theme="dark"]) .mws-att-ack__form,
:where(html[data-theme="dark"]) .mws-att-ack__griev-wrap {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .mws-att-ack__form {
  border-color: rgba(68, 238, 205, 0.38);
  background: linear-gradient(165deg, #123f46 0%, #1e293b 55%);
}

:where(html[data-theme="dark"]) .mws-att-ack__griev-wrap {
  border-color: rgba(240, 66, 88, 0.38);
  background: linear-gradient(165deg, #3a182a 0%, #1e293b 55%);
}

:where(html[data-theme="dark"]) .mws-att-ack .ppc-btn--ghost,
:where(html[data-theme="dark"]) .mws-att-griev .ppc-btn--ghost {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .mws-att-ack .ppc-btn--ghost:hover,
:where(html[data-theme="dark"]) .mws-att-griev .ppc-btn--ghost:hover {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .mws-att-ack__hint {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .mws-att-ack__badge--ok {
  background: #11403c;
  color: #95f8dd;
  border: 1px solid rgba(80, 226, 168, 0.38);
}

:where(html[data-theme="dark"]) .mws-att-griev {
  border: 1px solid rgba(240, 66, 88, 0.38);
  background: #3a182a;
}

:where(html[data-theme="dark"]) .mws-att-griev__title {
  color: #f49ab3;
}

:where(html[data-theme="dark"]) .mws-att-griev-list__title {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .mws-att-griev-list__item {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .mws-att-griev-list__item p {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .mws-att-griev-list__status {
  background: #26334a;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .mws-att-griev-list__item--pending .mws-att-griev-list__status {
  background: #3a2f27;
  color: #f3b19b;
}

:where(html[data-theme="dark"]) .mws-att-griev-list__item--approved .mws-att-griev-list__status {
  background: #11403b;
  color: #95f8dd;
}

:where(html[data-theme="dark"]) .mws-att-griev-list__item--rejected .mws-att-griev-list__status {
  background: #4b182a;
  color: #f49ab3;
}

:where(html[data-theme="dark"]) .mws-att-griev-list__hr {
  color: #f1f5f9 !important;
}

:where(html[data-theme="dark"]) .mws-doc-card {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .mws-doc-card__icon {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .mws-doc-card__thumb {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #26334a;
}

:where(html[data-theme="dark"]) .mws-doc-card__thumb--pdf {
  color: #ef9e9e;
  background: linear-gradient(145deg, #26334a, #3a2e27);
}

:where(html[data-theme="dark"]) .mws-doc-card__name {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .mws-doc-card__meta {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .mws-doc-card__expiry {
  color: #f29caf;
}

:where(html[data-theme="dark"]) .mws-docs-modal__panel.sls-student-modal-panel {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .mws-docs-modal__head .ppc-btn--ghost {
  border-color: rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .mws-docs-modal__body {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .mws-docs-modal__foot {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .mws-docs-modal__foot .ppc-btn--ghost {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .mws-docs-modal__foot .ppc-btn--ghost:hover {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .mws-docs-modal .mws-field {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .mws-docs-drop {
  border: 2px dashed rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .mws-docs-drop:hover,
:where(html[data-theme="dark"]) .mws-docs-drop.is-dragover {
  background: #123f46;
}

:where(html[data-theme="dark"]) .mws-docs-drop.has-file {
  border-color: rgba(68, 238, 205, 0.38);
  background: #11403c;
}

:where(html[data-theme="dark"]) .mws-docs-drop__icon {
  background: #26334a;
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .mws-docs-drop.has-file .mws-docs-drop__icon {
  background: #114047;
}

:where(html[data-theme="dark"]) .mws-docs-drop__title {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .mws-docs-drop__hint {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .mws-docs-drop__thumb {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .mws-docs-drop__thumb-pdf {
  color: #ef9e9e;
  background: linear-gradient(145deg, #26334a, #3a2e27);
}

:where(html[data-theme="dark"]) .mws-docs-drop__file-name {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .mws-docs-file-modal__panel {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .mws-docs-file-modal__frame {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .mws-docs-empty {
  border: 1px dashed rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .mws-doc-card {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .mws-doc-card:hover {
  border-color: rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .mws-doc-card__icon {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .mws-doc-card__name {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .mws-doc-card__meta {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .mws-doc-card__expiry {
  color: #f29caf;
}

:where(html[data-theme="dark"]) .mws-docs-file-modal__panel {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .mws-docs-file-modal__body {
  background: #26334a;
}

:where(html[data-theme="dark"]) .mws-docs-file-modal__loader {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .mws-docs-file-modal__frame {
  background: #1e293b;
}

/* ── public/css/hr/salaries_calculator.css ── */
:where(html[data-theme="dark"]) .sc-portal .sc-lang-btn {
  background: rgba(30, 41, 59, 0.72);
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .sc-money {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sc-money__prefix {
  background: #26334a;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .sc-check {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .sc-si-cap-warn {
  background: #3a2e27;
  color: #f3b19b;
}

:where(html[data-theme="dark"]) .sc-results__grid {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sc-result-row,
:where(html[data-theme="dark"]) .sc-result-meta {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) button.sc-result-row {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) button.sc-result-row:hover,
:where(html[data-theme="dark"]) button.sc-result-row:focus-visible {
  background: #1e293b;
}

:where(html[data-theme="dark"]) button.sc-result-row.is-open {
  background: #26334a;
}

:where(html[data-theme="dark"]) button.sc-result-row.is-open .sc-result-row__chev {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .sc-result-explain {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sc-result-explain__title {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .sc-result-explain__line {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .sc-fx-table > tbody > tr > th,
:where(html[data-theme="dark"]) .sc-fx-table > tbody > tr > td {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sc-fx-table > tbody > tr:last-child > th,
:where(html[data-theme="dark"]) .sc-fx-table > tbody > tr:last-child > td {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sc-fx-table > tbody > tr > th {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .sc-fx-table > tbody > tr > td {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sc-fx-table__formula {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sc-fx-brackets__title {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .sc-fx-brackets-table th,
:where(html[data-theme="dark"]) .sc-fx-brackets-table td {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sc-fx-brackets-table thead th {
  background: #26334a;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .sc-fx-brackets-table tbody td {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sc-fx-brackets-table__label {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .sc-fx-brackets-table__note {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sc-fx-brackets__skipped,
:where(html[data-theme="dark"]) .sc-fx-brackets__idle {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sc-fx-brackets__applied {
  background: #3a3827;
}

:where(html[data-theme="dark"]) .sc-fx-brackets__applied .sc-fx-brackets-table__tax {
  color: #f9c094;
}

:where(html[data-theme="dark"]) .sc-result-explain__eq {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sc-status--hint {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sc-result-row--net {
  background: #11403c;
  color: #95f8dd;
}

:where(html[data-theme="dark"]) button.sc-result-row--net:hover,
:where(html[data-theme="dark"]) button.sc-result-row--net:focus-visible,
:where(html[data-theme="dark"]) button.sc-result-row--net.is-open {
  background: #11403b;
}

:where(html[data-theme="dark"]) .sc-result-row--cost {
  background: #26334a;
  color: #aca8e6;
}

:where(html[data-theme="dark"]) button.sc-result-row--cost:hover,
:where(html[data-theme="dark"]) button.sc-result-row--cost:focus-visible,
:where(html[data-theme="dark"]) button.sc-result-row--cost.is-open {
  background: #12255e;
}

:where(html[data-theme="dark"]) .sc-result-val--deduct {
  color: #f9c094;
}

:where(html[data-theme="dark"]) .sc-result-meta {
  background: #1e293b;
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sc-status--loading {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .sc-status--error {
  color: #f09e9e;
}

:where(html[data-theme="dark"]) .sc-section--target .ja-section-title {
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .sc-section--components .ja-section-title {
  color: #a0eee9;
}

:where(html[data-theme="dark"]) .sc-section--statutory .ja-section-title {
  color: #a3b6eb;
}

:where(html[data-theme="dark"]) .sc-section--si .ja-section-title {
  color: #aca8e6;
}

:where(html[data-theme="dark"]) .sc-disability-panel {
  border: 1px solid rgba(66, 143, 240, 0.38);
  background: #26334a;
}

/* ── public/css/employees/employees.css ── */
:where(html[data-theme="dark"]) #empPageRoot .dropdown-menu {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) #empPageRoot .dropdown-menu a {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) #empPageRoot .dropdown-menu a:hover {
  background: #1e293b;
}

:where(html[data-theme="dark"]) #empPageRoot .emp-toolbar-btn {
  color: #e2e8f0;
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) #empPageRoot .emp-toolbar-btn:hover {
  background: #1e293b;
}

:where(html[data-theme="dark"]) #empPageRoot .emp-kpi-btn:hover {
  border-color: rgba(68, 238, 205, 0.38);
  background: #1e293b;
}

:where(html[data-theme="dark"]) #empPageRoot .emp-kpi-chip {
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) #empPageRoot .emp-alert--amber {
  background: #3a3827;
  border-color: rgba(240, 205, 66, 0.38);
}

:where(html[data-theme="dark"]) #empPageRoot .emp-alert--rose {
  background: #3a182a;
  border-color: rgba(240, 66, 88, 0.38);
}

:where(html[data-theme="dark"]) #empPageRoot .emp-alert--amber .emp-alert__dismiss:hover {
  color: #f9c094;
  background: #3a3827;
}

:where(html[data-theme="dark"]) #empPageRoot .emp-alert--rose .emp-alert__dismiss:hover {
  color: #f599af;
  background: #4b182a;
}

:where(html[data-theme="dark"]) #empPageRoot .emp-alert--amber .emp-alert__icon {
  background: #3a3827;
  color: #f9c094;
}

:where(html[data-theme="dark"]) #empPageRoot .emp-alert--rose .emp-alert__icon {
  background: #4b182a;
  color: #f599af;
}

:where(html[data-theme="dark"]) #empPageRoot .emp-alert__title {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) #empPageRoot .emp-alert--amber .emp-alert__title {
  color: #f5bc99;
}

:where(html[data-theme="dark"]) #empPageRoot .emp-alert--rose .emp-alert__title {
  color: #f49ab3;
}

:where(html[data-theme="dark"]) #empPageRoot .emp-alert--amber .emp-alert__count {
  background: #4b4525;
  color: #f5bc99;
}

:where(html[data-theme="dark"]) #empPageRoot .emp-alert--rose .emp-alert__count {
  background: #4b182c;
  color: #f49ab3;
}

:where(html[data-theme="dark"]) #empPageRoot .emp-alert__desc {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) #empPageRoot .emp-alert--rose .emp-alert__desc {
  color: #f49ab3;
}

:where(html[data-theme="dark"]) #empPageRoot .emp-alert__chips {
  background: rgba(30, 41, 59, 0.65);
}

:where(html[data-theme="dark"]) #empPageRoot .emp-alert__chip--more {
  background: #3a3827;
  color: #f5bc99;
}

:where(html[data-theme="dark"]) #empPageRoot .emp-alert__chip {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) #empPageRoot .emp-alert__chip:hover {
  background: #1e293b;
}

:where(html[data-theme="dark"]) #empPageRoot .emp-alert--amber .emp-alert__chip:hover {
  background: #3a3827;
}

:where(html[data-theme="dark"]) #empPageRoot .emp-alert--rose .emp-alert__chip:hover {
  background: #3a182a;
}

:where(html[data-theme="dark"]) #empPageRoot .emp-alert__chip-meta {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) #empPageRoot .emp-alert--amber .emp-alert__chip-meta {
  color: #f9c094;
}

:where(html[data-theme="dark"]) #empPageRoot .emp-alert--rose .emp-alert__chip-meta {
  color: #f599af;
}

:where(html[data-theme="dark"]) #empPageRoot .emp-alert__filter {
  background: #1e293b;
  color: #f5bc99;
}

:where(html[data-theme="dark"]) #empPageRoot .emp-alert__filter:hover {
  background: #3a3827;
}

:where(html[data-theme="dark"]) #empPageRoot .emp-req-row {
  background: #1e293b;
  border: 1px solid rgba(240, 66, 88, 0.38);
}

:where(html[data-theme="dark"]) #empPageRoot .emp-req-row__meta {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) #empPageRoot .emp-req-row__who {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) #empPageRoot .emp-req-badge--archive {
  background: #334155;
  color: #bea0ee;
  border-color: rgba(97, 66, 240, 0.38);
}

:where(html[data-theme="dark"]) #empPageRoot .emp-req-badge--delete {
  background: #4b182a;
  color: #f49ab3;
  border-color: rgba(240, 66, 88, 0.38);
}

:where(html[data-theme="dark"]) #empPageRoot .emp-board__head {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  background: var(--hr-wash, #1e293b);
}

:where(html[data-theme="dark"]) #empPageRoot .emp-board__title {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) #empPageRoot .emp-board__listing {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) #empPageRoot #employeesTable thead th {
  background: #26334a;
}

:where(html[data-theme="dark"]) #empPageRoot #employeesTable tbody tr.employee-row:hover {
  background: #123f46;
}

:where(html[data-theme="dark"]) #empPageRoot #employeesTable tbody tr.employee-row:focus-within {
  background: #11403c;
}

:where(html[data-theme="dark"]) #employeeModalContent .emp-tab-btn {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) #employeeModalContent .emp-tab-btn:hover {
  color: #e2e8f0;
  background: rgba(30, 41, 59, 0.6);
}

:where(html[data-theme="dark"]) #employeeModalContent .emp-tab-btn.active,
:where(html[data-theme="dark"]) #employeeModalContent .emp-tab-btn[aria-selected="true"] {
  color: #9bf2ec;
  background: #1e293b;
}

:where(html[data-theme="dark"]) #employeeModalContent .emp-section-title {
  color: #e2e8f0;
  border-bottom: 2px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) #employeeModalContent .emp-field-label {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) #employeeForm .sls-field-label__icon {
  background: linear-gradient(145deg, #114047 0%, #123f46 55%, #113e50 100%);
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) #employeeModalContent .emp-field-hint {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) #employeeModalContent .tab-content input:not([type="checkbox"]):not([type="file"]):not([type="hidden"]):not([type="radio"]),
:where(html[data-theme="dark"]) #employeeModalContent .tab-content select,
:where(html[data-theme="dark"]) #employeeModalContent .tab-content textarea {
  color: #f1f5f9;
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) #employeeModalContent .tab-content input[readonly],
:where(html[data-theme="dark"]) #employeeModalContent .tab-content input:disabled {
  background: #1e293b;
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) #employeeModalContent .emp-modal-footer {
  background: #1e293b;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .emp-payroll-section {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .emp-payroll-section__head {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .emp-payroll-section__title {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .emp-payroll-section__hint {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .emp-disability-panel {
  border: 1px solid rgba(66, 143, 240, 0.38);
  background: #26334a;
}

:where(html[data-theme="dark"]) .emp-disability-panel__check {
  color: #a3b6eb;
}

:where(html[data-theme="dark"]) .emp-payroll-section--target .emp-payroll-section__head {
  background: #3a3827;
  border-bottom-color: rgba(240, 205, 66, 0.38);
}

:where(html[data-theme="dark"]) .emp-payroll-section--target .emp-payroll-section__title {
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .emp-payroll-section--components .emp-payroll-section__head {
  background: #123f46;
  border-bottom-color: rgba(68, 238, 205, 0.38);
}

:where(html[data-theme="dark"]) .emp-payroll-section--components .emp-payroll-section__title {
  color: #a0eee9;
}

:where(html[data-theme="dark"]) .emp-payroll-section--si .emp-payroll-section__head {
  background: #26334a;
  border-bottom-color: rgba(66, 101, 240, 0.38);
}

:where(html[data-theme="dark"]) .emp-payroll-section--si .emp-payroll-section__title {
  color: #aca8e6;
}

:where(html[data-theme="dark"]) .emp-payroll-section--bank .emp-payroll-section__head {
  background: #123f46;
  border-bottom-color: rgba(68, 238, 205, 0.38);
}

:where(html[data-theme="dark"]) .emp-payroll-section--linkage .emp-payroll-section__body {
  background: #26334a;
}

:where(html[data-theme="dark"]) #empPageRoot .emp-money-group,
:where(html[data-theme="dark"]) .emp-money-group {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) #empPageRoot .emp-money-prefix,
:where(html[data-theme="dark"]) .emp-money-prefix {
  color: #a3b1c6;
  background: #1e293b;
  border-right: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .emp-payroll-financial-lock-banner {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #26334a;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .emp-payroll-financial-lock-banner i {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .emp-money-group--recorded-locked {
  background: #26334a !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
}

:where(html[data-theme="dark"]) .emp-money-group--recorded-locked .emp-money-prefix {
  background: #334155;
}

:where(html[data-theme="dark"]) .emp-payroll-field--recorded-locked,
:where(html[data-theme="dark"]) #empPageRoot .emp-payroll-field--recorded-locked,
:where(html[data-theme="dark"]) .emp-money-field.emp-payroll-field--recorded-locked,
:where(html[data-theme="dark"]) .emp-payroll-money-input.emp-payroll-field--recorded-locked {
  background: #26334a !important;
  color: #a3b1c6 !important;
  -webkit-text-fill-color: #a3b1c6;
}

:where(html[data-theme="dark"]) #empPageRoot .emp-money-group--target,
:where(html[data-theme="dark"]) .emp-money-group--target {
  border-color: rgba(240, 199, 66, 0.38);
}

:where(html[data-theme="dark"]) #empPageRoot .emp-money-group--target .emp-money-prefix,
:where(html[data-theme="dark"]) .emp-money-group--target .emp-money-prefix {
  color: #f9c094;
  background: #3a3827;
  border-right-color: rgba(240, 205, 66, 0.38);
}

:where(html[data-theme="dark"]) #empPageRoot .emp-money-group--target .emp-money-field,
:where(html[data-theme="dark"]) .emp-money-group--target .emp-money-field {
  color: #f3bb9b;
}

:where(html[data-theme="dark"]) #empPageRoot .emp-money-group--basic,
:where(html[data-theme="dark"]) .emp-money-group--basic {
  border-color: rgba(75, 231, 207, 0.38);
}

:where(html[data-theme="dark"]) #empPageRoot .emp-money-group--basic .emp-money-prefix,
:where(html[data-theme="dark"]) .emp-money-group--basic .emp-money-prefix {
  color: #9bf2ec;
  background: #123f46;
  border-right-color: rgba(68, 238, 205, 0.38);
}

:where(html[data-theme="dark"]) #empPageRoot .emp-money-group--basic .emp-money-field,
:where(html[data-theme="dark"]) .emp-money-group--basic .emp-money-field {
  color: #a5e9e4;
}

:where(html[data-theme="dark"]) #empPageRoot .emp-money-group--variable .emp-money-prefix,
:where(html[data-theme="dark"]) .emp-money-group--variable .emp-money-prefix {
  color: #bea0ee;
  background: #26334a;
  border-right-color: rgba(97, 66, 240, 0.38);
}

:where(html[data-theme="dark"]) #empPageRoot .emp-money-group--variable .emp-money-field,
:where(html[data-theme="dark"]) .emp-money-group--variable .emp-money-field {
  color: #bfa1ed;
}

:where(html[data-theme="dark"]) #empPageRoot .emp-money-group--si .emp-money-prefix,
:where(html[data-theme="dark"]) .emp-money-group--si .emp-money-prefix {
  color: #aba6e7;
  background: #26334a;
  border-right-color: rgba(66, 101, 240, 0.38);
}

:where(html[data-theme="dark"]) #empPageRoot .emp-money-group--si .emp-money-field,
:where(html[data-theme="dark"]) .emp-money-group--si .emp-money-field {
  color: #aaa8e6;
}

:where(html[data-theme="dark"]) .emp-payroll-live-preview {
  border-top: 1px dashed rgba(240, 199, 66, 0.38);
}

:where(html[data-theme="dark"]) .emp-payroll-live-preview-title {
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .emp-payroll-preview-grid {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .emp-payroll-preview-row {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .emp-payroll-preview-row--net {
  background: #11403c;
  border: 1px solid rgba(68, 238, 205, 0.38);
  color: #95f8dd;
}

:where(html[data-theme="dark"]) .emp-payroll-preview-row--cost {
  background: #1e293b;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .emp-payroll-preview-val {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .emp-payroll-preview-val--deduct {
  color: #f9c094;
}

:where(html[data-theme="dark"]) .emp-payroll-preview-note {
  color: #f9c094;
}

:where(html[data-theme="dark"]) .emp-si-cap-warn {
  color: #f9c094;
}

:where(html[data-theme="dark"]) #employeeModal .adv-dropzone,
:where(html[data-theme="dark"]) #empPageRoot .adv-dropzone {
  border: 2px dashed rgba(148, 163, 184, 0.24);
  background-color: #1e293b;
}

:where(html[data-theme="dark"]) #employeeModal .adv-dropzone:hover,
:where(html[data-theme="dark"]) #empPageRoot .adv-dropzone:hover {
  background-color: #26334a;
}

:where(html[data-theme="dark"]) #employeeModal .adv-dropzone.dragover,
:where(html[data-theme="dark"]) #empPageRoot .adv-dropzone.dragover {
  background-color: #11403c;
}

:where(html[data-theme="dark"]) #employeeModal .staged-file-card,
:where(html[data-theme="dark"]) #empPageRoot .staged-file-card {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) #employeeModal .staged-file-card .file-name,
:where(html[data-theme="dark"]) #empPageRoot .staged-file-card .file-name {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) #employeeModal .staged-file-card .file-type-select,
:where(html[data-theme="dark"]) #empPageRoot .staged-file-card .file-type-select {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) #employeeModal .sls-doc-thumb,
:where(html[data-theme="dark"]) #empPageRoot .sls-doc-thumb {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) #employeeModal .sls-doc-thumb:hover,
:where(html[data-theme="dark"]) #empPageRoot .sls-doc-thumb:hover {
  border-color: rgba(68, 238, 205, 0.38);
}

:where(html[data-theme="dark"]) #employeeModal .sls-doc-thumb__preview,
:where(html[data-theme="dark"]) #empPageRoot .sls-doc-thumb__preview {
  background: #26334a;
}

:where(html[data-theme="dark"]) #employeeModal .sls-doc-thumb__icon,
:where(html[data-theme="dark"]) #empPageRoot .sls-doc-thumb__icon {
  background: linear-gradient(160deg, #3a182a 0%, #4b1825 100%);
}

:where(html[data-theme="dark"]) #employeeModal .sls-doc-thumb__icon .fa-file-alt,
:where(html[data-theme="dark"]) #empPageRoot .sls-doc-thumb__icon .fa-file-alt {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) #employeeModal .sls-doc-thumb__name,
:where(html[data-theme="dark"]) #empPageRoot .sls-doc-thumb__name {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) #employeeModal .sls-doc-thumb__actions .sls-doc-view,
:where(html[data-theme="dark"]) #empPageRoot .sls-doc-thumb__actions .sls-doc-view {
  background: #26334a;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) #employeeModal .sls-doc-thumb__actions .sls-doc-delete,
:where(html[data-theme="dark"]) #empPageRoot .sls-doc-thumb__actions .sls-doc-delete {
  background: #3a182a;
  color: #f29caf;
}

:where(html[data-theme="dark"]) #employeeModal .progress-bar-container,
:where(html[data-theme="dark"]) #empPageRoot .progress-bar-container {
  background: #334155;
}

:where(html[data-theme="dark"]) #employeeModal .sls-gmaps-place-ac-host gmp-place-autocomplete,
:where(html[data-theme="dark"]) #employeeModal .sls-gmaps-place-ac-host .sls-gmaps-place-ac {
  --gmp-mat-color-surface: #1e293b;
}

:where(html[data-theme="dark"]) #employeeModal .sls-stu-map-wrap {
  border: 2px solid rgba(148, 163, 184, 0.24);
  background: #26334a;
}

:where(html[data-theme="dark"]) #employeeModal .sls-stu-map-pin {
  color: #f29caf;
}

:where(html[data-theme="dark"]) #employeeModal .sls-stu-map-status {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) #employeeModal .sls-stu-map-status__plot {
  background: #11403c;
  color: #9bf2ec;
  border: 1px solid rgba(68, 238, 205, 0.38);
}

:where(html[data-theme="dark"]) #employeeModal .sls-stu-map-type {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) #employeeModal .sls-stu-map-type__btn {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) #employeeModal .sls-stu-map-type__btn + .sls-stu-map-type__btn {
  border-inline-start: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) #employeeModal .sls-stu-map-type__btn:hover:not(.is-active):not([aria-pressed="true"]) {
  background: #26334a;
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .emp-bulk-header {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  background: linear-gradient(180deg, #1e293b 0%, #1e293b 100%);
}

:where(html[data-theme="dark"]) .emp-bulk-header__title {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .emp-bulk-header__icon {
  background: #11403c;
}

:where(html[data-theme="dark"]) .emp-bulk-header__sub {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .emp-bulk-close-btn {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .emp-bulk-close-btn:hover {
  background: #26334a;
  color: #f1f5f9;
  border-color: rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .emp-bulk-body {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .emp-bulk-tip {
  border: 1px solid rgba(240, 205, 66, 0.38);
  background: #3a3827;
}

:where(html[data-theme="dark"]) .emp-bulk-template-link {
  color: #94f9dd;
}

:where(html[data-theme="dark"]) .emp-bulk-template-link:hover {
  color: #95f8dd;
}

:where(html[data-theme="dark"]) .emp-bulk-section-label {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .emp-bulk-chip {
  color: #e2e8f0;
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .emp-bulk-chip--match {
  color: #9bf2ec;
  background: #11403c;
  border-color: rgba(68, 238, 205, 0.38);
}

:where(html[data-theme="dark"]) .emp-bulk-chip--more {
  color: #a3b1c6;
  background: #26334a;
}

:where(html[data-theme="dark"]) .emp-bulk-dropzone {
  border: 2px dashed rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .emp-bulk-dropzone:hover,
:where(html[data-theme="dark"]) .emp-bulk-dropzone.is-dragover {
  background: #11403c;
}

:where(html[data-theme="dark"]) .emp-bulk-dropzone.has-file {
  background: #123f34;
}

:where(html[data-theme="dark"]) .emp-bulk-dropzone__title {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .emp-bulk-dropzone__hint {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .emp-bulk-preview-bar {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .emp-bulk-table-wrap {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .emp-bulk-table thead th {
  background: #26334a;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .emp-bulk-table tbody td {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .emp-bulk-table tbody tr:hover td {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .emp-bulk-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .emp-bulk-btn--ghost {
  background: #1e293b;
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .emp-bulk-btn--ghost:hover:not(:disabled) {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .emp-ops-dialog__panel {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .emp-ops-excuse-tab {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .emp-ops-excuse-tab:hover {
  background: #26334a;
  color: #9cb3f2;
}

:where(html[data-theme="dark"]) .emp-ops-mission-leg {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .emp-ops-mission-leg label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .emp-ops-mission-leg input {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .emp-ops-mission-leg__remove {
  background: #4b1825;
  color: #f09e9e;
}

:where(html[data-theme="dark"]) #employeeModal .emp-ops-leave-card--annual {
  background: #26334a;
  border-color: rgba(66, 143, 240, 0.38);
  color: #9fb2ef;
}

:where(html[data-theme="dark"]) #employeeModal .emp-ops-leave-card--casual {
  background: #3a2e27;
  border-color: rgba(240, 159, 66, 0.38);
  color: #f3b19b;
}

:where(html[data-theme="dark"]) #employeeModal .emp-ops-leave-card--sick {
  background: #26334a;
  border-color: rgba(240, 66, 66, 0.38);
  color: #eea0a0;
}

:where(html[data-theme="dark"]) #employeeModal .emp-ops-leave-card--perm {
  background: #3a3827;
  border-color: rgba(240, 205, 66, 0.38);
  color: #f5bc99;
}

/* ── public/css/finance/cash_denoms.css ── */
:where(html[data-theme="dark"]) .fcd-section {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: linear-gradient(180deg, #3a3827 0%, #1e293b 100%);
}

:where(html[data-theme="dark"]) .fcd-section__title {
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .fcd-section__hint {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fcd-card {
  border: 1px solid rgba(240, 205, 66, 0.38);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .fcd-card__face {
  color: #f9c094;
}

:where(html[data-theme="dark"]) .fcd-input {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .fcd-card__value {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .fcd-total-bar {
  background: #3a3827;
  border: 1px solid rgba(240, 199, 66, 0.38);
}

:where(html[data-theme="dark"]) .fcd-total-bar__label {
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .fcd-total-bar__value {
  color: #f9c094;
}

:where(html[data-theme="dark"]) .fcd-total-bar__match--ok {
  background: #114035;
  color: #a3ebbe;
}

:where(html[data-theme="dark"]) .fcd-total-bar__match--warn {
  background: #4b1825;
  color: #eea0a0;
}

/* ── public/css/finance/extra_fees_page.css ── */
:where(html[data-theme="dark"]) .ef-page {
  --ef-border: rgba(148, 163, 184, 0.24);
  --ef-muted: #a3b1c6;
}

:where(html[data-theme="dark"]) .ef-page__title {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ef-kpi__item {
  background: #1e293b;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .ef-kpi__item strong {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ef-kpi__item--warn {
  border-color: rgba(240, 66, 66, 0.38);
  background: #3a182a;
  color: #f49ab3;
}

:where(html[data-theme="dark"]) .ef-panel {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ef-panel__head {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  background: linear-gradient(180deg, #1e293b 0%, #1e293b 100%);
}

:where(html[data-theme="dark"]) .ef-panel__title {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ef-panel__meta strong {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .ef-add {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ef-field label {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .ef-field input[type="text"],
:where(html[data-theme="dark"]) .ef-field input[type="number"],
:where(html[data-theme="dark"]) .ef-field input[type="date"],
:where(html[data-theme="dark"]) .ef-field select {
  background: #1e293b;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ef-grades__label {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .ef-grades__box {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ef-grades__all {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .ef-grades__all:has(:checked) {
  border-color: rgba(68, 238, 205, 0.38);
  color: #a0eee9;
}

:where(html[data-theme="dark"]) .ef-grade-chip {
  background: #1e293b;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .ef-grade-chip:hover {
  border-color: rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ef-grade-chip:has(:checked) {
  border-color: rgba(75, 231, 207, 0.38);
  color: #a0eee9;
}

:where(html[data-theme="dark"]) .ef-grade-chip input,
:where(html[data-theme="dark"]) .ef-grades__all input {
  border-color: rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ef-table thead th {
  background: #1e293b;
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ef-table tbody td {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ef-table tbody tr:hover {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ef-table .ef-grade-badge {
  background: #26334a;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .ef-table .ef-grade-badge--all {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ef-icon-btn {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ef-icon-btn:hover {
  background: #26334a;
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ef-icon-btn--danger:hover {
  background: #3a182a;
  color: #f599af;
}

:where(html[data-theme="dark"]) .ef-sync {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ef-sync__summary-title {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ef-sync__body {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ef-btn--ghost {
  background: #1e293b;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .ef-btn--ghost:hover {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ef-btn--danger {
  border: 1px solid rgba(240, 66, 88, 0.38);
  background: #1e293b;
  color: #f599af;
}

:where(html[data-theme="dark"]) .ef-btn--danger:hover {
  background: #3a182a;
}

:where(html[data-theme="dark"]) .ef-cat-chip {
  background: #1e293b;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .ef-cat-chip:has(:checked) {
  border-color: rgba(68, 238, 205, 0.38);
  color: #a0eee9;
}

:where(html[data-theme="dark"]) .ef-picker {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ef-picker__head {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ef-picker__search input {
  background: #1e293b;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ef-picker__count {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .ef-picker__count strong {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ef-picker__filters {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ef-picker__list-head {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ef-picker__row {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ef-picker__row:hover {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ef-picker__name {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ef-picker__sid {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ef-picker__grade {
  background: #26334a;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .ef-sync__help {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ef-sync__help > summary {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .ef-sync__help-body {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ef-edit__back {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ef-edit__back:hover {
  color: #9bf2ec;
}

/* ── public/css/finance/financial_profile_layout.css ── */
:where(html[data-theme="dark"]) .fp-student-avatar-wrap--photo {
  border: 2px solid rgba(148, 163, 184, 0.24);
  background: #26334a;
}

:where(html[data-theme="dark"]) .fp-student-hero__name-ar {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .fp-student-hero__name-en {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) a.fp-student-name-link:hover,
:where(html[data-theme="dark"]) a.fp-student-name-link:focus-visible {
  color: #98b5f6;
}

:where(html[data-theme="dark"]) .fp-badge {
  background: #26334a;
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-badge--code {
  background: #26334a;
  color: #9cb3f2;
  border-color: rgba(66, 143, 240, 0.38);
}

:where(html[data-theme="dark"]) .fp-student-hero__year-select {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #9fb2ef;
}

:where(html[data-theme="dark"]) .fp-family-bar {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-family-tile {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-family-tile--guardian {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .fp-family-tile--emergency {
  background: #26334a;
}

:where(html[data-theme="dark"]) .fp-family-tile__head {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .fp-family-tile--father .fp-family-tile__head i {
  color: #98b5f6;
}

:where(html[data-theme="dark"]) .fp-family-tile--mother .fp-family-tile__head i {
  color: #ef9fc2;
}

:where(html[data-theme="dark"]) .fp-family-tile--emergency .fp-family-tile__head i {
  color: #ef9e9e;
}

:where(html[data-theme="dark"]) .fp-family-tile--siblings .fp-family-tile__head i {
  color: #a19df1;
}

:where(html[data-theme="dark"]) .fp-family-tile__count {
  background: #12255e;
  color: #aca8e6;
}

:where(html[data-theme="dark"]) .fp-family-tile__row dd {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .fp-family-phone {
  color: #9cb3f2;
}

:where(html[data-theme="dark"]) .fp-family-sibling-link {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #a3b6eb;
}

:where(html[data-theme="dark"]) .fp-family-sibling-photo {
  background: #26334a;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-family-sibling-link:hover {
  background: #26334a;
}

:where(html[data-theme="dark"]) .fp-family-sibling-link__meta {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-year-empty__year-link {
  color: #98b5f6;
}

:where(html[data-theme="dark"]) .fp-year-empty__year-link:hover {
  color: #9cb3f2;
}

:where(html[data-theme="dark"]) .fp-edit-tx-modal-footer {
  background: #1e293b;
}

/* ── public/css/finance/fp_bus_subscription.css ── */
:where(html[data-theme="dark"]) .fp-bus-panel {
  background: #1e293b;
  border: 1px solid rgba(66, 180, 240, 0.38);
}

:where(html[data-theme="dark"]) .fp-bus-panel__title {
  color: #9ad3f4;
}

:where(html[data-theme="dark"]) .fp-bus-summary {
  background: linear-gradient(135deg, #26334a 0%, #113050 100%);
}

:where(html[data-theme="dark"]) .fp-bus-summary__label {
  color: #94d6f9;
}

:where(html[data-theme="dark"]) .fp-bus-summary__amount {
  color: #9ad3f4;
}

:where(html[data-theme="dark"]) .fp-bus-summary__meta {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-bus-lead {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-bus-empty {
  border: 1px dashed rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .fp-bus-empty p {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .fp-bus-chip {
  background: #26334a;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .fp-bus-app {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .fp-bus-app.is-approved {
  border-color: rgba(75, 231, 131, 0.38);
  background: #123f34;
}

:where(html[data-theme="dark"]) .fp-bus-app.is-review {
  border-color: rgba(240, 199, 66, 0.38);
  background: #3a3827;
}

:where(html[data-theme="dark"]) .fp-bus-app__ref {
  color: #94d6f9;
}

:where(html[data-theme="dark"]) .fp-bus-app__badge {
  background: #334155;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .fp-bus-app.is-approved .fp-bus-app__badge {
  background: #125039;
  color: #a3ebbe;
}

:where(html[data-theme="dark"]) .fp-bus-app.is-review .fp-bus-app__badge {
  background: #4b4525;
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .fp-bus-app__timing {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-bus-app__name {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .fp-bus-app__grade {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-bus-app__facts {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .fp-bus-fees__title {
  color: #9ad3f4;
}

:where(html[data-theme="dark"]) .fp-bus-fees__empty {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-bus-fees-table th,
:where(html[data-theme="dark"]) .fp-bus-fees-table td {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-bus-fees-table thead th {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-bus-fees-table tfoot th {
  color: #9ad3f4;
}

:where(html[data-theme="dark"]) .fp-bus-fees-table tr.is-posted {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .fp-bus-fee-name {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .fp-bus-posted-yes {
  color: #9fefbd;
}

:where(html[data-theme="dark"]) .fp-bus-posted-no {
  color: #f9c094;
}

:where(html[data-theme="dark"]) .fp-bus-btn--ghost {
  background: #1e293b;
  color: #94d6f9;
}

:where(html[data-theme="dark"]) .fp-bus-btn--ghost:hover {
  background: #26334a;
}

:where(html[data-theme="dark"]) .fp-bus-btn--danger {
  background: #1e293b;
  color: #f09e9e;
}

:where(html[data-theme="dark"]) .fp-bus-btn--danger:hover:not(:disabled) {
  background: #26334a;
}

/* ── public/css/finance/fp_extra_fee_modal.css ── */
:where(html[data-theme="dark"]) .fp-extra-fee-empty-cta {
  background: #26334a !important;
}

:where(html[data-theme="dark"]) .fp-extra-fee-empty-cta > p {
  color: #cbd5e1 !important;
}

:where(html[data-theme="dark"]) .fp-extra-fee-modal-header {
  background: linear-gradient(180deg, #26334a 0%, #1e293b 100%);
}

:where(html[data-theme="dark"]) .fp-extra-fee-close {
  color: #a3b1c6 !important;
  background: #26334a !important;
  border: 1px solid rgba(148, 163, 184, 0.24) !important;
}

:where(html[data-theme="dark"]) .fp-extra-fee-close:hover {
  color: #f1f5f9 !important;
  background: #334155 !important;
}

:where(html[data-theme="dark"]) .fp-extra-fee-modal-body {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .fp-extra-fee-modal-footer {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .fp-extra-fee-preview {
  background: linear-gradient(135deg, #26334a 0%, #12305e 100%);
}

:where(html[data-theme="dark"]) .fp-extra-fee-preview code {
  background: rgba(30, 41, 59, 0.9);
  color: #a3b6eb;
}

:where(html[data-theme="dark"]) .fp-extra-fee-chip {
  border: 2px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .fp-extra-fee-chip:hover {
  background: #26334a;
}

:where(html[data-theme="dark"]) .fp-extra-fee-chip.is-selected {
  background: #12305e;
}

:where(html[data-theme="dark"]) .fp-extra-fee-chip .text-sky-700 {
  color: #9cb3f2 !important;
}

/* ── public/css/finance/fp_financial_ledger.css ── */
:where(html[data-theme="dark"]) .fp-ledger-panel {
  background: linear-gradient(180deg, #26334a 0%, #1e293b 42%);
  border: 1px solid rgba(149, 66, 240, 0.38);
}

:where(html[data-theme="dark"]) .fp-ledger-panel__hero {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-ledger-panel__title {
  color: #bfa1ed;
}

:where(html[data-theme="dark"]) .fp-ledger-panel__subtitle {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-ledger-bulk-bar {
  background: linear-gradient(90deg, #334155, #26334a);
}

:where(html[data-theme="dark"]) .fp-ledger-bulk-bar__count {
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .fp-ledger-btn--danger {
  background: #26334a;
  color: #f09e9e;
  border: 1px solid rgba(240, 66, 66, 0.38);
}

:where(html[data-theme="dark"]) .fp-ledger-btn--danger:hover {
  background: #4b1825;
  color: #eea0a0;
}

:where(html[data-theme="dark"]) .fp-ledger-row--selected {
  background: #26334a !important;
}

:where(html[data-theme="dark"]) .fp-ledger-row--selected:hover {
  background: #334155 !important;
}

:where(html[data-theme="dark"]) .fp-ledger-autosave {
  color: #a3b1c6;
  background: #26334a;
}

:where(html[data-theme="dark"]) .fp-ledger-autosave--saving {
  color: #f9c094;
  background: #3a3827;
}

:where(html[data-theme="dark"]) .fp-ledger-autosave--ok {
  color: #a3ebbe;
  background: #114035;
}

:where(html[data-theme="dark"]) .fp-ledger-autosave--err {
  color: #f09e9e;
  background: #4b1825;
}

:where(html[data-theme="dark"]) .fp-ledger-btn--ghost {
  background: #1e293b;
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-ledger-btn--ghost:hover {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .fp-ledger-th-sort:hover {
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .fp-ledger-th-sort--active {
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .fp-ledger-act {
  background: #26334a;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .fp-ledger-act:hover {
  background: #334155;
}

:where(html[data-theme="dark"]) .fp-ledger-act--edit {
  color: #98b5f6;
}

:where(html[data-theme="dark"]) .fp-ledger-act--del {
  color: #ef9e9e;
}

:where(html[data-theme="dark"]) .fp-ledger-meta-card {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-ledger-meta-card--open {
  background: #26334a;
}

:where(html[data-theme="dark"]) .fp-ledger-meta-card--debit {
  border-color: rgba(240, 66, 66, 0.38);
  background: #26334a;
}

:where(html[data-theme="dark"]) .fp-ledger-meta-card--credit {
  border-color: rgba(72, 234, 129, 0.38);
  background: #123f34;
}

:where(html[data-theme="dark"]) .fp-ledger-meta-card--close {
  border-color: rgba(66, 143, 240, 0.38);
  background: #26334a;
}

:where(html[data-theme="dark"]) .fp-ledger-meta-card__label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-ledger-meta-card__value {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .fp-ledger-scroll {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .fp-ledger-table thead th {
  background: linear-gradient(180deg, #26334a, #334155);
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .fp-ledger-table tbody tr:nth-child(even) {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .fp-ledger-table tbody tr:hover {
  background: #26334a;
}

:where(html[data-theme="dark"]) .fp-ledger-table tbody td {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-ledger-table .fp-ledger-cell {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .fp-ledger-table .fp-ledger-cell:hover:not(:disabled) {
  background: #1e293b;
  border-color: rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-ledger-table .fp-ledger-cell:focus {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .fp-ledger-table .fp-ledger-cell:disabled {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .fp-ledger-table .fp-ledger-cell--num.fp-ledger-cell--debit {
  color: #ef9e9e;
}

:where(html[data-theme="dark"]) .fp-ledger-table .fp-ledger-cell--num.fp-ledger-cell--credit {
  color: #9fefbd;
}

:where(html[data-theme="dark"]) .fp-ledger-table .fp-ledger-balance {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .fp-ledger-table tr.fp-ledger-row--display-only {
  background: linear-gradient(90deg, rgba(38, 51, 74, 0.95), rgba(51, 65, 85, 0.85)) !important;
}

:where(html[data-theme="dark"]) .fp-ledger-table tr.fp-ledger-row--display-only .fp-ledger-cell--static {
  color: #bfa1ed;
}

:where(html[data-theme="dark"]) .fp-ledger-status-pill--display {
  color: #bea0ee;
  background: #334155;
}

:where(html[data-theme="dark"]) .fp-ledger-table tr.fp-ledger-row--discount {
  background: rgba(58, 56, 39, 0.35) !important;
}

:where(html[data-theme="dark"]) .fp-ledger-table tr.fp-ledger-row--saving {
  background: rgba(58, 56, 39, 0.5) !important;
}

:where(html[data-theme="dark"]) .fp-ledger-exempt-row td {
  background: linear-gradient(90deg, #113e50, #26334a);
  border-bottom: 1px solid rgba(66, 180, 240, 0.38);
}

:where(html[data-theme="dark"]) .fp-ledger-exempt-label {
  color: #99e1f5;
}

:where(html[data-theme="dark"]) .fp-ledger-exempt-inner .fp-ledger-cell {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .fp-ledger-search-wrap {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .fp-ledger-search-icon {
  color: #bb98f6;
}

:where(html[data-theme="dark"]) .fp-ledger-search-input {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .fp-ledger-search-clear {
  background: #26334a;
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-ledger-search-clear:hover {
  background: #334155;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .fp-ledger-search-count {
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .fp-ledger-row--search-hit {
  background: #3a3d27 !important;
}

/* ── public/css/finance/fp_warehouse_uniform.css ── */
:where(html[data-theme="dark"]) .fp-wh-tabs {
  background: #26334a;
  border: 1px solid rgba(97, 66, 240, 0.38);
}

:where(html[data-theme="dark"]) .fp-wh-tabs__btn {
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .fp-wh-tabs__btn:hover {
  background: rgba(30, 41, 59, 0.75);
  color: #bfa1ed;
}

:where(html[data-theme="dark"]) .fp-wh-tabs__badge {
  background: #334155;
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .fp-wh-wishlist-summary {
  border: 1px solid rgba(97, 66, 240, 0.38);
  background: linear-gradient(135deg, #26334a 0%, #334155 100%);
}

:where(html[data-theme="dark"]) .fp-wh-wishlist-summary__label {
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .fp-wh-wishlist-summary__amount {
  color: #bfa1ed;
}

:where(html[data-theme="dark"]) .fp-wh-wishlist-summary__meta {
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .fp-wh-wishlist-app__fee-badge.is-posted {
  background: #114035;
  color: #a3ebbe;
}

:where(html[data-theme="dark"]) .fp-wh-wishlist-app__fee-badge.is-pending {
  background: #3a2f27;
  color: #f3b19b;
}

:where(html[data-theme="dark"]) .fp-wh-wishlist-app.is-fee-posted {
  border-color: rgba(75, 231, 131, 0.38);
}

:where(html[data-theme="dark"]) .fp-wh-wishlist-empty {
  border: 1px dashed rgba(97, 66, 240, 0.38);
  background: #26334a;
}

:where(html[data-theme="dark"]) .fp-wh-wishlist-total-card {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .fp-wh-wishlist-total-card--due {
  background: #26334a;
}

:where(html[data-theme="dark"]) .fp-wh-wishlist-total-card__label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-wh-wishlist-total-card--due .fp-wh-wishlist-total-card__label {
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .fp-wh-wishlist-total-card__value {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .fp-wh-wishlist-total-card--due .fp-wh-wishlist-total-card__value {
  color: #bfa1ed;
}

:where(html[data-theme="dark"]) .fp-wh-wishlist-app {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .fp-wh-wishlist-app.is-paid-pending {
  background: #26334a;
}

:where(html[data-theme="dark"]) .fp-wh-wishlist-app.is-completed {
  border-color: rgba(72, 234, 129, 0.38);
  background: #123f34;
}

:where(html[data-theme="dark"]) .fp-wh-wishlist-app__ref {
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .fp-wh-wishlist-app__badge {
  background: #334155;
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .fp-wh-wishlist-app.is-paid-pending .fp-wh-wishlist-app__badge {
  background: #113050;
  color: #94d6f9;
}

:where(html[data-theme="dark"]) .fp-wh-wishlist-app.is-completed .fp-wh-wishlist-app__badge {
  background: #114035;
  color: #a3ebbe;
}

:where(html[data-theme="dark"]) .fp-wh-wishlist-app__ticket {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-wh-wishlist-app__subtotal {
  color: #bfa1ed;
}

:where(html[data-theme="dark"]) .fp-wh-wishlist-app__name {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .fp-wh-wishlist-table th,
:where(html[data-theme="dark"]) .fp-wh-wishlist-table td {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-wh-wishlist-table thead th {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-wh-wishlist-item-name {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .fp-wh-ub-catalog-wrap {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .fp-wh-ub-catalog-table th,
:where(html[data-theme="dark"]) .fp-wh-ub-catalog-table td {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-wh-ub-catalog-table thead th {
  background: #1e293b;
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-wh-ub-catalog-name {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .fp-wh-ub-catalog-gender {
  background: #334155;
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .fp-wh-ub-catalog-price {
  color: #bfa1ed;
}

:where(html[data-theme="dark"]) .fp-wh-tab-panel-lead {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-wh-history-card {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) #fp-wh-movements-table tr.is-selected {
  background: #26334a;
}

:where(html[data-theme="dark"]) .fp-wh-history-card__title {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .fp-wh-manage-packages-inline {
  color: #bb98f6;
}

:where(html[data-theme="dark"]) .fp-wh-manage-packages-inline:hover {
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .fp-wh-issue-panel {
  border: 1px solid rgba(97, 66, 240, 0.38);
  background: linear-gradient(180deg, rgba(38, 51, 74, 0.65) 0%, rgba(30, 41, 59, 0.9) 100%);
}

:where(html[data-theme="dark"]) .fp-wh-search-form {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .fp-wh-search-icon {
  color: #bb98f6;
}

:where(html[data-theme="dark"]) .fp-wh-search-input {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .fp-wh-search-clear {
  background: #26334a;
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-wh-search-clear:hover {
  background: #334155;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .fp-wh-suggest-panel {
  border: 1px solid rgba(97, 66, 240, 0.38);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .fp-wh-suggest-header {
  background: linear-gradient(180deg, #26334a 0%, #334155 100%);
  border-bottom: 1px solid rgba(149, 66, 240, 0.38);
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .fp-wh-suggest-query {
  background: #1e293b;
  border: 1px solid rgba(97, 66, 240, 0.38);
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .fp-wh-suggest-empty,
:where(html[data-theme="dark"]) .fp-wh-suggest-hint {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-wh-suggest-item {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-wh-suggest-item:hover,
:where(html[data-theme="dark"]) .fp-wh-suggest-item.is-active {
  background: #26334a;
}

:where(html[data-theme="dark"]) .fp-wh-suggest-avatar {
  background: #334155;
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .fp-wh-suggest-title {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .fp-wh-suggest-pill {
  background: #26334a;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .fp-wh-suggest-pill--code {
  background: #12255e;
  color: #aca8e6;
}

:where(html[data-theme="dark"]) .fp-wh-suggest-pill--stock {
  background: #11403b;
  color: #95f8dd;
}

:where(html[data-theme="dark"]) .fp-wh-suggest-pill--stock.fp-wh-suggest-pill--out {
  background: #4b1825;
  color: #eea0a0;
}

:where(html[data-theme="dark"]) .fp-wh-suggest-pill--price {
  background: #3a3827;
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .fp-wh-selected {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .fp-wh-selected-label {
  color: #bfa1ed;
}

:where(html[data-theme="dark"]) .fp-wh-selected-sub {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-wh-field label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-wh-field input {
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-wh-line-total {
  border: 1px solid rgba(240, 199, 66, 0.38);
  background: #3a3827;
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .fp-wh-btn--ghost {
  background: #26334a;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .fp-wh-cart-total {
  color: #bfa1ed;
}

:where(html[data-theme="dark"]) .fp-wh-cart-pkg-header td,
:where(html[data-theme="dark"]) .fp-wh-cart-extra-header td {
  border-top: 1px solid rgba(149, 66, 240, 0.38);
  background: #26334a;
  color: #cba1ed;
}

:where(html[data-theme="dark"]) .fp-wh-cart-extra-header td {
  background: #26334a;
  border-top-color: rgba(66, 180, 240, 0.38);
  color: #94d6f9;
}

:where(html[data-theme="dark"]) .fp-wh-line-badge--pkg {
  background: #334155;
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .fp-wh-line-badge--extra {
  background: #113050;
  color: #94d6f9;
}

:where(html[data-theme="dark"]) .fp-wh-lines-table thead {
  background: #1e293b;
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-wh-lines-table tbody tr {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-wh-remove-line {
  color: #ef9e9e;
}

:where(html[data-theme="dark"]) .fp-wh-search-highlight {
  background: #334155;
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .fp-wh-catalog {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-wh-catalog-details {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .fp-wh-catalog-summary {
  background: linear-gradient(180deg, #1e293b 0%, #1e293b 100%);
}

:where(html[data-theme="dark"]) .fp-wh-catalog-summary-title {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .fp-wh-catalog-summary-hint {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-wh-catalog-filter-input {
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-wh-catalog-bulk-bar {
  background: linear-gradient(135deg, #26334a 0%, #334155 100%);
}

:where(html[data-theme="dark"]) .fp-wh-catalog-sel-count {
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .fp-wh-catalog-export-menu {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-wh-catalog-export-item {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .fp-wh-catalog-export-item:hover {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .fp-wh-catalog-row--selected {
  background: rgba(51, 65, 85, 0.55) !important;
}

:where(html[data-theme="dark"]) .fp-wh-catalog-add {
  background: rgba(38, 51, 74, 0.45);
}

:where(html[data-theme="dark"]) .fp-wh-catalog-add-title {
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .fp-wh-catalog-form label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-wh-catalog-form input {
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-wh-catalog-table-wrap {
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-wh-catalog-table th,
:where(html[data-theme="dark"]) .fp-wh-catalog-table td {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-wh-catalog-table tbody tr:nth-child(even) {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .fp-wh-catalog-row--edit {
  background: #3a3d27 !important;
}

:where(html[data-theme="dark"]) .fp-wh-catalog-edit,
:where(html[data-theme="dark"]) .fp-wh-catalog-del {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-wh-catalog-del {
  color: #ef9e9e;
}

:where(html[data-theme="dark"]) .fp-wh-label-sheet {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-wh-label-block {
  background: #1e293b;
  border: 1px dashed rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-wh-label-type {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-wh-label-options {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .fp-wh-label-options-head h4 {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .fp-wh-label-options-hint {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-wh-label-option-group legend {
  color: #bb98f6;
}

:where(html[data-theme="dark"]) .fp-wh-label-option {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .fp-wh-label-preview-title {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-wh-label-header {
  border-bottom: 1px dashed rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-wh-label-school {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .fp-wh-label-address,
:where(html[data-theme="dark"]) .fp-wh-label-contacts {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .fp-wh-label-product-name {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .fp-wh-label-meta-row dt {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-wh-label-meta-row dd {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .fp-wh-packages-quick {
  background: linear-gradient(135deg, rgba(58, 56, 39, 0.35) 0%, rgba(38, 51, 74, 0.6) 100%);
}

:where(html[data-theme="dark"]) .fp-wh-packages-quick-title {
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .fp-wh-packages-quick-hint {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-wh-manage-packages-link,
:where(html[data-theme="dark"]) .fp-wh-manage-packages-inline {
  color: #bb98f6;
}

:where(html[data-theme="dark"]) .fp-wh-manage-packages-link:hover,
:where(html[data-theme="dark"]) .fp-wh-manage-packages-inline:hover {
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .fp-wh-package-card {
  border: 1px solid rgba(97, 66, 240, 0.38);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .fp-wh-package-card-name {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .fp-wh-package-card-meta {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-wh-season-summer .fp-wh-package-card-name {
  color: #f9c094;
}

:where(html[data-theme="dark"]) .fp-wh-season-winter .fp-wh-package-card-name {
  color: #94d6f9;
}

:where(html[data-theme="dark"]) .fp-wh-package-select {
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-wh-divider::before,
:where(html[data-theme="dark"]) .fp-wh-divider::after {
  background: #334155;
}

:where(html[data-theme="dark"]) .fp-wh-pkg-list-item {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .fp-wh-pkg-list-item.is-selected {
  background: #26334a;
}

:where(html[data-theme="dark"]) .fp-wh-season-summer.fp-wh-pkg-list-icon {
  background: #3a3827;
  color: #f9c094;
}

:where(html[data-theme="dark"]) .fp-wh-season-winter.fp-wh-pkg-list-icon {
  background: #113050;
  color: #94d6f9;
}

:where(html[data-theme="dark"]) .fp-wh-pkg-list-meta {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-wh-pkg-form label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-wh-pkg-form input,
:where(html[data-theme="dark"]) .fp-wh-pkg-form select,
:where(html[data-theme="dark"]) .fp-wh-pkg-form textarea {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .fp-wh-pkg-fixed-wrap input {
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-wh-pkg-totals {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .fp-wh-pkg-lines-wrap input {
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-wh-pkg-line-del {
  color: #ef9e9e;
}

:where(html[data-theme="dark"]) .fp-wh-btn--danger {
  color: #ef9e9e;
  border-color: rgba(240, 66, 66, 0.38);
}

:where(html[data-theme="dark"]) .fp-wh-btn--danger:hover {
  background: #26334a;
}

:where(html[data-theme="dark"]) .fp-wh-pkg-editor {
  border: 1px solid rgba(97, 66, 240, 0.38);
  background: linear-gradient(180deg, #1e293b 0%, #26334a 100%);
}

:where(html[data-theme="dark"]) .fp-wh-pkg-editor-title {
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .fp-wh-pkg-section {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .fp-wh-pkg-section--pricing {
  background: linear-gradient(135deg, #26334a 0%, #3a3827 100%);
}

:where(html[data-theme="dark"]) .fp-wh-pkg-section-title {
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .fp-wh-pkg-block-label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-wh-pkg-pricing-block {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-wh-pkg-discount-block {
  border-color: rgba(240, 205, 66, 0.38);
}

:where(html[data-theme="dark"]) .fp-wh-pkg-discount-value-wrap input {
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-wh-pkg-discount-suffix {
  color: #bb98f6;
}

:where(html[data-theme="dark"]) .fp-wh-pkg-price-summary {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-wh-pkg-price-row {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .fp-wh-pkg-price-row--discount {
  color: #f9c094;
}

:where(html[data-theme="dark"]) .fp-wh-pkg-price-row--final {
  color: #bea0ee;
  border-top: 1px dashed rgba(97, 66, 240, 0.38);
}

:where(html[data-theme="dark"]) .fp-wh-pkg-disc-tag {
  color: #f9c094;
}

:where(html[data-theme="dark"]) .fp-wh-modal-panel {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-wh-modal-header {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  background: linear-gradient(180deg, #26334a 0%, #1e293b 100%);
}

:where(html[data-theme="dark"]) .fp-wh-modal-header h3 {
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .fp-wh-modal-close {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-wh-modal-close:hover {
  background: #26334a;
}

:where(html[data-theme="dark"]) .fp-wh-picker-filter-hint {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-wh-picker-filter-field label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-wh-picker-filter-field input {
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-wh-picker-selected-count {
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .fp-wh-btn--picker-action {
  background: #26334a;
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .fp-wh-btn--picker-action:hover {
  background: #334155;
}

:where(html[data-theme="dark"]) .fp-wh-catalog-picker-results {
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-wh-picker-table th,
:where(html[data-theme="dark"]) .fp-wh-picker-table td {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-wh-picker-row {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .fp-wh-picker-row:nth-child(even) {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .fp-wh-picker-row:hover {
  background: #26334a;
}

:where(html[data-theme="dark"]) .fp-wh-picker-row.is-selected {
  background: #334155 !important;
}

:where(html[data-theme="dark"]) .fp-wh-modal-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

/* ── public/css/finance/income_collection_form.css ── */
:where(html[data-theme="dark"]) .fp-income-modal-meta__item {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fp-income-modal-meta__item--paid {
  border-color: rgba(72, 234, 129, 0.38);
  background: #123f34;
}

:where(html[data-theme="dark"]) .fp-income-modal-meta__item--due {
  border-color: rgba(240, 66, 66, 0.38);
  background: #26334a;
}

:where(html[data-theme="dark"]) .fp-income-modal-meta__label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fp-income-modal-meta__value {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .fp-income-modal-meta__item--paid .fp-income-modal-meta__value {
  color: #9fefbd;
}

:where(html[data-theme="dark"]) .fp-income-modal-meta__item--due .fp-income-modal-meta__value {
  color: #f09e9e;
}

:where(html[data-theme="dark"]) .icf-live-preview {
  background: linear-gradient(135deg, #26334a 0%, #1e293b 55%, #26334a 100%);
  border: 1px solid rgba(66, 143, 240, 0.38);
}

:where(html[data-theme="dark"]) .icf-parents-info {
  border-top: 1px solid rgba(66, 143, 240, 0.38);
}

:where(html[data-theme="dark"]) .icf-parents-info__title {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .icf-parents-info__card {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .icf-parents-info__card--guardian {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .icf-parents-info__card--emergency {
  background: #26334a;
}

:where(html[data-theme="dark"]) .icf-parents-info__role {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .icf-parents-info__dl dd {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .icf-siblings {
  border-top: 1px dashed rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .icf-siblings__head {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .icf-siblings__count {
  color: #989af6;
}

:where(html[data-theme="dark"]) .icf-siblings__li {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .icf-siblings__name {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .icf-siblings__grade {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .icf-family-total {
  background: #26334a;
  border: 1px solid rgba(66, 101, 240, 0.38);
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .icf-family-total strong {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) #fp_fam_grand_balance {
  color: #f09e9e;
}

:where(html[data-theme="dark"]) #fp_fam_total_payments {
  color: #9fefbd;
}

:where(html[data-theme="dark"]) #fp_fam_total_overdue {
  color: #f8b295;
}

:where(html[data-theme="dark"]) .icf-batch {
  border-top: 2px solid rgba(66, 101, 240, 0.38);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .icf-batch__title {
  color: #aaa8e6;
}

:where(html[data-theme="dark"]) .icf-batch__hint {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .icf-batch__total {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .icf-batch__total strong {
  color: #98b5f6;
}

:where(html[data-theme="dark"]) .icf-batch__tabs {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .icf-batch__tab {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .icf-batch__tab:hover {
  background: #26334a;
}

:where(html[data-theme="dark"]) .icf-batch__pay-status {
  color: #a3b1c6;
  background: #26334a;
  border: 1px dashed rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .icf-batch__pay-status.is-included {
  color: #94f9dd;
  background: #11403c;
  border: 1px solid rgba(80, 226, 168, 0.38);
}

:where(html[data-theme="dark"]) .icf-batch__balance {
  color: #f9c094;
}

:where(html[data-theme="dark"]) .icf-installment-plan--batch {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .icf-live-preview__name {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .icf-live-preview__meta {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .icf-stat {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .icf-stat--pay .icf-stat__val {
  color: #98b5f6;
}

:where(html[data-theme="dark"]) .icf-stat--remain .icf-stat__val {
  color: #ef9e9e;
}

:where(html[data-theme="dark"]) .icf-stat--balance .icf-stat__val {
  color: #f9c094;
}

:where(html[data-theme="dark"]) .icf-collection-bar__track {
  background: #4b1825;
  border: 1px solid rgba(240, 66, 66, 0.38);
}

:where(html[data-theme="dark"]) .icf-legend--paid {
  color: #9fefbd;
}

:where(html[data-theme="dark"]) .icf-legend--paid strong {
  color: #a3ebbe;
}

:where(html[data-theme="dark"]) .icf-legend--out {
  color: #f09e9e;
}

:where(html[data-theme="dark"]) .icf-legend--out strong {
  color: #eea0a0;
}

:where(html[data-theme="dark"]) .icf-installment-plan {
  border-top: 1px dashed rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .icf-installment-plan__title {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .icf-installment-plan__hint {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .icf-inst-card {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .icf-inst-card--paid {
  border-color: rgba(75, 231, 131, 0.38);
  background: #123f34;
}

:where(html[data-theme="dark"]) .icf-inst-card--partial {
  border-color: rgba(240, 199, 66, 0.38);
  background: #3a3827;
}

:where(html[data-theme="dark"]) .icf-inst-card__title {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .icf-inst-card__due {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .icf-inst-card__cell {
  background: rgba(30, 41, 59, 0.9);
}

:where(html[data-theme="dark"]) .icf-inst-card__cell--paid strong {
  color: #9fefbd;
}

:where(html[data-theme="dark"]) .icf-inst-card__cell--rem strong {
  color: #ef9e9e;
}

:where(html[data-theme="dark"]) .icf-inst-card__pct {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .icf-inst-badge--paid {
  background: #114035;
  color: #a3ebbe;
}

:where(html[data-theme="dark"]) .icf-inst-badge--partial {
  background: #3a3827;
  color: #f9c094;
}

:where(html[data-theme="dark"]) .icf-inst-badge--pending {
  background: #26334a;
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .icf-installment-plan__empty {
  border: 1px dashed rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .icf-live-preview__message {
  color: #e2e8f0;
  background: rgba(30, 41, 59, 0.75);
  border: 1px dashed rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .icf-live-preview__message strong {
  color: #9cb3f2;
}

:where(html[data-theme="dark"]) .icf-live-preview__message.icf-msg--clear {
  border-color: rgba(75, 231, 131, 0.38);
  background: #123f34;
  color: #a3ebbe;
}

:where(html[data-theme="dark"]) .icf-live-preview__message.icf-msg--warn {
  border-color: rgba(240, 199, 66, 0.38);
  background: #3a3827;
  color: #f9c094;
}

:where(html[data-theme="dark"]) .icf-label {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .icf-hint {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .icf-control {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .icf-date-part__sub {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .icf-date-weekday {
  background: #26334a;
  border-color: rgba(148, 163, 184, 0.24);
  color: #9fb2ef;
}

:where(html[data-theme="dark"]) .icf-control--ledger {
  background: #26334a;
}

:where(html[data-theme="dark"]) .icf-control--account {
  background: #3a3827;
  border-color: rgba(240, 199, 66, 0.38);
}

:where(html[data-theme="dark"]) .icf-control--muted {
  background: #1e293b;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .icf-input-group__btn {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #26334a;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .icf-input-group__btn:hover {
  background: #334155;
}

:where(html[data-theme="dark"]) .icf-input-group__btn--blue {
  background: #26334a;
  border-color: rgba(66, 143, 240, 0.38);
  color: #9cb3f2;
}

:where(html[data-theme="dark"]) .icf-input-group__btn--blue:hover {
  background: #12305e;
}

/* ── public/css/warehouse/warehouse_pages.css ── */
:where(html[data-theme="dark"]) .wh-row-highlight {
  background: #3a3827 !important;
}

:where(html[data-theme="dark"]) .wh-page__title {
  color: #bfa1ed;
}

:where(html[data-theme="dark"]) .wh-page__lead {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .wh-tabs {
  background: #26334a;
  border: 1px solid rgba(97, 66, 240, 0.38);
}

:where(html[data-theme="dark"]) .wh-tabs__btn {
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .wh-tabs__btn:hover {
  background: rgba(30, 41, 59, 0.75);
  color: #bfa1ed;
}

:where(html[data-theme="dark"]) .wh-panel {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .wh-panel__head {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  color: #e2e8f0;
  background: #1e293b;
}

:where(html[data-theme="dark"]) .wh-flash--ok {
  background: #11403c;
  border: 1px solid rgba(75, 231, 159, 0.38);
  color: #95f8dd;
}

:where(html[data-theme="dark"]) .wh-flash--err {
  background: #26334a;
  border: 1px solid rgba(240, 66, 66, 0.38);
  color: #eea0a0;
}

:where(html[data-theme="dark"]) .wh-stat {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .wh-stat__label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .wh-stat__value {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .wh-summary-chip--in {
  background: #114035;
  border-color: rgba(75, 231, 131, 0.38);
  color: #a3ebbe;
}

:where(html[data-theme="dark"]) .wh-summary-chip--out {
  background: #4b1825;
  color: #eea0a0;
}

:where(html[data-theme="dark"]) .wh-summary-chip--bal {
  background: #3a3d27;
  border-color: rgba(240, 212, 66, 0.38);
  color: #f4ca99;
}

:where(html[data-theme="dark"]) .wh-btn--ghost {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .wh-bulk-bar {
  background: #26334a;
  border-bottom: 1px solid rgba(240, 66, 66, 0.38);
}

:where(html[data-theme="dark"]) .wh-bulk-bar__count {
  color: #eea0a0;
}

:where(html[data-theme="dark"]) .wh-table thead th {
  background: #26334a;
  color: #bea0ee;
  border-bottom: 1px solid rgba(97, 66, 240, 0.38);
}

:where(html[data-theme="dark"]) .wh-table tbody td {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .wh-table tbody tr:hover {
  background: #26334a;
}

:where(html[data-theme="dark"]) .wh-table tfoot td {
  background: #1e293b;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .wh-field label {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .wh-field input,
:where(html[data-theme="dark"]) .wh-field select,
:where(html[data-theme="dark"]) .wh-field textarea {
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .wh-field input[readonly] {
  background: #1e293b;
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .wh-hint {
  background: #26334a;
  border: 1px solid rgba(97, 66, 240, 0.38);
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .wh-filter-bar {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .wh-link {
  color: #bb98f6;
}

:where(html[data-theme="dark"]) .wh-badge {
  background: #334155;
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .wh-booking-header {
  border-bottom: 2px solid rgba(97, 66, 240, 0.38);
}

:where(html[data-theme="dark"]) .wh-booking-label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .wh-booking-section-title {
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .wh-booking-table .wh-booking-season td {
  background: #26334a;
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .wh-booking-item-en,
:where(html[data-theme="dark"]) .wh-booking-item-ar {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .wh-booking-missing {
  color: #f9c094;
}

:where(html[data-theme="dark"]) .wh-booking-grand td {
  background: #3a3827 !important;
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .wh-booking-payment,
:where(html[data-theme="dark"]) .wh-booking-parent {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .wh-booking-payment h3,
:where(html[data-theme="dark"]) .wh-booking-parent h3 {
  color: #bfa1ed;
}

/* ── public/css/books/books_hub.css ── */
:where(html[data-theme="dark"]) .bm-hub,
:where(html[data-theme="dark"]) .bm-modal {
  --bm-border: rgba(148, 163, 184, 0.24);
  --bm-ink: #f1f5f9;
  --bm-muted: #a3b1c6;
  --bm-surface: #1e293b;
  --bm-bg: #1e293b;
}

:where(html[data-theme="dark"]) .bm-btn-hero {
  background: #1e293b;
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .bm-btn-hero:hover {
  background: #123f46;
}

:where(html[data-theme="dark"]) .bm-readonly-banner {
  background: #3a2e27;
  border: 1px solid rgba(240, 159, 66, 0.38);
  color: #f3b19b;
}

:where(html[data-theme="dark"]) .bm-stat--accent {
  border-color: rgba(68, 238, 205, 0.38);
  background: linear-gradient(180deg, #123f46 0%, #1e293b 70%);
}

:where(html[data-theme="dark"]) .bm-hub-tab {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .bm-hub-tab:hover {
  background: #26334a;
}

:where(html[data-theme="dark"]) .bm-card {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-card:hover {
  border-color: rgba(68, 238, 205, 0.38);
}

:where(html[data-theme="dark"]) .bm-card-accent {
  background: linear-gradient(180deg, #123f46 0%, #1e293b 55%);
}

:where(html[data-theme="dark"]) .bm-card-portal {
  background: linear-gradient(180deg, #1e293b 0%, #1e293b 60%);
}

:where(html[data-theme="dark"]) .bm-portal-flags li.is-on {
  background: #114035;
  color: #a3ebbe;
}

:where(html[data-theme="dark"]) .bm-portal-flags li.is-off {
  background: #4b1825;
  color: #eea0a0;
}

:where(html[data-theme="dark"]) .bm-btn-outline {
  background: #1e293b;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .bm-btn-outline:hover {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-input,
:where(html[data-theme="dark"]) .bm-textarea,
:where(html[data-theme="dark"]) .bm-select {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-input:focus,
:where(html[data-theme="dark"]) .bm-textarea:focus {
  border-color: rgba(75, 231, 207, 0.38);
}

:where(html[data-theme="dark"]) .bm-row {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-row:hover {
  border-color: rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .bm-badge {
  background: #12255e;
  color: #aca8e6;
}

:where(html[data-theme="dark"]) .bm-badge.test {
  background: #4a1846;
  color: #f19dbf;
}

:where(html[data-theme="dark"]) .bm-badge.on {
  background: #114035;
  color: #a3ebbe;
}

:where(html[data-theme="dark"]) .bm-badge.off {
  background: #26334a;
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .bm-badge.req {
  background: #3a2f27;
  color: #f3b19b;
}

:where(html[data-theme="dark"]) .bm-badge.opt {
  background: #113050;
  color: #94d6f9;
}

:where(html[data-theme="dark"]) .bm-badge.muted {
  background: #26334a;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .bm-badge.kind {
  background: #113e50;
  color: #99e1f5;
}

:where(html[data-theme="dark"]) .bm-badge.feat {
  background: #3a3827;
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .bm-empty-catalog {
  border: 1px dashed rgba(68, 238, 205, 0.38);
  background: linear-gradient(180deg, #123f46 0%, #1e293b 55%);
}

:where(html[data-theme="dark"]) .bm-form-grid label {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .bm-question-block {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-student-hits {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-student-hit {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .bm-student-hit:hover {
  background: #123f46;
}

:where(html[data-theme="dark"]) .bm-pdf-icon {
  color: #ef9e9e;
}

:where(html[data-theme="dark"]) .bm-toggle-card {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-toggle-card:has(input:checked) {
  border-color: rgba(75, 231, 207, 0.38);
  background: #123f46;
}

:where(html[data-theme="dark"]) .bm-modal-panel {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-modal-header {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-modal-close {
  background: #26334a;
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .bm-modal-close:hover {
  background: #334155;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .bm-modal-footer {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-results-table th {
  background: #1e293b;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .bm-results-table tbody tr:hover {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-catalog-bar {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-cat-card {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-cat-card:hover {
  border-color: rgba(68, 238, 205, 0.38);
}

:where(html[data-theme="dark"]) .bm-audience-box {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-grades-box {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-grade-check,
:where(html[data-theme="dark"]) .bm-grade-chips label {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-grade-check:has(input:checked),
:where(html[data-theme="dark"]) .bm-grade-chips label:has(input:checked) {
  background: #123f46;
  color: #a0eee9;
}

:where(html[data-theme="dark"]) .bm-student-chip {
  background: #114047;
  color: #a0eee9;
}

:where(html[data-theme="dark"]) .bm-cat-manage-row {
  background: #1e293b;
}

:where(html[data-theme="dark"]) #bmModal .bm-modal-panel.sls-student-modal-panel {
  background: #1e293b;
}

:where(html[data-theme="dark"]) #bmModal .bm-btn-outline {
  background: #1e293b;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) #bmModal input[type="file"].bm-input {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-kind-box,
:where(html[data-theme="dark"]) .bm-pages-box {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-kind-pick {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-kind-pick:has(input:checked) {
  background: #123f46;
  color: #a0eee9;
}

:where(html[data-theme="dark"]) .bm-page-thumb {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-page-thumb figcaption {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .bm-crumb {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-crumb-btn {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-tree-card {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-tree-card:hover {
  border-color: color-mix(in srgb, var(--bm-tone, var(--bm-primary)) 45%, rgba(148, 163, 184, 0.24));
}

:where(html[data-theme="dark"]) .bm-tree-card__icon {
  background: color-mix(in srgb, var(--bm-tone, var(--bm-primary)) 16%, #1e293b);
}

:where(html[data-theme="dark"]) .bm-icon-pick i {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-color-pick span {
  border: 2px solid rgba(148, 163, 184, 0.24);
}

/* ── public/css/books/books_inline.css ── */
:where(html[data-theme="dark"]) .sls-books-inline {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-books-inline--admin .tab-content {
  border-right: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-books-inline--admin #acp-list .list-group-item.active,
:where(html[data-theme="dark"]) .sls-books-inline--admin #acp-list .list-group-item.active:focus,
:where(html[data-theme="dark"]) .sls-books-inline--admin #acp-list .list-group-item.active:hover {
  background-color: #1a3745;
  border-color: rgba(68, 238, 205, 0.38);
  color: #9bf2ec;
}

@media (max-width: 1023px) {
:where(html[data-theme="dark"]) .sls-books-inline--admin .tab-content {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}
}

/* ── public/css/books_hub/books_hub.css ── */
:where(html[data-theme="dark"]) .bm-hub,
:where(html[data-theme="dark"]) .bm-modal {
  --bm-border: rgba(148, 163, 184, 0.24);
  --bm-ink: #f1f5f9;
  --bm-muted: #a3b1c6;
  --bm-surface: #1e293b;
  --bm-bg: #1e293b;
}

:where(html[data-theme="dark"]) .bm-btn-hero {
  background: #1e293b;
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .bm-btn-hero:hover {
  background: #123f46;
}

:where(html[data-theme="dark"]) .bm-readonly-banner {
  background: #3a2e27;
  border: 1px solid rgba(240, 159, 66, 0.38);
  color: #f3b19b;
}

:where(html[data-theme="dark"]) .bm-stat--accent {
  border-color: rgba(68, 238, 205, 0.38);
  background: linear-gradient(180deg, #123f46 0%, #1e293b 70%);
}

:where(html[data-theme="dark"]) .bm-hub-tab {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .bm-hub-tab:hover {
  background: #26334a;
}

:where(html[data-theme="dark"]) .bm-card {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-card:hover {
  border-color: rgba(68, 238, 205, 0.38);
}

:where(html[data-theme="dark"]) .bm-card-accent {
  background: linear-gradient(180deg, #123f46 0%, #1e293b 55%);
}

:where(html[data-theme="dark"]) .bm-card-portal {
  background: linear-gradient(180deg, #1e293b 0%, #1e293b 60%);
}

:where(html[data-theme="dark"]) .bm-portal-flags li.is-on {
  background: #114035;
  color: #a3ebbe;
}

:where(html[data-theme="dark"]) .bm-portal-flags li.is-off {
  background: #4b1825;
  color: #eea0a0;
}

:where(html[data-theme="dark"]) .bm-btn-outline {
  background: #1e293b;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .bm-btn-outline:hover {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-input,
:where(html[data-theme="dark"]) .bm-textarea,
:where(html[data-theme="dark"]) .bm-select {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-input:focus,
:where(html[data-theme="dark"]) .bm-textarea:focus {
  border-color: rgba(75, 231, 207, 0.38);
}

:where(html[data-theme="dark"]) .bm-row {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-row:hover {
  border-color: rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .bm-badge {
  background: #12255e;
  color: #aca8e6;
}

:where(html[data-theme="dark"]) .bm-badge.test {
  background: #4a1846;
  color: #f19dbf;
}

:where(html[data-theme="dark"]) .bm-badge.on {
  background: #114035;
  color: #a3ebbe;
}

:where(html[data-theme="dark"]) .bm-badge.off {
  background: #26334a;
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .bm-badge.req {
  background: #3a2f27;
  color: #f3b19b;
}

:where(html[data-theme="dark"]) .bm-badge.opt {
  background: #113050;
  color: #94d6f9;
}

:where(html[data-theme="dark"]) .bm-badge.muted {
  background: #26334a;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .bm-badge.kind {
  background: #113e50;
  color: #99e1f5;
}

:where(html[data-theme="dark"]) .bm-badge.feat {
  background: #3a3827;
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .bm-empty-catalog {
  border: 1px dashed rgba(68, 238, 205, 0.38);
  background: linear-gradient(180deg, #123f46 0%, #1e293b 55%);
}

:where(html[data-theme="dark"]) .bm-form-grid label {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .bm-question-block {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-student-hits {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-student-hit {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .bm-student-hit:hover {
  background: #123f46;
}

:where(html[data-theme="dark"]) .bm-pdf-icon {
  color: #ef9e9e;
}

:where(html[data-theme="dark"]) .bm-toggle-card {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-toggle-card:has(input:checked) {
  border-color: rgba(75, 231, 207, 0.38);
  background: #123f46;
}

:where(html[data-theme="dark"]) .bm-modal-panel {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-modal-header {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-modal-close {
  background: #26334a;
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .bm-modal-close:hover {
  background: #334155;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .bm-modal-footer {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-results-table th {
  background: #1e293b;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .bm-results-table tbody tr:hover {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-catalog-bar {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-cat-card {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-cat-card:hover {
  border-color: rgba(68, 238, 205, 0.38);
}

:where(html[data-theme="dark"]) .bm-audience-box {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-grades-box {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-grade-check,
:where(html[data-theme="dark"]) .bm-grade-chips label {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-grade-check:has(input:checked),
:where(html[data-theme="dark"]) .bm-grade-chips label:has(input:checked) {
  background: #123f46;
  color: #a0eee9;
}

:where(html[data-theme="dark"]) .bm-student-chip {
  background: #114047;
  color: #a0eee9;
}

:where(html[data-theme="dark"]) .bm-cat-manage-row {
  background: #1e293b;
}

:where(html[data-theme="dark"]) #bmModal .bm-modal-panel.sls-student-modal-panel {
  background: #1e293b;
}

:where(html[data-theme="dark"]) #bmModal .bm-btn-outline {
  background: #1e293b;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) #bmModal input[type="file"].bm-input {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-kind-box,
:where(html[data-theme="dark"]) .bm-pages-box {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-kind-pick {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-kind-pick:has(input:checked) {
  background: #123f46;
  color: #a0eee9;
}

:where(html[data-theme="dark"]) .bm-page-thumb {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-page-thumb figcaption {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .bm-crumb {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-crumb-btn {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-tree-card {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-tree-card:hover {
  border-color: color-mix(in srgb, var(--bm-tone, var(--bm-primary)) 45%, rgba(148, 163, 184, 0.24));
}

:where(html[data-theme="dark"]) .bm-tree-card__icon {
  background: color-mix(in srgb, var(--bm-tone, var(--bm-primary)) 16%, #1e293b);
}

:where(html[data-theme="dark"]) .bm-icon-pick i {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bm-color-pick span {
  border: 2px solid rgba(148, 163, 184, 0.24);
}

/* ── public/css/timetable/timetable.css ── */
:where(html[data-theme="dark"]) .tt-app {
  --tt-muted: #a3b1c6;
  --tt-bg: #1e293b;
  --tt-card: #1e293b;
}

:where(html[data-theme="dark"]) .tt-title {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .tt-modes {
  background: #334155;
}

:where(html[data-theme="dark"]) .tt-mode {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .tt-mode.is-active {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .tt-toolbar {
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .tt-field {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .tt-select,
:where(html[data-theme="dark"]) .tt-input {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .tt-color {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .tt-class-label {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .tt-status.is-error {
  color: #ef9e9e;
}

:where(html[data-theme="dark"]) .tt-status.is-ok {
  color: #9fefbd;
}

:where(html[data-theme="dark"]) .tt-grid-wrap {
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .tt-grid thead th {
  background: #26334a;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .tt-grid thead th small {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .tt-day {
  background: #1e293b;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .tt-slot--spacer {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .tt-slot--period {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .tt-lesson {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .tt-leg {
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .tt-leg--available {
  background: #114035;
  color: #a3ebbe;
}

:where(html[data-theme="dark"]) .tt-leg--preferred {
  background: #12305e;
  color: #9cb3f2;
}

:where(html[data-theme="dark"]) .tt-leg--unavailable {
  background: #4b1825;
  color: #f09e9e;
}

:where(html[data-theme="dark"]) .tt-avail-cell[data-status="available"] {
  background: #125039;
}

:where(html[data-theme="dark"]) .tt-avail-cell:not([data-status]) {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .tt-req {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .tt-btn--danger {
  background-color: #4b1825 !important;
  color: #f09e9e !important;
}

:where(html[data-theme="dark"]) .tt-btn--ghost {
  background-color: #334155 !important;
  color: #e2e8f0 !important;
}

:where(html[data-theme="dark"]) .tt-modal__card {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .tt-modal__head {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .tt-modal__head h2 {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .tt-modal__close {
  background: #26334a;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .tt-modal-error {
  color: #f09e9e;
  background: #26334a;
}

:where(html[data-theme="dark"]) .tt-dayplan__head {
  background: linear-gradient(135deg, #123f46 0%, #1e293b 55%, #1e293b 100%);
  border: 1px solid rgba(66, 240, 203, 0.38);
}

:where(html[data-theme="dark"]) .tt-dayplan__title {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .tt-dayplan__sub {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .tt-dayplan__stat {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .tt-dayplan__stat strong {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .tt-dayplan__stat span {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .tt-dayplan__rail::before {
  background: linear-gradient(180deg, #125153, #334155 40%, #334155);
}

:where(html[data-theme="dark"]) .tt-dayplan__insert-btn {
  background: #1e293b;
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .tt-dayplan__insert-btn:hover {
  background: #123f46;
}

:where(html[data-theme="dark"]) .tt-slot-card {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .tt-slot-card:hover {
  border-color: rgba(75, 231, 207, 0.38);
}

:where(html[data-theme="dark"]) .tt-slot-card--period .tt-slot-card__dot {
  background: #114047;
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .tt-slot-card--break .tt-slot-card__dot {
  background: #26334a;
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .tt-slot-card--lineup .tt-slot-card__dot {
  background: #113e50;
  color: #99e1f5;
}

:where(html[data-theme="dark"]) .tt-slot-card__type {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .tt-slot-card__label {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .tt-slot-card__time {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .tt-slot-card__badge {
  background: #123f46;
  color: #9bf2ec;
  border: 1px solid rgba(68, 238, 205, 0.38);
}

:where(html[data-theme="dark"]) .tt-slot-card--break {
  background: linear-gradient(90deg, #1e293b 0%, #1e293b 40%);
}

:where(html[data-theme="dark"]) .tt-slot-card--lineup {
  background: linear-gradient(90deg, #113e50 0%, #1e293b 45%);
}

/* ── public/css/job_applicants/job_applicants.css ── */
:where(html[data-theme="dark"]) .ja-admin-tab-btn {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) #jaApplicantsTable thead th {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ja-dup-group tbody tr:hover {
  background: #1e293b;
}

:where(html[data-theme="dark"]) #jaApplicantsTable .ja-sort:hover {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ja-summary-toolbar-label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ja-summary-card:hover {
  border-color: rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ja-summary-card--all .ja-summary-icon {
  background: #26334a;
  color: #98b5f6;
}

:where(html[data-theme="dark"]) .ja-summary-card--new .ja-summary-icon {
  background: #11403c;
}

:where(html[data-theme="dark"]) .ja-summary-card--review .ja-summary-icon {
  background: #3a3827;
}

:where(html[data-theme="dark"]) .ja-summary-card--accepted .ja-summary-icon {
  background: #123f46;
}

:where(html[data-theme="dark"]) .ja-summary-card--rejected .ja-summary-icon {
  background: #3a182a;
  color: #f29caf;
}

:where(html[data-theme="dark"]) .ja-summary-card--canceled .ja-summary-icon {
  background: #26334a;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .ja-summary-card--refunded .ja-summary-icon {
  background: #26334a;
  color: #bb98f6;
}

:where(html[data-theme="dark"]) .ja-name-ar {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ja-name-en {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ja-edu-detail-label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ja-edu-detail-value {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .ja-scroll-loader {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ja-scroll-loader-spinner {
  border: 2px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ja-count-btn {
  background: #11403c;
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ja-count-btn:hover,
:where(html[data-theme="dark"]) .ja-count-btn:focus-visible {
  background: #114047;
}

:where(html[data-theme="dark"]) .ja-hr-preview-empty {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ja-hr-preview-card {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ja-hr-preview-field-label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ja-hr-preview-field-value {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ja-hr-preview-root .ja-cv-attachments-heading {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ja-hr-preview-root .ja-cv-attach-tile {
  border: 2px solid rgba(148, 163, 184, 0.24);
  background: linear-gradient(180deg, #1e293b 0%, #1e293b 100%);
}

:where(html[data-theme="dark"]) .ja-hr-preview-root .ja-cv-attach-tile-media {
  background: #26334a;
}

:where(html[data-theme="dark"]) .ja-hr-preview-root .ja-cv-attach-tile-media--icon {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ja-hr-preview-root .ja-cv-attach-tile--pdf .ja-cv-attach-tile-media--icon {
  color: #ef9e9e;
}

:where(html[data-theme="dark"]) .ja-hr-preview-root .ja-cv-attach-tile-label {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ja-hr-preview-root .ja-cv-attach-tile-action {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ja-img-modal-panel {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ja-img-modal-head {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ja-img-modal-close {
  background: #26334a;
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ja-img-modal-close:hover {
  background: #4b1825;
  color: #ef9e9e;
}

:where(html[data-theme="dark"]) .ja-pdf-preview {
  background: #1e293b;
}

/* ── public/css/bus_subscription_applications/bus_subscription_applications.css ── */
:where(html[data-theme="dark"]) .filter-btn {
  border: 1px solid rgba(148, 163, 184, 0.24) !important;
  background: linear-gradient(180deg, #1e293b 0%, #1e293b 100%);
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .ja-scroll-loader {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .bs-policy-lang-tab.is-active {
  background: #3a3827;
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .bs-edit-pickup-map-empty {
  background: #1e293b;
  border: 1px dashed rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .bs-student-edit-trigger:hover .ja-text-cell {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .bs-student-record-btn:hover .ja-text-cell {
  color: #bea0ee;
}

:where(html[data-theme="dark"]) #bsSiblingsPanelModal .sls-family-child-row--current:hover {
  background: #334155;
}

:where(html[data-theme="dark"]) .bs-edit-header-icon {
  background: linear-gradient(135deg, #12305e 0%, #26334a 100%);
  color: #98b5f6;
}

:where(html[data-theme="dark"]) .bs-edit-section-icon--student {
  background: #11403c;
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .bs-edit-section-icon--guardian {
  background: #26334a;
  color: #98b5f6;
}

:where(html[data-theme="dark"]) .bs-edit-section-icon--emergency {
  background: #26334a;
  color: #ef9e9e;
}

:where(html[data-theme="dark"]) .bs-edit-section-icon--address {
  background: #3a2e27;
}

:where(html[data-theme="dark"]) .bs-edit-section-icon--bus {
  background: #3a3827;
}

:where(html[data-theme="dark"]) .bs-edit-section-icon--admin {
  background: #26334a;
  color: #bb98f6;
}

:where(html[data-theme="dark"]) .bs-edit-label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .bs-edit-sibling-row-title {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .bs-edit-sibling-row .bs-edit-label i {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .bs-edit-remove-sibling:hover {
  background: #4b1825 !important;
  color: #eea0a0 !important;
}

:where(html[data-theme="dark"]) .bs-route-seats-info {
  background: #11403c;
  border: 1px solid rgba(68, 238, 205, 0.38);
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .bs-route-seats-info.is-full {
  background: #26334a;
  border-color: rgba(240, 66, 66, 0.38);
  color: #f09e9e;
}

:where(html[data-theme="dark"]) .bs-transport-student-hint {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .bs-transport-student-hint.is-warning {
  color: #f9c094;
}

:where(html[data-theme="dark"]) .bs-route-suggest-hint {
  color: #94d6f9;
}

:where(html[data-theme="dark"]) .bs-public-page-settings__status {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .bs-public-page-settings__status.is-open {
  border-color: rgba(68, 238, 205, 0.38);
  background: #123f46;
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .bs-public-page-settings__status.is-closed {
  border-color: rgba(240, 66, 66, 0.38);
  background: #26334a;
  color: #f09e9e;
}

:where(html[data-theme="dark"]) .bs-public-page-toggle:has(input:checked) {
  background: #26334a;
}

:where(html[data-theme="dark"]) .bs-public-page-toggle__hint {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .bs-public-page-field label {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .bs-public-page-settings__hint {
  color: #a3b1c6;
}

/* ── public/css/dashboard/academic_command.css ── */
:where(html[data-theme="dark"]) .sls-acc {
  --acc-ink: #f1f5f9;
  --acc-muted: #a3b1c6;
  --acc-line: rgba(148, 163, 184, 0.24);
  --acc-card: #1e293b;
}

:where(html[data-theme="dark"]) .sls-acc-loading,
:where(html[data-theme="dark"]) .sls-acc-error {
  background: linear-gradient(135deg, #26334a, #123f46);
  border: 1px dashed rgba(66, 101, 240, 0.38);
  color: #aba6e7;
}

:where(html[data-theme="dark"]) .sls-acc-error {
  background: #3a182a;
  border-color: rgba(240, 66, 88, 0.38);
  color: #f599af;
}

:where(html[data-theme="dark"]) .sls-acc-btn--light {
  background: #1e293b;
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-acc-btn--light:hover {
  background: #1e293b;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sls-acc-iconbtn {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .sls-acc-iconbtn:hover {
  border-color: rgba(240, 66, 88, 0.38);
}

:where(html[data-theme="dark"]) .sls-acc-badge {
  border: 1px solid rgba(75, 231, 207, 0.38);
}

:where(html[data-theme="dark"]) .sls-acc-examsel {
  background: rgba(30, 41, 59, 0.95);
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sls-acc-examsel label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-acc-examsel select {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sls-acc-hp__bar span {
  background: linear-gradient(180deg, #135055, #0d9488);
}

:where(html[data-theme="dark"]) .sls-acc-kpi__icon {
  background: color-mix(in srgb, var(--tone) 12%, #1e293b);
}

:where(html[data-theme="dark"]) .sls-acc-card__title i {
  background: color-mix(in srgb, var(--acc-indigo) 12%, #1e293b);
}

:where(html[data-theme="dark"]) .sls-acc-empty {
  border: 1px dashed rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-acc-alert__items span {
  background: rgba(30, 41, 59, 0.7);
}

:where(html[data-theme="dark"]) .sls-acc-alert--danger {
  background: #3a182a;
  border-color: rgba(240, 66, 88, 0.38);
  color: #f49ab3;
}

:where(html[data-theme="dark"]) .sls-acc-alert--warning {
  background: #3a3827;
  border-color: rgba(240, 205, 66, 0.38);
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .sls-acc-alert--info {
  background: #26334a;
  border-color: rgba(66, 180, 240, 0.38);
  color: #94d6f9;
}

:where(html[data-theme="dark"]) .sls-acc-alert--success {
  background: #11403c;
  border-color: rgba(75, 231, 159, 0.38);
  color: #95f8dd;
}

:where(html[data-theme="dark"]) .sls-acc-pipe__step {
  background: color-mix(in srgb, var(--tone) 9%, #1e293b);
  border: 1px solid color-mix(in srgb, var(--tone) 25%, rgba(148, 163, 184, 0.24));
}

:where(html[data-theme="dark"]) .sls-acc-pipe__step:hover {
  background: color-mix(in srgb, var(--tone) 15%, #1e293b);
}

:where(html[data-theme="dark"]) .sls-acc-pipe__step span {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .sls-acc-stack {
  background: #26334a;
}

:where(html[data-theme="dark"]) .sls-acc-legend {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .sls-acc-feed__row:hover {
  background: #26334a;
}

:where(html[data-theme="dark"]) .sls-acc-feed__row:hover b {
  color: #a19df1;
}

:where(html[data-theme="dark"]) .sls-acc-feed__row:hover .sls-acc-feed__go {
  color: #a19df1;
}

:where(html[data-theme="dark"]) .sls-acc-feed__note {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-acc-subtitle {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .sls-acc-table th {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-acc-table td {
  background: #1e293b;
  border-block: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-acc-table td:first-child {
  border-inline-start: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-acc-table td:last-child {
  border-inline-end: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-acc-table tbody tr:hover td {
  background: #26334a;
  border-color: rgba(66, 101, 240, 0.38);
}

:where(html[data-theme="dark"]) .sls-acc-bar {
  background: #334155;
}

:where(html[data-theme="dark"]) .sls-acc-chip {
  background: color-mix(in srgb, var(--tone) 12%, #1e293b);
  border: 1px solid color-mix(in srgb, var(--tone) 25%, rgba(148, 163, 184, 0.24));
}

:where(html[data-theme="dark"]) .sls-acc-heat th {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-acc-heat th.sub {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .sls-acc-heat td.na {
  background: #26334a;
}

:where(html[data-theme="dark"]) .sls-acc-tabs {
  background: #26334a;
}

:where(html[data-theme="dark"]) .sls-acc-tab {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-acc-tab.is-active {
  background: #1e293b;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sls-acc-li {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-acc-li__rank {
  background: #334155;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .sls-acc-li__rank.r1 {
  background: linear-gradient(135deg, #4b4525, #f59e0b);
  color: #f3bb9b;
}

:where(html[data-theme="dark"]) .sls-acc-li__rank.r2 {
  background: linear-gradient(135deg, #334155, #9ca3af);
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sls-acc-li__rank.r3 {
  background: linear-gradient(135deg, #4b3625, #ea580c);
  color: #f1b29d;
}

:where(html[data-theme="dark"]) .sls-acc-link {
  background: #1e293b;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .sls-acc-mini {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-acc-mini span {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-acc-modal__panel {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-acc-mx th {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-acc-mx th.sub {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sls-acc-mx td {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-acc-mx__meta {
  color: #a3b1c6;
}

/* ── public/css/treasury_cash_count/treasury_cash_count.css ── */
:where(html[data-theme="dark"]) .tcc-page {
  --tcc-ink: #f1f5f9;
  --tcc-muted: #a3b1c6;
  --tcc-border: rgba(148, 163, 184, 0.24);
  --tcc-surface: #1e293b;
  --tcc-bg: #1e293b;
  --tcc-success-soft: #11403c;
  --tcc-danger-soft: #26334a;
  --tcc-warning-soft: #3a3827;
}

:where(html[data-theme="dark"]) .tcc-context-pill {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .tcc-field-group select,
:where(html[data-theme="dark"]) .tcc-field-group input[type="date"] {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .tcc-kpi--highlight {
  background: linear-gradient(180deg, #1e293b 0%, var(--tcc-primary-soft) 100%);
}

:where(html[data-theme="dark"]) .tcc-denom-card {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .tcc-denom-total-bar__label {
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .tcc-denom-total-bar__value {
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .tcc-toolbar {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .tcc-advanced-filters {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .tcc-advanced-filters__search {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .tcc-filter-select {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .tcc-linked-badge {
  background: #12255e;
  color: #aba6e7;
}

:where(html[data-theme="dark"]) .tcc-data-row--linked {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .tcc-mini-stat {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .tcc-mini-stat--green {
  border-color: rgba(75, 231, 159, 0.38);
}

:where(html[data-theme="dark"]) .tcc-mini-stat--red {
  border-color: rgba(240, 66, 66, 0.38);
}

:where(html[data-theme="dark"]) .tcc-grid tbody td {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .tcc-grid tbody tr:nth-child(even) td {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .tcc-grid tbody tr:hover td {
  background: #123f46;
}

:where(html[data-theme="dark"]) .tcc-grid tbody tr:nth-child(even) .tcc-sticky-col--start {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .tcc-grid tbody tr:hover .tcc-sticky-col--start {
  background: #123f46;
}

:where(html[data-theme="dark"]) .tcc-col-amount.tcc-amt-balance {
  background: #1e293b !important;
  color: #cbd5e1 !important;
}

:where(html[data-theme="dark"]) .tcc-grid .tcc-denom-input:hover,
:where(html[data-theme="dark"]) .tcc-grid .tcc-field:hover {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .tcc-grid .tcc-denom-input:focus,
:where(html[data-theme="dark"]) .tcc-grid .tcc-field:focus {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .tcc-col-remaining.tcc-pos {
  color: #9fefbd;
  background: #123f34 !important;
}

:where(html[data-theme="dark"]) .tcc-foot-grand {
  color: #f5bc99 !important;
}

:where(html[data-theme="dark"]) .tcc-btn-secondary {
  background: #1e293b;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .tcc-badge-draft {
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .tcc-badge-summary {
  background: #12255e;
  color: #aca8e6;
}

:where(html[data-theme="dark"]) .tcc-badge-none {
  background: #26334a;
}

:where(html[data-theme="dark"]) .tcc-all-grid th {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .tcc-all-grid tbody tr:hover {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .tcc-alert {
  border: 1px solid rgba(240, 205, 66, 0.38);
  color: #f5bc99;
}

/* ── public/css/shared/sls-bulk-toolbar.css ── */
:where(html[data-theme="dark"]) .row-selected .tcc-col-select {
  background: #113e50 !important;
}

html:where([data-theme="dark"])[dir="rtl"] .sls-bulk-toolbar-selection {
  border-left: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-bulk-toolbar-count-label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-bulk-toolbar-danger {
  border-left: 3px solid rgba(240, 66, 66, 0.38);
  background: linear-gradient(135deg, #3a182a 0%, #26334a 100%);
}

html:where([data-theme="dark"])[dir="rtl"] .sls-bulk-toolbar-danger {
  border-right: 3px solid rgba(240, 66, 66, 0.38);
}

:where(html[data-theme="dark"]) .sls-bulk-toolbar-danger-label {
  color: #f29caf;
}

:where(html[data-theme="dark"]) .sls-bulk-export-dropdown .dropdown-menu {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

@media (max-width: 767px) {
:where(html[data-theme="dark"]) .sls-bulk-toolbar-actions {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}
}

@media (max-width: 767px) {
:where(html[data-theme="dark"]) .sls-bulk-toolbar-danger {
  border-top: 2px solid rgba(240, 66, 66, 0.38);
}
}

/* ── public/css/shared/sls-buttons.css ── */
html:where([data-theme="dark"]) {
  --school-border: rgba(148, 163, 184, 0.24);
}

/* ── public/css/shared/sls-column-menu.css ── */
:where(html[data-theme="dark"]) thead th .sls-col-menu-btn.is-filtered:hover,
:where(html[data-theme="dark"]) thead th .sls-col-menu-btn.is-filtered:focus-visible {
  background: #1a3256 !important;
  color: #f1f5f9 !important;
}

:where(html[data-theme="dark"]) .sls-col-menu__item i,
:where(html[data-theme="dark"]) .sls-col-menu__item .sls-col-menu__ico {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-col-menu__item.is-on i,
:where(html[data-theme="dark"]) .sls-col-menu__item.is-on .sls-col-menu__ico,
:where(html[data-theme="dark"]) .sls-col-menu__item:hover i,
:where(html[data-theme="dark"]) .sls-col-menu__item:hover .sls-col-menu__ico {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .sls-col-menu__search-btn:hover {
  background: #123f46;
  border-color: rgba(68, 238, 205, 0.38);
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .sls-col-menu__check--opt {
  color: #cbd5e1;
}

/* ── public/css/shared/sls-columns-toolbar.css ── */
:where(html[data-theme="dark"]) table.sls-columns-reorderable thead th .sls-col-drag-handle:hover,
:where(html[data-theme="dark"]) .sls-col-drag-handle:hover {
  color: #9bf2ec;
  background: #11403c;
}

:where(html[data-theme="dark"]) table.sls-columns-reorderable thead th.sls-col-drag-chosen {
  background: #11403c !important;
}

:where(html[data-theme="dark"]) table.sls-columns-reorderable thead th.sls-col-drag-ghost {
  background: #114047 !important;
}

:where(html[data-theme="dark"]) table.sls-columns-reorderable thead th.sls-col-drag-dragging {
  background: #123f46 !important;
}

:where(html[data-theme="dark"]) .sortable-fallback.col-dropdown-item,
:where(html[data-theme="dark"]) .sortable-fallback.sls-col-menu-drag-dragging {
  background: #123f46 !important;
}

:where(html[data-theme="dark"]) .col-dropdown-item.sls-col-menu-drag-chosen {
  background: #11403c;
}

:where(html[data-theme="dark"]) .col-dropdown-item.sls-col-menu-drag-ghost {
  background: #114047;
}

:where(html[data-theme="dark"]) .col-dropdown-item.sls-col-menu-drag-dragging {
  background: #123f46;
}

/* ── public/css/shared/sls-grouped-select.css ── */
:where(html[data-theme="dark"]) :where(.sls-gselect) {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .sls-gselect optgroup {
  color: #aba6e7;
  background: #26334a;
}

:where(html[data-theme="dark"]) .sls-gselect optgroup option {
  color: #e2e8f0;
  background: #1e293b;
}

@supports (appearance: base-select) {
:where(html[data-theme="dark"]) .sls-gselect::picker-icon {
  color: #a3b1c6;
}
}

@supports (appearance: base-select) {
:where(html[data-theme="dark"]) .sls-gselect::picker(select) {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}
}

@supports (appearance: base-select) {
:where(html[data-theme="dark"]) .sls-gselect option {
  color: #e2e8f0;
}
}

@supports (appearance: base-select) {
:where(html[data-theme="dark"]) .sls-gselect option:hover,
:where(html[data-theme="dark"]) .sls-gselect option:focus-visible {
  background: #26334a;
  color: #aca8e6;
}
}

@supports (appearance: base-select) {
:where(html[data-theme="dark"]) .sls-gselect > option {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}
}

@supports (appearance: base-select) {
:where(html[data-theme="dark"]) .sls-gselect optgroup {
  background: #1e293b;
}
}

/* ── public/css/shared/sls-home-gps-map.css ── */
:where(html[data-theme="dark"]) .sls-home-gps-map {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-home-gps-map__head {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-home-gps-map__title {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .sls-home-gps-map .sls-gmaps-place-ac-host input:not(.hidden):not([hidden]):not([aria-hidden="true"]),
:where(html[data-theme="dark"]) .sls-home-gps-map .sls-gmaps-place-ac-host gmp-place-autocomplete,
:where(html[data-theme="dark"]) .sls-home-gps-map .sls-gmaps-place-ac-host .sls-gmaps-place-ac {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #0f172a;
  color: #e2e8f0;
  --gmp-mat-color-surface: #0f172a;
  --gmp-mat-color-on-surface: #e2e8f0;
  --gmp-mat-color-on-surface-variant: #94a3b8;
  color-scheme: dark;
}

:where(html[data-theme="dark"]) .sls-home-gps-map__locate {
  background: #334155;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .sls-home-gps-map__locate:hover {
  background: #334155;
}

:where(html[data-theme="dark"]) .sls-home-gps-map__hint {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-home-gps-map__notice {
  color: #f5bc99;
  background: #3a3827;
  border: 1px solid rgba(240, 205, 66, 0.38);
}

:where(html[data-theme="dark"]) .sls-home-gps-map .sls-stu-map-wrap {
  border: 2px solid rgba(148, 163, 184, 0.24);
  background: #26334a;
}

:where(html[data-theme="dark"]) .sls-home-gps-map .sls-stu-map-pin {
  color: #f29caf;
}

:where(html[data-theme="dark"]) .sls-home-gps-map .sls-stu-map-status {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .sls-home-gps-map .sls-stu-map-status__plot {
  background: #11403c;
  color: #9bf2ec;
  border: 1px solid rgba(68, 238, 205, 0.38);
}

:where(html[data-theme="dark"]) .sls-home-gps-map .sls-stu-map-type {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-home-gps-map .sls-stu-map-type__btn {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-home-gps-map .sls-stu-map-type__btn + .sls-stu-map-type__btn {
  border-inline-start: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-home-gps-map .sls-stu-map-type__btn:hover:not(.is-active):not([aria-pressed="true"]) {
  background: #26334a;
  color: #9bf2ec;
}

/* ── public/css/shared/sls-hscroll-nav.css ── */
:where(html[data-theme="dark"]) .sls-hscroll__btn {
  background: rgba(30, 41, 59, 0.95);
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .sls-hscroll__btn:hover:not(:disabled),
:where(html[data-theme="dark"]) .sls-hscroll__btn:focus-visible:not(:disabled) {
  background: #1e293b;
  color: #f1f5f9;
}

/* ── public/css/shared/sls-media-viewer.css ── */
:where(html[data-theme="dark"]) .sls-mv__frame {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-mv__side {
  background: #1e293b;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sls-mv__head {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-mv__avatar {
  background: #334155;
}

:where(html[data-theme="dark"]) .sls-mv__title {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sls-mv__subtitle {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-mv__caption {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sls-mv__file {
  background: #26334a;
}

:where(html[data-theme="dark"]) .sls-mv__file-label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-mv__file-name {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .sls-mv-thumb-video:not([data-more])::after {
  border: 2px solid rgba(148, 163, 184, 0.24);
}

/* ── public/css/shared/sls-mention-highlight.css ── */
:where(html[data-theme="dark"]) .sls-mention-hl__tag {
  color: #9cb3f2;
  -webkit-text-fill-color: #9cb3f2;
  background: #112750;
}

/* ── public/css/shared/sls-parent-profile-audit.css ── */
:where(html[data-theme="dark"]) .sls-ppa-body {
  background: rgba(30, 41, 59, 0.6);
}

/* ── public/css/shared/sls-reaction-summary.css ── */
:where(html[data-theme="dark"]) .sls-reaction-emoji--like {
  color: #95c0f9;
}

:where(html[data-theme="dark"]) .social-comment-like-bubble {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-reaction-popover__more {
  color: #a3b1c6;
}

/* ── public/css/shared/sls-searchable-select.css ── */
:where(html[data-theme="dark"]) .sls-search-select__trigger {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background-color: #1e293b;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sls-search-select.is-disabled .sls-search-select__trigger {
  background-color: #1e293b;
}

:where(html[data-theme="dark"]) .sls-search-select__panel {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-search-select__search {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  color: #f1f5f9;
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-search-select__search:focus {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-search-select__option {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .sls-search-select__option:hover,
:where(html[data-theme="dark"]) .sls-search-select__option:focus {
  background: #123f46;
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .sls-search-select__option.is-selected {
  background: #114047;
  color: #9bf2ec;
}

/* ── public/css/shared/sls-spreadsheet-mode.css ── */
:where(html[data-theme="dark"]) .sls-spreadsheet-toggle.is-on {
  background: #123f46;
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) table.sls-sheet-on td[data-sheet-field]:hover {
  background: #123f46;
}

:where(html[data-theme="dark"]) table.sls-sheet-on td[data-sheet-field].is-editing {
  background: #1e293b;
}

:where(html[data-theme="dark"]) table.sls-sheet-on td[data-sheet-field].is-saving {
  background: #113e50;
}

:where(html[data-theme="dark"]) table.sls-sheet-on td[data-sheet-field].is-saved {
  background: #11403b;
}

:where(html[data-theme="dark"]) table.sls-sheet-on td[data-sheet-field].is-error {
  background: #4b1825;
}

:where(html[data-theme="dark"]) .sls-sheet-editor {
  border: 1px solid rgba(68, 238, 205, 0.38);
  color: #f1f5f9;
  background: #1e293b;
}

/* ── public/css/shared/sls-table-settings.css ── */
:where(html[data-theme="dark"]) .sls-table-scroll.sls-contained-scroll.sls-freeze-header {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-infinite-scroll-trigger.is-loading::after {
  border: 2px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) table.sls-table-clean.sls-sticky-header > thead > tr > th,
:where(html[data-theme="dark"]) table.sls-table-clean.sls-sticky-header thead th,
:where(html[data-theme="dark"]) table.sls-table-clean.sls-sticky-header thead th[data-col],
:where(html[data-theme="dark"]) .sls-table-scroll.sls-freeze-header table.sls-table-clean > thead > tr > th,
:where(html[data-theme="dark"]) .sls-table-scroll.sls-freeze-header table.sls-table-clean thead th[data-col],
:where(html[data-theme="dark"]) #studentsTable.sls-sticky-header thead th,
:where(html[data-theme="dark"]) #studentsTable.sls-sticky-header thead th[data-col],
:where(html[data-theme="dark"]) #employeesTable.sls-sticky-header thead th,
:where(html[data-theme="dark"]) #employeesTable.sls-sticky-header thead th[data-col],
:where(html[data-theme="dark"]) #ubApplicantsTable.sls-sticky-header thead th,
:where(html[data-theme="dark"]) #jaApplicantsTable.sls-sticky-header thead th {
  background: var(--sls-table-header-bg, #1e293b) !important;
}

:where(html[data-theme="dark"]) table.sls-table-clean.sls-sticky-header thead th.col-select,
:where(html[data-theme="dark"]) table.sls-table-clean.sls-sticky-header thead .col-select {
  background: var(--sls-table-header-bg, #1e293b) !important;
}

:where(html[data-theme="dark"]) table.sls-table-clean.sls-freeze-totals tfoot td,
:where(html[data-theme="dark"]) table.sls-table-clean.sls-freeze-totals tfoot th,
:where(html[data-theme="dark"]) .sls-table-scroll.sls-freeze-totals table.sls-table-clean tfoot td,
:where(html[data-theme="dark"]) .sls-table-scroll.sls-freeze-totals table.sls-table-clean tfoot th {
  background: #26334a;
}

:where(html[data-theme="dark"]) :where(table.sls-table-clean.sls-zebra tbody tr:nth-child(even) td) {
  background: #1e293b;
}

:where(html[data-theme="dark"]) table.sls-table-clean.sls-focus-cell tbody td.sls-focus-active {
  background-color: color-mix(in srgb, var(--sls-focus-color) 55%, #1e293b) !important;
}

:where(html[data-theme="dark"]) table.sls-table-clean.sls-style-teal {
  --sls-table-header-bg: #123f46;
  --sls-table-header-fg: #a5e9e4;
  --sls-table-header-line: rgba(68, 238, 205, 0.38);
}

:where(html[data-theme="dark"]) table.sls-table-clean.sls-style-sky {
  --sls-table-header-bg: #26334a;
  --sls-table-header-fg: #9ad3f4;
}

:where(html[data-theme="dark"]) table.sls-table-clean.sls-style-indigo {
  --sls-table-header-bg: #26334a;
  --sls-table-header-fg: #aaa8e6;
}

:where(html[data-theme="dark"]) table.sls-table-clean.sls-style-slate {
  --sls-table-header-bg: #26334a;
  --sls-table-header-fg: #f1f5f9;
  --sls-table-header-line: rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) table.sls-table-clean.sls-style-rose {
  --sls-table-header-bg: #3a182a;
  --sls-table-header-fg: #f19db7;
}

:where(html[data-theme="dark"]) table.sls-table-clean.sls-style-amber {
  --sls-table-header-bg: #3a3827;
  --sls-table-header-fg: #f3bb9b;
  --sls-table-header-line: rgba(240, 199, 66, 0.38);
}

:where(html[data-theme="dark"]) table.sls-table-clean.sls-style-emerald {
  --sls-table-header-bg: #11403c;
  --sls-table-header-fg: #97f7de;
  --sls-table-header-line: rgba(80, 226, 168, 0.38);
}

:where(html[data-theme="dark"]) table.sls-table-clean.sls-zebra tbody tr:nth-child(even) td {
  background: color-mix(in srgb, var(--sls-table-header-bg) 70%, #1e293b);
}

:where(html[data-theme="dark"]) .sls-table-settings__title {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-table-settings__toggle::after {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-table-settings__reset:hover {
  background: #123f46;
  border-color: rgba(68, 238, 205, 0.38);
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .sls-table-settings__style {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sls-table-settings__style:hover {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-table-settings__style.is-on {
  background: #123f46;
}

/* ── public/css/shared/sls-table-sort.css ── */
:where(html[data-theme="dark"]) :where(thead th .sls-sort-ind) {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-adv-sort__count {
  background: #114047;
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) #empPageRoot .sls-adv-sort > .sls-adv-sort__menu,
:where(html[data-theme="dark"]) [dir="rtl"] #empPageRoot .sls-adv-sort > .sls-adv-sort__menu {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-adv-sort__dir:hover {
  border-color: rgba(68, 238, 205, 0.38);
  color: #9bf2ec;
  background: #123f46;
}

:where(html[data-theme="dark"]) .sls-adv-sort__reset:hover {
  background: #1e293b;
  border-color: rgba(148, 163, 184, 0.24);
  color: #f1f5f9;
}

/* ── public/css/shared/sls_image_capture.css ── */
:where(html[data-theme="dark"]) .sls-image-capture-chooser__panel {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-image-capture-chooser__head .sls-popup-lang,
:where(html[data-theme="dark"]) .sls-image-capture-chooser__head .sls-student-form-lang,
:where(html[data-theme="dark"]) .sls-student-photo-source-chooser__head .sls-popup-lang,
:where(html[data-theme="dark"]) .sls-student-photo-source-chooser__head .sls-student-form-lang {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-image-capture-chooser__head .sls-popup-lang__btn,
:where(html[data-theme="dark"]) .sls-image-capture-chooser__head .sls-student-form-lang__btn,
:where(html[data-theme="dark"]) .sls-student-photo-source-chooser__head .sls-popup-lang__btn,
:where(html[data-theme="dark"]) .sls-student-photo-source-chooser__head .sls-student-form-lang__btn {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .sls-image-capture-chooser__head .sls-popup-lang__btn + .sls-popup-lang__btn,
:where(html[data-theme="dark"]) .sls-image-capture-chooser__head .sls-student-form-lang__btn + .sls-student-form-lang__btn,
:where(html[data-theme="dark"]) .sls-student-photo-source-chooser__head .sls-popup-lang__btn + .sls-popup-lang__btn,
:where(html[data-theme="dark"]) .sls-student-photo-source-chooser__head .sls-student-form-lang__btn + .sls-student-form-lang__btn {
  border-inline-start: 1px solid rgba(148, 163, 184, 0.24) !important;
}

:where(html[data-theme="dark"]) .sls-image-capture-chooser__title {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .sls-image-capture-chooser__hint {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-image-capture-chooser__close {
  background: #26334a;
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-image-capture-chooser__close:hover,
:where(html[data-theme="dark"]) .sls-image-capture-chooser__close:focus-visible,
:where(html[data-theme="dark"]) .sls-student-photo-source-chooser__close:hover,
:where(html[data-theme="dark"]) .sls-student-photo-source-chooser__close:focus-visible {
  background: #334155;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sls-image-capture-chooser__btn {
  background: linear-gradient(180deg, #1e293b 0%, #123f46 100%);
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .sls-image-capture-chooser__btn--gallery {
  background: linear-gradient(180deg, #1e293b 0%, #26334a 100%);
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .sls-image-capture-chooser__btn--file {
  background: linear-gradient(180deg, #1e293b 0%, #26334a 100%);
  color: #aca8e6;
}

:where(html[data-theme="dark"]) .sls-image-capture-chooser__cancel {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .sls-image-capture-chooser__cancel:hover,
:where(html[data-theme="dark"]) .sls-image-capture-chooser__cancel:focus-visible,
:where(html[data-theme="dark"]) .sls-student-photo-source-chooser__cancel:hover,
:where(html[data-theme="dark"]) .sls-student-photo-source-chooser__cancel:focus-visible {
  background: #1e293b;
  color: #f1f5f9;
}

/* ── public/css/shared/sls_smart_photo_engine.css ── */
:where(html[data-theme="dark"]) .sls-smart-photo-scrim {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-smart-photo-tool:hover {
  background: #1e293b;
  border-color: rgba(148, 163, 184, 0.24);
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sls-smart-photo-zoom-slider::-webkit-slider-thumb {
  border: 2px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-smart-photo-zoom-slider::-moz-range-thumb {
  border: 2px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-smart-photo-preview-cover-scrim {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.06) 0%, rgba(15, 23, 42, 0.35) 72%, rgba(30, 41, 59, 0.98) 100%);
}

:where(html[data-theme="dark"]) .sls-smart-photo-preview-student .sls-student-photo-preview-wrap {
  border: 2px solid rgba(148, 163, 184, 0.24);
  background: #26334a;
}

:where(html[data-theme="dark"]) .sls-smart-photo-circle-wrap {
  border: 4px solid rgba(148, 163, 184, 0.24);
  background: #26334a;
}

:where(html[data-theme="dark"]) .sls-smart-photo-modal.sls-smart-photo-auto .sls-smart-photo-head::after {
  border: 3px solid rgba(148, 163, 184, 0.24);
}

@media (max-width: 639px) {
:where(html[data-theme="dark"]) #slsSmartPhotoModal.sls-smart-photo-modal--open.sls-smart-photo-mode-student,
:where(html[data-theme="dark"]) #slsSmartPhotoModal.sls-smart-photo-modal--open.sls-smart-photo-immersive {
  background: #1e293b !important;
}
}

:where(html[data-theme="dark"]) .sls-smart-photo-modal.sls-smart-photo-immersive.sls-smart-photo-modal--open {
  background: #1e293b !important;
}

@media (min-width: 640px) {
:where(html[data-theme="dark"]) .sls-smart-photo-modal.sls-smart-photo-immersive .sls-smart-photo-panel {
  border: 1px solid rgba(148, 163, 184, 0.24) !important;
}
}

:where(html[data-theme="dark"]) .sls-smart-photo-crop-host .cropper-point {
  border: 2px solid rgba(148, 163, 184, 0.24);
}

/* ── public/css/students/bus_subscription_portal.css ── */
:where(html[data-theme="dark"]) body.bs-portal .bs-lang-chip {
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .bs-card-head {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .bs-card-head i {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .bs-card-title {
  color: #f1f5f9 !important;
}

:where(html[data-theme="dark"]) .bs-map-intro {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .bs-intent-notice {
  color: #f3bb9b;
}

:where(html[data-theme="dark"]) .bs-sadat-map {
  background: #334155;
}

:where(html[data-theme="dark"]) .bs-map-fallback {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .bs-map-selected {
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .bs-block-range-hint {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .bs-sibling-students-hint {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .bs-sibling-student-row {
  background: rgba(30, 41, 59, 0.72);
}

:where(html[data-theme="dark"]) .bs-sibling-student-title {
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .bs-remove-sibling-btn {
  color: #f09e9e;
}

:where(html[data-theme="dark"]) .bs-combobox-dropdown {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bs-combobox-option {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .bs-combobox-option:hover,
:where(html[data-theme="dark"]) .bs-combobox-option.is-active {
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .bs-combobox-option.is-other {
  color: #f9c094;
}

:where(html[data-theme="dark"]) .bs-combobox-empty {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .bs-sub-label {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .bs-map-geocode-hint {
  color: #9cb3f2;
}

:where(html[data-theme="dark"]) .bs-map-guide {
  background: rgba(58, 56, 39, 0.72);
}

:where(html[data-theme="dark"]) .bs-map-guide-summary {
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .bs-map-guide-figure figcaption {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .bs-terms-row {
  background: rgba(30, 41, 59, 0.85);
}

:where(html[data-theme="dark"]) .bs-terms-box {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bs-terms-copy {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .bs-terms-link {
  color: #f9c094;
}

:where(html[data-theme="dark"]) .bs-terms-link:hover {
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .bs-policies-panel {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bs-policies-head {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  background: linear-gradient(90deg, rgba(217, 119, 6, 0.08), #1e293b);
}

:where(html[data-theme="dark"]) .bs-policies-head h3 {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .bs-policies-close {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .bs-policies-close:hover {
  background: #26334a;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .bs-policies-body {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .bs-policies-body h3 {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .bs-policies-foot {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bs-letter-block {
  background: rgba(30, 41, 59, 0.65);
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .bs-routes-title {
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .bs-routes-hint {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .bs-route-chip {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .bs-route-name {
  color: #f3bb9b;
}

:where(html[data-theme="dark"]) .bs-route-bus {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .bs-route-suggest-hint {
  color: #94d6f9;
}

:where(html[data-theme="dark"]) .bs-steps {
  background: rgba(30, 41, 59, 0.94);
}

:where(html[data-theme="dark"]) .bs-step {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .bs-step:hover {
  color: #f5bc99;
  background: rgba(30, 41, 59, 0.72);
}

:where(html[data-theme="dark"]) .bs-step.is-active {
  background: #1e293b;
  color: #f9c094;
}

:where(html[data-theme="dark"]) .bs-section-title {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ja-textarea {
  background: rgba(30, 41, 59, 0.9);
}

:where(html[data-theme="dark"]) .bs-option-card {
  background: rgba(30, 41, 59, 0.85);
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .bs-terms-label {
  background: rgba(30, 41, 59, 0.7);
}

:where(html[data-theme="dark"]) .bs-ref-code {
  color: #f9c094 !important;
}

:where(html[data-theme="dark"]) .bs-success-next {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) body.bs-cv-view .ja-cv-inner-table {
  background: #1e293b;
}

:where(html[data-theme="dark"]) body.bs-cv-view .ja-cv-inner-table th,
:where(html[data-theme="dark"]) body.bs-cv-view .ja-cv-inner-table td {
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) body.bs-cv-view .ja-cv-inner-table thead th {
  background: #1e293b;
}

/* ── public/css/students/control_sheet.css ── */
:where(html[data-theme="dark"]) .cs-sheet-wrap {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .cs-sheet th,
:where(html[data-theme="dark"]) .cs-sheet td {
  border-right: 1px solid rgba(148, 163, 184, 0.24);
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) [dir="rtl"] .cs-sheet th,
:where(html[data-theme="dark"]) [dir="rtl"] .cs-sheet td {
  border-left: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .cs-sheet thead th {
  background: #1e293b;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .cs-sheet thead th.cs-sub-a {
  background: #12255e;
}

:where(html[data-theme="dark"]) .cs-sheet thead th.cs-sub-b {
  background: #114047;
}

:where(html[data-theme="dark"]) .cs-sheet .cs-sub-a {
  background: #26334a;
}

:where(html[data-theme="dark"]) .cs-sheet .cs-sub-b {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .cs-sheet .cs-weekly-ro {
  background: #26334a !important;
}

:where(html[data-theme="dark"]) .cs-sheet .cs-sub-total {
  background: #3a3827;
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .cs-sheet thead th.cs-sub-total {
  background: #3a3827;
}

:where(html[data-theme="dark"]) .cs-sheet .cs-excluded-tag {
  background: #4b1825;
  color: #f09e9e;
}

:where(html[data-theme="dark"]) .cs-sheet .cs-excluded-tag.cs-eval-tag {
  background: #334155;
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .cs-cell.cs-sel {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .cs-cell.cs-sel:focus {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .cs-cell.cs-sel:disabled {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .cs-lvl-1 {
  background: #12305e !important;
  color: #9cb3f2 !important;
}

:where(html[data-theme="dark"]) .cs-lvl-2 {
  background: #11403b !important;
  color: #94f9dd !important;
}

:where(html[data-theme="dark"]) .cs-lvl-3 {
  background: #3a3d27 !important;
  color: #f9d094 !important;
}

:where(html[data-theme="dark"]) .cs-lvl-4 {
  background: #4b1825 !important;
  color: #f09e9e !important;
}

:where(html[data-theme="dark"]) .cs-sheet .cs-sticky-no {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .cs-sheet .cs-sticky-name {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .cs-sheet thead .cs-sticky-no,
:where(html[data-theme="dark"]) .cs-sheet thead .cs-sticky-name {
  background: #26334a;
}

:where(html[data-theme="dark"]) .cs-sheet .cs-week-a {
  background: #26334a;
}

:where(html[data-theme="dark"]) .cs-sheet .cs-week-b {
  background: #123f46;
}

:where(html[data-theme="dark"]) .cs-sheet thead th.cs-week-a {
  background: #12255e;
}

:where(html[data-theme="dark"]) .cs-sheet thead th.cs-week-b {
  background: #114047;
}

:where(html[data-theme="dark"]) .cs-sheet .cs-avg {
  background: #3a3827;
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .cs-sheet thead th.cs-avg {
  background: #3a3827;
}

:where(html[data-theme="dark"]) .cs-sheet .cs-exam {
  background: #26334a;
}

:where(html[data-theme="dark"]) .cs-sheet thead th.cs-exam {
  background: #4a1846;
}

:where(html[data-theme="dark"]) .cs-sheet tfoot td {
  background: #26334a;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .cs-sheet tfoot td.cs-sticky-no,
:where(html[data-theme="dark"]) .cs-sheet tfoot td.cs-sticky-name {
  background: #334155;
}

:where(html[data-theme="dark"]) .cs-cell {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .cs-cell:focus {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .cs-cell.cs-invalid {
  background: #4b1825 !important;
  color: #f09e9e;
}

:where(html[data-theme="dark"]) .cs-cell[readonly] {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .cs-tabs {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .cs-tab {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .cs-tab:hover {
  color: #e2e8f0;
  background: #1e293b;
}

:where(html[data-theme="dark"]) .cs-tab.is-active {
  color: #aba6e7;
}

:where(html[data-theme="dark"]) .cs-controlbar {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .cs-chip--open {
  background: #334155;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .cs-chip--submitted {
  background: #3a3827;
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .cs-chip--approved {
  background: #11403b;
  color: #95f8dd;
}

:where(html[data-theme="dark"]) .cs-chip--returned {
  background: #4b182a;
  color: #f49ab3;
}

:where(html[data-theme="dark"]) .cs-meta {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .cs-bar-btn {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .cs-bar-btn:hover {
  background: #26334a;
}

:where(html[data-theme="dark"]) .cs-bar-btn--warn {
  background: #3a2e27;
  color: #f3b19b;
}

:where(html[data-theme="dark"]) .cs-reason {
  background: #26334a;
  color: #9fb2ef;
  border: 1px solid rgba(66, 143, 240, 0.38);
}

:where(html[data-theme="dark"]) .cs-reason--lock {
  background: #26334a;
  color: #f1f5f9;
  border-color: rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .cs-stats {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .cs-stats h4 {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .cs-stat {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .cs-stat b {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .cs-stat span {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .cs-lvlbar {
  background: #26334a;
}

:where(html[data-theme="dark"]) .cs-lvl-legend {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .cs-rank li {
  border-bottom: 1px dashed rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .cs-kpi {
  --kpi-bg: #26334a;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .cs-kpi b {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .cs-kpi-complete {
  --kpi-bg: #11403c;
}

:where(html[data-theme="dark"]) .cs-kpi-partial {
  --kpi-bg: #3a3827;
}

:where(html[data-theme="dark"]) .cs-kpi-empty {
  --kpi-bg: #26334a;
}

:where(html[data-theme="dark"]) .cs-kpi-open {
  --kpi-bg: #26334a;
}

:where(html[data-theme="dark"]) .cs-kpi-submitted {
  --kpi-bg: #3a3827;
}

:where(html[data-theme="dark"]) .cs-kpi-approved {
  --kpi-bg: #11403b;
}

:where(html[data-theme="dark"]) .cs-kpi-returned {
  --kpi-bg: #4b182a;
}

:where(html[data-theme="dark"]) .cs-kpi-locked {
  --kpi-bg: #26334a;
}

:where(html[data-theme="dark"]) .cs-matrix td.cs-mx-off {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .cs-matrix-wrap {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .cs-matrix th,
:where(html[data-theme="dark"]) .cs-matrix td {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  border-inline-end: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .cs-matrix thead th {
  background: #26334a;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .cs-matrix th.cs-mx-sub {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .cs-matrix thead th.cs-mx-sub {
  background: #26334a;
}

:where(html[data-theme="dark"]) .cs-mx-open {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .cs-mx-open.cs-fill-complete {
  background: #11403c;
  border-color: rgba(75, 231, 159, 0.38);
}

:where(html[data-theme="dark"]) .cs-mx-open.cs-fill-partial {
  background: #3a3827;
  border-color: rgba(240, 205, 66, 0.38);
}

:where(html[data-theme="dark"]) .cs-mx-open.cs-fill-empty {
  background: #26334a;
  border-color: rgba(240, 66, 66, 0.38);
}

:where(html[data-theme="dark"]) .cs-mx-bar {
  background: #334155;
}

:where(html[data-theme="dark"]) .cs-mx-meta {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .cs-list th,
:where(html[data-theme="dark"]) .cs-list td {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .cs-list thead th {
  background: #1e293b;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .cs-empty {
  border: 1px dashed rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .cs-pill {
  background: #26334a;
  color: #aca8e6;
}

:where(html[data-theme="dark"]) .cs-switch {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .cs-modal__panel {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .cs-modal__head {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .cs-modal__head h3 {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .cs-modal__foot {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .cs-modal__x {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .cs-modal__x:hover {
  background: #26334a;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .cs-field > span {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .cs-input {
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #e2e8f0;
  background: #1e293b;
}

:where(html[data-theme="dark"]) .cs-diff-old {
  color: #f09e9e;
}

:where(html[data-theme="dark"]) .cs-diff-new {
  color: #94f9dd;
}

/* ── public/css/students/parent_email_approvals.css ── */
:where(html[data-theme="dark"]) .pea-summary-card {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .pea-summary-card--amber .pea-summary-icon {
  background: #3a3827;
}

:where(html[data-theme="dark"]) .pea-summary-card--emerald .pea-summary-icon {
  background: #11403c;
}

:where(html[data-theme="dark"]) .pea-summary-card--sky .pea-summary-icon {
  background: #26334a;
}

:where(html[data-theme="dark"]) .pea-summary-card--rose .pea-summary-icon {
  background: #3a182a;
  color: #f29caf;
}

:where(html[data-theme="dark"]) .pea-summary-card--slate .pea-summary-icon {
  background: #1e293b;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .pea-summary-label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .pea-summary-value {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .pea-badge--pending {
  background: #3a3827;
  color: #f9c094;
  border-color: rgba(240, 205, 66, 0.38);
}

:where(html[data-theme="dark"]) .pea-badge--approved {
  background: #11403c;
  color: #94f9dd;
  border-color: rgba(75, 231, 159, 0.38);
}

:where(html[data-theme="dark"]) .pea-badge--rejected {
  background: #3a182a;
  color: #f599af;
  border-color: rgba(240, 66, 88, 0.38);
}

:where(html[data-theme="dark"]) .pea-badge--source-file {
  background: #26334a;
  color: #aba6e7;
  border-color: rgba(66, 101, 240, 0.38);
}

:where(html[data-theme="dark"]) .pea-badge--source-parent {
  background: #123f46;
  color: #9bf2ec;
  border-color: rgba(68, 238, 205, 0.38);
}

:where(html[data-theme="dark"]) .pea-badge--verified {
  background: #11403c;
  color: #94f9dd;
  border-color: rgba(80, 226, 168, 0.38);
}

:where(html[data-theme="dark"]) .pea-badge--unverified {
  background: #1e293b;
  color: #a3b1c6;
  border-color: rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .pea-badge--otp-sent {
  background: #26334a;
  color: #9cb3f2;
  border-color: rgba(66, 143, 240, 0.38);
}

:where(html[data-theme="dark"]) .pea-auto-note {
  background: #26334a;
  border: 1px solid rgba(66, 143, 240, 0.38);
  color: #9fb2ef;
}

:where(html[data-theme="dark"]) .pea-email-edit {
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #f1f5f9;
  background: #1e293b;
}

/* ── public/css/students/parent_portal_control.css ── */
:where(html[data-theme="dark"]) .ppc-wrap {
  --ppc-ink: #f1f5f9;
  --ppc-muted: #a3b1c6;
  --ppc-line: rgba(148, 163, 184, 0.24);
  --ppc-soft: #1e293b;
}

:where(html[data-theme="dark"]) .ppc-live-pill {
  background: #11403c;
  color: #94f9dd;
  border: 1px solid rgba(75, 231, 159, 0.38);
}

:where(html[data-theme="dark"]) .ppc-live-pill.is-alert {
  background: #3a182a;
  color: #f599af;
  border-color: rgba(240, 66, 88, 0.38);
}

:where(html[data-theme="dark"]) .ppc-btn--ghost {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ppc-icon-btn {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ppc-tabs {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ppc-tab {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .ppc-notify-panel {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ppc-notify-item:hover {
  background: #123f46;
}

:where(html[data-theme="dark"]) .ppc-notify-item__icon {
  background: #11403c;
}

:where(html[data-theme="dark"]) .ppc-notify-item.is-new .ppc-notify-item__icon {
  background: #3a182a;
}

:where(html[data-theme="dark"]) .ppc-metric-card {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ppc-metric-card:hover {
  border-color: rgba(68, 238, 205, 0.38);
}

:where(html[data-theme="dark"]) .ppc-metric-card--teal .ppc-metric-card__icon {
  background: #11403c;
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ppc-metric-card--amber .ppc-metric-card__icon {
  background: #3a3827;
}

:where(html[data-theme="dark"]) .ppc-metric-card--rose .ppc-metric-card__icon {
  background: #3a182a;
  color: #f29caf;
}

:where(html[data-theme="dark"]) .ppc-metric-card--sky .ppc-metric-card__icon {
  background: #113050;
}

:where(html[data-theme="dark"]) .ppc-metric-card--violet .ppc-metric-card__icon {
  background: #26334a;
  color: #bb98f6;
}

:where(html[data-theme="dark"]) .ppc-metric-card--slate .ppc-metric-card__icon {
  background: #26334a;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .ppc-metric-card--orange .ppc-metric-card__icon {
  background: #3a2e27;
}

:where(html[data-theme="dark"]) .ppc-metric-card--indigo .ppc-metric-card__icon {
  background: #26334a;
  color: #a19df1;
}

:where(html[data-theme="dark"]) .ppc-panel {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ppc-panel__title .ppc-ico,
:where(html[data-theme="dark"]) .ppc-ann-section__title .ppc-ico,
:where(html[data-theme="dark"]) .ppc-ann-settings__card-title .ppc-ico {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ppc-priority--urgent {
  color: #f29caf;
}

:where(html[data-theme="dark"]) .ppc-priority--low {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ppc-status-chip {
  background: #26334a;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .ppc-aud-chip {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ppc-aud-chip:hover {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ppc-cx-stealth__picked {
  background: #113e50;
  border: 1px solid rgba(66, 222, 240, 0.38);
  color: #a0dbee;
}

:where(html[data-theme="dark"]) .ppc-cx-stealth .ppc-aud-search .ppc-ann-field__input {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ppc-aud-results {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ppc-aud-result {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ppc-aud-result:hover {
  background: #123f46;
}

:where(html[data-theme="dark"]) .ppc-aud-result strong {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ppc-aud-result small {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ppc-aud-result--empty {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ppc-aud-card {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ppc-aud-card__icon {
  background: #11403c;
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ppc-aud-card__body strong {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ppc-aud-card__body small {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ppc-aud-card__rm {
  background: #26334a;
  color: #f29caf;
}

:where(html[data-theme="dark"]) .ppc-aud-card__rm:hover {
  background: #4b1825;
}

:where(html[data-theme="dark"]) .ppc-link-card:hover {
  background: #11403c;
  border-color: rgba(68, 238, 205, 0.38);
}

:where(html[data-theme="dark"]) .ppc-link-card i {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ppc-form-grid label {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .ppc-form-grid .ppc-form-label {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ppc-form-grid input,
:where(html[data-theme="dark"]) .ppc-form-grid select,
:where(html[data-theme="dark"]) .ppc-form-grid textarea {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ppc-table tbody tr:hover {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ppc-table tbody tr.is-hot {
  background: #3a2e27;
}

:where(html[data-theme="dark"]) .ppc-table tbody tr.is-focus {
  background: #123f46;
}

:where(html[data-theme="dark"]) .ppc-drawer__panel {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-eng-badge {
  background: #334155;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .sls-eng-badge--new,
:where(html[data-theme="dark"]) .sls-eng-badge--pending {
  background: #3a3827;
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .sls-eng-badge--in_review {
  background: #113050;
  color: #94d6f9;
}

:where(html[data-theme="dark"]) .sls-eng-badge--answered,
:where(html[data-theme="dark"]) .sls-eng-badge--approved,
:where(html[data-theme="dark"]) .sls-eng-badge--published {
  background: #11403b;
  color: #95f8dd;
}

:where(html[data-theme="dark"]) .sls-eng-label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-eng-input {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-eng-bubble--parent {
  background: #123f46;
}

:where(html[data-theme="dark"]) .sls-eng-bubble--staff {
  background: #26334a;
}

:where(html[data-theme="dark"]) .sls-eng-alert--ok {
  background: #11403c;
  color: #95f8dd;
  border: 1px solid rgba(75, 231, 159, 0.38);
}

:where(html[data-theme="dark"]) .sls-eng-alert--err {
  background: #3a182a;
  color: #f49ab3;
  border: 1px solid rgba(240, 66, 88, 0.38);
}

:where(html[data-theme="dark"]) .ppc-ann-table tbody tr.ppc-ann-row:hover {
  background: #123f46;
}

:where(html[data-theme="dark"]) .ppc-ann-table tbody tr.ppc-ann-row.is-pinned {
  background: #3a3827;
}

:where(html[data-theme="dark"]) .ppc-ann-handle {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ppc-ann-handle:hover {
  background: #334155;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ppc-ann-ghost {
  background: #113e50 !important;
}

:where(html[data-theme="dark"]) .ppc-ann-chosen {
  background: #123f46 !important;
}

:where(html[data-theme="dark"]) .ppc-ann-title {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ppc-ann-modal__panel.sls-student-modal-panel {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ppc-ann-modal__head {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ppc-ann-modal__scroll {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ppc-ann-hint {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .ppc-ann-section {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ppc-ann-section__title {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ppc-ann-lang-block {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ppc-ann-field__label {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ppc-ann-field__hint {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .ppc-ann-field__input {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ppc-ann-field__input::placeholder {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ppc-ann-field__input--lg {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ppc-ann-field__input--body {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ppc-ann-settings__card {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ppc-ann-settings__card-title {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .ppc-ann-switch {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ppc-ann-switch__ui {
  background: #334155;
}

:where(html[data-theme="dark"]) .ppc-ann-switch__ui::after {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ppc-ann-switch__text strong {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ppc-ann-switch__text small {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .ppc-ann-media-drop {
  border: 2px dashed rgba(68, 238, 205, 0.38);
  background: #123f46;
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ppc-ann-media-drop small {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .ppc-ann-media-drop:hover,
:where(html[data-theme="dark"]) .ppc-ann-media-drop.is-over {
  background: #114047;
}

:where(html[data-theme="dark"]) .ppc-ann-media-empty {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ppc-ann-media-tile {
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ppc-ann-modal__foot {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ppc-ann-modal__foot .ppc-btn--ghost {
  background: #1e293b;
  color: #f1f5f9;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ppc-status-chip--warn {
  background: #3a2e27;
  color: #f8b295;
}

:where(html[data-theme="dark"]) .ppc-eng-chip {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .ppc-eng-total {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ppc-eng-row.is-focus {
  background: #123f46;
}

:where(html[data-theme="dark"]) .ppc-eng-sec-title {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ppc-eng-reactors li {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ppc-eng-reactors__name {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ppc-eng-reactors__meta {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ppc-eng-cmt {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ppc-eng-cmt.is-reply {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ppc-eng-cmt.is-hidden {
  background: #3a2e27;
}

:where(html[data-theme="dark"]) .ppc-eng-cmt.is-deleted {
  background: #26334a;
}

:where(html[data-theme="dark"]) .ppc-eng-cmt__body {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ppc-guide-step-card {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ppc-guide-step-card legend {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) #ppcGuideTable tbody tr.is-dragging {
  background: #113e50;
}

:where(html[data-theme="dark"]) .ppc-pill {
  background: #334155;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .ppc-pill--ok {
  background: #11403b;
  color: #94f9dd;
}

:where(html[data-theme="dark"]) .ppc-pill--warn {
  background: #3a2f27;
  color: #f8b295;
}

:where(html[data-theme="dark"]) .ppc-sys-ref {
  color: #9bf2ec;
  background: #114047;
}

:where(html[data-theme="dark"]) .ppc-sys-sev--low {
  background: #113050;
  color: #94d6f9;
}

:where(html[data-theme="dark"]) .ppc-sys-sev--medium {
  background: #3a3827;
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .ppc-sys-sev--high {
  background: #3a2f27;
  color: #f3b19b;
}

:where(html[data-theme="dark"]) .ppc-sys-sev--critical {
  background: #4b1825;
  color: #eea0a0;
}

:where(html[data-theme="dark"]) .ppc-sys-details__item {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ppc-sys-details__label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ppc-sys-details__value {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ppc-sys-details__block {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ppc-sys-details__block strong {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ppc-sys-details__tech {
  background: #26334a;
}

:where(html[data-theme="dark"]) .ppc-sys-details__tech summary {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .ppc-sys-details__tech dt {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .ppc-sys-conv-title {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ppc-cx-subnav__item {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .ppc-cx-subnav__item:hover {
  background: #123f46;
  border-color: rgba(68, 238, 205, 0.38);
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ppc-cx-bar__label {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ppc-cx-bar__num {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ppc-cx-bar__track {
  background: #334155;
}

:where(html[data-theme="dark"]) .ppc-cx-switches .ppc-ann-switch {
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ppc-cx-restrict select,
:where(html[data-theme="dark"]) .ppc-cx-restrict input {
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ppc-cxb-banner .ppc-btn--ghost {
  border-color: rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ppc-cxb-log__list li {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ppc-cxb-meta {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ppc-cxb-avatar {
  background: #114047;
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ppc-cxb-composer__summary {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .ppc-cxb-composer__summary>span:nth-child(2) {
  background: #26334a;
}

:where(html[data-theme="dark"]) .ppc-cxb-composer[open] .ppc-cxb-composer__summary {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ppc-cxb-stack textarea,
:where(html[data-theme="dark"]) .ppc-cxb-stack input[type=text],
:where(html[data-theme="dark"]) .ppc-cxb-stack input[type=number],
:where(html[data-theme="dark"]) .ppc-cxb-stack input[type=datetime-local],
:where(html[data-theme="dark"]) .ppc-cxb-stack select,
:where(html[data-theme="dark"]) .ppc-cxb-extra input,
:where(html[data-theme="dark"]) .ppc-cxb-extra select,
:where(html[data-theme="dark"]) .ppc-cxb-filters input,
:where(html[data-theme="dark"]) .ppc-cxb-filters select,
:where(html[data-theme="dark"]) .ppc-cxb-add-comment input {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ppc-cxb-extra {
  border: 1px dashed rgba(68, 238, 205, 0.38);
}

:where(html[data-theme="dark"]) .ppc-cxb-extra legend {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ppc-cxb-check {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .ppc-cxb-post.is-pinned {
  border-color: rgba(240, 199, 66, 0.38);
}

:where(html[data-theme="dark"]) .ppc-cxb-post.is-hidden {
  background: repeating-linear-gradient(135deg,#1e293b,#1e293b 12px,#3a2e27 12px,#3a2e27 24px);
}

:where(html[data-theme="dark"]) .ppc-cxb-post__who strong {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ppc-cxb-post__body {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ppc-cxb-file {
  background: #26334a;
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ppc-cxb-box {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ppc-cxb-box__title {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ppc-cxb-stats {
  color: #cbd5e1;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ppc-cxb-pop__body {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ppc-cxb-comment__bubble {
  background: #26334a;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ppc-cxb-comment.is-hidden>.ppc-cxb-comment__main>.ppc-cxb-comment__bubble {
  background: #3a2e27;
}

:where(html[data-theme="dark"]) .ppc-cxb-link {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ppc-login-chart__picker {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ppc-login-kpi {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ppc-ticket-modal__panel.sls-student-modal-panel {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ppc-ticket-modal__head {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ppc-ticket-modal__warn {
  background: #3a182a;
  border: 1px solid rgba(240, 66, 88, 0.38);
  color: #f49ab3;
}

:where(html[data-theme="dark"]) .ppc-ticket-modal__foot {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ppc-ticket-modal__foot .ppc-btn--ghost {
  background: #1e293b !important;
  color: #f1f5f9 !important;
  border: 1px solid rgba(148, 163, 184, 0.24) !important;
}

:where(html[data-theme="dark"]) .ppc-ticket-modal__foot .ppc-btn--ghost:hover {
  color: #9bf2ec !important;
}

:where(html[data-theme="dark"]) .ppc-push-filter-banner {
  background: #123f46;
  border: 1px solid rgba(68, 238, 205, 0.38);
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ppc-push-card {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ppc-push-card.is-online {
  border-color: rgba(75, 231, 159, 0.38);
}

:where(html[data-theme="dark"]) .ppc-push-pill {
  background: #26334a;
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ppc-push-pill--role {
  background: #26334a;
  color: #aba6e7;
  border-color: rgba(66, 101, 240, 0.38);
}

:where(html[data-theme="dark"]) .ppc-push-pill--online {
  background: #11403c;
  color: #94f9dd;
  border-color: rgba(75, 231, 159, 0.38);
}

:where(html[data-theme="dark"]) .ppc-push-pill--push {
  background: #123f46;
  color: #9bf2ec;
  border-color: rgba(68, 238, 205, 0.38);
}

:where(html[data-theme="dark"]) .ppc-push-pill--acct {
  background: #3a3827;
  color: #f9c094;
  border-color: rgba(240, 205, 66, 0.38);
}

:where(html[data-theme="dark"]) .ppc-push-child {
  border: 1px solid rgba(148, 163, 184, 0.24);
}

/* ── public/css/students/student-portal-audit.css ── */
:where(html[data-theme="dark"]) .sls-spfa-btn {
  border: 1px solid rgba(240, 199, 66, 0.38);
  background: #3a3827;
  color: #f9c094;
}

:where(html[data-theme="dark"]) .sls-spfa-field {
  border-color: rgba(240, 199, 66, 0.38) !important;
  background-color: #1e293b !important;
}

:where(html[data-theme="dark"]) .sls-spfa-panel {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-spfa-head {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-spfa-title {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sls-spfa-subtitle {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-spfa-close {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-spfa-close:hover {
  background: #26334a;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sls-spfa-tabs {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-spfa-tab {
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-spfa-tab:not(.is-active) .sls-spfa-tab__count {
  background: #26334a;
  color: #aba6e7;
}

:where(html[data-theme="dark"]) .sls-spfa-body {
  background: rgba(30, 41, 59, 0.6);
}

:where(html[data-theme="dark"]) .sls-spfa-card {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-spfa-card__head {
  background: #1e293b;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-spfa-chip--indigo {
  background: #26334a;
  color: #aba6e7;
}

:where(html[data-theme="dark"]) .sls-spfa-chip--sky {
  background: #26334a;
  color: #94d6f9;
}

:where(html[data-theme="dark"]) .sls-spfa-chip--amber {
  background: #3a3827;
  color: #f9c094;
}

:where(html[data-theme="dark"]) .sls-spfa-chip--teal {
  background: #123f46;
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .sls-spfa-chip--slate {
  background: #26334a;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .sls-spfa-chip--rose {
  background: #3a182a;
  color: #f599af;
}

:where(html[data-theme="dark"]) .sls-spfa-table th {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-spfa-tr {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-spfa-row--focus {
  background: #3a3827;
}

:where(html[data-theme="dark"]) .sls-spfa-fieldname {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .sls-spfa-old {
  color: #f599af;
}

:where(html[data-theme="dark"]) .sls-spfa-new {
  color: #94f9dd;
}

:where(html[data-theme="dark"]) .sls-spfa-revert {
  border: 1px solid rgba(240, 66, 88, 0.38);
  background: #3a182a;
  color: #f599af;
}

:where(html[data-theme="dark"]) .sls-spfa-card--revert {
  border-color: rgba(240, 66, 88, 0.38);
}

:where(html[data-theme="dark"]) .sls-spfa-card--revert .sls-spfa-card__head {
  background: #26334a;
}

:where(html[data-theme="dark"]) .sls-spfa-tag {
  background: #26334a;
  color: #a3b1c6;
}

/* ── public/css/students/student_public_card.css ── */
html:where([data-theme="dark"]) {
  --sls-glass: rgba(30, 41, 59, 0.78);
  --sls-glass-strong: rgba(30, 41, 59, 0.92);
  --sls-glass-border: rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .language-switch a.is-active {
  background: linear-gradient(135deg, #1e293b 0%, #1e293b 100%);
  color: #a3b6eb;
  border-color: rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .tool-btn--gold {
  border-color: rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .search-wrap i {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .search-wrap input {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(30, 41, 59, 0.92);
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .search-empty {
  background: rgba(30, 41, 59, 0.92);
  color: #a3b1c6;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .section-nav {
  background: rgba(30, 41, 59, 0.94);
}

:where(html[data-theme="dark"]) .section-nav a {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .section-nav a:hover {
  color: #f5bc99;
  background: rgba(30, 41, 59, 0.72);
}

:where(html[data-theme="dark"]) .section-nav a.is-active {
  background: #1e293b;
  color: #f9c094;
}

:where(html[data-theme="dark"]) .card {
  background: rgba(30, 41, 59, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .pill-verified {
  background: linear-gradient(135deg, #1e293b 0%, #3a3827 100%);
  color: #f9d094;
}

:where(html[data-theme="dark"]) .hero-meta .status-badge {
  background: rgba(30, 41, 59, 0.95);
}

:where(html[data-theme="dark"]) .hero-meta .st-active {
  color: #a3ebbe;
}

:where(html[data-theme="dark"]) .hero-meta .st-applicant {
  color: #9fb2ef;
}

:where(html[data-theme="dark"]) .hero-meta .st-inactive {
  color: #eea0a0;
}

:where(html[data-theme="dark"]) .hero-meta .st-graduated {
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .st-active {
  background: #114035;
  color: #a3ebbe;
}

:where(html[data-theme="dark"]) .st-applicant {
  background: #12305e;
  color: #9fb2ef;
}

:where(html[data-theme="dark"]) .st-inactive {
  background: #4b1825;
  color: #eea0a0;
}

:where(html[data-theme="dark"]) .st-graduated {
  background: #3a3827;
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .photo-wrap {
  background: linear-gradient(135deg, #3a3827, #4b4525);
  border: 3px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .photo-wrap .ini {
  color: #f9d094;
  background: linear-gradient(135deg, #3a3827, #3a3827);
}

:where(html[data-theme="dark"]) .card-summary {
  background: #26334a;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .spotlight-card .spotlight-icon.icon-due {
  color: #f09e9e;
}

:where(html[data-theme="dark"]) .spotlight-card {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .spotlight-card--due {
  background: linear-gradient(180deg, #1e293b 0%, #3a3827 100%);
}

:where(html[data-theme="dark"]) .spotlight-label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .spotlight-value {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .spotlight-value.is-due {
  color: #ef9e9e;
}

:where(html[data-theme="dark"]) .spotlight-value.is-neutral {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .spotlight-card--due .spotlight-icon {
  color: #f9d094;
}

:where(html[data-theme="dark"]) .spotlight-card .spotlight-icon.icon-neutral {
  color: #a3b6eb;
}

:where(html[data-theme="dark"]) .spotlight-card .spotlight-icon.icon-due {
  color: #ef9e9e;
}

:where(html[data-theme="dark"]) .body {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .section {
  background: rgba(30, 41, 59, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .section:hover {
  border-color: rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .section-head {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
}

:where(html[data-theme="dark"]) .section-head:hover {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .section-titles h2 {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .section-titles .section-desc {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .section-toggle {
  background: linear-gradient(180deg, #3a3827 0%, #3a3827 100%);
  color: #f9d094;
}

:where(html[data-theme="dark"]) .section-toggle:hover {
  background: #4b4525;
}

:where(html[data-theme="dark"]) .field {
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .field-wide {
  background: linear-gradient(135deg, rgba(58, 56, 39, 0.35) 0%, rgba(30, 41, 59, 0.9) 100%);
}

:where(html[data-theme="dark"]) .field.bus-parent-form-banner {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.14) 0%, rgba(58, 56, 39, 0.95) 100%);
}

:where(html[data-theme="dark"]) .field-icon {
  background: linear-gradient(135deg, #1e293b 0%, #26334a 100%);
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #f9d094;
}

:where(html[data-theme="dark"]) .field-label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .field-value {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .home-map-embed {
  background: #334155;
}

:where(html[data-theme="dark"]) .home-map-coords {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fs-insight-banner {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .fs-metric {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fs-metric-label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fs-metric-value {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .fs-metric-value.tone-bad {
  color: #ef9e9e;
}

:where(html[data-theme="dark"]) .fs-metric-value.tone-gold {
  color: #f9d094;
}

:where(html[data-theme="dark"]) .fs-block-title {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .fs-panel-card {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fs-panel-card-title {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .fs-panel-card-total {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .fs-detail-table th,
:where(html[data-theme="dark"]) .fs-detail-table td {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fs-detail-table th {
  background: #1e293b;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .fs-detail-table .tone-bad {
  color: #ef9e9e;
}

:where(html[data-theme="dark"]) .fs-detail-table .tone-warn {
  color: #f9c094;
}

:where(html[data-theme="dark"]) .fs-detail-table td.is-total {
  background: #1e293b;
  border-top: 2px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fs-uniform-detail {
  border-top: 1px dashed rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fs-uniform-detail-title {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .fs-discount-chip {
  background: linear-gradient(135deg, #3a3827 0%, #3a3827 100%);
}

:where(html[data-theme="dark"]) .fs-discount-chip strong {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .fs-discount-chip span {
  color: #f9d094;
}

:where(html[data-theme="dark"]) .fs-installment-card {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fs-installment-num {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fs-installment-amt {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .fs-installment-date {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fs-installment-status.unpaid {
  color: #ef9e9e;
}

:where(html[data-theme="dark"]) .fs-installment-status.partial {
  background: #3a3827;
  color: #f5bc99;
}

:where(html[data-theme="dark"]) .fs-tx-card {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fs-tx-desc {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .fs-tx-meta {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .fs-extra-table-wrap {
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fs-extra-table {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .fs-extra-table th,
:where(html[data-theme="dark"]) .fs-extra-table td {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .fs-extra-table th {
  background: #1e293b;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .fs-extra-table .tone-bad {
  color: #ef9e9e;
}

:where(html[data-theme="dark"]) .footer-note {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .footer-note strong {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sls-error-box {
  background: rgba(30, 41, 59, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-error-box .ico {
  background: linear-gradient(135deg, #4b1825, #4b1825);
  color: #ef9e9e;
}

:where(html[data-theme="dark"]) .sls-error-box h1 {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sls-error-box p {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-pin-box .ico {
  background: linear-gradient(135deg, #114047, #125153);
}

:where(html[data-theme="dark"]) .sls-pin-code {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .sls-pin-code strong {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sls-pin-error {
  color: #ef9e9e;
}

:where(html[data-theme="dark"]) .sls-pin-label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-pin-input {
  border: 2px solid rgba(148, 163, 184, 0.24);
  color: #f1f5f9;
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-pin-help {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-verify-hero .ico {
  background: linear-gradient(145deg, #114047 0%, #125153 55%, #135055 100%);
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .sls-verify-intro {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .sls-verify-steps li:not(:last-child)::after {
  background: #334155;
}

:where(html[data-theme="dark"]) .sls-verify-steps li.is-done:not(:last-child)::after,
:where(html[data-theme="dark"]) .sls-verify-steps li.is-active:not(:last-child)::after {
  background: linear-gradient(90deg, #0d9488, #125153);
}

:where(html[data-theme="dark"]) .sls-verify-steps li span {
  background: #26334a;
  border: 2px solid rgba(148, 163, 184, 0.24);
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-verify-steps li.is-active {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .sls-verify-steps li.is-done {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .sls-verify-steps li.is-done span {
  background: #114047;
  border-color: rgba(75, 231, 207, 0.38);
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .sls-verify-codechip {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .sls-verify-codechip strong {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sls-first-login-btn {
  background: rgba(18, 63, 70, 0.9);
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .sls-first-login-btn:hover {
  background: #114047;
}

:where(html[data-theme="dark"]) .sls-linkish {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-verify-section {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.95) 0%, rgba(30, 41, 59, 0.92) 100%);
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-verify-section--father {
  --sls-section-soft: #26334a;
}

:where(html[data-theme="dark"]) .sls-verify-section--mother {
  --sls-section-soft: #26334a;
}

:where(html[data-theme="dark"]) .sls-verify-section--student {
  --sls-section-soft: #123f46;
}

:where(html[data-theme="dark"]) .sls-verify-section h2 {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sls-citizenship__chip {
  border: 1.5px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .sls-citizenship__opt input:checked + .sls-citizenship__chip {
  background: var(--sls-section-soft, #123f46);
  color: var(--sls-section-accent, #9bf2ec);
}

:where(html[data-theme="dark"]) .sls-verify-field {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-verify-field input {
  border: 1.5px solid rgba(148, 163, 184, 0.24);
  color: #f1f5f9;
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-verify-field input:hover {
  border-color: rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-verify-field input[readonly] {
  background: #26334a;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .sls-verify-field .sls-date-triple__select {
  border-color: rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-verify-trust {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-role-card__btn {
  border: 1.5px solid rgba(148, 163, 184, 0.24);
  background: linear-gradient(180deg, #1e293b, #1e293b);
}

:where(html[data-theme="dark"]) .sls-role-card__title {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sls-role-card__desc {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-otp-card {
  background: linear-gradient(180deg, #1e293b, #1e293b);
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-verify-flash {
  color: #94f9dd;
}

/* ── public/css/students/students-family-mothers.css ── */
:where(html[data-theme="dark"]) .sls-fm-head {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-fm-first-badge {
  background: #26334a;
  border: 1px solid rgba(239, 67, 165, 0.38);
  color: #f29bc0;
}

:where(html[data-theme="dark"]) .sls-fm-add-btn[disabled] {
  background: #334155;
}

:where(html[data-theme="dark"]) .sls-fm-remove-btn {
  background: #3a182a;
  color: #f29caf;
  border: 1px solid rgba(240, 66, 88, 0.38);
}

:where(html[data-theme="dark"]) .sls-fm-hint {
  background: #26334a;
  color: #f19dbf;
}

:where(html[data-theme="dark"]) .sls-fm-card {
  border: 1px solid rgba(239, 67, 165, 0.38);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-fm-selector {
  background: linear-gradient(135deg, #26334a 0%, #1e293b 70%);
}

:where(html[data-theme="dark"]) .sls-fm-selector__label {
  color: #f19dbf;
}

:where(html[data-theme="dark"]) .sls-fm-selector__note {
  color: #a3b1c6;
}

/* ── public/css/students/students.css ── */
:where(html[data-theme="dark"]) .col-dropdown-item.sls-col-menu-drag-chosen {
  background: #11403c;
}

:where(html[data-theme="dark"]) .col-dropdown-item.sls-col-menu-drag-ghost {
  background: #114047;
}

:where(html[data-theme="dark"]) .col-dropdown-item.sls-col-menu-drag-dragging {
  background: #123f46;
}

:where(html[data-theme="dark"]) .sls-export-check-item {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) #studentsTable thead th[data-col] .sls-col-drag-handle:hover {
  color: #9bf2ec;
  background: #11403c;
}

:where(html[data-theme="dark"]) #studentsTable thead th.sls-col-drag-chosen {
  background: #11403c !important;
}

:where(html[data-theme="dark"]) #studentsTable thead th.sls-col-drag-ghost {
  background: #114047 !important;
}

:where(html[data-theme="dark"]) #studentsTable thead th.sls-col-drag-dragging {
  background: #123f46 !important;
}

:where(html[data-theme="dark"]) #studentsTable tfoot tr.sls-students-totals-row td {
  background: #26334a;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) #studentsTable tfoot tr.sls-students-totals-row td.sls-students-totals-label {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) #studentsTable tfoot tr.sls-students-totals-row .sls-students-totals-hint {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) #studentsTable.sls-freeze-totals tfoot .col-select,
:where(html[data-theme="dark"]) .sls-table-scroll.sls-freeze-totals #studentsTable tfoot .col-select {
  background: #26334a;
}

:where(html[data-theme="dark"]) .adv-dropzone:hover {
  background-color: #26334a;
}

:where(html[data-theme="dark"]) .adv-dropzone.dragover i.upload-icon {
  color: #98b5f6;
}

:where(html[data-theme="dark"]) .staged-file-card .file-name {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .staged-file-card .file-type-select {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .progress-bar-container {
  background: #334155;
}

html:where([data-theme="dark"]) {
  --school-border: rgba(148, 163, 184, 0.24);
  --school-panel: #1e293b;
  --school-panel-soft: #1e293b;
}

:where(html[data-theme="dark"]) .summary-card::before {
  background: linear-gradient(90deg, rgba(30, 41, 59, 0.55), rgba(255,255,255,0));
}

:where(html[data-theme="dark"]) .filter-btn {
  border: 1px solid rgba(148, 163, 184, 0.24) !important;
  background: linear-gradient(180deg, #1e293b 0%, #1e293b 100%);
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) #studentsTable.sls-sticky-header thead .col-select {
  background: var(--sls-table-header-bg, #1e293b) !important;
}

:where(html[data-theme="dark"]) .row-selected {
  background: #113e50 !important;
}

:where(html[data-theme="dark"]) .sls-bulk-toolbar-count-label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-bulk-toolbar-danger {
  border-left: 3px solid rgba(240, 66, 66, 0.38);
  background: linear-gradient(135deg, #3a182a 0%, #26334a 100%);
}

:where(html[data-theme="dark"]) .sls-bulk-toolbar-danger-label {
  color: #f29caf;
}

:where(html[data-theme="dark"]) .sls-bulk-export-menu-divider {
  background: #334155;
}

@media (max-width: 767px) {
:where(html[data-theme="dark"]) .sls-bulk-toolbar-actions {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}
}

@media (max-width: 767px) {
:where(html[data-theme="dark"]) .sls-bulk-toolbar-danger {
  border-top: 2px solid rgba(240, 66, 66, 0.38);
}
}

:where(html[data-theme="dark"]) .sls-search-container.sls-search-is-open .sls-list-search-input,
:where(html[data-theme="dark"]) #searchContainer.sls-search-is-open .sls-list-search-input {
  border-color: rgba(75, 231, 207, 0.38) !important;
}

:where(html[data-theme="dark"]) .sls-search-container .sls-list-search-input,
:where(html[data-theme="dark"]) #searchInput,
:where(html[data-theme="dark"]) #searchContainer .sls-list-search-input {
  border: 1px solid rgba(148, 163, 184, 0.24) !important;
  background: #1e293b !important;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sls-search-container .sls-list-search-input:focus,
:where(html[data-theme="dark"]) #searchInput:focus,
:where(html[data-theme="dark"]) #searchContainer .sls-list-search-input:focus {
  border-color: rgba(68, 238, 205, 0.38) !important;
}

:where(html[data-theme="dark"]) .sls-search-clear-btn {
  background: #334155;
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-search-clear-btn:hover {
  background: #334155;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sls-search-suggestions-panel,
:where(html[data-theme="dark"]) #searchSuggestions {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-search-suggest-header {
  background: linear-gradient(180deg, #1e293b 0%, #26334a 100%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-search-suggest-label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-search-suggest-empty {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-search-suggest-empty-icon {
  background: #26334a;
}

:where(html[data-theme="dark"]) .sls-suggest-item {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-suggest-item.is-inactive {
  background: #26334a;
}

:where(html[data-theme="dark"]) .sls-suggest-item.is-inactive .sls-suggest-name-en,
:where(html[data-theme="dark"]) .sls-suggest-item.is-inactive .sls-suggest-name-ar {
  color: #ef9e9e;
}

:where(html[data-theme="dark"]) .student-row--inactive .sls-student-inactive-name {
  color: #ef9e9e !important;
}

:where(html[data-theme="dark"]) .sls-row-color-swatch {
  border: 2px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-row-color-swatch.is-none {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-suggest-item.is-inactive:hover,
:where(html[data-theme="dark"]) .sls-suggest-item.is-inactive.is-active {
  background: linear-gradient(90deg, #4b1825 0%, #26334a 100%);
}

:where(html[data-theme="dark"]) .sls-suggest-pill-status--active {
  background: #11403b;
  color: #94f9dd;
  border: 1px solid rgba(80, 226, 168, 0.38);
}

:where(html[data-theme="dark"]) .sls-suggest-pill-status--new {
  background: #113d50;
  color: #99e1f5;
  border: 1px solid rgba(66, 220, 240, 0.38);
}

:where(html[data-theme="dark"]) .sls-suggest-pill-status--old {
  background: #11403c;
  color: #94f9dd;
  border: 1px solid rgba(75, 231, 159, 0.38);
}

:where(html[data-theme="dark"]) .sls-suggest-pill-status--waiting {
  background: #3a3827;
  color: #f9c094;
  border: 1px solid rgba(240, 199, 66, 0.38);
}

:where(html[data-theme="dark"]) .sls-suggest-pill-status--inactive {
  background: #4b1825;
  color: #f09e9e;
}

:where(html[data-theme="dark"]) .sls-suggest-pill-status--canceled {
  background: #26334a;
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-suggest-pill-status--rejected {
  background: #4b182a;
  color: #f599af;
}

:where(html[data-theme="dark"]) .sls-suggest-pill-status--default {
  background: #26334a;
  color: #a3b1c6;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-suggest-item:hover,
:where(html[data-theme="dark"]) .sls-suggest-item.is-active {
  background: linear-gradient(90deg, #11403c 0%, #1e293b 100%);
}

:where(html[data-theme="dark"]) .sls-suggest-avatar--mint {
  background: #11403b;
  color: #95f8dd;
}

:where(html[data-theme="dark"]) .sls-suggest-avatar--sky {
  background: #12305e;
  color: #9fb2ef;
}

:where(html[data-theme="dark"]) .sls-suggest-avatar--violet {
  background: #334155;
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .sls-suggest-avatar--slate {
  background: #334155;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .sls-suggest-pill-class {
  background: #113050;
  color: #94d6f9;
}

:where(html[data-theme="dark"]) .sls-suggest-pill-muted {
  background: #26334a;
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-suggest-name-en {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sls-suggest-name-ar {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .sls-suggest-match {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-suggest-match-field {
  background: #334155;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .sls-suggest-match-value {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .sls-search-hit {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .sls-search-suggest-footer {
  background: #1e293b;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-search-suggest-count {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .sls-search-suggest-hints kbd {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .sls-finance-popup-icon {
  background: #11403b;
  color: #94f9dd;
}

:where(html[data-theme="dark"]) #studentFinancePopup[data-kind="expenses"] .sls-finance-popup-icon {
  background: #4b182a;
  color: #f599af;
}

:where(html[data-theme="dark"]) .sls-finance-popup-full:hover {
  background: #26334a;
  color: #aca8e6;
}

:where(html[data-theme="dark"]) .sls-finance-popup-x:hover {
  background: #4b1825;
  color: #f599af;
}

:where(html[data-theme="dark"]) .sls-finance-popup-cancel:hover {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-student-modal-main.sls-student-form-loading::after {
  background: rgba(30, 41, 59, 0.82);
}

:where(html[data-theme="dark"]) .sls-profile-rail-toggle:hover {
  border-color: rgba(75, 231, 207, 0.38);
}

:where(html[data-theme="dark"]) .sls-profile-rail-search:focus {
  border-color: rgba(75, 231, 207, 0.38);
}

:where(html[data-theme="dark"]) .sls-profile-rail-item:hover {
  border-color: rgba(75, 231, 207, 0.38);
}

:where(html[data-theme="dark"]) .sls-profile-rail-close:hover {
  background: rgba(75, 24, 37, 0.9);
  color: #ef9e9e;
}

:where(html[data-theme="dark"]) .sls-profile-rail-sentinel-spinner {
  border-top-color: rgba(75, 231, 207, 0.38);
}

:where(html[data-theme="dark"]) .sls-mobile-profiles-btn {
  border: 1px solid rgba(68, 238, 205, 0.38);
  background: #123f46;
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .sls-student-photo-source-chooser__close:hover,
:where(html[data-theme="dark"]) .sls-student-photo-source-chooser__close:focus-visible {
  background: #334155;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sls-student-photo-source-chooser__cancel:hover,
:where(html[data-theme="dark"]) .sls-student-photo-source-chooser__cancel:focus-visible {
  background: #1e293b;
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sls-student-photo-action-btn:hover {
  background: #1e293b;
  color: #a0eee9;
}

:where(html[data-theme="dark"]) .sls-student-photo-action-btn--muted {
  color: #a3b1c6;
  background: rgba(30, 41, 59, 0.95);
}

:where(html[data-theme="dark"]) .sls-student-photo-choose-btn {
  background: #1e293b;
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .sls-student-photo-choose-btn:hover {
  background: #11403c;
}

:where(html[data-theme="dark"]) .sls-student-photo-icon-btn {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-student-photo-icon-btn:hover:not(:disabled) {
  background: #11403c;
  border-color: rgba(68, 238, 205, 0.38);
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .sls-student-photo-lightbox-panel {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-student-photo-lightbox-head {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sls-student-photo-lightbox-close {
  background: #26334a;
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-student-photo-lightbox-close:hover {
  background: #4b1825;
  color: #ef9e9e;
}

:where(html[data-theme="dark"]) .sls-student-avatar--photo {
  background: #334155;
}

:where(html[data-theme="dark"]) .col-dropdown-menu::-webkit-scrollbar-thumb,
:where(html[data-theme="dark"]) .bubble-dropdown-menu::-webkit-scrollbar-thumb,
:where(html[data-theme="dark"]) #searchSuggestions::-webkit-scrollbar-thumb {
  background: #334155;
}

:where(html[data-theme="dark"]) #studentForm .sls-bilingual-name-input.sls-name-auto-pending {
  background: linear-gradient(90deg, #26334a 0%, #1e293b 40%, #26334a 80%);
}

:where(html[data-theme="dark"]) .sls-family-parent-card {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: linear-gradient(180deg, #1e293b 0%, #1e293b 100%);
}

:where(html[data-theme="dark"]) .sls-family-parent-card__role {
  color: #bb98f6;
}

:where(html[data-theme="dark"]) .sls-family-parent-card__name {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sls-family-parent-card__name-link:hover {
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .sls-family-parent-card__edit {
  background: #26334a;
  border: 1px solid rgba(97, 66, 240, 0.38);
}

:where(html[data-theme="dark"]) .sls-family-parent-card__meta,
:where(html[data-theme="dark"]) .sls-family-parent-card__empty {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-family-children__title {
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .sls-family-children__table {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-family-children__head {
  background: #1e293b;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-family-child-row {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-family-child-row:hover {
  background: #26334a;
}

:where(html[data-theme="dark"]) .sls-family-child-row--current {
  background: #26334a;
}

:where(html[data-theme="dark"]) .sls-family-child-row--current:hover {
  background: #26334a;
}

:where(html[data-theme="dark"]) .sls-family-child-row__photo {
  border: 2px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-family-child-row__photo--initial {
  background: linear-gradient(145deg, #334155, #1c185e);
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .sls-family-child-row__name {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sls-family-child-row__current {
  background: #334155;
  color: #bea0ee;
  border: 1px solid rgba(97, 66, 240, 0.38);
}

:where(html[data-theme="dark"]) .sls-family-child-row__meta-cell {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-family-child-row__action {
  color: #bb98f6;
}

:where(html[data-theme="dark"]) .sls-siblings-panel-card {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-siblings-panel-card:hover {
  background: #26334a;
}

:where(html[data-theme="dark"]) .sls-siblings-panel-card__photo {
  border: 2px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-siblings-panel-card__photo--initial {
  background: linear-gradient(145deg, #334155, #1c185e);
  color: #bea0ee;
}

:where(html[data-theme="dark"]) .sls-siblings-panel-card__name {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .sls-siblings-panel-card__year {
  background: #334155;
  color: #bea0ee;
  border: 1px solid rgba(97, 66, 240, 0.38);
}

:where(html[data-theme="dark"]) .sls-siblings-panel-card__status--active {
  background: #11403b;
  color: #95f8dd;
  border: 1px solid rgba(75, 231, 159, 0.38);
}

:where(html[data-theme="dark"]) .sls-siblings-panel-card__status--waiting {
  background: #3a3827;
  color: #f5bc99;
  border: 1px solid rgba(240, 205, 66, 0.38);
}

:where(html[data-theme="dark"]) .sls-siblings-panel-card__status--left {
  background: #4b1825;
  color: #eea0a0;
  border: 1px solid rgba(240, 66, 66, 0.38);
}

:where(html[data-theme="dark"]) .sls-siblings-panel-card__status--other {
  background: #26334a;
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-siblings-panel-card__status--bus-active {
  background: #12305e;
  color: #9fb2ef;
  border: 1px solid rgba(66, 143, 240, 0.38);
}

:where(html[data-theme="dark"]) .sls-siblings-panel-card__meta {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-siblings-panel-card__match {
  color: #bb98f6;
}

:where(html[data-theme="dark"]) .sls-siblings-panel-card__action {
  color: #bb98f6;
}

:where(html[data-theme="dark"]) .sls-siblings-panel-empty {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-siblings-panel-loading {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-student-save-menu-item i {
  color: #98b5f6;
}

:where(html[data-theme="dark"]) .sls-student-save-menu-item:hover .sls-student-save-menu-name,
:where(html[data-theme="dark"]) .sls-student-save-menu-item:focus-visible .sls-student-save-menu-name {
  color: #a3b6eb;
}

:where(html[data-theme="dark"]) .sls-student-save-menu-item--all i {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .sls-student-save-menu-item--all:hover,
:where(html[data-theme="dark"]) .sls-student-save-menu-item--all:focus-visible {
  background: #123f46;
  color: #a5e9e4;
}

:where(html[data-theme="dark"]) #parentPortalAlertModal .ppa-row--red:hover,
:where(html[data-theme="dark"]) #parentPortalAlertModal .ppa-row--red:focus-visible {
  background-color: #4b1825;
}

:where(html[data-theme="dark"]) #parentPortalAlertModal .ppa-row--orange:hover,
:where(html[data-theme="dark"]) #parentPortalAlertModal .ppa-row--orange:focus-visible {
  background-color: #3a2f27;
}

:where(html[data-theme="dark"]) #parentPortalAlertModal .ppa-row--slate:hover,
:where(html[data-theme="dark"]) #parentPortalAlertModal .ppa-row--slate:focus-visible {
  background-color: #26334a;
}

:where(html[data-theme="dark"]) #studentsSpreadsheetToggle.is-on {
  background: #123f46;
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) #studentsTable.sls-students-sheet-on td[data-sheet-field]:hover {
  background: #123f46;
}

:where(html[data-theme="dark"]) #studentsTable.sls-students-sheet-on td[data-sheet-field].is-editing {
  background: #1e293b;
}

:where(html[data-theme="dark"]) #studentsTable.sls-students-sheet-on td[data-sheet-field].is-saving {
  background: #113e50;
}

:where(html[data-theme="dark"]) #studentsTable.sls-students-sheet-on td[data-sheet-field].is-saved {
  background: #11403b;
}

:where(html[data-theme="dark"]) #studentsTable.sls-students-sheet-on td[data-sheet-field].is-error {
  background: #4b1825;
}

:where(html[data-theme="dark"]) #studentsTable .sls-sheet-editor {
  border: 1px solid rgba(68, 238, 205, 0.38);
  color: #f1f5f9;
  background: #1e293b;
}

:where(html[data-theme="dark"]) #studentsTable .sls-fin-rem {
  color: #f29caf;
}

:where(html[data-theme="dark"]) #studentsTable .sls-fin-status--partial {
  color: #bb98f6;
}

:where(html[data-theme="dark"]) #studentsTable .sls-fin-status--unpaid {
  color: #f29caf;
}

:where(html[data-theme="dark"]) #studentsTable .sls-fee-cell__item {
  border-top: 1px dashed rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) #studentsTable td.sls-fin-cell--row-total,
:where(html[data-theme="dark"]) #studentsTable th.col-finance_total {
  background: #1e293b;
}

:where(html[data-theme="dark"]) #studentsTable tfoot td.col-finance_total {
  background: #334155;
}

:where(html[data-theme="dark"]) .sls-stu-map-wrap {
  border: 2px solid rgba(148, 163, 184, 0.24);
  background: #26334a;
}

:where(html[data-theme="dark"]) .sls-stu-map-pin {
  color: #f29caf;
}

:where(html[data-theme="dark"]) .sls-stu-map-status {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .sls-stu-map-status__plot {
  background: #11403c;
  color: #9bf2ec;
  border: 1px solid rgba(68, 238, 205, 0.38);
}

:where(html[data-theme="dark"]) .sls-stu-map-type {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .sls-stu-map-type__btn {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .sls-stu-map-type__btn + .sls-stu-map-type__btn {
  border-inline-start: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .sls-stu-map-type__btn:hover:not(.is-active):not([aria-pressed="true"]) {
  background: #26334a;
  color: #9bf2ec;
}

/* ── public/css/students/uniform_booking_portal.css ── */
:where(html[data-theme="dark"]) .ub-section-title {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ub-items-hint {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ub-items-table-wrap {
  background: rgba(30, 41, 59, 0.72);
}

:where(html[data-theme="dark"]) .ub-items-table th {
  background: #26334a;
  color: #e2e8f0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ub-items-table td {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ub-item-name {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ub-item-meta {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ub-tag-boys {
  background: #12305e;
  color: #9cb3f2;
}

:where(html[data-theme="dark"]) .ub-tag-girls {
  background: #4a1846;
  color: #f29bc0;
}

:where(html[data-theme="dark"]) .ub-price-chip {
  background: #26334a;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .ub-price-chip strong {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ub-stock-hint {
  color: #9bf2ec;
  background: #114047;
}

:where(html[data-theme="dark"]) .ub-stock-hint.ub-stock-out {
  color: #f09e9e;
  background: #4b1825;
}

:where(html[data-theme="dark"]) .ub-items-table .ub-size,
:where(html[data-theme="dark"]) .ub-items-table .ub-qty,
:where(html[data-theme="dark"]) .ub-items-table .ub-line-notes {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ub-unit,
:where(html[data-theme="dark"]) .ub-line-total {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ub-sibling-students-hint {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ub-sibling-student-row {
  background: rgba(30, 41, 59, 0.72);
}

:where(html[data-theme="dark"]) .ub-sibling-student-title {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ub-remove-sibling-btn {
  color: #f09e9e;
}

:where(html[data-theme="dark"]) .ub-student-tab {
  border: 2px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .ub-student-tab.is-active {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ub-tab-grade {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ub-student-tab.is-active .ub-tab-grade {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ub-tab-meta {
  color: #99e1f5;
}

:where(html[data-theme="dark"]) .ub-panel-total {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ub-pay-note {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .ub-ticket {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ub-ticket-band::after {
  background: radial-gradient(circle at 10px 0, transparent 8px, #1e293b 8.5px) repeat-x;
}

:where(html[data-theme="dark"]) .ub-ticket-ref {
  color: #f1f5f9;
  background: #26334a;
}

:where(html[data-theme="dark"]) .ub-ticket-row {
  border-bottom: 1px dashed rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ub-ticket-row dt {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ub-ticket-row dd {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ub-ticket-amount {
  background: #11403c;
  border: 1px solid rgba(75, 231, 159, 0.38);
}

:where(html[data-theme="dark"]) .ub-ticket-amount-label {
  color: #94f9dd;
}

:where(html[data-theme="dark"]) .ub-ticket-amount-value {
  color: #95f8dd;
}

:where(html[data-theme="dark"]) .ub-ticket-badge--pending {
  background: #3a3827;
  color: #f9c094;
}

:where(html[data-theme="dark"]) .ub-ticket-badge--completed {
  background: #11403b;
  color: #94f9dd;
}

:where(html[data-theme="dark"]) .ub-ticket-badge--cancelled {
  background: #4b1825;
  color: #f09e9e;
}

:where(html[data-theme="dark"]) .ub-ticket-items li {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ub-ticket-tab {
  border: 2px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .ub-ticket-tab.is-active {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ub-ticket-tab-grade {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ub-ticket-tab.is-active .ub-ticket-tab-grade {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ub-ticket-tab-total {
  color: #99e1f5;
}

:where(html[data-theme="dark"]) .ub-ticket-panel-head,
:where(html[data-theme="dark"]) .ub-ticket-panel-total {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ub-ticket-panel-total {
  border-top: 1px dashed rgba(68, 238, 205, 0.38);
  color: #a5e9e4;
}

:where(html[data-theme="dark"]) .ub-ticket-note {
  color: #cbd5e1;
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ub-item-thumb-btn {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ub-item-thumb {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ub-preview-btn {
  border: 1px solid rgba(68, 238, 205, 0.38);
  background: #123f46;
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ub-preview-btn:hover,
:where(html[data-theme="dark"]) .ub-preview-btn:focus-visible {
  background: #114047;
  color: #a0eee9;
}

:where(html[data-theme="dark"]) .ub-preview-dialog {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ub-preview-head {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ub-preview-title {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ub-preview-color {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ub-preview-close {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .ub-preview-close:hover,
:where(html[data-theme="dark"]) .ub-preview-close:focus-visible {
  background: #26334a;
}

:where(html[data-theme="dark"]) .ub-preview-media {
  background: linear-gradient(180deg, #1e293b 0%, #1e293b 100%);
  border: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ub-preview-price-label {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .ub-preview-price-card {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ub-preview-price-card--accent {
  background: #3a2e27;
}

:where(html[data-theme="dark"]) .ub-preview-price-size {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ub-preview-price-card strong {
  color: #f1f5f9;
}

:where(html[data-theme="dark"]) .ub-preview-price-card--accent strong {
  color: #f8b295;
}

:where(html[data-theme="dark"]) .ub-preview-currency {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ub-alert-dialog {
  background: #1e293b;
  border: 1px solid rgba(240, 66, 66, 0.38);
}

:where(html[data-theme="dark"]) .ub-alert-head {
  background: #26334a;
  border-bottom: 1px solid rgba(240, 66, 66, 0.38);
}

:where(html[data-theme="dark"]) .ub-alert-icon {
  background: #4b1825;
  color: #f09e9e;
}

:where(html[data-theme="dark"]) .ub-alert-title {
  color: #eaa4a4;
}

:where(html[data-theme="dark"]) .ub-alert-close {
  border: 1px solid rgba(240, 66, 66, 0.38);
  background: #1e293b;
  color: #eaa4a4;
}

:where(html[data-theme="dark"]) .ub-alert-close:hover,
:where(html[data-theme="dark"]) .ub-alert-close:focus-visible {
  background: #4b1825;
}

:where(html[data-theme="dark"]) .ub-alert-message {
  color: #eaa4a4;
}

@media (max-width: 767px) {
:where(html[data-theme="dark"]) .ub-items-table .ub-item-row {
  background: rgba(30, 41, 59, 0.88);
}
}

@media (max-width: 767px) {
:where(html[data-theme="dark"]) .ub-items-table td::before {
  color: #a3b1c6;
}
}

@media (max-width: 767px) {
:where(html[data-theme="dark"]) .ub-items-table td.ub-item-desc {
  border-bottom: 1px dashed rgba(148, 163, 184, 0.24);
}
}

@media (max-width: 767px) {
:where(html[data-theme="dark"]) .ub-items-table .ub-unit,
:where(html[data-theme="dark"]) .ub-items-table .ub-line-total {
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.24);
}
}

/* ── public/css/students/uniform_booking_season_switch.css ── */
:where(html[data-theme="dark"]) .ub-season-switch__tab--amber .ub-season-switch__icon {
  background: #3a3827;
  color: #f9c094;
}

:where(html[data-theme="dark"]) .ub-season-switch__tab--sky .ub-season-switch__icon {
  background: #113050;
  color: #94d6f9;
}

/* ── public/css/students/uniform_booking_settings.css ── */
:where(html[data-theme="dark"]) #ubSettingsRoot {
  --ub-teal-soft: #11403c;
  --ub-teal-border: rgba(68, 238, 205, 0.38);
  --ub-violet-soft: #26334a;
  --ub-slate-border: rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ub-settings-panel__icon--violet {
  border: 1px solid rgba(97, 66, 240, 0.38);
}

:where(html[data-theme="dark"]) .ub-settings-field label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ub-settings-offdays {
  border-top: 1px dashed rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ub-settings-offdays__legend {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .ub-settings-offdays__legend i {
  color: #f29caf;
}

:where(html[data-theme="dark"]) .ub-settings-offday__chip {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .ub-settings-offday__input:checked + .ub-settings-offday__chip {
  background: #3a182a;
  color: #f599af;
}

:where(html[data-theme="dark"]) .ub-settings-offdays__hint {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ub-settings-toggles {
  border-top: 1px dashed rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ub-settings-toggle-card__hint {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ub-settings-toggle-card--warn:has(input:checked) {
  border-color: rgba(240, 199, 66, 0.38);
  background: #3a3827;
}

:where(html[data-theme="dark"]) .ub-settings-toggle-card--danger:has(input:checked) {
  background: #26334a;
}

:where(html[data-theme="dark"]) .ub-settings-public-page {
  border-top: 1px dashed rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ub-settings-form-actions {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) #ubSettingsFlash.bg-rose-50::before {
  color: #f29caf;
}

:where(html[data-theme="dark"]) #ubSettingsRoot .btn-secondary,
:where(html[data-theme="dark"]) #ubAddItemModal .btn-secondary {
  color: #e2e8f0 !important;
  background: linear-gradient(180deg, #1e293b 0%, #1e293b 100%) !important;
  border: 1px solid rgba(148, 163, 184, 0.24) !important;
}

:where(html[data-theme="dark"]) .ub-settings-catalog-empty {
  border: 1px dashed rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ub-settings-catalog-empty__title {
  color: #e2e8f0;
}

:where(html[data-theme="dark"]) .ub-settings-bulk-count {
  color: #bb98f6;
}

:where(html[data-theme="dark"]) .ub-settings-bulk-count-label {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ub-settings-item-card:hover {
  border-color: rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ub-settings-item-card.is-inactive {
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ub-settings-upload-btn {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #1e293b;
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .ub-settings-upload-btn:hover {
  color: #9bf2ec;
}

:where(html[data-theme="dark"]) .ub-settings-item-field--muted {
  color: #a3b1c6;
  background: #1e293b;
}

:where(html[data-theme="dark"]) .ub-settings-item-card__prices {
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

:where(html[data-theme="dark"]) .ub-settings-stock-hint {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ub-settings-size-stock__meta {
  color: #a3b1c6;
}

:where(html[data-theme="dark"]) .ub-settings-danger-btn,
:where(html[data-theme="dark"]) .ub-settings-bulk-danger {
  color: #f599af !important;
  border-color: rgba(240, 66, 88, 0.38) !important;
  background: #3a182a !important;
}

:where(html[data-theme="dark"]) .ub-settings-danger-btn:hover,
:where(html[data-theme="dark"]) .ub-settings-bulk-danger:hover {
  background: #4b182a !important;
}

:where(html[data-theme="dark"]) .ub-settings-active-toggle {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .ub-settings-inventory-demanded {
  color: #cbd5e1;
}

:where(html[data-theme="dark"]) .ub-settings-inventory-balance.is-shortage strong,
:where(html[data-theme="dark"]) .ub-settings-inventory-balance.is-shortage .ub-settings-inventory-balance__label {
  color: #f29caf;
}

:where(html[data-theme="dark"]) .ub-settings-inventory-balance.is-even strong,
:where(html[data-theme="dark"]) .ub-settings-inventory-balance.is-even .ub-settings-inventory-balance__label {
  color: #a3b1c6;
}
