/* v9.18 — repaginação, etapa 1: a casca "Carvão" (docs/superpowers/specs/2026-11-15-repaginacao-360-design.md).
   Tudo sob html.v10 (Configurações › Interface nova). Sem verde, sem tema claro, letras de no mínimo 12 px; movimento só
   para quem não desligou animações. As telas por dentro ainda são as da v8 — os tokens abaixo as deixam no Carvão. */

html.v10 {
  color-scheme: dark;
  --v10-chao: #0c0a09; --v10-bloco: #16120f; --v10-linha: rgba(255, 236, 214, .08);
  --v10-tx: #f7f0e8; --v10-tx2: #cdbfb1; --v10-mut: #a59889;
  --v10-brasa: #ff7a35; --v10-sobe: #ffc46b; --v10-cai: #ff8a80;
  --v10-numero: linear-gradient(120deg, #ffb347, #ff6a3a 55%, #e2433f);
  /* os tokens da v8 no Carvão: o conteúdo antigo fica escuro e sem verde */
  --bg: #0c0a09; --card: #16120f; --card-2: #1f1a16; --ink: #f7f0e8; --ink-2: #cdbfb1; --muted: #a59889;
  --bom: #ffc46b; --bom-txt: #ffc46b; --s3: #c9a27a;
  background: #0c0a09;
}
html.v10 body { background: #0c0a09; color: #f7f0e8; }

/* topo carvão: quase preto, o laranja só no número e na linha de baixo */
html.v10 .app-conteudo.v10 { padding: 0; }
html.v10 .topo-carvao { position: relative; /* sem z-index: o .topo-mini (fixo) precisa ficar acima da folha */ overflow: hidden; padding: calc(env(safe-area-inset-top, 0px) + 16px) 18px 50px;
  background: linear-gradient(180deg, #17110d, #120e0b); border-bottom: 1px solid rgba(255, 122, 53, .55); }
html.v10.demo .topo-carvao { padding-top: calc(env(safe-area-inset-top, 0px) + 38px); } /* a faixa da demonstração fica no alto */
html.v10 .topo-assinatura { position: absolute; right: -26px; top: 22px; width: 150px; height: 150px; opacity: .12; pointer-events: none; }
html.v10 .topo-linha { position: relative; display: flex; align-items: center; gap: 10px; }
html.v10 .topo-oi { flex: 1; min-width: 0; }
html.v10 .topo-oi b { display: block; font: 700 17px/1.2 var(--display, 'Bricolage Grotesque'), sans-serif; color: var(--v10-tx); }
html.v10 .topo-oi span { font-size: 12.5px; color: var(--v10-mut); }
html.v10 .topo-botoes { display: flex; gap: 8px; }
html.v10 .topo-btn { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--v10-tx2);
  background: rgba(255, 236, 214, .06); border: 1px solid var(--v10-linha); }
html.v10 .topo-btn svg { width: 18px; height: 18px; }
html.v10 .topo-eyebrow { position: relative; margin: 20px 0 0; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #c9b6a3; }
html.v10 .topo-num { position: relative; display: block; margin: 6px 0 12px; font: 800 52px/1 var(--display, 'Bricolage Grotesque'), sans-serif; letter-spacing: -.045em;
  background: var(--v10-numero); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
html.v10 .topo-num .cent { font-size: .46em; letter-spacing: 0; vertical-align: .64em; margin-left: 2px; }
html.v10 .topo-pilulas { position: relative; display: flex; flex-wrap: wrap; gap: 6px; }
html.v10 .topo-pilulas span { font-size: 12.5px; font-weight: 600; color: var(--v10-tx); padding: 6px 12px; border-radius: 99px;
  background: rgba(255, 236, 214, .08); border: 1px solid rgba(255, 236, 214, .12); }

/* topo encolhido ao rolar: uma linha só com o número pequeno */
/* v9.21: ao rolar, o topo vai embora com a página e um cabeçalho pequeno aparece por cima (fixo, fora do fluxo).
   Antes o próprio topo encolhia: a página mudava de altura, a rolagem pulava e o topo piscava sem parar. */
html.v10 .topo-mini { position: fixed; z-index: 20; left: 0; right: 0; top: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) 18px 11px; background: rgba(18, 14, 11, .94); border-bottom: 1px solid rgba(255, 122, 53, .55);
  opacity: 0; visibility: hidden; pointer-events: none; }
html.v10.demo .topo-mini { padding-top: calc(env(safe-area-inset-top, 0px) + 32px); }
html.v10 .topo-mini span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12.5px; font-weight: 600; color: var(--v10-tx2); }
html.v10 .topo-mini b { flex: none; font: 700 19px/1 var(--display, 'Bricolage Grotesque'), sans-serif; font-variant-numeric: tabular-nums;
  background: var(--v10-numero); -webkit-background-clip: text; background-clip: text; color: transparent; }
html.v10 .resumo.compacto .topo-mini { opacity: 1; visibility: visible; }

/* o conteúdo sobe como uma folha por cima do topo */
html.v10 .folha-v10 { position: relative; z-index: 6; margin-top: -26px; padding: 12px 16px 120px; border-radius: 28px 28px 0 0; background: var(--v10-chao); }
html.v10 .folha-v10::before { content: ''; display: block; width: 36px; height: 4px; margin: 0 auto 12px; border-radius: 9px; background: #3a322c; }
html.v10 .folha-v10 .subabas { position: static; }

/* barra de vidro flutuante com o ＋ no meio */
html.v10 .abas.v10-nav { left: 50%; right: auto; top: auto; bottom: calc(var(--base, 0px) + 12px); width: auto; max-width: calc(100vw - 20px); height: 66px; margin: 0;
  display: flex; align-items: center; gap: 0; padding: 6px; border-radius: 26px; transform: translateX(-50%);
  background: rgba(20, 16, 13, .97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(255, 236, 214, .1);
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .7), 0 0 0 10px rgba(12, 10, 9, .55); }
html.v10 .v10-nav .v10-aba { flex: none; width: 64px; min-width: 0; height: 54px; padding: 0; border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--v10-mut); }
html.v10 .v10-nav .v10-aba span { font: 600 12px/1 var(--sans); white-space: nowrap; }
html.v10 .v10-nav .v10-aba svg { width: 20px; height: 20px; }
html.v10 .v10-nav .v10-aba::before { display: none; }
html.v10 .v10-nav .v10-aba.on { color: #fff; background: rgba(255, 236, 214, .09); }
html.v10 .v10-nav .v10-aba.on svg { color: #ffa463; }
html.v10 .v10-mais { flex: none; width: 54px; height: 54px; margin: 0 7px; border-radius: 50%; display: grid; place-items: center; color: #1d0d05;
  background: var(--v10-brasa); border: 0; }
html.v10 .v10-mais svg { width: 24px; height: 24px; stroke-width: 2.4; }
html.v10 .resumo.abas-fora .v10-nav { transform: translate(-50%, calc(100% + 24px + var(--base, 0px))); }

/* números que sobem e caem: âmbar e coral (nunca verde) */
html.v10 .s, html.v10 .sobe { color: var(--v10-sobe); }
html.v10 .c, html.v10 .cai { color: var(--v10-cai); }

/* ---------- v9.19 (etapa 2): o Hoje — quatro blocos e as faixas de ação ---------- */
html.v10 .hoje-v10 .blocos-v10 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
html.v10 .bloco-v10 { display: block; width: 100%; text-align: left; font: inherit; color: var(--v10-tx); background: var(--v10-bloco);
  border: 1px solid var(--v10-linha); border-radius: 22px; padding: 13px 13px 12px; }
html.v10 .bloco-v10.vazio { color: var(--v10-mut); }
html.v10 .bloco-cab { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--v10-mut); }
html.v10 .bloco-cab svg { width: 16px; height: 16px; color: #ffb347; flex: none; }
html.v10 .bloco-v10 b { display: block; margin-top: 8px; font: 700 21px/1.1 var(--display, 'Bricolage Grotesque'), sans-serif; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
html.v10 .bloco-v10 small { display: block; margin-top: 3px; font-size: 12px; color: var(--v10-tx2); }
html.v10 .bloco-v10 small.sobe { color: var(--v10-sobe); }
html.v10 .bloco-v10 small.cai { color: var(--v10-cai); }
html.v10 .barra-v10 { display: block; height: 4px; margin-top: 10px; border-radius: 9px; overflow: hidden; background: rgba(255, 255, 255, .08); }
html.v10 .barra-v10 i { display: block; height: 100%; border-radius: 9px; background: #ffb347; }
html.v10 .faixas-v10 { display: grid; gap: 8px; margin-top: 10px; }
html.v10 .faixa-v10 { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 14px; border-radius: 20px;
  background: linear-gradient(90deg, rgba(255, 179, 71, .12), rgba(255, 179, 71, .03)); border: 1px solid rgba(255, 179, 71, .28); }
html.v10 .faixa-v10.tom-ruim { background: linear-gradient(90deg, rgba(255, 138, 128, .14), rgba(255, 138, 128, .03)); border-color: rgba(255, 138, 128, .4); }
html.v10 .faixa-texto { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 8px 0; text-align: left; font: inherit; font-size: 14px;
  color: var(--v10-tx); background: none; border: 0; }
html.v10 .faixa-texto svg { width: 18px; height: 18px; color: #ffb347; flex: none; }
html.v10 .faixa-v10.tom-ruim .faixa-texto svg { color: var(--v10-cai); }
html.v10 .faixa-acao-v10 { flex: none; font: inherit; font-size: 13px; font-weight: 700; color: #1d0d05; background: var(--v10-tx); border: 0; border-radius: 99px; padding: 9px 15px; }

/* ---------- o ＋ e as folhas no Carvão ---------- */
html.v10 #folha { background: #15110e; border-top: 1px solid rgba(255, 122, 53, .45); border-radius: 28px 28px 0 0; color: var(--v10-tx); }
html.v10 #folha .alca { background: #3a322c; }
html.v10 .discar-op { background: var(--v10-bloco); border: 1px solid var(--v10-linha); color: var(--v10-tx); }
html.v10 .discar-op small { color: var(--v10-mut); font-size: 12px; }
html.v10 .discar-ic { color: #ffb347; background: rgba(255, 179, 71, .1); }
html.v10 .discar-fechar { background: var(--v10-brasa); color: #1d0d05; }
html.v10 #folha .campo { background: #1d1814; border-color: rgba(255, 236, 214, .12); color: var(--v10-tx); }
html.v10 #folha #lValor { font: 800 40px/1.1 var(--display, 'Bricolage Grotesque'), sans-serif; letter-spacing: -.03em; color: #ff8a4c; text-align: center; }
html.v10 #folha .btn.prim { background: var(--v10-brasa); color: #1d0d05; border-color: transparent; }

/* ---------- v9.19.1: lançar no Carvão — desenho novo (mesmos campos e regras por baixo) ---------- */
html.v10 #folha h2 { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--v10-mut); margin: 0 0 12px; }
html.v10 #folha .escolha { background: #1d1814; border-radius: 99px; padding: 4px; gap: 2px; margin-bottom: 8px; }
html.v10 #folha .escolha button { min-height: 38px; border-radius: 99px; font-size: 13px; color: var(--v10-tx2); background: none; box-shadow: none; }
html.v10 #folha .escolha button.on { background: #2c241f; color: #fff; }
html.v10 #formLanc { display: flex; flex-direction: column; }
html.v10 #formLanc label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--v10-mut); margin: 14px 2px 6px; }
html.v10 #formLanc label[for="lValor"] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
html.v10 #formLanc #lValor { order: -1; margin: 6px 0 2px; padding: 4px 0; border: 0; background: none; text-align: center;
  font: 800 52px/1.05 var(--display, 'Bricolage Grotesque'), sans-serif; letter-spacing: -.04em; color: #ff8a4c; }
html.v10 #formLanc #lValor::placeholder { color: #4a3b31; }
html.v10 #formLanc .campo { border-radius: 16px; border: 1px solid rgba(255, 236, 214, .1); background: #1d1814; color: var(--v10-tx); font-size: 15px; min-height: 48px; }
html.v10 #formLanc .campo-cat { display: flex; align-items: center; gap: 10px; text-align: left; }
html.v10 #formLanc .cat-rapidas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
html.v10 #formLanc .cat-rapida { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px 10px; border-radius: 18px;
  background: #1d1814; border: 1px solid rgba(255, 236, 214, .08); color: var(--v10-tx2); font-size: 12px; }
html.v10 #formLanc .cat-rapida.on { border-color: var(--v10-brasa); color: #fff; background: rgba(255, 122, 53, .1); }
html.v10 #formLanc .cat-rapida span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
html.v10 #formLanc .marcar { display: flex; gap: 12px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 500;
  color: var(--v10-tx); margin: 12px 0 0; padding: 12px 14px; border-radius: 16px; background: #1a1512; border: 1px solid rgba(255, 236, 214, .06); }
html.v10 #formLanc .marcar small { display: block; font-size: 12px; color: var(--v10-mut); margin-top: 2px; }
html.v10 #formLanc .marcar input { accent-color: #ff7a35; width: 20px; height: 20px; margin-top: 1px; flex: none; }
html.v10 #formLanc .nota { font-size: 12.5px; color: var(--v10-tx2); }
html.v10 #formLanc #lOk { margin-top: 20px; min-height: 56px; border-radius: 18px; border: 0; background: var(--v10-brasa); color: #1d0d05; font-size: 16px; font-weight: 700; }
html.v10 #formLanc #lOk small { font-weight: 600; opacity: .75; }
html.v10 #formLanc #lColar { align-self: center; margin-top: 12px; color: #ffb347; }
html.v10 #folha .sms-caixa { background: #1d1814; border: 1px solid rgba(255, 179, 71, .25); border-radius: 18px; }

/* v9.20 (etapa 3): o Cartão numa leitura só — composição, ritmo e títulos de seção */
html.v10 .comp-v10 { background: var(--v10-bloco); border: 1px solid var(--v10-linha); border-radius: 22px; padding: 16px 15px 14px; margin-bottom: 12px; }
html.v10 .comp-barra-v10 { position: relative; display: flex; gap: 3px; height: 12px; }
html.v10 .comp-barra-v10 > i { display: block; height: 100%; border-radius: 6px; min-width: 3px; }
html.v10 .comp-v10 .p1 { background: #e2433f; }
html.v10 .comp-v10 .p2 { background: #ff7a35; }
html.v10 .comp-v10 .p3 { background: #ffb347; }
html.v10 .comp-v10 .livre { background: rgba(255, 236, 214, .1); }
html.v10 .comp-v10 .estouro { background: var(--v10-cai); }
html.v10 .marca-v10 { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--v10-tx); border-radius: 2px; }
html.v10 .comp-legenda-v10 { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 12px; }
html.v10 .comp-legenda-v10 li { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 7px; font-size: 12.5px; color: var(--v10-tx2); white-space: nowrap; }
html.v10 .comp-legenda-v10 li.cai { grid-column: 1 / -1; }
html.v10 .comp-legenda-v10 li > i { flex: none; width: 9px; height: 9px; border-radius: 3px; }
html.v10 .comp-legenda-v10 b { grid-column: 2; font: 650 14px var(--display); color: var(--v10-tx); font-variant-numeric: tabular-nums; }
html.v10 .comp-legenda-v10 li.cai, html.v10 .comp-legenda-v10 li.cai b { color: var(--v10-cai); }
html.v10 .ritmo-v10 { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--v10-linha); font-size: 14px; font-weight: 600; color: var(--v10-tx); }
html.v10 .ritmo-v10.cai { color: var(--v10-cai); }
html.v10 .ritmo-v10 small { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 500; color: var(--v10-mut); }
html.v10 .secao-v10 { margin: 26px 4px 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--v10-mut); }

/* v9.23 (etapa 6): a abertura — a marca no anel em brasa, a saudação e a digital embaixo */
html.v10 #trava { background: radial-gradient(120% 70% at 50% 0%, #2a1609 0%, var(--v10-chao) 60%); }
html.v10 .abertura-v10 { min-height: 100%; display: flex; flex-direction: column; align-items: center; padding: calc(env(safe-area-inset-top, 0px) + 14vh) 24px calc(env(safe-area-inset-bottom, 0px) + 28px); text-align: center; color: var(--v10-tx); }
html.v10 .abertura-marca { position: relative; width: 112px; height: 112px; display: grid; place-items: center; margin-bottom: 34px; }
html.v10 .abertura-marca img { width: 84px; height: 84px; border-radius: 26px; position: relative; }
html.v10 .anel-v10 { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(255, 122, 53, .5); }
html.v10 .anel-v10.a2 { inset: -20px; border-color: rgba(255, 122, 53, .28); }
html.v10 .anel-v10.a3 { inset: -42px; border-color: rgba(255, 122, 53, .14); }
html.v10 .abertura-toque { flex: 1; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  padding: 0 0 8vh; font: inherit; color: inherit; background: none; border: 0; -webkit-tap-highlight-color: transparent; }
html.v10 .abertura-oi { display: block; font: 700 30px/1.15 var(--display, 'Bricolage Grotesque'), sans-serif; letter-spacing: -.02em; }
html.v10 .abertura-toque:focus-visible { outline: none; }
html.v10 .abertura-toque:focus-visible .abertura-marca img { outline: 2px solid var(--v10-brasa); outline-offset: 6px; }
html.v10 .abertura-sub { margin: 8px 0 0; font-size: 14px; color: var(--v10-mut); }
html.v10 .abertura-acoes { margin-top: auto; width: 100%; max-width: 360px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
html.v10 .abertura-dica { display: grid; place-items: center; width: 58px; height: 58px; margin-top: 30px; border-radius: 50%; color: #ffa463; background: rgba(255, 122, 53, .08); border: 1px solid rgba(255, 122, 53, .4); } /* v9.29: só a marca da digital, sem texto */
html.v10 .abertura-dica .ic-cv, html.v10 .abertura-dica svg { width: 28px; height: 28px; color: #ffa463; }
html.v10 .abertura-v10 form { width: 100%; text-align: left; }
html.v10 .abertura-v10 .link { color: var(--v10-tx2); }

/* ===== v9.25 — o sistema Carvão para TODO o conteúdo (cartões do app e blocos do painel) =====
   Pedido do Bruno (15/11): "era pra ter refeito tudo" — nada do desenho antigo dentro da interface nova.
   Um vocabulário só: bloco escuro de 22 px sem sombra · título em Bricolage 15,5 px · rótulos pequenos em caixa alta ·
   linhas com filete · números em Bricolage tabular · barras finas em âmbar (atenção = brasa, problema = coral) ·
   pílulas escuras · botões em pílula (o principal em brasa) · dobras como linhas com seta · sem cartão dentro de cartão. */
html.v10 {
  --line: rgba(255, 236, 214, .08); --grid: rgba(255, 236, 214, .06); --axis: rgba(255, 236, 214, .2); --sombra: none;
  --accent: #ff7a35; --accent-ink: #ffa463; --accent-soft: rgba(255, 122, 53, .12); --on-accent: #1d0d05; --marca: #ff7a35;
  --dado: #ffb347; --s1: #ffb347; --s2: #ff6a3a; --pos: #ffc46b; --neg: #ff8a80;
  --info: #cdbfb1; --info-soft: rgba(255, 236, 214, .06); --info-txt: #cdbfb1;
  --bom-soft: rgba(255, 196, 107, .1);
  --atencao: #ff7a35; --atencao-txt: #ff9a52; --atencao-soft: rgba(255, 122, 53, .12);
  --ruim: #ff8a80; --ruim-txt: #ff8a80; --ruim-soft: rgba(255, 138, 128, .12);
  --brasa: rgba(255, 122, 53, .14); --campo: #1d1814; --v8-raio: 22px;
  --v10-fundo2: #1f1915;
}
/* bloco */
html.v10 :is(.folha-v10, #folha) :is(.cartao, .pn-solto) { background: var(--v10-bloco); border: 1px solid var(--v10-linha); border-radius: 22px; box-shadow: none; padding: 16px; }
html.v10 :is(.folha-v10, #folha) .cartao :is(.cartao, .pn-solto) { background: none; border: 0; border-radius: 0; padding: 0; } /* nada de cartão dentro de cartão */
html.v10 .folha-v10 .hero, html.v10 .folha-v10 .hero[class*="tom-"] { background: var(--v10-bloco); }
/* títulos e textos */
html.v10 :is(.folha-v10, #folha) .cartao :is(h2, h3) { font: 650 15.5px/1.3 var(--display); letter-spacing: -.01em; color: var(--v10-tx); }
html.v10 :is(.folha-v10, #folha) .cartao-topo { align-items: center; margin: 0 0 10px; }
html.v10 :is(.folha-v10, #folha) .cartao-topo > b { font: 700 15.5px var(--display); color: var(--v10-tx); font-variant-numeric: tabular-nums; }
html.v10 :is(.folha-v10, #folha) :is(.cartao-sub, .hero-sub, .texto) { color: var(--v10-tx2); font-size: 13.5px; line-height: 1.5; }
html.v10 :is(.folha-v10, #folha) .cartao-sub b, html.v10 :is(.folha-v10, #folha) .nota b { color: var(--v10-tx); }
html.v10 :is(.folha-v10, #folha) .nota { color: var(--v10-mut); font-size: 12.5px; line-height: 1.5; }
html.v10 :is(.folha-v10, #folha) :is(.grupo, .rotulo) { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--v10-mut); }
html.v10 :is(.folha-v10, #folha) .pn-tab-cab { color: var(--v10-mut); font-size: 12px; font-weight: 600; }
html.v10 :is(.folha-v10, #folha) .tile .rotulo { letter-spacing: 0; text-transform: none; font-size: 12.5px; font-weight: 500; }
html.v10 :is(.folha-v10, #folha) .suave { color: var(--v10-mut); }
html.v10 .folha-v10 .hero .hero-valor, html.v10 .folha-v10 :is(.mini-valor, .pn-grande) { font-family: var(--display); color: var(--v10-tx); letter-spacing: -.025em; }
html.v10 .folha-v10 .hero .hero-valor { font-size: 34px; font-weight: 700; }
html.v10 :is(.folha-v10, #folha) :is(.hero-valor, .mini-valor, .tile-valor).ruim { color: var(--v10-cai); }
html.v10 :is(.folha-v10, #folha) :is(.bom, .pos) { color: var(--v10-sobe); }
html.v10 :is(.folha-v10, #folha) :is(.ruim, .neg, .ruim-txt) { color: var(--v10-cai); }
/* linhas com filete (listas, valores, registros) */
html.v10 :is(.folha-v10, #folha) .linhas li { border-top-color: var(--v10-linha); color: var(--v10-tx2); font-size: 14px; padding: 11px 0; }
html.v10 :is(.folha-v10, #folha) :is(.linhas b, .rec-linha b, .bh-topo b, .orc-topo b, .pn-dia-v b, .mam-linha b, .conta-valor, .legenda b) { font-family: var(--display); font-weight: 650; color: var(--v10-tx); }
html.v10 :is(.folha-v10, #folha) .rec-linha { border-color: var(--v10-linha); padding-top: 11px; padding-bottom: 11px; }
html.v10 :is(.folha-v10, #folha) .rec-nome small, html.v10 :is(.folha-v10, #folha) .bh-topo small, html.v10 :is(.folha-v10, #folha) .orc-topo small { color: var(--v10-mut); }
/* barras: finas, âmbar; atenção = brasa; problema = coral */
html.v10 :is(.folha-v10, #folha) :is(.bh-trilho, .orc-barra, .est-barra, .mam-barra) { height: 6px; border-radius: 9px; background: rgba(255, 236, 214, .07); }
html.v10 :is(.folha-v10, #folha) :is(.bh-trilho, .orc-barra, .est-barra, .mam-barra) > i { border-radius: 9px; background: var(--dado); }
html.v10 :is(.folha-v10, #folha) .orc-barra.grossa { height: 8px; }
html.v10 :is(.folha-v10, #folha) .tom-atencao :is(.orc-barra, .bh-trilho) > i { background: var(--v10-brasa); }
html.v10 :is(.folha-v10, #folha) .tom-ruim :is(.orc-barra, .bh-trilho) > i { background: var(--v10-cai); }
html.v10 :is(.folha-v10, #folha) .est-barra > em { background: var(--v10-tx); width: 2px; }
/* números soltos do painel (tiles) */
html.v10 :is(.folha-v10, #folha) .tile { background: var(--v10-fundo2); border-radius: 16px; padding: 12px 13px; }
html.v10 :is(.folha-v10, #folha) .tile-valor { font: 700 18px/1.15 var(--display); color: var(--v10-tx); }
html.v10 :is(.folha-v10, #folha) .tile-valor.bom { color: var(--v10-sobe); }
html.v10 :is(.folha-v10, #folha) .tile-pe { color: var(--v10-mut); }
html.v10 .folha-v10 .pn-solto { padding: 4px; }
html.v10 .folha-v10 .pn-solto .tiles { background: var(--v10-linha); gap: 1px; }
html.v10 .folha-v10 .pn-solto .tile { background: var(--v10-bloco); border-radius: 0; }
/* pílulas */
html.v10 :is(.folha-v10, #folha) .chip { background: var(--v10-fundo2); border: 1px solid var(--v10-linha); color: var(--v10-tx2); font-size: 12.5px; font-weight: 600; padding: 5px 11px 5px 8px; }
html.v10 :is(.folha-v10, #folha) .pn-pill { background: var(--v10-fundo2); color: var(--v10-tx2); border-radius: 99px; }
/* botões */
html.v10 :is(.folha-v10, #folha) .btn { min-height: 48px; border-radius: 99px; background: var(--v10-fundo2); border: 1px solid var(--v10-linha); color: var(--v10-tx); font-size: 15px; font-weight: 650; }
html.v10 :is(.folha-v10, #folha) .btn.prim { background: var(--v10-brasa); border: 0; color: #1d0d05; }
html.v10 :is(.folha-v10, #folha) .botao-sec { min-height: 46px; border-radius: 99px; background: var(--v10-fundo2); border: 1px solid var(--v10-linha); color: var(--v10-tx); font-size: 14px; }
html.v10 :is(.folha-v10, #folha) .link { color: #ffa463; }
/* avisos do agente e callouts: ícone + texto, sem caixa colorida */
html.v10 :is(.folha-v10, #folha) :is(.pn-callout, .pn-alerta) { background: var(--v10-fundo2); border: 0; border-radius: 16px; padding: 12px 14px; color: var(--v10-tx2); }
html.v10 :is(.folha-v10, #folha) :is(.pn-callout, .pn-alerta) .pn-h, html.v10 :is(.folha-v10, #folha) :is(.pn-callout, .pn-alerta) b { color: var(--v10-tx); }
html.v10 :is(.folha-v10, #folha) .ic.tom-ideia, html.v10 :is(.folha-v10, #folha) .tom-info > .ic { color: #ffb347; }
/* registros (um por ativo, por mês…): um sobre o outro com filete, não caixinhas */
html.v10 :is(.folha-v10, #folha) .pn-registros > li { background: none; border: 0; border-top: 1px solid var(--v10-linha); border-radius: 0; padding: 12px 0; }
html.v10 :is(.folha-v10, #folha) .pn-registros > li:first-child { border-top: 0; padding-top: 2px; }
html.v10 :is(.folha-v10, #folha) .pn-reg-titulo { font: 650 14.5px var(--display); color: var(--v10-tx); }
html.v10 :is(.folha-v10, #folha) .pn-registros dt { color: var(--v10-mut); font-size: 12px; }
html.v10 :is(.folha-v10, #folha) .pn-registros dd { color: var(--v10-tx); font-family: var(--display); font-weight: 600; }
/* tabelas */
html.v10 :is(.folha-v10, #folha) .pn-tab-l { border-color: var(--v10-linha); color: var(--v10-tx2); }
html.v10 :is(.folha-v10, #folha) .pn-tab-l.total { color: var(--v10-tx); font-weight: 650; }
/* dobras: uma linha com seta; aberta, o conteúdo entra no mesmo bloco (sem repetir o título) */
html.v10 .folha-v10 .app-aba > details.dobra { background: var(--v10-bloco); border: 1px solid var(--v10-linha); border-radius: 22px; padding: 15px 16px; }
html.v10 .folha-v10 .app-aba > details.dobra > summary h2 { font: 650 15.5px/1.3 var(--display); color: var(--v10-tx); margin: 0; }
html.v10 .folha-v10 .app-aba > details.dobra > summary .cartao-sub { display: none; } /* "Toque para abrir": a seta já diz */
html.v10 .folha-v10 .app-aba > details.dobra[open] > summary { margin-bottom: 12px; }
html.v10 .folha-v10 .app-aba > details.dobra > .cartao { background: none; border: 0; padding: 0; border-radius: 0; }
html.v10 .folha-v10 .app-aba > details.dobra > .cartao > .cartao-topo:first-child { display: none; }
html.v10 :is(.folha-v10, #folha) .dobra summary::after { border-color: var(--v10-mut); }
html.v10 :is(.folha-v10, #folha) .dobra { border-color: var(--v10-linha); }
/* gráficos: grade apagada, eixo discreto, uma cor por gráfico */
html.v10 :is(.folha-v10, #folha) :is(.g-eixo, .g-rotulo) { fill: var(--v10-mut); color: var(--v10-mut); }
html.v10 :is(.folha-v10, #folha) .g-grade { stroke: var(--grid); }
html.v10 :is(.folha-v10, #folha) .barrash li { color: var(--v10-tx2); }
/* agenda: o dia num quadradinho escuro (como no desenho); hoje com contorno de brasa, sem bloco laranja aceso */
html.v10 .folha-v10 .pn-agenda .pn-dia-n { background: var(--v10-fundo2); color: var(--v10-tx); border-radius: 13px; }
html.v10 .folha-v10 .pn-agenda .pn-dia-n span { color: var(--v10-mut); }
html.v10 .folha-v10 .pn-agenda .pn-hoje + .pn-dia .pn-dia-n { background: var(--v10-fundo2); color: var(--v10-tx); box-shadow: inset 0 0 0 1.5px var(--v10-brasa); }
html.v10 .folha-v10 .pn-agenda .pn-hoje + .pn-dia .pn-dia-n span { color: #ffa463; opacity: 1; }
html.v10 .folha-v10 .pn-agenda .pn-dia.cont .pn-dia-n { background: none; box-shadow: none; }
/* "Entenda" no fim: discreto */
html.v10 .folha-v10 .entenda { background: none; border: 1px dashed var(--v10-linha); }

/* ===== v9.26 — "Carteira de cartões" (escolhida pelo Bruno em 15/11): os componentes de app/carvao.js =====
   O que importa é um cartão que se desliza (carrossel com encaixe), o maior em brasa com o pássaro de marca-d'água;
   embaixo, barras agora × alvo, listas com ícone e linhas de ação. Um bloco nunca fica dentro de outro. */
html.v10 .secao-cv { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 24px 4px 10px; scroll-margin-top: 76px; }
html.v10 .secao-cv h2 { margin: 0; font: 650 17px/1.25 var(--display); letter-spacing: -.01em; color: var(--v10-tx); }
html.v10 .secao-cv h2 small { margin-left: 7px; font: 600 13px var(--sans); color: var(--v10-mut); }
html.v10 .link-cv { flex: none; background: none; border: 0; padding: 4px 0; font: 600 13.5px var(--sans); color: #ffa463; }
html.v10 .folha-v10 .app-aba > span[id^="v10-"] { display: block; scroll-margin-top: 76px; }

html.v10 .carrossel-cv { display: flex; gap: 10px; margin: 0 -16px 4px; padding: 2px 16px 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-padding-inline: 16px; overscroll-behavior-x: contain; scrollbar-width: none; }
html.v10 .carrossel-cv::-webkit-scrollbar { display: none; }
html.v10 .carrossel-cv > div { flex: none; scroll-snap-align: start; display: flex; }
html.v10 .cartao-cv { position: relative; overflow: hidden; isolation: isolate; width: 200px; min-height: 128px; display: flex; flex-direction: column; align-items: flex-start;
  text-align: left; font: inherit; color: var(--v10-tx); background: var(--v10-bloco); border: 1px solid var(--v10-linha); border-radius: 22px; padding: 13px 14px 12px; }
html.v10 .cartao-cv::before { content: ""; position: absolute; z-index: -2; inset: 0; border-radius: inherit; opacity: 0;
  background: linear-gradient(140deg, #e2533a 0%, #c2362f 55%, #8f2433 100%); }
html.v10 .cartao-cv.brasa { color: #fff; border-color: transparent; box-shadow: 0 16px 30px -20px rgba(226, 67, 63, .9); }
html.v10 .cartao-cv.brasa::before { opacity: 1; }
html.v10 .cartao-cv::after { content: ""; position: absolute; z-index: -1; right: -26px; bottom: -30px; width: 128px; height: 128px; opacity: 0;
  background: #fff; -webkit-mask: url(icons/badge-96.png) center / contain no-repeat; mask: url(icons/badge-96.png) center / contain no-repeat; } /* a silhueta do pássaro (sem o quadrado do ícone) */
html.v10 .cartao-cv.brasa::after { opacity: .16; }
html.v10 .cartao-cv::after { width: 108px; height: 108px; right: -22px; bottom: -26px; }
html.v10 .cartao-cv:focus-visible { outline: 2px solid var(--v10-brasa); outline-offset: 3px; }
html.v10 .cv-topo { margin: -3px 0 9px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 99px;
  background: rgba(255, 236, 214, .07); color: var(--v10-tx2); }
html.v10 .cartao-cv.brasa .cv-topo { background: rgba(40, 6, 0, .25); color: #fff; }
html.v10 :is(.folha-v10, #folha) .cv-topo .chip { padding: 0; background: none; border: 0; font-size: 12px; }
html.v10 .cv-codigo { font: 800 24px/1 var(--display); letter-spacing: -.03em; }
html.v10 .cv-nome { max-width: 100%; margin-top: 5px; font-size: 12.5px; color: var(--v10-tx2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.v10 .cartao-cv.brasa .cv-nome { color: rgba(255, 255, 255, .86); }
html.v10 .cv-valor { margin-top: auto; padding-top: 10px; font: 700 19px/1.1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
html.v10 .cv-valor small { font: 500 13px var(--sans); color: var(--v10-tx2); letter-spacing: 0; }
html.v10 .cv-rodape { display: flex; flex-wrap: wrap; gap: 2px 10px; margin-top: 4px; font-size: 12px; color: var(--v10-tx2); }
html.v10 .cartao-cv.brasa .cv-rodape, html.v10 .cartao-cv.brasa .cv-valor small { color: rgba(255, 255, 255, .88); }
html.v10 .var-cv { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; }
html.v10 .var-cv.sobe { color: var(--v10-sobe); } html.v10 .var-cv.cai { color: var(--v10-cai); }
html.v10 .cartao-cv.brasa .var-cv { color: #fff; }
html.v10 .ic-cv { width: 16px; height: 16px; flex: none; }
html.v10 .var-cv .ic-cv { width: 13px; height: 13px; }
html.v10 .cartao-cv.fatura { width: 196px; }
html.v10 .cartao-cv.mes { width: 152px; min-height: 124px; }
html.v10 .cartao-cv.mes .cv-codigo { font-size: 22px; }
html.v10 .cartao-cv.negativo .cv-valor { color: var(--v10-cai); }
html.v10 .cartao-cv .cai { color: var(--v10-cai); }
html.v10 .cartao-cv.meta { width: 220px; }
html.v10 .cartao-cv.meta .cv-rodape { flex-direction: column; width: 100%; }
html.v10 .cv-barra { display: block; width: 100%; height: 5px; border-radius: 9px; background: rgba(255, 236, 214, .1); overflow: hidden; }
html.v10 .cv-barra > i { display: block; height: 100%; border-radius: 9px; background: #ffb347; }
html.v10 .cartao-cv.mercado { width: 262px; }
html.v10 .cartao-cv.mercado .cv-rodape span { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; color: var(--v10-tx2); line-height: 1.45; }
html.v10 .cartao-cv.mercado .cv-rodape b { color: var(--v10-tx); }
html.v10 .grade-cv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 4px; }
html.v10 .grade-cv .cartao-cv { width: auto; min-height: 140px; padding: 14px; }
html.v10 .grade-cv .cv-codigo { font-size: 22px; }

html.v10 .bloco-cv { margin: 0 0 10px; padding: 14px 16px; background: var(--v10-bloco); border: 1px solid var(--v10-linha); border-radius: 22px; }
html.v10 .bloco-cv.compacto { padding: 2px 14px; }
html.v10 .cv-resumo { margin: 0 0 8px; font-size: 13.5px; color: var(--v10-tx2); }
html.v10 .cv-resumo b { font: 700 17px var(--display); color: var(--v10-tx); font-variant-numeric: tabular-nums; }
html.v10 .cv-resumo.fora { margin: -2px 4px 10px; }
html.v10 .cv-resumo b.cai { color: var(--v10-cai); }
html.v10 .cv-nota { margin: 8px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--v10-mut); }
html.v10 .cv-nota.fora { margin: 0 4px 12px; }
html.v10 .cv-legenda { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; font-size: 12px; color: var(--v10-mut); }
html.v10 .cv-legenda i { width: 14px; height: 6px; border-radius: 9px; background: #ffb347; }
html.v10 .cv-legenda em { width: 2px; height: 11px; margin-left: 8px; border-radius: 2px; background: var(--v10-tx); }

html.v10 .barras-cv { list-style: none; margin: 0; padding: 0; }
html.v10 .barras-cv li { display: grid; grid-template-columns: 1fr auto; gap: 7px 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--v10-linha); }
html.v10 .barras-cv li:first-child { border-top: 0; padding-top: 2px; }
html.v10 .ba-rot { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13.5px; color: var(--v10-tx2); }
html.v10 .ba-rot > span:last-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
html.v10 .ba-val { font: 650 14px var(--display); color: var(--v10-tx); font-variant-numeric: tabular-nums; }
html.v10 .ba-trilho { grid-column: 1 / -1; position: relative; display: block; height: 7px; border-radius: 9px; background: rgba(255, 236, 214, .07); }
html.v10 .ba-trilho > i { display: block; height: 100%; border-radius: 9px; background: #ffb347; }
html.v10 .ba-trilho > em { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--v10-tx); }
html.v10 .barras-cv .tom-atencao .ba-trilho > i { background: var(--v10-brasa); }
html.v10 .barras-cv .tom-ruim .ba-trilho > i { background: var(--v10-cai); }
html.v10 .barras-cv .tom-ruim .ba-val { color: var(--v10-cai); }
html.v10 .ba-nota { grid-column: 1 / -1; margin-top: -2px; font-size: 12px; color: var(--v10-mut); }
html.v10 .cat-ic.micro { width: 26px; height: 26px; flex: none; } html.v10 .cat-ic.micro svg { width: 15px; height: 15px; }

html.v10 .lista-cv { list-style: none; margin: 0; padding: 0; }
html.v10 .linha-cv { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--v10-linha); }
html.v10 .linha-cv:first-child { border-top: 0; }
html.v10 .li-corpo { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 11px 0; background: none; border: 0; color: inherit; font: inherit; text-align: left; }
html.v10 .li-txt { flex: 1; min-width: 0; }
html.v10 .li-txt b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; font-weight: 600; line-height: 1.3; color: var(--v10-tx); }
html.v10 .li-txt small { display: block; margin-top: 1px; font-size: 12.5px; line-height: 1.4; color: var(--v10-mut); }
html.v10 .li-val { flex: none; text-align: right; }
html.v10 .li-val b { display: block; font: 650 15px var(--display); color: var(--v10-tx); font-variant-numeric: tabular-nums; }
html.v10 .li-val small { display: block; font-size: 12px; color: var(--v10-mut); }
html.v10 .li-seta { color: var(--v10-mut); }
html.v10 .li-acao { flex: none; padding: 8px 13px; border-radius: 99px; font: 700 13px var(--sans); color: var(--v10-tx); background: var(--v10-fundo2); border: 1px solid var(--v10-linha); }
html.v10 .li-acao.principal { color: #1d0d05; background: var(--v10-brasa); border-color: transparent; }
html.v10 .li-acao.redondo { width: 40px; height: 40px; padding: 0; display: grid; place-items: center; color: #ffb347; }
html.v10 .li-acao.redondo .ic-cv { width: 18px; height: 18px; }
html.v10 .ic-tile { flex: none; width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center; background: var(--v10-fundo2); color: #ffb347; }
html.v10 .ic-tile svg { width: 18px; height: 18px; }
html.v10 .ic-tile.tom-ruim { color: var(--v10-cai); } html.v10 .ic-tile.tom-atencao { color: var(--v10-brasa); }
html.v10 .ic-tile.tom-bom { color: var(--v10-sobe); } html.v10 .ic-tile.tom-info { color: var(--v10-tx2); }
html.v10 .dia-cv { flex: none; width: 40px; height: 44px; border-radius: 13px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--v10-fundo2); color: var(--v10-tx); line-height: 1.05; }
html.v10 .dia-cv b { font: 700 16px var(--display); } html.v10 .dia-cv small { font-size: 12px; color: var(--v10-mut); }
html.v10 .dia-cv.hoje { box-shadow: inset 0 0 0 1.5px var(--v10-brasa); } html.v10 .dia-cv.hoje small { color: #ffa463; }

html.v10 .numeros-cv { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
html.v10 .numeros-cv span { display: block; font-size: 12.5px; color: var(--v10-mut); }
html.v10 .numeros-cv b { display: block; margin-top: 4px; font: 700 24px/1.1 var(--display); letter-spacing: -.02em; color: var(--v10-tx); }
html.v10 .numeros-cv small { display: block; margin-top: 3px; font-size: 12px; color: var(--v10-mut); }
html.v10 .acoes-cv { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 2px; }
html.v10 .acoes-cv button { min-height: 44px; padding: 0 16px; border-radius: 99px; font: 650 14px var(--sans); color: var(--v10-tx); background: var(--v10-fundo2); border: 1px solid var(--v10-linha); }
html.v10 .acoes-cv button.principal { color: #1d0d05; background: var(--v10-brasa); border-color: transparent; }
html.v10 .folha-v10 .app-aba > .acoes-cv { margin: 0 0 12px; }
html.v10 .bloco-cv .acoes-cv { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); margin-top: 12px; }

html.v10 .score-cv { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
html.v10 .score-anel-cv { position: relative; width: 92px; height: 92px; flex: none; }
html.v10 .score-anel-cv svg { width: 92px; height: 92px; }
html.v10 .score-anel-cv b { position: absolute; inset: 0; display: grid; place-items: center; font: 800 26px var(--display); }
html.v10 .score-cv h3 { margin: 0 0 6px; font: 650 15.5px var(--display); color: var(--v10-tx); }
html.v10 .analise-cv { width: 280px; min-height: 176px; display: flex; flex-direction: column; padding: 14px 16px; background: var(--v10-bloco); border: 1px solid var(--v10-linha); border-radius: 22px; }
html.v10 .an-topo { display: flex; justify-content: space-between; align-items: center; }
html.v10 .an-topo small { font-size: 12px; color: var(--v10-mut); }
html.v10 .analise-cv > b { margin: 10px 0 6px; font: 650 15px/1.3 var(--display); color: var(--v10-tx); }
html.v10 .analise-cv > p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--v10-tx2); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
html.v10 .analise-cv > p.an-acao { margin-top: auto; padding-top: 10px; -webkit-line-clamp: 3; color: var(--v10-tx); font-size: 12.5px; }

html.v10 .tudo-cv { display: flex; align-items: center; gap: 12px; width: 100%; margin: 20px 0 0; padding: 14px 16px; text-align: left; font: inherit; color: var(--v10-tx);
  background: var(--v10-bloco); border: 1px solid var(--v10-linha); border-radius: 22px; }
html.v10 .tudo-cv > span { flex: 1; } html.v10 .tudo-cv b { display: block; font-size: 14.5px; font-weight: 600; }
html.v10 .tudo-cv small { display: block; font-size: 12.5px; color: var(--v10-mut); }
html.v10 .tudo-cv > .ic-cv:first-child { color: #ffb347; width: 20px; height: 20px; }
html.v10 .tudo-topo-cv { margin: 2px 4px 14px; }
html.v10 .tudo-topo-cv h2 { margin: 6px 0 2px; font: 700 20px var(--display); color: var(--v10-tx); }
html.v10 .tudo-topo-cv p { margin: 0; font-size: 13px; color: var(--v10-mut); }

/* v9.26 (revisão): barras numa linha (estratégia), o próximo passo em destaque, botões 2×2, a folha de detalhe */
html.v10 .barras-cv.compacto li { grid-template-columns: minmax(96px, 36%) 1fr 48px; gap: 4px 12px; padding: 9px 0; }
html.v10 .barras-cv.compacto .ba-rot { grid-column: 1; grid-row: 1; }
html.v10 .barras-cv.compacto .ba-trilho { grid-column: 2; grid-row: 1; }
html.v10 .barras-cv.compacto .ba-val { grid-column: 3; grid-row: 1; text-align: right; }
html.v10 .barras-cv.compacto .ba-nota { grid-column: 1 / -1; margin-top: 0; }
html.v10 .passo-cv { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; padding: 10px 12px; border-radius: 22px;
  background: linear-gradient(90deg, rgba(255, 122, 53, .16), rgba(255, 122, 53, .04)); border: 1px solid rgba(255, 122, 53, .35); }
html.v10 .passo-cv .passo-txt { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 0; text-align: left; font: inherit; color: var(--v10-tx); background: none; border: 0; }
html.v10 .passo-cv .passo-txt > span:last-child { min-width: 0; }
html.v10 .passo-cv .passo-txt small { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; color: #ffa463; }
html.v10 .passo-cv .passo-txt .li-seta { width: 16px; height: 16px; flex: none; color: var(--v10-mut); }
html.v10 .passo-cv .passo-txt > span:last-of-type { flex: 1; }
html.v10 .barras-cv.compacto .ba-rot > span:last-child { white-space: normal; overflow: visible; line-height: 1.25; } /* nome longo quebra em 2 linhas, não corta */
html.v10 .passo-cv .passo-txt b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
html.v10 .acoes-cv.grade2 { display: grid; grid-template-columns: 1fr 1fr; }
html.v10 .rotulo-cv { margin: 14px 4px 6px; font-size: 12.5px; font-weight: 600; color: var(--v10-mut); }
html.v10 .numeros-cv > div:only-child { grid-column: 1 / -1; }
html.v10 .cv-resumo b.sobe { color: var(--v10-sobe); }
html.v10 .cv-texto { margin: 10px 0 0; font-size: 14px; line-height: 1.55; color: var(--v10-tx2); }
html.v10 .cv-texto b { color: var(--v10-tx); }
html.v10 #folha .detalhe-cv .detalhe-titulo { margin: 2px 0 12px; text-align: left; text-transform: none; font: 700 21px/1.2 var(--display); letter-spacing: -.015em; color: var(--v10-tx); }
html.v10 .detalhe-cv .comp-v10 { margin-bottom: 4px; }

/* v9.27: o seletor de mês (Caixa e Cartão) menor — uma pílula estreita no centro, setas redondas */
html.v10 .folha-v10 .seletor-mes { max-width: 260px; margin: 2px auto 8px; padding: 4px; gap: 6px; border-radius: 99px; background: var(--v10-bloco); border: 1px solid var(--v10-linha); }
html.v10 .folha-v10 .seletor-mes.fora { border-color: rgba(255, 122, 53, .45); background: rgba(255, 122, 53, .07); }
html.v10 .folha-v10 .sm-seta { width: 34px; height: 34px; border-radius: 50%; background: var(--v10-fundo2); color: var(--v10-tx2); }
html.v10 .folha-v10 .sm-seta svg { width: 16px; height: 16px; }
html.v10 .folha-v10 .sm-mes b { font-size: 14.5px; }
html.v10 .folha-v10 .sm-mes small { font-size: 12px; }
html.v10 .cartao-cv.fatura { width: 176px; }
html.v10 .cartao-cv.meta { width: 196px; }

/* v9.27 — "Tudo do painel" como índice: um bloco escuro por assunto, uma linha por bloco do painel (ícone, título,
   resumo, seta que gira); aberto, o bloco entra liso dentro da linha — sem repetir o título e sem cartão dentro de cartão */
html.v10 .tudo-lista { margin: 0 0 10px; padding: 0 14px; background: var(--v10-bloco); border: 1px solid var(--v10-linha); border-radius: 22px; }
html.v10 .tudo-item { border-top: 1px solid var(--v10-linha); }
html.v10 .tudo-item:first-child { border-top: 0; }
html.v10 .tudo-item > summary { display: flex; align-items: center; gap: 12px; padding: 12px 0; list-style: none; cursor: pointer; }
html.v10 .tudo-item > summary::-webkit-details-marker { display: none; }
html.v10 .tudo-item > summary::after { display: none; }
html.v10 .tudo-item > summary .li-txt b { white-space: normal; }
html.v10 .tudo-seta { flex: none; width: 16px; height: 16px; color: var(--v10-mut); }
html.v10 .tudo-item[open] > summary .tudo-seta { transform: rotate(90deg); color: #ffa463; }
html.v10 .tudo-item[open] > summary .li-txt small { display: none; }
html.v10 .tudo-corpo { padding: 0 0 16px; }
html.v10 :is(.folha-v10, #folha) .tudo-corpo :is(.cartao, .pn-solto, .hero) { background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none; }
html.v10 :is(.folha-v10, #folha) .tudo-corpo .cartao + .cartao { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--v10-linha); }
html.v10 :is(.folha-v10, #folha) .tudo-corpo .cartao-topo > h2:first-child { display: none; }
html.v10 :is(.folha-v10, #folha) .tudo-corpo .cartao-topo:has(> h2:only-child) { display: none; }
html.v10 :is(.folha-v10, #folha) .tudo-corpo .hero .hero-valor { font-size: 28px; }

/* v9.28: os gráficos no Carvão (areaCv, colunasCv) */
html.v10 .grafico-cv { display: block; width: 100%; height: auto; overflow: visible; }
html.v10 .gcv-linha { fill: none; stroke: #ffb347; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
html.v10 .gcv-linha.neg { stroke: var(--v10-cai); }
html.v10 .gcv-zero { stroke: rgba(255, 236, 214, .14); stroke-width: 1; stroke-dasharray: 3 4; }
html.v10 .gcv-hoje { stroke: rgba(255, 236, 214, .22); stroke-width: 1; stroke-dasharray: 2 4; }
html.v10 .gcv-halo { fill: rgba(255, 122, 53, .22); }
html.v10 .gcv-ponto { fill: #ff7a35; stroke: #0c0a09; stroke-width: 2; }
html.v10 .gcv-min { fill: var(--v10-cai); stroke: #0c0a09; stroke-width: 2; }
html.v10 .gcv-val { font: 700 12.5px var(--display); fill: var(--v10-tx); }
html.v10 .gcv-val.cai { fill: var(--v10-cai); }
html.v10 .gcv-eixo { font: 500 12px var(--sans); fill: var(--v10-mut); }
html.v10 .gcv-col { fill: #ffb347; opacity: .78; }
html.v10 .gcv-marca { fill: #ffb347; opacity: .7; }
html.v10 .gcv-col:last-of-type, html.v10 .gcv-col.destaque { opacity: 1; }
html.v10 .gcv-col.neg { fill: var(--v10-cai); opacity: .8; }
html.v10 .grafico-cv .g-cursor line { stroke: rgba(255, 236, 214, .35); stroke-width: 1; }
html.v10 .grafico-cv .g-cursor circle { fill: #ffb347; stroke: #0c0a09; stroke-width: 2; }

/* v9.28: telas enxutas — evolução e renda num bloco, metas em linhas com barra, movimentar em ícones */
html.v10 .separa-cv { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--v10-linha); }
html.v10 .pct-cv { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font: 700 12.5px var(--display); color: #ffb347;
  background: var(--v10-fundo2); box-shadow: inset 0 0 0 1.5px rgba(255, 179, 71, .35); }
html.v10 .pct-cv.feito { color: #1d0d05; background: #ffb347; box-shadow: none; }
html.v10 .li-txt .cv-barra { margin: 6px 0 4px; height: 4px; }
html.v10 .acoes-ic-cv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 22px 0 6px; }
html.v10 .acoes-ic-cv button { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 0; font: 600 12.5px var(--sans); color: var(--v10-tx2); background: none; border: 0; }
html.v10 .acoes-ic-cv .ic-tile { width: 52px; height: 52px; border-radius: 18px; border: 1px solid var(--v10-linha); }
html.v10 .acoes-ic-cv .ic-tile svg { width: 22px; height: 22px; }
html.v10 .links-cv { margin: 6px 4px 0; font-size: 12.5px; color: var(--v10-mut); text-align: center; }
html.v10 .links-cv .link-cv { font-size: 12.5px; padding: 2px 0; }

html.v10 .ok-cv { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0 0; padding-top: 12px; border-top: 1px solid var(--v10-linha); color: var(--v10-tx2); }
html.v10 .ok-cv:first-child { margin-top: 0; padding-top: 2px; border-top: 0; }
html.v10 .ok-cv .ic { flex: none; width: 20px; height: 20px; color: var(--v10-sobe); }
html.v10 .ok-cv b { display: block; font-size: 14px; font-weight: 600; color: var(--v10-tx); }
html.v10 .ok-cv small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.4; color: var(--v10-mut); }
html.v10 .bloco-cv > .link-cv { display: block; margin-top: 8px; }

/* v9.28 (revisão): o bloco aberto no "Tudo do painel" fica recuado sob o texto, com um filete; dobras internas já abertas */
/* v9.29: sem recuo — o bloco aberto ocupa a largura toda da linha (o Bruno achou desalinhado) */
html.v10 .tudo-corpo { margin: 0; padding: 4px 0 18px; border-top: 1px solid var(--v10-linha); }
html.v10 :is(.folha-v10, #folha) .tudo-corpo :is(details[data-unica], details.comp-grupo) > summary { pointer-events: none; }
html.v10 :is(.folha-v10, #folha) .tudo-corpo :is(details[data-unica], details.comp-grupo) > summary::after { display: none; }

/* v9.29 — o que abre no "Tudo do painel", peça por peça no Carvão (pedido do Bruno: "cards antigos, desalinhado") */
/* números soltos: grade de duas colunas sem caixinhas, como os números das telas novas */
html.v10 :is(.folha-v10, #folha) .tudo-corpo .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; background: none; padding: 8px 0 4px; }
html.v10 :is(.folha-v10, #folha) .tudo-corpo .tile { background: none; border: 0; border-radius: 0; padding: 0; }
html.v10 :is(.folha-v10, #folha) .tudo-corpo .tile .rotulo { color: var(--v10-mut); font-size: 12.5px; }
html.v10 :is(.folha-v10, #folha) .tudo-corpo .tile-valor { font-size: 21px; margin-top: 4px; letter-spacing: -.02em; }
html.v10 :is(.folha-v10, #folha) .tudo-corpo .tile-pe { font-size: 12px; margin-top: 3px; line-height: 1.4; }
/* avisos e callouts: linhas com filete (ícone + texto), nada de caixa dentro do bloco */
html.v10 :is(.folha-v10, #folha) .tudo-corpo :is(.pn-callout, .pn-alerta) { background: none; border: 0; border-top: 1px solid var(--v10-linha); border-radius: 0; padding: 12px 0; }
html.v10 :is(.folha-v10, #folha) .tudo-corpo :is(.pn-callout, .pn-alerta):first-child { border-top: 0; padding-top: 6px; }
html.v10 :is(.folha-v10, #folha) .tudo-corpo .pn-alertas { gap: 0; }
/* o total que ficava solto quando o título some (ex.: Entradas, O que compõe a fatura); "Editar" vai para a direita */
html.v10 :is(.folha-v10, #folha) .tudo-corpo .cartao-topo:has(> h2:first-child) { display: flex; justify-content: flex-end; margin: 4px 0 2px; }
html.v10 :is(.folha-v10, #folha) .tudo-corpo .cartao-topo:has(> h2:first-child) > b { margin-right: auto; font-size: 20px; letter-spacing: -.02em; }
/* gráficos antigos: sem grade, colunas arredondadas */
html.v10 :is(.folha-v10, #folha) .tudo-corpo svg.grafico .g-grade { display: none; }
html.v10 :is(.folha-v10, #folha) .tudo-corpo svg.grafico rect.g-col { rx: 4px; }
/* escolhas (meses, cenários): pílula em brasa, nunca branca */
html.v10 :is(.folha-v10, #folha) .tudo-corpo .pn-rolagem .pn-opcao { background: var(--v10-fundo2); border: 1px solid var(--v10-linha); color: var(--v10-tx2); }
html.v10 :is(.folha-v10, #folha) .tudo-corpo :is(.pn-rolagem, .segmento) .pn-opcao.on { background: var(--accent-soft); border-color: rgba(255, 122, 53, .45); color: #ffa463; box-shadow: none; }
/* dobra única dentro do bloco: o título dela repete a linha — some (já vem aberta) */
html.v10 :is(.folha-v10, #folha) .tudo-corpo .dobra-grupo > details.dobra:only-of-type > summary { display: none; }
/* atalho (Imposto de Renda): a linha já diz o nome — fica só o botão */
html.v10 :is(.folha-v10, #folha) .tudo-corpo .link-extrato { width: 100%; background: var(--v10-fundo2); border: 1px solid var(--v10-linha); border-radius: 18px; padding: 12px 14px; }

html.v10 .bloco-v10 small svg, html.v10 .topo-pilulas span svg { display: inline-block; width: 14px; height: 14px; flex: none; vertical-align: -2px; margin-right: 3px; }
html.v10 .topo-pilulas span { display: inline-flex; align-items: center; }
html.v10 .topo-pilulas span.sobe svg { color: var(--v10-sobe); } html.v10 .topo-pilulas span.cai svg { color: var(--v10-cai); }
html.v10 .topo-pilulas span.tom-atencao svg { color: var(--v10-brasa); } html.v10 .topo-pilulas span.tom-ruim svg { color: var(--v10-cai); } html.v10 .topo-pilulas span.tom-bom svg { color: var(--v10-sobe); }

@media (prefers-reduced-motion: no-preference) {
  html.v10 .anel-v10 { animation: v10-anel .5s ease-out both; }
  html.v10 .carrossel-cv > div { animation: v10-cartao .5s cubic-bezier(.16, 1, .3, 1) both; }
  html.v10 .cartao-cv { transition: color .3s ease, box-shadow .4s ease, border-color .3s ease; }
  html.v10 .gcv-linha { stroke-dasharray: 1; stroke-dashoffset: 1; animation: v10-traco 1.1s cubic-bezier(.65, 0, .35, 1) .15s forwards; }
  html.v10 .gcv-area { animation: v10-surge .8s ease-out .5s both; }
  html.v10 .gcv-col { transform-box: fill-box; transform-origin: bottom; animation: v10-cresce .6s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--i, 0) * 45ms); }
  html.v10 .resumo.sem-anim :is(.gcv-linha, .gcv-area, .gcv-col) { animation: none; stroke-dashoffset: 0; }
  @keyframes v10-traco { to { stroke-dashoffset: 0; } }
  @keyframes v10-surge { from { opacity: 0; } }
  @keyframes v10-cresce { from { transform: scaleY(.05); } }
  /* v9.28: o toque afunda um pouco (tudo o que se toca), os blocos do Hoje e as faixas entram em cascata, o ícone da aba acende */
  html.v10 :is(.cartao-cv, .bloco-v10, .li-corpo, .acoes-ic-cv button, .tudo-item > summary, .passo-cv .passo-txt, .tudo-cv, .li-acao, .acoes-cv button) { transition: transform .18s cubic-bezier(.2, .8, .2, 1), background-color .2s; }
  html.v10 :is(.cartao-cv, .bloco-v10, .tudo-cv):active { transform: scale(.97); }
  html.v10 :is(.li-corpo, .tudo-item > summary, .passo-cv .passo-txt):active { transform: scale(.985); }
  html.v10 :is(.acoes-ic-cv button, .li-acao, .acoes-cv button):active { transform: scale(.93); }
  html.v10 .blocos-v10 > * { animation: v10-sobe-bloco .5s cubic-bezier(.16, 1, .3, 1) both; }
  html.v10 .blocos-v10 > :nth-child(2) { animation-delay: 50ms; } html.v10 .blocos-v10 > :nth-child(3) { animation-delay: 100ms; } html.v10 .blocos-v10 > :nth-child(4) { animation-delay: 150ms; }
  html.v10 .faixas-v10 > * { animation: v10-sobe-bloco .5s cubic-bezier(.16, 1, .3, 1) .18s both; }
  html.v10 .resumo.sem-anim :is(.blocos-v10, .faixas-v10) > * { animation: none; }
  html.v10 .v10-nav .v10-aba.on svg { animation: v10-acende-ic .35s cubic-bezier(.16, 1, .3, 1); }
  @keyframes v10-sobe-bloco { from { opacity: 0; transform: translateY(14px) scale(.98); } }
  @keyframes v10-acende-ic { 0% { transform: scale(.7); } 100% { transform: none; } }
  html.v10 .tudo-seta { transition: transform .25s cubic-bezier(.16, 1, .3, 1), color .2s; }
  html.v10 .tudo-item[open] > .tudo-corpo { animation: v10-abre .3s cubic-bezier(.16, 1, .3, 1); }
  @keyframes v10-abre { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  html.v10 .cartao-cv::before, html.v10 .cartao-cv::after { transition: opacity .4s cubic-bezier(.16, 1, .3, 1); }
  html.v10 .carrossel-cv > div:nth-child(2) { animation-delay: 60ms; } html.v10 .carrossel-cv > div:nth-child(n+3) { animation-delay: 110ms; }
  html.v10 .resumo.sem-anim .carrossel-cv > div { animation: none; }
  @keyframes v10-cartao { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
  html.v10 .anel-v10.a2 { animation-delay: .16s; }
  html.v10 .anel-v10.a3 { animation-delay: .32s; }
  html.v10 .abertura-marca img { animation: v10-acende .6s ease-out both; }
  html.v10 .abertura-acoes { animation: v10-sobe .5s .45s cubic-bezier(.22, 1.2, .36, 1) both; }
  @keyframes v10-anel { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: none; } }
}

@media (prefers-reduced-motion: no-preference) {
  html.v10 .folha-v10 { animation: v10-sobe .45s cubic-bezier(.16, 1, .3, 1) both; }
  html.v10 .topo-num { animation: v10-acende .5s ease-out both; }
  html.v10 .topo-mini { transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  html.v10 .resumo.compacto .topo-mini { transform: none; }
  html.v10 .resumo.sem-anim .folha-v10,
  html.v10 .resumo.sem-anim .topo-num { animation: none; }
  @keyframes v10-sobe { from { transform: translateY(36px); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes v10-acende { from { opacity: 0; filter: brightness(.6); } to { opacity: 1; filter: none; } }
}

/* v9.29: "Levar para o Claude" no Carvão — passos como blocos escuros, o de agora com contorno de brasa, o arquivo embaixo */
html.v10 #folha .passos-lv { gap: 10px; }
html.v10 #folha .passo-lv { background: var(--v10-bloco); border: 1px solid var(--v10-linha); border-radius: 20px; padding: 14px 16px; }
html.v10 #folha .passo-lv.agora { border-color: rgba(255, 122, 53, .55); box-shadow: none; background: linear-gradient(180deg, rgba(255, 122, 53, .08), rgba(255, 122, 53, 0) 70%), var(--v10-bloco); }
html.v10 #folha .passo-lv.trava { opacity: .55; }
html.v10 #folha .passo-cab b { font: 650 15.5px/1.3 var(--display); color: var(--v10-tx); }
html.v10 #folha .passo-lv .etapa-ic { background: var(--v10-fundo2); color: var(--v10-tx2); }
html.v10 #folha .passo-lv.agora .etapa-ic { background: var(--v10-brasa); color: #1d0d05; }
html.v10 #folha .passo-lv.feito .etapa-ic { background: rgba(255, 179, 71, .14); color: #ffb347; }
html.v10 #folha .passo-txt { display: block; color: var(--v10-tx2); font-size: 14px; line-height: 1.5; }
html.v10 #folha .passo-txt small { display: block; margin-top: 6px; font-size: 12px; color: var(--v10-mut); word-break: break-all; }
html.v10 #folha .passo-corpo { display: grid; gap: 10px; margin-top: 10px; }
html.v10 #folha .passo-corpo .link { justify-self: center; }
html.v10 #folha .passo-trava { color: var(--v10-mut); font-size: 13px; margin: 6px 0 0; }
html.v10 #folha .etapas-fech button { background: var(--v10-bloco); border: 1px solid var(--v10-linha); border-radius: 18px; }
html.v10 #folha .etapas-fech li.aqui button { border-color: rgba(255, 122, 53, .55); }
html.v10 #folha .etapa-agora { color: var(--v10-tx2); }
html.v10 #folha .etapa-agora b { color: var(--v10-tx); }

/* v9.29.1: o "Salvo" do aviso de baixo tinha o ✓ verde da v8 — no Carvão é âmbar (sem verde) */
html.v10 .aviso.ok > .ic { color: var(--v10-sobe); }
