body:has([data-lecture-page]){--bg:#f7f7f2;--surface:#fff;--soft:#eef2ed;--ink:#182927;--muted:#61716b;--line:#dbe3dc;--line-strong:#c8d2c5;--accent:#087e70;--accent-hover:#065f55;--accent-soft:#e3f2ea;--accent-wash:#edf6f1;--on-accent:#fff;--focus:#e5a748;--danger:#af3f28;--danger-line:#ddb9ad;--danger-soft:#fbf0eb;--warning:#8a5424;--warning-soft:#fff3df;--sans:"Segoe UI", "Microsoft YaHei", system-ui, sans-serif;background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:18px;line-height:1.9}html[data-theme=dark]:not([data-theme-auto=true]) body:has([data-lecture-page]){--bg:#14211e;--surface:#1c2c27;--soft:#26372f;--ink:#e0e8e1;--muted:#a6b9ae;--line:#35473d;--line-strong:#50675a;--accent:#77d1af;--accent-hover:#98e3c5;--accent-soft:#253c31;--accent-wash:#20352c;--on-accent:#10281e;--focus:#f0c878;--danger:#efad9d;--danger-line:#7f594f;--danger-soft:#3b2b25;--warning:#e6bd83;--warning-soft:#403723}body:has([data-lecture-page]) .site-header{z-index:20;background:var(--bg);gap:24px;max-width:1500px;padding:12px 30px;position:sticky;top:0}body:has([data-lecture-page]) .site-header nav a[aria-current]:after{bottom:-14px}body:has([data-lecture-page]) .brand{font-size:16px}body:has([data-lecture-page]) .brand svg{width:29px;height:29px}body:has([data-lecture-page]) main{max-width:1300px;padding:0 30px}body:has([data-lecture-page]) .site-footer{max-width:1200px;padding:28px 30px}.lecture-breadcrumbs{padding-top:24px}.lecture-layout{grid-template-columns:230px minmax(0,900px);align-items:start;gap:48px;margin-top:14px;padding-bottom:90px;display:grid}.lecture-sidebar{flex-direction:column;padding-bottom:24px;font-size:13px;display:flex;position:sticky;top:108px}.lecture-chapters{display:none}.lecture-section-nav ol{margin:0;padding:0;list-style:none}.lecture-section-nav{border-top:0;order:1;margin-top:0;padding-top:0}.lecture-section-nav>summary{letter-spacing:.08em;cursor:pointer;color:var(--muted);margin-bottom:12px;font-size:11px;font-weight:600;list-style:none}.lecture-section-nav>summary::-webkit-details-marker{display:none}.lecture-section-nav>summary:after{content:" · CONTENTS";letter-spacing:.14em;color:var(--line-strong);font-size:9px}.lecture-section-nav nav{scrollbar-width:thin;max-height:56vh;overflow:auto}.lecture-section-nav a{color:var(--muted);border-left:2px solid #0000;padding:7px 11px;font-size:12px;line-height:1.55;display:block}.lecture-section-nav a:hover{color:var(--accent)}.lecture-section-nav a[aria-current]{border-left-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.lecture-reading-position{order:2;margin:24px 0 12px}.lecture-reading-position label{color:var(--muted);margin-bottom:9px;font-size:10px;display:block}.lecture-reading-position progress{appearance:none;background:var(--soft);border:0;border-radius:3px;width:100%;height:4px}.lecture-reading-position progress::-webkit-progress-bar{background:var(--soft);border-radius:3px}.lecture-reading-position progress::-webkit-progress-value{background:var(--accent);border-radius:3px}.lecture-reading-position a{color:var(--accent);margin-top:8px;font-size:10px;display:block}.lecture-note-link,.lecture-print{border-color:var(--line-strong);background:var(--surface);width:100%;min-height:36px;color:var(--ink);font-size:12px;font-weight:500}.lecture-note-link{order:3;margin-top:8px}.lecture-print{order:4;margin-top:8px}.lecture-main{min-width:0}.lecture-heading{border-bottom:0;margin-bottom:0;padding:14px 0 18px}.lecture-heading .eyebrow{letter-spacing:.08em;margin-bottom:12px;font-size:12px}.lecture-heading h1{font-family:var(--sans);letter-spacing:-.03em;margin:0 0 22px;font-size:clamp(2.4rem,4.5vw,3.5rem);font-weight:700;line-height:1.35}.lecture-lead{color:#50635d;margin-bottom:10px;font-size:17px;line-height:1.95}.lecture-toolbar{border-top:1px solid var(--line);border-bottom:0;order:5;gap:7px;margin:10px 0 0;padding:12px 0 0;display:grid}.lecture-toolbar>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.lecture-toolbar>div button:nth-child(3){grid-column:1/-1}.lecture-toolbar button{border:1px solid var(--line);width:100%;min-height:30px;color:var(--muted);background:var(--surface);border-radius:5px;padding:5px 8px;font-size:10px}.lecture-toolbar>button{font-size:10px}.lecture-toolbar button:hover,.lecture-toolbar button[aria-pressed=true]{color:var(--accent);background:var(--accent-soft);border-color:var(--line-strong)}.lecture-pagination{border-top:1px solid var(--line);justify-content:space-between;gap:24px;margin:42px 0 30px;padding-top:24px;display:flex}.lecture-pagination a{max-width:48%}.lecture-pagination a:last-child:not(:first-child){text-align:right}.lecture-pagination span{color:var(--muted);margin-bottom:7px;font-size:10px;display:block}.lecture-pagination strong{font-family:var(--sans);color:var(--accent);font-size:15px;font-weight:600}.lecture-content{--lecture-font-size:18px;--lecture-scroll-margin:24px}html[data-font=large] .lecture-content{--lecture-font-size:20px}.chapter-list{gap:12px;display:grid}.chapter-row{border:1px solid var(--line);background:var(--surface);border-radius:9px;align-items:center;gap:20px;padding:23px;display:flex}.chapter-row-number{font-family:var(--serif);color:var(--muted);font-size:25px;font-style:italic}.chapter-row-body{flex:1;min-width:0}.chapter-row h3{font-family:var(--serif);margin-bottom:7px;font-size:19px}.chapter-row p{color:var(--muted);font-size:12px;line-height:1.8}.chapter-row-actions{flex-direction:column;flex-shrink:0;align-items:flex-end;gap:9px;display:flex}.chapter-row-actions>a:not(.button){color:var(--muted);font-size:11px}.course-notes{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.course-note{border:1px solid var(--line);background:var(--surface);border-radius:7px;justify-content:space-between;gap:16px;padding:16px 18px;font-size:12px;display:flex}.course-note span:last-child{color:var(--accent);white-space:nowrap}.course-illustration{border:1px solid var(--line);background:#fff;border-radius:10px;margin:0 0 30px;padding:16px}.course-illustration img{object-fit:contain;width:100%;max-height:300px;display:block}.course-hero{grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);align-items:end;gap:64px;padding:42px 0 34px;display:grid}.course-hero h1{margin-bottom:16px;font-size:clamp(48px,5.5vw,66px)}.course-lead{max-width:720px;color:var(--muted);font-size:17px;line-height:1.95}.course-meta{flex-wrap:wrap;gap:8px;margin:22px 0 0;padding:0;list-style:none;display:flex}.course-meta li{border:1px solid var(--line);color:var(--muted);background:color-mix(in srgb, var(--surface) 72%, transparent);border-radius:999px;padding:4px 11px;font-size:11px}.course-actions{flex-wrap:wrap;align-items:center;gap:12px;margin-top:26px;display:flex}.course-panel{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:16px;padding:22px 23px 17px}.course-panel-label{letter-spacing:1.8px;color:var(--muted);margin-bottom:10px;font-size:10px;font-weight:700}.course-panel-list{margin:0;padding:0;list-style:none}.course-panel-list li{border-bottom:1px solid color-mix(in srgb, var(--line) 70%, transparent);grid-template-columns:28px minmax(0,1fr);align-items:baseline;gap:10px;padding:10px 0;font-size:13px;display:grid}.course-panel-list li:last-child{border-bottom:0}.course-panel-list span{color:var(--muted);font-size:10px}.course-panel-list a{font-weight:600}.course-panel-list a:hover{color:var(--accent)}.course-panel-empty{color:var(--muted);padding:12px 0 18px;font-size:13px}.course-panel-foot{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;gap:14px;margin-top:12px;padding-top:13px;font-size:10px;display:flex}.course-panel-foot a{color:var(--accent)}.course-illustration{background:var(--surface);width:min(100%,840px);box-shadow:var(--shadow);margin:2px auto 38px;padding:14px 16px 10px}.course-illustration figcaption{text-align:center;color:var(--muted);margin-top:10px;font-size:11px}.course-section{border-top:1px solid var(--line);padding-top:30px}.course-section h2{letter-spacing:-.02em;margin-bottom:16px;font-size:23px;font-weight:700}.chapter-row{box-shadow:var(--shadow);border-radius:12px;padding:22px 24px}.chapter-row h3{font-size:20px;font-weight:700}.bank-list{gap:12px;display:grid}.bank-row{box-shadow:var(--shadow);border-radius:12px}@media (width<=900px){.course-hero{grid-template-columns:1fr;gap:28px;padding-top:34px}.course-panel{max-width:560px}}@media (width<=600px){.course-hero h1{font-size:43px}.course-lead{font-size:16px}.course-section h2{font-size:21px}.chapter-row{padding:18px}}@media (width<=1050px){.lecture-layout{grid-template-columns:210px minmax(0,1fr);gap:32px}.lecture-heading h1{font-size:clamp(2.2rem,5vw,3.4rem)}}@media (width<=820px){body:has([data-lecture-page]) .site-header{flex-wrap:wrap;gap:10px 16px;padding:12px 20px}body:has([data-lecture-page]) .site-header nav{flex-wrap:wrap;gap:5px 18px;width:100%;padding-bottom:0;overflow:visible}body:has([data-lecture-page]) .site-header nav a{white-space:nowrap;flex:none}body:has([data-lecture-page]) .site-header nav a[aria-current]:after{bottom:-3px}body:has([data-lecture-page]) main{padding:0 20px}.lecture-layout{grid-template-columns:1fr;gap:24px;margin-top:23px}.lecture-sidebar{border-bottom:1px solid var(--line);padding-bottom:18px;position:static}.lecture-course-name{display:none}.lecture-chapters ol{flex-wrap:wrap;gap:6px;display:flex}.lecture-chapters li{flex:1;min-width:120px}.lecture-chapters a:not(.lecture-course-name){padding:8px;font-size:11px}.lecture-section-nav{margin-top:16px;padding-top:12px}.lecture-section-nav>summary{margin-bottom:0}.lecture-section-nav[open]>summary{margin-bottom:10px}.lecture-section-nav nav{max-height:230px}.lecture-reading-position{display:none}.lecture-note-link{min-height:34px;margin-top:12px}.lecture-print{min-height:34px}.lecture-heading h1{font-size:34px}.lecture-toolbar{margin-top:10px}.chapter-row{gap:15px;padding:20px}.chapter-row-number{font-size:21px}.chapter-row-actions .button{padding:8px 12px;font-size:11px}.course-notes{grid-template-columns:1fr}}@media (width<=500px){.lecture-breadcrumbs{flex-wrap:wrap;gap:8px;font-size:10px}.lecture-chapters li{min-width:90px}.lecture-chapters a span{display:none}.lecture-heading h1{font-size:28px}.lecture-lead{font-size:13px}.lecture-toolbar{gap:8px}.lecture-toolbar button{padding:5px 7px;font-size:10px}.lecture-content{--lecture-font-size:16px}.chapter-row{flex-wrap:wrap;align-items:flex-start}.chapter-row-body{flex-basis:calc(100% - 45px)}.chapter-row-actions{flex-direction:row;align-items:center;margin-left:36px}.lecture-pagination strong{font-size:13px}}@media print{.site-header,.site-footer,.lecture-sidebar,.lecture-toolbar,.lecture-pagination{display:none!important}.lecture-layout{display:block}.lecture-content{--lecture-font-size:12pt}.lecture-content details.quiz>.answer{display:block!important}.lecture-content .lab{break-inside:avoid}.lecture-content h2{break-after:avoid}}
