/* HubIQ v0.21.0 */

:root, [data-theme="light"] {
  --bg: #f0f0f0;
  --surface: #ffffff;
  --border: #9a9a9a;
  --text: #1a1a1a;
  --text-muted: #666;
  --accent: #005a9e;
  --accent-hover: #004a82;
  --header-h: 48px;
  --footer-h: 32px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius: var(--radius-md);
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.18);
  --shadow: var(--shadow-sm);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-size-xs: 11px;
  --font-size-sm: 12px;
  --font-size-md: 14px;
  --font-size-lg: 16px;
  --line-height: 1.45;
  --success: #107c10;
  --danger: #c00;
  --warning: #9a6700;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --control-h: 32px;
  --control-sm: 30px;
  --control-icon: 32px;
  --content-gap: 16px;
  /* Menu / dropdown item hover — visible grey on light surfaces */
  --menu-hover: #e2e2e2;
}

[data-theme="dark"] {
  --bg: #1e1e1e;
  --surface: #2d2d2d;
  --border: #444;
  --text: #e0e0e0;
  --text-muted: #aaa;
  --accent: #2a7fd4;
  --accent-hover: #3b9eff;
  --shadow: 0 1px 3px rgba(0,0,0,0.4);
  --success: #4caf50;
  --danger: #f44336;
  --warning: #ffb74d;
  /* Match prior dark-grey menu hover on dark surface */
  --menu-hover: #1e1e1e;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* Clipped, not hidden. `display:none` and `[hidden]` remove an element from the
   accessibility tree, which would silence the live region that uses this. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

