/**
 * Groundfix Studio Theme
 * Crisp, modern dark gallery and creative studio palette.
 * Zero external libraries or CSS frameworks.
 */

:root {
  --bg-app: #0e1117;
  --bg-header: #161922;
  --bg-panel: #161922;
  --bg-panel-sub: #12141c;
  --bg-input: #1f2430;
  --bg-input-hover: #293040;
  --bg-hover: #232937;
  --bg-selected: #2563eb;

  --border-app: #262c3b;
  --border-sub: #1f2430;
  --border-focus: #38bdf8;

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-accent: #38bdf8;

  --accent-primary: #38bdf8;
  --accent-hover: #7dd3fc;
  --accent-active: #0284c7;

  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --purple: #a855f7;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --header-height: 48px;
  --footer-height: 36px;
  --tool-rail-width: 48px;
  --sidebar-width: 320px;
}

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

body {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-main);
  background-color: var(--bg-app);
  overflow: hidden;
  user-select: none;
  -webkit-font-smoothing: antialiased;
}

input, select, textarea, button {
  font-family: inherit;
  font-size: 12px;
}

:root { color-scheme: dark; }
:focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 3px; }
button, input, select, textarea { font-size: 13px; }
button { touch-action: manipulation; }
