/* Isolated editorial and notebook styles. Music editors remain untouched. */
.dw-page{margin:0;background:#f4f0e4;color:#243f35;font:16px/1.7 system-ui,-apple-system,sans-serif;--dw-ink:#244e40;--dw-gold:#b6954e;--dw-line:#c9cbb3;--dw-soft:#e4e8d6}
.dw-page *{box-sizing:border-box}.dw-page a{color:inherit;text-underline-offset:5px}.dw-page .dw-main button,.dw-page .dw-main input,.dw-page .dw-main select,.dw-page .dw-main textarea{font:inherit}.dw-page .dw-main button,.dw-page .dw-button{background:#244e40;color:#fff9e8;border:1px solid #244e40;padding:11px 19px;border-radius:5px;cursor:pointer;display:inline-block;text-decoration:none}.dw-page .dw-main button:hover,.dw-page .dw-button:hover{background:#3d6251}.dw-page .dw-main button:disabled{opacity:.5;cursor:not-allowed}.dw-page .dw-main button.dw-light{background:#f9f5e8;color:#244e40;border-color:#c3c7b1}.dw-page :focus-visible{outline:3px solid #aa7e26;outline-offset:4px}.dw-page .dw-main label{display:block;font-size:13px;font-weight:600;letter-spacing:.02em}.dw-page .dw-main input,.dw-page .dw-main select,.dw-page .dw-main textarea{border:1px solid #aebaa4;border-radius:4px;padding:10px;background:#fffdf5;color:#1e392f;max-width:100%}.dw-page .dw-main input,.dw-page .dw-main textarea{width:100%}.dw-page .dw-main select{width:100%}.dw-page .dw-main textarea{line-height:1.8;resize:vertical}.dw-page [hidden]{display:none!important}
.dw-hero{position:relative;isolation:isolate;min-height:490px;display:flex;align-items:center;overflow:hidden;padding:70px max(6vw,24px)}.dw-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.dw-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#132e28e8,#19352f75 55%,#183c3620);z-index:-1}.dw-hero-copy{max-width:740px;color:#fff8e6}.dw-kicker{font-size:11px;letter-spacing:.18em;text-transform:uppercase;font-weight:650}.dw-hero h1{font:clamp(42px,5.8vw,79px)/1.05 Georgia,serif;font-weight:400;margin:22px 0;max-width:760px;letter-spacing:-.035em}.dw-hero p:not(.dw-kicker){max-width:540px;font-size:18px}.dw-hero .dw-button{background:#f4e9c9;color:#244e40;border-color:#f4e9c9}.dw-hero .dw-small{font-size:11px!important;color:#f0e8d2}.dw-subnav{display:flex;flex-wrap:wrap;gap:10px 28px;background:#fffaf0;padding:16px max(6vw,24px);border-bottom:1px solid #d8d5c2;font-size:13px}.dw-subnav a{text-decoration:none}.dw-subnav [aria-current=page]{border-bottom:2px solid #a48340}.dw-main{max-width:1340px;margin:auto;padding:45px 40px 90px}.dw-section{padding:35px 0}.dw-section+.dw-section{border-top:1px solid #cdd0bc}.dw-section h2{font:36px/1.15 Georgia,serif;margin:8px 0 20px;letter-spacing:-.025em}.dw-section h3{font:25px/1.2 Georgia,serif;margin:14px 0}.dw-lead{font-size:19px;max-width:800px}.dw-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.dw-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.dw-card{background:#fffcf2;border:1px solid #d6d6bd;padding:24px;box-shadow:3px 5px 0 #e3decb;min-width:0;position:relative}.dw-card p{font-size:15px}.dw-card>img{width:100%;aspect-ratio:1.8;object-fit:cover;margin:0 0 15px;border-radius:2px}.dw-card .dw-kicker{color:#5b7158;font-size:10px}.dw-card small{font-size:12px}.dw-card a{text-decoration:none}.dw-paper{background:#fffdf4;border:1px solid #d8d6bf;border-left:5px solid #c3a260;padding:28px;position:relative;box-shadow:5px 7px 0 #dfdccc;margin:20px 0}.dw-paper:after{content:'';position:absolute;right:0;top:0;border-style:solid;border-width:0 26px 26px 0;border-color:transparent #eee9d8 transparent transparent}.dw-paper blockquote{font:23px/1.7 Georgia,serif;margin:20px 0}.dw-meta{font-size:12px;color:#526654}.dw-actions{display:flex;gap:12px 20px;flex-wrap:wrap;align-items:center;margin:18px 0}.dw-actions a{font-size:14px}.dw-small{font-size:12px!important;line-height:1.65;color:#556852}.dw-notice{background:#e7ebd9;border-left:3px solid #8a9d6a;padding:16px 20px;font-size:14px}.dw-warning{border-left-color:#a45e34;background:#f9e9d8}.dw-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.dw-toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.dw-toolbar label{min-width:160px;flex:1}.dw-tabbar{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.dw-tabbar button[aria-pressed=true]{background:#244e40;color:#fff8e8}.dw-editor-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:26px}.dw-list{display:grid;gap:12px;align-content:start}.dw-list button{text-align:left;background:#fffcf2;color:#244e40;border-color:#c5c9b3;overflow-wrap:anywhere}.dw-list button[aria-current=true]{border:2px solid #456748;background:#e7ead8}.dw-list button small{display:block;font-size:11px;font-weight:400}.dw-editor{background:#fffdf4;border:1px solid #d6d6c1;padding:26px;box-shadow:5px 6px 0 #e2ddca}.dw-editor #dw-title{font:31px Georgia,serif;border:0;border-bottom:1px solid #d8d5bd;border-radius:0;padding:12px 0;background:transparent}.dw-editor #dw-text{border:0;min-height:460px;outline-offset:0;font:19px/1.9 Georgia,serif;background:transparent;padding:20px 0}.dw-status{font-size:12px;min-height:20px;color:#4d674e}.dw-status[data-error=true]{color:#9a3426;font-weight:700}.dw-lesson{margin:20px 0;padding:26px;background:#fffcf2;border:1px solid #d3d4bc;scroll-margin-top:110px}.dw-lesson summary{cursor:pointer;font:24px Georgia,serif}.dw-lesson summary small{display:block;font:12px system-ui;color:#627258;margin-top:8px}.dw-lesson ol{padding-left:22px}.dw-lesson li{margin:12px 0}.dw-literary-example{font:19px/1.8 Georgia,serif;border-left:2px solid #c1a363;padding:10px 20px;margin:20px 0}.dw-footer{border-top:1px solid #cbd0b9;padding:44px 8vw 90px;text-align:center;background:#e5e9d7}.dw-footer blockquote{font:24px Georgia,serif;margin:0 0 16px}.dw-footer p{font-size:12px;color:#53664e}.dw-ink-line{height:2px;width:65px;background:#b59652;margin:25px 0;transform-origin:left;animation:dw-ink 1.4s ease-out both}.dw-paper-bird{display:inline-block;animation:dw-sway 7s ease-in-out infinite alternate}.dw-folio{display:grid;grid-template-columns:1fr 1fr;gap:0;background:#fff9e7;border:1px solid #c6c9b0;transform:rotate(-1deg);box-shadow:8px 12px 0 #c9ceaf;padding:24px 28px;margin:26px 0}.dw-folio>div{padding:15px 22px}.dw-folio>div+div{border-left:1px solid #c5b88d}.dw-folio p{font:21px/1.6 Georgia,serif}.dw-note-card{white-space:pre-wrap;overflow-wrap:anywhere}.dw-studio-bridge{margin:28px 0;padding:25px;background:#edf0df;border:1px solid #bdc7ab;color:#244e40}.dw-studio-bridge h2{font:28px Georgia,serif}.dw-recent{font-size:13px;margin-top:20px}.dw-readonly{background:#e8ead8;padding:14px}.dw-links{display:flex;flex-wrap:wrap;gap:10px 24px;margin:18px 0}.dw-links a{font-size:14px}.dw-film{background:#19392f;color:#fff7e7;padding:28px}.dw-film a{color:#efe0a6}.dw-film iframe{width:100%;aspect-ratio:16/9;border:0}.dw-progress{width:100%;accent-color:#617f55}.dw-swatches{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.dw-swatches input[type=color]{width:64px;height:45px;padding:3px}
/* Notebook has its own namespace: no global rules on existing pages. */
button.dw-quill{position:fixed;bottom:22px;right:22px;z-index:70;display:flex;align-items:center;gap:6px;border:1px solid #abb397!important;border-radius:50px!important;background:#fff9e9ed!important;color:#244e40!important;padding:5px 14px 5px 9px!important;box-shadow:0 4px 20px #1b382025;font:12px system-ui;cursor:pointer;line-height:1}.dw-quill svg{display:block;flex-shrink:0}.dw-quill:focus-visible{outline:3px solid #b58628;outline-offset:4px}.dw-note-dialog{box-sizing:border-box;max-width:650px;width:calc(100% - 32px);max-height:88vh;overflow:auto;background:#fffbf0;color:#244e40;padding:26px;border:1px solid #c2c6ab;border-radius:9px;font:15px/1.6 system-ui;box-shadow:0 25px 80px #10251d55}.dw-note-dialog::backdrop{background:#15392bb8;backdrop-filter:blur(3px)}.dw-note-dialog .dw-dialog-head{display:flex;align-items:start;justify-content:space-between;gap:20px}.dw-note-dialog h2{font:30px Georgia,serif;margin:6px 0 12px}.dw-note-dialog small{font-size:10px;letter-spacing:.14em}.dw-note-dialog button{font:inherit;cursor:pointer;border:1px solid #59735b;border-radius:4px;background:#244e40;color:#fff8e9;padding:10px 16px}.dw-note-dialog .dw-close{background:transparent;color:#244e40;border:0;font:30px Georgia;padding:0 6px}.dw-note-dialog label{font-size:12px;font-weight:600;display:block}.dw-note-dialog textarea,.dw-note-dialog input,.dw-note-dialog select{box-sizing:border-box;display:block;width:100%;font:15px/1.7 system-ui;border:1px solid #b5c0a7;border-radius:4px;background:#fffdf4;color:#203e32;padding:10px;margin:6px 0 15px}.dw-note-dialog textarea{resize:vertical;min-height:160px}.dw-note-dialog a{color:#244e40}.dw-note-dialog .dw-note-source{font-size:12px;color:#63765c}.dw-note-dialog :focus-visible{outline:3px solid #a88335;outline-offset:3px}.dw-note-dialog [role=status]{font-size:13px}.dw-note-dialog .dw-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.dw-note-dialog .dw-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.dw-note-dialog .dw-small{font-size:11px;color:#566d58}
@keyframes dw-ink{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes dw-sway{from{transform:rotate(-3deg) translateY(0)}to{transform:rotate(3deg) translateY(-5px)}}
@media(max-width:900px){.dw-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dw-editor-layout{grid-template-columns:1fr}.dw-list{grid-template-columns:repeat(2,minmax(0,1fr))}.dw-main{padding:28px 22px}.dw-hero{min-height:390px}.dw-hero h1{font-size:51px}}
@media(max-width:550px){.dw-grid,.dw-grid.two,.dw-row{grid-template-columns:1fr}.dw-list{grid-template-columns:1fr 1fr}.dw-hero{min-height:380px;padding:40px 22px}.dw-hero h1{font-size:42px}.dw-hero p:not(.dw-kicker){font-size:16px}.dw-main{padding-right:18px;padding-left:18px}.dw-section h2{font-size:30px}.dw-card,.dw-paper,.dw-editor,.dw-lesson{padding:18px}.dw-folio{padding:12px;transform:none}.dw-folio>div{padding:10px}.dw-folio p{font-size:17px}.dw-quill{right:12px!important;bottom:12px!important}.dw-quill span{display:none}.dw-note-dialog .dw-row{grid-template-columns:1fr}.dw-note-dialog{padding:20px}.dw-toolbar label{min-width:100%}.dw-editor #dw-text{font-size:17px}.dw-subnav{padding:14px 22px;gap:10px 20px}}
@media(prefers-reduced-motion:reduce){.dw-ink-line,.dw-paper-bird{animation:none!important}}
body[data-voyage-motion=paused] .dw-paper-bird,body[data-motion=paused] .dw-paper-bird{animation:none!important}
@media print{.dw-quill,.dw-note-dialog,.dw-subnav,.dw-toolbar,.dw-list,.dw-actions,.dw-hero,.dw-footer{display:none!important}.dw-main{max-width:none;padding:0}.dw-editor-layout{display:block}.dw-editor{box-shadow:none;border:0}}

.dw-skip{position:absolute;left:12px;top:-100px;z-index:999;background:#fff;padding:10px}.dw-skip:focus{top:12px}.dw-settings-checks{display:grid;gap:12px;margin:20px 0}.dw-settings-checks input{width:auto;display:inline;vertical-align:middle}.dw-settings-checks label{display:block}.dw-page #dw-editor-brief{padding:14px;background:#ececda;margin:0 0 20px}.dw-page #dw-editor-brief p{white-space:pre-wrap;font-size:14px}.dw-page progress{height:12px}

.dw-site-bridge{box-sizing:border-box;max-width:1180px;margin:36px auto;padding:28px;border:1px solid #bec8ad;border-left:4px solid #9da96e;background:#f4f3e5;color:#27483a;border-radius:4px}.dw-site-bridge h2{font:30px Georgia,serif;margin:0 0 12px}.dw-site-bridge p{font:15px/1.7 system-ui;color:#435e4b}.dw-site-bridge a{font:15px/1.6 system-ui;color:#244d3d;text-underline-offset:4px}.dw-site-bridge .dw-links{display:flex;gap:14px 24px;flex-wrap:wrap}

/* Keep reading controls and the notebook separate. */
body:has(.voyage-motion) button.dw-quill{bottom:70px!important}
@media(max-width:550px){body:has(.voyage-motion) button.dw-quill{bottom:66px!important}}
