/* Entrar e afins, Conta, elenco de avatares e Certificado (com regra de impressão). */

/* ------------------------------------------------------------------- auth */
.auth { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 24px 16px 64px; overflow: hidden; isolation: isolate; }
.auth-mosaico { position: absolute; inset: -12% -6%; z-index: -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; transform: rotate(-8deg) scale(1.15); opacity: .5; }
.auth-mosaico::after { content: ""; position: fixed; inset: 0; background: radial-gradient(60% 60% at 50% 45%, rgba(var(--bg-rgb, 13,12,14), .55), rgba(var(--bg-rgb, 13,12,14), .96) 78%), radial-gradient(50% 40% at 50% 0%, rgba(var(--acento-rgb, 255,109,41), .28), transparent); }
.auth-col { display: grid; gap: 14px; align-content: start; animation: desliza 60s linear infinite; will-change: transform; }
.auth-col:nth-child(2) { animation-direction: reverse; animation-duration: 76s; }
.auth-col:nth-child(3) { animation-duration: 68s; }
.auth-col img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; }
@keyframes desliza { from { transform: translate3d(0,0,0); } to { transform: translate3d(0,calc(-50% - 7px),0); } }
.auth-cartao { width: min(440px, 100%); padding: clamp(24px, 5vw, 40px); display: grid; gap: 12px; border-radius: 24px; animation: sobe .6s var(--e-out);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 40px 90px rgba(0,0,0,.7), 0 30px 120px -40px rgba(var(--acento-rgb, 255,109,41), .6); }
.auth-cartao .marca { margin-bottom: 10px; }
.auth-cartao h1 { font-size: clamp(30px, 5vw, 40px); line-height: 1.02; letter-spacing: -.04em; font-weight: 800; }
.auth-form { display: grid; gap: 14px; margin-top: 10px; }
.auth-links { text-align: center; font-size: 14px; }
.auth-ok { display: grid; gap: 16px; justify-items: center; text-align: center; }
.auth-ok-ico { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--cobre); color: var(--sobre-cobre); animation: surge .5s var(--e-mola); }
.auth-pe { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; }

/* ------------------------------------------------------------------ conta */
.conta-grade { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--s4); align-items: start; }
.conta-col { display: grid; gap: var(--s4); min-width: 0; }
.conta-sec { padding: clamp(16px, 2.4vw, 24px); display: grid; gap: var(--s4); }
.conta-sec > h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; letter-spacing: -.005em; }
.conta-sec > h2 svg { color: var(--acento2); }
.conta-perfil { display: grid; grid-template-columns: auto 1fr; gap: var(--s5); align-items: start; }
.conta-perfil form { display: grid; gap: 14px; }
.conta-perfil .campo > span { display: flex; justify-content: space-between; }
.conta-avatar { display: grid; gap: 10px; justify-items: center; }
.conta-avatar .avatar { box-shadow: 0 0 0 3px rgba(var(--bg-rgb, 13,12,14), .8), 0 0 0 5px rgba(var(--acento2-rgb, 255,163,92), .6), 0 18px 40px -14px rgba(var(--acento-rgb, 255,109,41), .7); }
.conta-sec .acoes { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.conta-senha { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.conta-senha .erro-campo, .conta-senha .ok-campo { grid-column: 1 / -1; min-height: 0; }
.conta-pref { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
.conta-pref + .conta-pref { border-top: 1px solid var(--hair); padding-top: var(--s4); }
.conta-pref p { font-size: 13.5px; max-width: 46ch; }
.licencas { display: grid; gap: 10px; }
.licencas li { display: grid; gap: 10px; padding: 16px; border-radius: 14px; background: rgba(0,0,0,.28); border: 1px solid var(--hair); }
.lic-topo { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lic-topo b { margin-right: auto; font-size: 16px; }
.lic-chave { display: block; font-size: clamp(15px, 1.5vw, 19px); letter-spacing: .08em; padding: 12px 14px; border-radius: 10px; color: var(--acento2); background: rgba(var(--acento-rgb, 255,109,41), .07); border: 1px dashed rgba(var(--acento2-rgb, 255,163,92), .35); }
.lic-pe { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13.5px; }
.conta-certs { display: grid; gap: 8px; }
.conta-certs a { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px; border-radius: 14px; background: rgba(0,0,0,.28); border: 1px solid var(--hair); transition: border-color var(--t2), transform var(--t2) var(--e-out); }
.conta-certs a:hover { border-color: rgba(var(--acento2-rgb, 255,163,92), .45); transform: translate3d(0,-2px,0); }
.conta-certs a > span:nth-child(2) { display: grid; gap: 2px; min-width: 0; font-size: 13px; }
.conta-certs b { font-size: 15px; }
.cert-mini { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--cobre); color: var(--sobre-cobre); }
@media (max-width: 980px) { .conta-grade { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .conta-perfil { grid-template-columns: 1fr; } .conta-senha { grid-template-columns: 1fr; } }

/* ------------------------------------------------- seletor de avatar (rodada 3)
   Como num streaming: o escolhido em cima, fileiras por coleção com rolagem horizontal. A janela tem altura fixa e
   só as fileiras rolam, então o palco e o botão de confirmar ficam sempre à vista. */
.conta-avatar .mold > .avatar { box-shadow: none; }
.dialogo.dialogo-avatar { width: min(1040px, 100%); display: flex; flex-direction: column; max-height: 92vh; max-height: 92dvh; }
.av-seletor { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.av-palco { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--s5); padding: var(--s5) 64px var(--s5) var(--s5); border-bottom: 1px solid var(--hair);
  background: radial-gradient(90% 140% at 0% 0%, rgba(var(--acento-rgb, 255,109,41), .12), transparent 62%); }
.av-grande { position: relative; display: grid; }
.av-ok { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; border-radius: 30%; color: var(--bt-pri-txt, var(--sobre-cobre, #24120A)); opacity: 0; transform: scale(.6); pointer-events: none; }
.av-ok svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--acento, #FF6D29); box-shadow: 0 0 0 4px rgba(var(--bg-rgb, 13,12,14), .7); }
.av-palco.confirmado .av-grande .mold { animation: av-confirma .6s var(--e-mola); }
.av-palco.confirmado .av-ok { opacity: 1; transform: none; transition: opacity var(--t2), transform var(--t3) var(--e-mola); }
@keyframes av-confirma { 0% { transform: scale(1); } 40% { transform: scale(1.08); } 100% { transform: scale(1); } }
.av-quem { display: grid; gap: 6px; min-width: 0; justify-items: start; }
.av-nome { font: 600 20px/1.2 var(--display); letter-spacing: -.005em; }
.av-acoes { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.av-acoes .bt.pri { min-height: 38px; }
.av-acoes .bt.peq { min-height: 38px; }
.av-dica { font-size: 12px; }
.elenco-fundos { display: flex; gap: 6px; margin-top: 4px; }
.elenco-fundos button { padding: 2px; border-radius: 30%; border: 1.5px solid transparent; transition: border-color var(--t2); }
.elenco-fundos img { width: 36px; height: 36px; border-radius: 26%; display: block; }
.elenco-fundos [aria-checked="true"] { border-color: var(--acento, #FF6D29); }
.elenco-envio { padding: 0 var(--s5); }
.elenco-envio:empty { display: none; }
.av-fileiras { flex: 1; min-height: 0; overflow: hidden auto; overscroll-behavior: contain; padding: var(--s4) 0 var(--s5); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s4); align-content: start; }
.av-fileira { min-width: 0; }
.av-fileiras > .osso, .av-fileiras > .vazio { margin: 0 var(--s5); }
.av-fileira h3 { display: flex; align-items: baseline; gap: 10px; padding: 0 var(--s5); margin-bottom: 4px; font-size: 15px; font-weight: 650; letter-spacing: -.01em; }
.av-fileira h3 .mono { font-size: 11px; font-weight: 400; }
.av-faixa { position: relative; }
.av-trilho { display: flex; gap: 10px; overflow-x: auto; padding: 8px var(--s5) 10px; scroll-padding: 0 var(--s5); scroll-snap-type: x proximity; scrollbar-width: none; }
.av-trilho::-webkit-scrollbar { display: none; }
.av-item { position: relative; flex: none; width: 88px; height: 88px; padding: 0; border-radius: 27%; scroll-snap-align: start; transition: transform var(--t2) var(--e-out), box-shadow var(--t2); }
.av-item img { display: block; width: 100%; height: 100%; border-radius: 27%; }
.av-item:hover { transform: scale(1.04); }
.av-item:focus-visible { outline: none; transform: scale(1.06); box-shadow: 0 0 0 2px var(--bg, #0D0C0E), 0 0 0 4px var(--txt, #F4F2F3); }
.av-item[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--bg, #0D0C0E), 0 0 0 4px var(--acento, #FF6D29); }
.av-item[aria-pressed="true"]:focus-visible { box-shadow: 0 0 0 2px var(--bg, #0D0C0E), 0 0 0 4px var(--acento, #FF6D29), 0 0 0 6px var(--txt, #F4F2F3); }
.av-atual { position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%); padding: 2px 7px; border-radius: 999px; font: 500 9.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  color: var(--txt, #F4F2F3); background: var(--sup2, #212024); box-shadow: 0 0 0 2px var(--bg, #0D0C0E), inset 0 0 0 1px var(--hair-forte); }
.av-seta { position: absolute; top: 8px; bottom: 10px; z-index: 2; width: 44px; display: grid; place-items: center; color: var(--txt); opacity: 0; transition: opacity var(--t2); }
.av-seta.ant { left: 0; background: linear-gradient(90deg, rgba(var(--bg-rgb, 13,12,14), .92), transparent); }
.av-seta.prox { right: 0; background: linear-gradient(270deg, rgba(var(--bg-rgb, 13,12,14), .92), transparent); }
.av-faixa:hover .av-seta { opacity: 1; }
@media (hover: none) { .av-seta { display: none; } }
@media (max-width: 640px) {
  .veu:has(.dialogo-avatar) { padding: 0; }
  .dialogo.dialogo-avatar { max-height: 100vh; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .av-palco { gap: var(--s4); padding: var(--s4) 56px var(--s4) var(--s4); }
  .av-grande .mold { --t: 84px !important; }
  .av-grande .mold > .avatar { width: 84px; height: 84px; }
  .av-nome { font-size: 17px; }
  .av-dica { display: none; }
  .av-item { width: 72px; height: 72px; }
  .av-trilho { gap: 8px; padding-left: var(--s4); padding-right: var(--s4); }
  .av-fileira h3 { padding: 0 var(--s4); }
}

/* ------------------------------------------------------------ certificado */
/* Diploma em duas faixas. Todas as medidas internas são em em, e o em vale 1,32% da largura da folha (cqw):
   a tela, o celular e o A4 paisagem saem com a mesma diagramação. */
.cert-tela { min-height: 100vh; padding: 20px 16px 60px; display: grid; gap: 20px; justify-items: center; align-content: start; }
.cert-barra { width: min(1120px, 100%); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cert-ok { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--txt2); }
.cert-ok svg { color: var(--verde); flex: none; }
.cert-erro { padding: 32px; display: grid; gap: 12px; justify-items: start; margin-top: 12vh; }
.cert-erro img { border-radius: 26%; }
.cert-caixa { width: min(1120px, 100%); container-type: inline-size; }
.cert { position: relative; display: grid; grid-template-columns: 30% 70%; aspect-ratio: 297 / 210; overflow: hidden; border-radius: 1.1em; font-size: 14px; font-size: 1.32cqw; line-height: 1.4; color: #1B1410; background: #FBF6EF;
  box-shadow: 0 2.4em 6em -2em rgba(0,0,0,.95), 0 2em 9em -3em rgba(var(--acento-rgb, 255,109,41), .65); animation: sobe .7s var(--e-out); }
.cert-faixa { position: relative; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; justify-items: center; padding: 3.2em 1.6em 2.8em; text-align: center; color: var(--acento2, #FFB684);
  background: radial-gradient(130% 56% at 50% 0%, rgba(var(--acento-rgb, 255,109,41), .42), transparent 72%), radial-gradient(100% 46% at 50% 100%, rgba(var(--acento-rgb, 255,109,41), .18), transparent 72%), #0D0C0E; }
.cert-faixa::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: .4em; background: var(--cobre, linear-gradient(180deg, #FFB684, #FF7F38 46%, #E8521A)); }
.cert-marca { display: flex; align-items: center; gap: .5em; font-size: 1.55em; font-weight: 750; letter-spacing: -.008em; color: var(--txt, #F4F2F3); }
.cert-marca img { width: 1.9em; height: 1.9em; }
.cert-marca span { display: flex; align-items: center; gap: .5em; }
.cert-marca small { font: 500 .46em/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--acento2, #FFA35C); padding: .45em .6em; border: 1px solid rgba(var(--acento2-rgb, 255,163,92), .4); border-radius: .5em; }
.cert-selo { align-self: center; width: 15.5em; height: 15.5em; color: var(--acento, #FF8A4C); filter: drop-shadow(0 0 1.4em rgba(var(--acento-rgb, 255,109,41), .55)); }
.cert-verif { display: grid; justify-items: center; gap: .55em; }
.cert-mini-rotulo { font: 500 .64em/1.2 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--txt2, #A8A1A5); }
.cert-cod { font: 500 1.42em/1 var(--mono); letter-spacing: .12em; white-space: nowrap; color: var(--acento2, #FFB684); padding: .5em .7em; border: 1px dashed rgba(var(--acento2-rgb, 255,163,92), .55); border-radius: .5em; }
.cert-url { font: 400 .66em/1.3 var(--mono); color: #8A8389; overflow-wrap: anywhere; }
.cert-folha { position: relative; overflow: hidden; display: grid; align-content: center; justify-items: start; gap: .7em; padding: 3.6em 4.4em 3.2em 4.6em;
  background: radial-gradient(70% 56% at 100% 0%, rgba(var(--acento-rgb, 255,127,56), .16), transparent 70%), #FBF6EF; }
.cert-folha::before { content: ""; position: absolute; inset: 1.5em; border: 1px solid rgba(var(--acento-rgb, 232,82,26), .38); border-radius: .6em; pointer-events: none; }
.cert-canto { position: absolute; right: -7em; bottom: -7em; width: 24em; height: 24em; border-radius: 50%; pointer-events: none; background: repeating-radial-gradient(circle, rgba(var(--acento-rgb, 232,82,26), .2) 0 1px, transparent 1px .62em); }
.cert-folha > :not(.cert-canto) { position: relative; }
.cert-rotulo { font: 500 .84em/1.2 var(--mono); letter-spacing: .34em; text-transform: uppercase; color: var(--acento, #C4540F); margin-bottom: .8em; }
.cert-pre { font-size: 1.16em; color: #6B5F58; }
.cert-nome { max-width: 100%; font-size: 4.3em; line-height: 1; letter-spacing: -.045em; font-weight: 800; overflow-wrap: anywhere; padding-bottom: .16em; margin-bottom: .1em; border-bottom: .06em solid var(--acento, #E8521A); }
.cert-curso { max-width: 24ch; font-size: 2.1em; line-height: 1.1; letter-spacing: -.015em; font-weight: 750; }
.cert-pe { display: flex; align-items: flex-end; justify-content: space-between; gap: 2em; width: 100%; margin-top: 2.4em; }
.cert-dados { display: flex; gap: 2.6em; margin: 0; }
.cert-dados dt { font: 500 .62em/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #8A7B72; }
.cert-dados dd { margin: .35em 0 0; font-size: 1.12em; font-weight: 700; white-space: nowrap; }
.cert-assina { display: grid; justify-items: center; text-align: center; font-size: .92em; font-weight: 650; }
.cert-assina small { font-size: .84em; font-weight: 400; color: #6B5F58; }
.cert-rubrica { font: italic 400 2.5em/1 "Segoe Script", "Brush Script MT", "Snell Roundhand", cursive; padding: 0 .7em .16em; margin-bottom: .3em; border-bottom: 1px solid #1B1410; white-space: nowrap; }
@media (max-width: 700px) { .cert-barra { justify-content: center; } .cert-ok { order: 3; width: 100%; justify-content: center; text-align: center; } }
/* ---- conta: sóbria (rodada 3) */
.conta-sec { padding: clamp(18px, 2.4vw, 28px); gap: var(--s5); }
.conta-sec > h2 { font-size: 16px; font-weight: 650; }
.conta-sec > h2 svg { color: var(--txt3); }
.conta-grade, .conta-col { gap: var(--s5); }
.lic-chave { font-size: 15px; color: var(--txt); background: rgba(255,255,255,.03); border: 1px solid var(--hair-forte); }
.conta-certs a:hover { border-color: var(--vd-borda-hover); transform: none; }
.cert-mini { width: 44px; height: 44px; border-radius: 30%; color: var(--acento2); background: rgba(var(--acento-rgb, 255,109,41), .09); border: 1px solid rgba(var(--acento2-rgb, 255,163,92), .4); }
.cert-selo-miolo { fill: var(--bg, #0D0C0E); }
.cert { box-shadow: 0 2.4em 6em -2em rgba(0,0,0,.9); }
.cert-selo { filter: none; }
@media print {
  @page { size: A4 landscape; margin: 0; }
  html, body { background: #fff !important; margin: 0 !important; padding: 0 !important; width: 297mm; height: 210mm; overflow: hidden; }
  #fundo, #avisos, #portais, .nav, .nav-baixo, .pular, .cert-barra { display: none !important; }
  #conteudo, .cert-tela { display: block; padding: 0; margin: 0; min-height: 0; }
  .cert-caixa { width: 297mm; }
  .cert { width: 297mm; height: 210mm; aspect-ratio: auto; border-radius: 0; box-shadow: none; animation: none; break-inside: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* caça-bugs 3: resposta do "Reenviar minha chave" embaixo da licença */
.lic-msg { margin: 8px 0 0; min-height: 0; }
.lic-msg:empty { display: none; }


/* ============================================================ RODADA 4 ============================================================
   Conta: índice das seções, uso da chave (computadores e apps), sessões abertas, preferências (tema e produto) e a
   borda de luz do vidro líquido nas seções (só tokens --lg-*, com reserva). */
.conta-sec { position: relative; border-color: transparent; scroll-margin-top: calc(var(--nav-h) + 64px); }
.conta-sec::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: .5;
  background: var(--lg-borda, linear-gradient(150deg, rgba(255,255,255,.4), rgba(255,255,255,.06) 30%, rgba(255,255,255,.02) 60%, rgba(var(--acento2-rgb, 255,163,92), .45)));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.conta-sec:focus-visible { outline: none; }
.conta-sec:focus-visible::after { opacity: 1; }
.conta-indice { margin: calc(var(--s2) * -1) 0 var(--s5); position: sticky; top: calc(var(--nav-h) + 8px); z-index: 15; background: var(--lg-opaco, var(--ficha, #171518)); box-shadow: var(--elev2); }
.conta-indice a { display: inline-flex; align-items: center; min-height: 36px; }
.conta-h2-n { font-size: 12px; margin-left: -2px; }
.conta-email { overflow-wrap: anywhere; }
.conta-nada { display: grid; gap: 6px; padding: 16px; border-radius: 14px; border: 1px dashed var(--hair-forte); }
.conta-perfil .campo > span .conta-car { margin-left: auto; }
.conta-car { font-size: 11px; color: var(--txt3); font-variant-numeric: tabular-nums; }
.conta-car.perto { color: var(--ambar, #FFB03A); } .conta-car.teto { color: #FFB1A6; }

/* ---- licença: status com luz, chave, uso */
.licencas li.lic { position: relative; overflow: hidden; gap: 12px; }
.licencas li.lic::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--pc, var(--acento)); opacity: .85; }
.lic.p-cortex { --pc: #FF6D29; } .lic.p-essential { --pc: #E50914; }
.lic-luz { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; flex: none; }
.lic-chave-linha { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.lic-chave { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lic-desde { font-size: 12.5px; white-space: nowrap; }
.lic-uso { display: grid; gap: 8px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--hair); }
.lic-uso-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.lic-uso-frase { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 650; }
.lic-uso-frase svg { color: var(--txt3); }
.lic-vagas { display: inline-flex; gap: 5px; }
.lic-vagas i { width: 22px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.12); }
.lic-vagas i.on { background: var(--verde, #3FBF6F); box-shadow: 0 0 8px rgba(63,191,111,.6); }
.lic-vagas.cheia i.on { background: var(--ambar, #FFB03A); box-shadow: 0 0 8px rgba(255,176,58,.55); }
.lic-maquinas, .sessoes { display: grid; gap: 2px; }
.lic-maquinas li, .sessoes li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 48px; padding: 6px 0; border: 0; border-top: 1px solid var(--hair); border-radius: 0; background: none; }
.lic-maquinas li:first-child { border-top: 0; }
.sessoes li { padding: 8px 12px; border: 1px solid var(--hair); border-radius: 12px; background: rgba(0,0,0,.24); margin-bottom: 6px; }
.sessoes li.atual { border-color: rgba(63,191,111,.3); background: rgba(63,191,111,.05); }
.lic-maq-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--txt2); background: rgba(255,255,255,.06); }
.lic-maq-txt { display: grid; min-width: 0; line-height: 1.35; }
.lic-maq-txt b { font-size: 14px; font-weight: 600; }
.lic-maq-txt .fraco { font-size: 12.5px; }
.lic-uso-dica { font-size: 12.5px; line-height: 1.45; }
.lic-pe { justify-content: flex-end; }

/* ---- preferências */
.conta-pref.coluna { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.pref-temas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pref-temas button { display: grid; gap: 3px; justify-items: start; padding: 8px 8px 10px; border-radius: 14px; text-align: left; border: 1px solid var(--hair); background: rgba(0,0,0,.24); transition: border-color var(--t2), background-color var(--t2); }
.pref-temas .amostra { width: 100%; height: 48px; border-radius: 9px; margin-bottom: 5px; }
.pref-temas b { font-size: 13.5px; font-weight: 650; }
.pref-temas small { font-size: 11.5px; color: var(--txt3); line-height: 1.3; }
.pref-temas button:hover { border-color: var(--vd-borda-hover); }
.pref-temas button[aria-checked="true"] { border-color: var(--acento); background: rgba(var(--acento-rgb, 255,109,41), .08); box-shadow: 0 0 0 3px var(--acento-luz); }
.pref-prod { flex: none; }
.pref-prod button { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; }
.pref-prod button[aria-checked="true"] { background: var(--vd-denso); color: var(--txt); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 6px 14px -8px rgba(var(--acento-rgb, 255,109,41), .7); }
.pref-prod .ponto-produto { width: 7px; height: 7px; border-radius: 50%; background: var(--pc); flex: none; }

@media (max-width: 767px) {
  .conta-indice { width: calc(100% + var(--margem) * 2); max-width: none; margin-inline: calc(var(--margem) * -1); padding-inline: var(--margem); border-radius: 0; border-inline: 0; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); }
  .conta-indice a { min-height: var(--toque, 44px); }
  .conta-sec .in { font-size: 16px; }
  .conta-pref { flex-wrap: wrap; }
  .conta-pref > .bt, .conta-pref > .abas { width: 100%; } .pref-prod button { flex: 1; justify-content: center; min-height: var(--toque, 44px); }
  .pref-temas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lic-chave-linha { grid-template-columns: minmax(0, 1fr); } .lic-desde { justify-self: start; }
  .lic-pe .bt, .conta-sec .acoes .bt, .conta-senha .bt { flex: 1; min-height: var(--toque, 44px); }
  .lic-maquinas li, .sessoes li { grid-template-columns: auto minmax(0, 1fr); } .lic-maquinas li > .chip, .sessoes li > .chip { grid-column: 2; justify-self: start; }
  .conta-avatar .bt { min-height: var(--toque, 44px); }
}
html[data-produto="essential"] .conta-sec > h2 svg { color: var(--acento); }
/* certificado: o rótulo fica sobre papel claro. A cor do tema escurecida passa no AA em qualquer tema (o amarelo puro não passava). */
.cert-rotulo { color: #7A4A12; }
@supports (color: color-mix(in srgb, red 50%, blue)) { .cert-rotulo { color: color-mix(in srgb, var(--acento, #C4540F) 52%, #1A120A); } }
