/* Gabarito — página de trabalho no estilo Claude (claro). Carregado DEPOIS de todos os limpo-*.css.
   Troca só as cores e a letra; a estrutura das telas é a mesma.
   Fundo marfim quente, cartões brancos, linhas finas em cinza-quente, texto quase preto, laranja-terracota só nas ações
   (botão principal, avatar, seleção). Títulos e textos de leitura em serifa (Source Serif 4, a mais próxima da letra do Claude);
   botões, campos, tabelas e navegação em Inter. Cantos um pouco mais redondos, sem sombras pesadas, sem tema escuro.
   O caderno de questões (.ed-doc) continua em Helvetica, porque é a folha real do PDF. Cores só pelos tokens daqui. */

/* ============================== TOKENS ============================== */
:root {
  --rosa: #C81E1E;            /* vermelho da logo: só o "o" do nome e avisos */
  --rosa-escuro: #A31515;
  --preto: #0E0E0D;           /* hover dos botões escuros */
  --branco: #FFFFFF;
  --tinta: #141413;           /* texto principal (quase preto, quente) */
  --azul: #B5542F;            /* ação principal: terracota (contraste 4,9:1 com branco) */
  --azul-h: #9A4526;          /* ação ao passar o mouse */
  --azul-2: #B5542F;          /* ícones de destaque, foco, bordas ativas */
  --sel: #F3E6DD;             /* linha selecionada, fundo dos ícones das vias */
  --papel: #F3F6F8;           /* fundo das telas (marfim) */
  --creme: #FFFFFF;
  --folha: #FFFFFF;           /* cartões */
  --mesa: #EAEFF2;            /* áreas de apoio, hover */
  --fino: #DFE5E9;            /* linha de tabela */
  --suave: #CDD5DB;           /* linha de cartão e campo */
  --texto-2: #5E5D59;         /* texto de apoio (7,2:1 sobre marfim) */
  --texto-3: #6B6A64;         /* rótulos pequenos (5,4:1 sobre marfim) */
  --apoio-escuro: #C3BFB2;    /* borda ao passar o mouse */
  --trilho: #DFE5E9;
  --ok: #2E7D4F; --ok-traco: #BFDCC9; --ok-fundo: #EAF4EC;
  --erro: #C43D32;
  --pen-azul: #B5542F;
  --pen-verm: #C81E1E;
  --tinta-rgb: 20, 20, 19; --rosa-rgb: 181, 84, 47; --erro-rgb: 196, 61, 50; --folha-rgb: 255, 255, 255; --creme-rgb: 255, 255, 255;
  --traco: var(--suave);
  --traco-suave: var(--fino);
  --f-serif: 'Source Serif 4', 'Tiempos Text', Georgia, 'Times New Roman', serif;
  --f-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --ink-titulo: #141413;
  --lm-r: 8px;
  --ambar: #D29A2B; --ambar-t: #6E4A00; --ambar-f: #FBF1DC;
  --guia: #BDB8AA;            /* linhas pontilhadas da árvore de pastas */
}
body.ts { --t2: var(--texto-2); --t3: var(--texto-3); background: var(--papel); color: var(--tinta) }
html:has(body.ts) { background: var(--papel) }
body.ts.ts ::selection { background: rgba(var(--rosa-rgb), .22); color: inherit }
body.ts.ts :focus-visible { outline-color: var(--azul-2) }
body.ts.ts .hdr :focus-visible, body.ts.ts .rodape :focus-visible { outline-color: var(--azul-2) }

/* ============================== LETRA: serifa nos títulos e nos textos de leitura ============================== */
body.ts.ts h1, body.ts.ts h2, body.ts.ts h3,
body.ts.ts .ts-tit, body.ts.ts .ts-ini .disp, body.ts.ts .ts-ctit, body.ts.ts .ts-dtit, body.ts.ts .ts-rtit, body.ts.ts .ts-rt, body.ts.ts .ts-ch,
body.ts.ts .lm-cab h1, body.ts.ts .lm-wzt, body.ts.ts .lm-wzh2, body.ts.ts .la-h1, body.ts.ts .la-h2, body.ts.ts .la-h2b, body.ts.ts .lh-h1, body.ts.ts .lh-h2, body.ts.ts .lm-al-dn,
body.ts.ts .ed-row-t, body.ts.ts .ed-via-t b, body.ts.ts .ed-opc b, body.ts.ts .ed-cam b, body.ts.ts .ed-side-h b, body.ts.ts .menu .who b {
  font-family: var(--f-serif) !important; font-weight: 500 !important; letter-spacing: -.012em; font-variation-settings: 'opsz' 28
}
body.ts.ts h1, body.ts.ts .ts-tit, body.ts.ts .lm-cab h1, body.ts.ts .la-h1, body.ts.ts .lh-h1, body.ts.ts .lm-wzt { font-weight: 500 !important; letter-spacing: -.018em; line-height: 1.12 }
body.ts.ts .ts-tit b, body.ts.ts .lm-cab h1 b { font-weight: 600 }
body.ts.ts .ts-tit i, body.ts.ts .ts-ini .serif { font-family: var(--f-sans); font-size: .5em; font-weight: 500; letter-spacing: .02em; color: var(--texto-3) }
body.ts.ts .la-h1 em { color: var(--texto-2) }
body.ts.ts .ed-row-t { font-size: 1.12em }
body.ts.ts .ed-via-t b, body.ts.ts .ed-opc b { font-size: 1.1em }
body.ts.ts .ts-sub, body.ts.ts .lh-sub, body.ts.ts .la-lead, body.ts.ts .lm-prev p, body.ts.ts .empty p, body.ts.ts .ed-f-nota, body.ts.ts .ed-via-t small, body.ts.ts .ed-opc > span, body.ts.ts .ed-side-dica, body.ts.ts .lh-fr {
  font-family: var(--f-serif); font-variation-settings: 'opsz' 14
}
body.ts.ts .ts-sub { font-size: 15.5px; line-height: 1.55 }
body.ts.ts .ed-f-nota { font-size: .98em }
body.ts.ts .lh-fr { font-weight: 400; letter-spacing: -.01em }
body.ts.ts .ed-doc, body.ts.ts .ed-doc * { font-family: Helvetica, Arial, sans-serif !important; font-variation-settings: normal } /* a folha real do caderno não muda */

/* ============================== CABEÇALHO CLARO ============================== */
body.ts.ts .hdr { background: var(--papel); color: var(--tinta); border-bottom: 1px solid var(--fino); box-shadow: none }
body.ts.ts .hdr .brand { color: var(--tinta); --lg1: #0B1F44; --lg2: #1F4296; --lg3: #C81E1E } /* a logo volta às cores dela sobre o fundo claro */
body.ts.ts .hdr .brand .wm { color: var(--tinta); font-family: var(--f-serif); font-weight: 600; letter-spacing: -.025em }
body.ts.ts .hdr .brand .wm .wm-o { color: var(--rosa) }
body.ts.ts .hdr .topnav button { color: var(--texto-2); font-weight: 500; border-radius: 10px }
body.ts.ts .hdr .topnav button:hover { background: var(--mesa); color: var(--tinta) }
body.ts.ts .hdr .topnav button[aria-current="page"] { background: var(--mesa); color: var(--tinta); font-weight: 600; box-shadow: inset 0 -3px 0 var(--azul) }
body.ts.ts .hdr .topnav.lm-anim button[aria-current="page"] { background: none; box-shadow: none }
body.ts.ts .hdr .lm-nav-ind { background: var(--mesa); box-shadow: inset 0 -3px 0 var(--azul); border-radius: 10px }
body.ts.ts .hdr .lm-corrigir { border-color: var(--suave); color: var(--tinta); background: var(--folha); border-radius: 10px }
body.ts.ts .hdr .lm-corrigir:hover { background: var(--mesa); border-color: var(--apoio-escuro) }
body.ts.ts .hdr .mebtn { background: var(--azul); color: #fff }
body.ts.ts .hdr .mebtn:hover { background: var(--azul-h); color: #fff }
body.ts.ts .ts-voltar { border-color: var(--suave); color: var(--tinta); background: var(--folha) }
body.ts.ts .ts-voltar:hover { background: var(--mesa); color: var(--tinta) }
body.ts.ts .menu { border-radius: 12px; box-shadow: 0 10px 30px rgba(var(--tinta-rgb), .12) }
body.ts.ts .menu button .ic, body.ts.ts .menu button svg { color: var(--texto-2) }

/* ============================== RODAPÉ CLARO ============================== */
body.ts.ts .rodape { background: var(--mesa); color: var(--texto-2); border-top: 1px solid var(--fino) }
body.ts.ts .rodape-marca .ts-wm { color: var(--tinta); font-family: var(--f-serif); font-weight: 600 }
body.ts.ts .rodape .rodape-links a { color: var(--texto-2) }
body.ts.ts .rodape .rodape-links a:hover { color: var(--tinta); text-decoration-color: var(--tinta) }
body.ts.ts .rodape .rodape-ig { color: var(--tinta) }
body.ts.ts .rodape .rodape-cnpj { color: var(--texto-3) }

/* ============================== BOTÕES, CAMPOS, CARTÕES ============================== */
body.ts.ts .ts-pill, body.ts.ts .btn, body.ts.ts .lm-btn, body.ts.ts .lh-btn, body.ts.ts .lm-inp, body.ts.ts .ts-mais { border-radius: 10px }
body.ts.ts .ts-pill, body.ts.ts .btn, body.ts.ts .lm-btn { font-weight: 500 }
body.ts.ts .ts-pill.rosa, body.ts.ts .ts-pill.preto, body.ts.ts .btn.primary, body.ts.ts .btn.lime, body.ts.ts .lm-btn.pri, body.ts.ts .lh-btn.pri { background: var(--azul); border-color: var(--azul); color: #fff }
body.ts.ts .ts-pill.rosa:hover, body.ts.ts .ts-pill.preto:hover, body.ts.ts .btn.primary:hover, body.ts.ts .btn.lime:hover, body.ts.ts .lm-btn.pri:hover:not(:disabled), body.ts.ts .lh-btn.pri:hover { background: var(--azul-h); border-color: var(--azul-h); color: #fff }
body.ts.ts .ts-ccard, body.ts.ts .ts-dcard, body.ts.ts .ts-dnova, body.ts.ts .ts-card, body.ts.ts .ts-pas, body.ts.ts .ts-avpainel, body.ts.ts .la-sub, body.ts.ts .ed-blk, body.ts.ts .ed-via, body.ts.ts .ed-opc { border-radius: 12px }
body.ts.ts .ed-folha { border-radius: 14px; box-shadow: 0 1px 2px rgba(var(--tinta-rgb), .04), 0 10px 30px rgba(var(--tinta-rgb), .05) }
body.ts.ts .ed-top { background: var(--papel) }
body.ts.ts .ed-row { border-radius: 12px }
body.ts.ts .ed-row-e { color: var(--azul) }
body.ts.ts .ed-side, body.ts.ts .ed-banco { background: var(--papel) }
body.ts.ts .ed-no.cur { background: var(--sel) }
body.ts.ts .ed-via-i { background: var(--sel); color: var(--azul) }
body.ts.ts .ts-rowx, body.ts.ts .ts-faixa { background: var(--tinta) }
body.ts.ts .ts-let { background: var(--azul) }
body.ts.ts .ts-tag { background: var(--mesa); border-color: var(--fino) }
body.ts.ts .lm-wztab.on { background: var(--tinta); color: #fff }
body.ts.ts .lm-wztn.on { box-shadow: 0 0 0 1.5px var(--azul) }

/* ============================== FAIXAS QUE ERAM ESCURAS VIRAM CLARAS (ficha do aluno etc.) ============================== */
body.ts.ts .hero, body.ts.ts .hero-band { background: var(--folha); color: var(--tinta); border: 1px solid var(--suave); border-radius: 14px }
body.ts.ts .hero::before { border-color: rgba(var(--tinta-rgb), .04) }
body.ts.ts .hero h1, body.ts.ts .hero h2, body.ts.ts .hero h3, body.ts.ts .hero-band h3 { color: var(--tinta) }
body.ts.ts .hero .sub, body.ts.ts .hero-band .lead { color: var(--texto-2) }
body.ts.ts .hero .back { color: var(--texto-2) !important }
body.ts.ts .hero .btn { background: var(--folha); border-color: var(--suave); color: var(--tinta) }
body.ts.ts .hero .btn:hover { background: var(--mesa); border-color: var(--apoio-escuro) }
body.ts.ts .hero .avatar { background: var(--azul); color: #fff }
body.ts.ts .ed-side-h .lm-btn { white-space: nowrap }
body.ts.ts .modal .box.auth-page { border: 0 }
body.ts.ts .auth-page .auth-body .btn.primary.big { background: var(--azul) !important; color: #fff !important }
body.ts.ts .auth-page .auth-body .btn.primary.big:hover { background: var(--azul-h) !important }
body.ts.ts .hdr .topnav button { white-space: nowrap; flex-direction: row }
body.ts.ts .hdr .topnav button .lm-nav-lg { white-space: pre }
@media (max-width: 1400px) { body.ts.ts .hdr .topnav button { padding: 0 16px; font-size: 17px } }
@media (max-width: 820px) { body.ts.ts .hdr .topnav button { padding: 0 4px; font-size: 14px } } /* no celular as quatro abas cabem numa linha (antes "Análises" saía cortado) */
/* logo sem o quadrado em volta (Rafael, 5/11/2026) */
body.ts .brand .logo, body.ts .brand .logo.k { box-shadow: none; border: 0; border-radius: 0; background: none }
