/* Career assessment visual system, aligned with the existing AI assessment. */
:root {
  --navy: #0d315f;
  --blue: #1558ad;
  --orange: #eb8732;
  --ink: #14345d;
  --muted: #647b99;
  --line: #dce6f1;
  --pale: #f3f7fb;
  color: var(--ink);
  background: #f5f8fc;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body { background: #f5f8fc; }
h1, h2, h3, p { overflow-wrap: anywhere; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, label:focus-within {
  outline-color: #2470c5;
}
.eyebrow { color: var(--orange); font-size: 11px; letter-spacing: .15em; }
.site-head {
  height: 66px;
  background: #fff;
  color: var(--navy);
  border-bottom: 1px solid #e5edf5;
  box-shadow: 0 2px 12px #0f30590a;
  padding-inline: max(4vw, calc((100vw - 1200px)/2));
}
.site-head .brand { width: 160px; }
.site-head > span { font-size: 13px; letter-spacing: 0; }
.head-back { color: var(--blue); opacity: 1; font-weight: 700; }
.head-back:hover { text-decoration: underline; }
.button { min-height: 46px; padding: 10px 22px; border-radius: 6px; font-size: 14px; font-weight: 700; box-shadow: none; }
.button-blue, .button-orange { background: var(--blue); color: #fff; box-shadow: 0 7px 16px #0e4eaa20; }
.button-blue:hover:not(:disabled), .button-orange:hover:not(:disabled) { background: #0e4899; }
.button-quiet { border: 1px solid #cbdcf0; background: #f8fbff; color: var(--blue); }
.button-quiet:hover:not(:disabled) { background: #ecf4fd; }
.button:disabled { box-shadow: none; }
.small-note { font-size: 12px; }

/* Entry: photographic chapter cover and one clear action. */
.hero {
  min-height: 615px;
  background-image: linear-gradient(90deg, #082952f0 0%, #0a315dcc 40%, #0a315d55 66%, #0b2a4e05 100%), url('./career-hero-v3.png');
  background-position: center, center 53%;
  background-size: cover;
  align-items: center;
}
.hero-inner {
  width: min(625px, 90vw);
  margin-left: max(4vw, calc((100vw - 1200px)/2));
  padding: 52px 0 56px;
  animation: enterUp .5s ease both;
}
.hero h1 {
  position: relative;
  width: min(620px, 90vw);
  height: 190px;
  overflow: hidden;
  margin: 13px 0 9px;
}
.hero h1 img { position: absolute; width: 620px; max-width: none; left: -4px; top: -65px; display: block; }
.hero p { font-size: 16px; line-height: 1.7; max-width: 540px; margin: 0; color: #e7f0fc; }
.entry-panel {
  width: min(450px, 100%);
  margin-top: 30px;
  padding: 21px 24px 23px;
  background: #fff;
  color: var(--ink);
  border-radius: 9px;
  box-shadow: 0 14px 40px #061b3f35;
}
.entry-panel-heading { display: grid; gap: 2px; }
.entry-panel-heading strong { font-size: 16px; }
.entry-panel-heading span { font-size: 12px; color: var(--muted); }
.entry-action { display: grid; align-items: stretch; gap: 12px; margin: 17px 0 0; }
.entry-action > label { color: var(--ink); font-weight: 700; font-size: 12px; }
.entry-action input { min-width: 0; width: 100%; border-radius: 5px; }
.entry-action .button { width: 100%; justify-content: space-between; }
.entry-action .form-error { color: #a72e39; }
.form-error:empty { display: none; }
.intro {
  width: min(1200px, 92vw);
  padding: 37px 0 34px;
}
.intro-heading { display: block; padding: 0 0 18px; }
.intro-heading .eyebrow { color: var(--orange); }
.intro-heading h2 { font-size: 27px; line-height: 1.35; margin: 6px 0 0; letter-spacing: -.025em; }
.intro-list { gap: 0; padding: 17px 0 20px; }
.intro-list > div { border-left: 1px solid #d1deed; padding: 2px 28px 2px 23px; }
.intro-list > div:first-child { border-left: 0; padding-left: 0; }
.intro-list i { font-size: 12px; color: var(--orange); }
.intro-list strong { font-size: 17px; margin: 5px 0 2px; }
.intro-list p { font-size: 13px; line-height: 1.65; }

/* Personal-information page. */
.inner-page, .question-page, .report-page { width: min(1200px, 92vw); }
.stepper { padding: 18px 0; font-size: 12px; gap: clamp(25px, 5vw, 75px); }
.stepper i { width: 24px; height: 24px; font-size: 10px; }
.profile-layout { grid-template-columns: .76fr 1.24fr; gap: 5vw; padding: 34px 0 58px; }
.profile-intro { padding: 16px 0; }
.profile-intro h1 { font-size: clamp(33px, 3vw, 43px); line-height: 1.25; margin: 13px 0; }
.profile-intro > p { font-size: 15px; line-height: 1.8; }
.profile-aside { margin-top: 38px; border-left-width: 2px; background: #edf4fb; padding: 14px 18px; }
.profile-form { border-radius: 9px; box-shadow: 0 10px 30px #1538600b; padding: 29px; gap: 17px; }
.form-heading { padding-bottom: 16px; }
.form-heading h2 { font-size: 24px; }
.form-heading p { line-height: 1.65; }
.profile-form input, .profile-form select, .unlock input { border-radius: 5px; }

/* Assessment workspace: one question and full-width choices. */
.question-shell {
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 500px;
  margin: 24px 0 48px;
  border-radius: 9px;
  box-shadow: 0 12px 35px #12396210;
}
.question-rail { background: #0c3262; padding: 31px 25px; }
.question-rail h1 { font-size: 26px; line-height: 1.35; margin: 11px 0 13px; }
.question-rail > p { font-size: 12px; line-height: 1.7; }
.question-rail > small { font-size: 11px; }
.section-list { margin: 31px 0; gap: 1px; }
.section-list div { padding: 8px 0; }
.section-list .active { border-left-color: #f0a155; }
.section-list span { font-size: 12px; }
.question-main { padding: 36px clamp(28px, 5vw, 70px) 30px; }
.question-topline { font-size: 12px; letter-spacing: .05em; }
.progress-track { margin: 13px 0 32px; background: #e7eef7; }
.progress-track i { background: var(--blue); }
.question-main h2 { font-size: clamp(24px, 2.3vw, 31px); line-height: 1.48; margin-bottom: 23px; font-weight: 700; }
.answer-grid { grid-template-columns: minmax(0, 1fr); gap: 9px; }
.answer-option, .scale-option { min-height: 58px; border-radius: 5px; padding: 11px 16px; }
.answer-option i { width: 28px; height: 28px; background: #f2f6fb; }
.answer-option span { font-size: 14px; }
.answer-option.selected, .scale-option.selected { background: #edf5ff; border-color: #468bd3; box-shadow: inset 3px 0 0 var(--blue); }
.scale-option { min-height: 83px; }
.scale-option strong { font-size: 20px; }
.question-actions { padding-top: 25px; }

/* Report: a readable document instead of stacked promotional cards. */
.report-page { padding-bottom: 48px; }
.report-hero {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 24px;
  padding: 34px 40px;
}
.report-hero::after { display: none; }
.report-hero > p { color: var(--muted); margin: 7px 0; font-size: 14px; }
.report-hero h1 { font-size: clamp(43px, 5vw, 65px); letter-spacing: .06em; color: var(--blue); margin: 7px 0 14px; }
.report-hero .eyebrow { color: var(--orange); }
.code-meaning span { background: #edf4fb; color: var(--blue); font-size: 12px; padding: 6px 10px; }
.report-hero .report-lede { color: var(--ink); font-size: 16px; margin-top: 18px; }
.pending-note { color: #9b5c18 !important; }
.report-preview { background: #fff; border: 1px solid var(--line); border-top: 0; padding: 30px 40px 35px; }
.section-heading .eyebrow { color: var(--orange); }
.section-heading h2 { font-size: 27px; margin: 6px 0; }
.section-heading p { font-size: 13px; }
.direction-list { margin-top: 19px; }
.direction-item { padding: 16px 8px; background: transparent; }
.direction-index { color: var(--orange); font-size: 12px; }
.direction-item h3 { font-size: 17px; }
.direction-item > strong { font-size: 23px; }
.finding-strip { margin-top: 20px; background: #dae5f0; }
.finding-strip > div { background: #f1f6fb; padding: 16px 19px; }
.finding-strip span { margin-bottom: 3px; }
.unlock { margin-top: 22px; background: #edf4fb; color: var(--ink); border: 1px solid var(--line); padding: 29px 35px; border-radius: 8px; }
.unlock h2 { font-size: 27px; }
.unlock p { color: var(--muted); font-size: 14px; }
.unlock .eyebrow { color: var(--orange); }
.unlock form { border: 1px solid var(--line); box-shadow: none; padding: 20px; }
.report-tools { padding: 24px 0 17px; }
.full-report { background: #fff; margin-top: 22px; padding: 0 40px 20px; border: 1px solid var(--line); border-radius: 8px; }
.report-chapter { border: 0; border-radius: 0; box-shadow: none; border-top: 1px solid var(--line); padding: 30px 0 33px; min-height: 0; margin: 0; }
.report-chapter .eyebrow { color: var(--orange); }
.report-chapter h2 { font-size: clamp(23px, 2.2vw, 30px); margin: 7px 0 15px; }
.report-chapter > p { font-size: 14px; line-height: 1.8; }
.chapter-mark { font-size: 58px; color: #d9e7f8; }
.score-list { margin: 19px 0; }
.score-list b { background: var(--blue); }
.value-rank li { background: #eff5fb; padding: 14px 17px; font-size: 14px; }
.big-figure { font-size: 57px; }
.dual-track div { background: #f1f6fb; }
.report-ending { background: #f1f6fb; color: var(--ink); padding: 27px; }
.report-ending p { color: var(--muted); }
.report-ending .eyebrow { color: var(--orange); }
.report-bottom { margin-top: 16px; }

@keyframes enterUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .hero-inner { animation: none; }
  .button, .answer-option, .scale-option { transition: none; }
}
@media (max-width: 900px) {
  .profile-layout { grid-template-columns: 1fr; gap: 12px; }
  .profile-intro { position: static; }
  .question-shell { grid-template-columns: 1fr; }
  .question-rail { padding: 16px 24px; }
  .question-rail h1, .question-rail > p, .question-rail > small { display: none; }
  .section-list { margin: 8px 0 0; }
  .question-main { min-height: 0; }
  .unlock { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  :root { font-size: 14px; }
  .site-head { height: 58px; padding-inline: 5vw; }
  .site-head .brand { width: 122px; }
  .site-head > span { font-size: 10px; }
  .hero { min-height: 525px; align-items: flex-end; background-image: linear-gradient(0deg, #082952fa 0%, #082952ed 42%, #08295255 100%), url('./career-hero-v3.png'); background-position: center, 67% center; }
  .hero-inner { width: 90vw; margin-left: 5vw; padding: 42px 0 37px; }
  .hero h1 { width: 90vw; height: calc(90vw * .305); max-height: 125px; margin: 10px 0 5px; }
  .hero h1 img { width: 90vw; left: -2px; top: calc(90vw * -.106); }
  .hero p { font-size: 14px; line-height: 1.65; }
  .entry-panel { padding: 17px 19px 19px; margin-top: 21px; }
  .entry-panel-heading strong { font-size: 15px; }
  .entry-action { margin-top: 13px; }
  .intro { width: 90vw; padding: 28px 0; }
  .intro-heading h2 { font-size: 23px; }
  .intro-list { grid-template-columns: 1fr; padding: 12px 0; }
  .intro-list > div, .intro-list > div:first-child { border-left: 0; border-bottom: 1px solid var(--line); padding: 10px 0; }
  .intro-list strong { font-size: 16px; }
  .inner-page, .question-page, .report-page { width: 92vw; }
  .stepper { gap: 9px; font-size: 11px; justify-content: space-between; }
  .stepper span { gap: 4px; }
  .stepper i { width: 22px; height: 22px; }
  .profile-layout { padding: 24px 0 40px; }
  .profile-intro h1 { font-size: 33px; }
  .profile-intro > p { font-size: 14px; }
  .profile-aside { margin-top: 22px; }
  .profile-form { padding: 20px; }
  .fields.two { grid-template-columns: 1fr; }
  .question-shell { margin-top: 15px; min-height: 0; }
  .question-rail { display: none; }
  .question-main { padding: 22px 18px 25px; }
  .progress-track { margin: 11px 0 25px; }
  .question-main h2 { font-size: 22px; line-height: 1.5; }
  .answer-option { min-height: 57px; padding: 9px 11px; }
  .answer-option span { font-size: 14px; }
  .scale-grid { gap: 5px; }
  .scale-option { min-height: 72px; padding: 5px 3px; }
  .scale-option strong { font-size: 18px; }
  .scale-option span { font-size: 10px; }
  .report-hero { padding: 24px 21px; margin-top: 15px; }
  .report-hero h1 { font-size: 43px; }
  .report-preview { padding: 25px 21px; }
  .section-heading h2 { font-size: 24px; }
  .direction-item { grid-template-columns: 24px 1fr auto; gap: 8px; padding: 13px 0; }
  .direction-item h3 { font-size: 15px; }
  .direction-item > strong { font-size: 18px; }
  .finding-strip { grid-template-columns: 1fr; }
  .unlock { padding: 20px; gap: 20px; }
  .unlock h2 { font-size: 24px; }
  .full-report { padding: 0 20px 16px; }
  .report-chapter { padding: 25px 0; }
  .report-chapter h2 { font-size: 22px; }
  .score-list > div { grid-template-columns: 95px 1fr 47px; }
  .style-list, .dual-track { grid-template-columns: 1fr; }
}
@media print {
  body, .full-report { background: #fff; }
  .full-report { border: 0; padding: 0; }
  .report-chapter { border-top: 0; margin: 0; padding: 8mm 4mm; break-after: page; page-break-after: always; }
  .report-chapter:last-child { break-after: auto; page-break-after: auto; }
}
