.theme59-toggle{display:inline-grid;place-items:center;flex-shrink:0;width:44px;height:44px;border:1px solid var(--bs-border-color,#dce5e0);border-radius:50%;background:var(--bs-body-bg,#fff);color:var(--bs-body-color,#193c30)}.theme59-toggle:focus-visible{outline:3px solid #4caa83;outline-offset:2px}.theme59-preview{display:grid;place-items:center;min-height:130px;border-radius:12px;margin-bottom:18px;padding:20px}.theme59-preview.light{background:#f8faf7}.theme59-preview.dark{background:#18251f}.theme59-preview img{max-width:100%;width:220px;height:90px;object-fit:contain}
html[data-bs-theme=dark]{color-scheme:dark;--bs-body-bg:#101b17;--bs-body-color:#e4eee8;--bs-secondary-color:#b1c1b7;--bs-border-color:#34493e;--bs-tertiary-bg:#1e3027;--bs-secondary-bg:#24362d;--canvas:#101b17;--ink:#e4eee8;--muted:#b1c1b7;--line:#34493e;--auth-ink:#e4eee8;--auth-muted:#b1c1b7;--auth-green:#70caa0}
html[data-bs-theme=dark] body{background:#101b17;color:#e4eee8}
[data-bs-theme=dark] .app-header,[data-bs-theme=dark] .content-card,[data-bs-theme=dark] .stat-card,[data-bs-theme=dark] .welcome-panel,[data-bs-theme=dark] .account-flyout,[data-bs-theme=dark] .quick-action,[data-bs-theme=dark] .card,[data-bs-theme=dark] .modal-content,[data-bs-theme=dark] .hub-panel,[data-bs-theme=dark] .settings-card,[data-bs-theme=dark] .settings-toolbar,[data-bs-theme=dark] .settings-save-bar,[data-bs-theme=dark] .hub55-panel{background:#18271f!important;color:#e4eee8!important;border-color:#34493e!important}
[data-bs-theme=dark] .table{--bs-table-bg:#18271f;--bs-table-color:#e4eee8;--bs-table-border-color:#34493e;--bs-table-striped-bg:#203229;--bs-table-striped-color:#e4eee8;--bs-table-hover-bg:#294034;--bs-table-hover-color:#fff}
[data-bs-theme=dark] .table thead th,[data-bs-theme=dark] .mobile-log-table tr,[data-bs-theme=dark] .log-row-toggle,[data-bs-theme=dark] .quick-stack a,[data-bs-theme=dark] .hub55-card,[data-bs-theme=dark] .hub55-fields,[data-bs-theme=dark] .settings-search{background:#203229!important;color:#e4eee8!important;border-color:#34493e!important}
[data-bs-theme=dark] .mobile-log-table td:first-child,[data-bs-theme=dark] .account-store-context,[data-bs-theme=dark] .account-large-avatar,[data-bs-theme=dark] .shell-avatar{background:#264234!important;color:#d7f1e1!important}
[data-bs-theme=dark] .mobile-log-table td:before,[data-bs-theme=dark] .shell-user,[data-bs-theme=dark] .shell-store,[data-bs-theme=dark] .dropdown-item,[data-bs-theme=dark] .setting-copy label,[data-bs-theme=dark] .hub55-fields dd,[data-bs-theme=dark] .hub55-title{color:#e4eee8!important}
[data-bs-theme=dark] .dropdown-item:hover,[data-bs-theme=dark] .dropdown-item:focus{background:#294034!important;color:#fff!important}
[data-bs-theme=dark] .account-signout{color:#ffb3ac!important}
[data-bs-theme=dark] .form-control,[data-bs-theme=dark] .form-select,[data-bs-theme=dark] .mobile-log-table input:not([type=checkbox]),[data-bs-theme=dark] .mobile-log-table select{background-color:#101b17!important;color:#e4eee8!important;border-color:#496051!important}
[data-bs-theme=dark] input:disabled,[data-bs-theme=dark] select:disabled{background-color:#24362d!important;color:#c4d5c9!important;opacity:1}
[data-bs-theme=dark] .text-secondary,[data-bs-theme=dark] .text-muted,[data-bs-theme=dark] .task-store,[data-bs-theme=dark] .task-due,[data-bs-theme=dark] .log-toolbar span,[data-bs-theme=dark] .hub55-fields dt{color:#b1c1b7!important}
[data-bs-theme=dark] .bg-white,[data-bs-theme=dark] .bg-light{background-color:#203229!important;color:#e4eee8!important}
[data-bs-theme=dark] .btn-light{--bs-btn-bg:#294034;--bs-btn-color:#e4eee8;--bs-btn-border-color:#496051;--bs-btn-hover-bg:#385543;--bs-btn-hover-color:#fff}
[data-bs-theme=dark] .settings-section h2,[data-bs-theme=dark] .hub55-panel h2,[data-bs-theme=dark] .hub55-panel h3{color:#e4eee8!important}
[data-bs-theme=dark] .auth-shell{background:#101b17}[data-bs-theme=dark] .auth-visual{color:#d7f1e1}[data-bs-theme=dark] .auth-visual:before{background:#233e2e}[data-bs-theme=dark] .auth-message p,[data-bs-theme=dark] .auth-message .auth-eyebrow,[data-bs-theme=dark] .auth-benefits i{color:#b8d9c3}[data-bs-theme=dark] .auth-field input{color:#e4eee8;border-color:#70caa0}[data-bs-theme=dark] .auth-submit{background:#137953;color:#fff;border-color:#137953}[data-bs-theme=dark] .auth-secondary{color:#a1dfbe;border-color:#52775f}[data-bs-theme=dark] .auth-eye:hover{background:#294034}
@media(max-width:991.98px){.app-header .navbar-brand img{max-width:100px!important}.app-header .theme59-toggle{width:40px;height:40px}}
@media print{.theme59-toggle{display:none!important}html[data-bs-theme=dark] body{background:#fff!important;color:#000!important}}
/* The green navigation always carries the white logo, independent of theme. */
.app-sidebar .sidebar-brand img,#navDrawer .sidebar-brand img{filter:none;opacity:1}
#navDrawer .menu60-brand{padding:0;border:0;min-height:48px}
#navDrawer{background:linear-gradient(180deg,#004c3e,#00382f);color:#fff}
#navDrawer .btn-close{filter:invert(1)}
/* Older module styles contain fixed colors: pair foreground and surface. */
html[data-bs-theme=dark] .admin-center53{color:#e4eee8;--ac53-accent:#95dbb5;--ac53-soft:#264234}
html[data-bs-theme=dark] .ac53-primary,html[data-bs-theme=dark] .ac53-tool,html[data-bs-theme=dark] .ac53-overview{background:#18271f;color:#e4eee8;border-color:#496051;--ac53-accent:#95dbb5;--ac53-soft:#264234}
html[data-bs-theme=dark] .ac53-count,html[data-bs-theme=dark] .ac53-tool strong{color:#e4eee8}
html[data-bs-theme=dark] .ac53-eyebrow,html[data-bs-theme=dark] .ac53-heading p,html[data-bs-theme=dark] .ac53-section-heading p,html[data-bs-theme=dark] .ac53-count small,html[data-bs-theme=dark] .ac53-primary p,html[data-bs-theme=dark] .ac53-tool small{color:#b9cdc0}
html[data-bs-theme=dark] .ac53-card-footer{color:#95dbb5;border-color:#496051}
html[data-bs-theme=dark] #hubList .hub55-store-card,html[data-bs-theme=dark] #hubDetail .hub55-linked-record,html[data-bs-theme=dark] .hub55-field,html[data-bs-theme=dark] .hub55-welcome-steps span,html[data-bs-theme=dark] .hub55-section>summary{background:#203229!important;color:#e4eee8!important;border-color:#496051!important}
html[data-bs-theme=dark] .hub55 .hub-selected{background:#294837!important;border-color:#95dbb5!important}
html[data-bs-theme=dark] .hub55-field dd,html[data-bs-theme=dark] .hub55-counts b,html[data-bs-theme=dark] .hub55-welcome h2{color:#e4eee8}
html[data-bs-theme=dark] .hub55-code,html[data-bs-theme=dark] .hub55-counts,html[data-bs-theme=dark] .hub55-selected-heading p,html[data-bs-theme=dark] .hub55-help,html[data-bs-theme=dark] .hub55-field dt,html[data-bs-theme=dark] .hub55-empty,html[data-bs-theme=dark] .hub55-pagination span{color:#b9cdc0}
html[data-bs-theme=dark] .hub55-pill,html[data-bs-theme=dark] .hub55-empty-icon,html[data-bs-theme=dark] .hub55-store-icon{background:#294837;color:#bce6ce}
html[data-bs-theme=dark] .settings-sidebar,html[data-bs-theme=dark] .settings-hero-meta>span,html[data-bs-theme=dark] .settings-save-bar,html[data-bs-theme=dark] .settings-section-icon{background:#18271f;color:#e4eee8;border-color:#496051}
html[data-bs-theme=dark] .settings-hero h1,html[data-bs-theme=dark] .settings-section-heading h2,html[data-bs-theme=dark] .settings-audit-note strong,html[data-bs-theme=dark] .settings-save-bar strong,html[data-bs-theme=dark] .modern-switch em{color:#e4eee8}
html[data-bs-theme=dark] .settings-nav-item{color:#d4e4d9}
html[data-bs-theme=dark] .settings-nav-item:hover,html[data-bs-theme=dark] .settings-nav-item.active{background:#294837;color:#bce6ce}
html[data-bs-theme=dark] .settings-nav-item b{background:#344e3e;color:#d4e4d9}
html[data-bs-theme=dark] .settings-hero>div>p:last-child,html[data-bs-theme=dark] .settings-hero-meta small,html[data-bs-theme=dark] .settings-audit-note,html[data-bs-theme=dark] .settings-nav-title,html[data-bs-theme=dark] .setting-copy p,html[data-bs-theme=dark] .settings-save-bar small,html[data-bs-theme=dark] .settings-section-heading p{color:#b9cdc0}
html[data-bs-theme=dark] .account-flyout-header small,html[data-bs-theme=dark] .account-menu-label,html[data-bs-theme=dark] .shell-user small,html[data-bs-theme=dark] .shell-store small{color:#b9cdc0}
html[data-bs-theme=dark] .account-flyout .dropdown-item i{color:#bce6ce}
html[data-bs-theme=dark] .account-flyout .account-signout i{color:#ffb3ac}
html[data-bs-theme=dark] .app-main .page-heading h1,html[data-bs-theme=dark] .app-main .display-title,html[data-bs-theme=dark] .app-main .content-card h1,html[data-bs-theme=dark] .app-main .content-card h2,html[data-bs-theme=dark] .app-main .content-card h3,html[data-bs-theme=dark] .app-main .stat-card strong,html[data-bs-theme=dark] .app-main .welcome-panel h1{color:#e4eee8!important}
html[data-bs-theme=dark] .app-main .eyebrow,html[data-bs-theme=dark] .app-main .back-link,html[data-bs-theme=dark] .app-main .record-id,html[data-bs-theme=dark] .app-main .task-name{color:#a1dfbe!important}
html[data-bs-theme=dark] .app-main a:not(.btn):not(.badge):not(.text-danger):not(.ac53-primary):not(.ac53-tool){color:#a1dfbe}
html[data-bs-theme=dark] .form-control::placeholder,html[data-bs-theme=dark] .auth-field input::placeholder{color:#a9bdb0;opacity:1}
html[data-bs-theme=dark] .form-label,html[data-bs-theme=dark] .form-check-label,html[data-bs-theme=dark] .modal-title{color:#e4eee8}
html[data-bs-theme=dark] .form-text,html[data-bs-theme=dark] .log-toolbar span,html[data-bs-theme=dark] .task-due,html[data-bs-theme=dark] .task-store,html[data-bs-theme=dark] .quick-stack a small{color:#b9cdc0}
html[data-bs-theme=dark] .btn-outline-primary{--bs-btn-color:#9be1b8;--bs-btn-border-color:#6eaa88;--bs-btn-hover-bg:#23764f;--bs-btn-hover-border-color:#6eaa88;--bs-btn-hover-color:#fff}
html[data-bs-theme=dark] .btn-outline-secondary{--bs-btn-color:#d1e1d6;--bs-btn-border-color:#7d9887;--bs-btn-hover-bg:#3b5545;--bs-btn-hover-color:#fff}
html[data-bs-theme=dark] .modal-header .btn-close{filter:invert(1)}
html[data-bs-theme=dark] .mobile-nav{background:#18271f;color:#c6d9ce;border-color:#496051}
html[data-bs-theme=dark] .mobile-nav a{color:#c6d9ce}
html[data-bs-theme=dark] .mobile-nav a:hover,html[data-bs-theme=dark] .mobile-nav a.active{color:#a1dfbe}
html[data-bs-theme=dark] .chart-card,html[data-bs-theme=dark] .report-filter{background:#18271f;color:#e4eee8;border-color:#496051}
html[data-bs-theme=dark] .auth-field label,html[data-bs-theme=dark] .auth-check,html[data-bs-theme=dark] .auth-note,html[data-bs-theme=dark] .auth-footer{color:#c7d9cd}

html[data-bs-theme=dark] .app-header .notification-button{background:#294034;color:#d7f1e1;border:1px solid #6eaa88}
html[data-bs-theme=dark] .app-header .notification-button>.fa-solid{color:#d7f1e1!important;opacity:1}
html[data-bs-theme=dark] .app-header .notification-button:hover,html[data-bs-theme=dark] .app-header .notification-button:focus-visible{background:#385543;color:#fff;outline:2px solid #a1dfbe;outline-offset:2px}
html[data-bs-theme=dark] .app-header .notification-button>span{background:#d32940;color:#fff;border:2px solid #18271f}
