.wizard-page [hidden] { display: none !important; }
.wizard-intro { padding-block: 58px 64px; }
.wizard-intro .eyebrow { color: var(--mint); }
.wizard-intro h1 { font-size: clamp(2.6rem, 4.4vw, 4rem); }
.wizard-intro .hero-intro { max-width: 49rem; margin-top: 1.4rem; }
.wizard-requirements { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 1.7rem 0 0; list-style: none; }
.wizard-requirements li { padding: .35rem .75rem; border: 1px solid #51717b; border-radius: 3px; font: .85rem/1.6 var(--mono); color: #e6f6f5; }
.wizard-main { padding-block: 2.5rem 4rem; }
.wizard-scope { max-width: 70rem; margin-bottom: 2rem; color: var(--muted); }
.wizard-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; gap: 3rem; }
.wizard-layout > * { min-width: 0; }
#wizard-controls { border: 0; padding: 0; margin: 0; min-width: 0; }
.wizard-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wizard-examples { margin-bottom: 2.5rem; }
.wizard-examples h2 { font-size: 1.35rem; letter-spacing: -.02em; }
.wizard-examples p { margin-top: .5rem; color: var(--muted); }
.wizard-example-buttons { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.wizard-example-buttons button { background: white; color: var(--ink); border: 1px solid #aebfc5; border-radius: 3px; padding: .65rem .8rem; font: 600 .88rem/1.4 "Segoe UI", Arial, sans-serif; cursor: pointer; min-height: 44px; }
.wizard-example-buttons button:hover { border-color: var(--teal); background: #eaf8f5; }
.wizard-step { border: 0; border-top: 1px solid var(--line); padding: 1.35rem 0 0; margin: 0 0 2rem; min-width: 0; }
.wizard-step legend { font-size: 1.2rem; font-weight: 650; padding: 0 .75rem 0 0; max-width: 100%; line-height: 1.5; }
.wizard-number { color: var(--teal); font-family: var(--mono); font-size: .95rem; margin-right: .45rem; }
.wizard-step label { display: block; font-weight: 600; margin-bottom: .45rem; }
.wizard-step select { width: 100%; max-width: 100%; border: 1px solid #829da6; border-radius: 3px; background: white; color: var(--ink); padding: .8rem .6rem; min-height: 48px; font: inherit; font-size: 1rem; }
.wizard-step select:focus-visible { outline: 3px solid #e6ac27; outline-offset: 3px; }
.wizard-help { font-size: .9rem; line-height: 1.6; color: var(--muted); margin: .6rem 0 1.25rem; }
.wizard-help a { color: var(--teal); }
.wizard-connection-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.wizard-connection-photo { min-width: 0; }
.wizard-photo-image { display: flex; align-items: center; justify-content: center; height: 140px; padding: .5rem; background: white; border: 1px solid var(--line); }
.wizard-photo-image img { width: 100%; height: 100%; object-fit: contain; }
.wizard-connection-photo figcaption { padding-top: .6rem; font-size: .82rem; line-height: 1.5; color: var(--muted); }
.wizard-connection-photo figcaption strong { display: block; color: var(--ink); font-size: .95rem; }
.wizard-connection-photo figcaption p { margin-top: .4rem; font-size: inherit; }
.wizard-connection-photo .photo-credit { font-size: .72rem; }
.wizard-connection-photos[data-selected="true"] { grid-template-columns: 1fr; }
.wizard-connection-photos[data-selected="true"] .wizard-connection-photo { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: start; gap: 1rem; }
.wizard-connection-photos[data-selected="true"] figcaption { padding-top: 0; }
.wizard-connection-photos[data-selected="true"] .wizard-photo-image { height: 160px; }
.wizard-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.2rem; }
.wizard-actions .button { border: 0; cursor: pointer; font: inherit; font-weight: 650; min-height: 48px; }
.wizard-reset { color: var(--teal); background: none; border: 0; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; font: inherit; min-height: 44px; }
.wizard-actions p { flex-basis: 100%; color: var(--muted); font-size: .9rem; }
.wizard-result { position: sticky; top: 1.5rem; border: 1px solid #ccdadd; border-top: 5px solid #758c96; border-radius: 4px; padding: 1.75rem; background: var(--wash); }
.wizard-result:focus-visible { outline: 3px solid #e6ac27; outline-offset: 4px; }
.wizard-result[data-state="pass"] { border-top-color: #007668; }
.wizard-result[data-state="partial"], .wizard-result[data-state="blocked"] { border-top-color: #a36406; }
.wizard-result .eyebrow { margin-bottom: 1rem; font-size: .75rem; }
.wizard-result h2 { font-size: clamp(1.7rem, 2.5vw, 2.2rem); letter-spacing: -.025em; line-height: 1.18; margin: .9rem 0; }
.wizard-badge { display: inline-block; padding: .2rem .65rem; border-radius: 3px; font-size: .85rem; font-weight: 650; color: #374f5a; background: #dfe8eb; }
.wizard-result[data-state="pass"] .wizard-badge { background: #cfede2; color: #005344; }
.wizard-result[data-state="partial"] .wizard-badge, .wizard-result[data-state="blocked"] .wizard-badge { background: #f7e4c4; color: #754301; }
#result-summary { color: var(--muted); }
.wizard-progress { font: .82rem/1.5 var(--mono); margin-top: 1rem; }
.wizard-checks { padding: 0; margin: 1.5rem 0; list-style: none; border-top: 1px solid #cad8dd; }
.wizard-checks li { padding-block: 1rem; border-bottom: 1px solid #cad8dd; }
.wizard-check-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem .7rem; }
.wizard-check-heading h3 { font-size: 1rem; line-height: 1.4; }
.wizard-check-state { font: 600 .75rem/1.5 var(--mono); }
.wizard-checks [data-state="pass"] .wizard-check-state { color: #006451; }
.wizard-checks [data-state="fail"] .wizard-check-state { color: #875006; }
.wizard-checks [data-state="pending"] .wizard-check-state { color: #526771; }
.wizard-checks li > p { font-size: .9rem; color: var(--muted); margin-top: .35rem; }
.wizard-future { background: #fff6e7; border-left: 3px solid #a36406; padding: 1rem 1.1rem; margin-bottom: 1.5rem; }
.wizard-future .eyebrow { color: #875006; font-size: .7rem; margin-bottom: .5rem; }
.wizard-future h3 { line-height: 1.4; }
.wizard-future p:last-child { margin-top: .6rem; font-size: .9rem; }
.wizard-next h3 { font-size: 1.1rem; }
.wizard-next ul { margin: .75rem 0 0; padding-left: 1.2rem; font-size: .92rem; }
.wizard-next li { margin-bottom: .6rem; }
.wizard-result-note { margin: 1.3rem 0 .75rem; font-size: .82rem; color: var(--muted); }
.wizard-result > .text-link { color: var(--teal); font-size: .9rem; }
@media (max-width: 1050px) {
  .wizard-layout { gap: 1.75rem; }
  .wizard-result { padding: 1.25rem; }
}
@media (max-width: 800px), (max-height: 800px) {
  .wizard-result { position: static; }
}
@media (max-width: 800px) {
  .wizard-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .wizard-intro { padding-block: 40px; }
}
@media (max-width: 480px) {
  .wizard-connection-photos { grid-template-columns: 1fr; }
  .wizard-connection-photos[data-selected="true"] .wizard-connection-photo { grid-template-columns: 1fr; gap: .6rem; }
  .wizard-photo-image, .wizard-connection-photos[data-selected="true"] .wizard-photo-image { height: 200px; }
  .wizard-example-buttons { display: grid; grid-template-columns: 1fr; }
  .wizard-example-buttons button { text-align: left; }
  .wizard-step select { font-size: .94rem; }
}
@media print {
  .wizard-examples, .wizard-actions, #wizard-fallback { display: none; }
  .wizard-layout { display: block; }
  .wizard-result { position: static; break-before: page; background: white; }
}
