/* Shared design contract. Customer themes override values, not component rules. */
:root {
    --color-header: #252a30;
    --color-header-text: #fff;
    --color-text: #252a30;
    --color-muted: #626970;
    --color-surface: #fff;
    --color-canvas: #f5f6f7;
    --color-border: #d8dee3;
    --color-accent: #ffb55c;
    --color-on-accent: #252a30;
    --color-accent-hover: #ffc47f;
    --color-link: #804100;
    --color-selection: #fff3e4;
    --color-focus: #176d88;
    --color-overlay: #000b;
    --color-info: #ecf4f5;
    --color-info-text: #28515a;
    --color-warning: #fff4d9;
    --color-warning-text: #795000;
    --color-error: #fde8e8;
    --color-error-text: #a11919;
    --color-success: #e9f3ec;
    --color-success-text: #2e6342;
    --font-body: "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-heading: var(--font-body);
    --text-small: .8125rem;
    --text-ui: .9375rem;
    --text-body: 1rem;
    --text-reader: 1.0625rem;
    --text-h1: 2rem;
    --text-h2: 1.5rem;
    --text-h3: 1.125rem;
    --line-body: 1.6;
    --line-heading: 1.25;
    --space-1: .25rem;
    --space-2: .5rem;
    --space-3: .75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;
    --space-8: 4rem;
    --radius: .25rem;
    --border: 1px solid var(--color-border);
    --header-height: 4rem;
    --toc-width: 18rem;
    --admin-nav-width: 15rem;
    --page-width: 74rem;
    --reading-width: 78ch;
    --control-height: 2.75rem;
}
