.talks-main{max-width:1300px;padding-bottom:180px}.talk-starts{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 22px}.talk-starts a{padding:9px 14px;border:1px solid #bdcbae;border-radius:20px;font-size:14px;text-decoration:none;background:#f6f8ee}.talk-primary-filters{display:grid;grid-template-columns:1.6fr 1.2fr 1fr;gap:18px}.talk-secondary-filters{display:grid;grid-template-columns:1.1fr 1.4fr 1fr;gap:16px;margin-top:18px}.talk-filter-foot{display:flex;gap:24px;align-items:center;flex-wrap:wrap;margin-top:20px}.talk-filter-foot label{display:flex;gap:8px;align-items:center}.talk-filter-foot button{margin-left:auto}.talk-results-bar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:24px 0 8px;font-size:14px}.talk-results-bar a{max-width:50%;text-align:right}.dharma-talk{display:grid;grid-template-columns:62px minmax(0,1fr) 85px;gap:22px;padding:26px 0;border-bottom:1px solid #cbd6bf}.talk-play-cell{display:flex;flex-direction:column;align-items:center;gap:9px}.talk-play{width:48px;height:48px;border-radius:50%;border:1px solid #315747;background:#315747;color:#fffef5;font-size:19px;cursor:pointer}.talk-play-cell span{font:13px system-ui,sans-serif;color:#5a6e50}.talk-byline{display:flex;gap:16px;flex-wrap:wrap;font-size:14px;margin:0 0 7px}.talk-byline a{font-weight:600}.talk-byline span{color:#68795d}.talk-body h2{font:25px/1.3 Georgia,serif;margin:0 0 9px}.talk-body h2 a{text-decoration:none;color:#294a37}.talk-body h2 a:hover{text-decoration:underline}.talk-tradition{font:13px/1.5 system-ui,sans-serif;color:#65764e;margin:0 0 12px}.dharma-talk>.resource-save{align-self:start}.talk-tags{display:flex;gap:7px;flex-wrap:wrap}.talk-tags button{font:13px/1.5 system-ui,sans-serif;background:#edf1e4;border:1px solid #ced8c1;color:#41603c;padding:5px 10px;border-radius:5px;cursor:pointer}.talk-text-links{margin-top:15px;padding:12px 15px;border-left:3px solid #987e43;background:#f2edde;display:flex;flex-wrap:wrap;gap:8px 16px;font-size:14px}.talk-text-links>span{font-size:12px;text-transform:uppercase;letter-spacing:.6px;flex-basis:100%;color:#796335}.talk-related-label,.talk-connection-note{font-size:14px;line-height:1.6;background:#edf2e6;padding:12px 15px}.talk-evidence{margin-top:14px;font-size:13px;line-height:1.65;color:#64735b}.talk-evidence summary{cursor:pointer}.talk-evidence p{margin:10px 0}.talk-unclassified{font-size:13px;color:#6b775e}.talk-pagination{display:flex;justify-content:center;align-items:center;gap:24px;margin:30px 0}.talk-pagination button,.talk-player button{padding:10px 16px;background:transparent;border:1px solid #aebfa0;border-radius:5px;font:14px system-ui,sans-serif;color:#3e5e3d;cursor:pointer}.talk-pagination button:disabled{opacity:.4;cursor:default}.talk-index-note{font:14px/1.7 system-ui,sans-serif;border-top:1px solid #cbd6bf;padding-top:15px}.talk-index-note details,.talk-curated details{margin-top:20px;max-width:900px}.talk-index-note summary,.talk-curated summary{cursor:pointer;font-size:16px;color:#3b593a}.talk-curated{font-size:15px;line-height:1.7}.talk-player{position:fixed;bottom:0;left:0;right:0;z-index:100;display:flex;align-items:center;gap:24px;padding:18px max(22px,calc((100vw - 1170px)/2));background:#f3f6eb;border-top:1px solid #a5b792;box-shadow:0 -4px 20px #243b2920}.talk-player>div{flex:1;min-width:0}.talk-player strong{font-size:14px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.talk-player a{font-size:13px;display:inline-block;margin-top:7px}.talk-player audio{width:340px;max-width:45vw}.talk-player[hidden],.talks-main [hidden]{display:none!important}.talks-main :focus-visible{outline:3px solid #a4762c;outline-offset:4px}@media(max-width:850px){.talk-primary-filters{grid-template-columns:1fr 1fr}.talk-primary-filters>label:first-child{grid-column:1/-1}.talk-secondary-filters{grid-template-columns:1fr 1fr}.talk-player{flex-wrap:wrap;gap:10px}.talk-player>div{flex-basis:65%}.talk-player audio{width:100%;max-width:none;order:3}}@media(max-width:550px){.talk-primary-filters,.talk-secondary-filters{grid-template-columns:1fr}.dharma-talk{grid-template-columns:44px minmax(0,1fr);gap:14px}.dharma-talk>.resource-save{grid-column:2;justify-self:start}.talk-play{width:40px;height:40px}.talk-body h2{font-size:23px}.talk-results-bar{align-items:flex-start}.talk-starts a{font-size:13px}.talk-filter-foot{gap:12px}.talk-evidence{font-size:14px}}

/* Guided practices prioritize the controls used to choose a listening session. */
.meditation-primary-filters{grid-template-columns:1.5fr 1.2fr 1.3fr 1fr}
.meditation-more-filters>div{display:grid;grid-template-columns:1fr 1fr}
.meditation-more-filters>div>label:first-child{min-width:0}
.meditation-filter-note{margin:12px 0 0;font:13px/1.5 var(--type-sans,system-ui,sans-serif);color:var(--a-muted)}
@media(max-width:1000px){.meditation-primary-filters{grid-template-columns:1fr 1fr}.meditation-primary-filters>label:first-child{grid-column:auto}}
@media(max-width:550px){.meditation-primary-filters,.meditation-more-filters>div{grid-template-columns:1fr}}

/* A finger-sized timeline and controls, shared by talks and meditations. */
body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main.talks-main{padding-bottom:calc(var(--talk-player-height,0px) + 64px)}
.talk-player{display:grid;grid-template-columns:minmax(180px,1fr) minmax(300px,1.3fr) 48px;gap:8px 24px;padding-top:12px;padding-bottom:calc(12px + env(safe-area-inset-bottom,0px));color:var(--a-ink)}
.talk-player [hidden]{display:none!important}
.talk-player .talk-player-info{min-width:0;grid-column:1}
.talk-player .talk-player-info strong{line-height:1.4;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px}
.talk-player .talk-player-info a{display:inline-flex;align-items:center;min-height:44px;margin-top:0;padding:0 4px;line-height:1.5}
.talk-player .talk-player-controls{grid-column:2;display:flex;flex-direction:column;gap:4px;min-width:0;container-type:inline-size}
/* Equal outer tracks keep play centered independently of the speed selector. */
.talk-player .talk-player-transport{display:grid;grid-template-columns:minmax(0,1fr) 44px 56px 44px minmax(0,1fr);align-items:center;column-gap:clamp(0px,calc(50cqi - 164px),18px);row-gap:0}
.talk-player #talk-player-back{grid-column:2;grid-row:1}
.talk-player #talk-player-toggle{grid-column:3;grid-row:1}
.talk-player #talk-player-forward{grid-column:4;grid-row:1}
.talk-player #talk-player-speed{grid-column:5;grid-row:1;justify-self:end}
@container(max-width:319px){.talk-player #talk-player-speed{grid-column:4/-1;grid-row:2}}
html body .talk-player .talk-player-toggle{display:grid;place-items:center;box-sizing:border-box;width:56px;height:56px;min-width:56px;padding:0;border-radius:50%;border:1px solid var(--a-line);background:var(--room-accent,var(--a-accent,#315747));color:var(--a-paper,#fffef5);touch-action:manipulation}
.talk-player-toggle span{display:flex;align-items:center;justify-content:center}
.talk-player-toggle svg{display:block;width:28px;height:28px;fill:currentColor}
html body .talk-player .talk-player-skip{display:grid;place-items:center;position:relative;width:44px;height:48px;min-width:44px;padding:0;border:0;border-radius:50%;color:var(--a-ink);touch-action:manipulation}
.talk-player-skip svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.talk-player-skip span{position:absolute;top:17px;left:0;right:0;font:600 11px/1.3 system-ui,sans-serif}
html body .talk-player #talk-player-speed{-webkit-appearance:none;appearance:none;box-sizing:border-box;flex:0 0 84px;width:84px;min-width:84px;max-width:84px;height:44px;min-height:44px;margin:0;padding:0 27px 0 10px;border:1px solid var(--a-line);border-radius:999px;background:var(--a-surface) var(--atlas-select-arrow) no-repeat right 8px center;background-size:14px 14px;box-shadow:none;color:var(--a-ink);font:500 16px/1 system-ui,sans-serif;font-variant-numeric:tabular-nums;text-align:center;text-align-last:center;touch-action:manipulation}
.talk-player .talk-player-timeline{min-width:0;padding:0 2px}
html body .talk-player #talk-player-seek{-webkit-appearance:none;appearance:none;display:block;box-sizing:border-box;width:100%;max-width:none;height:48px;min-height:48px;margin:0;padding:0;border:0;border-radius:0;background:transparent;cursor:pointer;touch-action:none;--seek-progress:0%;--seek-color:var(--room-accent,var(--a-accent,#315747))}
#talk-player-seek::-webkit-slider-runnable-track{height:8px;border-radius:4px;background:linear-gradient(to right,var(--seek-color) var(--seek-progress),var(--a-line,#cbd6bf) var(--seek-progress))}
#talk-player-seek::-moz-range-track{height:8px;border-radius:4px;background:linear-gradient(to right,var(--seek-color) var(--seek-progress),var(--a-line,#cbd6bf) var(--seek-progress))}
#talk-player-seek::-webkit-slider-thumb{-webkit-appearance:none;width:26px;height:26px;margin-top:-9px;border:3px solid var(--a-paper,#fffef5);border-radius:50%;background:var(--seek-color);box-shadow:0 1px 5px #0003}
#talk-player-seek::-moz-range-thumb{box-sizing:border-box;width:26px;height:26px;border:3px solid var(--a-paper,#fffef5);border-radius:50%;background:var(--seek-color);box-shadow:0 1px 5px #0003}
#talk-player-seek:disabled{opacity:.45;cursor:default}
.talk-player .talk-player-times{display:flex;justify-content:space-between;gap:16px;margin-top:-4px;color:var(--a-muted);font:13px/1.4 system-ui,sans-serif;font-variant-numeric:tabular-nums}
.talk-player audio{width:100%;max-width:none;min-width:0;height:54px;grid-column:2}
.talk-player[data-enhanced] audio{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);opacity:0;pointer-events:none}
html body .talk-player #talk-player-close{display:grid;place-items:center;grid-column:3;grid-row:1;align-self:start;width:48px;min-height:48px;padding:0;color:var(--a-muted);border:0;border-radius:50%;touch-action:manipulation}
#talk-player-close svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
.talk-player .talk-player-status{grid-column:1/-1;font:14px/1.5 system-ui,sans-serif;color:var(--a-ink)}
.talk-player :focus-visible{outline:3px solid var(--a-accent,#a4762c);outline-offset:4px}
@media(max-width:850px){
 .talk-player{grid-template-columns:minmax(0,1fr) 48px;gap:0 10px;padding:10px max(18px,env(safe-area-inset-right,0px)) calc(10px + env(safe-area-inset-bottom,0px)) max(18px,env(safe-area-inset-left,0px))}
 .talk-player .talk-player-controls,.talk-player audio{grid-column:1/-1;grid-row:2;order:0}
 .talk-player .talk-player-controls{gap:8px}
 .talk-player #talk-player-close{grid-column:2!important;grid-row:1}
 .talk-player .talk-player-status{margin-top:8px}
 .dharma-talk{grid-template-columns:56px minmax(0,1fr) 85px}
 html body .dharma-talk .talk-play{width:52px;height:52px;min-width:52px;min-height:52px;touch-action:manipulation;font-size:20px}
}
@media(max-width:550px){.dharma-talk{grid-template-columns:56px minmax(0,1fr);gap:14px}}
@media(max-height:500px) and (orientation:landscape){.talk-player{grid-template-columns:minmax(140px,1fr) minmax(240px,1.3fr) 48px;gap:6px 12px}.talk-player .talk-player-controls{grid-column:2;grid-row:1;gap:0}.talk-player #talk-player-close{grid-column:3!important}}

/* Listening cards share the podcast collection's light and dark surfaces. */
html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main #talk-results{display:grid;gap:18px}
html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-entry{display:grid;grid-template-columns:48px minmax(0,1fr) 44px;gap:14px 16px;box-sizing:border-box;min-width:0;padding:22px;border:1px solid var(--a-line);border-radius:8px;background:var(--a-card)}
html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-entry[data-subject-match=true]{border-left:2px solid var(--room-accent)}
html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-entry .talk-play-cell{padding-top:0;gap:6px}
/* Muted lavender-gray ties the listening action to its room. */
.talk-entry{--talk-play-bg:rgb(225 220 232);--talk-play-hover:rgb(211 204 221);--talk-play-ink:rgb(79 66 95);--talk-play-line:rgb(202 194 213)}
html[data-theme="dark"] .talk-entry{--talk-play-bg:rgb(69 60 81);--talk-play-hover:rgb(84 73 98);--talk-play-ink:rgb(232 223 242);--talk-play-line:rgb(105 92 121)}
html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-entry .talk-play{display:grid;place-items:center;box-sizing:border-box;width:48px;height:48px;min-width:48px;min-height:48px;padding:0;background:var(--talk-play-bg);color:var(--talk-play-ink);border:1px solid var(--talk-play-line);text-decoration:none;touch-action:manipulation;transition:background .15s,border-color .15s}
html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-entry .talk-play:hover{background:var(--talk-play-hover);border-color:var(--talk-play-line)}
.talk-entry .talk-play svg{width:24px;height:24px;fill:currentColor}
.talk-entry .talk-video-marker{cursor:pointer}
.talk-entry .talk-video-marker:focus-visible{outline:2px solid var(--talk-play-ink);outline-offset:3px}
.talk-entry .talk-video-marker svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.4}
html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-entry h2{margin:0 0 6px;font-size:calc(1.0625rem * var(--reading-scale,1))!important;line-height:1.45!important;text-wrap:pretty;letter-spacing:0}
html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-entry h2 .talk-title-toggle{display:flex;align-items:center;box-sizing:border-box;width:100%;min-height:48px;margin:0;padding:0;border:0;border-radius:2px;background:none;color:var(--a-ink);font:inherit;letter-spacing:inherit;text-align:left;text-wrap:pretty;cursor:pointer;touch-action:manipulation;appearance:none}
html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-entry h2 .talk-title-toggle:hover{color:var(--room-accent,var(--a-ink))}
.talk-entry-byline{grid-column:1/-1;display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:2px 16px;min-width:0;margin-bottom:0;padding-bottom:14px;border-bottom:1px solid color-mix(in srgb,var(--a-line) 65%,transparent)}
.talk-entry-identity{display:contents}
.talk-entry-byline .talk-teacher-portraits{grid-column:1;grid-row:1/3;justify-content:center;width:48px}
.talk-entry-byline .talk-teacher-portraits img+img{margin-left:0}
.talk-entry-byline .talk-entry-teacher{grid-column:2;grid-row:1}
.talk-entry-byline .talk-tradition-tags{grid-column:2/-1;grid-row:2}
.talk-tradition-tag+.talk-tradition-tag::before{content:"·";margin-right:5px}
.talk-entry-teacher{min-width:0;font-size:calc(.9375rem * var(--reading-scale,1));line-height:1.5;color:var(--a-ink)}
.talk-tradition-tags{display:flex;flex-wrap:wrap;gap:5px;min-width:0;max-width:100%}
html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-tradition-tag{display:inline-flex;align-items:center;box-sizing:border-box;max-width:100%;min-height:22px;padding:0;border:0;border-radius:3px;background:transparent;color:var(--a-muted);font-size:calc(.6875rem * var(--reading-scale,1));font-weight:500;line-height:1.5;text-decoration:none;overflow-wrap:anywhere}
html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main a.talk-tradition-tag:hover{background:var(--a-selected);color:var(--a-ink);border-color:var(--room-accent)}
html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) .talk-entry-teacher a{font-weight:400;color:inherit;text-decoration:none;text-underline-offset:3px}
html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) .talk-entry-teacher a:hover{text-decoration:underline}
.talk-entry-date{grid-column:3;grid-row:1;align-self:center;justify-self:end;display:block;margin:0;white-space:nowrap;font-size:calc(.6875rem * var(--reading-scale,1));line-height:1.5;color:var(--a-muted);text-align:right}
.talk-entry .talk-play-cell .talk-entry-duration{font-family:var(--type-sans,system-ui,sans-serif);font-size:calc(.75rem * var(--reading-scale,1));line-height:1.5;font-variant-numeric:tabular-nums;color:var(--a-muted);white-space:nowrap;text-align:center}
.talk-entry-footer{grid-column:1/-1;position:relative;min-width:0;min-height:44px;padding-top:2px}
.talk-entry-details>summary{display:flex;align-items:center;gap:8px;box-sizing:border-box;min-height:44px;padding:4px 100px 4px 0;color:var(--a-muted);font-size:calc(.8125rem * var(--reading-scale,1));line-height:1.4;font-weight:500;list-style:none;cursor:pointer;touch-action:manipulation}
.talk-entry-details>summary::-webkit-details-marker{display:none}
.talk-entry-details>summary svg{width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;transition:transform .15s}
.talk-entry-details[open]>summary .talk-entry-disclosure>svg{transform:rotate(90deg)}
.talk-entry-details>summary:hover{color:var(--room-accent)}
html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-entry-save{position:absolute;right:0;top:0;min-height:44px;min-width:80px;margin:0;padding:6px 10px;font-size:.8125rem;line-height:1.4;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--a-muted);white-space:nowrap;touch-action:manipulation}
html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-entry-save:hover{background:var(--a-surface);color:var(--a-ink)}
html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-entry-save[aria-pressed=true]{background:var(--a-selected);color:var(--a-ink);border-color:var(--a-line)}
.talk-entry-expanded{padding:14px 0 2px;border-top:1px solid var(--a-line)}
html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-entry-expanded{--content-size:.875rem;--type-leading:1.65}
html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-entry-expanded p{margin:10px 0;color:var(--a-muted)}
html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-entry .talk-tags{gap:6px;margin-bottom:10px}
html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-entry .talk-tags button{box-sizing:border-box;max-width:100%;min-height:28px;padding:3px 9px;font-size:calc(.75rem * var(--reading-scale,1));line-height:1.5;border-radius:999px;text-align:left;overflow-wrap:anywhere;touch-action:manipulation}
html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-entry .talk-entry-subjects{margin:8px 0 0;gap:6px}
html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-entry .talk-entry-subjects button{min-height:28px;padding:3px 8px;border-color:transparent;border-radius:5px;background:color-mix(in srgb,var(--a-surface) 55%,transparent);color:var(--a-muted);font-size:calc(.6875rem * var(--reading-scale,1))}
html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-entry .talk-entry-subjects button:is(:hover,[aria-pressed=true]){background:var(--a-selected);color:var(--a-ink);border-color:var(--a-line)}
html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-entry .talk-atlas-connections{min-width:0;margin:0;padding:0;border:0;display:block}
html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-entry .talk-detail-row{display:grid;grid-template-columns:4.5rem minmax(0,1fr);min-width:0;align-items:start;gap:8px;margin:0 0 8px;padding:0;border:0}
html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-entry .talk-detail-label{margin:0;padding:8px 0;font-size:calc(.75rem * var(--reading-scale,1))!important;line-height:1.5!important;font-weight:500!important;letter-spacing:0;text-transform:none;color:var(--a-muted)}
/* Direct flex items avoid shrink-to-fit list wrappers and percentage sizing
   cycles in Safari. Wrapped text contributes to the height of the whole row. */
html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-entry .talk-detail-tags{display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px;box-sizing:border-box;min-width:0;width:100%;padding:0;margin:0}
html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-entry .talk-detail-tag{display:block;flex:0 1 auto;align-content:center;box-sizing:border-box;min-width:0;min-height:34px;max-width:100%;padding:6px 11px;border:1px solid var(--a-line);border-radius:18px;background:var(--a-surface);color:var(--a-ink);font-size:calc(.8125rem * var(--reading-scale,1));line-height:1.5;font-weight:400;text-decoration:none;white-space:normal;overflow-wrap:break-word;word-break:normal;touch-action:manipulation}
html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-entry a.talk-detail-tag:hover{background:var(--a-selected);border-color:var(--room-accent);color:var(--room-accent)}
html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-entry a.talk-detail-tag:focus-visible{outline:2px solid var(--room-accent);outline-offset:3px}
@media(pointer:coarse){html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-entry a.talk-detail-tag{min-height:44px}html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-entry .talk-detail-label{padding-top:12px}}
.talk-entry-source a{display:inline-flex;align-items:center;min-height:44px;font-size:.875rem;text-underline-offset:3px}
html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-entry .talk-evidence{margin-top:8px;color:var(--a-muted);font-size:.8125rem}
.talk-entry .talk-evidence>summary{min-height:44px;align-content:center;cursor:pointer}
.talk-entry-expanded[data-source-only]{padding-top:8px}
html body main .talk-entry .talk-source-credits{--content-size:.8125rem;--type-leading:1.55;color:var(--a-muted)}
html body main .talk-entry .talk-source-credits p{margin:4px 0}
.talk-source-links{display:flex;flex-wrap:wrap;align-items:center;gap:0 16px}
html body main .talk-entry .talk-source-links a{display:inline-flex;align-items:center;box-sizing:border-box;min-height:36px;max-width:100%;padding:4px 0;font-size:calc(.8125rem * var(--reading-scale,1));line-height:1.5;color:var(--a-muted);text-underline-offset:3px;overflow-wrap:anywhere}
.talk-source-links a:hover{color:var(--room-accent,var(--a-accent))}
@media(pointer:coarse){html body main .talk-entry .talk-source-links a{min-height:44px}}
@media(max-width:550px){
 html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main #talk-results{gap:14px}
 html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-entry{gap:14px 14px;padding:18px}
 .talk-entry-byline{column-gap:14px}
 .talk-entry-footer{grid-column:1/-1}
 html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-entry .talk-detail-row{grid-template-columns:minmax(0,1fr);gap:4px;margin-bottom:12px}
 html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-entry .talk-detail-label{padding:0}
}
@media(prefers-reduced-motion:reduce){.talk-entry-details>summary svg,html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-entry .talk-play{transition:none}}

/* Native summary layout lets giving and Save wrap without covering details. */
.talk-entry-details>summary{padding-right:0;align-items:center}
.talk-entry-details>summary>span:first-of-type{flex:none}
.talk-entry-disclosure{display:inline-flex;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;min-height:44px;padding:6px 10px;border:1px solid color-mix(in srgb,var(--a-line) 65%,transparent);border-radius:6px}
.talk-entry-details>summary:hover .talk-entry-disclosure{background:var(--a-surface)}
.talk-entry-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:4px 8px;min-width:0;max-width:calc(100% - 90px);margin-left:auto}
html body main .talk-entry-actions .talk-dana{background:transparent;color:var(--a-muted);border-color:color-mix(in srgb,var(--a-line) 65%,transparent)}
html body .talk-entry .talk-dana,html body .talk-player .talk-dana{display:inline-flex;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;min-height:44px;max-width:100%;padding:6px 10px;margin:0;border:1px solid var(--a-line);border-radius:6px;background:var(--a-surface);color:var(--a-ink);font-size:calc(.8125rem * var(--reading-scale,1));line-height:1.4;text-decoration:none;touch-action:manipulation}
.talk-entry .talk-dana svg,.talk-player .talk-dana svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;transform:none}
.talk-dana span{overflow-wrap:anywhere}
html body .talk-entry .talk-dana:hover,html body .talk-player .talk-dana:hover{background:var(--a-selected);border-color:var(--room-accent,var(--a-accent));color:var(--a-ink)}
.talk-dana:focus-visible{outline:2px solid var(--room-accent,var(--a-accent));outline-offset:3px}
#talk-playing-dana{display:inline-flex;flex-wrap:wrap;gap:4px;margin:3px 0 3px 6px;max-width:100%;vertical-align:middle}
@media(max-width:550px){.talk-entry-actions{gap:4px}.talk-entry-actions .talk-dana{flex:0 1 auto}}

/* Identifying portraits stay with the teacher's name at every screen size. */
.talk-entry .talk-entry-teacher{display:flex;align-items:center;gap:8px;max-width:100%}
.talk-entry .talk-entry-teacher>span:last-child{min-width:0;overflow-wrap:anywhere}
.talk-teacher-portraits{display:inline-flex;flex:none;align-items:center;gap:4px}
.talk-entry .talk-teacher-portrait{display:block;box-sizing:border-box;width:48px;height:48px;min-width:48px;max-width:none;flex:none;border-radius:50%;object-fit:cover;background:var(--a-surface);border:1px solid var(--a-line)}
.talk-entry .talk-teacher-portrait[data-failed]{visibility:hidden}

/* Keep source context available without a full-width introductory paragraph. */
html body main .talk-heading{display:flex;align-items:center;gap:12px;position:relative}
html body main .talk-heading h1{margin-bottom:4px}
.talk-about{margin-left:auto;flex:none}
.talk-about summary{display:flex;align-items:center;justify-content:center;width:44px;height:44px;list-style:none;cursor:pointer;color:var(--a-muted)}
.talk-about summary::-webkit-details-marker{display:none}
.talk-about summary svg{width:20px;height:20px}
.talk-about summary:hover,.talk-about[open] summary{color:var(--a-ink)}
html body main.talks-main .talk-about>p{position:absolute;top:100%;right:0;z-index:5;box-sizing:border-box;width:min(360px,100%);padding:14px 16px;margin:6px 0 0;border:1px solid var(--a-line);border-radius:8px;background:var(--a-paper);color:var(--a-ink);box-shadow:0 6px 20px #0002;font:400 .875rem/1.6 system-ui,sans-serif}

/* Compact result status and a single mobile disclosure for all search filters. */
html body main .talk-results-bar{--content-size:.75rem;--type-leading:1.3;justify-content:flex-start;gap:0;margin:8px 0 4px;padding:0;text-align:left}
html body main #talk-count{margin:0;padding:0;font:400 .75rem/1.3 system-ui,sans-serif;color:var(--a-muted)}
.talk-filter-disclosure>summary{display:flex;align-items:center;gap:8px;min-height:44px;box-sizing:border-box;padding:10px 14px;border:1px solid var(--a-line);border-radius:6px;background:var(--a-surface);color:var(--a-ink);font:500 .875rem/1.4 system-ui,sans-serif;cursor:pointer;list-style:none}
.talk-filter-disclosure>summary::-webkit-details-marker{display:none}
.talk-filter-disclosure>summary svg{width:16px;height:16px;flex:none;margin-left:auto}
.talk-filter-disclosure[open]>summary svg{transform:rotate(180deg)}
#talk-filter-summary{margin-left:auto;font-size:.75rem;color:var(--a-muted)}
#talk-filter-summary:not([hidden])+svg{margin-left:0}
@media(min-width:701px){.talk-filter-disclosure[data-ready]>summary{display:none}}
@media(max-width:700px){
 .talk-filter-disclosure{margin-bottom:10px}
 .talk-filter-disclosure[open]>summary{border-radius:6px 6px 0 0}
 html body main .talk-filter-disclosure>.resource-filter-panel{margin:0;border-top:0;border-radius:0 0 6px 6px;padding:14px}
}

/* Video loads only after the visitor chooses a recording. */
/* A deep-linked connection remains visible and removable on small screens. */
.talk-connection-filter:not([hidden]){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) auto;align-items:end;gap:16px;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid var(--a-line)}
.talk-connection-target{display:grid;gap:7px;min-width:0;font:500 .875rem/1.4 system-ui,sans-serif}
.talk-connection-target>span{color:var(--a-muted);font-size:.75rem}
.talk-connection-target>a{overflow-wrap:anywhere}
.talk-connection-filter button{min-height:44px}
html body main #talk-connection-status:not([hidden]){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 16px;align-items:center;margin:16px 0 20px;padding:0;font:400 .875rem/1.5 system-ui,sans-serif;color:var(--a-ink)}
.talk-connection-heading{display:flex;align-items:baseline;gap:5px 12px;flex-wrap:wrap;min-width:0}
.talk-connection-heading>span,.talk-connection-description{color:var(--a-muted);font-size:.8rem}
.talk-connection-description{grid-column:1}
.talk-connection-actions{grid-column:2;grid-row:1/3;display:flex;gap:10px;align-self:center}
.talk-connection-actions button{min-height:44px;font:500 .8rem system-ui,sans-serif;color:var(--a-link,var(--a-ink))}
html body main .talk-match-reason{margin:10px 0 0;font:400 .8rem/1.55 system-ui,sans-serif;color:var(--a-muted)}
@media(max-width:700px){
 .talk-connection-filter:not([hidden]){grid-template-columns:minmax(0,1fr) auto;gap:12px}
 .talk-connection-target{grid-column:1/-1}
 html body main #talk-connection-status:not([hidden]){grid-template-columns:minmax(0,1fr);gap:4px;margin:14px 0 18px}
 .talk-connection-actions{grid-column:1;grid-row:auto;justify-self:start;gap:18px}
}

.talk-video-dialog{width:min(900px,94vw);max-width:94vw;max-height:94dvh;padding:18px;border:1px solid var(--a-line,#d9d8d0);border-radius:16px;background:var(--a-paper,#faf9f5);color:var(--a-ink,#242823);box-shadow:0 20px 80px #0005}
.talk-video-dialog::backdrop{background:#101914b3}
.talk-video-heading,.talk-video-footer{display:flex;align-items:center;justify-content:space-between;gap:18px}
.talk-video-heading h2{font-family:inherit;font-size:1.1rem;line-height:1.45;margin:0;max-width:calc(100% - 70px)}
.talk-video-heading button{flex-shrink:0;min-height:44px}
.talk-video-dialog iframe{display:block;width:100%;height:auto;aspect-ratio:16/9;min-height:200px;margin:14px 0;border:0;background:#000;border-radius:8px}
.talk-video-footer{font-size:.8rem;line-height:1.45}.talk-video-credit{margin:0}.talk-video-footer a{flex-shrink:0}
@media(max-width:600px){.talk-video-dialog{padding:12px}.talk-video-footer{align-items:flex-start;flex-direction:column;gap:8px}}

.talk-source-control{position:relative;display:flex;align-items:flex-end;gap:4px;min-width:0;max-width:100%}
.talk-source-control>label{min-width:0;flex:1}
.talk-source-control select{max-width:100%}
.talk-source-info{margin-left:0}
html body main.talks-main .talk-source-info>p{left:0;right:auto;width:min(420px,calc(100vw - 56px));max-height:50vh;overflow:auto}

/* The inactive checkbox stays focusable so touch and keyboard users can learn why. */
.talk-favorites-control{position:relative;display:inline-flex;align-items:center}
.talk-favorites-control label:has([aria-disabled="true"]){opacity:.55;cursor:help}
.talk-favorites-help{position:absolute;z-index:8;bottom:calc(100% + 10px);left:0;width:240px;max-width:70vw;padding:12px 14px;border:1px solid var(--line,#b9c9b1);border-radius:8px;background:var(--paper,#f8faf3);color:var(--ink,#263d2d);box-shadow:0 5px 20px #0002;font-size:14px;line-height:1.5}
.talk-primary-filters>label[hidden],.meditation-primary-filters>label[hidden]{display:none!important}
@media(min-width:851px){.talk-primary-filters:has(>label[hidden]){grid-template-columns:1.6fr 1fr}.meditation-primary-filters:has(>label[hidden]){grid-template-columns:1.6fr 1.2fr 1fr}}

/* Search remains visible; the native Filters button reveals the existing form. */
.talk-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.talk-search-filters{position:relative;padding-top:0;margin-top:28px}
.talk-search-field{display:block;width:calc(100% - 122px);margin:0}
html body main .talk-search-field input{box-sizing:border-box;width:100%;min-width:0;min-height:48px;padding:11px 14px;border:1px solid var(--a-line);border-radius:7px;background:var(--a-card);color:var(--a-ink);font:400 1rem/1.5 var(--type-sans,system-ui)}
.talk-search-field input::placeholder{color:var(--a-muted);opacity:1}
html body main .talk-search-filters .talk-filter-disclosure>summary{position:absolute;right:0;top:0;display:flex;align-items:center;justify-content:center;gap:7px;min-height:48px;width:110px;padding:10px;border:1px solid var(--a-line);border-radius:7px;background:var(--a-surface);font-size:.875rem}
.talk-search-filters .talk-filter-disclosure>summary svg{width:18px;height:18px;margin:0;transform:none}
.talk-search-filters .talk-filter-disclosure[open]>summary{background:var(--a-selected)}
.talk-search-filters #talk-filter-summary{position:absolute;top:100%;right:0;font-size:.6875rem;line-height:1.5;margin-top:2px;white-space:nowrap;color:var(--a-muted)}
html body main .talk-search-filters .resource-filter-panel{margin:24px 0 0;border:1px solid var(--a-line);border-radius:8px}
.talk-search-filters .talk-primary-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
.talk-search-filters .meditation-primary-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-entry>.talk-entry-save{position:static;grid-column:3;grid-row:2;align-self:center;justify-self:end;display:grid;place-items:center;box-sizing:border-box;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:10px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--a-muted)}
html body main .talk-entry>.talk-entry-save svg{width:21px;height:21px}
html body main .talk-entry>.talk-entry-save[aria-pressed=true]{color:var(--a-ink);background:var(--a-selected);border-color:var(--a-line)}
html body main .talk-entry>.talk-entry-save[aria-pressed=true] svg{fill:var(--a-selected);stroke-width:2}
@media(max-width:550px){
 html body:is([data-atlas-page="talks"],[data-atlas-page="meditations"]) main .talk-entry{grid-template-columns:48px minmax(0,1fr) 44px;column-gap:12px}
 .talk-search-filters .talk-primary-filters,.talk-search-filters .meditation-primary-filters{grid-template-columns:minmax(0,1fr)}
 .talk-search-field{width:calc(100% - 102px)}
 html body main .talk-search-filters .talk-filter-disclosure>summary{width:92px}
}
/* The bookmark uses one SVG, without the older text-button pseudo icon. */
html body main .talk-entry>.talk-entry-save::before{content:none!important;display:none!important}
html body main .talk-entry>.talk-entry-save{border-color:transparent!important;border-radius:7px!important;background:transparent!important}
html body main .talk-entry>.talk-entry-save:hover{background:var(--a-surface)!important}
html body main .talk-entry>.talk-entry-save[aria-pressed=true]{background:var(--a-selected)!important;border-color:var(--a-line)!important;color:var(--a-ink)!important}

/* Multi-teacher recordings: a bounded 2x2 portrait group beside a wrapping byline. */
.talk-entry-byline .talk-teacher-portraits-group{display:grid;grid-template-columns:23px 23px;gap:2px;width:48px;justify-content:start;align-self:start}
.talk-entry .talk-teacher-portraits-group .talk-teacher-portrait{width:23px;height:23px;min-width:23px}
.talk-entry-byline .talk-entry-teacher{overflow-wrap:anywhere;white-space:normal;max-width:100%}
@media(max-width:600px){.talk-entry-byline{grid-template-columns:48px minmax(0,1fr);gap:4px 12px}.talk-entry-byline .talk-entry-date{grid-column:2;grid-row:3;justify-self:start}.talk-entry-byline .talk-tradition-tags{grid-column:2}}

/* Generated by scripts/build-themes.mjs; edit the authored stylesheet instead. */
@media screen{:where(html[data-theme="dark"]) .talk-starts a{border:1px solid hsl(89 22% 30% / 1);background:hsl(72 30% 12% / 1)}:where(html[data-theme="dark"]) .dharma-talk{border-bottom:1px solid hsl(89 22% 30% / 1)}:where(html[data-theme="dark"]) .talk-play{border:1px solid hsl(155 28% 48% / 1);background:hsl(155 28% 24% / 1);color:hsl(54 48% 98% / 1)}:where(html[data-theme="dark"]) .talk-play-cell span{color:hsl(100 16% 81% / 1)}:where(html[data-theme="dark"]) .talk-byline span{color:hsl(96 13% 80% / 1)}:where(html[data-theme="dark"]) .talk-body h2 a{color:hsl(145 29% 84% / 1)}:where(html[data-theme="dark"]) .talk-tradition{color:hsl(86 20% 81% / 1)}:where(html[data-theme="dark"]) .talk-tags button{background:hsl(78 30% 13% / 1);border:1px solid hsl(86 23% 30% / 1);color:hsl(112 23% 82% / 1)}:where(html[data-theme="dark"]) .talk-text-links{border-left:3px solid hsl(42 38% 48% / 1);background:hsl(45 30% 13% / 1)}:where(html[data-theme="dark"]) .talk-text-links>span{color:hsl(41 39% 82% / 1)}:where(html[data-theme="dark"]) .talk-related-label,:where(html[data-theme="dark"]) .talk-connection-note{background:hsl(85 30% 13% / 1)}:where(html[data-theme="dark"]) .talk-evidence{color:hsl(98 12% 80% / 1)}:where(html[data-theme="dark"]) .talk-unclassified{color:hsl(89 12% 80% / 1)}:where(html[data-theme="dark"]) .talk-pagination button,:where(html[data-theme="dark"]) .talk-player button{border:1px solid hsl(93 19% 30% / 1);color:hsl(118 21% 83% / 1)}:where(html[data-theme="dark"]) .talk-index-note{border-top:1px solid hsl(89 22% 30% / 1)}:where(html[data-theme="dark"]) .talk-index-note summary,:where(html[data-theme="dark"]) .talk-curated summary{color:hsl(118 21% 83% / 1)}:where(html[data-theme="dark"]) .talk-player{background:hsl(76 30% 12% / 1);border-top:1px solid hsl(89 20% 30% / 1)}:where(html[data-theme="dark"]) .talks-main :focus-visible{outline:3px solid hsl(37 48% 80% / 1)}
html:where([data-theme="dark"]) body .talk-player .talk-player-toggle{background:var(--room-accent,var(--a-accent,hsl(155 28% 24% / 1)));color:var(--a-paper,hsl(54 48% 98% / 1))}
html:where([data-theme="dark"]) body .talk-player #talk-player-seek{--seek-color:var(--room-accent,var(--a-accent,hsl(155 28% 83% / 1)))}
:where(html[data-theme="dark"]) #talk-player-seek::-webkit-slider-runnable-track{background:linear-gradient(to right,var(--seek-color) var(--seek-progress),var(--a-line,hsl(89 22% 16% / 1)) var(--seek-progress))}
:where(html[data-theme="dark"]) #talk-player-seek::-moz-range-track{background:linear-gradient(to right,var(--seek-color) var(--seek-progress),var(--a-line,hsl(89 22% 16% / 1)) var(--seek-progress))}
:where(html[data-theme="dark"]) #talk-player-seek::-webkit-slider-thumb{border:3px solid var(--a-paper,hsl(54 38% 30% / 1))}
:where(html[data-theme="dark"]) #talk-player-seek::-moz-range-thumb{border:3px solid var(--a-paper,hsl(54 38% 30% / 1))}
:where(html[data-theme="dark"]) .talk-player :focus-visible{outline:3px solid var(--a-accent,hsl(37 48% 80% / 1))}

:where(html[data-theme="dark"]) .talk-video-dialog{border:1px solid var(--a-line,hsl(53 11% 30% / 1));background:var(--a-paper,hsl(48 30% 12% / 1));color:var(--a-ink,hsl(108 7% 86% / 1))}
:where(html[data-theme="dark"]) .talk-video-dialog::backdrop{background:hsl(147 22% 8% / 0.702)}
:where(html[data-theme="dark"]) .talk-video-dialog iframe{background:hsl(0 0% 0% / 1)}
:where(html[data-theme="dark"]) .talk-favorites-help{border:1px solid var(--line,hsl(100 18% 30% / 1));background:var(--paper,hsl(77 30% 12% / 1));color:var(--ink,hsl(138 23% 85% / 1))}}

/* The setup follows the Atlas palette; the room keeps its candlelit colors. */
body.sit-page .sit-main{max-width:1240px;margin:auto;padding:40px 32px 56px}
.sit-sr-only{position:absolute!important;width:1px;height:1px;padding:0!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html body.sit-page[data-atlas-room]{background-image:none}
.sit-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;border:1px solid var(--a-line);border-radius:18px;overflow:hidden;background:var(--a-card)}
.sit-preview{position:relative;min-height:570px;background:#17110b}
.sit-preview picture,.sit-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 40%}
.sit-preview:after{content:"";position:absolute;inset:60% 0 0;background:linear-gradient(transparent,rgb(13 9 5 / .8));pointer-events:none}
body.sit-page .sit-preview-caption{position:absolute;bottom:32px;inset-inline:24px;text-align:center;color:#f3dfbf;font-family:var(--type-display,Georgia,serif);font-size:30px;line-height:1.2;z-index:1}
.sit-settings{position:relative;padding:28px;align-self:center;min-width:0}
body.sit-page .sit-settings fieldset{padding:0;margin:0 0 24px;border:0;min-width:0}
body.sit-page .sit-settings legend{font:600 16px/1.5 system-ui,sans-serif;margin:0 0 12px;color:var(--a-ink)}
body.sit-page .sit-duration{display:grid;gap:9px;margin:0 0 24px}
body.sit-page .sit-duration>label{font:500 16px/1.5 system-ui,sans-serif;color:var(--a-ink)}
body.sit-page .sit-duration select{width:100%;min-height:48px;border:1px solid var(--a-line);border-radius:9px;background:var(--a-card);color:var(--a-ink);padding:10px 12px;font:400 16px/1.5 system-ui,sans-serif}
body.sit-page .sit-custom:not([hidden]){display:flex;align-items:center;gap:14px;margin:14px 0 0;font-size:15px}
.sit-custom input{width:100px;min-height:44px}
body.sit-page .sit-check{display:flex;align-items:center;gap:10px;line-height:1.5;font-size:15px;margin:0;cursor:pointer}
body.sit-page .sit-check input{width:18px;height:18px;min-height:0;margin:0;accent-color:var(--room-accent);flex:none}
.sit-check:has(input:disabled){opacity:.55}
.sit-bells{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
body.sit-page .sit-text-button{min-height:36px;padding:4px 0;border:0;background:transparent;color:var(--room-accent);text-decoration:underline;text-underline-offset:3px;font-size:13px;white-space:nowrap}
body.sit-page .sit-volume{display:flex;align-items:center;gap:20px;margin:12px 0 20px;font-size:13px;color:var(--a-muted)}
body.sit-page .sit-volume input{min-width:50px;width:100%;flex:1;min-height:30px;height:30px;accent-color:var(--room-accent);border:0;padding:0;background:transparent;box-shadow:none}
.sit-more{border-block:1px solid var(--a-line);margin:22px 0 24px}
body.sit-page .sit-more>summary{padding:14px 0;cursor:pointer;font:500 15px/1.5 system-ui,sans-serif;color:var(--a-ink)}
.sit-options{display:grid;gap:16px;padding:4px 0 20px}
body.sit-page .sit-options>label:not(.sit-check){display:grid;gap:6px;font-size:14px;color:var(--a-muted)}
.sit-options select{width:100%;min-height:44px}
body.sit-page .sit-start{display:flex;align-items:center;justify-content:center;gap:11px;width:100%;min-height:52px;padding:12px 22px;border:1px solid var(--room-accent);border-radius:999px;box-shadow:0 4px 12px #0001;background:var(--room-accent);color:var(--a-card);font:500 18px/1.4 system-ui,sans-serif;cursor:pointer}
html[data-theme=dark] body.sit-page .sit-start{color:#241c10}
.sit-start:hover{filter:brightness(1.08)}
body.sit-page .sit-message{font-size:13px;line-height:1.5;margin:12px 0 0;color:var(--a-muted)}
.sit-message:empty{display:none}
.sit-room{position:fixed;inset:0;z-index:10000;background:rgb(15 11 8);color:rgb(246 231 208);isolation:isolate;overflow:auto;outline:none}
.sit-room[hidden],.sit-finish[hidden]{display:none!important}
.sit-room-picture{position:absolute;inset:0;z-index:-3}
.sit-room-picture img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 42%}
.sit-room:after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(rgb(0 0 0 / .3),transparent 22%,transparent 50%,rgb(6 4 2 / .85))}
.sit-room-top{position:absolute;inset:20px 24px auto;display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:env(safe-area-inset-top)}
body.sit-page .sit-room button{min-height:44px;padding:9px 18px;border:1px solid rgb(239 216 177 / .35);border-radius:30px;background:rgb(24 17 10 / .7);color:rgb(246 231 208);font:400 14px/1.4 system-ui,sans-serif;cursor:pointer;backdrop-filter:blur(8px)}
body.sit-page .sit-room button:hover{background:rgb(74 52 27 / .8)}
body.sit-page .sit-room button:focus-visible{outline:2px solid rgb(240 210 154);outline-offset:4px}
.sit-room-bottom{position:absolute;bottom:max(24px,env(safe-area-inset-bottom));inset-inline:20px;text-align:center;display:grid;justify-items:center;gap:10px}
body.sit-page #sit-phase{margin:0;font:400 13px/1.5 system-ui,sans-serif;letter-spacing:.09em;color:rgb(228 206 172)}
body.sit-page .sit-clock{font:300 clamp(38px,5vw,60px)/1 system-ui,sans-serif;font-variant-numeric:tabular-nums;letter-spacing:.04em;color:rgb(246 231 208);margin:0;min-height:60px}
.sit-session-actions{display:flex;gap:10px;justify-content:center}
.sit-presence{display:grid;gap:6px;justify-items:center;min-height:42px;padding-top:4px}
body.sit-page #sit-presence-label{margin:0;font:400 12px/1.4 system-ui,sans-serif;color:rgb(222 199 164)}
.sit-lights{display:flex;align-items:center;justify-content:center;gap:12px;height:13px;max-width:85vw;flex-wrap:wrap}
.sit-light{display:block;width:5px;height:9px;border-radius:70% 30% 65% 35%;background:rgb(255 220 150);box-shadow:0 0 8px 3px rgb(229 153 60 / .55);animation:sit-light 4s ease-in-out infinite alternate}
.sit-light:nth-child(2n){animation-delay:-1.6s}.sit-light:nth-child(3n){animation-delay:-.7s}
@keyframes sit-light{from{opacity:.65;transform:scale(.9)}to{opacity:1;transform:scale(1.06)}}
.sit-controls{transition:opacity .6s ease}
.sit-room[data-quiet=true] .sit-controls:not(:focus-within){opacity:.12}
.sit-room[data-quiet=true] .sit-controls:hover{opacity:1}
.sit-room[data-finished=true] .sit-room-bottom,.sit-room[data-finished=true] .sit-room-top{display:none}
.sit-finish{position:absolute;inset:auto 20px max(36px,env(safe-area-inset-bottom));text-align:center;padding:28px 16px}
body.sit-page .sit-finish h2{font:400 clamp(30px,5vw,42px)/1.2 Georgia,serif;color:rgb(246 231 208);margin:0 0 12px}
body.sit-page .sit-finish p{font:400 15px/1.5 system-ui,sans-serif;color:rgb(228 206 172);margin:0 0 20px}
.sit-finish button{margin:4px}
body.sit-active{overflow:hidden}
body.sit-active>.site-header,body.sit-active>.site-footer{visibility:hidden}
@media(max-width:800px){body.sit-page .sit-main{padding:24px 20px 40px}.sit-layout{grid-template-columns:1fr}.sit-preview{min-height:0;height:280px}.sit-preview img{object-position:center 34%}.sit-preview-caption{display:none}.sit-settings{padding:24px}.sit-room-picture{bottom:28%}.sit-room-picture img{object-position:center 28%}.sit-room:after{background:linear-gradient(rgb(0 0 0 / .3),transparent 20%,transparent 46%,rgb(15 11 8) 76%)}.sit-room-bottom{bottom:max(20px,env(safe-area-inset-bottom));gap:10px}.sit-room-top{inset:14px 14px auto}.sit-finish{bottom:26px}.sit-room .sit-clock{font-size:44px}}
@media(max-width:380px){body.sit-page .sit-main{padding-inline:14px}.sit-settings{padding:22px 18px}.sit-preview{height:240px}}
@media(max-height:520px) and (orientation:landscape){.sit-room-bottom{bottom:12px;gap:6px;left:auto;right:30px}.sit-room-picture{bottom:0}.sit-room:after{background:linear-gradient(90deg,transparent 40%,rgb(10 7 4 / .8))}.sit-room .sit-clock{font-size:36px;min-height:38px}.sit-room-top{inset:10px 16px auto}.sit-finish{left:55%;bottom:10px}}
@media(prefers-reduced-motion:reduce){.sit-candle-glow,.sit-light{animation:none}.sit-controls{transition:none}}

body.sit-page .sit-audio-note{max-width:360px;color:rgb(246 231 208);font:400 13px/1.4 system-ui,sans-serif;margin:0}

/* Keep the room's display type independent of reading-page typography. */
html:has(body.sit-active){overflow:hidden}
body.sit-page #sit-clock{font-size:clamp(38px,5vw,60px)!important;line-height:1!important}
body.sit-page #sit-phase{font-size:13px!important;line-height:1.5!important}
body.sit-page #sit-presence-label{font-size:12px!important;line-height:1.4!important}
body.sit-page #sit-finish-title{font-size:clamp(30px,5vw,42px)!important;line-height:1.2!important}
body.sit-page #sit-finish-duration{font-size:15px!important;line-height:1.5!important}
body.sit-page #sit-audio-note{font-size:13px!important;line-height:1.4!important}
@media(max-width:800px){body.sit-page #sit-clock{font-size:44px!important}}
@media(max-height:520px) and (orientation:landscape){body.sit-page #sit-clock{font-size:36px!important}}
.sit-custom input,.sit-options select{border:1px solid var(--a-line);border-radius:8px;background:var(--a-card);color:var(--a-ink);padding:8px 10px;font:inherit}

.sit-visual{display:flex;flex-direction:column;min-width:0;background:var(--a-surface)}
.sit-visual .sit-preview{flex:1;min-height:440px}
body.sit-page .sit-scenes{border:0;padding:18px 20px 20px;margin:0;min-width:0}
body.sit-page .sit-scenes legend{float:left;width:100%;margin:0 0 10px;font:500 13px/1.4 system-ui,sans-serif;color:var(--a-muted)}
.sit-scene-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;clear:both}
body.sit-page .sit-scene-options button{padding:3px;border:1px solid transparent;border-radius:8px;overflow:hidden;background:transparent;color:var(--a-ink);cursor:pointer;min-width:0}
.sit-scene-options button[aria-pressed=true]{border-color:var(--room-accent)!important;background:var(--a-card)!important}
.sit-scene-options img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:5px}
.sit-scene-options span{display:block;padding:7px 0 3px;font:400 12px/1.3 system-ui,sans-serif}
.sit-guided-playing{display:grid;justify-items:center;gap:3px;width:min(420px,90vw);margin-bottom:4px}
.sit-guided-playing strong{font:500 16px/1.4 system-ui,sans-serif;color:#f6e7d0;text-wrap:balance}
.sit-guided-playing span{font:400 12px/1.5 system-ui,sans-serif;color:#e4ceac}
body.sit-page #sit-guided-seek{width:100%;min-height:28px;height:28px;padding:0;border:0;accent-color:#e4ceac;background:transparent}
body.sit-page [hidden]{display:none!important}
@media(max-width:800px){.sit-visual .sit-preview{flex:none;min-height:0;height:260px}.sit-scenes{padding:14px!important}.sit-scene-options{gap:6px}.sit-scene-options img{aspect-ratio:2}.sit-room:has(#sit-guided-playing:not([hidden])) .sit-room-picture{bottom:38%}.sit-room:has(#sit-guided-playing:not([hidden])):after{background:linear-gradient(#0003,transparent 18%,transparent 35%,#0f0b08 66%)}.sit-room:has(#sit-guided-playing:not([hidden])) .sit-room-bottom{gap:7px}.sit-guided-playing strong{font-size:15px}}
@media(max-height:520px) and (orientation:landscape){.sit-guided-playing{width:300px}.sit-room:has(#sit-guided-playing:not([hidden])) .sit-room-picture{bottom:0}.sit-room:has(#sit-guided-playing:not([hidden])) .sit-presence{display:none}.sit-room:has(#sit-guided-playing:not([hidden])) #sit-clock{font-size:30px!important;min-height:30px}}

.sit-start svg{width:22px;height:22px;flex:none}
body.sit-page .sit-options>.sit-volume{display:flex;margin:0;gap:14px;font-size:13px;align-items:center}
.sit-room-tools{display:flex;align-items:center;gap:8px}
.sit-scene-motion{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none}
.sit-room[data-motion=false] .sit-light{animation:none}
@media(prefers-reduced-motion:reduce){.sit-scene-motion{display:none!important}.sit-light{animation:none}.sit-controls{transition:none}}
@media(max-width:800px){.sit-layout{grid-template-columns:1fr}.sit-settings{padding:24px}.sit-start{max-width:320px;margin-inline:auto}.sit-room-tools{gap:6px}body.sit-page .sit-room-top button{padding-inline:13px;font-size:13px}}

.sit-ocean-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 50%;pointer-events:none}.sit-ocean-video[hidden]{display:none!important}

body.sit-page #sit-save-note{font-size:14px;line-height:1.5}body.sit-page #sit-save-note a{color:inherit}

.sit-shared-option{display:flex;align-items:center;gap:8px}.sit-info{display:grid;place-items:center;flex:none;width:26px;height:26px;border:1px solid currentColor;border-radius:50%;background:transparent;color:inherit;font:italic 16px Georgia;cursor:pointer}.sit-info-popover{max-width:min(360px,calc(100vw - 40px));padding:16px 20px;border:1px solid var(--a-line);border-radius:12px;background:var(--a-card);color:var(--a-ink);box-shadow:0 8px 40px #0003}.sit-info-popover p{margin:0;font:14px/1.65 system-ui}
