/* Zesty Design Kit - YOUR OWN skin and palette. Load this AFTER zesty-design.css.
   Select them with data-skin="custom" and/or data-palette="custom".
   Both start as copies of Corporate and Blue so the page works before you edit anything.
   After editing, run: node zesty-design/check-contrast.mjs zesty-design/zesty-design.css zesty-design/custom.css */

/* ---- Custom skin: shape, density, type. Change these numbers. ---- */
:root[data-skin="custom"]{
  --radius:2px;                 /* corner rounding: 0 square ... 16px very round */
  --row-h:32px;                 /* height of table rows, buttons, inputs (keep 44px+ if used on touch screens) */
  --pad:8px;                    /* base spacing unit; most gaps are multiples of this */
  --fs:14px;                    /* body text size; never go below 14px */
  --lh:1.45;                    /* line height */
  --head-weight:600;            /* heading weight */
  --border-w:1px;               /* border thickness */
  --font-body:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --font-head:var(--font-body); /* e.g. Georgia,"Times New Roman",serif for a print feel */
  --shadow-pop:0 2px 6px rgba(0,0,0,.18); /* menus and dialogs only; nothing else gets a shadow */
}
:root[data-skin="custom"][data-mode="dark"]{--shadow-pop:0 2px 8px rgba(0,0,0,.6)}

/* ---- Custom palette, light. Every text color must reach 4.5:1 on --surface; --line and --focus need 3:1. ---- */
:root[data-palette="custom"]{
  --brand:#2B6CB0;      /* decorative only: logo, big color blocks. Never for text. */
  --brand2:#2B6CB0;     /* optional second decorative color (e.g. a team's second color). Never for text. */
  --accent:#1F3A5F;     /* main buttons, links, selected items (white text must read on it) */
  --accent2:#3F6B8E;    /* secondary accent */
  --accent3:#2B6CB0;    /* tertiary accent, use sparingly */
  --tint:#E6ECF4;       /* soft highlight behind selected rows and badges */
  --focus:#1F3A5F;      /* keyboard focus ring */
}
/* ---- Custom palette, dark. Must stay AFTER the light block above. ---- */
:root[data-mode="dark"][data-palette="custom"]{
  --brand:#8FB4E3; --brand2:#8FB4E3; --accent:#8FB4E3; --accent2:#7FA6C4; --accent3:#6CA6F0;
  --on-accent:#0F1722; /* text on top of --accent buttons */
  --tint:#243246; --focus:#8FB4E3;
}
