/* Preparation landing and profile only. No dashboard or assessment UI rules. */
.eqd:is([data-page="profile"], [data-page="landing"]) {
  --mute: #50657d;
  background: radial-gradient(ellipse at 0 33%, #e9f6ff 0, transparent 38%),
    radial-gradient(ellipse at 100% 80%, #eaf9f7 0, transparent 35%), #f4f8fc;
}
.eqd:is([data-page="profile"], [data-page="landing"]) .hero {
  background: radial-gradient(ellipse at 80% 20%, #147a9c66, transparent 50%),
    linear-gradient(115deg, #071b35, #134a78 68%, #087f8b);
}
.eqd:is([data-page="profile"], [data-page="landing"]) h2 { font-weight: 850; }
.eqd:is([data-page="profile"], [data-page="landing"]) .eyebrow { color: #126fa3; }
.eqd:is([data-page="profile"], [data-page="landing"]) .hero .eyebrow { color: #9ce0e9; }
.eqd[data-page="profile"] h3 { font-weight: 750; }
.eqd:is([data-page="profile"], [data-page="landing"]) a { text-underline-offset: 3px; }
.eqd:is([data-page="profile"], [data-page="landing"]) .surface {
  border-color: #cedfec;
  box-shadow: 0 12px 32px #1038550a;
}
.eqd:is([data-page="profile"], [data-page="landing"]) .btn { white-space: normal; text-align: center; font-size: 14px !important; }
.eqd:is([data-page="profile"], [data-page="landing"]) .hero a:focus-visible { outline-color: #91f0ff; }
.eqd[data-page="landing"] .hero { padding-bottom: 82px; }
.eqd[data-page="landing"] .entry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.eqd[data-page="landing"] .entry-card {
  min-width: 0; padding: 28px; border: 1px solid #c6dff0; border-radius: 24px;
  box-shadow: 0 15px 32px #07203c0c; background: linear-gradient(145deg, #fff 60%, #ebf6ff);
}
.eqd[data-page="landing"] .entry-diagnostic { background: linear-gradient(145deg, #fff 60%, #e6f8f5); }
.eqd[data-page="landing"] .entry-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; }
.eqd[data-page="landing"] .entry-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: #e4f1ff; color: #216aad; }
.eqd[data-page="landing"] .entry-diagnostic .entry-icon { background: #e1f4ef; color: #157d75; }
.eqd[data-page="landing"] .entry-icon svg { width: 28px; height: 28px; }
.eqd[data-page="landing"] .entry-card h2 { margin: 0 0 9px; font-size: clamp(21px, 2.4vw, 26px); }
.eqd[data-page="landing"] .entry-card p { color: var(--mute); font-size: 14px; line-height: 1.6; margin: 0 0 22px; }
.eqd[data-page="landing"] #diagnostic-start { scroll-margin-top: 30px; margin-top: 30px; padding: 30px; }
.eqd[data-page="landing"] .role-card { background: linear-gradient(155deg, #fff, #f7fbff); border-radius: 19px; }
.eqd[data-page="landing"] .role-card:has(input:checked) { background: linear-gradient(145deg, #eff8ff, #f1fffd); }
.eqd[data-page="landing"] .role-card .quiet-link { display: block; margin-top: 12px; }
.eqd[data-page="landing"] .center-actions { border-top: 1px solid #dce8f1; padding-top: 24px; }

.eqd[data-page="profile"] .hero { padding-top: 30px; padding-bottom: 74px; }
.eqd[data-page="profile"] .hero h1 { font-size: clamp(34px, 4.5vw, 54px); max-width: 800px; }
.eqd[data-page="profile"] .profile-accent { color: #74e7e2; }
.eqd[data-page="profile"] .profile-topline { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; }
.eqd[data-page="profile"] .profile-topline .eyebrow { margin: 0; }
.eqd[data-page="profile"] .profile-topline a { color: #d6f6ff; font-size: 12px; font-weight: 750; }
.eqd[data-page="profile"] .profile-status { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 23px; }
.eqd[data-page="profile"] .profile-status > span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid #99d9f14d; background: #e5f8ff0d; border-radius: 10px; font-size: 12px; color: #e2f3ff; }
.eqd[data-page="profile"] .profile-status > span > span { color: #8ee8d2; }
.eqd[data-page="profile"] .profile-content { position: relative; }
.eqd[data-page="profile"] .profile-section-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.eqd[data-page="profile"] .profile-section-head .eyebrow { margin-bottom: 8px; }
.eqd[data-page="profile"] .profile-section-head h2 { font-size: clamp(23px, 2.7vw, 30px); margin: 0; }
.eqd[data-page="profile"] .goals-panel { padding: 28px 32px; background: linear-gradient(130deg, #fff 62%, #f1fbff); }
.eqd[data-page="profile"] .goal-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 24px; margin: 25px 0 6px; }
.eqd[data-page="profile"] .goal-summary > div { min-width: 0; padding-left: 16px; border-left: 3px solid #71b9dc; }
.eqd[data-page="profile"] .goal-summary > div:last-child { border-left-color: #62bcb5; }
.eqd[data-page="profile"] .goal-summary dt { color: var(--mute); font-size: 12px; font-weight: 700; margin-bottom: 9px; }
.eqd[data-page="profile"] .goal-summary dd { margin: 0; color: #163955; font-size: clamp(20px, 2.1vw, 25px); font-weight: 850; letter-spacing: -.035em; line-height: 1.3; }
.eqd[data-page="profile"] .goal-summary dd small { font-size: 14px; color: #51687e; font-weight: 650; letter-spacing: 0; }
.eqd[data-page="profile"] .goal-summary span { display: block; color: var(--mute); font-size: 12px; margin-top: 6px; }
.eqd[data-page="profile"] .personal-focus { display: flex; align-items: flex-start; gap: 15px; margin-top: 26px; padding-top: 21px; border-top: 1px solid #dce8f2; }
.eqd[data-page="profile"] .personal-focus p { color: var(--mute); font-size: 12px; font-weight: 650; margin: 7px 0 0; flex-shrink: 0; }
.eqd[data-page="profile"] .personal-focus .pill { background: #edf4fa; color: #42637e; font-size: 11px; }
.eqd[data-page="profile"] .profile-empty-inline { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.eqd[data-page="profile"] .profile-empty-inline p { max-width: 610px; margin: 0; }
.eqd[data-page="profile"] .profile-empty-inline .btn { flex-shrink: 0; }
.eqd[data-page="profile"] .profile-skills-section { margin-top: 39px; }
.eqd[data-page="profile"] .primary-report { padding: 26px 30px; }
.eqd[data-page="profile"] .report-date { margin-top: 9px; font-size: 12px; }
.eqd[data-page="profile"] .profile-result-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 35px; padding-top: 8px; }
.eqd[data-page="profile"] .profile-overall { background: linear-gradient(155deg, #f1f8ff, #ebf8f6); border: 1px solid #d7e9ef; border-radius: 20px; padding: 24px 20px; align-self: start; text-align: center; }
.eqd[data-page="profile"] .profile-overall .eyebrow { font-size: 11px; margin-bottom: 14px; }
.eqd[data-page="profile"] .score-ring { width: 172px; height: 172px; margin: 10px auto 18px; background: conic-gradient(#129aa9 var(--score, 0%), #dce9ef 0); }
.eqd[data-page="profile"] .score-ring::before { inset: 11px; background: #fbfdff; }
.eqd[data-page="profile"] .score-ring .number { font-size: 49px; }
.eqd[data-page="profile"] .profile-band { font-size: 16px; font-weight: 850; margin: 0 0 9px; color: #204864; }
.eqd[data-page="profile"] .profile-breakdown { min-width: 0; }
.eqd[data-page="profile"] .profile-breakdown h3 { font-size: 18px; margin: 0 0 22px; }
.eqd[data-page="profile"] .skill-row { margin: 0 0 19px; }
.eqd[data-page="profile"] .skill-row:last-child { margin-bottom: 0; }
.eqd[data-page="profile"] .skill-row .heading { font-size: 13px; align-items: baseline; }
.eqd[data-page="profile"] .skill-row .heading span { min-width: 0; }
.eqd[data-page="profile"] .skill-row .heading span:first-child { line-height: 1.4; }
.eqd[data-page="profile"] .skill-row .heading span:last-child { flex-shrink: 0; font-size: 14px; }
.eqd[data-page="profile"] .skill-row .heading small { color: #617489; font-size: 10px; margin-left: 3px; }
.eqd[data-page="profile"] .skill-bar { height: 10px; }
.eqd[data-page="profile"] .skill-note { font-size: 11px; color: #55697d; line-height: 1.55; margin: 7px 0 0; }
.eqd[data-page="profile"] .skill-row-neutral { padding: 13px 15px; border: 1px dashed #c3d0dc; border-radius: 12px; background: #f6f8fb; }
.eqd[data-page="profile"] .skill-row-neutral .heading { margin-bottom: 0; }
.eqd[data-page="profile"] .skill-row-neutral .heading span:last-child { font-size: 11px; color: #526174; }
.eqd[data-page="profile"] .profile-unknown { width: 84px; height: 84px; display: grid; place-items: center; color: #568396; border-radius: 24px; background: linear-gradient(145deg, #e9f3ff, #dff3f0); margin: 8px auto 20px; }
.eqd[data-page="profile"] .profile-unknown svg { width: 48px; height: 48px; }
.eqd[data-page="profile"] .profile-overall h3 { font-size: 19px; margin: 0 0 12px; }
.eqd[data-page="profile"] .score-disclosure { border-top: 1px solid #dbe7f0; margin-top: 26px; padding-top: 16px; }
.eqd[data-page="profile"] .score-disclosure summary { cursor: pointer; color: #395d7c; font-size: 12px; font-weight: 750; width: fit-content; }
.eqd[data-page="profile"] .score-disclosure p { margin: 12px 0 0; color: #50647a; font-size: 12px; line-height: 1.65; max-width: 820px; }
.eqd[data-page="profile"] .profile-insights { gap: 20px; margin-top: 20px; }
.eqd[data-page="profile"] .profile-insights .surface { padding: 25px; }
.eqd[data-page="profile"] .profile-insights .surface:first-child { background: linear-gradient(145deg, #fff 45%, #f0f8f5); border-top: 3px solid #67aa9d; }
.eqd[data-page="profile"] .profile-insights .surface:last-child { background: linear-gradient(145deg, #fff 45%, #f0f6fc); border-top: 3px solid #7daacf; }
.eqd[data-page="profile"] .profile-insights .eyebrow { font-size: 10px; color: #506d80; }
.eqd[data-page="profile"] .profile-insights h3 { font-size: 19px; margin-bottom: 17px; }
.eqd[data-page="profile"] .profile-insight-list { list-style: none; padding: 0; margin: 0; }
.eqd[data-page="profile"] .profile-insight-list li + li { border-top: 1px solid #dce7ed; padding-top: 14px; margin-top: 14px; }
.eqd[data-page="profile"] .profile-insight-list strong { font-size: 14px; color: #22445e; }
.eqd[data-page="profile"] .profile-insight-list p { margin: 5px 0 0; font-size: 13px; line-height: 1.6; color: #50657a; }
.eqd[data-page="profile"] .other-report { padding: 20px 25px; margin-top: 20px; box-shadow: none; }
.eqd[data-page="profile"] .other-report > summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; cursor: pointer; color: #194568; font-weight: 800; font-size: 15px; }
.eqd[data-page="profile"] .other-report > summary small { display: block; font-weight: 500; color: #556c80; font-size: 11px; line-height: 1.5; margin-top: 6px; }
.eqd[data-page="profile"] .other-report > summary > span:last-child { text-align: right; font-size: 13px; }
.eqd[data-page="profile"] .other-report-content { margin-top: 25px; border-top: 1px solid #dce7ef; padding-top: 23px; }
.eqd[data-page="profile"] .other-report-content .profile-skill-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.eqd[data-page="profile"] .profile-skill-empty { display: flex; align-items: center; gap: 28px; padding: 30px; background: linear-gradient(130deg, #fff 55%, #edf8ff); }
.eqd[data-page="profile"] .profile-skill-empty .profile-unknown { flex-shrink: 0; margin: 0; }
.eqd[data-page="profile"] .profile-skill-empty h3 { font-size: 22px; margin: 0 0 10px; }
.eqd[data-page="profile"] .profile-skill-empty p { max-width: 670px; }
.eqd[data-page="profile"] .optional-note { margin-top: 12px; font-size: 12px; }
.eqd[data-page="profile"] .profile-pending { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 22px 25px; border: 1px solid #b4d8ed; background: #e9f5ff; border-radius: 19px; margin-top: 20px; }
.eqd[data-page="profile"] .profile-pending .eyebrow { font-size: 10px; margin-bottom: 7px; }
.eqd[data-page="profile"] .profile-pending h3 { font-size: 17px; margin: 0; }
.eqd[data-page="profile"] .profile-next-step { display: flex; align-items: flex-start; gap: 27px; padding: 32px; border-radius: 24px; background: linear-gradient(115deg, #0d294c, #15577a 70%, #127d83); color: white; margin-top: 35px; box-shadow: 0 17px 30px #0c35591a; }
.eqd[data-page="profile"] .next-step-mark { flex-shrink: 0; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #8bd8e875; background: #63d4e726; border-radius: 15px; font-size: 25px; color: #bdfaff; }
.eqd[data-page="profile"] .next-step-content { min-width: 0; }
.eqd[data-page="profile"] .profile-next-step .eyebrow { color: #9ce0e9; font-size: 11px; margin-bottom: 9px; }
.eqd[data-page="profile"] .profile-next-step h2 { color: white; font-size: clamp(23px, 2.7vw, 30px); margin: 0 0 12px; }
.eqd[data-page="profile"] .profile-next-step p:not(.eyebrow) { font-size: 14px; line-height: 1.7; color: #e1eef8; max-width: 805px; margin: 0 0 19px; }
.eqd[data-page="profile"] .profile-next-step .btn { background: #fff; color: #194c77; border-color: #fff; box-shadow: none; }
.eqd[data-page="profile"] .profile-next-step .status-msg { margin-top: 15px; }
.eqd[data-page="profile"] .profile-next-step :focus-visible { outline-color: #8af5eb; }

@media (max-width: 840px) {
  .eqd[data-page="profile"] .profile-result-grid { grid-template-columns: 215px minmax(0, 1fr); gap: 22px; }
  .eqd[data-page="profile"] .profile-overall { padding: 20px 15px; }
  .eqd[data-page="profile"] .profile-empty-inline { align-items: flex-start; flex-direction: column; gap: 18px; }
  .eqd[data-page="profile"] .profile-pending { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .eqd[data-page="landing"] .entry-grid { grid-template-columns: 1fr; gap: 16px; }
  .eqd[data-page="landing"] .entry-card { padding: 23px; }
  .eqd[data-page="landing"] .entry-top { margin-bottom: 19px; }
  .eqd[data-page="landing"] #diagnostic-start { padding: 22px; }
  .eqd[data-page="profile"] .profile-topline { align-items: flex-start; flex-direction: column; gap: 13px; margin-bottom: 22px; }
  .eqd[data-page="profile"] .hero h1 { overflow-wrap: normal; }
  .eqd[data-page="profile"] .hero p.sub { font-size: 15px; }
  .eqd[data-page="profile"] .goals-panel, .eqd[data-page="profile"] .primary-report { padding: 23px; }
  .eqd[data-page="profile"] .goal-summary { gap: 20px; }
  .eqd[data-page="profile"] .personal-focus { flex-direction: column; gap: 12px; }
  .eqd[data-page="profile"] .personal-focus p { margin-top: 0; }
  .eqd[data-page="profile"] .profile-result-grid { grid-template-columns: 1fr; gap: 28px; }
  .eqd[data-page="profile"] .profile-overall { padding: 23px; }
  .eqd[data-page="profile"] .profile-overall .support { max-width: 300px; margin-inline: auto; }
  .eqd[data-page="profile"] .profile-skill-empty { align-items: flex-start; flex-direction: column; padding: 23px; gap: 20px; }
  .eqd[data-page="profile"] .other-report-content .profile-skill-list { grid-template-columns: 1fr; }
  .eqd[data-page="profile"] .profile-next-step { padding: 25px; gap: 20px; flex-direction: column; }
}
@media (max-width: 375px) {
  .eqd:is([data-page="profile"], [data-page="landing"]) .wrap { width: calc(100% - 28px); }
  .eqd[data-page="landing"] .entry-card, .eqd[data-page="landing"] #diagnostic-start { padding: 19px; }
  .eqd[data-page="profile"] .goals-panel, .eqd[data-page="profile"] .primary-report,
  .eqd[data-page="profile"] .profile-insights .surface { padding: 19px; }
  .eqd[data-page="profile"] .skill-row .heading { flex-wrap: wrap; }
  .eqd[data-page="profile"] .skill-row .heading span:last-child { margin-left: auto; }
  .eqd[data-page="profile"] .other-report > summary { flex-direction: column; align-items: flex-start; gap: 10px; }
  .eqd[data-page="profile"] .other-report > summary > span:last-child { text-align: left; }
  .eqd[data-page="profile"] .btn { max-width: 100%; padding-inline: 17px; font-size: 13px !important; }
}

/* The existing header exceeds 320px. Constrain its wordmark and menu only on
   these three pages; dashboard and the shared navigation template are untouched. */
@media (max-width: 420px) {
  body:has(.eqd:is([data-page="profile"], [data-page="landing"], [data-page="results"])) .button-container .logo {
    width: 140px !important; max-width: 140px !important;
    height: auto !important; max-height: 30px !important;
  }
  body:has(.eqd:is([data-page="profile"], [data-page="landing"], [data-page="results"])) #menuDropdown {
    font-size: 14px !important; padding-inline: 12px;
  }
}
