*{box-sizing:border-box}body{margin:0;background:#102540;color:#fff;font:16px/1.55 system-ui,sans-serif}main{max-width:680px;margin:auto;padding:28px 20px}header{text-align:center;margin-bottom:24px}h1{font-size:2rem;margin:8px 0}h2{font-size:1.2rem}strong,.yellow,a{color:#fdc600}section,fieldset{background:#17334f;border:1px solid #38536c;border-radius:12px;padding:20px;margin:16px 0}fieldset legend{font-weight:700;padding:0 8px}label{display:block;margin:9px 0}input,textarea,button{font:inherit}input:not([type=checkbox]):not([type=radio]),textarea{width:100%;background:#102540;color:white;border:1px solid #678099;border-radius:7px;padding:10px}textarea{min-height:85px}input[type=checkbox],input[type=radio]{accent-color:#fdc600;margin-right:8px}button{background:#fdc600;color:#102540;border:0;border-radius:8px;padding:12px 20px;font-weight:700;cursor:pointer}footer{text-align:center;font-size:13px;margin:30px 0}small{color:#d0dce8}pre{white-space:pre-wrap;overflow-wrap:anywhere} [hidden]{display:none!important}

.brand-logo{display:block;width:200px;max-width:75%;height:auto;margin:0 auto 16px}

/* Compact selectable tiles and accessible star rating */
#types,#strengths{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
#types label,#strengths label{position:relative;flex:1 1 auto;margin:0;min-width:0;cursor:pointer}
#types label span,#strengths label span{display:flex;align-items:center;justify-content:center;text-align:center;min-height:44px;padding:8px 12px;border:1px solid #678099;border-radius:8px;background:#102540;font-size:14px;line-height:1.25;height:100%}
#types input,#strengths input,#ratings input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
#types input:checked+span,#strengths input:checked+span{background:#ffe78a;color:#102540;border-color:#ffe78a;font-weight:600}
#types input:focus-visible+span,#strengths input:focus-visible+span,#ratings input:focus-visible+span{outline:2px solid white;outline-offset:3px}
#ratings{display:flex;justify-content:center;gap:clamp(4px,3vw,20px);margin:0}
#ratings label{position:relative;margin:0;cursor:pointer}
#ratings span{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:48px;font-size:38px;line-height:1;color:#ffe78a}
@media(max-width:480px){#types label span,#strengths label span{font-size:13px;padding:7px 8px}#types,#strengths{gap:6px}#ratings{gap:3px}}

.brand-logo{width:280px;max-width:85%;margin:0 auto 16px}
select[name=permission]{display:block;width:100%;font:inherit;color:#fff;background:#102540;border:1px solid #678099;border-radius:8px;padding:12px;margin:12px 0;color-scheme:dark}
#ratings span svg{width:36px;height:36px;fill:transparent;stroke:#a5b6c8;stroke-width:1.65;stroke-linejoin:round;stroke-linecap:round;transition:fill .15s,stroke .15s,transform .15s}
#ratings .rated svg{fill:#fdc600;stroke:#fdc600}#ratings label:active svg{transform:scale(.92)}

/* Seven program choices in two full-width rows: four then three. */
#types{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:6px}
#types label{grid-column:span 3}
#types label:nth-child(n+5){grid-column:span 4}
#types label span{padding:7px 3px;overflow-wrap:normal;font-size:clamp(11px,2.8vw,14px)}
fieldset{min-width:0}
@media(max-width:480px){fieldset:has(#types){padding-inline:10px}#types{gap:4px}}

/* Feedback footer — adapted from PB&J home footer */
.feedback-footer{margin:30px 0 0;text-align:center;color:#d0dce8;font-size:13px}.feedback-tagline{margin:0 0 24px;color:#fff}.feedback-tagline a{text-decoration:none}.feedback-tagline a:hover{text-decoration:underline}.footer-location{display:flex;align-items:center;justify-content:center;gap:6px;margin:0 0 14px}.footer-location svg{color:#fdc600}.feedback-footer b{color:#fff;font-size:14px}.feedback-footer .contact-links{display:flex;justify-content:center;align-items:center;gap:clamp(16px,5vw,32px);margin:12px 0 20px}.feedback-footer .contact-links a{display:flex;flex-direction:column;align-items:center;gap:5px;text-decoration:none;color:#fff;font-size:12px}.feedback-footer .contact-links a:nth-child(2) svg{color:#fdc600}.feedback-footer .contact-links a:nth-child(3) svg{color:#60a5fa}.feedback-footer .contact-links a:hover span{text-decoration:underline}.feedback-footer .copyright{display:block;border-top:1px solid #38536c;padding-top:15px;font-size:11px}.feedback-footer a:focus-visible{outline:2px solid #fdc600;outline-offset:4px}
