@font-face{font-family:Libertine;src:url('/assets/fonts/libertine.ttf') format('truetype');font-display:swap}@font-face{font-family:Libertine;src:url('/assets/fonts/libertine-italic.ttf') format('truetype');font-style:italic;font-display:swap}
:root{--forest:#193d33;--dark:#122d27;--paper:#f3e8cf;--ink:#262b25;--rust:#aa4828;--sage:#85917b;--ochre:#d0a155;--muted:#b8c7b9;--rule:#c6bda8;color-scheme:dark;font-family:Arial,sans-serif;color:var(--paper);background:var(--dark);font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;background:radial-gradient(ellipse at 50% 35%,#2c5141 0,var(--forest) 45%,var(--dark) 100%);min-height:100svh}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button,a{ -webkit-tap-highlight-color:transparent}button{color:inherit;border:0;background:none}button:disabled{opacity:.35;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--ochre);outline-offset:5px}a{color:inherit}button,select{min-height:44px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Libertine,Georgia,serif;font-weight:400}.site-header{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1440px;margin:0 auto;padding:22px 40px;border-bottom:1px solid #e5dfc728}.identity{display:flex;flex-direction:column;gap:7px}.book-name{font:27px/1.12 Libertine,Georgia,serif}.author{font-size:11px;letter-spacing:2.2px;color:var(--muted)}.modes{display:flex;align-items:center;padding:4px;border:1px solid #c7d1be55;border-radius:28px;gap:2px}.modes button{padding:10px 20px;font-size:14px;border-radius:22px;transition:background .18s,color .18s}.modes button[aria-pressed=true]{background:var(--paper);color:var(--forest)}.quiet{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:14px;line-height:1.3;padding:8px 12px;border-radius:8px}.quiet:hover{background:#efe5ce12}.reader-toolbar{max-width:1120px;margin:10px auto 5px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 24px;color:var(--muted)}.reader-toolbar p{font-size:13px;margin:0;text-align:center;line-height:1.35}#book-stage{position:relative;display:flex;align-items:center;justify-content:center;margin:0 auto;width:calc(100% - 72px);max-width:1140px;min-height:300px;height:calc(100svh - 262px);max-height:830px}#flipbook{width:100%;height:100%;filter:drop-shadow(0 20px 27px #071c2660)}.flip-page{background:var(--paper);overflow:hidden}.flip-page img{display:block;width:100%;height:100%;object-fit:fill;user-select:none;-webkit-user-drag:none}.flip-page .sr-only{color:#000}#book-loading{position:absolute;top:44%;text-align:center;font:20px Libertine,serif}.reader-footer{text-align:center;padding:10px 20px 20px}.page-controls{display:flex;align-items:center;justify-content:center;gap:22px}.circle-button{border:1px solid #c7d1be77;border-radius:50%;width:46px;height:46px;font-size:23px}.circle-button:hover:not(:disabled){background:#efe5ce13}.page-status{display:flex;align-items:center;gap:6px;font-size:12px;letter-spacing:1.2px;color:var(--muted)}#page-number{color:var(--paper);width:48px;text-align:center;border:0;border-bottom:1px solid #bfcabb4d;background:transparent;padding:5px 0;font-size:15px;appearance:textfield;-moz-appearance:textfield}#page-number::-webkit-inner-spin-button{display:none}.work-link{font-size:13px;color:var(--paper);padding:10px 12px;min-height:36px;display:block;margin:5px auto 0}.work-link:hover{text-decoration:underline;text-underline-offset:5px}.small-note{display:block;font-size:12px;color:var(--muted);min-height:16px}#zoom-stage{width:100%;height:100%;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden}#zoom-stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;box-shadow:0 0 30px #0004}.workbook-toolbar{max-width:1150px;display:flex;align-items:center;justify-content:space-between;gap:18px;margin:18px auto;padding:0 24px}.section-picker{max-width:420px;flex:1}.section-picker select{background:#e8e4d512;color:var(--paper);border:1px solid #acbdab6b;border-radius:6px;padding:10px 34px 10px 12px;width:100%;font-size:14px}.section-picker option{color:var(--ink);background:var(--paper)}#save-status{font-size:12px;color:var(--muted);max-width:220px;line-height:1.5}#save-status.unsaved{color:#f4cb87}#workbook-paper{max-width:1090px;margin:0 auto;background:var(--paper);color:var(--ink);box-shadow:0 20px 45px #0005;min-height:580px;display:grid;grid-template-columns:.82fr 1.18fr;border-radius:2px;overflow:hidden}.workbook-intro{padding:44px 35px 35px 42px;border-right:1px solid #938b762f;background:linear-gradient(90deg,transparent 95%,#6f64490d 100%)}.eyebrow{font:12px/1.5 Arial,sans-serif;letter-spacing:1.7px;color:var(--rust);text-transform:uppercase;margin:0 0 19px}.workbook-intro h1{font-family:Arial,sans-serif;font-size:29px;line-height:1.08;font-weight:800;letter-spacing:-.7px;text-transform:uppercase;margin:0 0 24px}.workbook-intro .introduction{font:18px/1.55 Libertine,Georgia,serif;margin-bottom:23px}.chapter-art{width:100%;max-width:275px;aspect-ratio:1.25;object-fit:cover;object-position:50% 62%;margin:18px 0 0;display:block;mix-blend-mode:multiply}.workbook-content{padding:32px 38px 35px;min-width:0}.part-tabs{display:flex;gap:5px;flex-wrap:wrap;border-bottom:1px solid var(--rule);margin-bottom:28px;padding-bottom:9px}.part-tabs button{font-size:12px;padding:9px 10px;min-height:36px;border-radius:4px;color:#736d60}.part-tabs button[aria-selected=true]{background:var(--forest);color:var(--paper)}.workbook-content h2{font-size:29px;line-height:1.15;margin-bottom:17px}.exercise-copy{font:18px/1.55 Libertine,Georgia,serif}.answer-field{margin:0 0 30px}.answer-field label{display:block;font:20px/1.35 Libertine,Georgia,serif;margin-bottom:17px}.answer-field textarea{background:repeating-linear-gradient(to bottom,transparent 0,transparent 31px,#b9ad926e 31px,#b9ad926e 32px);font:18px/32px Libertine,Georgia,serif;color:var(--ink);width:100%;resize:vertical;border:0;border-top:1px solid transparent;border-bottom:1px solid transparent;border-radius:0;padding:0 4px;min-height:160px;overflow:hidden;display:block;color-scheme:light;caret-color:var(--rust)}.answer-field textarea::placeholder{color:#938b7b;font-style:italic}.answer-field input{background:#fff3;border:0;border-bottom:1px solid var(--rule);width:100%;padding:10px 3px;color:var(--ink);color-scheme:light;font:18px Libertine,serif}.field-note{font-size:12px;color:#756e5f;line-height:1.5;margin:-5px 0 18px}.part-controls{display:flex;justify-content:space-between;border-top:1px solid var(--rule);padding-top:18px;gap:12px}.part-controls button{font-size:13px;color:var(--rust);padding:8px 0}.workbook-footer{max-width:1090px;margin:15px auto;display:flex;justify-content:space-between;padding:0 10px 22px}.guide{grid-column:1/-1;display:grid;grid-template-columns:.8fr 1.2fr}.guide-left{padding:44px 40px;background:#e9ddbf66}.guide-left h1{font-size:42px;line-height:1.02;margin:0 0 24px}.guide-left img{width:220px;max-width:100%;box-shadow:0 8px 17px #5b4c3429}.guide-body{padding:44px 42px}.guide-body p{font:18px/1.55 Libertine,Georgia,serif}.guide-body blockquote{margin:27px 0;font:23px/1.3 Libertine,Georgia,serif;font-style:italic;border-left:2px solid var(--rust);padding-left:20px}.primary{display:inline-flex;padding:12px 24px;border-radius:4px;background:var(--forest);color:var(--paper);min-height:44px;align-items:center;justify-content:center}.downloads-paper{background:var(--paper);color:var(--ink);max-width:720px;margin:30px auto 50px;padding:44px 56px;box-shadow:0 20px 45px #0004}.downloads-paper h1{font-size:47px;line-height:1.02;margin-bottom:24px}.downloads-paper>p:not(.eyebrow){font:19px/1.5 Libertine,serif}.download-list{border-top:1px solid var(--rule);margin:28px 0 20px}.download-item{display:flex;justify-content:space-between;align-items:center;text-decoration:none;border-bottom:1px solid var(--rule);padding:24px 0;gap:20px;width:100%;text-align:left;color:var(--ink)}.download-item strong{font:24px/1.25 Libertine,serif;display:block}.download-item small{font-size:13px;display:block;margin-top:7px;color:#746e62;line-height:1.5}.download-item>span:last-child{font-size:30px;color:var(--rust)}.download-item:hover strong{text-decoration:underline;text-underline-offset:5px}.save-help{font-size:14px;line-height:1.6;margin-top:30px}.save-help summary{cursor:pointer;color:#5f6758;padding:8px 0}.save-help p{margin:12px 0}.backup-actions{display:flex;gap:20px;flex-wrap:wrap}.text-button{font-size:14px;text-decoration:underline;text-underline-offset:5px;cursor:pointer;color:var(--rust);padding:10px 0;display:inline-flex;align-items:center;min-height:44px}#export-status{font-size:14px;line-height:1.5}dialog{color-scheme:light;max-width:min(570px,calc(100vw - 28px));max-height:85svh;border:0;border-radius:5px;background:var(--paper);color:var(--ink);box-shadow:0 30px 70px #0007;padding:25px 32px}dialog::backdrop{background:#071c1ac9;backdrop-filter:blur(4px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:25px;position:sticky;top:-25px;background:var(--paper);padding:7px 0 15px}.dialog-header h2{font-size:30px;margin:0}.contents-entry{display:flex;align-items:center;gap:18px;padding:12px 0;border-bottom:1px solid #c6bda870;width:100%;text-align:left}.contents-entry .contents-title{font:19px/1.25 Libertine,Georgia,serif;flex:1}.contents-entry .contents-page{font-size:12px;color:var(--rust)}.dialog-actions{display:flex;justify-content:flex-end;gap:22px;margin-top:22px}#toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);background:var(--paper);color:var(--forest);box-shadow:0 8px 30px #0004;border-radius:6px;padding:14px 22px;max-width:90vw;font-size:14px;z-index:10000;opacity:0;pointer-events:none;transition:opacity .15s}#toast.visible{opacity:1}[hidden]{display:none!important}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1440px){.site-header{padding-top:26px;padding-bottom:26px}}@media(max-width:850px){.site-header{padding:18px 22px;gap:15px;flex-wrap:wrap}.identity{flex:1}.book-name{font-size:24px}.modes{order:3;margin:0 auto}.modes button{padding:9px 25px}#share{font-size:13px}.reader-toolbar{padding:0 13px;gap:8px;margin-top:7px}.reader-toolbar p{font-size:12px;max-width:230px}#book-stage{width:calc(100% - 26px);height:calc(100svh - 302px);min-height:350px}.reader-footer{padding-bottom:15px}.workbook-toolbar{flex-wrap:wrap;padding:0 14px;gap:8px;margin:10px auto}.workbook-toolbar #save-status{margin-left:auto;font-size:12px}.section-picker{order:3;flex-basis:100%;max-width:100%}#workbook-paper{margin:0 14px;grid-template-columns:1fr}.workbook-intro{padding:30px 28px 24px;position:relative;border-right:0;border-bottom:1px solid #b9ad926e;padding-right:145px;min-height:185px}.workbook-intro h1{font-size:25px;margin-bottom:14px}.workbook-intro .introduction{font-size:17px;line-height:1.4}.workbook-intro .eyebrow{font-size:11px;margin-bottom:12px}.chapter-art{position:absolute;top:28px;right:24px;width:97px;height:140px;aspect-ratio:auto;object-fit:cover;margin:0;max-width:none}.workbook-content{padding:23px 28px 28px}.part-tabs{gap:2px}.part-tabs button{font-size:12px;padding:8px}.guide{display:block}.guide-left{padding:30px 28px;display:grid;grid-template-columns:1fr 100px;gap:0 18px}.guide-left .eyebrow{grid-column:1}.guide-left h1{font-size:35px;grid-column:1;margin-bottom:0}.guide-left img{grid-column:2;grid-row:1/3;align-self:center}.guide-body{padding:28px}.downloads-paper{margin:22px 14px;padding:32px 28px}.downloads-paper h1{font-size:42px}.downloads-paper>p:not(.eyebrow){font-size:18px}.download-item strong{font-size:22px}.download-item small{font-size:12px}.workbook-footer{font-size:12px}.page-controls{gap:18px}.circle-button{width:42px;height:42px}.small-note{font-size:11px}}
@media(max-width:390px){.book-name{font-size:21px}.site-header{padding:15px}.modes button{padding:8px 22px}.workbook-intro{padding-right:105px}.chapter-art{width:69px;height:104px;right:20px}.workbook-intro h1{font-size:22px}.workbook-content{padding:22px}.reader-toolbar p{max-width:145px}.reader-toolbar .quiet{font-size:12px;padding:8px}.answer-field label{font-size:19px}.page-status{font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}
@media print{body{background:white;color:black}.site-header,.reader-toolbar,.reader-footer,.workbook-toolbar,.workbook-footer,.part-tabs,.part-controls,#toast,dialog{display:none!important}#workbook-paper{box-shadow:none;margin:0;max-width:none}.answer-field textarea{height:auto;border:0;background:none}}

#flipbook .stf__wrapper{width:100%;height:100%}#flipbook .stf__block{top:0;left:0}

/* Full-page reading keeps the same flip engine and persistent controls. */
body.reader-enlarged{overflow:hidden}
.reader-enlarged #book-view{position:fixed;inset:0;z-index:1000;display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:100vh;height:100dvh;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:radial-gradient(ellipse at center,#2c5141,var(--dark))}
.reader-enlarged .reader-toolbar{width:100%;max-width:none;margin:0;padding:4px 18px;gap:12px;min-width:0}
.reader-enlarged .reader-toolbar p{max-width:none;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.reader-enlarged .reader-toolbar .quiet{flex-shrink:0}
.reader-enlarged #book-stage{width:calc(100% - 28px);height:100%;min-height:0;max-height:none;max-width:none;overflow:hidden}
.reader-enlarged #flipbook{min-height:0!important;min-width:0!important}
.reader-enlarged .reader-footer{padding:6px 12px 8px;display:flex;justify-content:center;align-items:center}
.reader-enlarged .page-controls{gap:24px}
.reader-enlarged .circle-button{width:48px;height:48px;min-width:48px;min-height:48px}
.reader-enlarged #place-status,.reader-enlarged #work-with-chapter{display:none}
@media(max-width:600px){.reader-enlarged .reader-toolbar{padding:3px 8px;gap:4px}.reader-enlarged #chapter-label{display:none}.reader-enlarged #book-stage{width:calc(100% - 12px)}.reader-enlarged .reader-toolbar .quiet{font-size:14px}.reader-enlarged .reader-footer{padding-top:5px;padding-bottom:5px}}
