:root{--ink:#25443a;--muted:#6c7666;--paper:#fbf8ef;--gold:#ae8746;--reading-size:22px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.6 Arial,Helvetica,sans-serif}a{color:inherit;text-underline-offset:4px}button{font:inherit;cursor:pointer;background:#f6f0df;border:1px solid #cbd1b8;color:var(--ink);border-radius:5px;min-height:42px;padding:8px 13px}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #b68b3e;outline-offset:5px}.skip-link{position:fixed;top:-100px;left:20px;z-index:30;padding:12px;background:#fff}.skip-link:focus{top:10px}.room-nav{position:sticky;top:0;z-index:10;display:flex;justify-content:space-between;align-items:center;gap:20px;background:#173e35f7;color:#f4e8c9;padding:15px 5%;border-bottom:1px solid #c8a365;backdrop-filter:blur(9px)}.room-brand{text-decoration:none;font:21px Georgia,serif;display:flex;align-items:center;gap:12px}.room-brand>span{font-size:29px;color:#ddbd79}.room-nav nav{display:flex;gap:22px;font-size:14px}.eyebrow{display:block;font-size:12px;letter-spacing:2px;font-weight:bold;color:#8a7449}.reading-heading{max-width:850px;margin:0 auto;padding:55px 35px 35px;text-align:center}.back-index{display:block;font-size:14px;margin-bottom:36px;color:#657961;text-decoration:none}.reading-heading h1{font:clamp(40px,6vw,70px)/1.08 Georgia,serif;letter-spacing:-1.7px;margin:22px 0}.reading-subtitle{font:italic 22px/1.4 Georgia,serif;color:#7b7b60;margin:0 0 26px}.translation-credit{font-size:14px;margin:15px 0 9px}.source-link{font-size:14px}.editorial-note{font-size:14px;line-height:1.65;color:#77806b;max-width:600px;margin:17px auto}.reading-image{max-width:1040px;margin:22px auto 58px}.reading-image .wide-art{width:100%;height:auto;display:block;border-radius:3px}.reading-image figcaption{font:italic 14px/1.6 Georgia,serif;color:#81836d;padding:13px 20px;text-align:center}.image-window{height:440px;position:relative;overflow:hidden;border-radius:3px}.image-window img{position:absolute;width:300%;max-width:none;height:auto;left:-200%;top:38%;transform:translateY(-38%)}.reading-layout{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:220px minmax(0,1fr);gap:65px;padding:0 40px}.reading-toc{position:sticky;top:105px;align-self:start;font-size:14px;border-left:1px solid #d4c49e;padding:7px 0 7px 20px;max-height:calc(100vh - 130px);overflow:auto}.reading-toc strong{font-size:12px;text-transform:uppercase;letter-spacing:1px;color:#8e7b4e;display:block;margin-bottom:15px}.reading-toc a{display:block;padding:7px 0;text-decoration:none;color:#778369;line-height:1.5}.reading-toc a:hover{color:#25443a;text-decoration:underline}.reading-prose{max-width:740px;min-width:0}.reading-overview{font-size:16px;color:#5f725e;border-top:1px solid #d5dbc5;border-bottom:1px solid #d5dbc5;padding:16px 0;margin:0 0 45px}.reading-overview summary{cursor:pointer}.reading-overview p{font-size:17px;line-height:1.7}.text-section{margin:0 0 55px;scroll-margin-top:100px}.text-section h2{font:30px/1.25 Georgia,serif;margin:0 0 24px;color:#746b48;letter-spacing:-.3px}.translated-text{font:var(--reading-size)/1.95 Georgia,'Times New Roman',serif;color:#2e463b}.translated-text p{margin:0 0 25px}.translated-text .verse{line-height:2.05}.reading-prose .reading-image{margin:22px -25px 65px}.reading-prose .image-window{height:370px}.colophon{border-top:1px solid #cbd4bb;padding-top:25px;margin:50px 0}.colophon h2{font:23px Georgia,serif}.colophon p{font:15px/1.8 Arial,sans-serif;color:#6b7965}.reading-options{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:24px 0 17px}.reading-options>span{width:100%;font-size:12px;color:#7f826b}.reading-options button[aria-pressed=true]{background:#234d40;color:#fff2cf}.reading-end{max-width:760px;text-align:center;margin:45px auto 90px;padding:35px 25px;border-top:1px solid #cbd4bb}.reading-end p{font:italic 25px Georgia,serif}.reading-end>a{font-size:15px;display:inline-block;margin:10px 15px}.room-footer{border-top:1px solid #d4d9c5;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:28px 5%;font-size:14px;color:#6c7c67}.index-main{max-width:1180px;margin:0 auto;padding:0 35px}.index-heading{padding:60px 0 38px;max-width:680px}.index-heading h1{font:clamp(42px,6vw,72px)/1.07 Georgia,serif;letter-spacing:-1.5px;margin:20px 0 25px}.index-heading p{font-size:18px;line-height:1.75;max-width:580px;color:#697961}.index-counts{display:flex;gap:20px;flex-wrap:wrap;font-size:13px;color:#857749;margin-top:25px}.featured-readings{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:45px}.featured-readings>a{position:relative;min-height:285px;padding:30px;display:flex;flex-direction:column;justify-content:end;text-decoration:none;color:#fff5dc;overflow:hidden;border-radius:7px;background:linear-gradient(0deg,#153d32ed,#143b3240),url("/assets/village.webp") center/cover;border:1px solid #bca06d}.featured-readings .featured-love{background-image:linear-gradient(0deg,#153d32ed,#143b3240),url("/assets/living-suttas.webp");background-size:cover,300% auto;background-position:center,right 38%}.featured-readings span{font-size:12px;letter-spacing:1.7px;color:#f0d6a0}.featured-readings strong{font:34px/1.15 Georgia,serif;margin:14px 0 20px}.featured-readings small{font-size:14px}.featured-readings a:hover{filter:brightness(1.07)}.collection-jumps{display:flex;gap:14px 25px;flex-wrap:wrap;padding:20px 0;border-top:1px solid #d2d6be;border-bottom:1px solid #d2d6be;font-size:14px}.index-section{margin:40px 0;scroll-margin-top:100px}.index-section>h2{font:27px Georgia,serif;margin:0 0 24px}.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 25px}.catalog-entry{text-decoration:none;padding:20px 0;border-top:1px solid #d6ddc8;min-width:0}.catalog-entry:hover h3{text-decoration:underline;text-underline-offset:5px}.catalog-kind{font-size:12px;letter-spacing:1px;color:#937a48;text-transform:uppercase}.catalog-entry h3{font:23px/1.3 Georgia,serif;margin:10px 0}.catalog-entry p{font-size:14px;line-height:1.5;margin:0;color:#718168}.library-scope{font-size:14px;line-height:1.75;color:#7a826c;border-top:1px solid #d4dac5;margin:45px 0 70px;padding-top:25px}.study-prose{font:22px/1.9 Georgia,serif;max-width:740px;margin:0 auto 60px;padding:0 30px}.study-prose>p{margin-bottom:28px}.study-prose .guide-end{font:14px/1.7 Arial,sans-serif;color:#748068;border-top:1px solid #d2d9c3;padding-top:22px}
@media(max-width:850px){.reading-layout{grid-template-columns:170px minmax(0,1fr);gap:30px;padding:0 25px}.reading-prose .reading-image{margin-left:0;margin-right:0}.catalog-grid{grid-template-columns:1fr 1fr}.featured-readings strong{font-size:29px}.reading-heading{padding-top:40px}.reading-image{margin-left:20px;margin-right:20px}.image-window{height:360px}.room-brand{font-size:18px}}
@media(max-width:640px){html{scroll-padding-top:130px}.room-nav{position:relative;align-items:flex-start;flex-direction:column;gap:8px;padding:16px 22px}.room-nav nav{gap:20px}.reading-heading{padding:30px 24px}.reading-heading h1{font-size:46px;letter-spacing:-1px}.reading-subtitle{font-size:20px}.back-index{margin-bottom:25px}.reading-image{margin:10px 16px 38px}.image-window{height:280px}.reading-layout{display:block;padding:0 25px}.reading-toc{position:relative;top:0;max-height:none;margin-bottom:36px;display:flex;flex-wrap:wrap;gap:5px 18px;border-left:0;border-top:1px solid #d4c49e;border-bottom:1px solid #d4c49e;padding:16px 0}.reading-toc strong{width:100%;margin-bottom:7px}.reading-toc a{font-size:13px;padding:4px 0;max-width:100%}.reading-options{width:100%;margin:9px 0;align-items:center}.reading-options>span{width:auto}.reading-prose .image-window{height:270px}.text-section h2{font-size:26px}.translated-text{font-size:var(--reading-size);line-height:1.9}.text-section{margin-bottom:40px}.reading-end{margin:30px 24px 55px;padding:28px 0}.reading-end p{line-height:1.5}.index-main{padding:0 23px}.index-heading{padding-top:35px}.index-heading h1{font-size:50px}.index-counts{gap:10px 15px}.featured-readings{grid-template-columns:1fr;gap:16px}.featured-readings>a{min-height:240px;padding:25px}.featured-readings strong{font-size:33px}.catalog-grid{grid-template-columns:1fr}.catalog-entry{padding:18px 0}.index-section>h2{font-size:25px}.room-footer{display:flex;flex-direction:column;gap:13px;padding:25px}.reading-image figcaption{font-size:13px}.study-prose{font-size:21px;padding:0 25px}.editorial-note{font-size:13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}@media print{.room-nav,.reading-toc,.reading-end,.room-footer,.back-index,.reading-options,.skip-link{display:none}.reading-layout{display:block;padding:0}.reading-prose{max-width:none}.reading-heading{padding:0 0 20px}.reading-image{max-width:70%;break-inside:avoid}.translated-text{font-size:12pt;line-height:1.7}body{background:white;color:black}.text-section h2{break-after:avoid}.text-section{margin-bottom:25px}}

.featured-readings>a{background-image:linear-gradient(0deg,#153d32ed,#143b3240),url("/assets/breath-grove.webp")}.featured-readings .featured-love{background-image:linear-gradient(0deg,#153d32ed,#143b3240),url("/assets/boundless-beings.webp");background-size:cover;background-position:center}.reading-image img{object-fit:contain}.room-nav nav{flex-wrap:wrap}.study-prose .reading-image{margin:35px 0}.reading-image .wide-art{height:auto}@media(max-width:640px){.room-nav nav{gap:10px 18px}}

/* One proportional text preference throughout a reading, including Atlas prose.
   Absolute/rem bases avoid compounding when differently sized elements nest. */
#reading-main{--reading-scale:1;font-size:calc(16px * var(--reading-scale))}
#reading-main .reading-heading h1{font-size:calc(clamp(2rem,3.5vw,2.75rem) * var(--reading-scale))}
#reading-main .reading-subtitle{font-size:calc(28px * var(--reading-scale))}
#reading-main .back-index,#reading-main .translation-credit,#reading-main .source-link,#reading-main .editorial-note{font-size:calc(14px * var(--reading-scale))}
#reading-main .eyebrow{font-size:calc(12px * var(--reading-scale))}
#reading-main .reading-toc,#reading-main .reading-toc a{font-size:calc(14px * var(--reading-scale))}
#reading-main .reading-toc strong,#reading-main .reading-options>span{font-size:calc(12px * var(--reading-scale))}
#reading-main .reading-options button,#reading-main .account-reading-tools button{font-size:calc(14px * var(--reading-scale))}
#reading-main .reading-heading .reading-options{justify-content:center;margin-bottom:0}
#reading-main .reading-overview{font-size:calc(16px * var(--reading-scale))}
#reading-main .reading-overview p{font-size:calc(17px * var(--reading-scale))}
#reading-main .translated-text,#reading-main .study-prose{font-size:calc(22px * var(--reading-scale))}
#reading-main .text-section h2{font-size:calc(37px * var(--reading-scale))}
#reading-main .reading-image figcaption,#reading-main .study-prose .guide-end{font-size:calc(14px * var(--reading-scale))}
#reading-main .colophon h2{font-size:calc(23px * var(--reading-scale))}
#reading-main .colophon p,#reading-main .reading-end>a{font-size:calc(15px * var(--reading-scale))}
#reading-main .reading-related h2{font-size:calc(39px * var(--reading-scale))}
#reading-main .reading-related p,#reading-main .reading-related>a{font-size:calc(17px * var(--reading-scale))}
#reading-main .foundation-reader-nav,#reading-main .reading-resume{font-size:calc(.875rem * var(--reading-scale))}
#reading-main .foundation-reflection h2{font-size:calc(1.5rem * var(--reading-scale))}
#reading-main .av-explorer,#reading-main .av-explorer p,#reading-main .av-explorer button,#reading-main .av-explorer select{font-size:calc(1rem * var(--reading-scale))}
#reading-main .av-explorer h2,#reading-main .av-explorer h3{font-size:calc(clamp(1.5rem,2.5vw,2rem) * var(--reading-scale))}
#reading-main .av-explorer h4{font-size:calc(1.1rem * var(--reading-scale))}
#reading-main .av-kicker{font-size:calc(.72rem * var(--reading-scale))}
#reading-main .av-relation{font-size:calc(.75rem * var(--reading-scale))}
#reading-main .av-spokes small{font-size:calc(.8rem * var(--reading-scale))}
#reading-main .av-note{font-size:calc(.85rem * var(--reading-scale))!important}
#reading-main .av-card p,#reading-main .av-links a,#reading-main .reading-connection-fallback li p,#reading-main .reading-connections-jump{font-size:calc(.9rem * var(--reading-scale))}
@media(max-width:650px){
 #reading-main .reading-heading h1{font-size:calc(2rem * var(--reading-scale))}
 #reading-main .reading-subtitle{font-size:calc(26px * var(--reading-scale))}
 #reading-main .text-section h2{font-size:calc(32px * var(--reading-scale))}
 #reading-main .av-spokes strong{font-size:calc(.9rem * var(--reading-scale))}
}
#reading-main .foundation-question>span{font-size:calc(.75rem * var(--reading-scale))}
#reading-main .tara-art figcaption{font-size:calc(.8rem * var(--reading-scale))}
#reading-main .tara-verse-index h3{font-size:calc(1rem * var(--reading-scale))}
#reading-main .tara-verse-index h3 span{font-size:calc(.75rem * var(--reading-scale))}
#reading-main .tara-verse-index p{font-size:calc(.83rem * var(--reading-scale))}
#reading-main .tara-verse-section .editorial-note{font-size:calc(.875rem * var(--reading-scale))}
#reading-main .eyebrow{font-size:calc(12px * var(--reading-scale))!important}
#reading-main .reading-related a{font-size:calc(14px * var(--reading-scale))}
#reading-main .av-card h4 a{font-size:calc(1.1rem * var(--reading-scale))}
#reading-main .av-hub strong{font-size:calc(1.5rem * var(--reading-scale))}
#reading-main .iq-passage-links,#reading-main .iq-passage-links strong,#reading-main .iq-passage-links a,#reading-main .iq-passage-links small{font-size:calc(15px * var(--reading-scale))}

/* Generated by scripts/build-themes.mjs; edit the authored stylesheet instead. */
@media screen{:root:where([data-theme="dark"]){--ink:hsl(161 30% 85% / 1);--muted:hsl(98 7% 80% / 1);--paper:hsl(45 30% 12% / 1);--gold:hsl(38 43% 79% / 1)}:where(html[data-theme="dark"]) button{background:hsl(44 30% 13% / 1);border:1px solid hsl(74 21% 30% / 1)}:where(html[data-theme="dark"]) a:focus-visible,:where(html[data-theme="dark"]) button:focus-visible,:where(html[data-theme="dark"]) summary:focus-visible{outline:3px solid hsl(38 48% 79% / 1)}:where(html[data-theme="dark"]) .skip-link{background:hsl(0 0% 11% / 1)}:where(html[data-theme="dark"]) .room-nav{background:hsl(166 30% 17% / 0.969);color:hsl(43 48% 87% / 1);border-bottom:1px solid hsl(38 38% 48% / 1)}:where(html[data-theme="dark"]) .room-brand>span{color:hsl(41 48% 74% / 1)}:where(html[data-theme="dark"]) .eyebrow{color:hsl(40 31% 80% / 1)}:where(html[data-theme="dark"]) .back-index{color:hsl(110 11% 80% / 1)}:where(html[data-theme="dark"]) .reading-subtitle{color:hsl(60 12% 80% / 1)}:where(html[data-theme="dark"]) .editorial-note{color:hsl(86 9% 79% / 1)}:where(html[data-theme="dark"]) .reading-image figcaption{color:hsl(65 9% 79% / 1)}:where(html[data-theme="dark"]) .reading-toc{border-left:1px solid hsl(42 38% 30% / 1)}:where(html[data-theme="dark"]) .reading-toc strong{color:hsl(42 29% 80% / 1)}:where(html[data-theme="dark"]) .reading-toc a{color:hsl(88 11% 79% / 1)}:where(html[data-theme="dark"]) .reading-toc a:hover{color:hsl(161 30% 85% / 1)}:where(html[data-theme="dark"]) .reading-overview{color:hsl(117 10% 80% / 1);border-top:1px solid hsl(76 23% 30% / 1);border-bottom:1px solid hsl(76 23% 30% / 1)}:where(html[data-theme="dark"]) .text-section h2{color:hsl(48 23% 81% / 1)}:where(html[data-theme="dark"]) .translated-text{color:hsl(153 21% 84% / 1)}:where(html[data-theme="dark"]) .colophon{border-top:1px solid hsl(82 23% 30% / 1)}:where(html[data-theme="dark"]) .colophon p{color:hsl(102 9% 80% / 1)}:where(html[data-theme="dark"]) .reading-options>span{color:hsl(68 10% 79% / 1)}:where(html[data-theme="dark"]) .reading-options button[aria-pressed=true]{background:hsl(161 30% 22% / 1);color:hsl(44 48% 91% / 1)}:where(html[data-theme="dark"]) .reading-end{border-top:1px solid hsl(82 23% 30% / 1)}:where(html[data-theme="dark"]) .room-footer{border-top:1px solid hsl(75 21% 30% / 1);color:hsl(106 9% 79% / 1)}:where(html[data-theme="dark"]) .index-heading p{color:hsl(100 11% 80% / 1)}:where(html[data-theme="dark"]) .index-counts{color:hsl(46 29% 80% / 1)}:where(html[data-theme="dark"]) .featured-readings>a{color:hsl(43 48% 93% / 1);background:linear-gradient(0deg,hsl(164 30% 16% / 0.929),hsl(166 30% 15% / 0.251)),url("/assets/village.webp") center/cover;border:1px solid hsl(39 37% 48% / 1)}:where(html[data-theme="dark"]) .featured-readings .featured-love{background-image:linear-gradient(0deg,hsl(164 30% 16% / 0.929),hsl(166 30% 15% / 0.251)),url("/assets/living-suttas.webp")}:where(html[data-theme="dark"]) .featured-readings span{color:hsl(41 48% 78% / 1)}:where(html[data-theme="dark"]) .collection-jumps{border-top:1px solid hsl(70 23% 30% / 1);border-bottom:1px solid hsl(70 23% 30% / 1)}:where(html[data-theme="dark"]) .catalog-entry{border-top:1px solid hsl(80 24% 30% / 1)}:where(html[data-theme="dark"]) .catalog-kind{color:hsl(40 34% 80% / 1)}:where(html[data-theme="dark"]) .catalog-entry p{color:hsl(98 11% 79% / 1)}:where(html[data-theme="dark"]) .library-scope{color:hsl(82 9% 79% / 1);border-top:1px solid hsl(77 22% 30% / 1)}:where(html[data-theme="dark"]) .study-prose .guide-end{color:hsl(90 10% 79% / 1);border-top:1px solid hsl(79 22% 30% / 1)}
@media(max-width:640px){:where(html[data-theme="dark"]) .reading-toc{border-top:1px solid hsl(42 38% 30% / 1);border-bottom:1px solid hsl(42 38% 30% / 1)}}

:where(html[data-theme="dark"]) .featured-readings>a{background-image:linear-gradient(0deg,hsl(164 30% 16% / 0.929),hsl(166 30% 15% / 0.251)),url("/assets/breath-grove.webp")}:where(html[data-theme="dark"]) .featured-readings .featured-love{background-image:linear-gradient(0deg,hsl(164 30% 16% / 0.929),hsl(166 30% 15% / 0.251)),url("/assets/boundless-beings.webp")}}

/* 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)}}

/* One principal job on each surface. */#tree-stages{display:flex;gap:8px;margin:20px 0 12px}#tree-stages button{padding:10px 15px;background:transparent;border:1px solid #cbd6c0;border-radius:5px;color:#4a634b;font:14px/1.5 system-ui,sans-serif}#tree-stages button.active{background:#254f3d;border-color:#254f3d;color:#fff7df}#branch-detail{padding:34px;border:1px solid #d3ddc5;border-top:4px solid #a48445;background:#fffdf7}#branch-detail h2{font:40px/1.14 Georgia,serif;margin:12px 0 18px;font-weight:400}#branch-detail h3{font:25px/1.25 Georgia,serif;margin:15px 0}#branch-detail p{font-size:17px;line-height:1.85}.branch-chapter-heading{padding-bottom:15px;margin-bottom:12px}.branch-essence{max-width:900px;font:21px/1.75 Georgia,serif!important;color:#455d44}.branch-first-look{display:grid;grid-template-columns:1.5fr 1fr;gap:38px;align-items:start}.branch-first-look .branch-question{margin:15px 0 0;padding:18px 20px}.branch-text-start{margin:24px 0}.branch-text-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.branch-text-list a{padding:16px 18px;border:1px solid #d6ddcb;border-radius:4px;text-decoration:none;background:#f2f4e9}.branch-text-list span{font-size:12px;color:#687357}.branch-text-list strong{font:23px/1.3 Georgia,serif;display:block;margin:8px 0 2px}.branch-more-texts{margin-top:16px}.branch-more-texts summary{font-size:14px;cursor:pointer}.branch-more-texts a{display:inline-block;margin:12px 20px 0 0;font-size:16px}.branch-depth>summary{font-size:18px}.branch-depth .branch-chapter-grid p{font-size:16px}.branch-depth .relationship-links button{font-size:14px;padding:10px 13px;border:1px solid #bacbad;border-radius:4px;color:#355d3d}.branch-preview-grid{grid-template-columns:1fr 1fr!important}.branch-study-links{display:flex;gap:20px;flex-wrap:wrap;margin:25px 0;font-size:15px}.branch-actions{justify-content:space-between;font-size:15px}.resource-card h4{font:25px/1.2 Georgia,serif;color:#294a36;margin:10px 0}.history-heading{max-width:1180px;margin:25px auto 15px;padding:0 25px!important}.history-heading h1{font-size:40px}.history-heading p{font-size:17px;line-height:1.7;max-width:760px}.history-depth{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin:25px 0 16px;font-size:14px}.history-depth input{max-width:170px;accent-color:#48644e}.history-depth .depth-labels{display:flex;gap:8px}.guided .history-depth{display:none}.event-section>summary{cursor:pointer;font:25px Georgia,serif;margin:20px 0}.history-about{margin:25px 0}.inline-text-buttons a{display:inline-block;padding:9px 12px;margin:4px 4px 4px 0;border:1px solid #c4d1b5;border-radius:4px;text-decoration:none;background:#f3f5e9;color:#35503c;font-size:14px}.game-toolbar{display:flex;gap:25px;align-items:center;justify-content:space-between;padding:20px 28px;color:#244139;max-width:1500px;margin:auto}.game-toolbar h1{font:29px/1.2 Georgia,serif;margin:8px 0}.game-toolbar .eyebrow{color:#667452}.game-toolbar-actions{display:flex;gap:14px;align-items:center}.game-tools{position:relative}.game-tools>summary{cursor:pointer;border:1px solid #8a9a75;padding:11px 16px;border-radius:4px;font-size:14px}.game-tools>div{position:absolute;z-index:25;right:0;top:52px;min-width:230px;background:#f5f4e7;border:1px solid #b7c6a7;padding:12px;box-shadow:0 12px 30px #14291944;border-radius:5px}.game-tools button{width:100%;text-align:left;margin:4px 0}.game-toolbar #journal-button{background:#f0efd8;color:#30523b;border:1px solid #b7c6a7;padding:11px 15px;font-size:14px}.site-footer{color:#68765f}.reading-heading{padding-top:38px!important;padding-bottom:35px!important}.reading-heading h1{font-size:clamp(38px,5vw,58px)}.index-heading{padding-top:35px;padding-bottom:25px}.index-heading h1{font-size:clamp(36px,4.5vw,52px)}.index-counts{font-size:14px}.index-section .catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.index-section:first-of-type .catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.catalog-entry h3{font-size:24px}.catalog-kind{font-size:12px}.catalog-entry p{font-size:14px}.reading-related{margin-top:35px}.reading-related h2{font-size:26px}.site-footer a{color:inherit}.comparison-page{max-width:1050px}.comparison-page h2{font:36px/1.2 Georgia,serif}.comparison-page h3{font:28px Georgia,serif;margin-top:32px}.comparison-page p{font-size:17px;line-height:1.85}.comparison-page table{min-width:620px}.comparison-page .comparison-wrap{overflow-x:auto}.comparison-page th,.comparison-page td{padding:18px;border-bottom:1px solid #d6decc;vertical-align:top;text-align:left;line-height:1.75}.comparison-page .compare-table{border-collapse:collapse;width:100%}.comparison-page .learning-sources{display:flex;gap:15px;flex-wrap:wrap}.comparison-page .scripture-examples{display:grid;grid-template-columns:1fr 1fr;gap:20px}.comparison-page .small{font-size:14px}.comparison-page .eyebrow{display:block}
@media(max-width:850px){.branch-text-list{grid-template-columns:1fr 1fr}.index-section:first-of-type .catalog-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){#tree-stages{gap:5px}#tree-stages button{font-size:13px;padding:9px 8px;flex:1}#branch-detail{padding:23px 18px}#branch-detail h2{font-size:33px}.branch-first-look{grid-template-columns:1fr;gap:10px}.branch-text-list{grid-template-columns:1fr}.branch-text-list strong{font-size:23px}.branch-preview-grid{grid-template-columns:1fr!important}.branch-actions{align-items:flex-start}.game-toolbar{padding:20px;align-items:flex-start;flex-direction:column;gap:12px}.game-toolbar-actions{width:100%;justify-content:space-between}.game-toolbar h1{font-size:27px}.game-tools>div{right:0}.comparison-page .scripture-examples{grid-template-columns:1fr}.index-section .catalog-grid{grid-template-columns:1fr 1fr}.catalog-entry h3{font-size:21px}}

/* Standalone context pages inherit the shared shell. */
.game-toolbar{color:#fff4d8}.game-toolbar .eyebrow{color:#e5c888}.game-tools>summary{border-color:#b6c4aa}.game-tools>div{color:#244139}body:has(.game-toolbar)>.site-footer{color:#d6e0c8}
.history-people,.map-notes{max-width:1180px;margin:25px auto;padding:20px 25px}.history-people>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.map-notes>div{max-width:900px}.map-notes p{font:16px/1.8 system-ui,sans-serif}.library-heading h1{font:42px/1.15 Georgia,serif;margin:12px 0 25px;font-weight:400}#library-workspace button{color:#31543b;border:1px solid #bfceb1;border-radius:4px;padding:10px 14px;background:#e9efdf}#library-workspace button[aria-pressed=true]{background:#264d40;color:#fff3d4;border-color:#264d40}.resource-filter-panel label{font-size:14px}.resource-type,.resource-card .resource-meta,.resource-reviewed,.resource-branches a,.resource-card .retreat-location,.retreat-status{font-size:12px!important}
@media(max-width:700px){.history-people>div{grid-template-columns:1fr}.library-heading h1{font-size:34px}}

.comparison-page .comparison-scroll{overflow-x:auto;max-width:100%}.comparison-page table{border-collapse:collapse;width:100%}.comparison-page .glossary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 28px}.comparison-page .glossary dt{font:23px Georgia,serif}.comparison-page .glossary dd{margin:8px 0 0;font:16px/1.8 system-ui,sans-serif}@media(max-width:650px){.comparison-page .glossary{grid-template-columns:1fr}}

/* Traditions: compact family map with optional depth and labeled relationships. */
.atlas-page .page-heading{margin-bottom:24px}
#tree-workspace .tree-control-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 24px;padding:0 0 18px;background:transparent;border:0;border-bottom:1px solid var(--a-line);border-radius:0}
#tree-workspace .tree-picker{display:flex;align-items:center;gap:12px;min-width:0;max-width:100%}
#tree-workspace .tree-picker label{display:block;margin:0;font:500 .875rem/1.4 system-ui,sans-serif;color:var(--a-muted)}
#tree-workspace .tree-select-wrap{position:relative;min-width:0;width:360px;max-width:100%}
#tree-workspace #tree-jump{display:block;appearance:none;width:100%;max-width:100%;min-height:44px;padding:10px 36px 10px 12px;border:1px solid var(--a-line);border-radius:6px;background:var(--a-card);color:var(--a-ink);font:400 .9375rem/1.4 system-ui,sans-serif;cursor:pointer}
#tree-workspace .tree-select-arrow{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:var(--a-muted);pointer-events:none}
#tree-workspace #tree-jump-open{flex-shrink:0;min-height:44px;padding:8px 0;border:0;border-radius:0;background:transparent;color:var(--a-accent);font:500 .8125rem/1.5 system-ui,sans-serif;cursor:pointer}
#tree-workspace #tree-explanation{flex:1 1 230px;margin:0;max-width:340px;text-align:right;color:var(--a-muted);font:.8125rem/1.5 system-ui,sans-serif}
#tree-workspace .tree-map-key{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;padding-top:12px}
#tree-workspace .tree-map-key p{margin:0;max-width:680px;color:var(--a-muted);font:.8125rem/1.6 system-ui,sans-serif}
#tree-workspace .tree-map-actions{display:flex;flex-shrink:0;gap:16px}
#tree-workspace .tree-map-actions button{min-height:44px;padding:8px 0;border:0;border-radius:0;background:transparent;color:var(--a-accent);font:500 .8125rem/1.4 system-ui,sans-serif;cursor:pointer;text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--a-line)}
#branch-diagram{padding:24px 0 8px}
#branch-diagram ul{list-style:none;margin:0;padding:0}
#branch-diagram li{position:relative;min-width:0}
#branch-diagram [hidden]{display:none!important}
#branch-diagram .branch-row{position:relative;display:flex;align-items:stretch;gap:2px;min-width:0}
#branch-diagram .branch-node{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;flex:1;min-width:0;width:auto;min-height:64px;padding:9px 10px;text-align:left;color:var(--a-ink);background:transparent;border:1px solid transparent;border-left:2px solid transparent;border-radius:5px;box-shadow:none;cursor:pointer;transition:background-color .15s ease,border-color .15s ease}
#branch-diagram .branch-label{min-width:0;flex:1;overflow-wrap:break-word}
#branch-diagram .branch-node strong{display:block;margin:0;color:var(--a-ink);font:500 1.3125rem/1.15 var(--a-display)}
#branch-diagram .branch-meta{display:block;margin-top:5px;font:.75rem/1.45 system-ui,sans-serif;color:var(--a-muted)}
#branch-diagram .branch-kind{font-weight:600}
#branch-diagram .branch-hint::before{content:' · ';font-weight:400}
#branch-diagram .branch-arrow{flex:0 0 14px;width:14px;height:14px;color:var(--a-muted);opacity:.45;transition:opacity .15s ease,transform .15s ease}
#branch-diagram .branch-toggle{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;flex:0 0 44px;min-height:44px;padding:6px;border:1px solid transparent;border-radius:5px;background:transparent;color:var(--a-muted);font:400 .6875rem/1 system-ui,sans-serif;cursor:pointer}
#branch-diagram .branch-toggle:hover{background:var(--a-surface);color:var(--a-accent)}
#branch-diagram .branch-toggle[aria-expanded=true] .branch-child-count{opacity:.65}
#branch-diagram .branch-root>li>.branch-row{max-width:440px;margin:0 auto 24px}
#branch-diagram .branch-root>li>.branch-row>.branch-node{text-align:center}
#branch-diagram .branch-root>li>.branch-row>.branch-node,#branch-diagram .branch-root>li>ul>li>.branch-row>.branch-node{min-height:76px;padding:12px 14px;background:var(--a-card);border-color:var(--a-line);border-left-color:var(--branch)}
#branch-diagram .branch-root>li>.branch-row>.branch-node strong,#branch-diagram .branch-root>li>ul>li>.branch-row>.branch-node strong{font-size:1.5rem}
#branch-diagram .branch-root>li>ul{position:relative;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,2fr);gap:28px;align-items:start;margin:0;border-left:0;border-top:1px solid var(--a-line);padding:20px 0 0}
#branch-diagram .branch-root>li>ul::before{content:'';position:absolute;left:50%;top:-25px;width:1px;height:24px;background:var(--a-line)}
#branch-diagram .branch-root>li>ul>li::before{content:'';position:absolute;left:20px;top:-21px;width:1px;height:20px;background:var(--a-line)}
#branch-diagram .branch-item>ul{margin:7px 0 0 9px;padding-left:10px;border-left:1px solid var(--a-line)}
#branch-diagram .branch-item>ul>li{margin:2px 0}
#branch-diagram .branch-item>ul>li::before{content:'';position:absolute;left:-11px;top:31px;width:10px;height:1px;background:var(--a-line)}
#branch-diagram #tree-children-maha{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;margin:8px 0 0;padding:0;border:0}
#branch-diagram #tree-children-maha>li::before{display:none}
#branch-diagram #tree-children-maha>.branch-newar{grid-column:1/-1;border-top:1px solid var(--a-line);padding-top:6px}
#branch-diagram .branch-root .branch-row>.branch-node.connected,#branch-diagram .branch-context-root .branch-node.connected{border-left-style:dotted;border-left-color:var(--a-accent)}
#branch-diagram .branch-root .branch-row>.branch-node:hover,#branch-diagram .branch-context-root .branch-node:hover{background:var(--a-surface)}
#branch-diagram .branch-root .branch-row>.branch-node.chosen,#branch-diagram .branch-context-root .branch-node.chosen{background:var(--room-wash);border-color:var(--a-line);border-left:2px solid var(--a-accent)}
#branch-diagram .branch-node.chosen strong{color:var(--a-accent)}
#branch-diagram .branch-node:hover .branch-arrow,#branch-diagram .branch-node:focus-visible .branch-arrow,#branch-diagram .branch-node.chosen .branch-arrow{opacity:1}
#branch-diagram .branch-node:hover .branch-arrow{transform:translateX(2px)}
#branch-diagram button:focus-visible,#branch-diagram summary:focus-visible,#tree-workspace #tree-jump:focus-visible,#tree-workspace #tree-jump-open:focus-visible,#tree-workspace .tree-map-actions button:focus-visible,#branch-detail button:focus-visible{outline:2px solid var(--a-accent);outline-offset:3px}
#branch-diagram .tree-context-heading{display:flex;align-items:baseline;gap:16px;margin:28px 0 12px;padding-top:20px;border-top:1px solid var(--a-line)}
#branch-diagram .tree-context-heading h2{flex-shrink:0;margin:0;font:500 1.375rem/1.25 var(--a-display);color:var(--a-ink)}
#branch-diagram .tree-context-heading p{margin:0;color:var(--a-muted);font:.8125rem/1.6 system-ui,sans-serif}
#branch-diagram .tree-contexts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;align-items:start}
#branch-diagram .tree-context-group{min-width:0;border-bottom:1px solid var(--a-line)}
#branch-diagram .tree-context-group>summary{display:flex;align-items:center;gap:12px;min-height:72px;padding:12px 0;color:var(--a-ink);cursor:pointer;list-style:none}
#branch-diagram .tree-context-group>summary::-webkit-details-marker{display:none}
#branch-diagram .tree-context-group>summary::before{content:'+';flex:0 0 18px;text-align:center;font:300 1.375rem/1 system-ui,sans-serif;color:var(--a-accent)}
#branch-diagram .tree-context-group[open]>summary::before{content:'−'}
#branch-diagram .tree-context-group>summary>span:first-of-type{flex:1;min-width:0}
#branch-diagram .tree-context-group>summary strong{display:block;font:500 1.1875rem/1.25 var(--a-display)}
#branch-diagram .tree-context-group>summary small{display:block;margin-top:4px;color:var(--a-muted);font:.75rem/1.5 system-ui,sans-serif}
#branch-diagram .tree-section-count{color:var(--a-muted);font:.75rem/1.4 system-ui,sans-serif}
#branch-diagram .branch-context-root{padding:0 0 14px 20px}
#branch-diagram .branch-context-root>li+li{margin-top:6px}
#tree-workspace .tree-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#tree-workspace .tree-caption{max-width:840px;margin:14px 0 24px;color:var(--a-muted);font:.75rem/1.6 system-ui,sans-serif}
#tree-workspace #branch-detail{padding:28px 0 0;border:0;border-top:1px solid var(--a-line);background:transparent;box-shadow:none}
#branch-detail .branch-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:2px 10px;margin:0 0 18px;color:var(--a-muted)}
#branch-detail .branch-breadcrumb button{min-height:36px;padding:6px 0;background:transparent;border:0;color:var(--a-muted);font:.75rem/1.5 system-ui,sans-serif;cursor:pointer;text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--a-line)}
#branch-detail .branch-connections .relationship-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 24px}
#branch-detail .branch-connections .relationship-links button{display:block;min-height:64px;padding:10px 0;overflow-wrap:break-word}
#branch-detail .branch-connections .relationship-links button>span{display:block;margin-bottom:5px;color:var(--a-muted);font:.75rem/1.5 system-ui,sans-serif}
#branch-detail .branch-connections .relationship-links button>strong{display:block;font:500 1.125rem/1.3 var(--a-display);color:var(--a-accent)}
#branch-detail .branch-study-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 28px;list-style:none;padding:0;margin:20px 0 28px}
#branch-detail .branch-study-list li{min-width:0;padding:0 0 14px;border-bottom:1px solid var(--a-line)}
#branch-detail .branch-study-list li>span{display:block;margin-bottom:6px;color:var(--a-muted);font:.6875rem/1.4 system-ui,sans-serif;text-transform:uppercase;letter-spacing:.06em}
#branch-detail .branch-study-list a{display:inline-block;color:var(--a-accent);font:500 1.1875rem/1.35 var(--a-display);overflow-wrap:break-word}
#branch-detail .branch-study-list p{margin:6px 0 0;font:.875rem/1.65 system-ui,sans-serif;color:var(--a-muted)}
#branch-detail .branch-people-links{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:12px}
#branch-detail .branch-people-links a{color:var(--a-accent);font:.875rem/1.5 system-ui,sans-serif;padding:6px 0}
@media(max-width:1050px){
 #branch-diagram .branch-root>li>ul{grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:24px}
 #branch-diagram #tree-children-maha{grid-template-columns:1fr;gap:4px}
 #branch-diagram #tree-children-maha>.branch-newar{grid-column:auto}
}
@media(max-width:760px){
 #tree-workspace .tree-control-row{align-items:stretch;gap:10px;padding-bottom:14px}
 #tree-workspace .tree-picker{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;width:100%}
 #tree-workspace .tree-picker label{grid-column:1/-1;margin-bottom:0}
 #tree-workspace .tree-select-wrap{width:100%}
 #tree-workspace #tree-explanation{flex:auto;max-width:none;text-align:left}
 #tree-workspace .tree-map-key{align-items:flex-start;flex-direction:column;gap:2px}
 #branch-diagram{padding-top:16px}
 #branch-diagram .branch-root>li>.branch-row{max-width:none;margin:0 0 18px}
 #branch-diagram .branch-root>li>.branch-row>.branch-node{text-align:left}
 #branch-diagram .branch-root>li>ul{display:block;margin-left:8px;padding:0 0 0 10px;border-top:0;border-left:1px solid var(--a-line)}
 #branch-diagram .branch-root>li>ul::before{left:-1px;top:-19px;height:18px}
 #branch-diagram .branch-root>li>ul>li{margin-bottom:16px}
 #branch-diagram .branch-root>li>ul>li::before{left:-11px;top:37px;width:10px;height:1px}
 #branch-diagram .branch-root>li>ul>li:last-child{margin-bottom:0}
 #branch-diagram #tree-children-maha{margin-left:0}
 #branch-diagram .branch-node{padding:9px 8px;gap:6px}
 #branch-diagram .branch-root>li>.branch-row>.branch-node,#branch-diagram .branch-root>li>ul>li>.branch-row>.branch-node{padding:11px}
 #branch-diagram .branch-node strong{font-size:1.25rem}
 #branch-diagram .branch-hint{display:block;margin-top:2px}
 #branch-diagram .branch-hint::before{content:none}
 #branch-diagram .branch-context-root{padding-left:8px}
 #branch-diagram .tree-context-heading{display:block;margin-top:24px}
 #branch-diagram .tree-context-heading p{margin-top:5px}
 #branch-diagram .tree-contexts{grid-template-columns:1fr}
 #tree-workspace .tree-caption{margin-bottom:20px}
 #tree-workspace #branch-detail{padding-top:24px}
 #branch-detail .branch-connections .relationship-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 18px}
}
@media(max-width:450px){
 #branch-diagram .branch-item>ul{margin-left:5px;padding-left:8px}
 #branch-diagram .branch-item>ul>li::before{left:-9px;width:8px}
 #branch-diagram .branch-arrow{display:none}
 #branch-detail .branch-study-list{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
 #branch-diagram .branch-node,#branch-diagram .branch-arrow{transition:none}
 #branch-diagram .branch-node:hover .branch-arrow{transform:none}
}

/* Compact ground names and explanations stay readable on narrow screens. */
.comparison-page .bhumi-table{min-width:0;width:100%;table-layout:fixed}
.comparison-page .bhumi-table th:first-child{width:38%}
.comparison-page .bhumi-table small{display:block;font-weight:400;overflow-wrap:anywhere}
#ten-bhumis{scroll-margin-top:7rem}

/* Generated by scripts/build-themes.mjs; edit the authored stylesheet instead. */
@media screen{:where(html[data-theme="dark"]) #tree-stages button{border:1px solid hsl(90 21% 30% / 1);color:hsl(122 14% 82% / 1)}:where(html[data-theme="dark"]) #tree-stages button.active{background:hsl(154 30% 23% / 1);border-color:hsl(154 36% 48% / 1);color:hsl(45 48% 94% / 1)}:where(html[data-theme="dark"]) #branch-detail{border:1px solid hsl(85 26% 30% / 1);border-top:4px solid hsl(40 38% 48% / 1);background:hsl(45 30% 11% / 1)}:where(html[data-theme="dark"]) .branch-essence{color:hsl(118 16% 82% / 1)}:where(html[data-theme="dark"]) .branch-text-list a{border:1px solid hsl(83 21% 30% / 1);background:hsl(71 30% 13% / 1)}:where(html[data-theme="dark"]) .branch-text-list span{color:hsl(84 14% 80% / 1)}:where(html[data-theme="dark"]) .branch-depth .relationship-links button{border:1px solid hsl(94 22% 30% / 1);color:hsl(132 27% 83% / 1)}:where(html[data-theme="dark"]) .resource-card h4{color:hsl(144 29% 84% / 1)}:where(html[data-theme="dark"]) .history-depth input{accent-color:hsl(133 16% 82% / 1)}:where(html[data-theme="dark"]) .inline-text-buttons a{border:1px solid hsl(88 23% 30% / 1);background:hsl(70 30% 13% / 1);color:hsl(136 20% 83% / 1)}:where(html[data-theme="dark"]) .game-toolbar{color:hsl(163 29% 85% / 1)}:where(html[data-theme="dark"]) .game-toolbar .eyebrow{color:hsl(85 17% 81% / 1)}:where(html[data-theme="dark"]) .game-tools>summary{border:1px solid hsl(86 15% 48% / 1)}:where(html[data-theme="dark"]) .game-tools>div{background:hsl(56 30% 13% / 1);border:1px solid hsl(89 21% 30% / 1)}:where(html[data-theme="dark"]) .game-toolbar #journal-button{background:hsl(58 30% 14% / 1);color:hsl(139 26% 84% / 1);border:1px solid hsl(89 21% 30% / 1)}:where(html[data-theme="dark"]) .site-footer{color:hsl(97 11% 80% / 1)}:where(html[data-theme="dark"]) .comparison-page th,:where(html[data-theme="dark"]) .comparison-page td{border-bottom:1px solid hsl(87 21% 30% / 1)}
:where(html[data-theme="dark"]) .game-toolbar{color:hsl(43 48% 92% / 1)}:where(html[data-theme="dark"]) .game-toolbar .eyebrow{color:hsl(41 48% 72% / 1)}:where(html[data-theme="dark"]) .game-tools>summary{border-color:hsl(92 18% 30% / 1)}:where(html[data-theme="dark"]) .game-tools>div{color:hsl(163 29% 85% / 1)}:where(html[data-theme="dark"]) body:has(.game-toolbar)>.site-footer{color:hsl(85 28% 83% / 1)}:where(html[data-theme="dark"]) #library-workspace button{color:hsl(137 26% 83% / 1);border:1px solid hsl(91 23% 30% / 1);background:hsl(83 30% 13% / 1)}:where(html[data-theme="dark"]) #library-workspace button[aria-pressed=true]{background:hsl(160 30% 23% / 1);color:hsl(43 48% 92% / 1);border-color:hsl(160 34% 48% / 1)}}
