/* Menu identity belongs to window chrome; fields and report paper retain their own surface. */
@media screen{
html[data-window-palette]{--window-edge:color-mix(in srgb,var(--window-sheet) 60%,#49645c);--window-ink:#243d40;--window-bar:var(--window-sheet)}
html[data-window-palette] body :is(.record-header,.record-footer,.record-editor-top,.menu-lock-notice>header,.app-help-dialog>.record-editor-top){background:var(--window-bar)!important;color:var(--window-ink)!important;border-color:var(--window-edge)!important}
html[data-window-palette] body :is(.record-header,.record-footer,.record-editor-top,.menu-lock-notice>header,.app-help-dialog>.record-editor-top) :is(h1,h2,h3,.record-symbol,.record-close,.record-editor-close,.menu-lock-close,.subtle,.total){color:var(--window-ink)!important}
html[data-window-palette] body :is(.record-heading,.record-editor-top,.app-help-dialog>.record-editor-top) >button{color:var(--window-ink)!important}
html[data-window-palette] body :is(.record-workspace,.record-editor,.app-help-dialog,.menu-lock-notice,.open-load-monitor,.open-load-confirm){border-color:var(--window-edge)!important}
html[data-window-palette] body :is(.record-table,.cash-catalog-scroll table) th{background:color-mix(in srgb,var(--window-sheet) 45%,white)!important;color:#243d40!important;border-color:var(--window-edge)!important}
html[data-window-palette] body :is(.cash-summary article,.metric){border-top-color:var(--window-edge)!important}
html[data-window-palette] body :is(.record-header,.record-footer) :is(.record-filter-panel,.record-filter-panel summary,.record-footer-hint){color:var(--window-ink)!important}
html[data-window-palette][data-theme=dark]{--window-bar:color-mix(in srgb,var(--window-sheet) 28%,#19313b);--window-ink:#eef5f5}
html[data-window-palette][data-theme=dark] body :is(.record-table,.cash-catalog-scroll table) th{background:var(--window-bar)!important;color:var(--window-ink)!important}
}
