/* ============ Coaching by Rain — Career Pathway ============ */
/* Brand palette — Coaching by Rain guidelines v1.0 */
:root {
  --navy: #0d2150;        /* Primary — headings, CTAs, logo */
  --navy-deep: #091737;
  --navy-soft: #1c3a7a;   /* Navy Mid — hover states, depth */
  --sky: #5aacdf;         /* Sky Blue — accents, links */
  --sky-strong: #3f93cc;
  --sky-pale: #e6edf8;    /* Navy Tint — section fills, light backgrounds */
  --ink: #2c2c2a;         /* Charcoal — body text */
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f6f9fc;
  --card: #ffffff;
  --green: #1e9e6a;
  --green-pale: #e3f5ed;
  --red: #d64550;
  --red-pale: #fbe9ea;
  --amber: #b97a1a;
  --amber-pale: #fdf3e0;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(13, 33, 80, 0.08);
  --shadow-lg: 0 18px 50px rgba(13, 33, 80, 0.16);
  font-size: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--sky-strong); }

/* ---------- Header ---------- */
.site-header {
  background: var(--navy);
  color: #fff;
  padding: 0 24px;
}
.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}
/* Dark-background wordmark (per brand guidelines) */
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wordmark strong {
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.3px;
}
.wordmark em {
  color: var(--sky);
  font-size: 13px;
  font-weight: 700;
  font-style: normal;
  text-align: center;
  margin-top: 2px;
}
.brand:hover .wordmark strong { color: var(--sky-pale); }

/* Official logo on light panels (cropping the PNG's padding) */
.gate-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 104px;
  overflow: hidden;
  margin-bottom: 6px;
}
.gate-logo a { display: block; line-height: 0; }
.gate-logo img { width: 300px; }
.header-nav { display: flex; align-items: center; gap: 14px; }
.header-badge {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky);
  font-weight: 600;
}
@media (max-width: 560px) { .header-badge { display: none; } }

.locale-select {
  background: var(--navy-soft);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
}
.locale-select:focus { outline: 2px solid var(--sky); }

/* ---------- Layout ---------- */
.app-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 24px 72px;
  min-height: 60vh;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
  background: #fff;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  border: 2px solid transparent;
  padding: 12px 22px;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.08s ease, box-shadow 0.15s ease, background 0.15s ease;
  font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-soft); }
.btn-accent { background: var(--sky); color: var(--navy-deep); }
.btn-accent:hover { background: var(--sky-strong); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--sky-pale); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--navy); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 8px; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

/* ---------- Kicker / headings ---------- */
.kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky-strong);
  margin: 0 0 8px;
}
h1.page-title { font-size: clamp(28px, 4vw, 40px); color: var(--navy); margin: 0 0 12px; line-height: 1.15; }
.lede { color: var(--muted); font-size: 17px; max-width: 640px; margin: 0 0 8px; }

/* ---------- Pathway (home) ---------- */
.pathway-hero { text-align: center; margin-bottom: 40px; }
.pathway-hero .lede { margin-left: auto; margin-right: auto; }

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.module-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  border: 1px solid var(--line);
}
.module-card.is-locked { opacity: 0.62; }
.module-card .step-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky-strong);
}
.module-card h3 { margin: 0; font-size: 20px; color: var(--navy); }
.module-card .module-icon { font-size: 30px; }
.module-card p { margin: 0; color: var(--muted); font-size: 14.5px; flex: 1; }
.module-card .btn { margin-top: 8px; }

.status-chip {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.status-chip.passed { background: var(--green-pale); color: var(--green); }
.status-chip.remediated { background: var(--amber-pale); color: var(--amber); }
.status-chip.locked { background: #eef2f7; color: var(--muted); }

/* ---------- Card / panel ---------- */
.panel {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 36px;
  max-width: 720px;
  margin: 0 auto;
}
@media (max-width: 560px) { .panel { padding: 24px 20px; } }

/* ---------- Quiz ---------- */
.quiz-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.progress-track {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: var(--sky-pale);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--sky), var(--sky-strong));
  border-radius: 999px;
  transition: width 0.25s ease;
}
.question-text { font-size: 21px; font-weight: 700; color: var(--navy); margin: 0 0 20px; line-height: 1.35; }
.options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.option-btn {
  text-align: left;
  padding: 15px 18px;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: #fff;
  font-size: 15.5px;
  font-family: inherit;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease;
  line-height: 1.45;
}
.option-btn:hover { border-color: var(--sky); background: var(--sky-pale); }
.option-btn.selected { border-color: var(--navy); background: var(--sky-pale); font-weight: 600; }
.quiz-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ---------- Results ---------- */
.result-hero { text-align: center; padding: 8px 0 4px; }
.result-emoji { font-size: 52px; display: block; margin-bottom: 8px; }
.score-ring {
  font-size: 40px;
  font-weight: 800;
  color: var(--navy);
  margin: 4px 0 2px;
}
.score-ring small { font-size: 18px; color: var(--muted); font-weight: 600; }
.result-note {
  background: var(--sky-pale);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14.5px;
  color: var(--ink);
  margin: 20px 0;
}
.actions-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

/* ---------- Detailed review ---------- */
.review-item {
  border: 1px solid var(--line);
  border-left: 5px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 14px;
}
.review-item.correct { border-left-color: var(--green); }
.review-item.incorrect { border-left-color: var(--red); }
.review-item .review-q { font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.review-verdict { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.review-item.correct .review-verdict { color: var(--green); }
.review-item.incorrect .review-verdict { color: var(--red); }
.review-answer { margin: 8px 0 0; font-size: 14.5px; }
.review-answer strong { color: var(--navy); }
.review-explain { margin: 8px 0 0; font-size: 14.5px; color: var(--muted); }
.area-tag {
  display: inline-block;
  background: var(--sky-pale);
  color: var(--navy);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  margin-bottom: 8px;
}

.focus-areas { margin: 24px 0; }
.focus-pill {
  display: inline-block;
  background: var(--amber-pale);
  color: var(--amber);
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  margin: 0 8px 8px 0;
}

/* ---------- Factsheet ---------- */
.factsheet {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  max-width: 760px;
  margin: 0 auto 28px;
  overflow: hidden;
}
.factsheet-head {
  background: var(--navy);
  color: #fff;
  padding: 28px 32px;
}
.factsheet-head .kicker { color: var(--sky); }
.factsheet-head h2 { margin: 0 0 6px; font-size: 26px; }
.factsheet-head p { margin: 0; opacity: 0.85; font-size: 14.5px; }
.factsheet-body { padding: 28px 32px; }
.fact-section { margin-bottom: 26px; }
.fact-section:last-child { margin-bottom: 0; }
.fact-section h3 { color: var(--navy); font-size: 18px; margin: 0 0 4px; }
.fact-section .fact-module { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sky-strong); }
.dos-donts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 12px; }
@media (max-width: 620px) { .dos-donts { grid-template-columns: 1fr; } }
.dd-col { border-radius: 12px; padding: 14px 16px; font-size: 14px; }
.dd-col.dos { background: var(--green-pale); }
.dd-col.donts { background: var(--red-pale); }
.dd-col h4 { margin: 0 0 8px; font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.06em; }
.dd-col.dos h4 { color: var(--green); }
.dd-col.donts h4 { color: var(--red); }
.dd-col ul { margin: 0; padding-left: 18px; }
.dd-col li { margin-bottom: 6px; }
.dd-col li:last-child { margin-bottom: 0; }

/* ---------- Access gate & signup ---------- */
.gate-panel { max-width: 480px; text-align: center; }
.gate-icon { font-size: 44px; display: block; margin-bottom: 10px; }
.key-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 20px;
  letter-spacing: 3px;
  text-align: center;
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  border: 2px solid var(--line);
  border-radius: 12px;
  color: var(--navy);
  margin: 18px 0 6px;
}
.key-input:focus { outline: none; border-color: var(--sky-strong); }
.gate-link { margin-top: 22px; font-size: 14px; color: var(--muted); }
.gate-link a { font-weight: 600; }

.form-field { text-align: left; margin-bottom: 16px; }
.form-field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-field input, .form-field select {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  border: 2px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
}
.form-field input:focus, .form-field select:focus { outline: none; border-color: var(--sky-strong); }
.phone-row { display: flex; gap: 10px; }
.phone-row select { width: 130px; flex-shrink: 0; }
.form-error {
  background: var(--red-pale);
  color: var(--red);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 600;
  margin: 4px 0 14px;
  text-align: left;
}
.key-reveal {
  background: var(--sky-pale);
  border: 2px dashed var(--sky-strong);
  border-radius: 12px;
  padding: 16px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--navy);
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  margin: 18px 0;
  user-select: all;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  font-size: 14px;
  color: var(--ink);
  margin: 4px 0 18px;
  cursor: pointer;
}
.checkbox-row input { margin-top: 3px; width: 16px; height: 16px; }
.mono { font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace; }
.dim { color: var(--muted); font-size: 12.5px; }

/* ---------- Role toggle (login) ---------- */
.role-toggle { display: flex; gap: 12px; justify-content: center; margin-bottom: 20px; }
.role-btn {
  flex: 1;
  max-width: 190px;
  padding: 14px 10px;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.12s ease, background 0.12s ease;
}
.role-btn:hover { border-color: var(--sky); color: var(--navy); }
.role-btn.active { border-color: var(--navy); background: var(--sky-pale); color: var(--navy); }
.role-btn svg {
  width: 26px;
  height: 26px;
  display: block;
  margin: 0 auto 6px;
  color: var(--sky-strong);
}
.role-btn.active svg, .role-btn:hover svg { color: var(--navy); }

/* ---------- SVG icon sizing ---------- */
.admin-tab svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: 7px; }
.module-icon svg { width: 36px; height: 36px; color: var(--sky-strong); }
.inline-icon svg { width: 22px; height: 22px; vertical-align: -4px; color: var(--sky); }
.icon-hero svg { width: 54px; height: 54px; color: var(--sky-strong); }
.cell-icon svg { width: 15px; height: 15px; vertical-align: -2.5px; color: var(--sky-strong); }

/* ---------- Resume Red Flags ---------- */
.redflags-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: #fff;
  border-radius: var(--radius);
  padding: 26px 30px;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.redflags-card h3 { margin: 4px 0 6px; font-size: 21px; }
.redflags-card p { margin: 0; font-size: 14.5px; opacity: 0.88; max-width: 480px; }
.disclaimer-list { text-align: left; padding-left: 20px; color: var(--ink); font-size: 15px; }
.disclaimer-list li { margin-bottom: 12px; }
.file-input {
  display: block;
  width: 100%;
  padding: 14px;
  border: 2px dashed var(--sky-strong);
  border-radius: 12px;
  background: var(--sky-pale);
  font-family: inherit;
  font-size: 14px;
  margin-bottom: 18px;
  cursor: pointer;
}

/* ---------- CRM detail ---------- */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  font-size: 14px;
}
.note-item {
  border-left: 4px solid var(--sky);
  background: var(--bg);
  border-radius: 0 10px 10px 0;
  padding: 10px 14px;
  margin-bottom: 10px;
}
.note-item p { margin: 4px 0 0; font-size: 14px; white-space: pre-wrap; }

/* ---------- Admin console ---------- */
.admin-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.admin-tabs { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.admin-tab {
  border: 2px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
}
.admin-tab:hover { border-color: var(--sky); color: var(--navy); }
.admin-tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.admin-panel { max-width: none; margin: 0 0 24px; }
.admin-h { color: var(--navy); font-size: 19px; margin: 0 0 6px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.admin-count { font-size: 13px; font-weight: 600; color: var(--muted); }
.admin-sub { color: var(--muted); font-size: 14px; margin: 0 0 18px; max-width: 640px; }
.admin-form-row { display: flex; gap: 14px; flex-wrap: wrap; }
.admin-form-row .form-field { flex: 1; min-width: 180px; }
.admin-filter {
  width: 100%;
  max-width: 380px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  border: 2px solid var(--line);
  border-radius: 10px;
  margin-bottom: 14px;
}
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.admin-table th {
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-bottom: 2px solid var(--line);
  padding: 8px 10px;
  white-space: nowrap;
}
.admin-table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pill {
  display: inline-block;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  white-space: nowrap;
}
.pill-green { background: var(--green-pale); color: var(--green); }
.pill-grey { background: #eef2f7; color: var(--muted); }
.pill-red { background: var(--red-pale); color: var(--red); }
.pill-blue { background: var(--sky-pale); color: var(--navy); }
.pill-amber { background: var(--amber-pale); color: var(--amber); }

/* ---------- Candidate profile & header avatar ---------- */
.avatar-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--sky);
  background: var(--navy-soft);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-family: inherit;
}
.avatar-btn img { width: 100%; height: 100%; object-fit: cover; }
.avatar-btn:hover { border-color: #fff; }
.avatar-row { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.avatar-preview {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--sky-pale);
  color: var(--navy);
  font-size: 34px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--sky);
}
.avatar-preview img { width: 100%; height: 100%; object-fit: cover; }
.danger-zone { border: 1px solid var(--red); }
.danger-zone h3 { color: var(--red); margin: 0 0 6px; }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #b93841; }

/* ---------- Admin tidy-ups ---------- */
.tip-box {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: var(--sky-pale);
  border-left: 4px solid var(--sky-strong);
  border-radius: 0 10px 10px 0;
  padding: 12px 16px;
  font-size: 13.5px;
  color: var(--ink);
  margin-bottom: 16px;
  max-width: 720px;
}
.admin-table.compact td {
  padding: 7px 10px;
  white-space: nowrap;
  vertical-align: middle;
}
.admin-table.compact .btn-sm { padding: 5px 12px; font-size: 13px; }
.row-inactive td { opacity: 0.55; }

/* ---------- CRM charts ---------- */
.chart-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .chart-row { grid-template-columns: 1fr; } }
.chart-panel { margin-bottom: 24px; }
.pie-wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.pie-svg { width: 150px; height: 150px; flex-shrink: 0; }
.pie-legend { font-size: 14px; display: flex; flex-direction: column; gap: 8px; }
.legend-dot {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 3px;
  margin-right: 8px;
  vertical-align: -1px;
}
.bars-axis { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.referral-code {
  background: var(--sky-pale);
  border-radius: 8px;
  padding: 4px 10px;
  font-weight: 700;
  color: var(--navy);
  user-select: all;
}

.generated-codes { margin-top: 20px; background: var(--sky-pale); border-radius: 12px; padding: 16px 18px; }
.generated-codes h4 { margin: 0 0 10px; color: var(--navy); font-size: 14.5px; }
.generated-codes pre {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--navy);
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  white-space: pre-wrap;
}

.editor-q {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 16px;
  background: var(--bg);
}
.editor-label { display: block; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--sky-strong); margin-bottom: 6px; }
.editor-label em { color: var(--amber); font-style: normal; }
.editor-textarea, .editor-opt-input {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #fff;
  resize: vertical;
}
.editor-textarea:focus, .editor-opt-input:focus { outline: none; border-color: var(--sky-strong); }
.editor-option { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.editor-option input[type="radio"] { width: 17px; height: 17px; flex-shrink: 0; accent-color: var(--green); cursor: pointer; }
.editor-textarea { margin-bottom: 4px; }

/* ---------- Upsell ---------- */
.upsell {
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 32px;
  max-width: 760px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.upsell h3 { margin: 0 0 6px; font-size: 20px; }
.upsell p { margin: 0; font-size: 14.5px; opacity: 0.88; max-width: 440px; }
.upsell .btn { white-space: nowrap; }

/* ---------- Pathway progress bar (top of module screens) ---------- */
.crumbs { max-width: 720px; margin: 0 auto 20px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--navy); }

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .no-print, .upsell { display: none !important; }
  body { background: #fff; }
  .app-main { padding: 0; max-width: none; }
  .factsheet { box-shadow: none; border: none; max-width: none; }
  .factsheet-head { background: #fff !important; color: var(--navy); padding: 0 0 16px; border-bottom: 3px solid var(--navy); }
  .factsheet-head p { color: var(--muted); opacity: 1; }
  .fact-section { break-inside: avoid; }
}
