@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Newsreader:opsz,wght@6..72,500;6..72,600&display=swap";:root{color:#18352f;font-synthesis:none;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#f4efe4;font-family:DM Sans,sans-serif}*{box-sizing:border-box}html{-webkit-tap-highlight-color:transparent}body{min-width:320px;min-height:100vh;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);touch-action:manipulation;background:radial-gradient(circle at 85% 0,#f5d99855,#0000 30rem),#f4efe4;margin:0;overflow-x:hidden}button{font:inherit}a:hover{color:#173f35}.site-header{max-width:1080px;height:76px;padding:0 max(24px, env(safe-area-inset-right)) 0 max(24px, env(safe-area-inset-left));border-bottom:1px solid #173f3522;justify-content:space-between;align-items:center;margin:auto;display:flex}.brand{color:#173f35;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;font:600 22px Newsreader,serif;display:flex}.brand img{border-radius:9px;width:34px;height:34px}.tag{color:#4f6760;font-size:13px}main{width:min(920px,100% - 36px);margin:56px auto 80px}.hero{max-width:680px}.hero h1,.empty h1{letter-spacing:-.025em;text-wrap:balance;margin:10px 0;font:600 clamp(36px,7vw,72px)/.98 Newsreader,serif}.hero>p:not(.eyebrow){color:#4f6760;margin:0;font:500 clamp(18px,3.5vw,24px) Newsreader,serif}blockquote{color:#6c5b39;border-left:3px solid #d69c38;margin:30px 0 0;padding-left:18px}.eyebrow{text-transform:uppercase;letter-spacing:.15em;color:#97702a;font-size:12px;font-weight:600}.stats{grid-template-columns:repeat(3,1fr);gap:14px;margin:46px 0 22px;display:grid}.stats article{background:#fffdf8aa;border:1px solid #173f3518;border-radius:16px;flex-direction:column;min-width:0;padding:20px;display:flex}.stats strong{font-variant-numeric:tabular-nums;font:600 32px Newsreader,serif}.stats span{color:#4f6760;overflow-wrap:anywhere;font-size:13px}.home-actions{flex-wrap:wrap;gap:12px;margin-bottom:50px;display:flex}button.primary,button:not(.brand):not(.verse-card):not(.phrase-choice):not(.phrase-strip-item):not(.back):not(.library-row):not(.library-chip):not(.quiz-choice):not(.word-audio):not(.speech-rate-option){color:#fff;cursor:pointer;background:#173f35;border:0;border-radius:999px;padding:12px 20px;font-weight:600}button:disabled{opacity:.45;cursor:not-allowed}button.secondary{box-shadow:inset 0 0 0 1px #173f3555;color:#173f35!important;background:0 0!important}button.secondary:hover:not(:disabled){background:#173f350c!important}button.primary:hover:not(:disabled),button:not(.brand):not(.verse-card):not(.phrase-choice):not(.phrase-strip-item):not(.back):not(.library-row):not(.library-chip):not(.quiz-choice):not(.word-audio):not(.speech-rate-option):not(.secondary):hover:not(:disabled){background:#0f2c25}.brand:focus-visible,.back:focus-visible,button:focus-visible,summary:focus-visible,a:focus-visible,.welcome input:focus-visible{outline-offset:3px;outline:2px solid #173f35}.verse-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));align-items:start;gap:16px;display:grid}.verse-card{text-align:left;color:#173f35;cursor:pointer;background:#fffdf8aa;border:1px solid #173f3525;border-radius:18px;flex-direction:column;gap:11px;min-height:180px;padding:22px;transition:transform .15s,box-shadow .15s;display:flex}.verse-card:hover{transform:translateY(-3px);box-shadow:0 14px 32px #173f3515}.verse-card span,.verse-card small{color:#5a6e68}.verse-card strong{overflow-wrap:anywhere;flex:1;font:600 23px/1.08 Newsreader,serif}.verse-picker-card{text-align:left;color:#173f35;background:#fffdf8aa;border:1px solid #173f3525;border-radius:18px;flex-direction:column;gap:12px;min-width:0;padding:18px 18px 14px;display:flex}.verse-picker-header{border-bottom:1px solid #173f3518;flex-direction:column;flex-shrink:0;gap:8px;margin:0;padding:0 4px 12px;display:flex}.verse-picker-meta{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 12px;display:flex}.verse-picker-header span,.verse-picker-header small{color:#5a6e68}.verse-picker-header strong{overflow-wrap:anywhere;text-wrap:balance;font:600 20px/1.35 Newsreader,serif}.phrase-picker{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.phrase-choice{text-align:left;color:#173f35;cursor:pointer;background:#fffdf8;border:1px solid #173f3520;border-radius:12px;flex-direction:column;gap:4px;width:100%;min-height:44px;padding:10px 12px;font-weight:500;display:flex}.phrase-choice:hover{background:#f7f1e4;border-color:#173f3533}.phrase-choice-index{letter-spacing:.06em;text-transform:uppercase;color:#97702a;font-size:12px;font-weight:600}.phrase-choice-text{color:#4f6760;overflow-wrap:anywhere;font-size:14px;line-height:1.45}.source-note,.caution{color:#5a6e68;margin-top:28px;font-size:13px;line-height:1.6}.back{color:#4f6760;cursor:pointer;background:0 0;border:0;margin-bottom:30px;padding:0}.back:hover{color:#173f35}.lesson-card{background:#fffdf8dd;border:1px solid #173f3520;border-radius:24px;min-height:480px;padding:clamp(24px,5vw,54px);box-shadow:0 24px 70px #173f3510}.step-row{gap:7px;display:flex}.step{background:#d9d8cc;border-radius:4px;flex:1;height:4px}.step.active{background:#d69c38}.pali{overflow-wrap:anywhere;margin:36px 0 14px;font:600 clamp(28px,5vw,48px)/1.08 Newsreader,serif}.chant{color:#4f6760;overflow-wrap:anywhere}.chanting-guide{background:#f5f8f3;border:1px solid #c6d4cb;border-radius:12px;margin:16px 0;padding:14px}.chanting-guide summary{cursor:pointer;color:#173f35;font-weight:600}.chanting-guide p{font-size:14px;line-height:1.6}.chanting-line{flex-wrap:wrap;align-items:center;gap:12px 8px;margin:18px 0;display:flex}.chanting-word{flex-wrap:wrap;gap:3px;max-width:100%;display:inline-flex}.chanting-syllable{color:#173f35;border:1px solid #b6c7bd;border-radius:5px;flex-direction:column;align-items:center;min-width:30px;padding:5px;display:inline-flex}.chanting-syllable.beats-2{background:#deebe0;border-bottom:3px solid #52715b;font-weight:600}.chanting-syllable small{font:500 12px DM Sans,sans-serif}.chanting-separator{white-space:pre-wrap;color:#4f6760;font-size:14px}.chanting-controls{flex-wrap:wrap;align-items:center;gap:12px;font-size:14px;display:flex}.chanting-controls label{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.chanting-controls select{font:inherit;max-width:100%;padding:8px}.chanting-line .current{outline-offset:2px;color:#173f35;background:#f5d998;border-radius:5px;outline:3px solid #173f35}.pronunciation{letter-spacing:.025em;color:#9a641d;overflow-wrap:anywhere;font-size:clamp(16px,3vw,20px)}.pronunciation-text{font-weight:400}.pronunciation-text strong{font-weight:700}.pronunciation-rhythm-key{color:#4f6760;line-height:1.5;display:block}.audio{margin:14px 0 4px}.word-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:12px;margin-top:28px;display:grid}.word-grid article{background:#f4efe4;border-radius:13px;min-width:0;padding:15px}.word-grid h3{overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:8px;margin:0;font:600 23px Newsreader,serif;display:flex}.word-grid p{margin:5px 0}.lemma{color:#9a641d;font-size:12px}.word-grid small{color:#4f6760}.word-audio{color:#8b5c1d;cursor:pointer;background:#d69c3833;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;padding:0;font-size:11px;line-height:1;display:inline-flex}.word-audio:hover{background:#d69c3855}.quiz{margin-top:28px}.quiz-item{margin-bottom:22px}.quiz-item h3{margin:0 0 10px;font:600 22px Newsreader,serif}.quiz-choices{grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:8px;display:grid}.quiz-choice{color:#173f35;text-align:left;cursor:pointer;overflow-wrap:anywhere;background:#f4efe4;border:1px solid #17392f22;border-radius:10px;padding:12px 14px;font-size:14px;font-weight:500}.quiz-choice:hover:not(:disabled){background:#ebe4d6}.quiz-choice:disabled{cursor:default;opacity:1}.quiz-choice.correct{color:#245735;background:#d9ecdf;border-color:#4c8a63}.quiz-choice.incorrect{color:#8a3423;background:#f5dbd6;border-color:#b9573f}.quiz-score{color:#4f6760;margin-top:18px;font-weight:600}.meaning,.recall{margin-top:25px;font-size:18px;line-height:1.65}.note{background:#e6efe9;border-radius:12px;padding:13px 16px;font-size:14px}.answer{font-size:clamp(22px,5vw,30px)}.actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:34px;display:flex}.actions-prev{margin-right:auto}.phrase-strip{flex-wrap:wrap;gap:8px;margin:0 0 18px;display:flex}.phrase-strip-item{color:#173f35;cursor:pointer;background:#fffdf8;border:1px solid #173f3525;border-radius:12px;min-width:44px;min-height:44px;padding:8px 12px;font-weight:600}.phrase-strip-item:hover{background:#f7f1e4;border-color:#173f3533}.phrase-strip-item[aria-pressed=true],.phrase-strip-item[aria-current=step]{background:#e6efe9;border-color:#173f35}.review details{background:#f4efe4;border-radius:14px;margin-top:28px;padding:16px}.review summary{cursor:pointer;font-weight:600}.rating-help{color:#4f6760;font-size:14px;line-height:1.5}.ratings{grid-template-columns:repeat(4,1fr);gap:8px;margin-top:26px;display:grid}.ratings button{text-transform:capitalize;min-height:44px;padding-inline:5px!important}.empty{text-align:center;padding:80px 10px}.reader-page-header{border:0;max-width:40rem;height:auto;margin:0 0 28px;padding:0;display:block}.reader-page-header h1{letter-spacing:-.02em;text-wrap:balance;overflow-wrap:anywhere;margin:8px 0 6px;font:600 clamp(32px,6vw,48px)/1.05 Newsreader,serif}.reader-page-header>p:not(.eyebrow){color:#4f6760;margin:0;font-size:clamp(16px,2.5vw,20px)}.reader-intro{background:#fffdf8aa;border:1px solid #173f3518;border-radius:14px;margin-bottom:20px;padding:14px 16px}.reader-intro .caution{margin:10px 0 0}.reader-intro .pronunciation-key{margin:0}.reader-toc{flex-wrap:wrap;gap:8px;margin:0 0 28px;padding-bottom:4px;display:flex}.reader-toc a{color:#173f35;background:#fffdf8;border:1px solid #173f3520;border-radius:999px;align-items:center;min-height:36px;padding:6px 12px;font-size:13px;font-weight:600;text-decoration:none;display:inline-flex}.reader-toc a:hover{background:#e6efe9;border-color:#173f3540}.reader-verse{background:#fffdf8dd;border:1px solid #173f3520;border-radius:18px;margin:0 0 22px;padding:20px clamp(16px,3vw,24px);scroll-margin-top:24px}.reader-verse-header{border:0;height:auto;margin:0 0 8px;padding:0;display:block}.reader-verse-header .eyebrow{margin:0 0 4px}.reader-verse-header h2{text-wrap:balance;overflow-wrap:anywhere;margin:0;font:600 clamp(20px,3.5vw,26px)/1.2 Newsreader,serif}.reader-phrases{flex-direction:column;gap:0;display:flex}.reader-phrase{border-top:1px solid #17392f14;flex-direction:column;gap:6px;margin:0;padding:16px 0;display:flex}.reader-phrase:first-child{border-top:0;padding-top:8px}.reader-phrase-line{align-items:flex-start;gap:10px;min-width:0;display:flex}.reader-phrase-line .audio-control{flex-shrink:0;margin-top:4px}.reader-pali{overflow-wrap:anywhere;flex:1;min-width:0;margin:0;font:600 clamp(20px,3.5vw,28px)/1.25 Newsreader,serif}.reader-english{color:#4f6760;margin:0 0 0 42px;font-size:15px;line-height:1.5}.reader-pronunciation{color:#8b5c1d;margin:0 0 0 42px;font-size:13px}.reader-pronunciation summary{cursor:pointer;color:#9a641d;width:fit-content;font-weight:600}.reader-pronunciation p{overflow-wrap:anywhere;margin:6px 0 0;line-height:1.5}.reader-word{border-radius:4px;transition:background-color .15s,color .15s}.reader-word.active{color:#2b2416;background:#d69c38;padding:0 2px}.reader-play{margin-top:4px}footer{max-width:1080px;padding:24px max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));color:#5a6e68;border-top:1px solid #173f3522;justify-content:space-between;gap:12px;margin:auto;font-size:12px;display:flex}footer a{color:#4f6760}@media (width<=650px){.site-header{padding-inline:max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right))}main{width:min(920px,100% - 28px);margin-top:34px}.tag{display:none}.stats{grid-template-columns:1fr;gap:10px}.verse-grid{grid-template-columns:1fr}.stats article{flex-direction:row;justify-content:space-between;align-items:baseline;gap:12px;padding:16px}.stats strong{font-size:28px}.stats span{text-align:right;font-size:13px}.home-actions{flex-direction:column}.home-actions button{width:100%}.library-collapsed{flex-wrap:wrap}.library-change{width:100%}.library-filters{gap:6px}.verse-card{min-height:120px}.verse-picker-card{padding:14px}.ratings{grid-template-columns:repeat(2,1fr)}.lesson-card{min-height:0}.actions{justify-content:stretch}.actions button{width:100%}.reader-english,.reader-pronunciation{margin-left:0}.reader-toc{-webkit-overflow-scrolling:touch;scrollbar-width:none;flex-wrap:nowrap;overflow-x:auto}.reader-toc::-webkit-scrollbar{display:none}.reader-toc a{flex:none}footer{flex-direction:column;gap:8px}}@media (prefers-reduced-motion:reduce){.verse-card{transition:none}.verse-card:hover{transform:none}.reader-word{transition:none}}.word-memory-hint{border-top:1px solid #d7dfd9;margin-top:14px;padding-top:12px}.word-memory-hint summary{cursor:pointer;color:#52663d;font-weight:600}.word-memory-hint p{line-height:1.5}.audio-control{flex-wrap:wrap;align-items:center;gap:8px;display:inline-flex}.speech-rate{background:#fffdf8;border:1px solid #173f3530;border-radius:999px;align-items:center;gap:0;display:inline-flex;overflow:hidden}.speech-rate-option{min-height:36px;font-size:13px;font-weight:600;color:#173f35!important;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:0!important;padding:8px 14px!important}.speech-rate-option.active{color:#fff!important;background:#173f35!important}.speech-rate-option:hover:not(.active){background:#173f350c!important}.reader-toolbar{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px;display:flex}.reader-toolbar-note{color:#5a6e68;margin:0;font-size:13px}.audio-status{color:#52663d;max-width:28rem;font:400 13px/1.4 DM Sans,sans-serif}.pronunciation-note{color:#345248;background:#e6efe9;border-radius:12px;max-width:760px;margin:24px 0;padding:16px 20px;font-size:14px;line-height:1.6}.pronunciation-note h2{margin:0 0 8px;font:600 16px/1.4 DM Sans,sans-serif}.pronunciation-note p{margin:8px 0 0}.pronunciation-note .pronunciation-sources{font-size:12px}.pronunciation-note a{color:#173f35;text-underline-offset:2px}.sutta-library{max-width:760px;margin:16px 0 36px}.library-header{flex-direction:column;gap:12px;margin-bottom:12px;display:flex}.library-header h2{margin:0}.library-collapsed{background:#fffdf8;border:1px solid #173f3518;border-radius:14px;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.library-collapsed p{flex-direction:column;gap:2px;min-width:0;margin:0;display:flex}.library-collapsed-label{letter-spacing:.08em;text-transform:uppercase;color:#97702a;font-size:12px;font-weight:600}.library-collapsed strong{color:#173f35;overflow-wrap:anywhere;font:600 18px/1.3 Newsreader,serif}.library-change{flex-shrink:0;min-height:44px}.library-search{margin:0 0 12px;display:block}.library-search input{color:#173f35;width:100%;min-height:44px;font:inherit;background:#fffdf8;border:1px solid #173f3533;border-radius:12px;padding:10px 14px}.library-search input::placeholder{color:#7a8f88}.library-search input:focus-visible{outline-offset:2px;outline:2px solid #173f35}.library-filters{flex-wrap:wrap;gap:8px;margin-bottom:16px;display:flex}.library-chip{color:#345248;cursor:pointer;background:#fffdf8;border:1px solid #173f3533;border-radius:999px;min-height:44px;padding:8px 14px;font:500 13px/1.2 DM Sans,sans-serif}.library-chip:hover{background:#f7f1e4;border-color:#173f3555}.library-chip.active,.library-chip[aria-pressed=true]{color:#173f35;background:#e6efe9;border-color:#173f35;font-weight:600}.library-groups{flex-direction:column;gap:18px;display:flex}.library-group-title{letter-spacing:.12em;text-transform:uppercase;color:#97702a;margin:0 0 8px;font:600 12px/1.2 DM Sans,sans-serif}.library-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.library-row{color:#173f35;text-align:left;cursor:pointer;background:#fffdf8;border:2px solid #173f3518;border-radius:12px;flex-direction:column;gap:4px;width:100%;min-width:0;min-height:44px;padding:12px 14px;font-weight:500;display:flex}.library-row:hover{background:#f7f1e4;border-color:#173f3533}.library-row[aria-pressed=true]{background:#e6efe9;border-color:#173f35}.library-row[aria-pressed=true]:hover{background:#dce8e1}.library-row-titles{flex-wrap:wrap;align-items:baseline;gap:6px 10px;min-width:0;display:flex}.library-row strong{overflow-wrap:anywhere;font:600 17px/1.3 Newsreader,serif}.library-row span{color:#4f6760;overflow-wrap:anywhere;font-size:14px}.library-row small{color:#5a6e68;overflow-wrap:anywhere;line-height:1.4}.library-empty{color:#4f6760;margin:8px 0 0}.tradition{color:#5a6e68;max-width:42rem;margin:8px 0 0;font-size:14px;line-height:1.5}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.sutta-setting{max-width:760px;margin:16px 0;line-height:1.6}.sutta-setting summary{cursor:pointer;font-weight:600}.pronunciation-key{margin:.75rem 0;font-size:.9rem;line-height:1.6}.pronunciation-key summary{cursor:pointer;font-weight:600}.pronunciation-key li{margin:.5rem 0}.greeting{background:radial-gradient(circle at 12% 20%,#f5d99866,#0000 14rem),linear-gradient(165deg,#fffdf8ee,#f4efe4cc);border:1px solid #173f3518;border-radius:1.25rem;max-width:36rem;margin:0 0 1.5rem;padding:1.5rem 1.35rem 1.35rem;animation:.55s both greeting-enter}.greeting .eyebrow{margin:0 0 8px}.greeting-pali{letter-spacing:-.02em;color:#173f35;text-wrap:balance;margin:0 0 10px;font:600 clamp(40px,8vw,64px)/.95 Newsreader,serif}.greeting-meaning{color:#4f6760;max-width:32rem;margin:0 0 16px;font-size:clamp(15px,2.4vw,18px);line-height:1.55}.greeting-note{color:#5a6e68;margin:10px 0 0;font-size:12px;line-height:1.5}@keyframes greeting-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.greeting{animation:none}}.welcome,.resume-card{border:1px solid var(--border,#ded8ca);background:#fffdf8aa;border-radius:1rem;margin-bottom:1.25rem;padding:1.25rem}.welcome h2{text-wrap:balance;margin-top:0}.welcome input{font:inherit;color:#18352f;background:#fff;border:1px solid #888;border-radius:.5rem;flex:12rem;min-width:0;max-width:100%;padding:.7rem}.welcome .home-actions{flex-wrap:wrap;margin-top:.6rem;margin-bottom:0}.welcome .home-actions button{flex:none}.welcome .caution{margin-top:14px}
