/* Scoped enhancement of the existing theme reader. The reading engine and data stay intact. */
.tpl-reader-layout .tp-page-hero{background:linear-gradient(115deg,#173e34,#13372f 70%,#294432)}
.tpl-reader-layout .tp-page-hero .teopedia-shell{max-width:1210px;width:calc(100% - 96px);padding:40px 0 28px;margin:0 auto}
.tpl-reader-layout .tp-page-hero .teopedia-kicker{color:#d3ae6b!important;font:750 11px/1.6 Inter,system-ui,sans-serif;letter-spacing:.18em;margin:0 0 6px}
.tpl-reader-layout #tp-biblia-title-label{font:600 48px/1.12 Georgia,serif;letter-spacing:-.025em;color:#fff}
.tpl-reader-layout .tp-biblia-switcher__trigger{min-height:54px;padding:0;gap:14px}
.tpl-reader-layout #tp-biblia-intro-label{max-width:760px;margin:12px 0 28px;color:#f3f5f0;font:400 17px/1.6 Inter,system-ui,sans-serif}
.tpl-reader-layout #tp-biblia-intro-label p{margin:0}
.tpl-reader-layout .tpl-bible-nav{display:flex;flex-wrap:wrap;gap:12px;padding:0;margin:0;border:0;font:650 15px/1.4 Inter,system-ui,sans-serif}
.tpl-reader-layout .tpl-bible-nav a{display:flex;align-items:center;gap:12px;min-height:48px;padding:12px 20px;border:1px solid transparent;border-radius:9px;color:#fff;text-decoration:none;font:inherit}
.tpl-reader-layout .tpl-bible-nav svg{width:22px;height:22px;flex-shrink:0}
.tpl-reader-layout .tpl-bible-nav a[aria-current]{background:#faf9f5;color:#173e34;box-shadow:0 3px 0 #ba995e;border-color:transparent}
.tpl-reader-layout .tpl-bible-nav a:not([aria-current]):hover{background:#ffffff14;border-color:#ffffff4d}
.tpl-reader-layout .tpl-reader-main{max-width:1210px;width:calc(100% - 96px);padding:28px 0 64px!important;margin:0 auto}
.tpl-reader-layout .tp-biblia-refnote{font:400 13px/1.6 Inter,system-ui,sans-serif;color:#64736a;margin:0 0 16px}
.tpl-reader-layout .tpl-reader-chapters{margin:0 0 24px;color:#203b34;font:400 15px/1.5 Inter,system-ui,sans-serif}
.tpl-reader-layout .tpl-reader-chapter-row{display:grid;grid-template-columns:minmax(0,auto) minmax(0,1fr);align-items:start;gap:24px}
.tpl-reader-layout .tpl-reader-primary{min-width:0}
.tpl-reader-layout .tpl-reader-nav-controls{display:flex;align-items:end;gap:10px;min-width:0}
.tpl-reader-layout .tpl-reader-select{min-width:190px;flex:0 1 210px}
.tpl-reader-layout .tpl-reader-select label{display:block;font-size:12px;font-weight:650;margin:0 0 6px}
.tpl-reader-layout .tpl-reader-chapters select,.tpl-reader-layout .tpl-reader-chapters button{min-height:44px;border:1px solid #b9c7bd;border-radius:7px;padding:10px 14px;color:#173e34;background:#fffef9;font:inherit;box-sizing:border-box}
.tpl-reader-layout .tpl-reader-chapters select{width:100%;cursor:pointer}
.tpl-reader-layout .tpl-reader-chapters button{cursor:pointer;font-weight:600;white-space:nowrap}
.tpl-reader-layout .tpl-reader-chapters .tpl-reader-next{background:#173e34;border-color:#173e34;color:#fff}
.tpl-reader-layout .tpl-reader-chapters .tpl-reader-next:not(:disabled):hover{background:#275640;border-color:#275640}
.tpl-reader-layout .tpl-reader-chapters .tpl-reader-prev:not(:disabled):hover{background:#eff4ef}
.tpl-reader-layout .tpl-reader-chapters button:disabled{opacity:.42;cursor:default}
.tpl-reader-layout .tpl-reader-chapter-status{display:block;margin:7px 0 0;font-size:12px;color:#64736a}
.tpl-reader-layout .tpl-reader-support{padding:0 0 0 23px;border-left:1px solid #dbe3da;min-width:0;min-height:73px}
.tpl-reader-layout .tpl-reader-support[hidden]{display:none!important}
.tpl-reader-layout .tpl-reader-support-title{display:block;font:650 12px/1.5 Inter,system-ui,sans-serif;margin:0 0 6px;color:#446253}
.tpl-reader-layout .tpl-reader-support .tpl-book-tools{max-width:none;width:100%;padding:0;margin:0;background:transparent;border:0;border-radius:0;box-shadow:none;box-sizing:border-box}
.tpl-reader-layout .tpl-reader-support .tpl-book-actions{display:flex;gap:8px;flex-wrap:wrap}
.tpl-reader-layout .tpl-reader-support .tpl-book-actions button{min-height:44px;border:1px solid #c7d8cb;border-radius:7px;background:#edf4ee;color:#173e34;padding:10px 13px;white-space:normal;text-align:left;font:600 14px/1.35 Inter,system-ui,sans-serif}
.tpl-reader-layout .tpl-reader-support .tpl-book-actions button:hover{background:#e2ece4;border-color:#a6c0ab}
.tpl-reader-layout .tp-biblia-chapters{margin:4px 0 0;display:flex;gap:8px;flex-wrap:wrap}
.tpl-reader-layout .tpl-reader-chapters .tp-biblia-chapters[hidden]{display:none!important}
.tpl-reader-layout .tp-biblia-chapter-tab{min-height:44px}
.tpl-reader-layout .tpl-reader-chapters [hidden]{display:none!important}
.tpl-reader-layout .tpl-reader-chapters :is(button,select,summary):focus-visible,.tpl-reader-layout .tpl-bible-nav a:focus-visible{outline:3px solid #ba995e;outline-offset:3px}
.tpl-reader-layout .tpl-book-tools{max-width:1210px;width:calc(100% - 96px);padding:0;margin:16px auto 0;background:transparent;border:0}
@media(max-width:980px){
 .tpl-reader-layout .tpl-reader-chapter-row{grid-template-columns:minmax(0,1fr);gap:12px}
 .tpl-reader-layout .tpl-reader-support{border-left:0;border-top:1px solid #dbe3da;padding:12px 0 0;min-height:0}
}
@media(max-width:720px){
 .tpl-reader-layout .tpl-reader-nav-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .tpl-reader-layout .tpl-reader-select{grid-column:1/-1;width:100%;min-width:0}
 .tpl-reader-layout .tpl-reader-chapters .tpl-reader-prev,.tpl-reader-layout .tpl-reader-chapters .tpl-reader-next{width:100%}
 .tpl-reader-layout .tpl-reader-support .tpl-book-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .tpl-reader-layout .tpl-reader-support .tpl-book-actions button{white-space:normal;min-width:0}
}
@media(max-width:720px){.tpl-reader-layout .tp-page-hero .teopedia-shell,.tpl-reader-layout .tpl-reader-main,.tpl-reader-layout .tpl-book-tools{width:calc(100% - 40px)}.tpl-reader-layout .tp-page-hero .teopedia-shell{padding:28px 0 24px}.tpl-reader-layout #tp-biblia-title-label{font-size:40px}.tpl-reader-layout #tp-biblia-intro-label{font-size:16px;margin-bottom:22px}.tpl-reader-layout .tpl-bible-nav a{padding:12px 14px} .tpl-reader-layout .tpl-reader-main{padding-top:24px!important}}
@media(max-width:420px){.tpl-reader-layout .tpl-bible-nav{flex-direction:column;align-items:stretch}}

/* 0.4.0-nt50: notas de versículo e versículos sem correspondente no grego adotado */
.tpl-verse-note{margin:.35rem 0 0;padding:.45rem .7rem;border-left:3px solid var(--tp-accent,#b08d57);background:rgba(176,141,87,.08);font-size:.86rem;line-height:1.45;color:var(--tp-muted,#5b5b5b);border-radius:0 6px 6px 0}
.tpl-verse-absent .tp-biblia-greek{opacity:.7}
.tpl-verse-absent .tp-biblia-translation{font-style:italic;opacity:.85}
