/* ---------------------------------------------------------------------------
   GoticTeam ERP — design tokens.

   Every colour, radius and shadow in the platform resolves here; a component
   stylesheet never hardcodes a colour.

   The identity is goticteam.com's, taken from its own stylesheet so the ERP
   reads as the same company's work: warm black, bone paper, GOTIC yellow used
   sparingly, square corners and hairlines instead of soft shadows. The site's
   signature devices carried over are the stencil-cut corner (from the
   wordmark) on yellow elements and the yellow full stop that closes a title.
   --------------------------------------------------------------------------- */
:root {
    /* -- Brand (goticteam.com) ------------------------------------------ */
    --ink: #0d0d0c;           /* warm black */
    --ink-2: #141412;
    --ink-3: #1c1c19;
    --paper: #f3f0e8;         /* bone paper: the page */
    --paper-2: #e9e5da;       /* sunken: table heads, toolbars */
    --paper-3: #dfdacd;
    --yellow: #ffc501;        /* GOTIC yellow: action, focus, the active place */
    --yellow-press: #eab300;

    /* -- Roles ---------------------------------------------------------- */
    --brand: var(--yellow);
    --brand-dark: #8a6a00;    /* yellow as text or a thin line on paper (4.9:1) */
    --primary: var(--yellow);
    --primary-dark: var(--yellow-press);
    --primary-ink: var(--ink);
    --bg: var(--paper);
    --surface: #fbfaf6;       /* a card: one step lighter than the paper */
    --surface-sunken: var(--paper-2);
    --text: var(--ink);
    --muted: #5f5b52;
    --muted-on-ink: #9d988c;
    --link: var(--ink);
    --border: rgba(13, 13, 12, .14);
    --border-strong: rgba(13, 13, 12, .32);
    --line-on-ink: rgba(243, 240, 232, .13);
    --line-on-ink-strong: rgba(243, 240, 232, .28);

    --sidebar: var(--ink);
    --sidebar-2: var(--ink-3);
    --sidebar-text: #b9b4a8;
    --sidebar-active: var(--yellow);

    /* Status, warmed to sit on paper. Always paired with a word, never colour alone. */
    --green: #1e6b34;   --green-bg: #dfe9d6;
    --amber: #8a5300;   --amber-bg: #f6e3b8;
    --red: #a82a1f;     --red-bg: #f3d9d2;
    --blue: #1f4f8f;    --blue-bg: #dce4ee;
    --gold-bg: #fbedb5;
    --gold-text: #6e5400;
    --gray-bg: var(--paper-2);

    /* A selected or hovered row: a wash of the brand, never another hue. */
    --brand-weak: rgba(255, 197, 1, .18);
    --hover: rgba(13, 13, 12, .04);

    /* Square, like the site. Rounded corners are the exception, not the rule. */
    --radius: 2px;
    --shadow: none;
    --shadow-lg: 0 18px 40px -12px rgba(13, 13, 12, .28);

    /* The stencil cut, sized per element. */
    --notch: 10px;
    --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

/* -- Scale --------------------------------------------------------------- */
:root {
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;

    --text-xs: 11px;
    --text-sm: 12.5px;
    --text-base: 14px;
    --text-lg: 16px;
    --text-xl: 20px;
    --text-2xl: 26px;

    --radius-sm: 2px;
    --radius-lg: 2px;
    --radius-pill: 999px;

    --sidebar-width: 250px;
    --sidebar-width-collapsed: 64px;
    --topbar-height: 60px;

    --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
    --font-sans: "IBM Plex Sans", "IBM Plex Sans Arabic", "Helvetica Neue", Arial, sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    --display-stretch: 112%;
}
