/* Telas sem sessao: login e redefinicao de senha. Mesma marca da lateral nova; cartao no padrao de 4 em 4 px.
   Usa os tokens de estilo.css (claro e escuro). */
body.pg-entrada { background: var(--plano); }
:root { --acento-forte: var(--acento); }     /* branco sobre o azul: 4,5:1 tambem no tema escuro */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --acento-forte: #2a6fb0; } }
:root[data-theme="dark"] { --acento-forte: #2a6fb0; }
.ent { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, 5fr) 7fr; gap: 16px; padding: 16px; }
.ent-marca { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 40px 40px 32px; border-radius: 20px; color: #fff;
  background: linear-gradient(180deg, color-mix(in oklab, var(--moldura) 88%, #1C5A93) 0%, var(--moldura) 45%, color-mix(in oklab, var(--moldura) 92%, #000) 100%);
  box-shadow: 0 18px 40px -22px rgb(10 42 74 / .8); }
.ent-marca::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgb(79 163 232 / .22), transparent 70%); pointer-events: none; }
.ent-logo { height: 44px; width: auto; align-self: flex-start; filter: drop-shadow(0 4px 10px rgb(0 0 0 / .35)); }
.ent-marca h1 { margin: 40px 0 0; font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; color: #fff; }
.ent-marca .sub { margin: 8px 0 0; font-size: 14px; color: var(--moldura-ink); }
.ent-lista { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ent-lista li { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 12px; align-items: center; font-size: 14px; color: #fff; }
.ent-lista .ic-cx { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: rgb(255 255 255 / .08); color: var(--moldura-ink); }
.ent-lista small { display: block; font-size: 12.5px; color: var(--moldura-ink); }
.ent-rodape { margin: auto 0 0; padding-top: 32px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--moldura-ink); }
.ent-lado { display: grid; place-items: center; padding: 24px 16px; }
.ent-cartao { width: 100%; max-width: 420px; padding: 36px 36px 32px; border-radius: 20px; background: var(--superficie); border: 1px solid var(--linha);
  box-shadow: 0 24px 60px -32px rgb(15 23 42 / .35); }
.ent-tela { display: flex; flex-direction: column; } .ent-tela[hidden], .ent-tela [hidden] { display: none !important; }
.ent-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px; background: var(--acento-fraco); color: var(--acento); }
.ent-ico .ic { width: 22px; height: 22px; } .ent-ico.ok { background: color-mix(in oklab, var(--bom) 14%, var(--superficie)); color: var(--bom-txt); }
.ent-ico.ruim { background: color-mix(in oklab, var(--atencao) 16%, var(--superficie)); color: var(--atencao-txt); }
.ent-tela h2 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -.025em; color: var(--ink); }
.ent-tela .desc { margin: 8px 0 24px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.ent-tela .desc b { color: var(--ink); }
.ent-rot { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.ent-rot a, .ent-link { font-size: 13px; font-weight: 600; color: var(--acento); text-decoration: none; } .ent-rot a:hover, .ent-link:hover { text-decoration: underline; }
.ent-campo { position: relative; margin-bottom: 16px; }
.ent-campo input { width: 100%; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--linha); background: var(--superficie); color: var(--ink); font: inherit; font-size: 15px; box-sizing: border-box; }
.ent-campo input:focus { outline: none; border-color: var(--acento); box-shadow: 0 0 0 4px color-mix(in oklab, var(--acento) 14%, transparent); }
.ent-campo input[aria-invalid="true"] { border-color: var(--critico); }
.ent-campo.com-olho input { padding-right: 48px; }
.ent-campo input::-ms-reveal, .ent-campo input::-ms-clear { display: none; }       /* o olho do Edge duplicava o nosso */
.ent-olho { all: unset; cursor: pointer; position: absolute; right: 4px; top: 4px; width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; color: var(--ink-3); }
.ent-olho:hover { color: var(--ink); background: var(--afundado); } .ent-olho:focus-visible { outline: 2px solid var(--acento); outline-offset: 0; }
.ent-olho[aria-pressed="true"] { color: var(--acento); }
.ent-bt { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; height: 44px; margin-top: 8px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 650; color: #fff; background: var(--acento-forte); box-shadow: 0 6px 16px -8px color-mix(in oklab, var(--acento) 70%, transparent); transition: filter .15s, opacity .15s; }
.ent-bt:hover { filter: brightness(1.08); } .ent-bt:focus-visible { outline: 2px solid var(--acento); outline-offset: 3px; }
.ent-bt:disabled { cursor: not-allowed; opacity: .45; box-shadow: none; filter: none; }
.ent-bt.sec { background: var(--superficie); color: var(--ink); border: 1px solid var(--linha); box-shadow: none; }
.ent-voltar { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; align-self: center; }
.ent-msg { display: grid; grid-template-columns: 16px minmax(0, 1fr); column-gap: 10px; align-items: start; margin: 0 0 20px; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.45; }
.ent-msg[hidden] { display: none; }
.ent-msg .ic { margin-top: 2px; } .ent-msg.erro { background: color-mix(in oklab, var(--critico) 10%, var(--superficie)); color: var(--ink); border: 1px solid color-mix(in oklab, var(--critico) 30%, var(--linha)); }
.ent-msg.erro .ic { color: var(--critico-txt); }
.ent-msg.info { background: var(--afundado); color: var(--ink-2); border: 1px solid var(--linha); }
.ent-nota { margin: 20px 0 0; display: grid; grid-template-columns: 16px minmax(0, 1fr); column-gap: 10px; font-size: 12.5px; line-height: 1.45; color: var(--ink-3); } .ent-nota .ic { margin-top: 1px; }
.forca { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin: -8px 0 6px; } .forca i { height: 4px; border-radius: 2px; background: var(--trilho); transition: background-color .2s; }
.forca[data-n="1"] i:nth-child(-n+1) { background: var(--critico); } .forca[data-n="2"] i:nth-child(-n+2) { background: var(--atencao); }
.forca[data-n="3"] i:nth-child(-n+3) { background: var(--bom); } .forca[data-n="4"] i { background: var(--bom); }
.forca-rot { margin: 0 0 12px; font-size: 12.5px; color: var(--ink-3); } .forca-rot b { color: var(--ink); }
.regras { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.regras li { display: grid; grid-template-columns: 16px minmax(0, 1fr); column-gap: 8px; align-items: center; font-size: 13px; color: var(--ink-3); }
.regras li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--linha); box-sizing: border-box; }
.regras li.ok { color: var(--ink); } .regras li.ok::before { border: 0; background: var(--bom) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.4 2.4 4.6-5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.conta-p { display: inline-flex; align-items: center; gap: 8px; margin: -12px 0 20px; padding: 6px 10px; border-radius: 999px; background: var(--afundado); font-size: 13px; color: var(--ink-2); align-self: flex-start; }
#campos-nova { display: flex; flex-direction: column; }
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; }
@media (max-width: 900px) {
  .ent { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; padding: 8px; gap: 8px; }
  .ent-marca { padding: 20px; flex-direction: row; align-items: center; gap: 14px; }
  .ent-logo { height: 32px; align-self: center; } .ent-marca h1 { margin: 0; font-size: 18px; } .ent-marca .sub { margin: 0; font-size: 12.5px; }
  .ent-marca .tit { display: flex; flex-direction: column; } .ent-lista, .ent-rodape { display: none; }
  .ent-lado { place-items: start center; padding: 8px 0 24px; } .ent-cartao { padding: 28px 20px 24px; border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) { .forca i { transition: none; } }
