/* Ipê: a estrutura da direção "Folha" (aprovada em 16/11/2026: sem caixas, tabelas tipográficas, margem à direita) com a
   identidade da landing "Ipê-rosa" (18/11/2026: o usuário quis a tela igual à landing): cinza bem claro com papel de
   pontinhos, tinta quase preta, o rosa do ipê só na ação principal e nos destaques; títulos em Space Grotesk, texto e
   números em IBM Plex; o logo é a arvorezinha com "Ipê data". Verde e vermelho só em variação. */
@font-face { font-family: "Space Grotesk"; src: url("/fontes/SpaceGrotesk.ttf") format("truetype"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/fontes/IBMPlexSans.ttf") format("truetype"); font-weight: 100 700; font-stretch: 85% 100%; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fontes/IBMPlexMono-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fontes/IBMPlexMono-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fontes/IBMPlexMono-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --papel: #f6f4f5; --tinta: #1d1a1f; --tinta-2: #3d383f; --apagado: #6e6870; --fio: #e4dfe3; --borda: #d6cfd4;
  --painel: #1d1a1f; --painel-tinta: #f6f4f5; --painel-apagado: #958d97;
  --marca: #d23d72; --marca-tinta: #ffffff; --marca-forte: #b8305f; --destaque: #c2335f; --realce: #fbd3e1; --faixa: #fcf3f7;
  --sobe: #0b7a3e; --desce: #c2281d; --barra: #e3dde1; --barra-ano: #a9a0a7;
  --galho: color-mix(in srgb, #1d1a1f 82%, #f6f4f5);
  --titulo: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --texto: "IBM Plex Sans", "Segoe UI", Arial, sans-serif; --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--papel); color: var(--tinta); font-family: var(--texto); font-size: 14px; line-height: 1.55; -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
a { color: var(--tinta); }
a:hover { color: var(--destaque); }
:focus-visible { outline: 2px solid var(--marca); outline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.mono { font-family: var(--mono); }
.apagado { color: var(--apagado); }
.sobe { color: var(--sobe); } .desce { color: var(--desce); }
.recado { color: var(--desce); font-size: 13px; min-height: 1.2em; margin: 0; }
.rotulo { font-size: 12px; letter-spacing: .01em; color: var(--apagado); }
.sobrelinha { font-size: 12px; letter-spacing: .01em; color: var(--apagado); }
/* O logo: a arvorezinha e "Ipê data", como na landing */
.marca { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tinta); align-self: flex-start; }
.marca svg { width: 22px; height: 22px; }
.marca span { font-family: var(--titulo); font-size: 17px; letter-spacing: -.02em; font-weight: 500; }
.marca em { font-style: normal; font-weight: 400; color: var(--apagado); }
.marca:hover { color: var(--tinta); }
.botao { display: inline-flex; align-items: center; justify-content: center; gap: .5em; height: 34px; padding: 0 14px; border: 1px solid var(--borda);
  border-radius: 6px; background: #fff; font-size: 13px; font-weight: 500; transition: transform .15s, background .15s; }
.botao:hover { border-color: var(--tinta); }
.botao.escuro { background: var(--marca); border-color: var(--marca); color: var(--marca-tinta); }
.botao.escuro:hover { background: var(--marca-forte); border-color: var(--marca-forte); }
.botao.seta::after { content: "→"; transition: transform .2s; }
.botao.seta:hover::after { transform: translateX(3px); }
.link { background: none; border: 0; padding: 0; text-decoration: underline; }
kbd { font-family: var(--mono); font-size: 11px; color: var(--apagado); }
/* papel de pontinhos, bem leve, que some para baixo (o mesmo da landing) */
.pontilhado { position: relative; }
.pontilhado::before { content: ""; position: absolute; inset: 0 0 25% 0; pointer-events: none;
  background-image: radial-gradient(color-mix(in srgb, var(--tinta) 16%, transparent) 1px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, transparent 100%); }

/* A árvore do logo crescendo, com dados subindo do tronco às pontas: galhos cinza-escuro, pontas pretas, o dado rosa */
.arv { display: block; width: 100%; height: auto; overflow: visible; }
.arv .seg { stroke: var(--galho); stroke-dasharray: 1; stroke-dashoffset: 1; animation: crescer .5s cubic-bezier(.3,.7,.4,1) var(--d) forwards; }
.arv .ponta { fill: var(--tinta); transform-box: fill-box; transform-origin: center; animation: brotar .4s cubic-bezier(.3,1.6,.5,1) var(--d) backwards; transition: fill .25s, transform .25s; }
.arv .ponta.aceso { fill: var(--marca); transform: scale(1.3); }
.arv .pulsos circle { fill: var(--marca); }
@keyframes crescer { to { stroke-dashoffset: 0; } }
@keyframes brotar { from { transform: scale(0); } }
@keyframes subir { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Entrar: como o topo da landing. Título grande com a segunda metade em rosa, a árvore viva ao lado, entrar embaixo */
.entrar { min-height: 100vh; display: flex; flex-direction: column; }
.entrar-topo { border-bottom: 1px solid var(--fio); }
.entrar-topo .faixa-interna { max-width: 1120px; margin: 0 auto; padding: 16px; display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; }
.entrar-corpo { flex: 1; }
.entrar-corpo .faixa-interna { max-width: 1120px; margin: 0 auto; padding: 72px 16px 56px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: center; position: relative; }
.entrar-texto { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.entrar-texto > * { animation: subir .6s cubic-bezier(.2,.7,.3,1) backwards; }
.entrar-texto > :nth-child(2) { animation-delay: .08s; } .entrar-texto > :nth-child(3) { animation-delay: .16s; } .entrar-texto > :nth-child(4) { animation-delay: .24s; }
.entrar h1 { margin: 0; font-family: var(--titulo); font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.12; font-weight: 500; letter-spacing: -.03em; text-wrap: balance; }
.entrar h1 em { font-style: normal; color: var(--destaque); }
.entrar .lead { margin: 0; font-size: 15px; color: var(--apagado); max-width: 56ch; }
.entrar-arvore { justify-self: center; width: 100%; max-width: 220px; }
.entrar form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; max-width: 640px; }
.entrar label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--tinta-2); }
.entrar form .recado { grid-column: 1 / -1; }
.rodape-entrar { max-width: 1120px; margin: 0 auto; width: 100%; padding: 20px 16px 28px; font-size: 13px; color: var(--apagado); border-top: 1px solid var(--fio); }
.entrar input, .campo { height: 38px; padding: 0 12px; border: 1px solid var(--borda); border-radius: 6px; font: inherit; font-size: 14px; background: #fff; }
.entrar input:focus, .campo:focus { outline: 2px solid var(--marca); outline-offset: -1px; }
@media (max-width: 860px) {
  .entrar-corpo .faixa-interna { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-top: 32px; }
  .entrar-arvore { order: -1; justify-self: start; max-width: 120px; }
  .entrar form { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .arv .seg { animation: none; stroke-dashoffset: 0; }
  .arv .ponta, .entrar-texto > * { animation: none; }
  .botao, .botao.seta::after { transition: none; }
}

/* Moldura: menu à esquerda, o resto ocupa a tela */
.app { display: flex; min-height: 100vh; }
.lado { flex: 0 0 204px; padding: 24px 18px 24px 24px; display: flex; flex-direction: column; gap: 24px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.buscar { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 9px; border: 1px solid transparent; border-radius: 7px;
  background: color-mix(in srgb, var(--tinta) 5%, var(--papel)); color: var(--apagado); cursor: text; transition: background .15s, border-color .15s; }
.buscar:hover { background: color-mix(in srgb, var(--tinta) 8%, var(--papel)); }
.buscar:focus-within { border-color: var(--borda); background: #fff; color: var(--tinta-2); }
.buscar svg { width: 14px; height: 14px; flex: none; }
.buscar input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: none; background: none; font: inherit; font-size: 13px; color: var(--tinta); }
.buscar input::placeholder { color: var(--apagado); }
.buscar input::-webkit-search-cancel-button { display: none; }
.menu { display: flex; flex-direction: column; }
.menu a, .pe-lado a { padding: 6px 0; font-size: 13px; text-decoration: none; color: var(--apagado); }
.menu a:hover, .pe-lado a:hover { color: var(--tinta); }
.menu a[aria-current="page"] { font-weight: 500; color: var(--tinta); box-shadow: inset 2px 0 0 var(--marca); padding-left: 10px; margin-left: -12px; }
.lista a { display: flex; justify-content: space-between; padding: 5px 0; text-decoration: none; font-size: 13px; color: var(--apagado); }
.lista a:hover { color: var(--tinta); }
.lista a[aria-current="page"] { font-weight: 500; color: var(--tinta); }
.lista .vazia { font-size: 12px; color: var(--apagado); padding-top: 8px; }
.pe-lado { margin-top: auto; display: flex; flex-direction: column; gap: 0; font-size: 13px; }
.pe-lado .link { align-self: flex-start; color: var(--apagado); padding: 6px 0; }
.lingua button { border: 0; background: none; padding: 6px 8px 6px 0; font-family: var(--mono); font-size: 11px; color: var(--apagado); }
.lingua button[aria-pressed="true"] { color: var(--tinta); font-weight: 600; }
.palco { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: stretch; border-left: 1px solid var(--fio); }

/* Página: conteúdo no meio e a margem à direita */
.principal { flex: 999 1 640px; min-width: 0; padding: 28px 48px 72px 40px; }
aside.margem { flex: 0 0 320px; min-width: 0; padding: 116px 28px 60px 24px; border-left: 1px solid var(--fio); display: flex; flex-direction: column; gap: 40px; }
h1.titulo { margin: 0; font-family: var(--titulo); font-size: 34px; line-height: 1.1; font-weight: 500; letter-spacing: -.025em; }
.cabeca { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-top: 4px; }
.cabeca .nome { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.cabeca .acoes { display: flex; gap: 8px; padding-bottom: 4px; }
.abas { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 20px; border-bottom: 1px solid var(--fio); }
.abas a { padding: 9px 0 10px; font-size: 13px; text-decoration: none; color: var(--apagado); }
.abas a:hover { color: var(--tinta); }
.abas a[aria-current="page"] { padding-bottom: 9px; margin-bottom: -1px; font-weight: 500; color: var(--tinta); border-bottom: 2px solid var(--marca); }
.secao { margin-top: 56px; }
.secao-cabeca { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 20px; }
.secao h2 { margin: 0; font-family: var(--titulo); font-size: 18px; font-weight: 500; letter-spacing: -.015em; }
.nota { font-size: 12px; color: var(--apagado); }
.frase { margin: 8px 0 0; max-width: 620px; font-family: var(--titulo); font-size: 20px; line-height: 1.4; font-weight: 400; letter-spacing: -.015em; text-wrap: pretty; }
.frase mark { background: none; color: var(--destaque); padding: 0; }
.frase .resto { color: var(--apagado); }
.rodape { margin: 48px 0 0; font-size: 12px; color: var(--apagado); }
.carregando { color: var(--apagado); font-size: 13px; padding: 40px 0; }

/* Os quatro números do trimestre, com doze trimestres em barrinhas */
.figuras { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 28px 36px; }
.figura .valor { margin-top: 4px; font-family: var(--titulo); font-size: 26px; font-weight: 400; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: proportional-nums; }
.figura .valor small { font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--apagado); margin: 0 2px; }
.figura .var { margin-top: 2px; font-size: 12px; }
.barras { position: relative; display: flex; align-items: stretch; gap: 2px; height: 44px; margin-top: 14px; }
.barras .col { flex: 1; position: relative; }
.barras .b { position: absolute; left: 0; right: 0; background: var(--barra); border-radius: 1px 1px 0 0; transition: background .15s; }
.barras .b.neg { border-radius: 0 0 1px 1px; }
.barras .col.ano .b { background: var(--barra-ano); }
.barras .col.atual .b { background: var(--marca); }
.barras .zero { position: absolute; left: 0; right: 0; height: 1px; background: var(--borda); }
.barras .col:hover .b { background: var(--marca); }
.dica-barras { margin-top: 6px; min-height: 16px; font-size: 11px; color: var(--apagado); }

/* Tabelas tipográficas, sem caixas */
.rolar { overflow-x: auto; margin-top: 16px; }
table.folha { width: 100%; border-collapse: collapse; font-size: 13px; }
table.folha thead th { font-size: 12px; color: var(--apagado); font-weight: 400; padding: 7px 12px; border-bottom: 1px solid var(--tinta-2); text-align: right; white-space: nowrap; }
table.folha thead th:first-child { text-align: left; padding-left: 0; }
table.folha thead th:last-child { padding-right: 0; }
table.folha th.atual, table.folha td.atual { background: var(--faixa); }
table.folha thead th.atual { color: var(--tinta); font-weight: 500; }
table.folha tbody th { text-align: left; font-weight: 400; padding: 9px 12px 9px 0; border-bottom: 1px solid var(--fio); }
table.folha tbody th .un { font-weight: 400; color: var(--apagado); }
table.folha tbody td { text-align: right; padding: 9px 12px; border-bottom: 1px solid var(--fio); white-space: nowrap; }
table.folha tbody td:last-child { padding-right: 0; }
table.folha tr.total th, table.folha tr.total td { font-weight: 500; border-bottom-color: transparent; }
table.folha tr.margem th, table.folha tr.margem td { font-size: 12px; color: var(--apagado); font-weight: 400; padding-top: 3px; border-bottom-color: var(--borda); }
table.folha tr.margem th { padding-left: 16px; }
table.folha td.revisao { font-size: 12px; color: var(--apagado); }
table.folha tr.aberta th, table.folha tr.aberta td { border-bottom-color: transparent; }
table.folha tr.detalhe td { text-align: left; white-space: normal; padding: 12px 0 16px; border-bottom: 1px solid var(--borda); }
.ponto { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--tinta-2); margin-left: 6px; vertical-align: 2px; }
.ponto.oco { background: none; border: 1px solid var(--tinta-2); }
.legenda .ponto { margin: 0 7px 0 0; }
.fonte-num { display: inline-block; padding: 4px 0 4px 12px; font-size: 12px; color: var(--apagado); background: none; border: 0; text-decoration: underline; text-decoration-color: var(--borda); text-underline-offset: 3px; }
.fonte-num:hover { color: var(--destaque); }
.trecho { margin: 6px 0 0; font-size: 13px; line-height: 1.65; color: var(--tinta-2); max-width: 72ch; }
.trecho mark { background: var(--realce); padding: 1px 4px; }
.legenda { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 12px; font-size: 12px; color: var(--apagado); }
.mais { display: inline-block; margin-top: 6px; padding: 8px 0; font-size: 13px; font-weight: 400; text-underline-offset: 3px; text-decoration-color: var(--borda); }

/* A margem: fatos, quem tem, call */
aside.margem h2 { margin: 0; font-family: var(--titulo); font-size: 14px; font-weight: 500; letter-spacing: -.005em; white-space: nowrap; }
.margem-cabeca { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 7px; border-bottom: 1px solid var(--tinta-2); }
.margem-cabeca a { font-size: 12px; color: var(--apagado); }
.margem-cabeca > span { font-size: 11px; color: var(--apagado); text-align: right; }
.entrega { display: block; padding: 10px 0; border-bottom: 1px solid var(--fio); text-decoration: none; }
.entrega .tipo { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; color: var(--apagado); }
.entrega.fato .tipo span:first-child { color: var(--destaque); font-weight: 500; }
.entrega .assunto { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; text-wrap: pretty; }
.entrega.fato .assunto { font-weight: 500; }
.detentor { padding: 9px 0 10px; border-bottom: 1px solid var(--fio); }
.detentor .linha1 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; line-height: 1.35; }
.detentor .linha1 span:last-child { flex: none; white-space: nowrap; color: var(--tinta-2); }
.detentor .linha1 span:first-child { font-weight: 400; min-width: 0; }
.detentor .linha2 { display: flex; align-items: center; gap: 10px; margin-top: 5px; }
.detentor .trilho { flex: 1; height: 2px; border-radius: 1px; background: var(--fio); }
.detentor .trilho div { height: 2px; border-radius: 1px; background: var(--tinta-2); }
.detentor .mud { flex: none; min-width: 92px; text-align: right; font-size: 11px; }
aside.margem .pe { margin: 10px 0 0; font-size: 11px; line-height: 1.5; color: var(--apagado); }
.vazio { padding: 12px 0; font-size: 13px; color: var(--apagado); }

/* Busca: as sugestões abrem embaixo do campo do menu, por cima da página */
.sugestoes { position: fixed; z-index: 20; max-height: min(480px, 70vh); overflow-y: auto; padding: 6px; background: #fff;
  border: 1px solid var(--fio); border-radius: 10px; box-shadow: 0 16px 40px -12px rgba(29, 26, 31, .18), 0 2px 6px rgba(29, 26, 31, .04); }
.sugestoes .grupo-sug { padding: 8px 8px 4px; font-size: 11px; color: var(--apagado); }
.sugestoes .grupo-sug:not(:first-child) { margin-top: 4px; border-top: 1px solid var(--fio); padding-top: 10px; }
.sugestoes a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 6px; text-decoration: none; font-size: 13px; color: var(--tinta); }
.sugestoes a.ativo, .sugestoes a:hover { background: color-mix(in srgb, var(--tinta) 5%, #fff); color: var(--tinta); }
.sugestoes .cod { flex: none; min-width: 52px; font-weight: 500; letter-spacing: .01em; }
.sugestoes .cod:empty { display: none; }
.sugestoes .cod b { font-weight: 600; color: var(--destaque); }
.sugestoes .nome-sug { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--tinta-2); }
.sugestoes .vazio { margin: 0; padding: 10px 8px; font-size: 13px; }
.selo { position: relative; overflow: hidden; flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px;
  font-size: 9.5px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--tinta-2); background: color-mix(in srgb, var(--tinta) 7%, #fff); }
.selo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; opacity: 0; transition: opacity .15s; }
.selo.com-icone img { opacity: 1; }
.selo.etf { font-size: 8px; color: var(--destaque); background: var(--faixa); }
.selo.ges { border-radius: 50%; }

/* Conta */
.conta form { display: flex; gap: 8px; margin-top: 16px; max-width: 520px; }
.conta form .campo { flex: 1; }
.chave-nova { margin-top: 16px; padding: 14px 0; border-top: 1px solid var(--borda); border-bottom: 1px solid var(--borda); }
.chave-nova code { font-family: var(--mono); word-break: break-all; background: var(--realce); padding: 1px 4px; }
pre.exemplo { font-family: var(--mono); font-size: 12px; padding: 14px 0; border-top: 1px solid var(--borda); border-bottom: 1px solid var(--fio); overflow-x: auto; white-space: pre; }

/* Celular: o menu vira faixa no alto, a margem desce para baixo do conteúdo */
@media (max-width: 900px) {
  .app { flex-direction: column; }
  .lado { position: static; height: auto; flex: none; padding: 16px; gap: 14px; flex-direction: row; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--fio); }
  .menu { flex-direction: row; flex-wrap: wrap; gap: 0 16px; width: 100%; }
  .lista, .pe-lado { display: none; }
  .buscar { flex: 1; }
  .palco { border-left: 0; }
  .principal { padding: 24px 16px 48px; }
  aside.margem { flex: 1 1 100%; max-width: none; padding: 32px 16px 48px; border-left: 0; border-top: 1px solid var(--fio); }
  h1.titulo { font-size: 26px; }
  .frase { font-size: 17px; }
  .botao { height: 40px; }
  .menu a { padding: 8px 0; }
  .menu a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--marca); padding-left: 0; margin-left: 0; }
}
.pagina { display: contents; }      /* a folha de cada página (app.js, rota): não muda o desenho */

/* Páginas de um cartão só, no centro: o login (#/entrar) e a de autorizar um assistente (/oauth/consent) */
.so-cartao { min-height: 100vh; display: flex; align-items: flex-start; justify-content: center; padding: clamp(24px, 8vh, 96px) 16px 48px;
  background-image: radial-gradient(var(--fio) 1px, transparent 1px); background-size: 22px 22px; }
.so-cartao .cartao { width: 100%; max-width: 400px; background: #fff; border: 1px solid var(--fio); border-radius: 12px; padding: 28px; box-shadow: 0 1px 2px rgba(0,0,0,.03), 0 12px 32px -16px rgba(0,0,0,.08);
  display: flex; flex-direction: column; gap: 14px; }
.so-cartao .marca { margin-bottom: 10px; }
.so-cartao h1 { font-family: var(--titulo); font-size: 19px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; margin: 0; }
.so-cartao h2 { font-size: 12px; font-weight: 500; color: var(--apagado); margin: 8px 0 0; }
.so-cartao .texto { margin: 0; color: var(--tinta-2); overflow-wrap: anywhere; }
.so-cartao form, .so-cartao section { display: flex; flex-direction: column; gap: 12px; }
.so-cartao label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--apagado); }
.so-cartao .campo { color: var(--tinta); }
.so-cartao .campo::placeholder { color: #a39ba5; font-size: 13px; }
.so-cartao form .botao { margin-top: 4px; height: 38px; }
.so-cartao .botao { height: 38px; }
.so-cartao .botao[disabled] { opacity: .55; cursor: default; transform: none; }
.so-cartao .recado-ok { margin: 0; padding: 10px 12px; border-left: 2px solid var(--marca); background: var(--papel); font-size: 13px; }
.so-cartao .nota { margin: 0; }
.so-cartao .modos { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }
.so-cartao .modos .dica { flex: 1 0 100%; }
.so-cartao .link-modo { border: 0; background: none; padding: 0; font: inherit; color: var(--destaque); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.so-cartao .link-modo:hover { color: var(--tinta); }
.so-cartao .de-fora { display: flex; flex-direction: column; gap: 10px; }
.so-cartao .ou { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 12px; color: var(--apagado); }
.so-cartao .ou::before, .so-cartao .ou::after { content: ""; flex: 1; height: 1px; background: var(--fio); }
.so-cartao .de-fora .botao { gap: 10px; border-color: var(--borda); background: #fff; }
.so-cartao .de-fora svg { width: 18px; height: 18px; flex: none; }
.so-cartao .rodape-cartao { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--fio); }
.so-cartao .fatos { margin: 0; display: grid; gap: 2px; padding: 12px 14px; background: var(--papel); border-radius: 6px; }
.so-cartao .fatos dt { font-size: 12px; color: var(--apagado); }
.so-cartao .fatos dd { margin: 0 0 8px; font-size: 14px; overflow-wrap: anywhere; }
.so-cartao .fatos dd:last-child { margin-bottom: 0; }
.so-cartao .lista { margin: 0; padding-left: 18px; color: var(--tinta-2); font-size: 14px; display: grid; gap: 4px; }
.so-cartao .botoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.so-cartao .botoes .botao { flex: 1 1 140px; }
.so-cartao .alerta { margin: 0; padding: 10px 12px; border-left: 3px solid var(--desce); background: #fdf1ef; font-size: 14px; color: var(--tinta); overflow-wrap: anywhere; }

/* Páginas de texto corrido: termos de uso e política de privacidade */
.documento { max-width: 680px; margin: 0 auto; padding: 24px 20px 80px; font-size: 15px; line-height: 1.7; }
.documento header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--fio); font-size: 14px; }
.documento h1 { font-family: var(--titulo); font-size: 28px; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; margin: 44px 0 6px; }
.documento h2 { font-family: var(--titulo); font-size: 17px; font-weight: 500; letter-spacing: -.01em; margin: 36px 0 8px; }
.documento h3 { font-size: 14px; font-weight: 500; color: var(--tinta); margin: 22px 0 6px; }
.documento p { margin: 0 0 12px; color: var(--tinta-2); }
.documento .data { font-family: var(--mono); font-size: 12px; color: var(--apagado); margin-bottom: 28px; }
.documento ul { margin: 0 0 12px; padding-left: 20px; color: var(--tinta-2); display: grid; gap: 6px; }
.documento strong { color: var(--tinta); font-weight: 600; }
.documento a { color: var(--destaque); text-underline-offset: 3px; }
.documento .marca, .documento .marca:hover { color: var(--tinta); }
.documento footer { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--fio); font-size: 13px; color: var(--apagado); }
.documento footer a, .documento header nav a { color: var(--apagado); }
.so-cartao .aceite { font-size: 12px; }
