:root{color-scheme:light;--accent:#51445f;--accent-dark:#3d304a;--accent-light:#eee9f1;--ink:#302c35;--muted:#817a87;--border:#e8e3ea;--surface:#fff;--bg:#f4f2f5;--paper:#faf8f4;--paper-ink:#36313a;--paper-muted:#8e8291;--reading-size:24px;--reading-line:1.95;--reading-width:720px;--reading-weight:400;--reading-font:system-ui,-apple-system,BlinkMacSystemFont,"Noto Sans CJK KR","맑은 고딕",sans-serif;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Noto Sans CJK KR","맑은 고딕",sans-serif;font-size:16px;color:var(--ink);background:var(--bg)}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;touch-action:manipulation;color:inherit;min-height:44px;border:0;background:none;padding:10px 14px;border-radius:12px}button:hover{background:var(--accent-light)}button:disabled{opacity:.35;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid #a889b6;outline-offset:3px}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}button>span[data-icon]{display:inline-flex;align-items:center;justify-content:center}button,input,select{-webkit-tap-highlight-color:transparent}h1,h2,h3,p{margin:0}button,strong{letter-spacing:-.025em}.hidden{display:none!important}.app-shell{display:flex;height:100dvh;overflow:hidden}.sidebar{width:242px;flex-shrink:0;display:flex;flex-direction:column;padding:34px 24px;border-right:1px solid var(--border);background:var(--surface)}.brand{display:flex;gap:11px;align-items:center}.brand img{border-radius:11px;flex-shrink:0}.brand strong{display:block;font-size:17px;letter-spacing:-.65px;line-height:1.5;font-weight:650}.brand span{display:block;color:var(--muted);font-size:12px;line-height:1.8;letter-spacing:.02em}.sidebar-intro{font-size:26px;font-weight:500;line-height:1.65;letter-spacing:-1.3px;margin:58px 0 38px 8px}.desktop-nav{display:grid;gap:8px}.desktop-nav button{display:flex;gap:15px;align-items:center;text-align:left;min-height:54px;padding:12px 16px;color:var(--muted);font-size:15px;font-weight:500}.desktop-nav button.active{background:var(--accent);color:#fff}.sidebar-bottom{margin-top:auto;padding:20px 8px 0}.sidebar-rule{display:block;width:28px;height:2px;background:#b9a5c3;margin-bottom:18px}.sidebar-bottom p{font-size:13px;color:var(--muted);line-height:1.8}.sidebar-bottom .text-button{font-size:13px;padding:10px 0}.app-main{display:flex;flex-direction:column;flex:1;min-width:0;background:var(--bg)}.app-header{height:76px;flex-shrink:0;display:flex;justify-content:space-between;align-items:center;padding:0 42px;background:var(--surface);border-bottom:1px solid var(--border)}.desktop-greeting{color:var(--muted);font-size:14px;letter-spacing:.04em}.mobile-brand{display:none}.header-actions{display:flex;gap:6px;align-items:center}.icon-button{width:44px;height:44px;padding:10px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.type-symbol{font-family:serif;font-weight:600;font-size:23px}.page{flex:1;min-height:0}.reader-page{display:flex;flex-direction:column;padding:0 42px 20px}.chapter-bar{height:102px;flex-shrink:0;display:flex;justify-content:space-between;align-items:center;gap:16px}.eyebrow{font-size:11px;letter-spacing:.16em;color:var(--muted);font-weight:550;line-height:1.5}.passage-group{min-width:0}.passage-group>.eyebrow{display:block;margin-left:3px}.passage-picker{display:flex;gap:9px;align-items:center;padding:3px 4px;min-height:42px;border-radius:6px;text-align:left}.passage-picker strong{font-size:25px;font-weight:650;letter-spacing:-.8px}.passage-picker>span:not(.selector-dot){font-size:23px;letter-spacing:-1px}.selector-dot{margin-left:8px;letter-spacing:3px;font-weight:700;color:var(--muted)}.chapter-actions{display:flex;gap:4px;align-items:center;flex-shrink:0}.small-button{font-size:14px;padding:10px 13px;color:var(--muted)}.focus-button{margin-left:8px;color:var(--muted)}.reading-layout{display:flex;flex:1;min-height:0;gap:28px}.reading-paper{background:var(--paper);color:var(--paper-ink);border:1px solid #e9e3df;border-radius:18px;overflow:hidden;flex:1;min-width:0;display:flex;box-shadow:0 8px 28px #493d5310}.reading-viewport{height:100%;width:100%;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#cfc4d2 transparent;padding:46px 42px 100px;scroll-behavior:auto}.scripture{max-width:var(--reading-width);margin:0 auto;font-family:var(--reading-font);font-weight:var(--reading-weight);font-size:var(--reading-size);line-height:var(--reading-line);letter-spacing:-.015em;word-break:keep-all;overflow-wrap:anywhere;text-align:left;transition:color .15s}.scripture .verse{margin:0 0 .55em;padding:0 .1em;border-radius:6px}.scripture sup{font-family:system-ui,sans-serif;font-size:13px;line-height:1;vertical-align:baseline;position:relative;top:-.5em;color:var(--paper-muted);padding-right:.7em;user-select:none;font-weight:500;letter-spacing:0}.scripture .section-heading{font-family:system-ui,"Noto Sans CJK KR",sans-serif;font-size:18px;font-weight:550;line-height:1.7;letter-spacing:-.4px;color:var(--paper-ink);margin:1.8em 0 .9em}.scripture>.section-heading:first-child{margin-top:0}.scripture.flow .verse{display:inline}.scripture.flow .verse::after{content:' '}.scripture.hide-numbers sup{display:none}.verse.highlight{background:#cbbb8560;box-shadow:0 0 0 5px #cbbb8560}.reading-note{width:158px;flex-shrink:0;padding-top:46px}.rail-line{display:block;width:25px;height:2px;background:#b7a6c2;margin-bottom:22px}.reading-note .eyebrow{font-size:10px;letter-spacing:.16em;margin-bottom:14px}.reading-note>strong{font-size:17px;line-height:1.8;font-weight:550}.reading-note>p:not(.eyebrow){margin-top:12px;color:var(--muted);font-size:14px;line-height:1.9}.mini-progress{margin-top:42px;display:grid;gap:6px}.mini-progress>span:first-child{font-size:27px;font-weight:500;color:var(--accent)}.mini-progress>span:last-child{font-size:12px;color:var(--muted)}.reading-note button{margin-top:24px;font-size:13px;padding-left:0}.reading-controls{min-height:80px;display:flex;gap:12px;align-items:center;flex-shrink:0;padding-top:18px;max-width:1100px;width:100%;margin:0 auto}.auto-button{display:flex;align-items:center;justify-content:center;gap:9px;min-width:164px;border:1px solid var(--border);background:var(--surface);font-size:15px;min-height:50px;white-space:nowrap}.auto-button.running{background:var(--accent-light);border-color:#b7a5c1;color:var(--accent)}.complete-button{min-height:50px;flex:1;background:var(--accent);color:white;font-size:16px;font-weight:550;display:flex;align-items:center;justify-content:center;gap:10px;white-space:nowrap}.complete-button:hover{background:var(--accent-dark)}.complete-button.done{background:#e8edef;color:#59636b}.auto-settings{background:var(--surface);border:1px solid var(--border);width:50px;height:50px;color:var(--muted)}.auto-panel{max-width:1100px;align-self:center;width:100%;padding:18px 24px 12px;margin-top:12px;border-radius:14px;border:1px solid var(--border);background:var(--surface);flex-shrink:0}.speed-heading{display:flex;justify-content:space-between;font-size:14px}.speed-heading strong{font-size:13px;color:var(--accent)}.speed-row{display:flex;align-items:center;gap:20px;margin-top:5px}.speed-row>span{font-size:12px;white-space:nowrap;color:var(--muted)}input[type=range]{width:100%;accent-color:var(--accent);min-height:36px}.auto-panel p{font-size:12px;color:var(--muted);text-align:center;margin-top:0}.lookup-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:46px;flex-shrink:0;margin-bottom:10px;border-radius:10px;background:#eae4ef;padding:4px 14px;font-size:13px;color:var(--accent)}.lookup-bar button{font-size:14px;min-height:36px;padding:6px 12px;background:#fff9;font-weight:550}.mobile-nav{display:none}.page-heading{padding:40px 0 26px}.page-heading h1{font-size:30px;font-weight:600;letter-spacing:-1.1px;line-height:1.5;margin-top:8px}.page-heading p{color:var(--muted);font-size:14px;line-height:1.8;margin-top:8px}.search-page,.records-page{overflow-y:auto;max-width:1000px;width:100%;align-self:center;padding:0 46px 70px}.search-form{display:flex;align-items:center;gap:12px;border:1px solid #c8bbd0;border-radius:16px;padding:8px 9px 8px 20px;background:var(--surface);box-shadow:0 4px 22px #493d5307}.search-form>span{color:var(--accent)}.search-form input{flex:1;min-width:0;border:0;outline:none;padding:12px 0;font-size:16px;color:var(--ink);background:transparent}.search-submit{min-width:65px;background:var(--accent);color:#fff;font-size:15px}.search-submit:hover{background:var(--accent-dark)}.search-status{font-size:14px;color:var(--muted);min-height:30px;margin:22px 4px 6px;line-height:1.8}.search-results{display:grid;gap:12px}.search-result{padding:20px 22px;background:var(--surface);border:1px solid var(--border);border-radius:14px;text-align:left;display:block;width:100%;min-height:80px}.search-result>strong{display:block;font-size:15px;color:var(--accent);font-weight:600;margin-bottom:9px}.search-result>p{font-size:17px;line-height:1.9;color:var(--ink);font-weight:400;word-break:keep-all;overflow-wrap:anywhere}.search-result mark{background:#e9dbe0;color:inherit;border-radius:3px;padding:0 2px}.more-results{width:100%;border:1px solid var(--border);background:var(--surface);margin-top:18px;font-size:14px}.search-intro{padding-top:22px}.search-example{margin:20px 0 28px}.search-example>span{font-size:13px;color:var(--muted);display:block;margin-bottom:8px}.search-example button{border:1px solid var(--border);background:var(--surface);padding:9px 15px;border-radius:30px;font-size:14px;margin:5px 6px 0 0}.search-note{display:flex;align-items:flex-start;gap:15px;padding:22px 6px;margin-top:26px;color:#9a8aa5;border-top:1px solid var(--border)}.search-note p{font-size:14px;color:var(--muted);line-height:1.9}.search-note strong{font-weight:500}.record-summary{padding:25px 27px;background:var(--surface);border:1px solid var(--border);border-radius:17px;display:flex;align-items:center;flex-wrap:wrap;gap:14px;justify-content:space-between}.record-summary>div:first-child>span{display:block;font-size:14px;color:var(--muted);margin-bottom:9px}.record-summary strong{font-size:37px;line-height:1.5;font-weight:550;color:var(--accent)}.record-summary small{font-size:15px;color:var(--muted);font-weight:400}.record-summary select{font-size:14px}.record-meter{width:100%;height:6px;border-radius:6px;background:var(--accent-light);overflow:hidden;margin-top:6px}.record-meter>span{display:block;height:100%;background:var(--accent);border-radius:6px}.book-record-heading{display:flex;justify-content:space-between;align-items:center;margin:32px 0 8px;gap:20px}.book-record-heading label{font-size:18px;font-weight:550;white-space:nowrap}.record-hint{font-size:13px;line-height:1.8;color:var(--muted);margin-bottom:20px}.record-chapters{display:grid;grid-template-columns:repeat(auto-fill,minmax(58px,1fr));gap:9px}.record-chapters button{min-height:54px;background:var(--surface);border:1px solid var(--border);border-radius:12px;font-size:17px;font-weight:500}.record-chapters button.done{background:var(--accent);color:white;border-color:var(--accent)}.record-chapters .mini-check{display:inline-block;margin-right:4px;font-size:12px}.record-tools{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-top:36px}.secondary-button{background:var(--surface);border:1px solid var(--border);font-size:14px}.text-button{color:var(--muted);font-size:14px}select{min-height:44px;border:1px solid var(--border);border-radius:10px;padding:10px 34px 10px 12px;font-size:15px;color:var(--ink);background:var(--surface);appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='9' viewBox='0 0 12 9'%3E%3Cpath d='m2 3 4 4 4-4' fill='none' stroke='%23817a87' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;max-width:100%}.loading{font-family:system-ui,sans-serif;font-size:16px;line-height:1.8;color:var(--muted);padding:25px 0}.error-state{font-size:16px;line-height:1.9;padding:20px 0}.error-state button{display:block;border:1px solid var(--border);margin-top:15px;font-size:14px}.sheet{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);margin:0;width:min(530px,calc(100vw - 36px));max-height:88dvh;padding:0;border:1px solid var(--border);border-radius:23px;background:var(--surface);color:var(--ink);overflow:hidden;box-shadow:0 24px 90px #23142a33}.sheet::backdrop{background:#251a2e66;backdrop-filter:blur(4px)}.sheet-handle{display:none}.sheet-header{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:25px 28px 21px;border-bottom:1px solid var(--border)}.sheet-header h2{font-size:23px;line-height:1.5;font-weight:600;letter-spacing:-.7px}.sheet-header .eyebrow{font-size:11px;display:block;margin-bottom:4px}.sheet-body{padding:24px 28px 30px;overflow-y:auto;max-height:calc(88dvh - 105px);overscroll-behavior:contain}.testament-tabs{display:flex;gap:10px;margin-bottom:20px}.testament-tabs button{flex:1;border:1px solid var(--border);font-size:15px}.testament-tabs button.active{background:var(--accent);border-color:var(--accent);color:white}.picker-books{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.picker-books button{padding:11px 5px;font-size:14px;border:1px solid var(--border);background:var(--bg);min-height:50px;line-height:1.5;word-break:keep-all}.picker-books button.active{border-color:#a894b3;background:var(--accent-light);color:var(--accent);font-weight:650}.picker-back{padding-left:0;font-size:14px;color:var(--muted);margin-bottom:12px}.picker-chapters{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.picker-chapters button{border:1px solid var(--border);min-height:49px;padding:8px 4px;font-size:17px}.picker-chapters button.active{background:var(--accent);color:white}.settings-body{padding-top:22px}.setting-preview{font-family:var(--reading-font);font-size:var(--reading-size);line-height:var(--reading-line);font-weight:var(--reading-weight);letter-spacing:-.02em;padding:24px 20px;background:var(--paper);color:var(--paper-ink);border-radius:12px;margin-bottom:28px;word-break:keep-all}.setting-block{margin-bottom:27px}.setting-label{font-size:15px;display:block;font-weight:550;margin-bottom:12px}.font-size-control{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}.font-size-control button{border:1px solid var(--border);min-width:100px;display:flex;gap:18px;justify-content:center;align-items:center;min-height:53px;font-family:serif;font-size:23px}.font-size-control button span{font-family:system-ui,sans-serif;color:var(--muted);font-size:20px}.font-size-control>strong{font-size:25px;font-weight:500}.setting-line{display:flex;justify-content:space-between;gap:10px;font-size:15px;margin-bottom:8px}.setting-line span{font-size:14px;color:var(--muted)}.theme-options,.segmented{display:flex;gap:10px}.theme-options button,.segmented button{flex:1;border:1px solid var(--border);min-height:49px;font-size:14px}.theme-options button.active,.segmented button.active{outline:2px solid #9d86ac;outline-offset:2px}.theme-options .theme-paper{background:#faf8f4;color:#51445f}.theme-options .theme-white{background:#fff;color:#3c3542}.theme-options .theme-night{background:#211b29;color:#ece7f0}.setting-selects{display:grid;grid-template-columns:1fr 1fr;gap:18px}.setting-selects label{font-size:14px;display:grid;gap:8px}.setting-selects label:first-child{grid-column:1/-1}.setting-selects select{font-size:14px}.switch-line{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 0;border-top:1px solid var(--border);font-size:14px}.switch-line input{appearance:none;width:42px;height:25px;background:#d5ced9;border-radius:20px;position:relative;flex-shrink:0}.switch-line input::after{content:'';position:absolute;width:19px;height:19px;left:3px;top:3px;border-radius:50%;background:white;transition:transform .15s}.switch-line input:checked{background:var(--accent)}.switch-line input:checked::after{transform:translateX(17px)}.reset-button{display:block;margin:12px auto 0;font-size:13px}.about-icon{border-radius:16px;margin-bottom:24px}.about-sheet h3{font-size:20px;line-height:1.7;margin-bottom:14px;letter-spacing:-.6px;font-weight:550}.about-sheet p{font-size:15px;line-height:1.9;margin-bottom:18px;color:var(--muted)}.about-stage{padding:16px;background:var(--bg);border-radius:12px}.about-sheet .version{font-size:12px;margin-top:28px;margin-bottom:0}.primary-button{background:var(--accent);color:#fff;width:100%;margin-bottom:18px}.toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,12px);opacity:0;pointer-events:none;z-index:30;padding:14px 22px;border-radius:13px;background:#3d304af2;color:#fff;box-shadow:0 8px 32px #27183122;max-width:calc(100vw - 32px);font-size:14px;line-height:1.7;width:max-content;transition:transform .18s,opacity .18s}.toast.show{transform:translate(-50%,0);opacity:1}
html[data-theme=white]{--paper:#fff;--paper-ink:#302c35}
html[data-theme=night]{color-scheme:dark;--accent:#bda5cd;--accent-dark:#d1bede;--accent-light:#3a2f44;--ink:#ede7f2;--muted:#a99eb1;--border:#3a3241;--surface:#251f2d;--bg:#1d1724;--paper:#19151f;--paper-ink:#e9e2ed;--paper-muted:#b1a2bb}
html[data-theme=night] .complete-button{background:#ae94c0;color:#201729}html[data-theme=night] .complete-button.done{background:#3d3945;color:#d3cbd9}html[data-theme=night] .reading-paper{border-color:#3a3241;box-shadow:none}html[data-theme=night] .verse.highlight{background:#75683e88;box-shadow:0 0 0 5px #75683e88}html[data-theme=night] .lookup-bar{background:#392d45}html[data-theme=night] .lookup-bar button{background:#2c2335}
body.focused .sidebar,body.focused .app-header,body.focused .reading-note,body.focused .mobile-nav{display:none}body.focused .reader-page{padding:0 30px 15px;max-width:1150px;width:100%;align-self:center}body.focused .chapter-bar{height:78px}body.focused .reading-controls{min-height:72px;padding-top:12px}body.focused .reading-paper{box-shadow:none}body.focused .reading-viewport{padding-top:38px}
@media(min-width:1500px){.reader-page{padding-right:65px;padding-left:65px}.reading-layout{gap:38px}.reading-note{width:190px}.reading-viewport{padding:52px 54px 110px}}
@media(max-width:1150px){.sidebar{width:210px;padding:30px 19px}.brand{gap:9px}.brand strong{font-size:16px}.sidebar-intro{font-size:24px;margin-top:48px}.reader-page{padding-right:26px;padding-left:26px}.reading-note{display:none}.reading-viewport{padding-left:35px;padding-right:35px}.app-header{padding-left:28px;padding-right:28px}.search-page,.records-page{padding-left:32px;padding-right:32px}.chapter-actions{gap:0}.focus-button{margin-left:2px}}
@media(max-width:760px){.sidebar{display:none}.app-header{height:65px;padding:0 18px;background:var(--paper)}.mobile-brand{display:flex}.desktop-greeting{display:none}.brand strong{font-size:16px;letter-spacing:-.5px}.brand span{font-size:10px;line-height:1.6}.brand img{width:32px;height:32px;border-radius:9px}.header-actions{gap:2px}.header-actions .icon-button{height:42px;width:42px}.reader-page{padding:0;background:var(--paper)}.chapter-bar{height:82px;padding:10px 16px 10px 20px;gap:8px;border-bottom:1px solid var(--border);background:var(--paper)}.passage-group>.eyebrow{font-size:10px;margin-left:0;letter-spacing:.04em;line-height:1.2}.passage-picker{padding:4px 0;gap:6px;min-height:40px}.passage-picker strong{font-size:22px;letter-spacing:-.8px;white-space:nowrap}.passage-picker>span:not(.selector-dot){font-size:20px;white-space:nowrap}.selector-dot{margin-left:4px;font-size:16px;letter-spacing:1px}.chapter-actions .small-button{font-size:13px;padding:10px 8px;min-width:44px;white-space:nowrap}.focus-button{display:none}.reading-layout{min-height:0;flex:1}.reading-paper{border:0;border-radius:0;box-shadow:none}.reading-viewport{padding:28px 23px 70px}.scripture .section-heading{font-size:18px;margin-top:1.5em}.scripture sup{font-size:12px;padding-right:.65em}.scripture .verse{margin-bottom:.6em}.reading-controls{padding:11px 14px;min-height:75px;gap:9px;border-top:1px solid var(--border);background:var(--paper);margin:0}.auto-button{font-size:14px;min-width:121px;min-height:48px;padding:10px 12px;gap:6px;border-radius:12px}.auto-button svg{width:17px;height:17px}.complete-button{min-height:48px;font-size:14px;padding:10px 9px;gap:5px;border-radius:12px}.complete-button svg{width:18px;height:18px}.auto-settings{width:38px;height:48px;padding:9px;border-radius:10px;background:transparent;border:0}.auto-settings svg{width:19px;height:19px}.mobile-nav{display:flex;background:var(--surface);border-top:1px solid var(--border);padding:5px 14px calc(5px + env(safe-area-inset-bottom));min-height:68px;flex-shrink:0;justify-content:space-around;gap:16px}.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;flex:1;padding:7px 8px;color:var(--muted);font-size:11px;min-height:56px;font-weight:500;border-radius:12px}.mobile-nav svg{width:21px;height:21px}.mobile-nav button.active{color:var(--accent);background:var(--accent-light)}.auto-panel{margin:0;border-radius:0;padding:12px 22px 8px;border:0;border-top:1px solid var(--border);background:var(--surface)}.auto-panel p{font-size:11px}.speed-row{gap:16px}.speed-row input{min-height:30px}.lookup-bar{margin:0;border-radius:0;padding:4px 20px;min-height:43px;font-size:12px}.lookup-bar button{font-size:13px;min-height:33px;padding:5px 10px}.search-page,.records-page{padding:0 20px 35px}.page-heading{padding:32px 0 23px}.page-heading>.eyebrow{font-size:10px}.page-heading h1{font-size:26px;letter-spacing:-1px;line-height:1.5}.page-heading p{font-size:13px;margin-top:7px;word-break:keep-all}.search-form{padding:7px 7px 7px 14px;gap:9px;border-radius:14px}.search-form input{font-size:15px;padding:10px 0}.search-submit{padding:9px 12px;font-size:14px;min-width:51px}.search-form svg{width:19px;height:19px}.search-result{padding:18px 19px;border-radius:13px}.search-result>p{font-size:17px;line-height:1.9}.search-result>strong{font-size:14px}.search-status{font-size:13px;margin-top:19px}.search-example>span{font-size:12px}.search-example button{font-size:13px;padding:8px 13px}.search-note{margin-top:20px}.record-summary{padding:20px;gap:10px}.record-summary strong{font-size:34px}.record-summary select{padding-left:10px;font-size:13px;max-width:133px}.record-summary>div:first-child>span{font-size:12px}.record-summary small{font-size:13px}.book-record-heading{margin-top:27px;gap:10px}.book-record-heading label{font-size:17px}.book-record-heading select{font-size:14px;max-width:175px}.record-hint{font-size:12px;margin-top:11px}.record-chapters{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.record-chapters button{font-size:17px;min-height:52px}.record-tools{gap:8px;margin-top:28px}.sheet{left:0;top:auto;bottom:0;transform:none;width:100%;max-width:none;max-height:92dvh;border-radius:24px 24px 0 0;border-bottom:0;box-shadow:0 -10px 70px #23142a22}.sheet-handle{display:block;width:34px;height:4px;background:#c8c0cc;border-radius:4px;margin:10px auto 0}.sheet-header{padding:15px 22px 18px}.sheet-header h2{font-size:23px}.sheet-header .eyebrow{font-size:10px}.sheet-body{max-height:calc(92dvh - 108px);padding:21px 22px calc(26px + env(safe-area-inset-bottom))}.sheet-header>.icon-button{margin-right:-6px}.picker-books{gap:8px}.picker-books button{font-size:14px;min-height:49px}.picker-chapters{grid-template-columns:repeat(5,minmax(0,1fr))}.settings-body{padding-top:18px}.setting-preview{padding:21px 18px;margin-bottom:24px}.setting-block{margin-bottom:24px}.toast{bottom:154px;max-width:calc(100vw - 32px);font-size:13px;padding:12px 17px}.focused .toast{bottom:90px}body.focused .reader-page{padding:0;max-width:none}body.focused .chapter-bar{height:72px}body.focused .focus-button{display:flex;width:38px;height:40px}body.focused .reading-controls{min-height:74px;padding:12px 14px calc(12px + env(safe-area-inset-bottom))}body.focused .reading-viewport{padding-top:30px}html[data-theme=night] .app-header{background:var(--paper)}}
@media(max-width:370px){.brand strong{font-size:15px}.app-header{padding:0 14px}.header-actions .icon-button{width:38px}.chapter-bar{padding-left:17px;padding-right:12px}.passage-picker strong{font-size:20px}.passage-picker>span:not(.selector-dot){font-size:18px}.chapter-actions .small-button{padding:10px 6px;font-size:12px}.reading-viewport{padding-left:20px;padding-right:20px}.reading-controls{gap:6px;padding-left:10px;padding-right:10px}.auto-button{min-width:110px;font-size:13px;padding:10px}.complete-button{font-size:13px}.auto-settings{width:32px}.mobile-nav{gap:10px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media(max-width:760px){.mobile-nav button{font-size:14px}.chapter-actions .small-button{font-size:14px}.scripture sup{font-size:14px}.search-example button{font-size:14px}.record-summary select{font-size:14px}}
@media(max-width:370px){.chapter-actions .small-button{font-size:14px}.complete-button{font-size:14px}.auto-button{font-size:14px}.header-actions .icon-button{width:36px}.brand strong{font-size:14px}}
/* Shared reading and talents */
.hub-page{overflow-y:auto;padding:0 42px 50px;overscroll-behavior:contain}.hub-page>.page-heading{padding-bottom:16px}.hub-page>div:not(.page-heading){max-width:980px}.hub-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:14px 0 22px}.hub-toolbar select,.hub-form select,.form-field select{min-height:46px;min-width:140px}.hub-updated{font-size:14px;color:var(--muted);margin:0 0 12px}.hub-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:22px}.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:22px}.stat-card>span{display:block;font-size:14px}.stat-card>strong{display:block;font-size:28px;letter-spacing:-1px;margin-top:8px;font-weight:600}.muted{color:var(--muted);font-size:14px;line-height:1.8;overflow-wrap:anywhere}.hub-notice,.practice-banner{background:var(--accent-light);padding:16px 20px;border-radius:14px;font-size:14px;line-height:1.8;margin:16px 0 24px;color:var(--ink)}.hub-card,.participant-card{border:1px solid var(--border);border-radius:18px;background:var(--surface);padding:24px;margin-bottom:18px}.hub-card>h2,.participant-card h2{font-size:20px;font-weight:600;line-height:1.6}.hub-card>h2{margin-bottom:10px}.hub-card>p+.hub-form{margin-top:18px}.hub-row{display:flex;justify-content:space-between;gap:15px;align-items:center}.participant-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.participant-card{margin:0}.participant-card .record-meter{margin:18px 0}.participant-card .plan-status{font-size:14px;margin-top:10px;line-height:1.8}.progress-count{white-space:nowrap}.progress-count strong{font-size:25px;font-weight:600}.badge-row{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.fruit-badge{font-size:14px;font-weight:500;background:var(--accent-light);color:var(--accent);padding:6px 12px;border-radius:30px;line-height:1.6}.participant-details{border-top:1px solid var(--border);padding-top:14px;margin-top:18px}.participant-details summary,summary{cursor:pointer;min-height:44px;align-content:center;font-size:15px}.participant-details p{font-size:14px;padding:4px 0;line-height:1.7}.wallet-card{background:var(--accent);color:#fff;padding:30px;border-radius:22px;margin:16px 0 24px;box-shadow:0 10px 25px #51445f1c}.wallet-card .eyebrow{color:#e3d8eb;font-size:14px}.wallet-amount{display:block;font-size:48px;font-weight:600;letter-spacing:-2px;line-height:1.6}.wallet-card>p{color:#eee7f2;font-size:14px;line-height:1.8}.wallet-held{display:flex;gap:24px;font-size:14px;margin-top:24px;padding-top:18px;border-top:1px solid #ffffff35;flex-wrap:wrap}.hub-form{display:grid;gap:16px;max-width:520px}.form-field{display:grid;gap:8px;font-size:15px;font-weight:500;margin-bottom:16px}.hub-form .form-field{margin-bottom:0}.form-field>input,.form-field>select{padding:12px 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--ink);width:100%;min-width:0;min-height:48px;font-size:16px}.hub-form>.primary-button,.hub-form>.secondary-button{justify-self:start;min-width:130px}.primary-button{background:var(--accent);color:#fff;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 20px;border-radius:12px;font-weight:550}.primary-button:hover{background:var(--accent-dark);color:#fff}.ledger-row{display:flex;align-items:center;gap:15px;padding:17px 0;border-bottom:1px solid var(--border);flex-wrap:wrap}.ledger-row:last-child{border-bottom:0}.ledger-row>div{flex:1;min-width:120px}.ledger-row strong{font-size:15px;font-weight:550}.ledger-row>strong{white-space:nowrap;font-size:18px}.credit{color:var(--accent)}.policy-list{display:grid;margin:16px 0}.policy-list .hub-row{font-size:15px;padding:11px 0;border-bottom:1px solid var(--border)}.policy-list strong{white-space:nowrap}.text-link{display:inline-block;padding:16px 0;color:var(--muted);font-size:14px}.admin-request{padding:20px 0;border-bottom:1px solid var(--border)}.admin-request h3{font-size:18px;font-weight:550;line-height:1.7}.admin-request>p{font-size:15px;line-height:1.8}.admin-request details{margin-top:10px}.admin-request details>p{margin:10px 0 16px}.invite-code{font-family:ui-monospace,monospace;display:inline-block;font-size:17px;padding:12px;background:var(--bg);border-radius:10px;overflow-wrap:anywhere}.admin-detail{margin-top:14px}.account-gate{position:fixed;inset:0;z-index:1000;background:var(--bg);display:flex;align-items:center;justify-content:center;padding:24px;overflow-y:auto}.account-card{width:100%;max-width:480px;margin:auto;background:var(--surface);border:1px solid var(--border);padding:34px;border-radius:24px;box-shadow:0 12px 45px #302c3510}.account-card .brand{margin-bottom:40px}.account-card h1{font-size:26px;line-height:1.5;letter-spacing:-1px;margin-bottom:14px}.account-card p{margin-bottom:24px}.account-card .hub-form{margin-top:24px}.account-card .primary-button{width:100%}.empty-state{padding:30px 0;color:var(--muted)}
@media(max-width:1100px){.participant-list{grid-template-columns:1fr}.hub-page{padding-left:28px;padding-right:28px}.sidebar-intro{margin-top:30px;margin-bottom:24px}.desktop-nav{gap:2px}.desktop-nav button{min-height:48px}}
@media(max-width:700px){.hub-page{padding:0 20px 30px}.hub-page .page-heading{padding-top:28px}.hub-stats{gap:8px}.stat-card{padding:17px 12px;border-radius:14px}.stat-card>strong{font-size:23px}.stat-card>span{font-size:14px}.hub-card,.participant-card{padding:20px}.wallet-card{padding:24px}.wallet-amount{font-size:44px}.mobile-nav{grid-template-columns:repeat(5,minmax(0,1fr))!important}.mobile-nav button{min-width:0;padding:8px 1px;font-size:12px}.mobile-nav button span:last-child{white-space:nowrap}.hub-toolbar{gap:8px}.hub-toolbar>select{flex:1;min-width:120px}.hub-page .hub-stats>.hub-card{grid-column:span 3}.account-card{padding:26px}.wallet-held{gap:14px}.ledger-row>.text-button{padding-left:6px;padding-right:6px}.hub-card>h2{font-size:19px}}

@media(max-width:760px){.mobile-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;padding-left:8px;padding-right:8px}.mobile-nav button{font-size:14px;min-width:0;padding:7px 1px}.mobile-nav button span:last-child{white-space:nowrap}.hub-page .page-heading p{font-size:14px}.brand span{font-size:12px}}
.hub-toolbar .primary-button,.hub-toolbar .secondary-button{width:auto;margin-bottom:0}.hub-card>.primary-button{margin-top:16px}.hub-form>.primary-button{width:100%;margin-bottom:0}.toast{z-index:1100}

.form-error{color:#b64545;font-size:14px;line-height:1.7}.account-help{font-size:14px;color:var(--muted);line-height:1.8;margin-top:20px}.admin-detail input{width:100%;font-size:14px;padding:12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--ink)}.account-gate .account-card{max-width:500px}.account-gate .form-field{font-weight:500}.admin-detail{flex-basis:100%;width:100%}
/* Clear navigation and gentle backgrounds outside the reading paper. */
.brand-home{border:0;background:none;color:inherit;text-align:left;cursor:pointer;font:inherit;padding:0}
.nav-action{border:1px solid var(--border);background:var(--surface);color:var(--accent);border-radius:12px;padding:10px 14px;font:inherit;font-weight:600;white-space:nowrap;cursor:pointer;min-height:44px}
.count-badge{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 5px;border-radius:20px;background:var(--accent);color:#fff;font-size:12px}
.approval-banner{display:block;width:calc(100% - 48px);margin:8px 24px 0;padding:12px 16px;border:1px solid #cbb9d0;border-radius:12px;background:#e9dfee;color:#4b3858;text-align:left;font:inherit;cursor:pointer}
.reader-tools{display:flex;justify-content:flex-end;gap:8px;margin:0 0 16px;flex-wrap:wrap}
.reader-tools button{display:flex;align-items:center;gap:7px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--accent);padding:10px 14px;font:inherit;font-size:14px;cursor:pointer;min-height:44px}
.reader-tools svg{width:18px;height:18px}.chapter-actions #focusButton{display:none}
:root:not([data-theme="night"]) .account-gate{background:#e3d9e6}
:root:not([data-theme="night"]) .account-card{background:#f3edf3;border-color:#d6c8db;box-shadow:0 18px 70px #51445f12;--surface:#faf7fa;--border:#d8cbdc}
:root:not([data-theme="night"]) .hub-page,:root:not([data-theme="night"]) .records-page{background:#eae4eb;--surface:#f5f0f4;--border:#d8cbdc;border-radius:22px}
:root:not([data-theme="night"]) .app-header{background:#efeaef}
:root:not([data-theme="night"]) .sidebar{background:#eee8ef}
.focused .reader-tools{justify-content:center;margin-top:12px}
.focused .approval-banner{display:none}
@media(max-width:760px){.header-actions{gap:6px}.nav-action{font-size:13px;padding:8px 10px}.mobile-brand strong{font-size:15px}.mobile-brand span{font-size:10px}.mobile-brand img{width:28px;height:28px}.app-header{gap:8px}.reader-tools{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:0 0 12px}.reader-tools button{justify-content:center;font-size:13px;padding:9px 5px}.approval-banner{width:calc(100% - 28px);margin:8px 14px 0;font-size:13px}.hub-page,.records-page{border-radius:16px}.mobile-nav button{font-size:12px}}
.reader-tools,.approval-banner{flex-shrink:0}
