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

:root {
  /* POST205 light theme — teal-tinted, matched to sign.post205.com SA pages.
     Single theme: dark mode removed. Page bg is a soft sage (not white) so
     cards/surfaces pop above it. */
  --bg: #e7efee;
  --surface: #f7fcfc;
  --surface-raised: #dce8e7;
  --border: #c7d9d7;
  --text: #0b1b1b;
  --text-muted: #41585a;
  --accent: #0e9a9d;
  --accent-dim: rgba(14,154,157,0.1);
  --accent-fg: #ffffff;
  --yellow-dim: rgba(180,130,20,0.1);
  --green-dim: rgba(25,138,76,0.1);
  --red-dim: rgba(220,38,38,0.1);
  --muted-dim: rgba(0,0,0,0.05);
  --red: #dc2626;
  --yellow: #b45309;
  --green: #198a4c;
  --sidebar-width: 200px;
  --rail-width: 280px;
  --radius: 4px;
  /* Spacing scale — use these instead of arbitrary px so rhythm stays consistent. */
  --space-xs: 6px;
  --space-sm: 10px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

html, body { height: 100%; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 14px; line-height: 1.5; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { cursor: pointer; font-family: var(--font); font-size: 14px; border: none; border-radius: var(--radius); }
input, textarea, select { font-family: var(--font); font-size: 14px; background: var(--surface-raised); border: 1px solid var(--border); color: var(--text); border-radius: var(--radius); padding: 6px 10px; width: 100%; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); }
label { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }

@media (max-width: 768px) {
  input, textarea, select { font-size: 16px; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--surface-raised); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--border); }
* { scrollbar-width: thin; scrollbar-color: var(--surface-raised) transparent; }
