/* =====================================================================
   Ducko — visual do sistema
   Tema escuro com verde-menta. A impressão (cupom e etiquetas)
   continua preto no branco.
   ===================================================================== */
:root {
  color-scheme: dark;

  /* Marca */
  --menta: #00fa9a;
  --menta-claro: #7dffcb;
  --menta-txt: #5cffb9;               /* texto e ícones em menta */
  --menta-escuro: #00c27c;
  --menta-soft: rgba(0, 250, 154, .1);
  --menta-soft-2: rgba(0, 250, 154, .17);
  --menta-borda: rgba(0, 250, 154, .34);
  --no-menta: #022925;                /* texto sobre fundo menta */
  --bico: #ffb547;                    /* âmbar (bico do pato) */
  --bico-txt: #ffc875;
  --bico-soft: rgba(255, 181, 71, .12);
  --bico-borda: rgba(255, 181, 71, .3);
  --perigo: #ff5c6c;
  --perigo-hover: #ff7a88;
  --perigo-txt: #ff8a96;
  --perigo-soft: rgba(255, 92, 108, .12);
  --perigo-borda: rgba(255, 92, 108, .36);
  --no-perigo: #22050a;

  /* Superfícies */
  --bg: #021114;
  --bg-2: #041619;
  --surface: #081d20;
  --surface-2: #0c2428;
  --surface-3: #112d32;
  --elevado: #0a2124;                 /* modais */
  --campo: rgba(0, 0, 0, .24);
  --borda: rgba(255, 255, 255, .08);
  --borda-forte: rgba(255, 255, 255, .14);
  --borda-hover: rgba(255, 255, 255, .26);
  --linha: rgba(255, 255, 255, .06);

  /* Texto */
  --texto: rgba(255, 255, 255, .93);
  --texto-2: rgba(226, 244, 246, .72);
  --muted: rgba(219, 248, 255, .52);
  --placeholder: rgba(219, 248, 255, .34);

  /* Gráficos */
  --serie: #00fa9a;
  --serie-hover: #7dffcb;
  --grade: rgba(255, 255, 255, .06);
  --eixo: rgba(219, 248, 255, .5);
  --base-eixo: rgba(255, 255, 255, .16);

  --fonte: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fonte-marca: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --fonte-mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;

  --raio: 12px;
  --raio-lg: 20px;
  --raio-xl: 24px;
  --sombra: 0 1px 0 rgba(255, 255, 255, .03) inset;
  --sombra-lg: 0 30px 80px rgba(0, 0, 0, .55);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-mola: cubic-bezier(.2, .9, .25, 1.15);
  --lateral: 92px;
  --topo: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html, body { height: 100%; }
html { scrollbar-color: rgba(255, 255, 255, .16) transparent; }
body {
  font-family: var(--fonte);
  font-size: 14px;
  line-height: 1.45;
  color: var(--texto);
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(0, 250, 154, .075), transparent 62%),
    radial-gradient(760px 560px at -8% 108%, rgba(0, 170, 180, .06), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* grade fina de fundo, só no alto da tela */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 75% 0%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 50% at 75% 0%, #000 10%, transparent 72%);
}
#raiz { position: relative; z-index: 1; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; }
img { display: block; }
.ic { width: 18px; height: 18px; flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--menta); outline-offset: 2px; }
::selection { background: rgba(0, 250, 154, .28); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .13); border-radius: 999px; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background-color: rgba(0, 250, 154, .4); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.txt-perigo { color: var(--perigo-txt); }
.txt-sucesso { color: var(--menta-txt); }
.flex1 { flex: 1; }
.centro { text-align: center; }
.pad { padding: 12px 14px; }
.mono { font-family: var(--fonte-mono); font-size: 12.5px; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--menta); }

/* ---------- Marca ---------- */
.marca { font-family: var(--fonte-marca); font-weight: 600; font-size: 21px; line-height: 1; letter-spacing: -.035em; color: #fff; white-space: nowrap; }
.marca b { color: var(--menta); font-weight: 600; }
.logo-pato { display: block; flex-shrink: 0; overflow: visible; }
.pato-laser { animation: laser 1.4s ease-in-out infinite alternate; filter: drop-shadow(0 0 1.5px #ff4d5e); }
@keyframes laser { from { transform: translateY(-3px); } to { transform: translateY(3.4px); } }

.splash { min-height: 100vh; min-height: 100dvh; display: grid; place-content: center; justify-items: center; gap: 18px; }
.splash-pato { width: 84px; height: 84px; filter: drop-shadow(0 12px 30px rgba(0, 250, 154, .3)); animation: flutuar 2.6s ease-in-out infinite; }
.splash .marca { font-size: 30px; animation: entrar .6s var(--ease) both .1s; }
.splash-barra { position: relative; width: 150px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.splash-barra::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; background: linear-gradient(90deg, transparent, var(--menta), transparent); animation: varrer 1.1s ease-in-out infinite; }
@keyframes flutuar { 50% { transform: translateY(-7px) rotate(-3deg); } }
@keyframes varrer { from { left: -40%; } to { left: 100%; } }

/* ---------- Estrutura ---------- */
.app {
  display: grid;
  grid-template-columns: var(--lateral) minmax(0, 1fr);
  grid-template-rows: var(--topo) auto minmax(0, 1fr);
  grid-template-areas: "topo topo" "aviso aviso" "lateral conteudo";
  height: 100vh;
  height: 100dvh;
}
.topo {
  grid-area: topo; position: relative; z-index: 45;
  display: flex; align-items: center; gap: 14px; padding: 0 18px 0 22px;
  background: rgba(2, 17, 20, .82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--borda);
}
.topo::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent 2%, rgba(0, 250, 154, .5) 22%, transparent 55%);
}
.logo { display: flex; align-items: center; gap: 11px; color: var(--texto); text-decoration: none; min-width: 0; flex-shrink: 0; }
.logo .logo-pato { width: 36px; height: 36px; filter: drop-shadow(0 4px 14px rgba(0, 250, 154, .28)); transition: transform .45s var(--ease-mola); }
.logo:hover .logo-pato { transform: rotate(-9deg) translateY(-2px); }
.logo-txt { display: flex; flex-direction: column; }
.logo-txt small { font-size: 8px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-top: 6px; white-space: nowrap; }
.logo-box { width: 36px; height: 36px; border-radius: 10px; background: var(--menta-soft); color: var(--menta); display: grid; place-items: center; flex-shrink: 0; }
.logo-box .ic { width: 20px; height: 20px; }
.loja-nome {
  display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 300px; height: 34px; padding: 0 12px 0 14px; margin-left: 2px;
  border-left: 1px solid var(--borda-forte); border-radius: 0 999px 999px 0;
  font-size: 13px; font-weight: 700; color: var(--texto-2); white-space: nowrap; cursor: default; transition: background .2s, color .2s;
}
.loja-nome > span { overflow: hidden; text-overflow: ellipsis; }
.loja-nome .ic { width: 16px; height: 16px; color: var(--menta); flex-shrink: 0; }
.loja-nome .ic:last-child:not(:first-child) { color: var(--muted); width: 14px; height: 14px; }
.loja-nome.varias { cursor: pointer; }
.loja-nome.varias:hover { background: rgba(255, 255, 255, .05); color: var(--texto); }
.topo-dir { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.relogio {
  display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--borda); background: rgba(255, 255, 255, .025);
  font-family: var(--fonte-mono); font-size: 12px; letter-spacing: .06em; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.relogio i { font-style: normal; text-transform: uppercase; color: var(--muted); }
.relogio b { font-weight: 600; color: var(--texto); }
.relogio em { font-style: normal; color: var(--menta); }
.pill-caixa {
  display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 15px 0 13px; border-radius: 999px;
  border: 1px solid var(--menta-borda); background: var(--menta-soft); color: var(--menta-txt);
  text-decoration: none; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  transition: background .2s, box-shadow .25s;
}
.pill-caixa:hover { background: var(--menta-soft-2); box-shadow: 0 0 22px -4px rgba(0, 250, 154, .55); }
.pill-caixa .dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--menta); box-shadow: 0 0 10px var(--menta); }
.pill-caixa .dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--menta); animation: pulsar 1.8s var(--ease) infinite; }
.pill-caixa.fechado { border-color: var(--perigo-borda); background: var(--perigo-soft); color: var(--perigo-txt); }
.pill-caixa.fechado:hover { background: rgba(255, 92, 108, .18); box-shadow: 0 0 22px -4px rgba(255, 92, 108, .5); }
.pill-caixa.fechado .dot { background: var(--perigo); box-shadow: 0 0 10px var(--perigo); }
.pill-caixa.fechado .dot::after { border-color: var(--perigo); }
@keyframes pulsar { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.usuario {
  display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: var(--texto-2); white-space: nowrap;
  padding: 3px 12px 3px 3px; border-radius: 999px; border: 1px solid transparent; transition: background .2s, border-color .2s, color .2s;
}
button.usuario { cursor: pointer; }
button.usuario:hover { background: rgba(255, 255, 255, .05); border-color: var(--borda); color: var(--texto); }
.usuario .ic { width: 16px; height: 16px; }
.usuario-txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.usuario-txt b { font-weight: 700; color: var(--texto); }
.usuario-txt small { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--menta-txt); }
.avatar {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(140deg, #134a45, #0a2528); border: 1px solid var(--menta-borda);
  font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--menta-txt);
}
.topo-btn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--texto-2); border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.topo-btn:hover { background: rgba(255, 255, 255, .06); border-color: var(--borda); color: var(--texto); }
.so-mobile { display: none; }

.aviso-demo {
  grid-area: aviso; display: flex; align-items: center; gap: 10px; position: relative; z-index: 2;
  background: linear-gradient(90deg, rgba(255, 181, 71, .14), rgba(255, 181, 71, .03) 70%);
  color: var(--bico-txt); font-size: 12.5px; padding: 7px 22px; border-bottom: 1px solid rgba(255, 181, 71, .16);
}
.aviso-demo b { color: var(--bico); }
.aviso-demo .ic { width: 15px; height: 15px; }

.lateral {
  grid-area: lateral; position: relative; z-index: 3; overflow-y: auto; scrollbar-width: none;
  display: flex; flex-direction: column; gap: 3px; padding: 14px 0 18px;
  background: linear-gradient(180deg, rgba(4, 22, 25, .94), rgba(2, 17, 20, .94));
  border-right: 1px solid var(--borda);
}
.lateral::-webkit-scrollbar { display: none; }
.nav-item {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px;
  margin: 0 10px; padding: 10px 2px 9px; border-radius: 16px;
  font-size: 11px; font-weight: 600; line-height: 1.15; color: var(--muted); text-decoration: none; text-align: center;
  transition: color .2s, background .2s;
}
.nav-item .ic { width: 22px; height: 22px; stroke-width: 1.6; transition: transform .35s var(--ease-mola); }
.nav-item:hover { color: var(--texto); background: rgba(255, 255, 255, .045); }
.nav-item:hover .ic { transform: translateY(-2px); }
.nav-item.ativo { color: var(--menta-txt); background: var(--menta-soft); box-shadow: inset 0 0 0 1px rgba(0, 250, 154, .16); }
.nav-item.ativo .ic { color: var(--menta); filter: drop-shadow(0 0 8px rgba(0, 250, 154, .55)); }
.nav-item.ativo::before {
  content: ''; position: absolute; left: -10px; top: 50%; width: 3px; height: 26px; margin-top: -13px; border-radius: 0 4px 4px 0;
  background: var(--menta); box-shadow: 0 0 14px var(--menta); animation: indicador .4s var(--ease-mola);
}
@keyframes indicador { from { transform: scaleY(0); } }

.conteudo { grid-area: conteudo; overflow: auto; min-width: 0; min-height: 0; }
.conteudo.cheio { overflow: hidden; }
.view { min-height: 100%; }
.conteudo.cheio > .view { height: 100%; }
.carregando { padding: 64px 20px; text-align: center; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; }
.carregando::before {
  content: ''; display: block; width: 150px; height: 2px; margin: 0 auto 16px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--menta), transparent) no-repeat, rgba(255, 255, 255, .07);
  background-size: 40% 100%, 100% 100%; animation: varrer-fundo 1.1s ease-in-out infinite;
}
@keyframes varrer-fundo { from { background-position: -70% 0, 0 0; } to { background-position: 170% 0, 0 0; } }

/* Entrada da tela: os blocos sobem em sequência */
.view.entrando > .pagina > *, .view.entrando > .pdv > *, .view.entrando > .centro-vertical > * { animation: entrar .55s var(--ease) both; }
.view.entrando > .pagina > :nth-child(2), .view.entrando > .pdv > :nth-child(2) { animation-delay: .06s; }
.view.entrando > .pagina > :nth-child(3) { animation-delay: .12s; }
.view.entrando > .pagina > :nth-child(4) { animation-delay: .18s; }
.view.entrando > .pagina > :nth-child(5) { animation-delay: .24s; }
.view.entrando > .pagina > :nth-child(n+6) { animation-delay: .3s; }
@keyframes entrar { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Páginas ---------- */
.pagina { padding: 30px 34px 60px; max-width: 1380px; margin: 0 auto; }
.pagina-estreita { max-width: 1000px; }
.pagina-topo { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.pagina-topo h1 {
  font-family: var(--fonte-marca); font-size: 27px; font-weight: 500; line-height: 1.1; letter-spacing: -.03em;
  color: #fff; margin-right: auto; text-wrap: balance;
}
/* rótulo da seção acima do título ("/// ESTOQUE"), definido pela rota */
.pagina-topo h1::before {
  content: var(--secao, none); display: block; margin-bottom: 12px;
  font-family: var(--fonte); font-size: 11px; font-weight: 700; line-height: 1; letter-spacing: .3em; text-transform: uppercase; color: var(--menta);
  animation: revelar .9s var(--ease) both;
}
@keyframes revelar { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.saudacao { margin-right: auto; }
.saudacao p { margin-top: 8px; }
.saudacao p::first-letter { text-transform: uppercase; }
.secao-titulo {
  display: flex; align-items: center; gap: 12px; margin: 32px 0 14px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; color: var(--texto-2);
}
.secao-titulo::before { content: '///'; color: var(--menta); letter-spacing: .06em; }
.secao-titulo::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--borda-forte), transparent); }
.dica-pagina {
  display: flex; gap: 12px; align-items: flex-start; background: rgba(0, 250, 154, .05); border: 1px solid rgba(0, 250, 154, .16);
  color: var(--texto-2); border-radius: 16px; padding: 12px 16px; font-size: 13.5px; margin-bottom: 16px;
}
.dica-pagina .ic { width: 18px; height: 18px; margin-top: 1px; color: var(--menta); }
.rodape-lista { margin-top: 12px; font-size: 13px; }
.resumo-linha { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; font-size: 14px; }
.rel-periodo { margin: -4px 0 14px; font-size: 13px; }
.recarregando { opacity: .5; pointer-events: none; transition: opacity .15s; }

/* ---------- Cartões ---------- */
.card { background: linear-gradient(180deg, #0a2124, #071a1d); border: 1px solid var(--borda); border-radius: var(--raio-lg); box-shadow: var(--sombra); }
.pagina > .card, .rel-corpo > .card, .pagina > .grid-2col, .rel-corpo > .grid-2col { margin-bottom: 16px; }
.card-pad { padding: 20px 22px; }
.card-titulo { font-size: 15px; font-weight: 800; letter-spacing: -.005em; margin-bottom: 16px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.card-titulo small { font-weight: 600; font-size: 12.5px; }
.card-pad > .muted { margin-bottom: 12px; }
.card-acoes { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.card-acoes-esq { justify-content: flex-start; }
.grid-2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-2col-larga { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }

/* ---------- Botões ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 17px; border-radius: 999px; border: 1px solid var(--borda-forte);
  background: rgba(255, 255, 255, .04); color: var(--texto); font-weight: 700; font-size: 13.5px; white-space: nowrap; text-decoration: none;
  transition: background .2s, border-color .2s, box-shadow .25s, transform .15s, color .2s;
}
.btn:hover { background: rgba(255, 255, 255, .08); border-color: var(--borda-hover); }
.btn:active { transform: scale(.98); }
.btn .ic { width: 17px; height: 17px; transition: transform .3s var(--ease-mola); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-primario, .btn-sucesso {
  overflow: hidden; background: var(--menta); border-color: transparent; color: var(--no-menta);
  box-shadow: 0 0 0 4px rgba(0, 250, 154, .1);
}
.btn-primario:hover, .btn-sucesso:hover { background: #3dffb4; border-color: transparent; box-shadow: 0 0 0 5px rgba(0, 250, 154, .16), 0 10px 30px -6px rgba(0, 250, 154, .5); }
/* brilho que atravessa o botão */
.btn-primario::before, .btn-sucesso::before, .btn-cobrar::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: -70%; width: 50%; transform: skewX(-20deg); pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent);
  transition: left .7s var(--ease);
}
.btn-primario:hover::before, .btn-sucesso:hover::before, .btn-cobrar:hover:not(:disabled)::before { left: 130%; }
.btn-primario:disabled, .btn-sucesso:disabled { box-shadow: none; }
.btn-perigo { background: var(--perigo); border-color: transparent; color: var(--no-perigo); }
.btn-perigo:hover { background: var(--perigo-hover); border-color: transparent; box-shadow: 0 10px 28px -8px rgba(255, 92, 108, .55); }
.btn-texto-perigo { color: var(--perigo-txt); }
.btn-texto-perigo:hover { background: var(--perigo-soft); border-color: var(--perigo-borda); }
.btn-grande { height: 50px; font-size: 15px; padding: 0 24px; }
.btn-bloco { width: 100%; }
.btn-mini { height: 32px; font-size: 12.5px; padding: 0 12px; gap: 6px; }
.btn-mini .ic { width: 15px; height: 15px; }
.btn-icone { width: 40px; padding: 0; flex-shrink: 0; }
.btn-mini.btn-icone { width: 32px; }
.carregando-btn { color: transparent !important; }
.carregando-btn::after {
  content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .2); border-top-color: #fff; animation: girar .7s linear infinite;
}
.btn-primario.carregando-btn::after, .btn-sucesso.carregando-btn::after { border-color: rgba(2, 41, 37, .25); border-top-color: var(--no-menta); }
.btn-perigo.carregando-btn::after { border-color: rgba(34, 5, 10, .25); border-top-color: var(--no-perigo); }
@keyframes girar { to { transform: rotate(360deg); } }

.icon-btn { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; color: var(--texto-2); transition: background .2s, color .2s, transform .3s var(--ease-mola); }
.icon-btn:hover { background: rgba(255, 255, 255, .07); color: var(--texto); }
.modal-head .icon-btn:hover { transform: rotate(90deg); }
.icon-perigo:hover { background: var(--perigo-soft); color: var(--perigo-txt); }

kbd {
  display: inline-block; min-width: 28px; text-align: center; font: 700 11.5px/1 var(--fonte-mono); color: var(--texto-2);
  padding: 5px 7px; border: 1px solid var(--borda-forte); border-bottom-width: 2px; border-radius: 7px; background: rgba(255, 255, 255, .05); margin-right: 6px;
}
.btn kbd, .btn-cobrar kbd {
  min-width: 0; border: none; margin: 0 0 0 2px; padding: 3px 6px; font-size: 10.5px; background: rgba(255, 255, 255, .08); color: inherit; opacity: .8;
}
.btn-primario kbd, .btn-sucesso kbd, .btn-perigo kbd, .btn-cobrar kbd { background: rgba(2, 41, 37, .14); }

.chip {
  height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--borda-forte);
  font-size: 12.5px; font-weight: 700; background: rgba(255, 255, 255, .04); color: var(--texto-2);
  transition: background .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--menta-borda); background: var(--menta-soft); color: var(--menta-txt); }
.chip.on { border-color: var(--menta); background: var(--menta-soft-2); color: var(--menta-txt); box-shadow: 0 0 16px -6px rgba(0, 250, 154, .6); }

/* ---------- Campos ---------- */
.input {
  width: 100%; height: 42px; border: 1px solid var(--borda-forte); border-radius: var(--raio); padding: 0 14px;
  background: var(--campo); color: var(--texto); font-size: 14px; outline: none;
  transition: border-color .15s, box-shadow .2s, background .15s;
}
.input:hover { border-color: rgba(255, 255, 255, .22); }
.input:focus { border-color: var(--menta); box-shadow: 0 0 0 3px rgba(0, 250, 154, .15), 0 0 18px -6px rgba(0, 250, 154, .45); background: rgba(0, 0, 0, .32); }
.input:disabled { opacity: .55; }
.input::placeholder { color: var(--placeholder); }
textarea.input { height: auto; padding: 11px 14px; resize: vertical; }
select.input {
  appearance: none; padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2300fa9a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
select.input option, select.input optgroup { background: var(--elevado); color: #fff; }
input[type=date].input, input[type=datetime-local].input { font-variant-numeric: tabular-nums; }
.input-grande { height: 56px; font-size: 22px; font-weight: 800; }
.input-leitura { display: flex; align-items: center; background: rgba(255, 255, 255, .03); color: var(--texto-2); font-size: 13px; white-space: nowrap; overflow: hidden; }
.input-icone { position: relative; display: flex; align-items: center; }
.input-icone > .ic { position: absolute; left: 13px; color: var(--muted); pointer-events: none; transition: color .2s; }
.input-icone:focus-within > .ic { color: var(--menta); }
.input-icone > .input { padding-left: 40px; }
.campo { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.campo > label, .campo > .rotulo { font-size: 12.5px; font-weight: 700; color: var(--texto-2); }
.campo-check { justify-content: flex-end; padding-bottom: 9px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--menta); flex-shrink: 0; cursor: pointer; }
.check small { display: block; color: var(--muted); font-size: 12px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.span2 { grid-column: span 2; }
.span-todo { grid-column: 1 / -1; }
.linha-input { display: flex; gap: 6px; }
.form-erro { color: var(--perigo-txt); font-size: 13px; font-weight: 600; }

.filtros { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.filtros > select.input { width: auto; min-width: 190px; }
.filtros-linha { margin-bottom: 14px; }
.periodo { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.periodo-datas { display: flex; align-items: center; gap: 8px; }
.periodo-datas .input { width: 164px; }
.seg { display: inline-flex; background: rgba(0, 0, 0, .25); border: 1px solid var(--borda-forte); border-radius: 999px; padding: 4px; gap: 2px; flex-wrap: wrap; }
.seg button { height: 32px; padding: 0 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--texto-2); transition: background .2s, color .2s, box-shadow .25s; }
.seg button:hover { background: rgba(255, 255, 255, .06); color: var(--texto); }
.seg button.on { background: var(--menta); color: var(--no-menta); box-shadow: 0 0 18px -4px rgba(0, 250, 154, .6); }
.seg-icone button { width: 40px; padding: 0; display: grid; place-items: center; }
.seg-cheio { display: flex; }
.seg-cheio button { flex: 1; height: 38px; }

/* ---------- Tabelas ---------- */
.tabela-wrap { overflow-x: auto; }
.tabela { width: 100%; border-collapse: collapse; font-size: 14px; }
.tabela th {
  text-align: left; font-size: 10.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .14em;
  padding: 13px 14px; border-bottom: 1px solid var(--borda); background: rgba(255, 255, 255, .02); white-space: nowrap;
}
.card > .tabela-wrap > .tabela th:first-child { border-top-left-radius: var(--raio-lg); }
.card > .tabela-wrap > .tabela th:last-child { border-top-right-radius: var(--raio-lg); }
.tabela td { padding: 11px 14px; border-bottom: 1px solid var(--linha); vertical-align: middle; }
.tabela tbody tr:last-child td { border-bottom: none; }
.tabela tfoot td { border-top: 1px solid var(--borda); border-bottom: none; }
.tabela tbody tr { transition: background .15s; }
.tabela-clicavel tbody tr { cursor: pointer; }
.tabela-clicavel tbody tr:hover { background: rgba(0, 250, 154, .045); }
.tabela .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tabela-compacta th { background: none; padding: 8px 10px; }
.tabela-compacta td { padding: 9px 10px; }
.tabela-compacta th:first-child, .tabela-compacta td:first-child { padding-left: 0; }
.tabela-compacta th:last-child, .tabela-compacta td:last-child { padding-right: 0; }
.td-foto { width: 58px; }
.td-acoes { width: 96px; text-align: right; white-space: nowrap; }
.td-nome { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.thumb {
  width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(140deg, #134047, #0a2226); color: var(--menta-txt);
  border: 1px solid var(--borda); display: grid; place-items: center; font-weight: 800; font-size: 13px; overflow: hidden;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.fav-mini { display: inline-grid; }
.fav-mini .ic { width: 14px; height: 14px; color: #ff6b9a; fill: #ff6b9a; }
.linha-cancelada td { color: var(--muted); }
.linha-cancelada td b { text-decoration: line-through; }

.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; border: 1px solid transparent;
  font-size: 11.5px; font-weight: 700; white-space: nowrap;
}
.badge .ic { width: 13px; height: 13px; }
.badge-verde { background: var(--menta-soft); border-color: rgba(0, 250, 154, .22); color: var(--menta-txt); }
.badge-vermelho { background: var(--perigo-soft); border-color: rgba(255, 92, 108, .24); color: var(--perigo-txt); }
.badge-laranja { background: var(--bico-soft); border-color: rgba(255, 181, 71, .24); color: var(--bico-txt); }
.badge-cinza { background: rgba(255, 255, 255, .05); border-color: var(--borda); color: var(--texto-2); }
.badge-neutro { background: rgba(255, 255, 255, .08); border-color: var(--borda-forte); color: var(--texto); }

.vazio { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 52px 20px; color: var(--muted); }
.vazio > .ic { width: 42px; height: 42px; stroke-width: 1.4; margin-bottom: 6px; color: rgba(0, 250, 154, .45); }
.vazio p { font-weight: 700; color: var(--texto); font-size: 15px; }
.vazio-acoes { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; justify-content: center; }
.vazio-mini { padding: 12px 0; display: flex; align-items: center; gap: 7px; }
.vazio-mini .ic { width: 16px; height: 16px; color: var(--menta); }
.vazio-mini-bloco { padding: 24px; }

/* ---------- Indicadores e gráficos ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat {
  position: relative; overflow: hidden; background: linear-gradient(180deg, #0a2124, #071a1d); border: 1px solid var(--borda);
  border-radius: var(--raio-lg); padding: 18px 20px 17px; display: flex; flex-direction: column; gap: 6px; min-width: 0;
  transition: border-color .25s, transform .25s var(--ease);
}
.stat:hover { border-color: var(--borda-forte); transform: translateY(-2px); }
.stat-rotulo { font-size: 10.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.stat-rotulo .ic { width: 15px; height: 15px; color: var(--menta); }
.stat-valor { font-size: 30px; font-weight: 300; line-height: 1.15; letter-spacing: -.03em; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.stat-sub { font-size: 12px; color: var(--muted); }
.stat-destaque {
  background: radial-gradient(130% 150% at 0% 0%, rgba(0, 250, 154, .2), rgba(0, 250, 154, .03) 55%, transparent 80%), linear-gradient(180deg, #0a2124, #071a1d);
  border-color: var(--menta-borda);
}
.stat-destaque::after {
  content: ''; position: absolute; top: 0; left: 18%; right: 18%; height: 1px; background: linear-gradient(90deg, transparent, var(--menta), transparent);
}
.stat-destaque .stat-rotulo { color: var(--menta-txt); }
.stat-destaque .stat-sub { color: var(--texto-2); }
.stat-destaque .stat-valor { font-size: 34px; color: var(--menta); text-shadow: 0 0 24px rgba(0, 250, 154, .35); }

.grafico { position: relative; width: 100%; }
.grafico svg { display: block; overflow: visible; }
.g-grade { stroke: var(--grade); stroke-width: 1; }
.g-base { stroke: var(--base-eixo); stroke-width: 1; }
.g-eixo { fill: var(--eixo); font-size: 11px; font-variant-numeric: tabular-nums; }
.g-barra { fill: var(--serie); transition: fill .15s; pointer-events: none; }
.g-barra.on { fill: var(--serie-hover); }
.g-alvo { fill: transparent; outline: none; }
.g-alvo:focus-visible { stroke: var(--serie); stroke-width: 1.5; }
.g-dica {
  position: absolute; pointer-events: none; background: rgba(10, 33, 36, .96); border: 1px solid var(--menta-borda); border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .45); padding: 8px 12px; display: flex; flex-direction: column; white-space: nowrap; z-index: 2;
}
.g-dica strong { font-size: 14px; color: #fff; font-variant-numeric: tabular-nums; }
.g-dica span { font-size: 12px; color: var(--texto-2); }
.hbarras { display: flex; flex-direction: column; gap: 11px; }
.hb-linha { display: grid; grid-template-columns: minmax(70px, 32%) minmax(0, 1fr); align-items: center; gap: 10px; }
.hb-rotulo { font-size: 13px; color: var(--texto-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-trilho { display: flex; align-items: center; gap: 9px; min-width: 0; }
.hb-barra {
  height: 12px; min-width: 2px; border-radius: 0 4px 4px 0; flex-shrink: 0;
  background: linear-gradient(90deg, rgba(0, 250, 154, .55), var(--serie)); box-shadow: 0 0 14px -4px rgba(0, 250, 154, .6);
  transform-origin: left; animation: crescer-barra .8s var(--ease) both;
}
@keyframes crescer-barra { from { transform: scaleX(0); } }
.hb-valor { font-size: 13px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hb-valor small { color: var(--muted); font-weight: 600; margin-left: 2px; }
.det-tabela { margin-top: 12px; font-size: 13px; }
.det-tabela summary { cursor: pointer; color: var(--texto-2); font-weight: 700; width: fit-content; }
.det-tabela summary:hover { color: var(--menta-txt); }
.det-tabela table { margin-top: 8px; }

/* ---------- Modais ---------- */
/* O modal cresce para baixo (não "pula" quando o conteúdo muda) */
.overlay {
  position: fixed; inset: 0; z-index: 60; overflow-y: auto;
  display: flex; align-items: flex-start; justify-content: center; padding: min(9vh, 72px) 16px 16px;
  background: rgba(1, 9, 11, .66); -webkit-backdrop-filter: blur(8px) saturate(120%); backdrop-filter: blur(8px) saturate(120%);
  animation: aparecer .22s ease;
}
.overlay.saindo { animation: sumir .2s ease forwards; pointer-events: none; }
.overlay.sem-entrada, .overlay.sem-entrada .modal { animation: none; }
.modal {
  position: relative; width: 100%; display: flex; flex-direction: column;
  max-height: calc(100dvh - min(9vh, 72px) - 16px);
  background: linear-gradient(180deg, #0d2629, #081d20 60%); border: 1px solid var(--borda-forte); border-radius: var(--raio-xl);
  box-shadow: var(--sombra-lg), 0 0 0 1px rgba(0, 0, 0, .3);
  animation: modal-entrar .34s var(--ease-mola) both;
}
.modal::before {
  content: ''; position: absolute; top: -1px; left: 14%; right: 14%; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(0, 250, 154, .8), transparent);
}
.overlay.saindo .modal { animation: modal-sair .2s ease forwards; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 16px 24px; border-bottom: 1px solid var(--borda); }
.modal-head h3 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.modal-body { padding: 20px 24px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.modal-body > * { flex-shrink: 0; }          /* o corpo rola; os blocos não encolhem */
.modal-foot {
  display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 16px 24px; flex-wrap: wrap;
  border-top: 1px solid var(--borda); background: rgba(0, 0, 0, .14); border-radius: 0 0 var(--raio-xl) var(--raio-xl);
}
.confirm-msg { font-size: 15px; line-height: 1.55; color: var(--texto-2); }
@keyframes aparecer { from { opacity: 0; } }
@keyframes sumir { to { opacity: 0; } }
@keyframes subir { from { transform: translateY(8px); opacity: 0; } }
@keyframes modal-entrar { from { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes modal-sair { to { opacity: 0; transform: translateY(10px) scale(.98); } }

.picker-lista { display: flex; flex-direction: column; max-height: 50vh; overflow-y: auto; border: 1px solid var(--borda); border-radius: 16px; background: rgba(0, 0, 0, .15); }
.picker-item { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--linha); display: flex; flex-direction: column; gap: 1px; transition: background .15s, padding .2s var(--ease); }
.picker-item:last-child { border-bottom: none; }
.picker-item:hover, .picker-item:focus-visible { background: var(--menta-soft); outline: none; padding-left: 20px; }
.picker-item small { color: var(--muted); font-size: 12px; }
.picker-lista .vazio-mini { justify-content: center; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 100; pointer-events: none; opacity: 0;
  transform: translate(-50%, 20px) scale(.97);
  display: flex; align-items: center; gap: 11px; max-width: min(560px, calc(100vw - 32px));
  background: rgba(12, 36, 40, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--borda-forte); color: var(--texto); padding: 13px 20px 13px 16px; border-radius: 16px;
  font-size: 14px; font-weight: 600; box-shadow: 0 18px 44px rgba(0, 0, 0, .5);
  transition: transform .3s var(--ease-mola), opacity .22s ease;
}
.toast::before { content: ''; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: var(--texto-2); }
.toast.show { transform: translate(-50%, 0) scale(1); opacity: 1; }
.toast.ok { border-color: var(--menta-borda); }
.toast.ok::before { background: var(--menta); box-shadow: 0 0 10px var(--menta); }
.toast.erro { border-color: var(--perigo-borda); }
.toast.erro::before { background: var(--perigo); box-shadow: 0 0 10px var(--perigo); }
.toast.aviso { border-color: var(--bico-borda); }
.toast.aviso::before { background: var(--bico); box-shadow: 0 0 10px var(--bico); }

/* ---------- Tela de venda ---------- */
.pdv { display: grid; grid-template-columns: minmax(0, 1fr) 400px; height: 100%; }
.pdv-catalogo { display: flex; flex-direction: column; min-height: 0; padding: 18px 18px 0 22px; gap: 12px; }
.pdv-barra { display: flex; gap: 10px; }
.pdv-busca { flex: 1; }
.pdv-busca .input { height: 52px; font-size: 16px; border-radius: 999px; padding-left: 50px; background: rgba(0, 0, 0, .28); }
.pdv-busca > .ic { left: 18px; width: 21px; height: 21px; }
.pdv-barra .seg { align-items: center; }
.pdv-barra .seg button { height: 42px; }
.pdv-trilha { display: flex; align-items: center; gap: 8px; font-size: 14px; min-height: 30px; }
.trilha-voltar { display: inline-flex; align-items: center; gap: 6px; color: var(--menta-txt); font-weight: 700; padding: 5px 12px 5px 8px; border-radius: 999px; transition: background .2s; }
.trilha-voltar:hover { background: var(--menta-soft); }
.trilha-voltar .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.trilha-voltar:hover .ic { transform: translateX(-3px); }
.trilha-sep { color: var(--borda-hover); }
.trilha-atual { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdv-area { flex: 1; overflow-y: auto; padding: 4px 6px 22px 2px; margin-left: -2px; min-height: 0; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 14px; }
.tile {
  --c: var(--cor, #1f6f86);
  position: relative; aspect-ratio: 1 / .88; border-radius: var(--raio-lg); overflow: hidden;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: #0c2428;
  background:
    radial-gradient(85% 70% at 50% 28%, color-mix(in oklab, var(--c) 55%, transparent), transparent 72%),
    linear-gradient(165deg, color-mix(in oklab, var(--c) 40%, #0a2226), #061618 78%);
  border: 1px solid rgba(255, 255, 255, .1);
  border-color: color-mix(in oklab, var(--c) 45%, rgba(255, 255, 255, .1));
  transition: transform .3s var(--ease), border-color .25s, box-shadow .3s;
}
.tile:hover {
  transform: translateY(-4px);
  border-color: color-mix(in oklab, var(--c) 60%, rgba(255, 255, 255, .45));
  box-shadow: 0 18px 36px -14px color-mix(in oklab, var(--c) 85%, transparent);
}
.tile:active { transform: scale(.97); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile-icone {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 38px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 0 30px -6px color-mix(in oklab, var(--c) 90%, transparent);
  transition: transform .4s var(--ease-mola);
}
.tile:hover .tile-icone { transform: scale(1.08) rotate(-6deg); }
.tile-icone .ic { width: 29px; height: 29px; stroke-width: 1.6; }
.tile-neutro { --c: #4d6a70; }
.tile-rotulo {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 11px;
  background: linear-gradient(180deg, transparent, rgba(2, 12, 14, .88) 55%);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; font-size: 13.5px; font-weight: 700; text-align: left;
}
.tile-rotulo span { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.25; }
.tile-rotulo small { font-size: 11px; font-weight: 800; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 1px 8px; flex-shrink: 0; }

.pgrade { display: grid; grid-template-columns: repeat(auto-fill, minmax(164px, 1fr)); gap: 12px; }
.pcard {
  background: linear-gradient(180deg, #0a2124, #071a1d); border: 1px solid var(--borda); border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column; text-align: left;
  transition: border-color .2s, box-shadow .3s, transform .3s var(--ease);
}
.pcard:hover { border-color: var(--menta-borda); box-shadow: 0 16px 34px -16px rgba(0, 250, 154, .5); transform: translateY(-3px); }
.pcard:active { transform: scale(.97); }
.pcard-foto { position: relative; aspect-ratio: 4 / 3; background: radial-gradient(90% 90% at 30% 20%, #154a50, #0a2226); display: grid; place-items: center; overflow: hidden; }
.pcard-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.pcard:hover .pcard-foto img { transform: scale(1.05); }
.pcard-ini { font-family: var(--fonte-marca); font-size: 28px; font-weight: 500; letter-spacing: -.02em; color: rgba(0, 250, 154, .78); }
.pcard-fav { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; background: rgba(2, 17, 20, .7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); display: grid; place-items: center; }
.pcard-fav .ic { width: 13px; height: 13px; color: #ff6b9a; fill: #ff6b9a; }
.pcard-info { padding: 11px 13px 13px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.pcard-nome { font-weight: 700; font-size: 13.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.pcard-cod { font-size: 11.5px; color: var(--muted); }
.pcard-preco { font-size: 17px; font-weight: 800; letter-spacing: -.01em; color: var(--menta-txt); margin-top: auto; padding-top: 5px; }
.pcard-preco small { font-size: 11.5px; font-weight: 600; color: var(--muted); }

.plista { display: flex; flex-direction: column; background: linear-gradient(180deg, #0a2124, #071a1d); border: 1px solid var(--borda); border-radius: 18px; overflow: hidden; }
.plinha { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto auto; gap: 12px; align-items: center; padding: 9px 16px; border-bottom: 1px solid var(--linha); text-align: left; transition: background .15s; }
.plinha:last-child { border-bottom: none; }
.plinha:hover { background: var(--menta-soft); }
.plinha-foto { width: 44px; height: 44px; border-radius: 12px; background: radial-gradient(90% 90% at 30% 20%, #154a50, #0a2226); color: var(--menta-txt); display: grid; place-items: center; font-weight: 800; font-size: 13px; overflow: hidden; }
.plinha-foto img { width: 100%; height: 100%; object-fit: cover; }
.plinha-nome { display: flex; flex-direction: column; min-width: 0; }
.plinha-nome b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plinha-nome small { color: var(--muted); font-size: 12px; }
.plinha-est { font-size: 12px; color: var(--muted); white-space: nowrap; }
.plinha-preco { font-weight: 800; font-size: 15px; min-width: 90px; text-align: right; color: var(--menta-txt); }

.pdv-venda {
  display: flex; flex-direction: column; min-height: 0; position: relative;
  background: linear-gradient(180deg, rgba(8, 29, 32, .96), rgba(4, 22, 25, .98)); border-left: 1px solid var(--borda);
}
.pdv-pessoas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .8fr); border-bottom: 1px solid var(--borda); }
.pessoa { display: flex; align-items: center; gap: 11px; padding: 13px 15px; text-align: left; min-width: 0; transition: background .2s; }
.pessoa + .pessoa { border-left: 1px solid var(--borda); }
.pessoa:hover { background: rgba(255, 255, 255, .035); }
.pessoa > .ic { width: 20px; height: 20px; color: var(--menta); }
.pessoa-txt { display: flex; flex-direction: column; min-width: 0; }
.pessoa-txt small { font-size: 10px; color: var(--muted); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.pessoa-txt b { font-size: 13.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.pessoa.definido b { color: var(--texto); }
.pdv-itens { flex: 1; overflow-y: auto; min-height: 0; }
.vitem {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 6px; row-gap: 6px;
  padding: 11px 10px 11px 16px; border-bottom: 1px solid var(--linha); align-items: center;
}
.vitem.flash { animation: destacar .9s; }
@keyframes destacar { from { background: rgba(0, 250, 154, .2); } to { background: transparent; } }
.vitem-nome { text-align: left; font-weight: 700; font-size: 13.5px; line-height: 1.3; transition: color .15s; }
.vitem-nome:hover { color: var(--menta-txt); text-decoration: underline; text-underline-offset: 3px; }
.vitem-total { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vitem-rm { width: 28px; height: 28px; }
.vitem-rm .ic { width: 16px; height: 16px; }
.vitem-rm:hover { color: var(--perigo-txt); background: var(--perigo-soft); }
.vitem-ctrl { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.qbtn { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--borda-forte); display: grid; place-items: center; background: rgba(255, 255, 255, .03); color: var(--texto); transition: background .15s, border-color .15s, color .15s; }
.qbtn:hover { background: var(--menta-soft); border-color: var(--menta-borda); color: var(--menta-txt); }
.qbtn .ic { width: 14px; height: 14px; }
.vitem-qtd {
  width: 56px; height: 30px; padding: 0 4px; text-align: center; font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums;
  border: 1px solid var(--borda-forte); border-radius: 10px; background: var(--campo); color: var(--texto); outline: none; cursor: text;
  transition: border-color .15s, box-shadow .2s;
}
.vitem-qtd:hover { border-color: var(--menta-borda); }
.vitem-qtd:focus { border-color: var(--menta); box-shadow: 0 0 0 3px rgba(0, 250, 154, .15); }
.vazio-venda { height: 100%; }
.vazio-venda small { max-width: 220px; }
.pdv-rodape { border-top: 1px solid var(--borda); padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 11px; background: linear-gradient(180deg, transparent, rgba(0, 250, 154, .03)); }
.pdv-totais .tl { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--texto-2); padding: 1px 0; font-variant-numeric: tabular-nums; }
.pdv-totais .tl-desc { color: var(--perigo-txt); }
.pdv-acoes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.pdv-acoes .btn { padding: 0 8px; gap: 6px; font-size: 13px; }
.btn-cobrar {
  position: relative; overflow: hidden; height: 66px; border-radius: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 22px;
  background: linear-gradient(135deg, #5effbf, var(--menta) 45%, #00d98a); color: var(--no-menta);
  font-weight: 800; font-size: 15px; letter-spacing: .14em;
  box-shadow: 0 0 0 4px rgba(0, 250, 154, .12), 0 16px 36px -12px rgba(0, 250, 154, .6);
  transition: transform .15s, box-shadow .3s, filter .2s;
}
.btn-cobrar span { display: flex; align-items: center; gap: 8px; }
.btn-cobrar strong { font-family: var(--fonte-marca); font-size: 22px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.btn-cobrar:hover { filter: brightness(1.06); box-shadow: 0 0 0 6px rgba(0, 250, 154, .16), 0 20px 44px -12px rgba(0, 250, 154, .7); }
.btn-cobrar:active { transform: scale(.985); }
.btn-cobrar:disabled { background: rgba(255, 255, 255, .045); color: var(--muted); box-shadow: inset 0 0 0 1px var(--borda); cursor: not-allowed; filter: none; }
.btn-cobrar:disabled kbd { background: rgba(255, 255, 255, .06); }

.centro-vertical { min-height: 100%; display: grid; place-items: center; }
.caixa-fechado { max-width: 430px; width: 100%; padding: 34px 30px; text-align: center; display: flex; flex-direction: column; gap: 14px; }
.caixa-fechado .campo { text-align: left; }
.caixa-fechado h2 { font-family: var(--fonte-marca); font-weight: 500; font-size: 22px; letter-spacing: -.02em; }
.caixa-fechado-esq { margin-bottom: 16px; }
.cf-icone {
  position: relative; width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 4px; display: grid; place-items: center;
  background: var(--menta-soft); color: var(--menta); border: 1px solid var(--menta-borda); box-shadow: 0 0 40px -8px rgba(0, 250, 154, .5);
}
.cf-icone::after { content: ''; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgba(0, 250, 154, .25); animation: pulsar 2.4s var(--ease) infinite; }
.cf-icone .ic { width: 30px; height: 30px; }

/* Pagamento */
.pg-total { text-align: center; padding: 4px 0 2px; }
.pg-total small { color: var(--muted); font-size: 10.5px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; display: block; margin-bottom: 6px; }
.pg-total strong { font-family: var(--fonte-marca); font-size: 38px; font-weight: 500; color: var(--menta); letter-spacing: -.04em; font-variant-numeric: tabular-nums; text-shadow: 0 0 30px rgba(0, 250, 154, .35); }
.pg-formas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pg-forma {
  border: 1px solid var(--borda-forte); border-radius: 16px; padding: 13px 6px; display: flex; flex-direction: column; align-items: center;
  gap: 7px; font-weight: 700; font-size: 12.5px; color: var(--texto-2); background: rgba(255, 255, 255, .025);
  transition: border-color .2s, background .2s, color .2s, box-shadow .25s, transform .2s var(--ease);
}
.pg-forma .ic { width: 24px; height: 24px; }
.pg-forma:hover { border-color: var(--borda-hover); background: rgba(255, 255, 255, .05); transform: translateY(-2px); }
.pg-forma.on { border-color: var(--menta); background: var(--menta-soft); color: var(--menta-txt); box-shadow: 0 0 0 3px rgba(0, 250, 154, .12), 0 0 24px -8px rgba(0, 250, 154, .6); }
.pg-entrada { display: flex; gap: 10px; align-items: flex-end; }
.pg-entrada .btn-grande { height: 56px; }
.pg-entrada.desativado { opacity: .45; }
.pg-rapidos { display: flex; gap: 6px; flex-wrap: wrap; margin-top: -4px; }
.pg-rapidos:empty, .pg-lista:empty, .pg-resumo:empty { display: none; }
.pg-lista { display: flex; flex-direction: column; border: 1px solid var(--borda); border-radius: 14px; background: rgba(0, 0, 0, .14); }
.pg-item { display: grid; grid-template-columns: 20px 1fr auto 34px; gap: 10px; align-items: center; padding: 6px 6px 6px 14px; border-bottom: 1px solid var(--linha); font-size: 14px; }
.pg-item:last-child { border-bottom: none; }
.pg-item > .ic { width: 18px; height: 18px; color: var(--menta); }
.pg-item b { font-variant-numeric: tabular-nums; }
.pg-falta, .pg-troco { display: flex; justify-content: space-between; align-items: center; padding: 13px 18px; border-radius: 16px; font-weight: 800; border: 1px solid transparent; }
.pg-falta { background: var(--bico-soft); border-color: rgba(255, 181, 71, .22); color: var(--bico-txt); }
.pg-troco { background: var(--menta-soft); border-color: rgba(0, 250, 154, .22); color: var(--menta-txt); }
.pg-falta strong, .pg-troco strong { font-size: 24px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.modal-pagto .modal-foot .btn-sucesso { font-size: 15.5px; }

.sucesso { text-align: center; padding: 12px 0 2px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sucesso-icone {
  position: relative; width: 76px; height: 76px; border-radius: 50%; margin-bottom: 10px; display: grid; place-items: center;
  background: var(--menta); color: var(--no-menta); box-shadow: 0 0 0 8px rgba(0, 250, 154, .12), 0 0 50px -6px rgba(0, 250, 154, .7);
  animation: surgir .5s var(--ease-mola) both;
}
.sucesso-icone::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid var(--menta); animation: pulsar 1.6s var(--ease) .3s 2 both; }
.sucesso-icone .ic { width: 38px; height: 38px; stroke-width: 2.6; }
@keyframes surgir { from { transform: scale(.4); opacity: 0; } }
.sucesso h3 { font-family: var(--fonte-marca); font-weight: 500; font-size: 21px; letter-spacing: -.02em; }
.sucesso-troco { margin-top: 12px; background: var(--menta-soft); border: 1px solid rgba(0, 250, 154, .22); color: var(--menta-txt); border-radius: 18px; padding: 12px 34px; display: flex; flex-direction: column; }
.sucesso-troco strong { font-size: 30px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.ei-total { font-size: 14px; color: var(--texto-2); }

/* ---------- Produtos ---------- */
.form-produto { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 22px; }
.fp-lado { display: flex; flex-direction: column; gap: 12px; }
.foto-box {
  aspect-ratio: 1; width: 100%; border: 1.5px dashed var(--borda-forte); border-radius: 18px; overflow: hidden;
  display: grid; place-items: center; background: rgba(255, 255, 255, .02); color: var(--muted); transition: border-color .2s, background .2s;
}
.foto-box:hover { border-color: var(--menta-borda); background: var(--menta-soft); }
.foto-box img { width: 100%; height: 100%; object-fit: cover; }
.foto-vazia { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; }
.foto-vazia .ic { width: 30px; height: 30px; stroke-width: 1.5; color: rgba(0, 250, 154, .5); }
.foto-acoes { display: flex; gap: 6px; flex-wrap: wrap; }
.fp-campos { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.imp-mapa { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.imp-opcoes { display: flex; flex-direction: column; gap: 10px; }
.imp-titulo { font-size: 14px; }
.imp-previa { border: 1px solid var(--borda); border-radius: 14px; max-height: 260px; overflow: auto; padding: 0 12px; background: rgba(0, 0, 0, .12); }

.cores { display: flex; gap: 8px; flex-wrap: wrap; }
.cor-opcao { position: relative; cursor: pointer; }
.cor-opcao input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cor-opcao span { display: block; width: 34px; height: 34px; border-radius: 50%; background: var(--cor); border: 3px solid transparent; transition: transform .2s var(--ease-mola); }
.cor-opcao:hover span { transform: scale(1.08); }
.cor-opcao input:checked + span { border-color: var(--elevado); box-shadow: 0 0 0 2px var(--cor), 0 0 18px -2px var(--cor); }
.cor-opcao input:focus-visible + span { outline: 2px solid var(--menta); outline-offset: 3px; }
.cor-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--cor); margin-right: 8px; vertical-align: -1px; box-shadow: 0 0 10px -2px var(--cor); }

/* ---------- Caixa ---------- */
.caixa-cab { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; flex-wrap: wrap; margin-bottom: 16px; }
.caixa-cab-info { display: flex; align-items: center; gap: 14px; }
.caixa-cab-info b, .caixa-cab-info small { display: block; }
.caixa-cab-info small { font-size: 13px; }
.caixa-cab-acoes { display: flex; gap: 8px; flex-wrap: wrap; }
.conta { display: flex; flex-direction: column; }
.conta-linha { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--borda-forte); font-size: 14px; }
.conta-linha span:last-child { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.conta-total { border-bottom: none; font-size: 16px; font-weight: 800; padding-top: 12px; }
.conta-total span:last-child { color: var(--menta-txt); }
.movs { display: flex; flex-direction: column; }
.mov { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--linha); }
.mov:last-child { border-bottom: none; }
.mov small { display: block; }
.mov-icone { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; }
.mov-icone.sangria { background: var(--perigo-soft); color: var(--perigo-txt); }
.mov-icone.suprimento { background: var(--menta-soft); color: var(--menta); }
.mov-valor { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.conf td { vertical-align: middle; }
.conf td .ic { width: 16px; height: 16px; vertical-align: -3px; margin-right: 5px; color: var(--menta); }
.input-conf { width: 124px; height: 38px; text-align: right; margin-left: auto; }

/* ---------- Vendas / Início / Ajustes ---------- */
.det-cab { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--borda); border-radius: 16px; padding: 13px 16px; }
.det-cab small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.aviso-caixa { display: flex; align-items: center; gap: 11px; padding: 13px 18px; border-radius: 16px; font-size: 14px; font-weight: 600; border: 1px solid transparent; }
.aviso-caixa.aberto { background: var(--menta-soft); border-color: rgba(0, 250, 154, .2); color: var(--menta-txt); }
.aviso-caixa.fechado { background: var(--bico-soft); border-color: rgba(255, 181, 71, .22); color: var(--bico-txt); }
.aviso-caixa a { margin-left: auto; display: inline-flex; align-items: center; gap: 3px; color: inherit; font-weight: 800; text-decoration: none; white-space: nowrap; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.aviso-caixa a .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.aviso-caixa a:hover .ic { transform: translateX(3px); }
.lista-simples .ls-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--linha); font-size: 14px; }
.lista-simples .ls-item:last-child { border-bottom: none; }
.link { display: inline-flex; align-items: center; gap: 3px; margin-top: 12px; color: var(--menta-txt); font-weight: 700; text-decoration: none; font-size: 13.5px; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link:hover .ic { transform: translateX(3px); }
.conexao { display: flex; gap: 12px; align-items: center; padding: 13px 16px; border-radius: 16px; margin-bottom: 10px; border: 1px solid transparent; }
.conexao small { display: block; font-size: 13px; opacity: .9; }
.conexao.ok { background: var(--menta-soft); border-color: rgba(0, 250, 154, .2); color: var(--menta-txt); }
.conexao.demo { background: var(--bico-soft); border-color: rgba(255, 181, 71, .22); color: var(--bico-txt); }
.atalhos { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px 16px; font-size: 14px; color: var(--texto-2); }

/* ---------- Login e erros ---------- */
.tela-central { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px; position: relative; }
.cartao-central { width: 100%; max-width: 420px; padding: 32px 30px; display: flex; flex-direction: column; gap: 16px; position: relative; animation: entrar .6s var(--ease) both; }
.cartao-central h1 { font-family: var(--fonte-marca); font-weight: 500; font-size: 26px; letter-spacing: -.03em; color: #fff; }
.cartao-central .eyebrow { margin-bottom: -6px; }
.login-logo { display: flex; align-items: center; gap: 12px; font-size: 18px; }
.login-logo .logo-pato { width: 44px; height: 44px; filter: drop-shadow(0 8px 20px rgba(0, 250, 154, .3)); }
.login-logo .marca { font-size: 24px; }
.tela-login {
  grid-template-columns: minmax(0, 560px) minmax(0, 420px); justify-content: center; align-items: center;
  gap: clamp(32px, 7vw, 110px); padding: 40px clamp(20px, 5vw, 80px); overflow: hidden;
  background:
    radial-gradient(640px 440px at 22% 30%, rgba(0, 250, 154, .12), transparent 62%),
    radial-gradient(520px 420px at 92% 92%, rgba(0, 190, 200, .08), transparent 60%);
}
.tela-login .cartao-central {
  background: rgba(10, 33, 36, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-color: var(--borda-forte); box-shadow: var(--sombra-lg); border-radius: var(--raio-xl); animation-delay: .15s;
}
.tela-login .cartao-central::before {
  content: ''; position: absolute; top: -1px; left: 14%; right: 14%; height: 1px; background: linear-gradient(90deg, transparent, var(--menta), transparent);
}
.login-hero { display: flex; flex-direction: column; gap: 22px; animation: entrar .7s var(--ease) both; }
.login-hero .login-logo .logo-pato { width: 58px; height: 58px; }
.login-hero .login-logo .marca { font-size: 30px; }
.login-titulo { font-family: var(--fonte-marca); font-weight: 500; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -.04em; color: #fff; text-wrap: balance; }
.login-titulo span { display: block; color: var(--menta); text-shadow: 0 0 40px rgba(0, 250, 154, .35); }
.login-lista { list-style: none; display: flex; flex-direction: column; gap: 13px; border-top: 1px solid var(--borda); padding-top: 22px; }
.login-lista li { display: flex; gap: 14px; align-items: baseline; color: var(--texto-2); font-size: 14.5px; }
.login-lista b { font-family: var(--fonte-mono); font-size: 12px; font-weight: 600; color: var(--menta); }
.erro-box { display: flex; gap: 12px; align-items: flex-start; background: var(--perigo-soft); border: 1px solid var(--perigo-borda); color: #ffb8bf; padding: 14px 16px; border-radius: 16px; }
.erro-box .ic { width: 22px; height: 22px; color: var(--perigo); }
.erro-box p { margin-top: 4px; font-size: 14px; }

/* ---------- Impressão (cupom 80mm) ---------- */
#print-area { display: none; }
.cupom { width: 72mm; font-family: ui-monospace, 'Courier New', monospace; font-size: 11.5px; color: #000; line-height: 1.35; }
.c-centro { text-align: center; }
.c-loja { font-size: 14px; font-weight: 700; }
.c-forte { font-weight: 700; }
.c-sep { border-top: 1px dashed #000; margin: 6px 0; }
.c-linha { display: flex; justify-content: space-between; gap: 8px; }
.c-item { margin-top: 3px; }
.c-total { font-size: 14px; font-weight: 700; margin: 3px 0; }
@media print {
  html, body { height: auto; background: #fff !important; color: #000; }
  body::before { display: none; }
  body > *:not(#print-area) { display: none !important; }
  #print-area { display: block; }
}

/* ---------- Cadastro completo do produto ---------- */
.modal-produto .modal-body { gap: 16px; }
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px 14px; }
.c3 { grid-column: span 3; }
.c4 { grid-column: span 4; }
.c6 { grid-column: span 6; }
.c8 { grid-column: span 8; }
.fp { display: flex; flex-direction: column; gap: 16px; }
.fp-cabecalho { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 18px; align-items: start; }
.fp-foto { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.fp-foto .foto-box { width: 132px; }
.foto-acoes { justify-content: center; }
.link-btn { font-size: 12.5px; font-weight: 700; color: var(--texto-2); text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--menta-txt); }
.link-btn.txt-perigo { color: var(--perigo-txt); }

.abas { display: flex; gap: 2px; border-bottom: 1px solid var(--borda); overflow-x: auto; scrollbar-width: none; }
.abas::-webkit-scrollbar { display: none; }
.aba {
  position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 11px 14px; font-weight: 700; font-size: 13.5px; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color .2s, background .2s;
}
.aba .ic { width: 16px; height: 16px; }
.aba:hover { color: var(--texto); }
.aba.on { color: var(--menta-txt); border-bottom-color: var(--menta); background: linear-gradient(180deg, transparent 40%, rgba(0, 250, 154, .08)); }
.aba-painel { display: flex; flex-direction: column; gap: 14px; min-height: 280px; animation: entrar .35s var(--ease); }

.fp-colunas { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.25fr) minmax(0, .9fr); gap: 14px; align-items: start; }
.fp-bloco { background: rgba(255, 255, 255, .025); border: 1px solid var(--borda); border-radius: 18px; padding: 15px 16px; display: flex; flex-direction: column; gap: 9px; }
.fp-bloco h4 { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .2em; color: var(--menta-txt); margin-bottom: 3px; }
.input-destaque { font-size: 17px; font-weight: 800; height: 44px; }
.pct-linha label { color: var(--texto-2); }
.fp-total, .fp-info {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px;
  border-top: 1px solid var(--borda); padding-top: 9px;
}
.fp-total strong { font-size: 20px; }
.fp-info strong { font-size: 15px; margin-left: auto; font-variant-numeric: tabular-nums; }
.fp-info .btn { margin-left: 4px; }
.fp-despesas summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--texto-2); padding: 2px 0; }
.fp-despesas summary:hover { color: var(--menta-txt); }
.fp-despesas summary small { font-weight: 600; color: var(--muted); }
.fp-despesas[open] summary { margin-bottom: 8px; }
.fp-despesas .pct-linha + .pct-linha { margin-top: 7px; }
.precos-cab { font-size: 10.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; border-top: 1px solid var(--borda); padding-top: 10px; }
.precos-cab span:not(:first-child) { text-align: right; }
.preco-linha label { font-size: 13px; color: var(--texto-2); }
.preco-principal label { font-weight: 800; color: var(--texto); }
.fp-alerta { display: flex; gap: 7px; align-items: flex-start; font-size: 12.5px; color: var(--perigo-txt); background: var(--perigo-soft); border: 1px solid rgba(255, 92, 108, .22); padding: 8px 11px; border-radius: 12px; }
.fp-alerta .ic { width: 15px; height: 15px; margin-top: 1px; }
.estoque-box { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: rgba(0, 0, 0, .18); border: 1px solid var(--borda); border-radius: 14px; padding: 11px 13px; }
.estoque-box small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.estoque-box strong { font-size: 24px; font-weight: 300; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.estoque-box span { color: var(--muted); font-weight: 700; }
.fp-datas { display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; color: var(--muted); }
.fp-datas b { color: var(--texto-2); font-weight: 700; }
.fp-checks { display: flex; flex-direction: column; gap: 9px; border-top: 1px solid var(--borda); padding-top: 11px; }
.fp-checks .check { font-size: 13.5px; }
.fp-sub { font-size: 14px; }
.fp-sub small { font-weight: 600; }
.ficha { max-height: 420px; overflow: auto; }
.aj-prev { font-size: 14px; min-height: 20px; }
.ei-tabelas { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ei-tabelas > span { font-size: 12.5px; margin-right: 2px; }

/* ---------- Formulário do produto: campos com R$ e % (todos editáveis) ---------- */
.campo-prefixo, .campo-sufixo { position: relative; display: flex; align-items: center; min-width: 0; }
.campo-prefixo > span, .campo-sufixo > span {
  position: absolute; top: 50%; transform: translateY(-50%); font-size: 11px; font-weight: 700; color: var(--muted); pointer-events: none; white-space: nowrap;
}
.campo-prefixo > span { left: 9px; }
.campo-sufixo > span { right: 9px; }
.campo-prefixo > .input { padding-left: 28px; text-align: right; width: 100%; }
.campo-sufixo > .input { padding-right: 22px; text-align: right; width: 100%; }
.pct-linha { display: grid; grid-template-columns: minmax(0, 1fr) 82px 94px; gap: 7px; align-items: center; font-size: 13px; }
.pct-linha > label { color: var(--texto-2); line-height: 1.2; }
.pct-linha .input, .preco-linha .input, .fp-linha-total .input { height: 32px; font-size: 13.5px; border-radius: 10px; padding-top: 0; padding-bottom: 0; }
.input-rs { color: var(--texto-2); }
.fp-linha-total { display: grid; grid-template-columns: minmax(0, 1fr) 124px; gap: 7px; align-items: center; font-size: 14px; border-top: 1px solid var(--borda); padding-top: 9px; }
.fp-linha-total:has(> .btn) { grid-template-columns: minmax(0, 1fr) 124px auto; }
.fp-linha-total > label { font-weight: 700; color: var(--texto); }
.fp-total-forte .input { font-weight: 800; font-size: 15px; height: 36px; color: var(--menta-txt); }
.fp-auditoria { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 8px; border-top: 1px dashed var(--borda-forte); padding-top: 10px; }
.fp-auditoria .input { height: 34px; font-size: 13px; }
.precos-cab, .preco-linha { display: grid; grid-template-columns: minmax(64px, 1fr) 100px 74px 90px; gap: 7px; align-items: center; }
.preco-principal .campo-prefixo:first-of-type > .input { font-weight: 800; font-size: 15px; border-color: var(--menta-borda); color: var(--menta-txt); }
.preco-linha .input-rs.txt-perigo { color: var(--perigo-txt); }
.fp-estoque-linha { display: flex; gap: 8px; align-items: flex-end; }
.fp-mini { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-top: 4px; }
.fp-nota { font-size: 12.5px; margin-top: -4px; }
.fp-stats { margin-top: 6px; }
.fp-foto .foto-box { width: 104px; }
.fp-cabecalho { grid-template-columns: 104px minmax(0, 1fr); }
.fp-foto-aba { display: flex; gap: 18px; align-items: flex-start; }
.fp-foto-grande { width: 260px; flex-shrink: 0; display: flex; flex-direction: column; gap: 8px; }
.fp-foto-grande .foto-box { width: 260px; }
.modal-produto .aba { padding: 10px 9px; font-size: 12.5px; gap: 5px; }
.modal-produto .aba .ic { width: 15px; height: 15px; }
.fp-barra { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding-bottom: 13px; border-bottom: 1px solid var(--borda); }
.fp-nav { display: inline-flex; align-items: center; gap: 6px; margin-right: 8px; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.fp-nav .btn { width: 34px; height: 34px; }
.c2 { grid-column: span 2; }
.c12 { grid-column: 1 / -1; }
.barra-ferramentas { display: flex; gap: 8px; flex-wrap: wrap; margin: -8px 0 16px; }
.pq-total { font-size: 14px; color: var(--texto-2); }

/* Gestor de preços / balanço / etiquetas */
.modal-ferramenta .modal-body { gap: 12px; }
.gp-regra { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; background: rgba(255, 255, 255, .025); border: 1px solid var(--borda); border-radius: 16px; padding: 13px 15px; }
.gp-tabela, .bl-tabela { border: 1px solid var(--borda); border-radius: 16px; max-height: 48vh; }
.gp-tabela .tabela th, .bl-tabela .tabela th { position: sticky; top: 0; background: var(--surface-2); z-index: 1; }
.gp-tabela .tabela th:first-child, .gp-tabela .tabela td:first-child, .bl-tabela .tabela th:first-child, .bl-tabela .tabela td:first-child { padding-left: 14px; }
.gp-tabela .tabela th:last-child, .gp-tabela .tabela td:last-child, .bl-tabela .tabela th:last-child, .bl-tabela .tabela td:last-child { padding-right: 14px; }
.gp-novo { width: 104px; height: 32px; text-align: right; font-weight: 800; margin-left: auto; color: var(--menta-txt); }
.gp-igual td { color: var(--muted); }
.gp-igual .gp-novo { font-weight: 500; color: var(--texto-2); }
.bl-leitor { display: flex; gap: 14px; align-items: center; }
.bl-qtd { width: 96px; height: 32px; text-align: right; font-weight: 800; margin-left: auto; }
.bl-contado td { background: rgba(0, 250, 154, .06); }
.bl-tabela tr.flash td { animation: destacar .9s; }
.bl-so { align-self: center; }
.etq-mostrar { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; font-size: 14px; }
.etq-qtd { width: 72px; height: 32px; text-align: right; margin-left: auto; }

/* Conferência da nota: campos editáveis */
.nf-nome { height: 32px; font-weight: 700; font-size: 13px; margin-bottom: 3px; }
.nf-qtd-campo { display: flex; align-items: center; gap: 4px; justify-content: flex-end; }
.nf-qtd-campo .input { width: 76px; height: 32px; text-align: right; }
.nf-custo .campo-prefixo, .nf-preco .campo-prefixo { width: 112px; margin-left: auto; }
.nf-custo-input, .nf-preco-input { height: 32px; font-weight: 800; }
.nf-preco small { display: block; font-size: 11.5px; }

/* Etiquetas impressas */
.etq-impressao { color: #000; font-family: Arial, Helvetica, sans-serif; }
.etq-folha { width: 210mm; height: 297mm; padding: 12.7mm 4.8mm 0; box-sizing: border-box; display: grid; grid-template-columns: repeat(3, 66.7mm);
  grid-auto-rows: 25.4mm; column-gap: 3.2mm; break-after: page; }
.etq { box-sizing: border-box; overflow: hidden; padding: 1.6mm 2.2mm; display: flex; flex-direction: column; gap: .6mm; }
.etq-nome { font-size: 7.5pt; font-weight: 700; line-height: 1.15; max-height: 2.35em; overflow: hidden; }
.etq-meio { display: flex; align-items: flex-end; justify-content: space-between; gap: 2mm; margin-top: auto; }
.etq-meio svg { height: 11mm; max-width: 40mm; }
.etq-preco { font-size: 14pt; font-weight: 800; white-space: nowrap; line-height: 1; }
.etq-cod { font-size: 6.5pt; }
.etq-termica { width: 40mm; height: 25mm; break-after: page; padding: 1.2mm 1.6mm; }
.etq-termica .etq-nome { font-size: 7pt; }
.etq-termica .etq-preco { font-size: 11pt; }
.etq-termica .etq-meio svg { height: 9mm; max-width: 24mm; }
.etq-t6040 { width: 60mm; height: 40mm; padding: 2mm 2.5mm; }
.etq-t6040 .etq-nome { font-size: 9pt; }
.etq-t6040 .etq-preco { font-size: 16pt; }
.etq-t6040 .etq-meio svg { height: 14mm; max-width: 34mm; }

/* ---------- Entrada por nota fiscal ---------- */
.dropzone {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; cursor: pointer;
  border: 1.5px dashed var(--menta-borda); border-radius: var(--raio-xl); padding: 34px 20px;
  background: radial-gradient(60% 90% at 50% 0%, rgba(0, 250, 154, .08), transparent 70%), rgba(255, 255, 255, .015);
  transition: border-color .2s, background .2s, transform .25s var(--ease), box-shadow .3s;
}
.dropzone:hover, .dropzone.arrastando, .dropzone.destaque {
  border-color: var(--menta); background: radial-gradient(60% 90% at 50% 0%, rgba(0, 250, 154, .16), transparent 70%), rgba(0, 250, 154, .04);
  box-shadow: 0 0 40px -12px rgba(0, 250, 154, .5);
}
.dropzone.arrastando { transform: scale(1.01); }
.dropzone strong { font-size: 16px; font-weight: 800; }
.dropzone .muted { font-size: 13.5px; max-width: 520px; }
.dz-icone {
  position: relative; width: 58px; height: 58px; border-radius: 50%; margin-bottom: 6px; display: grid; place-items: center;
  background: var(--menta-soft); color: var(--menta); border: 1px solid var(--menta-borda);
}
.dz-icone::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(0, 250, 154, .3); animation: pulsar 2.2s var(--ease) infinite; }
.dz-icone .ic { width: 26px; height: 26px; transition: transform .3s var(--ease-mola); }
.dropzone:hover .dz-icone .ic { transform: translateY(-3px); }
.passos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 14px 0 0; padding: 0; list-style: none; counter-reset: passo; }
.passos li {
  counter-increment: passo; position: relative; background: linear-gradient(180deg, #0a2124, #071a1d); border: 1px solid var(--borda);
  border-radius: 16px; padding: 13px 15px 13px 58px; font-size: 13.5px; color: var(--texto-2);
}
.passos li::before {
  content: '[0' counter(passo) ']'; position: absolute; left: 15px; top: 14px;
  font-family: var(--fonte-mono); font-size: 12px; font-weight: 600; color: var(--menta);
}
.passos b { color: var(--texto); }

.modal-nf .modal-body { gap: 14px; }
.nf-cab { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 20px; background: rgba(255, 255, 255, .025); border: 1px solid var(--borda); border-radius: 16px; padding: 13px 17px; }
.nf-cab-info { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.nf-cab-info small, .nf-chave small { display: block; font-size: 10.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1px; }
.nf-forn { display: flex; flex-direction: column; gap: 2px; }
.nf-forn .badge { align-self: flex-start; margin-top: 4px; }
.nf-chave { text-align: right; }
.nf-chave .mono { font-size: 11.5px; color: var(--texto-2); }
.nf-opcoes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.5fr); gap: 12px; align-items: end; }
.nf-check { align-self: center; }
.nf-checks { display: flex; flex-direction: column; gap: 9px; align-self: center; }
.nf-checks .check { font-size: 13.5px; }
.nf-tabela { border: 1px solid var(--borda); border-radius: 16px; }
.nf-tabela .tabela th { position: sticky; top: 0; background: var(--surface-2); z-index: 1; padding-top: 11px; }
.nf-tabela .tabela th:first-child, .nf-tabela .tabela td:first-child { padding-left: 14px; }
.nf-tabela .tabela th:last-child, .nf-tabela .tabela td:last-child { padding-right: 14px; }
.nf-tabela td { vertical-align: top; }
.nf-prod b { display: block; font-weight: 700; font-size: 13.5px; }
.nf-prod small, .nf-custo small, .nf-emb small, .nf-motivo { display: block; font-size: 11.5px; }
.nf-fator { display: flex; align-items: center; gap: 4px; color: var(--muted); }
.nf-fator .input { width: 58px; height: 32px; padding: 0 6px; text-align: right; }
.nf-acao { min-width: 250px; }
.nf-acao .input { height: 34px; font-size: 13px; }
.nf-motivo { display: flex; align-items: center; gap: 4px; margin-top: 4px; color: var(--menta-txt); }
.nf-motivo.novo { color: var(--bico-txt); }
.nf-motivo .ic { width: 13px; height: 13px; }
.nf-preco-input { width: 104px; height: 34px; text-align: right; font-weight: 800; margin-left: auto; }
.nf-grupo { display: flex; flex-direction: column; gap: 3px; margin-top: 4px; }
.nf-grupo .input { height: 30px; font-size: 12.5px; }
.nf-ignorado td { opacity: .4; }
.nf-ignorado td.nf-acao { opacity: 1; }
.riscado { text-decoration: line-through; }
.nf-resumo { font-size: 13.5px; color: var(--texto-2); }

/* ---------- Nota fiscal: totais, impostos e painel de cada item ---------- */
.nf-totais {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  background: #0a2124; border: 1px solid var(--borda); border-radius: 16px; overflow: hidden;
}
.nf-tot { padding: 9px 13px 10px; display: flex; flex-direction: column; gap: 3px; min-width: 0; box-shadow: 1px 0 0 var(--borda), 0 1px 0 var(--borda); }
.nf-tot small { font-size: 9.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nf-tot b { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.nf-tot-forte { background: linear-gradient(135deg, rgba(0, 250, 154, .16), rgba(0, 250, 154, .05)), #0a2124; }
.nf-tot-forte small { color: var(--menta-txt); }
.nf-tot-forte b { color: var(--menta); font-size: 16px; }
.nf-extras { display: flex; flex-direction: column; gap: 8px; }
.nf-extra { border: 1px solid var(--borda); border-radius: 14px; background: rgba(255, 255, 255, .02); transition: border-color .2s; }
.nf-extra[open] { border-color: var(--borda-forte); }
.nf-extra > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 9px; padding: 10px 14px; font-weight: 700; font-size: 13.5px; }
.nf-extra > summary::-webkit-details-marker { display: none; }
.nf-extra > summary .ic { width: 16px; height: 16px; color: var(--menta); }
.nf-extra > summary small { color: var(--muted); font-weight: 600; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nf-extra > summary::after { content: '+'; margin-left: auto; font-size: 18px; line-height: 1; color: var(--menta); }
.nf-extra[open] > summary::after { content: '−'; }
.nf-extra > :not(summary) { margin: 0 14px 12px; }
.nf-dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 9px 14px; }
.nf-dl dt { font-size: 9.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1px; }
.nf-dl dd { font-size: 13px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.nf-dd-largo { grid-column: span 2; }
.nf-dd-todo { grid-column: 1 / -1; }
.nf-dados { display: flex; flex-direction: column; gap: 11px; }
.nf-grupo-dados + .nf-grupo-dados { border-top: 1px dashed var(--borda-forte); padding-top: 11px; }
.nf-grupo-dados h5 { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; color: var(--texto); margin-bottom: 8px; }
.nf-grupo-dados h5::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: var(--menta); box-shadow: 0 0 8px var(--menta); }
.nf-inf, .nf-inf-item { font-size: 12.5px; line-height: 1.5; color: var(--texto-2); }
.nf-inf-item { display: flex; gap: 7px; align-items: flex-start; background: rgba(255, 255, 255, .03); border-radius: 10px; padding: 8px 10px; }
.nf-inf-item .ic { width: 15px; height: 15px; color: var(--menta); margin-top: 2px; }
.nf-dups { margin-top: 6px; }
.nf-pag { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.nf-itens-topo { display: flex; align-items: center; gap: 12px; }
.nf-itens-topo .secao-titulo { flex: 1; margin: 8px 0 0; }
.nf-n { width: 58px; }
.nf-toggle {
  display: inline-flex; align-items: center; gap: 3px; padding: 5px 7px 5px 3px; border-radius: 10px;
  color: var(--texto-2); font-weight: 800; font-size: 12.5px; font-variant-numeric: tabular-nums; transition: background .15s, color .15s;
}
.nf-toggle .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.nf-toggle:hover { background: var(--menta-soft); color: var(--menta-txt); }
.nf-toggle.aberto { color: var(--menta-txt); }
.nf-toggle.aberto .ic { transform: rotate(90deg); color: var(--menta); }
.nf-imp-resumo {
  display: flex; align-items: center; gap: 5px; margin-top: 4px; padding: 0; text-align: left;
  font-size: 11.5px; font-weight: 700; color: var(--menta-txt); opacity: .9;
}
.nf-imp-resumo .ic { width: 13px; height: 13px; flex-shrink: 0; }
.nf-imp-resumo:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.nf-item.nf-aberto > td { border-bottom-color: transparent; background: rgba(0, 250, 154, .03); }
.nf-tabela .tabela tr.nf-detalhe > td { padding: 2px 12px 16px; background: rgba(0, 250, 154, .03); border-bottom: 1px solid var(--borda-forte); vertical-align: top; }
.nf-det { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr); gap: 12px; align-items: start; animation: entrar .35s var(--ease); }
.nf-det-form { display: contents; }
.nf-det-fora, .nf-det-hist { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.nf-det-fora { grid-template-columns: minmax(0, 1fr); }
.nf-det .fp-bloco { background: rgba(4, 22, 25, .75); }
.nf-icms-info { display: flex; gap: 7px; align-items: flex-start; margin: -2px 0 2px; font-size: 12px; color: var(--bico-txt); }
.nf-icms-info .ic { width: 14px; height: 14px; flex-shrink: 0; margin-top: 1px; }
.nf-atual { display: flex; flex-wrap: wrap; gap: 8px 20px; border-top: 1px solid var(--borda); padding-top: 10px; }
.nf-atual small, .un-cab small { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.nf-atual b { font-size: 13.5px; font-variant-numeric: tabular-nums; }
.nf-fiscal-novo { display: flex; gap: 7px; align-items: flex-start; margin: 0; border-top: 1px solid var(--borda); padding-top: 10px; color: var(--texto-2); }
.nf-fiscal-novo .ic { width: 15px; height: 15px; color: var(--menta); margin-top: 1px; flex-shrink: 0; }

/* Formação de preço (cadastro e nota): partes do SoftShop sempre à vista */
.fp-linhas { display: flex; flex-direction: column; gap: 6px; }
.fp-sub-bloco {
  display: flex; align-items: baseline; gap: 8px; margin-top: 4px; padding-top: 12px; border-top: 1px dashed var(--borda-forte);
  font-size: 10.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--menta-txt);
}
.fp-sub-bloco small { font-size: 11px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted); }
.fp-calculos { border-top: 1px solid var(--borda); padding-top: 11px; gap: 10px; }
.fp-calculos .campo > label { font-size: 12px; }
.fp-origem { display: flex; align-items: center; gap: 7px; margin: -2px 0 2px; font-size: 12px; color: var(--muted); }
.fp-origem .ic { width: 14px; height: 14px; color: var(--menta); flex-shrink: 0; }
.fp-origem .link-btn { margin-left: auto; white-space: nowrap; }
.un-bloco { margin-top: 4px; }
.un-cab { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-bottom: 12px; border-bottom: 1px solid var(--borda); }
.un-cab b { font-size: 13.5px; }
.un-cab small.muted { font-size: 11.5px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.cf-ajuda { font-size: 12.5px; align-self: end; padding-bottom: 4px; }
.cf-pcts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 10px; }
.cf-pcts .campo-sufixo > .input { text-align: left; padding-left: 14px; }

/* ---------- Várias lojas ---------- */
.lojas-lista { display: flex; flex-direction: column; gap: 8px; }
.loja-opcao {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 16px; text-align: left;
  border: 1px solid var(--borda-forte); background: rgba(255, 255, 255, .03); transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.loja-opcao > .ic:first-child { width: 22px; height: 22px; color: var(--menta); }
.loja-opcao > .ic:last-child { margin-left: auto; color: var(--muted); transition: transform .25s var(--ease); }
.loja-opcao span { display: flex; flex-direction: column; min-width: 0; }
.loja-opcao b { font-size: 15px; }
.loja-opcao small { color: var(--muted); font-size: 12.5px; }
.loja-opcao:hover { border-color: var(--menta-borda); background: var(--menta-soft); transform: translateY(-1px); }
.loja-opcao:hover > .ic:last-child { transform: translateX(3px); color: var(--menta); }
.loja-opcao.on { border-color: var(--menta); background: var(--menta-soft); }
.cartao-lojas { max-width: 480px; }
.cartao-lojas h1 { font-size: 22px; line-height: 1.2; }
.sel-loja { width: auto; min-width: 200px; }
.selo-loja .ic { width: 13px; height: 13px; }
.rel-filtros { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rel-filtros .sel-loja { margin-left: auto; }
.est-total { display: block; margin-top: 3px; font-size: 11px; }
.est-lojas .tabela td, .est-lojas .tabela th { padding-top: 7px; padding-bottom: 7px; }
.est-lojas .est-atual td { background: rgba(0, 250, 154, .05); }
.est-lojas .est-total-linha td { border-top: 1px solid var(--borda-forte); color: var(--texto-2); font-weight: 700; }
.nf-loja { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding: 12px 16px; border-radius: 16px; background: var(--menta-soft); border: 1px solid rgba(0, 250, 154, .2); }
.nf-loja .campo { min-width: 280px; }
.nf-loja p { font-size: 13px; margin-bottom: 10px; }

/* Transferências */
.tr-rota { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.tr-loja { display: flex; flex-direction: column; gap: 4px; padding: 9px 16px; min-height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--borda); }
.tr-loja small { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tr-loja b { font-size: 15px; }
.tr-seta { color: var(--menta); padding-bottom: 10px; }
.tr-destino { min-width: 260px; }
.bl-tabela tr.tr-falta td { background: var(--perigo-soft); }

/* Página "Cadastros" */
.atalhos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.atalho-card {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 18px 18px 16px; border-radius: var(--raio-lg);
  background: linear-gradient(180deg, #0a2124, #071a1d); border: 1px solid var(--borda); text-decoration: none; color: var(--texto);
  transition: border-color .2s, transform .25s var(--ease), box-shadow .3s;
}
.atalho-card:hover { border-color: var(--menta-borda); transform: translateY(-2px); box-shadow: 0 16px 34px -18px rgba(0, 250, 154, .55); }
.atalho-icone { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; background: var(--menta-soft); color: var(--menta); border: 1px solid rgba(0, 250, 154, .2); }
.atalho-icone .ic { width: 22px; height: 22px; }
.atalho-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.atalho-txt b { font-size: 15.5px; }
.atalho-txt small { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.atalho-n { font-size: 22px; font-weight: 300; color: var(--texto-2); font-variant-numeric: tabular-nums; }
.atalho-card > .ic:last-child { position: absolute; top: 12px; right: 12px; width: 15px; height: 15px; color: var(--muted); transition: transform .3s var(--ease-mola), color .2s; }
.atalho-card:hover > .ic:last-child { transform: rotate(45deg); color: var(--menta); }

/* ---------- Telas menores ---------- */
@media (max-width: 1180px) {
  .pdv { grid-template-columns: minmax(0, 1fr) 360px; }
  .grid-2col-larga { grid-template-columns: minmax(0, 1fr); }
  .fp-colunas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fp-colunas > .fp-bloco:last-child { grid-column: 1 / -1; }
  .nf-opcoes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nf-check, .nf-checks { grid-column: 1 / -1; }
  .nf-det { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nf-det > .nf-det-nota { grid-column: 1 / -1; }
  .relogio i { display: none; }
}
@media (max-width: 1024px) {
  .loja-nome > span { display: none; }
  .loja-nome { padding-right: 10px; }
}
@media (max-width: 900px) {
  .app { grid-template-columns: minmax(0, 1fr); grid-template-areas: "topo" "aviso" "conteudo"; }
  .topo { padding: 0 12px; gap: 10px; }
  .lateral {
    position: fixed; top: var(--topo); left: 0; bottom: 0; width: 230px; z-index: 44; padding: 12px 0;
    transform: translateX(-100%); transition: transform .3s var(--ease); box-shadow: var(--sombra-lg);
    background: #041619;
  }
  .menu-aberto .lateral { transform: none; }
  /* escurece a tela atrás do menu; tocar fora fecha (app.js) */
  .app.menu-aberto::after { content: ''; position: fixed; inset: var(--topo) 0 0 0; z-index: 43; background: rgba(1, 9, 11, .6); animation: aparecer .25s ease; }
  .nav-item { flex-direction: row; justify-content: flex-start; gap: 13px; padding: 12px 16px; font-size: 14px; }
  .nav-item.ativo::before { left: -10px; }
  .so-mobile { display: grid; }
  .relogio { display: none; }
  .usuario > span:last-child { display: none; }
  .pdv { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
  .pdv-catalogo { padding: 12px 12px 0; }
  .pdv-venda { border-left: none; border-top: 1px solid var(--borda); max-height: 52vh; box-shadow: 0 -12px 30px rgba(0, 0, 0, .4); }
  .pdv-pessoas .pessoa { padding: 8px 12px; }
  .pdv-itens { max-height: 22vh; }
  .pdv-itens:has(.vazio-venda) { display: none; }
  .pdv-rodape { padding: 10px 12px 12px; gap: 8px; }
  .pdv-acoes .btn { height: 36px; }
  .btn-cobrar { height: 56px; }
  .grid-2col { grid-template-columns: minmax(0, 1fr); }
  .pagina { padding: 20px 16px 44px; }
  .pagina-topo h1 { font-size: 23px; }
  .tela-login { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 28px; padding: 32px 18px; }
  .login-hero { max-width: 420px; width: 100%; gap: 16px; }
  .login-lista { display: none; }
  .login-titulo { font-size: 28px; }
}
@media (max-width: 760px) {
  .fp-colunas, .passos, .nf-opcoes, .nf-cab, .nf-det, .nf-det-hist { grid-template-columns: minmax(0, 1fr); }
  .fp-colunas > .fp-bloco:last-child { grid-column: auto; }
  .fp-cabecalho { grid-template-columns: minmax(0, 1fr); }
  .c2, .c3, .c4, .c6, .c8 { grid-column: span 12; }
  .gp-regra { grid-template-columns: minmax(0, 1fr); }
  .fp-foto-aba, .bl-leitor { flex-direction: column; align-items: stretch; }
  .fp-foto-grande, .fp-foto-grande .foto-box { width: 100%; max-width: 260px; }
  .nf-chave { text-align: left; }
}
@media (max-width: 640px) {
  .grid2, .grid3, .imp-mapa, .form-produto, .det-cab { grid-template-columns: minmax(0, 1fr); }
  .span2 { grid-column: auto; }
  .pg-formas { grid-template-columns: repeat(2, 1fr); }
  .pill-caixa { padding: 0 11px; font-size: 10px; letter-spacing: .08em; }
  .logo-txt small { display: none; }
  .marca { font-size: 18px; }
  .btn-cobrar { height: 58px; font-size: 14px; }
  .modal-head { padding: 14px 14px 12px 18px; }
  .modal-body { padding: 16px 18px; }
  .modal-foot { padding: 12px 18px; }
}
@media (max-width: 420px) {
  .logo-txt { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Acesso: aguardando liberação, conta, PIN e autorização ---------- */
.passos-acesso { display: flex; flex-direction: column; gap: 10px; }
.passos-acesso > div { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--borda); font-size: 13.5px; color: var(--texto-2); }
.passos-acesso .ic { width: 18px; height: 18px; color: var(--menta); flex-shrink: 0; margin-top: 1px; }
.passos-acesso b { color: var(--texto); }
.conta-usuario { display: flex; align-items: center; gap: 14px; }
.conta-usuario > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.conta-usuario b { font-size: 16px; }
.avatar-grande { width: 48px; height: 48px; font-size: 15px; }
.conta-resumo { margin: 14px 0 0; font-size: 13.5px; }
.conta-acoes { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.conta-acoes .btn { justify-content: flex-start; }
.autoriza { display: flex; flex-direction: column; gap: 14px; }
.autoriza-icone { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--menta-soft); border: 1px solid var(--menta-borda); color: var(--menta); }
.autoriza-icone .ic { width: 24px; height: 24px; }
.autoriza p { font-size: 14px; color: var(--texto-2); }
.autoriza-dica { font-size: 12.5px !important; }
.input-pin { font-family: var(--fonte-mono); font-size: 20px; letter-spacing: .4em; text-align: center; }
.papeis-info { margin-top: 14px; padding: 11px 14px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--borda); font-size: 13px; color: var(--texto-2); }
.papeis-info b { color: var(--menta-txt); }
.pin-status { margin-top: 10px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; border: 1px dashed var(--borda-forte); font-size: 13px; color: var(--texto-2); }
.pin-status > .ic { width: 18px; height: 18px; color: var(--menta); flex-shrink: 0; }
.pin-status > span { flex: 1; }
.pin-status b { color: var(--texto); }
.pin-mini { display: inline-flex; vertical-align: middle; color: var(--menta); }
.pin-mini .ic { width: 14px; height: 14px; }
/* senhas e acesso: tela de entrar, conta, ficha do funcionário e senha provisória */
.login-links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: -4px; }
.login-links .link { margin-top: 0; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: 13px; font-weight: 700; color: var(--menta-txt); }
.login-links .link:hover { text-decoration: underline; text-underline-offset: 3px; }
.es-dica { font-size: 12.5px; }
.conta-assinatura { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; align-items: start; padding: 12px 14px;
  border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--borda); }
.conta-assinatura > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.conta-assinatura small { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.conta-assinatura b { font-size: 14px; }
.conta-assinatura .btn { grid-column: 1 / -1; justify-self: start; }
.acesso-func { margin-top: 10px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--menta-borda); background: var(--menta-soft); font-size: 13px; color: var(--texto-2); }
.acesso-func > .ic { width: 18px; height: 18px; color: var(--menta); flex-shrink: 0; }
.acesso-func > span { flex: 1; }
.acesso-func b { color: var(--texto); }
.acesso-func .btn { flex-shrink: 0; }
.senha-prov { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 6px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--borda); }
.senha-prov > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.senha-prov small { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.senha-prov b { font-size: 15px; overflow-wrap: anywhere; }
.senha-prov-valor { font-family: var(--fonte-mono); font-size: 22px !important; letter-spacing: .06em; color: var(--menta-txt); }
@media (max-width: 640px) {
  .acesso-func { flex-wrap: wrap; }
  .conta-assinatura { grid-template-columns: 1fr; }
}

/* ---------- Painel do Ducko ---------- */
.adm-abas { margin-bottom: 18px; }
.adm-lojas { display: inline-block; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.txt-aviso { color: var(--bico-txt); }
.adm-ficha { display: flex; flex-direction: column; gap: 14px; }
.adm-acesso { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--menta-borda); background: var(--menta-soft); }
.adm-acesso.off { border-color: var(--perigo-borda); background: var(--perigo-soft); }
.adm-acesso > .ic { width: 22px; height: 22px; color: var(--menta); flex-shrink: 0; }
.adm-acesso.off > .ic { color: var(--perigo); }
.adm-acesso > div { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 200px; }
.adm-sub { margin-top: 6px; font-size: 13px; font-weight: 800; letter-spacing: .02em; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.adm-sub small { font-weight: 600; font-size: 12px; }
.form .adm-sub:first-child { margin-top: 0; }
.adm-nota { font-size: 12.5px; }
.adm-loja-acoes { display: inline-flex; align-items: center; gap: 4px; }
.adm-ficha > .btn-mini { align-self: flex-start; }
.adm-grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.adm-grid3 .span-todo { grid-column: 1 / -1; }
.adm-check { margin-top: 16px; }
.adm-mes { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.adm-mes .input { width: auto; min-width: 190px; }
.adm-acoes-cob { white-space: nowrap; }
.adm-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--bico); color: #2a1600; font-size: 11px; font-weight: 800; }
.adm-planos { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.adm-plano { display: flex; flex-direction: column; gap: 14px; }
.adm-plano.inativo { opacity: .7; }
.adm-plano-cab { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.adm-plano-cab h3 { font-family: var(--fonte-marca); font-weight: 500; font-size: 19px; letter-spacing: -.02em; color: #fff; }
.adm-plano-selos { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.adm-plano .card-acoes { margin-top: 0; }
.adm-recursos { display: flex; flex-wrap: wrap; gap: 6px; }
.adm-recursos .badge .ic { width: 13px; height: 13px; }
.adm-recursos .adm-sem { opacity: .55; }
.adm-form-plano { display: flex; flex-direction: column; gap: 14px; }
.adm-form-plano .adm-sub { margin: 6px 0 -4px; }
.adm-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.adm-regras .form { display: flex; flex-direction: column; gap: 16px; }
.adm-regras .campo small { font-size: 12px; }
.adm-status { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; margin-bottom: 10px; border: 1px solid var(--menta-borda); background: var(--menta-soft); }
.adm-status > .ic { width: 20px; height: 20px; color: var(--menta); flex-shrink: 0; }
.adm-status > span { display: flex; flex-direction: column; gap: 3px; }
.adm-status small { color: var(--texto-2); font-size: 12.5px; }
.adm-status.falta { border-color: var(--bico-borda); background: var(--bico-soft); }
.adm-status.falta > .ic { color: var(--bico); }
@media (max-width: 760px) {
  .adm-grid3 { grid-template-columns: minmax(0, 1fr); }
  .usuario-txt { display: none; }
  .usuario { padding-right: 3px; }
}

/* ---------- Tela de venda: tabela de preço, limite de desconto e ficha rápida (F3) ---------- */
.pessoa-tabela.definido > .ic { color: var(--bico); }
.pessoa-tabela.definido b { color: var(--bico-txt); }
.vitem-tab {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 6px;
  background: var(--bico-soft); border: 1px solid rgba(255, 181, 71, .3); color: var(--bico-txt); font-size: 11px; font-weight: 800;
}
.vitem-base { font-size: 12px; color: var(--muted); }
.vitem-info { width: 26px; height: 26px; margin-left: auto; color: var(--muted); }
.vitem-info .ic { width: 15px; height: 15px; }
.vitem-info:hover { color: var(--menta-txt); background: var(--menta-soft); }
.pdv-totais .tl-limite { color: var(--muted); font-size: 12.5px; }
.pdv-totais .tl-alerta { color: var(--bico-txt); font-size: 12.5px; font-weight: 700; align-items: center; }
.pdv-totais .tl-alerta .ic { width: 15px; height: 15px; vertical-align: -3px; margin-right: 4px; }
.pdv-totais .tl small { font-weight: 600; color: var(--muted); }
.pcard-ficha {
  position: absolute; bottom: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(2, 17, 20, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); color: var(--texto-2);
  border: 1px solid rgba(255, 255, 255, .12); opacity: 0; transition: opacity .15s, color .15s, border-color .15s;
}
.pcard:hover .pcard-ficha, .pcard:focus-visible .pcard-ficha { opacity: 1; }
.pcard-ficha:hover { color: var(--menta); border-color: var(--menta-borda); }
.pcard-ficha .ic, .plinha-ficha .ic { width: 15px; height: 15px; }
.plinha-ficha { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.plinha-ficha:hover { color: var(--menta-txt); background: var(--menta-soft); }
@media (hover: none) { .pcard-ficha { opacity: 1; } }
.ei-desc { color: var(--bico-txt); font-size: 13px; }
.sucesso-aut { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; color: var(--bico-txt); }
.sucesso-aut .ic { width: 15px; height: 15px; }
.fr-cab { display: flex; align-items: center; gap: 14px; }
.fr-cab h3 { font-size: 18px; font-weight: 800; line-height: 1.25; }
.fr-foto {
  width: 72px; height: 72px; border-radius: 16px; flex-shrink: 0; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(90% 90% at 30% 20%, #154a50, #0a2226); font-weight: 800; color: var(--menta-txt); border: 1px solid var(--borda);
}
.fr-foto img { width: 100%; height: 100%; object-fit: cover; }
.fr-estoques { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin-top: 16px; }
.fr-est { padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--borda); display: flex; flex-direction: column; gap: 2px; }
.fr-est.aqui { border-color: var(--menta-borda); background: var(--menta-soft); }
.fr-est small { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fr-est b { font-size: 18px; font-variant-numeric: tabular-nums; }
.fr-est em { font-style: normal; font-size: 12px; color: var(--muted); font-weight: 600; }
.fr-precos { margin-top: 16px; }
.fr-precos .fr-c { display: none; }
.fr-precos.com-custo .fr-c { display: table-cell; }
.fr-precos th.fr-c { line-height: 1.2; }
.fr-precos .fr-sem td { color: var(--muted); }
.fr-custo { margin-top: 14px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fr-custo:empty { display: none; }
.fr-custo-linha { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.fr-custo-linha > div { padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--borda); display: flex; flex-direction: column; gap: 3px; }
.fr-custo-linha small { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fr-custo-linha b { font-size: 15px; font-variant-numeric: tabular-nums; }
.fr-custo-linha .fr-pe { border-color: rgba(255, 181, 71, .3); background: var(--bico-soft); }
.fr-custo-linha .fr-pe b { color: var(--bico-txt); }
@media (max-width: 760px) {
  .fr-custo-linha { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pdv-pessoas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.cf-check { margin-top: 14px; }
.det-cab .det-sub { display: block; font-size: 12px; margin-top: 2px; font-weight: 600; letter-spacing: 0; text-transform: none; }

/* ---------- Comissões ---------- */
.rel-filtros .sel-vendedor { width: auto; min-width: 190px; }
.rel-filtros > select:first-of-type { margin-left: auto; }
.conta .conta-total .txt-perigo { color: var(--perigo-txt); }
@media (max-width: 760px) {
  .rel-filtros > select, .rel-filtros > select:first-of-type { flex: 1 1 160px; min-width: 0; margin-left: 0; }
}
/* saldo negativo do vendedor (estornos maiores que a comissão do período) */
.stat-negativo { border-color: var(--perigo-borda); background: radial-gradient(130% 150% at 0% 0%, rgba(255, 92, 108, .14), transparent 60%), linear-gradient(180deg, #0a2124, #071a1d); }
.stat-negativo .stat-rotulo, .stat-negativo .stat-valor { color: var(--perigo-txt); }
.stat-negativo .stat-valor { font-size: 34px; }
.barra-cel { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.barra-mini { flex: 1; max-width: 120px; min-width: 40px; height: 6px; border-radius: 3px; background: var(--linha); overflow: hidden; }
.barra-mini span { display: block; height: 100%; border-radius: 3px; background: var(--serie); }
.tabela-vendedores td { vertical-align: middle; }

/* Extrato de comissões (folha A4, preto no branco; uma folha por vendedor) */
.extrato { color: #000; font-family: Arial, Helvetica, sans-serif; font-size: 10.5pt; line-height: 1.4; break-after: page; }
.extrato:last-child { break-after: auto; }
.ex-cab { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-bottom: 8px; border-bottom: 2px solid #000; }
.ex-cab b { display: block; font-size: 14pt; }
.ex-cab small { font-size: 9pt; color: #333; }
.ex-tit { font-size: 11pt; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.ex-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 14px 0; }
.ex-info small { display: block; font-size: 7.5pt; text-transform: uppercase; letter-spacing: .08em; color: #555; }
.ex-info b { font-size: 10.5pt; }
.ex-tab { width: 100%; border-collapse: collapse; font-size: 9.5pt; }
.ex-tab th { text-align: left; font-size: 7.5pt; text-transform: uppercase; letter-spacing: .06em; border-bottom: 1px solid #000; padding: 5px 6px; }
.ex-tab td { padding: 4px 6px; border-bottom: 1px solid #ccc; }
.ex-tab .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ex-tab tr { break-inside: avoid; }
.ex-estorno td { font-style: italic; }
.ex-tot { width: 55%; margin: 12px 0 0 auto; }
.ex-tot > div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px dashed #999; }
.ex-tot b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ex-tot .ex-liq { border-bottom: 2px solid #000; font-size: 12.5pt; font-weight: 700; }
.ex-ass { margin-top: 40px; break-inside: avoid; }
.ex-ass p { margin-bottom: 52px; }
.ex-linha { width: 60%; border-top: 1px solid #000; margin-bottom: 4px; }
.ex-ass span { font-size: 10pt; }
.ex-rod { margin-top: 28px; font-size: 7.5pt; color: #555; }

/* ---------- Contas a pagar ---------- */
/* sininho no topo: número de contas vencidas e que vencem hoje */
.sino { position: relative; }
.sino .ic { width: 20px; height: 20px; }
.sino-n {
  position: absolute; top: 1px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  display: grid; place-items: center; font-size: 10.5px; font-weight: 800; line-height: 1;
  background: var(--bico); color: #231300; box-shadow: 0 0 0 2px var(--bg);
}
.sino.alerta { color: var(--perigo-txt); }
.sino.alerta .sino-n { background: var(--perigo); color: var(--no-perigo); }
.sino.aviso::after { content: ''; position: absolute; top: 6px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--bico); box-shadow: 0 0 0 2px var(--bg); }

/* número de destaque em âmbar (vence hoje) */
.stat-alerta { border-color: var(--bico-borda); background: radial-gradient(130% 150% at 0% 0%, rgba(255, 181, 71, .12), transparent 60%), linear-gradient(180deg, #0a2124, #071a1d); }
.stat-alerta .stat-rotulo, .stat-alerta .stat-valor { color: var(--bico-txt); }

.input-mini { height: 34px; padding: 0 10px; font-size: 13.5px; border-radius: 10px; }
.input-mini.num { text-align: right; }
.tabela td .input-mini { min-width: 0; }

.ct-abas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 14px; }
/* números do topo que filtram a lista (Vencidas, Vencem hoje, Próximos 7 dias) */
button.stat-filtro { text-align: left; font: inherit; color: inherit; cursor: pointer; }
.stat-filtro:focus-visible { outline: 2px solid var(--menta); outline-offset: 2px; }
.stat-filtro.on { border-color: var(--menta); box-shadow: 0 0 0 1px var(--menta), 0 0 24px -8px rgba(0, 250, 154, .55); }
.stat-filtro.on.stat-negativo { border-color: var(--perigo); box-shadow: 0 0 0 1px var(--perigo); }
.stat-filtro.on.stat-alerta { border-color: var(--bico); box-shadow: 0 0 0 1px var(--bico); }
.ct-tabela .ct-vencida td:first-child { color: var(--perigo-txt); font-weight: 700; }
.ct-tabela .ct-hoje td:first-child { color: var(--bico-txt); font-weight: 700; }
.ct-topo { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.ct-lanc { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.ct-vezes { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--texto-2); }
.ct-vezes .input { width: 76px; text-align: center; }
.ct-previa { max-height: 280px; overflow-y: auto; border: 1px solid var(--borda); border-radius: 14px; }
.ct-previa .tabela th { position: sticky; top: 0; background: var(--surface-2); z-index: 1; }
.ct-previa .tabela td { padding-top: 6px; padding-bottom: 6px; }
.ct-previa .tabela th:first-child, .ct-previa .tabela td:first-child { padding-left: 14px; }
.ct-previa .tabela th:last-child, .ct-previa .tabela td:last-child { padding-right: 14px; }
.ct-previa-nota { font-size: 12.5px; margin-top: 8px; }
.ct-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
.ct-dl div { min-width: 0; }
.ct-dl dt { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.ct-dl dd { font-size: 14px; overflow-wrap: anywhere; }
.ct-nota { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; font-size: 13px; }
.ct-nota .ic { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--menta); }

/* pagar */
.pg-conta { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 14px 16px; margin-bottom: 16px;
  border: 1px solid var(--borda); border-radius: 16px; background: rgba(255, 255, 255, .03); }
.pg-conta small { display: block; margin-top: 3px; }
.pg-valor { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.pg-valor b { font-size: 18px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pg-dica { font-size: 13px; color: var(--texto-2); background: var(--menta-soft); border: 1px solid rgba(0, 250, 154, .18); border-radius: 12px; padding: 9px 12px; }
.pg-dica .ic { width: 15px; height: 15px; vertical-align: -3px; color: var(--menta); }

/* avisos de vencimento (sininho e Início) */
.av-lista { display: flex; flex-direction: column; gap: 14px; }
.av-grupo h4 { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
.av-grupo h4 span { letter-spacing: 0; text-transform: none; font-weight: 700; font-size: 12.5px; color: var(--texto-2); }
.av-vencidas h4 { color: var(--perigo-txt); }
.av-hoje h4 { color: var(--bico-txt); }
.av-semana h4 { color: var(--muted); }
.av-item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--linha); }
.av-item:last-child { border-bottom: none; }
.av-item small { display: block; margin-top: 2px; }
.av-valor { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ct-inicio .card-titulo .link { margin: 0 0 0 auto; font-size: 12.5px; }
.ct-resumo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.ct-res { padding: 11px 14px; border-radius: 14px; border: 1px solid var(--borda); background: rgba(255, 255, 255, .03); display: flex; flex-direction: column; gap: 2px; }
.ct-res small { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ct-res b { font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ct-res span { font-size: 12px; color: var(--muted); }
.ct-res.vencidas { border-color: var(--perigo-borda); background: var(--perigo-soft); }
.ct-res.vencidas small, .ct-res.vencidas b { color: var(--perigo-txt); }
.ct-res.hoje { border-color: var(--bico-borda); background: var(--bico-soft); }
.ct-res.hoje small, .ct-res.hoje b { color: var(--bico-txt); }

/* sangria que paga uma conta */
.sg-modo { display: flex; margin-bottom: 16px; }
.sg-modo button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.sg-modo .ic { width: 15px; height: 15px; }
.sg-nota { font-size: 13px; margin-bottom: 10px; }
.sg-contas { display: flex; flex-direction: column; gap: 6px; max-height: 280px; overflow-y: auto; margin-bottom: 14px; padding-right: 2px; }
.sg-conta { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px;
  border: 1px solid var(--borda); background: rgba(255, 255, 255, .025); cursor: pointer; transition: border-color .2s, background .2s; }
.sg-conta:hover { border-color: var(--borda-hover); }
.sg-conta:has(input:checked) { border-color: var(--menta-borda); background: var(--menta-soft); }
.sg-conta input { width: 17px; height: 17px; accent-color: var(--menta); }
.sg-txt small { display: block; margin-top: 2px; }
.sg-txt .ic { width: 15px; height: 15px; vertical-align: -2px; }
.sg-fim { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.sg-fim b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sg-nova { grid-template-columns: 20px minmax(0, 1fr); }
.sg-nova-campos { margin-bottom: 14px; }

/* parcelas da nota fiscal */
.nf-contas { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--borda); border-radius: 16px; background: rgba(255, 255, 255, .02); }
.nf-contas [data-parcelas] { margin-top: 12px; }
.nf-parcelas td { padding-top: 6px; padding-bottom: 6px; }
.nf-parcelas td:nth-child(2) .input { max-width: 150px; }
.nf-parcelas td:nth-child(3) .input { max-width: 170px; }
.nf-parcelas td:nth-child(4) .input { max-width: 130px; margin-left: auto; }
.nf-parc-nota { font-size: 12.5px; margin-top: 8px; }

/* resultado do período (Relatórios) */
.rs-tabela td:first-child { white-space: nowrap; }
.rs-tabela .rs-desp td:first-child { padding-left: 26px; color: var(--texto-2); }
.rs-tabela .rs-sub td { border-top: 1px solid var(--borda-forte); font-weight: 700; }
.rs-tabela .rs-total td { border-top: 1px solid var(--borda-forte); border-bottom: none; font-weight: 800; font-size: 15px; }
.rs-tabela .rs-total td.num:not(.txt-perigo) { color: var(--menta-txt); }
.rs-nota { font-size: 12.5px; margin-top: 10px; }

/* comissões → contas a pagar */
.lc-tabela { margin-top: 6px; }
.lc-tabela .lc-check { width: 36px; }
.lc-tabela input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--menta); }
.lc-tabela .input-mini { max-width: 130px; margin-left: auto; }

@media (max-width: 760px) {
  .ct-resumo { grid-template-columns: minmax(0, 1fr); }
  .ct-dl { grid-template-columns: minmax(0, 1fr); }
  .av-item { grid-template-columns: minmax(0, 1fr) auto; }
  .av-item .btn { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- Orçamentos ---------- */
/* faixa do orçamento aberto na venda e aviso do modo orçamento (caixa fechado) */
.pdv-orc, .pdv-aviso { display: flex; align-items: center; gap: 10px; margin: 0 14px 4px; padding: 9px 12px; border-radius: 14px; font-size: 13px; }
.pdv-orc { background: var(--menta-soft); border: 1px solid var(--menta-borda); color: var(--texto); }
.pdv-orc > .ic { width: 18px; height: 18px; color: var(--menta); flex-shrink: 0; }
.pdv-orc > span { flex: 1; min-width: 0; }
.pdv-orc small { display: block; color: var(--texto-2); font-size: 11.5px; margin-top: 1px; }
.pdv-orc .icon-btn { width: 28px; height: 28px; flex-shrink: 0; }
.pdv-aviso { background: var(--bico-soft); border: 1px solid var(--bico-borda); color: var(--bico-txt); }
.pdv-aviso > .ic { width: 17px; height: 17px; flex-shrink: 0; }
.pdv-aviso > span { flex: 1; }
.pdv-aviso .link-btn { color: var(--bico-txt); white-space: nowrap; }
.btn-cobrar.btn-orcamento { background: linear-gradient(135deg, #ffd08a, var(--bico) 50%, #f29f2a); color: #2a1700; }
.btn-cobrar.btn-orcamento kbd { background: rgba(42, 23, 0, .14); }
.pdv-abrir-orc { height: 38px; }

/* janela do orçamento */
.orc-topo { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; font-size: 13px; }
.orc-itens td { vertical-align: middle; }
.orc-itens .orc-foto-th { width: 56px; }
.orc-foto { width: 46px; height: 46px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; flex-shrink: 0;
  background: radial-gradient(90% 90% at 30% 20%, #154a50, #0a2226); color: var(--menta-txt); font-weight: 800; font-size: 13px; border: 1px solid var(--borda); }
.orc-foto img { width: 100%; height: 100%; object-fit: cover; }
.orc-obs-txt { margin-top: 12px; font-size: 13.5px; white-space: pre-line; }
.modal-orc .modal-foot { flex-wrap: wrap; }

/* folha A4 do orçamento (preto no branco, com as fotos) */
.orc-a4 { color: #111; font-family: Arial, Helvetica, sans-serif; font-size: 10.5pt; line-height: 1.4; }
.oa-cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-bottom: 10px; border-bottom: 2px solid #111; }
.oa-loja b { display: block; font-size: 15pt; margin-bottom: 2px; }
.oa-loja span, .oa-num span { display: block; font-size: 9pt; color: #444; }
.oa-num { text-align: right; }
.oa-num small { display: block; font-size: 8pt; letter-spacing: .14em; text-transform: uppercase; color: #555; }
.oa-num > b { display: block; font-size: 16pt; }
.oa-partes { display: flex; gap: 28px; flex-wrap: wrap; margin: 12px 0 14px; }
.oa-partes small { display: block; font-size: 7.5pt; letter-spacing: .1em; text-transform: uppercase; color: #666; }
.oa-partes b { display: block; font-size: 11pt; }
.oa-partes span { font-size: 9pt; color: #444; }
.oa-itens { width: 100%; border-collapse: collapse; }
.oa-itens th { text-align: left; font-size: 7.5pt; letter-spacing: .08em; text-transform: uppercase; color: #444; border-bottom: 1px solid #111; padding: 5px 6px; }
.oa-itens td { padding: 6px; border-bottom: 1px solid #d5d5d5; vertical-align: middle; }
.oa-itens td small { display: block; font-size: 8pt; color: #666; }
.oa-itens .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.oa-itens tr { break-inside: avoid; }
.oa-itens th.oa-foto { width: 20mm; }
.oa-itens td.oa-foto { width: 20mm; }
.oa-foto img, .oa-foto span { display: grid; place-items: center; width: 17mm; height: 17mm; border-radius: 2mm; object-fit: cover; border: 1px solid #ddd; }
.oa-foto span { background: #f1f1f1; color: #777; font-weight: 700; font-size: 10pt; }
.oa-fim { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-top: 12px; break-inside: avoid; }
.oa-obs { flex: 1; }
.oa-obs small { display: block; font-size: 7.5pt; letter-spacing: .1em; text-transform: uppercase; color: #666; }
.oa-obs p { font-size: 10pt; white-space: pre-line; }
.oa-totais { width: 44%; }
.oa-totais > div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px dashed #999; }
.oa-totais b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.oa-totais .oa-total { border-bottom: 2px solid #111; font-size: 14pt; font-weight: 700; }
.oa-rod { margin-top: 22px; font-size: 8pt; color: #555; }

/* ---------- Cadastros e produtos (fase 7) ---------- */
.card-titulo .card-acao { margin-left: auto; align-self: center; }
.filtros-2 { margin-top: -6px; }
.filtros-2 > select.input { flex: 1 1 180px; width: auto; }

/* ---------- Painel do Ducko (página separada: painel/index.html) ---------- */
.app-painel { grid-template-columns: minmax(0, 1fr); grid-template-areas: "topo" "aviso" "conteudo"; }
.usuario-painel { cursor: default; }
.tela-codigo {
  background:
    radial-gradient(560px 400px at 50% 18%, rgba(0, 250, 154, .1), transparent 62%),
    radial-gradient(520px 420px at 92% 92%, rgba(0, 190, 200, .07), transparent 60%);
}
.cartao-codigo { max-width: 460px; }
.mfa-passos { display: flex; flex-direction: column; gap: 8px; padding-left: 20px; font-size: 13.5px; color: var(--texto-2); }
.mfa-passos li::marker { color: var(--menta); font-weight: 800; }
.mfa-passos b { color: var(--texto); }
.mfa-qr {
  width: 200px; height: 200px; margin: 2px auto; padding: 10px; border-radius: 18px; background: #fff;
  box-shadow: 0 0 0 1px var(--menta-borda), 0 14px 40px -12px rgba(0, 250, 154, .45);
}
.mfa-qr img { display: block; width: 100%; height: 100%; }
.mfa-chave summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--menta-txt); }
.mfa-chave p { margin-top: 8px; font-size: 13px; }
.mfa-chave code { display: block; margin-top: 6px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid var(--borda); color: var(--texto); word-break: break-all; }
.input-codigo { height: 58px; text-align: center; font: 700 26px/1 var(--fonte-mono); letter-spacing: .5em; padding-left: .5em; }
.input-codigo::placeholder { color: rgba(255, 255, 255, .14); }
.mfa-ajuda { font-size: 12.5px; }
.mfa-ajuda code { font-size: 11.5px; color: var(--texto-2); }
@media (max-width: 640px) {
  .usuario-painel .usuario-txt { display: none; }
}
/* Painel no celular: indicadores em duas colunas e as tabelas viram cartões */
@media (max-width: 640px) {
  .pg-painel .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pg-painel .stats > .stat-destaque { grid-column: 1 / -1; }
  .pg-painel .stat { padding: 14px 15px 13px; }
  .pg-painel .stat-rotulo { font-size: 9.5px; letter-spacing: .12em; }
  .pg-painel .stat-valor { font-size: 23px; }
  .pg-painel .stat-destaque .stat-valor { font-size: 30px; }
  .pg-painel .adm-cartoes, .pg-painel .adm-cartoes tbody { display: block; }
  .pg-painel .adm-cartoes thead { display: none; }
  .pg-painel .adm-cartoes tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; padding: 13px 14px; border-bottom: 1px solid var(--linha); }
  .pg-painel .adm-cartoes tbody tr:last-child { border-bottom: none; }
  .pg-painel .adm-cartoes td { display: block; padding: 0; border: 0; min-width: 0; }
  .pg-painel .adm-cartoes td:empty { display: none; }
  /* clientes: cliente | mensalidade · situação | uso · dono (a quantidade de lojas fica na ficha) */
  .pg-painel .adm-clientes td:nth-child(1) { grid-area: 1 / 1; }
  .pg-painel .adm-clientes td:nth-child(4) { grid-area: 1 / 2; text-align: right; }
  .pg-painel .adm-clientes td:nth-child(5) { grid-area: 2 / 1; }
  .pg-painel .adm-clientes td:nth-child(6) { grid-area: 2 / 2; text-align: right; }
  .pg-painel .adm-clientes td:nth-child(3) { grid-area: 3 / 1 / 4 / 3; font-size: 12.5px; color: var(--texto-2); }
  .pg-painel .adm-clientes td:nth-child(2) { display: none; }
  /* cobranças: cliente | valor · referência | vencimento · situação · ações */
  .pg-painel .adm-cobrancas td:nth-child(1) { grid-area: 1 / 1; }
  .pg-painel .adm-cobrancas td:nth-child(4) { grid-area: 1 / 2; text-align: right; }
  .pg-painel .adm-cobrancas td:nth-child(2) { grid-area: 2 / 1; font-size: 13px; }
  .pg-painel .adm-cobrancas td:nth-child(3) { grid-area: 2 / 2; text-align: right; font-size: 13px; color: var(--texto-2); }
  .pg-painel .adm-cobrancas td:nth-child(5) { grid-area: 3 / 1 / 4 / 3; }
  .pg-painel .adm-cobrancas td:nth-child(6) { grid-area: 4 / 1 / 5 / 3; width: auto; display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
  .pg-painel .adm-cartoes .td-acoes { width: auto; }
  .pg-painel .adm-cartoes .td-acoes .btn { flex-shrink: 0; }
  /* ficha do cliente: referência | valor · vencimento | situação · receber */
  .pg-painel .adm-site td:nth-child(1) { grid-area: 1 / 1; }
  .pg-painel .adm-site td:nth-child(4) { grid-area: 1 / 2; text-align: right; }
  .pg-painel .adm-site td:nth-child(2) { grid-area: 2 / 1 / 3 / 3; font-size: 13px; }
  .pg-painel .adm-site td:nth-child(3) { grid-area: 3 / 1 / 4 / 3; font-size: 13px; color: var(--texto-2); }
  .pg-painel .adm-site td:nth-child(5) { grid-area: 4 / 1 / 5 / 3; display: flex; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
  .pg-painel .adm-checks { grid-template-columns: minmax(0, 1fr); }
  .pg-painel .adm-planos { grid-template-columns: minmax(0, 1fr); }
  .pg-painel .adm-hist tbody tr { padding: 11px 0; }
  .pg-painel .adm-hist td:nth-child(1) { grid-area: 1 / 1; }
  .pg-painel .adm-hist td:nth-child(3) { grid-area: 1 / 2; text-align: right; }
  .pg-painel .adm-hist td:nth-child(2) { grid-area: 2 / 1; font-size: 13px; color: var(--texto-2); }
  .pg-painel .adm-hist td:nth-child(4) { grid-area: 2 / 2; text-align: right; }
  .pg-painel .adm-hist td:nth-child(5) { grid-area: 3 / 1 / 4 / 3; }
  .pg-painel .det-cab { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-painel .det-cab b { overflow-wrap: anywhere; }
  .pg-painel .lista-simples .ls-item { flex-wrap: wrap; }
  .pg-painel .adm-mes .input { min-width: 0; flex: 1 1 100%; }
  .pg-painel .filtros { flex-wrap: wrap; }
  .pg-painel .filtros .input-icone { flex: 1 1 100%; }
  .pg-painel .filtros select.input { flex: 1 1 100%; width: 100%; }
}

.banco-intro { max-width: 760px; margin: 0 0 14px; }
.banco-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.banco-tit { margin: 0 0 10px; font-size: 15px; }
.banco-lista { display: flex; flex-direction: column; }
.banco-item { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--borda); }
.banco-item:last-child { border-bottom: 0; }
.banco-item small { display: block; color: var(--texto-2); margin-top: 3px; }
.banco-lado { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.banco-sai { color: var(--bico-txt); }
.banco-acoes { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.banco-sug { color: var(--menta-txt) !important; }
.banco-marca { display: flex; flex-direction: column; gap: 4px; max-height: 280px; overflow: auto; margin: 8px 0; }
.banco-check { display: flex; gap: 8px; align-items: flex-start; padding: 6px 0; cursor: pointer; }
.banco-check small { display: block; color: var(--texto-2); }
@media (max-width: 900px) {
  .banco-cols { grid-template-columns: minmax(0, 1fr); }
}
