/* AUTO-GENERATED — synced from gdo-design@2.0.0 (sha 2d0ac6c207f21322). DO NOT EDIT. */
/* AUTO-GENERATED by build-tokens.mjs from src/scss/gdo-shell.scss — do not edit dist/ */
/* gdo-design shell chrome — page-level chrome for server-rendered gdo surfaces */
/* (topbar, sidebar, statusbar, palette layout, command palette, flyouts, flash). */
/* Canonical source: this file. Emitted as dist/shell.css by build-tokens.mjs and */
/* distributed to css consumers (gdo-api, gdo-status, gdo-extension) by the */
/* publisher. Lifted from gdo-api's gdo-palette.css + components.css per the */
/* design-system-distribution standard — do not reintroduce per-surface copies. */
/* */
/* Every var() here resolves to tokens.json (enforced by check-token-coverage). */
/* Chrome dimensions are role tokens (--gdo-topbar-height, --gdo-sidebar-width, */
/* --gdo-sidebar-collapsed-width, --gdo-statusbar-height) so themes may re-skin */
/* the chrome geometry as well as its colors. */

/* ============================================================
   1. PAGE BASE
   ============================================================ */

html,
body {
  min-height: 100%;
}

/* Theme flash guard: the head theme runtime adds .no-transition on <html> before
   first paint (and the load handler removes it after ~50ms), so the initial theme
   colours appear instantly instead of fading in. */
html.no-transition,
html.no-transition * {
  transition: none !important;
}

body {
  margin: 0;
  background: var(--gdo-bg-page);
  color: var(--gdo-text-primary);
  font-family: var(--gdo-type-family-sans);
}

body.sidebar-collapsed {
  --gdo-sidebar-width: var(--gdo-sidebar-collapsed-width);
}

/* Inline code (global element styling for chrome-ful pages) */
code {
  background: var(--gdo-code-bg);
  color: var(--gdo-code-text);
  padding: 0.15em 0.45em;
  border-radius: var(--gdo-radius-1);
  font-size: 0.875em;
  font-family: var(--gdo-type-family-code);
}

pre code {
  background: none;
  padding: 0;
  font-size: inherit;
}

/* ============================================================
   2. TOPBAR CHROME
   ============================================================ */

.gdo-topbar-chrome {
  position: sticky;
  top: 0;
  z-index: var(--gdo-z-sticky);
  display: flex;
  align-items: center;
  gap: var(--gdo-space-1);
  height: var(--gdo-topbar-height);
  padding: 0 var(--gdo-space-3);
  /* Dedicated topbar-bg role tokens: invariant brand gradient in BOTH light and
     dark, with --gdo-topbar-text (canonically white) as the bar's ink so the
     brand text/buttons keep strong contrast. A theme may override
     --gdo-topbar-bg-from/-to and --gdo-topbar-text together to re-skin the bar
     (e.g. a paper-flat bar with dark ink); commemorative themes instead paint a
     flag via [data-gdo-banner]. */
  background: linear-gradient(135deg, var(--gdo-topbar-bg-from) 0%, var(--gdo-topbar-bg-to) 100%);
  color: var(--gdo-topbar-text);
}

/* Commemorative flag banner: when the active theme resolves a banner, the
   theme-apply script sets [data-gdo-banner] on <html> and theme-banners.css
   defines --gdo-banner-image. The flag paints behind the bar content with a
   left-weighted scrim so the brand text + action buttons stay legible. */
:root[data-gdo-banner] .gdo-topbar-chrome { position: relative; isolation: isolate; }
:root[data-gdo-banner] .gdo-topbar-chrome > * { position: relative; z-index: 1; }
:root[data-gdo-banner] .gdo-topbar-chrome::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--gdo-banner-image);
  background-size: cover;
  background-position: center;
}
:root[data-gdo-banner] .gdo-topbar-chrome::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.32) 45%, rgba(0, 0, 0, 0.12) 100%);
}

.gdo-topbar-toggle,
.gdo-topbar-btn {
  background: none;
  border: none;
  color: var(--gdo-topbar-text);
  border-radius: var(--gdo-radius-1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--gdo-motion-fast), color var(--gdo-motion-fast), opacity var(--gdo-motion-fast);
  text-decoration: none;
  line-height: 1;
}

.gdo-topbar-toggle {
  width: 2rem;
  height: 2rem;
  padding: 0.25rem;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.gdo-topbar-btn {
  position: relative;
  padding: 0.35rem 0.5rem;
  font-size: 1.1rem;
}

.gdo-topbar-toggle:hover,
.gdo-topbar-btn:hover {
  background: var(--gdo-topbar-hover-bg);
  color: var(--gdo-topbar-text);
}

.gdo-topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--gdo-space-1);
  color: var(--gdo-topbar-text);
  text-decoration: none;
  font-size: var(--gdo-type-size-lg);
  font-weight: var(--gdo-type-weight-bold);
  letter-spacing: var(--gdo-type-letter-spacing);
}

.gdo-topbar-brand:hover {
  color: var(--gdo-topbar-text);
  text-decoration: none;
}

.gdo-topbar-brand img {
  height: 28px;
  width: auto;
}

.gdo-topbar-workspace {
  margin-left: var(--gdo-space-0);
  color: var(--gdo-topbar-text-muted);
  font-size: var(--gdo-type-size-sm);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 280px;
}

.gdo-topbar-spacer {
  flex: 1;
  min-width: 0;
}

.gdo-topbar-actions {
  display: flex;
  align-items: center;
  gap: var(--gdo-space-0);
}

.gdo-topbar-divider {
  width: 1px;
  height: 24px;
  margin: 0 var(--gdo-space-0);
  background: var(--gdo-topbar-divider);
  flex-shrink: 0;
}

.gdo-topbar-btn.gdo-status-connected {
  color: var(--gdo-status-success);
}

.gdo-topbar-btn.gdo-status-disconnected {
  color: var(--gdo-topbar-text-muted);
}

.gdo-topbar-btn.mcp-inactive {
  opacity: var(--gdo-state-disabled-opacity);
}

.gdo-topbar-btn.mcp-inactive:hover {
  opacity: 0.8;
}

.topbar-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 8px;
  height: 8px;
  border-radius: var(--gdo-radius-pill);
  background: var(--gdo-status-danger);
}

/* ============================================================
   3. SIDEBAR CHROME
   ============================================================ */

.gdo-sidebar-chrome {
  position: fixed;
  top: var(--gdo-topbar-height);
  left: 0;
  bottom: 0;
  z-index: calc(var(--gdo-z-sticky) - 10);
  display: flex;
  flex-direction: column;
  width: var(--gdo-sidebar-width);
  background: var(--gdo-bg-surface);
  border-right: 1px solid var(--gdo-border);
  overflow: hidden;
  transition: width 0.15s ease, transform 0.15s ease;
}

.gdo-sidebar-chrome.collapsed {
  width: var(--gdo-sidebar-collapsed-width);
}

.gdo-sidebar-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: var(--gdo-space-1) 0;
}

.gdo-sidebar-group {
  display: flex;
  flex-direction: column;
}

.gdo-sidebar-group + .gdo-sidebar-group {
  margin-top: var(--gdo-space-0);
}

.gdo-sidebar-group-label {
  margin-top: var(--gdo-space-0);
  padding: var(--gdo-space-0) var(--gdo-space-3);
  color: var(--gdo-text-muted);
  font-size: var(--gdo-type-size-xs);
  font-weight: var(--gdo-type-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.gdo-sidebar-chrome.collapsed .gdo-sidebar-group-label {
  visibility: hidden;
  height: 0;
  padding: 0;
  margin: 0;
}

.gdo-sidebar-item {
  display: flex;
  align-items: center;
  gap: var(--gdo-space-1);
  min-height: 2rem;
  padding: 0.45rem var(--gdo-space-3);
  border-left: 3px solid transparent;
  color: var(--gdo-text-secondary);
  font-size: var(--gdo-type-size-sm);
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--gdo-motion-fast), color var(--gdo-motion-fast), border-color var(--gdo-motion-fast);
}

.gdo-sidebar-item:hover {
  background: var(--gdo-bg-surface-raised);
  color: var(--gdo-text-primary);
  text-decoration: none;
}

.gdo-sidebar-item.active {
  border-left-color: var(--gdo-bg-action-alt);
  background: var(--gdo-bg-action-soft);
  color: var(--gdo-bg-action-alt);
  font-weight: var(--gdo-type-weight-medium);
}

.gdo-sidebar-item i {
  width: 1.4rem;
  text-align: center;
  flex-shrink: 0;
  font-size: 1.05rem;
  opacity: 0.8;
}

.gdo-sidebar-item.active i {
  opacity: 1;
}

.nav-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-badge {
  margin-left: auto;
  flex-shrink: 0;
  border-radius: var(--gdo-radius-pill);
  background: var(--gdo-bg-action-alt);
  color: var(--gdo-text-on-action);
  font-size: var(--gdo-type-size-xs);
  line-height: 1;
  padding: 0.12rem 0.42rem;
}

.gdo-sidebar-chrome.collapsed .gdo-sidebar-item {
  justify-content: center;
  padding-left: 0;
  padding-right: 0;
  border-left-width: 0;
}

.gdo-sidebar-chrome.collapsed .nav-label,
.gdo-sidebar-chrome.collapsed .nav-badge {
  display: none;
}

.gdo-sidebar-footer {
  border-top: 1px solid var(--gdo-border);
  padding: var(--gdo-space-1) 0;
  flex-shrink: 0;
  font-size: var(--gdo-type-size-xs);
  color: var(--gdo-text-muted);
}

.pulse-row {
  display: flex;
  align-items: center;
  gap: var(--gdo-space-1);
  padding: 0.3rem var(--gdo-space-3);
}

.pulse-icon {
  width: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pulse-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pulse-value {
  margin-left: auto;
  color: var(--gdo-text-secondary);
  font-weight: var(--gdo-type-weight-medium);
  white-space: nowrap;
}

.gdo-sidebar-chrome.collapsed .pulse-label,
.gdo-sidebar-chrome.collapsed .pulse-value {
  display: none;
}

.gdo-sidebar-chrome.collapsed .pulse-row {
  justify-content: center;
  padding: 0.3rem 0;
}

/* ============================================================
   4. STATUS DOTS (chrome indicator dots)
   `.gdo-status-dot` belongs to the GdoStatusDot component
   (components.css) — shell chrome uses `.gdo-statusbar-dot` only.
   ============================================================ */

.gdo-statusbar-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--gdo-text-muted);
}

.gdo-statusbar-dot.healthy,
.gdo-statusbar-dot.running { background: var(--gdo-status-success); }

.gdo-statusbar-dot.warning,
.gdo-statusbar-dot.loading { background: var(--gdo-status-warning); }

.gdo-statusbar-dot.error { background: var(--gdo-status-danger); }

.gdo-statusbar-dot.complete { background: var(--gdo-status-info); }

/* ============================================================
   5. MAIN LAYOUT + PALETTE STRUCTURE
   ============================================================ */

.gdo-main {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--gdo-topbar-height));
  margin-left: var(--gdo-sidebar-width);
  background: var(--gdo-bg-page);
  transition: margin-left 0.15s ease;
}

/* No chrome (logged out / public / embed): there is no fixed sidebar or topbar,
   so .gdo-main must not inherit their offsets — otherwise content is pushed
   right by the sidebar width and shortened by the topbar height, rendering
   off-centre. Fill the viewport and centre instead. */
body.gdo-no-chrome .gdo-main {
  margin-left: 0;
  min-height: 100vh;
}

.gdo-palette {
  flex: 1;
  min-height: 0;
  display: flex;
  background: var(--gdo-bg-page);
}

.gdo-palette-viewer {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.gdo-palette-content {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

/* Layout variants — modifier classes on .gdo-palette controlling page structure */

/* Dashboard: padded scrollable content */
.gdo-palette.gdo-layout--dashboard > .gdo-palette-viewer > .gdo-palette-content {
  overflow-y: auto;
  padding: var(--gdo-space-4);
}

/* List: centered max-width with padding */
.gdo-palette.gdo-layout--list > .gdo-palette-viewer > .gdo-palette-content {
  overflow-y: auto;
}

/* Contained: the mounted domain app owns every internal scroll region. This
   is the reusable shell contract for settings and future split-pane tools. */
.gdo-palette.gdo-layout--contained > .gdo-palette-viewer > .gdo-palette-content {
  overflow: hidden;
  padding: 0;
}
.gdo-palette.gdo-layout--contained > .gdo-palette-viewer > .gdo-palette-content > [data-app] {
  display: block;
  height: 100%;
  min-height: 0;
}

/* IDE: panels fill height, no padding, overflow hidden */
.gdo-palette.gdo-layout--ide > .gdo-palette-viewer > .gdo-palette-content {
  overflow: hidden;
  padding: 0;
}

/* Internally-scrolling pages are viewport-bounded: .gdo-main's min-height alone lets content
   grow the page, which breaks every height:100% / flex scroll container
   inside the app (conversations scroll the whole window instead of their
   panel). Pin the main column for IDE and contained palettes. */
.gdo-main:has(> .gdo-palette:is(.gdo-layout--ide, .gdo-layout--contained)) {
  height: calc(100vh - var(--gdo-topbar-height));
  overflow: hidden;
}
body.gdo-no-chrome .gdo-main:has(> .gdo-palette:is(.gdo-layout--ide, .gdo-layout--contained)) {
  height: 100vh;
}

/* With-statusbar: stacks vertically for terminal-style pages */
.gdo-palette.gdo-layout--with-statusbar {
  flex-direction: column;
}

/* List page inner wrapper: max-width centering + padding */
.gdo-layout-list-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--gdo-space-4);
}

/* ============================================================
   6. CONTENT HEADER BAR (toolbar row above the main content area)
   ============================================================ */

.gdo-content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gdo-space-1);
  padding: 0 var(--gdo-space-3);
  min-height: 40px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--gdo-border);
  background: var(--gdo-bg-surface);
}

/* Hide when the block renders empty (no child elements) */
.gdo-content-header:not(:has(*)) {
  display: none;
}

.gdo-content-header h6 {
  margin: 0;
  font-size: var(--gdo-type-size-sm);
  font-weight: var(--gdo-type-weight-medium);
  color: var(--gdo-text-primary);
  display: flex;
  align-items: center;
  gap: var(--gdo-space-0);
  white-space: nowrap;
}

.gdo-content-header h6 i {
  opacity: 0.7;
}

/* ============================================================
   7. SIDE PANEL SYSTEM (nested .gdo-palette with data-palette-id)
   ============================================================ */

.gdo-palette[data-palette-id] {
  flex: 0 0 auto;
  flex-direction: column;
  background: var(--gdo-bg-surface);
  border-right: 1px solid var(--gdo-border);
  position: relative;
  overflow: hidden;
  min-width: 0;
  width: 280px; /* default; overridden by the palette runtime */
}

/* Right panel (after the viewer column) gets left border */
.gdo-palette-viewer ~ .gdo-palette[data-palette-id] {
  border-right: none;
  border-left: 1px solid var(--gdo-border);
}

.gdo-palette-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gdo-space-0);
  padding: 0 var(--gdo-space-1);
  min-height: 34px;
  border-bottom: 1px solid var(--gdo-border);
  background: var(--gdo-bg-surface-raised);
  flex-shrink: 0;
}

.gdo-palette-title {
  flex: 1;
  min-width: 0;
  font-size: var(--gdo-type-size-xs);
  font-weight: var(--gdo-type-weight-medium);
  color: var(--gdo-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gdo-palette-title i {
  margin-right: 0.3em;
  opacity: 0.70;
}

.gdo-palette-actions {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
}

.gdo-palette-toggle {
  background: none;
  border: none;
  color: var(--gdo-text-muted);
  padding: 0.2rem 0.35rem;
  border-radius: var(--gdo-radius-1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  line-height: 1;
  transition: color var(--gdo-motion-fast), background var(--gdo-motion-fast);
}

.gdo-palette-toggle:hover {
  color: var(--gdo-text-primary);
  background: var(--gdo-bg-surface);
}

/* Collapsed label — visible only when panel is narrow / collapsed */
.gdo-palette-collapsed-label {
  display: none;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: var(--gdo-space-3) var(--gdo-space-0);
  color: var(--gdo-text-muted);
  font-size: var(--gdo-type-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Resize handle — draggable edge strip */
.gdo-palette-resize-handle {
  position: absolute;
  top: 0;
  right: -3px;
  bottom: 0;
  width: 6px;
  cursor: col-resize;
  z-index: 20;
  transition: background var(--gdo-motion-fast);
}

.gdo-palette-resize-handle:hover {
  background: var(--gdo-bg-action-alt);
  opacity: 0.45;
}

/* Right panel handle goes on the left edge */
.gdo-palette-viewer ~ .gdo-palette[data-palette-id] .gdo-palette-resize-handle {
  right: auto;
  left: -3px;
}

/* ============================================================
   8. STATUSBAR
   ============================================================ */

.gdo-statusbar {
  display: flex;
  align-items: center;
  gap: var(--gdo-space-1);
  min-height: var(--gdo-statusbar-height);
  padding: 0 var(--gdo-space-3);
  border-top: 1px solid var(--gdo-border);
  background: var(--gdo-bg-surface-raised);
  color: var(--gdo-text-muted);
  font-size: var(--gdo-type-size-xs);
  user-select: none;
}

.gdo-statusbar-section {
  display: flex;
  align-items: center;
  gap: var(--gdo-space-0);
  min-width: 0;
}

.gdo-statusbar-left,
.gdo-statusbar-right {
  flex: 1;
}

.gdo-statusbar-center {
  justify-content: center;
}

.gdo-statusbar-right {
  justify-content: flex-end;
}

.gdo-statusbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.gdo-statusbar-sep {
  width: 1px;
  height: 0.875rem;
  background: var(--gdo-border);
  flex-shrink: 0;
}

/* ============================================================
   9. FLYOUT CHROME + AGENT PICKER
   ============================================================ */

.gdo-flyout-chrome {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--gdo-z-modal);
}

.gdo-flyout-chrome.show {
  display: block;
}

.gdo-flyout-content {
  position: absolute;
  min-width: 280px;
  max-width: min(420px, calc(100vw - 24px));
  background: var(--gdo-bg-page);
  border: 1px solid var(--gdo-border);
  border-radius: var(--gdo-radius-3);
  box-shadow: var(--gdo-shadow-3);
  padding: var(--gdo-space-3);
  color: var(--gdo-text-primary);
}

.gdo-flyout-pointer {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--gdo-bg-page);
  border-top: 1px solid var(--gdo-border);
  border-left: 1px solid var(--gdo-border);
  transform: rotate(45deg);
}

.gdo-flyout-title {
  margin: 0 0 var(--gdo-space-1);
  font-size: var(--gdo-type-size-sm);
  font-weight: var(--gdo-type-weight-semibold);
}

.gdo-flyout-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gdo-flyout-menu li + li {
  margin-top: 0.25rem;
}

.gdo-flyout-menu-item {
  display: flex;
  align-items: center;
  width: 100%;
  gap: var(--gdo-space-1);
  border: none;
  border-radius: var(--gdo-radius-2);
  background: transparent;
  color: var(--gdo-text-primary);
  text-decoration: none;
  padding: 0.55rem 0.7rem;
  text-align: left;
  transition: background var(--gdo-motion-fast), color var(--gdo-motion-fast);
}

.gdo-flyout-menu-item:hover,
.gdo-flyout-menu-item:focus-visible {
  background: var(--gdo-bg-surface-raised);
  color: var(--gdo-text-primary);
  text-decoration: none;
  outline: none;
}

.gdo-flyout-menu-item[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

.gdo-flyout-content .activity-content {
  max-height: 280px;
  overflow-y: auto;
}

.gdo-health-score {
  font-size: var(--gdo-type-size-lg);
  font-weight: var(--gdo-type-weight-bold);
  color: var(--gdo-bg-action-alt);
}

.gdo-health-badge-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.2rem;
  padding: 0 0.35rem;
  border-radius: var(--gdo-radius-pill);
  font-size: var(--gdo-type-size-xs);
  font-weight: var(--gdo-type-weight-bold);
  background: var(--gdo-bg-action-soft);
  color: var(--gdo-bg-action-alt);
}

.gdo-agent-picker {
  position: relative;
}

.gdo-agent-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  z-index: 5;
  background: var(--gdo-bg-page);
  border: 1px solid var(--gdo-border);
  border-radius: var(--gdo-radius-2);
  box-shadow: var(--gdo-shadow-2);
  padding: 0.5rem;
}

.gdo-agent-dropdown.show {
  display: block;
}

.gdo-agent-dropdown-header {
  padding: 0 0.25rem 0.4rem;
}

.gdo-agent-options {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* ============================================================
   10. COMMAND PALETTE OVERLAY
   ============================================================ */

.gdo-palette-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--gdo-z-popover);
  background: var(--gdo-modal-backdrop);
  backdrop-filter: blur(6px);
  padding: 10vh var(--gdo-space-3) var(--gdo-space-3);
  align-items: flex-start;
  justify-content: center;
}

.gdo-palette-overlay.show {
  display: flex;
}

.gdo-palette-overlay > .gdo-palette {
  display: block;
  width: min(720px, 100%);
  max-height: min(70vh, 640px);
  border: 1px solid var(--gdo-border);
  border-radius: var(--gdo-radius-4);
  background: var(--gdo-bg-page);
  box-shadow: var(--gdo-shadow-3);
  overflow: hidden;
}

.gdo-palette-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--gdo-border);
  background: transparent;
  color: var(--gdo-text-primary);
  font-size: var(--gdo-type-size-base);
  padding: 0.9rem 1rem;
  outline: none;
}

.gdo-palette-results {
  max-height: min(52vh, 480px);
  overflow: auto;
  padding: 0.4rem;
}

.gdo-palette-result {
  display: flex;
  align-items: center;
  gap: var(--gdo-space-1);
  border-radius: var(--gdo-radius-2);
  color: var(--gdo-text-primary);
  text-decoration: none;
  padding: 0.7rem 0.8rem;
}

.gdo-palette-result:hover,
.gdo-palette-result:focus-visible,
.gdo-palette-result.active {
  background: var(--gdo-bg-surface-raised);
  color: var(--gdo-text-primary);
  text-decoration: none;
  outline: none;
}

.gdo-palette-result__icon {
  width: 1.4rem;
  text-align: center;
  flex-shrink: 0;
  color: var(--gdo-text-secondary);
}

.gdo-palette-result__label {
  flex: 1;
  min-width: 0;
}

.gdo-palette-result__path {
  font-size: var(--gdo-type-size-xs);
  color: var(--gdo-text-muted);
}

.gdo-palette-empty {
  padding: 1rem;
  color: var(--gdo-text-muted);
  text-align: center;
}

.gdo-palette-footer {
  display: flex;
  justify-content: space-between;
  gap: var(--gdo-space-1);
  border-top: 1px solid var(--gdo-border);
  padding: 0.7rem 1rem;
  font-size: var(--gdo-type-size-xs);
  color: var(--gdo-text-muted);
}

.gdo-palette-footer kbd {
  margin-right: 0.2rem;
}

/* ============================================================
   11. TOASTS + FLASH MESSAGES
   ============================================================ */

.gdo-toast-container {
  position: fixed;
  right: var(--gdo-space-3);
  bottom: calc(var(--gdo-statusbar-height) + var(--gdo-space-3));
  z-index: var(--gdo-z-toast);
}

.gdo-flash-container {
  position: fixed;
  top: calc(var(--gdo-topbar-height) + var(--gdo-space-1));
  right: var(--gdo-space-3);
  z-index: var(--gdo-z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--gdo-space-1);
  max-width: 420px;
}

.gdo-flash-message {
  box-shadow: var(--gdo-shadow-2);
}

/* ============================================================
   12. RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  .gdo-topbar-workspace,
  .gdo-sidebar-group-label,
  .gdo-statusbar-center {
    display: none;
  }

  .gdo-sidebar-chrome {
    transform: translateX(-100%);
    width: 220px;
  }

  .gdo-sidebar-chrome.mobile-open {
    transform: translateX(0);
  }

  .gdo-main {
    margin-left: 0;
  }

  .gdo-flyout-content {
    max-width: calc(100vw - 16px);
  }

  .gdo-palette-overlay {
    padding: var(--gdo-space-3);
    align-items: flex-start;
  }
}
