/* Optional visual preferences; core keyboard support is always available. */
.cb-a11y-open,.cb-a11y-dialog button,.cb-a11y-dialog select{min-height:44px;font:inherit;touch-action:manipulation}
.cb-a11y-open{border:1px solid currentColor;border-radius:.55rem;background:var(--paper,#fff);color:var(--ink,#17241b);padding:.4rem .7rem;white-space:nowrap;cursor:pointer;flex-shrink:0}
.cb-a11y-floating{position:fixed;right:1rem;bottom:1rem;z-index:35;box-shadow:0 2px 10px #0003}
.cb-a11y-dialog{box-sizing:border-box;width:min(34rem,calc(100vw - 2rem));max-height:calc(100dvh - 2rem);overflow:auto;overscroll-behavior:contain;border:2px solid var(--ink,#17241b);border-radius:1rem;padding:1.2rem;background:var(--paper,#fffdf6);color:var(--ink,#17241b);font-family:system-ui,sans-serif;font-size:1rem;line-height:1.65}
.cb-a11y-dialog::backdrop{background:#0009}
.cb-a11y-heading{display:flex;align-items:flex-start;gap:.7rem;justify-content:space-between}.cb-a11y-heading h2{font-size:1.25em;margin:0;line-height:1.5;overflow-wrap:anywhere}
.cb-a11y-dialog p{margin:.8rem 0}.cb-a11y-close,.cb-a11y-reset{border:1px solid currentColor;border-radius:.4rem;background:transparent;color:inherit;padding:.4rem .65rem;cursor:pointer}
.cb-a11y-close{flex-shrink:0;font-size:.9em!important}.cb-a11y-form{display:grid;gap:1rem}.cb-a11y-field{display:grid;gap:.3rem;font-weight:600}.cb-a11y-dialog select{width:100%;max-width:100%;border:1px solid currentColor;border-radius:.4rem;padding:.4rem;background:var(--paper,#fff);color:inherit}
.cb-a11y-check{display:flex;align-items:center;gap:.7rem;min-height:44px;cursor:pointer}.cb-a11y-check input{width:1.3rem;height:1.3rem;flex-shrink:0;accent-color:var(--accent,#184e38)}.cb-a11y-hint{font-size:.9em}.cb-a11y-reset{justify-self:start}
.cb-a11y-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.cb-a11y-skip{position:fixed;left:1rem;top:-15rem;z-index:10000;padding:.6rem 1rem;background:#fff;color:#111;border:3px solid #111;font:700 1.1rem system-ui,sans-serif}.cb-a11y-skip:focus{top:1rem}.cb-a11y-verse-skip:focus{top:4.5rem}
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--accent,#155e44)!important;outline-offset:4px!important}
html[data-a11y-links=underline] a{text-decoration:underline!important;text-underline-offset:.2em;text-decoration-thickness:max(1px,.07em)}
html[data-a11y-text=large]{--a11y-scale:1.25;font-size:125%}html[data-a11y-text=larger]{--a11y-scale:1.5;font-size:150%}html[data-a11y-text=largest]{--a11y-scale:1.75;font-size:175%}html[data-a11y-text=huge]{--a11y-scale:2;font-size:200%}
html[data-a11y-text] body{font-size:calc(18px * var(--a11y-scale))!important}html[data-a11y-text] :is(input,select,textarea,button){font-size:1em}html[data-a11y-text] .reader .verse-text{font-size:calc(var(--reader-size,30px) * var(--a11y-scale))!important;line-height:1.8!important}html[data-a11y-text] :is(.reader,.primary-cell,.reference-cell,header,.header-inner){min-width:0}html[data-a11y-text] :is(p,h1,h2,h3,label,button,a){overflow-wrap:anywhere}html[data-a11y-text] .header-inner{flex-wrap:wrap}html[data-a11y-text] :is(.wrap,main){max-width:100%}html[data-a11y-text] :is(.reader,textarea){max-height:none}
html[data-a11y-contrast=white-black]{--a11y-bg:#fff;--a11y-fg:#111;--a11y-link:#003b80;color-scheme:light}
html[data-a11y-contrast=black-white]{--a11y-bg:#000;--a11y-fg:#fff;--a11y-link:#80ddff;color-scheme:dark}
html[data-a11y-contrast=black-yellow]{--a11y-bg:#000;--a11y-fg:#ffed70;--a11y-link:#80ddff;color-scheme:dark}
html[data-a11y-contrast]{--bg:var(--a11y-bg)!important;--paper:var(--a11y-bg)!important;--ink:var(--a11y-fg)!important;--muted:var(--a11y-fg)!important;--accent:var(--a11y-link)!important;--gold:var(--a11y-fg)!important;--soft:var(--a11y-bg)!important;--line:var(--a11y-fg)!important;background:var(--a11y-bg)!important;color:var(--a11y-fg)!important}
html[data-a11y-contrast] body,html[data-a11y-contrast] :is(header,footer,dialog,.reader,.toolbar,.prompt,.prompt-scroll,.prompt-controls,.reading-panel,select,input,textarea,button,option){background:var(--a11y-bg)!important;color:var(--a11y-fg)!important}
html[data-a11y-contrast] body :not(img):not(svg):not(path):not(video):not(canvas){background-image:none!important;box-shadow:none!important;text-shadow:none!important;color:inherit!important;border-color:var(--a11y-fg)!important}
html[data-a11y-contrast] :is(article,section,div,p,span,summary,figure,figcaption,table,th,td,h1,h2,h3,h4,nav,aside,details,label,a){background-color:transparent!important}
html[data-a11y-contrast] #passage-navigation{background:var(--a11y-bg)!important;color:var(--a11y-fg)!important}
html[data-a11y-contrast] a{color:var(--a11y-link)!important;text-decoration:underline!important;text-underline-offset:.18em}
html[data-a11y-contrast] :is(button,input,textarea,select,summary){border-width:1px!important;border-style:solid!important}
html[data-a11y-contrast] :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--a11y-fg)!important;outline-offset:4px!important}
html[data-a11y-contrast] :is(.verse-row:target,mark){outline:2px solid var(--a11y-fg)!important;outline-offset:2px}html[data-a11y-contrast] progress{accent-color:var(--a11y-fg)}
html[data-a11y-motion=reduce] *,html[data-a11y-motion=reduce] *::before,html[data-a11y-motion=reduce] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(forced-colors:active){html[data-a11y-contrast]{--a11y-bg:Canvas;--a11y-fg:CanvasText;--a11y-link:LinkText}.cb-a11y-dialog,.cb-a11y-open{forced-color-adjust:auto} :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline-color:Highlight!important}}
@media(max-width:650px){.cb-a11y-open{font-size:.9rem;padding:.3rem .5rem}.cb-a11y-dialog{padding:1rem}.cb-a11y-heading{flex-wrap:wrap}.cb-a11y-close{margin-left:auto}.cb-a11y-floating{right:.75rem;bottom:.75rem}.cb-a11y-dialog{width:calc(100vw - 1rem);max-height:calc(100dvh - 1rem)}}
