/* Shared configurator layout. Fonts, navigation and footer use the homepage system. */
.config-page { background: #f5f6f8; font-size: 16px; }
.config-page main { min-height: 75vh; }
.cfg-hero { background: var(--navy); color: #fff; padding: 12px 0 0; }
.cfg-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: #c2cbda; margin-bottom: 28px; }
.cfg-breadcrumb a { text-decoration: underline; text-underline-offset: 4px; }
.cfg-intro { display: grid; grid-template-columns: minmax(0, 1fr) 290px; align-items: center; gap: 70px; }
.cfg-hero .eyebrow { color: #ddc186; font-size: 11px; margin-bottom: 12px; }
.cfg-hero h1 { color: #fff; font-size: clamp(30px, 3.1vw, 44px); line-height: 1.18; letter-spacing: -.025em; max-width: 730px; }
.cfg-lead { color: #d5dce7; font-size: 16px; line-height: 1.7; max-width: 650px; margin-top: 18px; }
.cfg-intro-note { display: flex; align-items: flex-start; gap: 14px; }
.cfg-note-icon { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; background: #273b58; color: #e8cf93; border-radius: 50%; }
.cfg-intro-note strong { font-size: 15px; font-weight: 600; }
.cfg-intro-note p { color: #c5cfdf; font-size: 13px; line-height: 1.65; margin-top: 7px; }
.cfg-switch { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 32px; }
.cfg-switch a { display: flex; align-items: center; min-height: 48px; padding: 12px 22px; color: #d3dce9; font-size: 14px; font-weight: 600; border-radius: 12px 12px 0 0; border: 1px solid #34435d; border-bottom: 0; }
.cfg-switch a:hover { color: #fff; background: #203451; }
.cfg-switch a[aria-current="page"] { color: var(--navy); background: #f5f6f8; border-color: #f5f6f8; }
.cfg-hero :focus-visible { outline-color: #ebcd8c; }
.cfg-layout { display: grid; grid-template-columns: minmax(0, 1fr) 286px; align-items: start; gap: 36px; padding-block: 38px 80px; }
.cfg-main, .cfg-side { min-width: 0; }
.cfg-side { position: sticky; top: 24px; padding-top: 110px; }
.cfg-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.cfg-text-button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; border: 0; padding: 8px 4px; background: transparent; color: var(--navy); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.cfg-text-button:hover { color: var(--gold-ink); }
.cfg-main progress { display: block; width: 100%; height: 5px; appearance: none; border: 0; border-radius: 10px; color: var(--gold); background: #e0e4ea; overflow: hidden; }
.cfg-main progress::-webkit-progress-bar { background: #e0e4ea; border-radius: 10px; }
.cfg-main progress::-webkit-progress-value { background: #af8b40; border-radius: 10px; }
.cfg-main progress::-moz-progress-bar { background: #af8b40; border-radius: 10px; }
.cfg-steps ol { display: flex; justify-content: space-between; gap: 8px; list-style: none; margin: 12px 0 22px; padding: 0; }
.cfg-steps li { min-width: 0; }
.cfg-steps button { display: flex; align-items: center; justify-content: flex-start; gap: 8px; padding: 6px 0; min-height: 44px; border: 0; background: transparent; color: #667387; font-size: 13px; line-height: 1.35; font-weight: 500; text-align: left; }
.cfg-steps button[aria-current] { color: var(--navy); font-weight: 700; }
.cfg-steps button:disabled { cursor: default; color: #6c7686; }
.cfg-step-number { display: grid; flex-shrink: 0; place-items: center; width: 26px; height: 26px; border: 1px solid #cad0db; border-radius: 50%; font-size: 12px; background: transparent; }
.cfg-steps button[aria-current] .cfg-step-number { color: #fff; background: var(--navy); border-color: var(--navy); }
.cfg-step-number.is-done { border-color: #bfa46c; color: #6e5425; background: #f3ead6; }
.cfg-panel { border: 1px solid #e0e4eb; border-radius: 20px; padding: 36px; margin: 0; background: #fff; box-shadow: 0 8px 28px #10224105; }
.cfg-step-heading { margin-bottom: 32px; }
.cfg-step-heading h2, .cfg-result h2 { font-size: clamp(25px, 2.4vw, 32px); letter-spacing: -.018em; line-height: 1.25; scroll-margin-top: 24px; }
.cfg-step-heading p { margin-top: 12px; font-size: 15px; line-height: 1.65; }
.cfg-questions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }
.cfg-question { margin: 0; padding: 0; border: 0; min-width: 0; grid-column: 1 / -1; }
.cfg-question.cfg-half { grid-column: auto; }
.cfg-question-title { display: block; width: 100%; padding: 0; margin-bottom: 12px; font-size: 16px; line-height: 1.45; font-weight: 700; color: var(--navy); }
.cfg-multi-note { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; font-weight: 400; }
.cfg-question-help { margin: -3px 0 14px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.cfg-context-note { margin-top: 14px; padding: 15px 17px; border-radius: 10px; background: #edf2f8; color: #344762; }
.cfg-context-note > strong { display: block; color: var(--navy); font-size: 13px; line-height: 1.5; font-weight: 600; }
.cfg-context-note > p { margin-top: 5px; color: #43546b; font-size: 13px; line-height: 1.65; }
.cfg-explainer { margin-top: 12px; border: 1px solid #dce3ec; border-radius: 10px; background: #fafbfd; overflow: hidden; }
.cfg-explainer > summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 48px; padding: 12px 16px; color: #2b4566; cursor: pointer; list-style: none; font-size: 13px; line-height: 1.55; font-weight: 600; }
.cfg-explainer > summary::-webkit-details-marker { display: none; }
.cfg-explainer > summary::marker { content: ''; }
.cfg-explainer > summary:hover { background: #f0f4f9; }
.cfg-explainer > summary:focus-visible { outline: 3px solid #a47a2b; outline-offset: -3px; border-radius: 9px; }
.cfg-explainer > summary > span { min-width: 0; }
.cfg-explainer > summary > svg { flex: 0 0 16px; transition: transform .15s; }
.cfg-explainer[open] > summary > svg { transform: rotate(180deg); }
.cfg-explainer[open] > summary { color: var(--navy); }
.cfg-lesson-body { padding: 0 16px 17px; }
.cfg-lesson-body dl { margin: 0; font-size: 13px; line-height: 1.7; }
.cfg-lesson-body dl > div + div { margin-top: 14px; }
.cfg-lesson-body dt { color: var(--navy); font-weight: 600; }
.cfg-lesson-body dd { margin: 3px 0 0; color: #4c5d73; }
.cfg-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cfg-choice { display: flex; align-items: flex-start; gap: 12px; min-width: 0; min-height: 66px; padding: 16px; border: 1px solid #d8dfe8; border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .15s, background-color .15s; }
.cfg-choice:hover { background: #f7f9fc; border-color: #7e8da3; }
.cfg-choice:focus-within { outline: 3px solid #a47a2b; outline-offset: 3px; }
.cfg-choice.is-selected { border-color: var(--navy); background: #f2f5fa; box-shadow: inset 0 0 0 1px var(--navy); }
.cfg-choice-body { display: flex; align-items: center; gap: 12px; order: 1; min-width: 0; flex: 1; }
.cfg-choice-body > img { flex-shrink: 0; width: 46px; height: 46px; object-fit: contain; }
.cfg-choice-body strong { display: block; font-size: 14px; line-height: 1.45; font-weight: 600; color: var(--navy); overflow-wrap: break-word; }
.cfg-choice-detail { display: block; margin-top: 5px; color: #59667b; font-size: 12px; line-height: 1.5; }
.cfg-choice input { flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 0 0; order: 2; accent-color: var(--navy); cursor: pointer; }
.cfg-choice input:focus-visible { outline: none; }
.cfg-choices-large { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cfg-choices-large .cfg-choice { min-height: 94px; }
.cfg-question select { display: block; width: 100%; max-width: 100%; min-height: 54px; font: inherit; font-size: 16px; padding: 12px 36px 12px 14px; border: 1px solid #cbd3df; border-radius: 10px; color: var(--navy); background-color: #fff; text-overflow: ellipsis; }
.cfg-question.has-error .cfg-question-title { color: #982f31; }
.cfg-question.has-error .cfg-choice, .cfg-question.has-error select { border-color: #b34d4f; }
.cfg-error { margin-top: 26px; padding: 18px 20px; border: 1px solid #d8a6a7; background: #fff5f5; border-radius: 10px; color: #852b2d; font-size: 14px; }
.cfg-error ul { margin: 10px 0 0; padding-left: 20px; }
.cfg-error a { display: inline-block; padding: 6px 0; text-decoration: underline; text-underline-offset: 3px; }
.cfg-form-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.cfg-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 13px 20px; border: 1px solid transparent; border-radius: 10px; font-size: 14px; font-weight: 700; line-height: 1.5; text-align: center; }
.cfg-button-gold { color: var(--navy); background: linear-gradient(110deg, #d0ac5e, #e4c779); box-shadow: 0 4px 10px #a5822220; }
.cfg-button-gold:hover { background: #e3c77f; }
.cfg-button-navy { color: #fff; background: var(--navy); }
.cfg-button-plain { color: var(--navy); border-color: #cbd3df; background: #fff; }
.cfg-button-plain:hover { background: #f3f5f8; }
.cfg-button-back { padding-inline: 5px; background: transparent; color: var(--muted); font-weight: 500; }
.cfg-button-back::before { content: '←'; font-size: 18px; }
#cfg-next { margin-left: auto; }
#cfg-next::after { content: '→'; font-size: 18px; }
.cfg-storage-note { margin: 18px 10px 0; text-align: center; font-size: 12px; line-height: 1.6; color: #5e6b80; }
.cfg-live { padding: 20px; border: 1px solid #dce1e9; border-radius: 16px; background: #fff; }
.cfg-live summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 700; color: var(--navy); }
.cfg-live summary::after { content: '+'; font-size: 22px; font-weight: 400; }
.cfg-live[open] summary::after { content: '−'; }
.cfg-live summary span { display: grid; place-items: center; min-width: 24px; height: 24px; margin-left: auto; padding-inline: 6px; border-radius: 6px; background: #f0f2f6; color: var(--muted); font-size: 12px; }
#cfg-live-content { margin-top: 18px; max-height: 38vh; overflow-y: auto; scrollbar-width: thin; }
#cfg-live-content > p { font-size: 13px; }
.cfg-live dl, .cfg-summary-group dl { margin: 0; }
.cfg-live dl > div + div { margin-top: 16px; }
.cfg-live dt { font-size: 11px; color: #67758a; line-height: 1.45; }
.cfg-live dd { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: var(--navy); }
.cfg-help { border-radius: 16px; background: var(--navy); padding: 26px 22px; margin-top: 18px; color: #fff; }
.cfg-help .eyebrow { color: #dec080; font-size: 10px; margin-bottom: 13px; }
.cfg-help h2 { color: #fff; font-size: 25px; text-wrap: initial; line-height: 1.25; }
.cfg-help p:not(.eyebrow) { color: #cbd5e4; font-size: 13px; line-height: 1.65; margin-top: 15px; }
.cfg-help-phone { display: inline-flex; align-items: center; min-height: 48px; margin-top: 10px; color: #e8ce92; font-size: 22px; font-weight: 600; letter-spacing: .02em; }
.cfg-help a:focus-visible { outline-color: #ebcc8b; }
.cfg-other { display: block; padding: 16px 4px; color: var(--muted); font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.cfg-other span { display: inline-block; margin-left: 5px; }
.cfg-resume, .cfg-reset { padding: 18px; margin-bottom: 20px; border-radius: 12px; font-size: 14px; background: #edf2f8; color: #344762; border: 1px solid #cbd7e6; }
.cfg-reset p { margin-top: 6px; font-size: 13px; }
.cfg-reset > div { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.cfg-result-heading { display: flex; align-items: center; gap: 16px; }
.cfg-result-heading .eyebrow { margin-bottom: 8px; font-size: 10px; }
.cfg-result-check { width: 48px; height: 48px; display: grid; place-items: center; flex-shrink: 0; background: #eaf2ec; color: #345c43; border-radius: 50%; font-size: 24px; }
.cfg-result-lead { font-size: 15px; margin-top: 18px; line-height: 1.65; }
.cfg-brief-profile { display: flex; align-items: center; gap: 18px; padding: 20px; margin-top: 24px; border-radius: 14px; background: #f5f3ed; }
.cfg-brief-profile img { flex: 0 0 64px; object-fit: contain; }
.cfg-brief-profile span { display: block; color: #6a6355; font-size: 12px; line-height: 1.5; }
.cfg-brief-profile strong { display: block; color: var(--navy); font-size: 19px; line-height: 1.4; margin-top: 5px; }
#cfg-insights-content { overflow-wrap: anywhere; }
#cfg-insights-content h3, .cfg-next-contact h3 { font-family: 'DM Sans', sans-serif; font-size: 18px; font-weight: 600; line-height: 1.45; letter-spacing: -.015em; }
.cfg-insights, .cfg-concerns, .cfg-unresolved, .cfg-prepare { margin-top: 30px; }
.cfg-priorities { margin: 18px 0 0; }
.cfg-priorities > div { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: 22px; padding: 18px 0; }
.cfg-priorities > div + div { border-top: 1px solid #e7ebf1; }
.cfg-priorities dt { color: var(--navy); font-size: 14px; font-weight: 600; line-height: 1.6; }
.cfg-priorities dd { margin: 0; color: #526178; font-size: 14px; line-height: 1.7; }
.cfg-concerns { border-radius: 14px; background: #edf2f8; padding: 24px; }
.cfg-concerns article { margin-top: 20px; }
.cfg-concerns article + article { padding-top: 20px; border-top: 1px solid #d0dae7; }
.cfg-concerns h4 { font-family: 'DM Sans', sans-serif; color: #233d60; font-size: 14px; font-weight: 600; line-height: 1.5; }
.cfg-concerns p { margin-top: 7px; color: #43546b; font-size: 14px; line-height: 1.7; }
.cfg-concerns .cfg-text-button { font-size: 12px; gap: 6px; margin-top: 6px; text-align: left; }
.cfg-unresolved > p { margin-top: 10px; font-size: 13px; line-height: 1.65; }
.cfg-unresolved ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 15px 0 0; list-style: none; }
.cfg-unresolved li { min-width: 0; }
.cfg-unresolved button { display: flex; align-items: center; gap: 14px; min-height: 44px; border: 1px solid #d4dce7; border-radius: 8px; background: #fff; padding: 10px 12px; color: #304663; font-size: 12px; line-height: 1.45; text-align: left; }
.cfg-unresolved button:hover { border-color: #8d9fb5; background: #f3f6fa; }
.cfg-unresolved button span { color: #82652e; margin-left: auto; }
.cfg-prepare { padding: 24px; border: 1px solid #deddd5; border-radius: 14px; background: #faf9f5; }
.cfg-prepare-heading { display: flex; align-items: center; gap: 12px; }
.cfg-prepare-heading svg { flex: 0 0 24px; color: #967538; }
.cfg-prepare ul { margin: 18px 0 0; padding-left: 19px; color: #48566b; font-size: 14px; line-height: 1.7; }
.cfg-prepare li + li { margin-top: 12px; }
.cfg-prepare li::marker { color: #94743e; }
.cfg-prepare > p { margin-top: 18px; font-size: 12px; line-height: 1.65; color: #657187; }
.cfg-answer-review { margin-top: 26px; }
.cfg-review-toggle { display: flex; justify-content: space-between; align-items: center; gap: 14px; width: 100%; min-height: 54px; padding: 14px 0; border: 0; border-bottom: 1px solid #d8dfe8; background: transparent; color: var(--navy); text-align: left; font-size: 14px; line-height: 1.5; font-weight: 600; }
.cfg-review-toggle::after { content: '+'; font-size: 22px; font-weight: 400; }
.cfg-review-toggle[aria-expanded="true"]::after { content: '−'; }
#cfg-summary-content { margin-top: 22px; }
.cfg-next-contact { margin-top: 30px; }
.cfg-next-contact > p { margin-top: 10px; font-size: 14px; line-height: 1.7; }
.cfg-unresolved button:focus-visible, .cfg-review-toggle:focus-visible { outline: 3px solid #a47a2b; outline-offset: 3px; }
.cfg-question { scroll-margin-top: 24px; }
.cfg-result-contact { display: flex; flex-wrap: wrap; gap: 10px; padding: 22px 0 28px; }
.cfg-result-contact > p { flex-basis: 100%; font-size: 12px; line-height: 1.6; margin: 4px 0 0; }
.cfg-summary-group { margin: 0 0 22px; padding: 22px; border: 1px solid #e0e5ec; border-radius: 14px; }
.cfg-summary-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -7px 0 14px; }
.cfg-summary-heading h3 { font-size: 18px; }
.cfg-summary-group dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 22px; font-size: 13px; line-height: 1.6; padding: 10px 0; }
.cfg-summary-group dl > div + div { border-top: 1px solid #edf0f4; }
.cfg-summary-group dt { color: var(--muted); }
.cfg-summary-group dd { margin: 0; color: var(--navy); font-weight: 600; }
.cfg-advice { background: #f7f5ee; border-radius: 14px; padding: 24px; }
.cfg-advice h3 { font-size: 18px; margin-bottom: 14px; }
.cfg-advice ul { margin: 0; padding-left: 18px; color: #435168; font-size: 14px; line-height: 1.65; }
.cfg-advice li + li { margin-top: 10px; }
.cfg-advice li::marker { color: #92723b; }
.cfg-export { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.cfg-export .cfg-button { font-size: 12px; min-height: 46px; padding: 10px 14px; }
.cfg-export-status { font-size: 13px; color: #345c43; margin-top: 14px; }
.cfg-summary-note { margin-top: 22px; font-size: 12px; line-height: 1.65; color: #657187; }
.cfg-print-contact { display: none; }
#cfg-copy-fallback { margin-top: 18px; }
#cfg-copy-fallback label { display: block; font-size: 13px; font-weight: 600; }
#cfg-copy-text { width: 100%; margin-top: 10px; border: 1px solid #bdc9d9; border-radius: 8px; padding: 12px; font-family: inherit; font-size: 16px; line-height: 1.6; resize: vertical; }
.cfg-fallback { padding-block: 50px 80px; }
.cfg-fallback p { margin-top: 16px; }
.cfg-fallback .cfg-button { margin-top: 24px; }
/* Cookie choices precede the form in normal flow, so no mobile controls are obscured. */
.config-page .cookie-banner { position: relative; inset: auto; padding-block: 16px; box-shadow: none; border: 0; border-bottom: 1px solid #d3d9e1; }
@media (max-width: 1100px) {
  .cfg-layout { gap: 24px; grid-template-columns: minmax(0, 1fr) 250px; }
  .cfg-panel { padding: 28px; }
  .cfg-intro { gap: 35px; grid-template-columns: minmax(0, 1fr) 250px; }
  .cfg-choice { padding: 14px; gap: 9px; }
  .cfg-choice-body { gap: 10px; }
  .cfg-choice-body > img { width: 36px; height: 36px; }
}
@media (max-width: 900px) {
  .cfg-intro { grid-template-columns: 1fr; gap: 18px; }
  .cfg-intro-note { max-width: 600px; }
  .cfg-intro-note p { margin-top: 2px; }
  .cfg-layout { grid-template-columns: minmax(0, 1fr); max-width: 780px; padding-block: 26px 56px; }
  .cfg-side { position: static; padding-top: 0; }
  .cfg-help { display: grid; grid-template-columns: 1fr auto; column-gap: 30px; }
  .cfg-help .eyebrow, .cfg-help h2, .cfg-help p:not(.small-text) { grid-column: 1; }
  .cfg-help-phone { grid-column: 2; grid-row: 1 / 4; align-self: center; margin: 0; }
  .cfg-help .small-text { grid-column: 1 / -1; }
  #cfg-live-content { max-height: none; }
}
@media (max-width: 767px) {
  .cfg-breadcrumb { display: none; }
  .cfg-hero { padding-top: 20px; }
  .cfg-intro { gap: 20px; }
  .cfg-hero h1 { font-size: 30px; line-height: 1.2; }
  .cfg-lead { font-size: 15px; margin-top: 14px; }
  .cfg-intro-note { gap: 10px; }
  .cfg-intro-note p { font-size: 12px; }
  .cfg-note-icon { width: 26px; height: 26px; font-size: 13px; }
  .cfg-intro-note strong { font-size: 13px; }
  .cfg-switch { gap: 6px; margin-top: 24px; }
  .cfg-switch a { padding: 12px 14px; font-size: 12px; }
  .cfg-toolbar { font-size: 12px; }
  .cfg-steps ol { gap: 4px; margin-bottom: 18px; }
  .cfg-steps button { flex-direction: column; align-items: center; justify-content: flex-start; font-size: 11px; gap: 6px; min-height: 57px; padding-inline: 2px; }
  .cfg-steps li { flex: 1; display: flex; justify-content: center; }
  .cfg-panel { border-radius: 16px; padding: 24px 20px; }
  .cfg-step-heading { margin-bottom: 26px; }
  .cfg-step-heading h2, .cfg-result h2 { font-size: 26px; }
  .cfg-step-heading p { font-size: 14px; }
  .cfg-question-title { font-size: 15px; }
  .cfg-question-help { font-size: 12px; }
  .cfg-questions { gap: 26px 16px; }
  .cfg-choices-large { grid-template-columns: 1fr; }
  .cfg-choices-large .cfg-choice { min-height: 80px; }
  .cfg-choice-body > img { width: 42px; height: 42px; }
  .cfg-choice { padding: 15px; min-height: 68px; }
  .cfg-choice-detail { font-size: 12px; }
  .cfg-button { font-size: 13px; padding-inline: 16px; }
  .cfg-form-actions { margin-top: 28px; padding-top: 20px; }
  .cfg-summary-group { padding: 18px; }
  .cfg-summary-group dl > div { grid-template-columns: 1fr; gap: 5px; padding-block: 13px; }
  .cfg-summary-group dt { font-size: 12px; }
  .cfg-summary-group dd { font-size: 14px; }
  .cfg-result-contact { flex-direction: column; }
  .cfg-result-heading { gap: 12px; }
  .cfg-brief-profile { padding: 16px; gap: 14px; }
  .cfg-brief-profile img { flex-basis: 50px; width: 50px; height: 50px; }
  .cfg-brief-profile strong { font-size: 17px; }
  .cfg-priorities > div { grid-template-columns: 1fr; gap: 6px; padding-block: 16px; }
  .cfg-concerns, .cfg-prepare { padding: 20px; }
  #cfg-insights-content h3, .cfg-next-contact h3 { font-size: 17px; }
  .cfg-result-check { width: 38px; height: 38px; font-size: 20px; }
  .cfg-advice { padding: 20px; }
  .cfg-export { flex-direction: column; }
  .cfg-export .cfg-button { min-height: 48px; font-size: 13px; }
  .cfg-storage-note { margin-inline: 0; font-size: 11px; }
  .cfg-reset > div { flex-direction: column; }
}
@media (max-width: 560px) {
  .cfg-choices { grid-template-columns: 1fr; }
  .cfg-question.cfg-half { grid-column: 1 / -1; }
  .cfg-help { display: block; }
  .cfg-help-phone { margin-top: 10px; }
}
@media (max-width: 359px) {
  .cfg-panel { padding: 22px 16px; }
  .cfg-hero h1 { font-size: 28px; }
  .cfg-switch a { padding-inline: 10px; font-size: 11px; }
  .cfg-form-actions { flex-direction: column-reverse; align-items: stretch; }
  #cfg-next { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .cfg-choice, .cfg-explainer > summary > svg { transition: none; } }
@media (forced-colors: active) {
  .cfg-choice.is-selected { outline: 2px solid Highlight; }
  .cfg-choice:focus-within { outline-color: Highlight; }
  .cfg-step-number.is-done { border: 2px solid Highlight; }
}
@media print {
  .config-page { background: #fff; color: #000; font-size: 11pt; }
  .config-page .site-header, .config-page .site-footer, .config-page .cookie-banner, .cfg-hero, .cfg-side, .cfg-toolbar, .cfg-steps, .cfg-resume, .cfg-reset, #cfg-progress, #cfg-form, .cfg-storage-note, .cfg-result-contact, .cfg-export, .cfg-export-status, #cfg-copy-fallback, .cfg-summary-heading button, .cfg-result-check { display: none !important; }
  .config-page .cfg-layout { width: 100%; max-width: none; display: block; padding: 0; margin: 0; }
  .cfg-result { padding: 0; border: 0; box-shadow: none; }
  .cfg-result h2 { font-size: 22pt; }
  .cfg-result-heading .eyebrow { font-size: 9pt; }
  .cfg-result-lead { font-size: 11pt; }
  #cfg-summary-content[hidden] { display: block !important; }
  .cfg-review-toggle, .cfg-concerns button, .cfg-next-contact { display: none !important; }
  .cfg-brief-profile { margin-top: 14px; padding: 10px 0; background: none; border-bottom: 1px solid #999; border-radius: 0; }
  .cfg-brief-profile img { width: 40px; height: 40px; flex-basis: 40px; }
  .cfg-insights, .cfg-concerns, .cfg-unresolved, .cfg-prepare { padding: 0; margin-top: 16px; border: 0; background: none; }
  #cfg-insights-content h3 { font-size: 12pt; }
  .cfg-priorities > div { padding: 8px 0; grid-template-columns: 1fr 1.5fr; break-inside: avoid; }
  .cfg-priorities dt, .cfg-priorities dd, .cfg-concerns p, .cfg-prepare ul { font-size: 10pt; }
  .cfg-concerns article { break-inside: avoid; }
  .cfg-unresolved ul { display: block; list-style: disc; padding-left: 18px; }
  .cfg-unresolved button { display: inline; min-height: 0; padding: 0; border: 0; font-size: 10pt; }
  .cfg-unresolved button span { display: none; }
  .cfg-prepare li { break-inside: avoid; }
  .cfg-summary-group { padding: 10px 0; margin: 14px 0; border: 0; border-bottom: 1px solid #999; border-radius: 0; break-inside: avoid; }
  .cfg-summary-heading { margin: 0 0 8px; }
  .cfg-summary-group dl > div { display: grid; grid-template-columns: 1fr 1.25fr; gap: 15px; padding-block: 5px; font-size: 10pt; }
  .cfg-summary-group dt, .cfg-summary-group dd { font-size: 10pt; }
  .cfg-advice { padding: 8px 0; border: 0; background: none; }
  .cfg-advice li { break-inside: avoid; font-size: 10pt; }
  .cfg-print-contact { display: block; border-top: 1px solid #aaa; padding-top: 12px; margin-top: 20px; font-size: 10pt; }
  .cfg-summary-note { font-size: 9pt; }
  .cfg-fallback { display: none; }
  @page { margin: 16mm; }
}
