/*
 * core_ui / core-tokens-default.css
 * ---------------------------------------------------------------------
 * Fallback values for every --theme-* custom property this app defines.
 * Loaded BEFORE the tenant's own :root block (injected by the
 * {% theme_style_block %} tag -- see core_ui/services.py and
 * core_ui/templatetags/core_ui_tags.py), so a tenant whose Theme row is
 * missing or incomplete still renders a coherent, readable, neutral page
 * instead of unstyled/invisible content: the tenant's real values simply
 * win the cascade (same selector, later source order) when they're
 * present.
 *
 * Keep this list in lockstep with
 * core_ui.services._CSS_VARIABLE_FIELDS -- one entry here per token that
 * function can emit.
 */
:root {
    --core-touch-min:   44px;
    /* Layering scale: content, raised decoration, sticky chrome, popovers,
       drawers, then transient toasts. Native dialogs use the browser top
       layer, so they intentionally do not consume an authored z-index tier. */
    --core-z-content:   0;
    --core-z-raised:    10;
    --core-z-sticky:    100;
    --core-z-popover:   200;
    --core-z-overlay:   1000;
    --core-z-toast:     1100;
    --theme-accent:      #2f6fed;
    --theme-accent-dark: #1f4fc4;
    --theme-ink:         #14161a;
    --theme-ink-soft:    #454b57;
    --theme-ink-muted:   #6b7280;
    --theme-bg:          #ffffff;
    --theme-bg-alt:      #f6f7f9;
    --theme-bg-sunken:   #eceef2;
    --theme-border:      #e3e6ec;
    --theme-radius:      0px;
    --theme-space-unit:  4px;
    --theme-font-sans:   system-ui, -apple-system, "Segoe UI", sans-serif;
    --theme-font-mono:   ui-monospace, "SF Mono", "Roboto Mono", monospace;

    color-scheme: light;
}
