/* Global system bar: isolated from page-level headers and contextual controls. */
body.workspace-open header.global-system-bar{position:sticky!important;top:0!important;z-index:500!important;display:grid!important;grid-template-columns:minmax(220px,280px) minmax(320px,1fr) auto!important;align-items:center!important;justify-content:stretch!important;gap:20px!important;height:72px!important;min-height:72px!important;padding:0 20px!important;border-bottom:1px solid #e2e8f0!important;background:rgba(255,255,255,.94)!important;box-shadow:none!important;backdrop-filter:blur(18px)!important}
body.workspace-open .global-system-bar svg{fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
body.workspace-open .global-system-bar__workspace{display:flex;min-width:0;align-items:center;gap:10px}
body.workspace-open .workspace-switcher{display:grid;grid-template-columns:40px minmax(0,1fr) 18px;gap:12px;width:100%;min-width:210px;height:48px;align-items:center;padding:4px 8px;border:0;border-radius:14px;background:transparent;color:#0f172a;text-align:left}
body.workspace-open .workspace-switcher:hover,body.workspace-open .workspace-switcher[aria-expanded="true"],body.workspace-open .global-icon-button:hover,body.workspace-open .user-menu-button:hover{background:#f4f0ff;color:#6d4df0}
.workspace-switcher img{width:40px;height:40px;border-radius:50%;object-fit:cover}.workspace-switcher span{display:grid;gap:2px;min-width:0}.workspace-switcher strong{overflow:hidden;font:650 14px/20px Onest,sans-serif;text-overflow:ellipsis;white-space:nowrap}.workspace-switcher small{font:450 12px/16px Onest,sans-serif;color:#64748b}.workspace-switcher>svg{width:18px;height:18px}
body.workspace-open .global-search-trigger{display:flex!important;width:100%;min-width:320px;max-width:560px;height:44px;align-items:center;gap:12px;padding:0 12px 0 15px;border:1px solid #e2e8f0;border-radius:14px;background:#fafbfd;color:#64748b;text-align:left;box-shadow:none!important}body.workspace-open .global-search-trigger:hover{border-color:#d6cbff;background:#fff}body.workspace-open .global-search-trigger:focus-visible{border-color:#7c5cfa;box-shadow:0 0 0 3px rgba(124,92,250,.18)!important}.global-search-trigger svg{width:20px;height:20px;flex:0 0 auto}.global-search-trigger span{overflow:hidden;flex:1;font:450 13px/18px Onest,sans-serif;text-overflow:ellipsis;white-space:nowrap}.global-search-trigger kbd{padding:4px 6px;border:1px solid #e2e8f0;border-radius:7px;background:#fff;color:#64748b;font:700 12px/14px Onest,sans-serif}
body.workspace-open .global-system-bar__cluster{display:flex!important;min-width:0;align-items:center;justify-content:flex-end;gap:12px}body.workspace-open .global-system-bar .topbar-nav-button{display:none!important}
body.workspace-open .global-system-bar [hidden]{display:none!important}
body.workspace-open .system-status-button,body.workspace-open .today-button,body.workspace-open .global-icon-button,body.workspace-open .user-menu-button{display:inline-flex!important;box-sizing:border-box;min-height:42px!important;align-items:center;justify-content:center;border:1px solid #e2e8f0!important;border-radius:12px!important;background:#fff!important;color:#475569!important;box-shadow:none!important}
body.workspace-open .system-status-button{flex:0 0 auto;gap:8px;padding:5px 10px;text-align:left}body.workspace-open .system-status-button>span:not([hidden]){display:grid;gap:1px}.system-status-button b{font:550 12px/16px Onest,sans-serif;color:#0f172a}.system-status-button small{font:450 12px/16px Onest,sans-serif;color:#64748b}.system-status-button svg{width:16px;height:16px}.system-dot{width:9px;height:9px;border-radius:50%;background:#10b981;box-shadow:0 0 0 4px #ecfdf5}.system-status-button[data-tone="warning"] .system-dot{background:#f59e0b;box-shadow:0 0 0 4px #fffbeb}.system-status-button[data-tone="danger"] .system-dot{background:#ef4444;box-shadow:0 0 0 4px #fef2f2}
body.workspace-open .today-button{flex:0 0 auto;gap:10px;padding:0 12px;font:600 13px/18px Onest,sans-serif;color:#475569!important}.today-button b{display:grid;min-width:22px;height:22px;place-items:center;border-radius:999px;background:#f4f0ff;color:#6d4df0;font:700 12px/14px Onest,sans-serif}.global-icon-button{position:relative;flex:0 0 42px!important;width:42px!important;padding:0!important}.global-icon-button svg{width:19px;height:19px}.data-status-button i{position:absolute;right:8px;bottom:8px;width:7px;height:7px;border:2px solid #fff;border-radius:50%;background:#f59e0b}.user-menu-button{flex:0 0 auto;gap:8px;padding:4px 9px!important}.user-menu-button b{display:grid;width:30px;height:30px;place-items:center;border-radius:50%;background:linear-gradient(135deg,#8f68ff,#6337db);color:#fff;font:700 12px/1 Onest,sans-serif}.user-menu-button svg{width:16px;height:16px}
body.workspace-open .global-system-bar .notifications-root{position:relative;display:block!important}body.workspace-open .global-system-bar #notificationsButton{display:grid!important;width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;padding:0!important;place-items:center;border:1px solid #e2e8f0!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important}body.workspace-open .global-system-bar #notificationsButton:hover{background:#f4f0ff!important;color:#6d4df0!important}body.workspace-open .global-system-bar #notificationsButton b{top:-5px!important;right:-5px!important;background:#ef5b5b!important;color:#fff!important;font-size:12px!important}
body.workspace-open .global-page-heading{padding:20px var(--shell-page-x) 0;background:#f6f7fb}body.workspace-open .global-page-heading .eyebrow{margin:0 0 3px;color:#98a2b3;font:600 10px/14px Onest,sans-serif;letter-spacing:.12em}body.workspace-open .global-page-heading h1{margin:0;color:#151a27;font:700 26px/34px Onest,sans-serif;letter-spacing:-.035em}
#global-overlay-root{position:fixed;z-index:700;inset:0;pointer-events:none}#global-overlay-root .global-popover{position:absolute;pointer-events:auto;width:min(340px,calc(100vw - 24px));padding:16px;border:1px solid #e2e8f0;border-radius:16px;background:#fff;box-shadow:0 16px 36px rgba(15,23,42,.16);color:#0f172a}#global-overlay-root .global-popover h2{margin:0 0 12px;font:700 12px/16px Onest,sans-serif;letter-spacing:.04em}#global-overlay-root .global-popover p{margin:0;color:#64748b;font:450 12px/18px Onest,sans-serif}.global-popover-list{display:grid;gap:9px}.global-popover-list div{display:flex;align-items:center;justify-content:space-between;gap:16px;color:#475569;font:450 13px/18px Onest,sans-serif}.global-popover-list b{font-weight:600;color:#0f172a}.global-popover-list .ok{color:#10b981}.global-popover-list .warn{color:#d97706}.global-popover-list .danger{color:#dc2626}.global-popover hr{margin:12px -16px;border:0;border-top:1px solid #eef0f5}.global-popover button{width:100%;min-height:38px;padding:7px 0;border:0;background:transparent;color:#6d4df0;text-align:left;font:600 13px/18px Onest,sans-serif}.global-popover button:hover{color:#5b3fd0}.global-popover button.danger{color:#ef4444}.global-popover .popover-meta{display:flex;justify-content:space-between;margin:-5px 0 12px;color:#98a2b3;font:450 12px/16px Onest,sans-serif}
.global-choice{display:flex!important;align-items:center;justify-content:space-between!important;padding:9px 10px!important;border-radius:10px!important;color:#334155!important}.global-choice.is-selected{background:#f4f0ff!important}.global-choice b{color:#10b981;font-size:12px}.global-segmented{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin:6px 0 12px;padding:4px;border-radius:11px;background:#f8fafc}.global-segmented:has([data-density]){grid-template-columns:repeat(2,1fr)}.global-segmented button{min-height:34px!important;padding:6px!important;border-radius:8px!important;color:#64748b!important;text-align:center!important}.global-segmented button.is-selected{background:#fff!important;color:#6d4df0!important;box-shadow:0 1px 3px rgba(15,23,42,.1)}.global-user-head{display:flex;align-items:center;gap:11px}.global-user-head>b{display:grid;width:38px;height:38px;place-items:center;border-radius:50%;background:linear-gradient(135deg,#8f68ff,#6337db);color:#fff}.global-user-head span{display:grid;gap:2px}.global-user-head strong{font:650 13px/18px Onest,sans-serif}.global-user-head small{color:#64748b;font:450 12px/16px Onest,sans-serif}
body.workspace-open .notifications-tabs{display:flex;max-width:100%;overflow-x:auto;gap:4px;scrollbar-width:none}body.workspace-open .notifications-tabs::-webkit-scrollbar{display:none}body.workspace-open .notifications-tabs button{flex:0 0 auto;min-height:32px;font-size:12px}
.global-data-issues{display:flex;align-items:center;gap:8px;margin:12px -16px -1px;padding:11px 16px 0;border-top:1px solid #eef0f5;color:#10b981;font:600 12px/16px Onest,sans-serif}.global-data-issues i{width:8px;height:8px;border-radius:50%;background:currentColor}.global-data-issues.has-issues{color:#d97706}.data-status-button[data-tone="success"] i{background:#10b981}.data-status-button[data-tone="danger"] i{background:#ef4444}
body.workspace-open[data-ui-density="compact"] .main>.view{padding-top:14px!important}
@media(max-width:1599px){body.workspace-open header.global-system-bar{grid-template-columns:minmax(210px,250px) minmax(320px,1fr) auto!important;gap:12px!important}.system-status-button small{display:none!important}.system-status-button{padding:5px 9px!important}.global-system-bar__cluster{gap:8px!important}}
@media(max-width:1279px){body.workspace-open header.global-system-bar{grid-template-columns:minmax(190px,220px) minmax(260px,1fr) auto!important;padding:0 14px!important;gap:10px!important}.global-search-trigger{min-width:260px!important}.global-help-button{display:none!important}.global-system-bar__cluster{gap:6px!important}}
@media(max-width:1023px){body.workspace-open .main{padding-top:72px!important}body.workspace-open header.global-system-bar{position:fixed!important;top:0!important;right:0!important;left:72px!important;width:auto!important;grid-template-columns:minmax(170px,1fr) 44px auto!important;padding:0 14px!important;gap:10px!important}.workspace-switcher{min-width:0!important}.global-search-trigger{min-width:44px!important;width:44px!important;padding:0!important;justify-content:center}.global-search-trigger span,.global-search-trigger kbd{display:none}.system-status-button>span,.system-status-button>svg{display:none}.today-button span{display:none}body.workspace-open .global-system-bar .global-help-button,body.workspace-open .global-system-bar #quickSettingsButton,body.workspace-open .global-system-bar .data-status-button{display:none!important}.user-menu-button svg{display:none}.global-system-bar__cluster{gap:7px!important}.global-page-heading{padding-top:16px!important}}
@media(max-width:760px){body.workspace-open .main{padding-top:64px!important}body.workspace-open header.global-system-bar{position:fixed!important;top:0!important;right:0!important;left:0!important;height:64px!important;min-height:64px!important;grid-template-columns:minmax(0,1fr) 44px auto!important;padding:0 8px!important;gap:4px!important}.global-system-bar__workspace{gap:4px!important}.global-system-bar .menu-button{display:grid!important;width:44px!important;height:44px!important;min-width:44px!important;padding:0!important;place-items:center}.workspace-switcher{grid-template-columns:32px!important;justify-content:center!important;width:44px!important;min-width:44px!important;height:44px!important;padding:4px!important}.workspace-switcher img{width:32px;height:32px}.workspace-switcher span,.workspace-switcher>svg{display:none}.global-search-trigger{width:44px!important;min-width:44px!important;height:44px!important;padding:0!important}.global-search-trigger svg{width:18px;height:18px}body.workspace-open .global-system-bar .system-status-button,body.workspace-open .global-system-bar .today-button{display:inline-flex!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important}.system-status-button>span,.system-status-button>svg,.today-button>span{display:none!important}.system-status-button .system-dot{display:block!important;width:8px;height:8px}.today-button b{min-width:22px;height:22px;font-size:12px}.global-system-bar #notificationsButton,body.workspace-open .global-system-bar #notificationsButton{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}.user-menu-button{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:4px!important}.user-menu-button b{width:30px;height:30px}.global-system-bar__cluster{gap:2px!important}.global-page-heading{padding:14px 16px 0!important}.global-page-heading h1{font-size:22px!important;line-height:30px!important}#global-overlay-root .global-popover{top:auto!important;right:8px!important;bottom:8px!important;left:8px!important;width:auto!important;max-height:calc(100svh - 80px);overflow:auto;border-radius:20px 20px 16px 16px}body.workspace-open .notifications-panel{position:fixed!important;right:8px!important;bottom:8px!important;left:8px!important;top:auto!important;width:auto!important;max-width:none!important;max-height:calc(100svh - 80px)!important;border-radius:20px 20px 16px 16px!important;overflow:auto!important}#quickCommandModal{z-index:900!important;padding:0!important}#quickCommandModal .quick-command-card{width:100%!important;height:100svh!important;max-height:none!important;border-radius:0!important;padding:18px 16px!important}#quickCommandModal .quick-command-list{max-height:calc(100svh - 220px)!important}.quick-command-head .icon-button{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}}
body.workspace-open .global-system-bar :is(.workspace-switcher,.system-status-button,.today-button,.global-icon-button,.user-menu-button,#notificationsButton)[aria-expanded="true"]{border-color:#d8ceff!important;background:#f4f0ff!important;color:#6d4df0!important}
.global-popover-total{margin-top:3px;padding-top:9px;border-top:1px solid #eef0f5}.quick-command-list button{display:grid!important;grid-template-columns:34px minmax(0,1fr) 18px!important}.quick-command-icon{display:grid;width:30px;height:30px;place-items:center;border-radius:9px;background:#f4f0ff;color:#6d4df0}.quick-command-icon svg{width:17px;height:17px}.quick-command-list button[aria-selected="true"]{border-color:#dcd5ff;background:#f8f6ff}
html body.workspace-open:has(#dashboard) .main>header.topbar.global-system-bar{display:grid!important}
