/* Owns the authenticated workspace shell and home; module-specific layouts stay scoped to their modules. */
#appScreen.workspace-modern {
  --home-bg:#f4f7fb;--home-surface:#fff;--home-text:#16243c;--home-muted:#65748b;
  --home-border:#dce4ef;--home-blue:#0865e8;--home-sidebar:#082c70;
  --global-bg:var(--home-bg);--global-surface:var(--home-surface);--global-text:var(--home-text);
  --global-border:var(--home-border);--global-sidebar:224px;--global-topbar:64px;
  background:var(--home-bg);color:var(--home-text);
}
#appScreen.workspace-modern .shell-main {background:var(--home-bg)!important;}
#appScreen.workspace-modern .sidebar {background:var(--home-sidebar)!important;border-right:0!important;color:#e9effb!important;}
#appScreen.workspace-modern .sidebar-brand {border-color:#ffffff20!important;min-height:54px!important;}
#appScreen.workspace-modern .sidebar-brand:has(img[src^="/logo-sidebar"])::before {filter:brightness(0) invert(1);}
#appScreen.workspace-modern .sidebar-brand img[src^="/logo-sidebar"] {filter:brightness(0) invert(1);}
#appScreen.workspace-modern .sidebar-search {background:#ffffff0d!important;border-color:#ffffff25!important;color:#c9d6ed!important;}
#appScreen.workspace-modern .sidebar-search input {color:#eef4ff!important;}
#appScreen.workspace-modern .sidebar-search input::placeholder {color:#c3cfe3!important;}
#appScreen.workspace-modern .firm-navigation {display:none!important;}
#appScreen.workspace-modern .sidebar .sidebar-nav {display:flex!important;gap:4px!important;}
#appScreen.workspace-modern .sidebar-nav>.nav-item {display:flex!important;}
#appScreen.workspace-modern .sidebar-nav>.sidebar-nav-group {display:flex!important;flex-direction:column;}
#appScreen.workspace-modern .sidebar .nav-item,
#appScreen.workspace-modern .sidebar .sidebar-group-toggle {
  box-sizing:border-box;position:relative;min-height:42px!important;margin:0!important;padding:10px 12px!important;
  border:0!important;border-radius:6px!important;background:transparent!important;color:#dae5f7!important;
  font-size:13px!important;font-weight:500!important;text-transform:none!important;letter-spacing:0!important;
}
#appScreen.workspace-modern .sidebar-group-toggle>span {display:flex;align-items:center;gap:12px;}
#appScreen.workspace-modern .sidebar-group-toggle svg {width:18px;height:18px;color:#b6c9e7!important;}
#appScreen.workspace-modern .sidebar-group-toggle>svg {width:14px;height:14px;}
#appScreen.workspace-modern .sidebar .nav-label {color:inherit!important;font-size:inherit!important;font-weight:inherit!important;}
#appScreen.workspace-modern .sidebar .nav-icon {background:transparent!important;color:#b6c9e7!important;width:22px!important;min-width:22px!important;}
#appScreen.workspace-modern .sidebar .nav-item:hover,
#appScreen.workspace-modern .sidebar .sidebar-group-toggle:hover {background:#ffffff10!important;color:#fff!important;}
#appScreen.workspace-modern .sidebar .nav-item.active {background:#ffffff14!important;color:#fff!important;}
#appScreen.workspace-modern .sidebar .nav-item.active::before {background:#ffbe00!important;top:7px;bottom:7px;width:3px;}
#appScreen.workspace-modern .sidebar-nav-group.is-expanded>.sidebar-group-toggle {background:#ffffff0c!important;color:#fff!important;}
#appScreen.workspace-modern .sidebar-nav-group .nav-item {font-size:12px!important;margin-left:15px!important;width:calc(100% - 15px)!important;padding-left:16px!important;}
#appScreen.workspace-modern .sidebar .account-menu--sidebar {background:var(--home-sidebar)!important;border-top:1px solid #ffffff25!important;padding-top:10px;}
#appScreen.workspace-modern .sidebar .account-pill,
#appScreen.workspace-modern .sidebar #logoutBtn.sidebar-signout {color:#e9effb!important;background:transparent!important;border-color:#ffffff25!important;}
#appScreen.workspace-modern .sidebar .account-pill .avatar {background:#ffffffde;color:#082c70;}
#appScreen.workspace-modern .sidebar #logoutBtn.sidebar-signout:hover {background:#ffffff10!important;}
#appScreen.workspace-modern .sidebar .sidebar-nav .nav-item[hidden],
#appScreen.workspace-modern .sidebar-nav>.nav-item.user-module-hidden,
#appScreen.workspace-modern .sidebar-nav>.nav-item.commercial-access-hidden,
#appScreen.workspace-modern .sidebar-nav>.sidebar-nav-group.commercial-group-hidden,
#appScreen.workspace-modern .sidebar-nav>.sidebar-nav-group.user-module-group-hidden,
#appScreen.workspace-modern .sidebar-nav>.sidebar-nav-group[hidden] {display:none!important;}

#appScreen.workspace-modern #liquidTopNav {background:var(--home-surface)!important;border-bottom:1px solid var(--home-border)!important;box-shadow:none!important;backdrop-filter:none!important;gap:12px!important;}
#appScreen.workspace-modern .liquid-nav-scroll,#appScreen.workspace-modern .liquid-divider,#appScreen.workspace-modern .liquid-logo {display:none!important;}
#appScreen.workspace-modern .workspace-breadcrumb {display:flex;align-items:center;gap:9px;min-width:0;margin-right:auto;font-size:13px;color:var(--home-muted);white-space:nowrap;}
#appScreen.workspace-modern .workspace-breadcrumb i {font-style:normal;color:#a5b1c3;}
#appScreen.workspace-modern .workspace-breadcrumb b {font-weight:500;overflow:hidden;text-overflow:ellipsis;max-width:210px;}
#appScreen.workspace-modern .shell:not(.dashboard-mode) .workspace-breadcrumb {display:none;}
#appScreen.workspace-modern .shell.dashboard-mode .global-top-search,
#appScreen.workspace-modern .shell.dashboard-mode .oa-launch {display:none!important;}
#appScreen.workspace-modern .global-taxpayer {margin-left:0!important;min-width:0!important;}
#appScreen.workspace-modern #globalTaxpayerToggle {border:1px solid var(--home-border)!important;border-radius:6px!important;background:var(--home-surface)!important;height:38px!important;padding:6px 10px!important;min-width:170px!important;max-width:240px!important;}
#appScreen.workspace-modern #globalTaxpayerToggle b {font-size:12px!important;font-weight:500!important;color:var(--home-text)!important;}
#appScreen.workspace-modern #globalTaxpayerToggle small {font-size:10px!important;}
#appScreen.workspace-modern.firm-workspace #globalTaxpayerToggle small,
#appScreen.workspace-modern.firm-workspace #globalTaxpayerToggle>span {display:none!important;}
#appScreen.workspace-modern .workspace-period {display:flex;gap:4px;align-items:center;}
#appScreen.workspace-modern .workspace-period :is(#portfolioYear,#portfolioMonth) {width:auto;min-width:76px;height:38px!important;min-height:38px!important;padding:6px 10px!important;border:1px solid var(--home-border)!important;border-radius:6px!important;background:var(--home-surface)!important;color:var(--home-text)!important;font:500 12px Inter,system-ui,sans-serif;}
#appScreen.workspace-modern .shell:not(.dashboard-mode) .workspace-period {display:none;}
#appScreen.workspace-modern .liquid-account-short {margin-right:46px!important;width:34px!important;height:34px!important;background:#e4eaf6!important;color:#082c70!important;}
body:has(#appScreen.workspace-modern:not([hidden])) .user-notification-center {top:12px!important;right:21px!important;}
body:has(#appScreen.workspace-modern:not([hidden])) .notification-bell {width:36px;height:36px;border:0;background:transparent;color:var(--global-text);box-shadow:none;border-radius:6px;}

#appScreen.workspace-home-enabled #dashboardView {max-width:1600px!important;padding:28px 26px 36px!important;}
#appScreen.workspace-home-enabled #dashboardView>.welcome-banner,
#appScreen.workspace-home-enabled #dashboardActiveCompany,
#appScreen.workspace-home-enabled #workflowStart,
#appScreen.workspace-home-enabled #dashboardOperationalSummary,
#appScreen.workspace-home-enabled #complianceCenter,
#appScreen.workspace-home-enabled #dashGrid,
#appScreen.workspace-home-enabled .dash-section-head--soon,
#appScreen.workspace-home-enabled .dash-grid--soon,
#appScreen.workspace-home-enabled .dashboard-security-note,
#appScreen.workspace-home-enabled .shell.dashboard-mode #workContext {display:none!important;}
#appScreen.workspace-home-enabled #accountingPortfolioDashboard {display:block!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important;box-shadow:none!important;}
#appScreen.workspace-modern .workspace-home {color:var(--home-text);font-size:13px;line-height:1.5;}
#appScreen.workspace-modern .workspace-home * {box-sizing:border-box;}
#appScreen.workspace-modern .workspace-home h1 {font-size:29px!important;line-height:1.2!important;font-weight:700!important;margin:0 0 7px!important;color:var(--home-text)!important;}
#appScreen.workspace-modern .workspace-home h2 {font-size:16px!important;font-weight:650!important;margin:0!important;color:var(--home-text)!important;}
#appScreen.workspace-modern .workspace-home button {cursor:pointer;}
#appScreen.workspace-modern .workspace-home button:disabled {cursor:default;opacity:.45;}
#appScreen.workspace-modern .workspace-home button:focus-visible,
#appScreen.workspace-modern .sidebar button:focus-visible {outline:2px solid #ffbe00!important;outline-offset:3px!important;}
#appScreen.workspace-modern .workspace-home svg {width:18px;height:18px;flex:none;stroke-width:1.7;}
#appScreen.workspace-modern .home-heading {display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px;}
#appScreen.workspace-modern .home-heading p {margin:0;color:var(--home-muted);font-size:14px;}
#appScreen.workspace-modern .home-heading-actions {display:flex;align-items:center;gap:8px;}
#appScreen.workspace-modern .home-primary {display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:40px!important;padding:9px 16px!important;border:1px solid var(--home-blue)!important;border-radius:6px!important;background:var(--home-blue)!important;color:#fff!important;font-size:13px!important;font-weight:600!important;white-space:nowrap;}
#appScreen.workspace-modern .home-refresh {display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid var(--home-border);border-radius:6px;background:var(--home-surface);color:var(--home-muted);}
#appScreen.workspace-modern .home-kpis {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px;}
#appScreen.workspace-modern .home-kpis>article {display:flex;align-items:center;gap:15px;min-height:108px;padding:19px;border:1px solid var(--home-border);border-radius:8px;background:var(--home-surface);}
#appScreen.workspace-modern .home-kpis>article>span {display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:50%;background:#edf4ff;color:var(--home-blue);}
#appScreen.workspace-modern .home-kpis>article>span svg {width:23px;height:23px;}
#appScreen.workspace-modern .home-kpis>article>div {flex:1;min-width:0;}
#appScreen.workspace-modern .home-kpis small {display:block;font-size:12px;color:var(--home-muted);}
#appScreen.workspace-modern .home-kpis b {display:flex;align-items:center;gap:8px;font-size:27px;line-height:1.4;font-weight:650;color:var(--home-text);}
#appScreen.workspace-modern .home-kpis b em {font-size:19px;font-weight:550;font-style:normal;}
#appScreen.workspace-modern .home-kpi-close>span {background:#eaf8f0;color:#139254;}
#appScreen.workspace-modern .home-warning-dot {width:10px;height:10px;border-radius:50%;background:#eea10b;}
#appScreen.workspace-modern .home-progress {display:flex;align-items:center;gap:8px;margin-top:4px;}
#appScreen.workspace-modern .home-progress>span {height:6px;flex:1;border-radius:10px;background:var(--home-border);overflow:hidden;}
#appScreen.workspace-modern .home-progress i {display:block;height:100%;background:#139254;}
#appScreen.workspace-modern .home-progress small {font-size:11px;}
#appScreen.workspace-modern .home-grid {display:grid;grid-template-columns:minmax(0,2.6fr) minmax(255px,1fr);align-items:start;gap:16px;margin-bottom:18px;}
#appScreen.workspace-modern :is(.home-table-panel,.home-attention,.home-route) {min-width:0;border:1px solid var(--home-border);border-radius:8px;background:var(--home-surface);overflow:hidden;}
#appScreen.workspace-modern .home-table-panel>header {display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 18px;border-bottom:1px solid var(--home-border);flex-wrap:wrap;}
#appScreen.workspace-modern .home-filters {display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
#appScreen.workspace-modern .home-filters label {display:flex;align-items:center;gap:7px;margin:0!important;padding:0 10px;border:1px solid var(--home-border);border-radius:6px;height:36px;color:var(--home-muted);}
#appScreen.workspace-modern #portfolioSearch {min-height:0!important;height:32px!important;width:145px;min-width:0;padding:0!important;border:0!important;background:transparent!important;font-size:12px!important;color:var(--home-text)!important;box-shadow:none!important;outline-offset:3px;}
#appScreen.workspace-modern #portfolioStatus {width:156px;min-height:36px!important;height:36px!important;padding:5px 8px!important;border:1px solid var(--home-border)!important;border-radius:6px!important;background:var(--home-surface)!important;font-size:12px!important;color:var(--home-text)!important;}
#appScreen.workspace-modern .home-table-scroll {overflow-x:auto;}
#appScreen.workspace-modern .home-table-scroll table {width:100%;min-width:660px;font-size:12px!important;border-collapse:collapse;}
#appScreen.workspace-modern .home-table-scroll table th {padding:11px 16px!important;background:var(--home-bg);color:var(--home-muted);font-size:11px!important;font-weight:600!important;text-align:left;}
#appScreen.workspace-modern .home-table-scroll table td {padding:14px 16px!important;vertical-align:middle;border-top:1px solid var(--home-border);font-size:12px!important;}
#appScreen.workspace-modern .home-table-scroll table tbody tr:hover {background:var(--home-bg);}
#appScreen.workspace-modern .home-client {display:block!important;width:100%!important;padding:0!important;border:0!important;background:transparent!important;color:var(--home-text);text-align:left!important;min-width:0!important;min-height:0!important;}
#appScreen.workspace-modern .home-client b {display:block;font-size:12px;font-weight:550;line-height:1.45;max-width:230px;}
#appScreen.workspace-modern .home-client small {display:block;color:var(--home-muted);font-size:10px;margin-top:2px;}
#appScreen.workspace-modern .home-status {display:inline-flex;align-items:center;gap:6px;padding:3px 8px;border-radius:20px;background:#eff2f7;color:#607189;font-size:11px;white-space:nowrap;}
#appScreen.workspace-modern .home-status>span {width:7px;height:7px;border-radius:50%;background:#91a0b6;}
#appScreen.workspace-modern .home-status.good {background:#e8f8ef;color:#137c49;}
#appScreen.workspace-modern .home-status.good>span {background:#169c60;}
#appScreen.workspace-modern .home-status.warning {background:#fff5e4;color:#9b6507;}
#appScreen.workspace-modern .home-status.warning>span {background:#eca10b;}
#appScreen.workspace-modern .home-link {display:inline-flex;align-items:center;gap:7px;padding:2px 0!important;border:0;background:transparent;color:var(--home-blue);font-size:12px;font-weight:550;text-align:left!important;min-height:0!important;min-width:0!important;}
#appScreen.workspace-modern .home-link svg {width:14px;height:14px;}
#appScreen.workspace-modern .home-table-panel>footer {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-top:1px solid var(--home-border);color:var(--home-muted);font-size:11px;}
#appScreen.workspace-modern .home-table-panel footer nav {display:flex;align-items:center;gap:8px;}
#appScreen.workspace-modern .home-table-panel footer button {display:grid;place-items:center;width:28px;height:28px;padding:0;border:1px solid var(--home-border);border-radius:4px;background:var(--home-surface);color:var(--home-text);}
#appScreen.workspace-modern .home-empty {padding:30px 20px;text-align:center;color:var(--home-muted);font-size:13px;}
#appScreen.workspace-modern .home-attention>header {padding:18px;border-bottom:1px solid var(--home-border);}
#appScreen.workspace-modern .home-attention article {display:flex;align-items:flex-start;gap:12px;padding:19px 18px;border-bottom:1px solid var(--home-border);}
#appScreen.workspace-modern .home-attention article:last-child {border:0;}
#appScreen.workspace-modern .home-attention-icon {color:var(--home-text);padding-top:3px;}
#appScreen.workspace-modern .home-attention-icon.warning {color:#e49a07;}
#appScreen.workspace-modern .home-attention article b {display:block;font-size:12px;font-weight:550;line-height:1.5;}
#appScreen.workspace-modern .home-attention article small {display:block;color:var(--home-muted);font-size:11px;margin:4px 0 7px;}
#appScreen.workspace-modern .home-attention-empty {display:grid;justify-items:center;gap:8px;padding:30px 20px;text-align:center;color:var(--home-muted);}
#appScreen.workspace-modern .home-attention-empty>svg {width:30px;height:30px;color:#159b60;}
#appScreen.workspace-modern .home-attention-empty b {color:var(--home-text);font-size:13px;font-weight:550;}
#appScreen.workspace-modern .home-attention-empty p {margin:0;font-size:12px;line-height:1.6;}
#appScreen.workspace-modern .home-route {padding:20px;}
#appScreen.workspace-modern .home-route>header {display:flex;justify-content:space-between;align-items:center;gap:10px;}
#appScreen.workspace-modern .home-route header>span {color:var(--home-muted);font-size:12px;}
#appScreen.workspace-modern .home-route ol {display:flex;padding:0;margin:22px 0 20px;list-style:none;}
#appScreen.workspace-modern .home-route li {flex:1;position:relative;text-align:center;}
#appScreen.workspace-modern .home-route li:not(:last-child)::after {content:'';position:absolute;top:17px;left:calc(50% + 23px);right:calc(-50% + 23px);height:1px;background:var(--home-border);}
#appScreen.workspace-modern .home-route li.complete::after {background:#36b575;}
#appScreen.workspace-modern .home-route button {display:flex;flex-direction:column;align-items:center;gap:10px;width:100%;padding:0;border:0;background:transparent;color:var(--home-muted);}
#appScreen.workspace-modern .home-route button:disabled {opacity:1;color:var(--home-muted)!important;}
#appScreen.workspace-modern .home-route button:disabled>b {color:var(--home-muted)!important;}
#appScreen.workspace-modern .home-route button>span {display:grid;place-items:center;width:35px;height:35px;border-radius:50%;background:var(--home-border);color:var(--home-muted);font-size:14px;font-weight:600;}
#appScreen.workspace-modern .home-route button>b {font-size:12px;font-weight:500;}
#appScreen.workspace-modern .home-route li.complete button>span {background:#149c60;color:#fff;}
#appScreen.workspace-modern .home-route li.current button>span {background:var(--home-blue);color:#fff;}
#appScreen.workspace-modern .home-route li.current button>b {color:var(--home-blue);}
#appScreen.workspace-modern .home-route p {margin:0;color:var(--home-muted);font-size:11px;}
#appScreen.workspace-modern .home-source {display:flex;align-items:center;justify-content:flex-end;gap:6px;margin:12px 0 0;color:var(--home-muted);font-size:10px;}
#appScreen.workspace-modern .home-source svg {width:12px;height:12px;}
#appScreen.workspace-modern .home-loading {display:flex;align-items:center;justify-content:center;gap:12px;min-height:230px;padding:24px;border:1px solid var(--home-border);border-radius:8px;background:var(--home-surface);color:var(--home-muted);}
#appScreen.workspace-modern .home-error {flex-wrap:wrap;}
#appScreen.workspace-modern .home-muted {color:var(--home-muted);font-size:11px;}
#appScreen.workspace-modern .workspace-home [hidden] {display:none!important;}

@media(min-width:1101px) {
  #appScreen.workspace-modern .shell:not(.sidebar-collapsed) .sidebar {width:224px!important;}
  #appScreen.workspace-modern .shell:not(.sidebar-collapsed) .shell-main {margin-left:224px!important;padding-top:64px!important;}
  #appScreen.workspace-modern .shell:not(.sidebar-collapsed) #liquidTopNav {left:224px!important;height:64px!important;padding:0 22px!important;}
  #appScreen.workspace-modern .shell.sidebar-collapsed .sidebar-group-toggle {display:flex!important;justify-content:center;padding:8px!important;}
  #appScreen.workspace-modern .shell.sidebar-collapsed .sidebar-group-toggle>span {font-size:0!important;gap:0!important;}
  #appScreen.workspace-modern .shell.sidebar-collapsed .sidebar-group-toggle>svg {display:none!important;}
}
@media(max-width:1350px) {
  #appScreen.workspace-modern .home-grid {grid-template-columns:minmax(0,1fr) 260px;}
  #appScreen.workspace-modern .home-kpis>article {padding:15px;gap:10px;}
  #appScreen.workspace-modern .home-kpis>article>span {width:34px;height:34px;}
  #appScreen.workspace-modern .home-kpis small {font-size:11px;}
  #appScreen.workspace-modern .home-kpis b {font-size:24px;}
}
@media(max-width:1100px) {
  #appScreen.workspace-modern .shell:not(.sidebar-open) .sidebar {transform:translateX(-110%)!important;visibility:hidden!important;pointer-events:none!important;}
  #appScreen.workspace-modern .shell.sidebar-open .sidebar {transform:none!important;visibility:visible!important;pointer-events:auto!important;z-index:1200!important;}
  #appScreen.workspace-modern .home-grid {grid-template-columns:1fr;}
  #appScreen.workspace-modern .home-attention {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
  #appScreen.workspace-modern .home-attention>header {grid-column:1/-1;}
  #appScreen.workspace-modern .workspace-breadcrumb,#appScreen.workspace-modern .workspace-period {display:none;}
  #appScreen.workspace-modern .shell.dashboard-mode .global-top-search {display:flex!important;}
}
@media(max-width:700px) {
  #appScreen.workspace-home-enabled #dashboardView {padding:16px 12px 100px!important;}
  #appScreen.workspace-modern .home-heading {gap:12px;flex-wrap:wrap;margin-bottom:16px;}
  #appScreen.workspace-modern .workspace-home h1 {font-size:24px!important;}
  #appScreen.workspace-modern .home-heading p {font-size:12px;}
  #appScreen.workspace-modern .home-heading-actions {margin-left:auto;}
  #appScreen.workspace-modern .home-kpis {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  #appScreen.workspace-modern .home-kpis>article {padding:12px;min-height:92px;gap:8px;}
  #appScreen.workspace-modern .home-kpis>article>span {width:28px;height:28px;}
  #appScreen.workspace-modern .home-kpis>article>span svg {width:18px;height:18px;}
  #appScreen.workspace-modern .home-kpis small {font-size:10px;}
  #appScreen.workspace-modern .home-kpis b {font-size:23px;}
  #appScreen.workspace-modern .home-kpis b em {font-size:15px;}
  #appScreen.workspace-modern .home-table-panel>header {padding:14px;gap:12px;}
  #appScreen.workspace-modern .home-filters {width:100%;flex-wrap:nowrap;}
  #appScreen.workspace-modern .home-filters label {flex:1;min-width:0;height:40px;}
  #appScreen.workspace-modern #portfolioSearch {width:100%;font-size:16px!important;}
  #appScreen.workspace-modern #portfolioStatus {width:145px;height:40px!important;}
  #appScreen.workspace-modern .home-attention {display:block;}
  #appScreen.workspace-modern .home-route {padding:16px 12px;}
  #appScreen.workspace-modern .home-route header {flex-wrap:wrap;}
  #appScreen.workspace-modern .home-route button>b {font-size:10px;}
  #appScreen.workspace-modern .home-route button>span {width:30px;height:30px;}
  #appScreen.workspace-modern .home-route li:not(:last-child)::after {top:15px;left:calc(50% + 18px);right:calc(-50% + 18px);}
  #appScreen.workspace-modern .home-source {justify-content:center;font-size:9px;}
  body:has(#appScreen.workspace-modern:not([hidden])) .user-notification-center {top:calc(8px + env(safe-area-inset-top))!important;right:12px!important;}
  #appScreen.workspace-modern .workspace-period {display:flex!important;grid-area:3/1/4/5;justify-content:flex-end;}
  #appScreen.workspace-modern .shell:not(.dashboard-mode) .workspace-period {display:none!important;}
  #appScreen.workspace-modern .shell.dashboard-mode #liquidTopNav {grid-template-rows:44px 44px 36px!important;height:calc(156px + env(safe-area-inset-top))!important;}
  #appScreen.workspace-modern .shell.dashboard-mode .shell-main {padding-top:calc(168px + env(safe-area-inset-top))!important;}
  #appScreen.workspace-modern .liquid-account-short {margin-right:0!important;}
}
html[data-theme="dark"] #appScreen.workspace-modern {
  --home-bg:#111827;--home-surface:#192335;--home-text:#e8effa;--home-muted:#a1afc5;
  --home-border:#344158;--home-blue:#6ba6ff;--home-sidebar:#081e48;
}
html[data-theme="dark"] #appScreen.workspace-modern .home-kpis>article>span {background:#253b5a;}
html[data-theme="dark"] #appScreen.workspace-modern .home-kpi-close>span {background:#183d31;color:#6bdba3;}
html[data-theme="dark"] #appScreen.workspace-modern .home-status {background:#2c394f;color:#c6d1e3;}
html[data-theme="dark"] #appScreen.workspace-modern .home-status.good {background:#193d30;color:#83e2b0;}
html[data-theme="dark"] #appScreen.workspace-modern .home-status.warning {background:#47371d;color:#f4c575;}
html[data-theme="dark"] #appScreen.workspace-modern .home-primary {background:#1769e0!important;border-color:#1769e0!important;}
html[data-theme="dark"] #appScreen.workspace-modern .shell-main {background:var(--home-bg)!important;}
html[data-theme="dark"] #appScreen.workspace-modern .home-table-scroll :is(th,td) {background:transparent!important;color:var(--home-text)!important;}
html[data-theme="dark"] #appScreen.workspace-modern .home-table-scroll th {background:var(--home-bg)!important;color:var(--home-muted)!important;}
