/* Adapted from the pinned Ask Spirit Scripture Sanctuary reader; no host-global styles. */
.ss-dialog{--ss-frame:#241b14;display:flex!important;flex-direction:column!important;gap:0!important;width:calc(100vw - 40px)!important;max-width:1190px!important;height:min(900px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);padding:0!important;overflow:hidden;border:1px solid #a68555!important;border-radius:18px!important;background:var(--ss-frame)!important;box-shadow:0 30px 100px #0009!important;color:#f4e9d6}
.ss-dialog.is-expanded{width:calc(100vw - 12px)!important;max-width:none!important;height:calc(100dvh - 12px);max-height:calc(100dvh - 12px);border-radius:10px!important}
.ss-window-heading{position:relative;flex-shrink:0;padding:20px 75px 18px 27px;background:radial-gradient(ellipse at 15% 0,#8d642e38,transparent 70%),linear-gradient(110deg,#291e15,#17130f);border-bottom:1px solid #82633a}
.ss-window-heading h2{font:400 29px/1.2 Georgia,serif;letter-spacing:-.6px;margin:5px 0;color:#fff1d8}.ss-window-heading p{font:12px/1.5 Arial,sans-serif;color:#d3c0a3;margin:0}.ss-eyebrow{font:700 9px/1.4 Arial,sans-serif;letter-spacing:1.8px;color:#96723c}.ss-window-heading .ss-eyebrow{color:#ddba7d}
.ss-icon-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:7px;padding:7px;background:transparent;color:inherit;cursor:pointer;flex-shrink:0}.ss-icon-button:hover{background:#b88c4320}.ss-icon-button:focus-visible,.ss-reader :is(button,input,select,textarea,summary,a):focus-visible{outline:2px solid #be8333;outline-offset:3px}.ss-expand{position:absolute;right:46px;top:13px;color:#ecd6af}.ss-dialog>button:last-child{color:#f8e7c8;right:17px;top:22px}.ss-portal-trigger{border:1px solid #cba36380!important;background:linear-gradient(160deg,#70512285,#352314)!important;color:#ffe8ba!important;box-shadow:inset 0 0 0 1px #ffe1a814}.ss-portal-trigger:hover{background:#79542d!important}
.ss-reader{--ss-bg:#f8f1e3;--ss-surface:#fffaf0;--ss-ink:#342a20;--ss-muted:#77674f;--ss-border:#d9cdb7;--ss-soft:#eee3ce;--ss-accent:#79531d;--ss-accent-ink:#fff7e7;--ss-mark:#f3d875;--ss-gold:#f4dc8b80;--ss-blue:#8ac1e760;--ss-rose:#e8a6ad66;display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;background:var(--ss-bg);color:var(--ss-ink);font:13px/1.5 Arial,sans-serif;color-scheme:light}
.ss-reader.ss-theme-paper{--ss-bg:#fff;--ss-surface:#f9fafb;--ss-ink:#25313b;--ss-muted:#62707b;--ss-border:#dce0e3;--ss-soft:#eff2f4;--ss-accent:#335c76;--ss-accent-ink:#fff}
.ss-reader.ss-theme-night{--ss-bg:#172029;--ss-surface:#1d2933;--ss-ink:#e4e4dc;--ss-muted:#b1b8bb;--ss-border:#3e4b53;--ss-soft:#2a3740;--ss-accent:#e3bc78;--ss-accent-ink:#241c10;--ss-mark:#765b26;--ss-gold:#80652699;--ss-blue:#315d7a99;--ss-rose:#7b424b99;color-scheme:dark}
.ss-reader button,.ss-reader select,.ss-reader textarea,.ss-reader input{font-family:inherit}.ss-reader button{cursor:pointer}.ss-reader button:disabled{opacity:.45;cursor:not-allowed}.ss-reader button,.ss-reader select,.ss-reader input,.ss-reader textarea{color:inherit}.ss-reader h3{font:400 23px/1.25 Georgia,serif;margin:0 0 8px}.ss-reader p{margin:0 0 12px}.ss-reader .ss-eyebrow{color:var(--ss-muted)}
.ss-search-form{display:flex;gap:10px;padding:15px 22px;border-bottom:1px solid var(--ss-border);background:var(--ss-surface);flex-shrink:0}.ss-search-input{display:flex;gap:10px;align-items:center;flex:1;min-width:0;border:1px solid var(--ss-border);background:var(--ss-bg);border-radius:10px;padding:0 13px;color:var(--ss-muted)}.ss-search-input input{width:100%;min-width:0;font:14px Arial,sans-serif;border:none;outline:none;padding:13px 0;background:transparent;color:var(--ss-ink)}.ss-search-input:focus-within{box-shadow:0 0 0 2px #bd8e4c40;border-color:var(--ss-accent)}.ss-search-input input:focus-visible{outline:none}.ss-search-input input::placeholder{color:var(--ss-muted)}.ss-primary{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:9px;padding:10px 16px;border:1px solid var(--ss-accent);background:var(--ss-accent);color:var(--ss-accent-ink)!important;font-weight:600}.ss-subtle{font-size:12px;line-height:1.65;color:var(--ss-muted)}.ss-tiny{font-size:10px}.ss-small-button{border:1px solid var(--ss-border);border-radius:6px;background:var(--ss-soft);padding:6px 9px;font-size:11px}
.ss-workspace{display:flex;flex:1;min-height:0;overflow:hidden}.ss-sidebar{width:292px;flex-shrink:0;border-right:1px solid var(--ss-border);display:flex;flex-direction:column;min-height:0;background:var(--ss-surface)}.ss-tabs{display:flex;padding:12px 13px 0;gap:3px;border-bottom:1px solid var(--ss-border);flex-shrink:0}.ss-tabs button{flex:1;padding:8px 5px 12px;font-size:11px;font-weight:600;background:none;border:none;border-bottom:2px solid transparent;color:var(--ss-muted)}.ss-tabs button[aria-pressed=true]{color:var(--ss-accent);border-color:var(--ss-accent)}.ss-tabs button span{display:inline-block;margin-left:4px;border-radius:10px;background:var(--ss-soft);padding:0 5px;font-size:9px}.ss-sidebar-scroll{overflow-y:auto;padding:24px 19px;min-height:0;overscroll-behavior:contain}.ss-sidebar-scroll>.ss-eyebrow{margin-bottom:6px}.ss-trail{border-bottom:1px solid var(--ss-border)}.ss-trail>button{display:flex;width:100%;align-items:center;gap:10px;text-align:left;padding:15px 0;background:none;border:none;font:400 17px/1.3 Georgia,serif}.ss-trail>button svg{margin-left:auto;flex-shrink:0;color:var(--ss-accent)}.ss-trail small{display:block;font:11px/1.55 Arial,sans-serif;margin-top:6px;color:var(--ss-muted)}.ss-trail.active>button{color:var(--ss-accent)}.ss-trail ol{padding:0 0 10px 18px;margin:0;list-style:decimal;color:var(--ss-muted)}.ss-trail li button{background:transparent;border:0;text-align:left;padding:5px 7px;font-size:12px}.ss-trail li button[aria-current=step]{background:var(--ss-soft);color:var(--ss-accent);border-radius:5px}
.ss-edition-card{background:var(--ss-soft);padding:20px 16px;border-radius:10px;margin-top:24px;font-size:11px;line-height:1.6}.ss-edition-card h4{font:400 19px/1.2 Georgia,serif;margin:9px 0}.ss-edition-card p{margin-bottom:12px}.ss-edition-card small{color:var(--ss-muted);font-size:10px}.ss-search-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:15px 0 22px}.ss-search-options label{font-size:10px;color:var(--ss-muted)}.ss-search-options label:last-of-type{grid-column:1/-1}.ss-search-options select,.ss-settings select{display:block;max-width:100%;width:100%;border:1px solid var(--ss-border);background:var(--ss-bg);border-radius:5px;padding:7px 5px;margin-top:4px;font-size:11px;color:var(--ss-ink)}.ss-search-options>button{grid-column:1/-1}.ss-results-count{font-size:11px}.ss-results{list-style:none;margin:0;padding:0}.ss-results li{border-bottom:1px solid var(--ss-border)}.ss-results li button{width:100%;padding:14px 0;text-align:left;border:none;background:transparent;font:14px/1.65 Georgia,serif}.ss-results strong{display:block;font:600 11px/1.5 Arial,sans-serif;color:var(--ss-accent);margin-bottom:6px}.ss-results strong span{display:flex;align-items:center;gap:3px;font-size:9px;font-weight:400;color:var(--ss-muted)}.ss-reader mark{background:var(--ss-mark);color:var(--ss-ink);border-radius:2px}.ss-pagination{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:10px;margin-top:18px}.ss-pagination button{background:var(--ss-soft);border:1px solid var(--ss-border);padding:5px 7px;border-radius:5px}
.ss-reading-pane{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;position:relative}.ss-chapter-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 23px 8px;flex-shrink:0}.ss-book-pickers{display:flex;gap:8px;min-width:0}.ss-book-pickers label{min-width:0}.ss-book-pickers select{border:1px solid var(--ss-border);background:var(--ss-bg);color:var(--ss-ink);padding:7px 8px;border-radius:6px;max-width:190px;width:100%;font-size:12px}.ss-reading-tools{display:flex;flex-shrink:0;gap:3px}.ss-reading-tools button[aria-pressed=true]{background:var(--ss-soft)}.ss-audio-bar{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:0 25px 11px;border-bottom:1px solid var(--ss-border);flex-shrink:0;color:var(--ss-muted)}.ss-edition-label{font-size:8px;letter-spacing:1.9px}.ss-audio-bar>div{display:flex;gap:9px}.ss-audio-bar button{display:flex;align-items:center;gap:5px;font-size:11px;background:none;border:none;padding:3px}.ss-chapter-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:32px clamp(20px,4vw,65px) 25px;scroll-padding:30px}.ss-chapter-title{text-align:center;margin:0 auto 28px;max-width:650px}.ss-chapter-title h3{font:400 39px/1.2 Georgia,serif;letter-spacing:-1px;margin:8px 0}.ss-chapter-title>span:last-child{font-size:10px;color:var(--ss-muted)}.ss-chapter-title>p{font:italic 15px/1.65 Georgia,serif;color:var(--ss-muted);white-space:pre-line}.ss-verses{max-width:690px;margin:auto;font:var(--ss-font-size,20px)/1.95 Georgia,'Times New Roman',serif}.ss-verses .ss-verse{position:relative;padding:8px 12px 8px 30px;margin:0 0 6px;border-radius:6px;border:1px solid transparent;transition:background-color .15s}.ss-verse-number{position:absolute;top:11px;left:7px;border:none;background:transparent;padding:1px 2px;color:var(--ss-accent)!important;font:11px/1.6 Arial,sans-serif;min-width:17px;text-align:center}.ss-verse:hover{background:var(--ss-soft)}.ss-verses .ss-verse.is-selected{border-color:var(--ss-accent);background:var(--ss-soft)}.ss-verses .ss-verse.is-speaking{box-shadow:inset 3px 0 var(--ss-accent)}.ss-kept-mark{position:absolute;right:-10px;top:14px;color:var(--ss-accent)}.ss-verses .highlight-gold{background:var(--ss-gold)}.ss-verses .highlight-blue{background:var(--ss-blue)}.ss-verses .highlight-rose{background:var(--ss-rose)}.ss-footnote-marker{font:10px/1 Arial,sans-serif;vertical-align:super;background:none;border:none;padding:1px 3px;color:var(--ss-accent)!important;text-decoration:underline}.ss-footnotes{max-width:670px;margin:25px auto 0;border-top:1px solid var(--ss-border);padding-top:15px;color:var(--ss-muted);font:12px/1.65 Arial,sans-serif}.ss-footnotes summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;margin-bottom:13px}.ss-footnotes p{padding:7px;border-radius:5px}.ss-footnotes p.active{background:var(--ss-soft);color:var(--ss-ink)}.ss-chapter-end{display:flex;justify-content:space-between;gap:10px;max-width:670px;margin:30px auto 18px}.ss-chapter-end button{display:flex;gap:6px;align-items:center;border:1px solid var(--ss-border);border-radius:7px;background:var(--ss-surface);padding:9px 10px;font-size:11px}.ss-publisher-note{text-align:center;font-size:10px;color:var(--ss-muted)}.ss-publisher-note button{border:none;background:none;text-decoration:underline;padding:0;color:var(--ss-accent)}.ss-loading{display:flex;align-items:center;justify-content:center;gap:10px;padding:40px;font-size:14px}.ss-error{margin:10px 20px;padding:12px 15px;border:1px solid #ab4c3b;border-radius:7px;font-size:12px;color:var(--ss-ink);background:var(--ss-soft)}.ss-error p{margin-bottom:5px}.ss-error button{border:none;background:none;text-decoration:underline;font-size:11px}
.ss-settings{display:flex;gap:14px;flex-wrap:wrap;padding:15px 23px;border-top:1px solid var(--ss-border);border-bottom:1px solid var(--ss-border);background:var(--ss-surface);font-size:11px;flex-shrink:0;max-height:240px;overflow:auto}.ss-settings label{display:block;max-width:180px}.ss-settings input[type=range]{display:block;width:130px;accent-color:var(--ss-accent);margin-top:10px}.ss-settings input[type=checkbox]{accent-color:var(--ss-accent)}.ss-settings .ss-checkbox{display:flex;align-items:center;gap:5px}.ss-settings details{width:100%;font-size:11px;color:var(--ss-muted)}.ss-settings details summary{cursor:pointer}.ss-settings details p{margin-top:10px;max-width:600px}.ss-settings details a{color:var(--ss-accent);text-decoration:underline}
.ss-verse-desk{flex-shrink:0;background:var(--ss-surface);border-top:1px solid var(--ss-border);padding:9px 20px 12px;max-height:41%;overflow-y:auto;overscroll-behavior:contain}.ss-verse-desk-heading{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--ss-accent)}.ss-verse-desk-heading button{padding:4px}.ss-verse-actions{display:flex;gap:5px 10px;align-items:center;flex-wrap:wrap;margin:4px 0 8px}.ss-verse-actions>button{display:flex;align-items:center;gap:5px;border:0;background:none;padding:4px 0;font-size:10px}.ss-verse-actions>button[aria-pressed=true]{color:var(--ss-accent);font-weight:700}.ss-highlights{display:flex;gap:4px;padding:0 5px}.ss-swatch{width:22px;height:22px;display:flex;align-items:center;justify-content:center;border:1px solid #594a3855;border-radius:50%;color:#3b3427!important;padding:3px}.ss-swatch[aria-pressed=true]{outline:1px solid var(--ss-accent);outline-offset:2px}.ss-swatch.gold,.ss-dot.gold{background:#f2d27b}.ss-swatch.blue,.ss-dot.blue{background:#9bc9e6}.ss-swatch.rose,.ss-dot.rose{background:#e5b4bd}.ss-word-trail{padding:9px 0 14px}.ss-word-trail p{font-size:11px;color:var(--ss-muted);margin-bottom:7px}.ss-word-trail button{display:inline-block;border:1px solid var(--ss-border);background:var(--ss-bg);border-radius:16px;padding:4px 9px;margin:3px;font-size:11px}.ss-personal-note>span{display:flex;justify-content:space-between;gap:10px;font-size:10px;font-weight:600;margin-bottom:4px}.ss-personal-note small{font-size:9px;color:var(--ss-muted);font-weight:400}.ss-personal-note textarea{display:block;resize:vertical;min-height:50px;max-height:100px;width:100%;background:var(--ss-bg);border:1px solid var(--ss-border);border-radius:6px;padding:8px 10px;font-size:12px;line-height:1.5}.ss-trail-progress{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 20px;border-top:1px solid var(--ss-border);font-size:10px;background:var(--ss-soft);flex-shrink:0}.ss-trail-progress button{display:flex;align-items:center;gap:5px;border:0;background:none;font-size:10px;color:var(--ss-accent)}.ss-window-status{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:9px 19px;border-top:1px solid var(--ss-border);font-size:10px;color:var(--ss-muted);background:var(--ss-surface);flex-shrink:0;min-height:34px}.ss-window-status button{border:0;background:none;padding:2px;flex-shrink:0}.ss-notebook-tools{display:flex;gap:10px;margin:18px 0 10px}.ss-notebook-tools button{display:flex;align-items:center;gap:5px;padding:6px 8px;border:1px solid var(--ss-border);border-radius:6px;background:var(--ss-bg);font-size:11px}.ss-empty{text-align:center;padding:35px 6px;color:var(--ss-muted)}.ss-empty>svg{margin:0 auto 15px}.ss-empty p{font:20px/1.4 Georgia,serif}.ss-empty small{font-size:11px}.ss-saved{list-style:none;padding:0;margin:16px 0}.ss-saved li{display:flex;align-items:flex-start;border-bottom:1px solid var(--ss-border);padding:10px 0;gap:6px}.ss-saved li>button:first-child{flex:1;min-width:0;text-align:left;border:0;background:none;padding:0}.ss-saved strong{display:flex;align-items:center;gap:5px;font-size:12px;color:var(--ss-accent)}.ss-saved span{display:block;font:12px/1.6 Arial,sans-serif;color:var(--ss-muted);margin-top:5px;overflow-wrap:anywhere;white-space:pre-line}.ss-dot{width:9px;height:9px;border-radius:50%;display:inline-block;margin-left:auto;flex-shrink:0}
.ss-reader.is-quiet .ss-sidebar,.ss-reader.is-quiet>.ss-search-form{display:none}.ss-reader.is-quiet .ss-chapter-scroll{padding-left:clamp(20px,8vw,100px);padding-right:clamp(20px,8vw,100px)}.ss-spin{animation:ss-spin 1s linear infinite}@keyframes ss-spin{to{transform:rotate(360deg)}}
@media(max-width:760px){.ss-dialog{width:calc(100vw - 14px)!important;height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:12px!important}.ss-window-heading{padding:14px 72px 14px 18px}.ss-window-heading h2{font-size:24px}.ss-window-heading p{font-size:10px}.ss-window-heading .ss-eyebrow{font-size:8px;letter-spacing:1.1px}.ss-search-form{padding:11px 13px;gap:7px}.ss-search-input{padding:0 9px;gap:7px}.ss-search-input input{font-size:12px;padding:12px 0}.ss-primary{padding:9px 11px}.ss-primary>span{display:none}.ss-workspace{display:block;overflow-y:auto;overscroll-behavior:contain}.ss-sidebar{width:100%;border-right:none;border-bottom:1px solid var(--ss-border)}.ss-sidebar-scroll{padding:14px 18px;max-height:240px}.ss-sidebar-scroll>.ss-eyebrow,.ss-sidebar-scroll>.ss-subtle{display:none}.ss-trail>button{padding:12px 0;font-size:16px}.ss-trail small{font-size:10px}.ss-edition-card{display:none}.ss-sidebar-scroll>h3{font-size:20px}.ss-tabs{padding-top:3px}.ss-tabs button{padding:9px 5px}.ss-reading-pane{display:flex;min-height:450px}.ss-book-pickers{flex:1}.ss-book-pickers select{font-size:11px;padding:7px 4px;max-width:160px}.ss-book-pickers label:first-child{flex:1}.ss-book-pickers label:last-child{max-width:105px}.ss-chapter-controls{padding:14px 13px 8px;gap:5px}.ss-reading-tools{gap:0}.ss-reading-tools .ss-icon-button{padding:6px}.ss-audio-bar{padding:0 15px 9px}.ss-chapter-scroll{overflow:visible;padding:26px 14px 18px;flex:none}.ss-chapter-title h3{font-size:33px}.ss-verses{font-size:var(--ss-font-size,20px);line-height:1.9}.ss-verses .ss-verse{padding-right:7px;padding-left:26px;margin-bottom:8px}.ss-verse-number{left:4px}.ss-kept-mark{right:-6px}.ss-verse-desk{position:sticky;bottom:0;z-index:2;max-height:310px;padding:9px 13px 11px;border-bottom:1px solid var(--ss-border);box-shadow:0 -8px 25px #0000000a}.ss-chapter-end button{font-size:10px;padding:8px}.ss-verse-actions{gap:4px 9px}.ss-window-status{font-size:9px;padding:7px 12px}.ss-settings{max-height:240px;padding:12px 14px;gap:12px}.ss-reader.is-quiet .ss-reading-pane{min-height:100%}.ss-reader.is-quiet .ss-chapter-scroll{padding-left:15px;padding-right:15px}.ss-trail-progress{padding:9px 13px}.ss-results li button{font-size:14px}.ss-search-options{margin:8px 0 14px}.ss-search-options label:last-of-type{grid-column:auto}.ss-search-options>button{grid-column:auto}.ss-results-count{margin-top:14px}.ss-loading{padding:35px 18px}.ss-notebook-tools{margin:10px 0}.ss-reader .ss-footnotes p{overflow-wrap:anywhere}}
@media(max-width:360px){.ss-window-heading h2{font-size:21px}.ss-window-heading p{font-size:9px}.ss-window-heading{padding-left:13px}.ss-chapter-controls{flex-wrap:wrap}.ss-book-pickers{max-width:calc(100% - 68px)}.ss-book-pickers select{font-size:10px}.ss-book-pickers label:last-child{max-width:89px}.ss-verse-actions{gap:4px 7px}.ss-verse-actions>button{font-size:9px}.ss-verse-desk{max-height:290px}}
@media(prefers-reduced-motion:reduce){.ss-spin{animation:none}.ss-verses .ss-verse{transition:none}}

@media(max-width:760px){.ss-sidebar-scroll{display:none}.ss-discovery-open .ss-sidebar-scroll{display:block}.ss-tabs button[aria-pressed=true]{background:var(--ss-soft);border-radius:5px 5px 0 0}}

@media(max-width:760px){.ss-chapter-controls{position:sticky;top:0;z-index:4;background:var(--ss-bg);box-shadow:0 1px 0 var(--ss-border)}.ss-audio-bar{position:sticky;top:51px;z-index:3;background:var(--ss-bg)}}
@media(max-width:760px){.ss-workspace{scroll-padding-top:84px;scroll-padding-bottom:160px}}
/* Native dialog and host-CSP adapters. */
.ss-dialog{box-sizing:border-box;margin:auto;inset:0;max-width:1190px!important;font-family:Arial,sans-serif;text-align:left}
.ss-dialog:not([open]){display:none!important}.ss-dialog::backdrop{background:#17120d99;backdrop-filter:blur(4px)}
.ss-dialog *,.ss-dialog *::before,.ss-dialog *::after{box-sizing:border-box}.ss-dialog [hidden]{display:none!important}
.ss-dialog .ss-window-heading{padding-right:110px}.ss-window-actions{position:absolute;right:15px;top:15px;display:flex;gap:4px}.ss-window-actions button{font-size:22px;min-width:34px;min-height:34px;color:#f8e7c8}
.ss-dialog :is(button,select,input,textarea){letter-spacing:normal;text-transform:none;max-width:100%}.ss-dialog :is(button,select,summary){touch-action:manipulation}
.ss-dialog .ss-icon-button:focus-visible{outline:2px solid #ddba7d;outline-offset:2px}.ss-sr-only{position:absolute!important;clip-path:inset(50%)!important;overflow:hidden!important;width:1px!important;height:1px!important;white-space:nowrap!important}
.ss-reader p{overflow-wrap:anywhere}.ss-sidebar-scroll,.ss-chapter-scroll{scrollbar-width:thin}.ss-sidebar-scroll button,.ss-trail-progress span{overflow-wrap:anywhere}
.ss-number-alt{display:none}.ss-hide-numbers .ss-number{display:none}.ss-hide-numbers .ss-number-alt{display:inline}
.ss-reader[data-size="17"]{--ss-font-size:17px}.ss-reader[data-size="18"]{--ss-font-size:18px}.ss-reader[data-size="19"]{--ss-font-size:19px}.ss-reader[data-size="20"]{--ss-font-size:20px}.ss-reader[data-size="21"]{--ss-font-size:21px}.ss-reader[data-size="22"]{--ss-font-size:22px}.ss-reader[data-size="23"]{--ss-font-size:23px}.ss-reader[data-size="24"]{--ss-font-size:24px}.ss-reader[data-size="25"]{--ss-font-size:25px}.ss-reader[data-size="26"]{--ss-font-size:26px}.ss-reader[data-size="27"]{--ss-font-size:27px}.ss-reader[data-size="28"]{--ss-font-size:28px}
.ss-audio-bar{flex-wrap:wrap;row-gap:4px}.ss-speech-status{flex-basis:100%;font-size:10px;line-height:1.4;min-width:0}.ss-audio-controls{margin-left:auto}
.ss-range{display:flex;gap:12px;flex-wrap:wrap;margin:4px 0 8px;font-size:10px}.ss-range select{border:1px solid var(--ss-border);border-radius:4px;background:var(--ss-bg);padding:3px;margin-left:3px}
.ss-load-error{padding:12px 20px;background:var(--ss-soft);border-bottom:1px solid var(--ss-border);flex-shrink:0}.ss-load-error button{border:0;background:transparent;text-decoration:underline}
.ss-kept-mark{font-size:11px}.ss-footnotes p{overflow-wrap:anywhere}.ss-verse-text{white-space:pre-line}.ss-search-input>span{font-size:24px}.ss-dialog .ss-primary>span{display:inline}
.ss-dialog .ss-verse-number{min-width:24px;min-height:28px;top:8px;left:2px}.ss-reader .ss-settings a{text-underline-offset:2px}.ss-chapter-title h3:focus{outline-offset:5px}
@media(max-width:760px){.ss-dialog .ss-window-heading{padding-right:96px}.ss-window-actions{right:8px;top:8px;gap:0}.ss-workspace{scroll-padding-top:110px}.ss-speech-status{font-size:9px}.ss-reading-tools button{font-size:10px}.ss-sidebar-scroll{max-height:280px}.ss-chapter-title h3{font-size:32px}.ss-dialog .ss-verse-desk{max-height:min(44dvh,340px)}.ss-dialog .ss-search-form{flex-shrink:0}.ss-dialog .ss-primary{min-width:62px;font-size:12px}.ss-dialog .ss-window-status{min-height:32px}.ss-settings label{min-width:0}.ss-settings details{overflow-wrap:anywhere}}
@media(max-width:360px){.ss-dialog .ss-window-heading h2{font-size:21px}.ss-dialog .ss-window-heading p{font-size:9px;max-width:190px}.ss-window-actions button{min-width:30px}.ss-dialog .ss-chapter-controls{flex-wrap:nowrap}.ss-dialog .ss-book-pickers{max-width:calc(100% - 80px)}.ss-reading-tools .ss-icon-button{padding:5px}.ss-range{gap:5px}.ss-personal-note>span{flex-wrap:wrap}.ss-verse-actions>button{min-height:28px}.ss-chapter-title h3{font-size:29px}}
@media print{.ss-dialog{position:static!important;width:100%!important;height:auto!important;max-height:none!important;border:0!important;box-shadow:none!important}.ss-dialog[open] .ss-reader,.ss-dialog[open] .ss-workspace,.ss-dialog[open] .ss-reading-pane,.ss-dialog[open] .ss-chapter-scroll{display:block!important;height:auto!important;max-height:none!important;overflow:visible!important}.ss-dialog[open] .ss-sidebar,.ss-dialog[open] .ss-search-form,.ss-dialog[open] .ss-verse-desk,.ss-dialog[open] .ss-window-actions,.ss-dialog[open] .ss-settings,.ss-dialog[open] .ss-audio-bar,.ss-dialog[open] .ss-chapter-controls{display:none!important}}

.ss-recovery{padding:12px;margin:12px 0;border:1px solid var(--ss-accent);border-radius:8px;background:var(--ss-soft);font-size:11px;line-height:1.6}.ss-recovery>strong{display:block;margin-bottom:7px}.ss-recovery button{display:block;width:100%;margin:7px 0 0;padding:8px;border:1px solid var(--ss-border);border-radius:5px;background:var(--ss-bg);text-align:left;font-size:11px}.ss-recovery button:focus-visible{outline:2px solid var(--ss-accent);outline-offset:2px}

/* Lift Me Up chrome and default page; explicit Paper/Night and notebook colors stay independent. */
body[data-book="lift-me-up"] .ss-dialog{--ss-frame:#173552;border-color:#275f92!important;color:#fffdf2}
body[data-book="lift-me-up"] .ss-dialog::backdrop{background:#17355299}
body[data-book="lift-me-up"] .ss-window-heading{background:linear-gradient(110deg,#173552,#275f92);border-bottom-color:#f2d35e}
body[data-book="lift-me-up"] .ss-window-heading h2,body[data-book="lift-me-up"] .ss-window-heading .ss-eyebrow{color:#f2d35e}
body[data-book="lift-me-up"] .ss-window-heading p{color:#c8d9e8}
body[data-book="lift-me-up"] :is(.ss-window-actions button,.ss-expand),body[data-book="lift-me-up"] .ss-dialog>button:last-child{color:#f2d35e}
body[data-book="lift-me-up"] .ss-window-actions .ss-icon-button:hover,body[data-book="lift-me-up"] .ss-expand:hover{background:#f2d35e20}
body[data-book="lift-me-up"] .ss-window-actions .ss-icon-button:focus-visible,body[data-book="lift-me-up"] .ss-expand:focus-visible{outline-color:#f2d35e}
body[data-book="lift-me-up"] .ss-portal-trigger{border-color:#275f92!important;background:#173552!important;color:#f2d35e!important;box-shadow:inset 0 0 0 1px #c8d9e820}
body[data-book="lift-me-up"] .ss-portal-trigger:hover{background:#275f92!important}
body[data-book="lift-me-up"] .ss-reader.ss-theme-sepia{--ss-bg:#eef5fb;--ss-surface:#fffdf2;--ss-ink:#20384d;--ss-muted:#576d83;--ss-border:#c8d9e8;--ss-soft:#dfedf9;--ss-accent:#275f92;--ss-accent-ink:#fffdf2;--ss-mark:#f2d35e}
body[data-book="lift-me-up"] .ss-reader.ss-theme-sepia :is(h3,h4){color:#b44232}
body[data-book="lift-me-up"] .ss-reader.ss-theme-sepia .ss-eyebrow{color:#275f92}
body[data-book="lift-me-up"] .ss-reader.ss-theme-sepia .ss-icon-button:hover{background:#275f9220}
body[data-book="lift-me-up"] .ss-reader.ss-theme-sepia :is(button,input,select,textarea,summary,a):focus-visible{outline-color:#275f92}
body[data-book="lift-me-up"] .ss-reader.ss-theme-sepia .ss-search-input:focus-within{box-shadow:0 0 0 2px #275f9240}

/* Tempus Templum chrome and default page; explicit Paper/Night and notebook colors stay independent. */
body[data-book="tempus-templum"] .ss-dialog{--ss-frame:#061a2e;border-color:#204f77!important;color:#fffdf5}
body[data-book="tempus-templum"] .ss-dialog::backdrop{background:#061a2e99}
body[data-book="tempus-templum"] .ss-window-heading{background:linear-gradient(110deg,#061a2e,#204f77);border-bottom-color:#e8bf67}
body[data-book="tempus-templum"] .ss-window-heading h2,body[data-book="tempus-templum"] .ss-window-heading .ss-eyebrow{color:#e8bf67}
body[data-book="tempus-templum"] .ss-window-heading p{color:#cbd6df}
body[data-book="tempus-templum"] :is(.ss-window-actions button,.ss-expand),body[data-book="tempus-templum"] .ss-dialog>button:last-child{color:#e8bf67}
body[data-book="tempus-templum"] .ss-window-actions .ss-icon-button:hover,body[data-book="tempus-templum"] .ss-expand:hover{background:#e8bf6720}
body[data-book="tempus-templum"] .ss-window-actions .ss-icon-button:focus-visible,body[data-book="tempus-templum"] .ss-expand:focus-visible{outline-color:#e8bf67}
body[data-book="tempus-templum"] .ss-portal-trigger{border-color:#204f77!important;background:#061a2e!important;color:#e8bf67!important;box-shadow:inset 0 0 0 1px #cbd6df20}
body[data-book="tempus-templum"] .ss-portal-trigger:hover{background:#204f77!important}
body[data-book="tempus-templum"] .ss-reader.ss-theme-sepia{--ss-bg:#f5f6f1;--ss-surface:#fffdf5;--ss-ink:#08243d;--ss-muted:#53697b;--ss-border:#cbd6df;--ss-soft:#e4edf4;--ss-accent:#204f77;--ss-accent-ink:#fffdf5;--ss-mark:#e8bf67}
body[data-book="tempus-templum"] .ss-reader.ss-theme-sepia :is(h3,h4){color:#876027}
body[data-book="tempus-templum"] .ss-reader.ss-theme-sepia .ss-eyebrow{color:#204f77}
body[data-book="tempus-templum"] .ss-reader.ss-theme-sepia .ss-icon-button:hover{background:#204f7720}
body[data-book="tempus-templum"] .ss-reader.ss-theme-sepia :is(button,input,select,textarea,summary,a):focus-visible{outline-color:#204f77}
body[data-book="tempus-templum"] .ss-reader.ss-theme-sepia .ss-search-input:focus-within{box-shadow:0 0 0 2px #204f7740}
