/* Basisstijl TablePlan, afgeleid van het backoffice-ontwerp (docs/design.md). */

:root {
    --tp-bg: #f6f5f2;
    --tp-surface: #ffffff;
    --tp-surface-muted: #fafaf8;
    --tp-border: #e7e4de;
    --tp-border-strong: #d9d5ce;
    --tp-text: #1b1a17;
    --tp-text-secondary: #55514a;
    --tp-text-muted: #6b675f;
    --tp-text-faint: #8d887f;
    --tp-accent: #1f4d3a;
    --tp-accent-hover: #123326;
    --tp-accent-soft: #a9c2b4;
    --tp-danger: #b42318;

    --tp-radius-lg: 14px;
    --tp-radius-md: 10px;
    --tp-radius-sm: 8px;
    --tp-radius-pill: 999px;

    --tp-font: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --tp-font-display: 'Instrument Serif', Georgia, serif;
}

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

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

a { color: var(--tp-accent); }
a:hover { color: var(--tp-accent-hover); }

h1, h2 {
    font-family: var(--tp-font-display);
    font-weight: 400;
    line-height: 1.15;
    margin: 0 0 .5rem;
}

.tp-card {
    background: var(--tp-surface);
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius-lg);
    padding: 24px;
}

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

.tp-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: var(--tp-radius-pill);
    background: var(--tp-surface-muted);
    border: 1px solid var(--tp-border);
    color: var(--tp-text-secondary);
    font-size: 13px;
}

.tp-button {
    display: inline-block;
    padding: 9px 16px;
    border: 0;
    border-radius: var(--tp-radius-md);
    background: var(--tp-accent);
    color: #fff;
    font: inherit;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}
.tp-button:hover { background: var(--tp-accent-hover); color: #fff; }
