.written-tools{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin:20px 0}.written-tools label{font-size:12px;font-weight:700;display:grid;gap:6px}.written-tools select{padding:10px;border:1px solid #bfd1c5;border-radius:8px;background:white;max-width:100%}.written-heading{background:#edf3e7;border:1px solid #d5e1d0;border-radius:16px;padding:24px;margin:18px 0}.written-heading h2{font-size:28px;margin:10px 0}.written-heading #writtenIntro{font-size:18px;line-height:1.65;white-space:pre-line}.written-part{background:white;border:1px solid #d5e1d0;border-radius:15px;padding:24px;margin:18px 0}.written-prompt{display:flex;gap:18px;align-items:start;justify-content:space-between}.written-prompt h3{font-size:17px;line-height:1.65;margin:0 0 15px}.written-prompt>strong{font-size:12px;white-space:nowrap;background:#edf3e7;padding:6px 10px;border-radius:50px}.answer-label{display:block;font-weight:700;font-size:13px;margin-bottom:8px}.written-part textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;border:1px solid #b9cdc3;border-radius:9px;padding:14px;font:inherit;line-height:1.7;min-height:150px;color:#173f4b;background:#fcfdf9}.written-part textarea:focus{outline:3px solid #a4d5c7;outline-offset:2px}.written-hint,.written-scheme{margin:14px 0;padding:14px 0;border-top:1px solid #e2e9df}.written-scheme summary,.written-hint summary{font-size:14px;font-weight:700;cursor:pointer;line-height:1.6}.model-answer{white-space:pre-line;font-size:15px;line-height:1.85;background:#f0f6ee;padding:18px;border-radius:10px}.criteria{display:grid;gap:10px}.criteria label{display:flex;gap:10px;align-items:flex-start;padding:10px;border:1px solid #dce5d7;border-radius:8px;font-size:13px;line-height:1.7}.criteria input{min-width:19px;width:19px;height:19px;margin-top:3px;accent-color:#176d74}.criteria b{display:block}.acceptance{font-size:12px;line-height:1.65;color:#547078}.written-progress{display:flex;flex-wrap:wrap;gap:10px 24px;justify-content:space-between;padding:15px 0;color:#176d74;font-size:14px}.written-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between;margin:18px 0}#essayScaffold{background:#fff7e6;border-radius:10px;padding:18px;line-height:1.7;font-size:14px}.written-pdf-links{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.written-save{min-height:30px;font-size:12px;color:#547078}.written-note{font-size:13px;line-height:1.7}.written-part [hidden]{display:none!important}@media(max-width:600px){.written-part,.written-heading{padding:18px}.written-prompt{display:block}.written-prompt>strong{display:inline-block;margin:0 0 14px}.written-heading h2{font-size:24px}.written-heading #writtenIntro{font-size:16px}.written-tools{align-items:stretch}.written-tools label{flex:1;min-width:120px}.view-tabs button{padding:10px 8px!important}.model-answer{padding:13px}}@media print{#writtenView{display:none!important}}
