/* atomshapr design tokens. Dark is the default and is helpmecto-web's palette verbatim
   (helpmecto-web/static/css/base.css :root). Raw hex that helpmecto inlined is lifted into tokens
   here so light mode can override it without changing a single dark value. */

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter/inter-latin-wght.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter/inter-latin-ext-wght.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root,
[data-theme="dark"] {
    color-scheme: dark;

    /* helpmecto :root, verbatim */
    --bg: #0a0c0f;
    --bg-2: #0f1216;
    --panel: #14181d;
    --panel-2: #1a1f26;
    --line: #232a33;
    --line-2: #2e3742;
    --text: #eef1f5;
    --text-2: #c3cad3;
    --muted: #8a95a3;
    --accent: #ff6a1a;
    --accent-2: #ffb347;
    --accent-soft: #ff6a1a1f;
    --steel: #7cc4ff;
    --green: #3ddc84;
    --red: #ff5d5d;
    --gold: #f7d65b;

    --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

    --radius: 14px;
    --radius-sm: 8px;
    --radius-xs: 4px;   /* menu items and other list rows */
    --shadow: 0 20px 60px -20px #000c, 0 0 0 1px #ffffff08;
    --container: 1240px;
    --header-h: 68px;
    --ease: cubic-bezier(.2, .7, .2, 1);

    /* helpmecto inline values, tokenized */
    --accent-text: var(--accent);         /* accent used as small text (eyebrows, numbers) */
    --accent-hover: #ff7c35;
    --on-accent: #140a03;                 /* ink on orange */
    --selection-ink: #111;
    --accent-glow: #ff6a1a99;
    --accent-glow-strong: #ff6a1acc;
    --accent-border: #ff6a1a66;
    --accent-border-soft: #ff6a1a44;
    --accent-tint: #ff6a1a10;
    --accent-tint-2: #ff6a1a0d;
    --accent-wash: #ff6a1a26;
    --accent-wash-2: #ff6a1a1f;
    --btn-highlight: #ffffff55;
    --overlay-1: #ffffff06;
    --overlay-2: #ffffff07;
    --overlay-3: #ffffff08;
    --overlay-4: #ffffff0d;
    --overlay-5: #ffffff12;
    --overlay-6: #ffffff33;
    --overlay-7: #ffffff40;
    --glass: #0a0c0fd9;
    --glass-2: #0b0e12d9;
    --glass-3: #0b0e12cc;
    --badge-bg: #0a0c0fcc;
    --placeholder: #5d6774;
    --green-soft: #3ddc8422;
    --green-tint: #3ddc841a;
    --green-border: #3ddc8455;
    --red-soft: #ff5d5d22;
    --red-tint: #ff5d5d1a;
    --steel-soft: #7cc4ff1f;
    --gold-tint: #f7d65b10;
    --test-mode: var(--gold);              /* test environment: switch, bar, floor badges */
    --test-mode-tint: #f7d65b14;
    --test-mode-border: #f7d65b59;
    --shadow-hud: 0 20px 50px -20px #000;
    --shadow-deep: 0 40px 120px -40px #000;
    --scene-bg: radial-gradient(120% 80% at 50% 0%, #1b2129 0%, #0c0f13 60%);
}

[data-theme="light"] {
    color-scheme: light;

    --bg: #f5f6f8;
    --bg-2: #eceef2;
    --panel: #ffffff;
    --panel-2: #f2f4f7;
    --line: #e0e4ea;
    --line-2: #cdd3dc;
    --text: #0e1116;
    --text-2: #3a434f;
    --muted: #677280;
    --accent: #ff6a1a;
    --accent-2: #f59e0b;
    --accent-soft: #ff6a1a1f;
    --steel: #1f74bf;
    --green: #12965a;
    --red: #d63939;
    --gold: #a77e00;

    --shadow: 0 18px 48px -24px #0e111633, 0 0 0 1px #0e11160d;

    --accent-text: #c2470a;
    --accent-hover: #ff7c35;
    --on-accent: #140a03;
    --selection-ink: #140a03;
    --accent-glow: #ff6a1a59;
    --accent-glow-strong: #ff6a1a80;
    --accent-border: #ff6a1a80;
    --accent-border-soft: #ff6a1a55;
    --accent-tint: #ff6a1a0f;
    --accent-tint-2: #ff6a1a0b;
    --accent-wash: #ff6a1a1f;
    --accent-wash-2: #ff6a1a17;
    --btn-highlight: #ffffff66;
    --overlay-1: #0e111605;
    --overlay-2: #0e111606;
    --overlay-3: #0e111608;
    --overlay-4: #0e11160b;
    --overlay-5: #0e111610;
    --overlay-6: #0e111626;
    --overlay-7: #0e111633;
    --glass: #f5f6f8d9;
    --glass-2: #ffffffd9;
    --glass-3: #ffffffcc;
    --badge-bg: #ffffffcc;
    --placeholder: #9aa3ae;
    --green-soft: #12965a22;
    --green-tint: #12965a14;
    --green-border: #12965a55;
    --red-soft: #d6393922;
    --red-tint: #d6393914;
    --steel-soft: #1f74bf1a;
    --gold-tint: #a77e000d;
    --test-mode: var(--gold);
    --test-mode-tint: #a77e0012;
    --test-mode-border: #a77e0059;
    --shadow-hud: 0 20px 50px -24px #0e111640;
    --shadow-deep: 0 40px 120px -48px #0e111640;
    --scene-bg: radial-gradient(120% 80% at 50% 0%, #ffffff 0%, #e7eaee 60%);
}
