body:has(.portal-shell){background:#f3f5f8}.portal-shell{width:min(1360px,calc(100% - 64px));padding-top:38px}.portal-heading{border-bottom:1px solid #dce0e7;padding-bottom:24px;margin-bottom:28px}.portal-heading h1{font-size:clamp(2rem,3.6vw,3.25rem);letter-spacing:-.045em}.portal-heading .eyebrow{font-size:.75rem;letter-spacing:.15em}.entry-grid{display:grid;grid-template-columns:1.1fr 1fr;background:#fff;border:1px solid #dfe3e9;border-radius:16px;overflow:hidden;box-shadow:0 24px 70px #131c2d0a}.entry-story{background:#171b24;color:#fff;padding:65px 55px;position:relative;overflow:hidden}.entry-story:after{content:'';position:absolute;width:340px;height:340px;border:70px solid #ef1006;opacity:.11;border-radius:50%;right:-160px;bottom:-140px;pointer-events:none}.entry-story h2{font-size:clamp(2.6rem,4vw,4rem);line-height:1.08;letter-spacing:-.055em;margin-bottom:28px}.entry-story p{color:#b9c2d1;max-width:430px}.entry-story .eyebrow{color:#ff766e}.entry-pill{border-top:1px solid #ffffff25;padding:16px 0;color:#fff;font-size:1.05rem;font-weight:700}.entry-note{margin-top:24px;font-size:.85rem}.entry-form{padding:42px 45px}.entry-form h2{font-size:1.75rem}.entry-form .button{width:100%}.entry-form input,.entry-form select{background:#f9fafc!important;border-color:#d0d7e1!important}.portal-tabs{gap:10px;border:0}.portal-tabs a{padding:10px 16px;border:1px solid #dce1e9;border-radius:6px;background:#fff;font-size:.9rem}.portal-tabs a.active{background:#181d28;color:white;border-color:#181d28}.student-identity{display:flex;gap:20px;align-items:center;flex-wrap:wrap;background:white;border:1px solid #e0e4eb;border-radius:8px;padding:20px 24px;margin-bottom:20px}.student-identity strong{font-size:1.2rem}.student-identity span{font-size:.9rem;color:#5d6675;border-left:1px solid #dce1e9;padding-left:20px}.level-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:30px}.test-card{background:#fff;border:1px solid #dde2e9;border-radius:12px;padding:28px;position:relative;display:flex;flex-direction:column}.level-label{color:#bf1710;background:#fff0ef;border:1px solid #ffd5d2;padding:5px 12px;border-radius:4px;align-self:start;font-weight:700;font-size:.8rem;margin-bottom:20px}.test-card:nth-child(2) .level-label{background:#eef0fa;border-color:#d7dcf4;color:#424b83}.test-card:nth-child(3) .level-label{background:#181d28;border-color:#181d28;color:#fff}.test-card h2{font-size:1.65rem;line-height:1.2}.test-meta{display:flex;flex-wrap:wrap;gap:10px;font-size:.8rem;color:#5c6574;padding-bottom:18px;border-bottom:1px solid #e1e5ec}.test-card ul{list-style:none;padding:0;margin-block:20px}.test-card li{display:flex;justify-content:space-between;font-size:.9rem;padding-bottom:9px;color:#5c6574}.test-card p{font-size:.85rem}.test-card form{margin-top:auto}.test-card .button{width:100%}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-block:30px}.metric-grid article{background:#fff;border:1px solid #dfe4ec;border-radius:9px;padding:25px}.metric-grid strong{display:block;font-size:2.2rem;line-height:1.3;letter-spacing:-.04em}.metric-grid span{font-size:.85rem;color:#5b6678}.access-code{display:block;letter-spacing:.18em;font-size:1.5rem}.copy-button,.clear-answer{border:0;background:transparent;color:#c51c15;padding:9px 0;font-size:.85rem;font-weight:700}.test-workspace{display:grid;grid-template-columns:230px 1fr;gap:32px;margin-top:28px;align-items:start}.question-nav{position:sticky;top:175px;background:#fff;border:1px solid #dee3eb;border-radius:8px;padding:22px}.question-nav h2{font-size:1rem;letter-spacing:0}.question-nav p{font-size:.8rem;margin-top:20px}.question-dots{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.question-dots a{display:flex;justify-content:center;align-items:center;height:36px;background:#f3f5f9;border:1px solid #dce2ec;border-radius:4px;font-size:.85rem;font-weight:700}.question-dots a.answered{background:#e8f5ec;border-color:#9ac7aa;color:#225936}.question{background:white;border-radius:9px;padding:30px;margin-top:0}.question p{color:#222b3b;font-size:1.1rem}.question label{display:flex;align-items:baseline;gap:10px;padding:14px 18px;border-color:#dce2ec;cursor:pointer;line-height:1.6}.question label:has(input:checked){border-color:#ef1006;background:#fff3f2}.question input[type=radio]{accent-color:#ef1006}.timer{border-radius:7px;padding:18px 24px;top:99px;font-size:.9rem;background:#181d28;box-shadow:0 8px 20px #131c2d15}.timer #time-left{font-size:1.25rem;font-variant-numeric:tabular-nums;margin-left:14px;color:#fff}.timer #save-status{color:#b9c3d4;font-size:.8rem;font-weight:400}.result-hero{display:grid;grid-template-columns:1.3fr 1fr;gap:35px;padding:40px;background:#181d28;color:white;border-radius:12px}.result-hero h2{font-size:2rem}.result-hero p{color:#c6cfdf}.result-hero .eyebrow{color:#ff8b84}.result-hero .score{color:#fff;display:block;font-size:4rem;line-height:1.4}.result-hero small{font-size:1.7rem;color:#a8b5cb}.result-hero>div:last-child{border-left:1px solid #ffffff30;padding-left:35px}.review-answer{padding:15px 25px;background:#fff}.portal-shell .faqs summary{font-weight:600}.portal-card{border-radius:10px}.portal-shell th{background:#e9edf4}.portal-shell td{background:#fff}.portal-shell .section{padding-block:45px}.portal-shell .entry-form .form-note{font-size:.8rem}.portal-shell input:focus,.portal-shell select:focus{outline:2px solid #ef1006;outline-offset:2px}.portal-shell .form-note{max-width:1000px}.portal-shell .alert{border-radius:0 7px 7px 0}.portal-shell select{max-width:100%}
@media(max-width:1000px){.entry-grid{grid-template-columns:1fr 1.1fr}.entry-story{padding:45px 30px}.entry-form{padding:30px}.level-grid{grid-template-columns:1fr 1fr}.test-workspace{grid-template-columns:180px 1fr;gap:20px}.question-nav{padding:16px}.metric-grid{gap:12px}.metric-grid article{padding:20px}.result-hero{padding:30px}}
@media(max-width:760px){.portal-shell{width:calc(100% - 30px);padding-top:25px}.entry-grid,.result-hero{grid-template-columns:1fr}.entry-story{padding:35px 28px}.entry-story h2{font-size:2.5rem}.entry-pill{display:none}.entry-note{margin-bottom:0}.entry-form{padding:28px}.level-grid{grid-template-columns:1fr}.metric-grid{grid-template-columns:1fr 1fr}.test-workspace{grid-template-columns:1fr}.question-nav{position:static}.question-dots{grid-template-columns:repeat(8,1fr)}.question-nav p{margin-bottom:0}.question{padding:20px}.timer{top:85px;font-size:.8rem}.timer #time-left{font-size:1.1rem}.result-hero>div:last-child{border-left:0;border-top:1px solid #ffffff30;padding-left:0;padding-top:20px}.result-hero .score{font-size:3.5rem}.student-identity{gap:10px}.student-identity strong{width:100%}.student-identity span{border:0;padding:0}.portal-tabs{gap:7px}.portal-tabs a{font-size:.8rem;padding:8px 10px}}
@media(max-width:760px){.entry-form{order:0}.entry-story{order:1}.portal-heading h1{font-size:2rem}.entry-story h2{font-size:2rem}.entry-note{display:none}}

.library-downloads{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:20px 0}.library-profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:20px 0}.library-profile-grid article{border:1px solid #dce1e8;border-radius:12px;padding:20px}.library-profile-grid h3{margin:0 0 12px}.library-profile-grid a{display:inline-block;margin:5px 12px 5px 0}.student-test-filters{display:grid;grid-template-columns:2fr 1fr;gap:20px;margin-top:28px}.test-card[hidden]{display:none}@media(max-width:760px){.library-downloads,.library-profile-grid,.student-test-filters{grid-template-columns:1fr}}

.personal-login-number{display:block;font-size:clamp(1.4rem,4vw,2.4rem);letter-spacing:.12em;overflow-wrap:anywhere;color:#b50d05;margin:16px 0}.save-login-card{margin-bottom:24px}.question-diagram img{width:100%;height:auto;max-height:620px;object-fit:contain}.question-diagram{margin:20px 0;padding:12px;background:white;border:1px solid #e1e5eb;border-radius:12px}

.student-test-filters{grid-template-columns:2fr 1fr 1fr}@media(max-width:760px){.student-test-filters{grid-template-columns:1fr}}

/* Keep fieldsets, long questions and answer choices within the assessment grid. */
.test-workspace{grid-template-columns:230px minmax(0,1fr)}
.test-workspace>*{min-width:0;max-width:100%}
fieldset.question{min-inline-size:0;min-width:0;width:100%;max-width:100%;box-sizing:border-box;margin:0 0 24px;padding:24px;border:1px solid #dce2ec}
.question>legend{float:left;display:block;width:100%;max-width:100%;box-sizing:border-box;padding:0;margin:0 0 18px;font-size:1.05rem;line-height:1.45;white-space:normal;overflow-wrap:anywhere}
.question>legend+*{clear:both}
.question>.preline{margin:0 0 20px;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;line-height:1.65}
.question label{display:grid;grid-template-columns:20px 24px minmax(0,1fr);align-items:start;gap:10px;width:100%;max-width:100%;min-width:0;box-sizing:border-box;padding:14px 16px;margin:0 0 12px;border:1px solid #dce2ec;border-radius:7px;white-space:normal}
.question label input[type=radio]{width:18px;height:18px;min-width:18px;margin:4px 0 0;padding:0}
.question label>strong{line-height:1.6}
.question .answer-text{min-width:0;max-width:100%;overflow-wrap:anywhere;white-space:pre-wrap}
.question-diagram{max-width:100%;min-width:0;box-sizing:border-box}
.question-diagram img{display:block;max-width:100%}
@media(max-width:1000px){.test-workspace{grid-template-columns:180px minmax(0,1fr)}}
@media(max-width:760px){.test-workspace{grid-template-columns:minmax(0,1fr)}fieldset.question{padding:18px}.question label{padding:12px;gap:8px;grid-template-columns:18px 22px minmax(0,1fr)}}

/* Compact, aligned results review, independent of marketing FAQ spacing. */
.portal-shell .result-review{max-width:100%;display:grid;gap:10px;margin:20px 0 28px}
.portal-shell .result-review details{margin:0;border:1px solid #dce2ec;border-radius:9px;overflow:hidden;background:#fff;min-width:0}
.portal-shell .result-review summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;position:relative;box-sizing:border-box;margin:0;padding:15px 52px 15px 20px;min-height:0;font-size:1rem;line-height:1.4;cursor:pointer;list-style:none}
.portal-shell .result-review summary:after{position:absolute;right:18px;top:50%;transform:translateY(-50%);margin:0;font-size:1.35rem;line-height:1;font-weight:400}
.review-question-label{min-width:0;overflow-wrap:anywhere}
.review-status{font-size:.78rem;font-weight:700;line-height:1.4;padding:4px 10px;border-radius:5px;background:#f1f3f6;color:#535e6e}
.review-status.is-correct{background:#eaf5ed;color:#24643a}.review-status.needs-review{background:#fff0eb;color:#a5371b}
.portal-shell .result-review details[open] summary{border-bottom:1px solid #e5e9ef;background:#fafbfc}
.portal-shell .result-review .review-answer{padding:20px;min-width:0;overflow-wrap:anywhere}
.portal-shell .result-review .review-answer p{padding:0;margin:0 0 12px;font-size:1rem;line-height:1.65;overflow-wrap:anywhere}
.portal-shell .result-review .review-answer p:last-child{margin-bottom:0}
@media(max-width:480px){.portal-shell .result-review summary{padding:14px 42px 14px 14px;gap:8px}.portal-shell .result-review summary:after{right:14px}.portal-shell .result-review .review-answer{padding:16px}.review-status{font-size:.72rem;padding:4px 7px}}

.roster-template-panel{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:start;gap:18px;margin:24px 0;padding:22px;border:1px solid #efcec9;border-radius:12px;background:#fff8f6;min-width:0}
.roster-template-icon{display:flex;align-items:center;justify-content:center;width:52px;height:60px;border:1px solid #efbdb7;border-radius:7px;background:#fff;color:#bf1710;font-weight:800;font-size:.85rem;letter-spacing:.04em}
.roster-template-copy{min-width:0}.roster-template-copy h3{margin:0 0 7px;font-size:1.1rem;line-height:1.4}.roster-template-copy>p{margin:0 0 12px;font-size:.9rem;line-height:1.6}
.roster-template-columns{display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:0;margin:0 0 12px}.roster-template-columns li{padding:4px 8px;border:1px solid #eadbd7;border-radius:4px;background:#fff;font-size:.65rem;font-weight:700;color:#535c69;line-height:1.5}
.roster-template-copy>.roster-template-hint{font-size:.78rem;margin:0;color:#626d7c}.roster-template-download{align-self:center;display:inline-flex;align-items:center;justify-content:center;gap:9px;white-space:normal;text-align:center;font-size:.85rem;line-height:1.4;padding:13px 18px;min-height:46px;box-sizing:border-box}
.roster-template-download>span{font-size:1.2rem;line-height:1}
@media(max-width:1050px){.roster-template-panel{grid-template-columns:44px minmax(0,1fr);gap:14px}.roster-template-icon{width:44px;height:52px}.roster-template-download{grid-column:2;justify-self:start}}
@media(max-width:520px){.roster-template-panel{grid-template-columns:minmax(0,1fr);padding:18px}.roster-template-icon{display:none}.roster-template-download{grid-column:1;width:100%;justify-self:stretch}}

.student-actions{display:grid;gap:10px;min-width:160px}.student-actions form{margin:0}.student-actions .button{width:100%;margin:0;padding:11px 14px;font-size:.85rem;line-height:1.4}.student-actions .student-delete-button{color:#b21b13;border-color:#edb9b4;background:#fff5f3}.student-actions .student-delete-button:hover{color:#fff;background:#bb2118;border-color:#bb2118}
