.breadcrumb{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:14px 0;color:#71819a;font-size:.78rem}
.page-grid{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:18px;align-items:start;padding-bottom:48px}
.lesson-main{display:grid;gap:14px;min-width:0}
.hero-card,.panel,.side-card{background:#fff;border:1px solid #dfe7f1;border-radius:14px}
.hero-card{display:grid;grid-template-columns:1.25fr .75fr;gap:24px;padding:24px;background:linear-gradient(135deg,#f4f9ff,#edf6ff)}
.eyebrow{display:inline-block;padding:5px 10px;border-radius:999px;background:#dbeaff;color:#0b63f6;font-size:.72rem;font-weight:800}
.hero-card h1{margin:8px 0 4px;color:#10203f;font-size:clamp(2.2rem,4vw,3.5rem);line-height:1}
.hero-subtitle{margin:0;color:#244a75;font-weight:700;font-size:1.05rem}
.hero-text{margin:14px 0 0;color:#344966;font-size:.92rem;line-height:1.65}
.hero-diagram{display:flex;align-items:center;justify-content:center;gap:18px}
.population,.sample{display:grid;justify-items:center;gap:5px;color:#10203f;font-size:.75rem}
.people-grid{width:130px;height:130px;padding:18px;display:grid;grid-template-columns:repeat(6,1fr);gap:7px;place-content:center;border:2px solid #69a8ff;border-radius:50%;background:#eaf4ff}
.people-grid span,.sample-circle span{width:9px;height:9px;border-radius:50%;background:#0b63f6;box-shadow:0 5px 0 -2px #0b63f6}
.sample-circle{width:82px;height:82px;display:grid;grid-template-columns:repeat(2,14px);gap:13px;place-content:center;border:2px dashed #0b63f6;border-radius:50%;background:#fff}
.selection-arrow{text-align:center;color:#244a75;font-size:.68rem;font-weight:700}.selection-arrow b{display:block;color:#0b63f6;font-size:1.7rem}
.panel{padding:18px}.section-heading{display:flex;align-items:center;gap:10px;margin-bottom:8px}.section-heading>span{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#0b63f6;color:#fff;font-weight:900}.section-heading h2{margin:0;color:#10203f;font-size:1.12rem}.panel>p{margin:0;color:#344966;font-size:.86rem;line-height:1.6}
.concept-note{margin-top:14px;padding:14px;border-left:4px solid #0b63f6;border-radius:10px;background:#f5f9ff}.concept-note strong{display:block;margin-bottom:4px;color:#10203f;font-size:.78rem}.concept-note p{margin:0;color:#536781;font-size:.72rem;line-height:1.55}
.steps-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.steps-grid article{min-height:220px;padding:14px;border:1px solid #dfe7f1;border-radius:10px;background:#f9fbfe}.steps-grid article:nth-child(2){background:#f2fbf5}.steps-grid article:nth-child(3){background:#fff8e8}.steps-grid article:nth-child(4){background:#f7f2ff}.step-number{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#0b63f6;color:#fff;font-size:.72rem;font-weight:900}.step-number.green{background:#18a957}.step-number.amber{background:#e7a10d}.step-number.purple{background:#7c3aed}.steps-grid h3{margin:9px 0 4px;color:#10203f;font-size:.8rem}.steps-grid p{margin:0;color:#536781;font-size:.69rem;line-height:1.48}.step-visual{margin-top:20px;text-align:center;color:#0b63f6;font-size:1.2rem;line-height:1.7}.formula-box{margin-top:14px;padding:12px;border:1px solid #d8e5f4;border-radius:8px;background:#f5f9ff;color:#173d70;text-align:center;font-family:Georgia,"Times New Roman",serif;font-size:1.05rem}.formula-large{font-size:1.3rem}.formula-caption{margin-top:10px!important;font-size:.72rem!important}.sample-mini{display:flex;justify-content:center;gap:15px;margin-top:25px}.sample-mini i{width:30px;height:30px;border-radius:50%;background:#9b51e0;box-shadow:0 9px 0 -4px #9b51e0}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:14px}.check-list{list-style:none;padding:0;margin:10px 0 0;display:grid;gap:8px}.check-list li{position:relative;padding-left:26px;color:#344966;font-size:.74rem;line-height:1.5}.check-list li:before{content:"✓";position:absolute;left:0;top:0;width:18px;height:18px;display:grid;place-items:center;border-radius:50%;background:#0b63f6;color:#fff;font-size:.65rem;font-weight:900}.notation{display:grid;gap:5px;margin-top:9px;color:#64748b;font-size:.67rem}
.pros-cons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.pros,.cons{padding:12px;border-radius:9px}.pros{background:#edfaf2;border:1px solid #cfeada}.cons{background:#fff1f2;border:1px solid #f2d4d8}.pros h3,.cons h3{margin:0 0 7px;font-size:.75rem}.pros h3{color:#18a957}.cons h3{color:#ef4b5f}.pros ul,.cons ul{margin:0;padding-left:18px;color:#526783;font-size:.67rem;line-height:1.5}
.worked-example{display:grid;grid-template-columns:1.35fr .65fr;gap:14px;margin-top:8px}.worked-example h3{margin:8px 0;color:#10203f;font-size:.92rem}.worked-example p{color:#526783;font-size:.75rem;line-height:1.55}.example-label{display:inline-block;padding:4px 8px;border-radius:999px;background:#eaf3ff;color:#0b63f6;font-size:.62rem;font-weight:800}.example-side{padding:14px;border-radius:10px;background:#f7fbff;border:1px solid #dfe7f1}.example-side strong{color:#10203f;font-size:.76rem}.example-side ul{margin:8px 0 0;padding-left:18px;color:#526783;font-size:.69rem;line-height:1.55}
.decision-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.decision-grid article{padding:14px;border-radius:10px}.decision-grid .good{background:#f1fbf5;border:1px solid #d5eee0}.decision-grid .bad{background:#fff6f6;border:1px solid #f1d8dc}.decision-grid h3{margin:0 0 8px;font-size:.8rem}.decision-grid ul{margin:0;padding-left:18px;color:#526783;font-size:.7rem;line-height:1.55}
.completion-box{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:14px;padding:14px;border:1px solid #d8e6f8;border-radius:10px;background:#f7fbff}.completion-box>div{display:grid;gap:3px}.completion-box strong{color:#10203f;font-size:.78rem}.completion-box span{color:#71819a;font-size:.66rem}.complete-topic-btn{border:0;border-radius:8px;padding:10px 14px;background:#0b63f6;color:#fff;font-weight:800;font-size:.7rem;cursor:pointer}.complete-topic-btn.is-complete{background:#18a957}.practice-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.sidebar{display:grid;gap:12px;position:sticky;top:86px}.side-card{padding:14px}.side-card h2{margin:0 0 10px;font-size:.85rem;color:#10203f}.progress-head{display:flex;justify-content:space-between;gap:10px;font-size:.68rem}.progress-bar{height:8px;margin:8px 0;border-radius:999px;background:#e7edf4;overflow:hidden}.progress-bar span{display:block;height:100%;background:#0b63f6;border-radius:inherit;transition:width .25s ease}.side-card small{color:#74839a;font-size:.63rem}.toc{display:grid;gap:7px}.toc a{display:flex;gap:8px;align-items:center;color:#425975;font-size:.68rem}.toc b{width:20px;height:20px;display:grid;place-items:center;border-radius:50%;background:#0b63f6;color:#fff;font-size:.62rem}.related{display:grid;gap:8px}.related h2{margin-bottom:2px}.related a{color:#0b63f6;font-size:.69rem;text-decoration:underline;text-underline-offset:2px}.when-card{background:#f1fbf5;border-color:#d5eee0}.check-list.compact{gap:7px}.check-list.compact li{font-size:.66rem}.next-card a:first-of-type{display:grid;gap:3px;margin-bottom:10px;color:#0b63f6;font-size:.72rem}.next-card a:first-of-type span{color:#6e7f96;font-size:.64rem;font-weight:400}.route-back{display:block;margin-top:10px;text-align:center;color:#526783;font-size:.65rem}
@media(max-width:1080px){.page-grid{grid-template-columns:1fr}.sidebar{position:static;grid-template-columns:repeat(2,1fr)}.steps-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.hero-card{grid-template-columns:1fr}.two-col,.worked-example,.decision-grid{grid-template-columns:1fr}.sidebar{grid-template-columns:1fr}.completion-box{align-items:stretch;flex-direction:column}}@media(max-width:520px){.steps-grid{grid-template-columns:1fr}.hero-diagram{gap:8px;transform:scale(.9)}}