/* Web UI theme only. Report files, email bodies and public Forms are untouched. */
.ledger-theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 8px;
  background: transparent;
  color: #e8f0f7;
  cursor: pointer;
  font-size: 18px;
}
.ledger-theme-toggle:hover { background: rgba(255, 255, 255, .12); }
.ledger-theme-toggle:focus-visible { outline: 2px solid #95c9e8; outline-offset: 2px; }
.ledger-theme-sun { display: none; }
html[data-theme="dark"] .ledger-theme-moon { display: none; }
html[data-theme="dark"] .ledger-theme-sun { display: inline; }

html[data-theme="dark"] { color-scheme: dark; background: #0d1014; }
html[data-theme="dark"] body.ledger-shell {
  --theme-bg: #0d1014;
  --theme-surface: #171c23;
  --theme-surface-2: #202731;
  --theme-text: #e7ebf0;
  --theme-muted: #aebbc8;
  --theme-border: #36404b;
  --theme-input: #11171e;
  --ink: var(--theme-text);
  --ink-2: #d0d9e3;
  --ink-3: var(--theme-muted);
  --paper: var(--theme-bg);
  --card: var(--theme-surface);
  --rule: var(--theme-border);
  --rule-2: #46515e;
  --steel: #8bbfdf;
  --steel-deep: #79b1d4;
  --steel-wash: #193245;
  --clear: #75cba0;
  --clear-wash: #18352a;
  --hold: #edbd6b;
  --hold-wash: #3c2e19;
  --breach: #ef918c;
  --breach-wash: #3c2424;
  --ssm-bg: var(--theme-bg);
  --ssm-dark: var(--theme-text);
  --ssm-tint: var(--theme-surface-2);
  --ssm-line: var(--theme-border);
  --ssm-border: var(--theme-border);
  --bs-body-bg: var(--theme-bg);
  --bs-body-color: var(--theme-text);
  --bs-border-color: var(--theme-border);
  --bs-secondary-color: var(--theme-muted);
  background: var(--theme-bg);
  color: var(--theme-text);
}

/* Shared shell and Bootstrap surfaces. Keep semantic status fills intact. */
html[data-theme="dark"] body.ledger-shell .ledger-top { background: #0b141e; color: #f1f5f8; }
html[data-theme="dark"] body.ledger-shell .ledger-top a.is-active { background: #285574; }
html[data-theme="dark"] body.ledger-shell :is(.ledger-head,.ledger-page-head,.card,.summary-tile,.module-card,.photo-card,.modal-content,.offcanvas,.dropdown-menu,.popover,.list-group-item,.accordion-item,.toast) {
  background-color: var(--theme-surface);
  color: var(--theme-text);
  border-color: var(--theme-border);
}
html[data-theme="dark"] body.ledger-shell :is(.card-header,.card-footer,.modal-header,.modal-footer,.accordion-button,.dropdown-header,.list-group-item-action:hover) {
  background-color: var(--theme-surface-2);
  color: var(--theme-text);
  border-color: var(--theme-border);
}
html[data-theme="dark"] body.ledger-shell :is(.bg-white,.bg-light,.table-light) {
  background-color: var(--theme-surface-2) !important;
  color: var(--theme-text) !important;
}
html[data-theme="dark"] body.ledger-shell :is(.text-dark,.text-body) { color: var(--theme-text) !important; }
html[data-theme="dark"] body.ledger-shell :is(.text-secondary,.text-muted,.form-text,.detail-label) { color: var(--theme-muted) !important; }
html[data-theme="dark"] body.ledger-shell :is(.border,.border-top,.border-bottom,.border-start,.border-end) { border-color: var(--theme-border) !important; }
html[data-theme="dark"] body.ledger-shell :is(.table,.table-responsive,.document-table,.mis-table-wrap,.ia-table-scroll) {
  color: var(--theme-text);
  border-color: var(--theme-border);
}
html[data-theme="dark"] body.ledger-shell .table {
  --bs-table-bg: var(--theme-surface);
  --bs-table-color: var(--theme-text);
  --bs-table-border-color: var(--theme-border);
  --bs-table-striped-bg: #1d2630;
  --bs-table-striped-color: var(--theme-text);
  --bs-table-hover-bg: #263542;
  --bs-table-hover-color: var(--theme-text);
}
html[data-theme="dark"] body.ledger-shell :is(.table thead th,.document-table th,.ia-table-scroll thead th) {
  background: var(--theme-surface-2);
  color: var(--theme-text);
  border-color: var(--theme-border);
}
html[data-theme="dark"] body.ledger-shell :is(.form-control,.form-select,textarea,select,input[type="text"],input[type="number"],input[type="date"],input[type="email"],input[type="search"],input[type="tel"],input[type="password"],input[type="url"]) {
  background-color: var(--theme-input);
  color: var(--theme-text);
  border-color: var(--theme-border);
}
html[data-theme="dark"] body.ledger-shell :is(.form-control,.form-select,input,textarea)::placeholder { color: #8999a8; opacity: 1; }
html[data-theme="dark"] body.ledger-shell :is(.form-control,.form-select,input,textarea):focus { border-color: #78b9e3; box-shadow: 0 0 0 .2rem rgba(78, 153, 203, .22); }
html[data-theme="dark"] body.ledger-shell :is(.form-control,.form-select,input,textarea):disabled,
html[data-theme="dark"] body.ledger-shell :is(.form-control,.form-select,input,textarea)[readonly] { background-color: #252c35; color: #b5c0cb; }
html[data-theme="dark"] body.ledger-shell .input-group-text { background: var(--theme-surface-2); color: var(--theme-text); border-color: var(--theme-border); }
html[data-theme="dark"] body.ledger-shell select option { background: var(--theme-input); color: var(--theme-text); }
html[data-theme="dark"] body.ledger-shell input:-webkit-autofill { -webkit-text-fill-color: var(--theme-text); box-shadow: 0 0 0 1000px var(--theme-input) inset; }
html[data-theme="dark"] body.ledger-shell :is(.dropdown-item,.page-link,.nav-link) { color: var(--theme-text); }
html[data-theme="dark"] body.ledger-shell :is(.dropdown-item:hover,.page-link:hover,.nav-link:hover) { background: var(--theme-surface-2); color: #a5d5f2; }
html[data-theme="dark"] body.ledger-shell .page-link { background: var(--theme-surface); border-color: var(--theme-border); }
html[data-theme="dark"] body.ledger-shell :is(.sticky-save-bar,.module-loading-box,.upload-dropzone,.photo-category,.workspace-nav-head) { background: var(--theme-surface-2); color: var(--theme-text); border-color: var(--theme-border); }
html[data-theme="dark"] body.ledger-shell .modal-backdrop { background: #020509; }
html[data-theme="dark"] body.ledger-shell .btn-close { filter: invert(1) grayscale(1); }
html[data-theme="dark"] body.ledger-shell .flatpickr-calendar { background: var(--theme-surface); color: var(--theme-text); border-color: var(--theme-border); }

/* Ledger dashboard, audit tabs and legacy module cards. */
html[data-theme="dark"] body.ledger-shell :is(.ledger-btn-primary,.fm-btn-primary) { background: #286185; border-color: #286185; color: #fff; }
html[data-theme="dark"] body.ledger-shell :is(.ledger-btn-primary,.fm-btn-primary):hover { background: #32749b; color: #fff; }
html[data-theme="dark"] body.ledger-shell :is(.metric-draft,.metric-progress,.metric-review,.metric-completed,.metric-users) { background: var(--theme-surface); }
html[data-theme="dark"] body.ledger-shell :is(.core-module-strip,.workspace-nav-head,.summary-tile,.module-card,.photo-card) { background: var(--theme-surface) !important; border-color: var(--theme-border) !important; }
html[data-theme="dark"] body.ledger-shell :is(.workspace-nav .list-group-item.disabled,.document-table th,.audit-progress) { background: var(--theme-surface-2); color: var(--theme-muted); }
html[data-theme="dark"] body.ledger-shell .core-module-tab:not(.active) { color: var(--theme-muted); }

/* Internal Forms uses its own local token set; public .fp keeps its light UI. */
html[data-theme="dark"] body.ledger-shell .fm {
  --ink: var(--theme-text); --ink-2: #d0d9e3; --ink-3: var(--theme-muted);
  --ink-4: #a7b5c2; --ink-5: #9dabb9; --ink-ph: #8999a8;
  --paper: var(--theme-bg); --card: var(--theme-surface); --wash: var(--theme-surface-2);
  --rule: var(--theme-border); --rule-2: #46515e;
  --steel: #8bbfdf; --steel-deep: #8bbfdf; --steel-wash: #193245;
  --accent: #74d0bd; --accent-deep: #9ae1d2; --accent-wash: #173b38;
  --accent-wash-2: #204b46; --accent-ring: rgba(116,208,189,.25);
  --clear: #75cba0; --clear-wash: #18352a;
  --hold: #edbd6b; --hold-wash: #3c2e19;
  --breach: #ef918c; --breach-wash: #3c2424;
}
html[data-theme="dark"] body.ledger-shell .fm :is(.fm-btn-primary,.fm-btn-danger-solid) { color: #fff; }
html[data-theme="dark"] body.ledger-shell .fm :is(.fm-table thead th,.fm-input,.fm-select,.fm-textarea,.fm-menu,.fm-inspector) { background: var(--theme-surface); color: var(--theme-text); border-color: var(--theme-border); }

/* MIS and Inventory retain their branded accent panels while their work areas darken. */
html[data-theme="dark"] body.ledger-shell .mis-page,
html[data-theme="dark"] body.ledger-shell .mis-editor-premium {
  --mis-line: var(--theme-border); --mis-muted: var(--theme-muted);
  --mis-soft: #183b38; --mis-ink: var(--theme-text); --mis-ink-2: #c7d8d6;
  color: var(--theme-text);
}
html[data-theme="dark"] body.ledger-shell .mis-page :is(.mis-card,.mis-group-head,.mis-base-link,.mis-fy-pill,.mis-rule,.mis-upload-box,.mis-flow-strip,.mis-mail-panel,.mis-rail-date,.mis-compose,.mis-compose header,.mis-compose footer) {
  background: var(--theme-surface); color: var(--theme-text); border-color: var(--theme-border);
}
html[data-theme="dark"] body.ledger-shell .mis-page :is(.mis-base-link:hover,.mis-table tbody tr:hover td,.mis-followup-row:hover) { background: var(--theme-surface-2); }
html[data-theme="dark"] body.ledger-shell .mis-page :is(.mis-table th,.mis-table td,.mis-table .mis-actions-col,.mis-table .mis-client-col,.mis-table .mis-customer-col,.mis-table th.mis-actions-col,.mis-table th.mis-client-col,.mis-table th.mis-customer-col) {
  background: var(--theme-surface); color: var(--theme-text); border-color: var(--theme-border);
}
html[data-theme="dark"] body.ledger-shell .mis-page .mis-table th { background: var(--theme-surface-2); }
html[data-theme="dark"] body.ledger-shell .mis-page :is(.mis-form-section,.mis-toolbar,.mis-detail-item) { border-color: var(--theme-border); }
html[data-theme="dark"] body.ledger-shell .mis-page :is(.mis-form-section .form-label,.mis-table th,.mis-detail-label) { color: var(--theme-muted); }
html[data-theme="dark"] body.ledger-shell .ia-page :is(.ia-table-scroll thead th,.ia-empty-cell) { background: var(--theme-surface-2); color: var(--theme-text); }
html[data-theme="dark"] body.ledger-shell .ia-page .ia-tabs { background: #101d2a; }

/* Report workflow UI only. Embedded document/email previews retain their own canvas. */
html[data-theme="dark"] body.ledger-shell :is(.report-workspace,.report-dialog,.report-settings-page) {
  --rp-ink: var(--theme-text); --rp-muted: var(--theme-muted);
  --rp-paper: var(--theme-bg); --rp-line: var(--theme-border);
  --rp-teal: #83d1c1; --rp-teal-dark: #5bb7a5;
  --rp-mint: #183b34; --rp-navy: #173a4c;
  --rp-blue: #9ac6e2; --rp-amber: #edbd6b;
  --rp-amber-bg: #3c2e19; --rp-red: #ef918c;
  color: var(--theme-text);
}
html[data-theme="dark"] body.ledger-shell .report-workspace { background: var(--theme-bg); border-color: var(--theme-border); }
html[data-theme="dark"] body.ledger-shell :is(.report-context,.report-steps,.report-file-panel,.report-dispatch-panel,.report-surface,.report-summary-grid,.report-sender-card,.report-route-list,.report-button,.report-sticky-save) {
  background: var(--theme-surface); color: var(--theme-text); border-color: var(--theme-border);
}
html[data-theme="dark"] body.ledger-shell :is(.report-context-main h1,.report-heading h2,.report-settings-heading h1,.report-panel-head h3,.report-version-copy strong,.report-summary-grid b,.report-step b,.report-checklist b,.report-route-row b) { color: var(--theme-text); }
html[data-theme="dark"] body.ledger-shell :is(.report-control,.report-control[readonly]) { background: var(--theme-input); color: var(--theme-text); border-color: var(--theme-border); }
html[data-theme="dark"] body.ledger-shell :is(.report-readiness-columns section,.report-route-header,.report-conversion,.report-prepare-status,.report-email-preview) { background: var(--theme-surface-2); color: var(--theme-text); }
html[data-theme="dark"] body.ledger-shell .report-email-sample { background: #fff; color: #273e49; }
html[data-theme="dark"] body.ledger-shell .report-email-sample :is(.bg-white,.bg-light) { background: #fff !important; color: #273e49 !important; }

/* Audit navigation has its own hard-coded light header and active tab. */
html[data-theme="dark"] body.ledger-shell .core-module-strip-head {
  background: var(--theme-surface-2); border-color: var(--theme-border); color: var(--theme-text);
}
html[data-theme="dark"] body.ledger-shell .core-module-tabs { background: var(--theme-surface); }
html[data-theme="dark"] body.ledger-shell .core-module-strip .core-module-tab.active {
  background: #203d52 !important; color: #e7f3fb !important; border-bottom-color: #79bde7 !important;
}
html[data-theme="dark"] body.ledger-shell .core-module-strip .core-module-tab.active i { color: #a5d7f4; }
html[data-theme="dark"] body.ledger-shell .core-module-strip .core-module-tab:hover { background: #293745; color: #f2f7fa; }

/* Global MIS directory, including the card grids and calendar. */
html[data-theme="dark"] body.ledger-shell .mis-global-page {
  --mg-bg: var(--theme-bg); --mg-card: var(--theme-surface); --mg-ink: var(--theme-text);
  --mg-muted: var(--theme-muted); --mg-line: var(--theme-border); --mg-navy: #285574;
  --mg-teal: #64d0c4; --mg-teal-soft: #183b38; --mg-blue: #88bafa;
  --mg-amber: #edbd6b; --mg-red: #ef918c; --mg-green: #75cba0;
}
html[data-theme="dark"] body.ledger-shell .mis-global-page :is(.mis-global-live,.mis-global-search,.mis-global-nav,.mis-global-pulse-card,.mis-global-metric,.mis-global-focus,.mis-global-card,.mis-global-group-card,.mis-global-result,.mis-global-all-bases>section) {
  background: var(--theme-surface); color: var(--theme-text); border-color: var(--theme-border);
}
html[data-theme="dark"] body.ledger-shell .mis-global-page :is(.mis-global-nav a,.mis-global-live,.mis-global-card>header>a,.mis-global-section-head a,.mis-global-pagination a,.mis-global-week-nav a) { color: var(--theme-muted); }
html[data-theme="dark"] body.ledger-shell .mis-global-page :is(.mis-global-nav a.active,.mis-global-pagination a.active) { background: #285574; color: #fff; }
html[data-theme="dark"] body.ledger-shell .mis-global-page :is(.mis-global-nav a>span,.mis-global-group-card em,.mis-global-pulse-ring:after,.mis-global-metric:after,.mis-global-metric.mis-global-blue:after,.mis-global-metric.mis-global-teal:after,.mis-global-metric.mis-global-amber:after,.mis-global-metric.mis-global-green:after) { background: var(--theme-surface-2); color: var(--theme-text); }
html[data-theme="dark"] body.ledger-shell .mis-global-page :is(.mis-global-search input,.mis-global-search select,.mis-global-result-filters select) { background: var(--theme-input); color: var(--theme-text); border-color: var(--theme-border); }
html[data-theme="dark"] body.ledger-shell .mis-global-page :is(.mis-global-table th,.mis-global-calendar-preview .head,.mis-global-calendar-table>.head,.mis-global-all-bases>section>header) { background: var(--theme-surface-2); color: var(--theme-muted); }
html[data-theme="dark"] body.ledger-shell .mis-global-page :is(.mis-global-calendar-preview .staff,.mis-global-calendar-table>.staff,.mis-global-result:hover,.mis-global-focus:hover) { background: #26323c; color: var(--theme-text); }
html[data-theme="dark"] body.ledger-shell .mis-global-page :is(.mis-global-calendar-preview .task,.mis-global-calendar-task) { background: #203d52; color: var(--theme-text); }
html[data-theme="dark"] body.ledger-shell .mis-global-page :is(.mis-global-calendar-preview .task.critical,.mis-global-calendar-task.critical) { background: #3c2424; }
html[data-theme="dark"] body.ledger-shell .mis-global-page :is(.mis-global-calendar-preview .task.high,.mis-global-calendar-task.high) { background: #3c2e19; }

/* The approved Inventory Audits register has a separate design system. */
html[data-theme="dark"] body.ledger-shell .ir-approved {
  --ink: var(--theme-text); --muted: var(--theme-muted); --teal: #73d2c3;
  --teal-dark: #9ae2d7; --mint: #183b38; --wash: var(--theme-bg);
  --line: var(--theme-border); --panel: var(--theme-surface);
  --blue: #92bfea; --amber: #edbd6b; --red: #ef918c;
}
html[data-theme="dark"] body.ledger-shell .ir-approved :is(.toolbar-card,.summaryline,.table-wrap,.tfoot,.mail-workspace,.message-reader,.dialog-body,.mail-preview,.attach-pack,.review-list section) {
  background: var(--theme-surface); color: var(--theme-text); border-color: var(--theme-border);
}
html[data-theme="dark"] body.ledger-shell .ir-approved :is(.register-table th,.mail-list-head,.dialog-head,.dialog-foot,.message-list,.scopebar,.view.active,.mail-item.active,.choice:has(input:checked),.case-option:has(input:checked)) {
  background: var(--theme-surface-2); color: var(--theme-text); border-color: var(--theme-border);
}
html[data-theme="dark"] body.ledger-shell .ir-approved .register-table td { background: var(--theme-surface); color: var(--theme-text); border-color: var(--theme-border); }
html[data-theme="dark"] body.ledger-shell .ir-approved .register-table tbody tr:not(.group-row):hover td { background: var(--theme-surface-2); }
html[data-theme="dark"] body.ledger-shell .ir-approved .group-row td { background: #203d39 !important; color: #a8e1d7; border-color: var(--theme-border) !important; }
html[data-theme="dark"] body.ledger-shell .ir-approved :is(.btn,.actions .btn,.mailtab,.choice,.case-option,.column-choice,.attach-row,.link-banner,.mis-global-result) {
  background: var(--theme-surface-2); color: var(--theme-text); border-color: var(--theme-border);
}
html[data-theme="dark"] body.ledger-shell .ir-approved :is(.btn.primary,.btn.teal,.mailtab.active) { background: #286185; color: #fff; border-color: #286185; }
html[data-theme="dark"] body.ledger-shell .ir-approved :is(.field input,.field select,.field textarea,.input,.mini-field select) { background: var(--theme-input); color: var(--theme-text); border-color: var(--theme-border); }
html[data-theme="dark"] body.ledger-shell .ir-approved :is(.field label,.label,.mini-field label,.customer-meta,.scope,.scope small,.subcaption,.rule-note,.summaryline,.tfoot,.customer-name,.message-meta dd,.mail-body,.record-foot strong) { color: var(--theme-muted); }
html[data-theme="dark"] body.ledger-shell .ir-approved :is(.customer-name,.summary-pills strong) { color: var(--theme-text); }
html[data-theme="dark"] body.ledger-shell .ir-approved :is(.review-tag,.minilink,.mail-list-head) { color: #8dded1; }
html[data-theme="dark"] body.ledger-shell .ir-approved dialog { background: var(--theme-surface); color: var(--theme-text); }

html[data-theme="dark"] body.ledger-shell .fm :is(.fm-scope-item.is-active,.fm-pager .is-active) { background: #285574; color: #fff; }

/* Report controls are part of the application; generated previews keep their canvas. */
html[data-theme="dark"] body.ledger-shell .report-workspace .report-summary-grid>div { background: var(--theme-surface-2); border-color: var(--theme-border); }
html[data-theme="dark"] body.ledger-shell .report-workspace .report-summary-grid :is(span,b,small,b i) { color: var(--theme-text); }
html[data-theme="dark"] body.ledger-shell .report-workspace .report-summary-grid :is(span,small,b i) { color: var(--theme-muted); }
html[data-theme="dark"] body.ledger-shell .report-workspace .report-summary-grid b.is-good { color: #75cba0; }
html[data-theme="dark"] body.ledger-shell .report-workspace .report-summary-grid b.is-bad { color: #ef918c; }
html[data-theme="dark"] body.ledger-shell .report-workspace .report-summary-grid b.is-pending { color: #edbd6b; }
html[data-theme="dark"] body.ledger-shell :is(.report-panel-head,.report-control-panel .report-panel-head,.report-udin-panel .report-panel-head,.report-dispatch-panel .report-panel-head) {
  background: var(--theme-surface-2); border-color: var(--theme-border);
}
html[data-theme="dark"] body.ledger-shell :is(.report-panel-head h3,.report-field-label,.report-context-meta b,.report-readiness-columns h4,.report-readiness-columns p,.report-mail-routing dd,.report-route-row b) { color: var(--theme-text); }
html[data-theme="dark"] body.ledger-shell :is(.report-context-meta,.report-readiness-columns .report-muted-copy,.report-readiness-columns section,.report-history-details dt) { color: var(--theme-muted); }
html[data-theme="dark"] body.ledger-shell :is(.report-readiness-columns section,.report-dispatch-record,.report-history-marker,.report-mail-routing,.report-email-attachment,.report-confirm) { background: var(--theme-surface-2); border-color: var(--theme-border); }

/* MIS communications has page-local styles in addition to the shared MIS sheet. */
html[data-theme="dark"] body.ledger-shell .mis-comm-page {
  --mis-ink: var(--theme-text); --mis-good: #75cba0; --mis-warn: #edbd6b;
  --mis-bad: #ef918c; --mis-primary-dark: #82d8ce;
}
html[data-theme="dark"] body.ledger-shell .mis-comm-page :is(.mis-comm-tile,.mis-comm-tile.is-lead,.mis-conv-msg,.mis-conv-msg.is-outbound,.mis-conv-files,.mis-conv-file,.mis-ws-main,.mis-ws-side,.ledger-btn:not(.ledger-btn-primary)) {
  background: var(--theme-surface); color: var(--theme-text); border-color: var(--theme-border);
}
html[data-theme="dark"] body.ledger-shell .mis-comm-page :is(.mis-seg,.mis-conv-av,.mis-conv-dir) { background: var(--theme-surface-2); color: var(--theme-text); }
html[data-theme="dark"] body.ledger-shell .mis-comm-page .mis-seg .nav-link.active { background: #285574; color: #fff; }
html[data-theme="dark"] body.ledger-shell .mis-comm-page :is(.mis-conv-text,.mis-comm-tile.is-lead .mis-comm-tile-v) { color: var(--theme-text); }

html[data-theme="dark"] body.ledger-shell .mis-communications-page { color: var(--theme-text); }
html[data-theme="dark"] body.ledger-shell .mis-communications-page :is(.mis-comm-btn:not(.primary):not(.ghost),.mis-comm-nav,.mis-comm-metrics a,.mis-comm-card,.mis-comm-tabs,.mis-comm-footer,.mis-comm-popover,.mis-comm-drawer,.mis-comm-modal,.mis-comm-drawer-body pre) {
  background: var(--theme-surface); color: var(--theme-text); border-color: var(--theme-border);
}
html[data-theme="dark"] body.ledger-shell .mis-communications-page :is(.mis-comm-table th,.mis-comm-controls,.mis-comm-permission) { background: var(--theme-surface-2); color: var(--theme-text); border-color: var(--theme-border); }
html[data-theme="dark"] body.ledger-shell .mis-communications-page :is(.mis-comm-table tbody tr:hover,.mis-comm-nav a:hover) { background: #26323c; }

html[data-theme="dark"] body.ledger-shell :is(.report-udin-list b,.report-sticky-save>label,.report-route-name b,.report-history-details dd) { color: var(--theme-text); }
html[data-theme="dark"] body.ledger-shell :is(.report-udin-list span,.report-eyebrow,.report-route-name small) { color: var(--theme-muted); }
html[data-theme="dark"] body.ledger-shell .report-udin-list>div { border-color: var(--theme-border); }
