:root {
  --preview-text: #faf9f7;
  --preview-sidebar: rgba(52, 39, 33, .76);
  --preview-line: rgba(255, 255, 255, .16);
  --preview-cyan: #ffc18b;
  --preview-active: #ec782c;
  --preview-muted: #e2dcd6;
}
:root[data-theme=light] {
  --preview-text: #282c30;
  --preview-sidebar: rgba(63, 46, 36, .8);
  --preview-line: rgba(255, 255, 255, .22);
  --preview-cyan: #ffc18b;
  --preview-active: #ec782c;
  --preview-muted: #404649;
}
body { background: #56473e; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; background: url('/home-office-night-20261010.webp') center / cover no-repeat; }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; background: rgba(17, 20, 23, .16); pointer-events: none; }
[data-theme=light] body::before { background-image: url('/home-office-20261010.webp'); }
[data-theme=light] body::after { background: rgba(236, 240, 243, .22); }
.preview-sidebar { margin: 10px 0 10px 10px; height: calc(100dvh - 20px); top: 10px; padding: 8px 5px 16px; border: 1px solid var(--preview-line); border-radius: 20px; backdrop-filter: blur(18px); box-shadow: 0 16px 38px #0002; gap: 14px; color: #fcf7f1; }
.finance-preview { grid-template-columns: 72px minmax(0, 1fr); }
.finance-preview.menu-expanded { grid-template-columns: 220px minmax(0, 1fr); }
.preview-brand { padding: 4px 0 14px; justify-content: center; }
.menu-expanded .preview-brand { justify-content: flex-start; padding-left: 9px; }
.preview-brand button { width: 44px; height: 44px; border-radius: 13px; border-color: #ffd1ac52; background: #ffc18b14; box-shadow: inset 0 1px 0 #ffffff14; }
.preview-brand button::before, .preview-brand button::after { display: none; animation: none; }
.preview-brand button:hover { background: #ffc18b25; border-color: #ffbe8b99; }
.preview-logo-letter { width: 28px; height: 28px; color: #ffe1c8; background: transparent; border-radius: 0; box-shadow: none; font-size: 19px; font-weight: 800; text-shadow: none; }
.preview-brand strong { color: #ffe1c8; font-size: 13px; }
.preview-sidebar nav { padding: 0 4px; gap: 7px; }
.preview-sidebar nav button { color: #f3e6dd; min-height: 40px; border-radius: 12px; }
.preview-sidebar nav button[aria-current=page] { color: #fff; background: #eb792f; box-shadow: 0 4px 14px #ab4f2e33; }
.preview-sidebar nav button:hover:not(:disabled) { background: #ffffff20; }
.preview-sidebar nav button[aria-current=page]:hover { background: #f28940; }
.preview-sidebar svg { width: 18px; height: 18px; }
.preview-sidebar nav button:disabled { opacity: .75; }
.preview-sidebar :focus-visible { outline-color: #ffc18b; }
.finance-preview main { padding: 18px 24px 28px 20px; max-width: 1850px; }
.preview-notice { color: #fff; text-shadow: 0 1px 4px #000b; }
[data-theme=light] .preview-notice { color: #20262b; text-shadow: 0 1px 4px #fff; }
.fv3, [data-theme=light] .fv3 {
  --fv3-surface: rgba(41, 43, 45, .76);
  --fv3-border: rgba(255, 255, 255, .16);
  --fv3-muted: #d6dadd;
  --fv3-cyan: #ffb371;
  --fv3-green: #80e7b3;
  --fv3-amber: #ffc28f;
  --fv3-red: #ffb0b8;
  --text: #fafbfc;
  color: var(--text);
}
.fv3-heading { padding: 6px 16px; margin-bottom: 20px; border-radius: 25px; background: rgba(35, 39, 41, .68); backdrop-filter: blur(18px); border: 1px solid #ffffff1f; }
.fv3 h1 { font-size: 24px; }
.fv3-title small { font-size: 9px; margin-bottom: 2px; color: #ffd2aa; }
.fv3-actions > button, .fv3-toolbar-control > button, .fv3-actions .fv3-upload { background: #ffffff0c; border-color: #ffffff26; }
.fv3 button.fv3-primary { background: #f28a43; color: #24160e; }
.fv3-actions .fv3-primary { box-shadow: 0 4px 14px #16110c24; }
.fv3-actions button:hover:not(:disabled), .fv3-actions .fv3-upload:hover { background: #ffffff25; border-color: #ffc599; }
.fv3-actions .fv3-primary:hover:not(:disabled) { background: #ffa268; }
.fv3-actions [aria-pressed=true] { background: #b9682d55; border-color: #ffb371; }
.fv3-header-search { background: #21282dcc; border-color: #ffffff36; border-radius: 10px; }
.fv3-action-menu, .fv3-display-options { background: #292e32f5; border-radius: 14px; backdrop-filter: blur(18px); }
.fv3-action-menu button:hover:not(:disabled) { background: #ffffff18; }
.fv3-totals { gap: 14px; margin-bottom: 22px; }
.fv3-summary-currencies { min-height: 26px; }
.fv3-summary-currencies button { color: #fff; background: #2a3036b0; border-radius: 7px; }
.fv3-summary-currencies button[aria-pressed=true] { color: #2b190c; background: #f28a43; border-color: transparent; }
.fv3-totals article.fv3-summary { padding: 15px 18px; background: rgba(249, 251, 252, .76); border-radius: 20px; border: 1px solid #ffffffa8; color: #242e34; backdrop-filter: blur(10px); box-shadow: 0 5px 20px #17120f0a; }
.fv3-summary small { color: #46525c; }
.fv3-totals strong { color: #263039; font-size: 23px; margin-top: 9px; line-height: 1.25; }
.fv3-summary header small { font-size: 12px; font-weight: 600; }
.fv3-summary header button { color: #52616b; border-radius: 50%; }
.fv3-summary header button:hover { background: #2739490c; }
.fv3-totals .receivable strong { color: #146449; }
.fv3-totals .payable strong { color: #92501f; }
.fv3-totals .overdue strong { color: #a03e50; }
.fv3-totals article.account { background: rgba(30, 78, 69, .8); color: white; border-color: #b5e5d848; }
.fv3-totals .account small, .fv3-totals .account strong { color: #f1fcf8; }
.fv3-totals .account header button { color: #d2e6de; }
[data-theme=dark] .fv3-totals article.fv3-summary { background: rgba(31, 37, 40, .52); color: #f4f7f6; border-color: #ffffff29; box-shadow: 0 5px 20px #0002; }
[data-theme=dark] .fv3-summary small { color: #d2d8d7; }
[data-theme=dark] .fv3-totals strong { color: #f4f7f6; }
[data-theme=dark] .fv3-summary header button { color: #d2d8d7; }
[data-theme=dark] .fv3-summary header button:hover { background: #ffffff14; }
[data-theme=dark] .fv3-totals .receivable strong { color: #90e7bc; }
[data-theme=dark] .fv3-totals .payable strong { color: #ffc18b; }
[data-theme=dark] .fv3-totals .overdue strong { color: #ffa3b1; }
[data-theme=dark] .fv3-totals article.account { background: rgba(20, 54, 47, .58); border-color: #a3d7c638; }
.fv3-account-number { margin-bottom: 3px; color: #d2e6de; }
.fv3-account-selector select { color: #f0fcf8; border-color: #ffffff40; background: #183e36; border-radius: 6px; }
.fv3-summary-content { min-height: 35px; }
.fv3-totals article.is-collapsed { min-height: 82px; }
.fv3-summary.is-collapsed strong { font-size: 18px; margin-top: 5px; }
.fv3-tabs { background: rgba(32, 38, 42, .76); border: 1px solid #ffffff1f; padding: 6px; border-radius: 16px; backdrop-filter: blur(16px); gap: 3px; }
.fv3-tabs button { border-radius: 10px; font-size: 12px; padding: 8px 10px; }
.fv3-tabs button[aria-current=page] { background: #f28a43; border-color: transparent; color: #28190f; }
.fv3-count, .fv3-tabs [aria-current=page] .fv3-count { background: #ffffff26; color: inherit; border-radius: 6px; font-size: 10px; min-width: 20px; height: 20px; padding: 0 4px; }
.fv3-body { gap: 18px; margin-top: 18px; }
.fv3-list, .fv3-duplicates, .fv3-detail, .fv3-planner { background: rgba(34, 40, 45, .82); border: 1px solid #ffffff26; border-radius: 20px; backdrop-filter: blur(18px); padding: 18px; box-shadow: 0 10px 30px #19120c16; }
.fv3-list, .fv3-duplicates, .fv3-detail { background: rgba(29, 35, 40, .64); backdrop-filter: blur(12px); }
.fv3-imported-costs { background: rgba(29, 35, 40, .64); backdrop-filter: blur(12px); }
.fv3-list-head h2 { font-size: 16px; }
.fv3 table thead th { background: transparent !important; color: #ccd4d9 !important; padding-top: 9px; padding-bottom: 9px; }
.fv3 tbody tr:nth-child(even) { background: #ffffff03; }
.fv3 tbody tr:hover { background: #ffffff0a; }
.fv3 tr.selected, .fv3 tbody tr.selected:hover { background: #b9682d30; box-shadow: inset 3px 0 #ffac69; }
.fv3 td { font-size: 12px; padding: 13px 8px; }
.fv3 td small { color: #c9d0d4; font-size: 10px; }
.fv3 .fv3-row-select { font-weight: 600; }
.fv3-status { border-radius: 8px; }
.fv3-detail { border-left: 1px solid #ffffff26; }
.fv3-side-rail .fv3-detail { border-radius: 20px; }
.fv3-planner { padding: 18px; }
.fv3-calendar-grid button { border-radius: 8px; }
.fv3-calendar-grid button.today { border-color: #ffa362; }
.fv3-calendar-grid button.selected { background: #f28a43; color: #20130c; }
.fv3-calendar-grid button:hover { background: #ffffff14; }
.fv3 button.fv3-agenda-item:hover { background: #ffffff07; border-bottom-color: #ffb371; }
.fv3-agenda h3 { font-size: 12px; }
.fv3-error, .fv3-note { margin-top: 12px !important; background: #2b2e32db; border-radius: 6px; font-size: 12px; }
.fv3-error button { min-height: 26px; padding: 3px 8px; font-size: 11px; }
[data-theme=light] .fv3 { --fv3-surface: #f5f7f9eb; --fv3-border: #27313b1d; --fv3-muted: #59646d; --fv3-cyan: #a74b16; --fv3-green: #186647; --fv3-amber: #8c4b1d; --fv3-red: #ac304b; --text: #273038; }
[data-theme=light] .fv3-heading, [data-theme=light] .fv3-tabs { background: #f7f8fae0; border-color: #ffffff80; }
[data-theme=light] .fv3-title small { color: #a35325; }
[data-theme=light] .fv3-actions button { background: #ffffff80; border-color: #28374524; }
[data-theme=light] .fv3-actions button.fv3-primary { background: #ee8740; border-color: transparent; color: #291a10; }
[data-theme=light] .fv3-actions button:hover:not(:disabled) { background: #fff; border-color: #af653d; }
[data-theme=light] .fv3-actions [aria-pressed=true] { background: #fae5d5; border-color: #c66c32; }
[data-theme=light] .fv3-header-search, [data-theme=light] .fv3-action-menu, [data-theme=light] .fv3-display-options { background: #f9fafbf5; border-color: #29394426; }
[data-theme=light] .fv3-action-menu button:hover:not(:disabled) { background: #f2e7de; }
[data-theme=light] .fv3-tabs button[aria-current=page] { background: #ee8740; color: #291a10; border-color: transparent; }
[data-theme=light] .fv3-count { background: #2737440c; color: #56636b; }
[data-theme=light] .fv3-list, [data-theme=light] .fv3-duplicates, [data-theme=light] .fv3-detail, [data-theme=light] .fv3-planner { background: #f9fafbec; border-color: #ffffff80; }
[data-theme=light] .fv3-list, [data-theme=light] .fv3-duplicates, [data-theme=light] .fv3-detail { background: rgba(249, 250, 251, .74); }
[data-theme=light] .fv3-imported-costs { background: rgba(249, 250, 251, .74); }
[data-theme=light] .fv3 table thead th { background: transparent !important; color: #596873 !important; }
[data-theme=light] .fv3 tbody tr:nth-child(even) { background: #1e344502; }
[data-theme=light] .fv3 tbody tr:hover { background: #273f4c07; }
[data-theme=light] .fv3 tr.selected, [data-theme=light] .fv3 tbody tr.selected:hover { background: #f9e5d4; }
[data-theme=light] .fv3 td small { color: #65727a; }
[data-theme=light] .fv3-calendar-grid button:hover { background: #26333e0a; }
[data-theme=light] .fv3-calendar-grid button.today { border-color: #c06833; }
[data-theme=light] .fv3-calendar-grid button.selected { background: #ef8a44; color: #291a10; }
[data-theme=light] .fv3 .fv3-link { color: #a25324; }
[data-theme=light] .fv3-error, [data-theme=light] .fv3-note { background: #f7f9fbe8; }
.preview-context-dialog { background: #292e32f5; backdrop-filter: blur(18px); border-radius: 16px; color: #fafbfc; }
[data-theme=light] .preview-context-dialog { background: #f9fafbf5; color: #273038; }
@container (max-width: 1250px) { .fv3-dashboard:not(.detail-open) .fv3-totals strong { font-size: 23px; } .fv3-dashboard:not(.detail-open) .fv3-summary.is-collapsed strong { font-size: 18px; } .fv3-totals article.fv3-summary { min-height: 118px; padding: 12px 16px; } .fv3-summary-content { padding-top: 12px; } .fv3-totals article.is-collapsed { min-height: 80px; } }
@container (max-width: 760px) { .fv3-heading { padding: 10px 12px; } .fv3-list, .fv3-detail { padding: 14px 10px; } .fv3-tabs button { min-height: 38px; font-size: 11px; } .fv3-totals strong, .fv3-dashboard:not(.detail-open) .fv3-totals strong { font-size: 20px; } }
@media (max-width: 760px) { .finance-preview, .finance-preview.menu-expanded { display: block; } .finance-preview main { padding: 16px 12px; } .preview-sidebar { width: 220px; margin: 8px; inset: 0 auto 0 0; height: calc(100dvh - 16px); } .preview-mobile-menu { top: 53px; left: 24px; border-radius: 50%; color: #ffc18b; } .finance-preview .fv3-heading > div:first-child { padding-left: 58px; } }
@media (prefers-reduced-transparency: reduce) { .fv3-list, .fv3-detail, .fv3-planner, .fv3-heading, .fv3-imported-costs { background: #292e32; backdrop-filter: none; } [data-theme=light] .fv3-list, [data-theme=light] .fv3-detail, [data-theme=light] .fv3-planner, [data-theme=light] .fv3-heading, [data-theme=light] .fv3-imported-costs { background: #f9fafb; } }

/* Live TMS keeps its existing desktop rail and mobile menu behavior. */
body:has(.shell) { --text: #fafbfc; --muted: #d6dadd; --cyan: #ffb371; --panel: rgba(31, 37, 40, .68); --panel-strong: #292e32; --line: #ffffff29; background: #342b25 !important; }
body.light:has(.shell) { --text: #273038; --muted: #59646d; --cyan: #a74b16; --panel: rgba(249, 250, 251, .78); --panel-strong: #f9fafb; --line: #29394426; }
body:has(.shell)::before { z-index: -2; opacity: 1; animation: none; filter: none; transform: none; pointer-events: none; }
body:has(.shell)::after { z-index: -1; }
body:has(.shell) .shell, body:has(.shell) .main, body:has(.shell) .content { background: transparent !important; }
body:has(.shell) .sidebar { background: rgba(52, 39, 33, .78) !important; color: #fcf7f1; border: 1px solid #ffffff29 !important; border-radius: 20px; backdrop-filter: blur(10px) !important; box-shadow: 0 10px 30px #0002; }
body:has(.shell) .sidebar .nav button { color: #f3e6dd !important; background: transparent !important; border-radius: 10px; }
body:has(.shell) .sidebar .nav button.active { color: #24160e !important; background: #f28a43 !important; border-color: transparent !important; box-shadow: none !important; }
body:has(.shell) .sidebar .nav button:hover:not(.active) { background: #ffffff18 !important; }
body:has(.shell) .sidebar .nav-icon { color: inherit !important; background: transparent !important; }
body:has(.shell) .brand-mark { width: 44px !important; min-width: 44px !important; height: 44px !important; min-height: 44px !important; border-radius: 13px !important; background: #ffc18b14 !important; border: 1px solid #ffd1ac52 !important; box-shadow: none !important; animation: none !important; }
body:has(.shell) .brand-mark::before, body:has(.shell) .brand-mark::after { display: none !important; }
body:has(.shell) .brand-mark .logo-letter { background: transparent !important; color: #ffe1c8 !important; font-size: 19px; text-shadow: none; box-shadow: none; }
body:has(.shell) .topbar, body:has(.shell) .planner-toolbar-original { color: var(--text) !important; background: var(--panel) !important; border: 1px solid var(--line) !important; border-radius: 25px !important; backdrop-filter: blur(10px); }
body.finance-v3-shell .topbar { padding: 6px 16px; gap: 8px; }
body.finance-v3-shell #financeWorkspaceHeader { flex: 1 1 0; }
body.finance-v3-shell #financeWorkspaceHeader .fv3-heading { padding: 0; background: transparent; border: 0; backdrop-filter: none; }
body.finance-v3-shell .top-icon-actions .icon-only { background: #ffffff0c; border: 1px solid var(--line); color: var(--text); }
body.light.finance-v3-shell .top-icon-actions .icon-only { background: #ffffff80; }
body:has(.shell) .module-panel, body:has(.shell) .planner-console, body:has(.shell) .ops-list, body:has(.shell) .view-options-panel, body:has(.shell) .planner-controls { background: var(--panel) !important; color: var(--text) !important; border-color: var(--line) !important; }
body:has(.shell) .planner-week-tabs button.active, body:has(.shell) .planner-new-ride { background: #f28a43 !important; color: #24160e !important; border-color: transparent !important; }
@media (min-width: 981px) { body:has(.shell) .sidebar { margin: 10px 0 10px 10px; height: calc(100dvh - 20px); padding-top: 8px; padding-bottom: 12px; } }
@media (max-width: 980px) { body:has(.shell) .sidebar { border-radius: 20px !important; } body.finance-v3-shell #financeWorkspaceHeader { flex-basis: 100%; } }
@media (prefers-reduced-transparency: reduce) { body:has(.shell) .topbar, body:has(.shell) .sidebar { backdrop-filter: none !important; background: var(--panel-strong) !important; } }

html[data-appearance=warm] body:not(.driver-mode) .shell .main { background: transparent !important; }
html[data-appearance=warm] body:not(.driver-mode) .sidebar .brand .brand-mark { width: 44px !important; min-width: 44px !important; height: 44px !important; min-height: 44px !important; background: #ffc18b14 !important; border-radius: 13px !important; border: 1px solid #ffd1ac52 !important; box-shadow: none !important; }
html[data-appearance=warm] body:not(.driver-mode) .sidebar .brand .brand-mark::before,
html[data-appearance=warm] body:not(.driver-mode) .sidebar .brand .brand-mark::after { display: none !important; }
html[data-appearance=warm] body:not(.driver-mode) .sidebar .brand .brand-mark .logo-letter { width: 28px !important; height: 28px !important; background: transparent !important; color: #ffe1c8 !important; border: 0 !important; box-shadow: none !important; text-shadow: none !important; font-size: 19px; }
.fv3-planner-modes button[aria-pressed=true] { background: #f28a43; color: #24160e; border-color: transparent; }
.fv3-totals strong { white-space: normal; overflow-wrap: anywhere; }
@container (max-width: 420px) { .fv3-dashboard .fv3-totals, .fv3-dashboard:not(.detail-open) .fv3-totals { grid-template-columns: minmax(0, 1fr); } }
html[data-appearance=warm] body.planner-shell .planner-view-menu .planner-controls { background: var(--panel-strong) !important; color: var(--text) !important; border-color: var(--line) !important; }

/* One readable translucent surface per repeated record. */
body:has(.shell) .ops-list { background: transparent !important; backdrop-filter: none; border: 0; }
body:has(.shell) :is(.dispatcher-card, .order-card, .document-group-card, .invoice-card, .invoice-source-row) { background: var(--panel) !important; color: var(--text) !important; border-color: var(--line) !important; backdrop-filter: blur(12px); }
body:has(.shell) :is(.dispatcher-card, .order-card, .document-group-card, .invoice-card, .invoice-source-row) :is(h3, strong, .ops-title, .invoice-source-customer) { color: var(--text) !important; }
body:has(.shell) :is(.dispatcher-card, .order-card, .document-group-card, .invoice-card, .invoice-source-row) :is(.muted, small, .ops-meta) { color: var(--muted) !important; }
body:has(.shell) :is(.dispatcher-card, .order-card, .document-group-card, .invoice-card, .invoice-source-row) :is(.route-line, .order-route, .document-route, .invoice-route) { color: var(--cyan) !important; }
body:has(.shell) .vehicle-card-sync, body:has(.shell) .vehicle-type-group > .section-head { padding: 14px 16px; background: var(--panel) !important; color: var(--text) !important; border: 1px solid var(--line); backdrop-filter: blur(12px); }
body:has(.shell) .vehicle-card-sync :is(p, strong, h2, h3), body:has(.shell) .vehicle-type-group > .section-head :is(h2, h3, strong) { color: var(--text) !important; }
body:has(.shell) .vehicle-card-sync .muted, body:has(.shell) .vehicle-type-group > .section-head small { color: var(--muted) !important; }
body:not(.finance-v3-shell):has(.shell) .topbar { padding: 12px 16px !important; }
body:has(.shell) .topbar :is(.icon-only, .toolbar-icon-button) { background: #ffffff0c !important; border: 1px solid var(--line) !important; color: var(--text) !important; }
body.light:has(.shell) .topbar :is(.icon-only, .toolbar-icon-button) { background: #ffffff80 !important; }
body:has(.shell) .topbar :is(.icon-only, .toolbar-icon-button).active { background: #f28a43 !important; color: #24160e !important; }
body:has(.shell) .top-filter-fields:not([hidden]) { background: var(--panel-strong) !important; }
html[data-appearance=warm] body:has(.shell) .view-options-panel { background: var(--panel-strong) !important; }
html[data-appearance=warm] body:not(.driver-mode) .sidebar .brand { padding-top: 12px !important; padding-bottom: 12px !important; }
html[data-appearance=warm] body:not(.driver-mode) .sidebar .brand .brand-mark { transform: none !important; animation: warm-logo-breathe 4s ease-in-out infinite !important; }
html[data-appearance=warm] body:not(.driver-mode) :is(.sidebar .brand .brand-mark, .topbar .logo-menu-button)::after { content: "" !important; display: block !important; position: absolute !important; inset: auto !important; left: -80% !important; top: -20% !important; width: 70% !important; height: 140% !important; border: 0 !important; background: linear-gradient(90deg, transparent, #ffe6c799, transparent) !important; opacity: 1 !important; z-index: 1 !important; animation: warm-logo-shine 3.2s ease-in-out infinite !important; }
@keyframes warm-logo-breathe { 0%, 100% { translate: 0 0; filter: brightness(1); } 50% { translate: 0 -2px; filter: brightness(1.2); } }
@keyframes warm-logo-shine { 0%, 20% { transform: translateX(0) rotate(20deg); } 70%, 100% { transform: translateX(290%) rotate(20deg); } }
html[data-appearance=warm] body.planner-shell .planner-controlbar.planner-toolbar-original { background: var(--panel) !important; color: var(--text) !important; padding: 12px 16px !important; }
html[data-appearance=warm] body.planner-shell .planner-week-tabs button.active, html[data-appearance=warm] body.planner-shell .planner-new-ride { background: #f28a43 !important; color: #24160e !important; border-color: transparent !important; }
@media (prefers-reduced-motion: reduce) { html[data-appearance=warm] body:not(.driver-mode) .sidebar .brand .brand-mark, html[data-appearance=warm] body:not(.driver-mode) :is(.sidebar .brand .brand-mark, .topbar .logo-menu-button)::after { animation: none !important; } }
@media (prefers-reduced-transparency: reduce) { body:has(.shell) :is(.dispatcher-card, .order-card, .document-group-card, .invoice-card, .invoice-source-row, .vehicle-card-sync), body:has(.shell) .vehicle-type-group > .section-head { background: var(--panel-strong) !important; backdrop-filter: none; } }

html[data-appearance=warm] .login-transport-scene { background-image: url('/home-office-night-20261010.webp') !important; }
html[data-appearance=warm][data-theme=light] .login-transport-scene { background-image: url('/home-office-20261010.webp') !important; }
html[data-appearance=warm] .login-transport-scene::after { background: rgba(15, 17, 18, .18); }
html[data-appearance=warm][data-theme=light] .login-transport-scene::after { background: rgba(245, 247, 248, .12); }
html[data-appearance=warm] .login-page-card { background: rgba(35, 37, 38, .84) !important; border-color: #ffffff35 !important; color: #f8f9f9 !important; box-shadow: 0 24px 70px #0004 !important; }
html[data-appearance=warm] .login-page-card::before { background: #ee9959; box-shadow: none; }
html[data-appearance=warm] .login-page-card label { color: #e0e4e3 !important; }
html[data-appearance=warm] .login-page-card input:not([type=checkbox]) { background: #202526cc !important; color: #f8f9f9 !important; border-color: #ffffff40 !important; }
html[data-appearance=warm] .login-page-card input:focus { border-color: #edaa78 !important; box-shadow: 0 0 0 3px #edaa7828 !important; }
html[data-appearance=warm] .login-page-card input[type=checkbox] { accent-color: #e9904d; }
html[data-appearance=warm] .login-page-card .login-page-submit { background: #e9904d !important; color: #22170f !important; border-color: transparent !important; box-shadow: none !important; }
html[data-appearance=warm] .login-page-card .login-page-submit:hover { background: #f3a267 !important; }
html[data-appearance=warm] .login-page-brand .brand-mark { display: grid !important; place-items: center; border-color: #eabb94 !important; background: #42372f !important; box-shadow: inset 0 1px 0 #ffffff20 !important; }
html[data-appearance=warm] .login-page-brand .brand-mark::before { background: none !important; border: 1px solid #eabb9460 !important; box-shadow: none !important; animation: none !important; }
html[data-appearance=warm] .login-page-brand .brand-mark::after { background: linear-gradient(90deg, transparent, #ffe4c770, transparent) !important; inset: -50% !important; animation: warm-logo-shine 3.2s ease-in-out infinite !important; }
html[data-appearance=warm] .login-page-brand .logo-letter { background: transparent !important; color: #ffe2c9 !important; border-radius: 0 !important; box-shadow: none !important; text-shadow: none !important; animation: none !important; }
html[data-appearance=warm][data-theme=light] .login-page-card { background: rgba(249, 251, 251, .9) !important; color: #293033 !important; border-color: #ffffffc0 !important; }
html[data-appearance=warm][data-theme=light] .login-page-card label { color: #41494c !important; }
html[data-appearance=warm][data-theme=light] .login-page-card input:not([type=checkbox]) { background: #ffffffb0 !important; color: #293033 !important; border-color: #55636b40 !important; }
@media (prefers-reduced-motion: reduce) { html[data-appearance=warm] .login-page-brand .brand-mark::after { animation: none !important; } }

html[data-appearance=warm] body[data-module=invoicing] .invoice-history { background: rgba(28, 34, 37, .94) !important; }
html[data-appearance=warm] body.light[data-module=invoicing] .invoice-history { background: rgba(249, 251, 250, .97) !important; --text: #23313a; --muted: #46545d; --line: #cbd3d3; }
html[data-appearance=warm] body.light[data-module=invoicing] .invoice-history-table thead { background: #e8eeec; }
html[data-appearance=warm] body.light[data-module=invoicing] .invoice-history-table :is(tr.is-expanded, tr[data-invoice-history-row]:hover) { background: #e2eae7; }
html[data-appearance=warm] .invoice-history .invoice-card-actions button { background: #354248 !important; color: #f0f4f4 !important; border: 1px solid #526267 !important; box-shadow: none !important; font-weight: 500 !important; }
html[data-appearance=warm] .invoice-history .invoice-card-actions button:hover { background: #45565a !important; }
html[data-appearance=warm] .invoice-history .invoice-card-actions button.action-delete { background: #51393e !important; color: #ffe0e3 !important; border-color: #83535d !important; }
html[data-appearance=warm] body.light .invoice-history .invoice-card-actions button { background: #edf2f0 !important; color: #27363e !important; border-color: #bdc9c8 !important; }
html[data-appearance=warm] body.light .invoice-history .invoice-card-actions button:hover { background: #dce7e2 !important; }
html[data-appearance=warm] body.light .invoice-history .invoice-card-actions button.action-delete { background: #f3e8e9 !important; color: #932634 !important; border-color: #d5b6bd !important; }
html[data-appearance=warm] .login-page-brand .brand-mark::after { display: block !important; }
html[data-appearance=warm] :is(#appLoader, #moduleLoader) { background: #232526; }
html[data-appearance=warm] :is(#appLoader, #moduleLoader) .loading-mark { color: #ffe2c9; }
html[data-appearance=warm][data-theme=light] :is(#appLoader, #moduleLoader) { background: #f9fbfa; }
html[data-appearance=warm][data-theme=light] :is(#appLoader, #moduleLoader) .loading-mark { color: #23313a; }
html[data-appearance=warm] body:has(.shell) .topbar #newItemButton,
html[data-appearance=warm] .fv3-actions > [data-action=toggle-actions] { background: #f28a43 !important; color: #24160e !important; border-color: transparent !important; box-shadow: none !important; }
html[data-appearance=warm] body.light:has(.shell) .topbar #newItemButton,
html[data-appearance=warm][data-theme=light] .fv3-actions > [data-action=toggle-actions] { background: #ee8740 !important; color: #291a10 !important; }
html[data-appearance=warm] body:has(.shell) .topbar #newItemButton:hover:not(:disabled),
html[data-appearance=warm] .fv3-actions > [data-action=toggle-actions]:hover:not(:disabled) { background: #ffa268 !important; }
html[data-appearance=warm] .fv3-load-state { background: #202629f5 !important; color: #f2f5f6; border-color: #586166; }
html[data-appearance=warm][data-theme=light] .fv3-load-state { background: #f9fbfaf7 !important; color: #23313a; border-color: #cbd3d3; }
html[data-appearance=warm][data-theme=light] .fv3-reading-review :is(small, dt) { color: #46545d; }
.fv3-cashbook { border: 1px solid var(--fv3-border); border-radius: 8px; }
.fv3-error { background: var(--fv3-surface); border: 1px solid var(--fv3-border); padding: 14px; overflow-wrap: anywhere; }
.fv3-error button { margin-top: 10px; }
