/* Login central BraveSys: laranja e preto, mobile primeiro, uma coluna. Sem fonte externa (nada sai do domínio). */
:root {
  --bg: #F5F7FA; --card: #fff; --txt: #1F2329; --suave: #5F6672; --borda: #D9DDE3; --linha: #EDF1F6;
  --mar: #E8662E; --mar-esc: #C9521F; --mar-claro: #FCF0EA; --preto: #0B0B0D;
  --ok: #10875C; --ok-claro: #E7F5EF; --erro: #B42318; --erro-claro: #FEF3F0; --erro-borda: #F6CDBE;
  --fonte: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--txt); font: 15px/1.5 var(--fonte); -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(circle at 50% -10%, #FCE9DE 0, rgba(245,247,250,0) 55%); background-repeat: no-repeat; }
.tela { width: 100%; max-width: 400px; margin: 0 auto; min-height: 100vh; padding: 28px 16px 24px; display: flex; flex-direction: column; justify-content: center; }
.tela.larga { max-width: 480px; }
.logo { display: block; text-align: center; margin: 0 0 22px; }
.logo img { height: 29px; width: auto; max-width: 70%; }
.cartao { background: var(--card); border: 1px solid #E6E9EE; border-radius: 14px; padding: 26px 22px 22px; box-shadow: 0 1px 2px rgba(11,11,13,.04), 0 12px 32px -12px rgba(11,11,13,.12); }
h1 { margin: 0 0 6px; font-size: 22px; line-height: 1.25; font-weight: 700; color: var(--preto); letter-spacing: -.2px; }
h2 { margin: 0 0 8px; font-size: 16px; font-weight: 700; color: var(--preto); }
.sub { margin: 0 0 20px; color: var(--suave); font-size: 15px; }
.conta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 2px 0 18px; padding: 9px 12px; background: var(--linha); border-radius: 8px; font-size: 14px; }
.conta span { font-weight: 600; word-break: break-all; }
.conta a { margin-left: auto; font-weight: 600; }
a { color: var(--mar-esc); text-decoration: none; font-weight: 500; }
a:hover { text-decoration: underline; }
label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--suave); }
input[type=text], input[type=email], input[type=password] { display: block; width: 100%; height: 48px; padding: 0 14px; margin: 0 0 16px; font: inherit; font-size: 16px; color: var(--txt); background: #fff; border: 1px solid var(--borda); border-radius: 10px; outline: 0; transition: border-color .15s, box-shadow .15s; }
input:focus { border-color: var(--mar); box-shadow: 0 0 0 3px rgba(232,102,46,.2); }
.senha { position: relative; }
.senha input { padding-right: 52px; }
.olho { position: absolute; right: 2px; top: 2px; width: 46px; height: 44px; border: 0; background: transparent; border-radius: 8px; cursor: pointer; color: var(--suave); display: flex; align-items: center; justify-content: center; }
.olho svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.olho[aria-pressed=true] { color: var(--mar); }
.olho[aria-pressed=true]::after { content: ""; position: absolute; width: 24px; height: 2px; background: currentColor; transform: rotate(-45deg); border-radius: 2px; }
.botao { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin: 4px 0 0; padding: 0 18px; border: 0; border-radius: 10px; background: var(--preto); color: var(--mar); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; text-decoration: none; transition: background .15s, transform .05s; }
.botao:hover { background: #26262B; text-decoration: none; }
.botao:active { transform: translateY(1px); }
.botao:focus-visible, .loja:focus-visible, .texto:focus-visible, .olho:focus-visible { outline: 3px solid rgba(232,102,46,.5); outline-offset: 2px; }
.botao.claro { background: #fff; color: var(--preto); border: 1px solid var(--borda); }
.botao.claro:hover { background: var(--linha); }
.link { margin: 18px 0 0; text-align: center; font-size: 14px; }
.dica { margin: -4px 0 14px; color: var(--suave); font-size: 13px; }
.link + .dica, .botao + .dica, form + .dica { margin-top: 14px; }
.aviso { margin: 0 0 16px; padding: 10px 12px; border-radius: 8px; font-size: 14px; line-height: 1.45; }
.aviso.erro { background: var(--erro-claro); border: 1px solid var(--erro-borda); color: #8A2E0E; }
.aviso.info { background: var(--mar-claro); border: 1px solid #F5D2C0; color: #7A3412; }
.rodape { margin: 18px 0 0; text-align: center; color: #9AA1AC; font-size: 12px; }
.selo { width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 50%; background: var(--mar-claro); color: var(--mar); display: flex; align-items: center; justify-content: center; }
.selo.ok { background: var(--ok-claro); color: var(--ok); }
.selo svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.selo + h1, .selo.ok + h1 { text-align: center; }
.selo ~ .sub { text-align: center; }
input.codigo { text-align: center; letter-spacing: 3px; font-size: 20px; font-weight: 600; }
.lojas { list-style: none; margin: 0 0 6px; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.lojas li { min-width: 0; }
.lojas form { margin: 0; }
.loja { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 68px; padding: 12px 12px 12px 14px; background: #fff; border: 1px solid var(--borda); border-radius: 12px; text-align: left; font: inherit; color: inherit; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .05s; }
.loja:hover { border-color: var(--mar); box-shadow: 0 4px 14px -6px rgba(232,102,46,.4); }
.loja:active { transform: translateY(1px); }
.avatar { flex: none; width: 42px; height: 42px; border-radius: 10px; background: var(--preto); color: var(--mar); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; }
.dados { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dados strong { font-size: 16px; line-height: 1.25; color: var(--preto); overflow-wrap: anywhere; }
.dados small { color: var(--suave); font-size: 13px; overflow-wrap: anywhere; }
.papel { flex: none; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--linha); color: var(--suave); }
.papel-master { background: var(--mar-claro); color: var(--mar-esc); }
.papel-gerente { background: #EAF1FD; color: #2456B3; }
.seta { flex: none; width: 20px; height: 20px; color: #9AA1AC; }
.seta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.loja:hover .seta { color: var(--mar); }
.vazio { padding: 18px; text-align: center; background: var(--linha); border-radius: 10px; color: var(--suave); }
.barra { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--linha); font-size: 14px; color: var(--suave); }
.barra > span:last-child { display: flex; gap: 16px; align-items: center; }
.solto { display: inline; margin: 0; }
.texto { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--mar-esc); cursor: pointer; }
.texto:hover { text-decoration: underline; }
.bloco { margin: 0 0 22px; padding: 0 0 20px; border-bottom: 1px solid var(--linha); }
.bloco:last-of-type { border-bottom: 0; }
.estado { display: inline-block; margin: 0 0 12px; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--linha); color: var(--suave); }
.estado.ligado { background: var(--ok-claro); color: var(--ok); }
.qr { width: 184px; margin: 8px auto; padding: 8px; border: 1px solid var(--borda); border-radius: 10px; background: #fff; }
.qr svg { display: block; width: 100%; height: auto; }
.chave { margin: 0 0 14px; text-align: center; font: 600 13px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 1px; word-break: break-all; color: var(--suave); }
.rec { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rec li { padding: 8px; text-align: center; background: var(--linha); border-radius: 8px; font: 600 14px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.forca { display: flex; align-items: center; gap: 4px; margin: -8px 0 14px; }
.forca i { flex: 1; height: 4px; border-radius: 2px; background: var(--linha); }
.forca span { margin-left: 8px; min-width: 44px; font-size: 12px; font-weight: 600; color: var(--suave); }
.forca[data-n="1"] i:nth-child(-n+1) { background: #E4626F; }
.forca[data-n="2"] i:nth-child(-n+2) { background: #F0A030; }
.forca[data-n="3"] i:nth-child(-n+3) { background: #7BB661; }
.forca[data-n="4"] i { background: var(--ok); }
@media (min-width: 520px) { .tela { padding-top: 40px; padding-bottom: 40px; } .cartao { padding: 32px 30px 26px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

input[hidden] { display: none; }
