/* ============================================================
   Design tokens — Rolph / Keune IT
   GitHub-inspired dual theme. Light is the default; dark applies
   when :root[data-theme="dark"] is set by theme-manager.js.
   ============================================================ */

:root {
    /* Backgrounds */
    --bg-primary: #ffffff;
    --bg-secondary: #f6f8fa;
    --bg-tertiary: #eef1f4;

    /* Text */
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-tertiary: #6b7280;
    --text-on-accent: #ffffff;

    /* Borders */
    --border: #d0d7de;
    --border-muted: #e4e8ec;
    --border-strong: #9ba4ae;

    /* Links / accents */
    --link: #0969da;
    --link-hover: #0550ae;
    --accent-primary: #1b6ec2;
    --accent-secondary: #006bb7;
    --focus-ring: #258cfb;

    /* Semantic */
    --success: #26b050;
    --warning: #d97706;
    --danger: #e50000;
    --info: #0078d4;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    /* Radii */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-pill: 999px;
}

:root[data-theme="dark"] {
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-tertiary: #21262d;

    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --text-tertiary: #768390;
    --text-on-accent: #ffffff;

    --border: #30363d;
    --border-muted: #21262d;
    --border-strong: #484f58;

    --link: #6a92c4;
    --link-hover: #8aabd4;
    --accent-primary: #6a92c4;
    --accent-secondary: #3d6ea8;
    --focus-ring: #6a92c4;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.35);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.40), 0 2px 4px -1px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.50), 0 10px 10px -5px rgba(0, 0, 0, 0.30);
}
