.lab-header,.lab-main{max-width:1500px;margin:auto;padding:0 3rem}.lab-header{border-bottom:1px solid var(--line);justify-content:space-between;gap:1rem;padding-top:1.4rem;padding-bottom:1.4rem;font:.8rem system-ui,sans-serif;display:flex}.lab-brand{letter-spacing:.04em;font-weight:750;text-decoration:none}.page-nav{gap:1.25rem;display:flex}.lab-main{padding-bottom:4rem}.lab-intro{max-width:1100px;margin:auto;padding:1.5rem 0 1rem}.lab-intro h1{letter-spacing:-.035em;max-width:none;margin:.2rem 0 .7rem;font-size:clamp(1.8rem,3.5vw,2.65rem)}.lab-intro .deck{max-width:900px;margin:.5rem 0;font:1rem/1.65 system-ui,sans-serif}.lab-layout{max-width:1100px;margin:0 auto;display:block}.lab-stage{background:#fff;border:1px solid #becfc7;border-radius:12px;min-width:0;scroll-margin-top:1rem;overflow:hidden}.lab-frame{background:#fff;border:0;width:100%;min-height:0;display:block}.lab-background{border-top:1px solid var(--line);max-width:1100px;margin:2.5rem auto 0;padding-top:1.5rem;scroll-margin-top:1rem}.lab-background>h2{margin:0 0 .6rem;font-size:1.9rem}.background-intro{max-width:850px;color:var(--muted);font:.95rem/1.65 system-ui,sans-serif}.background-tools{justify-content:space-between;align-items:center;gap:1rem;margin:1.1rem 0 .8rem;display:flex}#chapter-count{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;margin:0;font:600 .72rem/1.4 system-ui,sans-serif}.background-tools button{border-radius:6px;padding:.4rem .7rem;font-size:.75rem}.reference-text{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:12px;margin:0;display:grid}.background-topic{border:1px solid var(--line);background:#fff;border-radius:8px;min-width:0;margin:0;overflow:hidden}.background-topic>summary{background:#fafcfb;grid-template-columns:24px minmax(0,1fr) 20px;grid-template-areas:"number title toggle"".description."".contents contents";column-gap:10px;padding:16px;line-height:1.45;list-style:none;display:grid}.background-topic>summary::-webkit-details-marker{display:none}.background-topic>summary::marker{content:""}.background-topic:not([open])>summary{align-content:start;height:100%}.background-topic>summary:hover{background:#f0f6f2}.background-topic>summary:focus-visible{outline-offset:-3px}.chapter-number{color:#7b8c82;grid-area:number;font-size:.72rem;font-weight:500;line-height:1.9}.chapter-title{grid-area:title;font-size:.95rem;font-weight:650}.chapter-toggle{color:var(--accent);text-align:center;grid-area:toggle;font-size:1.1rem;font-weight:500}.chapter-description{color:var(--muted);grid-area:description;margin-top:6px;font-size:.8rem;font-weight:400;line-height:1.55}.chapter-contents{flex-wrap:wrap;grid-area:contents;gap:5px;margin-top:10px;display:flex}.chapter-tag{color:#476057;background:#eaf0eb;border-radius:4px;padding:2px 6px;font-size:.66rem;font-weight:500}.chapter-more{color:var(--muted);align-self:center;font-size:.68rem;font-weight:400}.background-topic[open]{grid-column:1/-1}.background-topic[open]>summary .chapter-contents{display:none}.background-topic[open]>summary{border-bottom:1px solid var(--line);background:#eaf2ec}.background-body{min-width:0;padding:18px 22px}.background-body>p,.background-body>ul,.background-body>ol{max-width:800px}.background-body>.chapter-lead{display:none}.chapter-navigation{border:1px solid var(--line);background:#f7faf7;border-radius:6px;margin-bottom:1rem;padding:10px 12px;font-family:system-ui,sans-serif}.chapter-navigation p{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;margin:0 0 5px;font-size:.68rem;font-weight:600}.chapter-navigation ul{flex-wrap:wrap;gap:5px 14px;margin:0;padding:0;list-style:none;display:flex}.chapter-navigation li{margin:0;font-size:.75rem;line-height:1.6}@media (width<=1100px){.lab-header,.lab-main{padding-left:1.5rem;padding-right:1.5rem}}@media (width<=850px){.lab-background{margin-top:2.5rem}}@media (width<=700px){.reference-text{grid-template-columns:1fr;gap:9px}}@media (width<=520px){.lab-header,.lab-main{padding-left:1rem;padding-right:1rem}.lab-header{font-size:.7rem}.lab-intro .deck{font-size:1rem}.background-body{padding:14px}.lab-background>h2{font-size:1.6rem}}@media print{.lab-layout,.lab-header{display:none}.lab-background{border:0;margin:0}.reference-text{display:block}.background-tools,.chapter-navigation{display:none}}