.student-answer-field{display:grid;gap:.4rem;margin:1rem 0 1.3rem}.student-answer-field label,.student-answer-inline label{font-weight:750;color:var(--ink)}
.student-answer-field input,.student-answer-field textarea,.student-answer-inline input{box-sizing:border-box;width:100%;min-height:46px;padding:.65rem .8rem;border:1.5px solid var(--line,#8caeb4);border-radius:9px;background:var(--paper,#fff);color:var(--ink,#172c37);font:inherit;font-size:1rem;line-height:1.5}
.student-answer-field textarea{min-height:112px;resize:vertical}.student-answer-inline input{max-width:20rem;margin:.35rem 0}.student-answer-field :is(input,textarea):focus-visible,.student-answer-inline input:focus-visible,.student-answer-actions button:focus-visible{outline:3px solid var(--teal,#167f80);outline-offset:2px}
.student-answer-actions{margin:2rem 0 0;padding:1rem 1.2rem;border:1px solid var(--line,#8caeb4);border-radius:12px}.student-answer-actions p{margin:.1rem 0 .7rem;color:var(--muted,#51616b)}.student-answer-actions button{min-height:44px;padding:.55rem .9rem;border:1px solid var(--line,#8caeb4);border-radius:8px;background:var(--paper,#fff);color:var(--ink,#172c37);font:inherit;cursor:pointer}.student-answer-actions [role=status]{display:block;min-height:1.5em;margin-top:.4rem;color:var(--muted,#51616b)}
.student-answer-controls{display:flex;flex-wrap:wrap;gap:.55rem;margin:.8rem 0}.student-answer-actions .student-answer-save{background:var(--blue,#2563eb);border-color:var(--blue,#2563eb);color:#fff;font-weight:750}.student-answer-actions .student-answer-save:hover{filter:brightness(.92)}
@media(max-width:620px){.student-answer-field input,.student-answer-field textarea,.student-answer-inline input{font-size:16px}}
@media print{.student-answer-actions{display:none!important}.student-answer-field,.student-answer-inline{break-inside:avoid;page-break-inside:avoid}.student-answer-field input,.student-answer-field textarea,.student-answer-inline input{color:#111!important;background:white!important;border:1px solid #777!important;box-shadow:none!important;overflow:visible!important;min-height:2.8em}.student-answer-field textarea{min-height:6em;white-space:pre-wrap}}
