:root{--green:#244d43;--green-dark:#183b33;--sage:#e8eee6;--ink:#253b33;--muted:#6c7771;--line:#e1e5dd;--paper:#f6f7f2;--white:#fffefa;--gold:#bd8a49;--serif:Georgia,'Noto Serif SC','Songti SC','SimSun',serif;--font:system-ui,-apple-system,'PingFang SC','Microsoft YaHei',sans-serif;--reading-size:22px}*{box-sizing:border-box}body{margin:0;color:var(--ink);font:15px/1.6 var(--font);background:var(--paper)}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,input,select,textarea{font:inherit}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button{color:inherit}button,input,select,textarea{border:1px solid var(--line);border-radius:12px}button{background:transparent}button:hover,a.card:hover{filter:brightness(.98)}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b59c65;outline-offset:3px}.skip{position:fixed;top:-60px;left:20px;z-index:90;background:white;padding:10px}.skip:focus{top:10px}.sidebar{width:230px;position:fixed;inset:0 auto 0 0;background:#fffefa;border-right:1px solid var(--line);padding:38px 25px;display:flex;flex-direction:column}.brand{display:flex;gap:13px;align-items:center;font-size:26px;font-weight:600;letter-spacing:3px}.brand-icon{display:grid;place-items:center;width:44px;height:50px;border-radius:22px 22px 10px 10px;background:var(--green);color:#ebdfbd;font-size:28px;font-weight:300}.brand small{display:block;font-size:9px;letter-spacing:1.3px;font-weight:500;color:var(--muted);margin-top:2px}.side-label{color:#889087;font-size:11px;margin:35px 0 14px;letter-spacing:1px}.desktop-nav{display:grid;gap:7px}.nav-link{display:flex;align-items:center;gap:14px;padding:13px 16px;border-radius:12px;color:#6b7971;font-size:14px}.nav-link.active{background:var(--sage);color:var(--green);font-weight:600}.icon{width:21px;height:21px;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.side-bottom{margin-top:auto;padding:28px 10px 0}.side-bottom p{font-size:12px;color:var(--muted);line-height:1.9}.status-dot::before,.private-badge span{content:'';display:inline-block;width:6px;height:6px;background:#7c9271;border-radius:50%;margin-right:7px}.text-btn{border:0;padding:0;color:var(--green);font-size:12px;min-height:35px}.app{margin-left:230px}.topbar{height:93px;padding:0 52px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.desktop-context{font-size:10px;letter-spacing:2px;color:#738479}.desktop-context span{margin-left:20px;letter-spacing:1px;font-size:11px}.top-actions{display:flex;gap:12px;align-items:center}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:none}.private-badge{border:1px solid #d8dfd3;font-size:11px;border-radius:25px;padding:7px 12px;background:#eff2e9}.mobile-brand,.bottom-nav{display:none}main{max-width:1240px;margin:auto;padding:38px 52px 60px;min-height:calc(100vh - 93px)}h1,h2,h3,p{margin-top:0}h1{font-size:32px;letter-spacing:1px;font-weight:600;line-height:1.4;margin-bottom:10px}h2{font-size:21px;letter-spacing:.2px;font-weight:600;margin-bottom:16px}h3{font-size:17px;margin-bottom:7px;font-weight:600}.eyebrow{font-size:10px;letter-spacing:2.7px;color:var(--gold);margin:0 0 10px;text-transform:uppercase}.subtle{color:var(--muted);font-size:13px}.page-intro{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:24px;gap:16px}.page-intro p{margin-bottom:0}.pill{font-size:10px;border-radius:6px;padding:3px 8px;background:#e9ede3;color:#5d7464;white-space:nowrap}.search-launch{display:flex;align-items:center;gap:12px;background:var(--white);border:1px solid var(--line);border-radius:13px;width:100%;text-align:left;padding:14px 18px;color:#7b857e;margin-bottom:24px}.search-launch>span:last-child{margin-left:auto;font-size:10px;background:#f4f5ef;padding:3px 7px;border-radius:4px}.hero{position:relative;border-radius:22px;background:#e7eddf;overflow:hidden;display:grid;grid-template-columns:1.25fr 1fr;min-height:270px;margin-bottom:22px}.hero-content{padding:32px 34px;position:relative;z-index:1}.hero h2{font:32px/1.5 var(--serif);margin:9px 0 9px;font-weight:500;letter-spacing:2px}.hero p{font-size:13px;color:#5e7464;margin-bottom:23px}.hero .eyebrow{color:#6d826b;font-size:9px}.hero-art{position:relative;overflow:hidden;display:grid;align-items:center;padding:0 15px}.hero-art svg{width:100%;max-height:270px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;border-radius:10px;padding:10px 18px;font-weight:500;font-size:13px}.primary{background:var(--green);color:white;border-color:var(--green)}.secondary{background:#fffefa;border:1px solid #dce2d7;color:var(--green)}.small{font-size:12px;padding:7px 12px;min-height:38px}.row{display:flex;gap:12px;align-items:center}.section-head{display:flex;align-items:center;justify-content:space-between;margin:29px 0 15px;gap:12px}.section-head h2{margin:0;font-size:18px}.section-head a,.section-head button{font-size:12px;color:#6a7d6e}.section-head button{border:none;padding:4px}.grid{display:grid;gap:17px}.grid-2{grid-template-columns:1fr 1fr}.grid-3{grid-template-columns:repeat(3,1fr)}.card{border:1px solid var(--line);border-radius:17px;background:var(--white);padding:22px;min-width:0}.card .card-icon{background:#eef2e9;color:#456c55;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;margin-bottom:16px}.card p{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:0}.card-footer{display:flex;justify-content:space-between;align-items:center;margin-top:19px;color:var(--green);font-size:12px}.continue-card{display:flex;align-items:center;gap:19px;padding:20px 24px}.continue-card .card-icon{margin:0;flex-shrink:0;width:48px;height:55px}.continue-card h3{font-size:15px}.continue-card .arrow{margin-left:auto}.continue-card small{color:var(--muted);font-size:11px}.verse-card{padding:25px 29px;background:#f1eee5;border-color:#e7e1d5}.verse-card blockquote{font:20px/1.8 var(--serif);letter-spacing:1px;margin:12px 0}.verse-card cite{font-style:normal;color:#8b8066;font-size:11px}.flow-links{margin-top:22px;display:flex;gap:15px;flex-wrap:wrap;align-items:center;font-size:11px;color:#7b897c}.flow-links .icon{width:15px;height:15px}.mini-link{display:flex;align-items:center;gap:6px}.section-kicker{font-size:9px;color:var(--gold);letter-spacing:2px}.feature-card{display:grid;grid-template-columns:130px 1fr;gap:25px;padding:25px}.cover{border-radius:8px;background:#56674b;color:#f8eed6;min-height:175px;display:flex;flex-direction:column;justify-content:space-between;text-align:center;padding:18px 14px;box-shadow:inset 4px 0 0 #304d3c,4px 6px 10px #28392310}.cover small{font-size:8px;letter-spacing:2px}.cover strong{font:34px/1.4 var(--serif);letter-spacing:5px}.cover span{font-size:9px;color:#ccd0b4}.feature-card p{margin:12px 0 17px}.list-card{display:flex;gap:17px;align-items:center}.list-art{width:63px;height:63px;border-radius:13px;flex-shrink:0;background:#dfe7dd;display:grid;place-items:center;color:#52705b}.list-art.warm{background:#ede1d2;color:#9c7850}.list-art .icon{width:26px;height:26px}.list-card>div:nth-child(2){flex:1}.list-card h3{font-size:15px}.external-mark{font-size:18px;color:#8b988c}.empty{border:1px dashed #d6dfd0;border-radius:16px;padding:30px;text-align:center;color:#647862;font-size:14px;background:#f7f8f1}.empty small{display:block;margin-top:9px;color:#7f8979;font-size:12px}.notice{padding:14px 17px;border-radius:10px;background:#eeeee4;color:#777963;font-size:12px;line-height:1.8;margin:19px 0}.notice strong{color:#53674f}.support-grid .card{background:#f1eee4}.support-grid .pill{background:#e5dfd0;color:#7e7158}.meta-line{display:flex;align-items:center;gap:9px;font-size:11px;color:#83917e;margin-bottom:9px}.reader-toolbar{display:flex;gap:10px;align-items:end;flex-wrap:wrap;background:#eef2e8;border:1px solid #dce4d7;border-radius:14px;padding:15px 18px;margin:18px 0}.reader-toolbar label{display:block;font-size:10px;color:#6a7b65;margin-bottom:5px}.reader-toolbar select{background:var(--white);height:43px;min-width:105px;padding:0 13px}.reader-toolbar #book-select{min-width:168px}.reader-actions{display:flex;gap:6px;margin-left:auto;align-items:center}.reader-actions button{height:43px;min-width:42px;background:#fffefa}.reader-actions .font-value{font-size:11px;color:#697963}.reader-paper{background:var(--white);border:1px solid var(--line);border-radius:18px;padding:35px 42px}.reader-heading{display:flex;justify-content:space-between;align-items:start;gap:10px;border-bottom:1px solid var(--line);padding-bottom:23px;margin-bottom:23px}.reader-heading h2{font:30px/1.4 var(--serif);margin:7px 0}.reader-heading small{font-size:10px;color:#86907d}.reader-verse{display:flex;gap:15px;margin:0 0 9px;padding:8px;border-radius:8px;scroll-margin-top:35px}.reader-verse.highlight{background:#edf0da}.verse-number{color:#95a18a;min-width:26px;font:11px var(--font);border:0;align-self:start;padding:10px 0}.verse-text{font:var(--reading-size)/1.9 var(--serif);letter-spacing:.5px;margin:0}.reader-bottom{display:flex;justify-content:space-between;gap:15px;margin-top:25px}.reader-source{font-size:10px;color:#929a8c;margin-top:20px;line-height:1.9}.audio-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;padding:14px 18px;margin:0 0 18px;border:1px solid #d8dfce;background:#f1f3e9;font-size:12px;color:#52734e;min-height:49px}.audio-panel{background:#edf1e7;border:1px solid #d8dfce;border-radius:14px;padding:20px;margin-bottom:18px}.audio-panel p{font-size:12px;color:#71816b;line-height:1.8}.audio-panel .row{flex-wrap:wrap}.audio-panel[hidden]{display:none}.tag-row{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:20px}.tag{font-size:12px;padding:7px 14px;background:#fffefa;border:1px solid var(--line);border-radius:22px;min-height:36px}.tag.selected{background:var(--green);color:white;border-color:var(--green)}.note-list{display:grid;gap:14px}.note-card{padding:22px 24px}.note-card .note-body{white-space:pre-wrap;font-size:14px;color:#52634f;margin:14px 0;overflow-wrap:anywhere}.note-card .meta-line{justify-content:space-between}.note-card .row button{padding:6px 10px;font-size:11px}.note-card h3{overflow-wrap:anywhere}.note-ref{display:inline-block;font-size:11px;color:#68835b;background:#eef3e4;border-radius:6px;padding:4px 8px}.notes-actions{display:flex;gap:10px;flex-wrap:wrap}.bookmark-list{display:grid;gap:10px;margin-top:15px}.bookmark{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;background:var(--white);border:1px solid var(--line);border-radius:12px}.bookmark>button:first-child{border:0;font-size:13px;text-align:left;flex:1}.bookmark>button:last-child{border:0;color:#8b9384;font-size:11px;min-height:35px}.hint{font-size:11px;color:#7a8573;line-height:1.8}.loading{padding:50px;text-align:center;color:var(--muted)}dialog{width:min(580px,calc(100% - 30px));max-height:88dvh;border:1px solid var(--line);padding:26px;border-radius:22px;background:var(--white);color:var(--ink);box-shadow:0 30px 100px #18332630}dialog::backdrop{background:#1e342b66;backdrop-filter:blur(4px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:15px}.dialog-head h2{margin:0;font-size:20px}.dialog-head button{flex-shrink:0}.search-dialog{width:min(720px,calc(100% - 30px))}.search-form{display:flex;align-items:center;gap:10px;border:1px solid #cad7c2;border-radius:12px;padding:6px 7px 6px 14px;background:#f7f8f1}.search-form>span{display:flex}.search-form input{width:100%;min-width:0;border:0;outline:0;background:transparent;font-size:13px}.search-form button{flex-shrink:0}.search-suggestions{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.search-suggestions button{font-size:11px;padding:6px 10px;border-radius:18px}.search-result{display:block;width:100%;text-align:left;padding:15px 10px;border:0;border-bottom:1px solid var(--line);border-radius:0}.search-result strong{font-size:12px;color:#527448}.search-result p{font:16px/1.8 var(--serif);margin:6px 0 0}.search-result mark{background:#e7edca;color:inherit}.result-label{font-size:11px;color:#7f8d76;margin:20px 0 7px}.info-content p,.info-content li{font-size:13px;color:#66765e;line-height:1.9}.info-content h3{font-size:15px;margin:22px 0 8px}.info-content ul,.info-content ol{padding-left:20px}.info-content a{text-decoration:underline;text-underline-offset:3px}#note-form label{display:block;font-size:12px;color:#67795d;margin:17px 0 7px}#note-form input,#note-form textarea{width:100%;padding:12px;background:#f9faf6;resize:vertical;color:var(--ink)}.note-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:20px}.note-footer small{font-size:10px;color:#909983}#toast{position:fixed;bottom:26px;left:calc(50% + 100px);transform:translateX(-50%);z-index:100;padding:11px 18px;background:var(--green);color:#fff;border-radius:10px;font-size:12px;box-shadow:0 6px 25px #0002;opacity:0;pointer-events:none;transition:opacity .2s;max-width:calc(100% - 32px);text-align:center}#toast.show{opacity:1}.about-version{border-top:1px solid var(--line);padding-top:16px;font-size:11px!important}.back-to-top{display:block;margin:20px auto 0;font-size:12px;border:0;padding:10px}.view-stack{display:grid;gap:16px}.chapter-dialog-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.chapter-dialog-grid button{padding:10px;background:#f1f4e9}.error{border:1px solid #dcc7b5;background:#fcf1e6;padding:20px;border-radius:12px;font-size:13px;line-height:1.8}
@media(min-width:1450px){main{padding-top:48px}.hero{min-height:300px}.hero-content{padding:40px}.hero h2{font-size:38px}}
@media(max-width:1150px){.sidebar{width:195px;padding:32px 18px}.app{margin-left:195px}.topbar{padding:0 30px}.desktop-context span{display:none}main{padding:30px}.hero h2{font-size:27px}.hero-content{padding:27px}.grid-3{gap:12px}.card{padding:18px}.hero-art{padding:0}.feature-card{grid-template-columns:100px 1fr;gap:18px}.cover{min-height:160px}}
@media(max-width:860px){.sidebar{display:none}.app{margin-left:0}.topbar{height:72px;padding:0 24px}.desktop-context{display:none}.mobile-brand{display:flex;align-items:center;gap:8px;color:var(--green);font-size:23px}.mobile-brand strong{font-size:20px;letter-spacing:3px}.mobile-brand span{font-size:10px;border-left:1px solid #cfd8ca;padding-left:10px;letter-spacing:1px;color:#84917b}.bottom-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;inset:auto 0 0;background:#fffefaf5;backdrop-filter:blur(18px);z-index:25;border-top:1px solid var(--line);padding:7px max(12px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom));}.bottom-nav .nav-link{display:flex;flex-direction:column;gap:4px;padding:7px 3px;font-size:10px;border-radius:10px;color:#819076}.bottom-nav .nav-link.active{background:transparent;color:var(--green)}.bottom-nav .nav-link.active .icon{stroke-width:2.2}.bottom-nav .icon{width:22px;height:22px}main{padding:28px 24px 110px}#toast{bottom:90px;left:50%}.hero{grid-template-columns:1.2fr 1fr}.grid-3{grid-template-columns:repeat(3,1fr)}h1{font-size:28px}}
@media(max-width:600px){.topbar{height:66px;padding:0 20px}.top-actions{gap:3px}.private-badge{font-size:9px;padding:6px 8px}.private-badge span{width:5px;height:5px;margin-right:5px}.mobile-brand{font-size:21px}.mobile-brand strong{font-size:18px}.mobile-brand span{font-size:9px}main{padding:24px 18px 105px}.page-intro{margin-bottom:20px}.page-intro h1{font-size:27px;margin-bottom:5px}.page-intro p{font-size:11px}.eyebrow{font-size:9px;letter-spacing:2px}.page-intro>.pill{display:none}.search-launch{padding:13px 14px;font-size:12px;margin-bottom:18px;border-radius:12px}.search-launch>span:last-child{display:none}.search-launch .icon{width:18px;height:18px}.hero{grid-template-columns:1fr .7fr;min-height:224px;border-radius:17px}.hero-content{padding:25px 0 24px 24px}.hero h2{font-size:25px;letter-spacing:1px;margin:11px 0 10px;white-space:nowrap}.hero p{font-size:11px;line-height:1.9;max-width:180px;margin-bottom:18px}.hero .eyebrow{font-size:8px;letter-spacing:1.8px;white-space:nowrap}.hero .primary{font-size:11px;padding:9px 13px;min-height:39px}.hero-art{margin-left:-18px;align-self:end;margin-bottom:5px;opacity:.95}.hero-art svg{min-width:145px;height:210px}.grid-3{gap:9px}.grid-3 .card{padding:15px 12px;border-radius:14px}.grid-3 .card .card-icon{width:32px;height:32px;border-radius:9px;margin-bottom:13px}.grid-3 .card .card-icon .icon{width:17px;height:17px}.grid-3 h3{font-size:13px;letter-spacing:0}.grid-3 p{font-size:10px;line-height:1.8}.grid-3 .card-footer{font-size:10px;margin-top:14px}.grid-3 .card-footer .icon{width:14px;height:14px}.section-head{margin-top:25px;margin-bottom:13px}.section-head h2{font-size:17px}.section-head a,.section-head button{font-size:11px}.continue-card{padding:17px 19px;gap:14px}.continue-card .card-icon{width:40px;height:46px;border-radius:11px}.continue-card h3{font-size:14px;margin-bottom:2px}.continue-card small{font-size:10px}.grid-2{grid-template-columns:1fr}.verse-card{padding:23px}.verse-card blockquote{font-size:19px}.feature-card{grid-template-columns:95px 1fr;padding:20px;gap:18px}.feature-card h3{font-size:18px}.feature-card p{font-size:11px;line-height:1.8}.cover{min-height:160px;padding:16px 9px}.cover strong{font-size:29px}.cover small{font-size:7px}.cover span{font-size:8px}.list-card{padding:19px;gap:14px}.list-card h3{font-size:14px}.list-art{width:50px;height:54px;border-radius:11px}.reader-toolbar{padding:12px;gap:8px}.reader-toolbar select{font-size:12px;min-width:75px;padding:0 8px;height:42px}.reader-toolbar #book-select{min-width:137px}.reader-actions{gap:4px}.reader-actions button{height:38px;min-width:34px;font-size:12px}.reader-actions .font-value{display:none}.reader-paper{padding:24px 17px}.reader-heading{padding-bottom:17px;margin-bottom:15px}.reader-heading h2{font-size:25px}.reader-heading .row{gap:1px}.reader-verse{gap:7px;padding:6px 1px;margin-bottom:9px}.verse-number{min-width:21px;font-size:10px}.verse-text{line-height:1.9;letter-spacing:0}.reader-bottom .secondary{font-size:12px;padding:10px 13px}.reader-source{font-size:9px}.audio-panel{padding:17px}.audio-panel .secondary{font-size:11px}.notes-actions .primary,.notes-actions .secondary{font-size:12px;padding:10px 14px}.note-card{padding:20px}.empty{padding:26px 17px;font-size:13px}.empty small{font-size:11px}.notice{font-size:11px}.flow-links{font-size:10px;gap:13px}dialog{padding:21px;max-height:86dvh;border-radius:18px}.dialog-head h2{font-size:18px}.search-form{gap:7px;padding-left:10px}.search-form input{font-size:12px}.search-form .icon{width:17px;height:17px}.search-form .small{font-size:11px;padding:7px 10px}.search-result p{font-size:15px}}
@media(max-width:359px){main{padding-left:13px;padding-right:13px}.hero-content{padding-left:18px}.hero h2{font-size:23px}.hero-art{opacity:.65}.reader-actions{width:100%;justify-content:flex-end}.topbar{padding:0 15px}.private-badge{display:none}.grid-3 h3{font-size:12px}.grid-3 p{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:600px){.hero{display:block;min-height:238px}.hero-content{width:70%;padding:25px 0 24px 24px}.hero-art{position:absolute;right:0;bottom:5px;width:155px;height:185px;margin:0;overflow:visible;opacity:.95}.hero-art svg{width:155px;min-width:155px;height:185px}.hero h2{position:relative;z-index:2}.hero p{position:relative;z-index:2}.hero .primary{position:relative;z-index:2}}
@media(max-width:359px){.hero-content{padding-left:18px}.hero-art{right:-3px;width:130px;opacity:.8}.hero-art svg{width:130px;min-width:130px}.hero h2{font-size:23px}.hero p{max-width:170px}}
/* Same-origin integration: no inline style exemptions required. */
.full-left{width:100%;text-align:left}.small-text{font-size:10px}.source-status{font-size:10px;color:var(--muted);margin-top:20px;line-height:1.8}.section-links{display:flex;gap:14px;flex-wrap:wrap;margin-top:15px;font-size:12px;color:var(--green)}.section-links .text-btn{height:auto}.content-meta{font-size:10px!important;margin-bottom:4px!important}.remember-row{display:flex;gap:9px;align-items:center;font-size:12px;margin:16px 0;line-height:1.6}.remember-row input{width:18px;height:18px;flex-shrink:0;accent-color:var(--green)}.support-grid .card p+p{margin-top:9px}.reader-heading>a{white-space:nowrap}.card p+ p.hint{margin-top:15px}.search-result{overflow-wrap:anywhere}.source-status,.error{overflow-wrap:anywhere}

.reading-size-10{--reading-size:10px}.reading-size-12{--reading-size:12px}.reading-size-14{--reading-size:14px}.reading-size-16{--reading-size:16px}.reading-size-18{--reading-size:18px}.reading-size-20{--reading-size:20px}.reading-size-22{--reading-size:22px}.reading-size-24{--reading-size:24px}.reading-size-26{--reading-size:26px}.reading-size-28{--reading-size:28px}.reading-size-30{--reading-size:30px}.reading-size-32{--reading-size:32px}.reading-size-34{--reading-size:34px}.reading-size-36{--reading-size:36px}.reading-size-38{--reading-size:38px}.reading-size-40{--reading-size:40px}

/* Search V2: scripture stays visible; reference and text share one compact flow. */
.verse-search-result{min-height:44px;padding:11px 3px;font:16px/1.75 var(--serif);overflow-wrap:anywhere;background:transparent}
.verse-search-result .verse-search-ref{display:inline;margin-right:.3em;white-space:nowrap;font:600 12px/1.6 var(--sans,system-ui);color:#46663e}
.verse-search-text{display:inline;font:inherit}.verse-search-arrow{display:inline;color:#58774d;font:12px/1 system-ui;white-space:nowrap}
.verse-search-result:hover{background:#f0f4e9}.verse-search-result:focus-visible{outline:3px solid #b08b48;outline-offset:-3px}

.phonetic-results .notice{font-size:12px;line-height:1.7;margin:15px 0 10px}.phonetic-suggestions{display:flex;gap:8px;flex-wrap:wrap}.phonetic-suggestions button{min-height:44px;text-align:left;padding:7px 11px;border:1px solid #c8d3bb;background:#f3f6ed;border-radius:9px}.phonetic-suggestions strong{font-size:13px}.phonetic-suggestions small{font-size:10px;display:block;color:#667558}.approximate-badge{display:inline-block;font:600 9px/1.4 system-ui;color:#795c25;border:1px solid #d9cba8;border-radius:4px;padding:1px 3px;vertical-align:baseline}.approximate-result mark{background:#eee3bd}

@media(max-width:520px){#search-dialog{width:calc(100% - 16px);max-width:none;padding:16px;max-height:92dvh}#search-dialog .dialog-head{gap:8px}#search-dialog .dialog-head h2{font-size:17px;letter-spacing:0}#search-dialog .phonetic-suggestions button{padding:8px 10px}}
/* Reading comfort V3. Shared reader-size classes remain authoritative. */
:root{--muted:#526358;--gold:#7e5e2f;--ui-body:17px;--ui-small:14px;--ui-weight:600;--control-line:#9eaf9e}
body{font-size:var(--ui-body);line-height:1.75;-webkit-text-size-adjust:100%;text-size-adjust:100%}
h1,h2,h3{font-weight:700;line-height:1.45;overflow-wrap:anywhere}
h1{font-size:32px}h2{font-size:24px}h3{font-size:20px}
.subtle,.page-intro p{font-size:16px;line-height:1.75}
.eyebrow,.section-kicker,.hero .eyebrow{font-size:12px;letter-spacing:1.3px;color:var(--gold);font-weight:600}
.small-text,.source-status,.hint,.reader-source,.meta-line,.content-meta,.continue-card small,.reader-heading small,.verse-card cite{font-size:var(--ui-small);line-height:1.75;color:var(--muted)}
.content-meta{font-size:var(--ui-small)!important}
.card p,.feature-card p,.audio-panel p,.info-content p,.info-content li{font-size:var(--ui-body);line-height:1.8;color:var(--muted)}
.card p.hint{font-size:15px}.card h3,.list-card h3,.feature-card h3{font-size:20px;font-weight:700;line-height:1.5}
.list-card>div:nth-child(2),.continue-card>div{min-width:0}
.card-footer,.section-links,.flow-links{font-size:16px;line-height:1.65;color:var(--green)}
.card-footer{flex-wrap:wrap;gap:10px}.card-footer a,.section-links a,.flow-links a{display:inline-flex;align-items:center;min-height:44px}
.primary,.secondary,.tag,.search-form .small{font-size:16px;font-weight:600;min-height:48px;line-height:1.5;padding:11px 16px}
.secondary,.tag,.reader-toolbar select,.reader-actions button{border-color:var(--control-line)}
.icon-btn,.reader-actions button{min-width:44px;min-height:44px;width:44px;height:44px}
.text-btn,.back-to-top{font-size:15px;font-weight:600;min-height:44px;display:inline-flex;align-items:center;line-height:1.5}
.back-to-top{display:flex;justify-content:center;padding:10px 14px}
.section-head{flex-wrap:wrap;gap:8px 16px}.section-head h2{font-size:22px}.section-head a,.section-head button{font-size:15px;color:var(--green);min-height:44px;display:inline-flex;align-items:center}
.search-launch{font-size:17px;color:var(--muted);font-weight:500;min-height:52px;line-height:1.6}
.search-launch>span:last-child{font-size:14px}.search-launch .icon{width:22px;height:22px}
.hero h2{font-weight:600;line-height:1.45}.hero p{font-size:17px;line-height:1.8;color:#435b45}.hero .primary{font-size:16px;min-height:48px;padding:11px 16px}
.continue-card h3{font-size:19px;line-height:1.5}.continue-card small{font-size:14px}
.verse-card blockquote{font-size:23px;line-height:1.85}.verse-card cite{color:#655a43;font-size:14px}
.notice,.phonetic-results .notice,.error,.empty,.empty small{font-size:15px;line-height:1.8;color:#4e5c43}
.notice strong{color:#324e35}.error{color:#6b4023}.empty small{color:var(--muted)}
.meta-line{font-size:14px;color:var(--muted);flex-wrap:wrap;gap:4px 8px}
.reader-toolbar label,.reader-actions .font-value{font-size:14px;font-weight:600;color:var(--muted)}
.reader-toolbar select{font-size:16px;min-height:48px;height:48px;max-width:100%;padding:0 10px}
.reader-actions{gap:8px}.reader-actions button{font-size:17px;font-weight:600}.reader-actions .font-value{display:inline-block;min-width:24px;text-align:center}
.reader-heading h2{font-size:30px;font-weight:600}.reader-heading small{font-size:14px;color:var(--muted)}
.reader-heading>a{font-size:15px;white-space:normal;flex-shrink:0}
.verse-number{font:600 14px/1.4 var(--font);color:#4f674b;min-width:44px;width:44px;min-height:44px;padding:10px 0;flex-shrink:0}
.verse-text{min-width:0;overflow-wrap:anywhere}
.reader-source{font-size:14px;color:var(--muted)}.reader-source a{text-decoration:underline;text-underline-offset:3px}
.reader-bottom{flex-wrap:wrap;gap:10px}.reader-bottom .secondary{font-size:16px;min-height:48px;flex:1;padding:11px 10px}
.remember-row{font-size:16px;min-height:44px;line-height:1.7}.remember-row input{width:22px;height:22px}
.audio-toggle{font-size:16px;line-height:1.7;min-height:52px;gap:12px;color:#365d36}.audio-toggle .row{min-width:0;gap:9px}.audio-toggle>span:last-child{flex-shrink:0}
.audio-panel .secondary{font-size:16px;min-height:48px}
.search-form{border-color:var(--control-line);gap:8px}.search-form input{font-size:17px;min-height:44px;line-height:1.5;color:var(--ink)}
.search-form input::placeholder{color:var(--muted);opacity:1}
.search-suggestions button{font-size:15px;min-height:44px;padding:8px 12px;line-height:1.5}
.search-result strong{font-size:16px;font-weight:700;color:#365a32}.search-result p{font-size:18px;line-height:1.85}
.result-label{font-size:15px;font-weight:600;color:var(--muted)}
.verse-search-result{font-size:18px;line-height:1.85;padding:12px 3px}
.verse-search-result .verse-search-ref{font-size:14px;font-weight:700;line-height:1.6;white-space:normal;color:#365a32}
.verse-search-arrow{font-size:14px;color:#46643e}
.phonetic-suggestions strong{font-size:17px;font-weight:700}.phonetic-suggestions small{font-size:14px;color:#4c603e;line-height:1.6}
.approximate-badge{font-size:12px;line-height:1.5;color:#654b1c;border-color:#b5a273;padding:1px 4px}
.dialog-head h2,#search-dialog .dialog-head h2{font-size:22px;font-weight:700;letter-spacing:0;line-height:1.5}
.info-content h3{font-size:20px}.about-version{font-size:14px!important}
#toast{font-size:15px;line-height:1.7;overflow-wrap:anywhere}
.nav-link{font-size:16px;font-weight:500;color:var(--muted)}.nav-link.active{font-weight:700}
.brand small,.side-label,.desktop-context,.desktop-context span{font-size:12px;color:var(--muted)}
.side-bottom p{font-size:15px}.private-badge{font-size:13px;min-height:44px;font-weight:600;color:#425b47}
@media(max-width:860px){
 .mobile-brand strong{font-size:22px;letter-spacing:2px}.mobile-brand span{font-size:13px;color:var(--muted)}
 .bottom-nav{padding-top:6px;padding-bottom:calc(6px + env(safe-area-inset-bottom))}
 .bottom-nav .nav-link{font-size:14px;font-weight:600;min-height:62px;gap:4px;color:#4f654a;padding:6px 3px}
 .bottom-nav .nav-link.active{font-weight:700;color:var(--green);background:#edf2e8}.bottom-nav .icon{width:24px;height:24px}
 main{padding-bottom:124px}.grid-3 h3{font-size:19px}.grid-3 p{font-size:16px}.grid-3 .card-footer{font-size:15px}
}
@media(max-width:600px){
 .topbar{height:auto;min-height:72px;padding:10px 16px;gap:8px}.top-actions{gap:4px}.mobile-brand{flex-shrink:0}.private-badge{font-size:12px;padding:7px 8px}
 main{padding:24px 16px 124px}.page-intro{display:block}.page-intro h1{font-size:28px;line-height:1.45;margin-bottom:8px}.page-intro p{font-size:16px}.page-intro>.secondary{margin-top:14px}
 .search-launch{font-size:17px;padding:14px;gap:10px}
 .hero{min-height:296px}.hero-content{width:100%;padding:26px 22px}.hero h2{font-size:30px;white-space:normal;letter-spacing:1px;margin:12px 0}.hero p{font-size:17px;max-width:235px;line-height:1.8;margin-bottom:20px}.hero .eyebrow{font-size:12px;white-space:normal}
 .hero-art{right:-20px;bottom:-8px;width:145px;height:175px;opacity:.32;pointer-events:none}.hero-art svg{width:145px;min-width:145px;height:175px}
 .grid-3{grid-template-columns:1fr;gap:12px}.grid-3 .card{display:grid;grid-template-columns:44px minmax(0,1fr);gap:4px 14px;padding:19px 18px}.grid-3 .card .card-icon{grid-row:1/4;width:44px;height:44px;margin:0}.grid-3 .card .card-icon .icon{width:23px;height:23px}.grid-3 .card h3,.grid-3 .card p,.grid-3 .card-footer{grid-column:2}.grid-3 h3{font-size:20px;margin:0}.grid-3 p{font-size:16px;line-height:1.8}.grid-3 .card-footer{font-size:15px;margin-top:3px;min-height:36px}.grid-3 .card-footer .icon{width:18px;height:18px}
 .card{padding:22px 20px}.card p{font-size:17px}.list-card{padding:20px 16px;gap:13px;align-items:flex-start}.list-card h3{font-size:19px}.list-art{width:44px;height:48px}.list-art .icon{width:24px;height:24px}.external-mark{font-size:20px;flex-shrink:0}
 .continue-card{gap:13px;padding:19px 16px}.continue-card h3{font-size:19px}.continue-card small{font-size:14px}.continue-card .card-icon{width:44px;height:48px}
 .section-head h2{font-size:22px}.section-head a,.section-head button{font-size:15px}.verse-card{padding:23px}.verse-card blockquote{font-size:23px}
 .reader-toolbar{padding:14px 12px;gap:12px}.reader-toolbar>div:not(.reader-actions){flex:1 1 130px;min-width:0}.reader-toolbar #book-select,.reader-toolbar select{width:100%;min-width:0;font-size:16px;height:48px}.reader-actions{width:100%;margin:0;justify-content:flex-end}.reader-actions .font-value{display:inline-block}
 .reader-paper{padding:24px 12px}.reader-heading{flex-wrap:wrap;gap:10px}.reader-heading h2{font-size:28px}.reader-heading small{font-size:14px}.reader-heading .section-kicker{font-size:12px}.reader-verse{gap:6px;padding:6px 0}.verse-number{min-width:44px;width:44px;font-size:14px}.reader-source{font-size:14px}
 .audio-panel{padding:18px 16px}.audio-panel .secondary{font-size:16px}.audio-panel .row{gap:10px}
 .notice,.phonetic-results .notice,.empty,.empty small,.error{font-size:15px}.flow-links{font-size:15px;gap:8px 16px}
 dialog{padding:20px 16px;max-height:90dvh}.dialog-head h2,#search-dialog .dialog-head h2{font-size:21px}.search-form input{font-size:17px}.search-form .small{font-size:16px;padding:10px 13px;min-height:48px}.search-form .icon{width:20px;height:20px}.search-form>span{display:none}
 .search-result p{font-size:18px}.search-result strong{font-size:16px}.verse-search-result .verse-search-ref{font-size:14px}.phonetic-results .notice{font-size:15px}.phonetic-suggestions small{font-size:14px}
 #toast{bottom:96px}.info-content p,.info-content li{font-size:17px}.source-status{font-size:14px}
}
/* High-contrast control edges and balanced headings without changing content. */
:root{--control-line:#788c78}
.pill{font-size:14px;font-weight:500;line-height:1.5;color:#425b47;padding:4px 9px}
.page-intro h1,.section-head h2,.card h3{text-wrap:balance}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #7e5e2f;outline-offset:3px}
.search-form:focus-within{outline:3px solid #7e5e2f;outline-offset:3px}
@media(max-width:860px){main{padding-bottom:calc(124px + env(safe-area-inset-bottom))}#toast{bottom:calc(88px + env(safe-area-inset-bottom))}}

/* Church original-content notice; preserve player and bottom navigation clearance. */
.app-copyright{max-width:1240px;margin:0 auto;padding:16px 24px 150px;color:#526358;font-size:12px;line-height:1.6}.app-copyright p{margin:6px 0}
