/* Shared learning and reference screens in the Freedom visual system. */
:root{--lesson-nav-height:62px;--reading-width:1152px}
body[data-view="lesson"]{--anchor-offset:calc(var(--header-height) + var(--lesson-nav-height) + 24px)}
body[data-view="lesson"] main,body[data-view="resources"] main{max-width:none;padding:0;min-height:calc(100vh - var(--header-height))}
.chapter-cover{background:#000;color:#fff;padding:27px max(40px,calc((100vw - var(--reading-width))/2)) 36px}
.chapter-meta{display:flex;justify-content:space-between;align-items:center;gap:24px;font-size:11px;color:#bdbdbd;margin-bottom:26px}
.chapter-meta a{color:#ddd;text-decoration:none;border-bottom:1px solid #626262;padding-bottom:4px}
.chapter-meta a:hover{color:var(--freedom-green);border-color:var(--freedom-green)}
.chapter-meta a:focus-visible{outline-color:var(--freedom-green)}
.chapter-heading{display:grid;grid-template-columns:115px minmax(0,1fr);gap:34px;align-items:center}
.chapter-number{font-size:98px;line-height:1;font-weight:800;letter-spacing:-.08em;color:var(--freedom-green);font-variant-numeric:tabular-nums}
.chapter-kicker{font-size:10px;line-height:1.7;letter-spacing:.09em;text-transform:uppercase;color:#a9a9a9;margin-bottom:9px}
.chapter-heading h1{font-size:52px;line-height:1.1;letter-spacing:-.06em;text-transform:uppercase;max-width:100%;color:#fff;text-wrap:initial}
.chapter-topic{font-size:17px;line-height:1.65;color:#ccc;max-width:65ch;margin-top:12px}
body[data-view="lesson"] .lesson-phase-nav{height:var(--lesson-nav-height);min-height:var(--lesson-nav-height);top:var(--header-height);padding:9px max(40px,calc((100vw - var(--reading-width))/2));margin:0;border:0;gap:8px;align-items:center;background:var(--freedom-pink);max-width:none;width:100%}
body[data-view="lesson"] .phase-tab{min-height:42px;padding:9px 20px;border:0;border-radius:999px;font-size:12px;line-height:1.6;font-weight:600;color:#000}
body[data-view="lesson"] .phase-tab[aria-current]{background:#000;color:var(--freedom-green);font-weight:700}
body[data-view="lesson"] .phase-tab:hover{background:#ffffff80;color:#000}
body[data-view="lesson"] .phase-tab[aria-current]:hover{background:#000;color:var(--freedom-green)}
.chapter-body{max-width:1232px;padding:38px 40px 70px;margin:auto}
body[data-view="lesson"] .lesson-outline{border:0;padding:0;top:calc(var(--header-height) + var(--lesson-nav-height) + 24px);max-height:calc(100vh - var(--header-height) - var(--lesson-nav-height) - 48px)}
.outline-heading{background:#000;color:var(--freedom-pink);font-size:10px;font-weight:500;letter-spacing:.06em;padding:11px 13px;margin:0}
.outline-body ol{padding-top:8px}
.outline-body li{margin:0}
.outline-body a{font-size:11px;line-height:1.8;color:#555;padding:10px 13px;border-bottom:1px solid #d9d9d3}
.outline-body a[aria-current]{background:#000;color:var(--freedom-green);font-weight:500;border-color:#000}
.outline-body a:hover{color:#000;background:#f3f3ef;text-decoration:none}
.outline-body a[aria-current]:hover{background:#000;color:var(--freedom-green)}
.outline-body .section-link{margin-left:13px;font-size:10px}
body[data-view="lesson"] .outcomes{padding:0 0 26px;background:transparent;border:0;border-bottom:1px solid #000;border-radius:0;margin:0 0 37px}
.chapter-description{font-size:16px;line-height:1.85;color:#333;max-width:69ch;margin:0 0 25px}
body[data-view="lesson"] .outcomes h2{font-size:11px;letter-spacing:.07em;text-transform:uppercase;font-weight:700;margin-bottom:13px}
body[data-view="lesson"] .outcomes ul{font-size:14px;line-height:1.8;padding-left:19px;margin:0;color:#555}
body[data-view="lesson"] .outcomes li+li{margin-top:5px}
.section-heading{display:flex;align-items:baseline;gap:15px;margin:0 0 22px}
.section-heading>span{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:28px;padding:5px 6px;background:#000;color:var(--freedom-green);font-size:11px;line-height:1.5;font-weight:500;letter-spacing:0;flex-shrink:0;font-variant-numeric:tabular-nums}
.section-heading h2{font-size:26px;line-height:1.4;font-weight:800;letter-spacing:-.035em;margin:0}
.table-wrap{border:1px solid #000;border-radius:0}
caption{background:var(--freedom-pink);color:#000;font-size:12px;padding:12px 18px;border-bottom:1px solid #000}
th{background:#000;color:#fff;font-size:12px;font-weight:600;line-height:1.7;padding:15px 18px;border-bottom:0}
td{padding:17px 18px;font-size:14px;line-height:1.85;color:#444;border-bottom:1px solid #cececa}
td:first-child{font-weight:700;color:#000}
.practice{margin-top:0}
.exercise-brief>h2{font-size:29px;line-height:1.3}
.exercise-workspace{background:#000;border:0;color:#fff;padding:26px}
.workspace-heading{border-color:#444;color:#fff}
.workspace-heading span+span{color:#aaa}
.exercise-workspace .field{color:#ccc}
.exercise-workspace textarea{border:0;background:#fff;color:#000;font-size:15px}
.exercise-workspace textarea:focus-visible{outline-color:var(--freedom-green)}
.exercise-workspace .draft-tools .annotation{color:#aaa!important}
.exercise-workspace .text-button{color:#ddd;border-color:#777}
.exercise-workspace .text-button:hover{color:var(--freedom-green);border-color:var(--freedom-green)}
.exercise-workspace .model-answer{border-color:#555}
.exercise-workspace .model-answer summary{color:var(--freedom-green)}
.exercise-workspace .model-answer summary:focus-visible{outline-color:var(--freedom-green)}
.exercise-workspace .answer p,.exercise-workspace .answer li{color:#ccc}
.exercise-workspace .answer h3{color:#fff}
.exercise-workspace .answer .prompt{background:#191919;color:#fff;border-color:var(--freedom-green)}
.quiz{border-top:1px solid #000;padding-top:23px}
.quiz legend{font-weight:700;letter-spacing:-.02em;font-size:20px}
.quiz legend .label{font-size:10px;letter-spacing:.06em;text-transform:uppercase;margin-bottom:11px;color:#555;font-weight:400}
.quiz-options{gap:0;border-top:1px solid #9e9e97}
.quiz-option{border:0;border-bottom:1px solid #9e9e97;background:transparent;padding:16px 15px;border-radius:0}
.quiz-option:hover{background:#f2f2ed;border-color:#9e9e97}
.quiz-option.correct{background:#eaffdf;border-color:#9e9e97}
.quiz-option.wrong{background:#ffe1ef;border-color:#9e9e97}
.switch.selected{color:var(--freedom-green)}
/* Source links are grouped editorial rows, shared by lessons and the reference library. */
.source-list{background:#000;border:0;margin:24px 0 0}
.source-item{padding:24px;border:0;border-bottom:1px solid #4b4b4b;gap:28px;color:#fff}
.source-item:last-child{border-bottom:0}
.source-item strong{color:#fff;font-size:18px;line-height:1.55;font-weight:600;letter-spacing:-.025em}
.source-item small{color:#aaa;font-size:12px;line-height:1.8;margin-top:9px}
.source-item .source-kind{color:var(--freedom-pink);font-size:10px;letter-spacing:.035em;margin-bottom:9px}
.source-item .external-label{color:#fff;border:1px solid #777;border-radius:999px;padding:6px 12px;font-size:10px;text-decoration:none;white-space:nowrap}
.source-item:hover{background:var(--freedom-pink);color:#000}
.source-item:hover strong,.source-item:hover small,.source-item:hover .source-kind,.source-item:hover .external-label{color:#000}
.source-item:hover .external-label{border-color:#000}
.source-item:focus-visible{outline-color:var(--freedom-green);outline-offset:-5px}
/* Reference: brand cover, search strip, file action, and filtered source index. */
.resource-page{max-width:none;margin:0}
.reference-cover{background:#000;color:#fff;padding:37px max(40px,calc((100vw - var(--reading-width))/2)) 39px}
.reference-cover h1{font-size:64px;line-height:1.04;letter-spacing:-.065em;text-transform:uppercase;max-width:none;color:#fff}
.reference-cover h1 span{color:var(--freedom-green)}
.reference-cover>p:not(.chapter-kicker){font-size:16px;line-height:1.8;color:#bbb;margin-top:18px;max-width:60ch}
.reference-search{background:var(--freedom-pink);padding:27px max(40px,calc((100vw - var(--reading-width))/2)) 24px}
.reference-search .field{font-size:11px;font-weight:600;color:#000;gap:11px}
.reference-search input{width:100%;background:#fff;border:1px solid #000;min-height:56px;padding:15px 18px;font-size:17px;border-radius:0;line-height:1.6}
.reference-search input:focus-visible{outline-color:#000}
.reference-search #search-status{color:#222!important;margin-top:10px;font-size:11px!important}
.reference-search .search-results{margin:22px 0 0;border:0}
.reference-search .search-results:empty{margin:0}
.reference-search .search-results a{padding:17px 20px;background:#fff;border:0;border-bottom:1px solid #bfbfb7;color:#000}
.reference-search .search-results a:hover{background:var(--freedom-green)}
.reference-search .search-results small{font-size:10px;color:#555;letter-spacing:.04em;margin-bottom:5px}
.reference-search .search-results span{font-size:15px;line-height:1.75;font-weight:600}
.reference-download{padding:31px max(40px,calc((100vw - var(--reading-width))/2));display:flex;align-items:center;justify-content:space-between;gap:30px;background:#fff}
.reference-download .eyebrow{font-size:10px;letter-spacing:.06em;text-transform:uppercase;margin-bottom:8px;color:#626262}
.reference-download h2{font-size:30px;line-height:1.2;letter-spacing:-.04em;text-transform:uppercase}
.reference-download p{font-size:14px;line-height:1.8;color:#555;margin-top:11px}
.reference-download .button{flex-shrink:0;font-size:12px}
.reference-library{background:#000;color:#fff}
.reference-library-heading{background:var(--freedom-pink);color:#000;display:flex;justify-content:space-between;align-items:baseline;gap:25px;padding:23px max(40px,calc((100vw - var(--reading-width))/2))}
.reference-library-heading h2{font-size:30px;line-height:1.3;text-transform:uppercase;letter-spacing:-.04em}
.reference-library-heading>span{font-size:11px;white-space:nowrap}
.source-filters{display:flex;flex-wrap:wrap;gap:10px;max-width:var(--reading-width);width:calc(100% - 80px);margin:0 auto;padding:23px 0;border-bottom:1px solid #555}
.source-filters button{border:1px solid #686868;background:#000;color:#ddd;border-radius:999px;padding:8px 17px;min-height:39px;font-size:12px}
.source-filters button:hover{color:var(--freedom-pink);border-color:var(--freedom-pink)}
.source-filters button[aria-pressed="true"]{background:var(--freedom-green);color:#000;border-color:var(--freedom-green);font-weight:600}
.source-filters button:focus-visible{outline-color:var(--freedom-pink)}
#source-catalog.source-list{max-width:var(--reading-width);width:calc(100% - 80px);margin:0 auto;background:#000}
#source-catalog .source-item{padding-inline:18px}
.reference-notes{padding:29px max(40px,calc((100vw - var(--reading-width))/2)) 40px}
.reference-notes details{margin:0;border-color:#000}
.reference-notes summary{font-size:12px;font-weight:600;line-height:1.8;min-height:30px}
.reference-notes details>div{max-width:80ch;padding-top:8px}
.reference-notes p{font-size:13px;line-height:1.9;color:#555}
.reference-notes button{margin-top:18px;font-size:12px}
/* Home utility row remains; the rejected brief and global footer are removed from markup. */
.course-desk{padding-bottom:40px}
@media(max-width:1000px){.chapter-heading{grid-template-columns:100px minmax(0,1fr);gap:28px}.chapter-heading h1{font-size:46px}.chapter-number{font-size:88px}.chapter-topic{font-size:16px}.chapter-body{padding-inline:32px}.chapter-cover{padding-inline:32px}.reference-cover,.reference-search,.reference-download,.reference-library-heading,.reference-notes{padding-inline:32px}.source-filters,#source-catalog.source-list{width:calc(100% - 64px)}}
@media(max-width:900px){body[data-view="lesson"][data-phase="material"]{--anchor-offset:calc(var(--header-height) + var(--lesson-nav-height) + 68px)}body[data-view="lesson"] .lesson-outline{top:calc(var(--header-height) + var(--lesson-nav-height));margin-bottom:30px;max-height:calc(100vh - var(--header-height) - var(--lesson-nav-height));background:#fff}.outline-toggle{background:#000;color:#fff;padding:11px 14px;min-height:49px;font-size:12px}.outline-toggle span{color:var(--freedom-pink)}.outline-toggle:focus-visible{outline-color:var(--freedom-green);outline-offset:-4px}.outline-body ol{padding-top:0}.outline-body a{font-size:12px}.outline-heading{display:none}.chapter-body{padding-top:28px}.reference-cover h1{font-size:54px}}
@media(max-width:900px){body[data-view="lesson"] .lesson-outline{max-height:none;overflow:visible}body[data-view="lesson"] .outline-body{position:absolute;inset:100% 0 auto;max-height:calc(100vh - var(--header-height) - var(--lesson-nav-height) - 49px);overflow-y:auto;overscroll-behavior:contain;background:#fff;border:1px solid #000;border-top:0;box-shadow:0 12px 24px #0003}}
@media(max-width:700px){:root{--lesson-nav-height:56px}.chapter-cover{padding:22px 22px 28px}.chapter-meta{margin-bottom:23px;font-size:10px;gap:18px}.chapter-heading{grid-template-columns:68px minmax(0,1fr);gap:20px}.chapter-number{font-size:68px}.chapter-heading h1{font-size:38px;line-height:1.08}.chapter-topic{font-size:14px;line-height:1.65;margin-top:10px}.chapter-kicker{font-size:9px;margin-bottom:9px}.chapter-body{padding:27px 22px 55px}body[data-view="lesson"] .lesson-phase-nav{padding:7px 22px;gap:5px}body[data-view="lesson"] .phase-tab{padding:9px 15px;min-height:40px;font-size:11px}.chapter-description{font-size:15px;margin-bottom:23px}.section-heading{gap:12px;margin-bottom:20px}.section-heading h2{font-size:25px}.section-heading>span{min-width:30px;min-height:26px;font-size:10px}.exercise-brief>h2{font-size:26px}.exercise-workspace{padding:22px}.exercise-workspace textarea{font-size:16px}.quiz legend{font-size:19px}.quiz-option{font-size:15px;padding:15px 12px}.source-item{padding:21px 20px;gap:18px}.source-item strong{font-size:16px}.source-item small{font-size:12px}.source-item .source-kind{font-size:10px}.source-item .external-label{font-size:10px;padding:5px 10px}.reference-cover{padding:30px 22px}.reference-cover h1{font-size:44px}.reference-cover>p:not(.chapter-kicker){font-size:15px;margin-top:15px}.reference-search{padding:23px 22px}.reference-search input{font-size:16px;padding:13px 15px;min-height:52px}.reference-download{padding:29px 22px;flex-wrap:wrap;gap:20px}.reference-download h2{font-size:27px}.reference-download p{font-size:14px}.reference-download .button{min-height:43px;font-size:12px}.reference-library-heading{padding:23px 22px;gap:16px}.reference-library-heading h2{font-size:26px}.reference-library-heading>span{font-size:10px}.source-filters,#source-catalog.source-list{width:calc(100% - 44px)}.source-filters{gap:8px;padding:20px 0}.source-filters button{font-size:11px;padding:7px 14px;min-height:39px}.reference-notes{padding:24px 22px 35px}.course-desk{padding-bottom:32px}}
@media(max-width:450px){.chapter-cover{padding-inline:19px}.chapter-meta{font-size:10px}.chapter-heading{grid-template-columns:59px minmax(0,1fr);gap:16px}.chapter-number{font-size:59px}.chapter-heading h1{font-size:34px}.chapter-topic{font-size:14px}.chapter-body{padding-inline:19px}body[data-view="lesson"] .lesson-phase-nav{padding-inline:19px;gap:3px}body[data-view="lesson"] .phase-tab{padding-inline:13px;font-size:11px}.section-heading h2{font-size:23px}.section-heading{gap:10px}.section-heading>span{min-width:28px;padding:4px;font-size:10px}.source-item{padding:20px 17px;gap:13px}.source-item strong{font-size:15px}.source-item small{font-size:11px}.source-item .source-kind{font-size:9px}.source-item .external-label{font-size:9px;padding:5px 9px}.exercise-workspace{padding:19px}.exercise-brief>h2{font-size:24px}.reference-cover,.reference-search,.reference-download,.reference-library-heading,.reference-notes{padding-inline:19px}.reference-cover h1{font-size:38px}.reference-cover>p:not(.chapter-kicker){font-size:14px}.reference-library-heading h2{font-size:23px}.reference-library-heading>span{font-size:10px}.reference-search .search-results a{padding:15px}.reference-search .search-results span{font-size:14px}.source-filters,#source-catalog.source-list{width:calc(100% - 38px)}.source-filters{gap:7px}.source-filters button{font-size:11px;padding-inline:13px}.reference-notes summary{font-size:11px}}
@media(max-width:360px){.chapter-heading{grid-template-columns:47px minmax(0,1fr);gap:14px}.chapter-number{font-size:48px}.chapter-heading h1{font-size:30px}.chapter-topic{font-size:13px}body[data-view="lesson"] .phase-tab{padding-inline:10px;font-size:10px}.reference-cover h1{font-size:34px}.reference-library-heading{align-items:start;flex-direction:column;gap:8px}}
@media print{.chapter-cover,.reference-cover{background:#fff;color:#000;padding:20px 0}.chapter-heading h1,.chapter-topic,.chapter-number,.reference-cover h1{color:#000}.chapter-meta{display:none}.chapter-heading h1{font-size:32px}.chapter-body{padding:0}.source-list,.reference-library{background:#fff;color:#000}.source-item strong,.source-item small,.source-item .source-kind,.source-item .external-label{color:#000}.source-filters,.reference-search{display:none}.exercise-workspace{background:#fff;color:#000;border:1px solid #000}.exercise-workspace .field,.workspace-heading{color:#000}.reference-download,.reference-library-heading,.reference-notes{padding:15px 0}}
.mobile-menu{border:1px solid #000;border-radius:999px;background:#000;color:var(--freedom-green);padding-inline:16px;font-weight:600}
.mobile-menu:hover{background:var(--freedom-green);color:#000}
/* Internal Russian library: the same Freedom system, with a quiet reading surface. */
body[data-view="guide"]{--anchor-offset:calc(var(--header-height) + 24px)}
body[data-view="guide"] main{max-width:none;padding:0}
.guide-cover{background:#000;color:#fff;padding:28px max(40px,calc((100vw - 1152px)/2)) 40px}
.guide-cover-meta{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:33px;font-size:11px;color:#bbb}
.guide-cover-meta a{color:#fff;text-decoration:none;border-bottom:1px solid #777;padding-bottom:5px}
.guide-cover-meta a:hover{color:var(--freedom-green)}
.guide-cover .chapter-kicker{color:var(--freedom-pink)}
.guide-cover h1{font-size:clamp(36px,4.6vw,62px);line-height:1.08;letter-spacing:-.055em;max-width:1000px;text-transform:uppercase;text-wrap:initial}
.guide-cover h1>span{color:var(--freedom-green)}
.guide-deck{font-size:16px;line-height:1.8;color:#bbb;max-width:75ch;margin-top:19px}
.guide-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;background:var(--freedom-pink);padding:16px max(40px,calc((100vw - 1152px)/2));font-size:12px}
.guide-toolbar>a{font-weight:700;white-space:nowrap;text-decoration:none}
.guide-layout{display:grid;grid-template-columns:210px minmax(0,740px);gap:75px;max-width:1152px;margin:0 auto;padding:42px 0 65px;align-items:start}
.guide-outline{position:sticky;top:calc(var(--header-height) + 25px);font-size:12px;line-height:1.8;max-height:calc(100vh - var(--header-height) - 50px);overflow-y:auto}
.guide-outline-links>.label{font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:#666;margin-bottom:16px}
.guide-outline-links>a{display:flex;gap:13px;padding:12px 0;text-decoration:none;border-top:1px solid #ddd}
.guide-outline-links>a>span{font-size:10px;color:#666;min-width:20px}
.guide-outline-links>a:hover{color:#126a25}
.guide-outline .guide-course{border-top:1px solid #000;margin-top:22px;color:#000;font-weight:700}
.guide-article{min-width:0;font-size:16px;line-height:1.9}
.guide-provenance{font-size:12px;line-height:1.9;color:#666;padding-bottom:28px;border-bottom:1px solid #000;margin-bottom:35px}
.guide-section{margin:0 0 42px;scroll-margin-top:var(--anchor-offset)}
.guide-section .section-heading{margin-bottom:21px}
.guide-section p+p{margin-top:15px}
.guide-section h2{font-size:29px;line-height:1.3;margin-bottom:20px}
.guide-section .section-heading h2{margin:0}
.guide-section h3{font-size:14px;letter-spacing:-.015em;line-height:1.5}
.guide-input{border-left:3px solid #000;padding:0 0 0 20px;margin:27px 0}
.guide-input>p{color:#555;margin-top:11px;font-size:15px}
.guide-prompt{background:#000;color:#fff;padding:25px;margin:26px 0}
.guide-example-label{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:16px}
.guide-example-label h3{color:var(--freedom-pink);font-weight:600}
.guide-example-label .copy-btn{color:var(--freedom-green);border-color:#666;background:#000;font-size:11px;min-height:35px}
.guide-prompt .prompt{border:0;background:none;color:#fff;font-size:15px;padding:0;line-height:1.9;white-space:pre-wrap}
.guide-result{background:#f2f2ee;padding:24px 25px;border-left:3px solid var(--freedom-green)}
.guide-result>p{white-space:pre-line;font-size:15px;line-height:1.9;margin-top:12px}
.guide-practice{padding-top:29px;border-top:2px solid #000}
.guide-practice>.label{color:#555;font-size:10px;text-transform:uppercase;letter-spacing:.07em}
.guide-practice>.field{margin-top:24px;font-size:12px;color:#333}
#guide-draft{width:100%;font-size:16px;border:1px solid #000;border-radius:0;padding:18px;line-height:1.8;resize:vertical;min-height:150px;background:#fff}
.guide-practice .draft-tools{font-size:11px;gap:22px;color:#666}
.guide-practice .draft-tools button{font-size:12px}
.guide-answer{background:var(--freedom-pink);border:0;margin:25px 0 0;padding:0 24px}
.guide-answer summary{font-size:15px;line-height:1.7;min-height:60px;padding:18px 0;font-weight:700;color:#000}
.guide-answer>p{font-size:15px;color:#111;padding-bottom:20px}
.guide-answer h3{font-size:13px}
.guide-answer ul{font-size:14px;line-height:1.9;padding-bottom:24px;margin-bottom:0}
.guide-practice-note{font-size:11px;color:#666;margin-top:18px;line-height:1.8}
.guide-attribution{font-size:11px;color:#666;border-top:1px solid #ddd}
.guide-attribution details{margin:0;border:0;padding:16px 0}
.guide-attribution summary{font-size:12px;color:#555}
.guide-attribution p{margin-top:14px;line-height:1.9}
.source-address{overflow-wrap:anywhere}
.guide-next{display:flex;justify-content:space-between;gap:30px;border-top:1px solid #000;margin-top:26px;padding-top:24px;font-size:14px}
.guide-next>a{max-width:65%;text-decoration:none;font-weight:600}
.guide-next small{display:block;font-size:10px;color:#666;line-height:1.6;margin-bottom:9px;font-weight:400}
.guide-next a:hover{color:#126a25}
@media(max-width:1232px){.guide-layout{margin-inline:40px;gap:55px}}
@media(max-width:900px){.guide-layout{grid-template-columns:1fr;gap:30px}.guide-outline{position:static;max-height:none;display:flex;flex-wrap:wrap;gap:0 20px;padding-bottom:18px;border-bottom:1px solid #000}.guide-outline-links>.label{width:100%;margin-bottom:8px}.guide-outline-links>a{font-size:11px;padding:8px 0;border:0;gap:8px}.guide-outline .guide-course{margin-top:0;border:0}.guide-provenance{margin-bottom:28px;padding-bottom:24px}}
@media(max-width:700px){.guide-cover{padding:24px 22px 32px}.guide-cover-meta{font-size:10px;align-items:start;margin-bottom:28px}.guide-cover-meta>span{max-width:55%;text-align:right}.guide-cover h1{font-size:37px}.guide-deck{font-size:15px}.guide-toolbar{padding:16px 22px;font-size:11px}.guide-toolbar>span{max-width:65%}.guide-layout{margin-inline:22px;padding-top:28px}.guide-article{font-size:16px}.guide-section h2{font-size:26px}.guide-section{margin-bottom:34px}.guide-prompt{padding:21px}.guide-result{padding:21px}.guide-input{padding-left:16px}.guide-answer{padding-inline:20px}.guide-next{font-size:13px}}
@media(max-width:450px){.guide-cover{padding-inline:19px}.guide-cover h1{font-size:32px;overflow-wrap:break-word}.guide-cover-meta{font-size:9px}.guide-deck{font-size:14px}.guide-toolbar{padding-inline:19px;font-size:10px}.guide-layout{margin-inline:19px}.guide-section h2{font-size:24px}.guide-outline-links>a{font-size:11px}.guide-prompt,.guide-result{padding:19px}.guide-prompt .prompt,.guide-result>p,.guide-input>p{font-size:14px}.guide-answer{padding-inline:18px}.guide-next{font-size:12px}}
@media print{.guide-outline,.guide-toolbar,.guide-practice,.guide-next{display:none}.guide-cover{background:#fff;color:#000;padding:15px 0}.guide-cover h1,.guide-cover h1>span,.guide-deck{color:#000}.guide-layout{display:block;margin:0;padding:15px 0}.guide-prompt{background:#fff;color:#000;border:1px solid #000}.guide-prompt .prompt{color:#000}.guide-example-label .copy-btn{display:none}}

/* Full-length translations: readable code examples, faithful tables, compact mobile contents. */
.guide-contents{margin:0;border:0;padding:0}
.guide-contents>summary{display:none}
.guide-section h3{font-size:19px;line-height:1.5;margin:28px 0 12px}
.translation-prompt{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;font-family:inherit;font-size:14px;line-height:1.9;background:#f2f2ee;border-left:3px solid var(--freedom-green);padding:22px;margin:22px 0}
.translation-prompt code{font:inherit;white-space:inherit;background:none;padding:0}
.guide-section table{min-width:640px;width:100%;border-collapse:collapse;font-size:14px;line-height:1.75}
.guide-section th{background:#000;color:#fff;text-align:left;font-weight:600;padding:15px 18px}
.guide-section td{vertical-align:top;padding:15px 18px;border-bottom:1px solid #ddd}
.guide-section td:first-child{font-weight:600;color:#000}
.guide-section .table-wrap{margin:24px 0;max-width:100%;overflow-x:auto;border:1px solid #ccc}
.guide-section .table-wrap:focus-visible{outline-color:#126a25}
.translation-figure{margin:26px 0}
.translation-figure img{width:100%;height:auto;border:1px solid #ddd}
.translation-figure figcaption{font-size:11px;line-height:1.8;color:#666;margin-top:10px}
.partial-translation{border-left:3px solid var(--freedom-pink);padding-left:18px;color:#333}
.guide-attribution a{color:#126a25;font-size:12px}
@media(max-width:900px){.guide-outline{display:block;padding:0;border:0}.guide-contents>summary{display:flex;justify-content:space-between;gap:18px;align-items:center;background:#000;color:#fff;padding:15px 18px;font-size:13px;list-style:none;min-height:52px}.guide-contents>summary::after{content:'+';color:var(--freedom-green);font-size:22px;line-height:1}.guide-contents[open]>summary::after{content:'−'}.guide-contents>summary>span{font-size:10px;color:var(--freedom-pink);margin-left:auto}.guide-outline-links{padding:18px;border:1px solid #000;border-top:0;max-height:65vh;overflow-y:auto;overscroll-behavior:contain}.guide-outline-links>.label{display:none}.guide-outline-links>a{padding:10px 0;font-size:12px;border-bottom:1px solid #ddd}.guide-outline .guide-course{margin-top:16px}.guide-contents>summary:focus-visible{outline:2px solid var(--freedom-green);outline-offset:-4px}}
@media(max-width:450px){.guide-section h3{font-size:18px}.translation-prompt{font-size:14px;padding:18px}.guide-section table{font-size:13px}.guide-section th,.guide-section td{padding:13px 15px}}
/* The supplied handbook is a complete 38-page reader in the shared course style. */
.handbook-page-ref{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:8px 20px;font-size:11px!important;color:#666;margin:0 0 26px;padding-bottom:13px;border-bottom:1px solid #ddd}
.handbook-page-ref a{font-size:10px;color:#126a25}
.handbook-page h3{font-size:21px;margin:28px 0 13px}
.handbook-page h4{font-size:12px;line-height:1.7;text-transform:uppercase;letter-spacing:.04em;margin:22px 0 10px}
.handbook-page pre{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;font-family:inherit;font-size:14px;line-height:1.9;background:#f2f2ee;border-left:3px solid var(--freedom-green);padding:22px;margin:16px 0 25px}
.handbook-page pre code{font:inherit;white-space:inherit;background:none;padding:0}
.handbook-figures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px;margin:30px 0 8px}
.handbook-figures.one{grid-template-columns:minmax(0,1fr)}
.handbook-figure{margin:0;min-width:0}
.handbook-figure img{width:100%;height:auto;max-height:620px;object-fit:contain;background:#f5f5f1;border:1px solid #ddd}
.handbook-figure figcaption{font-size:10px;line-height:1.8;color:#666;margin-top:9px}
.handbook-pipeline{list-style:none;padding:0}
.handbook-pipeline>li{margin-top:35px;padding-bottom:25px;border-bottom:1px solid #ddd}
.handbook-pipeline .handbook-figure{margin-top:22px}
.handbook-pipeline .handbook-figure img{max-height:390px}
.handbook-prompt-tools{display:flex;justify-content:flex-end;margin-top:20px}
.handbook-prompt-tools .copy-btn{font-size:11px;min-height:35px;color:#126a25}
.handbook-page[data-page="2"] table{min-width:0}
.handbook-page[data-page="2"] td:last-child{white-space:nowrap;width:45px}
@media(max-width:700px){.handbook-figures{grid-template-columns:1fr;gap:24px}.handbook-figure img{max-height:500px}.handbook-page h3{font-size:20px}.handbook-page h4{font-size:11px}.handbook-page-ref{font-size:10px!important}.handbook-page pre{padding:18px;font-size:14px}.handbook-page[data-page="2"] td,.handbook-page[data-page="2"] th{padding:11px 9px;font-size:12px}.handbook-pipeline .handbook-figure img{max-height:270px}}

/* Dated source checks, separate from the full translated source. */
.freshness-stamp{color:#347116;font-size:12px;line-height:1.6;margin:0 0 22px}
.freshness-note{background:#f4f7f0;border-left:3px solid #111;color:#252525;padding:18px 22px;margin:20px 0 28px;font-size:14px;line-height:1.7}
.freshness-note .label{color:#3e5d30;font-size:10px;letter-spacing:.06em}
.freshness-note p{margin:8px 0 0!important;font-size:14px;line-height:1.7}
.freshness-source-title{font-weight:700;color:#111}
.guide-attribution ul{padding-left:18px;overflow-wrap:anywhere}
.guide-attribution li{margin:8px 0}
.reference-cover .reference-checked{font-size:12px;color:#bdc9b8;line-height:1.6;margin-top:14px}
@media(max-width:600px){.freshness-note{padding:15px 17px;margin:16px 0 24px}}
