/* Direction: Peoplewise HR console — cool paper, blue-violet accent, crisp data cards */
/* Completed by the platform from the short form: both modes, every
   palette token, each text-on-ground pair at its floor. To restyle, write the
   short form again (the decisions in one :root) and it is completed again. */

:root {
  --canvas: #f4f5fb;
  --surface: #ffffff;
  --surface-2: #eceef8;
  --border: #dfe0ef;
  --border-strong: #afafb9;
  --ink: #16142a;
  --muted: #5a5873;
  --accent: #5a46d6;
  --accent-hover: #4d3cb6;
  --accent-ink: #ffffff;
  --accent-text: #4a37c0;
  --accent-strong: #3a28a6;
  --accent-soft: #e8e5fc;
  --accent-border: #afa6ea;
  --success: #15855a;
  --success-ink: #ffffff;
  --success-soft: #d9e8e8;
  --success-strong: #11704c;
  --warning: #a2690f;
  --warning-ink: #ffffff;
  --warning-soft: #eae4df;
  --warning-strong: #89590d;
  --danger: #bf354a;
  --danger-ink: #ffffff;
  --danger-soft: #eedee6;
  --danger-strong: #b03144;
  --chart-1: #5a46d6;
  --chart-2: #cc39a1;
  --chart-3: #852f01;
  --chart-4: #877b0d;
  --chart-5: #025c3e;
  --chart-6: #0389aa;

  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius-card: 16px;
  --radius-btn: 10px;
  --radius-input: 10px;
  --card-pad: 1.25rem;
  --display-weight: 700;
  --display-tracking: -0.02em;
  --shadow-card: 0 1px 2px rgba(22, 20, 42, 0.05), 0 18px 34px -24px rgba(22, 20, 42, 0.35);
  --gradient-auth: linear-gradient(165deg, #e8e5fc 0%, #f4f5fb 52%, #dde6fb 100%);
  --font-mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-sans: "Inter", system-ui, sans-serif;
  --eyebrow-tracking: 0.08em;
}

html[data-theme="dark"] {
  --canvas: #090816;
  --surface: #22212d;
  --surface-2: #151422;
  --border: #2b2b37;
  --border-strong: #53525c;
  --ink: #f4f5fb;
  --muted: #96969f;
  --accent: #5a46d6;
  --accent-hover: #7362dc;
  --accent-ink: #ffffff;
  --accent-text: #887be2;
  --accent-strong: #887be2;
  --accent-soft: #1b1640;
  --accent-border: #2d246c;
  --success: #15855a;
  --success-ink: #ffffff;
  --success-soft: #0c2425;
  --success-strong: #399873;
  --warning: #a2690f;
  --warning-ink: #ffffff;
  --warning-soft: #2b1d14;
  --warning-strong: #b08034;
  --danger: #bf354a;
  --danger-ink: #ffffff;
  --danger-soft: #311221;
  --danger-strong: #cd6271;
  --chart-1: #695aeb;
  --chart-2: #e14eb4;
  --chart-3: #d35109;
  --chart-4: #9a8d16;
  --chart-5: #139768;
  --chart-6: #0d9dc0;
}

/* Peoplewise — the few things the primitives do not cover. */

/* Leave balances, headcounts and percentages line up column by column. */
.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* Progress bars on the onboarding checklists and the department chart. */
.bar-fill {
  transition: width 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  min-width: 0.125rem;
}
html.reduced-motion .bar-fill {
  transition: none;
}

/* The sign-in screen stands apart from the console behind it. */
.auth-shell {
  background-image: var(--gradient-auth);
}

/* Sticky table headers while scrolling a 30-row directory. */
table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: var(--surface-2);
}
