.deep-workspace{background:#f7f7f9;padding:28px;border-radius:12px;color:#1d1d1f}.deep-tools{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:24px}.deep-document{max-width:860px;margin:24px auto;background:#fff;padding:clamp(20px,4vw,48px);line-height:1.85}.deep-document h2{font-size:1.65rem;line-height:1.35}.deep-document h3{font-size:1.3rem;line-height:1.45}.deep-document h4{font-size:1.05rem;margin:28px 0 10px}.deep-document h5{font-size:1rem;margin:18px 0 8px}.deep-document .rich{font-family:inherit;font-size:1rem}.deep-document .rich p{margin:8px 0 16px}.deep-document li{margin:8px 0}.deep-cover{padding-bottom:28px;border-bottom:1px solid #dfe4e7}.deep-metadata{font-size:.86rem;color:#55585e;display:grid;gap:10px}.deep-metadata>div{display:grid;grid-template-columns:130px 1fr;gap:16px}.deep-metadata dd{margin:0;overflow-wrap:anywhere}.deep-source-note{font-size:.88rem;color:#55585e}.deep-toc{padding:24px 0}.deep-toc button{background:none;border:0;padding:4px 0;border-radius:0;text-align:left;color:var(--accent,#096457);font:inherit;white-space:normal}.deep-section{padding:32px 0;border-top:1px solid #dfe4e7;scroll-margin-top:100px}.deep-section-title{display:flex;justify-content:space-between;align-items:baseline;gap:20px}.deep-label{display:inline-block;font-size:.74rem;font-weight:650;letter-spacing:.01em;padding:3px 8px;border-radius:4px;margin:8px 0;color:#273437;background:#edf0f2}.deep-label-ai,.deep-ai{background:#eaf1fa;color:#234469}.deep-label-must,.deep-must{background:#fff5c7;color:#51430a}.deep-label-revision,.deep-revision{background:#e6f2e9;color:#24543b}.deep-label-mistake,.deep-mistake{background:#fbecee;color:#7d2c38}.deep-callout{margin:24px 0;padding:16px 20px;border-radius:8px}.deep-callout .deep-label{padding:0;background:none;margin:0 0 8px}.deep-formula{margin:28px 0}.deep-equation{padding:16px 0;overflow-x:auto}.deep-formula dl>div{display:grid;grid-template-columns:minmax(50px,1fr) 4fr;gap:18px;margin:10px 0}.deep-formula dd{margin:0}.deep-method{padding-left:26px}.deep-method li{padding-left:8px;margin:16px 0}.deep-example{background:#f7f7f9;padding:20px;margin:28px 0;border-radius:8px}.deep-example h4{margin-top:0}.deep-checks{margin-top:28px}.deep-check{border:0;border-bottom:1px solid #dfe4e7;border-radius:0;padding:14px 0;margin-bottom:16px}.deep-check summary{font-weight:600;color:var(--accent,#096457)}.deep-visual{margin:24px 0}.deep-visual svg{width:100%;height:auto;background:#f7f7f9}.deep-visual text{font-size:13px;font-family:inherit;fill:#394c53}.deep-axis{stroke:#8b989e;stroke-width:1;fill:none}.deep-curve{stroke:#136c5b;stroke-width:2.5;fill:none}.deep-visual circle{fill:#136c5b}.deep-visual figcaption{font-weight:600;font-size:.85rem;margin-top:12px}.deep-visual p{font-size:.88rem}.deep-table-scroll{overflow-x:auto}.deep-table-scroll table{width:100%;border-collapse:collapse}.deep-table-scroll th,.deep-table-scroll td{padding:12px;border-bottom:1px solid #dfe4e7;text-align:left}.deep-minute{background:#f5f8f6;padding:24px}.deep-empty{padding:32px 0;max-width:65ch}.deep-progress{color:#315a67}.deep-print-answer{padding:12px 0}.deep-document ::selection{background:#fff0a8}.deep-workspace button:focus-visible,.deep-document summary:focus-visible{outline:3px solid #127b68;outline-offset:3px}
@media(max-width:700px){.deep-workspace{padding:16px}.deep-document{padding:20px 16px}.deep-metadata>div{grid-template-columns:1fr;gap:2px}.deep-tools .actions{width:100%}.deep-tools button{flex:1}.deep-document h2{font-size:1.4rem}.deep-formula dl>div{grid-template-columns:1fr;gap:4px}.deep-section-title{flex-wrap:wrap;gap:0}}
@media print{.deep-workspace,.deep-document{padding:0;background:#fff;border-radius:0;max-width:none;margin:0}.deep-toc{display:none}.deep-section{padding:20px 0;break-inside:auto}.deep-equation,.deep-visual,.deep-callout{break-inside:avoid}.deep-callout,.deep-example,.deep-minute{print-color-adjust:exact;-webkit-print-color-adjust:exact}.deep-visual svg{max-height:230px}.deep-label{print-color-adjust:exact;-webkit-print-color-adjust:exact}.deep-document h3,.deep-document h4{break-after:avoid}.deep-print-answer{break-inside:avoid}.deep-table-scroll{overflow:visible}}
@media print{.deep-print-cover{break-after:auto;padding:0 0 8mm;border-bottom:1px solid #dfe4e7}.deep-print-cover h1{font-size:20pt}.deep-document{font-size:10.5pt;line-height:1.65}.deep-document .rich{font-size:10.5pt}.deep-document h4{margin-top:18px}.deep-document .deep-section{padding:20px 0}}
.deep-visual{overflow-x:auto}.deep-visual svg{display:block}.deep-visual:focus-visible{outline:3px solid #127b68;outline-offset:3px}.deep-diagram-hint{display:none}@media(max-width:700px){.deep-visual svg{min-width:520px;max-width:none}.deep-visual text{font-size:18px}.deep-diagram-hint{display:block}}@media print{.deep-visual{overflow:visible}.deep-visual svg{min-width:0;max-width:100%}.deep-diagram-hint{display:none}}

/* Reading surface uses the same palette and spacing as the rest of the workspace. */
@media screen{.deep-workspace{background:#f4f7f8;color:var(--ink,#172126)}.deep-document{border:1px solid #e2e9ec;border-radius:12px;box-shadow:0 8px 26px #253c490a}.deep-cover h2{letter-spacing:-.015em}.deep-toc{background:#edf4f1;border-radius:10px;padding:20px 24px;margin-top:24px}.deep-toc h3{margin-top:0}.deep-section h3{letter-spacing:-.01em}.deep-section h4{color:#253b43}.deep-source-note{line-height:1.7}.deep-tools .meta{font-size:13px}}
@media print{.deep-toc.deep-toc-print{display:block}}

/* A highlighter belongs to source-verified lecturer emphasis, not AI prediction. */
.study-highlight{margin:20px 0;padding:10px 0;color:#172e32;overflow-wrap:anywhere}
.study-highlight-label{font-size:13px;font-weight:650;color:#39565b;margin:0 0 7px}
.lecture-marker{background:#fff0a6;color:#172e32;padding:.08em .18em;box-decoration-break:clone;-webkit-box-decoration-break:clone;font-weight:650;line-height:1.85}
.study-highlight-explanation{margin-top:8px}.study-highlight-explanation p{margin:6px 0}
.deep-focused{line-height:1.75}.deep-focused .deep-cover{padding-bottom:18px}.deep-focused .deep-cover p{margin:8px 0}
.deep-focused .deep-toc{background:transparent;border-radius:0;padding:18px 0;margin:0}.deep-focused .deep-toc ol{margin:8px 0;padding-left:22px}
.deep-focused .deep-section{padding:26px 0}.deep-focused h4{margin:18px 0 8px}.deep-focused .deep-section-title h3{margin:0 0 10px}
.deep-focused .deep-main-idea{font-weight:650;margin:8px 0 12px}.deep-focused .deep-label{margin:4px 0 8px}
.deep-focused .deep-formula{margin:18px 0}.deep-focused .deep-equation{padding:8px 0}.deep-focused .deep-method li{margin:8px 0}
.deep-more{border:0;border-top:1px solid #dfe4e7;border-radius:0;padding:0;margin:16px 0 0}.deep-more>summary{cursor:pointer;min-height:44px;padding:12px 0;font-weight:600;color:var(--accent,#096457)}
.deep-more-body{padding:4px 0 14px}.deep-more[open]>summary{margin-bottom:4px}.deep-compact-mistake{margin:18px 0;padding:12px 0}
.deep-compact-mistake>strong{margin-right:10px}.deep-focused .deep-more .deep-label{margin-top:10px}
@media(max-width:700px){.deep-focused .deep-section-title{display:block}.deep-focused .deep-section-title .meta{display:block;margin-bottom:10px}.deep-focused .deep-toc li{margin:6px 0}.lecture-marker{line-height:1.9}}
@media print{.study-highlight,.lecture-marker{print-color-adjust:exact;-webkit-print-color-adjust:exact}.lecture-marker{background:#fff0a6;color:#111}.study-highlight{break-inside:avoid}.deep-supplement-print{margin:12px 0}.deep-focused .deep-section{padding:16px 0}.deep-focused .deep-more{border:0}}
.deep-materials{padding:18px 0 22px;margin-bottom:24px;border-bottom:1px solid #d4dfe1}.deep-materials h3{margin:0 0 12px}.deep-materials p{margin:8px 0;overflow-wrap:anywhere}.deep-material-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px}.deep-material-actions input{max-width:100%;font:inherit}.deep-material-actions label{font-weight:600}.deep-material-actions button{min-height:40px}.deep-material-actions input:focus-visible{outline:3px solid #127b68;outline-offset:3px}@media(max-width:700px){.deep-material-actions{align-items:stretch;flex-direction:column}.deep-material-actions button{width:100%}}
