.compare-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}.compare-column{min-width:0;padding:20px;border:1px solid #d8e6ef;border-radius:16px;background:#fbfdff}.compare-column h4{margin:0 0 16px;color:#235572}.compare-column input[type=file]{width:100%;max-width:100%;padding:12px 0}.photo-tools{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.photo-tools button{font-size:16px;padding:9px 12px}.photo-tools [aria-pressed=true]{background:#256f9b;color:white}.photo-stage{min-height:260px;display:grid;place-items:center;overflow:auto;background:#edf4f8;border-radius:12px;padding:16px}.photo-stage img{max-width:100%;max-height:520px;object-fit:contain}.photo-stage img[hidden],.photo-stage p[hidden]{display:none}.compare-solution{line-height:1.9}.compare-solution .equation{overflow-x:auto}.compare-solution h5{font-size:inherit;margin:24px 0 8px;color:#256f9b}.answer-photo-dialog{width:90vw;max-width:1200px;height:90vh;box-sizing:border-box;overflow:auto;border:0;border-radius:16px;padding:24px}.answer-photo-dialog::backdrop{background:#132c40b3}.answer-photo-dialog button{position:sticky;top:0;display:block;z-index:1}.answer-photo-dialog img{display:block;max-width:none;width:100%;margin:40px auto}.compare-reflection label{display:block;margin-top:20px}.answer-compare .muted{font-size:15px;line-height:1.7}@media(max-width:1000px){.compare-grid{grid-template-columns:1fr}.compare-column{padding:16px}.answer-photo-dialog{width:96vw}}
.review-photos figure{margin:16px 0;padding:12px;background:#edf4f8;border-radius:12px;overflow:auto}.review-photos img{display:block;max-width:100%;max-height:420px;margin:auto;object-fit:contain}.review-status{white-space:pre-wrap;color:#236b93}.review-confirm{display:flex!important;gap:10px;align-items:flex-start;margin:16px 0}.review-confirm input{width:auto}.review-verdict{font-size:1.25em;font-weight:700;color:#236b93}.review-checks{padding-left:20px}.review-checks p{white-space:pre-wrap}.review-history{margin:24px 0}.review-history-text{white-space:pre-wrap}.history-photo{max-width:180px;max-height:220px;margin:10px}.review-hint{padding:16px;background:#e8f3fa;white-space:pre-wrap}.review-transcript{min-height:180px}.review-history details{padding:12px;border-bottom:1px solid #d8e6ef}[data-review-task] textarea{width:100%;box-sizing:border-box}[data-review-task] button:disabled{opacity:.55;cursor:wait}
.chapter-review{margin-top:1.5rem;border-top:1px solid #dce8ef;padding-top:1.5rem}.review-help{background:#edf6fb;border-radius:12px;padding:16px;margin-bottom:18px}.review-help summary{cursor:pointer;font-weight:700;color:#246e99}.review-help textarea{min-height:100px}.review-help button{margin:6px 8px 6px 0}.chapter-review .compare-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chapter-review .compare-column{min-width:0}.chapter-review [hidden]{display:none!important}@media(max-width:1000px){.chapter-review .compare-grid{grid-template-columns:1fr}}
