/* Workspace chrome only: page content continues to use the account's app theme. */
.workspace-shell { --workspace-sidebar-width: 240px; --workspace-topbar-height: 72px; }
.workspace-chrome {
  --workspace-surface: light-dark(#fff, #1d1d1d);
  --workspace-soft: light-dark(#f5f6f9, #252525);
  --workspace-text: light-dark(#19243a, #f2f2f3);
  --workspace-muted: light-dark(#626e82, #b0b0b5);
  --workspace-line: light-dark(#e3e7ef, #363638);
  --workspace-scrollbar: light-dark(#8993a3, #737373);
  --workspace-accent: light-dark(#2d56e9, #9ab7ff);
  --workspace-selected: light-dark(#edf2ff, #252d43);
  --workspace-good: light-dark(#176649, #8edbb6);
  --workspace-good-soft: light-dark(#eaf6ef, #21372d);
  --workspace-warning: light-dark(#92500a, #f0c079);
  --workspace-warning-soft: light-dark(#fff4df, #3a2e1c);
  --color-sidebar: var(--workspace-surface);
  --color-sidebar-hover: var(--workspace-soft);
  --color-sidebar-active: var(--workspace-selected);
  --color-content: var(--workspace-text);
  --color-content-secondary: var(--workspace-muted);
  --color-content-tertiary: var(--workspace-muted);
  --color-content-muted: var(--workspace-muted);
  --color-accent: var(--workspace-accent);
  --color-edge: var(--workspace-line);
  --color-edge-soft: var(--workspace-line);
  font-family: "MogDock Signup", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--workspace-text); background: var(--workspace-surface);
  -webkit-font-smoothing: antialiased;
}
.workspace-chrome :focus-visible { outline: 2px solid var(--workspace-accent); outline-offset: 3px; }
.workspace-chrome [hidden] { display: none !important; }
.workspace-sidebar { display: flex; flex-direction: column; height: 100%; min-height: 0; border-right: 1px solid var(--workspace-line); }
.workspace-desktop-sidebar { width: var(--workspace-sidebar-width); }
.workspace-brand { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; padding: 20px 22px 18px; font-size: 23px; line-height: 1.5; font-weight: 700; letter-spacing: -1.1px; white-space: nowrap; }
.workspace-brand img { width: 31px; height: 31px; flex: 0 0 auto; }
.workspace-brand-dot { color: var(--workspace-accent); }
.workspace-nav { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 12px 4px; scrollbar-width: thin; scrollbar-color: var(--workspace-scrollbar) var(--workspace-surface); }
/* Use a four-pixel rail where supported; other browsers retain native thin scrollbars. */
@supports selector(::-webkit-scrollbar) {
  .workspace-nav { scrollbar-width: auto; scrollbar-color: auto; }
  .workspace-nav::-webkit-scrollbar { width: 4px !important; height: 4px !important; background: var(--workspace-surface); }
  .workspace-nav::-webkit-scrollbar-track { background: var(--workspace-surface) !important; }
  .workspace-nav::-webkit-scrollbar-thumb { background: var(--workspace-scrollbar) !important; border-radius: 999px !important; }
  .workspace-nav::-webkit-scrollbar-thumb:hover { background: var(--workspace-muted) !important; }
}
.workspace-nav-sections, .workspace-nav-items, .workspace-nav-subitems { list-style: none; margin: 0; padding: 0; }
.workspace-nav-cluster + .workspace-nav-cluster { position: relative; margin-top: 7px; padding-top: 7px; }
.workspace-nav-cluster + .workspace-nav-cluster::before { content: ""; position: absolute; top: 0; left: 35px; right: 10px; height: 1px; background: var(--workspace-line); }
.workspace-nav-heading { display: flex; align-items: center; justify-content: space-between; gap: 5px; width: calc(100% - 20px); margin: 14px 10px 4px; padding: 0; border: 0; background: none; color: var(--workspace-muted); font-size: 11px; line-height: 1.5; letter-spacing: 1.15px; font-weight: 600; text-transform: uppercase; text-align: left; white-space: nowrap; }
button.workspace-nav-heading { cursor: pointer; }
button.workspace-nav-heading:hover { color: var(--workspace-text); }
.workspace-nav-item { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 32px; margin: 0; padding: 5px 10px; border: 0; border-radius: 7px; background: transparent; color: var(--workspace-muted); font: inherit; font-size: 12px; line-height: 1.5; font-weight: 500; text-align: left; text-decoration: none; cursor: pointer; }
.workspace-nav-item:hover { background: var(--workspace-soft); color: var(--workspace-text); }
.workspace-nav-item[aria-current="page"] { background: var(--workspace-selected); color: var(--workspace-accent); font-weight: 600; }
.workspace-nav-text { flex: 1; min-width: 0; white-space: nowrap; }
.workspace-nav-icon { width: 16px; height: 16px; flex: 0 0 auto; }
.workspace-nav-chevron { width: 12px; height: 12px; flex: 0 0 auto; }
.workspace-nav-count { margin-left: auto; padding: 1px 5px; border-radius: 5px; background: var(--workspace-surface); font-size: 11px; line-height: 1.5; font-weight: inherit; font-variant-numeric: tabular-nums; flex: 0 0 auto; }
.workspace-nav-subitems { padding-left: 25px; }
.workspace-nav-subitem { min-height: 28px; padding: 4px 10px; font-size: 11px; }
.workspace-nav-utilities { margin: 16px 0 0; padding-top: 1px; border-top: 1px solid var(--workspace-line); }
.workspace-sidebar-bottom { flex: 0 0 auto; padding: 14px 22px; }
.workspace-tagline { margin: 0; font-size: 11px; line-height: 1.5; font-weight: 500; color: var(--workspace-muted); letter-spacing: .15px; }
.workspace-user { display: flex; align-items: center; gap: 9px; margin-top: 15px; padding-top: 17px; border-top: 1px solid var(--workspace-line); }
.workspace-avatar { flex: 0 0 auto; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--workspace-selected); color: var(--workspace-accent); font-size: 11px; font-weight: 600; }
.workspace-user-name { font-size: 11px; line-height: 1.5; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-user-role { color: var(--workspace-muted); font-size: 11px; line-height: 1.5; }
.workspace-topbar { display: flex; align-items: center; gap: 16px; position: sticky; top: 0; z-index: 30; min-height: var(--workspace-topbar-height); padding: 12px 32px; border-bottom: 1px solid var(--workspace-line); }
.workspace-identity { display: flex; align-items: center; gap: 11px; min-width: 0; flex: 1; }
.workspace-company-icon { width: 19px; height: 19px; flex: 0 0 auto; }
.workspace-company-logo { width: auto; max-width: 100px; height: 30px; object-fit: contain; }
.workspace-company-name { display: block; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-context { color: var(--workspace-muted); font-size: 12px; white-space: nowrap; }
.workspace-mobile-product { display: none; }
.workspace-topbar-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.workspace-icon-button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--workspace-line); border-radius: 8px; background: var(--workspace-surface); color: var(--workspace-muted); cursor: pointer; flex: 0 0 auto; }
.workspace-icon-button svg { width: 18px; height: 18px; }
.workspace-icon-button:hover { background: var(--workspace-soft); color: var(--workspace-accent); }
.workspace-account-notice { display: inline-flex; padding: 8px; }
.workspace-account-notice > span { width: 8px; height: 8px; border-radius: 50%; background: var(--workspace-warning); }
.workspace-pull-indicator { top: var(--workspace-topbar-height); }
@media (min-width: 1024px) {
  .workspace-content { padding-left: var(--workspace-sidebar-width); }
  .workspace-menu-toggle { display: none; }
}
@media (max-width: 1023px) {
  .workspace-shell { --workspace-topbar-height: 64px; }
  .workspace-topbar { padding: 10px 20px; gap: 12px; }
  .workspace-drawer { max-width: calc(100vw - 32px); }
  .workspace-context { display: none; }
}
@media (max-width: 639px) {
  .workspace-topbar { padding: 10px 12px; gap: 9px; }
  .workspace-topbar-actions { gap: 8px; }
  .workspace-company-icon, .workspace-company-logo, .workspace-profile-link { display: none; }
  .workspace-mobile-product { display: block; font-size: 11px; font-weight: 600; }
  .workspace-company-name { font-size: 11px; color: var(--workspace-muted); font-weight: 400; margin-top: 2px; }
  .workspace-account-notice { padding: 0; }
}
@media (pointer: coarse) {
  .workspace-icon-button { min-width: 44px; min-height: 44px; }
  .workspace-nav-item, button.workspace-nav-heading { min-height: 44px; }
}

@media (prefers-reduced-motion: no-preference) {
  .workspace-nav-item { transition: background .15s, color .15s; }
  .workspace-nav-chevron { transition: transform .2s; }
}
