/* Read-only student preview keeps its own controls separate from student content. */
.student-preview-picker{min-width:0;color:#45516a}
.student-preview-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:0 0 25px}
.student-preview-heading>div{min-width:0}
.student-preview-eyebrow{color:#587783;font-size:11px;letter-spacing:.1em;margin:0 0 9px}
.student-preview-heading h1{color:#384c63;font-size:clamp(22px,3vw,30px);font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.student-preview-heading h1+p{font-size:13px;line-height:1.9;color:#627186;margin-top:10px;max-width:650px}
.student-preview-button{display:inline-flex;justify-content:center;align-items:center;flex:none;min-height:44px;max-width:100%;padding:10px 16px;border:1px solid #d5e0e4;border-radius:13px;background:#ffffffdd;color:#466477;font:inherit;font-size:13px;font-weight:500;line-height:1.5;text-align:center;cursor:pointer}
.student-preview-button:hover{background:#edf5f7;border-color:#9db9c4}
.student-preview-button.is-primary{background:#416f68;border-color:#416f68;color:white}
.student-preview-button.is-primary:hover{background:#335e58}
.student-preview-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,220px);gap:16px;padding:18px 20px;background:#ffffffbe;border:1px solid #dce3ec;border-radius:18px}
.student-preview-search,.student-preview-class{display:grid;gap:7px;min-width:0;color:#596b82;font-size:12px;font-weight:500}
.student-preview-toolbar input,.student-preview-toolbar select{width:100%;min-width:0;min-height:46px;border:1px solid #dbe3e9;border-radius:11px;padding:10px 12px;background:#fafcfd;color:#45516a;font:inherit;font-size:13px;box-shadow:none}
.student-preview-toolbar input::placeholder{color:#687b8e}
.student-preview-toolbar select{padding-right:26px}
.student-preview-count{color:#647388;font-size:12px;padding:19px 3px 12px;margin:0}
.student-preview-list{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:0;padding:0}
.student-preview-list>li{min-width:0}
.student-preview-choice{display:flex;align-items:center;gap:12px;width:100%;min-width:0;height:100%;min-height:94px;text-align:left;padding:18px;border:1px solid #dfe5ec;border-radius:18px;background:linear-gradient(130deg,#fff,#f4f8fbed);color:#45516a;font:inherit;cursor:pointer}
.student-preview-choice:hover{border-color:#a4bbca;background:#f4f9fc;box-shadow:0 5px 16px #536f8e0a}
.student-preview-choice.is-selected{border-color:#7da797;background:#edf7f2}
.student-preview-avatar{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:13px;background:#eaf2f6;color:#547286;font-size:13px;font-weight:500}
.student-preview-choice-copy{display:grid;gap:5px;min-width:0;flex:1}
.student-preview-choice-copy>strong{font-size:14px;font-weight:600;line-height:1.6;overflow-wrap:anywhere}
.student-preview-identity{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 10px;color:#627588;font-size:11px;line-height:1.7;min-width:0}
.student-preview-identity>span{min-width:0;overflow-wrap:anywhere}
.student-preview-choice-action{flex:none;font-size:11px;color:#58768a;line-height:1.6}
.student-preview-empty{border:1px dashed #ccdbe2;border-radius:18px;padding:38px 20px;text-align:center;color:#607589;background:#f7fafca3}
.student-preview-empty strong{display:block;font-size:15px;color:#465d70;font-weight:500}
.student-preview-empty p{font-size:12px;line-height:1.9;margin-top:8px}
.student-preview-banner{display:flex;align-items:center;justify-content:space-between;gap:22px;width:100%;min-width:0;padding:18px 22px;margin:0 0 24px;border:1px solid #cbded6;border-radius:18px;background:linear-gradient(110deg,#f0f7f1,#f6faf8);color:#416257}
.student-preview-banner-copy{min-width:0}
.student-preview-banner-label{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:11px;color:#507063;margin:0 0 8px}
.student-preview-readonly{border:1px solid #c7dbd0;background:#e5f0e9;color:#416653;border-radius:6px;padding:2px 7px;font-weight:600}
.student-preview-banner-student{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 13px;margin:0;min-width:0}
.student-preview-banner-student>strong{font-size:16px;font-weight:600;overflow-wrap:anywhere;min-width:0}
.student-preview-banner .student-preview-identity{color:#577364}
.student-preview-banner-note{font-size:11px;line-height:1.8;color:#5c776a;margin:6px 0 0}
.student-preview-banner-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;flex:none}
.student-preview-picker :focus-visible,.student-preview-banner :focus-visible{outline:3px solid #719aa2;outline-offset:3px}
@media(max-width:1050px){.student-preview-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.student-preview-heading{flex-direction:column;gap:16px}.student-preview-heading h1{font-size:23px}.student-preview-toolbar{grid-template-columns:minmax(0,1fr);gap:13px;padding:16px}.student-preview-list{grid-template-columns:minmax(0,1fr);gap:10px}.student-preview-choice{min-height:86px;padding:16px}.student-preview-banner{align-items:stretch;flex-direction:column;gap:16px;padding:17px;margin-bottom:20px}.student-preview-banner-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.student-preview-banner-actions .student-preview-button{padding:10px 8px;font-size:12px}.student-preview-heading .student-preview-button{font-size:12px}.student-preview-choice-action{font-size:10px}}
