/* One persisted theme for HUB, admin, login and the four registers. */
.hub-theme-toggle{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 44px!important;width:44px!important;height:44px;min-width:44px;min-height:44px;padding:10px!important;line-height:1}
.hub-theme-toggle svg{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
html[data-hub-theme="light"]{color-scheme:light}
html[data-hub-theme="dark"] :is(.hub-page,.hub-module-body){color-scheme:dark!important}
html[data-hub-theme="dark"]{color-scheme:dark;background:#201a16;--hub-ink:#f5ede5;--hub-muted:#c4b3a4;--hub-paper:#201a16;--hub-line:#514236;--hub-accent:#d3ac7c}
html[data-hub-theme="dark"] :is(.hub-page,.hub-module-body){--bg:#201a16;--surface:#2b231d;--panel:#2b231d;--panel2:#352b23;--ink:#f5ede5;--text:#f5ede5;--dark:#f5ede5;--muted:#c4b3a4;--line:#514236;--accent:#d3ac7c;--accent2:#e4bc8d;--accent-2:#e4bc8d;--blue:#e3bc8a;--green:#8dd5ad;--red:#f5a7a7;--danger:#f5a7a7;--orange:#e5bd83;--shadow:0 8px 28px #0002;background:#201a16!important;color:#f5ede5!important}
html[data-hub-theme="dark"] :is(.hub-header,.hub-module-header,.hub-switch-menu,.hub-login,.hub-panel,.hub-card,.hub-page dialog,.hub-signout-dialog){background:#2b231d!important;color:#f5ede5!important;border-color:#514236!important;box-shadow:none}
html[data-hub-theme="dark"] :is(.hub-footer,.hub-logo,.hub-roles,.hub-user-table th,.hub-user-table td,.hub-login details){border-color:#514236!important}
html[data-hub-theme="dark"] :is(.hub-intro p,.hub-note,.hub-footer,.hub-card p,.hub-login p,.hub-login label,.hub-login summary,.hub-user-table th,.hub-loading){color:#c4b3a4!important}
html[data-hub-theme="dark"] :is(.hub-card-icon,.hub-switch-menu a[aria-current],.hub-switch-menu a:hover){background:#352f29!important;color:#edc698!important}
html[data-hub-theme="dark"] .hub-card.locked{background:#251f1a!important}
html[data-hub-theme="dark"] .hub-admin-card{background:#493626!important}
html[data-hub-theme="dark"] :is(.hub-page,.hub-module-body) :is(button,select,input,textarea){background:#352b23!important;color:#f5ede5!important;border-color:#695341!important;box-shadow:none}
html[data-hub-theme="dark"] :is(.hub-page,.hub-module-body) input::placeholder,html[data-hub-theme="dark"] :is(.hub-page,.hub-module-body) textarea::placeholder{color:#c4b3a4;opacity:1}
html[data-hub-theme="dark"] :is(.hub-page,.hub-module-body) :is(.hub-primary,.btn-primary,.button.primary,.btn-dark,button.primary,a.primary){background:#d3ac7c!important;color:#2f241c!important;border-color:#d3ac7c!important}
html[data-hub-theme="dark"] :is(.hub-page,.hub-module-body) :is(.hub-error,.notice-error,.alert.warning){background:#3a2b22!important;color:#f0c899!important;border-color:#73583e!important}
html[data-hub-theme="dark"] .hub-module-body :is(.hero-panel,.overview,.metric,.stat,.panel,.stat-card,.modal-panel,.modal-card,.content-card,.workspace,.dash-card,.sidebar,.content,.mobile-bottom-nav,.table-wrap tr,.hub-mobile-cards tr){background:#2b231d!important;color:#f5ede5!important;border-color:#514236!important;box-shadow:none}
html[data-hub-theme="dark"] .hub-module-body :is(.hero-panel,.overview) :is(h1,h2),html[data-hub-theme="dark"] .hub-module-body :is(.modal-head h2,.modal-head h3,.modal-header h3,.panel h2,.dash-card h3,.page-head h1,.breadcrumb strong){color:#f5ede5!important}
html[data-hub-theme="dark"] .hub-module-body :is(.hero-panel p,.overview p,.metric span,.stat span,.field span,.field label,.muted,.empty,.empty-state,.panel-subtitle,.dash-card p,.dash-list,.stat .foot,.version,.sidebar-section,.mobile-drawer-head,.profile,.breadcrumb,.hub-scroll-hint){color:#c4b3a4!important}
html[data-hub-theme="dark"] .hub-module-body :is(.topbar,.tabs){background:transparent!important;border-color:#514236!important}
html[data-hub-theme="dark"] .hub-module-body :is(th,.data-table th){background:#403228!important;color:#e4d4c5!important;border-color:#695341!important}
html[data-hub-theme="dark"] .hub-module-body :is(td,.data-table td,.plan-table td){background:transparent;color:#f5ede5!important;border-color:#514236!important}
html[data-hub-theme="dark"] .hub-module-body :is(tbody tr,.data-table tbody tr){background:#2b231d!important}
html[data-hub-theme="dark"] .hub-module-body :is(tbody tr:hover,.data-table tr:hover) td{background:#403228!important}
html[data-hub-theme="dark"] .hub-module-body :is(tbody tr.selected,.data-table tr.selected){outline-color:#c39b6c!important}
html[data-hub-theme="dark"] .hub-module-body :is(tbody tr.selected,.data-table tr.selected) td{background:#3b332a!important}
html[data-hub-theme="dark"] .hub-module-body :is(.tabs .tab.active,.sidebar button.active,.mobile-bottom-nav button.active,.mobile-bottom-nav button[aria-expanded="true"]){background:#3b332a!important;color:#edc698!important;border-color:#766149!important}
html[data-hub-theme="dark"] .hub-module-body :is(.tabs .tab,.sidebar nav button,.mobile-bottom-nav button){background:transparent!important;color:#e4d4c5!important}
html[data-hub-theme="dark"] .hub-module-body :is(.tabs .tab:hover,.sidebar nav button:hover){background:#403228!important;color:#fff!important}
html[data-hub-theme="dark"] .hub-module-body :is(.hub-scroll-hint,.hub-mobile-cards,.identity-card,.profile,.note,.notice,.alert){background:#352b23!important;color:#e4d4c5!important;border-color:#695341!important}
html[data-hub-theme="dark"] .hub-module-body :is(.flow-row,.flow-total,.report-card,.toolbar,.modal-head,.modal-footer,.side-bottom,.dashboard-cards li){border-color:#514236!important}
html[data-hub-theme="dark"] .hub-module-body :is(.btn-danger,.button.danger,.danger,.expense-delete,.recurring-delete){background:#3c282d!important;color:#ffb8b8!important;border-color:#92585d!important}
html[data-hub-theme="dark"] .hub-module-body :is(.status-pill,.pill,.badge){background:#45372b;color:#e8d8c8}
html[data-hub-theme="dark"] .hub-module-body :is(.badge.active,.badge.posted,.badge-ok,.pill.returned,.pill.consumable,.alert.success,.fact-cell.ok){background:#203e32!important;color:#a0dfba!important;border-color:#416b55!important}
html[data-hub-theme="dark"] .hub-module-body :is(.badge.leave,.badge.pending,.fact-cell.short){background:#463821!important;color:#efd097!important}
html[data-hub-theme="dark"] .hub-module-body :is(.badge-bad,.pill.lost,.pill.low){background:#4a292d!important;color:#ffb8b8!important}
html[data-hub-theme="dark"] .hub-module-body :is(a:not(.hub-logo):not(.primary),.folder-link,.blue){color:#e3bc8a}
html[data-hub-theme="dark"] .hub-module-header .hub-switch-menu a{color:#f5ede5!important}
html[data-hub-theme="dark"] .hub-module-body .plan-table .sticky-col{background:#2b231d!important;color:#f5ede5!important}
html[data-hub-theme="dark"] .hub-module-body .plan-table .project-row td{background:#403228!important}
html[data-hub-theme="dark"] .hub-module-body .plan-table th.sticky-col{background:#403228!important}
html[data-hub-theme="dark"] .hub-module-body .hh-render-usage{background:#2b231d!important;color:#f5ede5!important;border-color:#695341!important}
html[data-hub-theme="dark"] .hub-module-body .busy-overlay{background:#201a16c9!important}
html[data-hub-theme="dark"] .hub-module-body .busy-card{background:#2b231d!important;color:#f5ede5!important;border-color:#695341!important}
html[data-hub-theme="dark"] #hub-module-startup{background:#201a16!important;color:#f5ede5!important}
html[data-hub-theme="dark"] :is(.hh-start-top,.hh-start-tile){background:#2b231d!important;color:#f5ede5!important;border-color:#514236!important}
html[data-hub-theme="dark"] .hh-start-main p{color:#c4b3a4!important}
html[data-hub-theme="dark"] :is(.hh-start-line,.hh-start-progress){background:#493b30!important}
html[data-hub-theme="dark"] .hh-start-retry{background:#352b23!important;color:#f5ede5!important;border-color:#695341!important}
@media(max-width:720px){
 .hub-module-header .hub-account{gap:6px}
 .hub-module-header .hub-theme-toggle{max-width:44px!important;flex-shrink:0!important}
 .hub-module-header #hub-install-app,.hub-module-header #installAppBtn{max-width:100px!important;flex:0 1 100px}
 .hub-module-header #hub-module-account{min-width:0!important;flex:1 1 70px!important}
 .hub-module-header #hub-module-language{width:58px!important}
 html[data-hub-theme="dark"][data-hub-module="expenses"] .table-wrap td[data-label]::before{color:#c4b3a4!important}
}
