/* Painel de estoque, aba "Por SKU" — EM DESENVOLVIMENTO, desligada (RADAR_PAINEL_SKU). Visual provisório: reaproveita
   os blocos e etiquetas da aba Piloto (painel-estoque.css); a escolha A/B do dono está pendente. Nenhuma cor nova:
   entrada usa o azul de "informação" e saída o tijolo da trilha. */
#v-estoque .pn-sku-dev { font-weight: 600; }
#v-estoque .pn-sku-lista { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--ink); }
#v-estoque .pn-sku-lista li { overflow-wrap: anywhere; }
#v-estoque .pn-sku-linha { cursor: pointer; }
#v-estoque .pn-sku-linha:focus { outline: 2px solid var(--accent); outline-offset: -2px; }
#v-estoque td.pn-sku-sai, #v-estoque td.pn-sku-ent { white-space: normal; }
#v-estoque td.num.pn-sku-sai { color: var(--t-mau); }
#v-estoque .pn-tw th.num, #v-estoque .pn-tw td.num { text-align: right; font-variant-numeric: tabular-nums; }
#v-estoque .pn-sku-sinais { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
#v-estoque .pn-sku-sinal { display: flex; flex-direction: column; gap: 8px; min-width: 0; border-top: 3px solid var(--line); padding-top: 10px; }
#v-estoque .pn-sku-sinal.rec { border-top-color: var(--t-rev); }
#v-estoque .pn-sku-sinal.cont { border-top-color: var(--accent); }
#v-estoque .pn-sku-sinal.perda { border-top-color: var(--t-mau); }
#v-estoque .pn-sku-sinal .pn-tw table { min-width: 0; }
#v-estoque .pn-sku-prod h2 { justify-content: flex-start; }
#v-estoque .pn-sku-prod h2 small { flex: 1 1 260px; }
#v-estoque .pn-sku-prod h2 b + small { flex: 0 1 auto; font-size: 14px; color: var(--ink); }
#v-estoque .pn-sku-doc { display: flex; flex-direction: column; gap: 8px; background: #f6f8f7; border-radius: 10px; padding: 12px; min-width: 0; }
#v-estoque button.link { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: var(--accent);
  text-decoration: underline; cursor: pointer; }
#v-estoque .pn-abas button small { font-size: 11px; font-weight: 600; color: var(--t-rev); margin-left: 4px; }

/* qualidade das contagens: quatro etapas lado a lado, sem somar uma na outra */
#v-estoque .pn-q-etapas { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-bottom: 12px; }
#v-estoque .pn-q-etapas .pn-kv { border-left: 4px solid var(--linha-2); }
#v-estoque .pn-q-etapas .pn-q-recebida { border-left-color: var(--t-off); }
#v-estoque .pn-q-etapas .pn-q-conferida, #v-estoque .pn-q-etapas .pn-q-conciliada { border-left-color: var(--t-ok); }
#v-estoque .pn-q-etapas .pn-q-inconclusiva { border-left-color: var(--t-rev); }
#v-estoque .pn-q-vale { min-width: 190px; }
#v-estoque .pn-q-vale .pn-tag, #v-estoque .pn-q-nao { display: inline-block; margin: 0 4px 3px 0; }
#v-estoque .pn-q-nao { font-size: 12px; color: var(--muted); text-decoration: line-through; }

/* linha do tempo do produto (18-10-2026): ERP à esquerda, confirmação física à direita; reserva tracejada */
#v-estoque .pn-lt-ok { border-color: var(--t-ok); background: var(--t-ok-bg); color: var(--t-ok); }
#v-estoque .pn-lt-resumo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
#v-estoque .pn-lt-resumo > div { min-width: 0; }
#v-estoque .pn-lt-resumo h3 { margin: 0 0 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
#v-estoque .pn-lt-filtros button[aria-pressed="false"] { opacity: .55; text-decoration: line-through; }
#v-estoque .pn-lt-cab, #v-estoque .pn-lt-dia { display: grid; grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
#v-estoque .pn-lt-cab { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
#v-estoque .pn-lt-dia { border-top: 1px solid var(--line); padding-top: 10px; align-items: start; }
#v-estoque .pn-lt-data { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 6px; }
#v-estoque .pn-lt-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
#v-estoque .pn-lt-ev { border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; display: flex; flex-direction: column; gap: 5px; min-width: 0; background: #fff; }
#v-estoque .pn-lt-ev-fis { border-color: #d9d3ee; background: #faf9fd; }
#v-estoque .pn-lt-ev-res { border-style: dashed; }
#v-estoque .pn-lt-topo { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
#v-estoque .pn-lt-qtd { font-weight: 600; font-variant-numeric: tabular-nums; }
#v-estoque .pn-lt-linha, #v-estoque .pn-lt-fluxo { font-size: 13px; overflow-wrap: anywhere; }
#v-estoque .pn-lt-datas { font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 3px 12px; }
#v-estoque .pn-lt-neg { color: var(--t-mau); font-weight: 600; }
#v-estoque .pn-lt-res { background: transparent; border: 1px dashed var(--accent); color: var(--accent); }
#v-estoque .pn-lt-ped { background: transparent; border: 1px dashed var(--linha-2); color: var(--muted); }
#v-estoque .pn-lt-fis { background: #ece8f7; color: #4b3f8f; }
#v-estoque .pn-lt .pn-aviso { font-size: 12.5px; padding: 6px 10px; }
@media (max-width: 760px) {
  #v-estoque .pn-lt-cab { display: none; }
  #v-estoque .pn-lt-dia { grid-template-columns: minmax(0, 1fr); }
  #v-estoque .pn-lt-col:empty { display: none; }
}

/* Opção B (dono, 18-10-2026): alertas por produto à esquerda, produto à direita; o ranking completo continua embaixo. */
#v-estoque .pn-sku-b { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 14px; align-items: start; }
@media (max-width: 860px) { #v-estoque .pn-sku-b { grid-template-columns: minmax(0, 1fr); } }
#v-estoque .pn-sku-al { position: sticky; top: env(safe-area-inset-top, 0px); max-height: 92vh; overflow: auto; min-width: 0; margin: 0; }
#v-estoque .pn-sku-al h2 { margin-top: 0; }
#v-estoque .pn-sku-al-lista { display: grid; gap: 4px; }
#v-estoque .pn-sku-al-item { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 1px; border: 1px solid var(--line);
  border-radius: 8px; padding: 7px 9px; background: #fff; font-size: 13px; }
#v-estoque .pn-sku-al-item > small { display: block; font-size: 12px; color: var(--muted); }
#v-estoque .pn-sku-al-item span small { display: inline; font-size: inherit; color: inherit; }
#v-estoque .pn-sku-al-item span { font-size: 12px; color: var(--muted); }
#v-estoque .pn-sku-al-item:hover { border-color: var(--accent); }
#v-estoque .pn-sku-al-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
#v-estoque .pn-sku-al-item[aria-current="true"] { border-color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); }
#v-estoque .pn-sku-dir { min-width: 0; }
#v-estoque #pn-sku-detalhe:not(:empty) + #pn-sku-dica { display: none; }
