@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.work-observation-route-card {
  margin-top: 1rem;
}

.work-observation-shell [data-work-observation-content] {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.work-observation-episode {
  min-width: 0;
}

.work-observation-episode > [data-protected-content] ul {
  padding-left: 1.25rem;
}

.work-observation-form fieldset {
  display: grid;
  gap: .9rem;
  min-width: 0;
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid var(--line, #dfe3ea);
  border-radius: 1rem;
}

.work-observation-form legend {
  padding: 0 .35rem;
  font-weight: 700;
}

.work-observation-locked {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--surface-soft, #f5f7fa);
}

.work-observation-locked p {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.work-observation-issue {
  margin-top: 1rem;
  padding-top: .75rem;
  border-top: 1px solid var(--line, #dfe3ea);
}

.work-observation-issue summary {
  cursor: pointer;
  font-weight: 700;
}

@media (max-width: 760px) {
  .work-observation-form fieldset {
    padding: .8rem;
  }

  .work-observation-form .button,
  .work-observation-route-card .button {
    width: 100%;
  }
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Medium.otf") format("opentype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Black.otf") format("opentype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy-950: #1f2937;
  --navy-900: #273449;
  --navy-800: #374151;
  --teal-700: #c2410c;
  --teal-600: #c2410c;
  --teal-500: #c2410c;
  --teal-100: #fff0ea;
  --coral-500: #c2410c;
  --coral-100: #fff0ea;
  --sand-50: #f8f9fb;
  --sand-100: #edf0f3;
  --ink: #23262b;
  --muted: #62676f;
  --muted-light: #92979e;
  --graphite: #2d3643;
  --line: #dde1e6;
  --line-dark: #7b7f84;
  --white: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f3f5f7;
  --text: #23262b;
  --accent: #c2410c;
  --orange: #c2410c;
  --orange-dark: #9a3412;
  --focus: #c2410c;
  --green: #187451;
  --amber: #9a5b0d;
  --shadow: 0 1px 2px rgba(35, 38, 43, .04), 0 10px 28px rgba(35, 38, 43, .05);
  --radius-lg: 10px;
  --radius-md: 7px;
  --radius-sm: 5px;
  --content: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 0; overflow-wrap: anywhere; background: var(--sand-50); color: var(--ink); font-family: "Inter", Arial, sans-serif; font-size: 16px; line-height: 1.6; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip-link { position: fixed; z-index: 1000; left: 12px; top: -80px; padding: 10px 14px; color: white; background: var(--navy-900); }
.skip-link:focus { top: 12px; }

.topbar { position: sticky; z-index: 50; top: 0; display: flex; align-items: center; justify-content: space-between; min-height: 78px; padding: 0 18px; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); }
.site-header { position: sticky; z-index: 50; top: 0; display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 20px; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; gap: 10px; padding: 4px; background: none; border: 0; text-align: left; cursor: pointer; }
.brand__mark { color: var(--ink); font-size: 21px; font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.brand__mark span { color: var(--orange); }
.brand__text strong, .brand__text small { display: block; line-height: 1.08; }
.brand__text strong { font-size: 14px; }
.brand__text small { margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.brand__word { color: var(--ink); font-size: 25px; font-weight: 900; line-height: 1; }
.brand__word span { color: var(--orange); }
.brand__meta strong, .brand__meta small { display: block; line-height: 1.05; }
.brand__meta strong { font-size: 12px; text-transform: uppercase; }
.brand__meta small { margin-top: 4px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.demo-switch { display: inline-flex; min-height: 42px; align-items: center; gap: 7px; padding: 8px 14px; border: 1px solid var(--ink); border-radius: 2px; background: white; font-size: 12px; font-weight: 700; text-transform: uppercase; cursor: pointer; }
.demo-switch__label { color: var(--muted); font-size: 12px; }

.view { min-height: calc(100vh - 78px); min-height: calc(100dvh - 78px); }
.view--center { display: grid; width: 100%; place-items: center; padding: 28px 16px 48px; }
.auth-page { display: grid; width: 100%; min-height: calc(100vh - 68px); min-height: calc(100dvh - 68px); place-items: center; padding: 28px 16px 48px; }
.auth-shell, .onboarding-card { width: min(100%, 590px); margin-inline: auto; padding: 28px 20px; border: 1px solid var(--line); border-top: 5px solid var(--orange); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow); }
.mfa-login-panel { display: grid; gap: 16px; }
.mfa-login-panel[hidden], .mfa-enrollment[hidden] { display: none; }
.mfa-enrollment { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--line); background: #f7fafb; }
.mfa-enrollment p { margin: 0; }
.mfa-secret { display: block; padding: 14px 10px; overflow-wrap: anywhere; border: 1px dashed var(--navy-950); background: white; color: var(--navy-950); text-align: center; font-size: clamp(14px, 4vw, 18px); font-weight: 800; letter-spacing: .08em; user-select: all; }
.mfa-recovery-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; margin: 0; padding: 16px 16px 16px 42px; border: 1px solid var(--line); background: #f7fafb; }
.mfa-recovery-list code { font-weight: 800; user-select: all; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 18px; font-size: clamp(34px, 7vw, 56px); font-weight: 900; line-height: 1.03; }
h2 { margin-bottom: 12px; font-size: clamp(24px, 5vw, 34px); font-weight: 900; line-height: 1.08; }
h3 { margin-bottom: 8px; font-size: 18px; }
.lead { color: var(--muted); font-size: clamp(16px, 3vw, 19px); }
.muted { color: var(--muted); }
.eyebrow { margin-bottom: 12px; color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: 0; text-transform: uppercase; }
.fine-print { margin: 14px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.security-settings { display: grid; width: min(100% - 24px, 860px); gap: 20px; margin: 0 auto; padding: 32px 0 56px; }
.security-settings__header { margin-bottom: 0; }
.security-status { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.security-status div { padding: 14px; background: white; }
.security-status dt { color: var(--muted); font-size: 12px; }
.security-status dd { margin: 2px 0 0; font-weight: 800; }
.danger-zone { border-left: 5px solid #b42318; }

.invite-card { display: flex; align-items: center; gap: 14px; margin: 24px 0; padding: 16px; border-left: 4px solid var(--orange); border-radius: var(--radius-md); background: var(--sand-100); }
.invite-card span, .invite-card strong { display: block; }
.avatar { display: grid; flex: 0 0 auto; place-items: center; width: 46px; height: 46px; border-radius: 2px; background: var(--ink); color: var(--white); font-size: 14px; font-weight: 800; }
.avatar--lg { width: 58px; height: 58px; font-size: 16px; }
.facts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; margin: 0 0 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--line); }
.facts-grid div { padding: 14px; background: white; }
.facts-grid dt { color: var(--muted); font-size: 12px; }
.facts-grid dd { margin: 2px 0 0; font-weight: 700; }
.verification-state { display: flex; align-items: flex-start; gap: 14px; margin: 22px 0; padding: 16px; border-left: 4px solid var(--orange); background: var(--sand-100); }
.verification-state__mark { display: grid; flex: 0 0 42px; min-height: 42px; place-items: center; background: var(--ink); color: white; font-weight: 900; }
.verification-state strong { display: block; }
.verification-state p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
.verification-state ~ .button { margin-top: 10px; }

.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid transparent; border-radius: 2px; font-size: 13px; font-weight: 700; text-transform: uppercase; cursor: pointer; transition: background .16s ease, border-color .16s ease, color .16s ease; }
.button:hover { transform: none; }
.button:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.button:disabled { cursor: not-allowed; opacity: .45; transform: none; }
.button--wide { width: 100%; }
.button--primary { background: var(--orange); color: white; }
.button--danger { border-color: #b42318; background: #b42318; color: white; }
.button--danger:hover { background: #8f1b13; border-color: #8f1b13; }
.button--primary:hover, .button--accent:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.button--accent { background: var(--orange); color: white; }
.button--secondary { border-color: var(--navy-900); background: white; color: var(--navy-900); }
.button--secondary:hover { background: var(--ink); color: var(--white); }
.button--ghost { border-color: var(--line); background: transparent; }
.text-button { display: inline-flex; min-height: 44px; align-items: center; padding: 6px 4px; border: 0; background: none; color: var(--orange); font-weight: 700; cursor: pointer; }
.role-chip { display: inline-flex; min-height: 30px; align-items: center; padding: 3px 9px; border: 1px solid var(--line-dark); background: var(--sand-50); font-size: 12px; font-weight: 800; }
.back-link { display: inline-block; margin-bottom: 22px; }

.field { display: grid; gap: 7px; margin: 16px 0; }
.field > span { font-size: 14px; font-weight: 700; }
.field small { color: var(--muted); }
.field input, .field textarea, .field select, .search input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 2px; background: white; color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus, .search input:focus { border-color: var(--focus); outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: none; }
.field textarea { resize: vertical; }
.field input:read-only, .field textarea:read-only { background: #f4f6f6; color: var(--ink); }
.check-row { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0; font-size: 14px; }
.check-row input, .checklist input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--orange); }
.form-error { margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; background: #fff0ed; color: #8f2f20; font-size: 14px; }
.field-error { color: #8f2f20 !important; font-weight: 700; }
.registration-documents { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.registration-documents h2 { margin-bottom: 6px; font-size: 20px; }
[data-required-documents] { display: grid; gap: 12px; margin-top: 14px; }
.registration-document { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--sand-50); }
.registration-document h3, .registration-document p { margin: 0; }
.registration-document .button { justify-self: start; }
.accepted-documents-card { margin-top: 24px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; }
[data-accepted-documents-list] { display: grid; gap: 10px; margin-top: 14px; }
.accepted-document { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--sand-50); }
.accepted-document div { display: grid; gap: 4px; }
.accepted-document span { color: var(--muted); font-size: 13px; }
.demo-disclosure { padding: 12px; border-left: 4px solid var(--amber); background: #fff4df; color: #75410a; font-size: 13px; }
.network-status { position: sticky; z-index: 49; top: 78px; padding: 9px 16px; background: #e4f4eb; color: #18553f; text-align: center; font-size: 13px; font-weight: 700; }
.network-status.is-offline { background: #fff4df; color: #75410a; }

.onboarding-card { position: relative; overflow: hidden; }
.onboarding-visual { display: grid; place-items: center; width: 88px; height: 88px; margin-bottom: 28px; border-radius: 2px; background: var(--ink); color: var(--white); font-size: 26px; font-weight: 900; }
.onboarding-example { min-height: 86px; margin: 22px 0; padding: 16px; border-left: 4px solid var(--coral-500); border-radius: 0 12px 12px 0; background: var(--coral-100); }
.onboarding-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.dots { display: flex; gap: 7px; }
.dots i { display: block; width: 8px; height: 8px; border-radius: 999px; background: #ccd5d8; }
.dots i.is-active { width: 22px; background: var(--orange); }

.candidate-shell, .lesson-shell, .result-shell { width: min(100%, var(--content)); margin: 0 auto; padding: 30px 16px 110px; }
.page-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.page-header h1 { margin-bottom: 8px; }
.page-header p { margin-bottom: 0; color: var(--muted); }
.current-card { overflow: hidden; border-top: 5px solid var(--orange); border-radius: var(--radius-lg); background: var(--ink); color: white; box-shadow: var(--shadow); }
.current-card > img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.current-card.is-text-only { grid-template-columns: 1fr; }
.current-card.is-text-only > img { display: none; }
.current-card__body { padding: 22px; }
.current-card__body p { color: #cbd7e2; }
.current-card__body .current-draft-state { display: inline-flex; width: fit-content; margin: 2px 0 14px; padding: 7px 10px; border-radius: 9px; background: rgb(255 255 255 / 9%); color: #f4f7fa; font-size: .88rem; font-weight: 700; }
.card-meta, .time-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; color: #cad7e0; font-size: 12px; }
.tag { display: inline-flex; padding: 6px 9px; border-radius: 2px; font-weight: 700; }
.tag--active { background: var(--orange); color: var(--white); }
.time-row { justify-content: flex-start; margin: 20px 0; }
.time-row span { padding: 6px 9px; border: 1px solid rgba(255,255,255,.24); border-radius: 2px; }

.metric-row, .hr-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 34px; }
.metric-row article, .hr-metrics article { padding: 15px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; }
.metric-row strong, .metric-row span, .hr-metrics span, .hr-metrics strong, .hr-metrics small { display: block; }
.metric-row strong, .hr-metrics strong { font-size: 23px; }
.metric-row span, .hr-metrics span, .hr-metrics small { color: var(--muted); font-size: 12px; }
.section-block { margin-top: 34px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-heading h2 { margin-bottom: 0; }
.module-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.module-item { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; min-height: 72px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; text-align: left; }
button.module-item { cursor: pointer; }
.module-item__index { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 2px; background: #edf2f3; color: var(--muted); font-weight: 800; }
.module-item strong, .module-item small { display: block; }
.module-item small { color: var(--muted); }
.module-item__state { max-width: 180px; color: var(--muted); font-size: 12px; text-align: right; }
.module-item.is-active { border-color: var(--orange); background: #fff8f4; }
.module-item.is-active .module-item__index { background: var(--orange); color: white; }
.module-item.is-complete .module-item__index { background: var(--green); color: white; }
.module-item.is-locked { opacity: .72; }
.hard-skills-route-card { display: grid; gap: 18px; align-items: center; margin-top: 18px; padding: 20px; border: 2px solid var(--teal-500); border-radius: var(--radius-lg); background: var(--teal-100); }
.hard-skills-route-card h3 { margin-bottom: 8px; }
.hard-skills-route-card p { margin-bottom: 10px; }
.hard-skills-route-card small { display: block; color: var(--muted); }
.hard-skills-route-card .button { width: 100%; }
.work-style-route-item { border-style: dashed; }
.work-style-route-item.is-active { border-style: solid; border-color: var(--teal-500); background: var(--teal-100); }
.work-style-route-item.is-active .module-item__index { background: var(--teal-700); }
.work-style-shell { --work-style-choice: #f5f8f7; }
.work-style-form { display: grid; gap: 34px; }
.work-style-progress { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; }
.work-style-progress strong, .work-style-progress span { display: block; }
.work-style-progress > div > span { color: var(--muted); font-size: 13px; }
.work-style-part-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.work-style-part-nav.has-three-parts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.work-style-part-nav button { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-width: 0; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; color: var(--ink); text-align: left; cursor: pointer; }
.work-style-part-nav button[aria-current="step"] { border-color: var(--teal-700); background: var(--teal-100); box-shadow: inset 0 0 0 1px var(--teal-700); }
.work-style-part-nav button > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--teal-700); color: white; font-weight: 800; }
.work-style-part-nav button strong, .work-style-part-nav button small { min-width: 0; overflow-wrap: anywhere; }
.work-style-part-nav button small { color: var(--muted); }
.work-style-question-list { display: grid; gap: 14px; }
.work-style-question { min-width: 0; margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; }
.work-style-question:focus-within { border-color: var(--teal-500); box-shadow: 0 0 0 3px rgb(28 105 111 / 12%); }
.work-style-question legend { display: flex; align-items: flex-start; gap: 10px; max-width: 100%; padding: 0 6px; font-weight: 800; line-height: 1.45; }
.work-style-question legend > span { display: grid; flex: 0 0 30px; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--teal-100); color: var(--teal-700); font-size: 13px; }
.work-style-question > p { margin: 8px 0 10px 46px; color: var(--muted); }
.work-style-question > strong { display: block; margin: 0 0 12px 46px; }
.work-style-scale { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.work-style-choices { display: grid; gap: 8px; margin-top: 12px; }
.work-style-scale label, .work-style-choices label { display: flex; min-width: 0; align-items: flex-start; gap: 9px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--work-style-choice); cursor: pointer; }
.work-style-scale label:hover, .work-style-choices label:hover { border-color: var(--teal-500); }
.work-style-scale label:has(input:checked), .work-style-choices label:has(input:checked) { border-color: var(--teal-700); background: var(--teal-100); box-shadow: inset 0 0 0 1px var(--teal-700); }
.work-style-scale input, .work-style-choices input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--teal-700); }
.work-style-scale label > span, .work-style-choices label > span { overflow-wrap: anywhere; }
.work-style-choice-reference { display: grid; gap: 8px; margin: 14px 0; padding-left: 24px; color: var(--muted); }
.work-style-choice-reference li { padding-left: 4px; }
.work-style-ranking-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.work-style-ranking-grid .field, .work-style-basis { margin: 0; }
.work-style-ranking-grid select { min-height: 48px; }
.work-style-basis { display: grid; gap: 7px; margin-top: 14px; }
.work-style-basis textarea { min-height: 96px; resize: vertical; }
.work-style-actions { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 12px; padding: 18px; border-radius: var(--radius-md); background: #edf2f3; }
.work-style-actions .form-error { grid-column: 1 / -1; }
.work-style-actions small { color: var(--muted); }
.work-style-submitted details { margin-top: 14px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-md); }
.work-style-submitted summary { cursor: pointer; font-weight: 800; }
.work-style-own-answers { display: grid; gap: 12px; margin: 16px 0 0; padding-left: 24px; }
.work-style-own-answers strong, .work-style-own-answers span { display: block; }
.work-style-own-answers span { margin-top: 4px; color: var(--teal-700); }
.work-style-hr-summary { margin-top: 24px; }
.work-style-hr-grid { display: grid; gap: 12px; margin-top: 12px; }
.work-style-hr-card h4 { margin-bottom: 6px; }
.work-style-hr-card details { margin-top: 10px; }
.work-style-hr-card summary { cursor: pointer; font-weight: 700; }
.work-style-hr-card ul { display: grid; gap: 10px; margin: 12px 0 0; padding-left: 20px; }
.work-style-hr-card li strong, .work-style-hr-card li span, .work-style-hr-card li small { display: block; }
.work-style-hr-card li small { margin-top: 3px; color: var(--muted); }
.work-style-interview-question { margin-top: 12px; padding: 12px; border-left: 3px solid var(--teal-500); background: var(--teal-100); }
.work-style-interview-question p { margin: 4px 0 0; }
.help-card { display: grid; grid-template-columns: auto 1fr; gap: 14px; margin-top: 28px; padding: 18px; border-radius: var(--radius-lg); background: var(--sand-100); }
.help-card__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 2px; background: var(--ink); color: var(--white); font-weight: 800; }
.help-card p { margin-bottom: 10px; color: var(--muted); font-size: 14px; }
.help-card .button { grid-column: 1 / -1; }

.bottom-nav { position: fixed; z-index: 40; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(5, 1fr); padding: 8px max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); border-top: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); }
.bottom-nav button { min-height: 54px; padding: 4px 2px; border: 0; background: none; color: var(--muted); font-size: 10px; cursor: pointer; }
.bottom-nav span { display: block; margin-bottom: 2px; font-size: 18px; }
.bottom-nav button.is-active { color: var(--orange); font-weight: 800; }
.candidate-sidebar { display: none; }

.lesson-shell { max-width: 900px; padding-bottom: 70px; }
.lesson-progress { height: 7px; overflow: hidden; margin-bottom: 30px; border-radius: 2px; background: #e0e6e7; }
.lesson-progress span { display: block; height: 100%; border-radius: inherit; background: var(--orange); }
.lesson-progress.is-indeterminate span { width: 32% !important; animation: staged-progress-pulse 1.8s ease-in-out infinite alternate; }
@keyframes staged-progress-pulse { from { transform: translateX(-25%); } to { transform: translateX(235%); } }
.lesson-header { display: grid; gap: 18px; margin-bottom: 22px; }
.lesson-timebox { align-self: start; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; }
.lesson-timebox span, .lesson-timebox strong, .lesson-timebox small { display: block; }
.lesson-timebox span, .lesson-timebox small { color: var(--muted); font-size: 12px; }
.lesson-cover { width: 100%; height: auto; aspect-ratio: auto 16 / 9; margin-bottom: 20px; border-top: 5px solid var(--orange); border-radius: var(--radius-lg); object-fit: contain; box-shadow: var(--shadow); }
.lesson-shell img,
.task-prompt img,
.staged-assessment img { max-width: 100%; height: auto; margin-inline: auto; object-fit: contain; }
.content-card { margin: 16px 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; }
.content-kicker { margin-bottom: 8px; color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: 0; text-transform: uppercase; }
.prose p { font-size: 17px; }
.formula { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.formula span { padding: 8px 11px; border-radius: 2px; background: var(--teal-100); color: var(--orange-dark); font-weight: 700; }
.formula b { color: var(--muted); }
.comparison-grid { display: grid; gap: 12px; }
.example { padding: 16px; border-radius: var(--radius-md); }
.example span { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.example p { margin-bottom: 0; }
.example--weak { background: #f3f3f0; }
.example--weak span { color: #6d7479; }
.example--strong { background: var(--teal-100); }
.example--strong span { color: var(--orange-dark); }
.task-card__top { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 12px; }
.assignment-switcher { display: grid; gap: 8px; margin: 18px 0; }
.assignment-tab { display: grid; min-height: 58px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; color: var(--ink); text-align: left; cursor: pointer; }
.assignment-tab span { font-weight: 750; }
.assignment-tab small { margin-top: 3px; color: var(--muted); }
.assignment-tab.is-active { border-color: var(--orange); box-shadow: inset 4px 0 0 var(--orange); }
.assignment-tab.is-locked { background: #f4f5f3; }
.task-prompt { margin: 16px 0; }
.task-prompt p, .task-prompt li { overflow-wrap: anywhere; }
.task-prompt ol { padding-left: 22px; }
[data-protected-content] { position: relative; user-select: none; -webkit-user-select: none; }
[data-protected-content] a,
[data-protected-content] button,
[data-protected-content] [tabindex] { user-select: auto; -webkit-user-select: auto; }
[data-protected-content] [data-copy-allowed] { user-select: text; -webkit-user-select: text; }
[data-protected-content] img { -webkit-user-drag: none; -webkit-touch-callout: none; }
.task-context { padding: 12px; border-left: 3px solid var(--teal-500); background: var(--teal-100); white-space: pre-wrap; }
.save-status { padding: 5px 8px; border-radius: 999px; background: #edf2f3; color: var(--muted); font-size: 12px; }
.save-status.is-saved { background: var(--teal-100); color: var(--teal-700); }
.answer-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.candidate-media-response { display: grid; gap: 14px; margin: 18px 0; padding: 16px; border: 1px solid var(--line-dark); border-radius: var(--radius-md); background: var(--sand-50); }
.candidate-media-response[hidden] { display: none; }
.candidate-media-response__head { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 10px; }
.candidate-media-response__head h3 { margin: 0; }
.candidate-media-response p { margin: 0; }
.privacy-note { color: var(--muted); font-size: 13px; line-height: 1.5; }
.voice-recorder, .candidate-file-picker { display: grid; gap: 12px; padding: 14px; border: 1px solid var(--line); background: var(--white); }
.voice-recorder[hidden], .candidate-file-picker[hidden] { display: none; }
.voice-recorder__meter { display: grid; gap: 6px; }
.voice-recorder__meter progress, .candidate-upload-progress progress { width: 100%; min-height: 12px; accent-color: var(--orange); }
.voice-recorder__status { min-height: 22px; color: var(--muted); font-weight: 700; }
[data-local-voice-preview] { display: grid; gap: 10px; }
[data-local-voice-preview][hidden] { display: none; }
[data-voice-preview] { width: 100%; }
.candidate-upload-progress { display: grid; grid-template-columns: minmax(8rem, 1fr) auto; align-items: center; gap: 10px; }
.candidate-upload-progress[hidden] { display: none; }
.candidate-upload-progress span { color: var(--muted); font-size: 13px; }
.candidate-upload-list { display: grid; gap: 8px; }
.candidate-upload-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 11px 12px; border: 1px solid var(--line); background: var(--white); }
.candidate-upload-item__main { min-width: 0; }
.candidate-upload-item strong, .candidate-upload-item small { display: block; overflow-wrap: anywhere; }
.candidate-upload-item small { margin-top: 3px; color: var(--muted); }
.candidate-upload-item audio { grid-column: 1 / -1; width: 100%; }
.candidate-upload-item.is-ready { border-color: #8bb9a5; background: #f2fbf7; }
.candidate-upload-item.is-rejected { border-color: #d8988e; background: #fff1ee; }
.candidate-file-picker input[type="file"] { width: 100%; max-width: 100%; }
.draft-conflict { margin-top: 16px; padding: 14px; border: 2px solid #9a5a08; border-radius: var(--radius-md); background: #fff4df; color: #603907; }
.draft-conflict p { margin: 6px 0 12px; }
.version-history { margin-top: 20px; }
.version-card { margin: 12px 0; padding: 14px; border-left: 4px solid var(--orange); background: var(--sand-50); }
.version-card strong, .version-card span, .version-card small { display: block; }
.version-card span, .version-card small { color: var(--muted); font-size: 12px; }
.version-card p { margin: 8px 0; white-space: pre-wrap; }
.answer-filter { display: flex; gap: 8px; margin: 20px 0 8px; overflow-x: auto; padding: 2px 0 8px; scrollbar-width: thin; }
.answer-filter button { flex: 0 0 auto; min-height: 40px; padding: 8px 11px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.answer-filter button[aria-pressed="true"] { border-color: var(--orange); background: #fff3eb; color: #8c3515; }
.answer-filter button span { display: inline-flex; min-width: 22px; min-height: 22px; align-items: center; justify-content: center; margin-left: 4px; padding-inline: 5px; border-radius: 999px; background: var(--sand-100); font-size: 11px; }
.answer-filter__status { min-height: 20px; margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.answer-history { display: grid; gap: 14px; }
.answer-history-card { margin: 0; }
.answer-history-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.answer-history-card__head h2 { margin: 4px 0 0; font-size: clamp(20px, 5vw, 28px); }
.answer-status { display: inline-flex; flex: 0 0 auto; min-height: 28px; align-items: center; padding: 3px 8px; border: 1px solid var(--line-dark); background: var(--sand-50); font-size: 12px; font-weight: 800; }
.answer-status--draft { border-color: #d8ac70; background: #fff4df; color: #75410a; }
.answer-status--feedback, .answer-status--completed { border-color: #8bb9a5; background: #e8f6ef; color: #18553f; }
.answer-history-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 14px; color: var(--muted); font-size: 12px; }
.answer-history-body { display: grid; gap: 10px; }
.answer-history-body dl, .answer-history-body ol, .answer-history-body ul { margin: 0; }
.answer-history-body dl { display: grid; gap: 8px; }
.answer-history-body dl > div { padding: 10px 12px; background: var(--white); }
.answer-history-body dt { color: var(--muted); font-size: 12px; font-weight: 800; }
.answer-history-body dd { margin: 5px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.answer-files { display: grid; gap: 8px; margin-top: 14px; }
.answer-files > strong { font-size: 14px; }
.answer-history-card details { margin-top: 12px; padding: 10px 12px; border: 1px solid var(--line); background: var(--white); }
.answer-history-card summary { cursor: pointer; font-weight: 800; }
.answer-feedback { margin-top: 14px; padding: 14px; border-left: 4px solid var(--orange); background: #fff8f4; }
.answer-feedback p:last-child { margin-bottom: 0; }
.answer-receipt { overflow-wrap: anywhere; }
.checklist { display: grid; gap: 10px; padding: 0; list-style: none; }
.checklist label { display: flex; align-items: flex-start; gap: 10px; }
.self-rating { margin: 22px 0; }
.rating-buttons { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
.rating-buttons button { min-height: 48px; border: 1px solid var(--line); border-radius: 2px; background: white; cursor: pointer; }
.rating-buttons button.is-selected { border-color: var(--orange); background: var(--teal-100); color: var(--orange-dark); font-weight: 800; }

.staged-assessment { margin-top: 20px; }
.staged-assessment__summary { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.staged-assessment__summary h2, .staged-assessment__summary p { margin-bottom: 4px; }
.staged-assessment__summary > strong { flex: 0 0 auto; padding: 7px 10px; border-radius: 999px; background: var(--teal-100); color: var(--teal-700); font-size: 13px; }
.staged-stage-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.staged-stage-list li { min-width: 0; }
.staged-stage { display: grid; width: 100%; min-height: 92px; align-content: start; gap: 4px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; color: var(--ink); text-align: left; cursor: pointer; }
.staged-stage > span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #edf2f3; color: var(--muted); font-size: 12px; font-weight: 800; }
.staged-stage strong { overflow-wrap: anywhere; font-size: 12px; line-height: 1.25; }
.staged-stage small { color: var(--muted); font-size: 11px; }
.staged-stage.is-active { border-color: var(--orange); box-shadow: inset 0 4px 0 var(--orange); }
.staged-stage.is-active > span, .staged-stage.is-complete > span { background: var(--teal-100); color: var(--teal-700); }
.staged-stage.is-locked { background: #f4f5f3; color: #596568; }
.staged-state-card { display: grid; justify-items: start; gap: 10px; }
.staged-state-card p { margin: 0; }
.staged-action-note { display: block; max-width: 42rem; color: var(--muted); }
.staged-timer-note { padding: 11px 14px; border-left: 3px solid var(--orange); background: #fff8f4; color: var(--ink); font-size: 14px; }
.hard-skills-shell { max-width: 980px; }
.hard-skills-hold-note { margin-bottom: 18px; }
.hard-skills-hold-note p { margin: 5px 0 0; }
.hard-skills-overview { margin-bottom: 18px; }
.hard-skills-learning-intro, .hard-skills-learning-complete { display: grid; gap: 14px; }
.hard-skills-learning-intro > p, .hard-skills-learning-complete > p { margin: 0; }
.hard-skills-learning-scope { padding: 11px 13px; border-left: 4px solid var(--orange); background: #fff8f4; }
.hard-skills-learning-sequence { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.hard-skills-learning-sequence li { display: grid; align-content: start; gap: 5px; padding: 13px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; }
.hard-skills-learning-sequence span { color: var(--muted); font-size: 13px; }
.hard-skills-boundary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 12px; width: 100%; }
.hard-skills-boundary-grid article { padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #f8faf9; }
.hard-skills-boundary-grid h3 { margin: 0 0 7px; font-size: 16px; }
.hard-skills-boundary-grid p { margin: 0; color: var(--muted); }
.hard-skills-learning-progress { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.hard-skills-learning-progress li { min-width: 0; }
.hard-skills-learning-progress button { display: grid; width: 100%; min-height: 104px; align-content: start; gap: 5px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; color: var(--ink); text-align: left; cursor: pointer; }
.hard-skills-learning-progress button > span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #edf2f3; font-weight: 800; }
.hard-skills-learning-progress button strong { overflow-wrap: anywhere; font-size: 13px; line-height: 1.25; }
.hard-skills-learning-progress button small { color: var(--muted); font-size: 11px; }
.hard-skills-learning-progress button.is-active { border-color: var(--orange); box-shadow: inset 0 4px 0 var(--orange); }
.hard-skills-learning-progress button.is-complete > span { background: var(--green); color: white; }
.hard-skills-learning-progress button:disabled { cursor: not-allowed; opacity: .56; }
.hard-skills-learning-topic { margin: 0; }
.hard-skills-learning-stimulus { margin-bottom: 16px; }
.hard-skills-learning-examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.hard-skills-learning-examples .hard-skills-stimulus { min-width: 0; margin-top: 0; }
.hard-skills-learning-examples .hard-skills-nonvisual { display: grid; align-content: start; gap: 9px; }
.hard-skills-learning-examples .hard-skills-nonvisual strong,
.hard-skills-learning-examples .hard-skills-nonvisual p { margin: 0; }
.hard-skills-learning-boundary { display: grid; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; }
.hard-skills-learning-boundary h3 { margin: 8px 0 0; font-size: 16px; }
.hard-skills-learning-boundary h3:first-child { margin-top: 0; }
.hard-skills-learning-boundary p, .hard-skills-learning-boundary ul { margin: 0; }
.hard-skills-learning-boundary ul { padding-left: 22px; }
.hard-skills-learning-orientation { margin: 0 0 14px; }
.hard-skills-learning-topic__action { display: flex; justify-content: flex-end; margin-top: 16px; }
.hard-skills-learning-self-check { display: grid; gap: 16px; }
.hard-skills-learning-self-check > p { margin: 0; }
.hard-skills-learning-question { display: grid; gap: 9px; min-width: 0; margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-md); }
.hard-skills-learning-question legend { padding: 0 4px; font-weight: 800; }
.hard-skills-learning-question label { display: flex; min-height: 44px; align-items: flex-start; gap: 10px; padding: 9px 10px; border: 1px solid #dfe5e4; border-radius: var(--radius-md); background: white; cursor: pointer; }
.hard-skills-learning-question label:focus-within { outline: 3px solid color-mix(in srgb, var(--orange) 35%, transparent); outline-offset: 2px; }
.hard-skills-learning-question input { flex: 0 0 auto; margin-top: 3px; }
.hard-skills-learning-feedback { margin-top: 4px; padding: 11px 12px; border-left: 4px solid var(--teal-500); background: var(--teal-100); }
.hard-skills-learning-feedback p { margin: 4px 0 0; }
.hard-skills-learning-review-note { margin: 0 0 14px; }
.hard-skills-dangerous-assumption { margin-top: 8px; padding: 12px 14px; border-left: 4px solid #b45309; background: #fff7ed; color: #6f3210; }
.hard-skills-dangerous-assumption p { margin: 4px 0 0; }
.hard-skills-topic-checks { display: grid; gap: 10px; margin-top: 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; }
.hard-skills-topic-checks > h3, .hard-skills-topic-checks > p { margin: 0; }
.hard-skills-topic-check { display: grid; gap: 10px; min-width: 0; margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); }
.hard-skills-topic-check > label { font-weight: 800; line-height: 1.45; }
.hard-skills-topic-check textarea { min-height: 96px; }
.hard-skills-topic-check .hard-skills-learning-feedback { margin: 0; }
.hard-skills-progress { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.hard-skills-progress button { display: grid; width: 100%; min-height: 64px; place-items: center; gap: 3px; padding: 8px 4px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; color: var(--ink); cursor: pointer; }
.hard-skills-progress button span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #edf2f3; font-weight: 800; }
.hard-skills-progress button small { color: var(--muted); font-size: 10px; }
.hard-skills-progress button.is-active { border-color: var(--orange); box-shadow: inset 0 4px 0 var(--orange); }
.hard-skills-progress button.is-complete span { background: var(--green); color: white; }
.hard-skills-progress button:disabled { cursor: not-allowed; opacity: .55; }
.hard-skills-task { margin: 0; }
.hard-skills-task__head { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.hard-skills-task__head h2 { margin: 0; }
.hard-skills-presentation-switch { display: flex; flex-wrap: wrap; gap: 8px; }
.hard-skills-presentation-switch button[aria-pressed="true"] { border-color: var(--orange); background: #fff8f4; color: var(--orange-dark); font-weight: 800; }
.hard-skills-stimulus { margin: 16px 0 22px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #f6f8f7; }
.hard-skills-stimulus img { display: block; width: min(100%, 960px); height: auto; aspect-ratio: 3 / 2; margin: 0 auto; object-fit: contain; background: white; }
.hard-skills-stimulus figcaption { margin-top: 9px; color: var(--muted); font-size: 12px; }
.hard-skills-nonvisual { font-size: 16px; line-height: 1.65; }
.hard-skills-form { display: grid; gap: 4px; }
.hard-skills-question-list { display: grid; gap: 10px; }
.hard-skills-form .field textarea { min-height: 100px; }
.hard-skills-save-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.hard-skills-reveal { border-left: 5px solid var(--green); }
.hard-skills-reveal dl { display: grid; gap: 10px; }
.hard-skills-reveal dt { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.hard-skills-reveal dd { margin: 2px 0 0; white-space: pre-wrap; }
.hard-skills-hr-summary { margin: 22px 0; padding: 18px; border: 1px solid var(--line); border-left: 5px solid var(--teal-500); background: #f8faf9; }
.hard-skills-hr-summary h3 { margin-bottom: 12px; }
.hard-skills-hr-answer { display: grid; gap: 8px; margin-top: 10px; }
.hard-skills-hr-answer dt { color: var(--muted); font-size: 12px; font-weight: 800; }
.hard-skills-hr-answer dd { margin: 0; white-space: pre-wrap; }
.hard-skills-review-action { display: grid; gap: 16px; }
.hard-skills-review-task-list { display: grid; gap: 16px; }
.hard-skills-review-task { display: grid; min-width: 0; gap: 14px; margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; }
.hard-skills-review-task > legend { padding: 0 6px; font-weight: 800; }
.hard-skills-review-criteria { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hard-skills-review-criterion { display: grid; min-width: 0; align-content: start; gap: 10px; margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); }
.hard-skills-review-criterion > legend { max-width: 100%; padding: 0 5px; font-weight: 800; }
.hard-skills-review-criterion > p { margin: 0; }
.hard-skills-review-special { display: grid; gap: 12px; padding: 14px; border-left: 4px solid var(--orange); background: #fff8f4; }
.hard-skills-structured-result { display: grid; gap: 10px; margin-top: 14px; padding: 14px; border: 1px solid var(--line); border-left: 4px solid var(--teal-500); border-radius: var(--radius-md); background: #f8faf9; }
.hard-skills-structured-result h4, .hard-skills-structured-result p { margin: 0; }
.hard-skills-review-result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hard-skills-review-result-grid article { display: grid; min-width: 0; gap: 6px; padding: 12px; border-radius: var(--radius-md); background: white; }
.hard-skills-review-result-grid article > * { overflow-wrap: anywhere; }
.staged-prompt__lead { font-size: 17px; font-weight: 700; }
.staged-case-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 14px 0; padding: 12px 14px; border-left: 3px solid var(--orange); background: var(--teal-100); }
.staged-case-meta div { display: grid; gap: 2px; }
.staged-case-meta dt { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.staged-case-meta dd { margin: 0; font-weight: 800; }
.staged-prompt__note { padding: 12px; border-left: 3px solid var(--orange); background: var(--teal-100); }
.staged-prompt ol { padding-left: 22px; }
.staged-lesson-block { overflow: hidden; }
.staged-lesson-block > h3 { margin-bottom: 12px; }
.staged-lesson-media { margin: 16px 0; }
.staged-lesson-media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius-md); object-fit: cover; background: #edf2f3; }
.staged-lesson-media figcaption { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.staged-lesson-quote { margin: 14px 0; padding: 14px 16px; border-left: 4px solid var(--orange); background: #fff8f4; color: var(--ink); font-weight: 700; }
.staged-lesson-points { display: grid; gap: 8px; margin: 14px 0 0; padding-left: 22px; }
.staged-lesson-callout { margin-top: 14px; padding: 13px 15px; border: 1px solid #bdd8d9; border-radius: var(--radius-md); background: var(--teal-100); color: var(--ink); }
.staged-table-wrap { max-width: 100%; margin: 16px 0; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius-md); -webkit-overflow-scrolling: touch; }
.staged-table { width: 100%; min-width: 680px; border-collapse: collapse; background: white; font-size: 13px; }
.staged-table th, .staged-table td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.staged-table thead th { position: sticky; top: 0; z-index: 1; background: var(--ink); color: white; }
.staged-table tbody th { background: #f4f6f6; font-weight: 800; }
.staged-linearized-cards { display: grid; gap: 12px; margin: 16px 0; }
.staged-linearized-cards article { padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; }
.staged-linearized-cards h4 { margin: 0 0 10px; }
.staged-linearized-cards dl { display: grid; gap: 8px; margin: 0; }
.staged-linearized-cards dl div { display: grid; gap: 2px; }
.staged-linearized-cards dt { color: var(--muted); font-size: 12px; font-weight: 800; }
.staged-linearized-cards dd { margin: 0; white-space: pre-wrap; }
.staged-fields { display: grid; gap: 2px; }
.staged-field { min-width: 0; }
.staged-field textarea { min-height: 112px; }
.staged-field select[multiple] { min-height: 132px; padding: 6px; }
.staged-field select[multiple] option { padding: 8px; }
.staged-field [aria-invalid="true"] { border-color: #8f2f20; box-shadow: 0 0 0 2px rgb(143 47 32 / 14%); }
.json-schema-object,
.json-schema-array,
.json-schema-array-item { min-width: 0; margin: 12px 0; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-md); }
.json-schema-object > legend,
.json-schema-array > legend,
.json-schema-array-item > legend { max-width: 100%; padding: 0 6px; color: var(--ink); font-weight: 800; overflow-wrap: anywhere; }
.json-schema-object__fields { display: grid; gap: 2px; }
.json-schema-array { display: grid; gap: 12px; background: #f8faf9; }
.json-schema-array-item { margin: 0; background: white; }
.json-schema-array__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.json-schema-array__remove { margin-top: 4px; }
.json-schema-array__status { color: var(--muted); }
.json-schema-enum-array__options { display: grid; gap: 8px; }
.json-schema-enum-array__choice { margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: white; }
.json-schema-enum-array__choice:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgb(13 112 96 / 14%); }
.json-schema-enum-array__choice:has(input:checked) { border-color: var(--teal); background: #f1faf7; }
.json-schema-enum-array__choice:has(input:disabled:not(:checked)) { opacity: .58; }
.json-schema-enum-array__selected { display: grid; gap: 6px; margin: 0; padding-left: 22px; }
.json-schema-object[aria-invalid="true"],
.json-schema-array[aria-invalid="true"],
.json-schema-array-item[aria-invalid="true"] { border-color: #8f2f20; box-shadow: 0 0 0 2px rgb(143 47 32 / 14%); }
.json-schema-answer-export { max-width: 100%; margin: 8px 0 0; padding: 12px; overflow: auto; border-radius: var(--radius-sm); background: #f4f6f6; color: var(--ink); font: inherit; white-space: pre-wrap; overflow-wrap: anywhere; }
.validation-summary { margin: 0 0 16px; padding: 14px; border: 2px solid #8f2f20; border-radius: var(--radius-md); background: #fff0ed; color: #642117; }
.validation-summary ul { margin: 8px 0 0; padding-left: 20px; }
.validation-summary a { color: inherit; font-weight: 700; }
.staged-fields.is-readonly .field { margin-block: 10px; }
.staged-fields.is-readonly input,
.staged-fields.is-readonly textarea,
.staged-fields.is-readonly select { background: #f4f6f6; color: var(--ink); opacity: 1; }
.staged-change-event { border-color: #e2b25d; background: #fffaf0; }
.staged-client-reply-audio {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid #e2b25d;
  border-radius: var(--radius-md);
  background: white;
}
.staged-client-reply-audio p,
.staged-client-reply-audio small { margin: 0; }
.staged-client-reply-audio audio { display: block; width: 100%; max-width: 100%; }
.staged-client-reply-audio small { color: var(--muted); line-height: 1.45; }
.staged-client-reply-audio__fallback {
  margin: 14px 0;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: #fff3d6;
}
.staged-client-reply-transcript { margin-top: 12px; }
.staged-client-reply-transcript summary { min-height: 44px; padding-block: 10px; cursor: pointer; font-weight: 800; }
.staged-client-reply-transcript p { margin: 8px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.staged-parent-answer { border-color: #8ab9af; background: #f4fbf9; }
.staged-parent-answer dl { display: grid; gap: 10px; margin: 12px 0; }
.staged-parent-answer dl div { display: grid; gap: 3px; }
.staged-parent-answer dt { color: var(--muted); font-size: 12px; font-weight: 800; }
.staged-parent-answer dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.staged-complete { border-color: #8ab9af; background: var(--teal-100); }
.staged-locked-answer .button { margin-top: 8px; }
.version-field { margin: 12px 0; }
.version-field p { margin: 4px 0; white-space: pre-wrap; }

.result-shell { max-width: 850px; }
.recommendation { margin: 22px 0; padding: 17px; border-radius: var(--radius-md); }
.recommendation span, .recommendation strong { display: block; }
.recommendation span { font-size: 12px; font-weight: 800; text-transform: uppercase; }
.recommendation strong { margin: 5px 0; font-size: 20px; }
.recommendation p { margin-bottom: 0; }
.recommendation--neutral { background: #edf2f3; }
.recommendation--positive { background: #e4f4eb; color: #18553f; }
.recommendation--caution { background: #fff4df; color: #75410a; }
.recommendation--negative { background: #fff0ed; color: #8f2f20; }
.competency-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; }
.evidence-progress { display: grid; gap: 8px; padding: 16px; border-left: 3px solid var(--orange); background: var(--teal-100); }
.evidence-progress strong { font-size: 18px; }
.evidence-progress p { margin: 0; color: var(--muted); }
.competency-row { display: grid; grid-template-columns: 1fr 52px; gap: 8px; margin: 18px 0; }
.competency-row span { font-weight: 700; }
.competency-row b { text-align: right; }
.competency-track { grid-column: 1 / -1; height: 8px; overflow: hidden; border-radius: 999px; background: #e3e8e9; }
.competency-track i { display: block; height: 100%; border-radius: inherit; background: var(--orange); }

.hr-layout { min-height: calc(100vh - 68px); }
.hr-sidebar { display: block; overflow: hidden; padding: 8px 12px; background: var(--navy-950); color: white; }
.hr-sidebar__title, .hr-sidebar__guide, .hr-sidebar__user { display: none; }
.hr-sidebar nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; padding: 2px; }
.hr-sidebar nav button { display: flex; min-width: 0; min-height: 48px; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border: 0; border-radius: 2px; background: transparent; color: #cbd5e1; text-align: left; line-height: 1.25; cursor: pointer; }
.hr-sidebar nav a { display: flex; min-width: 0; min-height: 48px; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border: 0; border-radius: 2px; background: transparent; color: #cbd5e1; text-align: left; line-height: 1.25; text-decoration: none; cursor: pointer; }
.hr-sidebar nav > :last-child { grid-column: 1 / -1; }
.hr-sidebar nav button.is-active { background: var(--orange); color: white; }
.hr-sidebar nav button:focus-visible,
.hr-sidebar nav a:focus-visible { outline-color: white; outline-offset: 2px; }
.hr-main { padding: 28px 16px 70px; }
.hr-main .page-header { flex-direction: column; }
.hr-primary-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hr-primary-action { flex: 0 0 auto; white-space: nowrap; }
.hr-metrics { grid-template-columns: 1fr 1fr; }
.operations-board { margin-bottom: 18px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.operations-board__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.operations-board__head > .button { flex: 0 0 auto; white-space: nowrap; }
.operations-board__head h2 { margin-bottom: 4px; }
.operations-board__head p { margin: 0; }
.attention-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 16px 0 10px; padding: 14px; border-left: 4px solid var(--orange); background: #fff8f4; }
.attention-summary > div { min-width: 0; }
.attention-summary strong, .attention-summary span { display: block; }
.attention-summary span { margin-top: 3px; color: var(--muted); font-size: 13px; }
.operations-queue-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 16px 0; }
.operations-queue-metric { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-md); color: var(--muted); }
.operations-queue-metric.has-items { border-color: #e2a04b; background: #fff8ed; color: var(--ink); }
.operations-queue-metric span { font-size: 12px; }
.operations-queue-metric strong { font-size: 18px; }
.operations-list { display: grid; gap: 8px; }
.operations-item { display: grid; gap: 12px; padding: 13px 14px; border-left: 4px solid var(--orange); border-radius: 0 var(--radius-md) var(--radius-md) 0; background: #fff8f4; }
.operations-item > div:first-child span,
.operations-item > div:first-child strong,
.operations-item > div:first-child small { display: block; }
.operations-item > div:first-child span { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.operations-item > div:first-child small { margin-top: 3px; color: var(--muted); }
.operations-item > div:last-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.operations-item b { font-size: 13px; }
.operations-board__privacy { margin: 14px 0 0; }
.help-inbox-workspace { margin-bottom: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.help-inbox-toolbar { align-items: flex-start; justify-content: space-between; }
.help-inbox-toolbar h2 { margin-bottom: 4px; }
.help-inbox-toolbar p { margin: 0; }
.help-inbox-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 14px; }
.help-inbox-metric { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-md); color: var(--muted); }
.help-inbox-metric.has-items { border-color: #e2a04b; background: #fff8ed; color: var(--ink); }
.help-inbox-metric span { font-size: 12px; }
.help-inbox-metric strong { font-size: 18px; }
.help-inbox-workspace > .save-status { min-height: 20px; margin: 0; padding: 0 14px 8px; }
.help-inbox-list { display: grid; gap: 10px; padding: 0 14px 14px; }
.help-inbox-item { padding: 15px; border: 1px solid var(--line); border-left: 4px solid #8ca0ad; background: var(--white); }
.help-inbox-item.is-unread { border-left-color: var(--orange); background: #fff8f4; }
.help-inbox-item__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.help-inbox-item__head > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.help-inbox-item__head time, .help-inbox-item__meta { color: var(--muted); font-size: 12px; }
.help-inbox-item h3 { margin: 12px 0 2px; }
.help-inbox-item__meta { margin: 0; overflow-wrap: anywhere; }
.help-inbox-item__message { margin: 13px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.help-inbox-item__archived { align-self: center; color: var(--muted); font-size: 12px; }
.status-pill { display: inline-flex; min-height: 25px; align-items: center; padding: 3px 7px; border: 1px solid var(--line); background: #f4f6f7; color: var(--muted); font-size: 11px; font-weight: 800; }
.status-pill--attention { border-color: #e2a04b; background: #fff0db; color: #74400a; }
.status-pill--ready { border-color: #79a892; background: #e8f5ee; color: #225c43; }
[data-help-unread-count]:not(.has-items) { background: #617384; }
.hr-info-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.hr-info-facts div { padding: 12px; border: 1px solid var(--line); background: var(--white); }
.hr-info-facts dt { color: var(--muted); font-size: 12px; font-weight: 700; }
.hr-info-facts dd { margin: 4px 0 0; font-weight: 800; }
.candidate-contact-card__heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.candidate-contact-card__heading h3 { margin: 0; }
.candidate-contact-edit { margin-top: 16px; }
.hr-grid { display: grid; gap: 16px; }
.candidate-table-card, .candidate-detail { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; }
.candidate-list-heading { padding: 18px 14px 0; }
.candidate-list-heading h2 { margin: 3px 0 4px; }
.candidate-list-heading p { margin: 0; }
.table-toolbar { display: flex; gap: 9px; padding: 14px; border-bottom: 1px solid var(--line); }
.search { display: flex; flex: 1; align-items: center; gap: 6px; }
.search input { min-height: 42px; }
.filter-control select { min-height: 42px; padding: 8px 34px 8px 10px; border: 1px solid var(--line); border-radius: 2px; color: var(--ink); background: var(--white); }
.cohort-filter-control { min-width: 220px; }
.filter-button { min-height: 42px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 2px; background: white; }
.candidate-table { overflow-x: auto; }
.candidate-row { display: grid; min-width: 0; grid-template-columns: minmax(0, 2fr) minmax(72px, .8fr) minmax(110px, 1.1fr) minmax(96px, 1fr); align-items: center; width: 100%; gap: 12px; padding: 14px; border: 0; border-bottom: 1px solid var(--line); background: white; text-align: left; cursor: pointer; }
.candidate-row > span { min-width: 0; }
.candidate-row b, .candidate-row small { display: block; overflow-wrap: anywhere; }
.candidate-row small { color: var(--muted); }
.candidate-row em { font-style: normal; font-size: 12px; }
.candidate-row--head { background: #f7f8f6; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; cursor: default; }
.candidate-row.is-selected { background: #fff8f4; box-shadow: inset 4px 0 0 var(--orange); }
.candidate-name-button { width: 100%; min-height: 44px; padding: 4px; border: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.candidate-rows-empty { padding: 32px 18px; color: var(--muted); text-align: center; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; }
.status-dot--blue { background: #2b78c5; }.status-dot--green { background: var(--green); }.status-dot--amber { background: #d28a25; }.status-dot--gray { background: #9ba6aa; }
.status-dot--invited, .status-dot--archived { background: #9ba6aa; }.status-dot--in_progress { background: #2b78c5; }.status-dot--review { background: #d28a25; }.status-dot--completed { background: var(--green); }
.candidate-detail { padding: 18px; }
.candidate-detail__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.candidate-detail__head strong, .candidate-detail__head span { display: block; }
.candidate-detail__head span { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.candidate-detail__actions { display: grid; gap: 8px; margin-top: 18px; }
.detail-list { display: grid; gap: 1px; margin: 0 0 18px; border: 1px solid var(--line); background: var(--line); }
.detail-list > div { display: grid; grid-template-columns: minmax(90px, .7fr) minmax(0, 1.3fr); gap: 10px; padding: 10px 12px; background: var(--white); }
.detail-list dt { color: var(--muted); font-size: 12px; }
.detail-list dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.detail-title { display: flex; align-items: center; gap: 11px; }
.detail-title h2, .detail-title p { margin-bottom: 0; }
.detail-title p { color: var(--muted); font-size: 13px; }
.detail-title button { margin-left: auto; border: 0; background: none; font-size: 24px; }
.detail-facts { display: grid; gap: 10px; }
.detail-facts div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.detail-facts dt { color: var(--muted); font-size: 12px; }
.detail-facts dd { margin: 2px 0 0; font-weight: 700; }
.empty-state { padding: 18px; border-radius: var(--radius-md); background: #f5f6f4; color: var(--muted); font-size: 13px; }
.evidence-item { margin: 9px 0; padding: 12px; border-left: 4px solid var(--orange); border-radius: 0 2px 2px 0; background: #fff8f4; font-size: 13px; }
.evidence-item > strong, .evidence-item > span { display: block; }
.evidence-item > span { margin-top: 5px; color: var(--muted); line-height: 1.45; }
.evidence-profile { overflow: hidden; margin: 14px 0 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.evidence-profile--empty { padding: 16px; background: #f5f6f4; }
.evidence-profile--empty p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.evidence-profile__head { display: grid; gap: 3px; padding: 14px 16px; background: var(--teal-100); }
.evidence-profile__head span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.evidence-profile__head strong { font-size: 17px; }
.evidence-profile__head small { color: var(--muted); }
.evidence-profile__rows { display: grid; }
.evidence-profile__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); border-left: 4px solid #9ba6aa; }
.evidence-profile__row > div { min-width: 0; }
.evidence-profile__row strong, .evidence-profile__row span { display: block; }
.evidence-profile__row span, .evidence-profile__row small { color: var(--muted); font-size: 12px; }
.evidence-profile__row small { max-width: 230px; text-align: right; }
.evidence-profile__row--consistent_evidence { border-left-color: var(--green); }
.evidence-profile__row--mixed_evidence,
.evidence-profile__row--adjudication_required { border-left-color: #d28a25; }
.evidence-profile__row--technical_hold { border-left-color: #b44a3b; }
.evidence-profile__note { margin: 0; padding: 12px 16px; border-top: 1px solid var(--line); background: #fafbf9; color: var(--muted); font-size: 12px; }
.detail-actions { display: grid; gap: 9px; margin-top: 18px; }
.detail-system-note { margin-top: 14px; color: var(--muted); font-size: 12px; }
.hr-info-panel { padding: 24px; border-top: 5px solid var(--orange); background: var(--white); box-shadow: var(--shadow); }
.hr-info-panel article + article { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.learning-cohort-workspace { display: grid; gap: 18px; }
.learning-cohort-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.learning-cohort-heading h2 { margin: 2px 0 4px; }
.learning-cohort-heading p { max-width: 720px; margin: 0; color: var(--muted); }
.learning-cohort-heading__actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.learning-cohort-card__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.learning-cohort-card__actions .button { flex: 1 1 180px; }
.bulk-candidates-results { margin-top: 16px; }
.bulk-candidates-results ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bulk-candidates-result { display: grid; gap: 3px; padding: 11px 12px; border-left: 4px solid #2f7d55; background: #eef8f2; }
.bulk-candidates-result--attention { border-left-color: #b66a13; background: #fff7ea; }
.bulk-candidates-result span { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.learning-cohort-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.learning-cohort-metrics article { display: grid; gap: 3px; min-width: 0; margin: 0 !important; padding: 13px 14px !important; border: 0 !important; background: var(--white); }
.learning-cohort-metrics span { color: var(--muted); font-size: 12px; }
.learning-cohort-metrics strong { font-size: 24px; }
.learning-cohort-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.learning-cohort-grid .learning-cohort-card { display: grid; gap: 13px; min-width: 0; margin: 0 !important; padding: 17px !important; border: 1px solid var(--line) !important; border-left: 4px solid #91a1aa !important; background: var(--white); }
.learning-cohort-grid .learning-cohort-card.is-selected { border-left-color: var(--orange) !important; box-shadow: 0 8px 22px rgb(17 24 39 / 8%); }
.learning-cohort-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.learning-cohort-card__head span:first-child { color: var(--muted); font-size: 12px; }
.learning-cohort-card__head h3 { margin: 3px 0 0; }
.learning-cohort-card__program { margin: 0; font-weight: 700; }
.learning-cohort-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; border: 1px solid var(--line); background: var(--line); }
.learning-cohort-facts > div { min-width: 0; padding: 9px 10px; background: #fafbf9; }
.learning-cohort-facts dt { color: var(--muted); font-size: 11px; }
.learning-cohort-facts dd { margin: 3px 0 0; font-weight: 800; overflow-wrap: anywhere; }
.learning-cohort-card__attention, .learning-cohort-card__calm { margin: 0; padding: 11px 12px; font-size: 13px; }
.learning-cohort-card__attention { border-left: 4px solid #d28a25; background: #fff8e8; }
.learning-cohort-card__calm { border-left: 4px solid var(--green); background: #edf7f2; }
.learning-cohort-card .button { justify-self: start; }
.program-readiness-notice { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; padding: 16px; border-left: 4px solid var(--navy-800); background: #edf2f3; }
.program-readiness-notice strong, .program-readiness-notice span { display: block; }
.program-readiness-notice span { color: var(--muted); font-size: 13px; }
.program-readiness-notice .button { grid-column: 2; grid-row: 1 / span 2; }
.program-readiness-group { margin-top: 22px; }
.program-readiness-group__head, .program-decision-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.program-readiness-group__head h2, .program-decision-card__head h3 { margin: 0; }
.program-readiness-group__head p { margin: 4px 0 0; color: var(--muted); }
.program-readiness-summary { margin: 12px 0 18px; }
.program-decision-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.program-decision-card { min-width: 0; margin: 0 !important; padding: 16px !important; border: 1px solid var(--line) !important; border-left: 4px solid #d28a25 !important; background: #fff; }
.program-decision-card--ready { border-left-color: var(--green) !important; }
.program-decision-card > p { margin: 10px 0; }
.program-decision-card ul { margin: 0 0 14px; padding-left: 20px; color: var(--muted); font-size: 13px; }
.program-decision-card li + li { margin-top: 5px; }
.program-decision-card dl { display: grid; gap: 10px; margin: 0; padding-top: 12px; border-top: 1px solid var(--line); }
.program-decision-card dt { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.program-decision-card dd { margin: 3px 0 0; font-size: 13px; }
.program-readiness-empty { display: grid; gap: 10px; }
.program-readiness-empty h2, .program-readiness-empty p { margin: 0; }
.program-readiness-empty .button { justify-self: start; }
.learning-admin-workspace { display: grid; gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.learning-admin-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.learning-admin-heading h2 { margin: 2px 0 4px; }
.learning-admin-heading p { max-width: 760px; margin: 0; color: var(--muted); }
.learning-admin-policy { display: grid; gap: 2px; padding: 13px 15px; border-left: 4px solid var(--navy-800); background: #edf2f3; }
.learning-admin-policy span { color: var(--muted); font-size: 13px; }
.learning-admin-list { display: grid; gap: 12px; }
.learning-admin-card { display: grid; gap: 14px; margin: 0 !important; padding: 18px !important; border: 1px solid var(--line) !important; border-left: 4px solid var(--orange) !important; background: #fff; }
.learning-admin-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.learning-admin-card__head h3 { margin: 0; }
.learning-admin-card__head p { max-width: 760px; margin: 5px 0 0; color: var(--muted); }
.learning-admin-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.learning-admin-facts span { display: flex; min-width: 0; align-items: baseline; gap: 5px; padding: 10px 12px; background: white; color: var(--muted); font-size: 12px; }
.learning-admin-facts strong { color: var(--ink); font-size: 18px; }
.learning-admin-hold { padding: 13px 14px; border-left: 4px solid #d28a25; background: #fff8e8; }
.learning-admin-hold ul { margin: 7px 0 0; padding-left: 20px; color: var(--muted); font-size: 13px; }
.learning-admin-hold small { display: block; margin-top: 7px; color: var(--muted); }
.learning-admin-actions { display: flex; justify-content: flex-end; gap: 8px; }
.learning-release-status { margin: 0; padding: 11px 13px; border-left: 4px solid var(--navy-800); background: #edf2f3; color: var(--muted); }
.learning-release-status strong { color: var(--ink); }
.learning-release-workspace { display: grid; gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.learning-release-card { display: grid; gap: 14px; padding: 18px; border: 1px solid var(--line); border-left: 4px solid var(--orange); background: #fff; }
.learning-release-request-note { margin: 0; padding: 11px 13px; background: #f7f9f9; color: var(--muted); }
.learning-release-request-note strong { color: var(--ink); }
.learning-release-review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.learning-release-review-form,
.learning-release-decision { display: grid; gap: 12px; min-width: 0; padding: 15px; border: 1px solid var(--line); background: #fbfcfc; }
.learning-release-review-form h4 { margin: 0; }
.learning-release-review-form__checks { display: grid; gap: 8px; }
.learning-release-review-form__actions { display: flex; justify-content: flex-end; gap: 8px; }
.learning-release-decision { align-content: start; border-left: 4px solid #9aaeb2; }
.learning-release-decision--ready { border-left-color: #2f7d58; background: #eff8f3; }
.learning-release-decision--attention { border-left-color: #b42318; background: #fff4f2; }
.learning-release-decision span,
.learning-release-decision p { margin: 0; color: var(--muted); }
.learning-admin-editor__lessons { display: grid; gap: 12px; }
.learning-admin-lesson { overflow: hidden; border: 1px solid var(--line); background: #fff; }
.learning-admin-lesson > summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 18px; cursor: pointer; list-style-position: inside; }
.learning-admin-lesson > summary:hover { background: #f7f9f9; }
.learning-admin-lesson > summary > span:first-child { display: inline-grid; gap: 3px; max-width: 720px; vertical-align: top; }
.learning-admin-lesson > summary small { color: var(--muted); font-weight: 400; }
.learning-admin-lesson__meta { flex: 0 0 auto; color: var(--muted); font-size: 12px; }
.learning-admin-lesson__content { display: grid; gap: 12px; padding: 0 18px 18px; }
.learning-admin-block { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--line); background: #fbfcfc; }
.learning-admin-block--editable { border-left: 4px solid var(--orange); background: #fff; }
.learning-admin-block--readonly { border-left: 4px solid #9aaeb2; }
.learning-admin-block__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.learning-admin-block__head span { font-weight: 700; }
.learning-admin-block__head small { color: var(--muted); }
.learning-admin-block label { display: grid; gap: 6px; }
.learning-admin-block label > span { font-size: 13px; font-weight: 700; }
.learning-admin-block input,
.learning-admin-block textarea { width: 100%; border: 1px solid #a9b8bb; border-radius: 4px; background: #fff; color: var(--ink); font: inherit; }
.learning-admin-block input { min-height: 44px; padding: 9px 11px; }
.learning-admin-block textarea { min-height: 150px; padding: 11px; line-height: 1.55; resize: vertical; }
.learning-admin-block input:focus-visible,
.learning-admin-block textarea:focus-visible { outline: 3px solid rgba(230, 106, 43, .28); outline-offset: 1px; border-color: var(--orange); }
.learning-admin-block__preview { display: grid; gap: 6px; }
.learning-admin-block__preview p { margin: 0; color: var(--muted); line-height: 1.55; white-space: pre-line; }
.learning-admin-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.learning-admin-comparison section { padding: 13px; border: 1px solid var(--line); background: #fff; }
.learning-admin-comparison ul { margin: 8px 0 0; padding-left: 20px; color: var(--muted); }
.learning-admin-structure-note { margin: 0; color: var(--muted); }
.learning-admin-block__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.learning-admin-block__actions .form-error { flex: 1 1 auto; margin: 0; }
.learning-admin-lesson__check { display: grid; gap: 3px; padding: 13px 15px; border-left: 4px solid var(--navy-800); background: #edf2f3; }
.learning-admin-lesson__check span { color: var(--muted); font-size: 13px; }
.learning-admin-test { display: grid; gap: 12px; padding: 15px; border: 1px solid var(--line); background: #f7f9f9; }
.learning-admin-test__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.learning-admin-test__head > div { display: grid; gap: 2px; }
.learning-admin-test__head span { color: var(--muted); font-size: 12px; }
.learning-admin-test__questions { display: grid; gap: 8px; }
.learning-admin-question { border: 1px solid var(--line); background: #fff; }
.learning-admin-question > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; cursor: pointer; font-weight: 700; }
.learning-admin-question > summary small { color: var(--muted); font-weight: 500; }
.learning-admin-question > form { display: grid; gap: 12px; padding: 0 14px 14px; }
.learning-admin-question > form > label { display: grid; gap: 6px; }
.learning-admin-question > form > label > span { font-size: 13px; font-weight: 700; }
.learning-admin-question input,
.learning-admin-question textarea { width: 100%; border: 1px solid #a9b8bb; border-radius: 4px; background: white; color: var(--ink); font: inherit; }
.learning-admin-question input { min-height: 44px; padding: 9px 11px; }
.learning-admin-question textarea { min-height: 110px; padding: 11px; line-height: 1.55; resize: vertical; }
.learning-admin-question input:focus-visible,
.learning-admin-question textarea:focus-visible { outline: 3px solid rgba(230, 106, 43, .28); outline-offset: 1px; border-color: var(--orange); }
.learning-admin-question__labels { display: grid; gap: 8px; margin: 0; padding: 12px; border: 1px solid var(--line); }
.learning-admin-question__labels legend { padding: 0 6px; font-size: 13px; font-weight: 700; }
.learning-admin-question__labels label { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: center; gap: 8px; }
.learning-admin-question__labels label > span { color: var(--muted); text-align: center; font-size: 12px; }
.learning-admin-question__preview { display: grid; gap: 10px; padding: 0 14px 14px; }
.learning-admin-question__preview section { display: grid; gap: 4px; }
.learning-admin-question__preview section > span { color: var(--muted); font-size: 12px; font-weight: 700; }
.learning-admin-question__preview ol { margin: 0; padding-left: 22px; }
.learning-hr-summary { margin-top: 22px; }
.learning-hr-summary > h3 { margin-bottom: 5px; }
.learning-hr-summary > p { margin-top: 0; }
.learning-hr-card { display: grid; gap: 12px; padding: 15px; border: 1px solid var(--line); border-left: 4px solid var(--orange); background: white; }
.learning-hr-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.learning-hr-card__head h4 { margin: 0; }
.learning-hr-card__head p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.learning-hr-facts { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 12px; }
.learning-hr-result { display: grid; gap: 3px; padding: 11px 12px; background: #edf2f3; }
.learning-hr-result span { color: var(--muted); font-size: 13px; }
.learning-hr-lessons { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.learning-hr-lessons li { display: grid; grid-template-columns: 34px minmax(10rem, .7fr) minmax(14rem, 1.3fr); gap: 10px; align-items: center; padding: 9px; border: 1px solid var(--line); background: #fff; }
.learning-hr-lesson__number { display: grid; width: 32px; height: 32px; place-items: center; background: var(--navy-950); color: #fff; font-weight: 850; }
.learning-hr-lessons li > div:nth-child(2) { display: grid; gap: 2px; min-width: 0; }
.learning-hr-lessons li > div:nth-child(2) small { color: var(--muted); }
.hr-info-grid { display: grid; gap: 1px; margin-top: 20px; border: 1px solid var(--line); background: var(--line); }
.hr-info-grid > div { padding: 16px; background: var(--white); }
.hr-info-grid span, .hr-info-grid strong { display: block; }
.hr-info-grid span { color: var(--muted); font-size: 12px; }

.staff-access-workspace { display: grid; gap: 18px; }
.staff-access-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 20px; border: 1px solid var(--line); border-top: 5px solid var(--orange); background: var(--white); }
.staff-access-heading h2 { margin: 2px 0 4px; }
.staff-access-heading p { max-width: 760px; margin: 0; }
.staff-access-policy { display: grid; gap: 3px; padding: 14px 16px; border-left: 4px solid var(--navy-800); background: #edf2f3; }
.staff-access-policy span { color: var(--muted); font-size: 13px; }
.staff-access-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.staff-access-card { display: grid; align-content: start; gap: 14px; min-width: 0; padding: 18px; border: 1px solid var(--line); border-left: 4px solid var(--navy-800); background: var(--white); }
.staff-access-card__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 11px; align-items: center; }
.staff-access-card__head h3, .staff-access-card__head p { margin: 0; overflow-wrap: anywhere; }
.staff-access-card__head p { margin-top: 2px; color: var(--muted); font-size: 13px; }
.staff-access-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0; border: 1px solid var(--line); background: var(--line); }
.staff-access-facts div { min-width: 0; padding: 9px 10px; background: #fafbf9; }
.staff-access-facts dt { color: var(--muted); font-size: 11px; }
.staff-access-facts dd { margin: 3px 0 0; font-weight: 750; overflow-wrap: anywhere; }
.staff-access-roles { display: grid; gap: 7px; }
.staff-access-roles ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.staff-access-roles li { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 10px; border: 1px solid var(--line); background: #f8faf9; }
.staff-access-roles li span { display: grid; min-width: 0; gap: 2px; }
.staff-access-roles li small { color: var(--muted); }
.staff-access-assign { display: grid; gap: 10px; padding: 13px; border-top: 1px solid var(--line); background: #fbfcfc; }
.staff-access-assign label { display: grid; gap: 5px; }
.staff-access-assign label > span { font-size: 12px; font-weight: 750; }
.staff-access-assign select, .staff-access-assign input { width: 100%; min-height: 44px; border: 1px solid #a9b8bb; border-radius: 4px; background: white; color: var(--ink); font: inherit; }
.staff-access-assign select { padding: 8px 36px 8px 10px; }
.staff-access-assign input { padding: 9px 11px; }
.staff-access-assign > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.staff-access-assign .form-error { margin: 0; }
.staff-access-self-note { margin: 0; padding: 11px 12px; border-left: 4px solid #9aaeb2; background: #f4f6f6; color: var(--muted); font-size: 13px; }
.staff-access-card__actions { display: flex; justify-content: flex-end; }
.staff-access-history { display: grid; gap: 10px; padding: 18px; border: 1px solid var(--line); background: var(--white); }
.staff-access-history__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.staff-access-history__heading h3 { margin: 0; }
.staff-access-history__heading span { color: var(--muted); font-size: 12px; }
.staff-access-event { display: grid; grid-template-columns: minmax(12rem, .55fr) minmax(0, 1fr); gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); }
.staff-access-event > div { display: grid; min-width: 0; gap: 2px; }
.staff-access-event span, .staff-access-event small { color: var(--muted); overflow-wrap: anywhere; }
.staff-access-event small { font-size: 12px; }

.observability-workspace { display: grid; gap: 18px; }
.observability-toolbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 20px; border: 1px solid var(--line); border-top: 5px solid var(--orange); background: var(--white); }
.observability-toolbar h2 { margin: 2px 0 4px; }
.observability-toolbar p { max-width: 760px; margin: 0; }
.observability-toolbar__actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 8px; }
.observability-note { display: grid; gap: 2px; padding: 13px 15px; border-left: 4px solid var(--navy-800); background: #edf2f3; }
.observability-note span { color: var(--muted); font-size: 13px; }
.observability-live { min-height: 24px; margin: 0; color: var(--muted); font-size: 13px; }
.observability-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.observability-metric { min-width: 0; padding: 15px; border: 1px solid var(--line); border-left: 4px solid var(--navy-800); background: var(--white); }
.observability-metric--critical { border-left-color: #b13b2d; }
.observability-metric--warning { border-left-color: #b36b12; }
.observability-metric--resolved { border-left-color: var(--green); }
.observability-metric span, .observability-metric strong, .observability-metric small { display: block; }
.observability-metric span { min-height: 38px; color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1.35; }
.observability-metric strong { margin: 4px 0; font-size: 26px; line-height: 1.1; }
.observability-metric small { color: var(--muted); font-size: 11px; line-height: 1.35; }
.observability-summary { display: grid; gap: 12px; }
.observability-state { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px; border-left: 4px solid var(--navy-800); background: var(--white); }
.observability-state strong, .observability-state span { display: block; }
.observability-state span { color: var(--muted); font-size: 13px; }
.observability-state--attention { border-left-color: #b13b2d; background: #fff5f2; }
.observability-state--clear { border-left-color: var(--green); background: #eef8f3; }
.observability-state--error { align-items: flex-start; flex-direction: column; border-left-color: #b13b2d; background: #fff5f2; }
.observability-health { display: grid; grid-template-columns: 1fr; gap: 1px; margin: 0; border: 1px solid var(--line); background: var(--line); }
.observability-health div { min-width: 0; padding: 12px; background: var(--white); }
.observability-health dt { color: var(--muted); font-size: 12px; }
.observability-health dd { margin: 2px 0 0; font-weight: 800; overflow-wrap: anywhere; }
.observability-rule-list { display: grid; gap: 12px; }
.observability-rule { overflow: hidden; border: 1px solid var(--line); border-left: 5px solid var(--green); background: var(--white); }
.observability-rule--active { border-left-color: var(--orange); }
.observability-rule__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px; }
.observability-rule__head > div { min-width: 0; }
.observability-rule__head h3 { margin: 0 0 3px; font-size: 17px; }
.observability-rule__head p { margin: 0; color: var(--muted); font-size: 13px; }
.observability-rule__count { flex: 0 0 auto; padding: 3px 8px; border: 1px solid var(--line); background: var(--sand-50); color: var(--muted); font-size: 12px; font-weight: 800; }
.observability-rule__instances { border-top: 1px solid var(--line); }
.observability-rule__clear { margin: 0; padding: 11px 16px; color: var(--green); font-size: 13px; font-weight: 700; }
.observability-instance { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); background: #fffaf7; }
.observability-instance:last-child { border-bottom: 0; }
.observability-instance--critical { background: #fff4f1; }
.observability-instance__main { min-width: 0; }
.observability-instance__main strong, .observability-instance__main small { display: block; }
.observability-instance__main small { margin-top: 4px; color: var(--muted); font-size: 12px; }
.observability-instance__chips { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 6px; }
.observability-chip { display: inline-flex; min-height: 26px; align-items: center; padding: 2px 7px; border: 1px solid var(--line); background: var(--white); font-size: 11px; font-weight: 800; }
.observability-chip--critical, .observability-chip--firing { border-color: #d99084; background: #fff0ed; color: #7d271c; }
.observability-chip--warning, .observability-chip--acknowledged { border-color: #d8ac70; background: #fff4df; color: #75410a; }
.observability-chip--resolved { border-color: #8bb9a5; background: #e8f6ef; color: #18553f; }
.observability-instance__action { display: flex; justify-content: flex-end; }
.observability-instance__result { max-width: 190px; color: var(--muted); text-align: right; font-size: 12px; }
.observability-ack-button { min-height: 44px; white-space: nowrap; }

.badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 5px; border-radius: 2px; background: var(--orange); color: var(--white); font-size: 11px; font-weight: 800; }
.toast { position: fixed; z-index: 100; right: 16px; bottom: 86px; left: 16px; padding: 13px 16px; border-left: 5px solid var(--orange); border-radius: 2px; background: var(--navy-950); color: white; box-shadow: var(--shadow); text-align: center; }
.modal { width: min(calc(100% - 24px), 520px); padding: 24px; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(7, 26, 48, .62); backdrop-filter: blur(3px); }
dialog:not([open]) { display: none; }
html.has-open-dialog { overflow: hidden; }
[data-dialog-fallback-background="true"] { pointer-events: none !important; user-select: none; }
dialog[data-fallback-dialog="open"] { display: block; position: fixed; z-index: 1000; inset: 50% auto auto 50%; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); margin: 0; overflow: auto; transform: translate(-50%, -50%); background: white; pointer-events: auto; box-shadow: 0 0 0 100vmax rgba(7, 26, 48, .62), var(--shadow); }
.modal__close { position: sticky; z-index: 2; top: 0; float: right; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #edf2f3; font-size: 24px; cursor: pointer; }
.icon-button { display: inline-grid; width: 44px; min-width: 44px; height: 44px; padding: 0; place-items: center; border: 0; border-radius: 50%; background: #edf2f3; color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
.modal--wide { width: min(calc(100% - 24px), 1040px); max-height: min(90vh, 920px); overflow: auto; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.legal-document-dialog { width: min(calc(100% - 24px), 780px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow: auto; }
.legal-document-dialog__body { min-width: 0; }
.legal-document-content { margin: 18px 0 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--sand-50); color: var(--ink); font: inherit; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.record-header { display: flex; align-items: center; gap: 14px; padding-right: 48px; }
.record-header h2, .record-header p { margin-bottom: 0; }
.record-tabs { display: flex; gap: 0; overflow-x: auto; margin: 24px -24px 20px; padding: 0 24px; border-bottom: 1px solid var(--line); }
.record-tabs button { flex: 0 0 auto; min-height: 46px; padding: 8px 14px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); font-weight: 700; cursor: pointer; }
.record-tabs button.is-active { border-bottom-color: var(--orange); color: var(--ink); }
.record-panel { min-height: 330px; }
.record-learning-intro { margin-bottom: 22px; padding: 16px; border-left: 4px solid var(--orange); background: #fff8f3; }
.record-learning-intro h3 { margin: 2px 0 4px; }
.record-learning-intro p { margin: 0; }
.record-summary-grid { display: grid; gap: 18px; }
.record-score-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 14px 0; }
.record-score-row span { font-weight: 700; }
.record-score-row b { text-align: right; }
.record-score-track { grid-column: 1 / -1; height: 6px; background: var(--line); }
.record-score-track i { display: block; height: 100%; background: var(--orange); }
.review-context { display: grid; gap: 1px; margin-bottom: 18px; border: 1px solid var(--line); background: var(--line); }
.review-context > div { padding: 12px; background: var(--white); }
.review-context span, .review-context strong { display: block; }
.review-context span { color: var(--muted); font-size: 12px; }
.submitted-answer { max-height: 260px; overflow: auto; padding: 18px; border-left: 4px solid var(--orange); background: var(--sand-50); }
.submitted-answer p { margin-bottom: 0; white-space: pre-wrap; }
.review-grid { display: grid; gap: 10px; margin: 20px 0; }
.review-score-row { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--line); background: var(--white); }
.review-score-row strong { font-size: 14px; }
.review-score-row select, .review-score-row input { width: 100%; min-height: 44px; padding: 9px 10px; border: 1px solid #cbd5e1; border-radius: 2px; background: var(--white); }
.feedback-card { margin-top: 22px; padding: 18px; border: 1px solid var(--line); border-left: 4px solid var(--orange); background: #fffaf7; }
.hold-gates { margin-top: 24px; }
.hold-gate-list { display: grid; gap: 12px; }
.hold-gate-card { margin-top: 0; }
.hold-gate-card h4 { margin-bottom: 10px; }
.hold-gate-confirmation { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0; cursor: pointer; }
.hold-gate-confirmation input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--orange); }
.hold-gate-confirmation span { min-width: 0; line-height: 1.45; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.review-empty { padding: 24px; background: var(--sand-50); color: var(--muted); }
.timeline { display: grid; }
.timeline-item { position: relative; display: grid; grid-template-columns: 112px 18px 1fr; gap: 10px; min-height: 74px; }
.timeline-item::before { content: ""; position: absolute; top: 19px; bottom: -8px; left: 120px; width: 1px; background: var(--line); }
.timeline-item:last-child::before { display: none; }
.timeline-item time { padding-top: 3px; color: var(--muted); font-size: 12px; }
.timeline-dot { position: relative; z-index: 1; width: 11px; height: 11px; margin-top: 5px; border: 3px solid var(--white); outline: 2px solid var(--orange); border-radius: 50%; background: var(--orange); }
.timeline-item strong, .timeline-item span { display: block; }
.timeline-item span { color: var(--muted); font-size: 13px; }
.human-decision-note { margin: 18px 0; padding: 16px; border-left: 4px solid var(--orange); background: #fff8f4; }
.human-decision-note p { margin: 4px 0 0; }
.staff-interviews-workspace { display: grid; gap: 14px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.staff-interviews-heading h3 { margin: 2px 0 4px; }
.staff-interviews-heading p { margin: 0; }
.staff-interviews-list { display: grid; gap: 12px; }
.staff-interview-card { display: grid; gap: 14px; margin: 0; padding: 16px; border: 1px solid var(--line); border-left: 4px solid #8ca0ad; background: var(--white); }
.staff-interview-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.staff-interview-card__head span:first-child { color: var(--muted); font-size: 12px; }
.staff-interview-card__head h4 { margin: 4px 0 0; }
.staff-interview-questions { display: grid; gap: 8px; margin: 8px 0 0; padding-left: 22px; }
.staff-interview-questions li { padding-left: 3px; }
.staff-interview-questions strong, .staff-interview-questions span { display: block; }
.staff-interview-questions span { margin-top: 3px; color: var(--muted); font-size: 12px; }
.staff-interview-fact { display: grid; gap: 10px; margin: 0; padding: 14px; border: 1px solid var(--line); border-left: 4px solid var(--green); background: #f7fbf9; }
.staff-interview-fact > div:first-child { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.staff-interview-fact > div:first-child span { color: var(--muted); font-size: 12px; text-align: right; }
.staff-interview-fact > p { margin: 0; font-weight: 700; }
.staff-interview-fact dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; border: 1px solid var(--line); background: var(--line); }
.staff-interview-fact dl > div { min-width: 0; padding: 9px 10px; background: var(--white); }
.staff-interview-fact dt { color: var(--muted); font-size: 11px; }
.staff-interview-fact dd { margin: 3px 0 0; overflow-wrap: anywhere; }
.staff-interview-create, .staff-interview-evidence-entry { overflow: hidden; border: 1px solid var(--line); background: #fafbf9; }
.staff-interview-create > summary, .staff-interview-evidence-entry > summary { padding: 13px 15px; cursor: pointer; font-weight: 800; }
.staff-interview-create > form, .staff-interview-evidence-entry > form { display: grid; gap: 12px; padding: 0 15px 15px; }
.decision-history { margin-top: 20px; }
.decision-history-item { padding: 14px; border: 1px solid var(--line); background: var(--sand-50); }
.decision-history-item span, .decision-history-item strong { display: block; }
.decision-history-item span { color: var(--muted); font-size: 12px; }

.calibration-workspace { padding-bottom: 22px; }
.calibration-toolbar { align-items: flex-start; justify-content: space-between; }
.calibration-toolbar h2 { margin-bottom: 0; }
.calibration-toolbar__actions, .calibration-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.calibration-policy { margin: 18px; padding: 16px; border-left: 4px solid var(--orange); background: #fff8f4; }
.calibration-policy p { margin: 4px 0 0; color: var(--muted); }
.calibration-live-status { min-height: 1.6em; margin: 0 18px 14px; }
.calibration-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 0 18px; }
.calibration-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.calibration-list { display: grid; gap: 12px; }
.calibration-card { min-width: 0; padding: 16px; border: 1px solid var(--line); border-left: 4px solid var(--orange); background: var(--white); }
.calibration-card__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.calibration-card__heading h4 { margin: 5px 0 0; font-size: 17px; }
.calibration-card__heading p, .calibration-card__heading small { margin: 0; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.calibration-status { display: inline-flex; min-height: 28px; align-items: center; padding: 3px 8px; border: 1px solid var(--line-dark); background: var(--sand-50); color: var(--ink); font-size: 12px; font-weight: 800; }
.calibration-facts, .calibration-metrics { display: grid; gap: 1px; margin: 0 0 14px; border: 1px solid var(--line); background: var(--line); }
.calibration-facts > div, .calibration-metrics > div { min-width: 0; padding: 9px 10px; background: var(--white); }
.calibration-facts dt, .calibration-metrics dt { color: var(--muted); font-size: 12px; }
.calibration-facts dd, .calibration-metrics dd { margin: 2px 0 0; overflow-wrap: anywhere; font-weight: 700; }
.calibration-facts code { white-space: pre-wrap; overflow-wrap: anywhere; }
.calibration-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.calibration-action-note { margin: 10px 0; padding: 10px 12px; background: var(--sand-50); color: var(--muted); font-size: 13px; }
.calibration-derived-scope { margin: 18px 0; padding: 14px; border: 1px solid var(--line); background: var(--sand-50); }
.calibration-derived-scope p { margin-bottom: 0; overflow-wrap: anywhere; }
.calibration-metric-fieldset { margin: 18px 0; padding: 16px; border: 1px solid var(--line); }
.calibration-metric-fieldset legend { padding: 0 7px; font-weight: 800; }
.calibration-metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.calibration-checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; }
.calibration-field-help { margin: -8px 0 12px; text-align: left; }

@media (min-width: 720px) {
  .topbar { padding-inline: 28px; }
  .auth-shell, .onboarding-card { padding: 42px; }
  .candidate-shell, .lesson-shell, .result-shell { padding-inline: 28px; }
  .current-card { display: grid; grid-template-columns: 1.1fr 1fr; }
  .current-card > img { height: 100%; aspect-ratio: auto; }
  .current-card__body { display: flex; flex-direction: column; justify-content: center; padding: 34px; }
  .metric-row { gap: 16px; }
  .metric-row article { padding: 20px; }
  .module-item { grid-template-columns: 48px 1fr auto; padding: 15px; }
  .module-item__index { width: 48px; height: 48px; }
  .hard-skills-route-card { grid-template-columns: minmax(0, 1fr) auto; padding: 24px; }
  .hard-skills-route-card .button { width: auto; max-width: 250px; }
  .help-card { grid-template-columns: auto 1fr auto; align-items: center; }
  .help-card .button { grid-column: auto; }
  .lesson-header { grid-template-columns: 1fr 210px; align-items: start; }
  .content-card { padding: 28px; }
  .comparison-grid { grid-template-columns: 1fr 1fr; }
  .record-summary-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .review-context { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .assignment-switcher { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hr-info-grid { grid-template-columns: repeat(2, 1fr); }
  .operations-queue-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .help-inbox-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .operations-item { grid-template-columns: minmax(0, 1.3fr) minmax(250px, .7fr); align-items: center; }
  .observability-metrics { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .observability-health { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .toast { right: 28px; bottom: 28px; left: auto; max-width: 430px; }
}

@media (max-width: 520px) {
  [data-view="candidate"] .page-header {
    flex-direction: column;
    align-items: stretch;
  }
  [data-view="candidate"] .page-header h1 {
    font-size: clamp(36px, 11.5vw, 46px);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
  .mfa-recovery-list { grid-template-columns: 1fr; }
  .security-status { grid-template-columns: 1fr; }
  .topbar { min-height: 76px; padding-inline: 16px; }
  .site-header { min-height: 62px; padding-inline: 10px; }
  .view { min-height: calc(100vh - 76px); min-height: calc(100dvh - 76px); }
  .auth-page { min-height: calc(100vh - 62px); min-height: calc(100dvh - 62px); padding: 20px 12px max(28px, env(safe-area-inset-bottom)); }
  .site-header .brand { gap: 7px; padding-inline: 0; }
  .site-header .brand { flex: 0 0 auto; }
  .site-header .brand__text { display: none; }
  .site-header .role-chip { display: none; }
  .site-header .brand__mark,
  .site-header .header-actions > * { overflow-wrap: normal; word-break: normal; white-space: nowrap; }
  .site-header .header-actions { min-width: 0; gap: 5px; }
  .site-header .text-button { padding-inline: 2px; font-size: 13px; }
  .reviewer-criterion > summary { align-items: flex-start; flex-direction: column; gap: 4px; }
  .brand__mark { font-size: 18px; }
  .brand__text strong { font-size: 12px; }
  .brand__text small { display: none; }
  .header-actions { gap: 7px; }
  .brand__word { font-size: 23px; }
  .brand__meta { display: none; }
  .demo-switch__label { display: none; }
  .demo-switch { min-height: 42px; padding-inline: 13px; }
  .table-toolbar { align-items: stretch; flex-direction: column; }
  .operations-board__head { flex-direction: column; }
  .operations-board__head .button { width: 100%; }
  .attention-summary { align-items: stretch; flex-direction: column; }
  .attention-summary .button, .hr-primary-action { width: 100%; }
  .hr-info-facts { grid-template-columns: 1fr; }
  .learning-cohort-heading, .learning-cohort-card__head { align-items: stretch; flex-direction: column; }
  .learning-cohort-heading__actions { flex-direction: column; }
  .learning-cohort-heading .button, .learning-cohort-card .button { width: 100%; }
  .hr-primary-actions { width: 100%; }
  .hr-primary-actions .button { width: 100%; }
  .learning-cohort-metrics, .learning-cohort-grid, .learning-cohort-facts { grid-template-columns: 1fr; }
  .staff-interview-card__head, .staff-interview-fact > div:first-child { align-items: stretch; flex-direction: column; }
  .staff-interview-fact > div:first-child span { text-align: left; }
  .staff-interview-fact dl { grid-template-columns: 1fr; }
  .program-readiness-notice { grid-template-columns: 1fr; }
  .program-readiness-notice .button { grid-column: 1; grid-row: auto; width: 100%; margin-top: 8px; }
  .program-decision-list { grid-template-columns: 1fr; }
  .program-readiness-group__head, .program-decision-card__head { align-items: stretch; flex-direction: column; }
  .learning-admin-heading, .learning-admin-card__head { align-items: stretch; flex-direction: column; }
  .learning-hr-card__head { align-items: stretch; flex-direction: column; }
  .learning-hr-lessons li { grid-template-columns: 34px minmax(0, 1fr); align-items: start; }
  .learning-hr-lessons .learning-hr-result { grid-column: 1 / -1; }
  .learning-admin-heading .button, .learning-admin-actions .button { width: 100%; }
  .learning-admin-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .learning-admin-actions { display: grid; }
  .learning-release-review-grid { grid-template-columns: 1fr; }
  .learning-release-review-form__actions { display: grid; }
  .learning-release-review-form__actions .button { width: 100%; }
  .staff-access-heading, .staff-access-card__head, .staff-access-roles li { align-items: stretch; }
  .staff-access-heading { flex-direction: column; }
  .staff-access-heading .button { width: 100%; }
  .staff-access-list { grid-template-columns: 1fr; }
  .staff-access-card__head { grid-template-columns: auto minmax(0, 1fr); }
  .staff-access-card__head .status-pill { grid-column: 1 / -1; justify-self: start; }
  .staff-access-facts { grid-template-columns: 1fr; }
  .staff-access-roles li { flex-direction: column; }
  .staff-access-roles li .text-button { align-self: flex-start; min-height: 44px; }
  .staff-access-assign > div { align-items: stretch; flex-direction: column; }
  .staff-access-assign .button, .staff-access-card__actions .button { width: 100%; }
  .staff-access-event { grid-template-columns: 1fr; gap: 5px; }
  .learning-admin-lesson > summary { align-items: flex-start; flex-direction: column; gap: 8px; padding: 14px; }
  .learning-admin-lesson__meta { padding-left: 21px; }
  .learning-admin-lesson__content { padding: 0 12px 12px; }
  .learning-admin-comparison { grid-template-columns: 1fr; }
  .learning-admin-block__actions { align-items: stretch; flex-direction: column; }
  .learning-admin-block__actions .button { width: 100%; }
  .learning-admin-test__head,
  .learning-admin-question > summary { align-items: flex-start; flex-direction: column; }
  .learning-admin-question__labels { padding: 10px 8px; }
  .operations-item > div:last-child { align-items: stretch; flex-direction: column; }
  .operations-item .button { width: 100%; }
  .help-inbox-item__head { flex-direction: column; }
  .help-inbox-item .candidate-detail__actions { align-items: stretch; flex-direction: column; }
  .help-inbox-item .button { width: 100%; }
  .filter-control select { width: 100%; }
  .modal-actions .button { width: 100%; }
  .accepted-document { align-items: stretch; flex-direction: column; }
  .accepted-document .button, .registration-document .button { width: 100%; }
  .calibration-toolbar__actions, .calibration-actions { width: 100%; }
  .calibration-toolbar__actions .button, .calibration-actions .button { width: 100%; }
  .observability-toolbar, .observability-state, .observability-rule__head, .observability-instance { align-items: stretch; flex-direction: column; }
  .observability-toolbar { display: flex; }
  .observability-toolbar__actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .observability-toolbar__actions .button, .observability-state .button, .observability-ack-button { width: 100%; }
  .observability-rule__head { display: flex; }
  .observability-rule__count { align-self: flex-start; }
  .observability-instance { display: grid; grid-template-columns: 1fr; }
  .observability-instance__action { justify-content: stretch; }
  .observability-instance__result { max-width: none; text-align: left; }
  .calibration-metric-grid, .calibration-metrics, .calibration-checks { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 78px 16px 1fr; gap: 8px; }
  .timeline-item::before { left: 86px; }
  .facts-grid { grid-template-columns: 1fr; }
  .evidence-profile__row { grid-template-columns: 1fr; }
  .evidence-profile__row small { max-width: none; text-align: left; }
  .auth-shell, .onboarding-card { padding-inline: 16px; }
  .module-item { grid-template-columns: 40px minmax(0, 1fr); }
  .module-item__state { grid-column: 2; max-width: none; text-align: left; }
  .work-style-progress { align-items: flex-start; flex-direction: column; }
  .work-style-part-nav { grid-template-columns: 1fr; }
  .work-style-part-nav.has-three-parts { grid-template-columns: 1fr; }
  .work-style-part-nav button { grid-template-columns: 34px minmax(0, 1fr) auto; min-height: 56px; }
  .work-style-question { padding: 14px 11px; }
  .work-style-question legend { gap: 8px; }
  .work-style-question legend > span { flex-basis: 26px; width: 26px; height: 26px; }
  .work-style-question > p, .work-style-question > strong { margin-left: 0; }
  .work-style-scale { grid-template-columns: 1fr; }
  .work-style-ranking-grid { grid-template-columns: 1fr; }
  .work-style-scale label, .work-style-choices label { min-height: 48px; }
  .work-style-actions { grid-template-columns: 1fr; }
  .work-style-actions .button { width: 100%; }
  .hard-skills-boundary-grid { grid-template-columns: 1fr; }
  .hard-skills-learning-sequence, .hard-skills-learning-examples { grid-template-columns: 1fr; }
  .hard-skills-review-criteria, .hard-skills-review-result-grid { grid-template-columns: 1fr; }
  .hard-skills-learning-progress { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hard-skills-learning-topic__action { justify-content: stretch; }
  .hard-skills-learning-topic__action .button,
  .hard-skills-topic-checks .hard-skills-save-row .button,
  .hard-skills-learning-self-check .hard-skills-save-row .button,
  .hard-skills-learning-intro > .button,
  .hard-skills-learning-complete > .button { width: 100%; }
  .staged-assessment__summary { align-items: stretch; flex-direction: column; }
  .staged-assessment__summary > strong { align-self: flex-start; }
  .staged-stage-list { display: flex; margin-inline: -16px; padding: 3px 16px 10px; overflow-x: auto; scroll-snap-type: x proximity; }
  .staged-stage-list li { flex: 0 0 158px; scroll-snap-align: start; }
  .staged-stage { min-height: 88px; }
  .staged-lesson-block { padding: 18px 16px; }
  .staged-lesson-quote { padding: 12px; }
  .staged-response-card .answer-actions .button,
  .staged-self-assessment .button,
  .staged-state-card .button,
  .staged-locked-answer .button { width: 100%; }
  .json-schema-object,
  .json-schema-array,
  .json-schema-array-item { padding: 11px; }
  .json-schema-array__actions .button,
  .json-schema-array__remove { width: 100%; }
  .staged-table { min-width: 620px; font-size: 12px; }
  .staged-table th, .staged-table td { padding: 8px; }
  .candidate-media-response { padding: 12px; }
  .candidate-media-response .answer-actions .button { width: 100%; }
  .candidate-upload-progress,
  .candidate-upload-item { grid-template-columns: 1fr; }
  .candidate-upload-item .button { width: 100%; }
}

@media (max-width: 360px) {
  .observability-metrics { grid-template-columns: 1fr; }
  .observability-metric span { min-height: 0; }
}

@media (max-width: 719px) {
  .calibration-columns { grid-template-columns: 1fr; padding-inline: 12px; }
  .calibration-policy { margin-inline: 12px; }
  .calibration-live-status { margin-inline: 12px; }
  .candidate-table { overflow: visible; }
  .candidate-row--head { display: none; }
  [data-candidate-rows] { display: grid; gap: 10px; padding: 10px; }
  .candidate-row:not(.candidate-row--head) { display: grid; grid-template-columns: 1fr; gap: 8px; border: 1px solid var(--line); border-radius: var(--radius-md); }
  .candidate-row:not(.candidate-row--head) > span { display: grid; grid-template-columns: minmax(92px, .75fr) minmax(0, 1.25fr); gap: 8px; align-items: start; }
  .candidate-row:not(.candidate-row--head) > span::before { color: var(--muted); font-size: 12px; font-weight: 700; }
  .candidate-row:not(.candidate-row--head) > span:nth-child(1)::before { content: "Кандидат"; }
  .candidate-row:not(.candidate-row--head) > span:nth-child(2)::before { content: "Ступень"; }
  .candidate-row:not(.candidate-row--head) > span:nth-child(3)::before { content: "Срок"; }
  .candidate-row:not(.candidate-row--head) > span:nth-child(4)::before { content: "Статус"; }
  .modal--wide { width: calc(100% - 12px); padding: 16px; }
  .record-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; overflow: visible; margin-inline: 0; padding: 0 0 12px; border-bottom: 1px solid var(--line); }
  .record-tabs button { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-bottom-width: 1px; background: #f7f9f9; }
  .record-tabs button.is-active { border-color: var(--orange); border-bottom-width: 1px; background: #fff8f3; }
  .record-tabs button:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .record-header { min-width: 0; padding-right: 0; }
  .record-header > div:last-child { min-width: 0; }
  .record-header p { overflow-wrap: anywhere; }
}

@media (min-width: 1040px) {
  .bottom-nav { display: none !important; }
  .candidate-sidebar:not([hidden]) { position: fixed; z-index: 35; top: 78px; bottom: 0; left: 0; display: flex; width: 230px; flex-direction: column; padding: 24px 16px; overflow-y: auto; background: var(--navy-950); color: white; }
  .candidate-sidebar__title { margin: 0 10px 18px; color: #9fc0d4; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
  .candidate-sidebar__next { min-height: 52px; margin-bottom: 22px; padding: 10px 12px; border: 1px solid var(--orange); background: var(--orange); color: white; text-align: left; font-weight: 800; cursor: pointer; }
  .candidate-sidebar__next:hover { background: var(--orange-dark); }
  .candidate-sidebar__links { display: grid; gap: 5px; }
  .candidate-sidebar__links button { display: flex; min-height: 48px; align-items: center; gap: 10px; padding: 10px 12px; border: 0; border-left: 4px solid transparent; background: transparent; color: #cbd5e1; text-align: left; cursor: pointer; }
  .candidate-sidebar__links button span { width: 24px; color: #9fc0d4; text-align: center; font-size: 18px; }
  .candidate-sidebar__links button.is-active { border-left-color: var(--orange); background: rgba(255,255,255,.1); color: white; font-weight: 800; }
  .candidate-sidebar__links button.is-active span { color: var(--orange); }
  .candidate-sidebar:not([hidden]) ~ .view:not([hidden]) { width: calc(100% - 230px); margin-left: 230px; }
  .hr-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); }
  .hr-sidebar { position: sticky; top: 68px; display: flex; flex-direction: column; height: calc(100vh - 68px); padding: 24px 16px; overflow-y: auto; background: var(--navy-950); color: white; }
  .hr-sidebar__title { display: block; margin: 0 10px 24px; color: #9fc0d4; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
  .hr-sidebar nav { display: grid; grid-template-columns: 1fr; gap: 5px; }
  .hr-sidebar nav button { width: 100%; min-height: 48px; padding: 10px 12px; border: 0; border-radius: 2px; background: transparent; color: #cbd5e1; text-align: left; cursor: pointer; }
  .hr-sidebar nav a { width: 100%; min-height: 48px; padding: 10px 12px; border: 0; border-radius: 2px; background: transparent; color: #cbd5e1; text-align: left; text-decoration: none; cursor: pointer; }
  .hr-sidebar nav > :last-child { grid-column: auto; }
  .hr-sidebar nav button.is-active { background: var(--orange); color: white; }
  .hr-sidebar__guide { display: grid; gap: 7px; margin: 24px 10px 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: #cbd5e1; font-size: 12px; line-height: 1.4; }
  .hr-sidebar__guide strong { color: white; font-size: 13px; }
  .hr-sidebar__user { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
  .hr-sidebar__user strong, .hr-sidebar__user small { display: block; }
  .hr-sidebar__user small { color: #9fb2c1; }
  .hr-main { min-width: 0; padding: 40px; }
  .hr-main .page-header { flex-direction: row; }
  .hr-metrics { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .hr-metrics article { padding: 18px; }
  .hr-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, 320px); align-items: start; }
  .candidate-detail { position: sticky; top: 88px; }
}

@media print {
  [data-protected-content] { display: none !important; }
  [data-open-answer],
  [data-version-history],
  [data-all-versions] { display: block !important; }
}

  @media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .lesson-progress.is-indeterminate span { animation: none !important; transform: none !important; }
}

.reviewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.reviewer-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr);
  align-items: start;
  gap: 1.5rem;
  width: min(90rem, 100% - 2rem);
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.reviewer-queue,
.reviewer-work {
  min-width: 0;
}

.reviewer-step-nav,
.reviewer-queue--assignments,
.reviewer-queue--discrepancies {
  grid-column: 1;
}

.reviewer-work {
  grid-column: 2;
  grid-row: 1 / span 6;
}

.reviewer-step-nav {
  display: grid;
  gap: .55rem;
  padding: 1rem;
  background: #f5f7fa;
  border: 1px solid var(--line, #d8dee8);
  border-radius: 1rem;
}

.reviewer-step-nav a {
  color: inherit;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

.reviewer-queue-list {
  display: grid;
  gap: .75rem;
}

.reviewer-queue-item {
  display: grid;
  gap: .3rem;
  width: 100%;
  padding: 1rem;
  color: inherit;
  text-align: left;
  background: var(--surface, #fff);
  border: 1px solid var(--line, #d8dee8);
  border-radius: 1rem;
  cursor: pointer;
}

.reviewer-queue-item:hover,
.reviewer-queue-item:focus-visible {
  border-color: var(--accent, #d1452f);
  outline: 3px solid color-mix(in srgb, var(--accent, #d1452f) 22%, transparent);
  outline-offset: 2px;
}

.reviewer-queue-item span,
.reviewer-queue-item small {
  color: var(--muted, #5f6878);
}

.reviewer-work__heading,
.reviewer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
}

.reviewer-card,
.notice-card {
  margin: 1rem 0;
  padding: clamp(1rem, 2vw, 1.5rem);
  background: var(--surface, #fff);
  border: 1px solid var(--line, #d8dee8);
  border-radius: 1rem;
}

.reviewer-criterion > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 800;
}

.reviewer-criterion > summary small {
  color: var(--muted, #5f6878);
  font-size: .78rem;
  font-weight: 600;
}

.reviewer-criterion[open] > summary {
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--line, #d8dee8);
}

.notice-card {
  background: #fff8e7;
  border-color: #e6c76d;
}

.notice-card--compact {
  padding: .8rem 1rem;
}

.reviewer-evidence {
  max-width: 100%;
  overflow: auto;
  padding: 1rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f5f7fa;
  border-radius: .75rem;
}

.reviewer-evidence-browser {
  display: grid;
  gap: .75rem;
  min-width: 0;
  margin-bottom: 1.25rem;
}

.reviewer-submission-media {
  min-width: 0;
  margin: 1.25rem 0;
}

.reviewer-submission-media[hidden] {
  display: none;
}

.reviewer-submission-media__list {
  display: grid;
  gap: .75rem;
}

.reviewer-media-card {
  min-width: 0;
  padding: 1rem;
  background: #f5f7fa;
  border: 1px solid var(--line, #d8dee8);
  border-radius: .75rem;
}

.reviewer-media-card__heading,
.reviewer-media-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
}

.reviewer-media-card__heading span {
  color: var(--muted, #5f6878);
  font-size: .875rem;
}

.reviewer-media-card audio {
  width: 100%;
  margin: .75rem 0;
}

.reviewer-media-card__actions {
  justify-content: flex-start;
}

.reviewer-evidence-group {
  min-width: 0;
  padding: 1rem;
  background: #f5f7fa;
  border-radius: .75rem;
}

.reviewer-evidence-group h4 {
  margin: 0 0 .75rem;
}

.reviewer-evidence-list,
.reviewer-anchor-list {
  display: grid;
  gap: .65rem;
  margin: 0;
}

.reviewer-evidence-row,
.reviewer-anchor-list > div {
  display: grid;
  grid-template-columns: minmax(9rem, .42fr) minmax(0, 1fr);
  gap: .4rem 1rem;
  padding-top: .65rem;
  border-top: 1px solid var(--line, #d8dee8);
}

.reviewer-evidence-row:first-child,
.reviewer-anchor-list > div:first-child {
  padding-top: 0;
  border-top: 0;
}

.reviewer-evidence-row dt,
.reviewer-anchor-list dt {
  font-weight: 700;
}

.reviewer-evidence-row dd,
.reviewer-anchor-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.evidence-picker select {
  width: 100%;
  min-height: 3rem;
}

.evidence-picker__hint {
  display: block;
  margin-top: .45rem;
  color: var(--muted, #5f6878);
}

.evidence-picker__error {
  margin-top: .5rem;
}

.evidence-picker-slot--inactive {
  opacity: .72;
}

.reviewer-attestations {
  display: grid;
  gap: .65rem;
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid var(--line, #d8dee8);
  border-radius: .75rem;
}

.reviewer-attestations label {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
}

.reviewer-anchor + .reviewer-anchor {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line, #d8dee8);
}

.candidate-header-actions,
.rights-header,
.rights-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.rights-layout {
  width: min(82rem, 100% - 2rem);
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.rights-intro {
  max-width: 58rem;
}

.rights-grid {
  display: grid;
  grid-template-columns: minmax(18rem, .9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.rights-list {
  display: grid;
  gap: .75rem;
}

.rights-request-card {
  display: grid;
  gap: .35rem;
  width: 100%;
  padding: 1rem;
  color: inherit;
  text-align: left;
  background: var(--surface, #fff);
  border: 1px solid var(--line, #d8dee8);
  border-radius: 1rem;
  cursor: pointer;
}

.rights-request-card:hover,
.rights-request-card:focus-visible {
  border-color: var(--accent, #d1452f);
  outline: 3px solid color-mix(in srgb, var(--accent, #d1452f) 22%, transparent);
  outline-offset: 2px;
}

.rights-request-card span,
.rights-request-card small {
  color: var(--muted, #5f6878);
}

.rights-detail {
  min-width: 0;
  padding: clamp(1rem, 2vw, 1.5rem);
  background: var(--surface, #fff);
  border: 1px solid var(--line, #d8dee8);
  border-radius: 1rem;
}

.rights-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.rights-facts div {
  padding: .75rem;
  background: #f5f7fa;
  border-radius: .75rem;
}

.rights-facts dt {
  color: var(--muted, #5f6878);
  font-size: .875rem;
}

.rights-facts dd {
  margin: .25rem 0 0;
  overflow-wrap: anywhere;
}

.rights-timeline {
  display: grid;
  gap: .75rem;
  padding-left: 1.5rem;
}

.rights-timeline li {
  padding: .75rem 1rem;
  background: #f5f7fa;
  border-radius: .75rem;
}

.rights-timeline time {
  display: block;
  margin-top: .2rem;
  color: var(--muted, #5f6878);
  font-size: .875rem;
}

.rights-dialog {
  width: min(42rem, calc(100% - 1rem));
}

.rights-continuity,
.public-rights-card,
.rights-admin-queue,
.rights-admin-case {
  padding: clamp(1rem, 2vw, 1.5rem);
  background: var(--surface, #fff);
  border: 1px solid var(--line, #d8dee8);
  border-radius: 1rem;
}

.rights-continuity {
  margin: 1rem 0;
  background: #fff8f2;
  border-color: color-mix(in srgb, var(--orange, #e85b24) 35%, var(--line, #d8dee8));
}

.rights-continuity p:first-child {
  margin-top: 0;
}

.public-rights-layout {
  max-width: 58rem;
}

.public-rights-card {
  margin-top: 1.5rem;
}

.public-rights-card form,
.rights-admin-case form {
  display: grid;
  gap: 1rem;
}

.rights-admin {
  width: min(94rem, 100% - 2rem);
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.rights-admin-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 23rem) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin-top: 2rem;
}

.rights-admin-queue {
  position: sticky;
  top: 5.5rem;
  max-height: calc(100vh - 7rem);
  overflow: auto;
}

.rights-admin-queue [data-rights-admin-list] {
  display: grid;
  gap: .75rem;
  margin-top: 1rem;
}

.rights-admin-case {
  min-width: 0;
}

.rights-admin-case details {
  margin-top: 1rem;
  border: 1px solid var(--line, #d8dee8);
  border-radius: .75rem;
  background: #fff;
}

.rights-admin-case summary {
  padding: 1rem;
  font-weight: 800;
  cursor: pointer;
}

.rights-admin-case details > form,
.rights-admin-case details > [data-type-workspace] {
  padding: 0 1rem 1rem;
}

.rights-admin-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  margin: 1rem 0;
}

.rights-admin-facts div {
  min-width: 0;
  padding: .75rem;
  background: #f5f7fa;
  border-radius: .75rem;
}

.rights-admin-facts span,
.rights-admin-facts strong {
  display: block;
  overflow-wrap: anywhere;
}

.rights-admin-facts span {
  color: var(--muted, #5f6878);
  font-size: .8rem;
}

.rights-admin-alert {
  padding: 1rem;
  border-left: .3rem solid var(--orange, #e85b24);
  background: #fff8f2;
}

.rights-admin-alert p {
  margin-top: 0;
}

.candidate-help-history {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line, #dfe3ea);
}

.candidate-help-history__head,
.candidate-help-history__item > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.candidate-help-history__head h3 {
  margin: 0;
}

.candidate-help-history__list {
  display: grid;
  gap: .75rem;
  max-height: min(34vh, 20rem);
  overflow: auto;
}

.candidate-help-history__item {
  padding: .85rem;
  border: 1px solid var(--line, #dfe3ea);
  border-radius: .8rem;
  background: var(--surface-soft, #f7f8fa);
}

.candidate-help-history__item time,
.candidate-help-history__item small {
  display: block;
  margin-top: .35rem;
  color: var(--muted, #5f6878);
  font-size: .8rem;
}

.candidate-help-history__item p {
  margin: .55rem 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.learning-course-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin-top: 1.1rem;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid color-mix(in srgb, var(--teal-500) 55%, var(--line));
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f0fbf8, #fff);
}

.learning-course-card__visual {
  display: grid;
  width: 3.4rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 1rem;
  color: #fff;
  background: var(--teal-700, #0f766e);
  font-weight: 900;
  letter-spacing: .08em;
}

.learning-course-card h3,
.learning-course-card p { margin-bottom: .45rem; }
.learning-course-card small { display: block; color: var(--muted); }
.learning-course-card > .button { grid-column: 1 / -1; width: 100%; }

.learning-shell { max-width: 1220px; }

.learning-course-layout {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.learning-course-main { min-width: 0; }
.learning-test-only {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 72px;
}
.learning-test-only__header {
  margin-bottom: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}
.learning-test-only__header h1 { margin: 6px 0 8px; }
.learning-test-only__header p { margin: 0; color: var(--muted); }

.learning-course-navigation {
  min-width: 0;
  padding: .85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.learning-course-navigation > div {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .75rem;
}

.learning-course-navigation > div span {
  color: var(--muted);
  font-size: .85rem;
}

.learning-course-navigation ol {
  display: grid;
  grid-template-columns: repeat(6, minmax(9.5rem, 1fr));
  gap: .6rem;
  margin: 0;
  padding: 0 0 .2rem;
  overflow-x: auto;
  list-style: none;
}

.learning-course-navigation li { min-width: 0; }

.learning-course-navigation button {
  display: grid;
  grid-template-columns: 1.8rem minmax(0, 1fr);
  gap: .15rem .5rem;
  width: 100%;
  min-height: 100%;
  padding: .7rem;
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: #f8fafc;
  color: var(--ink);
  text-align: left;
}

.learning-course-navigation button > span {
  display: grid;
  grid-row: 1 / 3;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border-radius: 999px;
  background: #e6f4f1;
  color: var(--teal-700);
  font-weight: 850;
}

.learning-course-navigation button strong {
  overflow-wrap: anywhere;
  font-size: .85rem;
  line-height: 1.25;
}

.learning-course-navigation button small { color: var(--muted); }
.learning-course-navigation button:disabled { cursor: default; opacity: .6; }
.learning-course-navigation .is-current button {
  border-color: var(--teal-500);
  background: #f0fdfa;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--teal-500) 20%, transparent);
  opacity: 1;
}

.learning-media-card {
  display: grid;
  gap: 1rem;
  margin: 1rem 0 1.5rem;
  padding: clamp(.75rem, 2vw, 1.1rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.learning-media-card video {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius-lg) - .35rem);
  background: #0f172a;
  object-fit: contain;
}

.learning-media-player {
  min-width: 0;
}

.learning-media-player > video {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius-lg) - .35rem);
  background: #0f172a;
  object-fit: contain;
}

.learning-media-controls {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  align-items: end;
  justify-content: space-between;
  margin-top: .75rem;
  color: var(--muted);
  font-size: .82rem;
}

.learning-media-controls label {
  display: grid;
  gap: .3rem;
  color: var(--text);
  font-weight: 700;
}

.learning-media-controls select {
  min-width: 9rem;
  min-height: 44px;
  padding: .55rem .7rem;
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.learning-media-card p { margin: .35rem 0 0; color: var(--muted); }

.learning-admin-media-list {
  display: grid;
  gap: .65rem;
  margin-top: .8rem;
}

.learning-admin-media {
  display: grid;
  gap: .65rem;
  padding: .8rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: #fff;
}

.learning-admin-media > div {
  display: grid;
  gap: .15rem;
}

.learning-admin-media > div span {
  color: var(--muted);
  font-size: .82rem;
}

.learning-admin-media ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.learning-admin-media li {
  display: grid;
  gap: .15rem;
  min-width: 0;
  padding: .5rem;
  border-radius: .55rem;
  background: #fff7ed;
  color: #9a3412;
  font-size: .78rem;
}

.learning-admin-media li.is-ready {
  background: #ecfdf5;
  color: #047857;
}

.learning-admin-media li strong {
  overflow-wrap: anywhere;
}

.learning-admin-media-import-list {
  display: grid;
  gap: .65rem;
  margin-top: .9rem;
}

.learning-admin-media-import {
  display: grid;
  gap: .75rem;
  padding: .85rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: .75rem;
  background: #fff;
}

.learning-admin-media-import.is-rejected { border-left-color: #b42318; }

.learning-admin-media-import__head,
.learning-admin-media-import__actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .65rem;
}

.learning-admin-media-import__head > div {
  display: grid;
  gap: .15rem;
  min-width: 0;
}

.learning-admin-media-import__head strong,
.learning-admin-media-import dd { overflow-wrap: anywhere; }

.learning-admin-media-import__head span,
.learning-admin-media-upload__heading span,
.learning-admin-media-upload__hint {
  color: var(--muted);
  font-size: .82rem;
}

.learning-admin-media-import details {
  padding: .65rem;
  border: 1px solid var(--line);
  border-radius: .6rem;
  background: #f8fafb;
}

.learning-admin-media-import summary {
  min-height: 44px;
  cursor: pointer;
  font-weight: 700;
}

.learning-admin-media-import dl {
  display: grid;
  gap: .45rem;
  margin: .55rem 0 0;
}

.learning-admin-media-import dl div {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: .65rem;
}

.learning-admin-media-import dt { color: var(--muted); }
.learning-admin-media-import dd { margin: 0; }

.learning-admin-media-upload {
  display: grid;
  gap: .8rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px dashed #8aa0a5;
  border-radius: .75rem;
  background: #fff;
}

.learning-admin-media-upload__heading > div,
.learning-admin-media-upload label {
  display: grid;
  gap: .3rem;
}

.learning-admin-media-upload label > span {
  font-size: .82rem;
  font-weight: 700;
}

.learning-admin-media-upload__fields {
  display: grid;
  grid-template-columns: minmax(12rem, .7fr) minmax(16rem, 1.3fr);
  gap: .75rem;
}

.learning-admin-media-upload select,
.learning-admin-media-upload input[type="file"] {
  width: 100%;
  min-height: 44px;
  padding: .55rem .65rem;
  border: 1px solid #a9b8bb;
  border-radius: .55rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.learning-admin-media-upload__hint { margin: 0; }

.learning-admin-media-upload__preview {
  padding: .65rem .75rem;
  border-radius: .55rem;
  background: #edf2f3;
  overflow-wrap: anywhere;
}

.learning-admin-media-upload progress {
  width: 100%;
  min-height: 12px;
  accent-color: var(--orange);
}

.learning-header__tools {
  display: grid;
  gap: .75rem;
  align-content: start;
}

.learning-glossary-button {
  width: 100%;
  white-space: nowrap;
}

.learning-glossary-button span {
  display: inline-grid;
  min-width: 2rem;
  min-height: 2rem;
  margin-right: .35rem;
  place-items: center;
  border-radius: .55rem;
  background: color-mix(in srgb, var(--teal-500) 15%, #fff);
  color: var(--teal-700, #0f766e);
  font-size: .72rem;
  font-weight: 900;
}

.glossary-dialog {
  width: min(calc(100% - 24px), 760px);
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  overflow: auto;
}

.glossary-dialog__body { min-width: 0; }

.glossary-search { margin-top: 1.25rem; }
.glossary-search > label { font-size: 14px; font-weight: 700; }

.glossary-search__control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .65rem;
}

.glossary-search input {
  width: 100%;
  min-width: 0;
  min-height: 3rem;
}

.glossary-status {
  min-height: 1.4rem;
  margin: .85rem 0;
}

.glossary-results {
  display: grid;
  gap: .85rem;
}

.glossary-term {
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #f8fafc;
}

.glossary-term h3,
.glossary-term > p,
.glossary-term__example p {
  margin: 0;
}

.glossary-term header {
  display: grid;
  gap: .45rem;
  margin-bottom: .65rem;
}

.glossary-term header p {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0;
}

.glossary-term header span {
  padding: .2rem .5rem;
  border-radius: 999px;
  background: #e6f4f1;
  color: #0f665f;
  font-size: .78rem;
  font-weight: 750;
}

.glossary-term__example {
  margin-top: .75rem;
  padding: .75rem;
  border-left: .25rem solid var(--orange);
  border-radius: .5rem;
  background: #fff;
}

.glossary-term__example strong {
  display: block;
  margin-bottom: .25rem;
  font-size: .82rem;
}

.glossary-skeleton {
  display: grid;
  gap: .85rem;
}

.glossary-skeleton i {
  display: block;
  height: 7rem;
  border-radius: 1rem;
  background: linear-gradient(90deg, #eef2f5, #f8fafc, #eef2f5);
  background-size: 200% 100%;
  animation: glossary-loading 1.1s linear infinite;
}

@keyframes glossary-loading {
  to { background-position: -200% 0; }
}

.learning-text-path {
  margin-bottom: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #f8fafc;
}

.learning-text-path > summary {
  padding: 1rem 1.25rem;
  font-weight: 850;
  cursor: pointer;
}

.learning-text-grid {
  display: grid;
  gap: 1rem;
  padding: 0 1rem 1rem;
}

.learning-text-card {
  min-width: 0;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
}

.learning-text-card h2 { margin-bottom: .55rem; font-size: clamp(1.05rem, 3vw, 1.3rem); }
.learning-text-card p { margin: 0; line-height: 1.65; }
.learning-text-card--callout { border-left: .35rem solid var(--teal-500); background: #f0fdfa; }
.learning-text-card--case { border-left: .35rem solid var(--orange); background: #fff7ed; }
.learning-text-card--checkpoint { border-left: .35rem solid #7c3aed; background: #f5f3ff; }

.learning-text-card--image {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.learning-text-card--image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 34rem;
  background: #eef2f5;
  object-fit: contain;
}

.learning-text-card--image figcaption {
  padding: 0 clamp(1rem, 2vw, 1.35rem) clamp(1rem, 2vw, 1.35rem);
}

.learning-text-card--image figcaption small {
  display: block;
  margin-top: .65rem;
  color: var(--muted);
  line-height: 1.5;
}

.learning-comparison {
  display: grid;
  gap: 1rem;
}

.learning-comparison section {
  padding: 1rem;
  border-radius: .8rem;
  background: #f4f7fa;
}

.learning-comparison h3 { margin-bottom: .45rem; font-size: 1rem; }
.learning-comparison ul { margin: 0; padding-left: 1.25rem; }

.learning-test-intro,
.learning-result,
.learning-test {
  margin: 1.5rem 0;
  padding: clamp(1rem, 3vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.learning-test-intro {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.learning-test__header {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.learning-test-progress {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .15rem .5rem;
  margin: 1rem 0;
}

.learning-test-progress strong { color: var(--navy-950); }
.learning-test-progress span { color: var(--muted); }
.learning-test-progress i {
  grid-column: 1 / -1;
  height: .5rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e6ebef;
}
.learning-test-progress b { display: block; height: 100%; border-radius: inherit; background: var(--teal-500); transition: width .2s ease; }

.learning-question {
  min-width: 0;
  margin: 1rem 0;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.learning-question legend {
  max-width: 100%;
  padding: 0 .35rem;
  font-weight: 750;
  line-height: 1.45;
}

.learning-question legend span {
  display: block;
  margin-bottom: .25rem;
  color: var(--teal-700, #0f766e);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.learning-options,
.learning-matching,
.learning-ordering {
  display: grid;
  gap: .75rem;
  margin-top: .8rem;
}

.learning-options label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .75rem;
  align-items: start;
  padding: .85rem;
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: #f8fafc;
  cursor: pointer;
}

.learning-options input { width: 1.15rem; height: 1.15rem; margin-top: .1rem; }

.learning-matching label,
.learning-ordering label {
  display: grid;
  gap: .45rem;
  padding: .75rem;
  border-radius: .8rem;
  background: #f8fafc;
}

.learning-matching select,
.learning-ordering select {
  width: 100%;
  min-height: 2.8rem;
}

.learning-test-actions {
  display: grid;
  gap: .85rem;
  align-items: center;
  margin-top: 1.25rem;
}

.learning-review-topics {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: .8rem;
  background: #fff7ed;
}

.learning-review-topics ul { margin-bottom: 0; }
.learning-result__success { padding: .8rem 1rem; border-radius: .8rem; background: #ecfdf5; color: #065f46; font-weight: 750; }

.learning-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1rem;
}

@media (max-width: 760px) {
  .reviewer-layout {
    grid-template-columns: 1fr;
    width: min(100% - 1rem, 46rem);
    padding-top: 1rem;
  }

  .reviewer-step-nav,
  .reviewer-queue--assignments,
  .reviewer-queue--discrepancies,
  .reviewer-work {
    grid-column: 1;
    grid-row: auto;
  }

  .reviewer-evidence-row,
  .reviewer-anchor-list > div {
    grid-template-columns: 1fr;
  }

  .evidence-picker select {
    font-size: 1rem;
  }

  .reviewer-header {
    align-items: flex-start;
  }

  .reviewer-actions .button {
    width: 100%;
  }

  .reviewer-media-card__actions .button {
    width: 100%;
  }

  .rights-layout {
    width: min(100% - 1rem, 46rem);
    padding-top: 1rem;
  }

  .rights-grid,
  .rights-facts {
    grid-template-columns: 1fr;
  }

  .rights-admin {
    width: min(100% - 1rem, 46rem);
    padding-top: 1rem;
  }

  .rights-admin-grid,
  .rights-admin-facts {
    grid-template-columns: 1fr;
  }

  .rights-admin-queue {
    position: static;
    max-height: none;
  }

  .rights-header .button,
  .public-rights-card .button,
  .rights-admin-case .button {
    width: 100%;
  }

  .rights-section-heading .button,
  .candidate-header-actions .button {
    width: 100%;
  }

  .learning-header {
    gap: 1rem;
  }

  .learning-header__tools,
  .learning-glossary-button,
  .glossary-search__control .button {
    width: 100%;
  }

  .glossary-search__control {
    grid-template-columns: 1fr;
  }

  .learning-test .lesson-timebox {
    width: 100%;
  }

  .learning-admin-media-upload__fields { grid-template-columns: 1fr; }

  .learning-admin-media-import__head,
  .learning-admin-media-import__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .learning-admin-media-import__actions .button { width: 100%; }
  .learning-admin-media-import dl div { grid-template-columns: 1fr; gap: .15rem; }

  .learning-result__actions .button { width: 100%; }
}

@media (min-width: 720px) {
  .learning-course-card { grid-template-columns: auto minmax(0, 1fr) auto; }
  .learning-course-card > .button { grid-column: auto; width: auto; max-width: 14rem; }
  .learning-media-card { grid-template-columns: minmax(0, 2fr) minmax(13rem, .8fr); align-items: center; }
  .learning-comparison { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .learning-test-intro { grid-template-columns: minmax(0, 1fr) auto; }
  .learning-test__header { grid-template-columns: minmax(0, 1fr) auto; }
  .learning-matching label,
  .learning-ordering label { grid-template-columns: minmax(0, 1fr) minmax(12rem, .65fr); align-items: center; }
  .learning-test-actions { grid-template-columns: minmax(0, 1fr) auto; }
  .learning-header__tools { min-width: 13rem; }
}

@media (min-width: 1080px) {
  .learning-course-layout {
    grid-template-columns: minmax(14rem, 17rem) minmax(0, 1fr);
    align-items: start;
  }

  .learning-course-navigation {
    position: sticky;
    top: 1rem;
  }

  .learning-course-navigation ol {
    grid-template-columns: 1fr;
    overflow: visible;
  }
}

/* ==========================================================================
   HEAR visual layer
   Calm editorial treatment with a Tabler-inspired application shell.
   This layer is presentation-only: functional selectors and visibility
   contracts remain owned by the application.
   ========================================================================== */

body {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .82) 0, rgba(248, 249, 251, 0) 210px),
    var(--sand-50);
  color: var(--ink);
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  letter-spacing: -.006em;
}

h1,
h2,
h3 {
  color: var(--ink);
  letter-spacing: -.035em;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(2.15rem, 5vw, 3.15rem);
  font-weight: 800;
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.55rem, 3.6vw, 2.1rem);
  font-weight: 780;
  line-height: 1.12;
}

h3 {
  font-size: 1.08rem;
  font-weight: 760;
  line-height: 1.3;
  letter-spacing: -.018em;
}

.lead {
  max-width: 64ch;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  line-height: 1.62;
}

.eyebrow,
.content-kicker {
  margin-bottom: 9px;
  color: var(--orange);
  font-size: .72rem;
  font-weight: 780;
  letter-spacing: .075em;
  line-height: 1.35;
  text-transform: uppercase;
}

.topbar,
.site-header {
  min-height: 72px;
  padding-inline: clamp(16px, 3vw, 34px);
  background: rgba(255, 255, 255, .94);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(35, 38, 43, .02);
  backdrop-filter: blur(16px);
}

.brand {
  gap: 11px;
  border-radius: var(--radius-sm);
}

.brand__word,
.brand__mark {
  color: var(--ink);
  font-weight: 850;
  letter-spacing: -.045em;
}

.brand__meta strong,
.brand__text strong {
  color: var(--ink);
  font-weight: 760;
  letter-spacing: -.015em;
}

.brand__meta small,
.brand__text small {
  color: var(--muted);
  font-weight: 650;
  letter-spacing: .08em;
}

.header-actions {
  gap: 10px;
}

.status-pill,
.role-chip,
.tag {
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: .72rem;
  font-weight: 720;
  letter-spacing: .01em;
}

.tag--active {
  border-color: color-mix(in srgb, var(--orange) 32%, var(--line));
  background: #fff0ea;
  color: var(--orange-dark);
}

.button {
  min-height: 44px;
  padding: 0 17px;
  border-radius: var(--radius-sm);
  font-size: .84rem;
  font-weight: 720;
  letter-spacing: -.005em;
  text-decoration: none;
  text-transform: none;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.button:hover {
  transform: none;
}

.button--primary,
.button--accent {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
  box-shadow: 0 1px 1px rgba(154, 52, 18, .12);
}

.button--primary:hover,
.button--accent:hover {
  border-color: var(--orange-dark);
  background: var(--orange-dark);
}

.button--secondary {
  border-color: var(--line-dark);
  background: var(--surface);
  color: var(--ink);
}

.button--secondary:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.button--ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button--ghost:hover {
  border-color: var(--line-dark);
  background: var(--surface);
}

.button:disabled,
.button[disabled] {
  border-color: var(--line);
  background: #e9e5dc;
  color: #777b80;
  box-shadow: none;
  cursor: not-allowed;
}

.text-button {
  min-height: 44px;
  color: var(--orange-dark);
  font-weight: 700;
  text-decoration: none;
}

main[tabindex="-1"]:focus {
  outline: none;
}

.avatar {
  width: 42px;
  height: 42px;
  border: 1px solid var(--graphite);
  border-radius: var(--radius-sm);
  background: var(--graphite);
  font-size: .78rem;
  font-weight: 760;
  letter-spacing: .04em;
}

.auth-shell,
.onboarding-card {
  border-top-width: 3px;
  background: var(--surface);
}

.field input,
.field textarea,
.field select,
.search input {
  border-color: var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.candidate-shell,
.lesson-shell,
.result-shell {
  padding-top: clamp(26px, 4vw, 46px);
}

.page-header {
  margin-bottom: 30px;
}

.page-header h1 {
  max-width: 18ch;
  margin-bottom: 10px;
}

.page-header p {
  max-width: 68ch;
  line-height: 1.55;
}

.candidate-header-actions {
  justify-content: flex-end;
}

.current-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.current-card::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 132px;
  height: 132px;
  border-radius: 0 0 0 100%;
  background: linear-gradient(135deg, transparent 48%, rgba(194, 65, 12, .055));
  content: "";
  pointer-events: none;
}

.current-card > img {
  background: #e8e3d9;
}

.current-card__body {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 4vw, 42px);
}

.current-card__body h2 {
  max-width: 21ch;
  margin-bottom: 12px;
}

.current-card__body p {
  max-width: 66ch;
  color: var(--muted);
  line-height: 1.58;
}

.current-card__body .current-draft-state {
  margin-bottom: 17px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 680;
}

.current-card .card-meta {
  color: var(--muted);
}

.current-card .time-row {
  margin: 18px 0 22px;
  color: var(--muted);
}

.current-card .time-row span,
.learning-course-card .time-row span,
.hard-skills-route-card .time-row span {
  border-color: var(--line);
  background: var(--surface-soft);
  color: var(--muted);
}

.current-card__body > .button {
  align-self: flex-start;
  min-width: 190px;
}

.metric-row {
  gap: 12px;
  margin: 16px 0 38px;
}

.metric-row article,
.hr-metrics article {
  min-width: 0;
  padding: 18px 20px;
  border-color: var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 1px 1px rgba(35, 38, 43, .025);
}

.metric-row strong,
.hr-metrics strong {
  color: var(--ink);
  font-size: 1.55rem;
  font-weight: 760;
  letter-spacing: -.04em;
}

.metric-row span,
.hr-metrics span,
.hr-metrics small {
  margin-top: 2px;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.35;
}

.section-block {
  margin-top: 42px;
}

.section-heading {
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > .muted {
  max-width: 42ch;
  font-size: .82rem;
  line-height: 1.45;
  text-align: right;
}

.learning-course-card,
.hard-skills-route-card {
  gap: 18px;
  margin-top: 14px;
  padding: clamp(18px, 2.5vw, 25px);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: none;
}

.learning-course-card__visual {
  width: 48px;
  border: 1px solid color-mix(in srgb, var(--orange) 28%, var(--line));
  border-radius: var(--radius-sm);
  background: #fff0ea;
  color: var(--orange-dark);
  font-size: .78rem;
  font-weight: 780;
}

.learning-course-card h3,
.hard-skills-route-card h3 {
  margin-bottom: 6px;
  font-size: 1.06rem;
}

.learning-course-card p,
.hard-skills-route-card p {
  color: var(--muted);
  line-height: 1.52;
}

.learning-course-card small,
.hard-skills-route-card small {
  max-width: 78ch;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.5;
}

.academy-module-heading {
  margin-top: 14px;
  padding: clamp(18px, 2.5vw, 25px);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: #eee9df;
}

.academy-module-heading h3 {
  margin-bottom: 6px;
}

.academy-module-heading p {
  max-width: 80ch;
  margin-bottom: 0;
  color: var(--muted);
}

.academy-module-heading + .module-list {
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: var(--surface);
}

.academy-module-heading + .module-list .module-item {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.academy-module-heading + .module-list .module-item:last-child {
  border-bottom: 0;
}

.module-list {
  gap: 8px;
}

.module-item {
  min-height: 76px;
  padding: 14px 16px;
  border-color: var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink);
  transition: border-color .15s ease, background-color .15s ease;
}

button.module-item:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--orange) 42%, var(--line));
  background: #fff9f5;
}

.module-item__index {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 760;
}

.module-item small,
.module-item__state {
  color: var(--muted);
  line-height: 1.4;
}

.module-item.is-active {
  border-color: color-mix(in srgb, var(--orange) 55%, var(--line));
  background: #fff8f4;
}

.module-item.is-active .module-item__index {
  border-color: var(--orange);
  background: var(--orange);
}

.module-item.is-complete .module-item__index {
  border-color: var(--green);
}

.module-item.is-locked {
  background: #f8f5ef;
  opacity: .78;
}

.help-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #eee9df;
}

.help-card__icon {
  border-radius: var(--radius-sm);
  background: var(--graphite);
}

.accepted-documents-card,
.candidate-table-card,
.candidate-detail {
  border-color: var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.accepted-document,
.registration-document {
  border-color: var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.lesson-shell {
  max-width: 1040px;
}

.lesson-progress {
  height: 4px;
  margin-bottom: 34px;
  border-radius: 999px;
  background: #ded9cf;
}

.lesson-header {
  margin-bottom: 26px;
}

.lesson-timebox {
  padding: 15px 16px;
  border-color: var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 1px 1px rgba(35, 38, 43, .025);
}

.lesson-timebox strong {
  margin: 2px 0;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 750;
}

.lesson-cover {
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.content-card,
.learning-course-navigation,
.learning-media-card {
  border-color: var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(35, 38, 43, .03);
}

.content-card {
  margin: 14px 0;
}

.prose {
  color: var(--ink);
}

.prose p {
  max-width: 72ch;
  font-size: 1.02rem;
  line-height: 1.72;
}

.formula span,
.example--strong,
.learning-review-topics {
  background: #fff0ea;
  color: var(--orange-dark);
}

.learning-test-only {
  width: min(940px, calc(100% - 32px));
  padding-top: 34px;
}

.learning-test-only__header {
  margin-bottom: 18px;
  padding: clamp(20px, 3vw, 28px);
  border-color: var(--line);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.learning-test-only__header h1,
.learning-test__header h2 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
}

.learning-course-navigation {
  padding: 12px;
}

.learning-course-navigation button,
.learning-options label,
.learning-matching label,
.learning-ordering label {
  border-color: var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.learning-course-navigation button > span {
  border-radius: var(--radius-sm);
  background: #fff0ea;
  color: var(--orange-dark);
}

.learning-course-navigation .is-current button {
  border-color: var(--orange);
  background: #fff8f4;
  box-shadow: 0 0 0 2px rgba(194, 65, 12, .1);
}

.learning-media-card video {
  border-radius: var(--radius-md);
  background: var(--graphite);
}

.learning-question {
  border-color: var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.learning-question legend span {
  color: var(--orange-dark);
}

.learning-options label:has(input:checked) {
  border-color: var(--orange);
  background: #fff8f4;
  box-shadow: inset 3px 0 0 var(--orange);
}

.learning-options input,
.work-style-scale input,
.work-style-choices input {
  accent-color: var(--orange);
}

.bottom-nav {
  padding-top: 6px;
  border-top-color: var(--line);
  background: rgba(255, 253, 250, .96);
  box-shadow: 0 -8px 24px rgba(35, 38, 43, .05);
}

.bottom-nav button {
  min-height: 57px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: .66rem;
  line-height: 1.25;
}

.bottom-nav button.is-active {
  background: #fff0ea;
  color: var(--orange-dark);
}

@media (max-width: 719px) {
  .topbar {
    min-height: 66px;
    padding-inline: 13px;
  }

  .view {
    min-height: calc(100dvh - 66px);
  }

  .candidate-shell,
  .lesson-shell,
  .result-shell {
    padding: 24px 13px 102px;
  }

  [data-view="candidate"] .page-header {
    gap: 18px;
    margin-bottom: 24px;
  }

  [data-view="candidate"] .page-header h1 {
    font-size: clamp(2.15rem, 10.5vw, 2.75rem);
    line-height: 1.02;
  }

  .candidate-header-actions {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 8px;
    width: 100%;
  }

  .candidate-header-actions .button {
    width: 100%;
    min-width: 0;
    padding-inline: 10px;
    font-size: .76rem;
  }

  .current-card {
    border-left-width: 3px;
  }

  .current-card__body {
    padding: 23px 19px 24px;
  }

  .current-card__body h2 {
    font-size: 1.62rem;
  }

  .current-card__body > .button {
    width: 100%;
    min-width: 0;
  }

  .metric-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-bottom: 34px;
  }

  .metric-row article {
    padding: 13px 9px;
  }

  .metric-row strong {
    font-size: 1.28rem;
  }

  .metric-row span {
    font-size: .67rem;
    overflow-wrap: normal;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading > .muted {
    text-align: left;
  }

  .learning-course-card,
  .hard-skills-route-card {
    padding: 18px 16px;
  }

  .learning-course-card__visual {
    width: 42px;
  }

  .academy-module-heading {
    padding: 18px 16px;
  }

  .module-item {
    padding: 13px 12px;
  }

  .module-item__state {
    font-size: .72rem;
  }

  .lesson-progress {
    margin-bottom: 26px;
  }

  .learning-test-only {
    width: min(100% - 26px, 940px);
    padding-top: 24px;
  }

  .learning-test-only__header h1 {
    font-size: clamp(1.85rem, 8.5vw, 2.35rem);
    line-height: 1.08;
  }

  .learning-test__header h2 {
    font-size: clamp(1.4rem, 6.8vw, 1.85rem);
    line-height: 1.14;
  }
}

@media (min-width: 720px) {
  .current-card:not(.is-text-only) {
    grid-template-columns: minmax(290px, .88fr) minmax(0, 1.12fr);
  }

  .current-card__body {
    min-height: 340px;
  }

  .current-card.is-text-only .current-card__body {
    min-height: 300px;
  }

  .learning-course-card,
  .hard-skills-route-card {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .hard-skills-route-card > div:first-child {
    grid-column: 1 / 3;
  }
}

@media (min-width: 1040px) {
  .candidate-sidebar:not([hidden]) {
    top: 72px;
    width: 248px;
    padding: 26px 17px;
    border-right: 1px solid #30343a;
    background: var(--navy-950);
  }

  .candidate-sidebar__title {
    margin: 0 11px 18px;
    color: #b9bdc2;
    font-size: .7rem;
    font-weight: 720;
    letter-spacing: .09em;
  }

  .candidate-sidebar__next {
    min-height: 46px;
    margin-bottom: 24px;
    padding: 10px 13px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: .82rem;
    font-weight: 720;
  }

  .candidate-sidebar__links {
    gap: 4px;
  }

  .candidate-sidebar__links button {
    min-height: 46px;
    gap: 11px;
    padding: 9px 11px;
    border-left: 0;
    border-radius: var(--radius-sm);
    color: #c9ccd0;
    font-size: .88rem;
  }

  .candidate-sidebar__links button span {
    width: 23px;
    color: #979ca3;
    font-size: 1rem;
  }

  .candidate-sidebar__links button:hover {
    background: rgba(255, 255, 255, .055);
    color: #fff;
  }

  .candidate-sidebar__links button.is-active {
    position: relative;
    border-left: 0;
    background: #2a2e33;
    color: #fff;
  }

  .candidate-sidebar__links button.is-active::before {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 0;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--orange);
    content: "";
  }

  .candidate-sidebar:not([hidden]) ~ .view:not([hidden]) {
    width: calc(100% - 248px);
    margin-left: 248px;
  }
}

/* ==========================================================================
   HEAR application architecture
   Role-aware navigation, workspace panels and responsive information hierarchy.
   Functional selectors and visibility contracts remain application-owned.
   ========================================================================== */

:root {
  --app-header-height: 72px;
  --candidate-rail-width: 256px;
  --staff-rail-width: 280px;
  --workspace-max: 1480px;
  --panel-shadow: 0 1px 2px rgba(35, 38, 43, .035), 0 12px 32px rgba(35, 38, 43, .035);
}

.nav-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  overflow: visible;
  color: currentColor;
}

.candidate-sidebar__links button .nav-icon {
  width: 20px;
  height: 20px;
  color: #9ca1a8;
}

.candidate-sidebar__links button.is-active .nav-icon,
.candidate-sidebar__links button:hover .nav-icon {
  color: #fff;
}

.bottom-nav .nav-icon {
  width: 21px;
  height: 21px;
  margin: 0 auto 4px;
}

.bottom-nav {
  background: rgba(255, 255, 255, .97);
}

.bottom-nav button {
  display: grid;
  min-width: 0;
  place-content: center;
  justify-items: center;
}

.hr-sidebar {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.hr-sidebar nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 2px 0 5px;
}

.hr-sidebar__group-label {
  display: none;
}

.hr-sidebar nav button,
.hr-sidebar nav a {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: start;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--muted);
  font-size: .82rem;
  font-weight: 680;
  line-height: 1.25;
  text-decoration: none;
}

.hr-sidebar nav > :last-child {
  grid-column: 1 / -1;
}

.hr-sidebar nav button:hover,
.hr-sidebar nav a:hover {
  border-color: color-mix(in srgb, var(--graphite) 36%, var(--line));
  background: var(--surface-soft);
  color: var(--ink);
}

.hr-sidebar nav button.is-active {
  border-color: var(--graphite);
  background: var(--graphite);
  color: #fff;
  box-shadow: inset 3px 0 0 var(--orange);
}

.hr-sidebar nav button.is-active .nav-icon {
  color: #fff;
}

.hr-sidebar nav .badge {
  min-width: 22px;
  margin-left: 2px;
  padding-inline: 6px;
  border: 1px solid currentColor;
  border-radius: 999px;
  box-shadow: none;
}

[data-rights-admin-link]::before {
  width: 18px;
  height: 17px;
  border: 1.5px solid currentColor;
  border-radius: 50% / 23%;
  background:
    linear-gradient(currentColor, currentColor) center 5px / 100% 1px no-repeat,
    linear-gradient(currentColor, currentColor) center 10px / 100% 1px no-repeat;
  content: "";
  opacity: .86;
}

.hr-main {
  width: min(100%, var(--workspace-max));
  margin: 0 auto;
}

.hr-main > .page-header {
  align-items: flex-end;
  gap: 24px;
}

.hr-main > .page-header > div:first-child {
  min-width: 0;
}

.hr-main > .page-header h1 {
  max-width: 22ch;
}

.hr-main > .page-header p {
  margin-bottom: 0;
}

.hr-primary-actions {
  align-items: center;
  justify-content: flex-end;
}

.hr-metrics {
  gap: 10px;
  margin-bottom: 18px;
}

.hr-metrics article {
  position: relative;
  overflow: hidden;
  min-height: 112px;
}

.hr-metrics article::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 3px;
  background: var(--orange);
  content: "";
  opacity: .72;
}

.operations-board,
.help-inbox-workspace,
.candidate-table-card,
.candidate-detail,
.calibration-workspace,
.observability-workspace,
.staff-access-workspace,
.hr-info-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--panel-shadow);
}

.operations-board,
.help-inbox-workspace,
.candidate-table-card,
.calibration-workspace,
.observability-workspace,
.staff-access-workspace {
  overflow: hidden;
}

.operations-board {
  padding: clamp(20px, 2.5vw, 28px);
}

.operations-board__head,
.help-inbox-toolbar,
.observability-toolbar,
.staff-access-heading,
.candidate-list-heading {
  min-width: 0;
}

.attention-summary {
  border: 1px solid color-mix(in srgb, var(--orange) 22%, var(--line));
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-md);
  background: #fff8f4;
}

.operations-queue-metric,
.help-inbox-metric {
  min-height: 58px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.table-toolbar {
  align-items: center;
  background: var(--surface-soft);
}

.candidate-list-heading {
  padding: 22px 20px 12px;
}

.candidate-row {
  min-height: 66px;
}

.candidate-row--head {
  background: var(--surface-soft);
}

.candidate-row:not(.candidate-row--head):hover {
  background: #fbfcfd;
}

.candidate-detail {
  box-shadow: var(--panel-shadow);
}

.empty-state {
  border: 1px dashed var(--line);
  background: var(--surface-soft);
}

.reviewer-header {
  background: rgba(255, 255, 255, .96);
}

.reviewer-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  width: min(var(--workspace-max), calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 64px;
}

.reviewer-step-nav {
  grid-column: 1 / 4;
  grid-row: 1 / span 2;
  align-self: start;
  gap: 0;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--graphite);
  color: #fff;
  box-shadow: var(--panel-shadow);
  counter-reset: reviewer-step;
}

.reviewer-step-nav strong {
  margin-bottom: 14px;
  color: #fff;
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.reviewer-step-nav a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 45px;
  padding: 7px 0;
  border-top: 1px solid rgba(255, 255, 255, .11);
  color: #d7dade;
  font-size: .84rem;
  font-weight: 620;
  line-height: 1.35;
  text-decoration: none;
  counter-increment: reviewer-step;
}

.reviewer-step-nav a::before {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  color: #fff;
  font-size: .72rem;
  font-weight: 760;
  content: counter(reviewer-step);
}

.reviewer-step-nav a:hover {
  color: #fff;
}

.reviewer-queue {
  min-width: 0;
  margin: 0;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--panel-shadow);
}

.reviewer-queue--assignments {
  grid-column: 4 / 9;
  grid-row: 1;
}

.reviewer-queue--discrepancies {
  grid-column: 9 / 13;
  grid-row: 1;
}

.reviewer-queue h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
}

.reviewer-queue h2 {
  margin-bottom: 10px;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
}

.reviewer-queue .fine-print {
  max-width: 58ch;
}

.reviewer-queue-list {
  margin-top: 18px;
}

.reviewer-queue-item {
  min-height: 94px;
  padding: 15px 16px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.reviewer-queue-item:hover,
.reviewer-queue-item:focus-visible {
  border-color: var(--orange);
  background: #fff8f4;
  outline: 3px solid rgba(194, 65, 12, .12);
}

.reviewer-work {
  grid-column: 4 / 13;
  grid-row: 1 / span 6;
  min-width: 0;
  margin: 0;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  box-shadow: var(--panel-shadow);
}

.reviewer-layout:has(.reviewer-work:not([hidden])) {
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
}

.reviewer-layout:has(.reviewer-work:not([hidden])) .reviewer-step-nav,
.reviewer-layout:has(.reviewer-work:not([hidden])) .reviewer-queue--assignments,
.reviewer-layout:has(.reviewer-work:not([hidden])) .reviewer-queue--discrepancies {
  grid-column: 1;
}

.reviewer-layout:has(.reviewer-work:not([hidden])) .reviewer-step-nav {
  grid-row: 1;
}

.reviewer-layout:has(.reviewer-work:not([hidden])) .reviewer-queue--assignments {
  grid-row: 2;
}

.reviewer-layout:has(.reviewer-work:not([hidden])) .reviewer-queue--discrepancies {
  grid-row: 3;
}

.reviewer-layout:has(.reviewer-work:not([hidden])) .reviewer-work:not([hidden]) {
  grid-column: 2;
  grid-row: 1 / span 8;
}

.reviewer-work__heading {
  margin-bottom: 18px;
}

.reviewer-work__heading h2 {
  margin-bottom: 0;
}

.reviewer-card,
.notice-card {
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 1px 1px rgba(35, 38, 43, .025);
}

.notice-card {
  border-color: color-mix(in srgb, var(--orange) 22%, var(--line));
  background: #fff8f4;
}

.reviewer-evidence,
.reviewer-evidence-group,
.reviewer-media-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

@media (min-width: 1040px) {
  .candidate-sidebar:not([hidden]) {
    width: var(--candidate-rail-width);
  }

  .candidate-sidebar:not([hidden]) ~ .view:not([hidden]) {
    width: calc(100% - var(--candidate-rail-width));
    margin-left: var(--candidate-rail-width);
  }

  .hr-layout {
    grid-template-columns: var(--staff-rail-width) minmax(0, 1fr);
  }

  .hr-sidebar {
    top: var(--app-header-height);
    height: calc(100vh - var(--app-header-height));
    padding: 25px 17px 20px;
    border: 0;
    border-right: 1px solid #30343a;
    background: var(--navy-950);
    color: #fff;
  }

  .hr-sidebar__title {
    margin: 0 11px 18px;
    color: #b9bdc2;
    font-size: .7rem;
    font-weight: 720;
    letter-spacing: .09em;
  }

  .hr-sidebar nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 0;
    overflow: visible;
  }

  .hr-sidebar__group-label {
    display: block;
    margin: 17px 11px 5px;
    color: #777d85;
    font-size: .62rem;
    font-weight: 760;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

  .hr-sidebar__group-label:first-child {
    margin-top: 0;
  }

  .hr-sidebar nav button,
  .hr-sidebar nav a {
    grid-template-columns: 20px minmax(0, 1fr) auto;
    width: 100%;
    min-height: 43px;
    padding: 8px 10px;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: #c9ccd0;
    font-size: .79rem;
    font-weight: 650;
  }

  .hr-sidebar nav button:hover,
  .hr-sidebar nav a:hover {
    border: 0;
    background: rgba(255, 255, 255, .055);
    color: #fff;
  }

  .hr-sidebar nav button.is-active {
    position: relative;
    border: 0;
    background: #2a2e33;
    color: #fff;
    box-shadow: none;
  }

  .hr-sidebar nav button.is-active::before {
    position: absolute;
    top: 9px;
    bottom: 9px;
    left: 0;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--orange);
    content: "";
  }

  .hr-sidebar nav .nav-icon {
    color: #8f959c;
  }

  .hr-sidebar nav button:hover .nav-icon,
  .hr-sidebar nav a:hover .nav-icon,
  .hr-sidebar nav button.is-active .nav-icon {
    color: #fff;
  }

  .hr-sidebar nav .badge {
    color: #fff;
  }

  .hr-sidebar__guide {
    margin: 22px 10px 0;
    color: #aeb3b9;
  }

  .hr-sidebar__user {
    padding-inline: 9px;
  }

  .hr-main {
    padding: 38px clamp(28px, 3.2vw, 52px) 74px;
  }
}

@media (min-width: 1280px) {
  .hr-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 370px);
    gap: 18px;
  }
}

@media (max-width: 1039px) {
  .hr-layout {
    display: block;
  }

  .hr-main {
    padding: 28px 18px 68px;
  }

  .hr-sidebar__title,
  .hr-sidebar__guide,
  .hr-sidebar__user {
    display: none;
  }
}

@media (min-width: 720px) and (max-width: 1039px) {
  .hr-sidebar nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .reviewer-layout,
  .reviewer-layout:has(.reviewer-work:not([hidden])) {
    grid-template-columns: 1fr;
    width: min(100% - 24px, 760px);
    padding-top: 18px;
  }

  .reviewer-step-nav,
  .reviewer-queue--assignments,
  .reviewer-queue--discrepancies,
  .reviewer-work,
  .reviewer-layout:has(.reviewer-work:not([hidden])) .reviewer-step-nav,
  .reviewer-layout:has(.reviewer-work:not([hidden])) .reviewer-queue--assignments,
  .reviewer-layout:has(.reviewer-work:not([hidden])) .reviewer-queue--discrepancies,
  .reviewer-layout:has(.reviewer-work:not([hidden])) .reviewer-work:not([hidden]) {
    grid-column: 1;
    grid-row: auto;
  }

  .reviewer-step-nav {
    position: static;
  }

  .reviewer-work {
    padding: 18px;
  }
}

@media (max-width: 719px) {
  .hr-sidebar {
    position: sticky;
    z-index: 34;
    top: 66px;
    padding: 8px 10px;
    box-shadow: 0 8px 20px rgba(35, 38, 43, .055);
  }

  .hr-sidebar nav {
    padding-bottom: 2px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hr-sidebar nav button,
  .hr-sidebar nav a {
    min-height: 48px;
    grid-template-columns: 18px minmax(0, 1fr) auto;
    padding: 7px 10px;
    font-size: .76rem;
  }

  .hr-sidebar nav .nav-icon {
    width: 18px;
    height: 18px;
  }

  .hr-main {
    padding: 24px 12px 58px;
  }

  .hr-main > .page-header {
    align-items: stretch;
  }

  .hr-primary-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hr-primary-actions .button {
    width: 100%;
  }

  .hr-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-inline: 0;
    padding: 0;
    overflow: visible;
  }

  .hr-metrics article {
    min-height: 100px;
    padding: 15px;
  }

  .operations-board {
    padding: 18px 15px;
  }

  .operations-board__head {
    align-items: stretch;
    flex-direction: column;
  }

  .operations-board__head .button {
    width: 100%;
  }

  .reviewer-header .brand__text {
    display: none;
  }

  .reviewer-header .header-actions {
    gap: 6px;
  }

  .reviewer-header .button {
    min-height: 40px;
    padding-inline: 11px;
    font-size: .75rem;
  }

  .reviewer-layout,
  .reviewer-layout:has(.reviewer-work:not([hidden])) {
    width: min(100% - 20px, 760px);
    gap: 12px;
    padding-bottom: 40px;
  }

  .reviewer-step-nav,
  .reviewer-queue {
    padding: 17px;
  }

  .reviewer-step-nav a {
    font-size: .8rem;
  }

  .reviewer-queue h1 {
    font-size: 2.15rem;
  }
}

/* ==========================================================================
   HEAR × Tabler shell alignment
   A visibly structural adaptation of the vertical application layout:
   integrated brand rail, compact page headers and dashboard card grid.
   ========================================================================== */

:root {
  --sidebar-anthracite: #1f2937;
  --sidebar-anthracite-active: #273449;
  --sidebar-anthracite-border: #374151;
  --candidate-workspace-gutter: clamp(28px, 3.2vw, 64px);
}

.reviewer-step-nav {
  background: var(--sidebar-anthracite);
}

@media (min-width: 1040px) {
  .topbar {
    display: flex;
    padding: 0 30px 0 0;
    background: rgba(255, 255, 255, .97);
  }

  .topbar > .brand {
    align-self: stretch;
    width: var(--candidate-rail-width);
    flex: 0 0 var(--candidate-rail-width);
    gap: 10px;
    padding: 0 20px;
    border-radius: 0;
    background: var(--sidebar-anthracite);
  }

  .topbar > .brand .brand__word {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .topbar > .brand .brand__meta {
    min-width: 0;
  }

  .topbar > .brand .brand__word,
  .workspace-header > .brand .brand__mark {
    color: #f9fafb;
  }

  .topbar > .brand .brand__meta strong,
  .workspace-header > .brand .brand__text strong {
    color: #f9fafb;
  }

  .topbar > .brand .brand__meta small,
  .workspace-header > .brand .brand__text small {
    color: #9ca3af;
  }

  .topbar > .header-actions {
    margin-left: auto;
  }

  .candidate-sidebar:not([hidden]) {
    border-right-color: var(--sidebar-anthracite-border);
    background: var(--sidebar-anthracite);
  }

  .candidate-sidebar:not([hidden]) ~ .view:not([hidden]) > .candidate-shell,
  .candidate-sidebar:not([hidden]) ~ .view:not([hidden]) > .lesson-shell,
  .candidate-sidebar:not([hidden]) ~ .view:not([hidden]) > .result-shell {
    width: 100%;
    max-width: none;
    padding-inline: var(--candidate-workspace-gutter);
  }

  .candidate-sidebar__links button.is-active {
    background: var(--sidebar-anthracite-active);
  }

  .workspace-header {
    display: grid;
    grid-template-columns: var(--staff-rail-width) minmax(0, 1fr);
    padding: 0;
    background: rgba(255, 255, 255, .97);
  }

  .workspace-header > .brand {
    align-self: stretch;
    width: 100%;
    gap: 10px;
    padding: 0 20px;
    border-radius: 0;
    background: var(--sidebar-anthracite);
  }

  .workspace-header > .brand .brand__mark {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .workspace-header > .brand .brand__text {
    min-width: 0;
  }

  .workspace-header > .header-actions {
    justify-self: end;
    padding-right: 34px;
  }

  .hr-sidebar {
    border-right-color: var(--sidebar-anthracite-border);
    background: var(--sidebar-anthracite);
  }

  .hr-sidebar nav button.is-active {
    background: var(--sidebar-anthracite-active);
  }

  .hr-main > .page-header h1 {
    font-size: clamp(2.2rem, 3.2vw, 2.75rem);
    line-height: 1.04;
  }

  .candidate-sidebar__title,
  .hr-sidebar__title {
    color: #aeb6c2;
  }
}

@media (min-width: 1180px) {
  [data-view="candidate"] .candidate-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 286px;
    align-items: stretch;
    gap: 16px 18px;
    max-width: none;
  }

  [data-view="candidate"] .candidate-shell > .page-header {
    grid-column: 1 / -1;
    align-items: flex-end;
    margin-bottom: 8px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }

  [data-view="candidate"] .candidate-shell > .page-header h1 {
    max-width: 20ch;
    font-size: clamp(2.25rem, 3.5vw, 2.85rem);
    line-height: 1.04;
  }

  [data-view="candidate"] .candidate-shell > .current-card {
    grid-column: 1;
    height: 100%;
    min-height: 356px;
  }

  [data-view="candidate"] .current-card:not(.is-text-only) {
    grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr);
  }

  [data-view="candidate"] .current-card__body {
    min-height: 356px;
    padding: 30px;
  }

  [data-view="candidate"] .current-card__body h2 {
    font-size: clamp(1.75rem, 2.6vw, 2.2rem);
  }

  [data-view="candidate"] .candidate-shell > .metric-row {
    display: grid;
    grid-column: 2;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 10px;
    min-width: 0;
    margin: 0;
  }

  [data-view="candidate"] .metric-row article {
    display: grid;
    min-height: 0;
    align-content: center;
    padding: 18px 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--panel-shadow);
  }

  [data-view="candidate"] .metric-row article::before {
    width: 34px;
    height: 3px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: var(--orange);
    content: "";
    opacity: .72;
  }

  [data-view="candidate"] .metric-row strong {
    font-size: 1.7rem;
  }

  [data-view="candidate"] .candidate-shell > .help-card,
  [data-view="candidate"] .candidate-shell > .section-block,
  [data-view="candidate"] .candidate-shell > .accepted-documents-card {
    grid-column: 1 / -1;
  }

  [data-view="candidate"] .candidate-shell > .section-block {
    margin-top: 24px;
  }
}

/* ==========================================================================
   HEAR target application system
   Full adaptation of the agreed Tabler vertical/fluid pattern across
   candidate, staff and reviewer workspaces. Presentation only.
   ========================================================================== */

:root {
  --sand-50: #f9fafb;
  --sand-100: #f3f4f6;
  --surface: #ffffff;
  --surface-soft: #f9fafb;
  --line: #e5e7eb;
  --line-dark: #9ca3af;
  --radius-lg: 8px;
  --radius-md: 7px;
  --radius-sm: 5px;
  --shadow: none;
  --panel-shadow: none;
  --app-header-height: 72px;
  --candidate-rail-width: 240px;
  --staff-rail-width: 240px;
  --workspace-max: 100%;
}

body {
  background: var(--sand-50);
}

.topbar,
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .98);
  box-shadow: none;
  backdrop-filter: none;
}

.page-header {
  min-height: 62px;
  align-items: center;
  gap: 24px;
  margin-bottom: 22px;
}

.page-header h1,
.hr-main > .page-header h1,
.reviewer-queue h1 {
  max-width: none;
  margin-bottom: 7px;
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
  line-height: 1.08;
}

.page-header p,
.hr-main > .page-header p {
  max-width: 72ch;
  color: var(--muted);
  line-height: 1.5;
}

.current-card,
.metric-row article,
.hr-metrics article,
.learning-course-card,
.hard-skills-route-card,
.content-card,
.learning-course-navigation,
.learning-media-card,
.learning-question,
.lesson-timebox,
.lesson-cover,
.accepted-documents-card,
.competency-card,
.operations-board,
.help-inbox-workspace,
.candidate-table-card,
.candidate-detail,
.calibration-workspace,
.observability-workspace,
.staff-access-workspace,
.hr-info-panel,
.reviewer-queue,
.reviewer-work,
.reviewer-card,
.notice-card,
.auth-shell,
.onboarding-card,
.modal {
  border-color: var(--line);
  border-radius: var(--radius-lg);
  box-shadow: none;
}

.metric-row article,
.hr-metrics article,
.content-card,
.learning-course-navigation,
.learning-media-card,
.learning-question,
.lesson-timebox,
.accepted-documents-card,
.competency-card,
.operations-board,
.help-inbox-workspace,
.candidate-table-card,
.candidate-detail,
.calibration-workspace,
.observability-workspace,
.staff-access-workspace,
.hr-info-panel,
.reviewer-queue,
.reviewer-work,
.reviewer-card {
  background: var(--surface);
}

.academy-module-heading,
.help-card {
  border-color: var(--line);
  background: var(--surface);
}

.academy-module-heading + .module-list {
  border-color: var(--line);
  background: var(--surface);
}

.module-item.is-locked,
.table-toolbar,
.candidate-row--head,
.operations-queue-metric,
.help-inbox-metric,
.empty-state {
  background: var(--surface-soft);
}

.button {
  border-radius: var(--radius-md);
  box-shadow: none;
}

.field input,
.field textarea,
.field select,
.search input {
  min-height: 44px;
  border-color: var(--line-dark);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.field input:focus,
.field textarea:focus,
.field select:focus,
.search input:focus {
  border-color: var(--orange);
  outline: 3px solid rgba(194, 65, 12, .16);
  outline-offset: 1px;
}

.metric-row article::before,
.hr-metrics article::after {
  height: 2px;
}

.hr-main {
  width: 100%;
  max-width: none;
  margin: 0;
}

.reviewer-queue,
.reviewer-work {
  padding: clamp(20px, 2.4vw, 28px);
}

.reviewer-card {
  padding: clamp(18px, 2vw, 24px);
}

@media (min-width: 1040px) {
  .topbar > .brand,
  .workspace-header > .brand {
    padding-inline: 16px;
  }

  .topbar > .brand {
    gap: 8px;
  }

  .topbar > .brand .brand__word {
    font-size: 22px;
  }

  .topbar > .brand .brand__meta strong {
    font-size: .72rem;
  }

  .topbar > .brand .brand__meta small {
    font-size: .54rem;
  }

  .candidate-sidebar:not([hidden]) {
    width: var(--candidate-rail-width);
    padding: 24px 16px;
  }

  .candidate-sidebar:not([hidden]) ~ .view:not([hidden]) {
    width: calc(100% - var(--candidate-rail-width));
    margin-left: var(--candidate-rail-width);
  }

  .candidate-sidebar:not([hidden]) ~ .view:not([hidden]) > .candidate-shell,
  .candidate-sidebar:not([hidden]) ~ .view:not([hidden]) > .lesson-shell,
  .candidate-sidebar:not([hidden]) ~ .view:not([hidden]) > .result-shell {
    width: 100%;
    max-width: none;
    padding-inline: var(--candidate-workspace-gutter);
  }

  .candidate-sidebar__links button,
  .hr-sidebar nav button,
  .hr-sidebar nav a {
    min-height: 42px;
    border-radius: var(--radius-md);
    font-size: .82rem;
  }

  .workspace-header {
    grid-template-columns: var(--staff-rail-width) minmax(0, 1fr);
  }

  .workspace-header > .header-actions {
    padding-right: 28px;
  }

  .hr-layout {
    grid-template-columns: var(--staff-rail-width) minmax(0, 1fr);
  }

  .hr-main {
    padding: 32px clamp(28px, 3.2vw, 64px) 72px;
  }

  .hr-main > .page-header {
    min-height: 62px;
    align-items: center;
  }
}

@media (min-width: 1180px) {
  [data-view="candidate"] .candidate-shell {
    grid-template-columns: minmax(0, 1fr) clamp(286px, 17vw, 340px);
  }

  [data-view="candidate"] .candidate-shell > .page-header {
    align-items: center;
    margin-bottom: 0;
    padding-bottom: 18px;
  }

  [data-view="candidate"] .candidate-shell > .page-header h1 {
    max-width: none;
    font-size: clamp(1.9rem, 2.6vw, 2.4rem);
    line-height: 1.08;
  }

  .reviewer-header {
    display: grid;
    grid-template-columns: var(--staff-rail-width) minmax(0, 1fr);
    padding: 0 28px 0 0;
  }

  .reviewer-header > .brand {
    align-self: stretch;
    gap: 9px;
    min-width: 0;
    padding: 0 16px;
    border-radius: 0;
    background: var(--sidebar-anthracite);
  }

  .reviewer-header > .brand .brand__mark {
    flex: 0 0 auto;
    color: #f9fafb;
    white-space: nowrap;
  }

  .reviewer-header > .brand .brand__text {
    min-width: 0;
  }

  .reviewer-header > .brand .brand__text strong {
    color: #f9fafb;
  }

  .reviewer-header > .brand .brand__text small {
    color: #9ca3af;
  }

  .reviewer-header > .header-actions {
    justify-self: end;
  }

  .reviewer-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    width: calc(100% - var(--staff-rail-width));
    max-width: none;
    gap: 18px;
    margin: 0 0 0 var(--staff-rail-width);
    padding: 30px clamp(28px, 3.2vw, 64px) 64px;
  }

  .reviewer-step-nav {
    position: fixed;
    z-index: 24;
    top: var(--app-header-height);
    bottom: 0;
    left: 0;
    grid-column: auto;
    grid-row: auto;
    width: var(--staff-rail-width);
    height: calc(100dvh - var(--app-header-height));
    align-content: start;
    grid-auto-rows: max-content;
    margin: 0;
    overflow-y: auto;
    padding: 24px 18px;
    border: 0;
    border-top: 1px solid var(--sidebar-anthracite-border);
    border-right: 1px solid var(--sidebar-anthracite-border);
    border-radius: 0;
    background: var(--sidebar-anthracite);
    box-shadow: none;
  }

  .reviewer-queue--assignments {
    grid-column: 1;
    grid-row: 1;
  }

  .reviewer-queue--discrepancies {
    grid-column: 2;
    grid-row: 1;
  }

  [data-reviewer-bootstrap-error] {
    grid-column: 1 / -1;
  }

  .reviewer-layout:has(.reviewer-work:not([hidden])) {
    grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  }

  .reviewer-layout:has(.reviewer-work:not([hidden])) .reviewer-queue--assignments {
    grid-column: 1;
    grid-row: 1;
  }

  .reviewer-layout:has(.reviewer-work:not([hidden])) .reviewer-queue--discrepancies {
    grid-column: 1;
    grid-row: 2;
  }

  .reviewer-layout:has(.reviewer-work:not([hidden])) .reviewer-work:not([hidden]) {
    grid-column: 2;
    grid-row: 1 / span 8;
  }

  .reviewer-layout > .reviewer-work:not([hidden]) {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .reviewer-queue .fine-print {
    text-align: left;
  }
}

/* User-approved readability pass: one compact type scale and graphite rails. */
:root {
  --sidebar-anthracite: var(--graphite);
  --sidebar-anthracite-active: #222a35;
  --sidebar-anthracite-border: #46505e;
}

body {
  font-size: 16px;
  line-height: 1.58;
}

h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.5rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  line-height: 1.16;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.35;
}

.lead {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  line-height: 1.58;
}

.page-header h1,
.hr-main > .page-header h1,
.reviewer-queue h1,
[data-view="candidate"] .candidate-shell > .page-header h1 {
  font-size: clamp(1.9rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.candidate-purpose-note {
  max-width: 76ch;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: .95rem;
}

.candidate-progress-card,
.review-readiness-card {
  grid-column: 1 / -1;
  padding: clamp(18px, 2.4vw, 24px);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.candidate-progress-card__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.candidate-progress-card h2,
.review-readiness-card h2 {
  margin-bottom: 6px;
}

.candidate-progress-card progress {
  display: block;
  width: 100%;
  height: 14px;
  margin: 14px 0 10px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: var(--sand-100);
  accent-color: var(--orange);
}

.candidate-progress-card progress::-webkit-progress-bar {
  border-radius: 999px;
  background: var(--sand-100);
}

.candidate-progress-card progress::-webkit-progress-value {
  border-radius: 999px;
  background: var(--orange);
}

.candidate-progress-card progress::-moz-progress-bar {
  border-radius: 999px;
  background: var(--orange);
}

.candidate-progress-card p,
.review-readiness-card p {
  margin: 0;
}

.review-readiness-card {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.review-readiness-card .button {
  width: fit-content;
}

.learning-course-navigation__group {
  padding: 14px 10px 5px;
  color: var(--muted);
  font-size: .74rem;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.learning-course-navigation__group:first-child {
  padding-top: 4px;
}

@media (max-width: 680px) {
  .candidate-progress-card__head {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }

  .review-readiness-card .button {
    width: 100%;
  }
}

.answer-history-card__score {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .75rem;
  margin: .75rem 0 1rem;
  padding: .75rem 1rem;
  border-radius: .75rem;
  background: var(--sand-100);
}

.answer-history-card__score strong {
  font-size: 1.05rem;
}

.answer-history-card__score span,
.answer-score-summary__values span {
  color: var(--muted);
}

.answer-score-summary__values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.answer-score-summary__values p {
  display: grid;
  gap: .25rem;
  margin: 0;
}

.answer-score-summary__values strong {
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
}

.answer-score-summary__values span {
  font-size: .9rem;
}

@media (max-width: 640px) {
  .answer-score-summary__values {
    grid-template-columns: 1fr;
  }
}

.learning-hr-score-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.learning-hr-score-grid p {
  display: grid;
  gap: .25rem;
  margin: 0;
}

.learning-hr-score-grid strong {
  font-size: 1.2rem;
}

.learning-hr-score-grid span {
  color: var(--muted);
  font-size: .88rem;
}

@media (max-width: 900px) {
  .learning-hr-score-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .learning-hr-score-grid {
    grid-template-columns: 1fr;
  }
}
