.tpl-bible-nav{display:flex;gap:24px;flex-wrap:wrap;margin-top:28px;padding-top:16px;border-top:1px solid #dedfd8;font-size:14px}
.tpl-bible-nav a{color:inherit;text-decoration:none;font-weight:600;padding:8px 0}
.tpl-bible-nav a:hover{text-decoration:underline;text-underline-offset:5px}
.tpl-word-study{margin-top:20px;padding-top:18px;border-top:1px solid #dedfd8}
.tpl-word-study a{display:block;background:#17362f;border-radius:6px;color:#fff!important;padding:12px 14px;text-decoration:none;font-weight:600;font-size:14px}
.tpl-word-study p{font-size:12px;line-height:1.5;color:#606965;margin-top:10px}
.tpl-passage-target{outline:2px solid #9a6f28;outline-offset:6px;background:#f6f4ee;border-radius:3px}
.tpl-bible-nav a:focus-visible,.tpl-word-study a:focus-visible{outline:3px solid #bb8b33;outline-offset:3px}

.tpl-bible-nav{gap:10px;border-top:0;padding:14px 0;font:600 15px/1.4 Arial,sans-serif}
.tpl-bible-nav a{display:inline-flex;align-items:center;padding:11px 18px;border-radius:7px;border-bottom:3px solid transparent;color:#e3eae6;font:inherit}
.tpl-bible-nav a:hover{background:#ffffff12;text-decoration:none}
.tpl-bible-nav a[aria-current=page]{background:#ffffff18;border-bottom-color:#dfc28a;color:#fff}

/* 0.4.0 — grego com fonte de suporte politônico completo (acentos graves corretos) */
body.tpl-greek .tp-biblia-greek .tp-biblia-w,body.tpl-greek .tp-biblia-panel__greek,body.tpl-greek .tp-biblia-panel__lemma{font-family:"Gentium Plus","Noto Serif","Times New Roman",serif}
body.tpl-greek .tp-biblia-panel__lemma-translit{font-family:"IBM Plex Sans",system-ui,sans-serif}
/* glosas e transliteração sob as palavras */
.tpl-text-toggles{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 4px}
#tpl-text-toggles button{min-height:44px;padding:0 14px;border:1px solid #c9c2b4;border-radius:999px;background:#fffdf8;color:#183b33;font:500 14px/1 "IBM Plex Sans",system-ui,sans-serif;cursor:pointer}
#tpl-text-toggles button[aria-pressed=true]{background:#183b33;border-color:#183b33;color:#fff}
.tpl-has-sub .tp-biblia-w[data-sub]{display:inline-flex;flex-direction:column;align-items:flex-start;vertical-align:top;margin-bottom:6px}
.tpl-has-sub .tp-biblia-w[data-sub]::after{content:attr(data-sub);white-space:pre-line;font:12.5px/1.35 "IBM Plex Sans",system-ui,sans-serif;color:#5b6661;max-width:9em}
.tpl-has-sub .tp-biblia-w.is-active[data-sub]::after{color:inherit}
/* painel: frequência, glosa do Léxico e botão de estudo */
.tpl-word-meta{margin:0 0 10px!important;font-size:13px!important;color:inherit!important;opacity:.85}
.tpl-word-lex{display:flex;flex-direction:column;gap:2px;margin:0 0 12px;padding:10px 12px;border-radius:8px;background:#fffdf8;color:#1b2a26}
.tpl-word-lex span{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#7a5c2a}
.tpl-word-lex strong{font-size:15px}
.tpl-word-note{margin:0 0 12px!important;font-size:12.5px!important;color:inherit!important;opacity:.85}
.tpl-word-study a.tpl-word-button{display:flex;align-items:center;justify-content:center;min-height:48px;background:#d9bc84;color:#14302a!important;border-radius:8px;font-weight:700;font-size:15px}

/* 0.4.0-nt4 — palavra por palavra como padrão */
.tpl-gloss-note{align-self:center;font:13px/1.4 "IBM Plex Sans",system-ui,sans-serif;color:#5b6661}
.tpl-has-sub .tp-biblia-greek{line-height:1.25;row-gap:6px}
.tpl-has-sub .tp-biblia-w[data-sub]{white-space:nowrap;padding:2px 4px 4px;margin:0 2px 8px 0;border-bottom:1px solid #e3ded3;border-radius:4px}
.tpl-has-sub .tp-biblia-w[data-sub]::after{white-space:pre-line;margin-top:3px}
