
.ws-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:7px 0 10px}
.ws-toolbar .press{min-height:44px}.ws-toolbar .selected{background:#245943;border-color:#1d4836;color:#fff}
.ws-document-host{min-width:0}.ws-paper{background:#fffefa;border:1px solid #e5d8bc;box-shadow:0 4px 12px #5c493b0c;border-radius:12px;padding:clamp(12px,3.3vw,28px);color:#24374a;line-height:1.42}
.ws-header{display:flex;justify-content:space-between;align-items:start;flex-wrap:wrap;gap:7px 20px;padding-bottom:8px;border-bottom:2px solid #9ab1a9}
.ws-header .kicker{margin:0}.ws-header h2{margin:4px 0 0;font-size:clamp(1.03rem,3.1vw,1.65rem);letter-spacing:.005em;line-height:1.18}
.ws-note{font-size:.88rem;margin:5px 0;color:#4b6167;white-space:pre-wrap}.ws-passage{white-space:pre-wrap;font-family:Georgia,serif;line-height:1.55;background:#f8f6eb;border-left:3px solid #b7ae86;padding:8px}
.ws-docnav{display:flex;align-items:center;gap:8px;margin:8px 0;color:#304b53;font-weight:750;flex-wrap:wrap}
.ws-docnav select{max-width:100%;min-height:44px;padding:6px 9px;color:#24453d;background:#fff;border:1px solid #c5ccc0;border-radius:8px}
.ws-section{margin:16px 0 11px}.ws-section>h3{font-size:1.04rem;letter-spacing:0;white-space:pre-wrap;font-weight:820;padding-bottom:5px;margin:0 0 5px;color:#254636;border-bottom:1px dashed #d3ddcf}
.ws-row{padding:8px 4px;border-bottom:1px dashed #e2dbcd;min-width:0}.ws-row:last-child{border-bottom:0}.ws-row.ws-right{background:#edf8ed;border-radius:6px}.ws-row.ws-wrong{background:#fff1ec;border-radius:6px}
.ws-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 18px}
.ws-row .press,.ws-grade .press{font-size:.87rem;min-height:42px;padding:5px 10px;margin:2px 5px 2px 0}
.ws-row .ws-feedback,.ws-grade .ws-feedback{margin:4px 0;color:#346457;font-size:.9rem;line-height:1.3}
.ws-feedback:empty{display:none}.ws-prompt{margin:1px 0 6px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:1.08rem;line-height:1.6}.ws-equation{font-weight:720;font-size:clamp(1.1rem,4vw,1.4rem);font-variant-numeric:tabular-nums}
.ws-blank{font:inherit;color:#284354;max-width:100%;min-height:42px;padding:4px 6px;margin:1px 2px;border:1px solid #8da5ae;background:#fff;border-radius:5px;border-bottom:2px solid #7d969b;font-weight:700;vertical-align:middle}
.ws-number,.ws-sign{width:3.05rem;text-align:center}.ws-text{width:clamp(5.2rem,27vw,12rem)}.ws-writing{display:block;width:100%;padding:5px 10px;min-height:4.5rem;line-height:1.7rem;border:1px solid #acb8b8;border-radius:6px;background:repeating-linear-gradient(#fff 0,#fff 1.62rem,#dce5e9 1.62rem,#dce5e9 1.7rem);font:1rem/1.7rem inherit}
.ws-match{display:grid;gap:9px;grid-template-columns:1fr 1fr}.ws-match-col{display:grid;align-content:start;gap:5px}.ws-match-col .press{justify-content:flex-start;text-align:left;margin:0}.ws-match-col .press[aria-pressed=true],.ws-original-choices .press[aria-pressed=true]{background:#e7dcfb;border-color:#9b7acb}.ws-match-col small{color:#8e3c26}
.ws-blocks,.ws-original-choices{display:flex;flex-wrap:wrap;gap:4px}.ws-order-built{display:flex;flex-wrap:wrap;gap:5px;min-height:38px;padding:5px;background:#f1f6fb;border-radius:7px}.ws-order-bit{background:#e4f0e7;color:#285238;padding:2px 7px;border-radius:4px}
.ws-figure{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:3px 0}.ws-geometry svg{display:block;width:105px;height:82px}.ws-caption{white-space:pre-wrap;font-size:1rem}
.ws-grade{padding:11px 0 0;border-top:1px solid #d6ddcb}.ws-item-number{font-weight:850}
.ws-photo{margin:8px 0;color:#334e47;font-size:.91rem}.ws-photo input{display:block;max-width:100%;margin:7px 0}.ws-photo img{display:block;max-width:100%;height:auto;margin-top:10px}
.ws-trace{font-weight:900;color:#74838d;font-size:clamp(1.35rem,4vw,1.9rem);letter-spacing:.13em;text-decoration:underline dotted #a2acb8;text-underline-offset:.22em}
@media(max-width:520px){.ws-columns{grid-template-columns:1fr}.ws-paper{padding:10px}.ws-match-col .press{white-space:normal;overflow-wrap:anywhere}}
@media print{
body:has(.ws-paper) .shell>*{display:none!important}
body:has(.ws-paper) .shell>#school-weekly{display:block!important;border:0;box-shadow:none;padding:0}
body:has(.ws-paper) #school-weekly>*{display:none!important}
body:has(.ws-paper) #school-weekly>.week-sheet{display:block!important;border:0;padding:0}
body:has(.ws-paper) .week-sheet>*{display:none!important}
body:has(.ws-paper) .week-sheet>.ws-document-host{display:block!important}
.ws-paper{box-shadow:none;border:0}.ws-paper .press,.ws-feedback,.ws-grade,.ws-photo,.ws-docnav,.ws-paper .week-help{display:none!important}
.ws-row{break-inside:avoid}.ws-blank{border:1px solid #777}
}
.ws-match{position:relative;column-gap:clamp(15px,4vw,42px)}.ws-match-lines{position:absolute;width:100%;height:100%;inset:0;pointer-events:none;z-index:1}.ws-match-lines line{stroke:#9b75c6;stroke-width:2.5;stroke-linecap:round}.ws-match-col{position:relative;z-index:2}.ws-linked-help{margin:4px 0}.ws-linked-help summary{font-weight:760;color:#4f5e70;cursor:pointer}.ws-writing{font:inherit;line-height:1.7rem}
