/* One stable header. Navigation floats below it; neither state moves the page. */
.app-shell.gc-shell{
  --gc-header-layout-height:68px;--gc-header-height:var(--gc-header-layout-height);
  --gc-sidebar-left:12px;--gc-sidebar-width:min(264px,calc(100vw - 24px));
  --gc-sidebar-available:max(0px,calc(100dvh - var(--gc-header-height) - 24px));
  --gc-sidebar-max-height:var(--gc-sidebar-available);--gc-sidebar-chrome-height:72px;
  --gc-menu-center:calc(var(--gc-header-height) + 12px + var(--gc-sidebar-available)*.46);
  display:block;min-width:0;
}
.app-shell.gc-shell>.workspace,.app-shell.gc-shell.sidebar-collapsed>.workspace{width:100%;min-width:0;margin-left:0}
.topbar.gc-app-header{
  --gc-header-control-height:36px;--gc-header-control-radius:10px;
  position:sticky;top:0;z-index:90;display:block;flex:none;min-height:0;height:var(--gc-header-layout-height,68px);
  padding:0;border-bottom:1px solid var(--glass-border,#ffffff1a);
  background:var(--glass-light,linear-gradient(145deg,#ffffff06,#ffffff01)),rgba(16,16,18,.9);
  backdrop-filter:blur(16px) saturate(110%);-webkit-backdrop-filter:blur(16px) saturate(110%);
  box-shadow:inset 0 1px 0 #ffffff05,0 5px 18px #00000014;
}
.gc-app-header .gc-header-inner{
  display:flex;align-items:center;gap:14px;width:100%;max-width:1680px;height:100%;min-width:0;
  margin:0 auto;padding:10px 28px;box-sizing:border-box;
}
.gc-app-header .gc-header-menu{display:none}
.gc-app-header .gc-header-brand{display:flex;align-items:center;gap:9px;flex:0 0 auto;min-width:0;min-height:44px;color:var(--ink,#eeeef0);text-decoration:none}
.gc-app-header .gc-header-brand>.brand-mark{width:34px;height:34px;padding:3px;border-radius:9px;box-sizing:border-box}
.gc-app-header .gc-brand-name{display:block;min-width:0}
.gc-app-header .gc-brand-name strong{display:block;font-size:11px;font-weight:650;line-height:1.3;letter-spacing:1.7px;white-space:nowrap}
.gc-app-header .gc-brand-name small{display:block;margin-top:3px;font-size:8px;font-weight:400;line-height:1.3;letter-spacing:1.3px;color:var(--muted,#a6a6ad);white-space:nowrap}
.gc-app-header .gc-space-slot{flex:1 1 auto;min-width:0;max-width:100%}

/* Role choices stay in the same row, with a single moving glass selection. */
.gc-app-header .gc-space-capsule{
  --gc-space-tint:#97979e;position:relative;isolation:isolate;width:var(--space-closed-width,max-content);max-width:100%;height:var(--gc-header-control-height);
  border:1px solid var(--glass-border,#ffffff1a);border-radius:var(--gc-header-control-radius);box-sizing:border-box;overflow:hidden;
  background:var(--glass-light,linear-gradient(145deg,#ffffff05,#ffffff01)),var(--glass-control,#ffffff04);
  color:var(--ink,#eeeef0);box-shadow:inset 0 1px 0 #ffffff05;
  transition:width var(--motion-layout,220ms) var(--motion-ease),border-color var(--motion-interaction,140ms) var(--motion-ease),background-color var(--motion-interaction,140ms) var(--motion-ease);
}
.gc-app-header .gc-space-capsule[data-workspace-tone=warning]{--gc-space-tint:var(--brand-gold,#cfb573)}
.gc-app-header .gc-space-capsule[data-workspace-tone=danger]{--gc-space-tint:#d38178}
.gc-app-header .gc-space-capsule[data-workspace-tone=info]{--gc-space-tint:#6da6d8}
.gc-app-header .gc-space-capsule[data-preview-tone=warning]{--gc-space-tint:var(--brand-gold,#cfb573)}
.gc-app-header .gc-space-capsule[data-preview-tone=danger]{--gc-space-tint:#d38178}
.gc-app-header .gc-space-capsule[data-preview-tone=info]{--gc-space-tint:#6da6d8}
.gc-app-header .gc-space-capsule[data-preview-tone=neutral]{--gc-space-tint:#97979e}
.gc-app-header .gc-space-capsule:is([data-workspace-tone=warning],[data-workspace-tone=danger],[data-workspace-tone=info]):not([data-preview-tone=neutral]),
.gc-app-header .gc-space-capsule:is([data-preview-tone=warning],[data-preview-tone=danger],[data-preview-tone=info]){
  border-color:color-mix(in srgb,var(--gc-space-tint) 32%,var(--glass-border,#ffffff1a));
  background-color:color-mix(in srgb,var(--gc-space-tint) 6%,var(--surface-2,#1b1b1d));
  box-shadow:inset 0 1px 0 #ffffff05,0 0 13px color-mix(in srgb,var(--gc-space-tint) 6%,transparent);
}
.gc-app-header .gc-space-capsule.is-expanded{width:var(--space-expanded-width,var(--space-closed-width));border-color:color-mix(in srgb,var(--gc-space-tint) 35%,var(--glass-border,#ffffff1a))}
.gc-app-header .gc-space-capsule:has(.gc-space-toggle:focus-visible){outline:2px solid var(--brand-gold,#cfb573);outline-offset:2px}
.gc-app-header .gc-space-toggle{
  display:flex;align-items:center;justify-content:flex-start;gap:9px;width:100%;min-width:0;min-height:0;height:100%;padding:0 11px;
  border:0;border-radius:inherit;background:transparent;color:inherit;font:inherit;font-size:12px;font-weight:500;line-height:1.4;white-space:nowrap;cursor:pointer;
  transition:opacity var(--motion-interaction,140ms) var(--motion-ease);
}
.gc-app-header .gc-space-current{display:inline-flex;align-items:center;gap:7px;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gc-app-header .gc-space-current>span:not(.record-state-dot){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gc-app-header .gc-space-toggle>.icon{width:11px;height:11px;flex:0 0 11px;margin-left:auto;opacity:.65}
.gc-app-header .gc-space-current>.icon{width:11px;height:11px;flex:0 0 11px;margin:0;opacity:.65;transform:none}
.gc-app-header .gc-space-capsule :is(.record-state-dot,.gc-space-dot){display:block;flex:0 0 6px;width:6px;height:6px;margin:0;border-radius:50%;background:#d38178;box-shadow:none}
.gc-app-header .gc-space-capsule.is-single>.gc-space-toggle{cursor:default}
.gc-app-header .gc-space-options{
  position:absolute;inset:0 3px;display:flex;align-items:center;gap:3px;min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;
  opacity:0;visibility:hidden;pointer-events:none;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-y;
  transition:opacity var(--motion-interaction,140ms) var(--motion-ease);
}
.gc-app-header .gc-space-options::-webkit-scrollbar{display:none}
.gc-app-header .gc-space-choice{
  position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;min-width:0;min-height:0;height:100%;padding:0 11px;
  border:1px solid transparent;border-radius:calc(var(--gc-header-control-radius) - 3px);background:transparent;color:var(--muted,#a6a6ad);font:inherit;font-size:12px;font-weight:500;line-height:1.4;white-space:nowrap;cursor:pointer;
  transition:color var(--motion-interaction,140ms) var(--motion-ease);
}
.gc-app-header .gc-space-choice:is([aria-selected=true],:hover,:focus-visible){color:var(--ink,#eeeef0)}
.gc-app-header .gc-space-highlight{
  position:absolute;z-index:0;left:0;top:3px;bottom:3px;width:var(--space-highlight-width,0px);border:1px solid color-mix(in srgb,var(--gc-space-tint) 26%,var(--glass-border,#ffffff1a));border-radius:calc(var(--gc-header-control-radius) - 3px);
  background:var(--glass-light,linear-gradient(145deg,#ffffff07,#ffffff02)),color-mix(in srgb,var(--gc-space-tint) 8%,var(--surface-2,#1b1b1d));box-shadow:inset 0 1px 0 #ffffff06;
  transform:translateX(var(--space-highlight-x,0px));pointer-events:none;box-sizing:border-box;
  transition:transform var(--motion-layout,220ms) var(--motion-ease),width var(--motion-layout,220ms) var(--motion-ease);
}
.gc-app-header .gc-space-capsule.is-expanded>.gc-space-toggle{opacity:0;visibility:hidden;pointer-events:none}
.gc-app-header .gc-space-capsule.is-expanded>.gc-space-options{opacity:1;visibility:visible;pointer-events:auto}

/* Trailing controls can give the capsule room without changing header height. */
.gc-app-header .gc-header-actions{display:flex;align-items:center;flex:0 0 auto;min-width:0}
.gc-app-header .dashboard-header-actions{display:flex;align-items:center;flex-wrap:nowrap;gap:7px;min-width:0}
.gc-app-header :is(.dashboard-search-button,.dashboard-quick-trigger){display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:var(--gc-header-control-height);height:var(--gc-header-control-height);padding:7px 10px;border:1px solid transparent;border-radius:var(--gc-header-control-radius);color:var(--muted,#a6a6ad);font-size:11px;font-weight:500;line-height:1.4;white-space:nowrap;text-decoration:none}
.gc-app-header .dashboard-quick-trigger{border-color:var(--glass-border,#ffffff1a);background:var(--glass-control,#ffffff04)}
.gc-app-header :is(.dashboard-search-button,.dashboard-quick-trigger):hover{background-color:#ffffff05;color:var(--ink,#eeeef0);text-decoration:none}
.gc-app-header .dashboard-quick-menu{top:calc(100% + 10px);border-radius:12px}
.gc-app-header .gc-header-clock{flex:0 0 auto;min-width:0;padding-left:13px;border-left:1px solid var(--glass-border,#ffffff1a)}
.gc-app-header time.workspace-current-time{display:flex;align-items:center;gap:7px;margin:0;padding:0;border:0;color:var(--muted,#a6a6ad);font-size:10px;font-weight:400;line-height:1.4;letter-spacing:.02em;white-space:nowrap;font-variant-numeric:tabular-nums}
.gc-app-header .gc-clock-time{color:var(--ink,#eeeef0);font-size:11px}
.gc-app-header .gc-clock-time::before{content:"·";margin-right:7px;color:var(--muted,#a6a6ad)}
.gc-app-header.space-hide-actions .gc-header-actions,.gc-app-header.space-hide-clock .gc-header-clock{display:none}
.gc-app-header .gc-account{position:relative;flex:0 0 44px;min-width:0}
.gc-app-header #gc-account-trigger{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:5px;border:1px solid transparent;border-radius:50%;background:transparent;cursor:pointer}
.gc-app-header #gc-account-trigger:is(:hover,[aria-expanded=true]){background:#ffffff04;border-color:var(--glass-border,#ffffff1a)}
.gc-app-header #gc-account-trigger>.staff-linked-avatar{width:32px;height:32px;flex-basis:32px;max-width:32px;max-height:32px}
.gc-app-header .gc-account-menu{
  position:absolute;top:calc(100% + 10px);right:0;z-index:3;display:flex;flex-direction:column;gap:3px;width:236px;max-width:calc(100vw - 24px);max-height:calc(100dvh - var(--gc-header-height,68px) - 24px);overflow:auto;padding:7px;
  border:1px solid var(--glass-border,#ffffff1a);border-radius:14px;background:var(--glass-light,linear-gradient(145deg,#ffffff07,#ffffff02)),rgba(24,24,26,.97);box-shadow:var(--glass-shadow);
  backdrop-filter:blur(14px) saturate(108%);-webkit-backdrop-filter:blur(14px) saturate(108%);animation:gc-surface-in var(--motion-surface,180ms) var(--motion-ease);
}
.gc-app-header .gc-account-menu[hidden]{display:none!important}
.gc-app-header .gc-account-name{padding:9px 10px 12px;margin-bottom:2px;border-bottom:1px solid var(--glass-border,#ffffff1a);font-size:12px;font-weight:550;line-height:1.5;color:var(--ink,#eeeef0);overflow-wrap:anywhere}
.gc-app-header .gc-account-menu>[role=menuitem]{display:flex;align-items:center;gap:9px;min-width:0;min-height:38px;padding:8px 10px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--muted,#a6a6ad);font:inherit;font-size:12px;text-align:left;cursor:pointer}
.gc-app-header .gc-account-menu>[role=menuitem]>.icon{width:15px;height:15px;flex:0 0 15px}
.gc-app-header .gc-account-menu>[role=menuitem]:hover{background:#ffffff05;color:var(--ink,#eeeef0)}
.gc-app-header .gc-account-menu>[data-action=logout]{color:#d6a09a}
.gc-app-header .gc-account-divider{height:1px;margin:3px 7px;background:var(--glass-border,#ffffff1a)}
.gc-app-header :is(button,a,summary):focus-visible{outline:2px solid var(--brand-gold,#cfb573);outline-offset:2px}
.gc-app-header .gc-space-choice:focus-visible{outline-offset:-2px}

/* The desktop edge handle and short floating sidebar never occupy page space. */
.gc-shell>.gc-menu-edge{
  position:fixed;z-index:86;left:0;top:var(--gc-menu-center);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:30px;min-width:30px;height:min(86px,var(--gc-sidebar-max-height));padding:6px 3px;
  border:1px solid var(--glass-border,#ffffff1a);border-left:0;border-radius:0 11px 11px 0;background:var(--glass-light,linear-gradient(145deg,#ffffff07,#ffffff02)),rgba(22,22,24,.92);color:var(--muted,#a6a6ad);
  box-shadow:inset 0 1px 0 #ffffff05,0 3px 14px #00000020;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);transform:translateY(-50%);cursor:pointer;
  transition:left var(--motion-layout,220ms) var(--motion-ease),color var(--motion-interaction,140ms) var(--motion-ease),border-color var(--motion-interaction,140ms) var(--motion-ease);
}
.gc-shell>.gc-menu-edge>.icon{width:15px;height:15px}
.gc-shell>.gc-menu-edge>.gc-menu-edge-label{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;font-size:9px;font-weight:550;line-height:1.1;letter-spacing:.05em;white-space:nowrap}
.gc-shell>.gc-menu-edge .gc-menu-edge-label>span{display:block;writing-mode:horizontal-tb;text-orientation:upright}
.gc-shell>.gc-menu-edge>.gc-menu-edge-arrow{--gc-menu-hint-step:2px;display:flex;align-items:center;justify-content:center;flex:0 0 13px;width:13px;height:13px;transform:rotate(0deg);transition:transform var(--motion-layout,220ms) var(--motion-ease),translate var(--motion-interaction,140ms) var(--motion-ease);animation:gc-menu-edge-hint calc(var(--motion-layout,220ms)*4) var(--motion-ease) 300ms 2}
.gc-shell>.gc-menu-edge .gc-menu-edge-arrow>.icon{width:13px;height:13px}
.gc-shell>.gc-menu-edge[aria-expanded=true]{left:calc(var(--gc-sidebar-left) + var(--gc-sidebar-width) - 1px)}
.gc-shell>.gc-menu-edge[aria-expanded=true]>.gc-menu-edge-arrow{--gc-menu-hint-step:-2px;transform:rotate(180deg)}
.gc-shell>.gc-menu-edge:is(:hover,:focus-visible)>.gc-menu-edge-arrow{translate:1px 0}
.gc-shell>.gc-menu-edge[aria-expanded=true]:is(:hover,:focus-visible)>.gc-menu-edge-arrow{translate:-1px 0}
@keyframes gc-menu-edge-hint{0%,100%{translate:0}45%{translate:var(--gc-menu-hint-step) 0}}
.gc-shell>.gc-menu-edge:is(:hover,[aria-expanded=true]){color:var(--brand-gold,#cfb573);border-color:#cfb57340;background-color:var(--surface-2,#1b1b1d)}
.gc-shell>.gc-menu-edge:focus-visible,.gc-shell>.gc-sidebar :is(button,a,summary):focus-visible{outline:2px solid var(--brand-gold,#cfb573);outline-offset:2px}
.app-shell.gc-shell>.sidebar.gc-sidebar{
  position:fixed;z-index:85;inset:calc(var(--gc-header-height,68px) + 12px) auto auto var(--gc-sidebar-left);display:flex;flex-direction:column;gap:8px;width:var(--gc-sidebar-width);min-width:0;height:auto;max-height:var(--gc-sidebar-max-height);padding:11px;box-sizing:border-box;
  border:1px solid var(--glass-border,#ffffff1a);border-radius:18px;background:var(--glass-light,linear-gradient(145deg,#ffffff06,#ffffff01)),rgba(20,20,22,.94);color:var(--muted,#a6a6ad);box-shadow:inset 0 1px 0 #ffffff06,0 16px 40px #00000038;
  backdrop-filter:blur(16px) saturate(108%);-webkit-backdrop-filter:blur(16px) saturate(108%);overflow:hidden;
  transform:translateX(calc(-100% - var(--gc-sidebar-left)));opacity:0;visibility:hidden;pointer-events:none;
  transition:transform var(--motion-layout,220ms) var(--motion-ease),opacity var(--motion-interaction,140ms) var(--motion-ease),visibility var(--motion-layout,220ms);
}
.app-shell.gc-shell>.sidebar.gc-sidebar.sidebar-open:not(.sidebar-hidden){transform:translateX(0);opacity:1;visibility:visible;pointer-events:auto}
.gc-sidebar .gc-sidebar-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:0 0 auto;min-height:36px;padding:0 2px 6px 10px;border-bottom:1px solid var(--glass-border,#ffffff1a);font-size:10px;font-weight:550;letter-spacing:.08em;color:var(--muted,#a6a6ad)}
.gc-sidebar .gc-sidebar-heading>button{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:7px;border:0;border-radius:8px;background:transparent;color:inherit}
.gc-sidebar .gc-sidebar-heading>button>.icon{width:15px;height:15px}
.gc-sidebar .gc-sidebar-heading>button:hover{background:#ffffff05;color:var(--ink,#eeeef0)}
.gc-sidebar>nav{flex:0 1 auto;min-height:0;max-height:max(0px,calc(var(--gc-sidebar-max-height) - var(--gc-sidebar-chrome-height)));box-sizing:border-box;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ffffff22 transparent}
.gc-sidebar .nav-item{min-height:42px;margin:0 0 3px;padding:10px;border:1px solid transparent;border-radius:9px;font-size:12px}
.gc-sidebar .nav-item>.icon{width:16px;height:16px;flex:0 0 16px}
.gc-sidebar .nav-heading{padding:15px 10px 0;margin-bottom:8px;font-size:8px;letter-spacing:.12em}
.gc-sidebar .workspace-task-navigation{margin-bottom:3px}
.gc-sidebar .workspace-task-navigation>summary{min-height:42px;padding:10px;gap:11px;border-radius:9px;font-size:12px}
.gc-sidebar .workspace-task-navigation>summary>.icon{width:16px;height:16px;flex:0 0 16px}
.gc-sidebar .workspace-task-navigation>div{margin-left:18px;padding-left:9px}
.gc-sidebar .workspace-task-navigation .nav-item{min-height:38px;font-size:11px}
.gc-shell>.gc-sidebar-backdrop{position:fixed;z-index:82;inset:var(--gc-header-height,68px) 0 0;display:none;margin:0;padding:0;border:0;border-radius:0;background:#00000055;cursor:default}
.gc-shell>.gc-sidebar-backdrop[hidden]{display:none!important}
.gc-navigation-open{overflow:hidden}

@media(min-width:801px){
  .app-shell.gc-shell{--gc-sidebar-max-height:calc(var(--gc-sidebar-available)*.92)}
  .app-shell.gc-shell>.sidebar.gc-sidebar{bottom:calc(12px + var(--gc-sidebar-available)*.08);height:max-content;margin-block:auto}
  .gc-app-header .gc-header-brand{padding-inline-start:6px;box-sizing:border-box}
}
@media(max-width:1100px) and (min-width:1001px){
  .gc-app-header .gc-header-inner{gap:10px;padding-inline:22px}
  .gc-app-header .dashboard-search-button>kbd{display:none}
}
@media(max-width:1000px){
  .app-shell.gc-shell{--gc-header-layout-height:112px}
  .gc-app-header .gc-header-inner{display:grid;grid-template-columns:44px minmax(0,1fr) auto auto;grid-template-rows:44px 44px;align-items:center;gap:8px;padding:8px 20px}
  .gc-app-header .gc-header-brand{grid-row:1;grid-column:1/4;width:max-content;max-width:100%}
  .gc-app-header .gc-account{grid-row:1;grid-column:4;justify-self:end;width:44px}
  .gc-app-header .gc-space-slot{grid-row:2;grid-column:1/3;width:100%;min-width:0}
  .gc-app-header .gc-header-actions{grid-row:2;grid-column:3;justify-self:end}
  .gc-app-header .gc-header-clock{grid-row:2;grid-column:4;justify-self:end;padding-left:10px}
  .gc-app-header time.workspace-current-time{flex-direction:column;align-items:flex-end;gap:2px;font-size:9px}
  .gc-app-header .gc-clock-time{font-size:11px}
  .gc-app-header .gc-clock-time::before{content:none}
  .gc-app-header.space-hide-actions .gc-space-slot{grid-column:1/4}
  .gc-app-header.space-hide-clock .gc-space-slot{grid-column:1/-1}
}
@media(max-width:800px){
  .topbar.gc-app-header{--gc-header-control-height:44px;--gc-header-control-radius:11px}
  .app-shell.gc-shell{--gc-sidebar-chrome-height:86px}
  .gc-app-header .gc-header-inner{padding-inline:12px;column-gap:7px}
  .gc-app-header .gc-header-menu{display:flex;grid-row:1;grid-column:1;align-items:center;justify-content:center;width:44px;height:44px;padding:11px;border:1px solid var(--glass-border,#ffffff1a);border-radius:11px;background:var(--glass-control,#ffffff04);color:var(--muted,#a6a6ad)}
  .gc-app-header .gc-header-menu>.icon{width:18px;height:18px}
  .gc-app-header .gc-header-brand{grid-column:2/4;gap:8px}
  .gc-app-header .gc-header-brand>.brand-mark{width:44px;height:44px;padding:5px;border-radius:var(--gc-header-control-radius)}
  .gc-app-header #gc-account-trigger{padding:0;border-width:0}
  .gc-app-header #gc-account-trigger>.staff-linked-avatar{width:44px;height:44px;flex-basis:44px;max-width:44px;max-height:44px}
  .gc-app-header .gc-brand-name strong{font-size:10px;letter-spacing:1.25px}
  .gc-app-header .gc-brand-name small{font-size:7px;letter-spacing:1.1px}
  .gc-app-header .gc-space-toggle{padding-inline:10px;font-size:11px}
  .gc-app-header .gc-space-choice{padding-inline:10px;font-size:11px}
  .gc-app-header .dashboard-header-actions{gap:3px}
  .gc-app-header :is(.dashboard-search-button,.dashboard-quick-trigger){width:44px;min-width:44px;padding:11px;border:1px solid var(--glass-border,#ffffff1a);background:var(--glass-control,#ffffff04)}
  .gc-app-header .dashboard-search-button>:is(span,kbd),.gc-app-header .dashboard-quick-trigger>span,.gc-app-header .dashboard-quick-trigger>.icon:last-child{display:none}
  .gc-app-header .dashboard-quick-trigger>.icon:first-child{display:block;width:17px;height:17px;transform:none}
  .gc-app-header .gc-header-clock{padding-left:7px}
  .gc-app-header .gc-account-menu>[role=menuitem]{min-height:44px}
  .gc-app-header .dashboard-quick-menu{position:fixed;top:calc(var(--gc-header-height,112px) + 8px);right:12px;max-height:calc(100dvh - var(--gc-header-height,112px) - 20px)}
  .gc-shell>.gc-menu-edge{display:none}
  .gc-shell>.gc-sidebar-backdrop:not([hidden]){display:block}
  .gc-sidebar .gc-sidebar-heading{min-height:44px;padding-bottom:7px}
  .gc-sidebar .gc-sidebar-heading>button{width:44px;height:44px}
  .gc-sidebar .nav-item,.gc-sidebar .workspace-task-navigation>summary,.gc-sidebar .workspace-task-navigation .nav-item{min-height:44px}
}
@media(max-width:360px){
  .gc-app-header .gc-header-inner{padding-inline:10px;column-gap:5px}
  .gc-app-header .gc-header-clock{padding-left:5px}
  .gc-app-header .gc-space-toggle{gap:5px;padding-inline:8px;font-size:10.5px}
  .gc-app-header .gc-space-current{gap:5px}
  .gc-app-header .gc-space-choice{gap:5px;padding-inline:6px;font-size:10.5px}
  .gc-app-header .dashboard-header-actions{gap:2px}
}
@media(min-width:801px) and (max-height:260px){
  .gc-shell>.gc-menu-edge{gap:2px;padding-block:3px}
  .gc-shell>.gc-menu-edge>.gc-menu-edge-label{gap:0;font-size:8.5px;line-height:1}
  .gc-shell>.gc-menu-edge>.gc-menu-edge-arrow,.gc-shell>.gc-menu-edge .gc-menu-edge-arrow>.icon{width:11px;height:11px;flex-basis:11px}
}
/* Every desktop page follows the estate header's visible brand/avatar edges.
   Keep the existing 1680px frame and remove dashboard-only side reservations. */
@media(min-width:801px){
  .app-shell.gc-shell{--gc-page-gutter:34px}
  .app-shell.gc-shell>.workspace>.main-content{padding-inline:var(--gc-page-gutter)}
  .app-shell.gc-shell>.workspace>.main-content>.dashboard-page{padding-inline:0}
  .gc-app-header .gc-header-inner{padding-inline:calc(var(--gc-page-gutter) - 6px)}
}
@media(min-width:801px) and (max-width:1200px){
  .app-shell.gc-shell{--gc-page-gutter:25px}
}
@media(prefers-reduced-motion:reduce){
  .gc-app-header :is(.gc-space-capsule,.gc-space-toggle,.gc-space-options,.gc-space-choice,.gc-space-highlight),.app-shell.gc-shell>.gc-sidebar,.gc-shell>.gc-menu-edge,.gc-shell>.gc-menu-edge>.gc-menu-edge-arrow{transition:none;animation:none}
  .gc-shell .gc-menu-edge-arrow{translate:0!important}
  .gc-app-header .gc-account-menu{animation:none;translate:none}
}
@media(prefers-reduced-transparency:reduce){
  .topbar.gc-app-header,.app-shell.gc-shell>.gc-sidebar,.gc-shell>.gc-menu-edge,.gc-app-header .gc-account-menu{background:var(--surface-1,#141415);backdrop-filter:none;-webkit-backdrop-filter:none}
  .gc-app-header .gc-space-capsule,.gc-app-header .gc-space-highlight{background-image:none}
}
@media(prefers-contrast:more){
  .topbar.gc-app-header,.app-shell.gc-shell>.gc-sidebar,.gc-shell>.gc-menu-edge,.gc-app-header .gc-account-menu{border-color:#ffffff66;background-color:var(--surface-1,#141415);backdrop-filter:none;-webkit-backdrop-filter:none}
  .gc-app-header .gc-space-capsule,.gc-app-header .gc-space-highlight{border-color:#ffffff66!important}
}
@supports not (backdrop-filter:blur(1px)){
  .topbar.gc-app-header,.app-shell.gc-shell>.gc-sidebar,.gc-shell>.gc-menu-edge,.gc-app-header .gc-account-menu{background-color:var(--surface-1,#141415)}
}
@media(forced-colors:active){
  .topbar.gc-app-header,.app-shell.gc-shell>.gc-sidebar,.gc-shell>.gc-menu-edge,.gc-app-header .gc-account-menu,.gc-app-header .gc-space-capsule,.gc-app-header .gc-space-highlight{background:Canvas;color:CanvasText;border-color:CanvasText;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
  .gc-app-header :is(.gc-space-choice,.gc-header-brand,.gc-brand-name small,.gc-clock-time),.gc-sidebar .nav-item,.gc-sidebar .gc-sidebar-heading{color:CanvasText}
  .gc-app-header .gc-space-capsule :is(.record-state-dot,.gc-space-dot){background:CanvasText}
  .gc-app-header .gc-space-capsule{background:Canvas!important;border-color:CanvasText!important;box-shadow:none!important}
  .gc-app-header .gc-space-highlight,.gc-app-header .gc-space-choice[aria-selected=true]{border-color:Highlight!important}
  .gc-app-header .gc-space-capsule:has(.gc-space-toggle:focus-visible){outline-color:Highlight}
  .gc-app-header :is(button,a,summary):focus-visible,.gc-shell>.gc-menu-edge:focus-visible,.gc-shell>.gc-sidebar :is(button,a,summary):focus-visible{outline-color:Highlight}
}
