.hw-picker{cursor:pointer;position:relative}.hw-preview{overflow:auto;max-height:370px;margin:18px 0;text-align:center;background:#f1f6fa;border-radius:12px}.hw-preview:empty{display:none}.hw-preview img{max-width:100%;max-height:340px;object-fit:contain;padding:12px}.homework-layout label:not(.btn){display:block;margin-top:18px;margin-bottom:8px;font-weight:600;font-size:14px}.homework-layout input:not([type=file]),.homework-layout select{width:100%;min-height:44px;border:1px solid #bacddc;border-radius:8px;padding:10px;background:white;color:#294c66}.homework-layout textarea{width:100%;min-height:120px;font-size:16px;line-height:1.7;margin-bottom:12px;resize:vertical}.hw-source{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.8;background:#f2f7fb;padding:18px;border-radius:10px;margin:15px 0;max-height:400px;overflow:auto}.hw-saved-photo{max-width:100%;max-height:500px;object-fit:contain}.hw-word-list{line-height:2;margin:12px 0}.homework-layout .row{flex-wrap:wrap;gap:10px}.homework-layout .btn{min-height:44px}.homework-layout details{margin:20px 0}@media(max-width:720px){.homework-layout{grid-template-columns:1fr}.hw-picker{flex:1;text-align:center}.homework-layout .card{min-width:0;padding:20px}.homework-layout select{font-size:16px}}
