/* EKM shared theme tokens — copy of ekmapi/web/static/css/ekm-theme.css (see apply notes in that file) */
/*
 * Applying this theme in an app means ALL of the following — not colors alone:
 *
 * 1) Link/import this file (or a synced copy). Do not reinvent --ek-* hex values.
 * 2) Page chrome: background var(--ek-bg); text var(--ek-text); surfaces var(--ek-surface).
 * 3) Elevation (the part agents keep missing): white panels/cards/tiles that sit on
 *    --ek-bg MUST use border (prefer --ek-border-strong) AND
 *    box-shadow: var(--ek-shadow-card);  radius: var(--ek-radius).
 *    Header/nav bars: var(--ek-shadow-sm). Overlays/menus: var(--ek-shadow-md).
 * 4) Form controls (inputs/selects/textareas): visible edge
 *    (color-mix or --ek-border-strong), muted fill (--ek-surface-muted),
 *    inset edge optional; focus: border --ek-accent + ring --ek-accent-ring.
 * 5) Primary actions: bg --ek-accent, border/hover --ek-accent-hover, text --ek-on-accent.
 * 6) Status: success/warning/error tokens (+ *-bg / *-border for banners).
 *
 * Tokens-only import without (3)–(5) is an incomplete theme apply.
 */
:root {
    --ek-bg: #fcfcfc;
    --ek-surface: #ffffff;
    --ek-surface-muted: #f6f6f5;
    --ek-border: #ececec;
    --ek-border-strong: #dddddd;
    --ek-text: #4a4a4a;
    --ek-text-rgb: 74, 74, 74;
    --ek-text-muted: #9b9b9b;
    --ek-accent: #4ba2ee;
    --ek-accent-rgb: 75, 162, 238;
    --ek-accent-hover: #2d80c4;
    --ek-accent-hover-rgb: 45, 128, 196;
    --ek-accent-soft: #e8f3fc;
    --ek-accent-ring: rgba(var(--ek-accent-rgb), 0.28);
    --ek-on-accent: #ffffff;
    --ek-admin-color: #802020;
    --ek-success: #167444;
    --ek-success-bg: #edf8f1;
    --ek-success-border: #b8dfc7;
    --ek-warning: #b45309;
    --ek-warning-bg: #fff7ed;
    --ek-warning-border: #fed7aa;
    /* Optional action-icon accents (pre-theme Navigator hexes; not global chrome) */
    --ek-icon-account: #58751d;
    --ek-icon-remote: #1677ff;
    --ek-icon-gstat: #e53935;
    --ek-icon-realtime: #fbbf24;
    --ek-icon-history: #8b5cf6;
    --ek-icon-widget: #16a34a;
    --ek-error: #b42335;
    --ek-error-bg: #fff7f8;
    --ek-error-border: #f0c5cc;
    --ek-info: #4a4a4a;
    --ek-info-bg: #f6f6f5;
    --ek-info-border: #ececec;
    --ek-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.14), 0 1px 2px rgba(15, 23, 42, 0.1);
    --ek-shadow-md: 0 6px 18px rgba(15, 23, 42, 0.16), 0 2px 6px rgba(15, 23, 42, 0.1);
    /* Elevated panels/cards/tiles on --ek-bg — required for a complete theme apply */
    --ek-shadow-card: 0 3px 6px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.08);
    --ek-radius: 12px;
    --ek-radius-lg: 16px;
}
