/* ============================================================================
   NETZERO DESIGN TOKENS
   ----------------------------------------------------------------------------
   The single source of colour, type, radius and shadow for the whole app.
   This file and config/theme.php (theme_defaults()) are the ONLY places a hex
   colour may appear — everything else reads var(--nz-*). Admins override any
   of these at /admin/settings; config/theme.php then prints a small
   <style>:root{…}</style> carrying only the values that differ from here.

   Reference: docs/design/netzero/PLAN.md and docs/design/netzero/boards/.
   ============================================================================ */

:root {
    /* ── Brand ─────────────────────────────────────────────────────────── */
    --nz-primary:        #0b6640;
    --nz-primary-hover:  #085233;
    --nz-link-hover:     #074a2e;
    --nz-primary-tint:   #eaf4ee;
    --nz-on-primary:     #ffffff;
    --nz-focus:          #0b6640;

    /* ── Ink and text ──────────────────────────────────────────────────── */
    --nz-ink:            #101c16;
    --nz-text:           #33423a;
    --nz-text-2:         #4b5b52;
    --nz-muted:          #55645b;
    --nz-faint:          #6b7a71;
    --nz-faint-2:        #7a877f;

    /* ── Lines ─────────────────────────────────────────────────────────── */
    --nz-border:         #e5eae7;
    --nz-border-input:   #d5ddd8;
    --nz-divider:        #eef2ef;

    /* ── Surfaces ──────────────────────────────────────────────────────── */
    --nz-bg:             #ffffff;
    --nz-bg-soft:        #f7faf8;
    --nz-bg-head:        #fafbfa;
    --nz-hover:          #f3f6f4;
    --nz-hover-2:        #f5f8f6;
    --nz-row-hover:      #fafcfb;
    --nz-segment:        #f2f5f3;
    --nz-white:          #ffffff;
    --nz-black:          #000000;

    /* ── Status pairs (chips, alerts, notices) ─────────────────────────── */
    --nz-ok-bg:          #e7f4ec;
    --nz-ok-fg:          #0b6640;
    --nz-warn-bg:        #fff4e0;
    --nz-warn-fg:        #8a5300;
    --nz-warn-dot:       #c27a00;
    --nz-warn-soft-bg:   #fffaf0;
    --nz-warn-soft-line: #f3dfb5;
    --nz-info-bg:        #e8f0fb;
    --nz-info-fg:        #1d4f91;
    --nz-danger-bg:      #fdeaea;
    --nz-danger-fg:      #a32121;
    --nz-neutral-bg:     #f0f2f1;
    --nz-neutral-fg:     #46534b;

    /* ── Chart series, in order ────────────────────────────────────────── */
    --nz-chart-1:        #0b6640;
    --nz-chart-2:        #6aa886;
    --nz-chart-3:        #c3dfcf;
    --nz-chart-4:        #cfe6d8;
    --nz-chart-5:        #1d4f91;
    --nz-chart-6:        #8a5300;

    /* ── Type ──────────────────────────────────────────────────────────── */
    --nz-font:  'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --nz-mono:  'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    --nz-fs:    14px;

    /* ── Radii — one scale, multiplied by the theme's radius setting ──── */
    --nz-radius-scale: 1;
    --nz-r-xs:   calc(6px  * var(--nz-radius-scale));
    --nz-r-sm:   calc(8px  * var(--nz-radius-scale));
    --nz-r-md:   calc(10px * var(--nz-radius-scale));
    --nz-r-lg:   calc(12px * var(--nz-radius-scale));
    --nz-r-xl:   calc(16px * var(--nz-radius-scale));
    --nz-r-2xl:  calc(20px * var(--nz-radius-scale));
    --nz-r-pill: 999px;

    /* ── Shadows — cards carry none; only floating layers lift ─────────── */
    --nz-shadow-float:   0 16px 40px -16px rgba(10, 40, 25, .4);
    --nz-shadow-preview: 0 24px 56px -32px rgba(10, 40, 25, .35);
    --nz-shadow-seg:     0 1px 3px rgba(16, 28, 22, .15);
    --nz-overlay:        rgba(16, 28, 22, .55);

    /* ── Layout ────────────────────────────────────────────────────────── */
    --nz-sidebar-w: 256px;

    /* ── Legacy names, kept so older markup keeps resolving ────────────── */
    --gbt-green:       var(--nz-primary);
    --gbt-green-hover: var(--nz-primary-hover);
}
