.homework-student{min-width:0;max-width:100%}.homework-student .homework-upload-panel{gap:1rem;min-width:0;display:grid}.homework-student .homework-upload{box-sizing:border-box;width:100%;min-width:0;color:var(--surface-text,#fff);--surface-text:#fff;--surface-muted:#c7d3e7;text-align:center;overflow-wrap:anywhere;background:#23213d;flex-direction:column;align-items:stretch;gap:.85rem;margin:0;padding:1.1rem;display:flex}.homework-student .homework-upload strong{font-size:1rem;line-height:1.7;display:block}.homework-student .homework-upload input[type=file]{opacity:1;box-sizing:border-box;width:100%;max-width:100%;height:auto;min-height:44px;font:inherit;color:inherit;direction:inherit;background:0 0;border:1px solid #756689;border-radius:.5rem;padding:.5rem;font-size:.875rem;display:block;position:static;inset:auto}.homework-student .homework-upload small{white-space:normal;color:var(--surface-muted);line-height:1.8;display:block}.homework-student .homework-upload-panel>.primary-btn{white-space:normal;width:100%;height:auto;min-height:48px}.homework-student .homework-selected-files{overflow-wrap:anywhere;margin:0;padding-inline-start:1.4rem;font-size:.9rem}.homework-student .homework-receipt h3{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.homework-photo-grid{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.75rem;min-width:0;display:grid}.homework-image-open{cursor:zoom-in;background:#171c30;border:1px solid #776c93;border-radius:.75rem;width:100%;min-width:0;max-width:100%;height:auto;padding:.25rem;display:block}.homework-image-open img{object-fit:contain;width:100%;max-width:100%;height:auto;max-height:600px;display:block}.homework-image-dialog{max-height:90dvh;overflow:auto;max-width:min(95vw,1000px)!important}.homework-image-dialog img{object-fit:contain;width:100%;height:auto;max-height:75dvh;display:block}.homework-image-error{overflow-wrap:anywhere;min-width:0}.homework-session-recovery{border:1px solid #ad8f64;border-radius:.75rem;gap:.8rem;min-width:0;padding:1rem;display:grid}.homework-session-recovery label{gap:.4rem;min-width:0;display:grid}.homework-session-recovery input{box-sizing:border-box;width:100%;min-width:0;font:inherit;color:inherit;background:0 0;border:1px solid #756689;border-radius:.5rem;padding:.6rem}.homework-session-recovery h4,.homework-session-recovery p{overflow-wrap:anywhere;margin:0;line-height:1.8}html[data-theme=light] .homework-student .homework-upload{color:#201830;--surface-text:#201830;--surface-muted:#4c5a70;background:#f5f0fc}@media (max-width:480px){.homework-photo-grid{grid-template-columns:1fr}.homework-student .homework-upload{padding:.9rem}.homework-image-dialog{padding:1rem}}.homework-pdf-viewer{gap:.75rem;width:100%;min-width:0;max-width:100%;display:grid}.homework-pdf-frame{background:#fff;border:0;border-radius:12px;width:100%;height:72dvh;min-height:410px;display:block}.homework-pdf-actions{flex-wrap:wrap;gap:.75rem;display:flex}@media (max-width:600px){.homework-pdf-frame{height:65dvh;min-height:360px}.homework-pdf-actions>*{flex:1;justify-content:center}}.sensei-teacher-question-visual{gap:.65rem;min-width:0;margin:12px 0 18px;display:grid}.sensei-teacher-question-visual-picture{min-width:0;max-width:100%}.sensei-teacher-question-visual-picture img{object-fit:contain;width:auto;height:auto;max-width:100%!important;max-height:450px!important}.sensei-teacher-image-dialog{max-width:min(96vw,1100px)!important;max-height:92dvh!important;overflow:auto!important}.sensei-teacher-image-dialog img{object-fit:contain;max-width:100%!important;max-height:72dvh!important}.homework-redo-toolbar{border-top:1px solid #919bbe3b;gap:.7rem;margin-top:12px;padding:12px 0;display:grid}.homework-redo-form{background:#6e4ead17;border-radius:12px;gap:.65rem;padding:12px;display:grid}.homework-redo-form label{gap:.4rem;display:grid}.homework-redo-form textarea{width:100%;min-height:100px}.homework-redo-note{border-inline-start:4px solid #f4a24b;padding:12px}.homework-redo-note strong{margin-bottom:.5rem;display:block}
