.instant-answer-feedback{color:#5f4673;pointer-events:none;isolation:isolate;background:#fff4e4 url(/assets/teacher-anna-classroom-stage-background-v1.webp) bottom/100% 100% no-repeat;border:1px solid #e4cfb7;border-radius:16px;gap:4px;margin:4px 0 8px;padding:10px 12px 12px;display:grid;position:relative;overflow:hidden}.instant-answer-feedback strong{text-align:center;overflow-wrap:anywhere;z-index:3;background:#fffdf5f5;border:1px solid #dbc5df;border-radius:12px;min-width:0;padding:7px 10px;font-size:14px;font-weight:750;line-height:1.45;display:block;position:relative}.instant-answer-feedback.incorrect strong{color:#8b6140}.instant-stage{z-index:1;width:min(100%,280px);margin:0 auto;display:block}.instant-group{object-fit:contain;transform-origin:bottom;width:100%;height:auto;display:block}.instant-sequence{aspect-ratio:3/2;display:block;position:relative;overflow:hidden}.instant-sprite-preload{display:none}.instant-sequence-fallback{position:absolute;inset:0}.instant-sprite{aspect-ratio:1;visibility:hidden;background:url(/assets/teacher-anna-nine-frame-celebration-v4.webp) 100% 100%/300% 300% no-repeat;width:100%;position:absolute;top:-21.5311%;left:0;transform:translateY(7.6555%)}.instant-sequence[data-ready=true] .instant-sequence-fallback{visibility:hidden}.instant-sequence[data-ready=true] .instant-sprite{visibility:visible}.instant-sequence[data-ready=true] .instant-success-pose.is-celebrating{animation:1.8s step-end both instant-anna-sequence}.instant-confetti{pointer-events:none;z-index:2;position:absolute;inset:0;overflow:hidden}.instant-confetti i{top:-12px;left:var(--x);background:var(--color);width:6px;height:11px;animation:instant-confetti-fall 1.6s var(--delay) ease-out both;border-radius:2px;position:absolute}.study-field-editor button.instant-check{color:#fff;background:#81569c;border:0;justify-content:center;width:100%;min-height:44px;margin:6px 0 9px;box-shadow:0 3px #603d76}.study-field-editor button.instant-check:disabled{opacity:.6;cursor:wait}.study-field-editor button:focus-visible{outline-offset:2px;outline:3px solid #d8a640}.study-field-choices{gap:12px;padding:12px 0;display:flex}.study-field-editor .study-field-choices button{color:#654479;background:#fff;border:2px solid #bda3d3;border-radius:14px;flex:1;justify-content:center;min-height:52px;font-size:22px}.study-field-editor .study-field-choices button[aria-pressed=true]{color:#fff;background:#805c99}@keyframes instant-confetti-fall{0%{opacity:0;transform:translateY(-10px)rotate(0)}15%{opacity:1}to{opacity:0;transform:translate(var(--drift),110px) rotate(280deg)}}@keyframes instant-anna-sequence{0%{background-position:0 0;transform:translateY(0)}11.11%{background-position:50% 0;transform:translateY(0)}22.22%{background-position:100% 0;transform:translateY(0)}33.33%{background-position:0;transform:translateY(0)}44.44%{background-position:50%;transform:translateY(0)}55.55%{background-position:100%;transform:translateY(0)}66.66%{background-position:0 100%;transform:translateY(7.6555%)}77.77%{background-position:50% 100%;transform:translateY(7.6555%)}88.88%,to{background-position:100% 100%;transform:translateY(7.6555%)}}@media (prefers-reduced-motion:reduce){.instant-confetti{display:none}.instant-success-pose{animation:none!important}}.study-answer-fields{z-index:4;pointer-events:none;position:absolute;inset:0}.study-answer-field{pointer-events:auto;cursor:text;color:#78509d;text-align:left;touch-action:manipulation;background:#a87de11b;border:1px dashed #8961b7;border-radius:3px;padding:0;position:absolute;overflow:visible}.study-answer-field span{white-space:nowrap;text-overflow:ellipsis;pointer-events:none;max-width:100%;padding:1px 3px;font:600 1em/1.2 Arial,sans-serif;display:block;overflow:hidden}.study-answer-field.has-answer{background:0 0;border-color:#aa85c34a}:is(.study-answer-field:hover,.study-answer-field:focus-visible,.study-answer-field.is-editing){outline-offset:1px;background:#c6a9ef22;outline:2px solid #a681cb}.study-answer-field:disabled{pointer-events:none;background:0 0;border-color:#0000}.study-answer-field:disabled span{visibility:hidden}.study-field-editor{pointer-events:auto;z-index:6;background:#fffdf8;border:1px solid #9769bd;border-radius:3px;box-shadow:0 2px 14px #41235418}.study-field-editor.inline{isolation:isolate;position:absolute}.study-field-editor textarea{box-sizing:border-box;color:#2563a8;resize:none;white-space:pre-wrap;overflow-wrap:normal;background:#fffdf8;border:0;border-radius:0;outline:none;padding:0;font-family:Arial,PingFang SC,sans-serif;font-weight:600;display:block;overflow:auto}.study-field-done{color:#fff;background:#79549a;border-radius:7px;align-items:center;gap:3px;min-height:28px;padding:4px 9px;font-size:12px;display:flex;position:absolute;top:-30px;right:0}.study-field-editor.mobile{z-index:80;padding:9px 12px max(9px,env(safe-area-inset-bottom));box-sizing:border-box;overscroll-behavior:contain;border-radius:16px 16px 0 0;max-height:calc(100dvh - 8px);position:fixed;left:0;right:0;overflow-y:auto;box-shadow:0 -6px 35px #35244238}.study-field-editor.mobile>header{z-index:2;background:#fffdf8;position:sticky;top:0}.study-field-editor.mobile>footer{z-index:2;background:#fffdf8;position:sticky;bottom:0}.study-field-editor header,.study-field-editor footer{justify-content:space-between;align-items:center;gap:12px;display:flex}.study-field-editor header strong{color:#714d90;font-size:14px}.study-field-editor button{color:#6d458c;background:#eee2fa;border-radius:9px;align-items:center;gap:5px;min-height:40px;padding:6px 12px;font-size:14px;font-weight:800;display:flex}.study-field-editor textarea{border:1px solid #dfd0eb;border-radius:7px;width:100%;height:130px;min-height:60px;max-height:25dvh;margin:5px 0;padding:6px;font-size:18px;line-height:1.5}.study-field-editor small{color:#826d90;font-size:10px}.study-entry-hint{z-index:8;white-space:nowrap;color:#78578d;pointer-events:none;background:#fffcf5e8;border:1px solid #ded0e8;border-radius:20px;max-width:90%;padding:5px 12px;font-size:11px;position:absolute;top:7px;left:50%;transform:translate(-50%);box-shadow:0 2px 8px #35244212}@media (max-width:760px){.study-answer-field{min-height:10px}.study-entry-hint{padding:3px 9px;font-size:10px;top:2px}}.study-field-editor.desktop{z-index:80;border-radius:16px;width:min(360px,28vw);padding:12px;position:fixed;bottom:80px;right:16px;box-shadow:0 8px 35px #35244238}.study-field-editor.desktop textarea{height:200px;max-height:40dvh}.study-desk:has(.study-field-editor) .study-unit-invite{display:none}@font-face{font-family:AnnaAnswerHand;src:url(/fonts/anna-answer-hand-kalam-v1.woff2)format("woff2");font-style:normal;font-weight:700;font-display:swap}.study-field-editor[data-answer-kind=short] .study-answer-paper{background:#fff8e8 url(/assets/answer-paper-lavender-v1.webp) 50%/100% 100% no-repeat;border:1px solid #e2cfb9;border-radius:14px;min-width:0;margin:8px 0 4px;position:relative;box-shadow:inset 0 0 18px #e8d4aa20,0 2px 5px #7751430b}.study-field-editor[data-answer-kind=short] .study-answer-paper:focus-within{outline-offset:2px;outline:2px solid #b69bcd}.study-field-editor[data-answer-kind=short] textarea{border-radius:inherit;color:#315980;font-synthesis:none;background:0 0;border:0;height:116px;min-height:100px;max-height:min(130px,28dvh);margin:0;padding:22px 20px 16px;font-family:AnnaAnswerHand,AnnaRounded,Nunito,sans-serif;font-size:clamp(28px,4vw,34px);font-weight:700;line-height:1.3}.study-field-editor[data-answer-kind=short] textarea::placeholder{color:#9c8aa4;font-family:Arial,PingFang SC,sans-serif;font-size:16px;font-weight:500;line-height:1.5}.study-field-editor[data-answer-kind=short] .study-field-choices{gap:8px;margin:0;padding:24px 10px}.study-field-editor[data-answer-kind=short] .study-field-choices button{min-width:0;font-family:AnnaAnswerHand,AnnaRounded,Nunito,sans-serif;font-size:28px}.study-field-editor[data-answer-kind=short] .study-field-choices.has-long-options{flex-direction:column;align-items:stretch;gap:8px;padding:14px;display:flex}.study-field-editor[data-answer-kind=short] .study-field-choices.has-long-options button{text-align:left;white-space:normal;justify-content:flex-start;width:100%;font-family:Arial,sans-serif;font-size:17px;line-height:1.5}.study-grade-pagebar{color:#8c354b;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 0 4px;display:flex}.study-grade-pagebar button{background:#fffaf7;border:1px solid #ebcbd0;border-radius:11px;align-items:center;gap:6px;min-height:36px;padding:7px 10px;font-size:12px;display:flex;box-shadow:0 2px 5px #34223210}.study-grade-pagebar button:disabled{opacity:.6}.study-grade-pagebar .study-grade-launch{color:#fff;background:#a93c50;border-color:#a93c50;padding-inline:13px;font-weight:800}.study-grade-launch small{opacity:.85;font-size:9px;font-weight:500;display:block}.study-grade-result-link{font-weight:750}.study-grade-pagebar>small{max-width:100%;font-size:11px}.study-grade-overlay{z-index:6;pointer-events:none;position:absolute;inset:0;overflow:hidden}.study-grade-highlight{cursor:help;background:#ffd65544;border:0;border-bottom:2px solid #d72543;border-radius:2px;min-width:3px;padding:0;transition:background .15s;position:absolute}:is(.study-grade-highlight:hover,.study-grade-highlight:focus-visible){outline-offset:2px;background:#ffc83f88;outline:2px solid #cd2443}.study-grade-highlight.kind-expression{border-bottom-style:dashed}.study-grade-tooltip{z-index:15000;color:#4f3038;background:#fffdf8;border:1px solid #e8afb9;border-top:4px solid #bf3651;border-radius:12px;width:320px;max-width:calc(100vw - 16px);max-height:230px;padding:13px 15px;font-size:13px;line-height:1.55;position:fixed;overflow:auto;box-shadow:0 8px 35px #31152440;-webkit-user-select:text!important;user-select:text!important}.study-grade-tooltip strong{color:#a72443;font-size:12px}.study-grade-tooltip p{margin:8px 0 0}.grade-tip-close{float:right;padding:2px}.grade-correction{overflow-wrap:anywhere;flex-wrap:wrap;align-items:baseline;gap:7px;margin-top:7px;display:flex}.grade-correction del{color:#ad2942;text-decoration-thickness:1.5px}.grade-correction ins{color:#a9203c;background:#fff0d3;border-radius:4px;padding:1px 4px;font-weight:800;text-decoration:none}.study-grading-panel{z-index:14000;color:#50383d;text-align:left;background:#fffdf9;border:1px solid #ead3ce;border-radius:21px;outline:none;flex-direction:column;width:390px;max-width:calc(100vw - 20px);display:flex;position:fixed;top:85px;bottom:85px;right:18px;box-shadow:0 14px 65px #2513253a;-webkit-user-select:text!important;user-select:text!important}.study-grading-panel>header{background:#fff6ed;border-bottom:1px solid #efe1d8;border-radius:21px 21px 0 0;flex-shrink:0;justify-content:space-between;align-items:center;padding:18px 19px 15px;display:flex}.grade-kicker{letter-spacing:1.1px;color:#ab6968;font-size:9px;font-weight:800}.study-grading-panel h2{color:#792a3c;margin:5px 0 0;font-size:20px}.study-grading-panel>header button{background:#fff;border-radius:50%;padding:8px}.study-grading-content{overscroll-behavior:contain;min-height:0;padding:15px 19px 20px;font-size:13px;line-height:1.6;overflow:auto}.grade-pilot-note{color:#896453;background:#f7eee6;border-radius:9px;margin:0 0 12px;padding:8px 10px;font-size:12px}.grade-panel-actions{gap:7px;display:flex}.grade-panel-actions button{border:1px solid #e6cbd0;border-radius:10px;justify-content:center;align-items:center;gap:5px;min-height:42px;padding:8px 11px;font-size:12px;font-weight:750;display:flex}.grade-panel-actions .grade-primary{color:#fff;background:#a93c50;border-color:#a93c50;flex:1}.grade-panel-actions button:disabled{opacity:.5}.grade-answer-count{color:#8b747b;margin:8px 0;font-size:11px}.grade-settings{background:#fff8f2;border:1px solid #eeded4;border-radius:12px;margin:12px 0;padding:12px}.grade-settings label{margin-bottom:10px;font-size:12px;font-weight:750;display:block}.grade-settings textarea{box-sizing:border-box;resize:vertical;color:#493137;background:#fff;border:1px solid #e1c9c8;border-radius:8px;width:100%;margin-top:5px;padding:8px;font:400 14px/1.5 Arial,sans-serif;display:block;-webkit-user-select:text!important;user-select:text!important}.grade-settings p{color:#92706c;font-size:11px}.grade-settings>button,.grade-return{color:#862b41;background:#f4dfe1;border-radius:9px;width:100%;padding:10px;font-weight:800}.grade-adult-check{color:#7d656d;align-items:flex-start;gap:8px;margin:12px 0;font-size:11px;display:flex}.grade-adult-check input{accent-color:#a93c50;flex-shrink:0;width:16px;height:16px;margin-top:4px}.grade-message,.grade-connection-note,.grade-review-note,.grade-stale-notice{color:#7b531c;background:#fff2d5;border-radius:10px;padding:10px 12px;font-size:12px;line-height:1.55}.grade-report{border-top:1px dashed #dec5c9;margin-top:15px;padding-top:15px}.grade-score{align-items:center;gap:15px;display:flex}.grade-score>span{color:#ae3850;letter-spacing:-2px;font-size:43px;font-weight:850;line-height:1.2}.grade-score>span small{color:#ae7f88;letter-spacing:0;margin-left:5px;font-size:16px;font-weight:500}.grade-score>div{font-size:12px;display:grid}.grade-score>div small{color:#92787f;font-size:10px}.grade-rubric{grid-template-columns:repeat(4,1fr);gap:5px;margin:14px 0;display:grid}.grade-rubric>span{text-align:center;color:#8b666e;background:#f7edec;border-radius:8px;gap:3px;padding:7px 4px;font-size:11px;display:grid}.grade-rubric b{color:#8d3548;font-size:12px}.grade-report h3{color:#8d3548;align-items:center;gap:6px;margin:19px 0 9px;font-size:14px;display:flex}.grade-report p{margin:10px 0}.grade-report ul{margin:6px 0;padding-left:20px}.grade-report li{margin:5px 0}.grade-strengths{color:#456951;background:#edf5ed;border-radius:11px;padding:1px 12px 10px}.grade-strengths h3{color:#456951;margin-top:10px}.grade-issue-card{background:#fff;border:1px solid #eed8db;border-left:3px solid #c44761;border-radius:10px;margin:9px 0;padding:11px 12px}.grade-issue-card>strong{color:#b0455c;font-size:11px}.grade-issue-card p{margin-bottom:0;font-size:12px}.grade-report-stale{opacity:.8}.grade-footnote,.grade-budget{color:#987e85;margin-top:15px;font-size:10px;line-height:1.6}.grade-spinning{animation:1s linear infinite study-spin}:is(.study-grading-panel button:focus-visible,.study-grade-pagebar button:focus-visible){outline-offset:2px;outline:3px solid #ba7591}@media (max-width:600px){.study-grading-panel{border-radius:16px;width:auto;max-width:none;inset:65px 6px}.study-grading-panel>header{border-radius:16px 16px 0 0;padding:13px 15px}.study-grading-panel h2{font-size:18px}.study-grading-content{padding:12px 15px}.grade-settings textarea{font-size:16px}.study-grade-pagebar{gap:4px}.study-grade-pagebar button{padding:6px 8px;font-size:11px}.study-grade-tooltip{font-size:13px}}.grade-settings select{color:#493137;background:#fff;border:1px solid #e1c9c8;border-radius:8px;width:100%;margin-top:5px;padding:9px;font-size:14px;display:block}.grade-deduction-total{background:#f7edec;border-radius:9px;padding:11px;font-size:12px}.grade-requirement{background:#fff4f2;border-left:3px solid #c44761;border-radius:8px;margin:8px 0;padding:9px 11px}.grade-requirement.met{background:#edf5ed;border-color:#6b9a75}.grade-requirement.unclear{background:#fff5dc;border-color:#d3a04b}.grade-requirement strong{font-size:12px}.grade-requirement blockquote{color:#806167;margin:5px 0;font-style:italic}.grade-requirement p{margin:5px 0 0;font-size:12px}.grade-requirement.advisory{background:#eef5fa;border-color:#6e94aa}.grade-simple-dock.study-grade-dock{width:205px;box-shadow:none;background:0 0;border:0;gap:9px;padding:0!important}.study-grade-pagebar .grade-game-button{color:#fff;text-shadow:0 2px #704087;background:linear-gradient(145deg,#b17bc5,#84529f);border:3px solid #fff3cc;border-bottom:7px solid #614179;border-radius:24px;width:100%;min-height:91px;padding:15px 12px 12px 72px;font-size:19px;font-weight:900;transition:transform .15s;position:relative;box-shadow:0 5px #4b31592b,0 9px 25px #422b3c33}.grade-game-button:active{transform:translateY(3px)}.grade-game-button>img{object-fit:contain;filter:drop-shadow(0 3px 2px #58364a44);width:88px;height:96px;position:absolute;bottom:2px;left:-14px}.grade-game-button>span{display:block}.grade-game-button small{letter-spacing:.8px;margin-top:2px;font-size:12px!important}.grade-game-button svg{position:absolute;bottom:8px;right:8px}.grade-simple-count{color:#835c8d;text-align:center;background:#fff9f2e8;border-radius:20px;padding:4px 12px;font-size:12px;display:block}.grade-simple-panel{width:370px;height:auto;max-height:calc(100dvh - 170px);top:auto;bottom:86px}.grade-simple-panel>header{padding:13px 17px}.grade-simple-panel h2{font-size:19px}.grade-simple-panel .grade-report{border:0;margin:0;padding:0}.grade-simple-panel .grade-panel-actions{flex-wrap:wrap}.grade-simple-panel .grade-panel-actions .grade-primary{flex-basis:100%;min-height:52px;font-size:16px}.grade-anna-loading{text-align:center;padding:4px 0 8px}.grade-anna-loading p{color:#8e6072;font-size:12px}.grade-anna-sprite{background:url(/assets/anna-marking-six-v1.webp) 0 0/300% 200% no-repeat;border-radius:24px;width:228px;max-width:100%;height:228px;margin:auto;animation:1.2s step-end both anna-glasses,1.6s step-end 1.2s infinite anna-mark-red}.grade-loading-dots{animation:1s infinite mark-dots}.grade-correct-version{background:#edf8f3;border:1px solid #c6e6db;border-radius:13px;margin:14px 0;padding:12px 15px}.grade-correct-version h3{color:#217864;margin:0 0 8px;font-size:12px}.grade-correct-version p,.grade-correct-sentence{white-space:pre-wrap;overflow-wrap:anywhere;font:650 16px/1.65 Arial,sans-serif;color:#16836b!important}.grade-correct-version p{margin:7px 0!important}.grade-correct-sentence{background:#ecf7f2;border-radius:8px;padding:9px}.study-grade-tooltip:has(.grade-correct-sentence){max-height:285px}.grade-return{justify-content:center;align-items:center;gap:8px;min-height:44px;display:flex}.grade-more{margin-top:13px}.grade-more>summary{color:#92787f;cursor:pointer;font-size:12px}.grade-empty{text-align:center;padding:7px 0 14px}.grade-empty>img{object-fit:contain;width:94px;height:100px}.grade-empty h3{font-size:17px}.grade-empty .grade-topup{align-items:center;gap:9px;text-decoration:none;display:inline-flex}.grade-score>span{font-size:45px}.grade-more .grade-deduction-total{font-size:12px}@keyframes anna-glasses{0%{background-position:0 0}33.33%{background-position:50% 0}66.66%{background-position:100% 0}to{background-position:0 100%}}@keyframes anna-mark-red{0%,to{background-position:0 100%}25%,75%{background-position:50% 100%}50%{background-position:100% 100%}}@keyframes mark-dots{50%{opacity:.3}}@media (max-width:760px){.grade-simple-dock.study-grade-dock{width:171px;bottom:83px;right:9px}.study-grade-pagebar .grade-game-button{border-radius:20px;min-height:76px;padding-left:60px;font-size:17px}.grade-game-button>img{width:75px;height:84px;left:-10px}.grade-simple-panel{width:auto;max-height:calc(100dvh - 148px);inset:auto 8px 76px}.grade-simple-dock .grade-simple-count{margin-left:auto;font-size:11px}.grade-anna-sprite{width:215px;height:215px}}@media (prefers-reduced-motion:reduce){.grade-anna-sprite{background-position:50% 100%;animation:none}.grade-loading-dots{animation:none}}.grade-quota-summary .grade-topup{align-items:center;margin:10px 0 7px;line-height:1.5;text-decoration:none;display:inline-flex}.grade-quota-summary>small{font-size:10px;line-height:1.5;display:block}.study-grade-dock a.grade-topup{text-align:center;font-size:11px;line-height:1.5;text-decoration:none;display:block}.study-grade-dock{z-index:70;box-sizing:border-box;background:#fffaf8ed;border:1px solid #edc8d0;border-radius:17px;gap:7px;width:170px;position:fixed;top:45%;right:16px;box-shadow:0 7px 28px #49304325;padding:13px 10px!important}.grade-dock-label{text-align:center;color:#964359;width:100%;font-size:12px}.study-grade-dock .study-grade-launch{flex:1;justify-content:center}.grade-quota-badge{text-align:center;width:100%;font-size:11px}.grade-quota-badge b{color:#a93c50;font-size:14px}.grade-quota-summary{background:#f8eef4;border:1px solid #ebd6e2;border-radius:12px;margin:0 0 12px;padding:11px 12px}.grade-quota-summary>strong{color:#923954;font-size:14px}.grade-quota-summary p{margin:6px 0 0;font-size:11px;line-height:1.6}.grade-topup{color:#96364f;background:#fff;border:1px solid #e4bac9;border-radius:9px;padding:8px 10px;font-weight:750}:is(.study-desk:has(.study-field-editor) .study-grade-dock,.study-desk:has(.study-size-guide) .study-grade-dock,.study-desk:has(.study-grading-panel) .study-grade-dock){display:none}@media (max-width:760px){.study-grade-dock{width:142px;top:auto;bottom:85px;right:8px;padding:9px 7px!important}.study-grade-dock .grade-dock-label{font-size:10px}.study-grade-dock button{font-size:11px}.study-grade-dock .grade-quota-badge{font-size:10px}.study-grade-dock .study-grade-launch small{font-size:8px}}.study-grading-panel,.study-grade-tooltip,.writing-feedback,.writing-error-tip{font-synthesis:none;letter-spacing:normal;font-family:DM Sans,Noto Sans SC,Microsoft YaHei,PingFang SC,sans-serif;font-weight:400}.study-grading-panel p,.study-grade-tooltip p,.writing-feedback p,.writing-error-tip p{font-weight:400}.study-grading-panel strong,.study-grading-panel b,.study-grade-tooltip strong,.study-grade-tooltip b,.writing-feedback strong{font-weight:600}.grade-requirement p,.grade-issue-card p{font-size:13px;line-height:1.65}.grade-correction ins{font-weight:600}.grade-more{background:#fff9f6;border:2px solid #c88496;border-radius:17px;margin:15px 0;overflow:hidden;box-shadow:0 4px #e9cad3}.grade-more>summary{color:#832f48;cursor:pointer;box-sizing:border-box;background:linear-gradient(115deg,#fbe7e8,#fff3e4);align-items:center;gap:11px;min-height:90px;padding:15px 12px;list-style:none;display:flex}.grade-more>summary::-webkit-details-marker{display:none}.grade-more>summary:hover{background:#f8e3e9}.grade-more>summary:focus-visible{outline-offset:-4px;outline:3px solid #8b5aa4}.grade-details-icon{color:#fff;background:#a74360;border-radius:13px;flex:0 0 43px;place-items:center;height:43px;display:grid;box-shadow:0 3px #88374d}.grade-details-copy{flex:1;gap:4px;min-width:0;display:grid}.grade-details-copy>strong{font-size:19px;font-weight:700;line-height:1.3}.grade-details-hint{color:#8d4d61;font-size:11px;line-height:1.55}.grade-details-totals{flex-wrap:wrap;gap:6px;margin-top:3px;display:flex}.grade-details-totals>span{color:#923c55;background:#fff9f7;border:1px solid #ebc9cf;border-radius:7px;padding:2px 7px;font-size:11px;line-height:1.5}.grade-details-chevron{flex:0 0 22px;transition:transform .15s}.grade-details-open,.grade-more[open] .grade-details-closed{display:none}.grade-more[open] .grade-details-open{display:inline}.grade-more[open] .grade-details-chevron{transform:rotate(180deg)}.grade-more[open]>summary{border-bottom:1px solid #e7bec9}.grade-details-body{padding:2px 9px 8px}.grade-details-body .grade-issue-card,.grade-details-body .grade-requirement{margin:9px 0}.grade-details-body .grade-requirement:last-child,.grade-details-body .grade-issue-card:last-child{margin-bottom:3px}@media (prefers-reduced-motion:reduce){.grade-details-chevron{transition:none}}.grade-improved-version{color:#2d7767;background:#edf6f2;border:1px solid #c8e4da;border-radius:16px;margin:16px 0;padding:16px 18px}.grade-improved-version h3{margin:0 0 10px;font-size:14px;font-weight:600}.grade-improved-version p,.grade-book-answer p{white-space:pre-wrap;margin:0;font-family:DM Sans,Noto Sans SC,Microsoft YaHei,sans-serif;font-size:16px;line-height:1.7}.grade-book-answer{color:#72587e;background:#fbf7fc;border:1px solid #dfd1e6;border-radius:15px;margin:15px 0;padding:14px 17px}.grade-book-answer summary{cursor:pointer;font-size:14px;font-weight:600}.grade-book-answer p{margin:14px 0 10px}.grade-book-answer small{color:#9a879e;font-size:11px;line-height:1.6;display:block}.writing-page{color:#4e3858;background:#f7f1e9;min-height:100vh;padding:26px 24px 65px;font-family:Arial,Microsoft YaHei,sans-serif}.writing-shell{max-width:1180px;margin:auto}.writing-page a{color:#8055a0}.writing-top{justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.writing-brand{align-items:center;gap:12px;font-weight:800;text-decoration:none;display:flex}.writing-brand img{background:#eadbc5;border-radius:50%;width:58px;height:58px}.writing-brand small{letter-spacing:1.6px;color:#ac7863;margin-bottom:5px;font-size:10px;display:block}.writing-top>a:last-child{font-size:14px}.writing-hero{margin:30px 0 24px}.writing-hero h1{margin:8px 0 12px;font-size:clamp(25px,4vw,40px);line-height:1.2}.writing-hero p{color:#977f98;font-size:14px}.writing-chip{color:#79528e;background:#e9ddf1;border-radius:20px;padding:7px 12px;font-size:12px;font-weight:800;display:inline-block}.writing-grid{grid-template-columns:minmax(0,1fr) 330px;align-items:start;gap:24px;display:grid}.writing-workspace{min-width:0;position:relative}.writing-paper{background:#fff;border-radius:8px;width:100%;position:relative;overflow:hidden;box-shadow:0 10px 40px #69506e17}.writing-paper>img,.writing-paper>canvas{width:100%;height:100%;display:block;position:absolute;inset:0}.writing-paper>canvas{pointer-events:none}.writing-error-layer{pointer-events:none;z-index:8;position:absolute;inset:0}.writing-error-layer button{pointer-events:auto;cursor:pointer;background:#ffd74245;border:0;border-bottom:2px solid #c33750;min-height:6px;padding:0;position:absolute}.writing-error-layer button:focus,.writing-error-layer button:hover{border-radius:4px;outline:2px solid #c33750}.writing-error-tip{z-index:35;background:#fffaf3;border:1px solid #d18494;border-top:4px solid #be3655;border-radius:14px;margin:12px 8px 0;padding:18px 40px 14px 18px;font-size:14px;position:sticky;bottom:16px;box-shadow:0 10px 30px #39203425}.writing-error-tip>button{color:#78546e;background:0 0;border:0;position:absolute;top:10px;right:8px}.writing-error-tip b{color:#ae2e48}.writing-error-tip p{line-height:1.6}.writing-error-tip .grade-correct-sentence{color:#16836b}.writing-side{gap:16px;display:grid;position:sticky;top:20px}.writing-card,.writing-feedback{background:#fffdfa;border:1px solid #e4d6e9;border-radius:22px;padding:24px}.writing-card h2{margin:0 0 12px;font-size:20px}.writing-card p{color:#8a748d;font-size:14px;line-height:1.65}.writing-card label{gap:7px;margin:18px 0;font-size:13px;font-weight:700;display:grid}.writing-card input,.writing-modal input{color:#4e3858;box-sizing:border-box;width:100%;font:inherit;background:#fff;border:1px solid #d6c1e0;border-radius:12px;min-width:0;padding:13px 14px}.writing-primary,.writing-secondary{min-height:48px;font:inherit;cursor:pointer;border-radius:14px;justify-content:center;align-items:center;gap:8px;padding:12px 18px;font-weight:800;text-decoration:none;display:inline-flex}.writing-primary{background:#81549d;border:1px solid #71428d;box-shadow:0 4px #5c3673;color:#fff!important}.writing-primary:disabled,.writing-secondary:disabled{opacity:.55;cursor:wait}.writing-secondary{background:#fffaf4;border:1px solid #dbc9e1;color:#765183!important}.writing-card .writing-primary{width:100%}.writing-error{font-size:14px;line-height:1.5;color:#ad354c!important}.writing-page-nav{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.writing-page-nav button{color:#765183;cursor:pointer;background:#fff;border:1px solid #d9c7e2;border-radius:12px;padding:10px 14px;font-weight:700}.writing-page-nav button[aria-current=true]{color:#fff;background:#80559a;border-color:#80559a}.writing-feedback header{align-items:center;gap:12px;display:flex}.writing-feedback header img{border-radius:50%;width:56px;height:56px}.writing-feedback small{letter-spacing:1px;color:#aa8067;font-size:9px}.writing-feedback h2{color:#a63550;margin:2px 0;font-size:32px}.writing-feedback h2 span{font-size:14px}.writing-feedback>p{font-size:14px;line-height:1.6}.writing-feedback details{margin-top:16px;font-size:13px;line-height:1.65}.writing-feedback summary{cursor:pointer;font-weight:700}.writing-feedback .grade-correct-version p{white-space:pre-wrap;line-height:1.65}.writing-join{max-width:440px;margin:60px auto}.writing-join h1{font-size:28px}.writing-join>img{width:100px;margin:auto;display:block}.writing-join small{color:#9b839d}.writing-page .grade-game-button{width:100%;position:static}.writing-page .grade-anna-loading{text-align:center}.writing-page .grade-anna-sprite{margin:auto}.writing-page .study-field-editor{z-index:80}.writing-assign-button{color:#76518b;cursor:pointer;background:#fff8ee;border:1px solid #d9c6df;border-radius:14px;align-items:center;gap:7px;padding:11px 14px;font-weight:800;display:inline-flex}.writing-modal-backdrop{z-index:150;background:#33203c75;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.writing-modal{color:#573c60;background:#fffaf4;border-radius:24px;width:min(620px,100%);max-height:90dvh;padding:26px;overflow:auto;box-shadow:0 20px 100px #2112294d}.writing-modal header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.writing-modal h2{margin:0;font-size:23px}.writing-modal header button{background:#f2e9f1;border:0;border-radius:50%;place-items:center;width:38px;height:38px;display:grid}.writing-modal label{gap:7px;margin:14px 0;font-size:13px;font-weight:700;display:grid}.writing-page-picker{grid-template-columns:repeat(8,1fr);gap:6px;max-height:220px;padding:3px;display:grid;overflow:auto}.writing-page-picker button{color:#805695;cursor:pointer;background:#fff;border:1px solid #decee4;border-radius:10px;padding:10px 2px}.writing-page-picker button[aria-pressed=true]{color:#fff;background:#865da0;box-shadow:0 2px #5e3b78}.writing-modal footer{justify-content:space-between;align-items:center;gap:12px;margin-top:20px;display:flex}.writing-modal footer small{color:#8b758f;font-size:12px;line-height:1.7}.writing-modal p{font-size:14px;line-height:1.6}.writing-created{padding:10px 0}.writing-created input{margin:10px 0 20px;font-size:12px}.writing-assignment-list{gap:14px;margin-top:24px;display:grid}.writing-assignment-item{text-align:left;color:#5d426c;cursor:pointer;background:#fff;border:1px solid #e0d2e8;border-radius:18px;justify-content:space-between;align-items:center;gap:18px;width:100%;padding:22px;display:flex}.writing-assignment-item strong{margin-bottom:7px;font-size:18px;display:block}.writing-assignment-item small{color:#957d9d;font-size:12px}.writing-students{overflow:auto}.writing-students table{border-collapse:collapse;text-align:left;width:100%;min-width:400px;font-size:14px}.writing-students th,.writing-students td{white-space:nowrap;border-bottom:1px solid #eee5f0;padding:14px 12px}.writing-students th{color:#9e84a5;font-size:12px}.writing-students td button{color:#457d66;cursor:pointer;background:#e9f2e9;border:0;border-radius:10px;padding:9px 12px;font-weight:800}.writing-actions{flex-wrap:wrap;gap:10px;margin:18px 0;display:flex}.writing-detail-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.writing-detail-head h2{margin:0}.writing-review{border-top:1px solid #dccde2;margin-top:28px;padding-top:24px}.writing-review>h3{margin:0 0 20px}.writing-empty{text-align:center;color:#947c9b;padding:45px 20px}.writing-page .study-answer-field{z-index:6}@media (max-width:760px){.writing-page{padding:18px 12px 40px}.writing-grid{grid-template-columns:1fr;gap:18px}.writing-side{position:static}.writing-top{gap:8px}.writing-top>a:last-child{font-size:12px}.writing-brand img{width:45px;height:45px}.writing-brand{gap:8px;font-size:14px}.writing-brand small{font-size:8px}.writing-hero{margin:23px 4px}.writing-hero h1{font-size:27px}.writing-page-nav{gap:6px}.writing-page-nav button{padding:9px 10px}.writing-card,.writing-feedback{padding:20px}.writing-assign-button{padding:9px 11px;font-size:12px}.writing-modal-backdrop{padding:12px}.writing-modal{padding:20px}.writing-modal footer{flex-direction:column;align-items:stretch}.writing-page-picker{grid-template-columns:repeat(6,1fr)}.writing-assignment-item{padding:18px}.writing-assignment-item strong{font-size:16px}.writing-assignment-item span:last-child{font-size:12px}.writing-detail-head{align-items:flex-start}.writing-join{margin:30px auto}}.writing-page .grade-game-button{color:#fff;text-align:center;cursor:pointer;background:linear-gradient(145deg,#b17bc5,#84529f);border:3px solid #fff3cc;border-bottom:7px solid #614179;border-radius:24px;width:100%;min-height:94px;padding:15px 15px 15px 85px;font-size:23px;font-weight:900;position:relative;box-shadow:0 5px #4b31592b}.writing-page .grade-game-button:disabled{opacity:.5}.writing-page .grade-game-button small{display:block}.writing-page .grade-game-button>img{left:0}.writing-expired{text-align:center;background:radial-gradient(at 50% 25%,#f1dfef 0,#0000 60%),#fffaf4;border:1px solid #eaddeb;border-radius:30px;max-width:580px;margin:40px auto 0;padding:22px 24px 38px;box-shadow:0 14px 55px #7e578011}.writing-expired-mascot{max-width:300px;margin:0 auto 12px;position:relative}.writing-expired-mascot img{aspect-ratio:1;object-fit:contain;width:100%;display:block}.writing-expired-mascot span{color:#88599a;background:#fff;border:2px solid #d8bfdf;border-radius:22px 22px 22px 5px;padding:12px 17px;font-size:25px;font-weight:900;position:absolute;top:28px;right:-10px;transform:rotate(8deg);box-shadow:0 4px #e8dcea}.writing-expired .writing-expired-label{color:#ad826b;letter-spacing:2px;margin:18px 0 10px;font-size:10px;font-weight:800}.writing-expired h1{margin:0 0 15px;font-size:clamp(23px,4vw,30px);line-height:1.4}.writing-expired p{color:#86678e;font-size:15px;line-height:1.7}.writing-expired small{color:#ab93af;margin-top:18px;font-size:12px;line-height:1.8;display:block}@media (max-width:760px){.writing-expired{margin-top:22px;padding:16px 16px 30px}.writing-expired-mascot{max-width:240px}.writing-expired-mascot span{padding:10px 14px;font-size:22px;right:0}}.writing-student-page{background-position:50%;background-size:cover;background-attachment:fixed}.writing-student-page .writing-top,.writing-student-page .writing-hero{background:#fffaf3e8;border:1px solid #e6d4df;border-radius:18px;padding:14px 18px;box-shadow:0 5px 22px #4e385817}.writing-student-page .writing-hero{margin:24px 0 18px}
