.written-response{display:block;width:100%;box-sizing:border-box;min-height:150px;margin:12px 0;padding:13px;border:1px solid #b9cecd;border-radius:9px;font:inherit;line-height:1.6;resize:vertical;background:#fff;color:#123b47}
.written-response:focus{outline:3px solid #b7e4df;outline-offset:2px}
.written-review{margin-top:14px;padding:16px;border:1px solid #c9dddd;border-radius:9px;background:#f3f9f8}
.written-review h3{margin-top:0}.written-review [data-written-model]{white-space:pre-line}
.written-rubric{display:grid;gap:10px;margin:12px 0}.written-rubric label{display:flex;align-items:flex-start;gap:9px;font-weight:400}.written-rubric input{margin-top:4px;accent-color:#0b7373}
.written-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.written-status{font-size:12px;color:#526b70}.written-review[hidden]{display:none}.written-self-label{color:#765000;font-size:12px}

/* Spreadsheet-style workbooks remain operable on small screens and with a keyboard. */
.accounting-workbook .accounting-hint{position:static;top:auto}
body:has(.accounting-workbook:focus-within) .study-dock{visibility:hidden;pointer-events:none}
.accounting-workbook .accounting-table:has(thead th:nth-child(9)){font-size:12px}.accounting-workbook .accounting-table:has(thead th:nth-child(9)) th,.accounting-workbook .accounting-table:has(thead th:nth-child(9)) td{padding:8px 6px}.accounting-workbook .accounting-table:has(thead th:nth-child(9)) .accounting-number{min-width:74px;font-size:12px;padding:8px 5px}
.accounting-workbook{--accounting-line:#bfd2d4}.accounting-workbook h3{margin:20px 0 8px}.accounting-instruction{font-size:13px;line-height:1.6;color:#4e6570}.accounting-table-scroll{overflow-x:auto;margin:18px 0;border:1px solid var(--accounting-line);border-radius:10px;background:#fff}.accounting-table-scroll:focus-visible{outline:3px solid #78bdb8;outline-offset:3px}.accounting-table{width:100%;border-collapse:collapse;font-size:13px;line-height:1.5}.accounting-table caption{text-align:left;padding:12px 14px;font-weight:700;color:#123b47;background:#eaf4f3;caption-side:top}.accounting-table th,.accounting-table td{padding:10px 12px;border-bottom:1px solid #d8e5e6;border-right:1px solid #d8e5e6;vertical-align:middle}.accounting-table thead th{text-align:left;color:#35525a;background:#f4f8f8;font-size:12px}.accounting-table tbody th{font-weight:500;text-align:left;min-width:140px}.accounting-table tbody tr:last-child th,.accounting-table tbody tr:last-child td{border-bottom:0;font-weight:700;background:#f4f9f8}.accounting-table tr>:last-child{border-right:0}.accounting-number{box-sizing:border-box;width:100%;min-width:110px;max-width:220px;padding:9px 10px;border:1.5px solid #789eaa;border-radius:5px;font:inherit;font-variant-numeric:tabular-nums;text-align:right;background:#fff;color:#123b47}.accounting-number:focus{outline:3px solid #b7e4df;outline-offset:2px}.accounting-number[data-correct="1"]{border-color:#25814c;background:#f1faf4}.accounting-number[data-correct="0"]{border-color:#a26322;background:#fffbf1}.accounting-feedback{display:block;font-size:11px;line-height:1.4;min-height:0;margin-top:3px;color:#6c572e}.accounting-number[data-correct="1"]+.accounting-feedback{color:#236841}.accounting-notes{min-height:86px}.accounting-hint{margin-top:14px;padding:16px;border-left:4px solid #dbad48;background:#fff9e9;color:#554620}.accounting-hint[hidden]{display:none}.accounting-hint p{margin:7px 0 0;line-height:1.6}.accounting-step{border-top:1px solid #cfdddd;padding:11px 0}.accounting-step summary{cursor:pointer;font-weight:600;line-height:1.5}.accounting-step summary:focus-visible{outline:3px solid #78bdb8;outline-offset:3px}.accounting-formula{overflow-wrap:anywhere;font-variant-numeric:tabular-nums;line-height:1.8}.accounting-model{white-space:pre-line;line-height:1.7}.accounting-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:640px){.accounting-table th,.accounting-table td{padding:8px}.accounting-table{font-size:12px}.accounting-number{min-width:96px}.accounting-workbook .written-actions button{flex:1 1 160px}}@media print{.accounting-table-scroll{overflow:visible}.accounting-table{font-size:9px}.accounting-number{min-width:0;max-width:100%;padding:4px}.accounting-feedback,.accounting-workbook .written-actions{display:none}}
