/* Scoped to the school selection page; shared forms retain their presentation. */
#school-selection-form{padding:36px 0 64px}
#school-selection-form .nl-layout{display:block;width:min(940px,calc(100% - 48px));max-width:940px;margin:0 auto}
.selection-wizard{padding:34px 40px 32px;border-radius:18px;color:#173b5c;min-width:0;box-shadow:0 10px 36px rgba(23,59,92,.045)}
.selection-wizard [hidden]{display:none!important}
.selection-wizard>h2{font-size:26px;line-height:1.45;margin:0 0 8px}
.selection-wizard>.nl-description{margin:0;color:#52697b;font-size:14px;line-height:1.8}
.selection-wizard .sw-limit-note{display:flex;align-items:center;gap:12px;margin:16px 0 0;padding:12px 16px;border:1px solid #c9e6df;border-radius:10px;background:#f0faf7;color:#315c59;font-size:13px;line-height:1.7}
.selection-wizard .sw-limit-note strong{flex:0 0 auto;color:#006c69;font-size:14px}
.selection-wizard h3{margin:0 0 8px;font-size:21px;line-height:1.5;color:#173b5c}
.selection-wizard h3:before{display:none}
.selection-wizard h3:focus{outline:0}
.selection-wizard .sw-help{margin:0 0 24px;color:#52697b;font-size:14px;line-height:1.8}
.sw-required,.selection-wizard .nl-field em{color:#b54435}

.sw-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;list-style:none;padding:0;margin:26px 0 30px}
.sw-progress li{display:flex;align-items:center;gap:10px;min-width:0;padding:13px 14px;border:1px solid #e1e9ee;border-radius:10px;background:#f6f8fa;color:#52697b;line-height:1.5}
.sw-progress li:before{display:none}
.sw-progress li b{display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:#e2eaf0;color:#405769;font-size:14px}
.sw-progress-text{min-width:0}
.sw-progress-text>span{display:block;font-size:14px;font-weight:700}
.sw-progress-text small{display:block;margin-top:2px;font-size:11px;line-height:1.5;font-weight:400;color:#52697b}
.sw-progress li[aria-current=step]{border-color:#92c7c0;background:#edf8f5;color:#006c69}
.sw-progress li[aria-current=step] b,.sw-progress li.is-complete b{background:#007e7b;color:#fff}

.selection-wizard .sw-group{display:block;min-width:0;margin:0 0 24px;padding:0 0 24px;border:0;border-bottom:1px solid #e4ecf0}
.selection-wizard .sw-group:last-of-type{margin-bottom:0;padding-bottom:0;border-bottom:0}
.selection-wizard .sw-group legend{display:block;float:none;width:100%;padding:0;margin:0 0 16px;color:#173b5c;font-size:16px;line-height:1.6;font-weight:700}
.selection-wizard .nl-grid{gap:18px 24px}
.selection-wizard .nl-field{gap:8px;font-size:14px;line-height:1.5;font-weight:600;color:#263e50}
.selection-wizard .nl-field input,.selection-wizard .nl-field select{height:48px;border-radius:8px;border-color:#b8c9d5;background:#fff;color:#263e50;font-size:15px;font-weight:400}
.selection-wizard .nl-field input::placeholder{color:#647684;opacity:1}
.selection-wizard .nl-field input:disabled{background:#f1f5f7;color:#52697b;cursor:not-allowed}
.selection-wizard .sw-field-note{margin:8px 0 18px;font-size:12px;line-height:1.8;font-weight:400;color:#52697b}
.sw-score-row.has-total{grid-template-columns:repeat(3,minmax(0,1fr))}
.selection-wizard .nl-grid.is-single{grid-template-columns:minmax(0,1fr)}
.sw-input-unit{position:relative;min-width:0}
.selection-wizard .sw-input-unit input{padding-right:106px}
.sw-input-unit>span{position:absolute;right:30px;top:0;display:flex;align-items:center;height:48px;color:#52697b;font-size:13px;font-weight:400;pointer-events:none}
.selection-wizard .sw-uncertain{display:flex;align-items:center;gap:10px;align-self:end;min-height:48px;margin:0;padding:0;color:#405769;font-size:14px;font-weight:400;line-height:1.6;cursor:pointer}
.sw-uncertain input{flex:0 0 18px;width:18px;height:18px;margin:0;accent-color:#007e7b;cursor:pointer}
.selection-wizard .nl-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:28px;padding-top:24px;border-top:1px solid #e4ecf0}
.selection-wizard .nl-submit{width:auto;min-width:218px;min-height:48px;gap:16px;padding:12px 24px;border-radius:8px;font-size:15px;font-weight:700;background:#1875b5;color:#fff}
.selection-wizard .nl-submit:hover{background:#105f98}
.selection-wizard .sw-back{margin-right:auto}
.selection-wizard button:disabled{opacity:.7;cursor:wait}
.selection-wizard .sw-message{margin:14px 0 0;min-height:0;color:#9d302b;line-height:1.7}
.selection-wizard .sw-message:empty{display:none}

.sw-review{margin:0 0 26px;border:1px solid #d7e5eb;border-radius:10px;background:#f7fafb}
.sw-review>summary{display:flex;align-items:center;gap:12px;min-height:54px;padding:14px 18px;color:#173b5c;list-style:none;cursor:pointer;font-size:14px;line-height:1.7;font-weight:600}
.sw-review>summary::-webkit-details-marker{display:none}
.sw-review-caption{margin-left:auto;color:#52697b;font-size:13px;font-weight:400}
.sw-review-chevron{width:8px;height:8px;flex:0 0 8px;border-right:1.5px solid #405769;border-bottom:1.5px solid #405769;transform:rotate(45deg);margin-left:4px;margin-top:-4px}
.sw-review[open] .sw-review-chevron{transform:rotate(225deg);margin-top:4px}
.sw-profile-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;margin:0;padding:20px;border:1px solid #d7e6eb;border-radius:10px;background:#f5fafb}
.sw-review .sw-profile-summary{margin:0 18px 18px;padding:16px 0 0;border:0;border-top:1px solid #dce7ed;border-radius:0;background:none}
.sw-profile-summary div{min-width:0}
.sw-profile-summary dt{margin:0 0 4px;color:#52697b;font-size:12px;line-height:1.6}
.sw-profile-summary dd{margin:0;color:#173b5c;font-size:14px;line-height:1.7;overflow-wrap:anywhere}
.selection-wizard .sw-contact-note{margin:14px 0 0;color:#52697b;font-size:12px;line-height:1.8}
.selection-wizard .nl-consent{justify-content:flex-start;gap:10px;margin:24px 0 0;padding:16px 18px;border-radius:8px;background:#f5f8fa;color:#405769;font-size:12px;line-height:1.9}
.selection-wizard .nl-consent a{color:#006c69}

.sw-back,.sw-report-actions button,.sw-report-actions a{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:48px;padding:11px 22px;border:1px solid #bcd8df;border-radius:8px;background:#eef8f7;color:#006c69;font:inherit;font-size:14px;font-weight:600;text-decoration:none;cursor:pointer;box-sizing:border-box}
.sw-back:hover,.sw-report-actions button:hover,.sw-report-actions a:hover{background:#dfefed}
.sw-status{padding:16px 18px;margin-bottom:22px;border:1px solid #c9e3e6;border-radius:10px;background:#f0f8f8;color:#24546b;font-size:14px;line-height:1.9}
.sw-status.is-error{background:#fff5f2;color:#923c2d;border-color:#eed4cd}
.sw-status.is-working::before{content:"";display:inline-block;width:12px;height:12px;margin-right:9px;vertical-align:-1px;border:2px solid #9ccfc8;border-top-color:#007e7b;border-radius:50%;animation:sw-spin .8s linear infinite}
.sw-report-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:26px}
.sw-report-section{margin-top:24px;padding-top:22px;border-top:1px solid #dce7ed}
.selection-wizard .sw-report-section h4{margin:0 0 12px;color:#173b5c;font-size:18px;line-height:1.5}
.sw-report-section p,.sw-report-section li,.sw-report-overview{color:#405769;font-size:15px;line-height:1.95;overflow-wrap:anywhere}
.sw-report-section ul{padding-left:21px;margin:0}
.sw-report-meta{color:#52697b;font-size:12px;line-height:1.8;margin:0 0 16px}
.sw-match{padding:20px;margin-top:14px;border:1px solid #d5e5e9;border-radius:10px;background:#f7fbfc}
.sw-match h5{margin:0 0 6px;color:#173b5c;font-size:17px;line-height:1.6}
.sw-match p{margin:6px 0 10px}
.sw-match a,.sw-source-list a{color:#08629b;text-decoration:underline;text-underline-offset:3px}
.sw-match small{display:block;color:#52697b;font-size:12px;line-height:1.7;margin:10px 0 0}
.sw-source-list{margin:0;padding-left:20px}
.sw-source-list li{margin-bottom:8px}
.sw-source-list a{overflow-wrap:anywhere}
.selection-wizard button:focus-visible,.selection-wizard a:focus-visible,.sw-review>summary:focus-visible{outline:2px solid #116c9e;outline-offset:3px}
@keyframes sw-spin{to{transform:rotate(360deg)}}

@media(max-width:700px){
 #school-selection-form{padding:22px 0 44px}
 #school-selection-form .nl-layout{width:calc(100% - 32px)}
 .selection-wizard{padding:26px 22px;border-radius:14px}
 .selection-wizard>h2{font-size:24px}
 .sw-progress{gap:6px;margin:22px 0 26px}
 .sw-progress li{justify-content:center;flex-direction:column;gap:6px;padding:11px 4px;text-align:center}
 .sw-progress-text small{display:none}
 .sw-progress-text>span{font-size:13px}
 .sw-progress li b{flex-basis:28px;width:28px;height:28px}
 .selection-wizard .nl-grid{gap:16px}
 .selection-wizard .nl-field input,.selection-wizard .nl-field select{font-size:16px}
 .sw-review-caption{display:none}
}
@media(max-width:600px){
 .selection-wizard{padding:24px 18px}
 .selection-wizard .sw-limit-note{align-items:flex-start;flex-direction:column;gap:2px}
 .selection-wizard .nl-grid,.sw-score-row.has-total{grid-template-columns:1fr}
 .selection-wizard h3{font-size:20px}
 .selection-wizard .sw-help{font-size:13px;margin-bottom:22px}
 .selection-wizard .sw-group{padding-bottom:22px;margin-bottom:22px}
 .selection-wizard .sw-group legend{margin-bottom:14px}
 .selection-wizard .sw-uncertain{min-height:32px}
 .selection-wizard .nl-actions{flex-direction:row;flex-wrap:nowrap;padding-top:20px;margin-top:24px}
 .selection-wizard .nl-submit{min-width:0;flex:1;width:100%;padding:12px 14px;gap:8px;font-size:14px}
 .selection-wizard .sw-back{flex:0 0 auto;min-width:82px;padding:11px 14px;margin:0}
 .sw-profile-summary{grid-template-columns:1fr;gap:14px;padding:16px}
 .sw-review>summary{padding:13px 14px;font-size:13px}
 .sw-review-chevron{margin-left:auto}
 .sw-review .sw-profile-summary{margin:0 14px 16px}
 .selection-wizard .nl-consent{padding:14px 12px}
 .sw-report-actions{display:grid;grid-template-columns:1fr 1fr}
 .sw-report-actions a,.sw-report-actions button{padding:10px;font-size:14px}
 .sw-match{padding:15px}
}
@media(prefers-reduced-motion:reduce){.sw-status.is-working::before{animation:none}}
@media print{
 body>*{display:none!important}body>main{display:block!important}main>*{display:none!important}
 #school-selection-form{display:block!important;margin:0!important;padding:0!important}
 #school-selection-form .nl-layout{display:block!important;width:100%!important;max-width:none!important;margin:0!important}
 .selection-wizard{border:0!important;box-shadow:none!important;padding:0!important}
 .selection-wizard>h2,.selection-wizard>.nl-description,.selection-wizard>.sw-limit-note,.sw-progress,.sw-message,.nl-honeypot,.sw-report-actions,.sw-status{display:none!important}
 .selection-wizard>[data-wizard-step]{display:none!important}.selection-wizard>[data-wizard-step="3"]{display:block!important}
 .sw-report-section,.sw-match{break-inside:avoid}.sw-match a:after{content:" (" attr(href) ")";font-size:10pt}
 .sw-report-section p,.sw-report-section li{color:#222!important;font-size:10.5pt}
}
