/* App Lojista NUX — padrão visual da NUX (mesmos tokens da Central) */
:root {
  --nux: #00908A; --nux-dark: #007A75; --nux-bg: rgba(0,144,138,.10); --marca: #00C3B8;
  --amber: #B8730B; --amber-bg: rgba(184,115,11,.11);
  --red: #C0392B; --red-bg: rgba(192,57,43,.09);
  --text: #12161C; --text2: #5A6472; --text3: #8B93A0;
  --bg: #F7F7F4; --surface: #FFFFFF; --bg3: #F0EFEA;
  --line: rgba(18,22,28,.08); --line2: rgba(18,22,28,.14);
  --sidebar: #14181F; --sidebar-text2: #A3ACB9;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; font-family: var(--font); font-size: 14px; line-height: 1.43; color: var(--text); background: var(--bg);
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
[hidden] { display: none !important; }

.topo { background: var(--sidebar); color: #fff; height: 64px; padding: 0 24px; display: flex; align-items: center; gap: 16px; border-top: 3px solid var(--marca); }
.topo-logo { height: 30px; width: auto; display: block; }
.topo-titulo { font-weight: 600; font-size: 16px; color: var(--sidebar-text2); padding-left: 16px; border-left: 1px solid rgba(255,255,255,.14); }
.topo-quem { margin-left: auto; display: flex; align-items: center; gap: 16px; text-align: right; }
.topo-quem b { display: block; font-size: 14px; }
.topo-quem span { display: block; font-size: 12px; color: var(--sidebar-text2); }
.btn-link { background: none; border: 1px solid rgba(255,255,255,.2); color: #fff; border-radius: 8px; padding: 6px 12px; cursor: pointer; }
.btn-link:hover { background: rgba(255,255,255,.08); }

main { max-width: 1100px; margin: 0 auto; padding: 32px 16px 48px; }
.centro { text-align: center; padding: 64px 0; }
.h1 { font-size: 22px; line-height: 30px; font-weight: 700; margin: 0 0 4px; }
.t2 { color: var(--text2); margin: 0 0 8px; }
.t3 { color: var(--text3); }
.rotulo { display: block; font-size: 12px; font-weight: 600; color: var(--text2); text-transform: uppercase; letter-spacing: .04em; margin: 12px 0 6px; }

.caixa-login { max-width: 400px; margin: 24px auto; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.caixa-login form { margin-top: 12px; }
.caixa-login .btn { width: 100%; margin-top: 20px; }
.icone-aviso { width: 44px; height: 44px; border-radius: 50%; background: var(--amber-bg); color: var(--amber); font-weight: 800; font-size: 24px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }

.campo { width: 100%; border: 1px solid var(--line2); border-radius: 10px; padding: 11px 12px; background: #fff; color: var(--text); outline: none; }
.campo:focus { border-color: var(--nux); box-shadow: 0 0 0 3px var(--nux-bg); }
.campo-grande { font-size: 18px; padding: 14px 16px; }

.btn { border: 0; border-radius: 10px; padding: 12px 18px; font-weight: 700; font-size: 15px; cursor: pointer; transition: background .12s; }
.btn:disabled { opacity: .55; cursor: default; }
.btn-p { background: var(--nux); color: #fff; }
.btn-p:hover:not(:disabled) { background: var(--nux-dark); }
.btn-s { background: #fff; color: var(--text); border: 1px solid var(--line2); }
.btn-s:hover:not(:disabled) { background: var(--bg3); }
.btn-perigo { background: var(--amber); color: #fff; }
.btn-largura { min-width: 140px; }

.aviso { border-radius: 10px; padding: 10px 12px; margin-top: 12px; font-weight: 600; }
.aviso-erro { background: var(--red-bg); color: var(--red); }

.grade { display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: start; }
@media (max-width: 860px) { .grade { grid-template-columns: 1fr; } .topo-titulo { display: none; } }
.painel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; margin-bottom: 20px; }
.col-lado .painel { padding: 18px 20px; }
.linha-busca { display: flex; gap: 10px; margin-top: 16px; }
@media (max-width: 560px) { .linha-busca { flex-direction: column; } }

.cartao { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border: 1px solid var(--line2); border-radius: 12px; padding: 18px; margin-top: 16px; background: var(--bg); }
@media (max-width: 640px) { .cartao { grid-template-columns: 1fr; } }
.linha { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.linha:last-child { border-bottom: 0; }
.linha span { color: var(--text2); }
.cartao-lado { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.acoes { display: flex; flex-direction: column; gap: 8px; }
.acoes .btn { width: 100%; padding: 14px; }
.acoes-linha { display: flex; gap: 8px; }
.acoes-linha .btn { flex: 1; }
.confirmar { background: var(--amber-bg); border-radius: 10px; padding: 12px; }
.confirmar p { margin: 0 0 10px; font-weight: 600; color: var(--text); }

.tag { align-self: flex-start; border-radius: 999px; padding: 4px 12px; font-weight: 700; font-size: 12px; }
.tag-ok { background: var(--nux-bg); color: var(--nux-dark); }
.tag-nao { background: var(--amber-bg); color: var(--amber); }

.pronto { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 18px; border-radius: 12px; background: var(--nux-bg); }
.pronto-ok { width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--nux); color: #fff; font-size: 28px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; }
.pronto-tit { font-size: 18px; font-weight: 700; color: var(--nux-dark); }

.kpi { font-size: 32px; line-height: 40px; font-weight: 600; }
.lista { list-style: none; margin: 0; padding: 0; }
.lista li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.lista li:last-child { border-bottom: 0; }
.lista small { color: var(--text3); }
