/* ==========================================================================
   CV Builder — Employee-facing design system
   Tokens and reusable components shared by every employee page.
   Page-level layout lives in style.css; nothing here should be page-specific.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand — a deep, calm slate-blue. Carries the product's existing navy
     identity forward at a lower saturation so long forms stay restful. */
  --brand-900: #0e2439;
  --brand-800: #143050;
  --brand-700: #1b4067;
  --brand-600: #22527f;
  --brand-500: #2f6c9e;
  --brand-100: #dee9f3;
  --brand-050: #f0f5fa;

  /* Accent — warm amber, used sparingly for progress and highlights only. */
  --accent-700: #8a5a12;
  --accent-600: #a86f1c;
  --accent-100: #f6ebd8;

  /* Neutrals */
  --ink-900: #131c26;
  --ink-800: #1f2a37;
  --ink-700: #33414f;
  --ink-600: #4a5967;
  --ink-500: #64748b;
  --ink-400: #8a97a6;
  --ink-300: #c3ccd6;
  --ink-200: #dde3ea;
  --ink-100: #eaeff4;
  --ink-050: #f5f7fa;
  --white: #ffffff;

  /* Semantic — each foreground below measures >= 4.5:1 on its own surface */
  --success-700: #125c3f;
  --success-100: #dff2e8;
  --danger-700: #96201f;
  --danger-100: #fbe3e2;
  --warning-700: #7d5200;
  --warning-100: #fbeed3;
  --info-700: var(--brand-700);
  --info-100: var(--brand-100);

  /* Surfaces */
  --surface: var(--white);
  --surface-sunken: var(--ink-050);
  --surface-raised: var(--white);
  --border: var(--ink-200);
  --border-strong: var(--ink-300);
  /* Borders of interactive controls are non-text UI components and must reach
     3:1 (WCAG 1.4.11). --border / --border-strong are decorative separators and
     do not qualify: measured 1.29:1 and 1.62:1 on white. This one measures
     3.62:1 on white and 3.37:1 on the sunken surface. */
  --border-control: #7b8896;

  /* Typography — system stack only; no external font requests. */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-fa: "Vazirmatn", "IRANSans", Tahoma, var(--font-sans);

  --text-xs: 0.75rem;    /* 12 */
  --text-sm: 0.875rem;   /* 14 */
  --text-base: 1rem;     /* 16 */
  --text-md: 1.0625rem;  /* 17 */
  --text-lg: 1.25rem;    /* 20 */
  --text-xl: 1.5rem;     /* 24 */
  --text-2xl: 1.875rem;  /* 30 */
  --text-3xl: 2.25rem;   /* 36 */
  --text-4xl: 2.75rem;   /* 44 */

  --leading-tight: 1.2;
  --leading-snug: 1.35;
  --leading-normal: 1.6;

  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* Spacing — 4px base */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* Containers */
  --container: 1120px;
  --container-narrow: 760px;
  --container-form: 460px;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  /* Shadows — restrained; depth comes from borders and spacing. */
  --shadow-sm: 0 1px 2px rgba(19, 28, 38, 0.06);
  --shadow-md: 0 2px 8px rgba(19, 28, 38, 0.07);
  --shadow-lg: 0 10px 30px rgba(19, 28, 38, 0.10);

  /* Motion */
  --transition: 140ms ease;

  /* Controls */
  --control-height: 44px;   /* also the minimum touch target */
  --focus-ring: 3px;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

/* The `hidden` attribute is only honoured by a user-agent rule, so any author
   rule that sets `display` on the same element silently defeats it — which is
   why a signed-out visitor was shown the signed-in header actions alongside
   the signed-out ones (both spans carry .nav-user, which sets display:flex).
   Scripts toggle `hidden` throughout this app, so it is enforced once here. */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--ink-800);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

html[lang="fa"] body { font-family: var(--font-fa); }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink-900);
  line-height: var(--leading-tight);
  font-weight: var(--weight-bold);
  text-wrap: balance;
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-lg); }
h4 { font-size: var(--text-md); }

p { margin: 0; }

a {
  color: var(--brand-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
a:hover { color: var(--brand-700); }

img { max-width: 100%; height: auto; }

ul, ol { margin: 0; padding: 0; }

/* Long words and URLs must never push a layout sideways. */
p, li, dd, dt, h1, h2, h3, h4, .u-break { overflow-wrap: anywhere; }

/* --------------------------------------------------------------------------
   3. Accessibility helpers
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  inset-inline-start: var(--space-4);
  top: -100px;
  z-index: 200;
  padding: var(--space-3) var(--space-5);
  background: var(--brand-700);
  color: var(--white);
  font-weight: var(--weight-semibold);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  text-decoration: none;
  transition: top var(--transition);
}
.skip-link:focus {
  top: 0;
  color: var(--white);
}

/* A single, consistent focus treatment everywhere. */
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: var(--focus-ring) solid var(--brand-500);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.container--narrow { max-width: var(--container-narrow); }

.stack > * + * { margin-block-start: var(--flow, var(--space-4)); }
.stack--sm { --flow: var(--space-2); }
.stack--lg { --flow: var(--space-6); }

.section { padding-block: var(--space-16); }
.section--sunken { background: var(--surface-sunken); }

.section-head {
  max-width: 62ch;
  margin-inline: auto;
  text-align: center;
  margin-block-end: var(--space-10);
}
.section-head p {
  margin-block-start: var(--space-3);
  color: var(--ink-600);
  font-size: var(--text-md);
}

.eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-600);
}
html[lang="fa"] .eyebrow { letter-spacing: normal; }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: var(--control-height);
  padding: var(--space-3) var(--space-5);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition),
              color var(--transition);
}

.btn--primary {
  background: var(--brand-700);
  color: var(--white);
}
.btn--primary:hover { background: var(--brand-800); color: var(--white); }

.btn--secondary {
  background: var(--white);
  color: var(--brand-700);
  border-color: var(--border-control);
}
.btn--secondary:hover { background: var(--brand-050); color: var(--brand-800); }

.btn--ghost {
  background: transparent;
  color: var(--ink-700);
}
.btn--ghost:hover { background: var(--ink-100); color: var(--ink-900); }

.btn--danger {
  background: var(--white);
  color: var(--danger-700);
  border-color: var(--danger-700);
}
.btn--danger:hover { background: var(--danger-100); color: var(--danger-700); }

.btn--lg {
  min-height: 52px;
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-md);
}
.btn--sm {
  min-height: 36px;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
}
/* Small controls stay >= 44px of hit area via a transparent outset. */
.btn--sm { position: relative; }
.btn--sm::after {
  content: "";
  position: absolute;
  inset: -4px;
}

.btn--block { width: 100%; }

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* Busy state: spinner replaces nothing, it sits beside the relabelled text. */
.btn[data-busy="true"] { cursor: progress; }
.btn[data-busy="true"] .btn__spinner { display: inline-block; }
.btn__spinner {
  display: none;
  width: 1em;
  height: 1em;
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
  animation: ds-spin 700ms linear infinite;
  flex: none;
}

@keyframes ds-spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   6. Forms
   -------------------------------------------------------------------------- */
.field { display: block; }
.field + .field { margin-block-start: var(--space-5); }

.field__label {
  display: block;
  margin-block-end: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--ink-800);
}

.field__req { color: var(--danger-700); }

.field__hint {
  margin-block-start: var(--space-2);
  font-size: var(--text-sm);
  color: var(--ink-600);
}

.field__error {
  display: none;
  margin-block-start: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--danger-700);
}
.field.is-invalid .field__error { display: block; }

.input,
.textarea,
.select {
  width: 100%;
  min-height: var(--control-height);
  padding: var(--space-3);
  font: inherit;
  font-size: var(--text-base);
  color: var(--ink-900);
  background: var(--white);
  border: 1px solid var(--border-control);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.input::placeholder,
.textarea::placeholder { color: var(--ink-500); }

.input:hover,
.textarea:hover,
.select:hover { border-color: var(--ink-400); }

.field.is-invalid .input,
.field.is-invalid .textarea,
.field.is-invalid .select {
  border-color: var(--danger-700);
  box-shadow: inset 0 0 0 1px var(--danger-700);
}

.input:disabled,
.textarea:disabled,
.select:disabled {
  background: var(--ink-050);
  color: var(--ink-500);
  cursor: not-allowed;
}

.textarea { min-height: 110px; resize: vertical; }

.select {
  appearance: none;
  padding-inline-end: var(--space-8);
  /* Chevron drawn with a gradient pair so no image request is made. */
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-600) 50%),
    linear-gradient(135deg, var(--ink-600) 50%, transparent 50%);
  background-position:
    right calc(var(--space-4) + 4px) center,
    right var(--space-4) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
html[dir="rtl"] .select {
  padding-inline-end: var(--space-8);
  background-position:
    left var(--space-4) center,
    left calc(var(--space-4) + 4px) center;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
}
.field-row > .field + .field { margin-block-start: 0; }

/* Password field with a visibility toggle */
.input-group { position: relative; display: flex; }
.input-group .input { padding-inline-end: 3.25rem; }
.input-group__action {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: 3rem;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--ink-600);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  cursor: pointer;
  border-radius: var(--radius-md);
}
.input-group__action:hover { color: var(--brand-700); }

/* Choice controls (radio / checkbox) */
.choice-list { display: grid; gap: var(--space-3); }

.choice {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  min-height: var(--control-height);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border-control);
  border-radius: var(--radius-md);
  background: var(--white);
  cursor: pointer;
  transition: border-color var(--transition), background-color var(--transition);
}
.choice:hover { border-color: var(--brand-500); background: var(--brand-050); }

.choice input {
  margin: 0;
  margin-block-start: 0.2em;
  width: 18px;
  height: 18px;
  accent-color: var(--brand-700);
  flex: none;
}

.choice__text { font-size: var(--text-sm); color: var(--ink-800); }

.choice:has(input:checked) {
  border-color: var(--brand-600);
  background: var(--brand-050);
  box-shadow: inset 0 0 0 1px var(--brand-600);
}
.choice:has(input:focus-visible) {
  outline: var(--focus-ring) solid var(--brand-500);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   7. Cards and surfaces
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.card--flush { padding: 0; overflow: hidden; }
.card--raised { box-shadow: var(--shadow-md); }

.card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-block-end: var(--space-5);
  flex-wrap: wrap;
}
.card__title { font-size: var(--text-lg); }
.card__sub {
  margin-block-start: var(--space-1);
  font-size: var(--text-sm);
  color: var(--ink-600);
}

/* --------------------------------------------------------------------------
   8. Alerts and status
   -------------------------------------------------------------------------- */
.alert {
  display: none;
  padding: var(--space-3) var(--space-4);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
}
.alert:not(:empty) { display: block; }

.alert--info    { background: var(--info-100);    border-color: var(--brand-500);   color: var(--info-700); }
.alert--success { background: var(--success-100); border-color: var(--success-700); color: var(--success-700); }
.alert--error   { background: var(--danger-100);  border-color: var(--danger-700);  color: var(--danger-700); }
.alert--warning { background: var(--warning-100); border-color: var(--warning-700); color: var(--warning-700); }

/* --------------------------------------------------------------------------
   9. Badges
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 0.15rem var(--space-3);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  background: var(--ink-100);
  color: var(--ink-700);
}
.badge--done    { background: var(--success-100); color: var(--success-700); }
.badge--pending { background: var(--ink-100);     color: var(--ink-600); }
.badge--accent  { background: var(--accent-100);  color: var(--accent-700); }

/* --------------------------------------------------------------------------
   10. Progress
   -------------------------------------------------------------------------- */
.progress {
  height: 8px;
  background: var(--ink-100);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.progress__bar {
  height: 100%;
  width: 0;
  background: var(--brand-600);
  border-radius: inherit;
  transition: width 240ms ease;
}
.progress__bar--complete { background: var(--success-700); }

/* Stepper */
.stepper {
  display: flex;
  gap: var(--space-2);
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-block-end: var(--space-1);
}

.stepper__item { flex: 1 1 0; min-width: 116px; }

.stepper__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--control-height);
  padding: var(--space-2) var(--space-3);
  background: transparent;
  border: 0;
  border-block-end: 3px solid var(--ink-200);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--ink-600);
  cursor: pointer;
  text-align: start;
  transition: color var(--transition), border-color var(--transition);
}
.stepper__btn:hover { color: var(--brand-700); border-block-end-color: var(--brand-500); }

.stepper__num {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--ink-100);
  color: var(--ink-600);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
}

.stepper__item[data-state="current"] .stepper__btn {
  color: var(--brand-800);
  border-block-end-color: var(--brand-700);
  font-weight: var(--weight-semibold);
}
.stepper__item[data-state="current"] .stepper__num {
  background: var(--brand-700);
  color: var(--white);
}
.stepper__item[data-state="done"] .stepper__num {
  background: var(--success-700);
  color: var(--white);
}
.stepper__item[data-state="done"] .stepper__btn { color: var(--ink-700); }

/* --------------------------------------------------------------------------
   11. Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  border-block-end: 1px solid var(--border);
  backdrop-filter: saturate(1.4);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 68px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--ink-900);
  font-weight: var(--weight-bold);
}
.brand:hover { color: var(--brand-700); }

.brand__mark {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  background: var(--brand-700);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.04em;
  flex: none;
}
.brand__name { font-size: var(--text-md); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.nav-user {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.nav-user__name {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--ink-700);
}

.lang-toggle {
  min-height: var(--control-height);
  padding: var(--space-2) var(--space-4);
  background: transparent;
  border: 1px solid var(--border-control);
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--ink-700);
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition);
}
.lang-toggle:hover { background: var(--ink-100); border-color: var(--ink-400); }

/* --------------------------------------------------------------------------
   12. Empty / loading states
   -------------------------------------------------------------------------- */
.empty-state {
  padding: var(--space-8) var(--space-6);
  text-align: center;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface-sunken);
}
.empty-state__title {
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  color: var(--ink-800);
}
.empty-state__text {
  margin-block-start: var(--space-2);
  font-size: var(--text-sm);
  color: var(--ink-600);
}
.empty-state__action { margin-block-start: var(--space-5); }

.loading-state {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-6);
  color: var(--ink-600);
  font-size: var(--text-sm);
}
.loading-state__spinner {
  width: 18px; height: 18px;
  border: 2px solid var(--ink-300);
  border-inline-end-color: var(--brand-600);
  border-radius: 50%;
  animation: ds-spin 700ms linear infinite;
  flex: none;
}

.skeleton {
  background: var(--ink-100);
  border-radius: var(--radius-sm);
  animation: ds-pulse 1.4s ease-in-out infinite;
}
@keyframes ds-pulse { 50% { opacity: 0.55; } }

/* --------------------------------------------------------------------------
   13. Data list (files)
   -------------------------------------------------------------------------- */
.data-list { list-style: none; display: grid; gap: var(--space-3); }

.data-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  flex-wrap: wrap;
}
.data-item__main { min-width: 0; flex: 1 1 240px; }
.data-item__name {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--ink-900);
  overflow-wrap: anywhere;
}
.data-item__meta {
  margin-block-start: var(--space-1);
  font-size: var(--text-xs);
  color: var(--ink-600);
}
.data-item__actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   14. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  :root {
    --text-4xl: 2.25rem;
    --text-3xl: 1.875rem;
    --text-2xl: 1.625rem;
  }
  .section { padding-block: var(--space-12); }
}

@media (max-width: 640px) {
  :root {
    --text-4xl: 1.9rem;
    --text-3xl: 1.6rem;
    --text-2xl: 1.4rem;
  }
  .container { padding-inline: var(--space-4); }
  .field-row { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
  .field-row > .field + .field { margin-block-start: 0; }
  .section { padding-block: var(--space-10); }
  .card { padding: var(--space-5); }
  .btn--block-sm { width: 100%; }
}

@media (max-width: 380px) {
  .container { padding-inline: var(--space-3); }
  .card { padding: var(--space-4); }
}

/* --------------------------------------------------------------------------
   15. RTL
   -------------------------------------------------------------------------- */
html[dir="rtl"] .stepper__btn { text-align: start; }
html[dir="rtl"] .skip-link { border-radius: 0 0 var(--radius-md) var(--radius-md); }
/* Logical properties handle the rest; only glyph-order cases need overrides. */
html[dir="rtl"] .btn__spinner { border-inline-end-color: transparent; }

/* --------------------------------------------------------------------------
   16. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  /* Spinners still need to read as "busy" without motion. */
  .btn__spinner,
  .loading-state__spinner {
    animation: none !important;
    border-inline-end-color: currentColor;
    opacity: 0.6;
  }
  .skeleton { animation: none !important; }
}

/* --------------------------------------------------------------------------
   17. Print — the preview should print cleanly if a user reaches for it.
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .skip-link, .btn, .stepper, .lang-toggle { display: none !important; }
  body { background: var(--white); }
}
