/* Leitor online das apostilas + aba Apostilas de Meus Produtos (31/10/2026).
 *
 * Toda cor é variável (--l-*). O tema.js só converte cor escrita direto na
 * regra, não valor de variável: quem manda aqui são os blocos de tema abaixo,
 * que seguem o modo dia/noite do site até o aluno escolher um modo no leitor.
 * Sem moldura em volta do texto (regra do dono); botão continua com cara de botão.
 */
@font-face { font-family: "Literata"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fontes/literata-normal-400_600.woff2") format("woff2"); }
@font-face { font-family: "Literata"; font-style: italic; font-weight: 400; font-display: swap; src: url("fontes/literata-italic-400.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap; src: url("fontes/atkinson-normal-400.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap; src: url("fontes/atkinson-normal-700.woff2") format("woff2"); }

.ltr-raiz {
  --l-bg: #04060c; --l-bg2: #0b101d; --l-fg: #edf1f9; --l-txt: #d8deea; --l-mut: #9aa6c2; --l-mut2: #8490ab; --l-linha: rgba(154,166,194,.2);
  --l-azul: #2570e6; --l-azul2: #7ca5f4; --l-ouro: #d4ae35; --l-verde: #4ade80; --l-verm: #f87171; --l-nob: #fff; --l-noouro: #141004; --l-nocheck: #04150a;
  --l-m-am: rgba(240,200,60,.42); --l-m-ve: rgba(74,222,128,.3); --l-m-az: rgba(90,150,255,.42); --l-m-ro: rgba(255,110,130,.38);
  --l-s-am: #e6bf3c; --l-s-ve: #4ade80; --l-s-az: #7ca5f4; --l-s-ro: #ff8296; --l-fala: rgba(124,165,244,.14);
  --l-sombra: rgba(0,0,0,.45); --l-veu: rgba(0,0,0,.5);
  --l-serif: Georgia, "Literata", "Times New Roman", serif; --l-sans: "Segoe UI", Arial, sans-serif;
}
html[data-tema="claro"] .ltr-raiz, html .ltr-raiz[data-tl="claro"] {
  --l-bg: #f7f8fa; --l-bg2: #fff; --l-fg: #121a2b; --l-txt: #232c3f; --l-mut: #535d74; --l-mut2: #5f6980; --l-linha: rgba(30,40,70,.15);
  --l-azul: #1f66d6; --l-azul2: #1b5cc2; --l-ouro: #7f640c; --l-verde: #14753a; --l-verm: #c02f2f; --l-noouro: #fff; --l-nocheck: #fff;
  --l-m-am: #ffe98f; --l-m-ve: #bdf0cd; --l-m-az: #c6dcff; --l-m-ro: #ffcdd5; --l-s-am: #b98f00; --l-s-ve: #14853f; --l-s-az: #1f66d6; --l-s-ro: #cf2f4d; --l-fala: rgba(31,102,214,.1);
  --l-sombra: rgba(20,30,60,.18); --l-veu: rgba(20,30,50,.35);
}
html .ltr-raiz[data-tl="escuro"] {
  --l-bg: #04060c; --l-bg2: #0b101d; --l-fg: #edf1f9; --l-txt: #d8deea; --l-mut: #9aa6c2; --l-mut2: #8490ab; --l-linha: rgba(154,166,194,.2);
  --l-azul: #2570e6; --l-azul2: #7ca5f4; --l-ouro: #d4ae35; --l-verde: #4ade80; --l-verm: #f87171; --l-noouro: #141004; --l-nocheck: #04150a;
  --l-m-am: rgba(240,200,60,.42); --l-m-ve: rgba(74,222,128,.3); --l-m-az: rgba(90,150,255,.42); --l-m-ro: rgba(255,110,130,.38);
  --l-s-am: #e6bf3c; --l-s-ve: #4ade80; --l-s-az: #7ca5f4; --l-s-ro: #ff8296; --l-fala: rgba(124,165,244,.14);
  --l-sombra: rgba(0,0,0,.45); --l-veu: rgba(0,0,0,.5);
}
html .ltr-raiz[data-tl="preto"] {
  --l-bg: #000; --l-bg2: #0d0e12; --l-fg: #d9dde6; --l-txt: #b8bfcc; --l-mut: #8d95a7; --l-mut2: #858da0; --l-linha: rgba(180,186,199,.18);
  --l-azul: #2570e6; --l-azul2: #8fb0ea; --l-ouro: #c7a432; --l-verde: #4ade80; --l-verm: #f87171; --l-noouro: #141004; --l-nocheck: #04150a;
  --l-m-am: rgba(240,200,60,.36); --l-m-ve: rgba(74,222,128,.26); --l-m-az: rgba(90,150,255,.36); --l-m-ro: rgba(255,110,130,.32);
  --l-s-am: #e6bf3c; --l-s-ve: #4ade80; --l-s-az: #8fb0ea; --l-s-ro: #ff8296; --l-fala: rgba(143,176,234,.13);
  --l-sombra: rgba(0,0,0,.6); --l-veu: rgba(0,0,0,.55);
}
html .ltr-raiz[data-tl="sepia"] {
  --l-bg: #f4ecdc; --l-bg2: #fbf5e8; --l-fg: #2c2214; --l-txt: #3b2f1f; --l-mut: #65553f; --l-mut2: #6d5d46; --l-linha: rgba(80,60,30,.2);
  --l-azul: #1f5fbf; --l-azul2: #23579f; --l-ouro: #775b08; --l-verde: #2c6a35; --l-verm: #b03030; --l-noouro: #fff; --l-nocheck: #fff;
  --l-m-am: #f6dc7c; --l-m-ve: #c3e3b4; --l-m-az: #c4d6ee; --l-m-ro: #f5c6c2; --l-s-am: #a87f00; --l-s-ve: #2c7a3a; --l-s-az: #23579f; --l-s-ro: #bb3a3a; --l-fala: rgba(35,87,159,.1);
  --l-sombra: rgba(60,40,10,.2); --l-veu: rgba(50,35,10,.35);
}

:where(.ltr-raiz) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ltr-raiz :focus-visible { outline: 2px solid var(--l-azul2); outline-offset: 2px; }
.ltr-raiz svg { display: block; flex: none; }

/* marcas (biblioteca, caderno e leitor) */
.ltr-raiz mark.hl { color: inherit; border-radius: 2px; padding: .04em 0; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ltr-raiz mark.c-am { background: var(--l-m-am); } .ltr-raiz mark.c-ve { background: var(--l-m-ve); }
.ltr-raiz mark.c-az { background: var(--l-m-az); } .ltr-raiz mark.c-ro { background: var(--l-m-ro); }
.ltr-raiz mark.sub { background: none; text-decoration: underline 2.5px; text-underline-offset: .2em; }
.ltr-raiz mark.sub.c-am { text-decoration-color: var(--l-s-am); } .ltr-raiz mark.sub.c-ve { text-decoration-color: var(--l-s-ve); }
.ltr-raiz mark.sub.c-az { text-decoration-color: var(--l-s-az); } .ltr-raiz mark.sub.c-ro { text-decoration-color: var(--l-s-ro); }
.ltr-raiz mark.nota::after { content: ""; display: inline-block; width: .5em; height: .5em; margin-left: .22em; border-radius: 50%; background: var(--l-ouro); vertical-align: .32em; }
.ltr-raiz mark.ativa { outline: 2px solid var(--l-azul2); outline-offset: 1px; }
.ltr-raiz mark.prev { opacity: .8; }

.ltr-p-am { background: var(--l-s-am); } .ltr-p-ve { background: var(--l-s-ve); } .ltr-p-az { background: var(--l-s-az); } .ltr-p-ro { background: var(--l-s-ro); }
.ltr-olho { color: var(--l-ouro); font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.ltr-prog { height: 3px; background: var(--l-linha); margin-top: 14px; overflow: hidden; }
.ltr-prog i { display: block; height: 100%; background: var(--l-ouro); }
.ltr-botao { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 52px; margin-top: 16px; border-radius: 12px; font-weight: 700; font-size: 16px; padding: 0 18px; }
.ltr-raiz button.ltr-botao { background: var(--l-azul); color: var(--l-nob); }
.ltr-botao:active { transform: scale(.985); }
.ltr-link { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 50px; text-align: left; font-weight: 600; }
.ltr-raiz button.ltr-link { color: var(--l-fg); }
.ltr-link span { flex: 1; min-width: 0; }
.ltr-link small { color: var(--l-mut); font-weight: 400; font-size: 13.5px; }
.ltr-vazio { color: var(--l-mut); padding: 22px 0; font-size: 15px; margin: 0; }

/* ---------- aba Apostilas ---------- */
.ltr-bib { background: transparent; color: var(--l-fg); margin-top: 10px; }
.ltr-painel { padding-top: 22px; }
.ltr-seguir h3 { font-family: var(--l-serif); font-size: 25px; font-weight: 600; line-height: 1.2; margin: 8px 0 0; color: var(--l-fg); text-wrap: balance; }
.ltr-seguir p { margin: 6px 0 0; color: var(--l-mut); font-size: 16px; }
/* Cabeçalho da aba Apostilas (dono, 02/11/2026): nome centralizado com cara de
   título, separado das matérias por um traço. Nome curto em destaque numa linha;
   nome completo e cargo pequenos embaixo (o nome longo virava "pirâmide"). */
.mp-aba-apostilas .mp-concurso-header { justify-content: center; text-align: center; padding: 6px 0 0; border: 0; }
.mp-aba-apostilas .mp-concurso-texto { flex: 0 1 560px; }
.mp-aba-apostilas .mp-concurso-texto::before { content: "Apostila do seu cargo"; display: block; color: #c9a227; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.mp-aba-apostilas .mp-concurso-resumo { display: none; }
.mp-nome-sigla { display: block; font-size: 26px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-nome-cheio { display: block; font-family: "Segoe UI", Arial, sans-serif; font-size: 13.5px; font-weight: 400; color: #9aa6c2; line-height: 1.4; margin-top: 6px; }
.mp-nome-cheio-so { display: block; font-size: 20px; line-height: 1.25; }
.mp-aba-apostilas .mp-cargo-bloco { padding: 2px 0 14px; border-top: 0; }
.mp-aba-apostilas .mp-cargo-titulo { display: block; text-align: center; font-family: "Segoe UI", Arial, sans-serif; font-size: 14.5px; font-weight: 600; color: #edf1f9; line-height: 1.4; max-width: 560px; margin: 0 auto; }
.mp-aba-apostilas .mp-cargo-titulo::before { content: none; }
.mp-aba-apostilas .mp-cargo-titulo::after { content: ""; display: block; width: 44px; height: 2px; margin: 16px auto 0; background: #c9a227; border-radius: 2px; }
.ltr-seguir + .ltr-total-bloco { margin-top: 26px; }
.ltr-total-bloco .ltr-total { margin-top: 6px; }
.ltr-total-dica { margin: 8px 0 0; color: var(--l-mut); font-size: 14px; line-height: 1.45; }
.ltr-mats-amostra { margin-top: 22px; }
@media (min-width: 900px) { .ltr-apostilas-col .ltr-mats-amostra { margin-top: 0; } }
.ltr-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 26px; }
.ltr-total b { font-family: var(--l-serif); font-size: 24px; font-variant-numeric: tabular-nums; color: var(--l-fg); }
.ltr-total span { color: var(--l-mut); font-size: 15px; }
.ltr-mats { margin-top: 30px; }
.ltr-mats-tit { font-family: var(--l-serif); font-size: 22px; font-weight: 600; line-height: 1.2; margin: 0; color: var(--l-fg); }
.ltr-guia { color: var(--l-mut); font-size: 16px; line-height: 1.5; margin: 6px 0 10px; max-width: 66ch; }
.ltr-mat { border-bottom: 1px solid var(--l-linha); }
.ltr-mat-l { display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 12px; row-gap: 12px; align-items: start; padding: 18px 0 8px; }
.ltr-num { font-family: var(--l-serif); font-style: italic; font-size: 26px; line-height: 1.1; color: transparent; -webkit-text-stroke: 1px var(--l-ouro); }
.ltr-mat-t { min-width: 0; color: var(--l-fg); }
.ltr-mat-t b { display: block; font-size: 18px; line-height: 1.3; font-weight: 600; }
.ltr-mat-t small { display: block; color: var(--l-mut); font-size: 14.5px; margin-top: 2px; }
.ltr-mat-t .ltr-prog { margin-top: 8px; max-width: 320px; }
.ltr-mat-a { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ltr-mat-a.ltr-so-um { grid-template-columns: 1fr; }
.ltr-raiz button.ltr-btn-ler, .ltr-raiz button.ltr-btn-pdf { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 14px; border-radius: 10px; font-size: 15.5px; font-weight: 700; white-space: nowrap; }
.ltr-raiz button.ltr-btn-ler { background: var(--l-azul); color: var(--l-nob); }
.ltr-raiz button.ltr-btn-pdf { border: 1px solid var(--l-mut2); color: var(--l-fg); }
.ltr-raiz button.ltr-btn-ler:hover { filter: brightness(1.1); }
.ltr-raiz button.ltr-btn-pdf:hover { border-color: var(--l-fg); }
.ltr-raiz button.ltr-ver { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; color: var(--l-azul2); font-size: 15.5px; font-weight: 600; }
.ltr-ver svg { transition: transform .18s; }
.ltr-ver.aberto svg { transform: rotate(180deg); }
.ltr-tops-dica { color: var(--l-mut); font-size: 14.5px; margin: 2px 0 4px; }
.ltr-tops { list-style: none; margin: 0; padding: 0 0 12px; }
.ltr-tops li { display: flex; align-items: center; gap: 2px; border-top: 1px solid var(--l-linha); }
.ltr-raiz button.ltr-ck { width: 44px; height: 48px; display: grid; place-items: center; flex: none; }
.ltr-ck i { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--l-mut); display: grid; place-items: center; color: var(--l-nocheck); }
.ltr-ck[aria-pressed="true"] i { background: var(--l-verde); border-color: var(--l-verde); }
.ltr-raiz button.ltr-top { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 0; text-align: left; font-size: 16px; line-height: 1.3; color: var(--l-txt); }
.ltr-top span { flex: 1; min-width: 0; }
.ltr-top em { font-style: normal; font-size: 13px; color: var(--l-ouro); font-weight: 700; flex: none; }
.ltr-top b { display: flex; align-items: center; gap: 2px; flex: none; color: var(--l-azul2); font-size: 14.5px; font-weight: 600; }
.ltr-raiz button.ltr-cit { display: block; width: 100%; text-align: left; padding: 15px 0; border-bottom: 1px solid var(--l-linha); font-family: "Literata", var(--l-serif); font-size: 16px; line-height: 1.6; color: var(--l-txt); }
.ltr-cit small { display: block; margin-top: 6px; font-family: var(--l-sans); font-size: 14px; line-height: 1.45; color: var(--l-fg); }
.ltr-cit small b { color: var(--l-ouro); font-weight: 600; }


@media (min-width: 900px) {
  .ltr-apostilas-col { display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); gap: 72px; align-items: start; }
  .ltr-apostilas-col .ltr-mats { margin-top: 0; }
  .ltr-apostilas-col .ltr-lado { position: sticky; top: 100px; }
  .ltr-seguir h3 { font-size: 32px; }
  .ltr-seguir p { font-size: 17px; }
  .ltr-total b { font-size: 28px; }
  .ltr-total span { font-size: 16px; }
  .ltr-mats-tit { font-size: 28px; }
  .ltr-guia { font-size: 17px; }
  .ltr-mat-l { grid-template-columns: 52px minmax(0, 1fr) auto; column-gap: 16px; row-gap: 2px; padding: 22px 0 12px; }
  .ltr-num { font-size: 34px; grid-row: 1 / span 2; }
  .ltr-mat-t b { font-size: 21px; }
  .ltr-mat-t small { font-size: 16px; }
  .ltr-mat-a { grid-column: 3; grid-row: 1; grid-template-columns: 150px 150px; }
  .ltr-raiz button.ltr-ver { grid-column: 2; justify-content: flex-start; font-size: 16px; }
  .ltr-tops-dica, .ltr-tops { margin-left: 68px; }
  .ltr-tops-dica { font-size: 15.5px; }
  .ltr-raiz button.ltr-top { font-size: 17px; }
  .ltr-top b { font-size: 15.5px; }
  .ltr-raiz button.ltr-top:hover { color: var(--l-fg); }
}
/* Celular (dono, 31/10/2026: "tudo gigantesco, não dá pra ver quase nada"): letra e botões
   mais enxutos na lista, pra caber mais na tela. O texto do tópico (leitor) não muda. */
@media (max-width: 600px) {
  /* 02/11/2026 (dono, iPhone 11: "tá tudo muito grande"): mais um degrau menor. */
  .ltr-bib { margin-top: 4px; }
  .ltr-painel { padding-top: 12px; }
  .ltr-seguir h3 { font-size: 17.5px; margin-top: 4px; }
  .ltr-seguir p { font-size: 13.5px; }
  .ltr-botao { min-height: 44px; margin-top: 12px; font-size: 15px; }
  .ltr-total { margin-top: 14px; }
  .ltr-total b { font-size: 17px; }
  .ltr-total span { font-size: 13px; }
  .ltr-mats { margin-top: 20px; }
  .ltr-mats-tit { font-size: 17px; }
  .ltr-guia { font-size: 13.5px; margin-bottom: 2px; }
  .ltr-mat-l { grid-template-columns: 26px minmax(0, 1fr); column-gap: 10px; row-gap: 9px; padding: 12px 0 2px; }
  .ltr-num { font-size: 18px; }
  .ltr-mat-t b { font-size: 15px; }
  .ltr-mat-t small { font-size: 12.5px; }
  .ltr-raiz button.ltr-btn-ler, .ltr-raiz button.ltr-btn-pdf { min-height: 40px; font-size: 14px; border-radius: 9px; }
  .ltr-raiz button.ltr-ver { min-height: 36px; font-size: 13.5px; }
  .ltr-tops-dica { font-size: 13px; }
  .ltr-raiz button.ltr-top { min-height: 44px; font-size: 14.5px; }
  .ltr-top b { font-size: 13.5px; }
}
/* A aba Apostilas usa a tela toda no computador (dono, 31/10/2026): o limite
   de largura do resto do site deixava sobra dos dois lados e letra pequena. */
@media (min-width: 1100px) {
  .mp-wrap:has(.mp-aba-apostilas) { max-width: 1680px; padding-left: 56px; padding-right: 56px; }
  .tela[data-tela="meus-produtos"]:has(.mp-aba-apostilas) > .rotulo-secao { max-width: 1680px; padding-left: 56px; padding-right: 56px; }
  .mp-nome-sigla { font-size: 34px; }
  .mp-nome-cheio { font-size: 15px; }
  .mp-nome-cheio-so { font-size: 28px; }
  .mp-aba-apostilas .mp-cargo-titulo { font-size: 16px; }
}

/* ---------- leitor ---------- */
body.ltr-aberto { overflow: hidden !important; }
body.ltr-aberto #chatWidgetBotao, body.ltr-aberto #chatWidgetPainel { display: none !important; }
/* PDF pedido de dentro do leitor: os avisos do download ficam por cima dele. */
body.ltr-aberto #modalGerandoPdf, body.ltr-aberto #modalErroDownload { z-index: 9700; }
#ltrLeitor { position: fixed; inset: 0; z-index: 9500; background: var(--l-bg); color: var(--l-fg); font-family: var(--l-sans); font-size: 15px; line-height: 1.5; display: grid; grid-template-rows: 1fr; overflow: hidden; }
#ltrLeitor[hidden] { display: none !important; }
#ltrLeitor * { box-sizing: border-box; }
#ltrLinha { position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 6; }
#ltrLinha i { display: block; height: 100%; width: 0; background: var(--l-ouro); }
#ltrTopo { position: absolute; top: 0; left: 0; right: 0; z-index: 5; background: var(--l-bg); display: flex; align-items: center; height: 58px; border-bottom: 1px solid var(--l-linha); padding: 2px max(4px, env(safe-area-inset-right, 0px)) 0 max(4px, env(safe-area-inset-left, 0px)); transition: transform .22s ease; }
#ltrTopo.some { transform: translateY(-100%); }
#ltrLeitor button.ltr-ic { width: 44px; height: 44px; display: grid; place-items: center; color: var(--l-fg); border-radius: 50%; flex: none; }
.ltr-tt { flex: 1; min-width: 0; padding-left: 2px; }
.ltr-tt b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--l-fg); }
.ltr-tt small { display: block; color: var(--l-mut); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.ltr-rot-btn { display: none; }

#ltrCorpo { position: relative; min-height: 0; min-width: 0; height: 100%; display: flex; }
.ltr-lat { display: none; }
#ltrRolo { flex: 1; min-width: 0; height: 100%; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
#ltrRolo.pag { overflow: hidden; }
#ltrTexto { --fs: 15px; --lh: 1.7; --mg: 22px; --fl: "Literata", Georgia, serif;
  padding: 78px max(var(--mg), env(safe-area-inset-right, 0px)) 104px max(var(--mg), env(safe-area-inset-left, 0px));
  font-family: var(--fl); font-size: var(--fs); line-height: var(--lh); color: var(--l-txt); max-width: 44em; margin: 0 auto; -webkit-touch-callout: none; }
/* Marcar ligado: arrastar de lado marca, arrastar pra cima/baixo continua rolando. */
#ltrTexto.caneta { touch-action: pan-y; cursor: text; }
#ltrTexto.just [data-t] { text-align: justify; hyphens: auto; }
:where(#ltrTexto p) { margin: 0; }
#ltrTexto > * + * { margin-top: 1.05em; }
#ltrTexto h1, #ltrTexto h2, #ltrTexto h3 { font-family: var(--l-serif); font-weight: 600; text-wrap: balance; color: var(--l-fg); margin-bottom: 0; }
#ltrTexto h1 { font-size: 1.65em; line-height: 1.16; margin-top: 0; }
#ltrTexto h2 { font-size: 1.32em; line-height: 1.22; margin-top: 1.9em; break-after: avoid; }
#ltrTexto h3 { font-size: 1.1em; line-height: 1.3; margin-top: 1.6em; break-after: avoid; font-family: var(--l-sans); }
.ltr-ab { font-family: var(--l-sans); font-size: 13px; color: var(--l-mut); }
.ltr-ab b { color: var(--l-ouro); letter-spacing: .09em; text-transform: uppercase; font-size: 12px; display: block; margin-bottom: 8px; }
#ltrTexto strong { color: var(--l-fg); font-weight: 600; }
#ltrTexto em.tax { font-style: italic; color: var(--l-azul2); }
.ltr-rot { display: flex; align-items: center; gap: 7px; font-family: var(--l-sans); font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 5px; }
.ltr-bx-atencao .ltr-rot, .ltr-bx-banca .ltr-rot { color: var(--l-ouro); } .ltr-bx-conceito .ltr-rot { color: var(--l-azul2); } .ltr-bx-memorizar .ltr-rot { color: var(--l-verde); } .ltr-bx-exemplo .ltr-rot { color: var(--l-mut); }
#ltrTexto .ltr-bx-atencao p, #ltrTexto .ltr-bx-conceito p, #ltrTexto .ltr-bx-memorizar p, #ltrTexto .ltr-bx-banca p { color: var(--l-fg); }
#ltrTexto .ltr-bx-exemplo p { color: var(--l-mut); font-size: .95em; }
.ltr-tb { font-size: .93em; }
.ltr-tb-l { padding: .8em 0; border-top: 1px solid var(--l-linha); }
.ltr-tb-l:last-child { border-bottom: 1px solid var(--l-linha); }
.ltr-tb-t { font-weight: 600; color: var(--l-fg); }
.ltr-tb-c { font-family: var(--l-sans); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--l-mut); margin-top: .7em; }
.ltr-falando { background: var(--l-fala); box-shadow: 0 0 0 .4em var(--l-fala); }
#ltrTexto.foco > * { opacity: .3; transition: opacity .2s; }
#ltrTexto.foco > .atual { opacity: 1; }

#ltrFim { font-family: var(--l-sans); border-top: 1px solid var(--l-linha); padding-top: 26px; margin-top: 2.4em !important; }
#ltrFim h2 { font-family: var(--l-serif); font-size: 24px; margin: 8px 0 0; }
#ltrFim > p { color: var(--l-mut); font-size: 15px; line-height: 1.5; margin-top: 6px; }
#ltrFim .ltr-link { font-size: 15px; }
.ltr-q { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--l-linha); font-size: 16px; line-height: 1.5; color: var(--l-fg); }
.ltr-q-fonte { color: var(--l-mut); font-size: 13px; margin: 0 0 6px; }
.ltr-q-en { white-space: pre-line; margin: 0; }
.ltr-q-alts { display: grid; gap: 8px; margin-top: 12px; }
#ltrLeitor button.ltr-alt { display: flex; gap: 10px; width: 100%; min-height: 48px; padding: 10px 12px; text-align: left; border: 1px solid var(--l-linha); border-radius: 10px; color: var(--l-fg); font-size: 15px; line-height: 1.4; }
.ltr-alt b { flex: none; width: 1.3em; color: var(--l-mut); }
#ltrLeitor button.ltr-alt.certa { border-color: var(--l-verde); box-shadow: inset 0 0 0 1px var(--l-verde); }
#ltrLeitor button.ltr-alt.errada { border-color: var(--l-verm); box-shadow: inset 0 0 0 1px var(--l-verm); }
.ltr-q-res { margin: 12px 0 0; font-weight: 700; font-size: 15px; }
.ltr-q-res.ok { color: var(--l-verde); } .ltr-q-res.nao { color: var(--l-verm); }
.ltr-q-com { white-space: pre-line; margin: 6px 0 0; color: var(--l-mut); font-size: 15px; }

#ltrBarra { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; background: var(--l-bg); border-top: 1px solid var(--l-linha); padding: 6px max(10px, env(safe-area-inset-right, 0px)) max(8px, env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-left, 0px)); transition: transform .22s ease; user-select: none; -webkit-user-select: none; }
#ltrBarra.some { transform: translateY(102%); }
.ltr-nav4 { display: grid; grid-template-columns: repeat(4, 1fr); }
#ltrLeitor .ltr-nav4 button { min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--l-mut); font-size: 12.5px; font-weight: 600; }
.ltr-aa { font-family: var(--l-serif); font-size: 20px; line-height: 24px; height: 24px; }
.ltr-dica { text-align: center; color: var(--l-mut); font-size: 13px; padding: 2px 0 4px; }
.ltr-cores { display: grid; grid-template-columns: repeat(4, 1fr); }
#ltrLeitor button.ltr-cor { min-height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 12.5px; color: var(--l-mut); font-weight: 600; }
.ltr-cor i { width: 26px; height: 26px; border-radius: 50%; display: block; }
#ltrLeitor button.ltr-cor[aria-pressed="true"] { color: var(--l-fg); }
.ltr-cor[aria-pressed="true"] i { box-shadow: 0 0 0 2px var(--l-bg), 0 0 0 4px var(--l-fg); }
.ltr-acoes { display: flex; gap: 4px; border-top: 1px solid var(--l-linha); margin-top: 4px; padding-top: 4px; }
#ltrLeitor .ltr-acoes button { flex: 1 1 0; min-width: 0; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--l-fg); border-radius: 8px; padding: 0 2px; }
#ltrLeitor .ltr-acoes button[aria-pressed="true"] { color: var(--l-ouro); }
#ltrLeitor .ltr-acoes button.fim { color: var(--l-azul2); }
.ltr-seg { display: flex; flex: 3 1 0; border: 1px solid var(--l-linha); border-radius: 9px; overflow: hidden; }
#ltrLeitor .ltr-seg button { border-radius: 0; }
#ltrLeitor .ltr-seg button[aria-pressed="true"] { background: var(--l-fg); color: var(--l-bg); }
.ltr-player { display: flex; align-items: center; justify-content: space-between; gap: 2px; min-height: 58px; }
#ltrLeitor button.ltr-play { width: 52px; height: 52px; border-radius: 50%; background: var(--l-azul); color: var(--l-nob); display: grid; place-items: center; }
#ltrLeitor button.ltr-vel { min-width: 58px; min-height: 44px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--l-fg); }

#ltrVeu { position: absolute; inset: 0; background: var(--l-veu); z-index: 8; }
#ltrVeu.leve { background: transparent; }
#ltrFolha { position: absolute; left: 0; right: 0; bottom: 0; max-height: 82%; z-index: 9; background: var(--l-bg2); border-radius: 18px 18px 0 0; box-shadow: 0 -12px 40px var(--l-sombra); overflow-y: auto; overscroll-behavior: contain; padding: 8px max(18px, env(safe-area-inset-right, 0px)) max(22px, env(safe-area-inset-bottom, 0px)) max(18px, env(safe-area-inset-left, 0px)); animation: ltr-sobe .22s ease; }
#ltrFolha.curta { max-height: 58%; }
@keyframes ltr-sobe { from { transform: translateY(24px); opacity: .4; } to { transform: none; opacity: 1; } }
.ltr-pega { width: 38px; height: 4px; border-radius: 2px; background: var(--l-linha); margin: 2px auto 8px; }
.ltr-f-cab { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.ltr-f-cab h2 { font-family: var(--l-serif); font-size: 20px; font-weight: 600; margin: 0; color: var(--l-fg); }
.ltr-f-abas { display: flex; gap: 22px; border-bottom: 1px solid var(--l-linha); margin-bottom: 8px; }
#ltrLeitor .ltr-f-abas button { min-height: 46px; color: var(--l-mut); font-weight: 600; position: relative; }
#ltrLeitor .ltr-f-abas button[aria-selected="true"] { color: var(--l-fg); }
.ltr-f-abas button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--l-ouro); }
#ltrLeitor button.ltr-lin { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; text-align: left; color: var(--l-txt); padding: 6px 0; line-height: 1.3; font-size: 15px; }
#ltrLeitor button.ltr-lin.sub { padding-left: 16px; color: var(--l-mut); font-size: 14px; }
#ltrLeitor button.ltr-lin.aqui { color: var(--l-fg); font-weight: 600; }
.ltr-lin small { margin-left: auto; color: var(--l-mut); font-size: 12.5px; flex: none; font-weight: 400; }
.ltr-rot2 { font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--l-mut); margin: 18px 0 6px; display: block; }
.ltr-temas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
#ltrLeitor button.ltr-tema { min-height: 66px; border-radius: 12px; border: 1px solid var(--l-linha); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font-size: 12.5px; font-weight: 600; background: var(--amostra-bg); color: var(--amostra-fg); }
.ltr-tema b { font-family: var(--l-serif); font-size: 20px; line-height: 1.2; }
#ltrLeitor button.ltr-tema[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--l-azul2); }
.ltr-t-escuro { --amostra-bg: #04060c; --amostra-fg: #edf1f9; } .ltr-t-claro { --amostra-bg: #fff; --amostra-fg: #121a2b; }
.ltr-t-sepia { --amostra-bg: #f4ecdc; --amostra-fg: #2c2214; } .ltr-t-preto { --amostra-bg: #000; --amostra-fg: #d9dde6; }
.ltr-grupoB { display: flex; gap: 8px; }
#ltrLeitor button.ltr-op { flex: 1; min-width: 0; min-height: 46px; border: 1px solid var(--l-linha); border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--l-txt); padding: 2px 4px; }
#ltrLeitor button.ltr-op[aria-pressed="true"] { border-color: var(--l-fg); color: var(--l-fg); box-shadow: inset 0 0 0 1px var(--l-fg); }
.ltr-tam { display: flex; align-items: center; gap: 8px; }
.ltr-tam output { flex: 1; text-align: center; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--l-fg); }
#ltrLeitor .ltr-tam button.ltr-op { flex: 0 0 64px; font-family: var(--l-serif); font-size: 18px; }
#ltrLeitor button.ltr-chave { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 50px; text-align: left; border-bottom: 1px solid var(--l-linha); font-size: 15px; color: var(--l-txt); }
.ltr-chave i { width: 42px; height: 25px; border-radius: 13px; background: var(--l-linha); position: relative; flex: none; transition: background .15s; }
.ltr-chave i::after { content: ""; position: absolute; width: 19px; height: 19px; border-radius: 50%; background: var(--l-fg); left: 3px; top: 3px; transition: transform .15s; }
.ltr-chave[aria-pressed="true"] i { background: var(--l-azul); }
.ltr-chave[aria-pressed="true"] i::after { transform: translateX(17px); background: var(--l-nob); }
#ltrLeitor .ltr-caixa { width: 100%; min-height: 48px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--l-linha); background: var(--l-bg); color: var(--l-fg); font: inherit; font-size: 16px; line-height: 1.45; display: block; }
#ltrLeitor textarea.ltr-caixa { min-height: 110px; resize: vertical; }
#ltrLeitor button.ltr-res { display: block; width: 100%; text-align: left; padding: 12px 0; border-bottom: 1px solid var(--l-linha); font-size: 14.5px; line-height: 1.5; color: var(--l-txt); }
.ltr-res b { background: var(--l-m-am); font-weight: 600; color: var(--l-fg); }
.ltr-qt { font-family: "Literata", var(--l-serif); font-size: 15.5px; line-height: 1.55; margin: 8px 0 14px; color: var(--l-txt); }
#ltrAviso { position: absolute; left: 50%; transform: translateX(-50%); bottom: 92px; z-index: 12; max-width: calc(100% - 36px); width: max-content; background: var(--l-fg); color: var(--l-bg); font-size: 14px; font-weight: 600; padding: 10px 14px; border-radius: 10px; line-height: 1.35; pointer-events: none; opacity: 0; transition: opacity .18s; }
#ltrAviso.on { opacity: 1; }
#ltrCarrega { padding: 110px 22px; text-align: center; color: var(--l-mut); font-family: var(--l-sans); font-size: 15px; }

/* ---------- leitor no computador: 3 colunas, nada de folha de baixo ---------- */
@media (min-width: 900px) {
  #ltrLeitor { grid-template-rows: 64px minmax(0, 1fr); }
  #ltrLinha { top: 62px; }
  #ltrTopo, #ltrTopo.some { position: static; transform: none; height: 64px; padding: 0 16px; gap: 2px; }
  .ltr-tt { padding-left: 6px; }
  .ltr-tt b { font-size: 15px; }
  #ltrLeitor button.ltr-rot-btn { display: flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 12px; border-radius: 10px; color: var(--l-fg); font-size: 14px; font-weight: 600; flex: none; }
  #ltrLeitor button.ltr-rot-btn[aria-pressed="true"] { background: var(--l-fg); color: var(--l-bg); }
  #ltrLeitor button.ltr-rot-btn:hover, #ltrLeitor button.ltr-ic:hover { background: var(--l-linha); }
  #ltrLeitor button.ltr-rot-btn[aria-pressed="true"]:hover { background: var(--l-fg); }
  .ltr-lat { display: block; flex: 0 0 300px; height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 18px 22px 40px; border-right: 1px solid var(--l-linha); scrollbar-width: thin; }
  #ltrLatDir { border-right: 0; border-left: 1px solid var(--l-linha); flex-basis: 320px; }
  #ltrLeitor.sem-paineis .ltr-lat { display: none; }
  #ltrTexto { padding-top: 44px; padding-bottom: 120px; }
  #ltrTexto h1 { font-size: 2em; }
  .ltr-nav4 { display: none; }
  #ltrBarra { left: 50%; right: auto; bottom: 22px; width: 520px; max-width: calc(100% - 32px); transform: translateX(-50%); border: 1px solid var(--l-linha); border-radius: 16px; background: var(--l-bg2); box-shadow: 0 14px 40px var(--l-sombra); padding: 6px 12px 8px; }
  #ltrBarra.some, #ltrBarra.vazia { display: none; }
  #ltrFolha, #ltrFolha.curta { left: auto; right: 20px; top: 74px; bottom: auto; width: 400px; max-height: calc(100% - 94px); border-radius: 16px; box-shadow: 0 14px 40px var(--l-sombra); border: 1px solid var(--l-linha); animation: none; }
  .ltr-pega { display: none; }
  #ltrVeu { background: transparent; }
  #ltrAviso { bottom: 30px; }
  .ltr-so-celular { display: none; }
}
@media (min-width: 900px) and (max-width: 1239px) {
  #ltrLatDir { display: none; }
  .ltr-lat { flex-basis: 260px; }
}
@media (max-width: 899px) { .ltr-so-pc { display: none; } }
@media (prefers-reduced-motion: reduce) {
  #ltrTopo, #ltrBarra, #ltrFolha, .ltr-chave i, .ltr-chave i::after, #ltrAviso { transition: none; animation: none; }
}

/* Oferta da assinatura no fim do tópico (10/11/2026) — texto solto + botão dourado discreto */
.ltr-assin { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--l-linha); color: var(--l-mut); font-size: 15px; line-height: 1.5; }
.ltr-assin b { color: var(--l-fg); }
.ltr-raiz button.ltr-assin-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 10px; padding: 0 18px;
  border-radius: 10px; border: 1px solid var(--l-ouro); color: var(--l-ouro); background: transparent; font-weight: 700; font-size: 15px; cursor: pointer; }
