.student-page{--student-accent:var(--navy-900,#0b2f6b);width:min(calc(100% - 32px),960px);margin:0 auto;padding:0 0 24px;color:var(--ink-950,#142033);font-size:14px;line-height:1.7;word-break:keep-all;overflow-wrap:anywhere}
.student-heading{border-bottom:2px solid var(--student-accent,#0b2f6b);padding-bottom:16px;margin-bottom:20px}
.student-heading h1{font-size:clamp(1.55rem,4vw,2.15rem);line-height:1.3;margin:4px 0 0;letter-spacing:-.025em;color:var(--navy-950,#082451)}
.student-heading p{margin:8px 0 0;color:var(--ink-600,#58667a)}
.student-heading .student-kicker{margin:0;color:var(--navy-950,#082451);font-weight:750;font-size:.95rem}
.student-intro,.student-consent,.student-complete{background:#fff;border:1px solid var(--line-300,#c8d2df);border-radius:2px;padding:24px;margin:20px 0}
.student-intro p{margin:0 0 11px;color:var(--ink-800,#27364c)}
.student-intro p:last-child{margin-bottom:0}
.student-note{font-size:14px;color:var(--ink-700,#3d4b5f);background:var(--blue-050,#f4faff);border-left:4px solid var(--blue-600,#0a7dc2);padding:10px 14px}
.student-question{border:0;border-radius:0;background:transparent;min-width:0;margin:0;padding:28px 0 32px;scroll-margin-top:84px}
.student-question legend{float:left;display:flex;align-items:baseline;gap:10px;width:100%;font-size:18px;line-height:1.6;font-weight:750;color:var(--navy-950,#082451);padding:0;margin:0 0 18px}
.student-question-number{display:inline-block;flex-shrink:0;min-width:40px;padding:2px 8px;background:var(--student-accent);color:white;text-align:center;font-size:15px;line-height:26px;border-radius:2px}
.student-question legend+*{clear:both}
.student-question label{cursor:pointer}
.student-page input:not([type=radio]),.student-page select,.student-filters input,.student-filters select{font:inherit;min-height:46px;border:1px solid var(--line-300,#c8d2df);border-radius:2px;background:white;color:var(--ink-950,#142033);padding:8px 12px;max-width:100%;box-sizing:border-box}
.student-page select{width:100%}
.student-page input:focus-visible,.student-page select:focus-visible,.student-page button:focus-visible,.student-page summary:focus-visible,.student-admin button:focus-visible,.student-admin a:focus-visible{outline:3px solid #126db3;outline-offset:3px}
.student-choices{display:flex;gap:10px;flex-wrap:wrap}
.student-choices:not(.student-scale) .student-choice{min-width:120px;justify-content:center}
.student-actions.student-navigation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;padding-top:20px;border-top:1px solid var(--line-200,#dce3eb)}
.student-actions.student-navigation .button{width:100%;min-height:60px;font-size:18px;justify-content:center;text-align:center}
.student-navigation .button:disabled{opacity:.45;cursor:default}
.student-choice{display:flex;align-items:center;gap:9px;min-height:48px;background:#fff;border:1px solid var(--line-300,#c8d2df);border-radius:2px;padding:10px 16px;cursor:pointer;box-sizing:border-box}
.student-choice:has(input:checked){border:2px solid var(--student-accent,#0b2f6b);background:var(--blue-050,#f4faff);padding:9px 15px}
.student-choice:has(input:focus-visible){outline:3px solid #126db3;outline-offset:3px}
.student-choice input[type=radio]{width:20px;height:20px;min-width:20px;margin:0;accent-color:var(--student-accent,#0b2f6b)}
.student-choice>span{display:flex;align-items:center;gap:8px;line-height:1.5}
.student-scale{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.student-scale .student-choice{padding:12px 8px;flex-direction:column;justify-content:flex-start;text-align:center;gap:8px}
.student-scale .student-choice:has(input:checked){padding:11px 7px}
.student-scale .student-choice>span{display:flex;flex-direction:column;gap:2px;font-size:14px}
.student-scale b{font-size:18px}
.student-age{display:flex;align-items:center;gap:10px}
.student-age input{width:130px}
.student-other{margin-top:16px}
.student-other label{display:block;margin-bottom:6px;font-weight:600}
.student-other input{width:min(100%,520px)}
.student-progress-wrap{margin:20px 0;padding:0;color:var(--ink-600,#58667a);font-size:14px}
.student-progress-wrap progress{display:block;width:100%;height:8px;accent-color:var(--student-accent,#0b2f6b);margin:8px 0}
.student-progress-wrap p{margin:0;font-size:13px;color:#344f60}
.student-progress-wrap p:empty{display:none}
.student-step-title{font-size:21px;margin:24px 0 4px;color:var(--navy-950,#082451)}
.student-actions{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0;align-items:center}
.student-actions .button{min-height:46px;border-radius:2px;padding:10px 24px}
.student-page .button.primary{background:var(--student-accent);border-color:var(--student-accent);color:white}
.student-error,.student-field-error{color:#a62121}
.student-error{border:1px solid #b72424;background:#fff0f0;padding:14px;border-radius:6px;margin:20px 0}
.student-field-error{font-size:14px;margin:8px 0 0}
.student-question.has-error legend{color:#a62121}
.student-consent h2{font-size:22px;line-height:1.5}
.student-consent dl,.student-review dl,.student-admin-detail dl{display:grid;grid-template-columns:minmax(160px,1fr) 2fr;gap:0;border-top:1px solid #c6d2da}
.student-consent dt,.student-review dt,.student-admin-detail dt{font-weight:600;background:#f0f5f8}
.student-consent dt,.student-consent dd,.student-review dt,.student-review dd,.student-admin-detail dt,.student-admin-detail dd{margin:0;padding:12px;border-bottom:1px solid #c6d2da}
.student-consent ol{margin:0;padding-left:20px}
.student-contact{display:grid;gap:8px;max-width:480px;margin-top:16px}
.student-contact label{font-weight:600;margin-top:8px}
.student-review{border:1px solid #c6d2da;border-radius:2px;padding:16px;background:#fff;margin:20px 0}
.student-review-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:17px}
.student-review-heading .button{flex-shrink:0;min-width:106px;min-height:44px;justify-content:center}
.student-review h3{margin-top:24px}
.student-complete{text-align:center;padding:48px 20px}
.student-complete h2{font-size:28px}
.student-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.student-admin{max-width:1500px;margin:auto;padding:20px;line-height:1.6;color:#183247}
.student-admin-links{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:20px 0}
.student-admin-links section{background:white;border:1px solid #c6d2da;border-radius:10px;padding:16px 20px}
.student-admin-links h2{font-size:20px;margin:0 0 12px}
.student-admin-links a{margin:0 8px 8px 0;display:inline-block}
.student-stats{display:flex;gap:16px;margin:20px 0}
.student-stats p{flex:1;background:#eef4f7;padding:18px;margin:0;border-radius:8px}
.student-stats strong{display:block;font-size:28px;color:#134f76}
.student-filters{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:24px 0}
.student-filters label{display:grid;gap:5px;font-size:14px}
.student-table-wrap{overflow:auto;border:1px solid #c6d2da;border-radius:8px;background:white}
.student-admin-table{width:100%;border-collapse:collapse;min-width:880px;font-size:14px}
.student-admin-table th,.student-admin-table td{padding:12px;border-bottom:1px solid #d7e0e6;text-align:left;vertical-align:middle}
.student-admin-table th{background:#eef4f7;white-space:nowrap}
.student-admin-table caption{text-align:left;padding:12px;font-weight:700}
.student-admin-detail{padding:24px;background:#fff;border:2px solid #59819a;border-radius:10px;margin:24px 0}
.student-admin-detail h2{font-size:24px}
@media(max-width:640px){
 .student-page{width:calc(100% - 24px);padding:0 0 24px}
 .student-question{padding:22px 0 26px}
 .student-question legend{gap:8px}
 .student-question-number{min-width:34px;padding:2px 5px;font-size:14px}
 .student-intro,.student-consent{padding:18px 14px}
 .student-scale{grid-template-columns:repeat(2,minmax(0,1fr))}
 .student-scale .student-choice{flex-direction:row;text-align:left;padding:12px;justify-content:flex-start}
 .student-scale .student-choice:has(input:checked){padding:11px}
 .student-scale .student-choice>span{flex-direction:row;font-size:14px;gap:7px}
 .student-question legend{font-size:16px}
 .student-consent dl,.student-review dl,.student-admin-detail dl{display:block}
 .student-consent dd,.student-review dd,.student-admin-detail dd{padding-left:18px}
 .student-actions .button{flex:1;text-align:center}
 .student-admin{padding:12px 0}
 .student-admin-links{grid-template-columns:1fr}
 .student-stats{gap:6px}
 .student-stats p{padding:10px;font-size:13px}
 .student-admin-detail{padding:14px}
}
