/* Shared toolbar; inline reader text is never rebuilt. */
.nh7-reader-managed452 .verse-tools,.nh7-reader-managed452 .nh7-apo-verse-tools{display:none!important}
.nh7-reader-managed452 .nh7-reader-selected452 .verse-text,.nh7-reader-selected452 .nh7-apo-verse-text{text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:#1679ba;text-underline-offset:5px}
.nh7-reader-managed452 .reader-verse.highlighted.highlight-yellow{background:#fff2a8!important}
.nh7-reader-managed452 .reader-verse.highlighted.highlight-red{background:#ffd9e5!important}
.nh7-reader-managed452 .reader-verse.highlighted.highlight-green{background:#ccefd7!important}
.nh7-reader-managed452 .reader-verse.highlighted.highlight-blue{background:#cfe8ff!important}
#nh7ReaderToolbar452{position:fixed;z-index:20000;bottom:calc(76px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);width:min(560px,calc(100vw - 20px));padding:8px;box-sizing:border-box;border:1px solid #c8dce8;border-radius:18px;background:#fbfdff;color:#17364e;box-shadow:0 8px 30px rgba(9,37,56,.22);font-family:inherit}
#nh7ReaderToolbar452[hidden]{display:none!important}
.nh7-reader-selection-summary452{text-align:center;font-size:.72rem;line-height:1.5;margin:0 0 5px;color:#526b80}
.nh7-reader-action-row452{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px}
#nh7ReaderToolbar452 button{font-family:inherit;cursor:pointer;border:0;border-radius:11px;background:transparent;color:inherit;touch-action:manipulation}
#nh7ReaderToolbar452 [data-reader-action452]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:48px;padding:4px 2px}
#nh7ReaderToolbar452 [data-reader-action452]>span{font:700 23px/1.05 system-ui}
#nh7ReaderToolbar452 small{font-size:.66rem;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
#nh7ReaderToolbar452 button:hover,#nh7ReaderToolbar452 [aria-pressed="true"]{background:#e7f3fb;color:#075b94}
#nh7ReaderToolbar452 button:focus-visible{outline:2px solid #1679ba;outline-offset:1px}
#nh7ReaderToolbar452 [data-reader-palette452]{padding:8px 2px 2px;display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
#nh7ReaderToolbar452 [data-reader-palette452][hidden]{display:none}
#nh7ReaderToolbar452 .nh7-reader-swatch452{width:36px;height:36px;border:2px solid #607080;box-shadow:inset 0 0 0 3px #fff}
#nh7ReaderToolbar452 .yellow{background:#fff2a8}#nh7ReaderToolbar452 .red{background:#ffd9e5}#nh7ReaderToolbar452 .green{background:#ccefd7}#nh7ReaderToolbar452 .blue{background:#cfe8ff}
#nh7ReaderToolbar452 [data-reader-color452="remove"]{font-size:.75rem;min-height:40px;padding:4px 10px}
body.nh7-reader-selection-open452 .view{padding-bottom:210px!important}
.nh7-reader-note-dialog452{width:min(520px,calc(100vw - 30px));max-height:75dvh;overflow:auto;box-sizing:border-box;border:1px solid #c8dce8;border-radius:20px;padding:20px;background:#fbfdff;color:#17364e;box-shadow:0 15px 60px rgba(9,37,56,.25);font-family:inherit}
.nh7-reader-note-dialog452::backdrop{background:rgba(9,27,42,.55)}
.nh7-reader-note-dialog452 label{display:grid;gap:6px;margin:12px 0;font-size:.88rem}
.nh7-reader-note-dialog452 textarea{box-sizing:border-box;width:100%;min-height:150px;resize:vertical;font:inherit;font-size:16px;line-height:1.65;white-space:pre-wrap}
.nh7-reader-note-dialog452 p{font-size:.83rem;line-height:1.6;overflow-wrap:anywhere}
.nh7-reader-toast-v452{position:fixed;z-index:2147483000;left:50%;bottom:calc(195px + env(safe-area-inset-bottom,0px));transform:translate(-50%,10px);max-width:90vw;width:max-content;box-sizing:border-box;opacity:0;pointer-events:none;padding:10px 16px;border-radius:14px;background:#14364d;color:#fff;font:600 .86rem/1.6 system-ui;text-align:center;transition:opacity .16s ease,transform .16s ease}
.nh7-reader-toast-v452.show{opacity:1;transform:translate(-50%,0)}.nh7-reader-toast-v452.is-error{background:#8c2828}
html[data-nh7-theme="dark"] #nh7ReaderToolbar452,html[data-nh7-theme="dark"] .nh7-reader-note-dialog452{background:#172e42;color:#e8f3fb;border-color:#426077}
html[data-nh7-theme="dark"] .nh7-reader-selection-summary452{color:#b7d0e2}
html[data-nh7-theme="dark"] #nh7ReaderToolbar452 button:hover,html[data-nh7-theme="dark"] #nh7ReaderToolbar452 [aria-pressed="true"]{background:#284b66;color:#fff}
html[data-nh7-theme="dark"] .nh7-reader-managed452 .reader-verse.highlighted,html[data-nh7-theme="dark"] .nh7-apo-verse.is-highlighted .nh7-apo-verse-main{color:#142c40!important}
@media(prefers-reduced-motion:reduce){.nh7-reader-toast-v452{transition:none}}
