/* Document canvas belongs to the theme too: a short page or an iframe must not
   expose the browser's light root below the content. Email/print previews are
   separate documents and deliberately retain their own presentation. */
@media screen {
 html:is(.nr-workspace-document,.nr-auth-document){--nr-canvas:#f6f7f9;--nr-surface:#fff;--nr-text:#24262b;--nr-muted:#656b75;--nr-line:#e6e8ed;--nr-hover:#f2f4f7;--nr-bad:#b5413c;--nr-bad-bg:#fdf0ee;background:var(--nr-canvas)!important;color-scheme:light;min-height:100%}
 html:is(.nr-workspace-document,.nr-auth-document).dark-mode{--nr-canvas:#1b1e24;--nr-surface:#252930;--nr-text:#e7e9ee;--nr-muted:#a4adbb;--nr-line:#363c46;--nr-hover:#2c323b;--nr-bad:#e99b93;--nr-bad-bg:#452e2d;color-scheme:dark}
 html.nr-panel-document{background:var(--nr-surface)!important}
 html.nr-workspace-document body.nr-workspace{--page:var(--nr-canvas)!important;--surface:var(--nr-surface)!important;--text:var(--nr-text)!important;--muted:var(--nr-muted)!important;--line:var(--nr-line)!important;--hover:var(--nr-hover)!important;min-height:100vh!important;min-height:100dvh!important}
 body.nr-workspace.nr-panel-view{background:var(--surface)!important;min-height:100vh!important;min-height:100dvh!important}
 body.nr-workspace.nr-panel-view .pv-main{background:var(--surface)!important;min-height:100vh!important;min-height:100dvh!important}
 body.nr-workspace .nr-detail-drawer,body.nr-workspace .nr-detail-frame{background:var(--surface)!important;color:var(--text)!important;color-scheme:inherit}
 body.nr-workspace :is(.panel,.form-panel,.form-box,.box,.request-box,.lookup-card,.nr-report-card,.nr-password-card,.nr-workspace-modal,.nr-workspace-modal-body,.nr-workspace-modal footer){color:var(--text);border-color:var(--line)}
 body.nr-workspace :is(.empty,.empty-state,.pv-empty-state){background:transparent;color:var(--muted)}
 body.nr-auth{background:var(--nr-canvas)!important;color:var(--nr-text)!important;min-height:100vh;min-height:100dvh;color-scheme:inherit}
 body.nr-auth .card{background:var(--nr-surface)!important;color:var(--nr-text)!important;border-color:var(--nr-line)!important}
 body.nr-auth :is(input,select,textarea){background:var(--nr-surface)!important;color:var(--nr-text)!important;border-color:var(--nr-line)!important}
 body.nr-auth :is(label,.subtitle,.hint,.page-footer){color:var(--nr-muted)!important}
 body.nr-auth .error{background:var(--nr-bad-bg)!important;color:var(--nr-bad)!important;border-color:var(--nr-bad)!important}
}
