:root{--ink:#244139;--muted:#687366;--paper:#f9f4e5;--gold:#e5be73;--line:#d9ddc7;--green:#244c43}*{box-sizing:border-box}body{margin:0;background:#f4f0e1;color:var(--ink);font:16px Arial,Helvetica,sans-serif}button,a,select{-webkit-tap-highlight-color:transparent}button{font:inherit;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:#fffaf0;padding:10px 14px;min-height:42px;cursor:pointer;transition:background .15s,transform .15s}button:hover:not(:disabled){background:#e7eddb}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,canvas:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid #bd8538;outline-offset:4px}a{color:inherit}button.primary{background:var(--green);border-color:var(--green);color:#fff7de}button.primary:hover{background:#356553}h1,h2,h3,p{margin-top:0}.game-header{background:#183d37;color:#fff4d8;padding:19px 30px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:3px solid #be995f}.game-brand{text-decoration:none;display:flex;gap:14px;align-items:center}.game-brand>span{font-size:43px;color:#e7bd70}.game-brand h1{font:27px Georgia,serif;margin:0 0 6px;letter-spacing:-.3px}.game-brand small{font-size:10px;letter-spacing:2.5px;color:#ccb88d}.game-header nav{display:flex;gap:8px;align-items:center}.game-header nav button,.game-header nav>a{background:#21483f;border:1px solid #56746466;color:#f9f0d5;border-radius:7px;padding:10px 13px;font-size:14px;text-decoration:none;min-height:41px}.game-header nav button:hover{background:#315d4d}.game-header nav button span{background:#e3be77;color:#1c4537;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;font-size:12px;margin-left:6px}.game-header #sound-button{font-size:12px;border:none;color:#b4c8b4}main{max-width:1600px;padding:23px 28px 18px;margin:auto}.chapter-ribbon{display:flex;justify-content:space-between;align-items:center;margin:0 3px 18px;gap:20px}.chapter-ribbon h2{font:30px Georgia,serif;margin:6px 0 0}.chapter-ribbon>div>span{font-size:12px;letter-spacing:1.6px;color:#727861}.chapter-ribbon>div:last-child{text-align:right}.chapter-ribbon p{font:italic 17px Georgia,serif;margin:7px 0 0;color:#6b745e}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px;align-items:stretch}.world-card{min-width:0;background:#eee7d3;border:1px solid #cdd1b8;border-radius:14px;overflow:hidden;box-shadow:0 10px 35px #25493213}.world-stage{position:relative;background:#ebdbaf;aspect-ratio:3/2;overflow:hidden}#world{width:100%;height:100%;display:block;touch-action:none;cursor:crosshair}.world-top{position:absolute;top:16px;left:18px;right:15px;display:flex;align-items:center;justify-content:space-between;gap:15px;pointer-events:none}.world-top>span{font-size:12px;letter-spacing:1px;border-radius:30px;background:#244a3bcf;color:#fff3d5;padding:9px 13px;backdrop-filter:blur(7px)}.world-top button{font-size:12px;min-height:32px;background:#fff8e4d9;border:0;padding:7px 10px;pointer-events:auto;backdrop-filter:blur(5px)}.world-foot{position:absolute;bottom:14px;left:16px;right:16px;display:flex;align-items:end;justify-content:space-between;gap:12px;pointer-events:none}.world-foot>span{font-size:12px;background:#fff9e8e8;padding:8px 11px;border-radius:7px;line-height:1.4;box-shadow:0 3px 10px #1f443916}.world-foot button{pointer-events:auto;background:#244c43;color:#fff3d7;border-color:#7b967b;min-width:100px;box-shadow:0 3px 12px #1b3d3622}.world-foot button:disabled{visibility:hidden}#asset-status{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#ebe3ca;color:#3e6252;font:23px Georgia,serif;z-index:6;padding:30px;text-align:center}#asset-status[hidden]{display:none}.control-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:#efeddd}.control-strip>span{font-size:12px;line-height:1.6;color:#6b735e}kbd{font:11px Arial,sans-serif;background:#fff9e8;border:1px solid #d6d6bc;border-bottom-width:2px;border-radius:3px;padding:3px 5px}.touch-controls{display:flex;gap:5px}.touch-controls button{width:40px;min-height:36px;padding:5px;touch-action:none;user-select:none;-webkit-user-select:none;background:#f8f5e5}.touch-controls button.held{background:#244c43;color:#fff4dd}.quest-panel{background:#fcf8ed;border:1px solid #d8dcc8;border-radius:14px;padding:25px 22px;display:flex;flex-direction:column;box-shadow:0 5px 18px #24483505}.eyebrow{font-size:11px;font-weight:bold;letter-spacing:1.6px;color:#7d805f}.quest-panel h2{font:25px/1.17 Georgia,serif;margin:12px 0}.quest-panel>p{font-size:15px;line-height:1.55;color:#65725f;margin-bottom:19px}.quest-progress{height:5px;border-radius:5px;background:#e5e7d6;overflow:hidden}#quest-fill{height:100%;width:0;background:#9baf73;transition:width .3s}.quest-panel #quest-count{font-size:12px;margin:8px 0 20px}h3{font-size:12px;text-transform:uppercase;letter-spacing:1.4px;margin-bottom:13px}#npc-list{display:flex;flex-direction:column;gap:9px}#npc-list button{text-align:left;display:grid;grid-template-columns:26px 1fr;gap:8px;background:#f5f3e6;font-size:14px;line-height:1.3;padding:12px 10px}#npc-list .npc-number{display:flex;align-items:center;justify-content:center;width:23px;height:23px;border:1px solid #b8c5a2;border-radius:50%;font-size:12px;background:#fff8e4}#npc-list .visited .npc-number{background:#48715a;color:#fff4d5;border-color:#48715a}#npc-list small{display:block;font-size:12px;color:#7c826b;margin-top:5px}.quest-bottom{margin-top:auto;padding-top:25px}#challenge-button{width:100%;background:#244c43;color:#fff4d7;border-color:#244c43;font-size:14px;line-height:1.4;padding:12px 10px}#chapter-reward{font-size:12px;line-height:1.5;color:#69775e;margin:10px 0}.text-button{font-size:12px;background:transparent;border:none;text-decoration:underline;text-underline-offset:3px;padding:3px;min-height:30px}footer{display:flex;justify-content:space-between;gap:20px;font-size:12px;color:#7e856f;padding:17px 3px 0}.arrival{position:absolute;inset:35% 10% auto;text-align:center;pointer-events:none;color:#fffbec;text-shadow:0 2px 14px #193f2f;font:38px Georgia,serif;animation:arrival 3.5s both}.arrival small{display:block;font:12px Arial,sans-serif;letter-spacing:3px;margin-bottom:10px}@keyframes arrival{0%{opacity:0;transform:translateY(10px)}20%,65%{opacity:1;transform:translateY(0)}100%{opacity:0}}#toast{position:absolute;left:50%;bottom:76px;transform:translateX(-50%) translateY(15px);opacity:0;transition:.3s;background:#204737ed;border:1px solid #cfb778;color:#fff7da;padding:13px 20px;border-radius:30px;font:15px Georgia,serif;pointer-events:none;text-align:center;max-width:90%;width:max-content}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}dialog{background:#fff9ec;color:var(--ink);border:1px solid #bfbf98;border-radius:16px;padding:30px;max-height:88vh;width:calc(100% - 24px);max-width:680px;box-shadow:0 20px 80px #15372c44}dialog::backdrop{background:#173b326d;backdrop-filter:blur(3px)}.dialog-close{float:right;position:sticky;top:0;width:38px;min-height:36px;padding:0;font-size:26px;border:0;background:#f5edd9;z-index:2}dialog h2{font:32px/1.12 Georgia,serif;margin:15px 35px 20px 0}dialog p{font-size:17px;line-height:1.65}.speaker-line{display:flex;align-items:center;gap:16px;margin-right:35px}.speaker-portrait{height:105px;width:72px;object-fit:contain}.speaker-line .eyebrow{font-size:10px}.speaker-line strong{font:23px Georgia,serif;display:block;margin-top:5px}.dialog-page-count{font-size:12px;color:#7e8169;margin:13px 0}.dialog-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:24px;justify-content:space-between}.dialog-actions .primary{margin-left:auto}.dialog-body{min-height:115px}.question-buttons{display:flex;flex-direction:column;gap:7px;margin:20px 0}.question-buttons button{text-align:left;font-size:14px;background:#eff0de}.question-answer{padding:12px 16px;border-left:3px solid #bea666;background:#f3eedc;margin-bottom:16px}.question-answer p{font-size:16px;margin:0}.source-note{font-size:12px!important;color:#7a806b;line-height:1.55!important;margin-top:20px}.scene-intro{font:21px/1.6 Georgia,serif}.chapter-stamp{display:inline-block;background:#e9edda;color:#526c4e;font-size:12px;border:1px solid #c9d3b4;border-radius:30px;padding:8px 13px}.challenge-cards{display:flex;flex-direction:column;gap:18px}.challenge-card{border:1px solid #d9ddc5;padding:17px;border-radius:9px;margin:0}.challenge-card legend{font-size:16px;line-height:1.45;padding:0 7px}.answer-options{display:flex;gap:7px;flex-wrap:wrap;margin-top:7px}.answer-options label{cursor:pointer;border:1px solid #d0d7ba;border-radius:6px;padding:8px 10px;background:#f3f3e5;font-size:14px;line-height:1.4;display:flex;gap:6px;align-items:center}.answer-options label:has(input:checked){background:#e0e9d0;border-color:#729567}.answer-options input{accent-color:#365f4a}.feedback{font-size:14px!important;line-height:1.55!important;margin:12px 0 0;color:#556e43}.feedback.retry{color:#916f33}.challenge-card.correct{border-color:#82a86a}.challenge-card.retry{border-color:#c6a461}#puzzle-status{font-size:15px;line-height:1.5;margin-top:20px}.journal-leaves{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.journal-leaf{padding:15px;border:1px solid #d2d9bd;border-radius:9px;background:#edf1df}.journal-leaf.locked{opacity:.5}.journal-leaf strong{font:19px Georgia,serif;display:block;margin-bottom:8px}.journal-leaf small{font-size:12px;line-height:1.5;display:block}.journal-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:20px 0}.journal-tabs button{font-size:14px}.journal-tabs button.active{background:#244c43;color:#fff4de}.discovery{padding:16px 0;border-top:1px solid #dcdfc9}.discovery h3{font-size:14px;margin-bottom:8px;letter-spacing:.6px}.discovery p{font-size:16px}.discovery button{font-size:14px}.reading-shelf{display:grid;grid-template-columns:1fr 1fr;gap:10px}.reading-shelf button{text-align:left;font-size:16px}.reading-shelf strong{display:block;font-weight:normal}.reading-shelf small{display:block;font-size:12px;line-height:1.5;color:#788068;margin-top:8px}#reader-dialog{max-width:800px}#reader-close{float:right;position:sticky;top:0;width:38px;padding:0;font-size:25px;background:#f5edd9}#reader-all{font-size:14px}.reader-notice,.translation-credit{font-size:13px!important;line-height:1.6;background:#ecf0df;padding:12px;border-radius:6px}#full-translation>summary{padding:14px;background:#e6edd7;cursor:pointer;font-size:17px;border-radius:7px;margin-top:25px}#translation-content p{font:18px/1.8 Georgia,serif}#reader-content>.eyebrow{display:block;margin-top:20px}#reader-content>p{font:19px/1.65 Georgia,serif}.journey-stop{display:grid;grid-template-columns:45px 1fr auto;gap:12px;align-items:center;padding:17px 0;border-top:1px solid #d7dcc3}.journey-stop .stop-number{font:25px Georgia,serif;color:#947b4d}.journey-stop strong{display:block;font:21px Georgia,serif}.journey-stop small{font-size:12px;color:#75816c;display:block;margin-top:5px}.journey-stop button{font-size:14px}.travel-map{background:#b7d3c1;border-radius:10px;overflow:hidden;margin:18px 0}.travel-map svg{width:100%;display:block}.travel-timeline{display:flex;gap:16px;align-items:center;padding:16px 0}.travel-timeline strong{font:24px Georgia,serif}.travel-timeline span{color:#849276}.reset-area{margin-top:30px;padding-top:15px;border-top:1px solid #dddcca}.reset-area button{font-size:12px;background:transparent}.reset-area p{font-size:13px}.completed-title{color:#6e8348}.completion-buttons{display:flex;flex-wrap:wrap;gap:9px}.completion-buttons a{padding:12px 15px;border-radius:8px;background:#244c43;color:#fff6df;text-decoration:none}.unlock-note{border-left:3px solid #bf9d57;padding-left:15px}.unlock-note p{font-size:16px}#game-dialog.wide{max-width:800px}
@media(min-width:1600px){main{padding-top:28px}.quest-panel{padding:30px}.quest-panel h2{font-size:29px}}@media(max-width:1100px){.game-header{padding:16px 20px}.game-header h1{font-size:23px}.game-layout{grid-template-columns:minmax(0,1fr) 245px;gap:15px}main{padding:20px 18px}.quest-panel{padding:19px 16px}.quest-panel h2{font-size:23px}.quest-panel>p{font-size:14px}#npc-list button{font-size:13px}.control-strip>span{font-size:11px}.world-foot>span{font-size:11px}.game-header nav{gap:4px}.game-header nav button,.game-header nav>a{font-size:13px;padding:8px 10px}}@media(max-width:800px){.game-layout{grid-template-columns:1fr}.game-header{flex-wrap:wrap;gap:13px;padding:14px 16px}.game-brand{gap:9px}.game-brand h1{font-size:24px}.game-brand>span{font-size:35px}.game-header nav{width:100%;justify-content:space-between}.game-header nav button,.game-header nav>a{font-size:13px;padding:8px 12px}.game-header #sound-button{font-size:11px}.chapter-ribbon h2{font-size:25px}.chapter-ribbon>div>span{font-size:10px}.chapter-ribbon p{font-size:14px}.quest-panel{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.quest-panel>.eyebrow,.quest-panel h2,.quest-panel>p,.quest-progress,.quest-panel>h3,#npc-list,.quest-bottom{grid-column:1/-1}.quest-panel h2{font-size:25px}.quest-panel>p{font-size:16px;margin-bottom:12px}#npc-list{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}#npc-list button{font-size:13px;display:block;text-align:center;padding:12px 6px}#npc-list .npc-number{margin:0 auto 8px}.quest-bottom{padding-top:18px}#quest-title{margin-bottom:8px}.world-stage{min-height:310px;aspect-ratio:3/2}.control-strip>span{max-width:50%;font-size:11px;line-height:1.8}.touch-controls button{width:44px;min-height:44px}.world-top{top:11px;left:10px;right:10px}.world-top>span{font-size:10px;padding:7px 9px}.world-top button{font-size:10px;min-height:28px}.world-foot{bottom:9px;left:9px;right:9px;gap:8px}.world-foot>span{font-size:10px;max-width:70%;padding:6px 8px}.world-foot button{font-size:12px;min-width:75px;padding:7px 9px;min-height:36px}.arrival{font-size:29px}.arrival small{font-size:10px}footer{font-size:11px;line-height:1.5;flex-wrap:wrap;gap:6px}dialog{padding:23px;max-height:90dvh}dialog h2{font-size:29px}dialog p{font-size:16px;line-height:1.7}.dialog-body{min-height:100px}.speaker-portrait{height:88px;width:56px}.speaker-line strong{font-size:21px}.journal-leaves{gap:7px}.journal-leaf{padding:12px 10px}.journal-leaf strong{font-size:16px}.journal-leaf small{font-size:11px}.journey-stop{grid-template-columns:25px 1fr auto;gap:8px}.journey-stop strong{font-size:19px}.journey-stop button{font-size:12px;padding:7px 10px}.reading-shelf{grid-template-columns:1fr}.dialog-actions button{font-size:14px}#toast{font-size:13px;padding:10px 14px;bottom:60px}.game-layout{gap:16px}}@media(max-width:420px){main{padding:17px 10px}.game-header nav button,.game-header nav>a{padding:8px 9px}.game-brand h1{font-size:22px}.chapter-ribbon p{max-width:140px;line-height:1.35}.chapter-ribbon h2{font-size:23px}.control-strip{padding:9px}.touch-controls{gap:3px}.touch-controls button{width:40px}.world-stage{min-height:280px}.world-foot>span{max-width:65%}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}.arrival{display:none}}
/* Storybook depth: full-scene conversations, painted itinerary, restrained motion. */
body{background:radial-gradient(ellipse at 15% 15%,#355b50 0,transparent 60%),#102e2c;color:#f8edcf}.chapter-ribbon>div>span,.chapter-ribbon p,footer{color:#c5ceb7}.world-card{border:2px solid #b29356;box-shadow:0 20px 65px #00151360}.quest-panel{color:var(--ink);border-top:0;position:relative;overflow:hidden;padding-top:117px}.quest-panel:before{content:'';position:absolute;top:0;left:0;right:0;height:96px;background-image:linear-gradient(0deg,#fcf8ed,transparent 80%),var(--chapter-art);background-size:cover;background-position:center 38%}.game-header{box-shadow:0 6px 30px #061f2638}.game-brand small{font-size:12px;letter-spacing:1.8px}.game-header nav{flex-wrap:wrap}.game-header #sound-button,.eyebrow,.source-note,.world-top>span,.world-top button,.world-foot>span,.control-strip>span,footer{font-size:14px!important}#atmosphere-button{font-size:14px;flex-shrink:0}.control-strip{flex-wrap:wrap}.world-top{gap:8px}.world-top button{max-width:45%}.world-stage{min-height:0!important}.quest-panel #quest-count,#chapter-reward,#npc-list small{font-size:14px}.quest-panel>p{font-size:16px}.conversation-scene{min-height:230px;background-size:cover;background-position:center 42%;border-radius:10px;display:flex;align-items:flex-end;padding:15px;gap:20px;color:#fff6df;margin:0 0 25px;overflow:hidden}.conversation-scene img{height:205px;width:130px;object-fit:contain;filter:drop-shadow(0 5px 12px #061d2577)}.conversation-scene strong{display:block;font:29px Georgia,serif;margin:8px 0}.conversation-scene small,.conversation-scene span{font-size:14px;display:block}.conversation-scene div{padding-bottom:15px}.topic-link{margin-top:16px;font-size:14px;color:#375e52;background:#eef0df}.journey-stop{background-image:linear-gradient(90deg,#122f2bec,#173c35a6),var(--stop-art);background-size:cover;background-position:center;border:1px solid #bfa46a;border-radius:12px;padding:25px 15px;color:#fff4d7;min-height:130px;margin-bottom:14px}.journey-stop small{color:#e0ddc8!important;font-size:14px}.journey-stop .stop-number{color:#f9e2a1}.game-header nav button:hover,.game-header nav>a:hover{background:#3c6556}.speaker-line[hidden]{display:none}.field-intro{background:linear-gradient(90deg,#102e2cef,#17372aa1),url("/assets/village.webp") center/cover;color:#fff2d2;border-radius:12px;padding:28px;margin:5px 0 24px}.field-intro h2{margin-top:8px}.field-intro .eyebrow{color:#e5c58e}.field-intro p{margin-bottom:0}.subject-index{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.subject-tile{text-align:left;padding:23px 18px;min-height:150px;background:#f0ebd9;border-top:4px solid #997945}.subject-tile strong{display:block;font:24px Georgia,serif;margin-bottom:12px}.subject-tile span{font-size:16px;line-height:1.5;display:block}.subject-tile[aria-current=true]{background:#244c43;color:#fff4da}.shared-ground{border-left:4px solid #a17f39;padding:18px 22px;background:#efefdc;margin:24px 0}.shared-ground p{margin-bottom:0}.comparison-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.tradition-card{padding:22px 18px;border:1px solid #d4d8bd;border-radius:10px;background:#fffdf5}.tradition-card h3{font:23px/1.25 Georgia,serif;text-transform:none;letter-spacing:0}.tradition-card p{font-size:16px;line-height:1.6}.tradition-card .source-type{font-size:14px;color:#6d765e}.tradition-card a{font-size:16px;line-height:1.5;text-underline-offset:4px}.field-activity{border:1px solid #c3caa8;border-radius:10px;padding:22px;margin-top:24px;background:#eef1df}.field-activity summary{cursor:pointer;font-weight:bold;font-size:16px}.field-activity button{margin-top:12px}.field-activity p:last-child{margin-bottom:0}.field-back{margin-bottom:10px}.field-footer{font-size:14px!important}.comparison-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}dialog.wide{max-width:1020px}.subject-nav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.subject-nav button[aria-current=true]{background:#244c43;color:#fff4d7}@media(max-width:800px){.comparison-grid,.comparison-grid.two{grid-template-columns:1fr}.quest-panel{padding-top:112px}.game-header nav{justify-content:flex-start;gap:7px}.game-header nav button,.game-header nav>a{font-size:14px}.subject-index{grid-template-columns:1fr}.subject-tile{min-height:0}.conversation-scene{min-height:180px;gap:10px;padding:12px}.conversation-scene img{height:170px;width:90px}.conversation-scene strong{font-size:24px}.field-intro{padding:20px}.world-foot>span{max-width:65%;font-size:12px!important}.world-top>span,.world-top button{font-size:12px!important}.control-strip>span{max-width:100%}.chapter-ribbon{align-items:flex-start}.chapter-ribbon>div>span{font-size:12px}.game-brand small{letter-spacing:1px}.game-header{padding:16px}.quest-panel:before{height:90px}}

/* Generated by scripts/build-themes.mjs; edit the authored stylesheet instead. */
@media screen{:root:where([data-theme="dark"]){--ink:hsl(163 29% 85% / 1);--muted:hsl(111 6% 80% / 1);--paper:hsl(45 30% 13% / 1);--gold:hsl(39 48% 74% / 1);--line:hsl(71 24% 30% / 1);--green:hsl(167 36% 84% / 1)}:where(html[data-theme="dark"]) body{background:hsl(47 30% 13% / 1)}:where(html[data-theme="dark"]) button{background:hsl(40 30% 12% / 1)}:where(html[data-theme="dark"]) button:hover:not(:disabled){background:hsl(80 30% 14% / 1)}:where(html[data-theme="dark"]) button:focus-visible,:where(html[data-theme="dark"]) a:focus-visible,:where(html[data-theme="dark"]) canvas:focus-visible,:where(html[data-theme="dark"]) summary:focus-visible,:where(html[data-theme="dark"]) input:focus-visible{outline:3px solid hsl(35 48% 79% / 1)}:where(html[data-theme="dark"]) button.primary{color:hsl(45 48% 94% / 1)}:where(html[data-theme="dark"]) button.primary:hover{background:hsl(158 30% 24% / 1)}:where(html[data-theme="dark"]) .game-header{background:hsl(170 30% 17% / 1);color:hsl(43 48% 92% / 1);border-bottom:3px solid hsl(37 38% 48% / 1)}:where(html[data-theme="dark"]) .game-brand>span{color:hsl(39 48% 74% / 1)}:where(html[data-theme="dark"]) .game-brand small{color:hsl(41 38% 74% / 1)}:where(html[data-theme="dark"]) .game-header nav button,:where(html[data-theme="dark"]) .game-header nav>a{background:hsl(166 30% 21% / 1);border:1px solid hsl(148 15% 48% / 0.4);color:hsl(45 48% 91% / 1)}:where(html[data-theme="dark"]) .game-header nav button:hover{background:hsl(158 30% 24% / 1)}:where(html[data-theme="dark"]) .game-header nav button span{background:hsl(39 30% 19% / 1);color:hsl(160 42% 85% / 1)}:where(html[data-theme="dark"]) .game-header #sound-button{color:hsl(120 15% 75% / 1)}:where(html[data-theme="dark"]) .chapter-ribbon>div>span{color:hsl(76 11% 80% / 1)}:where(html[data-theme="dark"]) .chapter-ribbon p{color:hsl(85 10% 80% / 1)}:where(html[data-theme="dark"]) .world-card{background:hsl(44 30% 14% / 1);border:1px solid hsl(70 21% 30% / 1)}:where(html[data-theme="dark"]) .world-stage{background:hsl(44 30% 16% / 1)}:where(html[data-theme="dark"]) .world-top>span{background:hsl(156 30% 22% / 0.812);color:hsl(43 48% 92% / 1)}:where(html[data-theme="dark"]) .world-top button{background:hsl(44 30% 12% / 0.851)}:where(html[data-theme="dark"]) .world-foot>span{background:hsl(44 30% 12% / 0.91)}:where(html[data-theme="dark"]) .world-foot button{background:hsl(167 30% 22% / 1);color:hsl(42 48% 92% / 1);border-color:hsl(120 11% 48% / 1)}:where(html[data-theme="dark"]) #asset-status{background:hsl(45 30% 14% / 1);color:hsl(153 23% 82% / 1)}:where(html[data-theme="dark"]) .control-strip{background:hsl(53 30% 13% / 1)}:where(html[data-theme="dark"]) .control-strip>span{color:hsl(83 10% 80% / 1)}:where(html[data-theme="dark"]) kbd{background:hsl(44 30% 12% / 1);border:1px solid hsl(60 24% 30% / 1)}:where(html[data-theme="dark"]) .touch-controls button{background:hsl(51 30% 13% / 1)}:where(html[data-theme="dark"]) .touch-controls button.held{background:hsl(167 30% 22% / 1);color:hsl(41 48% 93% / 1)}:where(html[data-theme="dark"]) .quest-panel{background:hsl(44 30% 12% / 1);border:1px solid hsl(72 22% 30% / 1)}:where(html[data-theme="dark"]) .eyebrow{color:hsl(65 15% 80% / 1)}:where(html[data-theme="dark"]) .quest-panel>p{color:hsl(101 9% 80% / 1)}:where(html[data-theme="dark"]) .quest-progress{background:hsl(67 26% 14% / 1)}:where(html[data-theme="dark"]) #quest-fill{background:hsl(80 27% 21% / 1)}:where(html[data-theme="dark"]) #npc-list button{background:hsl(52 30% 13% / 1)}:where(html[data-theme="dark"]) #npc-list .npc-number{border:1px solid hsl(82 23% 30% / 1);background:hsl(44 30% 12% / 1)}:where(html[data-theme="dark"]) #npc-list .visited .npc-number{background:hsl(146 22% 24% / 1);color:hsl(44 48% 92% / 1);border-color:hsl(146 22% 48% / 1)}:where(html[data-theme="dark"]) #npc-list small{color:hsl(76 10% 79% / 1)}:where(html[data-theme="dark"]) #challenge-button{background:hsl(167 30% 22% / 1);color:hsl(44 48% 92% / 1);border-color:hsl(167 36% 48% / 1)}:where(html[data-theme="dark"]) #chapter-reward{color:hsl(94 12% 80% / 1)}:where(html[data-theme="dark"]) footer{color:hsl(79 9% 79% / 1)}:where(html[data-theme="dark"]) .arrival{color:hsl(47 48% 96% / 1)}:where(html[data-theme="dark"]) #toast{background:hsl(155 30% 20% / 0.929);border:1px solid hsl(43 38% 30% / 1);color:hsl(47 48% 93% / 1)}:where(html[data-theme="dark"]) dialog{background:hsl(41 30% 12% / 1);border:1px solid hsl(60 23% 30% / 1)}:where(html[data-theme="dark"]) dialog::backdrop{background:hsl(165 30% 16% / 0.427)}:where(html[data-theme="dark"]) .dialog-close{background:hsl(43 30% 13% / 1)}:where(html[data-theme="dark"]) .dialog-page-count{color:hsl(67 10% 79% / 1)}:where(html[data-theme="dark"]) .question-buttons button{background:hsl(63 30% 13% / 1)}:where(html[data-theme="dark"]) .question-answer{border-left:3px solid hsl(44 38% 48% / 1);background:hsl(47 30% 13% / 1)}:where(html[data-theme="dark"]) .source-note{color:hsl(77 9% 79% / 1)}:where(html[data-theme="dark"]) .chapter-stamp{background:hsl(73 30% 14% / 1);color:hsl(112 16% 81% / 1);border:1px solid hsl(79 26% 30% / 1)}:where(html[data-theme="dark"]) .challenge-card{border:1px solid hsl(70 26% 30% / 1)}:where(html[data-theme="dark"]) .answer-options label{border:1px solid hsl(74 27% 30% / 1);background:hsl(60 30% 13% / 1)}:where(html[data-theme="dark"]) .answer-options label:has(input:checked){background:hsl(82 30% 14% / 1);border-color:hsl(106 18% 48% / 1)}:where(html[data-theme="dark"]) .answer-options input{accent-color:hsl(149 28% 83% / 1)}:where(html[data-theme="dark"]) .feedback{color:hsl(95 24% 82% / 1)}:where(html[data-theme="dark"]) .feedback.retry{color:hsl(38 48% 81% / 1)}:where(html[data-theme="dark"]) .challenge-card.correct{border-color:hsl(97 26% 48% / 1)}:where(html[data-theme="dark"]) .challenge-card.retry{border-color:hsl(40 38% 48% / 1)}:where(html[data-theme="dark"]) .journal-leaf{border:1px solid hsl(75 27% 30% / 1);background:hsl(73 30% 13% / 1)}:where(html[data-theme="dark"]) .journal-tabs button.active{background:hsl(167 30% 22% / 1);color:hsl(40 48% 94% / 1)}:where(html[data-theme="dark"]) .discovery{border-top:1px solid hsl(68 26% 30% / 1)}:where(html[data-theme="dark"]) .reading-shelf small{color:hsl(80 10% 79% / 1)}:where(html[data-theme="dark"]) #reader-close{background:hsl(43 30% 13% / 1)}:where(html[data-theme="dark"]) .reader-notice,:where(html[data-theme="dark"]) .translation-credit{background:hsl(74 30% 13% / 1)}:where(html[data-theme="dark"]) #full-translation>summary{background:hsl(79 30% 14% / 1)}:where(html[data-theme="dark"]) .journey-stop{border-top:1px solid hsl(72 26% 30% / 1)}:where(html[data-theme="dark"]) .journey-stop .stop-number{color:hsl(39 32% 79% / 1)}:where(html[data-theme="dark"]) .journey-stop small{color:hsl(94 9% 79% / 1)}:where(html[data-theme="dark"]) .travel-map{background:hsl(141 24% 16% / 1)}:where(html[data-theme="dark"]) .travel-timeline span{color:hsl(90 11% 78% / 1)}:where(html[data-theme="dark"]) .reset-area{border-top:1px solid hsl(57 22% 30% / 1)}:where(html[data-theme="dark"]) .completed-title{color:hsl(81 29% 80% / 1)}:where(html[data-theme="dark"]) .completion-buttons a{background:hsl(167 30% 22% / 1);color:hsl(43 48% 94% / 1)}:where(html[data-theme="dark"]) .unlock-note{border-left:3px solid hsl(40 38% 48% / 1)}
:where(html[data-theme="dark"]) body{background:radial-gradient(ellipse at 15% 15%,hsl(163 26% 24% / 1) 0,transparent 60%),hsl(176 30% 12% / 1);color:hsl(44 48% 89% / 1)}:where(html[data-theme="dark"]) .chapter-ribbon>div>span,:where(html[data-theme="dark"]) .chapter-ribbon p,:where(html[data-theme="dark"]) footer{color:hsl(83 19% 76% / 1)}:where(html[data-theme="dark"]) .world-card{border:2px solid hsl(40 37% 48% / 1)}:where(html[data-theme="dark"]) .quest-panel:before{background-image:linear-gradient(0deg,hsl(44 30% 12% / 1),transparent 80%),var(--chapter-art)}:where(html[data-theme="dark"]) .conversation-scene{color:hsl(43 48% 94% / 1)}:where(html[data-theme="dark"]) .topic-link{color:hsl(162 26% 83% / 1);background:hsl(67 30% 13% / 1)}:where(html[data-theme="dark"]) .journey-stop{background-image:linear-gradient(90deg,hsl(172 30% 13% / 0.925),hsl(169 30% 16% / 0.651)),var(--stop-art);border:1px solid hsl(41 38% 48% / 1);color:hsl(44 48% 92% / 1)}:where(html[data-theme="dark"]) .journey-stop small{color:hsl(53 28% 83% / 1)!important}:where(html[data-theme="dark"]) .journey-stop .stop-number{color:hsl(44 48% 80% / 1)}:where(html[data-theme="dark"]) .game-header nav button:hover,:where(html[data-theme="dark"]) .game-header nav>a:hover{background:hsl(158 25% 24% / 1)}:where(html[data-theme="dark"]) .field-intro{background:linear-gradient(90deg,hsl(176 30% 12% / 0.937),hsl(156 30% 15% / 0.631)),url("/assets/village.webp") center/cover;color:hsl(43 48% 91% / 1)}:where(html[data-theme="dark"]) .field-intro .eyebrow{color:hsl(38 48% 73% / 1)}:where(html[data-theme="dark"]) .subject-tile{background:hsl(47 30% 13% / 1);border-top:4px solid hsl(37 38% 48% / 1)}:where(html[data-theme="dark"]) .subject-tile[aria-current=true]{background:hsl(167 30% 22% / 1);color:hsl(42 48% 93% / 1)}:where(html[data-theme="dark"]) .shared-ground{border-left:4px solid hsl(40 38% 48% / 1);background:hsl(60 30% 13% / 1)}:where(html[data-theme="dark"]) .tradition-card{border:1px solid hsl(69 26% 30% / 1);background:hsl(48 30% 11% / 1)}:where(html[data-theme="dark"]) .tradition-card .source-type{color:hsl(83 11% 80% / 1)}:where(html[data-theme="dark"]) .field-activity{border:1px solid hsl(72 24% 30% / 1);background:hsl(70 30% 13% / 1)}:where(html[data-theme="dark"]) .subject-nav button[aria-current=true]{background:hsl(167 30% 22% / 1);color:hsl(44 48% 92% / 1)}}

.story-doorways{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 20px}.story-door{position:relative;overflow:hidden;text-align:left;padding:21px 18px;color:#fff6df;border:1px solid #b7a06a;min-height:106px;background:#254b42}.story-door:before{content:'';position:absolute;inset:0;background-image:linear-gradient(90deg,#102b29e8,#173b3270),url("/assets/living-suttas.webp");background-size:cover,300% 100%;z-index:0}.family-door:before{background-position:center,left center}.breath-door:before{background-position:center,center center}.love-door:before{background-position:center,right center}.story-door span,.story-door strong{position:relative;z-index:1;display:block}.story-door span{font-size:14px;color:#f2dbaf;margin-bottom:8px}.story-door strong{font:24px/1.2 Georgia,serif}.story-door:hover:before{filter:brightness(1.2)}.story-picture{position:relative;min-height:370px;background-image:url("/assets/living-suttas.webp");background-size:300% 100%;border-radius:12px;overflow:hidden;background-color:#264d43}.art-family{background-position:left center}.art-breath{background-position:center center}.art-love{background-position:right center}.story-picture>span{position:absolute;bottom:0;left:0;right:0;background:#102d2bdc;color:#eee2c4;font-size:12px;padding:9px 13px}.sutta-layout{display:grid;grid-template-columns:minmax(200px,.8fr) minmax(0,1.4fr);gap:28px;margin-top:22px;align-items:start}.sutta-layout>.story-picture{position:sticky;top:45px;min-height:470px}.sutta-page h2{margin-top:12px}.source-pass{background:#f1eddb;border-left:3px solid #b18c47;padding:19px}.source-pass blockquote{margin:16px 0;font-family:Georgia,serif}.source-pass blockquote p{font-size:19px;line-height:1.55;margin:0 0 8px}.source-pass small{font-size:12px;color:#69705b}.scene-caption{font-size:16px!important;margin:22px 0}.scene-caption strong{display:block;font:14px Arial,sans-serif;text-transform:uppercase;letter-spacing:1px;margin-bottom:7px}.story-note{padding:16px 0;border-top:1px solid #d2d6bc}.story-note summary{cursor:pointer;font-size:16px}.story-note p{font-size:16px}.page-dots{display:flex;gap:7px;flex-wrap:wrap;justify-content:center;margin-top:22px}.page-dots button{min-width:42px;padding:9px}.page-dots button[aria-current=true]{background:#244c43;color:#fff7de}.sutta-sources{display:flex;gap:16px;flex-wrap:wrap;align-items:center;margin-top:22px;padding-top:18px;border-top:1px solid #d2d6bc;font-size:14px}.sutta-sources button{font-size:14px}.family-choices{display:flex;flex-direction:column;gap:9px}.family-choices button{text-align:left;font-size:16px;line-height:1.45;padding:14px}.family-choices button[aria-pressed=true]{background:#244c43;color:#fff7de;border-color:#244c43}.family-response{margin-top:17px;border-left:3px solid #9d813d;padding:17px;background:#eeeedb;font-size:17px;line-height:1.65}.family-response[hidden]{display:none}.sutta-page>h3{font-size:16px;letter-spacing:0;text-transform:none;line-height:1.5}.story-shelf{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.story-shelf>button{padding:0 0 18px;overflow:hidden;text-align:left}.story-shelf .story-picture{min-height:250px;border-radius:0}.story-shelf strong{font:25px/1.2 Georgia,serif;display:block;margin:18px 15px 10px}.story-shelf>button>span{display:block;margin:0 15px;font-size:14px;line-height:1.5}@media(max-width:700px){.story-doorways{gap:8px}.story-door{padding:14px 11px;min-height:112px}.story-door strong{font-size:19px}.story-door span{font-size:12px}.sutta-layout{grid-template-columns:1fr;gap:18px}.sutta-layout>.story-picture{position:relative;top:0;min-height:230px;max-height:230px;background-size:300% auto}.story-shelf{grid-template-columns:1fr}.story-shelf .story-picture{min-height:220px;background-size:300% auto}.source-pass{padding:16px}.source-pass blockquote p{font-size:18px}}@media(max-width:420px){.story-doorways{grid-template-columns:1fr}.story-door{min-height:75px;padding:12px 16px}.story-door span{margin-bottom:5px}.story-door:before{background-size:cover,300% auto}.story-door strong{font-size:22px}}
/* Second pass: a coherent illustrated book, with practical tools close at hand. */
.story-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 32px 18px 0}.story-topline>span{font-size:14px;color:#626f60}.story-picture.family-sequence{background-image:url("/assets/family-conversation.webp");background-size:400% auto;background-position-y:38%}.story-picture.contemplation-sequence{background-image:url("/assets/contemplation.webp");background-size:400% auto;background-position-y:52%}.story-picture.panel-0{background-position-x:0%}.story-picture.panel-1{background-position-x:33.3333%}.story-picture.panel-2{background-position-x:66.6667%}.story-picture.panel-3{background-position-x:100%}.family-layout>.story-picture{min-height:560px}.chapter-path{display:flex;gap:8px;margin:17px 0}.chapter-path>span{width:27px;height:27px;border:1px solid #d1d2b9;color:#777e67;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px}.chapter-path>span.current{background:#254d43;color:#fff3d0;border-color:#254d43}.chapter-path>span.past{background:#e8ecdc;color:#436551}.consequence{font:italic 17px/1.6 Georgia,serif!important;color:#4a6659;padding:15px 18px;background:#eef1e6;border-left:3px solid #a2b08a}.consequence>span{font:12px Arial,sans-serif;letter-spacing:1px;display:block;text-transform:uppercase;margin-bottom:7px;color:#65795e}.people-notes{margin:20px 0;border:1px solid #d1d6bc;border-radius:10px;background:#f4f2e5;padding:14px 16px}.people-notes>summary{cursor:pointer;font-size:16px;line-height:1.5}.people-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0}.people-cards button{padding:13px 8px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0}.person-initial{display:flex;align-items:center;justify-content:center;border-radius:50%;width:38px;height:38px;font:23px Georgia,serif;background:#2b5146;color:#f1d59c}.people-cards strong{font:20px Georgia,serif}.people-cards small{font-size:12px;line-height:1.4}.people-notes blockquote{font:20px/1.5 Georgia,serif;margin:18px 0}.people-notes p{font-size:16px}.family-choices button{display:grid;grid-template-columns:24px minmax(0,1fr);gap:13px;border-radius:9px;background:#faf8ee;border-color:#cdd3bb}.choice-letter{font-size:12px;border:1px solid #bdc6aa;border-radius:50%;width:24px;height:24px;display:flex;align-items:center;justify-content:center;margin-top:1px}.family-choices button[aria-pressed=true]{box-shadow:inset 3px 0 #dab66d}.choice-note{font-size:14px!important;color:#737962;line-height:1.5!important;margin-top:15px}.activity-note summary{font-weight:600;color:#365a4a}.fact-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:15px 0}.fact-grid button{padding:17px;text-align:left;background:#fbf8ed}.fact-grid button>span{font:18px/1.5 Georgia,serif;display:block}.fact-grid button small{display:block;margin-top:15px;font-size:12px;color:#6d775d}.fact-grid button strong{display:block;margin-top:15px;color:#45664d}.fact-grid button p{font:15px/1.5 Arial,sans-serif;margin:8px 0 0}.fact-grid button[aria-expanded=true]{background:#eaf0df;border-color:#9aaa83}.story-actions{border-top:1px solid #dbdec8;padding-top:20px}.ending-banner{position:relative;margin-top:22px;overflow:hidden;border-radius:12px}.ending-banner .story-picture{height:280px;min-height:280px;background-size:400% auto;background-position-y:40%}.ending-banner>.story-picture>span{display:none}.ending-banner>div:last-child{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:end;padding:25px;background:linear-gradient(0deg,#102e2bef,transparent 95%);color:#fff3d6}.ending-banner .eyebrow{color:#ecd6a4}.ending-banner h2{margin:12px 30px 0 0;font-size:35px}.path-review{padding-left:22px}.path-review li{padding:12px 0;border-bottom:1px solid #dadfc9}.path-review strong{font-size:14px;color:#65775c}.path-review p{font-size:17px;margin:6px 0}.carry-card{background:#214d43;color:#fff4d5;border:1px solid #a18a55;padding:26px;border-radius:12px;margin:23px 0}.carry-card .eyebrow{color:#e5c78f}.carry-card h3{font:27px/1.35 Georgia,serif;text-transform:none;letter-spacing:0;margin:13px 0}.carry-card p{font-size:16px;color:#e2e4cf}.carry-card button{margin:5px 8px 0 0}.reading-tools{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.reading-tools button{font-size:14px;min-height:40px;background:#eeefdf}.reading-tools button[aria-pressed=true]{background:#234f43;color:#fff4d7}.large-reading blockquote p{font-size:24px!important;line-height:1.7!important}.reader-action-status{font-size:14px!important;color:#64745c;min-height:0;margin:9px 0}.reader-action-status:empty{display:none}.page-dots .page-read{border-bottom:3px solid #769365}.breath-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:22px 0}.breath-groups button{display:flex;flex-direction:column;align-items:center;gap:9px;padding:20px 12px;background:#eef0df}.breath-groups small{font-size:14px}.breath-groups strong{font:24px Georgia,serif}.breath-groups button[aria-pressed=true]{background:#254e43;color:#fff4d6}.training-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:20px 0}.training-steps button{text-align:left;display:flex;gap:13px;align-items:center;font-size:16px;padding:15px;line-height:1.4}.training-steps button>span{background:#e5e9d2;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:30px;height:30px;font-size:14px}.training-steps button[aria-pressed=true]{background:#e1eace;border-color:#6d885d}.shelf-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.shelf-heading h2{margin-bottom:14px}.shelf-heading>button{flex-shrink:0;margin:30px 32px 0 0}.story-shelf .shelf-type{font-size:12px;letter-spacing:1px;margin-top:19px;color:#6a795e}.story-shelf .shelf-resume{font-size:14px;color:#365e48;margin-top:16px;font-weight:bold}.story-shelf strong{margin-top:10px}.story-shelf .story-picture{min-height:245px;background-size:300% auto}.story-shelf .family-sequence{background-size:400% auto}.practice-shelf{margin-top:29px;padding-top:24px;border-top:1px solid #d2d8c0}.practice-shelf h3{font:23px Georgia,serif;text-transform:none;letter-spacing:0}.practice-shelf>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.practice-shelf button{text-align:left;padding:20px 16px;background:#eef1e3}.practice-shelf button strong{display:block;font:21px/1.3 Georgia,serif;margin-bottom:8px}.practice-shelf button span{font-size:14px;line-height:1.5;display:block}.door-progress{position:relative;display:block;z-index:1;margin-top:14px;color:#e8d4a4;font-size:13px}.story-door{padding:20px;min-height:140px}.story-door:before{transition:filter .3s}.story-door:focus-visible{outline-color:#fff2b6}.courtyard-practice{display:flex;align-items:center;gap:15px;flex-wrap:wrap;border:1px solid #66807670;background:#193b35;padding:22px;border-radius:12px;margin-top:20px}.courtyard-practice>div{flex:1;min-width:230px}.courtyard-practice .eyebrow{color:#d9c48e}.courtyard-practice strong{display:block;font:21px Georgia,serif;margin-top:8px;color:#f8edcf}.courtyard-practice button{background:#254e43;color:#f2e4bf;border-color:#67816b}.journal-companion{display:flex;justify-content:space-between;align-items:center;gap:15px;background:#e9efdd;border:1px solid #cad5b8;border-radius:10px;padding:18px;margin:16px 35px 24px 0}.journal-companion strong{display:block;font:22px Georgia,serif}.journal-companion span{display:block;font-size:14px;margin-top:7px}.notebook-list{display:grid;gap:16px;margin:24px 0}.notebook-entry{padding:23px;background:#f5f0df;border:1px solid #d5d8bb;border-radius:10px}.notebook-entry h3{font:25px Georgia,serif;text-transform:none;letter-spacing:0;margin:13px 0}.notebook-entry p{white-space:normal;font:18px/1.7 Georgia,serif;overflow-wrap:anywhere}.notebook-entry button{font-size:14px;margin-right:10px}.notebook-empty{border:1px dashed #b9c6a6;padding:26px;border-radius:10px}.notebook-empty button{margin:5px}.notebook-empty p{font:22px Georgia,serif}textarea{display:block;width:100%;border:1px solid #bec9af;background:#fffdf5;color:#23463c;border-radius:7px;padding:13px;font:16px/1.6 Arial,sans-serif;resize:vertical;max-width:100%;margin:10px 0 14px;min-height:90px}textarea:focus-visible{outline:3px solid #b8944f;outline-offset:2px}#personal-note-form{margin-top:25px}#note-feedback{margin-left:12px;font-size:14px}.request-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.request-fields label{font-size:16px}.request-fields small{display:block;font-size:14px;line-height:1.5;margin:7px 0;color:#68775e}.request-preview{padding:22px;background:#e8efdb;border-left:3px solid #7d9666;margin:15px 0;overflow-wrap:anywhere}.request-preview p{font:21px/1.6 Georgia,serif;margin:12px 0 0}.practice-room{text-align:center;padding:35px 25px 20px;background:radial-gradient(ellipse at 50% 25%,#eff2dd,#f9f5e9);border-radius:14px;margin-top:22px}.practice-room h2{margin-right:0}.practice-step{max-width:560px;margin:27px auto}.practice-number{display:flex;align-items:center;justify-content:center;margin:0 auto 20px;width:65px;height:65px;border:1px solid #b6be91;border-radius:50%;font:28px Georgia,serif;color:#61734f;background:#eef0da}.practice-step h3{font:28px Georgia,serif;letter-spacing:0;text-transform:none}.practice-step p{font:21px/1.7 Georgia,serif}.practice-room .dialog-actions{margin-top:28px}.sutta-page .story-note button{font-size:14px;margin:8px 7px 0 0}.source-pass{box-shadow:0 4px 16px #33492906}.sutta-layout>.story-picture{box-shadow:0 8px 25px #1a33261a}#glossary-dialog{max-width:590px}#dialog-title:focus{outline:none}
@media(max-width:850px){.shelf-heading{display:block}.shelf-heading>button{margin:0 0 20px}.sutta-layout{gap:20px}.story-shelf{gap:10px}.story-shelf strong{font-size:23px}.story-topline{flex-wrap:wrap}.story-topline>span{font-size:12px}.practice-shelf>div{gap:9px}.practice-shelf button{padding:17px 12px}}
@media(max-width:700px){.story-door{min-height:130px;padding:15px 12px}.story-door strong{font-size:20px}.door-progress{font-size:12px;margin-top:12px}.family-layout>.story-picture{min-height:260px}.sutta-layout>.family-sequence{background-size:400% auto;background-position-y:33%}.sutta-layout>.contemplation-sequence{background-size:400% auto;background-position-y:48%}.story-picture>span{font-size:12px}.sutta-layout{display:flex;flex-direction:column}.sutta-layout>.story-picture{width:100%;flex-shrink:0}.sutta-page{width:100%;min-width:0}.source-pass blockquote p{font-size:20px;line-height:1.65}.story-actions{position:sticky;bottom:-23px;padding:15px 0 20px;background:#fff9ecf5;backdrop-filter:blur(7px);z-index:2;gap:8px}.story-actions button{flex:1;font-size:14px}.story-actions button.primary{flex:1.3}.ending-banner h2{font-size:29px}.ending-banner>div:last-child{padding:20px}.practice-shelf>div{grid-template-columns:1fr}.practice-shelf button{padding:18px}.request-fields{grid-template-columns:1fr;gap:6px}.breath-groups{grid-template-columns:repeat(2,minmax(0,1fr))}.training-steps{grid-template-columns:1fr}.practice-room{padding:26px 16px 16px}.practice-step p{font-size:20px}.journal-companion{align-items:flex-start;flex-direction:column;margin-right:0}.fact-grid{grid-template-columns:1fr}.people-cards{gap:6px}.people-cards button{padding:12px 6px}.notebook-entry{padding:19px}.courtyard-practice{padding:19px}.carry-card{padding:21px}.carry-card h3{font-size:25px}}
@media(max-width:420px){.story-doorways{grid-template-columns:1fr}.story-door{min-height:0;padding:14px 16px}.story-door span{font-size:12px}.story-door strong{font-size:23px}.door-progress{margin-top:8px}.reading-tools{gap:6px}.reading-tools button{font-size:13px;padding:8px 10px}.story-topline{margin-right:25px}.story-shelf .story-picture{min-height:220px}.chapter-path{gap:7px}.people-cards small{font-size:12px}.story-actions{bottom:-23px}}
@media(prefers-reduced-motion:reduce){.story-door:before{transition:none}}

.passage-art{margin:0;align-self:start}.passage-art img{display:block;width:100%;height:auto;border-radius:8px}.passage-art figcaption{font:14px/1.5 Georgia,serif;color:#68795e;padding:10px 0}.sutta-layout:not(:has(.passage-art)){display:block;max-width:760px;margin:auto}.story-shelf .passage-art{margin-bottom:15px}.story-shelf .passage-art figcaption{display:none}

/* Generated by scripts/build-themes.mjs; edit the authored stylesheet instead. */
@media screen{:where(html[data-theme="dark"]) .story-door{color:hsl(43 48% 94% / 1);border:1px solid hsl(42 35% 48% / 1);background:hsl(166 30% 22% / 1)}:where(html[data-theme="dark"]) .story-door:before{background-image:linear-gradient(90deg,hsl(176 30% 12% / 0.91),hsl(165 30% 16% / 0.439)),url("/assets/living-suttas.webp")}:where(html[data-theme="dark"]) .story-door span{color:hsl(39 48% 82% / 1)}:where(html[data-theme="dark"]) .story-picture{background-image:url("/assets/living-suttas.webp");background-color:hsl(165 30% 23% / 1)}:where(html[data-theme="dark"]) .story-picture>span{background:hsl(176 30% 12% / 0.863);color:hsl(43 48% 85% / 1)}:where(html[data-theme="dark"]) .source-pass{background:hsl(49 30% 13% / 1);border-left:3px solid hsl(39 38% 48% / 1)}:where(html[data-theme="dark"]) .source-pass small{color:hsl(80 10% 80% / 1)}:where(html[data-theme="dark"]) .story-note{border-top:1px solid hsl(69 24% 30% / 1)}:where(html[data-theme="dark"]) .page-dots button[aria-current=true]{background:hsl(167 30% 22% / 1);color:hsl(45 48% 94% / 1)}:where(html[data-theme="dark"]) .sutta-sources{border-top:1px solid hsl(69 24% 30% / 1)}:where(html[data-theme="dark"]) .family-choices button[aria-pressed=true]{background:hsl(167 30% 22% / 1);color:hsl(45 48% 94% / 1);border-color:hsl(167 36% 48% / 1)}:where(html[data-theme="dark"]) .family-response{border-left:3px solid hsl(42 38% 48% / 1);background:hsl(60 30% 13% / 1)}:where(html[data-theme="dark"]) .story-topline>span{color:hsl(112 7% 80% / 1)}:where(html[data-theme="dark"]) .story-picture.family-sequence{background-image:url("/assets/family-conversation.webp")}:where(html[data-theme="dark"]) .story-picture.contemplation-sequence{background-image:url("/assets/contemplation.webp")}:where(html[data-theme="dark"]) .chapter-path>span{border:1px solid hsl(62 22% 30% / 1);color:hsl(78 10% 79% / 1)}:where(html[data-theme="dark"]) .chapter-path>span.current{background:hsl(165 30% 22% / 1);color:hsl(45 48% 91% / 1);border-color:hsl(165 35% 48% / 1)}:where(html[data-theme="dark"]) .chapter-path>span.past{background:hsl(75 30% 14% / 1);color:hsl(145 20% 82% / 1)}:where(html[data-theme="dark"]) .consequence{color:hsl(152 16% 82% / 1);background:hsl(76 28% 13% / 1);border-left:3px solid hsl(82 19% 30% / 1)}:where(html[data-theme="dark"]) .consequence>span{color:hsl(104 13% 80% / 1)}:where(html[data-theme="dark"]) .people-notes{border:1px solid hsl(72 24% 30% / 1);background:hsl(52 30% 13% / 1)}:where(html[data-theme="dark"]) .person-initial{background:hsl(163 30% 24% / 1);color:hsl(40 48% 78% / 1)}:where(html[data-theme="dark"]) .family-choices button{background:hsl(50 30% 12% / 1);border-color:hsl(75 21% 30% / 1)}:where(html[data-theme="dark"]) .choice-letter{border:1px solid hsl(79 20% 30% / 1)}:where(html[data-theme="dark"]) .choice-note{color:hsl(76 11% 80% / 1)}:where(html[data-theme="dark"]) .activity-note summary{color:hsl(153 25% 83% / 1)}:where(html[data-theme="dark"]) .fact-grid button{background:hsl(47 30% 12% / 1)}:where(html[data-theme="dark"]) .fact-grid button small{color:hsl(83 12% 80% / 1)}:where(html[data-theme="dark"]) .fact-grid button strong{color:hsl(135 19% 82% / 1)}:where(html[data-theme="dark"]) .fact-grid button[aria-expanded=true]{background:hsl(81 30% 13% / 1);border-color:hsl(85 19% 48% / 1)}:where(html[data-theme="dark"]) .story-actions{border-top:1px solid hsl(68 25% 30% / 1)}:where(html[data-theme="dark"]) .ending-banner>div:last-child{background:linear-gradient(0deg,hsl(174 30% 12% / 0.937),transparent 95%);color:hsl(42 48% 92% / 1)}:where(html[data-theme="dark"]) .ending-banner .eyebrow{color:hsl(42 48% 78% / 1)}:where(html[data-theme="dark"]) .path-review li{border-bottom:1px solid hsl(74 26% 30% / 1)}:where(html[data-theme="dark"]) .path-review strong{color:hsl(100 13% 80% / 1)}:where(html[data-theme="dark"]) .carry-card{background:hsl(166 30% 22% / 1);color:hsl(44 48% 92% / 1);border:1px solid hsl(42 31% 48% / 1)}:where(html[data-theme="dark"]) .carry-card .eyebrow{color:hsl(39 48% 73% / 1)}:where(html[data-theme="dark"]) .carry-card p{color:hsl(66 28% 85% / 1)}:where(html[data-theme="dark"]) .reading-tools button{background:hsl(64 30% 13% / 1)}:where(html[data-theme="dark"]) .reading-tools button[aria-pressed=true]{background:hsl(164 30% 22% / 1);color:hsl(44 48% 92% / 1)}:where(html[data-theme="dark"]) .reader-action-status{color:hsl(100 12% 80% / 1)}:where(html[data-theme="dark"]) .page-dots .page-read{border-bottom:3px solid hsl(98 19% 48% / 1)}:where(html[data-theme="dark"]) .breath-groups button{background:hsl(67 30% 13% / 1)}:where(html[data-theme="dark"]) .breath-groups button[aria-pressed=true]{background:hsl(164 30% 23% / 1);color:hsl(44 48% 92% / 1)}:where(html[data-theme="dark"]) .training-steps button>span{background:hsl(70 30% 14% / 1)}:where(html[data-theme="dark"]) .training-steps button[aria-pressed=true]{background:hsl(79 30% 14% / 1);border-color:hsl(98 19% 48% / 1)}:where(html[data-theme="dark"]) .story-shelf .shelf-type{color:hsl(93 13% 80% / 1)}:where(html[data-theme="dark"]) .story-shelf .shelf-resume{color:hsl(147 27% 83% / 1)}:where(html[data-theme="dark"]) .practice-shelf{border-top:1px solid hsl(75 24% 30% / 1)}:where(html[data-theme="dark"]) .practice-shelf button{background:hsl(73 30% 13% / 1)}:where(html[data-theme="dark"]) .door-progress{color:hsl(42 48% 78% / 1)}:where(html[data-theme="dark"]) .story-door:focus-visible{outline-color:hsl(49 48% 86% / 1)}:where(html[data-theme="dark"]) .courtyard-practice{border:1px solid hsl(157 11% 48% / 0.439);background:hsl(169 30% 16% / 1)}:where(html[data-theme="dark"]) .courtyard-practice .eyebrow{color:hsl(43 48% 70% / 1)}:where(html[data-theme="dark"]) .courtyard-practice strong{color:hsl(44 48% 89% / 1)}:where(html[data-theme="dark"]) .courtyard-practice button{background:hsl(164 30% 23% / 1);color:hsl(44 48% 85% / 1);border-color:hsl(129 11% 48% / 1)}:where(html[data-theme="dark"]) .journal-companion{background:hsl(80 30% 13% / 1);border:1px solid hsl(83 26% 30% / 1)}:where(html[data-theme="dark"]) .notebook-entry{background:hsl(46 30% 13% / 1);border:1px solid hsl(66 27% 30% / 1)}:where(html[data-theme="dark"]) .notebook-empty{border:1px dashed hsl(84 22% 30% / 1)}:where(html[data-theme="dark"]) textarea{border:1px solid hsl(85 19% 30% / 1);background:hsl(48 30% 11% / 1);color:hsl(163 33% 85% / 1)}:where(html[data-theme="dark"]) textarea:focus-visible{outline:3px solid hsl(39 43% 78% / 1)}:where(html[data-theme="dark"]) .request-fields small{color:hsl(96 12% 80% / 1)}:where(html[data-theme="dark"]) .request-preview{background:hsl(81 30% 13% / 1);border-left:3px solid hsl(91 19% 48% / 1)}:where(html[data-theme="dark"]) .practice-room{background:radial-gradient(ellipse at 50% 25%,hsl(69 30% 13% / 1),hsl(45 30% 12% / 1))}:where(html[data-theme="dark"]) .practice-number{border:1px solid hsl(71 26% 30% / 1);color:hsl(90 19% 81% / 1);background:hsl(65 30% 13% / 1)}
@media(max-width:700px){:where(html[data-theme="dark"]) .story-actions{background:hsl(41 30% 12% / 0.961)}}:where(html[data-theme="dark"]) .passage-art figcaption{color:hsl(98 13% 80% / 1)}}

/* A quiet, shared visual language for the living resource shelf. */
.resource-youtube .resource-preview>a{min-height:0;padding:0;background:transparent;aspect-ratio:1}
.resource-youtube .resource-preview img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;border-radius:12px}
.retreat-window{margin-bottom:22px}.retreat-window p{font:28px/1.25 Georgia,serif;margin:9px 0;color:#284a38}.retreat-window small{font:13px/1.6 system-ui,sans-serif;color:#5a6e53}
fieldset.resource-scope{border:0;padding:0;margin:0 0 24px;display:flex;flex-wrap:wrap;gap:9px;max-width:none}fieldset.resource-scope legend{font:13px/1.5 system-ui,sans-serif;padding:0;margin-bottom:10px;color:#375747}fieldset.resource-scope label{position:relative;cursor:pointer}fieldset.resource-scope input{position:absolute;opacity:0;width:1px;height:1px}fieldset.resource-scope span{display:block;padding:10px 18px;border:1px solid #b9c8ac;border-radius:24px;background:#f8faef;font:14px/1.5 system-ui,sans-serif}fieldset.resource-scope input:checked+span{background:#315747;color:#fffef4;border-color:#315747}fieldset.resource-scope input:focus-visible+span{outline:3px solid #a4762c;outline-offset:3px}
.directory-group{margin-bottom:38px}.directory-group>h2{font:30px/1.3 Georgia,serif;color:#32523b;border-bottom:1px solid #ccd7c0;padding-bottom:12px;margin:28px 0 20px}.resource-card .center-location{color:#536d55;font-size:14px!important}
.resource-app .resource-preview>a,.resource-podcast .resource-preview>a{min-height:0;padding:0;background:transparent;aspect-ratio:1}
.resource-app .resource-preview img,.resource-podcast .resource-preview img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;border-radius:8px}
.resource-app .resource-preview img{border-radius:18px}
.resource-facts{margin:8px 0 14px;padding:14px 0;border-top:1px solid #d4dacb;border-bottom:1px solid #d4dacb;font:14px/1.6 system-ui,sans-serif}
.resource-facts>div+div{margin-top:9px}.resource-facts dt{font-weight:600;color:#375747}.resource-facts dd{margin:2px 0 0;color:#526950}
.resource-listing-sources{font-size:14px}.resource-listing-sources ul{padding-left:18px}.resource-listing-sources li+li{margin-top:8px}
.digital-directory-note{font-size:14px;line-height:1.7;margin-top:35px;max-width:850px}
/* Layout refinements for the focused library and retreat pages are at the end. */
.branch-resources{border-top:1px solid #cdd8c2;margin-top:38px;padding-top:30px}.resources-section-head{display:flex;justify-content:space-between;align-items:baseline;gap:16px}.resources-section-head>a{color:#275345;font-size:14px}.branch-resources .resources-section-head h3{font:36px/1.15 Georgia,serif;margin:12px 0}.branch-resource-group{margin:30px 0}.branch-resource-group>.resources-section-head h4{font:24px/1.2 Georgia,serif;margin:0 0 16px}.resource-scope{font-size:14px!important;line-height:1.7!important;color:#586758;max-width:900px}.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}.resource-card{border:1px solid #d4dacb;padding:24px;background:#fbfbf3;border-radius:6px;min-width:0;display:flex;flex-direction:column;box-shadow:0 3px 12px #243b2910;position:relative}.resource-card:before{content:'';position:absolute;top:0;left:24px;width:32px;height:3px;background:#8b9866}.resource-teacher:before{background:#a8794d}.resource-talk:before{background:#59978b}.resource-retreat:before{background:#aa9163}.resource-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}.resource-type{font-size:11px;text-transform:uppercase;letter-spacing:1.2px;color:#66754c}.resource-save{border:1px solid #d0d8c6!important;color:#375747!important;background:transparent!important;padding:6px 10px!important;font:12px/1.3 system-ui,sans-serif!important;border-radius:20px!important;cursor:pointer;white-space:nowrap}.resource-save[aria-pressed=true]{background:#e2ead8!important;border-color:#6f8f6c!important}.resource-level{font:12px/1.5 system-ui,sans-serif;color:#80663e}.resource-card h3,.resource-card h5{font:25px/1.2 Georgia,serif!important;letter-spacing:-.3px;margin:10px 0!important;color:#253d32}.resource-card p{font-size:15px!important;line-height:1.7!important;margin:10px 0}.resource-card .resource-author{font-size:13px!important;color:#61725d;margin:0 0 12px}.resource-description{flex:1}.resource-card .resource-meta,.resource-reviewed{font:11px/1.6 system-ui,sans-serif!important;color:#65715f}.resource-branches{display:flex;flex-wrap:wrap;gap:6px;margin:15px 0}.resource-branches a,.resource-branches span{font-size:11px;background:#eef1e6;color:#4a6752;padding:4px 8px;border-radius:3px;text-decoration:none}.resource-branches a:hover{background:#dde6d5}.resource-source{color:#244f3f;font:600 13px/1.5 system-ui,sans-serif;text-decoration:underline;text-underline-offset:4px;margin-top:6px}.resource-reviewed{display:block;margin-top:14px}.resource-card .retreat-date{font:600 15px/1.5 system-ui,sans-serif!important;color:#35543e;margin:6px 0}.resource-card .retreat-location{font-size:12px!important;margin:0 0 8px}.retreat-status{font-size:11px;color:#795e31;align-self:flex-start;background:#f2ebd9;padding:4px 7px;border-radius:3px}.resource-main{max-width:1300px;margin:auto;padding:36px 5vw 80px}.resource-hero{display:grid;grid-template-columns:1.15fr 1fr;gap:55px;padding:40px 0 50px;align-items:center}.resource-hero h1{font:clamp(40px,5vw,68px)/1.03 Georgia,serif;letter-spacing:-2px;font-weight:400;margin:18px 0 24px;color:#233f32}.resource-hero p{max-width:480px;color:#5b6d5c;font:18px/1.75 Georgia,serif}.resource-hero-links{display:flex;gap:24px;flex-wrap:wrap;margin-top:27px;font-size:13px}.resource-hero-art{background:linear-gradient(0deg,#132d287a,transparent 55%),url("/assets/dawn-path.webp") center/cover;min-height:360px;border-radius:48% 48% 3px 3px;display:flex;align-items:flex-end;padding:35px;box-shadow:0 12px 35px #2f482018}.resource-hero-art span{font:italic 25px/1.4 Georgia,serif;color:#fff8e9}.resource-starts{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #cbd5c0;border-bottom:1px solid #cbd5c0;margin-bottom:40px}.resource-starts button{background:transparent;border:0;border-right:1px solid #cbd5c0;padding:26px 22px;text-align:left;cursor:pointer;color:#294e3c}.resource-starts button:last-child{border:0}.resource-starts button:hover{background:#eaf0e1}.resource-starts small{font-size:10px;letter-spacing:1.8px;color:#7c8159;display:block}.resource-starts strong{display:block;font:23px/1.2 Georgia,serif;margin:12px 0}.resource-starts span{font-size:12px;color:#5c715b}.resource-filter-panel{scroll-margin-top:100px;padding:25px;background:#e9efdf;border:1px solid #ccd7c0;border-radius:8px}.resource-search-row{display:flex;gap:24px;align-items:center}.resource-search-row>label:first-child{flex:1}.resource-filter-panel label{font:12px/1.5 system-ui,sans-serif;color:#456247}.resource-filter-panel input[type=search],.resource-filter-panel select{display:block;width:100%;padding:12px;border:1px solid #bccaad;border-radius:4px;background:#fffef7;color:#284a38;font:15px system-ui,sans-serif;margin-top:6px;min-width:0}.resource-selects{display:grid;grid-template-columns:1.3fr 1fr 1.2fr 1fr;gap:16px;margin-top:20px}.resource-check{display:flex!important;align-items:center;gap:8px;white-space:nowrap;cursor:pointer}.resource-check input{accent-color:#43684b;width:17px;height:17px}.resource-check span{background:#d4dfc8;border-radius:12px;padding:2px 7px}.resource-filter-foot{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin-top:20px}.resource-filter-foot .resource-check{margin-right:auto}.resource-filter-foot button,.resource-empty button{border:0;background:transparent;color:#355943;text-decoration:underline;text-underline-offset:4px;cursor:pointer;font:13px system-ui,sans-serif;padding:8px}.resource-storage-note{font-size:12px;color:#64745c;margin:14px 0 0;min-height:18px}.resource-results-heading{display:flex;justify-content:space-between;align-items:baseline;gap:20px;font-size:13px;color:#65745b;margin:27px 0}.resource-results-heading strong{white-space:nowrap;font-weight:500}.resource-result-group{margin:35px 0 50px}.resource-result-group>h2{font:32px Georgia,serif;font-weight:400;border-bottom:1px solid #d1d9c7;padding-bottom:16px}.resource-result-group>h2 span{font:13px system-ui,sans-serif;color:#748066;vertical-align:middle;margin-left:10px}.resource-empty{border:1px dashed #b8c7a8;text-align:center;padding:60px 25px;border-radius:8px}.resource-empty h2{font:30px Georgia,serif}.resource-empty p{max-width:500px;margin:20px auto;line-height:1.8}.resource-selection{border-top:1px solid #cbd5c0;padding-top:40px;scroll-margin-top:90px}.resource-selection h2{font:34px Georgia,serif;font-weight:400}.resource-selection>div{display:grid;grid-template-columns:1fr 1fr;gap:8px 40px}.resource-selection p{font:14px/1.9 system-ui,sans-serif;color:#63705c}.resource-card :focus-visible,.resource-filter-panel :focus-visible,.resource-starts :focus-visible{outline:3px solid #a4762c;outline-offset:4px}.tree-shortcuts{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin:20px 0}.tree-shortcuts label{font-size:13px;color:#53694d}.tree-shortcuts select{padding:10px;border:1px solid #bdcbaa;background:#fffdf3;color:#244d3c;border-radius:4px;max-width:100%;font:14px system-ui,sans-serif}.tree-shortcuts button{font-size:13px}.site-linkbar{display:flex;gap:22px;flex-wrap:wrap;padding:12px 28px;border-bottom:1px solid #d1d8c9;background:#eef2e5;font:13px system-ui,sans-serif}.site-linkbar a{color:#315641;text-decoration:none}.site-linkbar a:hover{text-decoration:underline}.branch-chapter-nav{display:flex;gap:15px;flex-wrap:wrap;font-size:12px;padding:15px 0;border-bottom:1px solid #d3dbc9;margin-bottom:24px}.branch-chapter-nav a{color:#4b684d}.branch-section-anchor{scroll-margin-top:24px}.reading-related{max-width:850px;margin:50px auto;padding:30px;border:1px solid #d2dac8;background:#edf2e5;border-radius:6px}.reading-related h2{font:28px Georgia,serif}.reading-related p{font:15px/1.8 system-ui,sans-serif;color:#596d54}.reading-related a{display:inline-block;margin:7px 16px 7px 0;font-size:14px}.reading-resume{padding:15px 20px;border:1px solid #bfcdaf;background:#edf3e3;margin:22px 0;font:14px/1.6 system-ui,sans-serif;color:#3f5e3e;border-radius:4px}.reading-resume button{margin-left:14px;background:transparent;border:0;text-decoration:underline;color:#3d633e;cursor:pointer}.reading-progress{height:3px;position:fixed;top:0;left:0;background:#6c8b58;z-index:100;width:0;pointer-events:none}.reading-toc a[aria-current=location]{color:#305638;font-weight:700;border-left:2px solid #64844f;padding-left:8px}.resume-reading-card{display:block;background:#e9efdf;border:1px solid #c6d3b9;border-radius:6px;padding:23px;margin:25px 0;color:#33543d;text-decoration:none}.resume-reading-card strong{display:block;font:25px Georgia,serif;margin:8px 0}.resume-reading-card small{font-size:12px}.resource-main [hidden]{display:none!important}@media(max-width:1000px){.resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.resource-hero{gap:30px}.resource-hero-art{min-height:320px}.resource-selects{grid-template-columns:1fr 1fr}.resource-starts strong{font-size:21px}}@media(max-width:650px){.resource-grid{grid-template-columns:1fr}.resource-main{padding:12px 20px 45px}.resource-hero{grid-template-columns:1fr;padding-top:24px;gap:20px}.resource-hero-art{min-height:230px;border-radius:4px 45% 4px 4px}.resource-hero h1{font-size:47px}.resource-starts{grid-template-columns:1fr}.resource-starts button{border-right:0;border-bottom:1px solid #cbd5c0;padding:22px 10px}.resource-filter-panel{padding:18px}.resource-search-row{display:block}.resource-search-row>.resource-check{margin-top:18px}.resource-selects{gap:12px}.resource-selection>div{grid-template-columns:1fr}.resources-section-head{align-items:flex-start;flex-direction:column;gap:8px}.resource-results-heading{align-items:flex-start;flex-direction:column;gap:0}.resource-card{padding:22px}.site-linkbar{padding:12px 20px;gap:16px}.reading-related{margin:35px 20px;padding:22px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}@media print{.resource-save,.resource-filter-panel,.resource-starts,.resource-hero-art,.room-nav{display:none}.resource-grid{grid-template-columns:1fr 1fr}.resource-card{break-inside:avoid}.resource-source:after{content:' (' attr(href) ')';font-size:10px;word-break:break-all}}

/* Keep discovery controls in view and secondary labels legible. */
.resource-main{padding-top:12px}.resource-hero{padding:18px 0 26px;gap:38px;grid-template-columns:1.5fr 1fr}.resource-hero h1{font-size:clamp(38px,4.5vw,55px);margin:12px 0 18px;letter-spacing:-1px}.resource-hero p{font:17px/1.6 Georgia,serif;max-width:590px;margin:12px 0}.resource-hero-art{min-height:210px;max-height:230px;padding:25px}.resource-hero-art span{font-size:21px}.resource-hero-links{margin-top:15px;font-size:14px}.resource-starts{margin-bottom:24px}.resource-starts button{padding:18px}.resource-starts small{font-size:12px;letter-spacing:1px}.resource-starts strong{font-size:21px;margin:8px 0}.resource-starts span{font-size:13px}.resource-card p{font-size:16px!important}.resource-type{font-size:12px;letter-spacing:.8px}.resource-save{font-size:14px!important;min-height:40px}.resource-branches a,.resource-branches span{font-size:12px}.resource-source{font-size:14px}.resource-card .resource-meta,.resource-reviewed{font-size:12px!important}.resource-card .retreat-location,.retreat-status{font-size:14px!important}.resource-filter-panel label{font-size:14px}.resource-filter-foot button,.resource-empty button{font-size:14px}.resource-scope{font-size:14px!important}.branch-chapter-nav{font-size:14px}.resource-selection p{font-size:16px}.resource-card a{overflow-wrap:anywhere}.resource-search-row>.resource-check{white-space:normal}.resource-filter-panel{padding:20px}.resource-search-row input[type=search]{padding:10px}.resource-selects{margin-top:14px}.resource-filter-foot{margin-top:12px}.resource-storage-note{margin-top:8px}.resource-results-heading{margin:18px 0}.resource-result-group{margin-top:20px}.resource-result-group>h2{margin-top:15px}.resource-starts button{min-width:0}.resource-hero-art{background-position:center 55%}@media(max-width:650px){.resource-hero{grid-template-columns:1fr;padding:20px 0}.resource-hero-art{display:none}.resource-hero h1{font-size:42px}.resource-starts{display:flex;gap:8px;border:0;flex-wrap:wrap;margin-bottom:18px}.resource-starts button{padding:9px 12px;border:1px solid #cbd5c0!important;border-radius:5px;flex:1}.resource-starts small,.resource-starts span{display:none}.resource-starts strong{font:14px/1.5 system-ui,sans-serif;margin:0}.resource-selects{grid-template-columns:1fr 1fr}.resource-filter-panel select{font-size:14px;padding:9px 5px}.resource-check{white-space:normal}}

.subject-resource-link{display:inline-block;border:1px solid #b7c7a4;background:#e8efdf;padding:13px 16px;border-radius:6px;text-decoration:none;font-size:15px;color:#31533c}.subject-resource-link:hover{background:#dae6cf}
.reading-original{background:#f7f3e7;border-color:#d9cfb4}.reading-original .source-review{font-size:12px;color:#726d58}

#resource-reading-bridge{display:grid;grid-template-columns:1.6fr 1fr;gap:30px;background:#e7eddd;border-left:3px solid #8a794d;padding:26px;margin:22px 0 35px}#resource-reading-bridge[hidden]{display:none}#resource-reading-bridge h2{font:27px/1.25 Georgia,serif;margin:10px 0}#resource-reading-bridge p{font:16px/1.8 Georgia,serif;color:#4e634e}#resource-reading-bridge a{display:inline-block;font-size:14px;margin:6px 15px 6px 0;color:#32573e}#resource-reading-bridge aside{border-left:1px solid #c4d0b7;padding-left:25px}#resource-reading-bridge aside p{font-size:21px}#resource-reading-bridge small{font-size:12px;color:#65735b}@media(max-width:650px){#resource-reading-bridge{grid-template-columns:1fr;padding:20px;gap:15px}#resource-reading-bridge aside{border-left:0;border-top:1px solid #c4d0b7;padding:18px 0 0}}

.site-skip-link{position:fixed;top:-100px;left:16px;z-index:1000;background:#173f33;color:#fff8e9;padding:14px 20px;border-radius:4px;font:16px system-ui,sans-serif}.site-skip-link:focus{top:12px}.site-linkbar a:focus-visible,.tree-shortcuts :focus-visible,.branch-chapter-nav a:focus-visible,.reading-related a:focus-visible{outline:3px solid #a4762c;outline-offset:4px}

.family-follow{border-top:1px solid #c8d2ba;margin-top:30px;padding:25px 0 10px}.family-follow h3{font:27px/1.3 Georgia,serif;margin:12px 0}.family-follow p{font:16px/1.75 Georgia,serif;color:#54694f}.family-follow a{display:inline-block;color:#31593e;margin:10px 24px 10px 0;font:15px/1.5 system-ui,sans-serif;text-underline-offset:4px}

.resource-main{padding-top:34px}.resource-primary-filters{display:grid;grid-template-columns:1.8fr 1fr;gap:20px;align-items:end}.resource-main[data-resource-page=centers] .resource-primary-filters{grid-template-columns:1.5fr 1fr 1fr}.resource-more-filters{margin-top:16px;font-size:14px}.resource-more-filters>summary{cursor:pointer;color:#476044}.resource-more-filters>div{display:flex;align-items:end;gap:28px;padding-top:16px}.resource-more-filters>div>label:first-child{min-width:240px}.resource-filter-panel .resource-filter-foot{justify-content:flex-end;margin-top:10px}.resource-filter-foot button{font-size:14px}.resource-grid{gap:20px}.resource-card.has-preview{padding:22px}.resource-identity{margin-bottom:8px}.has-preview .resource-identity{display:grid;grid-template-columns:106px minmax(0,1fr);gap:17px;align-items:center}.resource-preview{margin:0;width:106px}.resource-preview>a{display:flex;align-items:center;justify-content:center;min-height:145px;background:#ececdf;border-radius:4px;padding:5px}.resource-preview img{width:auto;max-width:100%;height:auto;max-height:166px;object-fit:contain;display:block}.resource-preview figcaption{font:12px/1.4 system-ui,sans-serif;margin:8px 0 0;color:#7b806b}.resource-teacher .resource-preview>a{min-height:118px;background:#e7ece2}.resource-teacher .resource-preview img{max-height:145px}.resource-card .resource-identity h3,.resource-card .resource-identity h4,.resource-card .resource-identity h5{font:23px/1.25 Georgia,serif!important;margin:5px 0 12px!important}.resource-card .resource-identity .resource-author{font-size:14px!important;margin:0 0 8px}.resource-connections{font-size:13px;margin:10px 0 15px;color:#64765c}.resource-connections summary{cursor:pointer}.resource-connections .resource-branches{margin:12px 0 5px}.resource-source{font-size:15px}.resource-calendars{border-top:1px solid #cbd6be;margin-top:45px;padding-top:20px}.resource-calendars>p{margin-bottom:25px}.resource-calendars h2,.saved-type-heading{font:30px Georgia,serif;color:#32523b}.saved-type-heading{margin:35px 0 20px}.resource-selection-note{font-size:14px;margin:35px 0 0}.resource-results-heading:has(#resource-context:empty){justify-content:flex-end}.resource-storage-note:empty{display:none}.retreat-review{margin-top:25px}.resource-filter-panel [type=hidden]{display:none!important}
@media(max-width:1100px){.resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.resource-main{padding-top:28px}.resource-primary-filters,.resource-main[data-resource-page=centers] .resource-primary-filters{grid-template-columns:1fr}.resource-more-filters>div{flex-direction:column;align-items:stretch;gap:15px}.resource-more-filters>div>label:first-child{min-width:0}.resource-grid{grid-template-columns:1fr}.has-preview .resource-identity{grid-template-columns:96px minmax(0,1fr);gap:18px}.resource-preview{width:96px}.resource-card .resource-identity h3,.resource-card .resource-identity h4{font-size:25px!important}.resource-preview img{max-height:150px}.resource-filter-panel{padding:18px}.resource-results-heading{margin:20px 0 15px}}
/* Editorial shelves and scannable retreat listings */
.resource-curation{margin:0 0 1.5rem;padding:1.2rem 1.5rem;background:#eaf0e1;border-left:3px solid #657d50;line-height:1.65}.resource-curation p{margin:.3rem 0}.resource-curation nav,.curation-related{display:flex;gap:.7rem 1.4rem;flex-wrap:wrap;margin-top:.85rem!important}.resource-curation a{font-size:.9rem;text-underline-offset:4px}.shelf-heading{max-width:760px;margin:2.8rem 0 1.3rem}.shelf-heading h2{font:32px/1.2 Georgia,serif;color:#294d39;margin:.5rem 0}.shelf-heading p{font-size:16px;line-height:1.6;color:#55654e}.editorial-group{scroll-margin-top:30px}.resource-editorial{background:#f0f3e8;border-left:2px solid #a0b68c;padding:.8rem 1rem;margin:.75rem 0}.resource-editorial>strong{font:600 13px/1.5 system-ui,sans-serif;color:#3d5b34}.resource-card .resource-editorial p{font-size:14px!important;line-height:1.65;margin:.45rem 0 0}.resource-card .book-publication{font:12px/1.5 system-ui,sans-serif!important;color:#667258;margin:.6rem 0}.book-access{font:12px/1.5 system-ui,sans-serif;color:#667258;display:block;margin-top:.7rem}.resource-secondary-source{font-size:14px;display:block;margin-top:.7rem}.resource-main .resource-primary-filters{grid-template-columns:1.7fr 1fr 1fr}.resource-primary-filters>[type=hidden]{display:none}.resource-card.resource-book .resource-description{font-size:14px!important;color:#596c50}.resource-grid:has(>.retreat-row){display:block}.resource-card.retreat-row{display:grid;grid-template-columns:75px minmax(0,1fr) 145px;gap:24px;padding:24px 0;border:0;border-bottom:1px solid #cbd5c0;border-radius:0;background:transparent;box-shadow:none;margin:0}.retreat-date-block{display:flex;flex-direction:column;align-items:center;border-right:1px solid #cbd5c0;padding-right:18px;color:#39563b;align-self:start}.retreat-date-block>span{text-transform:uppercase;font:12px system-ui,sans-serif;letter-spacing:1px}.retreat-date-block>strong{font:38px/1.25 Georgia,serif}.retreat-date-block>small{font:12px/1.4 system-ui,sans-serif;text-align:center}.retreat-row-body h3{font:25px/1.25 Georgia,serif;margin:5px 0 8px;color:#264a35}.resource-card .retreat-organizer{font:600 12px/1.4 system-ui,sans-serif!important;text-transform:uppercase;letter-spacing:.5px;color:#657450;margin:0 0 6px}.resource-card .retreat-row-body .resource-author{font-size:15px!important;margin:6px 0}.resource-card .retreat-date,.resource-card .retreat-location,.resource-card .retreat-level{font-size:13px!important;margin:5px 0;line-height:1.5}.retreat-row-actions{display:flex;flex-direction:column;align-items:flex-end;gap:12px}.retreat-row-actions .resource-source{font-size:14px;margin:0}.retreat-details{font-size:14px;line-height:1.65;margin-top:14px}.retreat-details summary{cursor:pointer;color:#45603d}.retreat-details p{font-size:14px!important}.retreat-status{display:inline-block;font-size:12px!important;margin-top:7px;padding:4px 9px;border:1px solid #c8d2b9;border-radius:4px;color:#55644a;background:#f1f3e9}.status-open{background:#e4eddc;color:#315136;border-color:#a9be97}.status-waitlist{background:#f3ecdc;color:#78612d;border-color:#d5c498}.status-closed{background:#efede7;color:#716f63}.coverage-counts{display:flex;gap:2rem;flex-wrap:wrap;margin:1rem 0}.coverage-counts>span{font:13px/1.5 system-ui,sans-serif;color:#5a6b51}.coverage-counts strong{display:block;font:30px Georgia,serif;color:#355238}#retreat-coverage .site-disclosure{margin-bottom:1.5rem;font-size:14px}.coverage-table-wrap{overflow:auto}.coverage-table-wrap table{width:100%;border-collapse:collapse;text-align:left}.coverage-table-wrap th,.coverage-table-wrap td{padding:12px;border-bottom:1px solid #d2dac9;vertical-align:top}.coverage-table-wrap th{font-weight:500}.coverage-table-wrap td{line-height:1.55}.resource-curation :focus-visible,.retreat-details summary:focus-visible{outline:3px solid #a4762c;outline-offset:4px}@media(max-width:750px){.resource-main .resource-primary-filters{grid-template-columns:1fr 1fr}.resource-primary-filters>label:first-child{grid-column:1/-1}.resource-card.retreat-row{grid-template-columns:52px minmax(0,1fr);gap:15px}.retreat-row-actions{grid-column:2;flex-direction:row;align-items:center;justify-content:space-between}.retreat-date-block{padding-right:10px}.retreat-date-block>strong{font-size:31px}.retreat-row-body h3{font-size:23px}.resource-curation{padding:1rem}.shelf-heading h2{font-size:28px}}@media(max-width:450px){.resource-main .resource-primary-filters{grid-template-columns:1fr}.coverage-counts{gap:1.5rem}.retreat-row-body h3{font-size:21px}}

.teacher-support{margin-top:1.15rem;border-top:1px solid #d7ddd3;padding-top:1rem}.resource-card .teacher-support h4{font:600 .78rem/1.5 system-ui,sans-serif;letter-spacing:.07em;text-transform:uppercase;margin:0 0 .65rem;color:#466458}.teacher-support-option{margin:.6rem 0}.teacher-support-option .dana-button{display:inline-flex;gap:.5rem;align-items:center;min-height:44px;padding:.5rem .85rem;border:1px solid #8aab96;border-radius:7px;background:#e8efe4;color:#214537;font-weight:650;text-decoration:none;line-height:1.35;box-sizing:border-box}.teacher-support-option .dana-button:hover{background:#dce9d7}.teacher-support-option .dana-button:focus-visible{outline:3px solid #a67528;outline-offset:3px}.resource-card .teacher-support-option p{margin:.35rem 0 .8rem;font-size:.82rem;line-height:1.5;color:#52665d}.teacher-support small{font-size:.73rem;color:#627268;line-height:1.5;display:block}

/* Film stills retain their original proportions within the shared resource cards. */
.resource-card.resource-documentary .resource-preview>a,.resource-card.resource-documentary .resource-preview img{aspect-ratio:auto;height:auto;object-fit:contain;border-radius:4px}
.resource-main[data-resource-page=youtube] .editorial-group{scroll-margin-top:24px}

/* Retreat place and date filters stay together across screen sizes. */
.resource-main[data-resource-page=retreats] .resource-expanded-filters>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:end;margin-top:20px}
.resource-main[data-resource-page=retreats] .resource-expanded-filters label{min-width:0}
@media(max-width:450px){.resource-main[data-resource-page=retreats] .resource-expanded-filters>div{grid-template-columns:1fr}}
.resource-main[data-resource-page=retreats] .resource-primary-filters{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1.4fr) minmax(0,1fr)}
.resource-main[data-resource-page=retreats] .resource-primary-filters>label{min-width:0}
@media(max-width:900px){.resource-main[data-resource-page=retreats] .resource-primary-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.resource-main[data-resource-page=retreats] .resource-primary-filters>label:first-child{grid-column:auto}}
@media(max-width:450px){.resource-main[data-resource-page=retreats] .resource-primary-filters{grid-template-columns:1fr}}

/* Compact, reviewed teaching lineages stay beside the teacher identity. */
.resource-teaching-traditions{display:flex;flex-wrap:wrap;gap:4px 6px;margin:8px 0;max-width:100%}
html body .resource-teaching-traditions a{display:inline-flex;align-items:center;max-width:100%;box-sizing:border-box;padding:2px 8px;border:1px solid var(--a-line);border-radius:999px;background:var(--a-surface);color:var(--a-muted);font-size:calc(.75rem * var(--reading-scale,1));line-height:1.5;text-decoration:none;overflow-wrap:anywhere}
html body .resource-teaching-traditions a:hover{color:var(--a-ink);border-color:var(--room-accent)}

/* Teacher cards keep all quick actions together, aligned at the foot. */
.resource-card.resource-teacher{display:flex;flex-direction:column;min-width:0;overflow:visible}
.resource-teacher .resource-identity{align-items:center}
.resource-teacher .resource-identity .resource-author:empty{display:none}
.resource-teacher .resource-details{margin-bottom:18px}
.resource-teacher .teacher-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:8px 4px;margin-top:auto;padding-top:16px;border-top:1px solid var(--a-line,#d7ddd3)}
.teacher-toolbar .teacher-recording-links{display:contents;margin:0;padding:0;border:0}
.resource-teacher .teacher-toolbar .teacher-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;min-height:36px;margin:0;padding:7px 9px;border:1px solid var(--a-line,#cbd6c8);border-radius:6px;background:var(--a-surface,#f6f8f1);color:var(--a-ink,#284332);font:500 12px/20px system-ui,sans-serif;text-decoration:none;white-space:nowrap;cursor:pointer}
.teacher-toolbar .teacher-action svg{flex:none;width:15px;height:15px}
.resource-teacher .teacher-toolbar .teacher-action:hover{background:var(--a-card,#eaf0e6);border-color:var(--a-muted,#7c947c)}
.teacher-toolbar .teacher-action-count{font-size:10px;font-variant-numeric:tabular-nums;color:var(--a-muted,#607260);line-height:1}
.teacher-toolbar .teacher-dana-control{display:inline-flex;align-items:center;gap:1px;min-height:36px}
.teacher-action-info{position:relative;display:inline-flex;margin:0;padding:0;border:0}
.teacher-action-info>summary{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:28px;min-height:36px;padding:0;list-style:none;cursor:pointer;color:var(--a-muted,#607260);border-radius:6px}
.teacher-action-info>summary::-webkit-details-marker{display:none}
.teacher-action-info>summary::marker{content:''}
.teacher-action-info>summary::before,.teacher-action-info>summary::after{content:none!important}
.teacher-books-menu>summary.teacher-action{width:auto}
.teacher-action-info>summary:hover{color:var(--a-ink,#284332);background:var(--a-surface,#edf3e8)}
.teacher-toolbar a:focus-visible,.teacher-action-info>summary:focus-visible{outline:2px solid var(--a-accent,#9a772d);outline-offset:3px}
.teacher-action-info[open]{z-index:5}
.teacher-action-popover{position:absolute;bottom:calc(100% + 9px);left:0;width:min(300px,calc(100vw - 32px));max-height:min(360px,65vh);overflow:auto;box-sizing:border-box;padding:16px;border:1px solid var(--a-line,#cbd6c8);border-radius:9px;background:var(--a-card,#f9fbf5);color:var(--a-ink,#284332);box-shadow:0 8px 28px #14291924;text-align:left;white-space:normal;z-index:6}
.teacher-action-info:not([open])>.teacher-action-popover{display:none}
.teacher-action-popover.open-below{bottom:auto;top:calc(100% + 9px)}
.resource-card .teacher-action-popover strong{font:600 13px/1.4 system-ui,sans-serif}
.resource-card .teacher-action-popover p,.resource-card .teacher-action-popover li{font:400 13px/1.6 system-ui,sans-serif;margin:9px 0 0;color:var(--a-muted,#607260)}
.teacher-action-popover ul{padding:0;margin:8px 0 0;list-style:none}
.teacher-action-popover li a{display:block;padding:5px 0;line-height:1.5;color:var(--a-ink,#284332);text-decoration:underline;text-underline-offset:3px}
.teacher-filter-panel .teacher-filter-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:end}
@media(max-width:650px){.teacher-filter-panel .teacher-filter-options{grid-template-columns:1fr}.resource-teacher .teacher-toolbar .teacher-action{min-height:40px;padding:9px 10px}.teacher-action-info>summary{min-height:40px;width:32px}}

.teacher-filter-options .teacher-tradition-hint{grid-column:1/-1;margin:0;color:var(--muted);font-size:.8rem;line-height:1.5;font-weight:400}

/* Video collection tabs follow the Books collection switch. */
main[data-resource-page=youtube] #resource-page-intro:empty{display:none}
main[data-resource-page=youtube] .video-browse-switch{display:flex;flex-wrap:wrap;gap:4px;margin:0 0 24px;padding:4px;border:1px solid var(--a-line);border-radius:12px;background:var(--a-card);width:fit-content;max-width:100%;box-sizing:border-box}
main[data-resource-page=youtube] .video-browse-switch button{font:500 .875rem/1.4 var(--type-sans,system-ui);border:1px solid transparent;border-radius:8px;background:transparent;color:var(--a-muted);padding:10px 15px;min-height:44px;cursor:pointer}
main[data-resource-page=youtube] .video-browse-switch button[aria-pressed=true]{background:var(--a-surface);border-color:var(--a-line);color:var(--a-ink)}
main[data-resource-page=youtube] .video-browse-switch button:focus-visible{outline:2px solid var(--a-accent);outline-offset:2px}
@media(max-width:560px){main[data-resource-page=youtube] .video-browse-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;margin-bottom:20px}main[data-resource-page=youtube] .video-browse-switch button{padding:10px 8px;white-space:normal;min-width:0}}

/* In-page playback uses the same action rhythm as the resource cards. */
.resource-youtube .resource-action-row{display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px}
.resource-youtube .resource-video-play{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border:1px solid var(--a-line);border-radius:8px;background:var(--a-surface);color:var(--room-accent,var(--a-accent));font:500 .875rem/1.4 var(--type-sans,system-ui);cursor:pointer}
.resource-youtube .resource-video-play:hover{border-color:var(--room-accent,var(--a-accent))}
.resource-youtube .resource-action-row .resource-source{margin:0}
.resource-video-play svg{flex:none}
.resource-video-dialog{box-sizing:border-box;width:min(920px,94vw);max-width:94vw;max-height:94dvh;padding:22px;border:1px solid var(--a-line);border-radius:14px;background:var(--a-card);color:var(--a-ink);box-shadow:0 20px 80px #0005}
.resource-video-dialog::backdrop{background:#101914b3}
.resource-video-dialog header,.resource-video-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:18px}
.resource-video-dialog h2{font:500 1.125rem/1.45 var(--type-sans,system-ui);margin:0}
.resource-video-dialog button{flex:none;min-height:44px;padding:8px 16px;border:1px solid var(--a-line);border-radius:8px;background:var(--a-surface);color:var(--a-ink);cursor:pointer;font:500 .875rem/1.4 var(--type-sans,system-ui)}
.resource-video-dialog iframe{display:block;width:100%;aspect-ratio:16/9;height:auto;margin:20px 0;border:0;border-radius:8px;background:#000}
.resource-video-dialog footer{font:.8125rem/1.6 var(--type-sans,system-ui)}
.resource-video-dialog footer p{margin:0;color:var(--a-muted)}
.resource-video-dialog footer a{color:var(--room-accent,var(--a-accent));white-space:nowrap}
.resource-video-dialog :focus-visible{outline:2px solid var(--room-accent,var(--a-accent));outline-offset:4px}
@media(max-width:560px){.resource-video-dialog{padding:16px}.resource-video-dialog footer{align-items:flex-start;flex-direction:column;gap:8px}.resource-video-dialog h2{font-size:1rem}.resource-video-dialog iframe{margin-block:16px}}

/* Generated by scripts/build-themes.mjs; edit the authored stylesheet instead. */
@media screen{:where(html[data-theme="dark"]) .retreat-window p{color:hsl(148 30% 84% / 1)}:where(html[data-theme="dark"]) .retreat-window small{color:hsl(104 14% 81% / 1)}:where(html[data-theme="dark"]) fieldset.resource-scope legend{color:hsl(150 23% 83% / 1)}:where(html[data-theme="dark"]) fieldset.resource-scope span{border:1px solid hsl(92 20% 30% / 1);background:hsl(71 30% 12% / 1)}:where(html[data-theme="dark"]) fieldset.resource-scope input:checked+span{background:hsl(155 28% 24% / 1);color:hsl(55 48% 98% / 1);border-color:hsl(155 28% 48% / 1)}:where(html[data-theme="dark"]) fieldset.resource-scope input:focus-visible+span{outline:3px solid hsl(37 48% 80% / 1)}:where(html[data-theme="dark"]) .directory-group>h2{color:hsl(137 24% 84% / 1);border-bottom:1px solid hsl(89 22% 30% / 1)}:where(html[data-theme="dark"]) .resource-card .center-location{color:hsl(125 14% 81% / 1)}
:where(html[data-theme="dark"]) .resource-facts{border-top:1px solid hsl(84 17% 30% / 1);border-bottom:1px solid hsl(84 17% 30% / 1)}:where(html[data-theme="dark"]) .resource-facts dt{color:hsl(150 23% 83% / 1)}:where(html[data-theme="dark"]) .resource-facts dd{color:hsl(115 14% 81% / 1)}
:where(html[data-theme="dark"]) .branch-resources{border-top:1px solid hsl(90 22% 30% / 1)}:where(html[data-theme="dark"]) .resources-section-head>a{color:hsl(161 36% 84% / 1)}:where(html[data-theme="dark"]) .resource-scope{color:hsl(120 8% 81% / 1)}:where(html[data-theme="dark"]) .resource-card{border:1px solid hsl(84 17% 30% / 1);background:hsl(60 30% 12% / 1)}:where(html[data-theme="dark"]) .resource-card:before{background:hsl(76 20% 24% / 1)}:where(html[data-theme="dark"]) .resource-teacher:before{background:hsl(29 30% 24% / 1)}:where(html[data-theme="dark"]) .resource-talk:before{background:hsl(168 26% 24% / 1)}:where(html[data-theme="dark"]) .resource-retreat:before{background:hsl(39 29% 22% / 1)}:where(html[data-theme="dark"]) .resource-type{color:hsl(82 21% 81% / 1)}:where(html[data-theme="dark"]) .resource-save{border:1px solid hsl(87 19% 30% / 1)!important;color:hsl(150 23% 83% / 1)!important}:where(html[data-theme="dark"]) .resource-save[aria-pressed=true]{background:hsl(87 30% 14% / 1)!important;border-color:hsl(115 14% 48% / 1)!important}:where(html[data-theme="dark"]) .resource-level{color:hsl(36 35% 81% / 1)}:where(html[data-theme="dark"]) .resource-card h3,:where(html[data-theme="dark"]) .resource-card h5{color:hsl(153 24% 85% / 1)}:where(html[data-theme="dark"]) .resource-card .resource-author{color:hsl(109 10% 80% / 1)}:where(html[data-theme="dark"]) .resource-card .resource-meta,:where(html[data-theme="dark"]) .resource-reviewed{color:hsl(100 9% 80% / 1)}:where(html[data-theme="dark"]) .resource-branches a,:where(html[data-theme="dark"]) .resource-branches span{background:hsl(76 28% 13% / 1);color:hsl(137 16% 82% / 1)}:where(html[data-theme="dark"]) .resource-branches a:hover{background:hsl(92 25% 14% / 1)}:where(html[data-theme="dark"]) .resource-source{color:hsl(158 37% 84% / 1)}:where(html[data-theme="dark"]) .resource-card .retreat-date{color:hsl(137 23% 83% / 1)}:where(html[data-theme="dark"]) .retreat-status{color:hsl(38 42% 82% / 1);background:hsl(43 30% 13% / 1)}:where(html[data-theme="dark"]) .resource-hero h1{color:hsl(152 29% 85% / 1)}:where(html[data-theme="dark"]) .resource-hero p{color:hsl(123 9% 81% / 1)}:where(html[data-theme="dark"]) .resource-hero-art{background:linear-gradient(0deg,hsl(168 30% 13% / 0.478),transparent 55%),url("/assets/dawn-path.webp") center/cover}:where(html[data-theme="dark"]) .resource-hero-art span{color:hsl(41 48% 96% / 1)}:where(html[data-theme="dark"]) .resource-starts{border-top:1px solid hsl(89 20% 30% / 1);border-bottom:1px solid hsl(89 20% 30% / 1)}:where(html[data-theme="dark"]) .resource-starts button{border-right:1px solid hsl(89 20% 30% / 1);color:hsl(151 31% 84% / 1)}:where(html[data-theme="dark"]) .resource-starts button:hover{background:hsl(84 30% 13% / 1)}:where(html[data-theme="dark"]) .resource-starts small{color:hsl(68 18% 80% / 1)}:where(html[data-theme="dark"]) .resource-starts span{color:hsl(117 11% 80% / 1)}:where(html[data-theme="dark"]) .resource-filter-panel{background:hsl(83 30% 13% / 1);border:1px solid hsl(89 22% 30% / 1)}:where(html[data-theme="dark"]) .resource-filter-panel label{color:hsl(124 17% 82% / 1)}:where(html[data-theme="dark"]) .resource-filter-panel input[type=search],:where(html[data-theme="dark"]) .resource-filter-panel select{border:1px solid hsl(89 21% 30% / 1);background:hsl(53 30% 11% / 1);color:hsl(148 30% 84% / 1)}:where(html[data-theme="dark"]) .resource-check input{accent-color:hsl(133 22% 82% / 1)}:where(html[data-theme="dark"]) .resource-check span{background:hsl(89 26% 15% / 1)}:where(html[data-theme="dark"]) .resource-filter-foot button,:where(html[data-theme="dark"]) .resource-empty button{color:hsl(143 25% 83% / 1)}:where(html[data-theme="dark"]) .resource-storage-note{color:hsl(100 12% 80% / 1)}:where(html[data-theme="dark"]) .resource-results-heading{color:hsl(96 12% 80% / 1)}:where(html[data-theme="dark"]) .resource-result-group>h2{border-bottom:1px solid hsl(87 19% 30% / 1)}:where(html[data-theme="dark"]) .resource-result-group>h2 span{color:hsl(88 11% 79% / 1)}:where(html[data-theme="dark"]) .resource-empty{border:1px dashed hsl(89 22% 30% / 1)}:where(html[data-theme="dark"]) .resource-selection{border-top:1px solid hsl(89 20% 30% / 1)}:where(html[data-theme="dark"]) .resource-selection p{color:hsl(99 10% 80% / 1)}:where(html[data-theme="dark"]) .resource-card :focus-visible,:where(html[data-theme="dark"]) .resource-filter-panel :focus-visible,:where(html[data-theme="dark"]) .resource-starts :focus-visible{outline:3px solid hsl(37 48% 80% / 1)}:where(html[data-theme="dark"]) .tree-shortcuts label{color:hsl(107 15% 81% / 1)}:where(html[data-theme="dark"]) .tree-shortcuts select{border:1px solid hsl(85 24% 30% / 1);background:hsl(50 30% 12% / 1);color:hsl(155 36% 84% / 1)}:where(html[data-theme="dark"]) .site-linkbar{border-bottom:1px solid hsl(88 16% 30% / 1);background:hsl(78 30% 13% / 1)}:where(html[data-theme="dark"]) .site-linkbar a{color:hsl(146 27% 83% / 1)}:where(html[data-theme="dark"]) .branch-chapter-nav{border-bottom:1px solid hsl(87 20% 30% / 1)}:where(html[data-theme="dark"]) .branch-chapter-nav a{color:hsl(124 16% 81% / 1)}:where(html[data-theme="dark"]) .reading-related{border:1px solid hsl(87 20% 30% / 1);background:hsl(83 30% 13% / 1)}:where(html[data-theme="dark"]) .reading-related p{color:hsl(108 13% 81% / 1)}:where(html[data-theme="dark"]) .reading-resume{border:1px solid hsl(88 23% 30% / 1);background:hsl(82 30% 13% / 1);color:hsl(118 21% 82% / 1)}:where(html[data-theme="dark"]) .reading-resume button{color:hsl(122 24% 82% / 1)}:where(html[data-theme="dark"]) .reading-progress{background:hsl(96 22% 24% / 1)}:where(html[data-theme="dark"]) .reading-toc a[aria-current=location]{color:hsl(133 28% 83% / 1);border-left:2px solid hsl(96 25% 48% / 1)}:where(html[data-theme="dark"]) .resume-reading-card{background:hsl(83 30% 13% / 1);border:1px solid hsl(90 23% 30% / 1);color:hsl(138 24% 83% / 1)}@media(max-width:650px){:where(html[data-theme="dark"]) .resource-starts button{border-bottom:1px solid hsl(89 20% 30% / 1)}}@media(max-width:650px){:where(html[data-theme="dark"]) .resource-starts button{border:1px solid hsl(89 20% 30% / 1)!important}}

:where(html[data-theme="dark"]) .subject-resource-link{border:1px solid hsl(87 24% 30% / 1);background:hsl(86 30% 13% / 1);color:hsl(139 26% 84% / 1)}:where(html[data-theme="dark"]) .subject-resource-link:hover{background:hsl(91 30% 14% / 1)}
:where(html[data-theme="dark"]) .reading-original{background:hsl(45 30% 13% / 1);border-color:hsl(44 33% 30% / 1)}:where(html[data-theme="dark"]) .reading-original .source-review{color:hsl(48 13% 80% / 1)}

:where(html[data-theme="dark"]) #resource-reading-bridge{background:hsl(83 30% 13% / 1);border-left:3px solid hsl(43 28% 48% / 1)}:where(html[data-theme="dark"]) #resource-reading-bridge p{color:hsl(120 12% 82% / 1)}:where(html[data-theme="dark"]) #resource-reading-bridge a{color:hsl(139 27% 83% / 1)}:where(html[data-theme="dark"]) #resource-reading-bridge aside{border-left:1px solid hsl(89 21% 30% / 1)}:where(html[data-theme="dark"]) #resource-reading-bridge small{color:hsl(95 12% 80% / 1)}@media(max-width:650px){:where(html[data-theme="dark"]) #resource-reading-bridge aside{border-top:1px solid hsl(89 21% 30% / 1)}}

:where(html[data-theme="dark"]) .site-skip-link{background:hsl(162 30% 17% / 1);color:hsl(41 48% 96% / 1)}:where(html[data-theme="dark"]) .site-linkbar a:focus-visible,:where(html[data-theme="dark"]) .tree-shortcuts :focus-visible,:where(html[data-theme="dark"]) .branch-chapter-nav a:focus-visible,:where(html[data-theme="dark"]) .reading-related a:focus-visible{outline:3px solid hsl(37 48% 80% / 1)}

:where(html[data-theme="dark"]) .family-follow{border-top:1px solid hsl(85 21% 30% / 1)}:where(html[data-theme="dark"]) .family-follow p{color:hsl(108 14% 81% / 1)}:where(html[data-theme="dark"]) .family-follow a{color:hsl(140 29% 83% / 1)}:where(html[data-theme="dark"]) .resource-more-filters>summary{color:hsl(114 17% 82% / 1)}:where(html[data-theme="dark"]) .resource-preview>a{background:hsl(60 25% 13% / 1)}:where(html[data-theme="dark"]) .resource-preview figcaption{color:hsl(74 9% 79% / 1)}:where(html[data-theme="dark"]) .resource-teacher .resource-preview>a{background:hsl(90 21% 13% / 1)}:where(html[data-theme="dark"]) .resource-connections{color:hsl(102 12% 80% / 1)}:where(html[data-theme="dark"]) .resource-calendars{border-top:1px solid hsl(88 23% 30% / 1)}:where(html[data-theme="dark"]) .resource-calendars h2,:where(html[data-theme="dark"]) .saved-type-heading{color:hsl(137 24% 84% / 1)}
:where(html[data-theme="dark"]) .resource-curation{background:hsl(84 30% 13% / 1);border-left:3px solid hsl(92 22% 48% / 1)}:where(html[data-theme="dark"]) .shelf-heading h2{color:hsl(147 31% 84% / 1)}:where(html[data-theme="dark"]) .shelf-heading p{color:hsl(102 13% 81% / 1)}:where(html[data-theme="dark"]) .resource-editorial{background:hsl(76 30% 13% / 1);border-left:2px solid hsl(91 22% 30% / 1)}:where(html[data-theme="dark"]) .resource-editorial>strong{color:hsl(106 27% 83% / 1)}:where(html[data-theme="dark"]) .resource-card .book-publication{color:hsl(88 13% 80% / 1)}:where(html[data-theme="dark"]) .book-access{color:hsl(88 13% 80% / 1)}:where(html[data-theme="dark"]) .resource-card.resource-book .resource-description{color:hsl(101 15% 81% / 1)}:where(html[data-theme="dark"]) .resource-card.retreat-row{border-bottom:1px solid hsl(89 20% 30% / 1)}:where(html[data-theme="dark"]) .retreat-date-block{border-right:1px solid hsl(89 20% 30% / 1);color:hsl(124 20% 83% / 1)}:where(html[data-theme="dark"]) .retreat-row-body h3{color:hsl(145 32% 84% / 1)}:where(html[data-theme="dark"]) .resource-card .retreat-organizer{color:hsl(85 18% 81% / 1)}:where(html[data-theme="dark"]) .retreat-details summary{color:hsl(106 22% 82% / 1)}:where(html[data-theme="dark"]) .retreat-status{border:1px solid hsl(84 22% 30% / 1);color:hsl(95 15% 82% / 1);background:hsl(72 29% 13% / 1)}:where(html[data-theme="dark"]) .status-open{background:hsl(92 30% 13% / 1);color:hsl(129 25% 84% / 1);border-color:hsl(92 23% 30% / 1)}:where(html[data-theme="dark"]) .status-waitlist{background:hsl(42 30% 13% / 1);color:hsl(42 45% 82% / 1);border-color:hsl(43 38% 30% / 1)}:where(html[data-theme="dark"]) .status-closed{background:hsl(45 20% 13% / 1);color:hsl(51 7% 80% / 1)}:where(html[data-theme="dark"]) .coverage-counts>span{color:hsl(99 14% 81% / 1)}:where(html[data-theme="dark"]) .coverage-counts strong{color:hsl(126 21% 83% / 1)}:where(html[data-theme="dark"]) .coverage-table-wrap th,:where(html[data-theme="dark"]) .coverage-table-wrap td{border-bottom:1px solid hsl(88 19% 30% / 1)}:where(html[data-theme="dark"]) .resource-curation :focus-visible,:where(html[data-theme="dark"]) .retreat-details summary:focus-visible{outline:3px solid hsl(37 48% 80% / 1)}

:where(html[data-theme="dark"]) .teacher-support{border-top:1px solid hsl(96 13% 30% / 1)}:where(html[data-theme="dark"]) .resource-card .teacher-support h4{color:hsl(156 18% 82% / 1)}:where(html[data-theme="dark"]) .teacher-support-option .dana-button{border:1px solid hsl(142 16% 30% / 1);background:hsl(98 26% 13% / 1);color:hsl(157 35% 85% / 1)}:where(html[data-theme="dark"]) .teacher-support-option .dana-button:hover{background:hsl(103 29% 14% / 1)}:where(html[data-theme="dark"]) .teacher-support-option .dana-button:focus-visible{outline:3px solid hsl(37 48% 80% / 1)}:where(html[data-theme="dark"]) .resource-card .teacher-support-option p{color:hsl(153 11% 81% / 1)}:where(html[data-theme="dark"]) .teacher-support small{color:hsl(142 8% 80% / 1)}
:where(html[data-theme="dark"]) .resource-teacher .teacher-toolbar{border-top:1px solid var(--a-line,hsl(96 13% 30% / 1))}
:where(html[data-theme="dark"]) .resource-teacher .teacher-toolbar .teacher-action{border:1px solid var(--a-line,hsl(107 15% 30% / 1));background:var(--a-surface,hsl(77 30% 12% / 1));color:var(--a-ink,hsl(142 25% 85% / 1))}
:where(html[data-theme="dark"]) .resource-teacher .teacher-toolbar .teacher-action:hover{background:var(--a-card,hsl(96 25% 13% / 1));border-color:var(--a-muted,hsl(120 10% 48% / 1))}
:where(html[data-theme="dark"]) .teacher-toolbar .teacher-action-count{color:var(--a-muted,hsl(120 9% 80% / 1))}
:where(html[data-theme="dark"]) .teacher-action-info>summary{color:var(--a-muted,hsl(120 9% 80% / 1))}
:where(html[data-theme="dark"]) .teacher-action-info>summary:hover{color:var(--a-ink,hsl(142 25% 85% / 1));background:var(--a-surface,hsl(93 30% 13% / 1))}
:where(html[data-theme="dark"]) .teacher-toolbar a:focus-visible,:where(html[data-theme="dark"]) .teacher-action-info>summary:focus-visible{outline:2px solid var(--a-accent,hsl(41 48% 81% / 1))}
:where(html[data-theme="dark"]) .teacher-action-popover{border:1px solid var(--a-line,hsl(107 15% 30% / 1));background:var(--a-card,hsl(80 30% 12% / 1));color:var(--a-ink,hsl(142 25% 85% / 1))}
:where(html[data-theme="dark"]) .resource-card .teacher-action-popover p,:where(html[data-theme="dark"]) .resource-card .teacher-action-popover li{color:var(--a-muted,hsl(120 9% 80% / 1))}
:where(html[data-theme="dark"]) .teacher-action-popover li a{color:var(--a-ink,hsl(142 25% 85% / 1))}
:where(html[data-theme="dark"]) .resource-video-dialog::backdrop{background:hsl(147 22% 8% / 0.702)}
:where(html[data-theme="dark"]) .resource-video-dialog iframe{background:hsl(0 0% 0% / 1)}}
