/* Career Hub and the three maritime career tools (/tools/interview-simulator,
   /tools/maritime-cv-builder, /tools/maritime-readiness-quiz). Moved out of
   career-hub.html so the standalone tool pages share one copy. */
/* ── CAREER HUB PAGE STYLES ── */

/* Career Map */
.career-map-pathway {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 40px auto;
  max-width: 900px;
  overflow-x: auto;
  padding: 20px 0;
}

.career-map-step {
  text-align: center;
  min-width: 140px;
  flex-shrink: 0;
}

.career-map-step .step-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-subtle);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  color: var(--accent-dark);
}

.career-map-step .step-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.35;
}

.career-map-step .step-sublabel {
  font-size: 0.72rem;
  color: var(--text-body);
  margin-top: 2px;
}

.career-map-arrow {
  flex-shrink: 0;
  color: var(--accent);
  margin: 0 4px;
  padding-bottom: 28px;
}

[data-theme="dark"] .career-map-step .step-label {
  color: var(--text-light);
}

[data-theme="dark"] .career-map-step .step-icon {
  border-color: var(--accent);
}

@media (max-width: 768px) {
  .career-map-pathway {
    flex-direction: column;
    gap: 0;
  }

  .career-map-arrow {
    transform: rotate(90deg);
    margin: 4px 0;
    padding-bottom: 0;
  }
}

.career-roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.career-role-card {
  background: white;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: all 0.3s var(--ease-out);
}

.career-role-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-warm);
}

.career-role-card .role-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-subtle);
  border: 1px solid var(--border-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: var(--accent-dark);
}

.career-role-card h4 {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.career-role-card p {
  font-size: 0.8rem;
  color: var(--text-body);
  line-height: 1.5;
  margin: 0;
}

[data-theme="dark"] .career-role-card {
  background: var(--bg-card);
  border-color: var(--border-light);
}

/* CV Builder */
.cv-builder-form {
  max-width: 640px;
}

.cv-builder-form .form-group {
  margin-bottom: 18px;
}

.cv-builder-form label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-dark);
  display: block;
  margin-bottom: 6px;
}

.cv-builder-form input,
.cv-builder-form select,
.cv-builder-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  background: white;
  color: var(--text-dark);
  transition: border-color 0.3s;
}

.cv-builder-form textarea {
  min-height: 100px;
  resize: vertical;
}

.cv-builder-form input:focus,
.cv-builder-form select:focus,
.cv-builder-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

[data-theme="dark"] .cv-builder-form label {
  color: var(--text-body-light);
}

[data-theme="dark"] .cv-builder-form input,
[data-theme="dark"] .cv-builder-form select,
[data-theme="dark"] .cv-builder-form textarea {
  background: var(--bg-card);
  border-color: var(--border-light);
  color: var(--text-light);
}

.cv-output {
  margin-top: 32px;
  display: none;
}

.cv-output-section {
  background: white;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 16px;
}

.cv-output-section h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 12px;
}

.cv-output-section p,
.cv-output-section ul {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0;
}

.cv-output-section ul {
  padding-left: 20px;
}

.cv-output-section li {
  margin-bottom: 6px;
}

[data-theme="dark"] .cv-output-section {
  background: var(--bg-card);
  border-color: var(--border-light);
}

[data-theme="dark"] .cv-output-section h4 {
  color: var(--accent);
}

[data-theme="dark"] .cv-output-section p,
[data-theme="dark"] .cv-output-section ul {
  color: var(--text-body-light);
}

.cv-builder-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 768px) {
  .cv-builder-layout {
    grid-template-columns: 1fr;
  }
}

/* Interview Simulator */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.scenario-card {
  background: white;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}

.scenario-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-warm);
}

.scenario-header {
  padding: 24px 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.scenario-header h3 {
  font-size: 1rem;
  margin: 0;
  flex: 1;
}

.scenario-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-subtle);
  border: 1px solid var(--border-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  flex-shrink: 0;
}

.scenario-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-subtle);
  border: 1px solid var(--border-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}

.scenario-card.expanded .scenario-toggle {
  transform: rotate(180deg);
}

.scenario-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.scenario-card.expanded .scenario-body {
  max-height: 600px;
}

.scenario-content {
  padding: 0 28px 28px;
  border-top: 1px solid var(--border-dark);
}

.scenario-content h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 20px 0 10px;
}

.scenario-content .answer-pass h4 {
  color: var(--accent-ink);
}

.scenario-content .answer-distinction h4 {
  color: #065f46;
}

.scenario-content p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.65;
  margin: 0 0 8px;
}

.scenario-question {
  font-weight: 600;
  color: var(--text-dark);
  font-style: italic;
  margin: 16px 0 12px;
  font-size: 0.95rem;
}

.scenario-role-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent-subtle);
  border: 1px solid var(--border-warm);
  color: var(--accent-ink);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

[data-theme="dark"] .scenario-card {
  background: var(--bg-card);
  border-color: var(--border-light);
}

[data-theme="dark"] .scenario-content {
  border-top-color: var(--border-light);
}

[data-theme="dark"] .scenario-content p {
  color: var(--text-body-light);
}

[data-theme="dark"] .scenario-question {
  color: var(--text-light);
}

[data-theme="dark"] .scenario-content .answer-pass h4 {
  color: var(--accent);
}

/* Job search guidance */
.job-search-guidance {
  background: rgba(196, 154, 108, 0.06);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 24px;
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.65;
}

.job-search-guidance svg {
  vertical-align: middle;
  margin-right: 6px;
  color: var(--accent);
}

.job-search-disclaimer {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--text-body);
  font-style: italic;
}

[data-theme="dark"] .job-search-guidance {
  color: var(--text-body-light);
}

/* Job search info cards */
.job-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.job-info-card {
  background: white;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s var(--ease-out);
}

.job-info-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-warm);
}

.job-info-card h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.job-info-card .job-search-terms {
  font-size: 0.8rem;
  color: var(--accent-ink);
  font-weight: 600;
  margin-bottom: 10px;
}

.job-info-card p {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0 0 8px;
}

.job-info-card .job-quals {
  font-size: 0.8rem;
  color: var(--text-body);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-dark);
}

.job-info-card .job-quals strong {
  color: var(--text-dark);
}

[data-theme="dark"] .job-info-card {
  background: var(--bg-card);
  border-color: var(--border-light);
}

[data-theme="dark"] .job-info-card p {
  color: var(--text-body-light);
}

[data-theme="dark"] .job-info-card .job-quals {
  border-top-color: var(--border-light);
}

[data-theme="dark"] .job-info-card .job-quals strong {
  color: var(--text-light);
}

[data-theme="dark"] .job-info-card .job-search-terms {
  color: var(--accent);
}

/* Section CTA row */
.section-cta-row {
  text-align: center;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-dark);
}

.section-cta-row p {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 16px;
}

.section-dark .section-cta-row {
  border-top-color: var(--border-light);
}

.section-dark .section-cta-row p {
  color: var(--text-body-light);
}

[data-theme="dark"] .section-cta-row {
  border-top-color: var(--border-light);
}

[data-theme="dark"] .section-cta-row p {
  color: var(--text-body-light);
}

/* Quiz progress */
.quiz-progress {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-body);
  margin-bottom: 24px;
  font-weight: 500;
}

.quiz-submit-row {
  text-align: center;
  margin-top: 24px;
}

/* Students & Trainees */
.students-checklist {
  max-width: 640px;
  margin: 0 auto;
}

.students-checklist li {
  margin-bottom: 12px;
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
}

.students-checklist li strong {
  color: var(--text-dark);
}

[data-theme="dark"] .students-checklist li {
  color: var(--text-body-light);
}

[data-theme="dark"] .students-checklist li strong {
  color: var(--text-light);
}

.students-resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.students-resource-card {
  background: white;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.3s var(--ease-out);
}

.students-resource-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-warm);
}

.students-resource-card h4 {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.students-resource-card p {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
}

[data-theme="dark"] .students-resource-card {
  background: var(--bg-card);
  border-color: var(--border-light);
}

[data-theme="dark"] .students-resource-card p {
  color: var(--text-body-light);
}

/* Prominent disclaimer */
.prominent-disclaimer {
  background: rgba(239, 68, 68, 0.06);
  border: 2px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  max-width: 800px;
  margin: 48px auto 0;
  text-align: center;
}

.prominent-disclaimer p {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.65;
  margin: 0;
}

.prominent-disclaimer .disc-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b91c1c;
  margin-bottom: 8px;
}

[data-theme="dark"] .prominent-disclaimer {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.3);
}

[data-theme="dark"] .prominent-disclaimer p {
  color: var(--text-body-light);
}

/* Complete Your Preparation CTA */
.resource-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 700px;
  margin: 40px auto;
}

.resource-card {
  background: white;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: all 0.3s var(--ease-out);
}

.resource-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-warm);
}

.resource-card h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.resource-card .resource-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin: 8px 0 12px;
}

.resource-card p {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.5;
  margin: 0 0 16px;
}

[data-theme="dark"] .resource-card {
  background: var(--bg-card);
  border-color: var(--border-light);
}

[data-theme="dark"] .resource-card .resource-price {
  color: var(--accent);
}

[data-theme="dark"] .resource-card p {
  color: var(--text-body-light);
}

@media (max-width: 600px) {
  .resource-cta-grid {
    grid-template-columns: 1fr;
  }
}
  /* ── NIGHT WATCH INK ──
   The rules above were moved to the light-surface inks so they reach 4.5:1
   against the cream and white cards they render on in the default theme.
   Night Watch darkens those same cards, where a light-surface ink loses
   its contrast, so each one steps back to its dark-surface equivalent. */
[data-theme="dark"] .career-map-step .step-sublabel { color: var(--text-body-light); }
[data-theme="dark"] .job-search-disclaimer { color: var(--text-body-light); }
[data-theme="dark"] .prominent-disclaimer .disc-label { color: #f87171; }
[data-theme="dark"] .quiz-progress { color: var(--text-body-light); }
[data-theme="dark"] .scenario-role-tag { color: var(--accent); }

/* Role-organised hub: sticky role menu + one section per role */
.role-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border-dark);
  box-shadow: 0 6px 14px -12px rgba(0, 0, 0, 0.35);
}
.role-nav .wrap { display: flex; align-items: center; gap: 14px; padding-top: 10px; padding-bottom: 10px; }
.role-nav-label {
  margin: 0;
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-body);
}
.role-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.role-nav-list a {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--text-dark);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.role-nav-list a:hover { border-color: var(--accent); }
.role-nav-list a[aria-current="true"] {
  background: var(--accent-ink);
  border-color: var(--accent-ink);
  color: #fff;
}
[data-theme="dark"] .role-nav-list a[aria-current="true"] { background: var(--accent); border-color: var(--accent); color: #06121e; }

/* The sticky role menu covers the top of each target, so anchors stop below it */
.roles-area [id], .tools-intro, #cv-builder, #interview-simulator, #readiness-quiz, .scenario-card {
  scroll-margin-top: calc(var(--header-h) + 84px);
}

.role-sec { padding: 56px 0; border-bottom: 1px solid var(--border-dark); }
.role-sec:nth-of-type(even) { background: var(--bg-cream); }
.role-sec#students { border-bottom: 0; }
.role-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.role-head-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-subtle);
  border: 1px solid var(--border-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
}
.role-head .overline { margin-bottom: 4px; }
.role-head h2 { margin: 0 0 8px; font-size: clamp(1.45rem, 3vw, 2rem); }
.role-summary { margin: 0; max-width: 62ch; color: var(--text-body); }
.role-body {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.role-facts h3, .role-links h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-body);
  margin: 0 0 6px;
}
.role-facts h3:not(:first-child) { margin-top: 18px; }
.role-facts p { margin: 0; font-size: 0.93rem; line-height: 1.65; color: var(--text-body); }
.role-facts .role-terms { margin-top: 10px; font-size: 0.84rem; }
.role-links {
  background: #fff;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
}
[data-theme="dark"] .role-links { background: var(--bg-card); border-color: var(--border-light); }
.role-links h3 { margin-bottom: 10px; }
.role-links ul { list-style: none; margin: 0; padding: 0; }
.role-links li + li { border-top: 1px solid var(--border-dark); }
.role-links a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent-ink);
  text-decoration: none;
}
[data-theme="dark"] .role-links a { color: var(--accent); }
.role-links a:hover { text-decoration: underline; }
.role-links a span {
  flex: 0 0 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-body);
}

.tools-jump {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}
.tools-jump a {
  display: block;
  height: 100%;
  background: #fff;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tools-jump a:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
[data-theme="dark"] .tools-jump a { background: var(--bg-card); border-color: var(--border-light); }
.tools-jump strong { display: block; margin-bottom: 6px; color: var(--text-dark); }
.tools-jump span { display: block; font-size: 0.88rem; line-height: 1.55; color: var(--text-body); }

@media (max-width: 860px) {
  .role-body { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 1100px) {
  /* One swipeable row of role chips instead of several wrapped rows */
  .role-nav .wrap { padding-top: 8px; padding-bottom: 8px; padding-right: 0; }
  .role-nav-label { display: none; }
  .role-nav-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding-right: 20px;
    mask-image: linear-gradient(to right, #000 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, #000 85%, transparent);
  }
  .role-nav-list::-webkit-scrollbar { display: none; }
  .role-nav-list li { scroll-snap-align: start; }
}
@media (max-width: 768px) {
  .role-nav-list a { padding: 7px 12px; font-size: 0.8rem; }
  .roles-area [id], .tools-intro, #cv-builder, #interview-simulator, #readiness-quiz, .scenario-card {
    scroll-margin-top: calc(var(--header-h) + 60px);
  }
  .role-sec { padding: 40px 0; }
  .role-head { gap: 12px; margin-bottom: 20px; }
  .role-head-icon { width: 40px; height: 40px; border-radius: 10px; }
  .role-links { padding: 14px 16px; }
  .role-links a { flex-direction: column; gap: 2px; font-size: 0.92rem; padding: 10px 0; }
  .role-links a span { flex-basis: auto; font-size: 0.66rem; }
}

/* ── RELEASE 1 (13 Nov 2026): settings, professions, paths ── */
.ch-crumbs { padding: calc(var(--header-h) + 16px) 0 0; background: var(--bg-deep); font-size: 0.82rem; }
.ch-crumbs a { color: var(--text-body-light); text-decoration: none; }
.ch-crumbs a:hover, .ch-crumbs a:focus-visible { text-decoration: underline; }
.ch-crumbs span[aria-hidden] { color: var(--text-muted); margin: 0 8px; }
.ch-crumbs [aria-current] { color: var(--accent); }
.page-hero.ch-hero { padding: 40px 0 56px; }
.ch-hero .ch-hero-intro { max-width: 720px; }
.ch-settings { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; grid-template-columns: 1fr; max-width: 880px; }
@media (min-width: 720px) { .ch-settings { grid-template-columns: 1fr 1fr; } }
.ch-setting {
  display: flex; flex-direction: column; gap: 6px; min-height: 96px; padding: 20px 22px;
  border-radius: var(--radius-lg); background: rgba(255,255,255,0.06); border: 2px solid var(--accent);
  color: #fff; text-decoration: none; transition: background .2s;
}
.ch-setting strong { font-size: 1.08rem; color: #fff; }
.ch-setting strong::after { content: " \2192"; color: var(--accent); }
.ch-setting span { font-size: 0.88rem; color: var(--text-body-light); }
.ch-setting:hover { background: rgba(0,209,255,0.12); }
.ch-hero a:focus-visible, .ch-sec a:focus-visible, .ch-more summary:focus-visible, .scenario-header:focus-visible,
.ch-dir:focus-visible, .ch-free-card a:focus-visible, .ch-table-wrap:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px;
}
.ch-roles-title { font-family: var(--font-body); font-size: 0.78rem !important; letter-spacing: .1em; text-transform: uppercase; color: var(--text-body-light); margin: 36px 0 12px !important; }
.ch-roles { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .ch-roles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ch-roles { grid-template-columns: repeat(4, 1fr); } }
.ch-role { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: var(--radius-lg); background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.14); }
.ch-role h3 { margin: 0; font-family: var(--font-body); font-size: 1.05rem; }
.ch-role h3 a { color: #fff; text-decoration: none; }
.ch-role p { margin: 0; font-size: 0.85rem !important; color: var(--text-body-light); }
.ch-role-main { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.ch-role-alt { display: inline-flex; align-items: center; min-height: 40px; font-size: 0.88rem; color: var(--text-body-light); text-decoration: underline; text-underline-offset: 3px; margin-top: auto; }

.ch-sec { padding: 64px 0; border-bottom: 1px solid var(--border-dark); }
.ch-sec-alt { background: var(--bg-cream); }
.ch-sec-head { max-width: 780px; margin-bottom: 28px; }
.ch-sec-head h2 { margin: 4px 0 12px; }
.ch-sec p, .ch-sec li { color: var(--text-body); line-height: 1.65; }
.ch-sec a { color: var(--accent-ink); }
.ch-terms { font-size: 0.92rem; }
.ch-path { padding: 28px 0; border-top: 1px solid var(--border-dark); }
.ch-path h3 { font-size: 1.35rem; margin: 0 0 16px; }
.ch-path h4 { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dark); margin: 0 0 8px; }
.ch-path-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .ch-path-grid { grid-template-columns: 1.1fr 1fr; } }
.ch-path-main p { margin: 0 0 8px; }
.ch-linklist { list-style: none; padding: 0; margin: 0 0 20px; }
.ch-linklist li { margin: 0 0 10px; }
.ch-linklist a { font-weight: 700; font-size: 1.02rem; }
.ch-linklist span { display: block; font-size: 0.85rem; color: var(--text-body); }
.ch-steps { padding-left: 1.2em; margin: 0; }
.ch-steps li { margin-bottom: 8px; }
.ch-juris { background: white; border: 1px solid var(--border-dark); border-radius: var(--radius-lg); padding: 18px 20px; }
.ch-juris p { font-size: 0.9rem; margin: 0 0 10px; }
.ch-juris ul { margin: 0; padding-left: 1.1em; font-size: 0.9rem; }
.ch-callout { border-left: 4px solid var(--accent-dark); }
.ch-flag { display: inline-block; font-size: 0.68rem; font-weight: 800; letter-spacing: .06em; padding: 2px 7px; border-radius: 4px; background: var(--accent-subtle); color: var(--accent-ink); border: 1px solid var(--accent-dark); margin-right: 6px; }
.ch-path-other { margin: 16px 0 0; font-size: 0.92rem; }
.ch-next { margin: 28px 0 0; padding: 16px 20px; border-radius: var(--radius); background: var(--accent-subtle); border: 1px solid var(--border-dark); }
.ch-next p { margin: 0; }
.ch-next a, .ch-privacy a, .ch-result-note a, .ch-more a, .ch-sec-head a { color: var(--accent-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
[data-theme="dark"] .ch-next a, [data-theme="dark"] .ch-privacy a, [data-theme="dark"] .ch-result-note a, [data-theme="dark"] .ch-more a { color: var(--accent); }
.ch-next-center { text-align: center; margin-top: 28px; }
.ch-next-dark { text-align: center; margin-top: 28px; color: var(--text-body-light); }
.ch-next-dark a { color: #fff; }
.ch-direct { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.ch-direct a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--accent-dark); font-weight: 600; text-decoration: none; background: white; }
.ch-rules { margin-top: 20px; }
.ch-rules h3 { font-size: 1.05rem; margin: 0 0 10px; }
.ch-rules li { margin-bottom: 6px; }
.ch-two { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .ch-two { grid-template-columns: 1fr 1fr; } }
.ch-two h3 { font-size: 1.15rem; margin: 0 0 8px; }
.ch-more { margin-top: 20px; border: 1px solid var(--border-dark); border-radius: var(--radius); padding: 0 18px; background: white; }
.ch-more summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; font-weight: 700; color: var(--text-dark); }
.ch-more[open] { padding-bottom: 16px; }
.ch-more li, .ch-more p { font-size: 0.9rem; color: var(--text-body); line-height: 1.6; }
.ch-privacy { max-width: 680px; margin: 14px auto 0; padding: 12px 16px; border-radius: var(--radius); background: var(--accent-subtle); border: 1px solid var(--border-dark); font-size: 0.9rem; text-align: left; }
.ch-noscript { text-align: center; font-weight: 600; }
.ch-form-error { color: #b91c1c; font-weight: 600; font-size: 0.9rem; margin: 0 0 8px; }
.ch-cv-out-title { font-size: 1.1rem; margin: 0 0 12px; }
.ch-cv-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.ch-cv-status { margin: 0; font-size: 0.88rem; color: var(--text-body); }
.ch-cv-manual { max-width: 760px; margin: 28px auto 0; }
.ch-sim-entry { max-width: 820px; margin: 0 auto 28px; padding: 16px 20px; border-radius: var(--radius-lg); background: white; border: 2px solid var(--accent-dark); }
.ch-sim-entry p { margin: 0; color: var(--text-body); line-height: 1.6; }
.ch-sim-entry a { color: var(--accent-ink); font-weight: 600; }
details.scenario-card > summary { list-style: none; }
details.scenario-card > summary::-webkit-details-marker { display: none; }
details.scenario-card[open] .scenario-body { max-height: none; }
details.scenario-card[open] .scenario-toggle { transform: rotate(180deg); }
.quiz-opt[aria-pressed="true"] { outline: 2px solid var(--accent-dark); }
.quiz-opt:focus-visible, .ch-cv-actions button:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 2px; }
.ch-result-more { font-size: 0.88rem; margin-top: 12px !important; }
.ch-result-note { text-align: center; font-size: 0.85rem; color: var(--text-body); margin-top: 16px; }
.ch-quiz-key { max-width: 760px; margin: 28px auto 0; }
.ch-free-card, .ch-dir { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius-lg); background: white; border: 1px solid var(--border-dark); }
.ch-free-card h3 { margin: 0; font-size: 1.15rem; }
.ch-free-card p { margin: 0 0 6px; color: var(--text-body); }
.ch-free-card .btn { align-self: flex-start; }
.ch-dir { text-decoration: none; color: var(--text-dark); border: 2px solid var(--border-dark); }
.ch-dir strong { font-size: 1.1rem; color: var(--accent-ink); }
.ch-dir strong::after { content: " \2192"; }
.ch-dir span { color: var(--text-body); font-size: 0.92rem; line-height: 1.55; }
.ch-dir:hover { border-color: var(--accent-dark); }
.ch-table-wrap { overflow-x: auto; margin: 0 0 32px; }
.ch-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; background: white; }
.ch-table caption { text-align: left; font-weight: 700; padding: 0 0 8px; color: var(--text-dark); }
.ch-table th, .ch-table td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--border-dark); color: var(--text-body); }
.ch-table th { background: var(--bg-cream); color: var(--text-dark); }
#pay ul, #pay li { color: var(--text-body); line-height: 1.6; }
#pay a { color: var(--accent-ink); }
.ch-next-four { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important; }
.roles-area #doctors, .roles-area #nurses, .roles-area #paramedics, .roles-area #students, #maritime-remote, #transfer, #directories, #pay, #free-card { scroll-margin-top: calc(var(--header-h) + 64px); }

[data-theme="dark"] .ch-juris, [data-theme="dark"] .ch-more, [data-theme="dark"] .ch-sim-entry,
[data-theme="dark"] .ch-free-card, [data-theme="dark"] .ch-dir, [data-theme="dark"] .ch-table,
[data-theme="dark"] .ch-direct a { background: var(--bg-card); border-color: var(--border-light); }
[data-theme="dark"] .ch-sec p, [data-theme="dark"] .ch-sec li, [data-theme="dark"] .ch-juris p,
[data-theme="dark"] .ch-more li, [data-theme="dark"] .ch-more p, [data-theme="dark"] .ch-linklist span,
[data-theme="dark"] .ch-table td, [data-theme="dark"] #pay li, [data-theme="dark"] .ch-free-card p,
[data-theme="dark"] .ch-dir span, [data-theme="dark"] .ch-sim-entry p { color: var(--text-body-light); }
[data-theme="dark"] .ch-sec a, [data-theme="dark"] .ch-dir strong, [data-theme="dark"] #pay a,
[data-theme="dark"] .ch-sim-entry a, [data-theme="dark"] .ch-flag { color: var(--accent); }
[data-theme="dark"] .ch-table th { background: var(--bg-warm); }

@media print {
  .header, .site-footer, .role-nav, .back-to-top, .final-cta, #resources, .ch-hero .ch-settings, .cookie-banner, .ch-cv-actions, .quiz-submit-row { display: none !important; }
  body.ch-print-cv .cv-output { display: block !important; }
  details.scenario-card .scenario-body { max-height: none !important; }
  body.ch-print-cv main > *:not(#cv-builder) { display: none !important; }
  body.ch-print-cv #cv-builder .section-label, body.ch-print-cv .cv-builder-form, body.ch-print-cv .ch-cv-manual, body.ch-print-cv noscript { display: none !important; }
  .ch-sec, .page-section { padding: 16px 0 !important; }
  a { color: #000 !important; }
}

/* ── RELEASE 2 (13 Nov 2026): standalone tool pages and hub signposts ── */
.ch-stub { max-width: 780px; margin: 0 auto; }
.ch-stub h2 { margin: 4px 0 12px; }
.ch-stub p { color: var(--text-body); line-height: 1.65; }
.ch-stub a:not(.btn) { color: var(--accent-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ch-stub-sec { padding: 48px 0 !important; }
.ch-stub-list { margin: 16px 0 0; padding-left: 1.3em; }
.ch-stub-list li { margin: 0 0 6px; color: var(--text-body); scroll-margin-top: calc(var(--header-h) + 64px); }
.ch-stub-list li:target { background: var(--accent-subtle); border-radius: 6px; padding: 4px 8px; }
.ch-stub-list span { font-size: 0.88rem; }
.ch-stub-more { font-size: 0.92rem; margin-top: 16px; }
.ch-stub a:focus-visible, .tools-jump a:focus-visible, .ch-direct a:focus-visible, .ch-result-roles a:focus-visible, .ch-body a:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 3px; border-radius: 6px; }
[data-theme="dark"] .ch-stub p, [data-theme="dark"] .ch-stub-list li { color: var(--text-body-light); }
[data-theme="dark"] .ch-stub a:not(.btn) { color: var(--accent); }

.ch-narrow { max-width: 860px; }
.ch-h-small { font-size: 1.3rem; margin: 0 0 12px; }
.ch-body { color: var(--text-body); line-height: 1.7; }
.ch-body a { color: var(--accent-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ch-howto { margin-top: 32px; }
.ch-howto .ch-steps li { color: var(--text-body); line-height: 1.6; }
.ch-sim-entry-title { font-family: var(--font-body); font-size: 1.1rem; margin: 0 0 8px; }
.ch-sim-entry .ch-direct { margin: 14px 0 0; }
.ch-direct-center { justify-content: center; }
.ch-direct a { color: var(--accent-ink); }
.ch-sim-random { margin: 0 0 24px; }
.ch-cv-tools { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 14px; }
.ch-cv-tools button:focus-visible, #cvGenerate:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 2px; }
.ch-cv-dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; font-size: 0.9rem; }
.ch-cv-dl dt { font-weight: 700; color: var(--text-dark); }
.ch-cv-dl dd { margin: 0; color: var(--text-body); }
.ch-cv-note { border-left: 4px solid var(--accent-dark); padding-left: 12px; }
@media (max-width: 520px) { .ch-cv-dl { grid-template-columns: 1fr; } .ch-cv-dl dd { margin-bottom: 6px; } }

.ch-quiz-status { max-width: 520px; margin: 0 auto 24px; text-align: center; }
.ch-quiz-status .quiz-progress { margin: 0 0 8px; }
.ch-quiz-bar { width: 100%; height: 10px; appearance: none; -webkit-appearance: none; border: 0; border-radius: 999px; background: var(--accent-subtle); overflow: hidden; }
.ch-quiz-bar::-webkit-progress-bar { background: var(--accent-subtle); border-radius: 999px; }
.ch-quiz-bar::-webkit-progress-value { background: var(--accent-dark); border-radius: 999px; }
.ch-quiz-bar::-moz-progress-bar { background: var(--accent-dark); border-radius: 999px; }
.quiz-question h3.quiz-q { font-family: var(--font-body); font-size: 0.98rem; font-weight: 600; line-height: 1.5; letter-spacing: 0; text-transform: none; margin: 0 0 16px; color: var(--text-dark); }
[data-theme="dark"] .quiz-question h3.quiz-q { color: var(--text-light); }
@media (max-width: 640px) { .quiz-options { flex-direction: column; } }
.quiz-result:focus { outline: 3px solid var(--accent-dark); outline-offset: 3px; }
#quizReset { margin-left: 10px; }
.ch-result-roles { text-align: left; max-width: 560px; margin: 20px auto 0; padding: 14px 18px; border-radius: var(--radius); background: rgba(255,255,255,0.6); border: 1px solid var(--border-dark); }
.ch-result-roles h4 { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; }
.ch-result-roles ul { margin: 0; padding-left: 1.1em; }
.ch-result-roles li { font-size: 0.9rem; margin: 0 0 6px; line-height: 1.5; }
.ch-result-roles a { color: var(--accent-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
[data-theme="dark"] .ch-result-roles { background: var(--bg-card); border-color: var(--border-light); }
[data-theme="dark"] .ch-result-roles a, [data-theme="dark"] .ch-body a, [data-theme="dark"] .ch-direct a { color: var(--accent); }
[data-theme="dark"] .ch-body, [data-theme="dark"] .ch-howto .ch-steps li, [data-theme="dark"] .ch-cv-dl dd { color: var(--text-body-light); }
[data-theme="dark"] .ch-cv-dl dt { color: var(--text-light); }
#scenario-1, #scenario-2, #scenario-3, #scenario-4, #scenario-5, #scenario-6, #hospital-interviews, #cv-example { scroll-margin-top: calc(var(--header-h) + 24px); }

@media print {
  .ch-cv-tools, .ch-sim-random, .ch-direct-center, #quizReset, #more-tools, .ch-crumbs { display: none !important; }
  body.ch-print-cv .page-hero, body.ch-print-cv #cv-example { display: none !important; }
  body.ch-print-cv .cv-output, body.ch-print-cv .cv-output * { color: #000 !important; background: #fff !important; }
  body.ch-print-cv .cv-output-section { break-inside: avoid; border: 0 !important; padding: 0 0 10px !important; }
  body.ch-print-cv .cv-output-section h4 { font-size: 11pt; margin: 8px 0 4px; }
  body.ch-print-cv .cv-output-section p, body.ch-print-cv .cv-output-section li { font-size: 10.5pt; line-height: 1.45; }
  body.ch-print-cv .ch-cv-out-title { font-size: 14pt; }
}
.ch-hero .ch-hero-intro a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
