
body{margin:0;background:#eef3ee;color:#203327;font:17px/1.8 Arial,"Microsoft YaHei",sans-serif}.page{max-width:1080px;margin:auto;padding:16px}.box{padding:18px;margin-bottom:16px;background:#fff;border:1px solid #bdcec2;border-radius:8px}h1{font-size:25px;margin:0}h2{font-size:21px;margin:0 0 10px}h3{font-size:19px}a{color:#075da4}.nav a{display:inline-block;margin-right:20px}.small{font-size:14px;color:#53695a}.control{display:inline-block;margin:4px 12px 6px 0;vertical-align:top}.control label{display:block;font-size:14px;font-weight:bold}select,input,button{font:inherit;padding:7px 10px;border:1px solid #6d8a77;border-radius:4px;box-sizing:border-box;max-width:100%}button{background:#195f3a;color:white;min-height:42px;cursor:pointer;margin:4px 8px 4px 0}button.secondary{background:#f4f8f4;color:#225638}button:disabled{background:#e0e7e1;color:#687b6b;cursor:default}select:focus,input:focus,button:focus,a:focus{outline:2px solid #387bc2;outline-offset:2px}#book{min-width:135px}#chapter{width:90px}#translation{max-width:460px}#series{max-width:570px}.error{color:#9a2618;font-weight:bold;white-space:pre-wrap}.verse{padding:5px 0;margin:0}.number{display:inline-block;min-width:30px;color:#647a64}.verse.selected{background:#fff5c7}.verse button{font:inherit;padding:0 3px;min-height:0;color:#1c542f;background:transparent;border:0}.notice{font-size:14px;padding:8px 10px;border-left:3px solid #b59345;background:#fff8df;white-space:pre-wrap}.version-controls{background:#fff7d8;border:1px solid #ad8039;border-radius:6px;padding:8px 12px;margin:10px 0;font-weight:bold}.version-controls label{display:inline-block;margin:2px 18px 2px 0;color:#754c13}.version-controls input{vertical-align:middle;margin-right:5px}.version-controls button{font-size:14px;padding:3px 10px;min-height:32px}.commentary{border-top:1px solid #cedbce;margin:14px 0 0;padding:12px 0;word-wrap:break-word}.commentary p{margin:8px 0}.commentary table{border-collapse:collapse;width:100%}.commentary td,.commentary th{border:1px solid #cbd8cc;padding:6px;vertical-align:top}.commentary pre{white-space:pre-wrap}.commentary blockquote{border-left:3px solid #a8bdab;margin:10px 0;padding-left:14px}.range{font-size:14px;color:#5c715f}.tools{border-top:1px solid #d2ddd2;padding-top:8px;margin-top:12px}#retry{display:none}@media(max-width:600px){.page{padding:8px}.box{padding:12px}.control{display:block;margin-right:0}.control select{width:100%}#chapter{width:120px}h1{font-size:22px}}

[hidden]{display:none!important}


/* Reading layout: controls stay outside each independently scrolling body. */
.reading-content{word-wrap:break-word}
/* Older browsers keep the original unbounded, vertically readable flow. */
@supports(display:grid){
html,body{height:100%}
body{overflow:hidden}
.page{max-width:1520px;height:100vh;padding:10px 12px;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-height:0}
.box{box-sizing:border-box;padding:12px 14px;margin-bottom:10px}
.page-header,.reader-toolbar{-ms-flex:0 0 auto;flex:0 0 auto}
.page-header{padding-top:9px;padding-bottom:8px}
.top-line{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center}
.top-line h1{font-size:22px;line-height:1.35;margin-right:22px}
.page-header .nav{margin:0 16px 0 0}
.page-header .nav a{margin-right:14px}
#connection{margin:0;line-height:1.5}
.scope-note{margin:3px 0 0;line-height:1.5}
.reader-toolbar{padding-top:7px;padding-bottom:7px}
.reader-bar,#reading-form{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:end;align-items:flex-end}
#reading-form{-ms-flex:1 1 650px;flex:1 1 650px;min-width:0;margin:0}
.reader-toolbar .control{margin:0 10px 0 0}
.reader-toolbar .control label{font-size:14px;line-height:1.4;margin-bottom:2px}
.reader-toolbar #chapter{width:78px}
.reader-toolbar #translation{width:390px;max-width:100%}
.reader-toolbar button{margin-top:0;margin-bottom:0}
.chapter-navigation{white-space:nowrap;margin-top:4px}
.reader-feedback:empty{display:none}
#error:empty{display:none}
#error{margin:6px 0 0;line-height:1.5}
.reading-layout{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;min-height:0;min-width:0}
.reading-pane{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex:1 1 0px;flex:1 1 0%;min-height:0;min-width:0;margin-bottom:0;overflow:hidden}
.scripture-pane{margin-right:10px}
.pane-heading{-ms-flex:0 0 auto;flex:0 0 auto;min-width:0}
.pane-heading h2{font-size:20px;line-height:1.45;margin:0 0 4px;word-wrap:break-word}
#chapter-status,#commentary-status{margin:3px 0;line-height:1.5}
.pane-heading .notice{margin:6px 0;padding:6px 8px;line-height:1.6}
.commentary-tools{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:end;align-items:flex-end;margin-top:6px}
.commentary-tools .control{margin:0 8px 4px 0;min-width:0}
.commentary-tools .series-control{-ms-flex:1 1 230px;flex:1 1 230px}
.commentary-tools .control label{font-size:14px;line-height:1.4;margin-bottom:2px}
.commentary-tools #series{width:100%;max-width:100%}
.commentary-tools #verse{max-width:110px}
.commentary-tools button{margin-top:0;margin-bottom:4px}
.version-controls{padding:6px 8px;margin:6px 0;line-height:1.6}
#version-options{display:inline-block;vertical-align:middle}
.version-controls label{margin:2px 12px 2px 0;font-size:15px}
.version-controls button{font-size:15px;min-height:30px;padding:2px 8px;margin:2px 4px 2px 0}
#version-empty{margin:4px 0;line-height:1.5}
.reading-content{-ms-flex:1 1 0px;flex:1 1 0%;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;padding:5px 7px 5px 0;border-top:1px solid #d2ddd2;word-wrap:break-word}
.reading-content:focus{outline:2px solid #387bc2;outline-offset:-2px}
#verses .verse{padding:5px 0;line-height:1.8}
#commentary .commentary:first-child{border-top:0;margin-top:0;padding-top:5px}
.commentary table{table-layout:fixed;max-width:100%}
.commentary td,.commentary th{word-wrap:break-word}
@media(max-width:900px){
 body{height:auto;overflow:auto}
 .page{height:auto;min-height:100vh;padding:8px;display:block}
 .top-line h1{margin-right:16px}.top-line .nav{margin-right:0}
 #connection{width:100%;margin-top:3px}
 .reader-bar,#reading-form{display:block}
 .reader-toolbar .control{display:inline-block;margin:3px 8px 5px 0}
 .reader-toolbar #translation{width:100%;max-width:460px}
 .reader-toolbar .control:last-of-type{display:block}
 .reader-toolbar #reading-form>button{margin-bottom:4px}
 .chapter-navigation{margin-top:3px}
 .reading-layout{display:block}
 .reading-pane{display:block;margin:0 0 10px;overflow:hidden}
 .reading-content{height:54vh;min-height:220px;max-height:560px;overflow-y:auto;overflow-x:hidden}
 .commentary-tools{display:block}
 .commentary-tools .control{display:inline-block;vertical-align:bottom}
 .commentary-tools .series-control{display:block;margin-right:0}
 .commentary-tools #series{width:100%;max-width:100%}
 .pane-heading h2{font-size:20px}
}
}

/* Literal translation notes: compact markers and one independent dialog. */
.verse .footnote-number{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;margin:0 .08em;padding:0;border:0;border-radius:3px;background:transparent;color:#6d756f;font-family:inherit;font-weight:normal;font-size:inherit;line-height:1;vertical-align:text-top;cursor:pointer;opacity:.75;box-shadow:none;user-select:none;-webkit-tap-highlight-color:transparent}.verse .footnote-number svg{display:block;pointer-events:none}.verse .footnote-number:hover,.verse .footnote-number:focus{opacity:1;color:var(--brand,#425b4b)}
.footnote-number:focus,.footnote-close:focus{outline:2px solid #537446;outline-offset:2px}
.footnote-retry{margin-left:8px;padding:3px 8px}
.footnote-layer{position:fixed;inset:0;top:0;right:0;bottom:0;left:0;z-index:9999;background:rgba(0,0,0,.28);overflow:auto;padding:12vh 12px 24px}
.footnote-layer[hidden]{display:none}
.footnote-dialog{box-sizing:border-box;max-width:620px;margin:0 auto;background:#fffdf8;color:#20251e;border:1px solid #c3cdbb;border-radius:10px;box-shadow:0 12px 40px rgba(0,0,0,.25);padding:16px}
.footnote-heading{display:block;overflow:auto;border-bottom:1px solid #e4e8df;margin-bottom:10px;padding-bottom:8px}
.footnote-heading h2{font-size:17px;line-height:1.5;margin:0;padding-right:40px}
.footnote-close{float:right;cursor:pointer;border:1px solid #b8c3b0;border-radius:5px;padding:3px 10px;background:#f2f5ed;color:inherit;font-size:18px}
.footnote-anchor{font-weight:600;color:#3c5731;margin:8px 0}
.footnote-body{white-space:pre-wrap;overflow-wrap:break-word;word-wrap:break-word;line-height:1.85;max-height:58vh;overflow-y:auto}
.footnote-source-wording{white-space:pre-wrap;font-size:13px;color:#65715f;border-top:1px solid #e4e8df;padding-top:8px}

/* Independent 1-9 approach choice; filtered bodies are removed from the DOM. */
.layer-controls{min-width:0;margin:6px 0;padding:4px 8px 6px;border:1px solid #91ad97;border-radius:6px;background:#f1f7f1;line-height:1.5}
.layer-controls legend{font-size:14px;font-weight:600;color:#355c3b;padding:0 4px}
.layer-controls label{display:inline-block;white-space:nowrap;font-size:14px;margin:2px 12px 2px 0}
.layer-controls input{vertical-align:middle;margin:0 5px 0 0;padding:0}
.layer-controls button{font-size:14px;min-height:29px;padding:2px 8px;margin:3px 4px 0 0}
#layer-empty,#layer-note{font-size:13px;line-height:1.5;margin:3px 0;color:#596e59}
.commentary-entry+.commentary-entry{margin-top:12px}

/* Compact reading workspace: presentation only; reader/event structure is unchanged. */
body{background:#edf0f4;color:#253143;font:15px/1.65 "Segoe UI","Microsoft YaHei",sans-serif}
.page{max-width:1600px;padding:8px}
.box{border-color:#d5dce5;border-radius:7px;box-shadow:0 1px 3px rgba(20,34,53,.035)}
.page-header{background:#17283f;color:#f3f5f9;border-color:#17283f;padding:8px 12px}
.top-line h1{font-size:17px;font-weight:700;letter-spacing:.025em;margin-right:20px}
.page-header a{color:#dfca91;text-decoration:none;font-size:12px}.page-header a:hover{text-decoration:underline}
.page-header .small{color:#b7c5d8;font-size:11px}.scope-note{font-size:11px;line-height:1.45}
.reader-toolbar{padding:6px 10px}.control label,.reader-toolbar .control label,.commentary-tools .control label{font-size:11px;color:#667386;font-weight:600}
select,input,button{font-size:13px;padding:5px 8px;border-color:#bdc8d5;border-radius:5px}
button{min-height:30px;margin:2px 6px 2px 0;background:#263f5d;border-color:#263f5d;font-size:12px;font-weight:600}
button.secondary{background:#f4f6f9;color:#344d6a;border-color:#c8d1dc}button:disabled{background:#eef1f5;color:#98a3af;border-color:#d9dfe7}
.reader-toolbar #chapter{width:58px}.reader-toolbar #translation{width:320px}#book{min-width:118px}
.pane-heading h2{font-size:16px;margin-bottom:3px;line-height:1.45}.pane-heading #read-scripture-aloud,.pane-heading #read-commentary-aloud{float:right;margin-top:-27px}
.pane-heading #chapter-status,.pane-heading #commentary-status{font-size:11px;color:#798698;margin:2px 0}
.pane-heading .notice{font-size:11px;padding:4px 7px;margin:4px 0;background:#fbf7eb;border-color:#c5a765}
.pane-heading .commentary-tools{margin-top:7px}.commentary-tools .control{margin-bottom:3px}.commentary-tools .series-control{flex-basis:210px}
.reading-content{border-color:#e2e7ee;padding-top:5px;scrollbar-width:thin;scrollbar-color:#b8c2d0 transparent;overscroll-behavior:contain}
#verses .verse{font-size:17px;line-height:1.85;padding:4px 1px}.verse.selected{background:#f4eedc;border-radius:4px}.number{color:#6a7c92;font-size:12px}
#commentary{font-size:15px;line-height:1.8}.commentary h3{font-size:16px}.commentary p{margin:6px 0}
.layer-controls{padding:5px 7px;margin:5px 0;background:#f4f7f6;border-color:#cbd9d1}.layer-controls legend{font-size:11px}.layer-controls label{font-size:11px;line-height:1.5;margin-right:8px}.layer-controls button{font-size:11px;min-height:25px;padding:2px 7px}
.version-controls{padding:5px 7px;margin:5px 0;background:#faf4e5;border-color:#dcc58e}.version-controls label{font-size:12px;margin-right:10px}.version-controls button{font-size:11px;min-height:25px}
#layer-empty,#version-empty,#layer-note{font-size:11px;line-height:1.4}#reading-console-status:empty{display:none}
@media(min-width:901px){.page{padding:8px}.box{padding:9px 11px;margin-bottom:8px}.page-header{padding:7px 11px}.reading-pane{margin-bottom:0}.scripture-pane{margin-right:8px}}
@media(max-width:900px){.top-line h1{font-size:17px}.reader-toolbar #translation{width:100%;max-width:440px}.reading-content{min-height:230px}.scope-note{font-size:11px}.pane-heading h2{padding-right:95px}.pane-heading #read-scripture-aloud,.pane-heading #read-commentary-aloud{margin-top:-26px}}

/* Keep long translation headings clear of the fixed reading action. */
.pane-heading{position:relative}.pane-heading h2{padding-right:100px}.pane-heading #read-scripture-aloud,.pane-heading #read-commentary-aloud{position:absolute;top:0;right:0;float:none;margin:0}

/* Compact controls share the existing palette and keep actions in normal flow. */
.page-header{background:var(--panel,#fff);color:var(--ink,#253143);border-color:var(--line,#c4cdda)}
.page-header .small{color:var(--sub,#536174)}
.page-header a{color:var(--brand,#1d4f91)}
.top-line{gap:4px 14px}.top-line h1{margin-right:0}.page-header .nav{margin:0}.page-header .nav a{margin-right:12px}
.reader-toolbar .reader-bar{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
#reading-form{display:flex;flex-wrap:wrap;align-items:flex-end;flex:1 1 540px;gap:5px 8px;margin:0}
.reader-toolbar #reading-form .control{display:block;min-width:0;margin:0}
#reading-form .control:last-of-type{flex:1 1 220px;max-width:450px}
.reader-toolbar #translation{width:100%;max-width:100%}
.reader-toolbar #chapter{width:58px}.reader-toolbar #book{min-width:112px}
.reader-toolbar select,.reader-toolbar input{min-height:32px;height:32px;padding:4px 7px}
.reader-toolbar button{min-height:32px;margin:0;padding:4px 9px}
.chapter-navigation{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:0;white-space:normal}
.reader-feedback #error,.reader-feedback #reading-console-status{margin:4px 0 0;line-height:1.45;font-size:12px}
.reader-feedback #reading-console-status:empty{display:none}
.reader-bar #main-study-entry{flex:0 1 auto;max-width:100%}
.pane-titlebar{display:flex;align-items:flex-start;justify-content:space-between;gap:6px 10px;min-width:0}
.pane-titlebar h2{flex:1;min-width:0;overflow-wrap:anywhere;padding:0;margin:0;font-size:16px}
.pane-heading .pane-titlebar #read-scripture-aloud,.pane-heading .pane-titlebar #read-commentary-aloud{position:static;float:none;margin:0;flex:0 0 auto;min-height:32px;font-size:12px;padding:4px 8px}
.commentary-tools{display:flex;flex-wrap:wrap;align-items:flex-end;gap:5px 7px;margin-top:6px}
.commentary-tools .control{display:block;margin:0;min-width:0}
.commentary-tools .series-control{flex:1 1 190px}
.commentary-tools #verse{width:85px;max-width:100%}
.commentary-tools :is(select,button){min-height:32px;height:32px;padding:4px 7px}
.commentary-tools button{margin:0}
.version-controls{font-weight:normal}
.selection-heading{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px}
.selection-heading strong{font-size:13px;color:var(--brand,#1d4f91)}
.selection-summary{font-size:12px;font-weight:600;white-space:nowrap;color:var(--sub,#536174)}
.selection-actions{display:flex;gap:5px;flex-wrap:wrap}
.selection-heading .selection-actions{margin-left:auto}
#version-options{display:flex;flex-wrap:wrap;gap:4px 10px;margin-top:4px}
#version-options label{display:inline-flex;align-items:center;max-width:100%;gap:5px;margin:0;line-height:1.45;white-space:normal;font-size:13px;min-height:30px;overflow-wrap:anywhere}
#version-options input{flex:0 0 auto;margin:0;width:16px;height:16px}
#version-controls .selection-actions button,#layer-controls .selection-actions button{min-height:30px;padding:3px 8px;margin:0;font-size:12px}
#layer-controls{padding:0 7px 4px;margin:6px 0 3px;border-color:var(--line,#c4cdda)}
#layer-controls legend{padding:0;width:100%;max-width:100%;font-size:13px}
#layer-toggle{display:flex;align-items:center;gap:8px;width:100%;max-width:100%;min-height:32px;height:auto;border:0;margin:0;padding:4px 2px;text-align:left;font-size:13px;background:transparent;color:var(--ink,#253143)}
#layer-toggle strong{font-size:13px;color:var(--brand,#1d4f91);white-space:nowrap}
#layer-toggle-label{margin-left:auto;font-size:12px;color:var(--brand,#1d4f91)}
#layer-options{display:flex;flex-wrap:wrap;gap:4px 6px;padding:3px 0 6px}
#layer-options label{display:inline-flex;align-items:center;gap:5px;min-height:32px;margin:0;padding:2px 6px;border:1px solid var(--line,#c4cdda);border-radius:5px;background:var(--panel,#fff);color:var(--ink,#253143);font-size:12px;white-space:normal;max-width:100%;cursor:pointer}
#layer-options input{flex:0 0 auto;width:16px;height:16px;margin:0}
#layer-options label:has(input:checked){border-color:var(--brand,#1d4f91);background:var(--sel,#dce8f8)}
#layer-options label:focus-within{outline:2px solid var(--brand,#1d4f91);outline-offset:1px}
#verses .verse{display:flex;align-items:baseline;gap:4px}
#verses .number{flex:0 0 26px;min-width:26px;min-height:24px;text-align:center;margin:0}
#verses .scripture-text{flex:1;min-width:0;unicode-bidi:plaintext;text-align:start;overflow-wrap:anywhere}
#verses .footnote-number{flex:0 0 24px;align-self:flex-start;margin-top:4px}
html[data-theme] body .page-header .small,html[data-theme] body .selection-summary{color:var(--sub)}
html[data-theme] body .control label,html[data-theme] body .pane-heading #chapter-status,html[data-theme] body .pane-heading #commentary-status,html[data-theme] body :is(#layer-note,#layer-empty,#version-empty){color:var(--sub)}
html[data-theme] body #layer-toggle{background:transparent;color:var(--ink)}
html[data-theme] body #layer-options label{background:var(--panel);color:var(--ink);border-color:var(--line)}
html[data-theme] body #layer-options label:has(input:checked){background:var(--sel);border-color:var(--brand)}
@media(min-width:901px) and (max-height:700px){
 body{height:auto;overflow:auto}.page{height:auto;min-height:100vh}
 .reading-layout{height:480px;flex:0 0 480px}.reading-content{min-height:210px}
}
@media(max-width:900px){
 .reader-toolbar .reader-bar{display:flex}#reading-form{flex-basis:100%}.reader-toolbar #reading-form .control:last-of-type{display:block}
 .chapter-navigation{margin:0}.commentary-tools{display:flex}.commentary-tools .series-control{display:block;flex-basis:100%;margin:0}
 .pane-heading .pane-titlebar h2{padding-right:0}.reading-pane{padding:10px}
}
@media(max-width:420px){
 .page{padding:6px}.box{padding:9px;margin-bottom:7px}.top-line h1{font-size:16px}.page-header .nav a{font-size:12px;margin-right:10px}
 #reading-form .control:last-of-type{max-width:none;flex-basis:calc(100% - 62px)}
 .pane-titlebar{gap:5px}.pane-titlebar h2{font-size:15px}.pane-heading .pane-titlebar #read-scripture-aloud,.pane-heading .pane-titlebar #read-commentary-aloud{padding:4px 6px;font-size:12px;min-height:34px}
 #layer-options label{min-height:36px}#layer-toggle{min-height:36px}#layer-toggle strong{font-size:12px}#layer-toggle .selection-summary{font-size:11px}
 #version-controls .selection-actions button,#layer-controls .selection-actions button{min-height:34px}
 .reading-content{padding-right:2px}#verses .verse{font-size:17px}
}

/* Main's local, licensed font pack: scripture and commentary remain separate. */
.bible-display-controls{max-height:48vh;overflow-y:auto;overscroll-behavior:contain;display:flex;align-items:flex-start;flex-wrap:wrap;gap:7px 10px;border-top:1px solid var(--line,#c4cdda);padding:8px 0 3px;margin-top:6px}
.bible-display-controls fieldset{display:flex;align-items:flex-end;flex-wrap:wrap;gap:6px 8px;flex:1 1 390px;min-width:0;padding:5px 8px 8px;margin:0;border:1px solid var(--line,#c4cdda);border-radius:6px}
.bible-display-controls legend{font-size:12px;font-weight:600;color:var(--sub,#536174);padding:0 4px}
.bible-display-controls label{display:flex;flex-direction:column;gap:3px;font-size:11px;min-width:0;color:var(--sub,#536174)}
.bible-display-controls .font-choice{flex:1 1 180px}
.bible-display-controls select{width:100%;max-width:100%}
.bible-display-controls input{width:65px;max-width:100%}
.reader-toolbar #bible-display-reset{font-size:12px;align-self:flex-end}
#verses{font-family:var(--ldt-bible-language-font,var(--ldt-bible-scripture-font,inherit))}
#verses .verse{font-size:var(--ldt-bible-scripture-size,var(--ldt-reading-size,17px));line-height:var(--ldt-bible-scripture-line,var(--ldt-reading-line,1.85))}
#commentary{font-family:var(--ldt-bible-language-font,var(--ldt-bible-commentary-font,inherit))}
html[data-theme] body #commentary{font-size:var(--ldt-bible-commentary-size,var(--ldt-reading-size,17px));line-height:var(--ldt-bible-commentary-line,var(--ldt-reading-line,1.85))}
@media(max-width:420px){
 .bible-display-controls{gap:7px}.bible-display-controls fieldset{flex-basis:100%}.bible-display-controls .font-choice{flex-basis:100%}
}

/* One action row follows the selected verse; scripture remains uncluttered. */
.scripture-actions{display:flex;align-items:center;flex-wrap:wrap;gap:5px 9px;margin:5px 0}
.scripture-actions .selection-summary{flex:1;min-width:100px;overflow-wrap:anywhere;white-space:normal}
.verse-action-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:5px}
.scripture-actions button{min-height:32px;padding:4px 8px;margin:0;font-size:12px}
#original-entry-host{display:inline-flex}
#scripture-action-status{font-size:12px;line-height:1.5;margin:3px 0;color:var(--sub,#536174)}
#scripture-action-status:empty{display:none}
#verses .verse.selected{background:var(--sel,#dce8f8);border-radius:4px;box-shadow:inset 3px 0 var(--brand,#1d4f91)}
html[data-theme] body #scripture-action-status{color:var(--sub)}
@media(max-width:420px){.scripture-actions{gap:5px}.scripture-actions button{min-height:34px;padding:4px 7px}.verse-action-buttons{gap:4px}}

/* Optional source typography never changes Scripture or other translations. */
#verses .supplied-word-single{text-decoration-line:underline;text-decoration-style:solid;text-underline-offset:3px}
#verses .supplied-word-double{text-decoration-line:underline;text-decoration-style:double;text-underline-offset:3px}
#verses .bible-translation-title{font-weight:600;margin:12px 0 3px;color:var(--text,inherit)}
#verses .bible-superscription{font-size:.94em;margin:5px 0 9px;color:var(--sub,inherit);white-space:pre-line}
#verses .scripture-text .footnote-number,.bible-appendix-text .footnote-number{display:inline-flex;align-items:center;justify-content:center;vertical-align:super;min-width:18px;width:18px;height:22px;margin:0 2px;padding:2px}
.bible-appendix{margin-top:12px;border-top:1px solid var(--line,#d3d9df);padding-top:8px}
.bible-appendix summary{cursor:pointer;font-size:14px;color:var(--brand,#1d4f91)}
.bible-appendix select{max-width:100%;width:100%;margin:5px 0;font:inherit}
.bible-appendix-text{white-space:pre-wrap;overflow-wrap:anywhere;font-family:var(--ldt-bible-scripture-font,inherit);line-height:1.85;margin-top:6px}
.bible-appendix [role=status] button{margin-left:6px}
.bible-appendix-navigation{display:flex;gap:6px;justify-content:flex-end}.bible-appendix-navigation[hidden]{display:none}

/* Imported databases use the same safe markup renderer as import checks. */
.reading-content .import-marker{font-size:.7em;vertical-align:super;line-height:1.2;opacity:.7;padding:0 .15em}.reading-content .import-title{display:block;font-weight:700;margin:.5em 0 .2em}.reading-content .import-quote{display:block;padding-inline:1em;font-style:italic}.reading-content .import-spoken{font-weight:600}.reading-content .import-block{display:block}.reading-content .import-list-item{display:block;padding-inline-start:1em}.reading-content .import-list-item::before{content:"• ";speak:none}.reading-content .import-note{font-size:.9em;opacity:.85}

/* Bible is full width by default; commentary is an optional independent page. */
.chapter-navigation{display:flex;align-items:center;gap:6px;flex-wrap:wrap;white-space:normal}.chapter-navigation a.secondary{box-sizing:border-box;display:inline-flex;align-items:center;min-height:36px;padding:5px 9px;border:1px solid #6d8a77;border-radius:4px;background:#f4f8f4;color:#225638;text-decoration:none;font:inherit;line-height:1.4}.chapter-navigation button{min-height:36px;padding:5px 9px;margin:0}.reader-toolbar #reading-form{flex:1 1 520px}.reader-toolbar .control{margin-right:8px}.reader-toolbar #translation{width:300px}.scripture-pane{margin-right:0}.reading-pane{flex-grow:1;flex-shrink:1}.bible-pane-splitter{flex:0 0 12px;align-self:stretch;cursor:col-resize;touch-action:none;position:relative}.bible-pane-splitter::after{content:"";position:absolute;width:3px;top:0;bottom:0;left:5px;background:#b9cbc0;border-radius:3px}.bible-pane-splitter:hover::after,.bible-pane-splitter:focus::after{background:#35674c}.bible-pane-splitter:focus{outline:2px solid #387bc2;outline-offset:-2px}.pane-titlebar{flex-wrap:wrap}.pane-titlebar h2{flex:1}.pane-titlebar button{min-height:34px;padding:4px 9px;margin:0}.bible-toolbar-collapsed #reading-form .control:last-of-type,.bible-toolbar-collapsed .advanced-bible-tool,.bible-toolbar-collapsed #main-study-entry,.bible-toolbar-collapsed #bible-display-toggle,.bible-toolbar-collapsed #bible-display-controls{display:none!important}.bible-toolbar-collapsed .page-header .nav,.bible-toolbar-collapsed .page-header #connection{display:none}.bible-reading-controls-collapsed #scripture-actions,.bible-reading-controls-collapsed #bible-parallel-panel{display:none!important}.bible-toolbar-collapsed .reader-feedback:has(#error:empty){margin:0}.commentary-only .page-header,.commentary-only .scripture-pane,.commentary-only #main-study-entry,.commentary-only .advanced-bible-tool,.commentary-only #bible-display-toggle,.commentary-only #reading-form .control:last-of-type,.commentary-only #previous,.commentary-only #next{display:none!important}.commentary-only .commentary-pane{flex-basis:100%!important}.commentary-only .reader-toolbar{padding:5px 10px}.commentary-only .page{height:100vh;display:flex;flex-direction:column}.commentary-only .reading-layout{display:flex;flex:1;min-height:0}.commentary-only .reading-pane{display:flex;flex-direction:column;min-height:0}.commentary-only #commentary{height:auto;max-height:none;flex:1;min-height:0;overflow:auto}
@media(min-width:901px){.reading-layout:not(:has(.commentary-pane:not([hidden]))) .scripture-pane{flex-basis:100%!important}.reading-content{font-size:var(--bible-scripture-size,18px)}}
@media(max-width:900px){.bible-pane-splitter{display:none!important}.reading-layout{display:block}.reading-pane{width:100%;flex-basis:auto!important}.reader-toolbar #reading-form{display:flex;align-items:end;flex-wrap:wrap}.reader-toolbar .control{display:inline-block}.reader-toolbar #reading-form .control:last-of-type{flex:1 1 100%}.reader-toolbar #book{min-width:110px}.chapter-navigation{gap:5px;margin-top:5px}.chapter-navigation button,.chapter-navigation a.secondary{font-size:14px}.scripture-pane .reading-content{height:65vh;min-height:260px;max-height:none}.inline-commentary .scripture-pane .reading-content{height:52vh}.commentary-only .reading-layout{display:flex}.commentary-only .reading-pane{display:flex}.commentary-only #commentary{height:auto;min-height:0}.commentary-only #reading-form{display:flex}.commentary-only .reader-bar{display:flex;align-items:end;gap:4px}.commentary-only #reading-form{flex:1}.commentary-only .chapter-navigation{margin:0}.commentary-only #bible-toolbar-toggle{display:none}}
.bible-toolbar-collapsed .ldt-tool-strip,.commentary-only .ldt-tool-strip{display:none!important}#bible-appendix-slot{flex:0 0 0;min-height:0}.bible-appendix-layer{position:fixed;inset:0;z-index:8000;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(0,0,0,.25)}.bible-appendix-drawer{box-sizing:border-box;width:min(760px,100%);max-height:86vh;overflow:auto;border:1px solid #8ba393;border-radius:9px;background:#fffdf8;color:#203327;box-shadow:0 12px 40px rgba(0,0,0,.2);padding:14px 18px}.bible-appendix-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.bible-appendix-heading h2{font-size:19px;margin:0}.bible-appendix-drawer .bible-appendix{margin:0;padding:0;border:0;box-shadow:none}.bible-appendix-drawer .bible-appendix>summary{display:none}.bible-appendix-drawer .bible-appendix-text{max-height:none;white-space:pre-wrap;overflow-wrap:anywhere}.bible-appendix-drawer select{width:100%}.bible-appendix-drawer .bible-appendix-navigation{display:flex;gap:8px;justify-content:end}@media(max-width:600px){.bible-appendix-layer{padding:12px}.bible-appendix-drawer{padding:12px;max-height:90vh}.bible-appendix-heading button{font-size:14px;min-height:36px;padding:4px 9px}}

/* Compact mobile navigation: reading starts immediately below essential controls. */
@media(max-width:600px){
 body:not(.commentary-only).bible-toolbar-collapsed .reader-toolbar #reading-form{display:grid;grid-template-columns:minmax(110px,1fr) 58px auto;align-items:end;gap:5px;flex-basis:100%}
 body:not(.commentary-only).bible-toolbar-collapsed #reading-form>.control:first-child{grid-column:1;min-width:0}
 body:not(.commentary-only).bible-toolbar-collapsed #reading-form>.control:nth-child(2){grid-column:2;min-width:0}
 body:not(.commentary-only).bible-toolbar-collapsed #reading-form>#read{grid-column:3;grid-row:1;align-self:end;margin:0;min-height:34px}
 body:not(.commentary-only) .chapter-navigation{justify-content:start;gap:4px}
 body:not(.commentary-only) .chapter-navigation button,body:not(.commentary-only) .chapter-navigation a.secondary{min-height:32px;padding:4px 6px;font-size:12px;margin:0}
 .scripture-pane .pane-titlebar{display:flex;align-items:center;gap:4px;flex-wrap:nowrap}
 .scripture-pane #chapter-title{flex:1;min-width:60px;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.6}
 .scripture-pane .pane-titlebar>button{flex:0 0 auto;min-height:32px!important;padding:4px 6px!important;font-size:12px!important}
 .scripture-pane #chapter-status{display:none}.scripture-pane #footnotes-notice{margin:2px 0;padding:3px 5px;font-size:11px;line-height:1.5}
 .reading-pane{padding:7px}.reader-toolbar{padding:6px}.pane-heading{padding-bottom:3px}
}

/* Projection is a primary Bible action, including the compact toolbar. */
.bible-toolbar-collapsed:not(.commentary-only) .ldt-tool-strip{display:inline-flex!important}
