/* Scoped to the free browser-only reflection aid. Existing site/media are unchanged. */
.self-check-layout{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:7%;padding:64px max(7.5%,calc((100vw - 1200px)/2));align-items:start}
body[data-revision=warm] .self-check-intro h1{font-size:clamp(36px,3.8vw,54px);line-height:1.15;margin:16px 0 24px}
.self-check-intro>p{font-size:18px;line-height:1.75;max-width:40ch}.self-check-intro .check-caption{font-size:14px;line-height:1.7;margin-top:28px;max-width:42ch}
.self-check-panel{background:var(--cfs-tint);border-top:4px solid var(--cfs-rose);padding:32px;min-width:0;border-radius:0 0 18px 18px}
.self-check-panel [hidden]{display:none!important}.self-check-panel p{font-size:16px;line-height:1.7}
#check-setup{padding-bottom:20px;border-bottom:1px solid var(--cfs-separator);margin-bottom:24px}
.check-context{display:flex;align-items:center;gap:12px;min-height:48px;font:500 15px/1.5 var(--cfs-font);cursor:pointer}
.self-check-panel input{accent-color:var(--cfs-violet);width:20px;height:20px;flex-shrink:0;cursor:pointer}
#check-context-note:empty{display:none}#check-context-note{font-size:13px;line-height:1.5;margin:8px 0 0}
#check-progress{font:500 13px/1.5 var(--cfs-font);color:var(--cfs-violet);margin-bottom:18px}
.check-question{border:0;padding:0;margin:0 0 28px;min-width:0}.check-question legend{font:600 24px/1.4 var(--cfs-font);color:var(--cfs-ink);padding:0;max-width:100%;width:100%}
.check-help{margin:14px 0 20px;color:var(--cfs-text-muted)}.check-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.check-options label{display:flex;gap:12px;align-items:center;padding:14px;min-height:56px;border:1px solid var(--cfs-separator);background:var(--cfs-paper);border-radius:8px;font-size:16px;cursor:pointer}
.check-options label:has(input:checked){border-color:var(--cfs-violet);box-shadow:inset 0 0 0 1px var(--cfs-violet);font-weight:600}
.self-check-panel :focus-visible{outline:3px solid var(--cfs-ink);outline-offset:4px}.self-check-panel legend:focus{outline:2px solid var(--cfs-violet);outline-offset:6px}
.check-error{color:#81314E;font-size:15px;min-height:1.5em;margin:12px 0}.check-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.check-button{font:500 15px/1.4 var(--cfs-font);min-height:48px;padding:12px 18px;border-radius:28px;border:1px solid var(--cfs-violet);background:var(--cfs-violet);color:var(--cfs-paper);cursor:pointer}
.check-button:hover{background:var(--cfs-violet-hover)}.check-button.secondary{background:transparent;color:var(--cfs-ink);border-color:var(--cfs-ink)}.check-button.secondary:hover{background:var(--cfs-paper)}
.check-button:disabled{opacity:.45;cursor:default}.check-reset{display:block;margin-top:24px;background:transparent;border:0;text-decoration:underline;text-underline-offset:4px;font:500 14px/1.5 var(--cfs-font);padding:12px 0;min-height:44px;color:var(--cfs-ink);cursor:pointer}
#check-reset-confirm{margin-top:24px;padding-top:20px;border-top:1px solid var(--cfs-separator)}
body[data-revision=warm] #check-result-title{font-size:30px;line-height:1.25;color:var(--cfs-violet);margin:0 0 18px}
body[data-revision=warm] #check-results h3{font-size:19px;line-height:1.4;margin:28px 0 16px;color:var(--cfs-ink)}
#check-priorities{padding-left:24px;margin:0}#check-priorities li{padding:0 0 16px 8px}#check-priorities h4{font:600 17px/1.5 var(--cfs-font);margin:0 0 8px}#check-priorities p{margin:0}
.check-boundary{padding:16px 0;border-block:1px solid var(--cfs-separator)}
.check-review{margin:12px 0 0}.check-review>div{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-top:1px solid var(--cfs-separator);font-size:14px;line-height:1.6}.check-review dd{margin:0;white-space:nowrap;font-weight:600}
.check-method{margin:24px 0}.check-method summary{cursor:pointer;min-height:44px;padding:10px 0;font:500 15px/1.6 var(--cfs-font)}.check-method p{font-size:14px}
.check-limit{font-size:14px!important}.check-optional{padding-top:24px;margin-top:24px;border-top:1px solid var(--cfs-separator)}
.readiness-invitation{display:flex;justify-content:space-between;align-items:center;gap:36px;margin:0;padding:34px max(7.5%,calc((100vw - 1200px)/2));background:var(--cfs-tint);border-top:2px solid var(--cfs-rose)}
body[data-revision=warm] .readiness-invitation h2{font-size:25px;line-height:1.35;margin:0 0 10px;color:var(--cfs-violet)}.readiness-invitation p{font-size:16px;line-height:1.7;margin:0;max-width:65ch}.readiness-invitation a{flex-shrink:0;font-size:15px}
@media(max-width:900px){.self-check-layout{grid-template-columns:1fr;gap:32px;padding:40px 24px}.self-check-intro>p,.self-check-intro .check-caption{max-width:65ch}.self-check-intro .check-caption{margin-top:16px}.self-check-panel{max-width:720px;width:100%}.readiness-invitation{align-items:flex-start;flex-direction:column;gap:20px;padding:28px 24px}}
@media(max-width:560px){.self-check-layout{padding:32px 16px}.self-check-panel{padding:24px 18px}.check-question legend{font-size:22px}.check-options{gap:10px}.check-options label{padding:12px 10px;font-size:15px;gap:8px}.check-controls{gap:10px}.check-button{padding:12px 16px}.readiness-invitation{padding:28px 16px}body[data-revision=warm] #check-result-title{font-size:27px}}
@media(prefers-reduced-motion:reduce){.self-check-panel{scroll-behavior:auto}}

/* Result exports stay in this browser and are available after completion only. */
.check-result-actions{margin:24px 0}
#check-export-status:empty{display:none}
#check-copy-text{white-space:pre-wrap;overflow-wrap:anywhere;user-select:text;font:400 14px/1.7 var(--cfs-font);padding:16px;border:1px solid var(--cfs-separator);border-radius:8px;background:var(--cfs-paper);max-height:24rem;overflow:auto}

.check-print-summary{overflow-wrap:anywhere}
.check-plan-page{padding:20px 0;border-top:1px solid var(--cfs-separator)}
.check-plan-block{margin:18px 0}
.check-plan-field{font-size:14px!important;line-height:2!important;overflow-wrap:anywhere}
#check-plan-preview .check-plan-page h2{font-size:24px;line-height:1.3}
@media print{
  @page{size:auto;margin:15mm}
  body.check-results-ready{background:#fff!important;color:#000!important}
  body.check-results-ready>*:not(main),
  body.check-results-ready main>*:not(.self-check-layout),
  body.check-results-ready .self-check-intro,
  body.check-results-ready .self-check-panel>*:not(#check-results),
  body.check-results-ready #check-results>*:not(#check-plan-preview),
  body.check-results-ready #check-plan-preview>summary{display:none!important}
  body.check-results-ready main,
  body.check-results-ready .self-check-layout,
  body.check-results-ready .self-check-panel,
  body.check-results-ready #check-results,
  body.check-results-ready #check-plan-preview,
  body.check-results-ready .check-print-summary{display:block!important;position:static!important;width:auto!important;max-width:none!important;height:auto!important;overflow:visible!important;margin:0!important;padding:0!important;background:#fff!important;border:0!important;box-shadow:none!important}
  body.check-results-ready #check-plan-preview::details-content{content-visibility:visible!important;display:block!important}
  body.check-results-ready .check-print-summary{font:10pt/1.4 sans-serif!important;color:#000!important}
  body.check-results-ready .check-plan-page{break-before:page;padding:0;border:0}
  body.check-results-ready .check-plan-page:first-child{break-before:auto}
  body.check-results-ready #check-plan-preview h2{font:700 18pt/1.2 sans-serif!important;color:#000!important;margin:0 0 12pt!important;break-after:avoid}
  body.check-results-ready #check-plan-preview h3{font:700 11pt/1.3 sans-serif!important;color:#000!important;margin:10pt 0 5pt!important;break-after:avoid}
  body.check-results-ready .check-plan-block{margin:0 0 12pt;break-inside:avoid}
  body.check-results-ready #check-plan-preview p{font:10pt/1.4 sans-serif!important;color:#000!important;margin:5pt 0!important;orphans:3;widows:3}
  body.check-results-ready #check-plan-preview .check-plan-field{line-height:1.8!important}
}

@media print{body.check-results-ready #check-plan-preview h2,body.check-results-ready #check-plan-preview h3,body.check-results-ready #check-plan-preview p{max-width:none!important;width:auto!important;font-family:sans-serif!important}}
