.free-section{margin:36px 0 65px}.free-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.free-course{overflow:hidden;padding:0;display:flex;flex-direction:column}.free-cover{background:#e6eee6;color:#254f43;min-height:168px;padding:23px;display:grid;grid-template-columns:1fr auto;gap:14px}.free-cover span{font-size:13px}.free-cover span:last-child{grid-column:1/-1}.free-cover b{font:52px/1 Georgia,serif;opacity:.5}.free-cover-1{background:#e7edf3;color:#29485f}.free-cover-2{background:#efeadd;color:#5d4927}.free-cover-3{background:#eae7f1;color:#514165}.free-cover-4{background:#e5eceb;color:#30554f}.free-course-copy{padding:24px;display:flex;flex-direction:column;flex:1}.free-course-copy h2,.free-course-copy h3{font-size:22px;line-height:1.5;margin:18px 0 12px}.free-course-copy p{font-size:14px;flex:1}.free-course-copy .a-between{gap:8px;flex-wrap:wrap}.source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:26px 0}.source-card h3{font-size:21px;overflow-wrap:anywhere}.source-card p{font-size:14px}.source-links{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin:20px 0}.free-learning input,.free-learning select,.free-learning textarea{font:inherit;padding:10px 12px;border:1px solid #b5c6c0;border-radius:7px;background:#fff;color:#253f38;max-width:100%;min-height:44px}.library-filters{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:24px 0}.free-learning .free-chapter{max-width:850px;margin:25px auto;line-height:1.95;padding:32px}.free-chapter h2{font-size:24px;margin:38px 0 18px}.free-chapter pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f1f5f2;border:1px solid #d9e3dc;border-radius:9px;padding:22px;font-size:14px;line-height:1.9;color:#233c32}.free-goal{border-left:3px solid #3b7967;padding:12px 18px;background:#f0f5f0}.free-flow{list-style:none;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:30px 0}.free-flow li{padding:16px 12px;background:#e8f0e9;border-radius:9px;font-size:14px}.free-flow span{display:block;font:24px Georgia,serif;color:#47745f;margin-bottom:9px}.free-chapter details{margin:30px 0;padding:18px;border:1px solid #c7d7cc;border-radius:9px}.free-chapter summary{cursor:pointer;min-height:44px}.free-chapter-list{padding-left:24px}.free-chapter-list li{margin:24px 0}.free-chapter-list p{font-size:14px}.reader-top{display:flex;gap:15px;align-items:center;flex-wrap:wrap}.reader-top select{flex:1;min-width:150px}.reader-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0}.reader-actions .a-btn{padding:10px 13px;min-height:44px;font-size:13px}.reader-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:18px;align-items:start;margin-bottom:60px}.reader-layout #D2Reader-Container{position:relative;height:calc(100dvh - 125px);min-height:520px;border:1px solid #c7d5cf;border-radius:12px;background:#fff;overflow:hidden}.reader-layout #iframe-wrapper{position:absolute;inset:0;overflow:auto}.reader-layout iframe{border:0;width:100%;height:100%;background:#fff}.reader-notes{max-height:calc(100dvh - 125px);overflow:auto;position:sticky;top:90px;padding:20px}.reader-notes h2{font-size:20px}.reading-note{border-top:1px solid #d5e1d9;padding:18px 0;overflow-wrap:anywhere}.reading-note blockquote{margin:12px 0;padding-left:10px;border-left:3px solid #c69b31;font-size:13px}.reading-note p{font-size:14px;white-space:pre-wrap}.reading-note .a-btn{padding:8px 12px;min-height:44px;font-size:12px}.reading-tags{display:flex;gap:5px;flex-wrap:wrap}.reading-tags span{padding:3px 8px;border-radius:5px;background:#e6eee6;color:#315745;font-size:12px}.note-actions{display:flex;gap:8px;flex-wrap:wrap}.reader-layout #reader-loading{padding:35px}.reader-layout #reader-error{color:#922e2e;padding:15px}.reader-layout #reader-error:empty{display:none}#reader-status{min-height:26px;overflow-wrap:anywhere}#reader-auth a{color:#1d5d55;text-decoration:underline}#reader-conflict{margin:20px 0}#highlight-toolbox{z-index:100;background:#203d33;color:#fff;padding:8px;border-radius:8px;max-width:100%;box-shadow:0 8px 25px #0003}#highlight-toolbox button{font:inherit;min-height:44px;padding:9px 13px;border:0;border-radius:6px;background:#fff;color:#203d33;margin:3px}#highlight-toolbox-mode-edit,#highlight-toolbox-mode-colors,#highlight-toolbox-mode-action{display:none}#note-editor{border:1px solid #bbccc2;border-radius:14px;padding:25px;max-width:620px;width:calc(100% - 30px);max-height:90dvh;overflow:auto;color:#233e33;background:#fff;font:15px/1.7 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif}#note-editor::backdrop{background:#142b2266}#note-editor label{display:block;margin:16px 0 7px}#note-editor textarea,#note-editor input{display:block;width:100%;font:inherit;border:1px solid #aebfb5;border-radius:6px;padding:12px}#note-editor select{font:inherit;min-height:44px}#note-editor blockquote{max-height:160px;overflow:auto;background:#f3f6ef;padding:12px;margin:10px 0;white-space:pre-wrap}#note-editor [data-close-note]{min-width:44px;min-height:44px}.pdf-note-overlay{position:absolute;pointer-events:none;inset:0;z-index:5}.pdf-note-rect{position:absolute;opacity:.35;mix-blend-mode:multiply}#pdf-container .page{position:relative}#notebook-progress:empty{display:none}.free-learning button:focus-visible,.free-learning a:focus-visible,.free-learning input:focus-visible,.free-learning select:focus-visible{outline:3px solid #2f7769;outline-offset:3px}.free-learning [hidden]{display:none!important}
@media(max-width:1050px){.free-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reader-layout{grid-template-columns:minmax(0,1fr)}.reader-notes{position:static;max-height:none}.reader-layout #D2Reader-Container{height:75dvh;min-height:480px}}@media(max-width:600px){.free-grid,.source-grid{grid-template-columns:minmax(0,1fr)}.free-learning .free-chapter{padding:20px 16px}.free-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.free-cover{min-height:145px}.reader-top{padding:17px}.reader-layout #D2Reader-Container{height:72dvh;min-height:430px}.reader-actions{gap:7px}.reader-actions select{max-width:100%}.reader-actions #reader-chapter{width:100%}.free-learning .a-page-head h1{font-size:34px}.free-learning pre{font-size:13px;padding:15px}.reader-actions label{font-size:13px}}
.free-learning:has(#reader-app) .a-page-head{padding:22px 0 18px;margin:0}.free-learning:has(#reader-app) .a-page-head h1{font-size:32px;margin:12px 0}.free-learning:has(#reader-app) .a-page-head>p{margin:8px 0}.reader-actions #reader-chapter{width:auto;flex:1;max-width:360px;min-width:180px}.reader-actions #reader-font{width:90px}.reader-top #reader-book{width:auto}.reader-actions{margin:15px 0}.reader-layout #iframe-wrapper{margin:0;padding:0;max-width:none}
@media(max-width:600px){.reader-actions #reader-chapter{width:100%;min-width:100%;max-width:100%}.free-learning:has(#reader-app) .a-page-head{padding-top:12px}}
#pdf-container .page,#pdf-container .textLayer,#pdf-container .annotationLayer{box-sizing:content-box}
/* Original courses read in the page: one scroll, a visible directory, tools at the point of use. */
.free-learning:has(#reader-app){max-width:1320px}.free-learning:has(#reader-app) .a-page-head{padding:10px 0 8px}.free-learning:has(#reader-app) .a-page-head h1,.free-learning:has(#reader-app) .a-page-head>p:last-child{display:none}.reader-top{padding:14px 0 18px;border-bottom:1px solid #d8e2dc;justify-content:space-between;gap:20px}.reader-book-field{display:flex;gap:14px;align-items:center;flex:1;min-width:0}.reader-book-field label{font-size:13px;white-space:nowrap;color:#56665e}.reader-book-field select{font-size:19px;font-weight:650;border:0;padding-left:0;background:transparent;max-width:750px;width:100%;min-width:0}.reader-top nav{display:flex;gap:20px;font-size:14px}.reader-status-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 0 18px;color:#53655d;font-size:12px}.reader-status-row p{margin:0;min-height:20px}.reader-status-row>span{white-space:nowrap}.reader-layout{grid-template-columns:250px minmax(0,1fr);gap:34px}.reader-sidebar{position:sticky;top:88px;max-height:calc(100dvh - 105px);overflow:auto;min-width:0;padding-right:6px}.reader-sidebar details{border:0;border-bottom:1px solid #d8e2dc;padding:0 0 16px;margin-bottom:20px}.reader-sidebar summary{cursor:pointer;font-weight:650;min-height:44px;padding:10px 0;font-size:15px}.reader-sidebar summary span{font-size:12px;color:#56685f;padding-left:6px}.reader-sidebar #reader-toc{display:flex;flex-direction:column;gap:4px}.reader-sidebar #reader-toc a{display:flex;gap:10px;line-height:1.6;padding:11px 12px;border-radius:7px;font-size:13px;text-decoration:none;color:#42584d}.reader-sidebar #reader-toc a span{color:#718277;font-variant-numeric:tabular-nums}.reader-sidebar #reader-toc a[aria-current]{background:#e4eee7;color:#174e3a;font-weight:650}.reader-sidebar #reader-toc a:hover{background:#edf2ed}.reader-sidebar .reader-notes{position:static;max-height:none;padding:0;background:transparent;overflow:visible}.reader-sidebar #reader-auth{font-size:12px;line-height:1.8;color:#52655b}.reader-sidebar .note-actions{gap:6px}.reader-sidebar .note-actions .a-btn{font-size:12px;padding:8px;min-height:40px}.reader-license{font-size:12px;color:#546b5d}.reader-main{min-width:0}.reader-actions{position:sticky;top:72px;z-index:8;background:#fafbf8f5;backdrop-filter:blur(12px);padding:9px 0;margin:0 0 14px;border-bottom:1px solid #d8e2dc;flex-wrap:nowrap;gap:8px}.reader-actions .a-btn{white-space:nowrap;font-size:12px}.reader-chapter-switch{flex:1;min-width:0}.reader-chapter-switch #reader-chapter{display:none}.reader-chapter-switch #reader-chapter-label{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#53695b}.reader-actions #reader-font{width:120px;font-size:12px;padding:8px;min-width:0}.reader-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.reader-layout #D2Reader-Container.course-document{height:auto;min-height:400px;overflow:visible;border:0;background:transparent;border-radius:0}.reader-layout .course-document #iframe-wrapper{position:static;overflow:visible}.course-document-body>article{max-width:850px;margin:0 auto;padding:30px 42px 40px;border:1px solid #dce4dd;border-radius:12px;background:#fff;overflow-wrap:anywhere;scroll-margin-top:140px;box-shadow:0 5px 28px #1a342203}.course-document-body>article>h1{font-size:1.85em;line-height:1.5;margin:0 0 26px;font-weight:700;letter-spacing:-.02em}.free-learning .course-document-body .free-chapter{max-width:none;padding:0;margin:0;border:0;border-radius:0;box-shadow:none;font-size:inherit;line-height:1.95;background:none}.course-document-body p,.course-document-body li{font-size:1em;line-height:1.95}.course-document-body h2{font-size:1.3em;margin-top:2.2em}.course-document-body pre{font-size:.86em}.course-document-body [id]{scroll-margin-top:155px}.course-document-body #attribution{border-top:1px solid #dce4dd;margin-top:36px;padding-top:10px;color:#52655a;font-size:.85em}.course-document-body article:focus{outline:none}.course-materials{margin:28px 0;padding:20px 24px;border:1px solid #cddccf;border-radius:9px;background:#f5f8f1}.course-materials p{font-size:.86em;line-height:1.85;margin:9px 0}.course-materials a{font-size:.9em;text-decoration:underline;color:#205e45}.reader-bottom{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:24px 0 45px}.reader-bottom span{font-size:11px;color:#607266;text-align:center}.reader-bottom .a-btn{font-size:13px;white-space:nowrap}.free-learning button:disabled{opacity:.45;cursor:default}.reader-layout #highlight-toolbox{z-index:30;font-size:13px}.reader-layout #highlight-toolbox button{min-height:36px;padding:7px 10px}.reader-layout #D2Reader-Container:has(#highlight-toolbox){isolation:auto}#reader-app[data-format="pdf"] .reader-bottom{display:none}#reader-app[data-format="pdf"] .reader-chapter-switch{display:none}#reader-app[data-format="pdf"] #reader-toc{display:none}#reader-app[data-format="pdf"] .reader-actions{flex-wrap:wrap}
@media(max-width:1050px){.reader-layout{grid-template-columns:210px minmax(0,1fr);gap:22px}.course-document-body>article{padding:28px}.reader-chapter-switch #reader-chapter-label{display:none}.reader-actions .reader-chapter-switch{display:none}.reader-top nav{gap:12px}}
@media(max-width:760px){.reader-layout{display:flex;flex-direction:column;gap:8px}.reader-sidebar{position:static;max-height:none;overflow:visible;width:100%;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:12px}.reader-sidebar details{margin:0 0 8px}.reader-sidebar #reader-directory[open]{grid-column:1/-1}.reader-sidebar .reader-notes[open]{grid-column:1/-1}.reader-license{display:none}.reader-main{width:100%}.reader-top{padding:8px 0 12px;display:block}.reader-book-field{gap:8px}.reader-book-field label{display:none}.reader-book-field select{font-size:17px;min-height:44px}.reader-top nav{font-size:12px;margin-top:8px}.reader-status-row{padding:10px 0;font-size:11px;align-items:start}.reader-status-row #reader-status{min-height:0;line-height:1.6}.reader-status-row #reader-progress{font-size:10px}.reader-actions{top:64px;justify-content:flex-end}.reader-actions #reader-font{width:115px}.course-document-body>article{padding:24px 20px}.course-document-body>article>h1{font-size:1.5em}.course-document-body p,.course-document-body li{line-height:1.95}.course-document-body .course-materials{padding:16px}.course-document-body .free-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.reader-bottom span{display:none}.reader-bottom{gap:10px}.reader-sidebar #reader-toc a{min-height:44px}.reader-layout #D2Reader-Container.course-document{min-height:300px}}
@media(max-width:360px){.course-document-body>article{padding:20px 15px}.reader-actions .a-btn{padding:8px;font-size:11px}.reader-actions #reader-font{width:104px}.reader-actions{gap:5px}}
.reader-materials-link{display:block;color:#215d44;text-decoration:underline;font-size:12px;margin:14px 0}.reader-license{display:block}@media(max-width:760px){.reader-sidebar .reader-materials-link{grid-column:1/-1;margin:0 0 8px}.reader-license{display:none}}
#reader-app[data-format="pdf"] #reader-directory,#reader-app[data-format="pdf"] #reader-font{display:none}
/* PDF navigation keeps the page itself at the centre of the reading workspace. */
.reader-page-form{display:flex;align-items:center;gap:7px;color:#40564b;font-size:13px;white-space:nowrap}
.reader-page-form input{width:5em;min-height:40px;padding:6px 8px;text-align:center;font-variant-numeric:tabular-nums}
.reader-page-form .a-btn{min-height:40px;padding:7px 12px}
#reader-app[data-format="pdf"] .reader-actions{justify-content:flex-start}
#reader-app[data-format="pdf"] #reader-pdf-highlight{margin-left:auto}
#reader-app[data-format="pdf"] #D2Reader-Container{background:#edf1eb;border:0;border-radius:8px}
#reader-app[data-format="pdf"] #reader-loading{background:#fff;color:#52655b}
@media(max-width:760px){#reader-app[data-format="pdf"] .reader-actions{justify-content:flex-start;gap:6px}#reader-app[data-format="pdf"] #reader-pdf-highlight{margin-left:0}#reader-app[data-format="pdf"] .reader-page-form{gap:4px}.reader-page-form input{width:4em}.reader-page-form label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}}
.reader-pdf-scale{display:flex;align-items:center;gap:4px}.reader-pdf-scale .a-btn{min-width:40px;padding:8px 10px}
.external-reader-head{display:flex;align-items:end;justify-content:space-between;gap:24px;padding:16px 0 18px;border-bottom:1px solid #d8e2dc}.external-reader-head h1{font-size:clamp(1.25rem,2vw,1.75rem);line-height:1.35;margin:0 0 7px}.external-reader-head p,.external-reader-help{font-size:13px;line-height:1.6;color:#52655b;margin:0}.external-reader-head nav{display:flex;gap:18px;flex-wrap:wrap;font-size:13px;white-space:nowrap}.external-reader-head a{text-decoration:underline;text-underline-offset:3px}.external-reader-help{padding:12px 0}.external-reader-frame{display:block;width:100%;height:calc(100dvh - 215px);min-height:560px;border:1px solid #d8e2dc;border-radius:8px;background:#fff}@media(max-width:760px){.external-reader-head{display:block;padding-top:8px}.external-reader-head nav{margin-top:12px}.external-reader-frame{height:75dvh;min-height:480px}.external-reader-help{font-size:12px}}
.external-reader-head nav{align-items:center}.external-reader-head nav .a-btn{font-size:13px;min-height:40px;padding:8px 12px}.external-compare-help{font-size:13px;color:#52655b;margin:0 0 12px}.external-reader-panes.comparing{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.external-reader-pane{min-width:0}.external-edition-label{display:block;font-size:13px;font-weight:650;margin-bottom:8px}.external-reader-panes.comparing .external-reader-frame{height:70dvh}@media(max-width:760px){.external-reader-panes.comparing{grid-template-columns:minmax(0,1fr)}.external-reader-head nav{white-space:normal;gap:12px}}
.reader-translation{min-width:0;position:sticky;top:88px;max-height:calc(100dvh - 105px);overflow:auto;padding:18px;background:#f1f5ef;border-radius:8px}.reader-translation h2{font-size:16px;margin:0}.reader-translation h3{font-size:13px;margin:20px 0 8px}.translation-header{display:flex;justify-content:space-between;align-items:center;gap:8px}.translation-header .a-btn{padding:6px 9px;min-height:36px;font-size:12px}.translation-caption,#translation-status{font-size:12px;line-height:1.7;color:#52655b}.translation-text{font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}#reader-app.show-translation .reader-layout{grid-template-columns:210px minmax(0,1fr) minmax(240px,300px);gap:20px}@media(max-width:1050px){#reader-app.show-translation .reader-layout{grid-template-columns:180px minmax(0,1fr)}.reader-translation{grid-column:2;position:static;max-height:none}}@media(max-width:760px){#reader-app.show-translation .reader-layout{display:flex;flex-direction:column}.reader-translation{width:100%;max-height:none}}
.source-pdf-panes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.source-pdf-pane{min-width:0;border:1px solid #d8e2dc;border-radius:10px;background:#fff;padding:12px}.source-pdf-toolbar,.source-pdf-toolbar form{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.source-pdf-toolbar{justify-content:space-between}.source-pdf-toolbar input{width:64px;padding:6px}.source-pdf-toolbar button{padding:6px 10px;min-height:36px}.source-pdf-status{min-height:1.5em;font-size:12px;color:#52665b}.source-pdf-viewport{overflow:auto;max-height:78vh;background:#eef1ed;padding:14px}.source-pdf-page{position:relative;margin:auto;background:white}.source-pdf-page canvas{display:block}.source-pdf-page .textLayer{position:absolute;inset:0;overflow:clip;line-height:1;text-align:initial;transform-origin:0 0;--min-font-size:1;--text-scale-factor:calc(var(--total-scale-factor) * var(--min-font-size));--min-font-size-inv:calc(1 / var(--min-font-size))}.source-pdf-page .textLayer :is(span,br){position:absolute;color:transparent;white-space:pre;cursor:text;transform-origin:0 0;user-select:text}.source-pdf-page .textLayer>:not(.markedContent),.source-pdf-page .textLayer .markedContent span:not(.markedContent){--font-height:0;font-size:calc(var(--text-scale-factor) * var(--font-height));--scale-x:1;--rotate:0deg;transform:rotate(var(--rotate)) scaleX(var(--scale-x)) scale(var(--min-font-size-inv))}.source-pdf-page .textLayer .markedContent{display:contents}.source-pdf-page .textLayer ::selection{background:#9ac0ff80}@media(max-width:760px){.source-pdf-panes{grid-template-columns:1fr}.source-pdf-viewport{max-height:70vh}}
.source-pdf-outline{display:flex;align-items:center;gap:8px;margin:12px 0 0;font-size:13px}.source-pdf-outline select{min-width:0;max-width:100%;flex:1}
.source-reader-shell,.external-reader-shell{background:#f8faf7}.source-reader-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;border-bottom:1px solid #d8e2dc;padding:10px 0 16px}.source-reader-header h1{font-size:clamp(1.25rem,2vw,1.65rem);line-height:1.3;margin:0 0 6px}.source-reader-header p{margin:0;color:#52655b;font-size:13px;line-height:1.6}.source-reader-header a,.external-reader-head a{text-underline-offset:3px}.source-reader-controls,.source-control-group{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.source-reader-controls{justify-content:space-between;padding:16px 0 8px}.source-control-group label{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600}.source-reader-controls button,.source-reader-controls select,.source-pdf-toolbar button,.source-pdf-toolbar input[type=number],.source-pdf-outline select{box-sizing:border-box;min-height:40px;height:40px;border:1px solid #bbc9c0;border-radius:6px;background:#fff;color:#173c32;font:inherit;padding:0 10px}.source-reader-controls button,.source-pdf-toolbar button{cursor:pointer}.source-reader-controls button:hover,.source-pdf-toolbar button:hover{background:#eaf3ed}.source-reader-controls button[aria-pressed=true]{background:#195e4d;border-color:#195e4d;color:white}.source-reader-controls button:disabled{opacity:.5;cursor:not-allowed}.source-reader-controls output{min-width:3.2em;text-align:center;font-size:13px;font-variant-numeric:tabular-nums}.source-reader-note{font-size:12px;line-height:1.5;color:#52655b;margin:0 0 8px}.source-pdf-panes{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:0}.source-pdf-panes.comparing{grid-template-columns:repeat(2,minmax(0,1fr))}.source-pdf-pane{min-width:0;padding:12px}.source-pdf-pane[hidden]{display:none!important}.source-pdf-toolbar{align-items:center;gap:8px}.source-pdf-toolbar strong{font-size:14px}.source-pdf-toolbar form{align-items:center;gap:6px}.source-pdf-toolbar form label{display:flex;align-items:center;gap:6px;font-size:13px;white-space:nowrap}.source-pdf-toolbar input[type=number]{width:64px;min-width:0;text-align:center;font-variant-numeric:tabular-nums}.source-pdf-toolbar button{min-width:40px}.source-pdf-toolbar span{white-space:nowrap;font-size:13px;font-variant-numeric:tabular-nums}.source-pdf-outline{margin:10px 0 0}.source-pdf-status{margin:6px 0;min-height:1.4em}.source-pdf-viewport{max-height:75vh}.source-pdf-page{min-width:0}.source-pdf-fallback{margin:8px 0;font-size:13px}.source-reader-shell:is(:fullscreen,.reader-expanded),.external-reader-shell:is(:fullscreen,.reader-expanded){box-sizing:border-box;width:100%;height:100%;padding:16px;display:flex;flex-direction:column;overflow:auto;background:#f8faf7}.source-reader-shell.reader-expanded,.external-reader-shell.reader-expanded{position:fixed;inset:0;z-index:9999;height:100dvh}.source-reader-shell:is(:fullscreen,.reader-expanded) .source-pdf-panes{flex:1;min-height:0}.source-reader-shell:is(:fullscreen,.reader-expanded) .source-pdf-pane:not([hidden]){display:flex;flex-direction:column;min-height:0}.source-reader-shell:is(:fullscreen,.reader-expanded) .source-pdf-viewport{flex:1;min-height:0;max-height:none}.external-reader-shell:is(:fullscreen,.reader-expanded) .external-reader-frame{height:auto;flex:1;min-height:0}.source-reader-controls :is(button,select):focus-visible,.source-pdf-pane :is(button,input,select):focus-visible,#external-fullscreen:focus-visible{outline:3px solid #72a99a;outline-offset:2px}@media(max-width:760px){.source-reader-header{flex-wrap:wrap}.source-reader-controls{justify-content:flex-start}.source-pdf-panes.comparing{grid-template-columns:repeat(2,minmax(0,1fr))}.source-pdf-pane{padding:8px}.source-pdf-toolbar{align-items:flex-start}.source-pdf-toolbar form{gap:4px}.source-pdf-toolbar input[type=number]{width:54px}.source-pdf-toolbar button{min-width:36px;padding:0 6px}.source-pdf-toolbar form label{gap:3px}.source-reader-shell:is(:fullscreen,.reader-expanded),.external-reader-shell:is(:fullscreen,.reader-expanded){padding:10px}.source-reader-shell:is(:fullscreen,.reader-expanded) .source-reader-header h1{font-size:1rem}.source-reader-shell:is(:fullscreen,.reader-expanded) .source-reader-header{padding:0 0 6px}.source-reader-shell:is(:fullscreen,.reader-expanded) .source-reader-header p{font-size:11px}.source-reader-shell:is(:fullscreen,.reader-expanded) .source-reader-controls{padding:8px 0 4px}.source-reader-shell:is(:fullscreen,.reader-expanded) .source-reader-note{margin:0 0 4px}}
.source-control-group label{white-space:nowrap}.source-control-group select{width:auto;min-width:7em}
.mobile-compare-hint{display:none}@media(max-width:760px){.mobile-compare-hint{display:inline}.source-pdf-panes.comparing{grid-template-columns:repeat(2,minmax(260px,1fr));overflow-x:auto;overscroll-behavior-inline:contain}.source-reader-shell:is(:fullscreen,.reader-expanded) .source-pdf-panes.comparing{overflow-x:auto}}
@media(max-width:760px){.source-pdf-toolbar form{gap:4px}.source-pdf-toolbar form label,.source-pdf-toolbar span{font-size:12px}.source-pdf-toolbar input[type=number]{width:44px;padding:0 3px}.source-pdf-toolbar button{min-width:32px;padding:0 4px}}
/* Immersive source reader: the document gets the available viewport. */
.source-reader-shell{position:relative;box-sizing:border-box;display:flex;flex-direction:column;height:var(--source-reader-height,calc(100dvh - 180px));min-height:320px;padding:0 0 74px;overflow:hidden;background:#f3f6f2}
.source-reader-shell .source-reader-header{flex:0 0 auto;align-items:center;gap:12px;min-height:38px;padding:4px 8px 8px;border:0}
.source-reader-shell .source-reader-header h1{flex:0 1 auto;min-width:0;margin:0;font-size:clamp(14px,1.2vw,18px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.source-reader-shell .source-reader-header p{flex:0 1 auto;min-width:0;text-align:right;font-size:11px;line-height:1.35}
.source-reader-shell .source-pdf-panes,.source-reader-shell .source-pdf-panes.comparing{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;flex:1;min-width:0;min-height:0;margin:0;overflow:hidden}
.source-reader-shell .source-pdf-panes.comparing{grid-template-columns:repeat(2,minmax(0,1fr))}
.source-reader-shell .source-pdf-pane:not([hidden]){position:relative;display:flex;flex-direction:column;min-width:0;min-height:0;padding:0;border:0;border-radius:4px;background:#e9eeea;overflow:hidden}
.source-reader-shell .source-pdf-pane[hidden],.source-dock-panel[hidden],.source-panel-edition[hidden]{display:none!important}
.source-reader-shell .source-pdf-viewport,.source-reader-shell:is(:fullscreen,.reader-expanded) .source-pdf-viewport{box-sizing:border-box;display:flex;flex:1;min-width:0;min-height:0;max-height:none;padding:10px;overflow:auto;background:#e9eeea}
.source-reader-shell .source-pdf-page{flex:none;margin:auto;background:#fff;box-shadow:0 1px 5px #203c481c}
.source-edition-label{position:absolute;top:8px;left:8px;padding:3px 7px;border-radius:4px;background:#f8faf7e8;color:#36594c;font-size:11px;line-height:1.4;pointer-events:none}
.source-reader-shell .source-pdf-status{position:absolute;top:8px;right:8px;max-width:70%;margin:0;padding:4px 7px;border-radius:4px;background:#f8faf7ed;color:#304e41;font-size:12px;line-height:1.4}.source-reader-shell .source-pdf-status:empty{display:none}.source-reader-shell .source-pdf-fallback{position:absolute;top:42px;right:8px;margin:0;padding:6px 8px;background:#fff;border-radius:5px}
.source-dock-wrap{position:fixed;z-index:100;left:50%;bottom:max(12px,env(safe-area-inset-bottom));transform:translateX(-50%);width:max-content;max-width:calc(100vw - 20px)}
.source-dock{display:flex;align-items:center;justify-content:center;gap:3px;padding:5px;border-radius:12px;background:#183e34;box-shadow:0 8px 24px #122d2638;color:#fff}
.source-dock button{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:40px;padding:0 9px;border:0;border-radius:7px;background:transparent;color:inherit;font:inherit;font-size:13px;white-space:nowrap;cursor:pointer}.source-dock button:hover,.source-dock button[aria-expanded=true]{background:#ffffff25}.source-dock button:disabled{opacity:.42;cursor:not-allowed}.source-dock .source-page-indicator{font-size:12px;font-variant-numeric:tabular-nums;color:#f3f9f5}.source-dock-arrow svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.source-dock-panel{position:absolute;left:50%;bottom:calc(100% + 10px);transform:translateX(-50%);box-sizing:border-box;width:min(420px,calc(100vw - 24px));max-height:min(65dvh,520px);overflow:auto;padding:16px;border:1px solid #cbd9cf;border-radius:12px;background:#fff;color:#173c32;box-shadow:0 8px 28px #172d2630;font-size:13px}
.source-panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:15px}.source-panel-head button{min-width:32px;height:32px;border:0;border-radius:6px;background:#edf3ee;color:#173c32;font-size:20px;cursor:pointer}.source-dock-panel p{margin:8px 0 12px;color:#52655b;line-height:1.5;font-size:12px}
.source-panel-edition{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;margin-top:12px}.source-panel-edition label,.source-display-row label{display:grid;gap:5px;font-weight:600}.source-panel-edition select,.source-panel-edition input,.source-display-row select,.source-panel-edition button,.source-display-row button{box-sizing:border-box;height:38px;min-height:38px;border:1px solid #bbc9c0;border-radius:6px;background:#fff;color:#173c32;font:inherit;padding:0 8px}.source-panel-edition select{width:100%;min-width:0}.source-panel-edition form{display:flex;align-items:end;gap:5px}.source-panel-edition form label{font-size:12px}.source-panel-edition input{width:58px}.source-panel-edition form span{align-self:center;white-space:nowrap;font-size:12px}.source-panel-edition button,.source-display-row button{cursor:pointer;white-space:nowrap}.source-display-row{display:flex;align-items:end;flex-wrap:wrap;gap:8px;margin-top:12px}.source-display-row output{min-width:3.2em;text-align:center;align-self:center;font-variant-numeric:tabular-nums}.source-display-row button[aria-pressed=true]{background:#195e4d;border-color:#195e4d;color:#fff}
.source-dock :is(button):focus-visible,.source-dock-panel :is(button,input,select):focus-visible{outline:3px solid #8dc9b3;outline-offset:2px}
.source-reader-shell:is(:fullscreen,.reader-expanded){width:100%;height:100%;min-height:0;padding:8px 8px 74px;overflow:hidden}.source-reader-shell.reader-expanded{height:100dvh}.source-reader-shell:is(:fullscreen,.reader-expanded) .source-pdf-panes{flex:1;min-height:0;overflow:hidden}.source-reader-shell:is(:fullscreen,.reader-expanded) .source-pdf-pane:not([hidden]){min-height:0}
@media(max-width:760px){.source-reader-shell .source-reader-header{align-items:flex-start;flex-direction:column;gap:2px;padding:2px 4px 6px}.source-reader-shell .source-reader-header h1{max-width:100%}.source-reader-shell .source-reader-header p{text-align:left;font-size:10px}.source-reader-shell .source-pdf-panes.comparing{grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden}.source-reader-shell .source-pdf-viewport{padding:6px}.source-reader-shell .source-edition-label{top:4px;left:4px;font-size:10px}.source-dock{gap:0}.source-dock button{min-width:34px;padding:0 6px;font-size:12px}.source-dock .source-page-indicator{font-size:11px}.source-panel-edition{grid-template-columns:minmax(0,1fr)}.source-panel-edition form{align-items:center}.source-panel-edition form label{display:flex;align-items:center}.source-reader-shell:is(:fullscreen,.reader-expanded) .source-reader-header p{display:block;font-size:10px}}
.source-page-compact{display:none}.source-panel-edition form label{white-space:nowrap;flex-shrink:0}@media(max-width:420px){.source-page-full{display:none}.source-page-compact{display:inline}}
@media(max-height:520px){.source-reader-shell{min-height:180px}}
