:root{--green:#385f4b;--dark:#284536;--sage:#dce9df;--light:#f4f8f5;--orange:#d9872f;--red:#c62828;--ink:#17221c;--line:#b9c4bd}
*{box-sizing:border-box}body{margin:0;background:#f4f6f4;color:var(--ink);font-family:"Lexend Deca",Arial,sans-serif;line-height:1.5}header{display:flex;align-items:center;gap:16px;padding:18px 24px;background:#fff;border-bottom:5px solid var(--green)}header img{width:72px;height:72px;object-fit:contain}h1,h2{color:var(--dark);margin:.2rem 0}.eyebrow{font-size:.78rem;font-weight:900;letter-spacing:.08em;color:#8a4f13}main{max-width:980px;margin:24px auto 110px;padding:0 18px}.summary,.directions,.revision-card,.all-clear{background:#fff;border:2px solid var(--line);border-radius:14px;padding:18px 22px;margin:16px 0}.summary{border-left:9px solid var(--green)}.summary.needs-revision{border-left-color:var(--red)}.summary.processing{border-left-color:var(--orange)}.directions ol{margin-bottom:0}.revision-card{border-left:9px solid var(--red)}.revision-number{display:inline-block;background:var(--red);color:#fff;border-radius:999px;padding:.2rem .65rem;font-weight:800}.field{margin:15px 0}.field-label{display:block;color:var(--dark);font-weight:800;margin-bottom:5px}.graded-answer,.current-answer,.feedback{white-space:pre-wrap;border-radius:9px;padding:11px 13px}.graded-answer{background:#f2f3f2}.feedback{background:#fff4df;border-left:5px solid var(--orange)}.current-answer{background:var(--light);border-left:5px solid var(--green)}.changed-badge{display:inline-block;margin-left:.4rem;background:var(--yellow,#fff0b6);color:#684308;border-radius:999px;padding:.12rem .45rem;font-size:.78rem}.page-location{border:2px solid var(--green);background:#fff;color:var(--dark);border-radius:8px;padding:8px 12px;font-weight:800;opacity:1;cursor:default}footer{position:fixed;left:0;right:0;bottom:0;display:flex;justify-content:center;gap:14px;flex-wrap:wrap;padding:14px;background:#fff;border-top:3px solid var(--green)}footer button{min-height:48px;border:2px solid var(--green);border-radius:9px;padding:9px 16px;background:var(--green);color:#fff;font:700 1rem "Lexend Deca",Arial,sans-serif}@media(max-width:620px){header{align-items:flex-start}header img{width:54px;height:54px}h1{font-size:1.35rem}}@media print{footer,.directions{display:none}body{background:#fff}main{margin-bottom:0}.revision-card{break-inside:avoid}}

.teacher-review-card{background:#fff;border:2px solid var(--line);border-left:6px solid #87958e;border-radius:14px;padding:18px 22px;margin:16px 0}
.teacher-review-label{display:block;width:fit-content;margin:.35rem 0 .7rem;padding:.15rem .5rem;border-radius:4px;background:#eef0ef;color:#3e4943;font-size:.86rem;font-weight:700}
@media print{.teacher-review-card{break-inside:avoid}}
