/* =========================================================
   Foca.AI 2.0: ajustes de cada tela por cima de v2/styles.css
   (teste em /newlayout; o app normal não carrega este arquivo)
   ========================================================= */

/* ---------- tokens ---------- */
:root {
  --papel: #f3f6fb; --folha: #ffffff; --folha-2: #f2f4f7; --seg-ativo: #ffffff;
  --linha: #e4e7ec; --linha-forte: #d0d5dd;
  --tinta: #0e1525; --tinta-2: #3b4457; --tinta-3: #667085;
  --marinho: #0b2556; --marinho-2: #163a80;
  --acento: #12b5a0; --acento-forte: #0b7a6d; --acento-claro: #e8f7f4;
  --lavanda: #eef2fa;
  --certo: #067647; --certo-fundo: #ecfdf3; --errado: #b42318; --errado-fundo: #fef3f2;
  --botao: #0b2556; --botao-texto: #ffffff;
  --gradiente: linear-gradient(#0b2556, #0b2556);
  --gradiente-acento: linear-gradient(#12b5a0, #12b5a0);
  --sombra: 0 1px 2px rgb(16 24 40 / .05);
  --sombra-forte: 0 12px 32px -12px rgb(16 24 40 / .28);
  --azul-fundo: #f2f4f7; --azul: #3b4457;
  --verde-fundo: #f2f4f7; --verde: #0b7a6d;
  --laranja-fundo: #fffaeb; --laranja: #b54708;
  --roxo-fundo: #f2f4f7; --roxo: #3b4457;
  --ouro: #8a5a00;
  --marca-claro: #eaf1fd;
  --titulo: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --raio: 8px;
  --nav: 236px;
  --barra: 52px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --papel: #0f1729; --folha: #16213a; --folha-2: #1c2945; --seg-ativo: #24324f;
    --linha: #2a3856; --linha-forte: #374767;
    --tinta: #eef2fb; --tinta-2: #c3cce0; --tinta-3: #97a3bf;
    --marinho: #b4c8f5; --marinho-2: #8fb1ff;
    --acento: #2fd6c1; --acento-forte: #5ee3d2; --acento-claro: #123537; --lavanda: #1f2d4d; --marca-claro: #1f2d4d;
    --certo: #4ade9a; --certo-fundo: #10301f; --errado: #ff8a8f; --errado-fundo: #351a20;
    --botao: #2fd6c1; --botao-texto: #04211d;
    --gradiente: linear-gradient(#16213a, #16213a); --gradiente-acento: linear-gradient(#2fd6c1, #2fd6c1);
    --sombra: 0 1px 2px rgb(0 0 0 / .25); --sombra-forte: 0 16px 40px -12px rgb(0 0 0 / .6);
    --azul-fundo: #1c2945; --azul: #c3cce0; --verde-fundo: #1c2945; --verde: #5ee3d2;
    --laranja-fundo: #33240f; --laranja: #ffae66; --roxo-fundo: #1c2945; --roxo: #c3cce0;
    --ouro: #f1c66b;
  }
}
:root[data-theme="dark"] {
  --papel: #0f1729; --folha: #16213a; --folha-2: #1c2945; --seg-ativo: #24324f;
    --linha: #2a3856; --linha-forte: #374767;
    --tinta: #eef2fb; --tinta-2: #c3cce0; --tinta-3: #97a3bf;
    --marinho: #b4c8f5; --marinho-2: #8fb1ff;
    --acento: #2fd6c1; --acento-forte: #5ee3d2; --acento-claro: #123537; --lavanda: #1f2d4d; --marca-claro: #1f2d4d;
    --certo: #4ade9a; --certo-fundo: #10301f; --errado: #ff8a8f; --errado-fundo: #351a20;
    --botao: #2fd6c1; --botao-texto: #04211d;
    --gradiente: linear-gradient(#16213a, #16213a); --gradiente-acento: linear-gradient(#2fd6c1, #2fd6c1);
    --sombra: 0 1px 2px rgb(0 0 0 / .25); --sombra-forte: 0 16px 40px -12px rgb(0 0 0 / .6);
    --azul-fundo: #1c2945; --azul: #c3cce0; --verde-fundo: #1c2945; --verde: #5ee3d2;
    --laranja-fundo: #33240f; --laranja: #ffae66; --roxo-fundo: #1c2945; --roxo: #c3cce0;
    --ouro: #f1c66b;
}

/* ---------- base ---------- */
body { font-size: 14.5px; line-height: 1.55; letter-spacing: -.003em; }
svg { stroke-width: 1.6; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.02em; }
:focus-visible { outline: 2px solid var(--marinho-2); outline-offset: 2px; border-radius: 4px; }
.rotulo { font-size: .78rem; font-weight: 500; color: var(--tinta-3); }
.cartao { box-shadow: none; padding: 18px; }
.erro { border: 1px solid color-mix(in srgb, var(--errado) 30%, transparent); }
.pct, .questao-num, .anel-texto strong, .estatisticas b, .nota-osce, .resultado .nota, .gsim-nota, .nivel-numero,
.ranking-pontos, .ranking-pos, .slides-pos, .gsim-tempo, .dia strong, .ck-resumo-topo b { font-variant-numeric: tabular-nums; }
.cronometro, .grupo-codigo { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.pct { font-size: .82rem; }

/* logo */
.marca-nome { font-family: var(--sans); font-weight: 600; font-size: 1.12rem; letter-spacing: -.02em; }
.ai { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--acento-forte); }
.logo-icone { width: 28px; height: 28px; border-radius: 7px; }

/* ---------- botões ---------- */
.btn-primario { border-radius: 6px; padding: 9px 16px; font-weight: 500; font-size: .9rem; box-shadow: none; min-height: 36px; }
@media (hover: hover) and (pointer: fine) { .btn-primario:hover { transform: none; filter: brightness(1.12); } }
.btn-primario.pequeno { padding: 6px 12px; font-size: .84rem; min-height: 30px; }
.btn-secundario { border-radius: 6px; padding: 8px 14px; font-weight: 500; font-size: .88rem; box-shadow: 0 1px 1px rgb(16 24 40 / .04); min-height: 36px; }
.btn-secundario.pequeno { padding: 5px 11px; font-size: .84rem; min-height: 30px; }
.btn-texto { font-weight: 500; color: var(--tinta); text-decoration: underline; text-decoration-color: var(--linha-forte); text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .btn-texto:hover { text-decoration-color: currentColor; } }
.btn-discreto { border-radius: 6px; font-weight: 500; }
.btn-icone { width: 36px; height: 36px; border-radius: 6px; }
.btn-perigo { border-radius: 6px; font-weight: 500; }
.link { font-weight: 500; color: var(--tinta-2); }
.segmentado { border-radius: 7px; padding: 2px; border: 1px solid var(--linha); background: var(--folha-2); }
.segmentado button { border-radius: 5px; padding: 6px 12px; font-weight: 500; font-size: .84rem; }
.segmentado button[aria-checked="true"], .segmentado button[aria-selected="true"] { box-shadow: 0 1px 2px rgb(16 24 40 / .08), 0 0 0 1px rgb(16 24 40 / .05); }

/* ---------- moldura: menu lateral + painel ---------- */
.app { background: var(--papel); }
.nav { background: transparent; border-right: 0; padding: 14px 10px; gap: 2px; }
.nav-logo { padding: 2px 10px 18px; }
.nav-item { border-radius: 6px; padding: 8px 10px; gap: 10px; font-weight: 500; font-size: .9rem; color: var(--tinta-2); }
.nav-item svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .nav-item:hover { background: color-mix(in srgb, var(--tinta) 5%, transparent); color: var(--tinta); } }
.nav-item[aria-current="page"] { background: var(--folha); color: var(--tinta); box-shadow: 0 1px 2px rgb(16 24 40 / .06), 0 0 0 1px var(--linha); }
.nav-item[aria-current="page"] svg { stroke-width: 1.8; }
@media (min-width: 921px) {
  .palco { margin: 8px 8px 8px 0; background: var(--folha); border: 1px solid var(--linha); border-radius: 10px; min-height: calc(100vh - 16px); overflow: clip; }
  .barra { position: sticky; top: 0; background: var(--folha); border-bottom: 1px solid var(--linha); padding: 0 16px 0 24px; }
  .conteudo { padding: 28px 32px 64px; }
  .bloqueado .palco { margin: 0; border: 0; border-radius: 0; }
}
.barra-titulo { font-size: .95rem; font-weight: 500; }
.avatar { background: var(--folha-2); color: var(--tinta-2); border: 1px solid var(--linha); font-family: var(--sans); font-weight: 600; font-size: .82rem; width: 32px; height: 32px; }
.avatar.grande { width: 56px; height: 56px; font-size: 1.2rem; }
.plano-premium .avatar, .plano-unlimited .avatar { background: var(--botao); color: var(--botao-texto); border-color: transparent; box-shadow: none; }
.plano-unlimited .avatar::after { display: none; }
.tela { max-width: 860px; }
.aviso { border-radius: 8px; border: 1px solid var(--linha); background: var(--folha-2); }

/* selos de plano e etiquetas: texto discreto em vez de pílula colorida */
.selo { border-radius: 4px; padding: 2px 7px; font-size: .74rem; font-weight: 500; letter-spacing: 0; text-transform: none; background: var(--folha); color: var(--tinta-2); border-color: var(--linha-forte); }
.selo.premium, .selo.unlimited { background: var(--folha); border-color: var(--linha-forte); color: var(--ouro); }
.selo.unlimited::before { content: ""; }
.selo-estrela { margin-left: 2px; padding: 0; border-radius: 0; background: none; color: var(--tinta-3); font-size: .78rem; font-weight: 500; }
.selo-estrela.v2-premium { color: var(--ouro); display: inline-flex; align-items: center; gap: 4px; }
.selo-estrela.v2-premium::before { content: ""; width: 12px; height: 12px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M6 3h12l4 6-10 12L2 9z'/%3E%3Cpath d='M2 9h20'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M6 3h12l4 6-10 12L2 9z'/%3E%3Cpath d='M2 9h20'/%3E%3C/svg%3E") center / contain no-repeat; }
.selo-estrela.v2-novo { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 6px; border: 1px solid var(--linha-forte); border-radius: 4px; color: var(--tinta-2); font-size: .72rem; }
.selo-estrela.v2-novo::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--acento); }
.selo-teste { background: none; color: var(--tinta-3); }
.chip-nivel { background: none; border: 1px solid var(--linha-forte); border-radius: 4px; color: var(--tinta-2); font-weight: 500; }
.prazo { background: none; border: 1px solid var(--linha-forte); border-radius: 4px; color: var(--tinta-2); font-weight: 500; padding: 1px 7px; }
.prazo.urgente { background: none; color: var(--errado); border-color: color-mix(in srgb, var(--errado) 40%, transparent); }
.area-qtd { background: none; padding: 0; font-family: var(--mono); font-weight: 400; }
.nota-osce { background: none; border: 1px solid var(--linha-forte); border-radius: 4px; color: var(--tinta); font-weight: 500; }
.selo-breve { border-radius: 4px; background: none; border: 1px solid var(--linha-forte); color: var(--tinta-2); font-weight: 500; }
.chip-tipo, .selo-prio { border-radius: 4px !important; background: none !important; border: 1px solid var(--linha-forte); color: var(--tinta-2) !important; font-weight: 500 !important; }

/* ---------- início ---------- */
.ola { margin: 0 0 20px; align-items: flex-end; }
.ola h1 { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }
.ola p { font-size: .9rem; }
.sequencia { border: 0; background: none; padding: 0; font-weight: 500; font-size: .86rem; color: var(--tinta-2); gap: 6px; }
.sequencia::before { content: ""; width: 16px; height: 16px; background: var(--tinta-3); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.07-2.14 0-5.5 3-7 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.15.43-2.29 1-3a2.5 2.5 0 0 0 2.5 2.5z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.07-2.14 0-5.5 3-7 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.15.43-2.29 1-3a2.5 2.5 0 0 0 2.5 2.5z'/%3E%3C/svg%3E") center / contain no-repeat; }
.sequencia.ativa { background: none; border: 0; color: var(--tinta); }
.sequencia.ativa::before { background: #e8590c; }
.sequencia .fogo { display: none; }
@media (max-width: 600px) { .ola { align-items: flex-start; text-align: left; } .sequencia { align-self: flex-start; } }

.cartao-metas { background: var(--folha); color: var(--tinta); border: 1px solid var(--linha); box-shadow: none; padding: 18px; gap: 20px; }
.cartao-metas::before { display: none; }
.metas-titulo { font-family: var(--sans); font-weight: 600; font-size: 1rem; }
.metas-sub { color: var(--tinta-3); opacity: 1; font-size: .84rem; }
.metas-barra { height: 4px; background: var(--folha-2); }
.metas-barra span { background: var(--acento); }
.metas-lista { gap: 0; margin-top: 12px; font-size: .9rem; }
.metas-lista li { opacity: 1; color: var(--tinta); padding: 10px 0; border-top: 1px solid var(--linha); gap: 12px; }
.metas-lista li::before { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--linha-forte); }
.metas-lista li.feito { color: var(--tinta-3); text-decoration: line-through; }
.metas-lista li.feito::before { background: var(--acento); border-color: var(--acento); color: #fff; font-size: 11px; }
.metas-lista li button { text-decoration-color: var(--linha-forte); }
.metas-mascote { display: none; }

.nivel-card { padding: 14px 16px; }
.nivel-emoji .foca-nivel { width: 48px; height: 48px; }
.nivel-barra { height: 4px; }
.nivel-barra span { background: var(--botao); }
.aviso-plano { border: 1px solid var(--linha); border-radius: 8px; background: var(--folha-2); padding: 12px 14px; }
.aviso-plano:has(#aviso-premium) { border-style: solid; }

.acoes { gap: 10px; }
.acao { box-shadow: none; padding: 14px; gap: 2px; border-radius: 8px; transition: border-color .15s, background .15s; }
@media (hover: hover) and (pointer: fine) { .acao:hover { transform: none; background: var(--folha-2); border-color: var(--linha-forte); } }
.acao-icone, .acao-icone.azul, .acao-icone.verde, .acao-icone.laranja, .acao-icone.roxo { width: auto; height: auto; background: none; border-radius: 0; color: var(--tinta-2); justify-content: start; }
.acao-icone svg { width: 20px; height: 20px; stroke-width: 1.6; }
.acao strong { font-family: var(--sans); font-weight: 500; font-size: .92rem; margin-top: 10px; }
.acao small { font-size: .8rem; }

/* (a grade de 2 colunas dos banners do Início agora fica em v2/comum.css, para os dois estilos) */
.banner-osce { box-shadow: none; padding: 14px; gap: 12px; margin-top: 10px; align-items: flex-start; transition: border-color .15s, background .15s; }
@media (hover: hover) and (pointer: fine) { .banner-osce:hover { transform: none; background: var(--folha-2); border-color: var(--linha-forte); } }
.banner-osce .acao-icone { margin-top: 1px; }
.banner-osce .acao-icone svg { width: 18px; height: 18px; }
.banner-texto strong { font-family: var(--sans); font-weight: 500; font-size: .92rem; }
.banner-texto small { font-size: .8rem; line-height: 1.45; }
.banner-seta { width: 16px; height: 16px; margin-top: 2px; }
.banner-grupos.apagado .acao-icone, .banner-grupos.apagado strong { opacity: 1; }

.secao-cabeca { margin: 28px 0 10px; }
.secao-cabeca h2 { font-size: 1rem; font-weight: 600; }
.lista { gap: 0; border: 1px solid var(--linha); border-radius: 8px; overflow: hidden; background: var(--folha); }
.lista > .linha { border: 0; border-radius: 0; border-top: 1px solid var(--linha); }
.lista > .linha:first-child { border-top: 0; }
.linha { border-radius: 8px; padding: 12px 14px; gap: 12px; }
@media (hover: hover) and (pointer: fine) { .linha:hover { background: var(--folha-2); } }
.linha .acao-icone { width: auto; height: auto; background: none; color: var(--tinta-3); }
.linha .acao-icone svg { width: 18px; height: 18px; }
.linha-corpo strong { font-weight: 500; font-size: .92rem; }
.marcador { border-radius: 5px; width: 20px; height: 20px; border-width: 1.5px; }
.linha.tarefa-prova { background: var(--folha); border-color: var(--linha); }
.home-social { color: var(--tinta-3); }

/* ---------- matérias ---------- */
.busca { border-radius: 8px; border-color: var(--linha-forte); box-shadow: 0 1px 1px rgb(16 24 40 / .03); }
.busca:focus-within { border-color: var(--marinho-2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--marinho-2) 15%, transparent); }
.area summary { padding: 14px 16px; }
.area-nome { font-family: var(--sans); font-weight: 500; font-size: .95rem; }
.item-materia { border-radius: 6px; padding: 9px 10px; font-size: .92rem; }
.materia-cabeca h1, .titulo-pagina { font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; }
.chip { border-radius: 6px; padding: 6px 11px; }
.chip[aria-pressed="true"] { background: var(--botao); border-color: var(--botao); color: var(--botao-texto); }
.lista-assuntos { box-shadow: none; }
.assunto-linha strong { font-weight: 500; }
.assunto-linha[aria-pressed="true"] { background: var(--folha-2); border-color: var(--linha); box-shadow: inset 2px 0 0 var(--marinho-2); }

/* ---------- topo das ferramentas e chat ---------- */
.chip-materia { border-radius: 6px; box-shadow: none; padding: 6px 10px 6px 12px; font-weight: 500; font-size: .88rem; border-color: var(--linha-forte); }
.chip-assuntos { border-radius: 6px; padding: 6px 12px; font-weight: 500; }
.chip-assuntos svg { color: var(--tinta-3); }
.chip-assuntos.ativo { background: var(--folha-2); border-color: var(--linha-forte); }
.ferramentas { box-shadow: none; border-radius: 8px; padding: 3px; background: var(--folha-2); }
.ferramentas button { border-radius: 6px; font-weight: 500; color: var(--tinta-3); }
.ferramentas button[aria-current="true"] { background: var(--folha); color: var(--tinta); box-shadow: 0 1px 2px rgb(16 24 40 / .08), 0 0 0 1px var(--linha); }
:root[data-theme="dark"] .ferramentas button[aria-current="true"] { background: var(--seg-ativo); }
@media (hover: hover) and (pointer: fine) { .btn-nova, .btn-nova:hover { background: var(--folha); border: 1px solid var(--linha-forte); color: var(--tinta); box-shadow: none; border-radius: 6px; font-weight: 500; filter: none; } }
.btn-nova svg { color: var(--tinta-2); }
@media (max-width: 920px) { .btn-nova { border-radius: 6px; width: 36px; height: 36px; } }

.convite img { width: 72px; height: 72px; }
.convite h2 { font-size: 1.15rem; }
.sugestao, .atalho { border-radius: 6px; font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .sugestao:hover, .atalho:hover { border-color: var(--linha-forte); background: var(--folha-2); } }
.pergunta { background: var(--folha-2); border: 1px solid var(--linha); border-radius: 8px; padding: 10px 14px; }
.pergunta p { font-weight: 400; }
.resposta { gap: 12px; }
.resposta-avatar { width: 28px; height: 28px; border-radius: 7px; box-shadow: none; }
.resposta-corpo { background: none; border: 0; box-shadow: none; padding: 2px 0 0; border-radius: 0; }
.digitando span { background: var(--tinta-3); }
.compositor-area { background: linear-gradient(to bottom, transparent, var(--folha) 30%); }
@media (max-width: 920px) { .compositor-area { background: linear-gradient(to bottom, transparent, var(--papel) 30%); } }
.compositor { border-radius: 10px; padding: 6px 6px 6px 14px; box-shadow: 0 1px 2px rgb(16 24 40 / .04), 0 8px 24px -14px rgb(16 24 40 / .18); }
.compositor:focus-within { border-color: var(--marinho-2); }
.btn-enviar { width: 36px; height: 36px; border-radius: 6px; background: var(--botao); color: var(--botao-texto); }
.btn-enviar svg { stroke-width: 2; width: 18px; height: 18px; }

/* texto das respostas */
.texto { font-size: .98rem; line-height: 1.7; }
.texto h1, .texto h2, .texto h3 { font-family: var(--sans); font-weight: 600; }
.texto h1, .texto h2 { font-size: 1.12rem; }
.texto h3 { font-size: 1rem; }
.texto h4 { font-size: .82rem; font-weight: 600; color: var(--tinta-2); }
.texto strong { color: var(--tinta); font-weight: 600; }
.texto li::marker { color: var(--tinta-3); }
.texto blockquote { background: var(--folha-2); border: 1px solid var(--linha); border-radius: 8px; }
.texto th { font-size: .78rem; font-weight: 500; }
.leitura-barra { height: 4px; }
.leitura-barra span { background: var(--botao); }
.secao { box-shadow: none; border-radius: 8px; }
.secao summary { font-family: var(--sans); font-weight: 500; font-size: .96rem; padding: 13px 14px; }
.secao-marca { border-radius: 5px; }
.voto { border-radius: 6px; }
.motivo input { border-radius: 6px; }

/* ---------- simulado, revisão e "Me testa" ---------- */
.questao { box-shadow: none; padding: 20px; }
.questao-num { font-size: .9rem; font-weight: 500; color: var(--tinta-2); }
.enunciado { font-size: 1.02rem; line-height: 1.65; }
.alternativa { background: var(--folha); border: 1px solid var(--linha-forte); border-radius: 6px; padding: 12px 14px; }
@media (hover: hover) and (pointer: fine) { .alternativa:hover:not(:disabled) { border-color: var(--tinta-3); background: var(--folha-2); } }
.letra { border-radius: 4px; width: 24px; height: 24px; font-family: var(--mono); font-weight: 500; font-size: .78rem; color: var(--tinta-3); }
.alternativa.certa { border-color: color-mix(in srgb, var(--certo) 45%, transparent); }
.alternativa.errada { border-color: color-mix(in srgb, var(--errado) 45%, transparent); }
.alternativa.marcada { background: var(--folha); border-color: var(--botao); box-shadow: 0 0 0 1px var(--botao); }
.alternativa.marcada .letra { background: var(--botao); border-color: var(--botao); color: var(--botao-texto); }
.comentario { border: 1px solid var(--linha); border-radius: 8px; }
.resultado { background: var(--folha); color: var(--tinta); border: 1px solid var(--linha); box-shadow: none; }
.resultado .rotulo { color: var(--tinta-3); }
.resultado .nota { font-weight: 500; font-size: 2.4rem; letter-spacing: -.03em; }
.resultado .nota small { color: var(--tinta-3); opacity: 1; }
.resultado p:not(.rotulo) { color: var(--tinta-2); opacity: 1; }
.resultado-mascote { border-radius: 8px; }
.cronometro { background: var(--folha); color: var(--tinta); border: 1px solid var(--linha-forte); border-radius: 6px; padding: 6px 12px; font-weight: 500; box-shadow: 0 4px 16px -8px rgb(16 24 40 / .25); }
.cronometro.acabando { background: var(--errado-fundo); color: var(--errado); border-color: var(--errado); animation: none; }
.tempo-rotulo { font-size: .78rem; font-weight: 500; }
.nivel-dica { border-radius: 6px; border: 1px solid var(--linha); background: var(--folha-2); }
.oab-cartao { box-shadow: none; }
.folha-rosto { box-shadow: none; }

/* ---------- flashcards ---------- */
.baralho-topo { font-weight: 500; }
.progresso { height: 4px; }
.progresso span { background: var(--botao); }
.cartao-face { border-radius: 12px; }
.cartao-frente { box-shadow: none; }
.cartao-verso { background: #0b2556; box-shadow: none; }
.cartao-texto { font-family: var(--sans); font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; }
.cartao-verso .cartao-texto { font-weight: 400; }
.cartao-verso .rotulo { color: #9fb0d0; }
.cartao-espiao { display: none; }
.baralho-inicio img { border-radius: 12px; }

/* ---------- agenda ---------- */
.semana { box-shadow: none; }
.dia { border-radius: 6px; }
.dia strong { font-weight: 500; }
.dia.hoje { background: var(--botao); color: var(--botao-texto); }
.dia .dia-tempo { color: var(--acento-forte); font-weight: 500; }
.anel .valor { stroke: var(--botao); }
.anel circle { stroke-width: 8; }
.campo input, .campo-botao, .campo select { border-radius: 6px; background: var(--folha); }
.campo input:focus, .campo select:focus { border-color: var(--marinho-2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--marinho-2) 15%, transparent); }
.campo span { font-size: .82rem; font-weight: 500; }
.dica-mascote img { border-radius: 8px; }

/* ---------- perfil ---------- */
.perfil-cabeca h1 { font-size: 1.3rem; font-weight: 600; }
.uso-linha { font-size: .88rem; }
.barra-uso, .barrinha { height: 4px; border-radius: 2px; }
.barra-uso span { background: var(--botao); border-radius: 2px; }
.linha-menu { border-radius: 8px; padding: 13px 14px; font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .linha-menu:hover { background: var(--folha-2); } }
.desempenho-materia { box-shadow: none; }
.vazio-mascote { border-radius: 12px; }
.link-instagram { color: var(--tinta-2); font-weight: 500; }

/* ---------- folha de baixo e janelas ---------- */
.folha { border-radius: 12px 12px 0 0; padding-top: 8px; }
.folha-alca { width: 36px; height: 4px; }
.folha h2 { font-size: 1rem; font-weight: 600; }
.opcao, .opcao-assunto { border-radius: 6px; }
.opcao strong, .opcao-assunto strong { font-weight: 500; }
.opcao-assunto .marca { border-radius: 5px; width: 22px; height: 22px; border-width: 1.5px; }
.modal-aceite .cartao { border-radius: 12px; }

/* ---------- tutorial ---------- */
.tour-foco { border-radius: 10px; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--marinho-2), 0 0 0 9999px rgb(10 14 22 / .62); }
.tour-card { border-radius: 12px; padding: 18px 18px 14px; box-shadow: 0 24px 48px -12px rgb(16 24 40 / .35); }
.tour-contagem { font-family: var(--mono); font-size: .74rem; font-weight: 400; color: var(--tinta-3); }
.tour-titulo { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; }
.tour-texto { font-size: .9rem; }
.tour-itens { font-size: .88rem; gap: 6px; }
.tour-itens li { padding-left: 14px; position: relative; color: var(--tinta-2); }
.tour-itens li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--tinta-3); }
.tour-itens li > span:first-child:empty, .tour-itens li > span.v2-vazio { display: none; }
.tour-botoes .btn-primario, .tour-botoes .btn-secundario { padding: 7px 14px; font-size: .86rem; }

/* ---------- avisos, convites e notificações ---------- */
.convite-premium { background: var(--folha); border: 1px solid var(--linha); }
.convite-premium-estrela { display: none; }
.convite-premium-corpo strong { font-family: var(--sans); font-weight: 600; }
.banner-app { border-radius: 8px; background: var(--folha); }
.banner-app-icone { border-radius: 8px; }
.banner-app-texto strong { font-family: var(--sans); font-weight: 500; }
.notificacao { border-radius: 10px; box-shadow: 0 16px 40px -12px rgb(16 24 40 / .4); }
.notificacao-icone:empty, .notificacao-icone.v2-vazio { display: none; }
.notificacao-corpo strong { font-family: var(--sans); font-weight: 600; }
.aviso-fechado { border-radius: 6px; border: 1px solid color-mix(in srgb, var(--laranja) 30%, transparent); }
.jogo-hero-emoji { display: none; }

/* ---------- jogos e grupos ---------- */
.jogo-hero h2, .jogo-lobby h2, .jogo-fim h2 { font-family: var(--sans); font-weight: 600; }
.jogo-opcao { border-width: 1px; border-radius: 8px; }
@media (hover: hover) and (pointer: fine) { .jogo-opcao:hover:not(:disabled) { transform: none; border-color: var(--tinta-3); } }
.jogo-opcao .letra { border-radius: 4px; width: 28px; height: 28px; }
.jogo-opcao.marcada { background: var(--folha); border-color: var(--botao); box-shadow: 0 0 0 1px var(--botao); }
.jogo-tempo { height: 4px; }
.jogo-tempo span { background: var(--botao); }
.jogo-jogador { border-radius: 4px; background: none; border: 1px solid var(--linha); }
.jogo-jogador.eu { background: var(--folha-2); }
.ranking-pos { font-weight: 500; }
.grupo-codigo { font-weight: 500; color: var(--tinta); letter-spacing: .12em; }
.gsim-titulo { font-family: var(--sans); font-weight: 600; }

/* ---------- entrar / criar conta ---------- */
.entrada-marca { background: #0b2556; }
.entrada-marca::before { display: none; }
.entrada-marca::after { display: block; inset: 0; left: 0; top: 0; width: auto; aspect-ratio: auto; border-radius: 0; background: linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px) 0 0 / 40px 40px; }
.entrada-pitch h1 { font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.entrada-lista svg { width: 22px; height: 22px; padding: 0; border: 0; background: none; color: #5ee3d2; }
.entrada-rodape img { border-radius: 8px; }
.entrada-titulo { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }
.link-troca { font-weight: 500; color: var(--tinta); text-decoration: underline; text-underline-offset: 3px; }
.form-login .campo input, .form-login .campo-botao { border-radius: 6px; padding: 10px 12px; }
.form-login .campo input:focus, .form-login .campo-botao:focus-visible { border-color: var(--marinho-2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--marinho-2) 15%, transparent); }
.form-login .btn-primario { border-radius: 6px; padding: 11px; font-size: .95rem; }
.olho { border-radius: 6px; }
@media (max-width: 920px) {
  .entrada-lista li { border-radius: 4px; background: rgb(255 255 255 / .06); }
  .entrada-lista svg { width: 18px; height: 18px; background: none; }
  .entrada-mascote-cel { border-radius: 8px; }
  .entrada-form { border-radius: 12px 12px 0 0; }
}

/* ---------- checkout ---------- */
.ck-janela { border-radius: 12px; }
.ck-topo { background: var(--folha); color: var(--tinta); border-bottom: 1px solid var(--linha); }
.ck-topo-nome { font-family: var(--sans); font-weight: 600; }
.ck-topo-nome b { color: var(--acento-forte); }
.ck-marca { background: none; padding: 0; border-radius: 7px; }
.ck-topo .ck-fechar { color: var(--tinta-2); background: none; border-radius: 6px; }
@media (hover: hover) and (pointer: fine) { .ck-topo .ck-fechar:hover { background: var(--folha-2); } }
.ck-passos li { color: var(--tinta-3); font-size: .74rem; font-weight: 500; }
.ck-passos li::before { background: var(--linha); height: 3px; }
.ck-passos li.atual { color: var(--tinta); }
.ck-passos li.atual::before { background: var(--botao); }
.ck-passos li.feito { color: var(--tinta-2); }
.ck-passos li.feito::before { background: var(--tinta-3); }
.ck-resumo { background: var(--folha-2); border-radius: 8px; }
.ck-resumo-nome { font-family: var(--sans); font-weight: 600; }
.ck-resumo-topo b { font-weight: 500; }
.ck-seguro-faixa { background: var(--folha-2); border: 1px solid var(--linha); border-radius: 8px; }
.ck-seguro-faixa svg { color: var(--tinta-2); }
.ck-grupo { font-size: .8rem; font-weight: 500; }
.ck-abas { border-radius: 8px; }
.ck-abas button { border-radius: 6px; font-weight: 500; }
.ck-campo input { border-radius: 6px; }
.ck-campo input:focus { border-color: var(--marinho-2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--marinho-2) 15%, transparent); }
.ck-comparativo th { font-size: .78rem; font-weight: 500; }
.ck-comparativo th.ck-col-premium { color: var(--tinta); }
.ck-comparativo .ck-col-premium { background: var(--folha-2); }
.ck-x { font-weight: 500; color: var(--acento-forte); }
.ck-extras { background: var(--folha-2); border-radius: 8px; }
.ck-asaas { font-family: var(--sans); font-weight: 600; }
.ck-powered svg { color: var(--tinta-3); }
.pix-qr { border-radius: 8px; }

/* ---------- presente, guia do iPhone e instalação ---------- */
.presente h2 { font-family: var(--sans); font-weight: 600; }
.presente-msg { border-left: 1px solid var(--linha); border: 1px solid var(--linha); background: var(--folha-2); border-radius: 8px; }
.guia-ios h2 { font-family: var(--sans); font-weight: 600; }
.guia-quadro, .guia-dica { border-radius: 8px; }
.guia-chip { border-radius: 4px; background: var(--folha-2); color: var(--tinta-2); border: 1px solid var(--linha-forte); font-weight: 500; }
.guia-chip.velho { background: var(--folha-2); box-shadow: none; }
.guia-pontos span.atual { background: var(--botao); }
#cartao-app .app-titulo { font-family: var(--sans); font-weight: 600; }

/* ---------- nível ---------- */
.nivel-texto strong { font-family: var(--sans); font-weight: 600; }
.nivel-numero { font-weight: 500; color: var(--tinta); }
.nivel-festa h2 { font-family: var(--sans); font-weight: 600; }
.nivel-previa { border-style: solid; border-radius: 8px; }
.nivel-previa button { border-radius: 6px; }

/* ---------- ferramentas (TCC, trabalhos, mapas) ---------- */
.tcc-progresso span { background: var(--botao) !important; }
.trab-tema input:checked + .trab-tema-amostra { transform: none; }
.mm-no { font-family: var(--sans); }

/* ---------- celular ---------- */
@media (max-width: 920px) {
  .nav { background: var(--folha); padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); box-shadow: none; }
  .nav-item { padding: 6px 2px; font-size: .68rem; border-radius: 6px; gap: 3px; color: var(--tinta-3); }
  @media (hover: hover) and (pointer: fine) { .nav-item:hover { background: none; } }
  .nav-item[aria-current="page"] { background: none; box-shadow: none; color: var(--tinta); }
  .nav-item[aria-current="page"] svg { background: none; padding: 0; width: 22px; height: 22px; border-radius: 0; stroke-width: 1.9; }
  .barra { background: var(--folha); border-bottom: 1px solid var(--linha); }
  .conteudo { padding-top: 18px; }
  .acoes { grid-template-columns: 1fr 1fr; }
}
