:root {
    --color-bg: #f4f6f9;
    --color-surface: #fff;
    --color-text: #1f2937;
    --color-muted: #6b7280;
    --color-primary: #2563eb;
    --color-primary-hover: #1d4ed8;
    --color-ok: #16a34a;
    --color-fail: #dc2626;
    --color-border: #e5e7eb;
    --radius: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.04);
    --space: 1rem;
    --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text);
    background: var(--color-bg);
}

h1, h2, h3 { line-height: 1.25; margin: 0 0 .75rem; }
h1 { font-size: 1.5rem; }
h2 { font-size: 1.2rem; }
p  { margin: 0 0 1rem; }
a  { color: var(--color-primary); }
code { background: #eef2f7; padding: .1em .35em; border-radius: 4px; }
img { max-width: 100%; height: auto; }
.muted { color: var(--color-muted); }
