/* Scoped lesson composition; no shared header/footer/brand overrides. */
.pb-lesson { color: var(--ink); font-family: Golos, Arial, sans-serif; }
main.pb-lesson { max-width: 1280px; padding-block: 56px 20px; }
.pb-lesson .pb-section { max-width: 1120px; margin-inline: auto; padding-block: 68px; border-top: 1px solid var(--line); scroll-margin-top: 88px; }
.pb-lesson .pb-intro { padding-top: 0; border-top: 0; }
.pb-lesson h1,.pb-lesson h2,.pb-lesson h3 { margin: 0; font-weight: 700; text-wrap: balance; }
.pb-lesson h1 { max-width: 1030px; font-size: clamp(38px,4.45vw,64px); line-height: 1.08; letter-spacing: -.045em; margin-bottom: 32px; }
.pb-lesson h2 { max-width: 870px; font-size: 42px; line-height: 1.16; letter-spacing: -.03em; margin-bottom: 32px; }
.pb-lesson h3 { font-size: 23px; line-height: 1.25; letter-spacing: -.015em; margin-bottom: 20px; }
.pb-lesson .pb-number { white-space: nowrap; }
.pb-lesson p { margin: 0; }
.pb-lesson .pb-prose { max-width: 760px; font-size: 19px; line-height: 1.62; margin-block: 24px; }
.pb-lesson .pb-eyebrow { display: inline-block; font-size: 14px; font-weight: 500; background: var(--green); border-radius: 30px; padding: 10px 17px; margin-bottom: 24px; line-height: 1.35; }
.pb-lesson .pb-lead { font-size: 22px; line-height: 1.5; }
.pb-lesson .pb-caution { font-size: 16px; line-height: 1.55; border-left: 3px solid var(--purple); padding: 4px 0 4px 18px; color: #555; }
.pb-lesson .pb-small { font-size: 16px; line-height: 1.65; color: #555; }
.pb-lesson figure { margin: 36px 0; }
.pb-lesson img { display: block; height: auto; max-width: 100%; width: 100%; }
.pb-lesson .pb-hero-art { max-width: 980px; margin-top: 38px; }
.pb-lesson .pb-hero-art img { border-radius: 24px; }
.pb-lesson figcaption { margin-top: 14px; font-size: 14px; line-height: 1.5; color: #626262; }
.pb-lesson .pb-formula { max-width: 920px; padding: 28px 32px; background: var(--lavender); border-radius: 22px; margin-block: 32px; font-size: 23px; line-height: 1.45; font-weight: 500; }
.pb-lesson .pb-formula p:first-child { font-size: 16px; font-weight: 400; margin-bottom: 14px; }
.pb-lesson .pb-table { max-width: 920px; margin-block: 36px; background: #fff; border: 1px solid #dedede; border-radius: 20px; padding: 28px 30px 12px; }
.pb-lesson table { border-collapse: collapse; width: 100%; table-layout: fixed; font-size: 17px; line-height: 1.5; }
.pb-lesson caption { text-align: left; font-weight: 700; font-size: 23px; line-height: 1.25; margin-bottom: 24px; }
.pb-lesson th,.pb-lesson td { text-align: left; padding: 14px 16px; vertical-align: top; border-bottom: 1px solid #e4e4e4; font-weight: 400; overflow-wrap: break-word; }
.pb-lesson thead th { font-size: 14px; font-weight: 500; color: #5a5a5a; background: #f5f5f5; }
.pb-lesson th:first-child { width: 41%; padding-left: 0; }
.pb-lesson td { padding-right: 0; }
.pb-lesson tbody th { font-weight: 500; }
.pb-lesson tbody tr:last-child th,.pb-lesson tbody tr:last-child td { border-bottom: 0; }
.pb-lesson tbody tr:nth-child(6) td { font-weight: 700; }
.pb-lesson .pb-workload { max-width: 920px; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: #f5f5f5; }
.pb-lesson .pb-workload img { margin-bottom: 24px; border-radius: 12px; }
.pb-lesson .pb-bar { height: 40px; display: flex; border: 1px solid var(--ink); border-radius: 9px; overflow: hidden; }
.pb-lesson .pb-bar-part { height: 100%; box-sizing: content-box; }
.pb-lesson .pb-bar-part:nth-child(1) { width: 72.72727272727273%; background: var(--green); }
.pb-lesson .pb-bar-part:nth-child(2) { width: 18.181818181818183%; background: var(--lavender); }
.pb-lesson .pb-bar-part:nth-child(3) { width: 9.090909090909092%; background: var(--peach); }
.pb-lesson .pb-legend { display: flex; flex-wrap: wrap; gap: 12px 25px; margin-block: 18px; font-size: 16px; line-height: 1.45; }
.pb-lesson .pb-legend p { display: flex; align-items: baseline; gap: 9px; }
.pb-lesson .pb-legend p:before { content: ''; width: 10px; height: 10px; display: inline-block; flex-shrink: 0; border: 1px solid #4d4d4d; background: var(--green); }
.pb-lesson .pb-legend p:nth-child(2):before { background: var(--lavender); }
.pb-lesson .pb-legend p:nth-child(3):before { background: var(--peach); }
.pb-lesson .pb-total { font-size: 22px; line-height: 1.35; font-weight: 700; padding-top: 18px; border-top: 1px solid var(--line); }
.pb-lesson .pb-task { padding: 22px 25px; background: var(--green); border-radius: 16px; font-weight: 500; }
.pb-lesson .pb-dialogue { max-width: 920px; background: var(--peach); border-radius: 24px; padding: 32px; margin-block: 36px; }
.pb-lesson .pb-chat { font-size: 18px; line-height: 1.6; max-width: 690px; padding: 18px 22px; background: white; border-radius: 18px 18px 18px 4px; margin: 16px 60px 16px 0; }
.pb-lesson .pb-chat-tutor { margin-left: 60px; margin-right: 0; background: #fcf7ef; border-radius: 18px 18px 4px 18px; }
.pb-lesson .pb-chat strong { font-weight: 500; }
.pb-lesson .pb-meeting { padding: 32px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.pb-lesson .pb-stages { display: grid; grid-template-columns: 1fr 18px 1fr 18px 1fr 18px 1fr 18px 1fr; gap: 0; align-items: center; }
.pb-lesson .pb-stage { min-width: 0; text-align: center; }
.pb-lesson .pb-stage img { border-radius: 12px; margin-bottom: 12px; }
.pb-lesson .pb-stage-name { display: block; font-size: 18px; line-height: 1.35; font-weight: 500; }
.pb-lesson .pb-stage-arrow { color: var(--purple); text-align: center; font-size: 22px; }
.pb-lesson .pb-stage-notes { max-width: 860px; list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 0; }
.pb-lesson .pb-stage-notes li { padding: 18px 0; border-top: 1px solid var(--line); font-size: 18px; line-height: 1.55; }
.pb-lesson .pb-quote { max-width: 820px; margin-block: 32px; padding: 28px 32px; border-radius: 20px; background: var(--lavender); font-size: 19px; line-height: 1.6; }
.pb-lesson .pb-quote h3 { font-size: 16px; font-weight: 500; margin-bottom: 18px; }
.pb-lesson .pb-offer { max-width: 920px; background: white; border: 1px solid #dedede; border-radius: 22px; padding: 30px 32px; margin-block: 32px; }
.pb-lesson .pb-offer ul { list-style: none; margin: 0; padding: 0; }
.pb-lesson .pb-offer li { font-size: 19px; line-height: 1.55; border-top: 1px solid var(--line); padding-block: 18px; }
.pb-lesson .pb-offer li:last-child { padding-bottom: 0; }
.pb-lesson .pb-check-map { max-width: 1020px; border: 1px solid var(--line); border-radius: 24px; padding: 32px; background: #f5f5f5; }
.pb-lesson .pb-check-rows { list-style: none; margin: 0; padding: 0; }
.pb-lesson .pb-check-rows li { display: grid; grid-template-columns: 125px 1fr; gap: 22px; align-items: center; min-height: 148px; }
.pb-lesson .pb-check-rows img { max-height: 150px; object-fit: contain; }
.pb-lesson .pb-check-pair { display: grid; grid-template-columns: minmax(180px,.85fr) 24px 1.15fr; gap: 12px; font-size: 19px; line-height: 1.5; padding-block: 22px; border-bottom: 1px solid var(--line); }
.pb-lesson .pb-check-rows li:last-child .pb-check-pair { border-bottom: 0; }
.pb-lesson .pb-check-pair strong { font-weight: 500; }
.pb-lesson .pb-check-arrow { color: var(--purple); }
.pb-lesson .pb-support { background: var(--lavender); border: 0; padding: 45px; border-radius: 24px; margin-block: 40px; }
.pb-lesson .pb-support h2 { max-width: 850px; }
.pb-lesson .pb-button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; background: var(--purple); color: white; border-radius: 16px; padding: 18px 24px; font: 500 19px/1.4 Golos,Arial,sans-serif; cursor: pointer; min-height: 56px; text-align: left; text-wrap: balance; }
.pb-lesson .pb-button:hover { background: #58008b; }
.pb-lesson .pb-preview-note { font-size: 14px; line-height: 1.5; margin-top: 18px; color: #555; }
.pb-lesson button:focus-visible,.pb-lesson input:focus-visible,.pb-lesson textarea:focus-visible { outline: 3px solid #7300b5; outline-offset: 4px; }
.pb-lesson.pb-modal { width: min(620px,calc(100% - 32px)); max-height: calc(100dvh - 40px); box-sizing: border-box; border: 1px solid var(--ink); border-radius: 24px; padding: 32px; margin: auto; overflow-y: auto; background: var(--paper); box-shadow: 0 25px 70px #1c1c1c33; }
.pb-lesson.pb-modal::backdrop { background: #1c1c1c80; }
.pb-lesson.pb-modal h2 { font-size: 30px; line-height: 1.2; margin-bottom: 22px; }
.pb-lesson.pb-modal p { font-size: 16px; line-height: 1.5; margin-block: 14px; }
.pb-lesson .pb-field { margin-block: 22px; }
.pb-lesson .pb-field label,.pb-lesson legend { font-size: 17px; font-weight: 500; line-height: 1.4; }
.pb-lesson .pb-field .pb-helper { font-size: 14px; line-height: 1.5; margin: 8px 0; color: #626262; }
.pb-lesson .pb-field input,.pb-lesson textarea { width: 100%; box-sizing: border-box; padding: 13px 15px; min-height: 48px; background: white; color: var(--ink); border: 1px solid #a0a0a0; border-radius: 10px; font: 400 17px/1.5 Golos,Arial,sans-serif; }
.pb-lesson textarea { resize: vertical; }
.pb-lesson fieldset { border: 0; padding: 0; margin: 24px 0; min-width: 0; }
.pb-lesson .pb-radio { display: flex; gap: 12px; align-items: center; padding: 12px 0; font-size: 16px; line-height: 1.45; cursor: pointer; }
.pb-lesson .pb-radio input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; accent-color: var(--purple); }
.pb-lesson .pb-text-button { border: 0; background: transparent; color: var(--purple); font: 500 16px/1.4 Golos,Arial,sans-serif; text-decoration: underline; text-underline-offset: 4px; padding: 14px 0; min-height: 48px; cursor: pointer; }
.pb-lesson.pb-result .pb-button { margin-top: 10px; }
@media (700px <= width < 1100px) {
 main.pb-lesson { padding-top: 44px; }
 .pb-lesson .pb-section { padding-block: 54px; }
 .pb-lesson .pb-intro { padding-top: 0; }
 .pb-lesson h1 { font-size: 48px; }
 .pb-lesson h2 { font-size: 36px; max-width: 760px; }
 .pb-lesson .pb-support { padding: 32px; }
 .pb-lesson .pb-prose { font-size: 18px; }
 .pb-lesson .pb-lead { font-size: 21px; }
}
@media (width < 700px) {
 .pb-lesson .pb-stages { grid-template-columns: 1fr; }
 .pb-lesson .pb-stage { display: grid; grid-template-columns: 104px 1fr; align-items: center; gap: 22px; text-align: left; }
 .pb-lesson .pb-stage img { height: 108px; object-fit: contain; margin: 0; }
 .pb-lesson .pb-stage-arrow { width: 104px; transform: rotate(90deg); height: 20px; display: grid; place-items: center; margin-block: 3px; }
}
@media (width < 900px) {
 .pb-lesson .pb-check-pair { grid-template-columns: 1fr; gap: 7px; }
 .pb-lesson .pb-check-arrow { line-height: 1; }
 .pb-lesson .pb-check-rows li { grid-template-columns: 104px 1fr; gap: 22px; }
}
@media (width < 700px) {
 main.pb-lesson { padding-block: 28px 8px; }
 .pb-lesson .pb-section { padding-block: 44px; scroll-margin-top: 76px; }
 .pb-lesson .pb-intro { padding-top: 0; }
 .pb-lesson h1 { font-size: 37px; line-height: 1.1; letter-spacing: -.035em; margin-bottom: 26px; text-wrap: pretty; }
 .pb-lesson h2 { font-size: 30px; line-height: 1.16; margin-bottom: 24px; text-wrap: pretty; }
 .pb-lesson h3,.pb-lesson caption { font-size: 21px; }
 .pb-lesson .pb-eyebrow { font-size: 12px; padding: 9px 13px; margin-bottom: 20px; }
 .pb-lesson .pb-prose { font-size: 17px; line-height: 1.6; margin-block: 21px; }
 .pb-lesson .pb-lead { font-size: 19px; line-height: 1.5; }
 .pb-lesson .pb-caution,.pb-lesson .pb-small { font-size: 15px; line-height: 1.6; }
 .pb-lesson figure { margin-block: 28px; }
 .pb-lesson .pb-hero-art img { border-radius: 16px; }
 .pb-lesson figcaption { font-size: 13px; }
 .pb-lesson .pb-formula { padding: 22px 20px; font-size: 20px; border-radius: 16px; }
 .pb-lesson .pb-formula p:first-child { font-size: 15px; }
 .pb-lesson .pb-table { padding: 21px 16px 9px; border-radius: 16px; }
 .pb-lesson table { font-size: 15px; line-height: 1.5; }
 .pb-lesson th,.pb-lesson td { padding: 12px 8px; }
 .pb-lesson th:first-child { width: 42%; }
 .pb-lesson thead th { font-size: 12px; }
 .pb-lesson .pb-workload,.pb-lesson .pb-meeting,.pb-lesson .pb-check-map { padding: 21px 18px; border-radius: 18px; }
 .pb-lesson .pb-workload img { margin-bottom: 18px; }
 .pb-lesson .pb-bar { height: 30px; }
 .pb-lesson .pb-legend { display: grid; gap: 11px; font-size: 15px; }
 .pb-lesson .pb-total { font-size: 21px; }
 .pb-lesson .pb-task { padding: 20px; border-radius: 14px; }
 .pb-lesson .pb-dialogue { padding: 22px 18px; border-radius: 18px; }
 .pb-lesson .pb-chat { font-size: 16px; padding: 16px; margin-right: 20px; }
 .pb-lesson .pb-chat-tutor { margin-left: 20px; margin-right: 0; }
 .pb-lesson .pb-stage { grid-template-columns: 84px 1fr; gap: 15px; }
 .pb-lesson .pb-stage img { height: 92px; }
 .pb-lesson .pb-stage-arrow { width: 84px; }
 .pb-lesson .pb-stage-name { font-size: 18px; }
 .pb-lesson .pb-stage-notes li { font-size: 16px; line-height: 1.6; padding-block: 16px; }
 .pb-lesson .pb-quote { padding: 23px 22px; font-size: 17px; line-height: 1.6; border-radius: 16px; }
 .pb-lesson .pb-offer { padding: 23px 22px; border-radius: 18px; }
 .pb-lesson .pb-offer li { font-size: 17px; line-height: 1.6; }
 .pb-lesson .pb-check-rows li { grid-template-columns: 64px 1fr; gap: 15px; min-height: 150px; }
 .pb-lesson .pb-check-pair { font-size: 16px; line-height: 1.5; padding-block: 20px; }
 .pb-lesson .pb-support { padding: 26px 22px; margin-block: 30px; border-radius: 18px; }
 .pb-lesson .pb-support .pb-prose { font-size: 16px; }
 .pb-lesson .pb-button { font-size: 17px; padding: 17px 20px; border-radius: 13px; }
 .pb-lesson .pb-support .pb-button { width: 100%; }
 .pb-lesson .pb-preview-note { font-size: 13px; }
 .pb-lesson.pb-modal { padding: 24px 22px; border-radius: 18px; width: calc(100% - 28px); max-height: calc(100dvh - 28px); }
 .pb-lesson.pb-modal h2 { font-size: 27px; }
 .pb-lesson.pb-modal p { font-size: 15px; }
 .pb-lesson.pb-modal .pb-button { width: 100%; }
}
@media (width < 360px) {
 .pb-lesson h1 { font-size: 33px; }
 .pb-lesson h2 { font-size: 28px; }
 .pb-lesson .pb-check-rows li { grid-template-columns: 52px 1fr; gap: 12px; }
 .pb-lesson .pb-check-map { padding-inline: 14px; }
 .pb-lesson .pb-support { padding-inline: 18px; }
}

/* Production link-only layout; customer copy unchanged. */
.pb-lesson a:focus-visible { outline: 3px solid #7300b5; outline-offset: 4px; }
@media (width < 360px) {
 .pb-lesson .pb-table { padding-inline: 10px; }
 .pb-lesson th,.pb-lesson td { overflow-wrap: normal; word-break: normal; hyphens: none; padding-inline: 5px; }
 .pb-lesson th:first-child { width: 44%; padding-left: 0; }
 .pb-lesson td { padding-right: 0; }
 .pb-lesson .pb-capacity .pb-number { white-space: normal; }
}
