:root {
  color-scheme: light;
  --ink: #171315;
  --muted: #6d6768;
  --paper: #fffdfa;
  --canvas: #f5f1e9;
  --line: #ded7cc;
  --yellow: #f5d66f;
  --yellow-soft: #fff1b8;
  --plum: #4a123e;
  --plum-active: #691956;
  --signal-red: #ef4026;
  --focus: #3e78cc;
  --success: #477d48;
  --success-soft: #e8f3e2;
  --warning: #9a6412;
  --warning-soft: #fff3d8;
  --danger: #a2382c;
  --danger-soft: #fff0ec;
  --shadow: 0 14px 36px rgb(49 35 22 / 9%);
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --serif: Georgia, serif;
  font-family: var(--sans);
}

* { box-sizing: border-box; }
html { background: var(--canvas); color: var(--ink); }
body { margin: 0; min-width: 280px; overflow-x: hidden; background: var(--canvas); }
button, input, textarea, select { font: inherit; }
button, label, summary, select { touch-action: manipulation; }
button, input, textarea, select, summary, a { outline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); }
a, button { -webkit-tap-highlight-color: transparent; }
button { min-height: 44px; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .54; }
textarea {
  width: 100%;
  min-height: 190px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 14px;
  line-height: 1.5;
}
select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
}
textarea[aria-invalid="true"] { border: 2px solid var(--danger); }
small { color: var(--muted); }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { margin-top: 0; }
h1 { outline: none; }
h2 { font-size: clamp(1.8rem, 3vw, 2.25rem); line-height: 1.1; letter-spacing: -.04em; }
h3 { font-size: 1.08rem; }
q { display: block; margin: 8px 0; color: #37352f; }
summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 40;
  transform: translateY(-180%);
  min-height: 44px;
  padding: 11px 14px;
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--ink);
}
.skip-link:focus { transform: none; }

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px clamp(16px, 3vw, 36px);
  border-bottom: 1px solid var(--line);
  background: rgb(255 253 250 / 97%);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-height: 44px;
  padding: 8px 2px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand-core {
  font-size: 1.75rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.05em;
}
.brand em {
  color: var(--danger);
  font: italic 1.875rem/1 var(--serif);
  letter-spacing: -.035em;
}
.brand .domain {
  margin-left: 8px;
  color: var(--muted);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .04em;
}
.step-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
  width: 100%;
  max-width: 960px;
  min-height: 72px;
  margin: -20px 0 30px;
  padding: 10px 8px 8px;
  list-style: none;
}
.step-nav li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: rgb(31 25 27 / 66%);
  font-size: .625rem;
  text-align: center;
}
.step-nav li:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 17px;
  left: calc(50% + 17px);
  right: calc(-50% + 17px);
  height: 1px;
  background: rgb(79 17 65 / 28%);
}
.step-nav b {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(79 17 65 / 42%);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
}
.step-nav li.active {
  color: var(--plum);
  font-weight: 850;
}
.step-nav li.active b {
  border-color: var(--plum);
  background: var(--plum);
  color: #fff;
}
.step-nav li.complete {
  color: var(--ink);
}
.step-nav li.complete b {
  border-color: rgb(79 17 65 / 42%);
  background: var(--paper);
  color: var(--ink);
}
.header-action {
  flex: 0 0 auto;
  margin-left: auto;
  min-height: 44px;
  padding: 8px 4px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: .78rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

main { min-height: calc(100vh - 152px); }
.screen {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  min-height: calc(100vh - 76px);
}
.editorial {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 48px 36px;
  border-right: 1px solid #ddc254;
  background:
    radial-gradient(circle at 78% 16%, transparent 0 56px, rgb(74 18 62 / 18%) 57px 58px, transparent 59px),
    linear-gradient(145deg, var(--yellow-soft), var(--yellow));
}
.editorial::after {
  content: "";
  position: absolute;
  right: -72px;
  bottom: 92px;
  width: 180px;
  height: 180px;
  border: 1px solid rgb(74 18 62 / 23%);
  border-radius: 50%;
  pointer-events: none;
}
.step, .kicker {
  color: var(--plum);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.step {
  width: fit-content;
  max-width: 100%;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
}
.editorial h1 {
  max-width: 100%;
  margin: 36px 0 20px;
  font-size: 2.875rem;
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -.055em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.editorial h1 i {
  display: block;
  color: var(--plum);
  font: italic 1em/1.05 var(--serif);
  letter-spacing: -.035em;
}
.screen[data-screen="employer_priorities"] .editorial h1 i {
  font-size: .72em;
  letter-spacing: -.05em;
}
.editorial > p:not(.step) {
  max-width: 17rem;
  font-size: 1rem;
  line-height: 1.55;
}
.art {
  position: absolute;
  bottom: 30px;
  left: 30px;
  color: var(--plum);
  font: 6.9rem/1 var(--serif);
  opacity: .12;
  pointer-events: none;
}
.work {
  min-width: 0;
  width: 100%;
  max-width: 1180px;
  margin: auto;
  padding: 48px 44px 64px;
}
.work > * { max-width: 960px; }
.work > h2, .level h2 {
  margin: 8px 0 22px;
  font-size: clamp(1.8rem, 3vw, 2.25rem);
}
.lead, .helper { max-width: 700px; color: var(--muted); line-height: 1.55; }

.input-grid, .experience-grid, .summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.card, .priority, .material-preview, .development-topic, .courses-off, .non-course,
.level, .map-group, .materials, .free-step {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.card, .priority, .material-preview, .development-topic, .courses-off, .non-course {
  padding: clamp(18px, 2.6vw, 28px);
}
.card-title { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; }
.card-title > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--plum);
  color: #fff;
  font-size: .78rem;
}
.card-title h2 { margin: 0; font-size: 1.15rem; line-height: 1.1; letter-spacing: 0; }
.field-label { display: block; font-weight: 750; margin-bottom: 8px; }
.drop-zone {
  display: grid;
  place-items: center;
  min-height: 210px;
  padding: 28px;
  border: 2px dashed var(--plum);
  border-radius: 12px;
  background: #fff;
  text-align: center;
  cursor: pointer;
}
.drop-zone.drag-over { border-color: var(--plum-active); background: #f8eff6; }
.drop-zone input, .file-picker input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-zone strong { color: var(--plum); font-size: 1.2rem; }
.file-state, .file-ready {
  min-height: 72px;
  padding: 15px;
  border: 1px solid #bad2b3;
  border-radius: 12px;
  background: #fbfff8;
}
.file-ready { display: flex; align-items: center; gap: 12px; }
.file-ready > b {
  width: 42px;
  min-height: 50px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--signal-red);
  font-size: .7rem;
}
.file-ready > span { display: grid; min-width: 0; }
.file-ready em {
  margin-left: auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--success-soft);
  color: var(--success);
  font-size: .76rem;
  font-style: normal;
}
.minor-actions, .review-actions, .form-actions, .stage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}
.primary, .secondary {
  min-height: 44px;
  border-radius: 12px;
  padding: 11px 18px;
  font-weight: 750;
}
.primary {
  border: 0;
  background: linear-gradient(135deg, var(--plum), var(--plum-active));
  color: #fff;
  box-shadow: 0 8px 20px rgb(74 18 62 / 20%);
}
.primary span { margin-left: 12px; color: #fff; }
.secondary { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.strong-secondary { border-color: var(--success); background: var(--success); color: #fff; }
.text-button, .skip-question {
  min-height: 44px;
  padding: 8px 4px;
  border: 0;
  background: transparent;
  color: var(--plum);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.danger-link, .field-error { color: var(--danger); }
.stage-primary { display: block; min-width: 220px; margin: 28px 0 0 auto; }
.privacy-helper, .notice, .error-summary, .warning, .helper, .why {
  padding: 13px 16px;
  border-left: 4px solid var(--yellow);
  background: var(--yellow-soft);
  font-size: .82rem;
  line-height: 1.5;
}
.privacy-helper { margin: 16px 0; }
.error-summary, .warning { border-color: var(--danger); background: var(--danger-soft); }
.field-error { margin: 8px 0 0; font-weight: 750; }
.inline-editor, .evidence-editor {
  margin: 0 0 18px;
  padding: 18px;
  border: 2px solid var(--plum);
  border-radius: 14px;
  background: #fbf6fa;
}
fieldset { min-width: 0; margin: 12px 0; padding: 0; border: 0; }
fieldset legend { margin-bottom: 10px; font-size: 1.25rem; font-weight: 800; }
fieldset label, .contact-restore label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  padding: 9px 0;
}
input[type="radio"], input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  accent-color: var(--plum);
}

.priority-list, .question-list { display: grid; gap: 12px; }
.priority {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  grid-template-areas:
    "tag status action"
    "content status action";
  column-gap: 14px;
  row-gap: 8px;
  align-items: start;
  padding: 15px 17px;
  box-shadow: none;
}
.priority > .tag { grid-area: tag; }
.priority > div { grid-area: content; min-width: 0; }
.priority > .included { grid-area: status; align-self: center; }
.priority > button { grid-area: action; align-self: center; }
.priority h3 { margin-bottom: 6px; }
.priority.excluded { opacity: .62; }
.priority button {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--plum);
  text-decoration: underline;
}
.tag {
  display: inline-block;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--yellow-soft);
  color: var(--ink);
  font-size: .7rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.priority.additional .tag { background: #eee8ef; color: var(--plum); }
.included { color: var(--success); font-size: .78rem; font-weight: 750; }
.question-count { color: var(--plum); font-size: .78rem; font-weight: 800; }
.question-card { border-top: 5px solid var(--plum); }
.question-card label {
  margin: 8px 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.question-card label:has(input:checked) { border: 2px solid var(--plum); background: #f8eff6; }
.question-card label.absence { border-color: #d7b0a8; }
.found { border-top: 5px solid var(--success); }
.found ul, .risks ol { padding-left: 20px; }
.found li { margin: 0 0 18px; }
.found small, .user-confirmed { color: var(--success); font-weight: 750; }

.level {
  margin-bottom: 20px;
  padding: 22px;
  border-top: 5px solid var(--plum);
}
.level > span {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--warning-soft);
  color: var(--warning);
  font-size: .74rem;
  font-weight: 850;
}
.map-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}
.map-group {
  padding: 16px;
  border-top: 5px solid var(--line);
  box-shadow: none;
}
.map-group h3 { margin-bottom: 9px; font-size: .88rem; }
.map-group p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.45; }
.map-group.resume { border-color: var(--success); }
.map-group.user { border-color: var(--plum); }
.map-group.unknown { border-color: var(--warning); }
.map-group.absence { border-color: var(--danger); }
.non-course { margin-top: 18px; border-color: #d8b978; background: var(--warning-soft); box-shadow: none; }
.materials {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: end;
  gap: 12px;
  margin: 22px 0;
  padding: 20px;
}
.materials h3 { margin: 3px 0; }
.materials p { margin: 0; color: var(--muted); font-size: .82rem; }
.material-preview { margin: 18px 0; }
.material-help-entry {
  margin-top: 14px;
  padding: 16px;
  border-left: 4px solid var(--yellow);
  background: var(--yellow-soft);
}
.material-help {
  margin-top: 18px;
  padding: clamp(18px, 3vw, 28px);
  border: 2px solid var(--plum);
  border-radius: 14px;
  background: #fbf6fa;
}
.material-help fieldset label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.material-head { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.paper {
  min-height: 180px;
  margin: 18px 0;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.professional-resume-paper {
  font-family: Arial, sans-serif;
  font-size: .92rem;
  line-height: 1.5;
  overflow-wrap: normal;
  word-break: normal;
}
.resume-preview-heading {
  display: inline-block;
  margin-top: 12px;
  color: var(--plum);
  font-size: .86rem;
  letter-spacing: .04em;
}
.resume-preview-gap { display: inline-block; min-height: 7px; }
.resume-clarifications {
  display: grid;
  gap: 9px;
  margin: 18px 0;
  padding: clamp(18px, 3vw, 28px);
  border: 2px solid var(--plum);
  border-radius: 14px;
  background: #fbf6fa;
}
.resume-clarifications h4,
.resume-clarifications p { margin: 0 0 4px; }
.resume-clarifications input,
.resume-clarifications textarea { width: 100%; }
.resume-clarifications textarea { min-height: 110px; }
.resume-clarifications .primary {
  justify-self: start;
  margin-top: 6px;
}
.resume-export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.resume-export-actions .helper {
  flex: 1 0 100%;
  margin: 0;
}
.resume-scoped-status { margin-top: 14px; }
.contact-restore { margin: 16px 0; }
.contact-restore > summary {
  width: fit-content;
  max-width: 100%;
  gap: 10px;
  margin-left: -10px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--plum);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  cursor: pointer;
}
.contact-restore > summary::marker { content: ""; }
.contact-restore > summary::-webkit-details-marker { display: none; }
.contact-restore > summary:hover { background: #f4edf2; }
.contact-restore > summary:focus-visible {
  outline: 3px solid #1f66d1;
  outline-offset: 3px;
  background: #fff3bf;
}
.contact-restore[open] > summary { background: #fff3bf; }
.contact-restore__label { min-width: 0; }
.contact-restore__chevron {
  position: relative;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.contact-restore__chevron::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 7px;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 120ms ease;
}
.contact-restore[open] .contact-restore__chevron::after {
  top: 9px;
  transform: rotate(225deg);
}
.development-topic { border-top: 6px solid var(--plum); }
.why { max-width: 730px; margin: 0 0 16px; }
.free-step { margin: 20px 0; padding: 20px; border-top: 5px solid var(--success); }
.courses-off { margin-top: 14px; background: #f1ede7; box-shadow: none; }
.no-topic { border-top: 6px solid var(--success); }
.recommendations-intro {
  max-width: 800px;
  margin: 0 0 24px;
  font-size: 1.08rem;
  line-height: 1.55;
}
.recommendations-note {
  max-width: 800px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border-left: 4px solid var(--plum);
  border-radius: 0 10px 10px 0;
  background: #f4edf2;
}
.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.recommendation-block {
  min-width: 0;
  padding: clamp(18px, 2.6vw, 24px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.recommendation-block h3 { margin-bottom: 16px; }
.recommendation-block ul { margin: 0; padding-left: 20px; }
.recommendation-block li + li { margin-top: 10px; }
.recommendation-strength {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.recommendation-strength:first-of-type {
  padding-top: 0;
  border-top: 0;
}
.recommendation-strength b,
.recommendation-strength small { display: block; }
.recommendation-strength q {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}
.recommendation-topic {
  padding-top: 14px;
  border-top: 3px solid var(--plum);
}
.recommendation-topic + .recommendation-topic { margin-top: 22px; }
.recommendation-topic h4 { margin: 0 0 8px; font-size: 1.02rem; }
.recommendation-free-step {
  margin-top: 14px;
  padding: 14px;
  border-radius: 10px;
  background: var(--yellow-soft);
}
.recommendation-free-step b {
  display: block;
  margin-bottom: 5px;
}
.recommendation-course-boundary { margin-top: 14px; }
.recommendation-course-boundary button {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--plum);
  border-radius: 10px;
  background: var(--paper);
  color: var(--plum);
}
.recommendation-course-boundary .helper {
  margin: 8px 0 0;
  font-size: .82rem;
}
footer {
  padding: 22px clamp(18px, 4vw, 64px);
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
}
.seo-entry {
  display: grid;
  min-height: calc(100vh - 142px);
  align-content: center;
  padding: clamp(44px, 6vw, 88px) clamp(26px, 4vw, 64px);
  background: var(--yellow);
}
.seo-fallback__eyebrow {
  margin: 0 0 28px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.seo-entry h1 {
  max-width: 12ch;
  margin: 0 0 24px;
  font-size: clamp(2.5rem, 5vw, 5.4rem);
  line-height: .95;
  letter-spacing: -.045em;
}
.seo-entry > p:last-child {
  max-width: 38rem;
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.55;
}
.seo-content {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.7fr);
  border-top: 1px solid var(--line);
  background: var(--canvas);
}
.seo-content__intro {
  padding: clamp(44px, 6vw, 88px) clamp(26px, 4vw, 64px);
  border-right: 1px solid #ddc254;
  background: var(--yellow);
}
.seo-content__intro h2 {
  max-width: 12ch;
  margin: 0 0 24px;
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: -.04em;
}
.seo-fallback__lead {
  max-width: 32rem;
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.55;
}
.seo-fallback__content {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(34px, 5vw, 76px);
}
.seo-fallback__content > section {
  padding: clamp(20px, 2.5vw, 30px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.seo-fallback__content h2 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}
.seo-fallback__content ul,
.seo-fallback__content ol {
  margin: 0;
  padding-left: 1.4rem;
}
.seo-fallback__content li + li { margin-top: 8px; }
.seo-fallback__privacy { border-top: 5px solid var(--success) !important; }
.seo-fallback__privacy p { margin: 0; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 900px) {
  .site-header { padding: 10px 16px; }
  .screen { display: block; min-height: calc(100vh - 76px); }
  .editorial {
    min-height: 260px;
    padding: 24px 20px 34px;
    border-right: 0;
    border-bottom: 1px solid #ddc254;
  }
  .editorial h1 { max-width: 18ch; margin: 20px 0 12px; font-size: 2.2rem; }
  .editorial h1 i { display: inline; font-size: 1.05em; }
  .editorial > p:not(.step) { max-width: 35rem; font-size: .9rem; }
  .art { right: 20px; left: auto; bottom: 18px; font-size: 5rem; opacity: .1; }
  .step-nav {
    min-height: 76px;
    margin: 0 -16px 24px;
    width: calc(100% + 32px);
    padding: 12px 14px 10px;
    border-bottom: 1px solid var(--line);
    background: rgb(255 253 250 / 72%);
  }
  .step-nav li { gap: 5px; font-size: .58rem; line-height: 1.15; }
  .step-nav b { width: 38px; height: 38px; }
  .step-nav li:not(:last-child)::after {
    top: 19px;
    left: calc(50% + 19px);
    right: calc(-50% + 19px);
  }
  .work { padding: 0 16px 48px; }
  .input-grid, .experience-grid, .summary-grid { grid-template-columns: 1fr; }
  .recommendation-grid { grid-template-columns: 1fr; }
  .map-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .priority {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "tag action"
      "content content"
      "status status";
  }
  .priority > .included { justify-self: start; }
  .materials { grid-template-columns: 1fr 1fr; }
  .materials > div { grid-column: 1 / -1; }
  .work > .primary, .development-actions .primary { width: 100%; }
  .seo-entry { min-height: calc(100vh - 118px); padding: 38px 20px; }
  .seo-entry h1 { max-width: 15ch; font-size: clamp(2.35rem, 10vw, 4.2rem); }
  .seo-content { display: block; }
  .seo-content__intro {
    padding: 38px 20px;
    border-right: 0;
    border-bottom: 1px solid #ddc254;
  }
  .seo-content__intro h2 { max-width: 15ch; font-size: clamp(2rem, 9vw, 3.5rem); }
  .seo-fallback__content { padding: 24px 16px 40px; }
}

@media (max-width: 600px) {
  .site-header { gap: 8px 12px; }
  .brand-core { font-size: 1.45rem; }
  .brand em { font-size: 1.56rem; }
  .brand .domain { font-size: .56rem; margin-left: 6px; }
  .header-action { margin-left: auto; font-size: .72rem; }
  .editorial { min-height: 275px; }
  .work { padding: 0 14px 44px; }
  .step-nav {
    width: calc(100% + 28px);
    margin-right: -14px;
    margin-left: -14px;
    padding-right: 8px;
    padding-left: 8px;
  }
  .step-nav li { font-size: .54rem; }
  .map-grid, .materials { grid-template-columns: 1fr; }
  .materials > div { grid-column: auto; }
  .materials button { width: 100%; }
  .priority { column-gap: 10px; row-gap: 9px; }
  .stage-actions { align-items: stretch; flex-direction: column; }
  .stage-actions .primary { width: 100%; }
  .stage-primary { width: 100%; min-width: 0; margin-left: 0; }
  .material-head { flex-direction: column; }
  .resume-export-actions { align-items: stretch; flex-direction: column; }
  .resume-export-actions button,
  .resume-clarifications .primary { width: 100%; }
  .recommendation-course-boundary button { width: 100%; }
  .file-ready { align-items: flex-start; flex-wrap: wrap; }
  .file-ready em { margin-left: 54px; }
  .minor-actions > *, .review-actions > *, .form-actions > * { flex: 1 1 100%; }
  .question-card:not(.current-mobile) { display: none; }
}

@media (max-width: 340px) {
  .site-header { padding-left: 12px; padding-right: 12px; }
  .brand-core { font-size: 1.28rem; }
  .brand em { font-size: 1.4rem; }
  .brand .domain { font-size: .53rem; margin-left: 5px; }
  .header-action { max-width: 116px; line-height: 1.15; }
  .step-nav b { width: 36px; height: 36px; }
  .step-nav li:not(:last-child)::after {
    top: 18px;
    left: calc(50% + 18px);
    right: calc(-50% + 18px);
  }
  .editorial { padding-left: 16px; padding-right: 16px; }
  .editorial h1 { font-size: 1.95rem; }
  .work { padding-right: 12px; padding-left: 12px; }
  .step-nav {
    width: calc(100% + 24px);
    margin-right: -12px;
    margin-left: -12px;
    padding-right: 5px;
    padding-left: 5px;
  }
  .step-nav li { font-size: .5rem; letter-spacing: -.01em; }
  .card { padding: 16px; }
}

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