/* Design tokens: the only colours/fonts/shapes shared UI should use. Defaults = Kiko light; the engine overwrites them
   from the active theme's manifest (static/themes/<id>/manifest.json → --k-<token>). Keep names in sync with
   themes/registry.py (COLOR_TOKENS) and AGENTS.md. */
:root {
    /* colour */
    --k-page: #F7F1E8;            /* page background */
    --k-surface: #ffffff;         /* cards, sheets, inputs */
    --k-surface-2: #f3f4f6;       /* inset/secondary surfaces, ghost buttons */
    --k-text: #1a1a1a;
    --k-muted: #6b7280;
    --k-border: #e8e8e8;
    --k-accent: #1abc9c;          /* brand / primary action */
    --k-accent-2: #16a085;        /* gradient end, pressed */
    --k-link: var(--k-accent);    /* accent used as text (links, active tab labels) */
    --k-on-accent: #ffffff;       /* text on accent */
    --k-good: #16a085; --k-bad: #e74c3c; --k-warn: #d68910;
    --k-accent-soft: rgba(26, 188, 156, .12);
    --k-border-soft: rgba(232, 232, 232, .6);
    /* chrome */
    --k-nav-bg: rgba(247, 241, 232, .92);
    --k-tabbar-bg: rgba(255, 255, 255, .92);
    --k-tabbar-shadow: 0 10px 30px rgba(0, 0, 0, .12);
    --k-backdrop: rgba(17, 20, 24, .45);
    /* type */
    --k-font-body: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --k-font-head: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --k-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --k-head-transform: none;
    --k-head-spacing: normal;
    /* shape */
    --k-radius-card: 18px;
    --k-radius-btn: 10px;
    --k-radius-input: 10px;
    --k-radius-pill: 999px;
    --k-radius-nav: 26px;
    --k-card-border: 1px solid transparent;
    --k-card-shadow: 0 2px 10px rgba(0, 0, 0, .05);
    --k-btn-bg: linear-gradient(135deg, var(--k-accent), var(--k-accent-2));
    --k-btn-border: 0 solid transparent;
    --k-btn-shadow: none;
    --k-focus: 0 0 0 3px rgba(26, 188, 156, .4);
}
