.study-layout{grid-template-columns:minmax(0,1fr) 210px}.narrative{font-size:17px;line-height:2.65;word-break:keep-all;overflow-wrap:anywhere}.narrative p{margin:0 0 26px}.cloze{display:inline-block;position:relative;vertical-align:baseline;margin:2px 3px;max-width:100%;line-height:1.6}.cloze sup{font-size:10px;color:var(--green);vertical-align:top;margin-right:3px}.cloze input{width:142px;max-width:calc(100% - 24px);min-height:36px;padding:4px 7px;border:0;border-bottom:2px solid #829477;background:#f0f1e9;border-radius:3px 3px 0 0;font:inherit;font-size:16px;color:var(--ink)}.cloze input:focus{outline:2px solid #587450;outline-offset:2px;background:#fff}.cloze input::placeholder{font-size:12px;color:#8c9387}.cloze input.good,.cloze input.fixed{border-color:#4a7652;background:#e9f2e4}.cloze input.bad{border-color:#a3543d;background:#fff0e8}.inline-correction{display:block;margin:3px 0 8px 20px;font-size:12px;line-height:1.7;color:#a34d36;max-width:220px}.grade-summary{font-size:14px;color:var(--green);line-height:1.9}.reading{line-height:2.25}.read-answer{font-weight:650;color:var(--green);background:#edf0e4;padding:1px 3px}.passage-link{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px;border:1px solid var(--line);background:var(--paper);margin:12px 0;border-radius:8px}.passage-link h2{font-size:18px;margin:9px 0 0}.passage-link button{flex-shrink:0}.search-box{display:block;width:100%;font-size:16px;padding:14px;border:1px solid var(--line);border-radius:6px;margin:10px 0 24px;background:var(--paper)}.review-context{font-size:16px;line-height:2.1}.answer-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.answer-list>div{padding:12px;border-radius:5px;background:#f0f3eb;line-height:1.9;overflow-wrap:anywhere}.answer-list>.incorrect{background:#fff0e8}.study-title h1{font-size:28px}.unit h3{line-height:1.5}.sheet-actions{margin-top:22px}.result-actions{margin-top:24px}.record-tools{padding-top:24px}.review h2{font-size:19px}.read-table{border-collapse:collapse;width:100%;font-size:14px;line-height:1.8}.read-table th,.read-table td{padding:12px;text-align:left;border:1px solid var(--line)}
@media(max-width:900px){.study-layout{grid-template-columns:minmax(0,1fr)}.side{order:2}.side .q-grid{grid-template-columns:repeat(8,1fr)}.narrative{font-size:17px}.study-title h1{font-size:25px}}
@media(max-width:560px){.recommend{flex-direction:column;align-items:flex-start}.narrative{font-size:16px;line-height:2.7}.cloze input{width:115px;font-size:16px}.cloze{margin:2px 1px}.sheet{padding:20px 15px}.passage-link{padding:17px;gap:10px}.passage-link h2{font-size:16px}.answer-list{grid-template-columns:1fr}.study-title h1{font-size:22px}.study-top{gap:12px}.study-top>button{white-space:nowrap;padding:10px}.actions{grid-template-columns:repeat(2,minmax(0,1fr))}.action .label{line-height:1.6}.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.result-score{font-size:60px}.summary .number small{font-size:15px}}
@media print{header,footer,button,.side,.settings,.sheet-actions,.record-tools,.result-actions{display:none!important}main{max-width:none;padding:0}.sheet,.review{border:0;box-shadow:none;padding:12px 0;break-inside:auto}.narrative{font-size:11pt;line-height:2.3}.narrative p{break-inside:avoid}.cloze input{background:transparent;width:100px;font-size:10pt}.review{break-before:page}.answer-list{font-size:10pt}.result-title{break-after:page}.read-answer{background:transparent}}

button.book-term{display:inline;border:0;border-radius:0;padding:0 .1em;background:transparent;color:#21574b;font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:.18em;text-decoration-style:dotted;cursor:pointer}
.book-dialog{box-sizing:border-box;width:min(52rem,96vw);max-height:90dvh;padding:clamp(1rem,3vw,2rem);border:1px solid #bac5bf;border-radius:14px;background:#fff;color:#20372f;overscroll-behavior:contain}
.book-dialog::backdrop{background:#182b26a6}
.book-head,.book-view>div{display:flex;align-items:center;justify-content:space-between;gap:1rem}.book-head h2{margin:0}.book-meta{margin:.8rem 0}.book-pages{display:flex;gap:.45rem;flex-wrap:wrap}.book-pages button[aria-current]{background:#21574b;color:white}.book-view>div{margin:1rem 0 .5rem}.book-view a{color:#21574b}.book-view img{display:block;width:100%;height:auto;border:1px solid #d4d9d6}
