#lectureLibrary{max-width:1400px;margin:0 auto;padding:24px 16px 70px} .ll-heading h1{font-size:36px;margin:8px 0}.ll-eyebrow{font-size:12px;letter-spacing:.1em;color:#51796e;font-weight:700}.ll-muted,.ll-subtitle{color:#6a746f;font-size:14px}.ll-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0}.ll-tabs button{min-width:100px;text-align:left}.ll-tabs small,.ll-outline small{display:block;color:#727b75;font-size:11px;margin-top:5px}.ll-tabs button[aria-current],.ll-outline button[aria-current]{background:#e8f2ed;color:#195a43;border-color:#a8caba}.ll-tools{display:flex;align-items:end;flex-wrap:wrap;gap:10px;margin:20px 0}.ll-tools label{display:grid;gap:6px;font-size:13px}.ll-tools input{min-width:220px}.ll-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:32px}.ll-outline{border-right:1px solid #e4e9e5;padding-right:16px}.ll-outline>button{display:block;text-align:left;width:100%;margin:5px 0;border-color:transparent;background:transparent;line-height:1.5}.ll-reader{min-width:0;max-width:950px;line-height:1.85;overflow-wrap:anywhere}.ll-reader h2{font-size:28px;line-height:1.4;margin-top:6px}.ll-reader h3{margin-top:28px}.ll-reader p{white-space:pre-line}.ll-reader:focus{outline:none}.ll-reader dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px}.ll-reader dd{margin:0}.ll-sources{display:flex;align-items:center;gap:5px;flex-wrap:wrap;font-size:12px;color:#617468}.ll-sources span{max-width:100%;overflow-wrap:anywhere}.ll-sources button{padding:3px 9px;min-width:30px}.ll-formula{background:#f5f7f5;border-radius:10px;padding:12px;max-width:100%;overflow-x:auto;margin:16px 0}.ll-formula .katex-display{margin:5px 0}.ll-warning{background:#fff7e8;border-left:3px solid #c89332;padding:16px;margin:18px 0}.ll-added{background:#f0f6f4;padding:18px;border-radius:12px;margin-top:24px}.ll-added h3{margin-top:0}.ll-exercise{padding:10px 0;border-bottom:1px solid #e4e9e5}#llSource{width:min(1150px,94vw);max-height:94vh;padding:18px;border:1px solid #ddd;border-radius:14px;overflow:auto}#llSource::backdrop{background:#15251ebd}#llSource img{display:block;max-width:100%;height:auto;margin:auto}#llSource pre{white-space:pre-wrap;overflow-wrap:anywhere}.ll-source-head{display:flex;gap:10px;align-items:center;justify-content:space-between;overflow-wrap:anywhere}#llSource .ll-source-head strong{min-width:0}#lectureLibrary button,#llSource button{cursor:pointer}#lectureLibrary button:focus-visible,#llSource button:focus-visible{outline:2px solid #397863;outline-offset:3px}@media(max-width:850px){.ll-layout{grid-template-columns:1fr;gap:20px}.ll-outline{border:1px solid #e2e9e4;border-radius:10px;max-height:250px;overflow:auto;padding:12px}.ll-reader h2{font-size:24px}#lectureLibrary{padding:16px 4px}.ll-tabs{gap:5px}.ll-tabs button{min-width:90px}.ll-tools input{min-width:0;width:100%}.ll-tools label{max-width:100%}#llSource{padding:10px}.ll-source-head{align-items:start}.ll-reader dl{display:block}.ll-reader dd{margin-bottom:12px}}

@media(min-width:851px){.ll-outline{max-height:680px;overflow-y:auto;align-self:start}}

/* Keep source context available without competing with the lesson. */
.ll-about{font-size:13px;color:#68786e;margin-top:12px;max-width:850px}.ll-about summary,.ll-reference-notes summary{cursor:pointer;font-weight:500}.ll-about p{margin:8px 0}.ll-reference-notes{margin:28px 0;padding:14px 16px;border:1px solid #e1e7e3;border-radius:9px;color:#53685b;font-size:14px}.ll-reference-item{padding:14px 0;border-top:1px solid #e6ebe7;margin-top:12px}.ll-reference-item p{margin-bottom:0}.ll-added .ll-muted{font-size:12px;margin-top:-8px}.ll-tools button:disabled{opacity:.4;cursor:default!important}.ll-reader{scroll-margin-top:16px}
