/* App Enfermagem na Prática · design 5 (ilustrado, leitura limpa), claro e escuro */
:root {
  --fundo: #FFFBF4; --sup: #fff; --painel: #F7EEDF; --tinta: #2B2724; --fraco: #5E5751;
  --contorno: #2B2724; --leve: #E6DAC6; --sombra: 3px 3px 0 #2B2724; --sombra-p: 2px 2px 0 #2B2724;
  --cab: #7A2236; --cab-tinta: #fff; --cab-mao: #FFD98A; --mao: #7A2236;
  --ativo: #FFD98A; --ativo-tinta: #2B2724; --marca: #FFD98A; --marca-tinta: inherit;
  --alerta: #D33A3A; --alerta-tinta: #A3262F; --alerta-fundo: #FFF6F6;
  --escala: 1;
  color-scheme: light;
}
:root[data-tema="escuro"] {
  --fundo: #1A1416; --sup: #251D20; --painel: #211A1C; --tinta: #F2E8DC; --fraco: #C2B4A8;
  --contorno: #6A5A5D; --leve: #3A3033; --sombra: 3px 3px 0 #0A0708; --sombra-p: 2px 2px 0 #0A0708;
  --cab: #3E1119; --cab-tinta: #F2E8DC; --cab-mao: #EEE8E2; --mao: #FFB4AB;
  --ativo: #EEE8E2; --ativo-tinta: #1A1416; --marca: #4A4245; --marca-tinta: #fff;
  --alerta: #FF8A80; --alerta-tinta: #FFB4AB; --alerta-fundo: #2A1A1C;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fundo); color: var(--tinta); font-family: "DM Sans", system-ui, sans-serif; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--mao); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mao { font-family: "Caveat", cursive; font-weight: 700; color: var(--mao); }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------------------------------------------------------------- peças do design */
.carta { background: var(--sup); border: 2px solid var(--contorno); border-radius: 18px; box-shadow: var(--sombra); }
.leve { background: var(--sup); border: 1.5px solid var(--leve); border-radius: 16px; }
.btn-ic { width: 44px; height: 44px; display: grid; place-items: center; flex: none; border: 2px solid var(--contorno); background: var(--sup); color: var(--tinta); border-radius: 14px; box-shadow: var(--sombra-p); cursor: pointer; padding: 0; text-decoration: none; font-weight: 800; }
.btn-ic.on { background: var(--ativo); color: var(--ativo-tinta); }
.sticker { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 12px; border: 2px solid var(--contorno); background: var(--sup); font-weight: 700; font-size: 14.5px; white-space: nowrap; box-shadow: var(--sombra-p); cursor: pointer; text-decoration: none; color: var(--tinta); }
.sticker.on { background: var(--ativo); color: var(--ativo-tinta); }
.campo-busca { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 8px 0 14px; }
.campo-busca input { border: 0; outline: 0; flex: 1; min-width: 0; background: transparent; font-size: 16px; }
.campo-busca input::placeholder { color: var(--fraco); }
mark { background: var(--marca); color: var(--marca-tinta); border-radius: 4px; padding: 0 2px; }

/* ---------------------------------------------------------------- estrutura */
.app { min-height: 100vh; }
.lateral { display: none; }
/* busca do topo: em toda tela (fora o início e a busca), primeiro na página e depois em tudo */
.topo-busca { position: sticky; top: 0; z-index: 15; display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--fundo); border-bottom: 1.5px solid var(--leve); }
.topo-busca .campo-busca { flex: 1; height: 48px; box-shadow: var(--sombra-p); }
.topo-busca kbd { display: none; }
.com-topo .barra { top: 69px; padding-top: 8px; padding-bottom: 8px; }
.achados { display: flex; align-items: center; gap: 0; font-size: 13px; font-weight: 600; color: var(--fraco); white-space: nowrap; }
.mini-btn { width: 36px; height: 36px; border: 0; background: transparent; color: var(--tinta); border-radius: 10px; display: grid; place-items: center; cursor: pointer; padding: 0; }
.mini-btn:hover { background: var(--painel); }
.mini-link { margin-left: 4px; padding: 6px 10px; border-radius: 999px; border: 1.5px solid var(--leve); font-size: 12.5px; font-weight: 700; text-decoration: none; color: var(--mao); white-space: nowrap; }
.campo-busca input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
@media (max-width: 999px) { .achados [data-conta] { font-size: 12px; } .mini-link { display: none; } }
.mini-btn .ic { width: 18px; height: 18px; }
.sugestoes { position: absolute; top: calc(100% - 2px); left: 12px; right: 12px; max-height: 70vh; overflow: auto; padding: 8px; z-index: 30; }
.sugestoes .sug { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; text-decoration: none; }
.sugestoes .sug:hover, .sugestoes .sug:focus-visible { background: var(--painel); }
.sugestoes .sug b { display: block; font-size: 15px; font-weight: 800; }
.sugestoes .onde { font-size: 12.5px; color: var(--fraco); }
.sugestoes .q { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--pp); border: 1.5px solid var(--p); }
.sugestoes .q svg { width: 34px; height: 30px; }
.sugestoes .aviso { margin: 4px 8px 8px; font-size: 14px; color: var(--fraco); }
.sugestoes .aviso .mao { font-size: 20px; margin-right: 4px; }
.sugestoes .todos { display: block; padding: 10px 8px 6px; font-weight: 800; font-size: 14.5px; text-decoration: none; color: var(--mao); }
mark.local { background: var(--marca); color: var(--marca-tinta); }
mark.local.atual { background: var(--ativo); color: var(--ativo-tinta); outline: 2px solid var(--contorno); border-radius: 4px; }
.vista { padding-bottom: 104px; max-width: 760px; margin: 0 auto; }
.menu { position: fixed; left: 12px; right: 12px; bottom: 14px; z-index: 20; display: flex; gap: 4px; padding: 6px; max-width: 520px; margin: 0 auto; }
.menu a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border-radius: 14px; font-size: 11.5px; font-weight: 700; text-decoration: none; }
.menu a.on { background: var(--ativo); color: var(--ativo-tinta); }

.barra { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: var(--fundo); border-bottom: 1.5px solid var(--leve); }
.barra .meio { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; line-height: 1.25; text-align: center; }
.barra .meio b { font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.barra .meio span { font-size: 12.5px; color: var(--fraco); }
.secao { padding: 18px; display: flex; flex-direction: column; gap: 18px; }
.secao h2 { margin: 0; font-size: 17px; font-weight: 800; }

/* início */
.cab { background: var(--cab); color: var(--cab-tinta); padding: 24px 18px 26px; border-bottom: 2px solid var(--contorno); position: relative; display: flex; flex-direction: column; gap: 14px; }
.cab .mao { color: var(--cab-mao); font-size: 22px; }
.cab h1 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.cab .topo { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; position: relative; z-index: 1; }
.cab .carta { color: var(--tinta); position: relative; z-index: 1; }
.rapidas { display: flex; gap: 8px; overflow-x: auto; margin: 0 -18px; padding: 2px 18px 6px; scroll-padding: 0 18px; scrollbar-width: none; }
.rapidas::-webkit-scrollbar { display: none; }
@media (min-width: 1000px) { .rapidas { flex-wrap: wrap; margin: 0; padding: 2px; } }
.cores-r { --r1: #FDE2E2; --r2: #DDF1E8; --r3: #E2E5F7; --r4: #FBEFD6; --r5: #EEE6F9; }
:root[data-tema="escuro"] .cores-r { --r1: #4A2328; --r2: #1E3A31; --r3: #262C4A; --r4: #353032; --r5: #33284A; }
.continuar { display: flex; gap: 12px; align-items: center; padding: 12px 14px; text-decoration: none; }
.continuar .capinha { width: 38px; height: 46px; flex: none; border-radius: 6px; border: 2px solid var(--contorno); }
.continuar b { display: block; font-size: 16px; font-weight: 800; }
.continuar span { font-size: 13.5px; color: var(--fraco); }
.estante { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.livro { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; min-height: 104px; padding: 12px; text-decoration: none; }
.livro b { font-size: 15px; font-weight: 800; line-height: 1.2; }
.livro span { font-size: 12.5px; color: var(--fraco); }
.livro.breve { opacity: .55; box-shadow: none; border-style: dashed; pointer-events: none; }
.thumb { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--th); border: 1.5px solid var(--leve); }
.thumb img { width: 28px; height: 28px; object-fit: contain; }
.thumb .ic { width: 20px; height: 20px; }
.thumb.g { width: 58px; height: 58px; border-radius: 14px; border: 2px solid var(--contorno); }
.thumb.g img { width: 50px; height: 50px; }
.thumb.g .ic { width: 30px; height: 30px; }
.thumb.do-livro { background: var(--cab); color: #fff; }
:root[data-tema="escuro"] .thumb:not(.do-livro) { background: color-mix(in srgb, var(--th) 22%, #251D20); }
.livro .num { width: 30px; height: 30px; border-radius: 9px; border: 2px solid var(--contorno); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px; }

/* sumário do guia */
.capa-guia { display: flex; gap: 14px; align-items: flex-start; }
.capa-guia h1 { margin: 2px 0 6px; font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.capa-guia p { margin: 0; font-size: 15px; color: var(--fraco); }
.capa-guia svg { width: 110px; height: 96px; flex: none; }
.cap-lista { display: flex; flex-direction: column; gap: 12px; }
.cap-item { padding: 12px 14px; }
.cap-item .ch { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; }
.cap-item .ch i { width: 30px; height: 30px; border-radius: 9px; border: 2px solid var(--contorno); display: grid; place-items: center; color: #fff; font-style: normal; font-size: 13px; flex: none; }
.cap-item ol { list-style: none; margin: 8px 0 0; padding: 0 0 0 40px; }
.cap-item li a { display: flex; gap: 8px; min-height: 40px; align-items: center; text-decoration: none; font-size: 15px; }
.cap-item li a span:first-child { flex: 1; }
.cap-item li a span:last-child { color: var(--fraco); font-size: 13.5px; }

/* busca */
.filtros { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; }
.resultados { display: flex; flex-direction: column; gap: 12px; }
.res { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; text-decoration: none; }
.res .q { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--pp); border: 1.5px solid var(--p); }
.res .q svg { width: 38px; height: 34px; }
.continuar.res b { font-size: 16px; }
.res b { display: block; font-size: 15.5px; font-weight: 800; }
.res .trecho { font-size: 14px; display: block; }
.res .onde { font-size: 12.5px; color: var(--fraco); display: block; margin-top: 2px; }
.melhor { overflow: hidden; text-decoration: none; display: block; }
.melhor .faixa { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 14px; border-bottom: 2px solid var(--contorno); background: var(--pp, var(--painel)); }
.melhor .faixa .mao { font-size: 18px; }
.etiqueta { color: #fff; font-weight: 800; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; }
.melhor .corpo { padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.melhor .corpo b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.melhor .corpo .trecho { font-size: 15px; }
.vazio { text-align: center; color: var(--fraco); padding: 30px 10px; }
.vazio .mao { font-size: 24px; display: block; }

/* página */
/* anterior / próxima com o título inteiro: no celular um embaixo do outro, no computador lado a lado */
.pager { display: flex; flex-direction: column; gap: 10px; padding: 8px 16px 20px; }
.pager a { white-space: normal; min-height: 56px; padding: 10px 14px; gap: 12px; }
.pager a .rot-pg { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.25; }
.pager a .rot-pg small { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.pager a .rot-pg span { font-size: 15px; font-weight: 800; }
.pager a.prox .rot-pg { text-align: right; }
.fonte-pag { font-size: 13px; color: var(--fraco); padding: 0 18px; }
dialog.original { padding: 0; border: 2px solid var(--contorno); border-radius: 16px; max-width: min(96vw, 820px); max-height: 92vh; background: var(--sup); color: var(--tinta); }
dialog.original::backdrop { background: rgba(20, 12, 14, .7); }
dialog.original img { display: block; width: 100%; height: auto; }
dialog.original header { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 14px; position: sticky; top: 0; background: var(--sup); border-bottom: 1.5px solid var(--leve); font-weight: 700; font-size: 14px; }

/* ---------------------------------------------------------------- conteúdo dos guias (convertido do HTML original) */
.t-intro  { --c: #6B1F2E; --p: #F6E7EA; --pp: #FCF5F6; }
.t-sangue { --c: #C8374F; --p: #FBE5E9; --pp: #FEF4F6; }
.t-coag   { --c: #2F6FB0; --p: #E2EEFA; --pp: #F3F8FD; }
.t-bioq   { --c: #C07F12; --p: #FBF0D9; --pp: #FEF9EE; }
.t-renal  { --c: #2E8B6A; --p: #DFF3EA; --pp: #F2FAF6; }
.t-figado { --c: #C8621E; --p: #FCE9DA; --pp: #FEF6EF; }
.t-cardio { --c: #7A4FB5; --p: #EEE6F9; --pp: #F8F4FD; }
.t-gaso   { --c: #17879A; --p: #DCF1F4; --pp: #F1F9FA; }
.t-urina  { --c: #A48607; --p: #F8F1CC; --pp: #FDFAEA; }
.t-crit   { --c: #D12E2E; --p: #FDE2E2; --pp: #FEF3F3; }
.t-vida   { --c: #C2477F; --p: #FBE4EF; --pp: #FEF4F8; }
.t-img    { --c: #3B4BA8; --p: #E5E8F8; --pp: #F4F5FC; }
:root[data-tema="escuro"] [class*="t-"] { --p: color-mix(in srgb, var(--c) 42%, #251D20); --pp: color-mix(in srgb, var(--c) 16%, #1F181A); }
:root[data-tema="escuro"] .t-intro { --c: #E07A8E; } :root[data-tema="escuro"] .t-coag { --c: #6FA6E0; } :root[data-tema="escuro"] .t-img { --c: #8C97E6; }
:root[data-tema="escuro"] .t-cardio { --c: #B08BE6; } :root[data-tema="escuro"] .t-renal { --c: #5CC09A; } :root[data-tema="escuro"] .t-crit { --c: #FF7B7B; }
:root[data-tema="escuro"] .t-bioq { --c: #E0A848; } :root[data-tema="escuro"] .t-sangue { --c: #F07A92; } :root[data-tema="escuro"] .t-gaso { --c: #4CC3D6; }

.gpag { padding: 18px 16px 8px; font-size: calc(16px * var(--escala)); }
.gcab { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 12px; border-bottom: 3px solid var(--c); margin-bottom: 14px; }
.gcab .tag { display: inline-block; background: var(--c); color: #fff; font-weight: 800; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 20px; }
:root[data-tema="escuro"] .gcab .tag { color: #1A1416; }
.gcab h1 { margin: 8px 0 2px; font-size: calc(30px * var(--escala)); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.gcab .mao { font-size: calc(21px * var(--escala)); color: var(--c); line-height: 1.1; margin: 4px 0 0; }
.gcab svg { width: 66px; height: 60px; flex: none; }
.gcorpo { display: flex; flex-direction: column; gap: 12px; }
.gcorpo b, .gcorpo strong { font-weight: 700; color: var(--tinta); }
.gcorpo .grid2, .gcorpo .grid3, .gcorpo .grid4 { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.gcorpo .grid2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.gcorpo .grid2:has(> .tile), .gcorpo .grid2:has(> .badgebig), .gcorpo .grid2:has(> .lq) { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
/* cartões com texto (cálculo, passo a passo) precisam de largura: um por linha no celular */
.gcorpo .grid3:has(> .card), .gcorpo .grid4:has(> .card), .gcorpo .grid3:has(> .el), .gcorpo .grid4:has(> .el) { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.gcorpo .small:has(> .qi) { line-height: 2; }
.gcorpo .card .formula { margin: 6px 0 8px; font-size: 1.05em; }
/* entre os blocos da página o espaço vem do gap do .gcorpo; dentro de um cartão, das margens */
.gcorpo > .mt, .gcorpo > .mt2 { margin-top: 0; }
.gcorpo .mt { margin-top: 10px; } .gcorpo .mt2 { margin-top: 14px; }
.gcorpo :is(.card, .el, .alerta, .postit, .badgebig, .lq, .conv, .fs) > * + * { margin-top: 10px; }
.gcorpo :is(.card, .el, .alerta) > :is(h3, h4, .elh) + * { margin-top: 0; }
.gcorpo .tile > * + * { margin-top: 4px; }
.gcorpo * + .chips { margin-top: 8px; }
.gcorpo .span2, .gcorpo .span3 { grid-column: 1 / -1; }
.gcorpo .card { background: var(--sup); border: 1.6px solid var(--p); border-radius: 16px; padding: 12px 14px; }
.gcorpo .card.fill { background: var(--pp); }
.gcorpo .card.solid { background: var(--p); border-color: transparent; }
.gcorpo .card h3 { display: flex; align-items: center; gap: 8px; font-size: 1.06em; margin: 0 0 8px; color: var(--c); line-height: 1.2; }
.gcorpo .card h4 { font-size: .95em; margin: 8px 0 2px; color: var(--c); }
.gcorpo .card p { margin: 4px 0; }
.gcorpo .card ul { margin: 4px 0; padding-left: 18px; }
.gcorpo svg.dh { width: 40px; height: 36px; flex: none; }
.gcorpo svg:not([class]) { flex: none; max-width: 64px; max-height: 60px; }   /* desenho solto, sem classe: nunca cresce além disso */
.gcorpo svg:not([class]):not([width]) { width: 48px; height: 44px; }
.gcorpo .dwrap { position: relative; } .gcorpo .dwrap .mk { position: absolute; right: -2px; bottom: 0; width: 26px; height: 26px; }
.gcorpo .dstep { display: grid; grid-template-columns: 74px 30px 1fr; align-items: center; margin-bottom: 4px; }
.gcorpo .dstep svg.d { width: 74px; height: 68px; display: block; } .gcorpo .dstep svg.c { width: 30px; height: 26px; display: block; }
.gcorpo .tile { position: relative; background: var(--sup); border: 2px solid var(--p); border-radius: 16px; padding: 10px; text-align: center; }
.gcorpo .tile.left { text-align: left; }
.gcorpo .tile svg.dd { width: 64px; height: 56px; display: block; margin: 0 auto 4px; }
.gcorpo .tt { font-weight: 800; color: var(--c); font-size: 1em; line-height: 1.2; }
.gcorpo .vv { font-weight: 800; font-size: 1.3em; line-height: 1.15; }
.gcorpo .small { font-size: .9em; color: var(--fraco); }
.gcorpo .small b { color: var(--tinta); }
.gcorpo .uu { font-size: .82em; color: var(--fraco); }
.gcorpo .chips { display: flex; flex-wrap: wrap; gap: 6px; line-height: 1.4; }
.gcorpo .chips span { display: inline-block; border-radius: 10px; padding: 3px 9px; font-size: .92em; }
.gcorpo .chip-ok { background: var(--pp); border: 1px solid var(--p); }
.gcorpo .chip-up { background: #FDECEA; color: #8f2a22; }
.gcorpo .chip-dn { background: #E7F0FA; color: #1f4f80; }
.gcorpo .chip-up b { color: #6e1d17; } .gcorpo .chip-dn b { color: #163b61; }
:root[data-tema="escuro"] .gcorpo .chip-up { background: #4A2328; color: #FFDAD6; }
:root[data-tema="escuro"] .gcorpo .chip-dn { background: #22324A; color: #D3E3FF; }
:root[data-tema="escuro"] .gcorpo .chip-up b, :root[data-tema="escuro"] .gcorpo .chip-dn b { color: #fff; }
.gcorpo .qi { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--c); color: #fff; font-weight: 800; font-size: 11.5px; margin-right: 5px; vertical-align: 1px; }
.gcorpo .ef { font-size: .9em; background: var(--pp); border-radius: 10px; padding: 6px 10px; color: var(--fraco); }
.gcorpo .ti { width: 1.05em; height: 1.05em; fill: none; stroke: var(--c); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -2px; }
.gcorpo .postit { background: #FFF1A1; font-family: "Caveat", cursive; font-size: 1.32em; line-height: 1.1; padding: 10px 14px; border-radius: 4px; box-shadow: 2px 3px 0 rgba(0,0,0,.08); transform: rotate(-.8deg); color: #3b3226; position: relative; }
.gcorpo .postit b { color: inherit; }
.gcorpo .postit.r { transform: rotate(.8deg); }
.gcorpo .postit.rosa { background: #FFD9E2; } .gcorpo .postit.azul { background: #D6ECFF; } .gcorpo .postit.verde { background: #D8F3DF; }
.gcorpo .postit.pd { padding-right: 70px; min-height: 70px; }
.gcorpo .postit .pdi { position: absolute; right: 6px; top: 50%; transform: translateY(-50%) rotate(6deg); width: 56px; height: 52px; }
:root[data-tema="escuro"] .gcorpo .postit { background: #3A3335; color: #F2E8DC; box-shadow: none; }
:root[data-tema="escuro"] .gcorpo .postit.rosa { background: #4A2A33; } :root[data-tema="escuro"] .gcorpo .postit.azul { background: #22324A; } :root[data-tema="escuro"] .gcorpo .postit.verde { background: #1E3A31; }
.gcorpo .alerta { border: 2px dashed var(--alerta); background: var(--alerta-fundo); border-radius: 14px; padding: 10px 12px; }
.gcorpo .alerta h3 { color: var(--alerta-tinta); }
.gcorpo .el { background: var(--sup); border: 2px solid var(--p); border-radius: 16px; padding: 10px 12px; }
.gcorpo .elh { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.gcorpo .elh .sym { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--c); color: #fff; font-weight: 800; font-size: 20px; display: grid; place-items: center; border: 2px solid var(--contorno); box-shadow: var(--sombra-p); }
.gcorpo .elh .dd2 { width: 54px; height: 50px; margin-left: auto; flex: none; }
.gcorpo .badgebig { background: var(--pp); border: 2px solid var(--p); border-radius: 14px; padding: 8px 6px; text-align: center; }
.gcorpo .badgebig span { display: block; font-size: 1.6em; line-height: 1; color: var(--c); }
.gcorpo .badgebig b { display: block; font-size: 1.25em; }
.gcorpo .badgebig em { font-style: normal; font-size: .82em; color: var(--fraco); }
.gcorpo .badgebig svg.mini { width: 34px; height: 30px; display: block; margin: 0 auto; }
.gcorpo .formula { font-weight: 800; font-size: 1.15em; text-align: center; padding: 8px; border: 2px dashed var(--c); border-radius: 12px; }
.gcorpo .hl { background: linear-gradient(transparent 38%, #FFE58A 38%); padding: 0 2px; border-radius: 2px; }
:root[data-tema="escuro"] .gcorpo .hl { background: none; text-decoration: underline 2px #EEE8E2; text-underline-offset: 3px; }
.gcorpo .hand { font-family: "Caveat", cursive; }
.gcorpo .c { color: var(--c); }
.gcorpo .lbl { font-size: .78em; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--fraco); }
.gcorpo .enf { background: var(--pp); border-radius: 10px; padding: 6px 10px; font-size: .95em; }
.gcorpo .enf-r { color: var(--c); font-weight: 800; }
.gcorpo .steps { counter-reset: st; list-style: none; padding: 0; margin: 4px 0 0; }
.gcorpo .steps li { counter-increment: st; position: relative; padding: 2px 0 6px 32px; }
.gcorpo .steps li::before { content: counter(st); position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--c); color: #fff; font-weight: 800; font-size: 12px; display: grid; place-items: center; }
.gcorpo .flow { display: flex; flex-wrap: wrap; gap: 8px; }
.gcorpo .flow .fs { flex: 1 1 140px; background: var(--sup); border: 2px solid var(--c); border-radius: 12px; padding: 8px 10px; }
.gcorpo .flow .ar { display: none; }
.gcorpo .ud { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 4px; }
.gcorpo .ud > div { border-radius: 8px; padding: 4px 8px 4px 24px; position: relative; font-size: .92em; }
.gcorpo .ud .u { background: #FDECEA; } .gcorpo .ud .d { background: #E7F0FA; }
.gcorpo .ud .u::before { content: "↑"; position: absolute; left: 8px; color: #D1453B; font-weight: 800; }
.gcorpo .ud .d::before { content: "↓"; position: absolute; left: 8px; color: #2F6FB0; font-weight: 800; }
:root[data-tema="escuro"] .gcorpo .ud .u { background: #4A2328; } :root[data-tema="escuro"] .gcorpo .ud .d { background: #22324A; }
.gcorpo .up { color: #D1453B; font-weight: 800; } .gcorpo .dn { color: #2F6FB0; font-weight: 800; }
.gcorpo .gauge { display: flex; height: 24px; border-radius: 12px; overflow: hidden; font-size: 11px; font-weight: 800; color: #fff; }
.gcorpo .gauge > div { display: grid; place-items: center; text-align: center; line-height: 1; padding: 0 2px; }
.gcorpo .gl { display: flex; font-size: 11px; color: var(--fraco); }
.gcorpo .gl > div { text-align: center; }
.gcorpo .pills { display: flex; flex-wrap: wrap; gap: 6px; }
.gcorpo .pill { background: var(--sup); border: 1.5px solid var(--p); border-radius: 20px; padding: 3px 10px; font-size: .92em; }
.gcorpo .pill b { color: var(--c); }
.gcorpo .crit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.gcorpo .ct { background: var(--sup); border: 1.6px solid #F4C4C4; border-radius: 10px; padding: 6px 8px; text-align: center; }
.gcorpo .conv { background: var(--pp); border-radius: 10px; padding: 6px 10px; } .gcorpo .conv b { display: block; color: var(--c); }
.gcorpo .lq { background: var(--sup); border: 2px solid var(--p); border-radius: 14px; padding: 8px; text-align: center; }
.gcorpo .refs { font-size: .85em; color: var(--fraco); }
.gcorpo .refs ol { margin: 0; padding-left: 18px; } .gcorpo .refs li { margin-bottom: 4px; }
.gcorpo .resumo .postit { font-size: 1.25em; }
.gcorpo .dot { display: inline-block; width: 11px; height: 11px; border-radius: 3px; border: 1.5px solid var(--contorno); margin-right: 5px; vertical-align: -1px; }
.gcorpo .badge { display: inline-block; font-size: .75em; font-weight: 800; padding: 1px 7px; border-radius: 10px; margin-right: 3px; }
.gcorpo .b-rad { background: #FFE3C2; color: #9a4d00; } .gcorpo .b-sem { background: #D8F3DF; color: #1f6e43; } .gcorpo .b-con { background: #E5E8F8; color: #3B4BA8; }
.gcorpo .tubos { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 6px; text-align: center; }
.gcorpo .tubo svg { width: 46px; height: 120px; display: block; margin: 0 auto 2px; }
.gcorpo .mod { display: grid; grid-template-columns: 40px 1fr; gap: 9px; }
:root[data-tema="escuro"] .gcorpo [style*="background"] { background: var(--pp) !important; }
:root[data-tema="escuro"] .gcorpo [style*="color"]:not([style*="background"]) { color: var(--c) !important; }

/* tabelas: grade no computador; no celular as largas viram uma ficha por linha */
.gcorpo .tabela { overflow-x: auto; }
.gcorpo table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .92em; }
.gcorpo th { background: var(--c); color: #fff; text-align: left; padding: 6px 8px; font-weight: 700; vertical-align: bottom; }
:root[data-tema="escuro"] .gcorpo th { color: #1A1416; }
.gcorpo th:first-child { border-radius: 10px 0 0 0; } .gcorpo th:last-child { border-radius: 0 10px 0 0; }
.gcorpo td { padding: 6px 8px; border-bottom: 1px solid var(--leve); vertical-align: top; }
.gcorpo td, .gcorpo th { overflow-wrap: break-word; }   /* endereço ou palavra comprida não empurra a tabela para fora da tela */
.gcorpo tr:nth-child(even) td { background: var(--pp); }
.gcorpo table.risco td { text-align: center; font-weight: 700; }
.gcorpo table.risco td:first-child { text-align: left; font-weight: 400; }
.gcorpo table.risco td.r1 { background: #DFF3EA !important; color: #1f6e43; } .gcorpo table.risco td.r2 { background: #FBF0D9 !important; color: #8a5a00; }
.gcorpo table.risco td.r3 { background: #FDE2D6 !important; color: #a3401c; } .gcorpo table.risco td.r4 { background: #F7C9CF !important; color: #8f1d2c; }
/* no celular, tabela com 2 colunas ou mais vira uma ficha por linha (a 1ª coluna é o título da ficha) */
@media (max-width: 760px) {
  .gcorpo .tabela.fichas table, .gcorpo .tabela.fichas tbody, .gcorpo .tabela.fichas tr, .gcorpo .tabela.fichas td, .gcorpo .tabela:has(> table:not(.risco) tr > :nth-child(2)) table, .gcorpo .tabela:has(> table:not(.risco) tr > :nth-child(2)) tbody, .gcorpo .tabela:has(> table:not(.risco) tr > :nth-child(2)) tr, .gcorpo .tabela:has(> table:not(.risco) tr > :nth-child(2)) td { display: block; width: auto; }
  .gcorpo .tabela.fichas tr:first-child:has(th), .gcorpo .tabela:has(> table:not(.risco) tr > :nth-child(2)) tr:first-child:has(th) { display: none; }
  .gcorpo .tabela.fichas tr, .gcorpo .tabela:has(> table:not(.risco) tr > :nth-child(2)) tr { background: var(--sup); border: 2px solid var(--p); border-radius: 16px; padding: 4px 14px 8px; margin-bottom: 12px; }
  .gcorpo .tabela.fichas tr:nth-child(even) td, .gcorpo .tabela:has(> table:not(.risco) tr > :nth-child(2)) tr:nth-child(even) td { background: none; }
  .gcorpo .tabela.fichas td, .gcorpo .tabela:has(> table:not(.risco) tr > :nth-child(2)) td { border: 0; padding: 6px 0; border-top: 1px dashed var(--leve); }
  .gcorpo .tabela.fichas td::before, .gcorpo .tabela:has(> table:not(.risco) tr > :nth-child(2)) td::before { content: attr(data-r); display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--c); }
  .gcorpo .tabela.fichas td:first-child, .gcorpo .tabela:has(> table:not(.risco) tr > :nth-child(2)) td:first-child { border-top: 0; font-size: 1.12em; padding: 10px 0 8px; }
  .gcorpo .tabela.fichas td:first-child::before, .gcorpo .tabela:has(> table:not(.risco) tr > :nth-child(2)) td:first-child::before { display: none; }
  .gcorpo .tabela.fichas td:first-child b:first-child, .gcorpo .tabela:has(> table:not(.risco) tr > :nth-child(2)) td:first-child b:first-child { font-size: 1.12em; font-weight: 800; }
  .gcorpo .tabela td:first-child strong:first-child { font-weight: 800; }
  .gcorpo .tabela.fichas thead, .gcorpo .tabela:has(> table:not(.risco) tr > :nth-child(2)) thead { display: none; }
}
/* ---------------------------------------------------------------- livro: leitura limpa, com os blocos da Dani */
.tema-0 { --c: #6B1F2E; --p: #F3E4E7; --pp: #FBF5F6; } .tema-1 { --c: #9A6A2C; --p: #F6EBDA; --pp: #FCF7EF; }
.tema-2 { --c: #3E7C59; --p: #E6F1EA; --pp: #F4F9F6; } .tema-3 { --c: #B4472F; --p: #F8E5DF; --pp: #FDF4F1; }
.tema-4 { --c: #22577A; --p: #E2EDF4; --pp: #F3F8FB; } .tema-5 { --c: #5B3E8C; --p: #ECE6F4; --pp: #F7F4FB; }
.tema-6 { --c: #2E7D7A; --p: #E1F0EF; --pp: #F2F9F8; }
:root[data-tema="escuro"] [class*="tema-"] { --p: color-mix(in srgb, var(--c) 42%, #251D20); --pp: color-mix(in srgb, var(--c) 16%, #1F181A); }
:root[data-tema="escuro"] .tema-0 { --c: #E07A8E; } :root[data-tema="escuro"] .tema-1 { --c: #D9A55E; } :root[data-tema="escuro"] .tema-2 { --c: #6CC293; }
:root[data-tema="escuro"] .tema-3 { --c: #EE8A70; } :root[data-tema="escuro"] .tema-4 { --c: #6FA8D6; } :root[data-tema="escuro"] .tema-5 { --c: #A88BE0; }
:root[data-tema="escuro"] .tema-6 { --c: #5CC4BF; }
.lpag .gcab .lrev { margin: 6px 0 0; font-size: 13.5px; color: var(--fraco); }
.lcorpo { gap: 0; font-size: calc(17px * var(--escala)); line-height: 1.65; }
.lcorpo > * + * { margin-top: 14px; }
.lcorpo p { margin: 8px 0; }
.lcorpo .cabecalho { background: var(--c); color: #fff; border-radius: 14px; padding: 10px 16px; margin-top: 26px; }
.lcorpo .cabecalho h2, .lcorpo .cabecalho h1 { margin: 0; font-size: 1.15em; line-height: 1.25; color: inherit; }
:root[data-tema="escuro"] .lcorpo .cabecalho { color: #1A1416; }
.lcorpo h2 { font-size: 1.2em; color: var(--c); margin: 18px 0 6px; }
.lcorpo h3 { font-size: 1.05em; color: var(--c); margin: 14px 0 4px; }
.lcorpo .bloco { background: var(--sup); border: 1.5px solid var(--p); border-left: 5px solid var(--c); border-radius: 14px; padding: 12px 16px 10px; }
.lcorpo .bloco.avaliacao, .lcorpo .bloco.implementacao { background: var(--pp); }
.lcorpo .bloco > .sec { display: inline-block; background: var(--c); color: #fff; font-weight: 800; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; margin-bottom: 4px; }
:root[data-tema="escuro"] .lcorpo .bloco > .sec { color: #1A1416; }
.lcorpo .bloco.pop > .sec { background: #FBEFD6; color: #7A4A08; border: 1.5px solid #E3C88F; }
:root[data-tema="escuro"] .lcorpo .bloco.pop > .sec { background: #353032; color: #EDE6E0; border-color: #4E4447; }
.lcorpo .bloco.atencao { border: 2px dashed var(--alerta); background: var(--alerta-fundo); }
.lcorpo .bloco.atencao > .sec { background: var(--alerta); color: #fff; }
:root[data-tema="escuro"] .lcorpo .bloco.atencao > .sec { color: #1A1416; }
.lcorpo strong { color: var(--tinta); }
.lcorpo strong.pq { font-family: "Caveat", cursive; font-weight: 700; font-size: 1.3em; color: var(--mao); margin-right: 2px; }
.lcorpo ol { list-style: none; counter-reset: n; padding-left: 0; }
.lcorpo ol > li { counter-increment: n; position: relative; padding-left: 38px; margin: 10px 0; }
.lcorpo ol > li::before { content: counter(n); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--contorno); background: var(--sup); display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.lcorpo ul { padding-left: 22px; } .lcorpo li { margin: 4px 0; }
.lcorpo blockquote { margin: 12px 0; padding: 8px 14px; background: var(--pp); border-left: 4px solid var(--c); border-radius: 6px; }
.lcorpo figure { margin: 16px 0; text-align: center; background: #fff; border-radius: 14px; padding: 10px; }
.lcorpo figure img { max-width: 100%; height: auto; }
.lcorpo .referencias { font-size: .82em; color: var(--fraco); border-top: 2px solid var(--c); padding-top: 8px; margin-top: 26px; }
.lcorpo .referencias ol > li { padding-left: 0; } .lcorpo .referencias ol > li::before { display: none; }
.lcorpo .referencias ol { list-style: decimal; padding-left: 20px; }
.lcorpo table { margin: 10px 0; }
.carta.livro.o-livro { background: var(--cab); color: var(--cab-tinta); }
.carta.livro.o-livro span { color: inherit; opacity: .9; }
@media (min-width: 1000px) {
  .estante .o-livro { grid-column: span 2; }
}

.achado { animation: achado 2.4s ease-out; border-radius: 12px; }
@keyframes achado { 0%, 40% { box-shadow: 0 0 0 4px var(--c, var(--mao)); } 100% { box-shadow: 0 0 0 4px transparent; } }
@media (prefers-reduced-motion: reduce) { .achado { animation: none; outline: 3px solid var(--c); } }

/* ---------------------------------------------------------------- conta, prévia, bloqueio e ofertas */
.ic.cad { width: 15px; height: 15px; vertical-align: -2px; margin-right: 5px; }
.cab-acoes { display: flex; gap: 8px; }
.livro { position: relative; }
.preco-tag { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 2px; padding: 3px 9px; border-radius: 999px; background: var(--ativo); color: var(--ativo-tinta); border: 1.5px solid var(--contorno); font-size: 12.5px; font-weight: 800; }
.preco-tag .ic.cad { margin-right: 3px; }
.carta.livro.o-livro .preco-tag, .preco-tag { color: #2B2724; opacity: 1; }   /* escrita preta, inclusive no cartão vinho do livro */
.selo-black { align-self: flex-start; background: #141012; color: #fff; font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 8px; border: 2px solid #141012; box-shadow: 2px 2px 0 var(--ativo); }
:root[data-tema="escuro"] .selo-black { background: #fff; color: #141012; border-color: #fff; box-shadow: none; }
.preco-de { font-size: 14px; color: var(--fraco); }
.preco-de s { text-decoration-thickness: 2px; }
.parcela { font-size: 15px; font-weight: 700; }
.cap-item li.travado a { color: var(--fraco); }
.previa { padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; background: var(--painel); }
.previa-topo { display: flex; gap: 10px; align-items: flex-start; }
.previa-topo > span { display: flex; flex-direction: column; }
.previa-topo b { font-size: 16px; font-weight: 800; }
.previa-topo span span { font-size: 14px; color: var(--fraco); }
.previa-topo .ic.cad { width: 22px; height: 22px; margin-top: 2px; }
.opcoes { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: start; }
.opcao { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.opcao.destaque { background: var(--sup); border-width: 2.5px; }
.opcao .mao { font-size: 19px; line-height: 1; }
.opcao-nome { font-size: 16px; font-weight: 800; }
.valor { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.opcao-txt { font-size: 14px; color: var(--fraco); }
.opcao ul, .oferta ul { list-style: none; margin: 4px 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.opcao li, .oferta li { display: flex; gap: 8px; font-size: 14.5px; line-height: 1.35; }
.opcao li .ic, .oferta li .ic { width: 18px; height: 18px; color: #2E8B6A; margin-top: 1px; }
:root[data-tema="escuro"] .opcao li .ic, :root[data-tema="escuro"] .oferta li .ic { color: #6CC293; }
.comprar { justify-content: center; min-height: 50px; font-size: 15.5px; white-space: normal; text-align: center; flex-direction: column; gap: 0; }
.comprar.breve { cursor: default; opacity: .9; }
.comprar small { font-size: 12px; font-weight: 600; opacity: .8; }
.vip-link { display: flex; align-items: center; gap: 10px; padding: 12px 14px; text-decoration: none; font-size: 14.5px; }
.vip-link > span { flex: 1; }
.ja-comprei { margin: 0; font-size: 14px; color: var(--fraco); }
.ja-comprei a { font-weight: 700; color: var(--mao); }
.bloq-topo { display: flex; gap: 16px; align-items: center; }
.bloq-topo svg { flex: none; }
.bloq-topo .mao { font-size: 21px; }
.bloq-topo h1 { margin: 2px 0 6px; font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.bloq-topo p { margin: 0; color: var(--fraco); font-size: 15px; }
@media (max-width: 520px) { .bloq-topo { flex-direction: column; align-items: flex-start; } .bloq-topo svg { width: 80px; height: 72px; } }
.entrar h1 { margin: 4px 0 6px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.entrar p { margin: 0; color: var(--fraco); }
.entrar .mao { font-size: 21px; }
.form-entrar { padding: 16px; display: flex; flex-direction: column; gap: 10px; max-width: 520px; }
.form-entrar label { font-weight: 800; font-size: 14px; }
.form-entrar input { height: 52px; border: 2px solid var(--contorno); border-radius: 14px; padding: 0 14px; font-size: 17px; background: var(--fundo); }
.form-entrar button { justify-content: center; min-height: 50px; font-size: 16px; }
.form-entrar .erro { margin: 0; color: var(--alerta-tinta); font-weight: 700; }
.aviso-teste { font-size: 13px; color: var(--fraco); background: var(--painel); border: 1.5px dashed var(--leve); border-radius: 12px; padding: 10px 12px; max-width: 520px; }
.aviso-teste code { font-size: 12.5px; font-weight: 700; }
.res .ic.ok { color: #2E8B6A; width: 26px; height: 26px; }
.ofertas { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; }
.oferta { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.oferta.destaque { border-width: 2.5px; }
.oferta h2 { margin: 0; font-size: 20px; }
.oferta .mao { font-size: 20px; line-height: 1; }
.vagas { align-self: flex-start; font-size: 13.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--alerta-fundo); color: var(--alerta-tinta); border: 1.5px dashed var(--alerta); }
.menu a { font-size: 11px; }

/* ---------------------------------------------------------------- computador */
@media (min-width: 1000px) {
  .app { display: grid; grid-template-columns: 280px minmax(0, 1fr); }
  .lateral { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 22px 14px; background: var(--painel); border-right: 2px solid var(--contorno); }
  .lateral > * { flex-shrink: 0; }   /* a lista rola; nenhum item pode ser espremido (o texto passava por cima do próximo) */
  .lateral a.item { line-height: 1.25; padding-top: 7px; padding-bottom: 7px; }
  .lateral a.item > span:last-child { min-width: 0; }
  .lateral .marca { display: flex; flex-direction: column; line-height: 1; padding: 4px 10px 18px; text-decoration: none; }
  .lateral .marca .mao { font-size: 19px; }
  .lateral .marca b { font-size: 19px; font-weight: 800; }
  .lateral .carta { margin: 0 2px 10px; height: 48px; }
  .lateral a.item { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 4px 10px; border-radius: 12px; text-decoration: none; font-size: 14.5px; font-weight: 600; }
  .lateral a.item.on { background: var(--sup); border: 2px solid var(--contorno); box-shadow: var(--sombra-p); font-weight: 800; }
  .lateral a.sub { display: flex; gap: 8px; min-height: 34px; align-items: center; line-height: 1.3; padding: 6px 10px 6px 42px; border-radius: 10px; text-decoration: none; font-size: 13.5px; color: var(--fraco); }
  .lateral a.sub.on { color: var(--tinta); font-weight: 800; background: var(--sup); }
  .lateral .rot { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--fraco); padding: 14px 10px 4px; }
  .menu { display: none; }

  .vista { max-width: 1240px; width: 100%; margin: 0 auto; padding: 0 44px 56px; }
  /* a busca em destaque, no topo, centralizada e sempre à mão */
  .coluna { min-width: 0; }
  .topo-busca { position: sticky; top: 0; z-index: 15; display: flex; justify-content: center; align-items: center; gap: 10px; padding: 14px 44px; background: var(--fundo); border-bottom: 1.5px solid var(--leve); }
  .topo-busca .campo-busca { flex: 1; max-width: 720px; height: 54px; padding-left: 18px; }
  .topo-busca .campo-busca input { font-size: 17px; }
  .topo-busca kbd { font: inherit; font-size: 12px; font-weight: 700; color: var(--fraco); border: 1.5px solid var(--leve); border-radius: 6px; padding: 1px 7px; }
  .com-topo .barra { top: 83px; padding-top: 20px; padding-bottom: 16px; }
  .topo-busca .campo-busca { box-shadow: var(--sombra); }
  .sugestoes { left: 50%; right: auto; transform: translateX(-50%); width: min(720px, calc(100% - 88px)); }
  [data-tela="busca"] .secao:first-child { margin: 0 auto; max-width: 760px; }
  [data-tela="busca"] .filtros { justify-content: center; }
  [data-tela="busca"] .campo-busca { height: 60px; }
  [data-tela="busca"] .campo-busca input { font-size: 18px; }
  .secao { padding: 24px 0; gap: 22px; }
  .secao h2 { font-size: 20px; }
  /* barra das telas internas: caminho à esquerda, ações à direita */
  .barra { padding: 20px 0 16px; gap: 12px; }
  .barra .meio { align-items: flex-start; text-align: left; }
  .barra .meio b { font-size: 21px; }
  .barra .meio span { font-size: 14px; }

  /* início: um banner largo, a busca grande e a estante ocupando a tela */
  [data-tela="inicio"] .cab { margin-top: 28px; border: 2px solid var(--contorno); border-radius: 28px; box-shadow: var(--sombra); padding: 44px 52px 48px; gap: 22px; }
  [data-tela="inicio"] .cab .mao { font-size: 26px; }
  [data-tela="inicio"] .cab h1 { font-size: 48px; }
  [data-tela="inicio"] .cab h1 br { display: none; }
  [data-tela="inicio"] .cab .campo-busca { height: 64px; max-width: 760px; padding-left: 20px; }
  [data-tela="inicio"] .cab .campo-busca input { font-size: 18px; }
  [data-tela="inicio"] .cab .desenho { width: 200px; height: 174px; right: 150px; top: 40px; }
  [data-tela="inicio"] .cab .topo .btn-ic { position: absolute; right: -8px; top: -12px; }
  [data-tela="inicio"] .secao { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; align-items: start; }
  [data-tela="inicio"] .rapidas { grid-column: 1 / -1; }
  [data-tela="inicio"] .secao > section:last-child { grid-column: 1 / -1; }
  .estante { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
  .livro { min-height: 132px; padding: 16px; }
  .livro b { font-size: 16.5px; }

  /* busca: a melhor resposta em cima e o resto em duas colunas */
  [data-tela="busca"] .secao:first-child { max-width: 860px; padding-top: 28px; }
  [data-tela="busca"] .resultados { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
  [data-tela="busca"] .melhor { grid-column: 1 / -1; }
  [data-tela="busca"] .melhor .corpo b { font-size: 26px; }

  /* sumário do guia: capa larga e capítulos em duas colunas */
  .capa-guia { gap: 32px; align-items: center; }
  .capa-guia h1 { font-size: 42px; }
  .capa-guia p { font-size: 17px; max-width: 64ch; }
  .capa-guia svg { width: 200px; height: 174px; }
  .cap-lista { display: block; column-count: 2; column-gap: 18px; }   /* as partes se encaixam, sem buraco */
  .cap-lista > .cap-item { break-inside: avoid; margin: 0 0 18px; }

  /* página */
  .gpag { padding: 10px 0; }
  .gcab h1 { font-size: calc(40px * var(--escala)); }
  .gcab svg { width: 90px; height: 80px; }
  .fonte-pag { padding: 0; display: flex; align-items: center; justify-content: space-between; }
  .fonte-pag p { margin: 0 !important; }
  .pager { flex-direction: row; padding: 16px 0 0; }
  .pager > * { flex: 1 1 0; }
}
@media (min-width: 1500px) { .vista { max-width: 1380px; } }
