:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--text);background:var(--surface);font-synthesis:none;--surface: #f7f8fa;--subtle: #eceff3;--text: #242b36;--muted: #596579;--line: color-mix(in srgb, var(--text) 16%, var(--surface));--accent: #345fc2;--blue-soft: #dde7fa;--highlight: #dde7fa;--on-accent: #fff;--serif: Georgia, "Times New Roman", serif}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:var(--surface);border:1px solid var(--line);border-radius:5px;min-height:44px;padding:9px 15px;font-size:14px}button:hover{border-color:var(--muted);background:var(--subtle)}button:disabled{opacity:.4;cursor:default}a{color:var(--accent);text-decoration:none}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible,.word:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.app{height:100dvh;min-height:400px;display:flex;flex-direction:column;background:var(--surface)}.header{height:89px;flex-shrink:0;display:flex;align-items:center;padding:0 32px;gap:60px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:16px;white-space:nowrap;color:var(--text);font-size:23px;font-weight:650;letter-spacing:-.8px}.brand svg{color:var(--accent);stroke-width:1.8}.amp{font-weight:450}.search{max-width:630px;flex:1;display:flex;align-items:center;gap:13px;background:var(--subtle);height:44px;border:1px solid var(--line);border-radius:5px;padding:0 14px;color:var(--muted)}.search input{background:none;border:0;outline:0;color:var(--text);min-width:0;flex:1;font-size:14px}.search input::placeholder{color:var(--muted)}kbd{font-family:inherit;border:1px solid var(--line);padding:0 5px;font-size:13px;border-radius:3px}.header-actions{display:flex;align-items:center;gap:15px;margin-left:auto}.icon{border:0;padding:10px;min-width:44px;background:transparent}.icon svg{stroke-width:1.7}.divider{height:28px;border-left:1px solid var(--line)}.workspace{display:flex;flex:1;min-height:0}.rail{width:88px;flex-shrink:0;border-right:1px solid var(--line);background:var(--subtle);display:flex;align-items:center;flex-direction:column;padding:22px 10px;gap:16px}.rail>button{width:66px;min-height:70px;flex-direction:column;border:0;background:transparent;gap:7px;font-size:12px;color:var(--muted);padding:10px 0}.rail>button.active{background:var(--blue-soft);color:var(--accent)}.rail-bottom{margin-top:auto;font-family:var(--serif);font-size:14px;color:var(--muted);letter-spacing:-2px}.rail-bottom span{font-size:11px;padding:0 2px}.reader{background:var(--surface);flex:1;min-width:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.toolbar{position:sticky;top:0;z-index:5;display:flex;gap:16px;align-items:center;padding:20px 36px;background:var(--surface);border-bottom:1px solid var(--line)}.reference-controls{display:flex;gap:9px}select{background:var(--surface);border:1px solid var(--line);border-radius:5px;padding:10px 30px 10px 13px;color:var(--text);min-height:44px;font-size:14px;max-width:180px}.reference-controls select:first-child{width:150px}.reference-controls select:last-child{width:74px}.appearance-wrap{margin-left:auto;position:relative}.translation-label{display:inline-flex;align-items:center;min-height:44px;padding:8px 15px;border:1px solid var(--line);border-radius:5px;color:var(--muted);font-size:13px}.appearance-button{font-size:18px;min-width:50px;background:var(--subtle)}.appearance-button.on{border-color:var(--accent);color:var(--accent)}.appearance{position:absolute;right:0;top:54px;width:276px;background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:16px;z-index:20;font-size:13px}.popover-title{display:flex;align-items:center;justify-content:space-between;font-weight:550;margin-bottom:12px}.small{min-width:28px;min-height:28px;padding:3px}.font-options{display:flex;gap:6px;margin-bottom:18px}.font-options button{flex:1;min-height:38px;font-size:12px;padding:6px 10px}.selected{color:var(--accent);border-color:var(--accent)!important}.appearance label{display:flex;justify-content:space-between;margin:15px 0 9px}.appearance label span{color:var(--muted)}.stepper{display:flex;border:1px solid var(--line);border-radius:4px}.stepper button{border:0;min-height:36px;background:var(--subtle);padding:7px 13px}.stepper>span{flex:1;text-align:center;align-self:center}.appearance input[type=range]{width:100%;accent-color:var(--accent)}.theme-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.theme-options button{justify-content:flex-start;min-height:44px;gap:8px;font-size:11px;border:1px solid transparent;padding:5px;background:transparent}.swatch{position:relative;overflow:hidden;flex-shrink:0;width:31px;height:31px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--line)}.swatch-panel{position:absolute;bottom:0;width:100%;height:50%}.swatch svg,.swatch-accent{position:relative;z-index:1}.swatch-accent{width:9px;height:9px;border-radius:50%}.theme-options .selected .swatch{outline:2px solid var(--accent);outline-offset:3px}.chapter-heading{max-width:850px;margin:0 auto;padding:43px 48px 27px}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:600;color:var(--muted)}.eyebrow>span{margin:0 7px;color:var(--line)}h1{font-family:var(--serif);font-size:47px;letter-spacing:-1.4px;font-weight:500;margin:17px 0 10px;line-height:1.15}.chapter-subtitle{font-family:var(--serif);font-size:23px;margin:0 0 25px}.chapter-subtitle>span{display:block;font:8px -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;letter-spacing:1.4px;color:var(--muted);margin-top:9px}.reading-hint{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px;border-top:1px solid var(--line);padding-top:18px}.blue-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--accent);vertical-align:middle;margin-right:2px}.scripture{max-width:850px;margin:0 auto;padding:8px 48px 30px;font-family:var(--serif)}.font-sans{font-family:Arial,Segoe UI,sans-serif}.font-classic{font-family:Palatino Linotype,Book Antiqua,Palatino,serif}.verse{display:flex;gap:19px;position:relative;padding:9px 0 12px;scroll-margin-top:100px}.verse p{flex:1;margin:0;white-space:pre-wrap;min-width:0}.verse-number{font-family:inherit;font-size:12px;color:var(--muted);line-height:inherit;padding-top:9px;min-width:17px}.verse-save{position:absolute;right:-34px;top:16px;padding:4px;min-width:28px;min-height:30px;background:transparent;border:0;color:var(--muted);opacity:0}.verse:hover .verse-save,.verse:focus-within .verse-save,.verse-save.is-saved{opacity:1}.is-saved svg{color:var(--accent);fill:var(--blue-soft)}.word{cursor:pointer;border-radius:2px;user-select:text;-webkit-user-select:text}.word:hover{background:var(--blue-soft)}.word.highlight{background:var(--highlight)}.word.supplied{font-style:italic}.source-heading{color:var(--muted);font-size:.72em;font-style:italic}.verse.referenced{border-left:2px solid var(--accent);padding-left:12px;margin-left:-14px}.chapter-footer{max-width:754px;margin:8px auto 0;border-top:1px solid var(--line);padding:20px 0;display:flex;justify-content:space-between;align-items:center;gap:12px}.chapter-footer button{font-size:12px}.chapter-position{font-size:11px;color:var(--muted)}.primary{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}.primary:hover{background:color-mix(in srgb,var(--accent) 88%,var(--text));color:var(--on-accent);border-color:var(--accent)}.attribution{max-width:754px;margin:0 auto 30px;color:var(--muted);font-size:10px;line-height:1.7}.study{width:365px;flex-shrink:0;border-left:1px solid var(--line);overflow-y:auto;scrollbar-width:thin;background:var(--surface);outline:0}.study.expanded{width:450px}.study-top{display:flex;align-items:center;justify-content:space-between;padding:16px 23px 12px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--surface);z-index:3}.study-top>span{display:flex;align-items:center;gap:9px;font-weight:600;font-size:14px}.study-top>div{display:flex}.study-top .icon{min-width:30px;padding:6px;min-height:35px;color:var(--muted)}.study-top .expand{display:none}.study-body{padding:26px 24px 25px}.selected-word h2{font-size:30px;font-weight:600;margin:10px 0 4px;letter-spacing:-.7px}.reference-link{padding:0;border:0;color:var(--muted);background:transparent;min-height:30px;font-size:12px;justify-content:flex-start}.reference-link span{font-size:11px}.original{margin:18px 0 21px}.original-lemma{font-family:var(--serif);font-size:40px;line-height:1.2;text-align:left}.transliteration{font-family:var(--serif);font-size:18px;display:flex;align-items:center;gap:10px;margin-top:10px}.transliteration>span:first-child{color:var(--muted)}.strongs{display:inline-block;padding:4px 10px;border-radius:20px;font:11px -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:var(--subtle);border:1px solid var(--line)}.original>small{display:block;font-size:9px;color:var(--muted);margin-top:10px}.study-tabs{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);margin:0 -2px 18px;position:sticky;top:64px;background:var(--surface);z-index:2}.study-tabs button{border:0;border-bottom:2px solid transparent;border-radius:0;padding:11px 9px;font-size:12px;background:transparent}.study-tabs .active{border-color:var(--accent);color:var(--accent)}.study-section{margin-bottom:23px}.study-section h3,.unmapped h3{font-weight:600;font-size:13px;line-height:1.5;margin:0 0 8px}.study-section p{font-family:var(--serif);font-size:15px;line-height:1.6;margin:0 0 9px}.study-section p+h3{margin-top:20px}.muted{color:var(--muted)}.study-section .muted{font-family:inherit;font-size:11px;line-height:1.6}.study-section small{font-size:10px;line-height:1.65;display:block}.study-section .context-quote{border-left:2px solid var(--line);padding-left:12px}.occurrence-card{width:100%;display:block;text-align:left;padding:12px 32px 12px 13px;position:relative;margin:9px 0;min-height:68px;font-family:var(--serif)}.occurrence-card strong{font-size:14px}.occurrence-card p{font-size:13px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:5px 0 0}.occurrence-card>svg{position:absolute;right:10px;top:25px}mark{background:var(--highlight);color:var(--text);border-radius:2px}.text-button{color:var(--accent);background:transparent;border:0;padding:8px 0;justify-content:flex-start;font-size:12px;min-height:44px}.entry-title{display:flex;align-items:center;gap:10px}.entry-title strong{font-family:var(--serif);font-size:28px;font-weight:500}.lexicon-entry{border-bottom:1px solid var(--line);padding-bottom:22px}.study-source{margin-top:24px;border-top:1px solid var(--line);padding-top:20px;color:var(--muted);font-size:10px;line-height:1.7}.study-source .eyebrow{font-size:9px;letter-spacing:1.2px}.study-source p{margin:8px 0}.study-source a{display:flex;align-items:center;gap:4px;margin:9px 0}.filter-label{display:block;color:var(--muted);font-size:11px;margin:15px 0}.filter-label select,.filter-label input{display:block;width:100%;max-width:none;margin:6px 0;background:var(--surface);border:1px solid var(--line);padding:9px 11px;color:var(--text);border-radius:4px;min-height:44px;font-size:12px}.full{width:100%}.surrounding{font-size:12px;line-height:1.7;border-top:1px solid var(--line);padding-top:15px}.surrounding summary{cursor:pointer;color:var(--muted)}.surrounding p{font-family:var(--serif);font-size:14px}.unmapped{padding:15px;background:var(--subtle);border:1px solid var(--line);border-radius:5px;font-size:12px;line-height:1.7}.unmapped p{color:var(--muted)}.status-bar{height:31px;flex-shrink:0;display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding:0 26px;color:var(--muted);font-size:9px;letter-spacing:.2px;background:var(--subtle)}.status-bar>span>span:not(.blue-dot){margin:0 8px}.empty{padding:65px 25px;text-align:center;color:var(--muted);font-size:13px;line-height:1.7}.empty svg{color:var(--accent);margin-bottom:10px}.empty h2,.empty h3{font-weight:500;color:var(--text)}.error-state{max-width:650px;margin:20px auto;padding:30px 45px;line-height:1.8}.error-state svg{color:var(--accent)}.error-state h2{font-family:var(--serif);font-weight:500}.error-state p{color:var(--muted);font-size:14px}.notice{margin:15px 36px;padding:14px;background:var(--subtle);font-size:13px;border:1px solid var(--line);border-radius:4px}.error{color:#a54444}.secondary-page{max-width:850px;margin:auto;padding:40px 48px}.secondary-page>.eyebrow{margin-top:20px}.secondary-page>p{font-size:13px;line-height:1.7}.result{width:100%;display:block;text-align:left;position:relative;margin:15px 0;padding:18px 38px 18px 18px}.result strong{font-size:13px;color:var(--accent)}.result p{font-family:var(--serif);font-size:18px;line-height:1.6;margin:9px 0 0}.result>svg{position:absolute;right:15px;top:18px}.saved-row{display:flex;border:1px solid var(--line);margin:15px 0;border-radius:5px}.saved-row>button:first-child{flex:1;justify-content:flex-start;padding:18px;border:0;text-align:left}.saved-row small{display:block;color:var(--muted);margin-top:6px}.saved-row>button:first-child>svg:last-child{margin-left:auto}.sheet-handle,.mobile-search{display:none}@media(min-width:1600px){.header{gap:100px}.study{width:400px}.reader.with-study .chapter-heading,.reader.with-study .scripture{max-width:900px}}@media(min-width:901px)and (max-width:1200px){.header{gap:30px;padding:0 24px}.brand{font-size:20px}.rail{width:76px}.toolbar{padding:16px 22px;gap:10px}.reference-controls select:first-child{width:130px}.chapter-heading,.scripture{padding-left:32px;padding-right:40px}.study{width:320px}.study-body{padding:22px 19px}.chapter-footer,.attribution{margin-left:32px;margin-right:40px}.chapter-heading{padding-top:34px}}@media(max-width:900px){.header{height:74px;padding:0 24px;gap:25px}.brand{font-size:21px;gap:12px}.brand svg{width:30px}.header-actions{gap:5px}.header-actions .divider{display:none}.search{max-width:340px}.search kbd{display:none}.rail{position:fixed;bottom:0;left:0;right:0;width:100%;height:calc(69px + env(safe-area-inset-bottom));padding:3px 20px env(safe-area-inset-bottom);z-index:30;flex-direction:row;border:0;border-top:1px solid var(--line);background:var(--surface);gap:0;justify-content:space-around}.rail>button{width:90px;min-height:58px;font-size:10px;gap:4px;border-radius:4px}.rail>button.active{background:transparent}.rail-bottom{display:none}.workspace{padding-bottom:calc(69px + env(safe-area-inset-bottom))}.toolbar{padding:14px 28px;gap:12px}.reader{width:100%}.chapter-heading{padding-top:32px}.study{position:fixed;bottom:calc(69px + env(safe-area-inset-bottom));left:0;right:0;width:100%;height:58dvh;border:1px solid var(--line);border-bottom:0;border-radius:18px 18px 0 0;z-index:25;overscroll-behavior:contain}.study.expanded{width:100%;height:calc(100dvh - 80px - env(safe-area-inset-bottom))}.sheet-handle{display:flex;justify-content:center;height:20px;position:sticky;top:0;background:var(--surface);z-index:4}.sheet-handle button{border:0;min-height:20px;height:20px;width:80px;padding:0;background:transparent}.sheet-handle span{height:4px;width:40px;border-radius:4px;background:var(--muted)}.study-top{top:20px;padding:4px 24px 8px}.study-top .expand{display:inline-flex}.study-body{padding:20px 28px;max-width:700px;margin:auto}.selected-word h2{font-size:26px}.original-lemma{font-size:34px}.original{margin:10px 0 15px}.study-tabs{top:68px}.status-bar{display:none}.verse-save{opacity:.6;min-width:36px;min-height:44px;right:-35px;top:8px}.scripture,.chapter-heading{max-width:760px}.chapter-footer,.attribution{margin-left:48px;margin-right:48px}}@media(max-width:600px){.header{height:68px;padding:0 20px;gap:10px}.brand{font-size:19px;letter-spacing:-.5px;gap:11px}.brand svg{width:30px;height:30px}.header-actions .icon:first-child{display:none}.header-actions .icon{padding:8px}.header-actions svg{width:21px}.search{display:none}.toolbar{padding:12px 17px;gap:10px;flex-wrap:nowrap}.reference-controls{gap:6px}.reference-controls select:first-child{width:104px;padding-left:9px;padding-right:8px;font-size:13px}.reference-controls select:last-child{width:52px;padding:8px 4px;font-size:13px}.appearance-button{min-width:39px;padding:8px;font-size:17px}.appearance-wrap{margin-left:auto}.appearance{right:0;width:266px}.mobile-search{display:flex;align-items:center;gap:9px;padding:0 18px 0 23px;height:45px;border-bottom:1px solid var(--line);color:var(--muted)}.mobile-search input{border:0;outline:0;background:transparent;min-width:0;flex:1;color:var(--text);font-size:12px;height:44px}.mobile-search button{border:0;padding:7px;background:transparent;min-width:44px}.chapter-heading{padding:29px 25px 20px}.chapter-heading h1{font-size:39px;margin-top:15px}.chapter-subtitle{font-size:21px;margin-bottom:20px}.eyebrow{font-size:9px}.chapter-subtitle>span{font-size:7px}.reading-hint{font-size:10px;padding-top:15px}.scripture{padding:5px 36px 20px 24px}.verse{gap:12px;padding-top:7px;padding-bottom:11px}.verse-number{font-size:11px;min-width:12px;padding-top:7px}.verse-save{right:-30px;min-width:29px;padding:3px;opacity:.45}.verse-save svg{width:14px}.chapter-footer{margin:0 22px;padding-top:18px;gap:8px}.chapter-footer button{font-size:11px;gap:4px;padding:9px}.chapter-position{display:none}.attribution{margin:0 24px 25px;font-size:9px}.study-body{padding:15px 23px}.study-top{padding-left:23px;padding-right:16px}.study-top>span{font-size:13px}.selected-word .eyebrow{display:none}.selected-word h2{font-size:24px;margin-top:3px}.selected-word{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.selected-word .reference-link{font-size:12px}.original{margin-top:10px}.original>small{font-size:9px}.study-section p{font-size:15px}.study-tabs button{font-size:12px;flex:1;min-height:45px}.study-section h3{font-size:13px}.secondary-page{padding:24px}.secondary-page h1{font-size:36px}.error-state{padding:12px 26px}.notice{margin:12px 20px}.result p{font-size:17px}.study{height:60dvh}.study.expanded{height:calc(100dvh - 69px - env(safe-area-inset-bottom))}}@media(max-width:900px){.reader.with-study{padding-bottom:60dvh}.study-top .icon{min-width:44px;min-height:44px}.appearance button{min-height:44px}.appearance input[type=range]{height:44px}.sheet-handle{height:28px}.sheet-handle button{min-height:44px;position:relative;top:-8px}.study-top{top:28px}.study-tabs{top:89px}.verse-save{min-width:44px;min-height:44px}.reference-controls select{min-width:44px}}.header,.toolbar,.study,.study-top,.study-tabs,.appearance,.sheet-handle{background:var(--subtle)}.appearance{max-height:min(700px,calc(100dvh - 190px));overflow-y:auto;overscroll-behavior:contain}.theme-options button.selected{background:var(--blue-soft)}@media(prefers-reduced-motion:no-preference){button{transition:background .12s,border-color .12s}.study{animation:appear .16s ease-out}@keyframes appear{0%{opacity:.7;transform:translateY(8px)}to{opacity:1;transform:none}}}
