:root{color-scheme:dark;--bg:#141b18;--panel:#1e2823;--ink:#f6f0dd;--muted:#bfcac0;--line:#425148;--gold:#e8c584;--accent:#203f32;--serif:Georgia,"Times New Roman",serif;--sans:system-ui,-apple-system,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:1rem/1.5 var(--sans)}[hidden]{display:none!important}button,input,textarea{font:inherit}button,.file{cursor:pointer}button{color:inherit}a{color:var(--gold)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,.file:focus-within{outline:2px solid var(--gold);outline-offset:3px}button{touch-action:manipulation}.skip,.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip:focus{clip-path:none;width:auto;height:auto;z-index:8;top:.5rem;left:.5rem;background:#000;padding:1rem}.top{border-bottom:1px solid #334037;position:sticky;top:0;z-index:3;background:#141b18f5;padding-top:env(safe-area-inset-top)}.top-inner,main,nav{width:min(100% - 2rem,44rem);margin:auto}.top-inner{display:flex;justify-content:space-between;align-items:center;min-height:64px}.brand{display:flex;align-items:center;gap:.62rem;background:none;border:0;text-align:left;padding:0;font:1.55rem/1 var(--serif)}.brand img{width:40px;height:40px}.brand small{display:block;font:600 .66rem/1.6 var(--sans);letter-spacing:.15em;color:var(--muted)}.round{border:1px solid var(--line);background:var(--panel);height:42px;width:42px;border-radius:50%;display:grid;place-items:center}.intro{position:relative;isolation:isolate;overflow:hidden;min-height:244px;display:flex;align-items:end;padding:1.65rem 1.4rem;margin:1rem 0 1.2rem;border:1px solid #48584d;border-radius:1.25rem;background:linear-gradient(105deg,#1e2e27 15%,#243c31 75%,#304a3c)}.intro-art{z-index:-1;position:absolute;inset:0 0 0 39%;background:url('./ripples.svg') no-repeat 76% center / auto 120%;opacity:.66;mask-image:linear-gradient(90deg,transparent,#000 45%)}.intro h1{font:clamp(2.9rem,9vw,4.55rem)/.96 var(--serif);letter-spacing:-.06em;margin:.65rem 0 .85rem}.intro h1 em{font-weight:normal;color:#edcb8e}.intro p:not(.eyebrow){margin:0;color:#e0e9df;max-width:23ch}.eyebrow,.section-line,.tradition{font-size:.75rem;font-weight:750;letter-spacing:.12em}.eyebrow{color:var(--gold);margin:0}.controls{display:grid;gap:.85rem}.chips{display:flex;overflow-x:auto;gap:.43rem;padding:4px 3px 6px;scrollbar-width:thin}.chip,.small{border:1px solid var(--line);border-radius:2rem;background:#1e2923;white-space:nowrap;min-height:42px;padding:.45rem .88rem;font-size:.875rem}.chip[aria-pressed=true],.primary{color:#19231c;background:var(--gold);border-color:var(--gold);font-weight:700}.quiet{display:inline-flex;align-items:center;gap:.45rem;border:0;color:var(--gold);background:transparent;min-height:44px;padding:.25rem .15rem;font-size:.875rem;letter-spacing:normal}input[type=search],input[type=text],textarea{width:100%;background:#1a241e;border:1px solid var(--line);border-radius:.75rem;color:var(--ink);padding:.7rem .85rem;min-height:46px}input::placeholder,textarea::placeholder{color:#b3c1b8}.section-line{display:flex;justify-content:space-between;align-items:center;min-height:49px;color:var(--muted);padding:0 .15rem}.cards{display:grid;gap:1rem}.card{border:1px solid #4a5b50;border-radius:1.1rem;overflow:hidden;background:#202c26;scroll-margin-top:78px}.card[data-theme=plum]{background:#32283a;border-color:#605268}.card[data-theme=clay]{background:#382c26;border-color:#69544a}.card[data-theme=blue]{background:#24323a;border-color:#4b606b}.card[data-theme=moss]{background:#303624;border-color:#586047}.card-inner{padding:1.25rem 1.25rem .55rem}.artwork{display:block;width:100%;max-height:310px;aspect-ratio:2/1;object-fit:contain;background:#24251f}.tradition{color:#e9cc97;margin:0}.passage{font:clamp(1.65rem,5.5vw,2.35rem)/1.16 var(--serif);letter-spacing:-.022em;margin:.75rem 0 .82rem;white-space:pre-line;overflow-wrap:anywhere}.attribution{font-size:.875rem;color:#e0e6de;margin:0}.attribution strong{color:#fff7e5}.context{display:block;color:#c8d3ca;margin-top:.18rem}.actions,.row{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem}.actions{margin:.65rem 0 .5rem}.action{border:0;border-radius:.65rem;background:transparent;display:flex;align-items:center;gap:.32rem;min-height:45px;padding:.35rem .6rem;font-size:.875rem}.action:hover,.quiet:hover{background:#ffffff10}.action.saved,.action.pin{color:#ffd491}.action svg,.quiet svg,nav svg,.round svg,.small svg{width:19px;height:19px;flex:none}.saved svg{fill:currentColor}.end{padding:1rem 0 2rem;color:var(--muted);text-align:center}.end p{margin:.3rem 0 .65rem}.empty{padding:1.45rem 1.1rem;border:1px dashed var(--line);border-radius:.9rem;color:var(--muted);background:var(--panel)}.empty p{margin:0 0 .75rem}.empty h2{margin:0 0 .4rem;color:var(--ink);font:1.65rem var(--serif)}footer{position:fixed;inset:auto 0 0;background:#141b18f7;border-top:1px solid #3a4c40;z-index:4;padding-bottom:env(safe-area-inset-bottom)}nav{display:flex;justify-content:center;gap:1.1rem}nav button{border:0;background:transparent;gap:.52rem;display:flex;align-items:center;justify-content:center;min-height:58px;min-width:min(42%,210px);color:var(--muted);font-weight:650}nav button[aria-current=page]{color:var(--gold)}main{padding-bottom:calc(80px + env(safe-area-inset-bottom));outline:none}.notebook-intro{min-height:170px}.notebook-tools{display:grid;gap:.7rem}.file{position:relative;display:inline-flex;align-items:center}.file input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.note-preview{margin:0 0 .5rem;border-left:2px solid #c8ab73;padding:.2rem .75rem;font-size:.9rem;color:#e3e7dc;white-space:pre-wrap;overflow-wrap:anywhere}.sheet-head{display:flex;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.8rem}.sheet-head h2{font:1.7rem var(--serif);margin:0}dialog{background:#25342b;color:var(--ink);border:1px solid #63766a;border-radius:1.2rem;width:min(calc(100% - 24px),31rem);padding:1rem 1.2rem 1.3rem;max-height:85dvh}dialog::backdrop{background:#080e0bd0}dialog p{color:var(--muted);margin:.35rem 0 .9rem}dialog .row{margin-top:.8rem}dialog form{display:grid;gap:.6rem}dialog label{font-size:.9rem}dialog textarea{min-height:140px;resize:vertical}dialog .callout{border:1px solid var(--line);border-radius:.7rem;padding:.65rem;overflow-wrap:anywhere}dialog a.small{text-decoration:none;display:inline-flex;align-items:center}#status{position:fixed;bottom:calc(70px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 2rem);pointer-events:none;z-index:5;background:#f1d8a5;color:#20291f;border-radius:.6rem;padding:.5rem .9rem;font-weight:650}#status:empty{display:none}@media(min-width:650px){.intro{padding:2rem 2.2rem}.card-inner{padding:1.45rem 1.75rem .55rem}}@media(max-width:375px){.top-inner,main,nav{width:calc(100% - 1.25rem)}.card-inner{padding:1rem .9rem .4rem}.action{padding:.3rem .4rem}}@media(prefers-reduced-motion:no-preference){button{transition:background-color .16s,color .16s}}

/* Social feed: flat surfaces, topic bubbles and post-first navigation. */
:root{color-scheme:light;--bg:#f1f2f5;--panel:#fff;--ink:#18212a;--muted:#526171;--line:#dbe0e7;--gold:#175f58;--accent:#175f58}
body{background:#eef0f3}.top{background:#fffffff7;border-color:#dfe3e9}.top-inner,main,nav{width:min(100%,37rem)}.top-inner{min-height:55px;padding:0 .85rem}.brand{gap:.48rem;font:750 1.4rem/1 var(--sans);letter-spacing:-.065em}.brand img{width:33px;height:33px;border-radius:9px}.round{color:#22313d;background:#f1f3f5;border-color:#e6e9ed;width:38px;height:38px;font-weight:750}.social main{background:#fff;min-height:100vh}.controls{gap:.68rem;padding:.66rem 0 0;background:#fff}.searchbar{position:relative;margin:0 .85rem;color:#5a6978}.searchbar svg{position:absolute;left:.76rem;top:.68rem;pointer-events:none}.searchbar input[type=search]{padding:.49rem .65rem .49rem 2.45rem;background:#f1f3f5;border-color:transparent;min-height:42px}.social input,.social textarea{color:var(--ink);background:#f4f6f8;border-color:#d7dfe6;font-size:1rem}.social input::placeholder,.social textarea::placeholder{color:#566777}.chips{gap:.34rem;padding:.1rem .7rem .64rem;scrollbar-width:none}.chips::-webkit-scrollbar{display:none}.chip{display:grid;grid-template-rows:51px auto;justify-items:center;align-items:start;gap:.22rem;flex:0 0 4.2rem;width:4.2rem;min-height:79px;background:none;border:0;border-radius:10px;font-size:.75rem;color:var(--muted);line-height:1.15;padding:.1rem .12rem .12rem;white-space:normal;text-align:center}.filter-mark{display:grid;place-items:center;width:50px;height:50px;font:700 1.3rem/1 var(--sans);border:2px solid #d7dfe2;border-radius:50%;background:#edf3f1;color:#2a6659;box-shadow:inset 0 0 0 3px #fff}.chip:nth-child(3n) .filter-mark{background:#edf0f9;color:#414f80}.chip:nth-child(3n+1) .filter-mark{background:#f6eee2;color:#765536}.chip[aria-pressed=true]{color:#1c5149;background:none;font-weight:760}.chip[aria-pressed=true] .filter-mark{border-color:#23756a;background:#dcefe7;color:#1d5c52}.section-line{background:#fff;border-top:1px solid #edf0f3;padding:0 .9rem;min-height:44px;letter-spacing:0;font-size:.94rem;font-weight:750;color:#253443}.quiet{color:#235f57}.quiet:hover,.action:hover{background:#e9f0ee}.cards{gap:8px;background:#eef0f3}.card,.card[data-theme]{border:0;border-bottom:1px solid #dee3e9;border-radius:0;background:#fff;scroll-margin-top:64px;--accent-ink:#2d4e45;--tile1:#e7f0eb;--tile2:#d6e7dc}.card[data-theme=blue]{--accent-ink:#264b63;--tile1:#e7f1f7;--tile2:#dce9f0}.card[data-theme=clay]{--accent-ink:#6c4736;--tile1:#f5ebdd;--tile2:#efe0cd}.card[data-theme=plum]{--accent-ink:#5a446c;--tile1:#efebf8;--tile2:#e9dff2}.card[data-theme=moss]{--accent-ink:#4b5934;--tile1:#eff0e0;--tile2:#e4e9d4}.post-header{display:flex;align-items:center;gap:.61rem;min-height:59px;padding:.45rem .85rem}.avatar{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:50%;background:var(--tile1);color:var(--accent-ink);font-weight:750;font-size:1.04rem}.post-author{display:grid;line-height:1.2;min-width:0}.post-author strong{font-size:.92rem;overflow-wrap:anywhere}.post-author span{margin-top:.19rem;font-size:.75rem;color:var(--muted)}.quote-tile{position:relative;isolation:isolate;display:grid;place-items:center;min-height:clamp(210px,65vw,355px);padding:1.7rem 1.9rem;overflow:hidden;text-align:center;background:linear-gradient(135deg,var(--tile1),var(--tile2));color:var(--accent-ink)}.quote-tile:before,.quote-tile:after{content:'';position:absolute;z-index:-1;border:1px solid currentColor;border-radius:50%;pointer-events:none;width:255px;height:255px;opacity:.09}.quote-tile:before{top:-120px;right:-82px;box-shadow:0 0 0 15px currentColor,0 0 0 36px var(--tile2),0 0 0 37px currentColor}.quote-tile:after{bottom:-118px;left:-100px;box-shadow:0 0 0 14px currentColor,0 0 0 31px var(--tile1),0 0 0 32px currentColor}.social .passage{margin:0;font-size:clamp(1.54rem,5.9vw,2.35rem);line-height:1.16;text-wrap:pretty}.card>.passage{margin:.86rem .9rem 0;font:1rem/1.4 var(--sans);color:#263744;letter-spacing:normal}.social .artwork{aspect-ratio:auto;max-height:none;max-width:100%;background:#1a211e;object-fit:contain}.social .artwork[src$='hevajra.jpg']{height:min(115vw,37rem)}.social .card-inner{padding:0 .86rem .8rem}.actions{margin:.07rem 0 .26rem;gap:.35rem}.actions .action:last-child{margin-left:auto}.action{min-height:44px;padding:.26rem .35rem;color:#233342;font-weight:680}.action svg{width:22px;height:22px}.action.saved,.action.pin{color:#17685d}.attribution,.context{color:#344757;font-size:.84rem;line-height:1.4}.context{margin:0}.context.credit{font-size:.77rem;color:#526171;margin-top:.12rem}.source-link{display:flex;align-items:center;gap:.45rem;padding:.52rem .58rem;min-height:43px;border:1px solid #dfe7e8;border-radius:.57rem;background:#f5f8f8;color:#155b54;text-decoration:none;font-size:.86rem;font-weight:720;margin-top:.6rem}.source-link svg{height:19px;width:19px;flex:none}.source-link small{font-weight:500;margin-left:auto;color:#536977;max-width:48%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.source-link:hover{text-decoration:underline}footer{background:#fffffffa;border-color:#dce2e8}nav{justify-content:space-around;gap:0}nav button{color:#556575;min-height:54px;flex-direction:column;gap:.05rem;font-size:.78rem}nav button[aria-current=page]{color:#156255}nav svg{width:21px;height:21px}.end{background:#fff}.small,.secondary{background:#f3f6f8;border-color:#dce3e9;color:#273945}.small.primary{color:#fff;background:#216a5f;border-color:#216a5f}.social dialog{background:#fff;border-color:#dce3eb;box-shadow:0 12px 65px #131f2c45;color:#18212a}.social dialog p{color:#3d5161}.social dialog .passage{margin:.3rem 0 .8rem}.notebook-intro{min-height:125px;margin:.75rem .85rem .9rem;padding:1rem 1.2rem;color:#214236;background:#e8f1ec;border-color:#d2e4db}.notebook-intro h1{font:750 2.05rem/1.1 var(--sans);margin:.35rem 0;letter-spacing:-.045em}.notebook-intro p:not(.eyebrow){color:#405d55;max-width:none}.notebook-tools{padding:0 .85rem .8rem}.note-preview{color:#304c48;border-color:#5b9c90;margin-top:.75rem}.empty{margin:0 .85rem;background:#f4f7f8}.social .empty h2{color:#293c49}.social #status{background:#235a52;color:#fff}.social .skip:focus{color:#fff}@media(min-width:610px){.top-inner,main,nav{border-inline:1px solid #e0e4e8}.social .card-inner{padding-inline:1.05rem}.post-header{padding-inline:1.05rem}.quote-tile{padding-inline:3.5rem}}@media(max-width:375px){.top-inner,main,nav{width:100%}.quote-tile{padding:1.25rem}.social .action{font-size:.8rem;gap:.27rem}}

/* Practice: Attune collection and a single, persistent playback control. */
.social nav button{min-width:0;flex:1}
.practice-intro{margin:.8rem .85rem .9rem;padding:1.3rem 1.1rem;background:#e8f1ec url('./ripples.svg') no-repeat right center / auto 145%;color:#fff;border-radius:.95rem;overflow:hidden;position:relative;isolation:isolate}.practice-intro:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#214639 16%,#214639e6 62%,#21463935);z-index:-1}.practice-intro .eyebrow{color:#d9e7cd}.practice-intro h1{margin:.25rem 0;font:750 2.35rem/1.13 var(--sans);letter-spacing:-.06em}.practice-intro p:last-child{margin:.45rem 0 0;max-width:24ch;color:#f3faf4}.practice-tools{display:grid;gap:.65rem;padding:.1rem .85rem .7rem}.practice-filters{display:flex;gap:.4rem;overflow:auto;scrollbar-width:thin;padding:4px 4px 6px}.practice-filters [aria-pressed=true]{background:#dcefe7;color:#15584f;border-color:#add3c6;font-weight:720}.practice-tracks{display:grid;margin:0 .85rem}.practice-track{min-height:64px;display:flex;gap:.65rem;text-align:left;align-items:center;justify-content:space-between;border:0;border-bottom:1px solid #e5e9ed;background:#fff;color:#233845;padding:.53rem .3rem}.practice-track.selected,.practice-track:hover{background:#f4f8f6}.practice-play{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;background:#e3f0eb;color:#1f6a5d;border-radius:50%}.practice-track-text{display:grid;flex:1;line-height:1.25;min-width:0}.practice-track-text strong{overflow-wrap:anywhere;font-size:.95rem}.practice-track-text small,.practice-duration,.practice-source,.practice-player span{color:#4c6270;font-size:.82rem}.practice-duration{font-variant-numeric:tabular-nums}.practice-player{margin:0 .85rem .85rem;padding:.8rem .85rem;border:1px solid #c9ddd6;background:#f0f7f3;border-radius:.85rem;scroll-margin-top:70px}.practice-player div{display:grid}.practice-player audio{display:block;width:100%;margin:.6rem 0 .2rem}.practice-player p{margin:.4rem 0;color:#42545d}.practice-player a,.practice-source a{color:#165f54}.practice-player a{font-size:.86rem}.practice-source{margin:1rem .85rem}.practice-empty{padding:.3rem;color:#4c6270}
.feed-resume{padding:0 .85rem .68rem;background:white}
.feed-resume .small{background:#e7f2ed;color:#285d52;border-color:#d8e7e0;font-weight:700;min-height:39px}

/* Stillwater practice and reflection */
.sw-reflection,.sw-revisit{padding:14px;border-radius:12px;background:#f4f7f8;margin-block:10px}
.sw-reflection label,.sw-setup label{display:block;font-weight:600}
.sw-reflection textarea,.sw-sit select,#dialogBody textarea{width:100%;margin-block:6px;box-sizing:border-box;font:inherit}
.sw-reflection textarea{min-height:100px;padding:10px;border:1px solid #a3b6bd;border-radius:8px;background:white;color:#192c33}
.sw-muted,.sw-date{color:#455a64;font-size:.88rem}
.sw-lines{white-space:pre-wrap;overflow-wrap:anywhere}
.sw-history{margin-block:12px;font-size:.9rem}
.sw-history .sw-date{margin-bottom:0}
.sw-check{display:flex;align-items:center;gap:.55rem;margin-bottom:.4rem}
.sw-check input{margin:0;width:1.1rem;height:1.1rem}
.sw-still{background:#f1f6f8;border-radius:12px;padding:16px;margin-bottom:14px}
.sw-still img{display:block;max-width:100%;max-height:45vh;object-fit:contain;margin:0 auto 10px}
.sw-still blockquote{margin:0}
.sw-setup,.sw-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.sw-sit select{padding:8px;border-radius:7px;border:1px solid #a3b6bd;color:#192c33;background:white}
.sw-instruction:not(:empty){font-size:1.12rem;line-height:1.6;border-inline-start:3px solid #789ba7;padding-inline-start:12px}
.sw-clock{font-variant-numeric:tabular-nums}
.sw-compare .card{min-width:0}
.sw-related-options{margin-bottom:12px}
.sw-related-options [aria-pressed=true]{background:#dcecef;color:#192c33}
.sw-revisit[hidden],#dialogBody [hidden]{display:none}
@media(max-width:560px){.sw-compare,.sw-setup{grid-template-columns:1fr}.sw-compare .quote-tile{min-height:0}}

/* A quiet visual anchor for text. Art cards remain their own focal point. */
.sw-sit .sw-still{background:#17263a;color:#fcf1dc;padding:0 0 16px;overflow:hidden;border:1px solid #263c51}
.sw-sit .sw-still .sw-lotus{width:100%;height:auto;max-height:none;object-fit:contain;margin:0}
.sw-sit .sw-still .passage{margin:0;padding:8px 20px 0;text-align:center;color:#fcf1dc;background:none}
.sw-sit .sw-still .sw-muted{text-align:center;color:#d2dce6;padding-inline:17px;margin-bottom:0}
.sw-sit .sw-sit-art img{width:auto;max-width:100%;height:auto;max-height:min(44vh,390px);margin:10px auto 2px}

/* 52 Gates identity */
.brand{line-height:1.05;letter-spacing:-.035em}.brand small{font-size:.57rem;letter-spacing:.16em;color:#525b53;line-height:1.3}.brand img{width:37px;height:37px;flex:none;border:1px solid #e3ddcb;border-radius:9px}
