/* Detailed lesson edition: preserve the existing blue design system. */
.depth-edition{display:flex;align-items:center;gap:12px;padding:13px 17px;margin:18px 0 24px;background:#edf4ff;border:1px solid #cfddf0;border-radius:12px;color:#244674;font-size:13px;line-height:1.7}
.depth-edition>span{flex-shrink:0;font-weight:750;background:#173d75;color:#fff;padding:3px 9px;border-radius:5px}.depth-edition p{margin:0;flex:1}.depth-edition small{white-space:nowrap;color:#536b89}
.depth-handbook{margin:34px 0 40px;min-width:0}.depth-intro{padding:26px 27px;background:#f1f6fd;border:1px solid #d8e3f2;border-radius:15px}.depth-intro h2{margin:6px 0 12px!important;font-size:26px!important;color:#173d75}.depth-intro p{line-height:1.9;margin:8px 0}.depth-kicker{font-size:10px;letter-spacing:.19em;font-weight:750;color:#476791}.depth-small{font-size:12px;color:#536783}.depth-tools{display:flex;gap:9px;flex-wrap:wrap;margin:17px 0 10px}.depth-tools button{font-size:12px;padding:9px 12px;line-height:1.5}
.depth-toc{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:18px 0 23px}.depth-toc button{display:flex;gap:9px;align-items:flex-start;text-align:left;line-height:1.65;font-size:12px;padding:9px 10px;border:1px solid transparent;background:transparent;color:#345171;white-space:normal}.depth-toc button:hover{background:#f0f5fb;border-color:#d4e0ee}.depth-toc button>span{font-variant-numeric:tabular-nums;color:#6080a8;font-weight:700;min-width:20px}
.depth-section{margin:0 0 25px!important;padding:0 0 26px;border-bottom:1px solid #dfe7ef;scroll-margin-top:96px;min-width:0}.depth-section h3{display:flex;align-items:flex-start;gap:12px;font-size:21px!important;line-height:1.6;margin:0 0 17px;color:#173d75;letter-spacing:0}.depth-section-number{flex:none;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;margin-top:2px;background:#e7effb;color:#325887;border-radius:7px}.depth-section-body{font-size:16px;line-height:2;color:#293e55;overflow-wrap:anywhere}.depth-section-body p{margin:0 0 15px;line-height:2;word-break:normal}.depth-section-body p:last-child{margin-bottom:0}.depth-example{padding:23px 24px!important;border:1px solid #d8e2ef;background:#f7f9fc;border-radius:12px}.depth-exercise{padding:23px 24px!important;border:1px solid #d6e4f5;background:#f7fbff;border-radius:12px}
.depth-answer{padding:0!important;border:1px solid #b9cee8;border-radius:12px;overflow:hidden;background:#f3f7fd}.depth-answer summary{display:flex;align-items:center;gap:11px;cursor:pointer;padding:18px 20px;list-style:none;font-size:17px;font-weight:700;line-height:1.6;color:#214674}.depth-answer summary::-webkit-details-marker{display:none}.depth-answer summary:after{content:'＋';font-size:20px;margin-left:auto;flex-shrink:0}.depth-answer[open] summary:after{content:'−'}.depth-answer summary small{font-weight:400;font-size:11px;color:#56708e;margin-left:auto}.depth-answer .depth-section-body{padding:2px 24px 24px}.depth-answer summary:focus-visible,.depth-toc button:focus-visible,.depth-tools button:focus-visible{outline:3px solid #3677bc;outline-offset:3px}
.depth-code-label{display:flex;align-items:center;gap:12px;justify-content:space-between;margin:20px 0 0;padding:10px 14px;background:#e7eef8;border:1px solid #cbd9ec;border-bottom:none;border-radius:9px 9px 0 0;font-size:12px;color:#234775}.depth-code-label button{font-size:11px;padding:5px 10px;flex-shrink:0}.depth-code{background:#122c4c;color:#ecf3fc;border-radius:0 0 9px 9px;padding:21px 18px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12.5px;line-height:1.8;overflow:auto;max-width:100%;tab-size:4;white-space:pre}.depth-code code{font:inherit;background:transparent;color:inherit;padding:0}.lesson-sheet{min-width:0}.course-body{min-width:0}
@media(min-width:1450px){.depth-section-body{font-size:17px}.depth-section-body p{line-height:2.05}}
@media(max-width:760px){.depth-edition{flex-wrap:wrap;padding:12px 13px;gap:8px}.depth-edition p{flex-basis:100%;order:3}.depth-edition small{margin-left:auto}.depth-intro{padding:20px 17px}.depth-intro h2{font-size:23px!important}.depth-toc{grid-template-columns:1fr;gap:2px;padding:14px 0 20px}.depth-toc button{padding:7px 5px;font-size:12px}.depth-section h3{font-size:19px!important;gap:9px}.depth-section-body{font-size:15.5px;line-height:1.95}.depth-example,.depth-exercise{padding:18px 16px!important}.depth-answer summary{padding:15px 14px;font-size:16px;flex-wrap:wrap;gap:8px}.depth-answer summary small{font-size:10px}.depth-answer .depth-section-body{padding:0 16px 20px}.depth-tools button{flex:1 1 auto;white-space:normal}.depth-code{font-size:11px;padding:15px 12px}.depth-code-label{font-size:11px;align-items:flex-start}.depth-section{scroll-margin-top:80px}}
@media print{.depth-toc,.depth-tools,.depth-edition,.depth-code-label button{display:none!important}.depth-handbook{margin:16pt 0}.depth-intro{padding:10pt 12pt;background:#fff;border:1px solid #b5c5d8;break-inside:avoid}.depth-intro h2{font-size:17pt!important}.depth-section{margin-bottom:16pt!important;padding-bottom:14pt;break-inside:auto!important;overflow:visible!important}.depth-section h3,.depth-answer summary{font-size:14pt!important;break-after:avoid}.depth-section-body{font-size:10.5pt;color:#111;line-height:1.7}.depth-section-body p{line-height:1.7;margin-bottom:8pt;orphans:3;widows:3}.depth-example,.depth-exercise,.depth-answer{background:#fff!important;border-color:#c8d0da!important;padding:12pt!important}.depth-answer summary{padding:0 0 9pt}.depth-answer summary small,.depth-answer summary:after{display:none}.depth-answer .depth-section-body{padding:0}.depth-code{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;overflow:visible;font-size:8pt;line-height:1.55;background:#fff;color:#111;border:1px solid #bbb;padding:9pt;break-inside:auto}.depth-code-label{background:#fff;color:#111}.depth-section-number{background:#fff;border:1px solid #bbc7d5;color:#111}}
