:root {
  --navy: #08275f;
  --navy-dark: #041943;
  --red: #ef1b17;
  --gold: #f8c847;
  --cream: #f7f4ee;
  --ink: #10234d;
  --muted: #667085;
  --line: #dce1eb;
  --paper: #ffffff;
  --font-primary: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  --type-section-title: clamp(37px, 4vw, 58px);
  --type-card-title: 22px;
  --type-interpretation-heading: 22px;
  --type-interpretation-body: 14px;
  --type-body-long: 15px;
  --type-body: 14px;
  --type-supporting: 12px;
  --type-label: 10px;
  --leading-body-long: 1.65;
  --leading-body: 1.6;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-primary);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(500px, 1.08fr) minmax(480px, 0.92fr);
  background: var(--paper);
}

.brand-side {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 42px 54px 34px;
  color: #fff;
  background:
    radial-gradient(circle at 77% 74%, rgba(71, 183, 183, 0.19), transparent 25%),
    radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.06), transparent 26%),
    linear-gradient(145deg, var(--navy), var(--navy-dark));
}

.brand-side::before,
.brand-side::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
}

.brand-side::before {
  width: 400px;
  height: 400px;
  top: -235px;
  right: -185px;
  box-shadow:
    0 0 0 54px rgba(255, 255, 255, 0.018),
    0 0 0 110px rgba(255, 255, 255, 0.012);
}

.brand-side::after {
  width: 300px;
  height: 300px;
  left: -220px;
  bottom: -160px;
}

.corner-logo {
  position: absolute;
  z-index: 5;
  top: 22px;
  right: 28px;
  width: 132px;
  height: 132px;
}

.corner-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.brand-symbol {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  box-shadow: 0 9px 22px rgba(239, 27, 23, 0.24);
  font-size: 18px;
  letter-spacing: 0;
  font-weight: 900;
}

.brand-message {
  position: relative;
  z-index: 3;
  max-width: 670px;
  margin-top: 42px;
  padding-bottom: 215px;
}

.overline {
  margin: 0 0 13px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  font-weight: 900;
}

.brand-message .overline {
  color: var(--gold);
}

.brand-message h1 {
  margin: 0;
  font-size: clamp(46px, 4.4vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.brand-message h1 span {
  color: #ff4138;
}

.brand-intro {
  max-width: 500px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.6;
}

.book-stage {
  position: absolute;
  z-index: 2;
  right: 1.5%;
  bottom: -16%;
  width: min(39%, 295px);
  aspect-ratio: 0.71;
  transform: rotate(3.5deg);
}

.book-stage img {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 3px 9px 9px 3px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

.book-shadow {
  position: absolute;
  z-index: 2;
  inset: 3% -4% -2% 7%;
  border-radius: 4px 14px 14px 4px;
  background: #e7e1d7;
  box-shadow: 10px 16px 30px rgba(0, 0, 0, 0.22);
}

.book-badge {
  position: absolute;
  z-index: 4;
  right: -33px;
  top: 24%;
  width: 126px;
  height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  padding: 15px;
  border: 4px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
  text-align: center;
  text-transform: uppercase;
  font-size: 9px;
  line-height: 1.35;
}

.book-badge strong {
  font-size: 13px;
}

.paper-shape {
  position: absolute;
  z-index: 1;
  width: 78px;
  height: 78px;
  border-radius: 25px 7px 28px 9px;
  opacity: 0.98;
}

.shape-yellow {
  left: -45px;
  top: 10%;
  background: #ffc63b;
  transform: rotate(32deg);
}

.shape-orange {
  left: -70px;
  top: 35%;
  background: #ff6540;
  transform: rotate(51deg);
}

.shape-purple {
  right: -39px;
  bottom: 29%;
  background: #b86ba0;
  transform: rotate(22deg);
}

.shape-teal {
  left: -35px;
  bottom: 4%;
  background: #4bb6b4;
  transform: rotate(41deg);
}

.brand-footer {
  position: relative;
  z-index: 4;
  max-width: 55%;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 9px;
  font-weight: 800;
}

.brand-rule {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.form-side {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 42px clamp(36px, 6vw, 86px) 28px;
  background:
    linear-gradient(90deg, rgba(8, 39, 95, 0.023) 1px, transparent 1px),
    linear-gradient(rgba(8, 39, 95, 0.023) 1px, transparent 1px),
    #fff;
  background-size: 40px 40px;
}

.form-card {
  width: min(100%, 460px);
  margin: auto 0;
}

.form-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(40px, 3.4vw, 52px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.form-heading > p:last-child {
  margin: 14px 0 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.audience-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 24px;
  padding: 13px 14px;
  border: 1px solid #e5e9f0;
  border-radius: 9px;
  color: #566177;
  background: #f5f7fa;
  font-size: 12px;
  line-height: 1.45;
}

.audience-note p {
  margin: 1px 0 0;
}

.audience-note strong {
  color: var(--navy);
}

.info-mark {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-size: 11px;
  font-weight: 900;
}

form {
  display: grid;
  gap: 18px;
}

.field label {
  display: block;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.field > label {
  margin-bottom: 8px;
}

.field input {
  width: 100%;
  height: 54px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  color: var(--ink);
  background: #fff;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.field input::placeholder {
  color: #a0a8b6;
}

.field input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(8, 39, 95, 0.08);
}

.field input.invalid {
  border-color: #c92d2d;
  box-shadow: 0 0 0 4px rgba(201, 45, 45, 0.07);
}

.password-control {
  position: relative;
}

.password-control input {
  padding-right: 70px;
}

.inline-action,
.reveal-button,
.switch-button {
  border: 0;
  padding: 0;
  color: var(--navy);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.inline-action:hover,
.reveal-button:hover,
.switch-button:hover {
  color: var(--red);
}

.reveal-button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px 3px;
}

.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.check-control {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #566177;
  font-size: 12px;
  cursor: pointer;
}

.check-control input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--navy);
}

.security-copy {
  color: #8a93a3;
  font-size: 11px;
}

.primary-button {
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 8px;
  padding: 0 20px;
  color: #fff;
  background: var(--red);
  box-shadow: 0 12px 26px rgba(239, 27, 23, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 150ms ease,
    background 150ms ease,
    box-shadow 150ms ease;
}

.primary-button span:last-child {
  font-size: 19px;
}

.primary-button:hover {
  transform: translateY(-1px);
  background: #d9120e;
  box-shadow: 0 15px 30px rgba(239, 27, 23, 0.25);
}

.switch-copy {
  margin: 24px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.switch-button {
  margin-left: 4px;
}

.prototype-message {
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  color: #8f1717;
  background: #fff0f0;
  font-size: 12px;
  line-height: 1.45;
}

.prototype-message.success {
  color: #17613d;
  background: #edf8f2;
}

.preview-notice {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid #edf0f5;
  color: #9098a7;
  font-size: 10px;
  line-height: 1.45;
}

.preview-notice p {
  margin: 0;
}

.form-footer {
  width: min(100%, 460px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #a0a7b3;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 8px;
}

.hidden {
  display: none !important;
}

@media (max-width: 1080px) {
  .page-shell {
    grid-template-columns: 43% 57%;
  }

  .brand-side {
    padding-inline: 36px;
  }

  .brand-message {
    padding-bottom: 190px;
  }

  .book-stage {
    width: 52%;
    right: -8%;
  }

  .book-badge {
    display: none;
  }

  .brand-footer {
    max-width: 65%;
  }
}

@media (max-width: 760px) {
  .page-shell {
    display: block;
  }

  .brand-side {
    display: none;
  }

  .form-side {
    min-height: 100svh;
    justify-content: flex-start;
    padding: 124px 22px 22px;
  }

  .corner-logo {
    top: 14px;
    right: 16px;
    width: 105px;
    height: 105px;
  }

  .form-card {
    margin: 0 auto auto;
  }

  .form-footer {
    padding-top: 35px;
  }
}

@media (max-width: 420px) {
  .form-side {
    padding-inline: 17px;
  }

  .corner-logo {
    right: 12px;
    width: 96px;
    height: 96px;
  }

  .form-options,
  .form-footer {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Assessment selection page */

.assessment-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 95% 0%, rgba(248, 200, 71, 0.14), transparent 25%),
    linear-gradient(180deg, #fbfaf7 0%, #f2f4f8 100%);
}

.assessment-shell {
  width: min(1180px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.assessment-header {
  min-height: 146px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid rgba(8, 39, 95, 0.1);
}

.assessment-brand {
  width: 124px;
  height: 124px;
  display: block;
}

.assessment-brand img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.profile-area {
  display: flex;
  align-items: center;
  gap: 13px;
}

.profile-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.profile-copy small {
  color: #8b93a1;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 8px;
  font-weight: 800;
}

.profile-copy strong {
  color: var(--navy);
  font-size: 12px;
}

.profile-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-size: 11px;
  font-weight: 900;
}

.assessment-hero {
  max-width: 680px;
  padding: 68px 0 42px;
}

.assessment-hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(46px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.assessment-hero > p:last-child {
  max-width: 570px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.assessment-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 38% 62%;
  min-height: 390px;
  border: 1px solid rgba(8, 39, 95, 0.1);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 65px rgba(8, 39, 95, 0.09);
}

.assessment-art {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.09), transparent 40%),
    linear-gradient(145deg, var(--navy), var(--navy-dark));
}

.assessment-art::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  box-shadow: 0 0 0 52px rgba(255, 255, 255, 0.022);
}

.assessment-art img {
  position: relative;
  z-index: 3;
  width: min(64%, 235px);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.28);
}

.art-shape {
  position: absolute;
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 24px 7px 25px 8px;
}

.art-yellow { top: 12%; left: 11%; background: #f8c847; transform: rotate(38deg); }
.art-orange { left: 6%; bottom: 13%; background: #ff6540; transform: rotate(58deg); }
.art-purple { top: 13%; right: 7%; background: #b86ba0; transform: rotate(22deg); }
.art-teal { right: 9%; bottom: 10%; background: #4bb6b4; transform: rotate(45deg); }

.assessment-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px clamp(38px, 5vw, 76px);
}

.assessment-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.assessment-number {
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 9px;
  font-weight: 900;
}

.assessment-status {
  padding: 7px 11px;
  border-radius: 999px;
  color: #286c48;
  background: #e9f6ef;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 8px;
  font-weight: 900;
}

.assessment-content h2 {
  margin: 18px 0 12px;
  color: var(--navy);
  font-size: clamp(30px, 3vw, 45px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.assessment-content > p:not(.assessment-feedback) {
  max-width: 630px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.assessment-actions {
  display: flex;
  gap: 13px;
  margin-top: 30px;
}

.assessment-button {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--navy);
  border-radius: 8px;
  padding: 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 150ms ease,
    box-shadow 150ms ease,
    background 150ms ease;
}

.results-button {
  color: var(--navy);
  background: #fff;
}

.take-button {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 12px 24px rgba(239, 27, 23, 0.18);
}

.assessment-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(8, 39, 95, 0.14);
}

.results-button:hover {
  color: #fff;
  background: var(--navy);
}

.take-button:hover {
  background: #d9120e;
}

.assessment-feedback {
  margin: 18px 0 0;
  color: #6e7787;
  font-size: 12px;
}

.assessment-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding: 42px 0 28px;
  color: #8d95a3;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 8px;
  font-weight: 800;
}

.assessment-footer-rule {
  flex: 1;
  height: 1px;
  background: rgba(8, 39, 95, 0.12);
}

@media (max-width: 820px) {
  .assessment-shell {
    width: min(100% - 30px, 620px);
  }

  .assessment-header {
    min-height: 118px;
  }

  .assessment-brand {
    width: 100px;
    height: 100px;
  }

  .profile-copy {
    display: none;
  }

  .assessment-hero {
    padding: 48px 0 34px;
  }

  .assessment-card {
    grid-template-columns: 1fr;
  }

  .assessment-art {
    min-height: 300px;
  }

  .assessment-art img {
    width: 180px;
  }

  .assessment-content {
    padding: 36px 26px 40px;
  }
}

@media (max-width: 520px) {
  .assessment-actions {
    flex-direction: column-reverse;
  }

  .assessment-button {
    width: 100%;
  }

  .assessment-footer {
    align-items: flex-start;
  }
}

/* Candidate assessment experience */

.candidate-assessment-page {
  min-height: 100vh;
  color: var(--ink);
  background: #f5f6f8;
}

.candidate-header {
  height: 92px;
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 34px;
  border-bottom: 1px solid rgba(8, 39, 95, 0.11);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.candidate-logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.candidate-back-link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 9px;
  font-weight: 900;
}

.candidate-back-link span:first-child {
  font-size: 17px;
  line-height: 1;
}

.candidate-back-link:hover {
  color: var(--red);
}

.candidate-time {
  justify-self: end;
  color: #7c8595;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 9px;
  font-weight: 800;
}

.candidate-layout {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
}

.candidate-sidebar {
  position: sticky;
  top: 92px;
  height: calc(100vh - 92px);
  overflow-y: auto;
  padding: 42px 30px 28px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.07), transparent 28%),
    linear-gradient(165deg, var(--navy), var(--navy-dark));
}

.sidebar-overline {
  margin: 0 0 18px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 9px;
  font-weight: 900;
}

.sidebar-progress-copy {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 11px;
}

.sidebar-progress-copy strong {
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.sidebar-progress-copy span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
}

.sidebar-progress-track {
  height: 4px;
  overflow: hidden;
  margin-bottom: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.sidebar-progress-track span {
  width: 0;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--red);
  transition: width 240ms ease;
}

.section-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.section-list li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  line-height: 1.35;
  transition:
    color 150ms ease,
    background 150ms ease;
}

.section-list li.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.section-list li.complete {
  color: rgba(255, 255, 255, 0.8);
}

.section-index {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  font-size: 8px;
  font-weight: 900;
}

.section-list li.active .section-index {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
}

.section-list li.complete .section-index {
  color: var(--navy);
  border-color: var(--gold);
  background: var(--gold);
}

.sidebar-help {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.47);
  font-size: 9px;
  line-height: 1.5;
}

.sidebar-help p {
  margin: 0;
}

.candidate-main {
  min-width: 0;
  padding: 58px clamp(28px, 7vw, 105px) 80px;
}

#assessment-root {
  width: min(100%, 900px);
  margin: 0 auto;
}

.candidate-section-heading {
  margin-bottom: 36px;
}

.candidate-step-label {
  margin: 0 0 12px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 9px;
  font-weight: 900;
}

.candidate-section-heading h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.candidate-section-heading > p:last-child {
  max-width: 750px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.question-stack {
  display: grid;
  gap: 20px;
}

.candidate-question {
  padding: 28px 30px;
  border: 1px solid #e1e5ec;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(8, 39, 95, 0.045);
}

.candidate-question.invalid {
  border-color: rgba(201, 45, 45, 0.55);
  box-shadow: 0 0 0 4px rgba(201, 45, 45, 0.06);
}

.question-heading {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: flex-start;
}

.question-number {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: #f0f3f8;
  font-size: 10px;
  font-weight: 900;
}

.question-title {
  margin: 2px 0 0;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 800;
}

.required-mark {
  margin-left: 4px;
  color: var(--red);
}

.question-note {
  margin: 9px 0 0 48px;
  color: #7c8594;
  font-size: 11px;
  line-height: 1.5;
}

.framework-pair {
  display: grid;
  gap: 7px;
  margin: 12px 0 0 48px;
}

.framework-pair span {
  display: block;
  padding: 9px 12px;
  border-left: 3px solid var(--navy);
  color: #4f5c72;
  background: #f7f8fa;
  font-size: 12px;
  line-height: 1.5;
}

.framework-pair strong {
  margin-right: 5px;
  color: var(--navy);
}

.text-answer {
  width: calc(100% - 48px);
  height: 52px;
  margin: 20px 0 0 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  color: var(--ink);
  background: #fff;
}

.text-answer:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(8, 39, 95, 0.08);
}

.candidate-options {
  display: grid;
  gap: 9px;
  margin: 20px 0 0 48px;
}

/* Step 1: Responsive layout for A/B framework preference choices only */
.framework-pair + .candidate-options {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1199px) {
  .framework-pair + .candidate-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .framework-pair + .candidate-options {
    grid-template-columns: 1fr;
  }
}

.candidate-option {
  position: relative;
  cursor: pointer;
}

.candidate-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.candidate-option span {
  min-height: 49px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #4d596e;
  background: #fff;
  font-size: 12px;
  line-height: 1.45;
  transition:
    border-color 150ms ease,
    background 150ms ease,
    color 150ms ease;
}

.candidate-option span::before {
  content: "";
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  border: 1px solid #aab2c0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px #fff;
}

.candidate-option input:checked + span {
  color: var(--navy);
  border-color: var(--navy);
  background: #f2f5fa;
  font-weight: 700;
}

.candidate-option input:checked + span::before {
  border-color: var(--navy);
  background: var(--navy);
}

.candidate-option input:focus-visible + span {
  outline: 3px solid rgba(8, 39, 95, 0.16);
  outline-offset: 2px;
}

/* Five-point truth scale used by the 55 ordinal assessment items (Q24–58, Q69–88). */
.truth-scale {
  margin: 20px 0 0 48px;
}

.truth-scale-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.truth-scale-option {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.truth-scale-option + .truth-scale-option .truth-scale-content {
  border-left: 1px solid var(--line);
}

.truth-scale-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.truth-scale-content {
  min-height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 8px;
  color: #4d596e;
  background: #fff;
  text-align: center;
  transition:
    background 150ms ease,
    color 150ms ease,
    box-shadow 150ms ease;
}

.truth-scale-number {
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.truth-scale-marker {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 1px solid #aab2c0;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 4px #fff;
}

.truth-scale-label {
  max-width: 135px;
  font-size: 10.5px;
  font-weight: 650;
  line-height: 1.3;
}

.truth-scale-option input:checked + .truth-scale-content {
  color: var(--navy);
  background: #f2f5fa;
  box-shadow: inset 0 0 0 2px var(--navy);
}

.truth-scale-option input:checked + .truth-scale-content .truth-scale-marker {
  border-color: var(--navy);
  background: var(--navy);
}

.truth-scale-option input:focus-visible + .truth-scale-content {
  position: relative;
  z-index: 1;
  outline: 3px solid rgba(8, 39, 95, 0.16);
  outline-offset: -3px;
}

@media (hover: hover) {
  .truth-scale-option:hover input:not(:checked) + .truth-scale-content {
    background: #f7f9fc;
  }
}

.truth-scale-mobile-endpoints,
.truth-scale-selected {
  display: none;
}

.role-other-field {
  display: grid;
  gap: 8px;
  margin: 18px 0 0 48px;
}

.role-other-field label {
  color: var(--navy);
  font-size: 13px;
  font-weight: 750;
}

.role-other-field textarea {
  width: 100%;
  min-height: 110px;
  resize: vertical;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  line-height: 1.5;
}

.role-other-field textarea:focus {
  border-color: var(--navy);
  outline: none;
  box-shadow: 0 0 0 4px rgba(8, 39, 95, 0.08);
}

.role-other-field.invalid textarea {
  border-color: rgba(201, 45, 45, 0.65);
}

.role-other-field.invalid .question-note {
  color: #a01f1f;
  font-weight: 700;
}

.ranking-list {
  display: grid;
  gap: 6px;
  margin: 14px 0 0 48px;
  padding: 0;
  list-style: none;
}

.ranking-item {
  min-height: 48px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #4f5b70;
  background: #fff;
  font-size: 11px;
  line-height: 1.4;
}

.rank-number {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: var(--navy);
  font-size: 10px;
  font-weight: 900;
}

.rank-controls {
  display: flex;
  gap: 5px;
}

.rank-control {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--navy);
  background: #f7f8fa;
  cursor: pointer;
}

.rank-control:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.likert-wrap {
  margin: 22px 0 0 48px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.likert-table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
  background: #fff;
}

/* Transformational Routines readability: keep the matrix structure, but make
   the assessment statements and response scale comfortably readable. */
.likert-table th,
.likert-table td {
  padding: 15px 11px;
  border-bottom: 1px solid #e8ebf0;
  text-align: center;
  font-size: 13px;
  line-height: 1.35;
}

.likert-table th {
  color: #657086;
  background: #f5f7fa;
  font-size: 13px;
  font-weight: 800;
}

.likert-table th:first-child,
.likert-table td:first-child {
  width: 52%;
  padding-left: 16px;
  padding-right: 16px;
  text-align: left;
  line-height: 1.5;
}

.likert-table td:first-child {
  color: var(--navy);
  font-size: 15px;
  font-weight: 500;
}

.candidate-question:has(.likert-wrap) .question-note {
  color: #6f7889;
  font-size: 14px;
  line-height: 1.5;
}

.likert-table tbody tr:last-child td {
  border-bottom: 0;
}

.likert-radio {
  width: 21px;
  height: 21px;
  margin: 0;
  accent-color: var(--navy);
  cursor: pointer;
}

.candidate-error-summary {
  margin: 0 0 20px;
  padding: 13px 15px;
  border-radius: 8px;
  color: #8f1717;
  background: #fff0f0;
  font-size: 12px;
  line-height: 1.5;
}

.candidate-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 30px;
}

.candidate-action {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 8px;
  padding: 0 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
}

.candidate-action.secondary {
  border: 1px solid var(--navy);
  color: var(--navy);
  background: transparent;
}

.candidate-action.primary {
  border: 1px solid var(--red);
  color: #fff;
  background: var(--red);
  box-shadow: 0 12px 24px rgba(239, 27, 23, 0.18);
}

.candidate-action:hover {
  transform: translateY(-1px);
}

.candidate-action.secondary:hover {
  color: #fff;
  background: var(--navy);
}

.candidate-action.primary:hover {
  background: #d9120e;
}

.review-card {
  padding: 34px;
  border: 1px solid #e1e5ec;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(8, 39, 95, 0.06);
}

.review-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.review-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid #edf0f4;
  color: #536076;
  font-size: 12px;
}

.review-list li:last-child {
  border-bottom: 0;
}

.review-status {
  color: #227046;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 8px;
  font-weight: 900;
}

.account-level {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #eef2f8;
  color: #102f67;
}

.account-level.paid {
  background: #e4f4df;
  color: #296420;
}

.account-level.expired {
  background: #fff2cf;
  color: #7d5900;
}

.account-level.suspended {
  background: #ffe1df;
  color: #9e1d17;
}

.assessment-status.restricted {
  background: #ffe1df;
  color: #9e1d17;
}

.assessment-button.disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.portal-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  max-width: 1180px;
  margin: 1rem auto 0;
}

.portal-links a,
.portal-links button {
  border: 0;
  background: transparent;
  color: #102f67;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.portal-page {
  min-height: 100vh;
  background: #f5f7fb;
  color: #102f67;
}

.portal-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 102px;
  padding: 1rem clamp(1.2rem, 4vw, 4rem);
  background: #fff;
  border-bottom: 1px solid #dce3ed;
}

.portal-header a {
  color: #102f67;
  font-weight: 750;
  text-decoration: none;
}

.portal-header img {
  width: 116px;
}

.portal-main {
  width: min(940px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.portal-main.wide {
  width: min(1260px, calc(100% - 2rem));
}

.portal-main h1 {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 0.98;
}

.portal-intro {
  max-width: 700px;
  margin: 0 0 2rem;
  color: #5f6f86;
  font-size: 1.08rem;
}

.portal-notice {
  margin: 1.5rem 0;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  background: #fff2cf;
  color: #6d4b00;
}

.portal-notice.success {
  background: #e4f4df;
  color: #296420;
}

.results-grid {
  display: grid;
  gap: 1rem;
}

.result-card {
  padding: 1.5rem;
  border: 1px solid #dce3ed;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(16, 47, 103, 0.08);
}

.result-card h2 {
  margin: 0.8rem 0 0.35rem;
}

.result-card pre {
  overflow-x: auto;
  padding: 1rem;
  border-radius: 10px;
  background: #f5f7fb;
  white-space: pre-wrap;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid #dce3ed;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(16, 47, 103, 0.08);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 1rem;
  border-bottom: 1px solid #e7ebf1;
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  color: #627087;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-table td small {
  display: block;
  margin-top: 0.28rem;
  color: #6a778b;
}

.status-select,
.paid-until-input {
  min-height: 42px;
  padding: 0.55rem 0.7rem;
  border: 1px solid #cfd7e4;
  border-radius: 8px;
  background: #fff;
  color: #102f67;
  font: inherit;
}

.admin-save-button {
  min-height: 42px;
  padding: 0.6rem 0.9rem;
  border: 0;
  border-radius: 8px;
  background: #102f67;
  color: #fff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.admin-view-button,
.admin-panel-heading button {
  min-height: 42px;
  padding: 0.6rem 0.9rem;
  border: 1px solid #bcc7d8;
  border-radius: 8px;
  background: #fff;
  color: #102f67;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.admin-submissions-panel {
  margin-top: 2rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid #dce3ed;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(16, 47, 103, 0.08);
}

.admin-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-panel-heading h2 {
  margin: 0.3rem 0 0;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.admin-submission-card {
  padding: 1.2rem 0;
  border-top: 1px solid #e7ebf1;
}

.admin-submission-card h3 {
  margin: 0.7rem 0 0.2rem;
}

.admin-submission-card h3 small {
  color: #68758a;
  font-weight: 500;
}

.admin-submission-card details {
  margin-top: 0.8rem;
  padding: 0.8rem;
  border-radius: 10px;
  background: #f5f7fb;
}

.admin-submission-card summary {
  cursor: pointer;
  font-weight: 750;
}

.admin-submission-card pre {
  overflow-x: auto;
  max-height: 420px;
  white-space: pre-wrap;
}

.admin-client-details {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #dce3ed;
  border-radius: 12px;
  background: #f8fafc;
}

.admin-client-details h4 {
  margin: 0 0 0.8rem;
  color: #102f67;
}

.admin-client-details dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem 1.2rem;
  margin: 0;
}

.admin-client-details div {
  min-width: 0;
}

.admin-client-details dt {
  color: #68758a;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-client-details dd {
  margin: 0.2rem 0 0;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.admin-correction label {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.9rem;
  color: #102f67;
  font-weight: 750;
}

.admin-correction input,
.admin-correction textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #cbd5e3;
  border-radius: 8px;
  background: #fff;
  color: #23395d;
  font: inherit;
  font-weight: 400;
}

.admin-correct-button,
.admin-audit-button {
  margin-top: 0.85rem;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 8px;
  background: #102f67;
  color: #fff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.admin-audit-button {
  background: #e25532;
}

.admin-revision-card {
  margin-top: 0.65rem;
  padding: 0.8rem;
  border-left: 4px solid #e25532;
  border-radius: 6px;
  background: #f5f7fb;
}

.admin-revision-card p {
  margin: 0.3rem 0 0;
}

.access-blocked-card {
  padding: clamp(2rem, 6vw, 4rem);
  border: 1px solid #dce3ed;
  border-radius: 22px;
  background: #fff;
}

.access-blocked-card .candidate-action {
  display: inline-flex;
  margin-top: 1rem;
  text-decoration: none;
}

@media (max-width: 720px) {
  .portal-header {
    grid-template-columns: 1fr auto;
  }

  .portal-header img {
    width: 88px;
  }

  .profile-area .account-level {
    display: none;
  }
}

.submit-message {
  margin: 22px 0 0;
  padding: 14px 16px;
  border-radius: 8px;
  color: #17613d;
  background: #edf8f2;
  font-size: 12px;
  line-height: 1.5;
}
/* Assessment completion state */

.assessment-complete-panel {
  width: 100%;
  min-height: 102px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px 22px;
  border: 1px solid #cfe7d9;
  border-radius: 14px;
  background: #f5fbf7;
  box-shadow: 0 10px 28px rgba(8, 39, 95, 0.05);
}

.assessment-complete-status {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.assessment-complete-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #249457;
  box-shadow: 0 8px 18px rgba(36, 148, 87, 0.18);
  font-size: 22px;
  font-weight: 900;
}

/* Keep the success check centred. Do not override the icon's grid layout. */
.assessment-complete-status strong,
.assessment-complete-status div > span {
  display: block;
}

.assessment-complete-status strong {
  color: var(--navy);
  font-size: 18px;
  line-height: 1.2;
}

.assessment-complete-status div > span {
  margin-top: 5px;
  color: #667085;
  font-size: 12px;
  line-height: 1.45;
}

.candidate-action.primary.assessment-map-button {
  min-width: 190px;
  flex: 0 0 auto;
  border-color: var(--navy);
  color: #fff;
  background: var(--navy);
  box-shadow: 0 12px 24px rgba(8, 39, 95, 0.18);
  text-decoration: none;
}

.candidate-action.primary.assessment-map-button:hover {
  border-color: var(--navy-dark);
  background: var(--navy-dark);
  box-shadow: 0 15px 30px rgba(8, 39, 95, 0.24);
}

@media (max-width: 620px) {
  .assessment-complete-panel {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
    padding: 18px;
  }

  .candidate-action.primary.assessment-map-button {
    width: 100%;
    min-width: 0;
  }
}

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

  .candidate-sidebar {
    height: auto;
    position: sticky;
    top: 92px;
    z-index: 15;
    overflow: visible;
    padding: 14px 22px;
  }

  .sidebar-overline,
  .sidebar-progress-copy,
  .section-list,
  .sidebar-help {
    display: none;
  }

  .sidebar-progress-track {
    margin: 0;
  }

  .candidate-main {
    padding: 42px 24px 65px;
  }
}

@media (max-width: 620px) {
  .candidate-header {
    height: 78px;
    grid-template-columns: 1fr auto;
    padding: 0 17px;
  }

  .candidate-logo {
    width: 66px;
    height: 66px;
    grid-column: 2;
    grid-row: 1;
  }

  .candidate-back-link {
    grid-column: 1;
    grid-row: 1;
  }

  .candidate-time {
    display: none;
  }

  .candidate-sidebar {
    top: 78px;
  }

  .candidate-main {
    padding-inline: 15px;
  }

  .candidate-question {
    padding: 22px 16px;
  }

  .question-heading {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
  }

  .question-number {
    width: 28px;
    height: 28px;
  }

  .question-note,
  .framework-pair,
  .candidate-options,
  .role-other-field,
  .ranking-list,
  .likert-wrap,
  .truth-scale {
    margin-left: 0;
  }

  .truth-scale {
    margin-top: 16px;
  }

  .truth-scale-options {
    gap: 6px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .truth-scale-option + .truth-scale-option .truth-scale-content {
    border-left: 1px solid var(--line);
  }

  .truth-scale-content {
    min-height: 56px;
    gap: 4px;
    padding: 7px 3px;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .truth-scale-number {
    font-size: 12px;
  }

  .truth-scale-marker {
    width: 17px;
    height: 17px;
  }

  .truth-scale-label {
    display: none;
  }

  .truth-scale-mobile-endpoints {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 7px;
    padding: 0 2px;
    color: #737d8f;
    font-size: 10px;
    font-weight: 650;
    line-height: 1.25;
  }

  .truth-scale-mobile-endpoints span:last-child {
    text-align: right;
  }

  .truth-scale-selected {
    min-height: 17px;
    display: block;
    margin: 7px 0 0;
    color: var(--navy);
    text-align: center;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.4;
  }

  .admin-client-details dl {
    grid-template-columns: 1fr;
  }

  .text-answer {
    width: 100%;
    margin-left: 0;
  }

  .candidate-actions {
    align-items: stretch;
  }

  .candidate-action {
    flex: 1;
    padding-inline: 12px;
  }
}

/* Version 6 sample results dashboard */

.result-dashboard-page {
  --result-orange: #ef5b35;
  --result-amber: #e8a32f;
  --result-teal: #42a7aa;
  --result-olive: #7c9653;
  --result-plum: #9c5b8f;
  --result-blue: #5473ae;
  min-height: 100vh;
  color: #172b50;
  background: #f4f3ef;
}

.result-topbar {
  position: relative;
  z-index: 20;
  min-height: 94px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 12px clamp(22px, 5vw, 76px);
  border-bottom: 1px solid rgba(8, 39, 95, 0.1);
  background: rgba(255, 255, 255, 0.97);
}

.result-back-link {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.result-back-link span:first-child {
  font-size: 20px;
}

.result-topbar-brand {
  display: block;
  width: 74px;
  height: 74px;
}

.result-topbar-brand img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.result-topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.sample-chip,
.quality-pill,
.profile-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 9px;
  font-weight: 900;
}

.sample-chip {
  padding: 8px 11px;
  color: #7c5410;
  background: #fff2cf;
}

.result-print-button,
.next-step-panel button {
  min-height: 43px;
  border: 0;
  border-radius: 7px;
  padding: 0 17px;
  color: #fff;
  background: var(--navy);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.result-print-button:hover,
.next-step-panel button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(8, 39, 95, 0.18);
}

.result-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 86% 18%, rgba(66, 167, 170, 0.24), transparent 23%),
    radial-gradient(circle at 11% 110%, rgba(232, 163, 47, 0.16), transparent 30%),
    linear-gradient(135deg, var(--navy) 0%, #041943 100%);
}

.result-hero::before {
  content: "";
  position: absolute;
  right: -130px;
  top: -220px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 68px rgba(255, 255, 255, 0.018),
    0 0 0 138px rgba(255, 255, 255, 0.012);
}

.result-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1260px, calc(100% - 48px));
  min-height: 390px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  align-items: center;
  gap: clamp(50px, 9vw, 120px);
  padding: 70px 0;
}

.result-eyebrow,
.section-kicker,
.card-label {
  margin: 0 0 11px;
  color: var(--result-orange);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 9px;
  font-weight: 900;
}

.result-hero .result-eyebrow {
  color: var(--gold);
}

.result-hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(48px, 6vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.result-hero-copy {
  max-width: 660px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.7;
}

.participant-panel {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
}

.participant-avatar {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold);
  font-size: 15px;
  font-weight: 900;
}

.participant-panel small,
.participant-panel strong,
.participant-panel div > span {
  display: block;
}

.participant-panel small {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 8px;
  font-weight: 900;
}

.participant-panel strong {
  font-size: 20px;
}

.participant-panel div > span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
}

.quality-pill {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 7px 10px;
  color: #bfe9d0;
  background: rgba(43, 132, 84, 0.25);
}

.result-section-nav {
  position: sticky;
  z-index: 15;
  top: 0;
  border-bottom: 1px solid rgba(8, 39, 95, 0.1);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.result-section-nav > div {
  width: min(1260px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.result-section-nav a {
  flex: 0 0 auto;
  padding: 17px 15px 15px;
  border-bottom: 2px solid transparent;
  color: #667389;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 9px;
  font-weight: 900;
}

.result-section-nav a:hover {
  border-bottom-color: var(--result-orange);
  color: var(--navy);
}

.result-page {
  width: min(1260px, calc(100% - 48px));
  margin: 0 auto;
}

.result-section {
  scroll-margin-top: 74px;
  padding: clamp(72px, 8vw, 112px) 0;
}

.result-section + .result-section {
  border-top: 1px solid rgba(8, 39, 95, 0.1);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  margin-bottom: 34px;
}

.section-heading h2,
.next-step-panel h2 {
  margin: 0;
  color: var(--navy);
  font-size: var(--type-section-title);
  line-height: 1;
  letter-spacing: -0.05em;
}

.section-heading > p,
.next-step-panel > div > p:last-child {
  width: 100%;
  max-width: none;
  margin: 0;
  color: #647188;
  font-size: var(--type-body-long);
  line-height: var(--leading-body-long);
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
}

.signature-card,
.dashboard-card,
.insight-card,
.alignment-card {
  border: 1px solid rgba(8, 39, 95, 0.1);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 15px 44px rgba(24, 39, 73, 0.055);
}

.signature-card {
  position: relative;
  overflow: hidden;
  grid-row: span 2;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 38px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 16%, rgba(239, 91, 53, 0.45), transparent 21%),
    radial-gradient(circle at 17% 13%, rgba(232, 163, 47, 0.18), transparent 26%),
    linear-gradient(145deg, #102f67, #041943);
}

.signature-card::before {
  content: "";
  position: absolute;
  top: 55px;
  left: 50%;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow:
    0 0 0 42px rgba(255, 255, 255, 0.025),
    0 0 0 84px rgba(255, 255, 255, 0.015);
}

.signature-card .card-label {
  color: var(--gold);
}

.signature-card h3 {
  position: relative;
  margin: 0;
  font-size: clamp(40px, 4vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.signature-card > p:not(.card-label) {
  position: relative;
  margin: 20px 0 28px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.65;
}

.signature-pattern {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.signature-pattern span {
  padding: 18px 11px 0;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.signature-pattern span:first-child {
  padding-left: 0;
  border-left: 0;
}

.signature-pattern strong {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
}

.dashboard-card,
.insight-card {
  padding: clamp(25px, 3.4vw, 40px);
}

.card-heading,
.pp-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.card-heading h3,
.pp-topline h3,
.insight-card h3,
.alignment-card h3,
.framework-insights h3 {
  margin: 0;
  color: var(--navy);
  font-size: 23px;
  line-height: 1.13;
  letter-spacing: -0.03em;
}

.score-key {
  display: grid;
  grid-template-columns: repeat(5, auto);
  gap: 7px;
  color: #8b95a5;
  font-size: 8px;
}

.score-key span:nth-child(2),
.score-key span:nth-child(3),
.score-key span:nth-child(4) {
  display: none;
}

.development-bars {
  display: grid;
  gap: 28px;
  margin-top: 35px;
}

.development-row {
  display: grid;
  grid-template-columns: minmax(128px, 0.8fr) minmax(220px, 2fr) 46px;
  align-items: center;
  gap: 18px;
}

.score-name strong,
.score-name span {
  display: block;
}

.score-name strong {
  color: var(--navy);
  font-size: 14px;
}

.score-name span {
  margin-top: 4px;
  color: #8a94a4;
  font-size: 9px;
}

.segmented-track {
  position: relative;
  height: 18px;
  display: grid;
  grid-template-columns: 56% 16% 28%;
  gap: 2px;
}

.segmented-track > span {
  height: 100%;
}

.track-low {
  border-radius: 9px 0 0 9px;
  background: #eceef2;
}

.track-mid {
  background: #dbe8ec;
}

.track-high {
  border-radius: 0 9px 9px 0;
  background: #d7e9dd;
}

.segmented-track i {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 28px;
  border: 4px solid #fff;
  border-radius: 10px;
  background: var(--marker-color);
  box-shadow: 0 4px 11px rgba(29, 47, 78, 0.2);
  transform: translate(-50%, -50%);
}

.score-number {
  color: var(--navy);
  font-size: 17px;
}

.band-legend {
  display: grid;
  grid-template-columns: 56% 16% 28%;
  gap: 2px;
  margin: 15px 64px 0 164px;
  color: #9aa3b0;
  text-align: center;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.profile-badge {
  padding: 8px 11px;
  color: var(--navy);
  background: #eef2f8;
}

.matrix-card {
  min-height: 340px;
}

.matrix-layout {
  position: relative;
  width: min(100%, 610px);
  margin: 30px auto 24px;
  padding: 0 0 22px 24px;
}

.ei-matrix {
  position: relative;
  height: 210px;
  overflow: hidden;
  border: 1px solid #cfd6e1;
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent calc(72% - 1px), #fff calc(72% - 1px), #fff calc(72% + 1px), transparent calc(72% + 1px)),
    linear-gradient(0deg, transparent calc(72% - 1px), #fff calc(72% - 1px), #fff calc(72% + 1px), transparent calc(72% + 1px)),
    linear-gradient(90deg, #f4eee8 0 72%, #e8f1ed 72% 100%);
}

.matrix-quadrant {
  position: absolute;
  color: rgba(8, 39, 95, 0.48);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 7px;
  font-weight: 900;
}

.q-top-left { top: 13px; left: 14px; }
.q-top-right { top: 13px; right: 14px; }
.q-bottom-left { bottom: 13px; left: 14px; }
.q-bottom-right { right: 14px; bottom: 13px; }

.matrix-marker {
  position: absolute;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 5px solid #fff;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 7px rgba(239, 91, 53, 0.2),
    0 8px 18px rgba(8, 39, 95, 0.25);
  transform: translate(-50%, -50%);
}

.matrix-marker::after {
  content: "";
  width: 22px;
  height: 22px;
  display: block;
  border-radius: 50%;
  background: #ef5b35;
}

.matrix-x-label,
.matrix-y-label {
  position: absolute;
  color: #8b95a4;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 8px;
  font-weight: 900;
}

.matrix-x-label {
  right: 0;
  bottom: 0;
}

.matrix-y-label {
  left: 0;
  top: 50%;
  transform: rotate(-90deg) translateX(-50%);
  transform-origin: left top;
}

.card-narrative,
.insight-card > p,
.alignment-card p,
.framework-insights p {
  color: #667389;
  font-size: 13px;
  line-height: 1.7;
}

.tinted-section {
  position: relative;
}

.tinted-section::before,
.navy-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 calc((100vw - min(1260px, calc(100vw - 48px))) / -2);
}

.tinted-section::before {
  background: #ebeae5;
}

.motivation-layout,
.framework-grid,
.drive-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(330px, 0.84fr);
  gap: 22px;
}

.motivation-chart-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 34px;
}

.motivation-priority {
  min-height: 175px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border-radius: 14px;
  color: #fff;
  background:
    radial-gradient(circle at 75% 15%, rgba(255, 255, 255, 0.12), transparent 28%),
    var(--navy);
}

.motivation-priority span {
  color: rgba(255, 255, 255, 0.58);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 8px;
  font-weight: 900;
}

.motivation-priority strong {
  margin-top: 7px;
  font-size: 23px;
}

.motivation-bars,
.routine-bars,
.framework-bars,
.drive-bars {
  display: grid;
  gap: 17px;
}

.framework-bars {
  margin-top: 32px;
}

.framework-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.framework-concept-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 22px;
  margin: -8px 0 24px;
}

.framework-concept-legend article {
  display: grid;
  grid-template-columns: 15px 1fr;
  align-items: start;
  gap: 11px;
  padding: 14px 16px;
  border: 1px solid rgba(8, 39, 95, 0.1);
  border-radius: 14px;
  background: #fff;
}

.framework-concept-legend i {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  border-radius: 3px;
  background: var(--legend-colour);
}

.framework-concept-legend strong,
.framework-concept-legend span {
  display: block;
}

.framework-concept-legend strong {
  color: var(--navy);
  font-size: 12px;
}

.framework-concept-legend span {
  margin-top: 3px;
  color: #68758a;
  font-size: 10.5px;
  line-height: 1.45;
}

.framework-concept-legend small {
  display: block;
  margin-top: 4px;
  color: #52627a;
  font-size: 10px;
  font-style: italic;
  line-height: 1.4;
}

.framework-header-meta {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.framework-header-meta .score-scale-label {
  font-size: 8px;
}

.metric-bar {
  position: relative;
}

.metric-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 7px;
  color: #56647a;
  font-size: 11px;
}

.metric-label strong {
  color: var(--navy);
  font-size: 12px;
}

.metric-track,
.mini-track {
  height: 8px;
  overflow: hidden;
  border-radius: 5px;
  background: #e8ebf0;
}

.metric-track > span,
.mini-track > span {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--bar-color);
}

.metric-bar small {
  position: absolute;
  right: 0;
  top: 30px;
  color: #9aa3b0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 7px;
}

.orange-insight {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(145deg, #e95734, #c63f27);
}

.orange-insight::after {
  content: "";
  position: absolute;
  right: -75px;
  bottom: -95px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.orange-insight .card-label,
.orange-insight h3,
.orange-insight > p,
.orange-insight .insight-watchout {
  position: relative;
  z-index: 2;
}

.orange-insight .card-label {
  color: #ffe3ad;
}

.orange-insight h3 {
  color: #fff;
  font-size: 29px;
}

.orange-insight > p {
  color: rgba(255, 255, 255, 0.78);
}

.insight-watchout {
  margin-top: 23px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.insight-watchout span {
  color: #ffe3ad;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 8px;
  font-weight: 900;
}

.insight-watchout p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  line-height: 1.6;
}

.pp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-inline: calc(-1 * var(--pp-section-inline));
}

.passion-purpose-dashboard-section {
  --pp-section-inline: 27px;
  position: relative;
  left: 50%;
  width: min(960px, calc(100vw - 30px));
  padding: clamp(34px, 4vw, 52px) var(--pp-section-inline);
  transform: translateX(-50%);
  scroll-margin-top: 150px;
}

.restored-dashboard-sections {
  position: relative;
  left: 50%;
  width: min(960px, calc(100vw - 30px));
  transform: translateX(-50%);
}

.restored-dashboard-sections .result-section {
  padding: clamp(32px, 4vw, 52px) 27px;
  scroll-margin-top: 150px;
}

.pp-card {
  min-height: 360px;
  border-radius: 18px;
}

.passion-card {
  --pp-accent: #d35a32;
}

.purpose-card {
  --pp-accent: #42a7aa;
}

.pp-card .card-label {
  color: var(--pp-accent);
}

.pp-description {
  max-width: 285px;
  margin: 10px 0 0;
  color: #68758a;
  font-size: 12px;
  line-height: 1.55;
}

.score-ring {
  --ring-value: 0deg;
  position: relative;
  width: 112px;
  height: 112px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--ring-color) var(--ring-value), #e9ebef 0);
}

.score-ring::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: #fff;
}

.score-ring strong,
.score-ring span {
  position: absolute;
  z-index: 1;
}

.score-ring strong {
  top: 36px;
  color: var(--navy);
  font-size: 22px;
}

.score-ring span {
  bottom: 29px;
  color: #8a94a3;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 6px;
  font-weight: 900;
}

.passion-ring,
.purpose-ring {
  --ring-color: var(--pp-accent);
}

.mini-score-list {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}

.mini-score-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 10px;
}

.mini-score-heading h4,
.mini-score-heading p {
  margin: 0;
}

.mini-score-heading h4 {
  color: var(--navy);
  font-size: 12px;
  line-height: 1.25;
}

.mini-score-heading p {
  max-width: 320px;
  margin-top: 4px;
  color: #7a8698;
  font-size: 9.5px;
  line-height: 1.45;
}

.mini-score strong {
  padding-top: 1px;
  color: var(--navy);
  font-size: 12px;
}

.pp-card .mini-track > span {
  background: var(--pp-accent);
}

.alignment-card {
  position: relative;
  overflow: hidden;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 23px;
  align-items: start;
  padding: 38px 44px;
  border-color: rgba(143, 55, 27, 0.18);
  color: #fff;
  background: linear-gradient(145deg, #e95432, #cf3e28);
}

.alignment-card::after {
  content: "";
  position: absolute;
  right: -125px;
  bottom: -155px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.alignment-icon {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  font-size: 24px;
  font-weight: 900;
}

.alignment-card > div {
  position: relative;
  z-index: 1;
}

.alignment-card .card-label {
  color: #ffe7b2;
}

.alignment-card h3 {
  color: #fff;
}

.alignment-card p,
.alignment-card p:last-child {
  max-width: 850px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
}

.navy-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-inline: 27px !important;
  border-radius: 22px;
  color: #fff;
}

.navy-section::before {
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 88% 10%, rgba(66, 167, 170, 0.22), transparent 25%),
    linear-gradient(145deg, var(--navy), #041943);
}

.light-heading h2 {
  color: #fff;
}

.light-heading > p {
  color: rgba(255, 255, 255, 0.64);
}

.navy-section .section-kicker {
  color: var(--gold);
}

.routine-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 54px;
  align-items: center;
}

.routine-layout .metric-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  margin-bottom: 9px;
}

.routine-layout .metric-label strong {
  color: #fff;
  font-size: 14px;
}

.routine-layout .metric-track {
  height: 10px;
  background: rgba(255, 255, 255, 0.12);
}

.routine-focus-card {
  padding: 36px;
  border-radius: 18px;
  color: var(--navy);
  background: #fff;
}

.routine-focus-card h3,
.routine-focus-card h4 {
  margin: 0;
}

.routine-focus-card h3 {
  font-size: 28px;
}

.routine-focus-card > strong {
  display: block;
  margin: 8px 0 13px;
  color: var(--result-orange);
  font-size: 50px;
  line-height: 1;
}

.routine-focus-card p:not(.card-label) {
  margin: 8px 0 0;
  color: #667389;
  font-size: 12px;
  line-height: 1.65;
}

.section-workbook-description {
  width: 100%;
  max-width: none;
}

.drive-core-description {
  margin: 0 0 22px;
  color: #667389;
  font-size: 14px;
  line-height: 1.6;
}

.routine-focus-card hr {
  margin: 27px 0;
  border: 0;
  border-top: 1px solid #e3e6eb;
}

/* The development-opportunity score is used by the compact printed report.
   It remains hidden in the interactive dashboard. */
.routine-development-score {
  display: none;
}

.radar-wrap {
  height: 300px;
  margin-top: 8px;
}

.framework-grid .dashboard-card {
  min-height: 0;
  padding: 28px 30px;
}

.framework-grid .framework-bars {
  margin-top: 24px;
}

.framework-grid .radar-wrap {
  min-height: 240px;
  height: auto;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(145px, 0.58fr);
  align-items: center;
  gap: 18px;
  margin-top: 4px;
}

.framework-grid .radar-wrap canvas {
  width: 220px;
  height: 220px;
  justify-self: center;
}

.radar-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.framework-radar-legend {
  display: grid;
  gap: 11px;
  align-content: center;
}

.framework-radar-legend-item {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
}

.framework-radar-legend-item > i {
  width: 10px;
  height: 34px;
  display: block;
  border-radius: 999px;
}

.framework-radar-legend-item > span,
.framework-radar-legend-item strong,
.framework-radar-legend-item small {
  display: block;
}

.framework-radar-legend-item strong {
  color: var(--navy);
  font-size: 10px;
  line-height: 1.25;
}

.framework-radar-legend-item small {
  margin-top: 2px;
  color: #7e8ba0;
  font-size: 8px;
  font-weight: 800;
}

.framework-insights {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.framework-insights article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 17px;
  padding: 28px;
  border: 1px solid rgba(8, 39, 95, 0.1);
  border-radius: 15px;
  background: #fff;
}

.framework-insights article > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-size: 10px;
  font-weight: 900;
}

.framework-insights p {
  margin-bottom: 0;
}

.framework-insights .framework-watchout {
  grid-column: 1 / -1;
  border-color: #ead8b3;
  background: #fff8ea;
}

.framework-watchout article > span,
.framework-watchout > span {
  background: var(--result-orange);
}

.drive-grid {
  align-items: stretch;
}

.drive-bars {
  margin-top: 34px;
  gap: 14px;
}

.drive-group {
  padding: 16px 18px 18px;
  border: 1px solid;
  border-radius: 15px;
}

.drive-group-belief {
  border-color: #c9e7e8;
  background: #edf8f8;
}

.drive-group-action {
  border-color: #e4cfe0;
  background: #f7eff6;
}

.drive-group-outlook {
  border-color: #f1dca6;
  background: #fff8e7;
}

.drive-group h4 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 15px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 9px;
  line-height: 1.2;
}

.drive-group h4 i {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 3px;
}

.drive-group-items {
  display: grid;
  gap: 15px;
}

.drive-group .metric-label {
  font-size: 14px;
}

.drive-group .metric-label strong {
  font-size: 14px;
}

.drive-group .metric-track {
  background: rgba(8, 39, 95, 0.09);
}

.drive-grid .score-scale-label {
  color: #738096;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 8px;
  font-weight: 900;
}

.agency-card {
  display: flex;
  flex-direction: column;
}

.agency-scale {
  min-height: 205px;
  display: flex;
  align-items: center;
  padding: 40px 22px 24px;
}

.agency-track {
  position: relative;
  width: 100%;
  height: 20px;
  display: grid;
  grid-template-columns: 56% 16% 28%;
  gap: 2px;
}

.agency-segment {
  display: block;
}

.agency-connection {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: calc(var(--from) + 9px);
  width: calc(var(--to) - var(--from) - 18px);
  height: 4px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 5px rgba(8, 39, 95, 0.16);
}

.agency-low {
  border-radius: 10px 0 0 10px;
  background: #ecd8d4;
}

.agency-mid {
  background: #eadfbf;
}

.agency-high {
  border-radius: 0 10px 10px 0;
  background: #cfe5d6;
}

.agency-point {
  position: absolute;
  z-index: 3;
  left: var(--position);
  width: 18px;
  height: 18px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #d35a32;
  box-shadow:
    0 0 0 3px rgba(211, 90, 50, 0.16),
    0 4px 12px rgba(8, 39, 95, 0.23);
  transform: translateX(-50%);
}

.agency-point::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 36px;
  background: var(--point-color);
}

.agency-point b,
.agency-point em {
  position: absolute;
  left: 50%;
  width: max-content;
  font-style: normal;
  transform: translateX(-50%);
}

.agency-point b {
  color: #657288;
  font-size: 9px;
}

.agency-point em {
  color: var(--navy);
  font-size: 16px;
  font-weight: 900;
}

.esteem-point {
  --point-color: var(--result-plum);
  top: 1px;
}

.esteem-point::after {
  bottom: 15px;
}

.esteem-point b { bottom: 51px; }
.esteem-point em { bottom: 29px; }

.action-point {
  --point-color: var(--result-teal);
  top: 1px;
}

.action-point::after {
  top: 15px;
}

.action-point b { top: 51px; }
.action-point em { top: 29px; }

.next-step-panel {
  margin: 28px 0 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: clamp(35px, 5vw, 60px);
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 20%, rgba(239, 91, 53, 0.2), transparent 23%),
    #fff;
}

.next-step-panel h2 {
  font-size: clamp(32px, 4vw, 50px);
}

.next-step-panel > div > p:last-child {
  margin-top: 16px;
}

.next-step-panel button {
  flex: 0 0 auto;
  min-height: 52px;
  background: #d35a32;
  box-shadow: 0 10px 24px rgba(211, 90, 50, 0.22);
}

.next-step-panel button:hover {
  background: #b94725;
  box-shadow: 0 13px 28px rgba(185, 71, 37, 0.3);
}

.next-step-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.next-step-panel .next-step-actions button {
  min-width: 165px;
}

.next-step-panel #take-action {
  background: var(--navy);
  box-shadow: 0 10px 24px rgba(8, 39, 95, 0.2);
}

.next-step-panel #take-action:hover {
  background: #041943;
  box-shadow: 0 13px 28px rgba(8, 39, 95, 0.28);
}

.result-footer {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 28px;
  color: rgba(255, 255, 255, 0.6);
  background: #041943;
  text-align: left;
  font-size: 11px;
}

.result-footer img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  border-radius: 50%;
}

.result-footer p {
  max-width: 580px;
  line-height: 1.6;
}

@media (max-width: 1000px) {
  .result-hero-inner,
  .section-heading,
  .motivation-layout,
  .framework-concept-legend,
  .framework-grid,
  .drive-grid {
    grid-template-columns: 1fr;
  }

  .result-hero-inner {
    gap: 35px;
  }

  .participant-panel {
    max-width: 500px;
  }

  .section-heading {
    gap: 20px;
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }

  .signature-card {
    grid-row: auto;
    min-height: 440px;
  }

  .motivation-layout,
  .drive-grid {
    align-items: stretch;
  }
}

@media (max-width: 760px) {
  .result-topbar {
    min-height: 80px;
    grid-template-columns: 1fr auto;
    padding-inline: 17px;
  }

  .result-topbar-brand {
    width: 60px;
    height: 60px;
    grid-column: 2;
    grid-row: 1;
  }

  .result-topbar-actions {
    display: none;
  }

  .result-hero-inner,
  .result-section-nav > div,
  .result-page {
    width: min(100% - 30px, 620px);
  }

  .result-hero-inner {
    min-height: 0;
    padding: 58px 0;
  }

  .result-hero h1 {
    font-size: clamp(44px, 15vw, 66px);
  }

  .result-section {
    padding: 70px 0;
  }

  .development-row {
    grid-template-columns: 112px 1fr 40px;
    gap: 10px;
  }

  .band-legend {
    margin-left: 122px;
    margin-right: 50px;
  }

  .motivation-chart-card {
    grid-template-columns: 1fr;
  }

  .motivation-priority {
    min-height: 145px;
  }

  .pp-grid,
  .framework-insights,
  .routine-layout {
    grid-template-columns: 1fr;
  }

  .alignment-card,
  .framework-insights .framework-watchout {
    grid-column: auto;
  }

  .routine-layout {
    gap: 38px;
  }

  .next-step-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .result-back-link span:last-child {
    display: none;
  }

  .participant-panel {
    grid-template-columns: 50px 1fr;
    padding: 19px;
  }

  .participant-avatar {
    width: 50px;
    height: 50px;
  }

  .result-section-nav a {
    padding-inline: 11px;
  }

  .signature-card,
  .dashboard-card,
  .insight-card {
    padding: 25px;
  }

  .signature-card {
    min-height: 500px;
  }

  .development-row {
    grid-template-columns: 1fr 40px;
  }

  .score-name {
    grid-column: 1 / -1;
  }

  .band-legend {
    display: none;
  }

  .card-heading,
  .pp-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .pp-topline {
    gap: 26px;
  }

  .score-ring {
    align-self: center;
  }

  .passion-purpose-dashboard-section {
    width: calc(100vw - 30px);
  }

  .restored-dashboard-sections {
    width: calc(100vw - 30px);
  }

  .alignment-card {
    grid-template-columns: 1fr;
    padding: 27px;
  }

  .framework-insights article {
    grid-template-columns: 1fr;
  }

  .framework-grid .radar-wrap {
    height: auto;
    grid-template-columns: 1fr;
  }

  .framework-grid .radar-wrap canvas {
    height: 220px;
  }

  .framework-radar-legend {
    grid-template-columns: 1fr 1fr;
  }

  .agency-scale {
    padding-inline: 8px;
  }

  .next-step-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .next-step-panel .next-step-actions button {
    width: 100%;
  }

  .result-footer {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }
}

@media print {
  .result-dashboard-page {
    background: #fff;
  }

  .result-topbar,
  .result-section-nav,
  .next-step-panel button {
    display: none;
  }

  .result-hero-inner,
  .result-page {
    width: calc(100% - 32px);
  }

  .result-hero-inner {
    min-height: 280px;
  }

  .result-section {
    break-inside: avoid;
    padding: 45px 0;
  }

  .dashboard-card,
  .signature-card,
  .insight-card,
  .alignment-card {
    box-shadow: none;
  }

  .result-footer {
    min-height: 90px;
  }
}

/* PDF-aligned Version 6 assessment dashboard */

.pdf-dashboard-page {
  min-height: 100vh;
  overflow-x: hidden;
  color: #111;
  background: #e7e7e7;
  font-family: Arial, Helvetica, sans-serif;
}

.pdf-dashboard-toolbar {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid #ccd1d8;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.dashboard-toolbar-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 56px;
  object-fit: contain;
  transform: translate(-50%, -50%);
}

.pdf-dashboard-toolbar > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.pdf-toolbar-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pdf-toolbar-link {
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d2d9e4;
  border-radius: 5px;
  padding: 0 14px;
  color: var(--navy);
  background: #fff;
  text-decoration: none;
  font-size: 10px;
  font-weight: 800;
}

.pdf-toolbar-link:hover {
  border-color: var(--navy);
  background: #f3f6fa;
}

.pdf-toolbar-status > span {
  padding: 7px 10px;
  border-radius: 999px;
  color: #735000;
  background: #fff1c7;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 8px;
  font-weight: 800;
}

.pdf-toolbar-status button {
  min-height: 39px;
  border: 0;
  border-radius: 5px;
  padding: 0 16px;
  color: #fff;
  background: var(--navy);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.assessment-results-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 84% 18%, rgba(64, 138, 187, 0.16), transparent 27%),
    linear-gradient(135deg, #0d2f6b 0%, #071d4b 100%);
}

.assessment-results-hero::before {
  content: "";
  position: absolute;
  top: -285px;
  right: -95px;
  width: 650px;
  height: 650px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 115px rgba(255, 255, 255, 0.018),
    0 0 0 230px rgba(255, 255, 255, 0.012);
}

.assessment-results-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1260px, calc(100% - 56px));
  min-height: 390px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  align-items: center;
  gap: clamp(50px, 9vw, 120px);
  padding: 70px 0;
}

.assessment-results-copy {
  max-width: 720px;
}

.assessment-results-copy > p {
  margin: 0 0 11px;
  color: #ffca3f;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 9px;
  font-weight: 900;
}

.assessment-results-copy h1 {
  margin: 0;
  font-size: clamp(48px, 6vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.assessment-results-copy > span {
  max-width: 660px;
  display: block;
  margin-top: 25px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.7;
}

.assessment-results-logo {
  position: absolute;
  top: 32px;
  right: 0;
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 21px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.assessment-results-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.assessment-participant-card {
  width: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
}

.assessment-participant-avatar {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: #ffca3f;
  font-size: 16px;
  font-weight: 900;
}

.assessment-participant-card small,
.assessment-participant-card strong {
  display: block;
}

.assessment-participant-card small {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.58);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 8px;
  font-weight: 900;
}

.assessment-participant-card strong {
  font-size: 20px;
}

.assessment-results-menu {
  position: sticky;
  z-index: 25;
  top: 68px;
  border-bottom: 1px solid #d7dce4;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
}

.assessment-results-menu > div {
  width: min(1260px, calc(100% - 56px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
}

.assessment-results-menu a {
  padding: 23px 9px 20px;
  border-bottom: 3px solid transparent;
  color: #617089;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 10px;
  font-weight: 900;
}

.assessment-results-menu a:hover {
  border-bottom-color: #f05537;
  color: var(--navy);
}

.pdf-report {
  width: min(960px, calc(100% - 30px));
  margin: 36px auto 70px;
  display: grid;
  gap: 18px;
}

.pdf-report-sheet {
  position: relative;
  padding: 27px 27px 31px;
  border: 1px solid #d9dfe8;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 24px 65px rgba(8, 39, 95, 0.09);
  scroll-margin-top: 150px;
}

#motivation,
#routines {
  scroll-margin-top: 150px;
}

.pdf-report-header {
  min-height: 102px;
  display: grid;
  grid-template-columns: 1fr 95px;
  gap: 24px;
  align-items: start;
}

.pdf-report-header.compact {
  min-height: 88px;
  align-items: start;
}

.pdf-report-header h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(25px, 3.3vw, 33px);
  line-height: 1.1;
}

.pdf-report-title-block h1 {
  padding-left: 95px;
}

.pdf-report-header img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.pdf-participant-row {
  max-width: 520px;
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 14px;
  margin: 22px 0 0;
  font-size: 15px;
}

.pdf-participant-row > span {
  font-style: italic;
}

.pdf-participant-row strong {
  min-height: 29px;
  display: grid;
  place-items: center;
  border: 1px solid #d9dfe8;
  border-radius: 10px;
  background: #fff;
}

.pdf-introduction,
.pdf-section-copy,
.pdf-text-box p,
.pdf-legal-copy {
  font-size: 11.5px;
  line-height: 1.42;
}

.pdf-introduction {
  color: #65758f;
  font-size: 13px;
  line-height: 1.65;
}

.overview-development-heading {
  margin: 7px 0 32px;
  padding-bottom: 27px;
  border-bottom: 1px solid rgba(8, 39, 95, 0.1);
}

.overview-development-heading .section-kicker {
  color: var(--result-orange);
}

.overview-development-heading h2 {
  font-size: clamp(38px, 5vw, 60px);
}

.pdf-introduction p {
  margin: 14px 0;
}

.pdf-report-section {
  margin-top: 18px;
}

.pdf-report-section > h2,
.pdf-narrative-section > h2 {
  margin: 0 0 8px;
  text-align: center;
  font-size: 21px;
  line-height: 1.15;
}

.pdf-bordered-chart,
.pdf-text-box,
.pdf-score-card,
.pdf-profile-card,
.pdf-profile-title {
  border: 1px solid #d9dfe8;
  border-radius: 18px;
  background: #fff;
}

.pdf-bordered-chart {
  overflow: hidden;
}

.development-profile-chart {
  padding: 8px 13px 7px;
}

.pdf-current-capability-section .development-card {
  min-height: 390px;
  padding: 42px 38px 35px;
  border: 1px solid #d9dfe8;
  border-radius: 24px;
  box-shadow: none;
}

.pdf-current-capability-section .development-card h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(35px, 4.4vw, 49px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.pdf-current-capability-section .development-bars {
  margin-top: 52px;
}

.pdf-current-capability-section .card-label {
  color: var(--result-orange);
}

.pdf-execution-invention-section .matrix-card {
  min-height: 570px;
  padding: 39px 38px 34px;
  border: 1px solid #d9dfe8;
  border-radius: 24px;
  box-shadow: none;
}

.pdf-execution-invention-section .matrix-card h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 4.2vw, 48px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.pdf-execution-invention-section .card-label {
  color: var(--result-orange);
}

.pdf-execution-invention-section .profile-badge {
  padding: 13px 18px;
  color: var(--navy);
  background: #eef2f8;
  font-size: 10px;
}

.pdf-execution-invention-section .matrix-layout {
  width: 100%;
  max-width: none;
  margin: 45px auto 30px;
  padding-left: 48px;
}

.pdf-execution-invention-section .ei-matrix {
  height: 315px;
}

.pdf-execution-invention-section .matrix-y-label,
.pdf-execution-invention-section .matrix-x-label {
  color: #8795aa;
  font-size: 10px;
}

.pdf-execution-invention-section .matrix-x-label {
  right: auto;
  left: calc(50% + 24px);
  transform: translateX(-50%);
}

.pdf-execution-invention-section .matrix-quadrant {
  color: #7f92b0;
  font-size: 9px;
}

.pdf-execution-invention-section .card-narrative {
  margin: 0;
  color: #65758f;
  font-size: 15px;
  line-height: 1.75;
}

.development-profile-chart canvas {
  width: 100%;
  height: 245px;
  display: block;
}

.pdf-chart-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 2px 0 4px;
  font-size: 12px;
  font-weight: 700;
}

.pdf-chart-legend i,
.framework-legend i,
.framework-colour,
.framework-strength-legend i {
  width: 11px;
  height: 11px;
  display: inline-block;
  border: 1px solid #d9dfe8;
}

.pdf-legend-low { background: #f99b20; }
.pdf-legend-mid { background: #9bbb59; }
.pdf-legend-high { background: #77933c; }

.pdf-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.matrix-panel {
  position: relative;
  min-height: 215px;
  padding: 20px 30px 32px 54px;
}

.pdf-matrix {
  position: relative;
  height: 145px;
  border-left: 1px solid #b9b9b9;
  border-bottom: 1px solid #b9b9b9;
  background:
    repeating-linear-gradient(to right, transparent 0 calc(25% - 1px), #d3d3d3 calc(25% - 1px) 25%),
    repeating-linear-gradient(to top, transparent 0 calc(25% - 1px), #d3d3d3 calc(25% - 1px) 25%);
}

.pdf-matrix-threshold {
  position: absolute;
  display: block;
  background: #777;
}

.pdf-matrix-threshold.vertical {
  left: 65%;
  top: 0;
  width: 2px;
  height: 100%;
}

.pdf-matrix-threshold.horizontal {
  left: 0;
  bottom: 65%;
  width: 100%;
  height: 2px;
  background: #77933c;
}

.pdf-matrix-marker {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #666;
  transform: translate(-50%, 50%);
}

.pdf-matrix-axis-y,
.pdf-matrix-axis-x {
  position: absolute;
  color: #555;
  font-size: 16px;
  font-weight: 700;
}

.pdf-matrix-axis-y {
  left: 8px;
  top: 50%;
  transform: rotate(-90deg) translateX(-50%);
  transform-origin: left top;
}

.pdf-matrix-axis-x {
  left: 50%;
  bottom: 9px;
  transform: translateX(-50%);
}

.pdf-text-box {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px;
}

.pdf-text-box p {
  margin: 0;
}

.pdf-text-box p + p {
  margin-top: 10px;
}

.pdf-text-box.wide {
  min-height: 90px;
}

.motivation-report-section .pdf-section-copy {
  margin-bottom: 16px;
}

.motivation-chart {
  display: grid;
  gap: 8px;
  padding: 14px 18px;
}

.motivation-dashboard-section {
  margin-top: 30px;
}

.motivation-dashboard-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  margin-bottom: 20px;
}

.motivation-dashboard-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 4.2vw, 48px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.motivation-dashboard-heading > p {
  width: 100%;
  max-width: none;
  margin: 0;
  color: #65758f;
  font-size: var(--type-body-long);
  line-height: var(--leading-body-long);
}

.motivation-dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  gap: 18px;
  align-items: stretch;
}

.individual-motivation-card,
.combined-motivation-card {
  padding: 28px;
  border: 1px solid #d9dfe8;
  border-radius: 22px;
  box-shadow: none;
}

.individual-motivation-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: var(--type-card-title);
}

.motivation-scale-label {
  color: #8d99aa;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 8px;
  font-weight: 800;
}

.motivation-driver-bars {
  display: grid;
  gap: 11px;
  margin-top: 24px;
}

.motivation-driver-row > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 5px;
  color: #5f6f88;
  font-size: 10px;
}

.motivation-driver-row strong {
  color: var(--navy);
  font-size: 11px;
}

.motivation-driver-track {
  height: 8px;
  overflow: hidden;
  border-radius: 5px;
  background: #e6e9ee;
}

.motivation-driver-track i {
  height: 100%;
  display: block;
  border-radius: inherit;
}

.motivation-driver-track i.responsibility {
  background: #f05537;
}

.motivation-driver-track i.impact {
  background: #f0a525;
}

.motivation-driver-track i.intrinsic-energy {
  background: #49a8ac;
}

.motivation-driver-track i.agency {
  background: #a05a95;
}

.combined-motivation-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.combined-motivation-header {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 27px;
  color: #fff;
  background: var(--navy);
}

.combined-motivation-header span {
  color: rgba(255, 255, 255, 0.58);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
  font-weight: 800;
}

.combined-motivation-header strong {
  margin-top: 6px;
  font-size: 30px;
}

.combined-motivation-body {
  flex: 1;
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 22px;
  padding: 24px 25px 27px;
}

.combined-motivation-stack {
  width: 74px;
  height: 285px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #d3d9e2;
  border-radius: 13px;
  background: #eef0f4;
  box-shadow: 0 8px 19px rgba(8, 39, 95, 0.1);
}

.combined-motivation-segment {
  min-height: 32px;
  display: grid;
  place-items: center;
  border-bottom: 2px solid #fff;
  color: #fff;
  background: var(--segment-colour);
}

.combined-motivation-segment:last-child {
  border-bottom: 0;
}

.combined-motivation-segment strong {
  font-size: 13px;
}

.combined-motivation-key {
  display: grid;
  gap: 18px;
}

.combined-motivation-key > div {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 8px;
}

.combined-motivation-key i {
  width: 9px;
  height: 30px;
  border-radius: 5px;
}

.combined-motivation-key span,
.combined-motivation-key strong,
.combined-motivation-key small {
  display: block;
}

.combined-motivation-key strong {
  color: var(--navy);
  font-size: 15px;
}

.combined-motivation-key small {
  margin-top: 5px;
  color: #69768a;
  line-height: 1.35;
  font-size: 10.5px;
}

.combined-motivation-key small em {
  color: #7d889a;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.combined-motivation-key b {
  color: var(--navy);
  font-size: 12.5px;
  white-space: nowrap;
}

.motivation-dashboard-narrative {
  display: grid;
  grid-template-columns: minmax(190px, 0.65fr) minmax(0, 1.35fr);
  gap: 24px 36px;
  margin-top: 18px;
  padding: 27px 30px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, #0b2d69, #061c48);
}

.motivation-dashboard-narrative h3 {
  margin: 0;
  color: #fff;
  font-size: 23px;
  line-height: 1.1;
}

.motivation-dashboard-narrative > p,
.motivation-watchout p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  line-height: 1.65;
}

.motivation-watchout {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 25px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.motivation-watchout strong {
  color: #f5c258;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 8px;
}

.pdf-horizontal-metric {
  display: grid;
  grid-template-columns: minmax(155px, 45%) 1fr;
  align-items: center;
  gap: 12px;
}

.pdf-horizontal-metric > strong {
  color: #5e5e5e;
  text-align: right;
  font-size: 10.5px;
}

.pdf-horizontal-metric > div {
  height: 8px;
}

.pdf-horizontal-metric span {
  height: 100%;
  display: block;
  border: 1px solid #d9dfe8;
}

.pdf-horizontal-metric span.top { background: #92d050; }
.pdf-horizontal-metric span.middle { background: #c4d79b; }
.pdf-horizontal-metric span.bottom { background: #ffc000; }

.purpose-passion-grid {
  align-items: start;
}

.purpose-passion-grid .pdf-report-section {
  margin-top: 0;
}

.pdf-score-card {
  min-height: 205px;
  padding: 16px 25px 20px;
}

.pdf-half-gauge {
  --gauge-angle: 0deg;
  position: relative;
  width: min(210px, 90%);
  height: 105px;
  overflow: hidden;
  margin: 0 auto;
}

.pdf-half-gauge::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 200%;
  border-radius: 50%;
  background: conic-gradient(
    from 270deg,
    #ffc000 0 var(--gauge-angle),
    #ededed var(--gauge-angle) 180deg,
    transparent 50% 100%
  );
}

.pdf-half-gauge::after {
  content: "";
  position: absolute;
  left: 18%;
  top: 36%;
  width: 64%;
  height: 128%;
  border-radius: 50%;
  background: #fff;
}

.pdf-gauge-centre {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

.pdf-gauge-centre strong {
  font-size: 23px;
}

.pdf-gauge-labels {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 10px;
  font-size: 14px;
}

.pdf-profile-card {
  min-height: 225px;
  margin-top: 13px;
  padding: 14px;
}

.pdf-profile-card h3 {
  margin: 0 0 18px;
  color: #666;
  text-align: center;
  font-size: 14px;
}

.pdf-profile-metric {
  display: grid;
  grid-template-columns: minmax(115px, 42%) 1fr 20px;
  align-items: center;
  margin: 16px 0;
  gap: 7px;
}

.pdf-profile-metric > span {
  color: #555;
  text-align: right;
  font-size: 8px;
}

.pdf-profile-metric > div {
  height: 32px;
  border-left: 1px solid #aaa;
  background:
    repeating-linear-gradient(to right, transparent 0 calc(25% - 1px), #ddd calc(25% - 1px) 25%);
}

.pdf-profile-metric i {
  height: 100%;
  display: block;
  border: 1px solid #d9dfe8;
  background: #63779d;
}

.pdf-profile-metric strong {
  color: #444;
  font-size: 10px;
}

.routine-chart,
.core-drive-chart {
  padding: 12px 10px 4px;
}

.pdf-vertical-bars {
  min-height: 235px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 22px;
  padding: 8px 17px 0;
  background:
    repeating-linear-gradient(to top, transparent 0 calc(20% - 1px), #d4d4d4 calc(20% - 1px) 20%);
}

.pdf-vertical-metric {
  height: 225px;
  display: grid;
  grid-template-rows: 185px auto;
  gap: 8px;
  align-items: end;
  text-align: center;
}

.pdf-column-track {
  height: 185px;
  display: flex;
  align-items: end;
  background: #d9d9d9;
}

.pdf-column-track > span {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9dfe8;
  background: #c4d79b;
}

.pdf-column-track > span.dark {
  background: #77933c;
}

.pdf-column-track > span.belief {
  background: #e2b3b3;
}

.pdf-column-track > span.action {
  background: #fabf8f;
}

.pdf-column-track > span.outlook {
  background: #c4bd97;
}

.pdf-column-track strong {
  color: #333;
  font-size: 16px;
}

.pdf-vertical-metric p {
  margin: 0;
  color: #5d5d5d;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.15;
}

.framework-intro {
  margin: 0 0 16px;
}

.framework-column-headings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.framework-column-headings h2 {
  margin: 0 0 9px;
  text-align: center;
  font-size: 15px;
  line-height: 1.25;
}

.pdf-framework-definitions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 34px;
}

.pdf-framework-definitions article {
  position: relative;
  min-height: 62px;
  padding: 9px 42px 8px 10px;
  border: 1px solid #d9dfe8;
  border-radius: 14px;
  background: #fff;
}

.pdf-framework-definitions strong,
.pdf-framework-definitions p,
.pdf-framework-definitions em {
  display: block;
  margin: 0;
  font-size: 9px;
  line-height: 1.25;
}

.pdf-framework-definitions .framework-colour {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 24px;
  height: 24px;
  border: 0;
}

.intra { background: #7030a0; }
.inter { background: #c00000; }
.strategy { background: #4f81bd; }
.planning { background: #9bbb59; }

.framework-charts {
  margin-top: 10px;
}

.framework-radial-panel {
  min-height: 285px;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  align-items: center;
  padding: 8px;
}

.framework-radial-panel canvas {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 255px;
}

.framework-legend {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  gap: 18px;
  padding-left: 5px;
}

.framework-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 700;
}

.framework-strength-panel {
  min-height: 285px;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 25px 14px 14px;
}

.framework-strength-metric {
  height: 22px;
}

.framework-strength-metric > div {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border: 1px solid #d9dfe8;
  padding-right: 5px;
  color: #fff;
  background: var(--framework-colour);
  font-size: 9px;
}

.framework-strength-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 14px;
  margin-top: 4px;
}

.framework-strength-legend span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 8px;
}

.framework-strength-legend i {
  width: 8px;
  height: 8px;
}

.pdf-narrative-section {
  margin-top: 10px;
}

.pdf-narrative-section > h2 {
  text-align: left;
  font-size: 13px;
}

.pdf-narrative-section .pdf-text-box {
  min-height: 75px;
}

.pdf-agency-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 45px;
}

.pdf-profile-title {
  min-height: 55px;
  display: grid;
  place-items: center;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
}

.agency-narrative {
  min-height: 177px;
  margin-top: 28px;
}

.agency-impact-chart {
  min-height: 260px;
  display: grid;
  align-items: center;
  padding: 35px 14px;
}

.agency-impact-track {
  position: relative;
  height: 105px;
}

.agency-impact-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 48px;
  height: 8px;
  background: #d9d9d9;
}

.agency-impact-marker {
  position: absolute;
  top: 44px;
  width: 13px;
  height: 13px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--marker);
  box-shadow: 0 0 0 1px var(--marker);
}

.agency-impact-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 35px;
  background: var(--marker);
}

.agency-impact-marker strong {
  position: absolute;
  left: 50%;
  width: 90px;
  color: #505050;
  text-align: center;
  font-size: 12px;
  line-height: 1.3;
  transform: translateX(-50%);
}

.agency-impact-marker.esteem {
  --marker: #1f4e79;
  left: 45%;
}

.agency-impact-marker.esteem::after {
  bottom: 10px;
}

.agency-impact-marker.esteem strong {
  bottom: 44px;
}

.agency-impact-marker.agency {
  --marker: #5b9bd5;
  left: 62%;
}

.agency-impact-marker.agency::after {
  top: 10px;
}

.agency-impact-marker.agency strong {
  top: 44px;
}

.agency-scale-numbers {
  position: absolute;
  left: 5%;
  right: 0;
  top: 88px;
  display: flex;
  justify-content: space-between;
  color: #555;
  font-size: 10px;
}

.core-drives-section {
  margin-top: 38px;
}

.core-drive-chart {
  margin-top: 12px;
}

.core-drive-bars {
  min-height: 255px;
}

.core-drive-bars .pdf-vertical-metric {
  height: 245px;
  grid-template-rows: 195px auto;
}

.core-drive-bars .pdf-column-track {
  height: 195px;
}

.pdf-legal-copy {
  margin-top: 24px;
}

.pdf-legal-copy p {
  margin: 11px 0 0;
}

@media (max-width: 760px) {
  .framework-concept-legend {
    grid-template-columns: 1fr;
  }

  .dashboard-toolbar-logo {
    width: 54px;
    height: 44px;
  }

  .assessment-results-hero-inner {
    width: min(100% - 30px, 620px);
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 58px 0;
  }

  .assessment-results-logo {
    top: 18px;
    width: 82px;
    height: 82px;
    padding: 7px;
    border-radius: 14px;
  }

  .assessment-results-copy > p {
    font-size: 9px;
  }

  .assessment-results-copy h1 {
    font-size: clamp(50px, 15vw, 76px);
  }

  .assessment-results-copy > span {
    margin-top: 28px;
    font-size: 17px;
    line-height: 1.55;
  }

  .assessment-participant-card {
    width: 100%;
    margin: 0;
  }

  .assessment-participant-avatar {
    width: 58px;
    height: 58px;
  }

  .assessment-results-menu {
    overflow-x: auto;
  }

  .assessment-results-menu > div {
    width: max-content;
    min-width: 100%;
    grid-template-columns: repeat(6, minmax(120px, 1fr));
  }

  .assessment-results-menu a {
    padding-inline: 16px;
  }

  .pdf-report {
    width: min(100% - 18px, 620px);
    margin-top: 16px;
  }

  .pdf-report-sheet {
    padding: 20px 15px 24px;
  }

  .passion-purpose-dashboard-section,
  .restored-dashboard-sections {
    width: min(100% - 18px, 620px);
  }

  .passion-purpose-dashboard-section,
  .restored-dashboard-sections .result-section {
    padding-inline: 15px;
  }

  .passion-purpose-dashboard-section {
    --pp-section-inline: 15px;
  }

  .navy-section {
    padding-inline: 15px !important;
  }

  .pdf-report-header,
  .pdf-report-header.compact {
    min-height: 80px;
    grid-template-columns: 1fr 65px;
  }

  .pdf-report-header img {
    width: 65px;
    height: 65px;
  }

  .pdf-report-title-block h1 {
    padding-left: 65px;
  }

  .pdf-participant-row {
    grid-template-columns: 85px 1fr;
  }

  .pdf-two-column,
  .framework-column-headings,
  .pdf-framework-definitions,
  .pdf-agency-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .framework-column-headings h2:nth-child(2) {
    display: none;
  }

  .framework-charts {
    gap: 12px;
  }

  .pdf-framework-definitions {
    gap: 7px;
  }

  .pdf-vertical-bars {
    gap: 8px;
    padding-inline: 5px;
  }

  .pdf-vertical-metric p {
    overflow-wrap: anywhere;
    font-size: 8px;
  }

  .pdf-column-track strong {
    font-size: 12px;
  }

  .motivation-dashboard-heading,
  .motivation-dashboard-layout,
  .motivation-dashboard-narrative {
    grid-template-columns: 1fr;
  }

  .motivation-dashboard-heading {
    gap: 13px;
  }

  .motivation-dashboard-narrative {
    gap: 18px;
  }

  .motivation-watchout {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .pdf-dashboard-toolbar {
    min-height: 58px;
  }

  .pdf-toolbar-status > span {
    display: none;
  }

  .pdf-report-header h1 {
    font-size: 22px;
  }

  .assessment-results-hero-inner {
    min-height: 0;
  }

  .assessment-results-copy h1 {
    font-size: 52px;
  }

  .assessment-participant-card strong {
    font-size: 23px;
  }

  .pdf-participant-row {
    grid-column: 1 / -1;
    font-size: 12px;
  }

  .development-profile-chart {
    overflow-x: auto;
  }

  .development-profile-chart canvas {
    min-width: 600px;
  }

  .pdf-horizontal-metric {
    grid-template-columns: 130px 1fr;
  }

  .pdf-score-card {
    min-height: 190px;
  }

  .framework-radial-panel {
    grid-template-columns: 1fr;
  }

  .framework-radial-panel canvas,
  .framework-legend {
    grid-column: 1;
  }

  .framework-radial-panel canvas {
    grid-row: 1;
  }

  .framework-legend {
    grid-row: 2;
    grid-template-columns: 1fr 1fr;
  }

  .combined-motivation-body {
    grid-template-columns: 80px 1fr;
    padding-inline: 18px;
  }
}

@media print {
  .pdf-dashboard-page {
    background: #fff;
  }

  .pdf-dashboard-toolbar {
    display: none;
  }

  .pdf-report {
    width: 100%;
    margin: 0;
    gap: 0;
  }

  .pdf-report-sheet {
    min-height: 100vh;
    break-after: page;
    border-width: 1.5px;
    box-shadow: none;
  }

  .pdf-report-sheet:last-child {
    break-after: auto;
  }
}

@media (max-width: 620px) {
  .pdf-toolbar-link {
    display: none;
  }
}
.offline-test-banner {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.75rem max(1.5rem, calc((100vw - 1120px) / 2));
  background: #0d2f69;
  color: #fff;
  border-bottom: 3px solid #ef5b35;
  font-family: inherit;
}

.offline-test-banner > div {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  min-width: 0;
}

.offline-test-banner strong {
  color: #ffd04d;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.offline-test-banner span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
}

.offline-test-banner nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.offline-test-banner a {
  padding: 0.42rem 0.7rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.offline-test-banner a:hover,
.offline-test-banner a:focus-visible,
.offline-test-banner a[aria-current="page"] {
  color: #0d2f69;
  background: #fff;
}

@media (max-width: 760px) {
  .offline-test-banner,
  .offline-test-banner > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .offline-test-banner nav {
    justify-content: flex-start;
  }
}

@media print {
  .offline-test-banner {
    display: none !important;
  }
}

/* Candidate report printing */

.assessment-report-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 9px;
  font-weight: 700;
}

.print-report-brand {
  display: none;
}

/* Results Overview embeds the report content without repeating the standalone
   report header, cover and navigation. The original standalone report remains
   unchanged unless the explicit `embedded=1` query parameter is present. */
html.embedded-results body {
  background: #f4f5f7;
}

html.embedded-results .pdf-dashboard-toolbar {
  display: none !important;
}

html.embedded-results .pdf-dashboard-toolbar > a,
html.embedded-results .dashboard-toolbar-logo,
html.embedded-results .pdf-toolbar-link,
html.embedded-results .offline-test-banner,
html.embedded-results .assessment-results-hero,
html.embedded-results .assessment-results-menu {
  display: none !important;
}

html.embedded-results .pdf-toolbar-status {
  width: 100%;
  justify-content: flex-end;
}

html.embedded-results body a,
html.embedded-results body button:not(#print-dashboard) {
  display: none !important;
}

html.embedded-results #print-dashboard {
  display: inline-flex !important;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding-inline: 22px;
}

html.embedded-results .pdf-report {
  padding-top: 0;
}

@media (max-width: 720px) {
  html.embedded-results .pdf-dashboard-toolbar {
    min-height: 64px;
    padding: 8px 12px;
  }

  html.embedded-results #print-dashboard {
    width: 100%;
  }
}

/* Assessment results light shell — aligned with the Results Overview page. */
@media screen {
  .pdf-dashboard-page {
    color: #17315c;
    background: #f3f6f8;
    font-family: "Source Sans 3", Aptos, "Segoe UI", sans-serif;
  }

  .pdf-dashboard-page.hide-offline-test-banner .offline-test-banner {
    display: none !important;
  }

  .pdf-dashboard-toolbar {
    min-height: 84px;
    padding: 0 32px;
    border-bottom: 1px solid #d9e1e9;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
  }

  .dashboard-toolbar-logo {
    width: 72px;
    height: 60px;
  }

  .pdf-dashboard-toolbar > a,
  .pdf-toolbar-link,
  .pdf-toolbar-status button,
  .assessment-results-copy > p,
  .assessment-results-copy h1,
  .assessment-participant-card small,
  .assessment-participant-card strong,
  .assessment-results-menu a {
    font-family: "Montserrat", "Avenir Next", Avenir, "Segoe UI", sans-serif;
  }

  .pdf-dashboard-toolbar > a {
    color: #0c2659;
    font-size: 16px;
    font-weight: 800;
  }

  .pdf-toolbar-link {
    min-height: 44px;
    padding: 0 18px;
    border-color: #ccd7e3;
    border-radius: 8px;
    color: #0c2659;
    font-size: 13px;
  }

  .pdf-toolbar-status button {
    min-height: 44px;
    padding: 0 20px;
    border-radius: 8px;
    background: #0c2659;
    font-size: 13px;
    font-weight: 800;
  }

  .assessment-results-hero {
    color: #17315c;
    background: #fff;
    border-bottom: 1px solid #d9e1e9;
  }

  .assessment-results-hero::before {
    top: -360px;
    right: -230px;
    width: 690px;
    height: 690px;
    border-color: rgba(207, 79, 32, 0.12);
    box-shadow:
      0 0 0 120px rgba(233, 121, 56, 0.025),
      0 0 0 240px rgba(233, 121, 56, 0.018);
  }

  .assessment-results-hero-inner {
    width: min(100%, 1280px);
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
    gap: clamp(36px, 6vw, 88px);
    padding: 38px 32px 36px;
  }

  .assessment-results-copy {
    max-width: 760px;
  }

  .assessment-results-copy > p {
    margin-bottom: 10px;
    color: #cf4f20;
    font-size: 12px;
    letter-spacing: 0.16em;
  }

  .assessment-results-copy h1 {
    max-width: 17ch;
    color: #0c2659;
    font-size: clamp(40px, 4.5vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.035em;
    font-weight: 800;
  }

  .assessment-results-copy > span {
    max-width: 740px;
    margin-top: 14px;
    color: #5f708b;
    font-size: 17px;
    line-height: 1.62;
  }

  .assessment-participant-card {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    padding: 22px;
    border: 1px solid #eadbd2;
    border-radius: 16px;
    color: #17315c;
    background: #fff8f4;
    box-shadow: 0 14px 40px rgba(12, 38, 89, 0.06);
    backdrop-filter: none;
  }

  .assessment-participant-avatar {
    color: #fff;
    background: #cf4f20;
  }

  .assessment-participant-card small {
    color: #955071;
  }

  .assessment-participant-card strong {
    color: #0c2659;
  }

  .assessment-report-meta {
    color: #5f708b;
  }

  .assessment-results-menu {
    top: 84px;
    border-bottom-color: #d9e1e9;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
  }

  .assessment-results-menu > div {
    width: 100%;
    min-height: 68px;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 4px;
    padding-inline: 16px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .assessment-results-menu a {
    position: relative;
    min-width: max-content;
    min-height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px clamp(14px, 2.6vw, 28px);
    border-bottom: 0;
    color: #5f708b;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.05em;
  }

  .assessment-results-menu a::after {
    content: "";
    position: absolute;
    right: 16px;
    bottom: 0;
    left: 16px;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: transparent;
  }

  .assessment-results-menu a:hover,
  .assessment-results-menu a[aria-current="page"] {
    border-bottom-color: transparent;
    color: #0c2659;
  }

  .assessment-results-menu a[aria-current="page"] {
    background: #fff1ec;
  }

  .assessment-results-menu a:hover::after,
  .assessment-results-menu a[aria-current="page"]::after {
    background: #e97938;
  }
}

@media screen and (max-width: 720px) {
  .pdf-dashboard-toolbar {
    min-height: 70px;
    padding: 8px 16px;
  }

  .dashboard-toolbar-logo {
    width: 58px;
    height: 48px;
  }

  .pdf-dashboard-toolbar > a {
    font-size: 14px;
  }

  .pdf-toolbar-status button {
    min-height: 42px;
    padding-inline: 14px;
    font-size: 12px;
  }

  .assessment-results-hero-inner {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 26px 20px 30px;
  }

  .assessment-results-copy h1 {
    font-size: 38px;
  }

  .assessment-results-copy > span {
    font-size: 15px;
    line-height: 1.45;
  }

  .assessment-participant-card {
    padding: 18px;
  }

  .assessment-participant-card strong {
    font-size: 20px;
  }

  .assessment-results-menu {
    top: 70px;
  }

  .assessment-results-menu > div {
    width: max-content;
    min-width: 100%;
    justify-content: flex-start;
    padding-inline: 8px;
  }
}

.print-status-message {
  position: sticky;
  z-index: 45;
  top: 68px;
  width: min(960px, calc(100% - 30px));
  margin: 12px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px;
  border: 1px solid #efb8a9;
  border-radius: 12px;
  color: var(--navy);
  background: #fff3ef;
  box-shadow: 0 10px 30px rgba(8, 39, 95, 0.12);
}

.print-status-message[hidden] {
  display: none;
}

.print-status-message > div {
  display: grid;
  gap: 3px;
}

.print-status-message strong {
  font-size: 13px;
}

.print-status-message span {
  color: #65758f;
  font-size: 11px;
  line-height: 1.45;
}

.print-status-message button {
  min-height: 36px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 7px;
  padding: 0 13px;
  color: #fff;
  background: #d35a32;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

@media print {
  @page {
    size: A4 portrait;
    margin: 11mm 10mm 13mm;
  }

  html,
  body.pdf-dashboard-page {
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    overflow: visible !important;
    color: #111 !important;
    background: #fff !important;
  }

  body.pdf-dashboard-page {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    font-size: 9pt;
  }

  .pdf-dashboard-toolbar,
  .assessment-results-menu,
  .offline-test-banner,
  .print-status-message,
  .next-step-actions,
  [hidden] {
    display: none !important;
  }

  .assessment-results-hero {
    min-height: 250mm;
    margin: 0;
    overflow: hidden;
    break-after: page;
    page-break-after: always;
    border-radius: 0;
  }

  .assessment-results-hero-inner {
    width: 100%;
    min-height: 250mm;
    grid-template-columns: minmax(0, 1.22fr) minmax(62mm, 0.78fr);
    align-content: center;
    gap: 12mm;
    padding: 25mm 8mm 18mm;
  }

  .print-report-brand {
    position: absolute;
    top: 9mm;
    right: 8mm;
    width: 33mm;
    height: 33mm;
    display: grid;
    place-items: center;
    padding: 3mm;
    border-radius: 5mm;
    background: #fff;
  }

  .print-report-brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .assessment-results-copy h1 {
    font-size: 45pt;
  }

  .assessment-results-copy > span {
    font-size: 12pt;
  }

  .assessment-participant-card {
    grid-template-columns: 18mm 1fr;
    padding: 7mm;
  }

  .assessment-participant-avatar {
    width: 18mm;
    height: 18mm;
  }

  .assessment-report-meta {
    display: flex !important;
    font-size: 7.5pt;
  }

  .pdf-report,
  .passion-purpose-dashboard-section,
  .restored-dashboard-sections {
    left: auto !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    transform: none !important;
  }

  .pdf-report {
    display: block;
  }

  .pdf-report-sheet {
    min-height: 0 !important;
    padding: 0 !important;
    break-after: auto !important;
    page-break-after: auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .overview-development-heading,
  .pdf-introduction,
  .pdf-report-section,
  .result-section,
  .restored-dashboard-sections .result-section,
  .next-step-panel {
    width: 100% !important;
  }

  .overview-development-heading {
    margin-top: 0;
    padding-top: 0;
  }

  .pdf-current-capability-section {
    break-before: auto;
    page-break-before: auto;
  }

  .pdf-execution-invention-section,
  .motivation-dashboard-section,
  .passion-purpose-dashboard-section,
  #routines,
  #frameworks,
  #drive {
    break-before: page;
    page-break-before: always;
  }

  .pdf-report-section,
  .result-section,
  .restored-dashboard-sections .result-section,
  .passion-purpose-dashboard-section {
    margin: 0 !important;
    padding: 8mm 0 !important;
    border-top: 0 !important;
  }

  .section-heading,
  .motivation-dashboard-heading {
    gap: 8mm;
    margin-bottom: 7mm;
  }

  .section-heading h2,
  .motivation-dashboard-heading h2,
  .next-step-panel h2,
  .overview-development-heading h2 {
    font-size: 28pt !important;
  }

  .section-heading > p,
  .motivation-dashboard-heading > p,
  .next-step-panel > div > p:last-child,
  .pdf-introduction {
    font-size: 9.5pt !important;
  }

  .dashboard-card,
  .alignment-card,
  .motivation-dashboard-narrative,
  .routine-focus-card,
  .framework-insights > article,
  .next-step-panel {
    break-inside: avoid;
    page-break-inside: avoid;
    box-shadow: none !important;
  }

  .motivation-dashboard-layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr) !important;
    gap: 5mm !important;
  }

  .motivation-dashboard-layout .dashboard-card {
    min-height: 0 !important;
  }

  .motivation-dashboard-narrative {
    margin-top: 5mm !important;
    padding: 7mm !important;
  }

  .pp-grid,
  .drive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 5mm !important;
  }

  .pp-card,
  .agency-card,
  .drive-grid > .dashboard-card {
    min-height: 0 !important;
    padding: 7mm !important;
  }

  .pp-card .mini-score-list {
    gap: 4mm;
    margin-top: 6mm;
  }

  .alignment-card {
    grid-column: 1 / -1;
    padding: 7mm !important;
  }

  .pdf-current-capability-section .development-card,
  .pdf-execution-invention-section .matrix-card {
    min-height: 0;
  }

  .next-step-panel {
    display: block;
    margin: 6mm 0 0 !important;
    padding: 9mm !important;
  }

  .score-ring,
  canvas,
  .matrix-marker,
  .agency-point,
  .agency-connection {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}

/* Interpretation typography standard
   Applied consistently to result explanations while preserving chart labels,
   scores and major section headings. */
.pdf-execution-invention-section .card-narrative,
.motivation-dashboard-narrative > p,
.motivation-watchout p,
.alignment-card p,
.routine-focus-card p:not(.card-label),
.framework-insights p,
.agency-card .card-narrative {
  font-size: var(--type-interpretation-body);
  line-height: var(--leading-body);
}

.motivation-dashboard-narrative h3,
.alignment-card h3,
.routine-focus-card h3,
.routine-focus-card h4,
.framework-insights h3,
.agency-card .card-heading h3 {
  font-size: var(--type-interpretation-heading);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.card-label,
.motivation-watchout strong {
  font-size: var(--type-label);
  line-height: 1.2;
}

/* Development Profile typography
   Keep the chart readable at the same scale as the dashboard's supporting
   typography. The former 8-9px labels fell below the agreed minimum. */
.pdf-current-capability-section .score-name strong {
  font-size: 16px;
  line-height: 1.25;
}

.pdf-current-capability-section .score-name span {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.35;
}

.pdf-current-capability-section .score-number {
  font-size: 18px;
  line-height: 1;
}

.pdf-current-capability-section .band-legend {
  font-size: 12px;
  line-height: 1.2;
}

/* Routine score treatment
   Present both scores as compact badges immediately beside their names,
   matching the printed report without changing the underlying values. */
.routine-focus-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto auto auto auto auto auto;
  column-gap: 14px;
  align-content: start;
}

.routine-focus-card > .card-label:first-child {
  grid-column: 1 / -1;
  grid-row: 1;
}

.routine-focus-card > h3 {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
}

#routine-strongest-score {
  grid-column: 1;
  grid-row: 2;
}

#routine-strongest-text {
  grid-column: 1 / -1;
  grid-row: 3;
}

.routine-focus-card > hr {
  grid-column: 1 / -1;
  grid-row: 4;
  width: 100%;
}

.routine-focus-card > hr + .card-label {
  grid-column: 1 / -1;
  grid-row: 5;
}

.routine-focus-card > h4 {
  grid-column: 2;
  grid-row: 6;
  align-self: center;
}

#routine-development-score {
  grid-column: 1;
  grid-row: 6;
}

#routine-development-text {
  grid-column: 1 / -1;
  grid-row: 7;
}

#routine-strongest-score,
#routine-development-score {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: 50%;
  color: #fff;
  background: #d85a2d;
  box-shadow: 0 5px 13px rgba(7, 34, 84, 0.16);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

#routine-development-score {
  background: #d85d74;
}
/* Approved origami navigation system: master headings only. */
.master-icon-tile {
  width: 78px;
  height: 78px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  padding: 7px;
  overflow: hidden;
  border: 1px solid #e3e6ea;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(12, 38, 89, 0.055);
}

.master-icon-tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.master-icon-tile-development {
  width: 78px;
  height: 78px;
}

.master-icon-tile-wide {
  width: 78px;
  height: 78px;
}

.master-icon-tile-drive img {
  object-position: 50% 42%;
}

.overview-development-heading,
.motivation-dashboard-heading,
.result-section > .section-heading {
  position: relative;
  padding-right: 100px;
}

.overview-development-heading > .master-icon-tile,
.motivation-dashboard-heading > .master-icon-tile,
.result-section > .section-heading > .master-icon-tile {
  position: absolute;
  top: 0;
  right: 0;
}

.overview-development-heading {
  padding-right: 100px;
}

.heading-meta-stack {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.pp-card {
  position: relative;
}

.pp-topline > div:first-child {
  position: relative;
  padding-top: 75px;
}

.pp-master-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 62px;
  height: 62px;
  padding: 5px;
  border-radius: 12px;
  box-shadow: none;
}

@media (max-width: 760px) {
  .master-icon-tile {
    width: 68px;
    height: 68px;
  }

  .master-icon-tile-development {
    width: 68px;
    height: 68px;
  }

  .master-icon-tile-wide {
    width: 68px;
    height: 68px;
  }

  .overview-development-heading,
  .motivation-dashboard-heading,
  .result-section > .section-heading {
    padding-right: 88px;
  }

  .overview-development-heading {
    padding-right: 88px;
  }

  .pp-master-icon {
    width: 58px;
    height: 58px;
  }

  .pp-topline > div:first-child {
    padding-top: 69px;
  }
}

@media (max-width: 520px) {
  .overview-development-heading,
  .motivation-dashboard-heading,
  .result-section > .section-heading {
    padding-right: 0;
  }

  .overview-development-heading > .master-icon-tile,
  .motivation-dashboard-heading > .master-icon-tile,
  .result-section > .section-heading > .master-icon-tile {
    position: static;
    grid-row: 1;
    margin-bottom: 4px;
  }

  .heading-meta-stack {
    align-items: flex-start;
  }
}

@media print {
  .master-icon-tile {
    width: 21mm !important;
    height: 21mm !important;
    padding: 1.8mm !important;
    border-radius: 3mm !important;
    box-shadow: none !important;
  }

  .master-icon-tile-development {
    width: 21mm !important;
    height: 21mm !important;
  }

  .master-icon-tile-wide {
    width: 21mm !important;
    height: 21mm !important;
  }

  .overview-development-heading,
  .motivation-dashboard-heading,
  .result-section > .section-heading {
    padding-right: 27mm !important;
  }

  .overview-development-heading {
    padding-right: 27mm !important;
  }

  .heading-meta-stack {
    gap: 2.5mm;
  }

  .pp-master-icon {
    top: 0;
    width: 18mm !important;
    height: 18mm !important;
    padding: 1.3mm !important;
  }

  .pp-topline > div:first-child {
    padding-top: 21mm;
  }
}
