/* ═══════════════════════════════════════════════ */
/* Shared chrome — sidebar + header rules          */
/* Used by both studio.html and flow.html          */
/* ═══════════════════════════════════════════════ */

/* Reset is in reset.css */

:root {
  --bg-root: #08080a;
  --bg-deep: #08080a;
  --bg-sidebar: #0e0e11;
  --bg-surface: #111114;
  --bg-card: #131316;
  --bg-elevated: #1a1a1f;
  --border: #1a1a1f;
  --border-subtle: #141418;
  --border-accent: #252529;
  --text-primary: #e4e4e7;
  --text-secondary: #71717a;
  --text-muted: #3f3f46;
  --accent: #ca8a04;
  --accent-dim: rgba(202, 138, 4, 0.07);
  --accent-gold: #ca8a04;
  --accent-gold-bright: #eab308;
  --accent-gold-dim: rgba(202, 138, 4, 0.15);
  --accent-red: #ef4444;
  --accent-cyan: #22d3ee;
  --accent-green: #5cb85c;
  --teal: #2dd4bf;
  --teal-dim: rgba(45, 212, 191, 0.1);
  --rose: #f43f5e;
  --violet: #8b5cf6;
  --sidebar-w: 180px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Font stacks — two fonts only */
  --font-ui: "Space Grotesk", -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

body {
  font-family: var(--font-ui);
  background: var(--bg-root);
  color: var(--text-primary);
  height: 100vh;
  display: flex;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

/* Sidebar and grid header styles are now in shadow DOM components.
   .cat-section-label is kept here because flow.html uses it directly. */

.cat-section-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 12px 8px 4px;
}

/* ═══════════════════════════════════════════════ */
/* Buttons                                         */
/* ═══════════════════════════════════════════════ */

.btn {
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 10px;
  background: none;
  border: none;
  color: var(--text-muted);
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.12s;
}

.btn:hover {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
}

.btn-muted {
  color: var(--text-muted);
}

.btn[disabled] {
  opacity: 0.3;
  cursor: not-allowed;
}
