/* ============================================================
   LUMINI · FORNECEDORES E PEDIDOS (13/out/2026)
   Sistema oficial do Painel: palco #F1EBE0, cards brancos,
   Mirante nos títulos, dourado só como selo. Tokens --v2-*.
   Sem azul, sem glow, sem dashboard.
   ============================================================ */
.v2f-toolbar { margin-bottom: 16px; }
.v2f-pill { display: inline-flex; min-width: 16px; height: 16px; padding: 0 5px; border-radius: 8px; background: var(--v2-gold); color: #241F1B; font-size: 9.5px; font-weight: 700; align-items: center; justify-content: center; margin-left: 4px; }
.v2f-card { background: #FFFFFF; border: 1px solid var(--v2-line); border-radius: var(--v2-r-card-lg); box-shadow: var(--v2-shadow); padding: 18px 20px; min-width: 0; }
.v2f-eyebrow { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--v2-ter); font-weight: 700; margin-bottom: 8px; display: block; }
.v2f-h2 { font-family: 'Mirante', 'Helvetica Neue', serif; font-size: 20px; font-weight: 500; color: var(--v2-ink); margin: 0; line-height: 1.2; }
.v2f-sub { font-size: 11.5px; color: var(--v2-sub); margin-top: 3px; line-height: 1.5; }
.v2f-mudo { font-size: 11px; color: var(--v2-sub); }
.v2f-link { background: transparent; border: 0; padding: 0; color: var(--v2-link); font-size: 11.5px; font-weight: 600; cursor: pointer; font-family: inherit; text-decoration: underline; text-underline-offset: 2px; }
.v2f-link.is-danger { color: #7A4A33; }
.v2f-vazio { background: #FFFFFF; border: 1px dashed rgba(141,123,106,.45); border-radius: var(--v2-r-card); padding: 26px 22px; text-align: center; font-size: 12.5px; color: var(--v2-sub); line-height: 1.6; margin-bottom: 18px; }
.v2f-vazio strong { display: block; color: var(--v2-ink); font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.v2f-vazio code { font-size: 11px; background: #F6F2EE; padding: 2px 6px; border-radius: 5px; }
.v2f-salvo { font-size: 11px; color: #4E5A40; margin-left: 8px; white-space: nowrap; }
.v2f-chip { display: inline-flex; align-items: center; font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--v2-r-chip); background: #EDE7DE; color: #6B5A33; white-space: nowrap; }
.v2f-chip.is-gold { background: #F5EDD9; color: #8A6B26; }
.v2f-chip.is-ok, .v2f-chip.is-entregue, .v2f-chip.is-confirmado { background: #E4ECE5; color: #4E5A40; }
.v2f-chip.is-enviado, .v2f-chip.is-pago { background: #F5EDD9; color: #8A6B26; }
.v2f-chip.is-bad, .v2f-chip.is-cancelado { background: #F0E4DE; color: #7A4A33; }
.v2f-chip.is-rascunho { background: #EDE7DE; color: var(--v2-sub); }
.v2f-chip.is-aprovacao, .v2f-chip.is-parcial { background: #F5EDD9; color: #8A6B26; }
.v2f-select { padding: 8px 10px; border: 1px solid var(--v2-line-strong); border-radius: 10px; background: #FFFFFF; font-family: inherit; font-size: 11.5px; color: var(--v2-ink); max-width: 100%; }
.v2f-check { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--v2-ink); margin-top: 8px; cursor: pointer; }
.v2f-check input { accent-color: var(--v2-gold); }
.v2f-3col { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 14px; }
.v2f-busca-linha { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.v2f-filtros { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.v2f-filtro { background: #FFFFFF; border: 1px solid var(--v2-line-strong); color: var(--v2-sub); border-radius: 999px; padding: 6px 13px; font-size: 11.5px; font-weight: 600; cursor: pointer; font-family: inherit; }
.v2f-filtro.on { border-color: var(--v2-gold); color: var(--v2-ink); background: #FBF8F1; }

/* ── Pedir ─────────────────────────────────────────────── */
.v2f-ia textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--v2-line-strong); border-radius: 12px; font-family: inherit; font-size: 14px; color: var(--v2-ink); line-height: 1.5; resize: vertical; min-height: 56px; }
.v2f-ia textarea:focus { outline: none; border-color: var(--v2-gold); }
.v2f-ia-acoes { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.v2f-ia-res { margin-top: 14px; border-top: 1px solid var(--v2-line); padding-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.v2f-ia-erro { background: #F5EDD9; color: #8A6B26; border-radius: 10px; padding: 10px 12px; font-size: 12px; line-height: 1.5; margin: 10px 0; }
.v2f-ia-linha { background: #F6F2EE; border-radius: 12px; padding: 10px 12px; }
.v2f-ia-pedido { font-size: 12.5px; color: var(--v2-ink); margin-bottom: 6px; }
.v2f-ia-pedido em { color: var(--v2-sub); font-style: normal; font-size: 11px; }
.v2f-ia-cands { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px; }
.v2f-ia-cand { display: flex; gap: 8px; align-items: flex-start; background: #FFFFFF; border: 1px solid var(--v2-line-strong); border-radius: 10px; padding: 8px 10px; cursor: pointer; }
.v2f-ia-cand.on, .v2f-ia-cand:has(input:checked) { border-color: var(--v2-gold); }
.v2f-ia-cand input { accent-color: var(--v2-gold); margin-top: 2px; }
.v2f-ia-cand span { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.v2f-ia-cand strong { font-size: 12.5px; color: var(--v2-ink); }
.v2f-ia-cand small { font-size: 10.5px; color: var(--v2-sub); }
.v2f-ia-qtd { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.v2f-ia-qtd input[type=number] { width: 70px; padding: 5px 8px; border: 1px solid var(--v2-line-strong); border-radius: 8px; font-family: inherit; font-size: 12px; }
.v2f-sug { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0; }
.v2f-sug-chip { background: #FFFFFF; border: 1px solid var(--v2-line-strong); border-radius: 999px; padding: 6px 12px; font-size: 11.5px; cursor: pointer; font-family: inherit; display: inline-flex; gap: 6px; align-items: center; color: var(--v2-ink); }
.v2f-sug-chip em { font-style: normal; color: var(--v2-ter); font-size: 10.5px; }
.v2f-sug-chip:hover { border-color: var(--v2-gold); }
.v2f-pedir-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 16px; margin-top: 14px; }
.v2f-itens { display: flex; flex-direction: column; gap: 6px; max-height: 70vh; overflow: auto; }
.v2f-item { display: grid; grid-template-columns: minmax(0, 1fr) auto 34px; gap: 10px; align-items: center; padding: 9px 10px; border: 1px solid var(--v2-line); border-radius: 12px; background: #FFFFFF; }
.v2f-item:hover { border-color: rgba(202,169,103,.6); }
.v2f-item-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; cursor: default; }
.v2f-item-txt strong { font-size: 12.5px; color: var(--v2-ink); }
.v2f-item-txt span, .v2f-item-txt em { font-size: 10.5px; color: var(--v2-sub); font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2f-item-preco { font-size: 12px; color: var(--v2-ink); text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.v2f-mais { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--v2-line-strong); background: #211D18; color: #F6F2EE; font-size: 18px; cursor: pointer; font-family: inherit; line-height: 1; }
.v2f-mais:hover { background: var(--v2-gold); color: #241F1B; border-color: var(--v2-gold); }
.v2f-carrinho { position: sticky; top: 12px; align-self: start; max-height: calc(100vh - 40px); overflow: auto; }
.v2f-cg { border-top: 1px solid var(--v2-line); padding: 10px 0; }
.v2f-cg-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 12.5px; color: var(--v2-ink); margin-bottom: 6px; }
.v2f-cg-head em { font-style: normal; color: var(--v2-sub); font-size: 10.5px; }
.v2f-cl { display: grid; grid-template-columns: minmax(0, 1fr) 62px auto 86px 24px; gap: 6px; align-items: center; padding: 4px 0; }
.v2f-cl-txt { display: flex; flex-direction: column; min-width: 0; }
.v2f-cl-txt strong { font-size: 12px; color: var(--v2-ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2f-cl-txt span { font-size: 10.5px; color: var(--v2-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2f-qtd, .v2f-preco-in { padding: 6px 8px; border: 1px solid var(--v2-line-strong); border-radius: 8px; font-family: inherit; font-size: 12px; color: var(--v2-ink); width: 100%; min-width: 0; text-align: right; }
.v2f-qtd:focus, .v2f-preco-in:focus { outline: none; border-color: var(--v2-gold); }
.v2f-x, .v2f-ok { background: transparent; border: 0; cursor: pointer; color: var(--v2-sub); font-size: 16px; padding: 0 4px; font-family: inherit; }
.v2f-x:hover { color: #7A4A33; } .v2f-ok { color: #4E5A40; }
.v2f-cg-nota { font-size: 10.5px; color: var(--v2-sub); margin-top: 4px; }
.v2f-carrinho-acoes { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--v2-line); }

/* ── Tabelas e listas ──────────────────────────────────── */
.v2f-tabela { display: flex; flex-direction: column; }
.v2f-tr { display: grid; grid-template-columns: 1.2fr 1.4fr .5fr .8fr .9fr 1.2fr; gap: 10px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--v2-line); font-size: 12px; color: var(--v2-ink); background: #FFFFFF; cursor: pointer; }
.v2f-tr:first-child { border-radius: 12px 12px 0 0; } .v2f-tr:last-child { border-radius: 0 0 12px 12px; border-bottom: 0; }
.v2f-tr:hover:not(.v2f-th) { background: #FBF8F1; }
.v2f-th { font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--v2-ter); font-weight: 700; cursor: default; background: #F6F2EE; }
.v2f-tabela-itens .v2f-tr { grid-template-columns: minmax(0, 2fr) 100px 110px 110px 30px; cursor: default; }
.v2f-lista-simples { display: flex; flex-direction: column; gap: 6px; }
.v2f-ls { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "a c" "b c"; gap: 0 10px; align-items: center; text-align: left; background: #F6F2EE; border: 0; border-radius: 10px; padding: 8px 12px; font-family: inherit; cursor: pointer; width: 100%; }
.v2f-ls strong { grid-area: a; font-size: 12.5px; color: var(--v2-ink); font-weight: 600; }
.v2f-ls span { grid-area: b; font-size: 10.5px; color: var(--v2-sub); }
.v2f-ls em, .v2f-ls .v2f-chip { grid-area: c; font-style: normal; font-size: 12px; color: var(--v2-ink); }
.v2f-ls.is-sobe em { color: #7A4A33; } .v2f-ls.is-desce em { color: #4E5A40; } .v2f-ls.is-saiu { opacity: .7; }
.v2f-totais { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; margin-top: 12px; }
.v2f-totais > div { display: grid; grid-template-columns: 110px 130px; gap: 10px; align-items: center; font-size: 12px; color: var(--v2-sub); text-align: right; }
.v2f-totais strong { color: var(--v2-ink); }
.v2f-totais .v2f-total { border-top: 1px solid var(--v2-gold); padding-top: 6px; font-size: 14px; }
.v2f-abaixo { color: #7A4A33; } .v2f-ok-txt strong { color: #4E5A40; }

/* ── Detalhe (pedido, fornecedor, catálogo) ─────── */
.v2f-det-topo { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.v2f-det-tit { flex: 1; min-width: 220px; }
.v2f-voltar { background: transparent; border: 0; color: var(--v2-sub); font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit; padding: 4px 0; }
.v2f-voltar:hover { color: var(--v2-ink); }
.v2f-det-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 16px; align-items: start; }
.v2f-det-grid-forn { grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr); }
.v2f-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.v2f-campos { margin-top: 8px; }
.v2f-acoes-pdf, .v2f-passos { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--v2-line); }
.v2f-linha-tempo { display: flex; gap: 0; margin-bottom: 16px; background: #FFFFFF; border: 1px solid var(--v2-line); border-radius: var(--v2-r-card); padding: 12px 16px; overflow-x: auto; }
.v2f-lt { flex: 1; min-width: 90px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; position: relative; padding-right: 10px; }
.v2f-lt i { width: 10px; height: 10px; border-radius: 50%; background: #EDE7DE; border: 2px solid var(--v2-line-strong); display: block; }
.v2f-lt.on i { background: var(--v2-gold); border-color: var(--v2-gold); }
.v2f-lt.now i { box-shadow: 0 0 0 3px #F5EDD9; }
.v2f-lt span { font-size: 11px; color: var(--v2-sub); font-weight: 600; } .v2f-lt.on span { color: var(--v2-ink); }
.v2f-lt small { font-size: 9.5px; color: var(--v2-ter); }
.v2f-conversa { max-height: 70vh; display: flex; flex-direction: column; }
.v2f-thread { flex: 1; overflow: auto; max-height: 52vh; padding: 4px 0; }
/* 21/out · conversa com o fornecedor: troca de número, achar pelo nome, escrever e anexar */
.v2f-conv-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.v2f-num { font: inherit; font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--v2-line-strong); background: #FFFFFF; color: var(--v2-sub); cursor: pointer; }
.v2f-num.on { background: var(--v2-ink); border-color: var(--v2-ink); color: #FFFFFF; }
.v2f-conv-add { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.v2f-conv-add input { flex: 1; min-width: 160px; font: inherit; font-size: 12.5px; padding: 9px 12px; border: 1px solid var(--v2-line-strong); border-radius: 10px; background: #FFFFFF; color: var(--v2-ink); }
.v2f-conv-compor { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--v2-line); display: flex; flex-direction: column; gap: 8px; }
.v2f-conv-compor textarea { width: 100%; box-sizing: border-box; resize: vertical; min-height: 44px; font: inherit; font-size: 12.5px; padding: 9px 12px; border: 1px solid var(--v2-line-strong); border-radius: 12px; background: #FFFFFF; color: var(--v2-ink); }
.v2f-conv-compor-acoes { display: flex; gap: 8px; justify-content: flex-end; align-items: center; }
.v2f-conv-anexo { cursor: pointer; }
.v2f-conv-acoes { display: flex; gap: 10px; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--v2-line); }
.v2f-msg { background: #F6F2EE; border-radius: 10px; padding: 6px 10px; font-size: 12px; margin: 4px 0; max-width: 85%; } .v2f-msg.me { background: #F5EDD9; margin-left: auto; }
.v2f-ent-linha { display: grid; grid-template-columns: minmax(0, 1.6fr) 80px 1fr 1fr; gap: 8px; align-items: end; padding: 8px 0; border-bottom: 1px solid var(--v2-line); }
.v2f-ent-txt { display: flex; flex-direction: column; } .v2f-ent-txt strong { font-size: 12.5px; }
.v2f-ent-linha label { display: flex; flex-direction: column; font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--v2-ter); font-weight: 700; gap: 3px; }
.v2f-ent-linha input { padding: 6px 8px; border: 1px solid var(--v2-line-strong); border-radius: 8px; font-family: inherit; font-size: 12px; text-transform: none; letter-spacing: 0; }

/* ── Fornecedores ──────────────────────────────────────── */
.v2f-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.v2f-fcard { background: #FFFFFF; border: 1px solid var(--v2-line); border-radius: var(--v2-r-card-lg); box-shadow: var(--v2-shadow); padding: 16px 18px; cursor: pointer; display: flex; flex-direction: column; gap: 8px; min-width: 0; transition: border-color .15s ease, transform .15s ease; }
.v2f-fcard:hover { border-color: rgba(202,169,103,.6); transform: translateY(-1px); }
.v2f-fcard-head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.v2f-fcard-head > div { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.v2f-fcard-head strong { font-family: 'Mirante', 'Helvetica Neue', serif; font-size: 15px; font-weight: 500; color: var(--v2-ink); }
.v2f-fcard-head span { font-size: 11px; color: var(--v2-sub); }
.v2f-fcard-head img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }
.v2f-avatar { width: 38px; height: 38px; border-radius: 10px; background: #F6F2EE; color: #6B5A33; display: flex; align-items: center; justify-content: center; font-family: 'Mirante', serif; font-size: 16px; flex-shrink: 0; }
.v2f-avatar-cat { font-family: inherit; font-size: 9.5px; font-weight: 700; letter-spacing: .08em; }
.v2f-estrelas { color: var(--v2-gold); font-style: normal; font-size: 11px; letter-spacing: 1px; }
.v2f-fcard-meta { font-size: 11px; color: var(--v2-sub); }
.v2f-fcard-acesso { font-size: 10.5px; color: #8A6B26; }
.v2f-cats { display: flex; gap: 6px; flex-wrap: wrap; }
.v2f-cat { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; padding: 5px 9px; border: 1px solid var(--v2-line-strong); border-radius: 999px; cursor: pointer; color: var(--v2-sub); background: #FFFFFF; }
.v2f-cat.on, .v2f-cat:has(input:checked) { border-color: var(--v2-gold); color: var(--v2-ink); background: #FBF8F1; }
.v2f-cat input { display: none; }
.v2f-nota button { background: transparent; border: 0; font-size: 18px; color: #EDE7DE; cursor: pointer; padding: 0 2px; } .v2f-nota button.on { color: var(--v2-gold); }
.v2f-contatos { display: flex; flex-direction: column; gap: 8px; }
.v2f-contato { display: flex; justify-content: space-between; gap: 10px; align-items: center; background: #F6F2EE; border-radius: 10px; padding: 8px 12px; }
.v2f-contato > div:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.v2f-contato strong { font-size: 12.5px; color: var(--v2-ink); display: flex; gap: 6px; align-items: center; }
.v2f-contato span { font-size: 10.5px; color: var(--v2-sub); }
.v2f-contato-acoes { display: flex; gap: 10px; }
.v2f-rodape-acoes { display: flex; justify-content: flex-end; }
.v2f-quemve .v2f-qv-head, .v2f-qv-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.v2f-qv-atalhos { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 12px; }
.v2f-qv-tabela { display: flex; flex-direction: column; }
.v2f-qv-tr { display: grid; grid-template-columns: minmax(0, 2fr) repeat(4, minmax(56px, 1fr)); gap: 8px; align-items: center; padding: 8px 10px; border-bottom: 1px solid var(--v2-line); font-size: 12px; }
.v2f-qv-tr:last-child { border-bottom: 0; }
.v2f-qv-th { font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--v2-ter); font-weight: 700; }
.v2f-qv-tr > span { display: flex; flex-direction: column; min-width: 0; }
.v2f-qv-tr strong { color: var(--v2-ink); font-weight: 600; } .v2f-qv-tr small { font-size: 10px; color: var(--v2-ter); }
.v2f-qv-toque { display: flex; justify-content: center; } .v2f-qv-toque input { width: 18px; height: 18px; accent-color: var(--v2-gold); cursor: pointer; } .v2f-qv-toque.is-dis { opacity: .55; }

/* ── Catálogos ─────────────────────────────────────────── */
.v2f-prog { display: flex; align-items: center; gap: 12px; background: #FFFFFF; border: 1px solid var(--v2-line); border-radius: var(--v2-r-card); padding: 10px 14px; margin-bottom: 14px; font-size: 12px; color: var(--v2-sub); }
.v2f-prog-barra { flex: 1; height: 6px; background: #EDE7DE; border-radius: 3px; overflow: hidden; } .v2f-prog-barra i { display: block; height: 100%; background: var(--v2-gold); transition: width .3s ease; }
.v2f-cat-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, 1fr); gap: 16px; align-items: start; }
.v2f-cat-grid.sem-pagina { grid-template-columns: minmax(0, 1fr); }
.v2f-cat-itens { display: flex; flex-direction: column; gap: 8px; max-height: 72vh; overflow: auto; }
.v2f-ci { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; border: 1px solid var(--v2-line); border-radius: 12px; padding: 10px 12px; background: #FFFFFF; }
.v2f-ci.is-nova { border-left: 3px solid var(--v2-gold); }
.v2f-ci.is-pag { background: #FBF8F1; }
.v2f-ci-main { min-width: 0; cursor: pointer; display: flex; flex-direction: column; gap: 5px; }
.v2f-ci-nome { width: 100%; font-size: 13px; font-weight: 600; color: var(--v2-ink); padding: 5px 8px; border: 1px solid transparent; border-radius: 8px; font-family: inherit; background: transparent; }
.v2f-ci-nome:hover, .v2f-ci-nome:focus { border-color: var(--v2-line-strong); background: #FFFFFF; outline: none; }
.v2f-ci-campos { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.v2f-ci-campos input, .v2f-ci-campos select { padding: 5px 8px; border: 1px solid var(--v2-line-strong); border-radius: 8px; font-family: inherit; font-size: 11.5px; color: var(--v2-ink); min-width: 0; flex: 1 1 100px; max-width: 160px; }
.v2f-ci-campos .v2f-preco-in { flex: 0 0 96px; }
.v2f-ci-uso { font-size: 11.5px; }
.v2f-ci-rodape { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.v2f-ci-prod { display: flex; gap: 8px; align-items: center; font-size: 11px; } .v2f-ci-prod em { font-style: normal; color: #4E5A40; }
.v2f-ci-acoes { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.v2f-pagina { background: #FFFFFF; border: 1px solid var(--v2-line); border-radius: var(--v2-r-card-lg); box-shadow: var(--v2-shadow); padding: 12px; min-width: 0; }
.v2f-pagina-lado { position: sticky; top: 12px; }
.v2f-pag-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; } .v2f-pag-nav span { font-size: 11.5px; color: var(--v2-sub); flex: 1; }
.v2f-pag-busca { padding: 7px 10px; border: 1px solid var(--v2-line-strong); border-radius: 9px; font-family: inherit; font-size: 11.5px; flex: 1 1 180px; }
.v2f-canvas-wrap { background: #EDE7DE; border-radius: 10px; overflow: auto; max-height: 72vh; display: flex; justify-content: center; }
.v2f-canvas-wrap canvas, .v2f-canvas-wrap img { max-width: 100%; display: block; }
.v2f-folhear { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 16px; align-items: start; }
.v2f-pag-itens { max-height: 80vh; overflow: auto; display: flex; flex-direction: column; gap: 6px; }
.v2f-comparar { margin-bottom: 16px; }
.v2f-comp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 10px; }
.v2f-comp-grid > div { display: flex; flex-direction: column; gap: 6px; }
.v2f-grupos { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; margin-top: 12px; }
.v2f-grupo { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--v2-line-strong); border-radius: 12px; padding: 10px 12px; cursor: pointer; background: #FFFFFF; }
.v2f-grupo.on, .v2f-grupo:has(input:checked) { border-color: var(--v2-gold); background: #FBF8F1; }
.v2f-grupo input[type=checkbox] { accent-color: var(--v2-gold); margin-top: 4px; }
.v2f-grupo > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.v2f-grupo-nome { width: 100%; font-size: 12.5px; font-weight: 600; padding: 4px 6px; border: 1px solid transparent; border-radius: 6px; font-family: inherit; background: transparent; }
.v2f-grupo-nome:focus { border-color: var(--v2-line-strong); background: #FFFFFF; outline: none; }
.v2f-grupo ul { margin: 4px 0 0; padding-left: 16px; font-size: 11px; color: var(--v2-ink); } .v2f-grupo li em { font-style: normal; color: var(--v2-sub); }

/* ── Custos ────────────────────────────────────────────── */
.v2f-resultado { position: sticky; top: 12px; }
.v2f-resultado > div { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--v2-sub); padding: 5px 0; }
.v2f-resultado strong { color: var(--v2-ink); }
.v2f-resultado .v2f-sep { border-top: 1px solid var(--v2-line); margin-top: 4px; padding-top: 8px; }
.v2f-resultado .v2f-total { border-top: 1px solid var(--v2-gold); margin-top: 4px; padding-top: 8px; font-size: 13.5px; }
.v2f-resultado .v2f-abaixo strong { color: #7A4A33; }

/* ── Celular ───────────────────────────────────────────── */
/* o palco do painel perde ~250px pra sidebar: abaixo de 1100px de janela o detalhe vira uma coluna */
@media (max-width: 1100px) {
  .v2f-det-grid, .v2f-det-grid-forn, .v2f-cat-grid, .v2f-folhear { grid-template-columns: minmax(0, 1fr); }
  .v2f-pagina-lado, .v2f-resultado { position: static; max-height: none; }
}
@media (max-width: 900px) {
  .v2f-pedir-grid { grid-template-columns: minmax(0, 1fr); }
  .v2f-carrinho { position: static; max-height: none; }
  .v2f-tr { grid-template-columns: 1fr 1fr 1fr; font-size: 11.5px; gap: 6px 10px; } .v2f-th { display: none; }
  .v2f-tr > span:first-child { grid-column: 1 / -1; }
  .v2f-tabela-itens .v2f-tr { grid-template-columns: 1fr 1fr 1fr 24px; }
  .v2f-cl { grid-template-columns: minmax(0, 1fr) 56px auto 80px 24px; }
  .v2f-ent-linha { grid-template-columns: 1fr 1fr; }
  .v2f-qv-tr { grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(40px, 1fr)); font-size: 11px; }
  .v2f-canvas-wrap { max-height: 60vh; }
}
@media (max-width: 600px) {
  .v2f-item { grid-template-columns: minmax(0, 1fr) 34px; }
  .v2f-item-preco { grid-column: 1 / -1; flex-direction: row; align-items: baseline; gap: 8px; text-align: left; }
  .v2f-det-topo .v2n-btn-dark { margin-left: auto; }
}
/* ── Documentos do pedido ──────────────────────────────── */
.v2f-cg-docs { color: #8A6B26; }
.v2f-pac-linha { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.v2f-pac-linha strong { font-size: 13px; color: var(--v2-ink); }
.v2f-pac-busca { flex: 1 1 240px; position: relative; }
.v2f-pac-busca input { width: 100%; padding: 8px 10px; border: 1px solid var(--v2-line-strong); border-radius: 10px; font-family: inherit; font-size: 12px; }
#v2f-pac-res { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.v2f-docs-lista { display: flex; flex-direction: column; gap: 8px; }
.v2f-doc { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #F6F2EE; border-radius: 12px; padding: 10px 12px; flex-wrap: wrap; }
.v2f-doc-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 220px; }
.v2f-doc-txt strong { font-size: 12.5px; color: var(--v2-ink); }
.v2f-doc-txt span { font-size: 10.5px; color: var(--v2-sub); }
.v2f-doc-acoes { display: flex; gap: 6px; }

/* ══════════════════════════════════════════════════════════
   VISUAL (14/out) · logos, capas, miniaturas, agrupamento
   "Está muito feio, zero visual" → cartão com a capa do catálogo e o
   logo da marca, página do fornecedor que começa pelo pedido, itens
   com a miniatura da página original, agrupados por setor,
   aplicação e indicação. Mesmo palco: marfim, branco, dourado.
   ══════════════════════════════════════════════════════════ */
[data-fimg] { background-color: #EDE7DE; }
.v2f-logo { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; background: #FFFFFF; border: 1px solid var(--v2-line); padding: 7px; flex-shrink: 0; overflow: hidden; }
.v2f-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.v2f-logo-letra { font-family: 'Mirante', serif; font-size: 20px; color: #6B5A33; background: #F6F2EE; }
.v2f-logo.mini { width: 40px; height: 40px; border-radius: 10px; padding: 5px; }
.v2f-logo.grande { width: 92px; height: 92px; border-radius: 22px; padding: 12px; box-shadow: var(--v2-shadow); }
.v2f-logo.flut { position: absolute; left: 14px; bottom: -14px; box-shadow: 0 2px 8px rgba(46,42,38,.12); }
.v2f-logo.flut.mini { left: 10px; bottom: -10px; }

/* cartão do fornecedor */
.v2f-grid-forn { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.v2f-fcard-v2 { padding: 0; overflow: hidden; gap: 0; position: relative; --acc: #EDE7DE; }
.v2f-fcard-capa { position: relative; height: 128px; background: linear-gradient(135deg, var(--acc), #F6F2EE 70%); background-size: cover; background-position: center top; }
.v2f-fcard-capa.is-on::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36,31,27,0) 40%, rgba(36,31,27,.28)); }
.v2f-fcard-capa .v2f-estrelas { position: absolute; right: 12px; top: 10px; background: rgba(255,255,255,.9); border-radius: 999px; padding: 3px 8px; font-size: 10px; }
.v2f-fcard-corpo { padding: 24px 18px 16px; display: flex; flex-direction: column; gap: 5px; }
.v2f-fcard-corpo strong { font-family: 'Mirante', 'Helvetica Neue', serif; font-size: 17px; font-weight: 500; color: var(--v2-ink); line-height: 1.2; }
.v2f-fcard-corpo > span { font-size: 11.5px; color: var(--v2-sub); line-height: 1.45; }
.v2f-fcard-cta { position: absolute; right: 14px; bottom: 14px; font-size: 11.5px; font-weight: 700; color: #8A6B26; opacity: 0; transform: translateX(-4px); transition: all .18s ease; }
.v2f-fcard-v2:hover .v2f-fcard-cta { opacity: 1; transform: none; }
.v2f-fcard-v2.is-revenda .v2f-fcard-capa { --acc: #D9F3F5; }

/* galeria de catálogos */
.v2f-grid-cat { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.v2f-ccard { background: #FFFFFF; border: 1px solid var(--v2-line); border-radius: var(--v2-r-card-lg); box-shadow: var(--v2-shadow); overflow: hidden; cursor: pointer; transition: border-color .15s ease, transform .15s ease; }
.v2f-ccard:hover { border-color: rgba(202,169,103,.6); transform: translateY(-1px); }
.v2f-ccard-capa { position: relative; aspect-ratio: 4 / 4.6; background: #EDE7DE; background-size: cover; background-position: center top; display: flex; align-items: center; justify-content: center; }
.v2f-ccard-capa.sem { background: linear-gradient(135deg, #F6F2EE, #EDE7DE); }
.v2f-ccard-corpo { padding: 18px 14px 12px; display: flex; flex-direction: column; gap: 3px; }
.v2f-ccard-corpo strong { font-size: 12.5px; color: var(--v2-ink); font-weight: 600; line-height: 1.3; }
.v2f-ccard-corpo > span { font-size: 10.5px; color: var(--v2-sub); }

/* página do fornecedor · hero */
.v2f-hero { position: relative; background: #FFFFFF; border: 1px solid var(--v2-line); border-radius: var(--v2-r-card-lg); box-shadow: var(--v2-shadow); overflow: hidden; margin-bottom: 16px; --acc: #EDE7DE; }
.v2f-hero-capa { height: 110px; background: linear-gradient(135deg, var(--acc), #F6F2EE 70%); background-size: cover; background-position: center 30%; filter: saturate(.9); }
.v2f-hero-capa.is-on { opacity: .9; }
.v2f-hero-corpo { display: flex; align-items: flex-end; gap: 16px; padding: 0 22px 18px; margin-top: -46px; position: relative; flex-wrap: wrap; }
.v2f-hero-txt { flex: 1; min-width: 240px; padding-top: 50px; }
.v2f-h2-grande { font-size: 26px; }
.v2f-hero-meta { font-size: 11.5px; color: var(--v2-sub); margin-top: 4px; }
.v2f-hero-acoes { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding-top: 50px; }

/* ver por · setores */
.v2f-verpor { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 14px; }
.v2f-verpor-l { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.v2f-seg-mini button { padding: 6px 12px; font-size: 11px; }
.v2f-seg-guia { color: #8A6B26 !important; }
.v2f-setores { display: flex; gap: 6px; flex-wrap: wrap; }

/* grupos e cartões de item */
.v2f-pedir-lista { min-width: 0; }
.v2f-grupo-sec { margin-bottom: 18px; }
.v2f-grupo-h { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--v2-line); }
.v2f-grupo-h h3 { font-family: 'Mirante', 'Helvetica Neue', serif; font-size: 16px; font-weight: 500; color: var(--v2-ink); margin: 0; }
.v2f-pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.v2f-pcard { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto 34px; gap: 10px; align-items: center; padding: 8px 10px 8px 8px; border: 1px solid var(--v2-line); border-radius: 14px; background: #FFFFFF; min-width: 0; transition: border-color .15s ease; }
.v2f-pcard:hover { border-color: rgba(202,169,103,.6); }
.v2f-pcard-thumb { width: 64px; height: 84px; border-radius: 9px; background: #EDE7DE; background-size: cover; background-position: center top; cursor: zoom-in; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--v2-line); }
.v2f-pcard-thumb.sem { cursor: default; background: #F6F2EE; }
.v2f-pcard-thumb.is-on:hover { background-position: center 30%; }
.v2f-pcard-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.v2f-pcard-txt strong { font-size: 12.5px; color: var(--v2-ink); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.v2f-pcard-txt > span { font-size: 10.5px; color: var(--v2-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2f-pcard-lib { color: #8A6B26 !important; font-weight: 600; }
.v2f-pcard-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 2px; }
.v2f-tag { display: inline-flex; font-style: normal; font-size: 9.5px; font-weight: 600; letter-spacing: .02em; padding: 2px 7px; border-radius: 999px; background: #F6F2EE; color: var(--v2-sub); white-space: nowrap; }
.v2f-tag-ap { background: #F5EDD9; color: #8A6B26; }
.v2f-tag-forn { background: #EDE7DE; color: var(--v2-ink); }
.v2f-pcard-preco { font-size: 12px; color: var(--v2-ink); text-align: right; display: flex; flex-direction: column; align-items: flex-end; white-space: nowrap; }

/* guia de implantes */
.v2f-guia-h { margin-top: 14px; } .v2f-guia-h h3 { font-family: 'Mirante', serif; font-size: 15px; font-weight: 500; margin: 0 0 6px; color: var(--v2-ink); }
.v2f-guia-tabela { display: flex; flex-direction: column; border: 1px solid var(--v2-line); border-radius: 12px; overflow: hidden; }
.v2f-guia-tr { display: grid; grid-template-columns: 70px 1.3fr 1fr .7fr repeat(var(--forns, 1), minmax(96px, 1fr)); gap: 8px; align-items: center; padding: 8px 12px; font-size: 12px; border-bottom: 1px solid var(--v2-line); background: #FFFFFF; }
.v2f-guia-tr:last-child { border-bottom: 0; } .v2f-guia-tr.is-sem { color: var(--v2-sub); background: #FBFAF7; }
.v2f-guia-th { font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--v2-ter); font-weight: 700; background: #F6F2EE; }
.v2f-guia-of { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--v2-ink); }
.v2f-mais-mini { width: 24px; height: 24px; font-size: 14px; border-radius: 7px; }

/* trilho da página do fornecedor */
.v2f-rail-cats { display: flex; flex-direction: column; gap: 8px; }
.v2f-rail-cat { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; align-items: center; text-align: left; background: #F6F2EE; border: 0; border-radius: 12px; padding: 8px; font-family: inherit; cursor: pointer; width: 100%; }
.v2f-rail-cat:hover { background: #F5EDD9; }
.v2f-rail-capa { width: 44px; height: 56px; border-radius: 7px; background: #EDE7DE; background-size: cover; background-position: center top; display: block; }
.v2f-rail-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.v2f-rail-txt strong { font-size: 12px; color: var(--v2-ink); font-weight: 600; line-height: 1.3; } .v2f-rail-txt small { font-size: 10px; color: var(--v2-sub); }

/* classificação no editor do catálogo */
.v2f-ci-class select { max-width: 190px; }

@media (max-width: 900px) {
  .v2f-pgrid { grid-template-columns: minmax(0, 1fr); }
  .v2f-hero-corpo { margin-top: -30px; } .v2f-hero-txt, .v2f-hero-acoes { padding-top: 10px; }
  .v2f-guia-tr { grid-template-columns: 60px 1fr 1fr; font-size: 11px; } .v2f-guia-tr > span:nth-child(4) { display: none; }
}
@media (max-width: 600px) {
  .v2f-pcard { grid-template-columns: 52px minmax(0, 1fr) 34px; } .v2f-pcard-thumb { width: 52px; height: 68px; } .v2f-pcard-preco { grid-column: 2; align-items: flex-start; }
}

/* ── Revenda (14/out) · mesma identidade, prefixo v2r ───── */
.v2r-thumb { display: flex; align-items: center; justify-content: center; }
.v2r-sigla { font-family: 'Mirante', serif; font-size: 18px; color: #6B5A33; }
.v2r-pcard.is-off { opacity: .55; }
.v2r-cl { grid-template-columns: minmax(0, 1fr) 56px 86px 24px; }
.v2r-vender .v2f-carrinho { max-height: none; }
.v2f-ls.is-on { outline: 1px solid var(--v2-gold); }

/* 14/out noite · velocidade: embrulhos de repintura parcial não mudam o layout,
   esqueleto leve enquanto os itens chegam, grupo que ainda vai se encher */
#v2f-verpor-box, #v2f-sug-box, #v2f-quemve-box, #v2f-forn-carrinho { display: contents; }
.v2f-esq { display: flex; flex-direction: column; gap: 10px; }
.v2f-esq-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 10px 8px 8px; border: 1px solid var(--v2-line); border-radius: 14px; background: #FFFFFF; }
.v2f-esq-card i { display: block; width: 64px; height: 84px; border-radius: 9px; background: #F1ECE5; }
.v2f-esq-card span { display: flex; flex-direction: column; gap: 8px; }
.v2f-esq-card b { display: block; height: 10px; border-radius: 5px; background: #F1ECE5; width: 70%; }
.v2f-esq-card b + b { width: 45%; }
.v2f-esq-card i, .v2f-esq-card b { animation: v2f-esq-pulso 1.4s ease-in-out infinite; }
@keyframes v2f-esq-pulso { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .v2f-esq-card i, .v2f-esq-card b { animation: none; } }
.v2f-pgrid-espera { border-radius: 14px; }

/* 14/out noite · cartão de item: o nome ganha a largura toda, o preço desce pra baixo dele
   (antes "sem preço · pedir cotação" espremia o nome em uma palavra por linha) */
.v2f-pcard-v2 { grid-template-columns: 64px minmax(0, 1fr) 34px; grid-template-rows: auto auto; row-gap: 4px; }
.v2f-pcard-v2 > .v2f-pcard-thumb { grid-column: 1; grid-row: 1 / span 2; }
.v2f-pcard-v2 > .v2f-pcard-txt { grid-column: 2; grid-row: 1; }
.v2f-pcard-v2 > .v2f-pcard-preco { grid-column: 2; grid-row: 2; flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: flex-start; gap: 0 6px; text-align: left; white-space: normal; }
.v2f-pcard-v2 > .v2f-mais { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
.v2f-pcard-v2 .v2f-pcard-txt strong { overflow-wrap: break-word; word-break: normal; hyphens: auto; }
.v2f-pcard-txt.is-edita { cursor: pointer; }
.v2f-pcard-txt.is-edita:hover strong { color: #8A6B26; }
.v2f-pcard-link { font-weight: 600; color: #8A6B26; text-decoration: none; margin-left: 2px; }
.v2f-pcard-link:hover { text-decoration: underline; }
.v2f-pcard-thumb.is-foto { background-color: #FFFFFF; background-size: contain; background-repeat: no-repeat; background-position: center; cursor: pointer; }
.v2f-pcard-thumb.is-foto.is-on:hover { background-position: center; }
@media (max-width: 600px) {
  .v2f-pcard-v2 { grid-template-columns: 52px minmax(0, 1fr) 34px; }
}

/* editor de item */
.v2f-ei-link { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.v2f-ei-link .v2n-btn-dark { margin-bottom: 2px; }
#v2f-ei-aviso { min-height: 16px; margin: 6px 0 2px; font-size: 11.5px; }
#v2f-ei-aviso.v2f-ei-ruim { color: #9A3B2E; }
.v2f-ei-grid { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 18px; margin-top: 6px; }
.v2f-ei-col { min-width: 0; }
.v2f-ei-foto { width: 180px; height: 200px; border-radius: 12px; border: 1px solid var(--v2-line); background: #FFFFFF; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.v2f-ei-foto.sem { background: #F6F2EE; }
.v2f-ei-foto img { max-width: 100%; max-height: 100%; object-fit: contain; }
.v2f-ei-foto-acoes { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.v2f-ei-up { position: relative; overflow: hidden; cursor: pointer; }
.v2f-ei-up input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.v2f-2col { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 14px; }
.v2f-novo-cats { display: flex; flex-wrap: wrap; gap: 0 14px; }
@media (max-width: 640px) {
  .v2f-ei-grid { grid-template-columns: minmax(0, 1fr); }
  .v2f-ei-foto { width: 100%; height: 180px; }
}

/* print do anúncio/carrinho (23/out) */
.v2f-ei-print { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 4px 0 10px; padding: 10px 14px; border: 1px dashed var(--v2-line); border-radius: 12px; font-size: 12.5px; color: var(--v2-sub); }
.v2f-ei-print.is-destaque { border-color: var(--v2-gold); background: rgba(176, 141, 87, .08); }
.v2f-ei-print.is-lendo { opacity: .6; pointer-events: none; }
.v2f-ei-escolha { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; margin: 0 0 12px; }
.v2f-ei-opcao { text-align: left; padding: 10px 12px; border: 1px solid var(--v2-line); border-radius: 10px; background: #FFFFFF; color: var(--v2-ink); cursor: pointer; display: flex; flex-direction: column; gap: 2px; font: inherit; }
.v2f-ei-opcao:hover { border-color: var(--v2-gold); }
.v2f-ei-opcao strong { font-size: 13px; font-weight: 500; }
.v2f-ei-opcao span { font-size: 11.5px; color: var(--v2-sub); }

/* pedidos: fornecedor (onde) × categoria (o quê) · 23/out */
.v2f-tr.v2f-tr-ped { grid-template-columns: 1.1fr 1.3fr 1.4fr .4fr .8fr .8fr 1.1fr; }
.v2f-tr-ped .v2f-pcard-tags { margin: 0; }
.v2f-tr-sub { display: block; font-style: normal; font-size: 11px; color: var(--v2-sub); margin-top: 2px; }
@media (max-width: 900px) { .v2f-tr.v2f-tr-ped { grid-template-columns: 1fr 1fr 1fr; } }

/* 28/out · pedido da equipe pra aprovar, chegada por item, item fora do catálogo */
.v2f-aprov { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.v2f-aprov.is-espera { border-color: var(--v2-gold); }
.v2f-aprov-txt p { margin: 6px 0 0; font-size: 13px; color: var(--v2-ink); line-height: 1.5; }
.v2f-aprov-txt p.v2f-mudo { font-size: 12px; }
.v2f-aprov-acoes { display: flex; gap: 8px; align-items: center; }
.v2f-item-pac { margin-top: 4px; font-size: 11px; color: var(--v2-sub); }
.v2f-item-pac label { display: inline-flex; align-items: center; gap: 6px; }
.v2f-item-pac label[hidden] { display: none; }
.v2f-item-pac .v2f-link { font-size: 11px; }
.v2f-item-pac input { padding: 3px 6px; border: 1px solid var(--v2-line); border-radius: 6px; font-family: inherit; font-size: 11px; color: var(--v2-ink); width: min(220px, 100%); background: transparent; }
.v2f-item-pac input:focus { outline: none; border-color: var(--v2-gold); }
.v2f-chegada { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 6px; font-size: 11px; color: var(--v2-sub); }
.v2f-chegada > span { margin-right: 2px; }
.v2f-chegada.is-chegou > span { color: #4E5A40; font-weight: 600; }
.v2f-chegada.is-parte > span, .v2f-chegada.is-faltou > span { color: #7A4A33; font-weight: 600; }
.v2f-chegada label { display: inline-flex; align-items: center; gap: 4px; }
.v2f-chegada .v2f-qtd, .v2f-chegada .v2f-preco-in, .v2f-item-pac input { font-size: 12px; }
.v2f-chegada .v2f-qtd, .v2f-chegada .v2f-preco-in { width: 64px; padding: 3px 6px; }
.v2f-mini { border: 1px solid var(--v2-line-strong); background: #FFFFFF; color: var(--v2-ink); border-radius: 999px; padding: 3px 10px; font-family: inherit; font-size: 11px; font-weight: 600; cursor: pointer; }
.v2f-mini:hover { border-color: var(--v2-gold); }
.v2f-cg-pra { margin-top: 8px; }
.v2f-avulso-abrir { display: block; margin-top: 12px; }
.v2f-avulso { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--v2-line); display: flex; flex-direction: column; gap: 4px; }
/* 28/out · Início: pedidos pra aprovar (Bella) e pra dar entrada no estoque (Marina e Ester) */
.pdi-card { margin-top: 14px; }
.pdi-sub { display: block; font-size: 11px; color: var(--v2-ter); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdi-card .adm-titulo { white-space: normal; }
.pdi-ped { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--v2-line); }
.pdi-ped:last-child { border-bottom: 0; }
.pdi-ped-quem { font-size: 13px; color: var(--v2-ink); }
.pdi-ped-motivo { font-size: 13px; color: var(--v2-ink); margin-top: 3px; }
.pdi-ped-itens { font-size: 11.5px; color: var(--v2-sub); margin-top: 3px; }
.pdi-ped-valor { font-size: 14px; font-weight: 700; color: var(--v2-ink); text-align: right; white-space: nowrap; }
.pdi-ped-valor small { display: block; font-size: 10.5px; font-weight: 500; color: var(--v2-ter); }
.pdi-ped-acoes { display: flex; gap: 8px; }
.pdi-ent { display: flex; flex-direction: column; gap: 8px; }
.pdi-op { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--v2-ink); cursor: pointer; }
.pdi-op input { margin-top: 3px; accent-color: var(--v2-gold); }
.pdi-dest { padding: 0 0 6px 24px; }
.pdi-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 640px) {
  .pdi-ped { grid-template-columns: 1fr; gap: 8px; }
  .pdi-ped-valor { text-align: left; }
  .pdi-2col { grid-template-columns: 1fr; }
}

/* ── 06/nov · Comparar fornecedores ───────────────────────────
   Linha = o que se compra; coluna = fornecedor. Dourado só no filete do "mais barato". */
.v2f-cmp-topo { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; align-items: end; margin-bottom: 14px; }
.v2f-cmp-topo-l { min-width: 0; }
.v2f-cmp-titulo { width: 100%; border: 0; border-bottom: 1px solid transparent; background: transparent; font-family: 'Mirante', 'Helvetica Neue', serif; font-size: 20px; font-weight: 500; color: var(--v2-ink); padding: 2px 0; }
.v2f-cmp-titulo:focus { outline: none; border-bottom-color: var(--v2-line-strong); }
.v2f-cmp-topo-a { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }
.v2f-cmp-topo-a .v2f-select { max-width: 220px; }
.v2f-cmp-busca { grid-column: 1 / -1; max-width: none; }
#v2f-comp-res { grid-column: 1 / -1; }
.v2f-cmp-res { display: flex; flex-direction: column; gap: 4px; }
.v2f-cmp-res button { display: flex; flex-direction: column; gap: 1px; text-align: left; background: #FFFFFF; border: 1px solid var(--v2-line); border-radius: 10px; padding: 8px 12px; min-height: 44px; cursor: pointer; font-family: inherit; }
.v2f-cmp-res button:hover { border-color: var(--v2-line-strong); background: #FBF8F1; }
.v2f-cmp-res strong { font-size: 12.5px; font-weight: 600; color: var(--v2-ink); }
.v2f-cmp-res span { font-size: 11px; color: var(--v2-sub); }
.v2f-cmp-res-vazio { padding: 6px 2px; }
.v2f-cmp-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 12px; }
.v2f-cmp-grade { margin-bottom: 14px; padding: 16px; }
.v2f-cmp-lin { display: grid; grid-template-columns: minmax(190px, 1.5fr) repeat(var(--cols), minmax(0, 1fr)); gap: 8px; padding: 8px 0; border-top: 1px solid var(--v2-line); align-items: stretch; }
.v2f-cmp-lin.is-cab { border-top: 0; padding-top: 0; align-items: center; }
.v2f-cmp-lin.is-pe { background: #FBF8F1; margin: 0 -16px -16px; padding: 12px 16px; border-radius: 0 0 var(--v2-r-card-lg) var(--v2-r-card-lg); }
.v2f-cmp-lin.is-pe [role=rowheader] { display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; }
.v2f-cmp-forn { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 11.5px; font-weight: 600; color: var(--v2-ink); }
.v2f-cmp-forn > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.v2f-cmp-forn small { display: block; font-weight: 400; color: var(--v2-sub); font-size: 11px; white-space: normal; }
.v2f-cmp-nome { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.v2f-cmp-nome strong { font-size: 12.5px; font-weight: 600; color: var(--v2-ink); line-height: 1.3; }
.v2f-cmp-nome > span { font-size: 11px; color: var(--v2-sub); line-height: 1.35; }
.v2f-cmp-nome-a { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; font-size: 11px; color: var(--v2-sub); }
.v2f-cmp-nome-a label { display: inline-flex; align-items: center; gap: 5px; }
.v2f-cmp-nome-a .v2f-qtd { width: 58px; }
.v2f-cmp-celw { display: flex; flex-direction: column; height: 100%; gap: 2px; }
.v2f-cmp-cel { flex: 1; width: 100%; display: flex; flex-direction: column; gap: 2px; text-align: left; background: #FFFFFF; border: 1px solid var(--v2-line); border-radius: 10px; padding: 8px 9px; cursor: pointer; font-family: inherit; min-height: 62px; min-width: 0; position: relative; }
.v2f-cmp-cel:hover { border-color: var(--v2-line-strong); }
.v2f-cmp-cel:focus-visible, .v2f-cmp-troca:focus-visible { outline: 2px solid var(--v2-ink); outline-offset: 1px; }
.v2f-cmp-cel strong { font-size: 13px; font-weight: 600; color: var(--v2-ink); }
.v2f-cmp-cel > span { font-size: 10.5px; color: var(--v2-sub); line-height: 1.3; }
.v2f-cmp-cel em { font-style: normal; font-size: 10.5px; font-weight: 600; color: #7A4A33; }
.v2f-cmp-cel small { font-size: 10.5px; color: var(--v2-sub); line-height: 1.3; }
.v2f-cmp-cel i { font-style: normal; font-size: 10.5px; font-weight: 600; color: var(--v2-ink); }
.v2f-cmp-cel.is-melhor { border-bottom: 2px solid var(--v2-gold); }
.v2f-cmp-cel.is-outra strong { color: var(--v2-sub); font-weight: 500; }
.v2f-cmp-cel.is-esc { background: #2E2A26; border-color: #2E2A26; }
.v2f-cmp-cel.is-esc strong, .v2f-cmp-cel.is-esc i { color: #F6F2EE; }
.v2f-cmp-cel.is-esc > span, .v2f-cmp-cel.is-esc small { color: #E8E0CE; }
.v2f-cmp-cel.is-esc em { color: #E8E0CE; }
.v2f-cmp-cel.is-vazia { background: transparent; border-style: dashed; justify-content: center; align-items: center; text-align: center; color: var(--v2-sub); font-size: 11px; }
.v2f-cmp-cel.is-vazia small { font-size: 10px; }
.v2f-cmp-cel.is-aberta, .v2f-cmp-troca.is-aberta { border-color: var(--v2-ink); }
.v2f-cmp-troca { background: transparent; border: 0; padding: 2px; font-family: inherit; font-size: 10px; color: var(--v2-sub); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; align-self: flex-end; }
.v2f-cmp-trocar { display: flex; flex-direction: column; gap: 8px; background: #FBF8F1; border-radius: 10px; padding: 12px; margin: 2px 0 10px; font-size: 12.5px; }
.v2f-cmp-tot { display: flex; flex-direction: column; gap: 2px; min-width: 0; align-items: flex-start; }
.v2f-cmp-tot strong { font-size: 14px; font-weight: 600; color: var(--v2-ink); }
.v2f-cmp-tot span { font-size: 10.5px; color: var(--v2-sub); }
.v2f-cmp-cartoes { display: none; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.v2f-cmp-ofertas { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.v2f-cmp-oferta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px; align-items: center; padding: 4px 0; }
.v2f-cmp-resumo { margin-bottom: 14px; }
.v2f-cmp-sim { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 11.5px; color: var(--v2-sub); max-width: 420px; justify-content: flex-end; }
.v2f-cmp-sim span { flex: 1 1 200px; text-align: right; line-height: 1.4; }
.v2f-cmp-ped { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--v2-line); margin-top: 10px; }
.v2f-cmp-ped-n { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--v2-sub); flex-wrap: wrap; }
.v2f-cmp-ped-n label { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; }
.v2f-cmp-ped-n .v2f-preco-in { width: 92px; }
.v2f-cmp-ped-n strong { font-size: 14px; font-weight: 600; color: var(--v2-ink); min-width: 84px; text-align: right; }
.v2f-cmp-orfas { margin-bottom: 14px; }
.v2f-cmp-orfa { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 4px 0; }
.v2f-cmp-falta { font-size: 11px; color: var(--v2-sub); margin-top: 8px; line-height: 1.5; }
.v2f-cmp-lin.is-cab .v2f-cmp-forn { flex-wrap: wrap; gap: 4px; line-height: 1.25; }
.v2f-cmp-lin.is-cab .v2f-cmp-forn > span { flex: 1 1 100%; overflow: visible; }
@media (max-width: 960px) {
  .v2f-cmp-grade { display: none; }
  .v2f-cmp-oferta { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .v2f-cmp-oferta .v2f-cmp-forn > span { overflow: visible; }
  .v2f-cmp-cartoes { display: flex; }
  .v2f-cmp-topo { grid-template-columns: minmax(0, 1fr); }
  .v2f-cmp-topo-a { justify-content: flex-start; }
  .v2f-cmp-sim { max-width: none; justify-content: flex-start; }
  .v2f-cmp-sim span { text-align: left; }
  .v2f-cmp-troca { min-height: 28px; }
}

/* ── 06/nov · Evidências por composto ───────────────────────── */
.v2e-card-link { font-size: 10.5px; margin-left: 2px; }
.v2e-topo { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.v2e-busca-l { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.v2e-fila { display: flex; gap: 10px; justify-content: space-between; align-items: center; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--v2-line); }
.v2e-fila-c { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 11.5px; color: var(--v2-ink); }
.v2e-lista { display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid var(--v2-line); border-radius: var(--v2-r-card); overflow: hidden; }
.v2e-lin { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; background: transparent; border: 0; border-top: 1px solid var(--v2-line); padding: 10px 14px; min-height: 48px; cursor: pointer; text-align: left; font-family: inherit; }
.v2e-lin:first-child { border-top: 0; }
.v2e-lin:hover { background: #FBF8F1; }
.v2e-lin:focus-visible { outline: 2px solid var(--v2-ink); outline-offset: -2px; }
.v2e-lin-n { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.v2e-lin-n strong { font-size: 13px; font-weight: 600; color: var(--v2-ink); }
.v2e-lin-n small { font-size: 11px; color: var(--v2-sub); }
.v2e-lin-s { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; font-size: 11px; color: var(--v2-sub); text-align: right; flex-shrink: 0; }
.v2e-lin-s b { font-weight: 600; color: var(--v2-ink); font-size: 12px; }
.v2e-pesq { color: var(--v2-link); text-decoration: underline; text-underline-offset: 2px; }
.v2e-modal { max-width: 860px; width: 100%; }
.v2e-modal-p { max-width: 520px; }
.v2e-pe { display: flex; justify-content: flex-end; align-items: center; gap: 10px; flex-wrap: wrap; }
.v2e-vazio { text-align: center; padding: 26px 16px; font-size: 12.5px; color: var(--v2-sub); line-height: 1.5; }
.v2e-vazio strong { display: block; color: var(--v2-ink); font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.v2e-corpo { display: flex; flex-direction: column; gap: 18px; }
.v2e-corpo section { display: flex; flex-direction: column; gap: 6px; }
.v2e-corpo h4 { font-family: 'Mirante', 'Helvetica Neue', serif; font-size: 16px; font-weight: 500; color: var(--v2-ink); margin: 0 0 2px; }
.v2e-corpo p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--v2-ink); }
.v2e-corpo p.v2f-mudo { font-size: 11.5px; color: var(--v2-sub); }
.v2e-aviso { background: #FFFFFF; border: 1px solid var(--v2-line-strong); border-radius: 10px; padding: 10px 12px; font-size: 12px; line-height: 1.5; color: var(--v2-ink); }
.v2e-abre { gap: 10px !important; }
.v2e-selos { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.v2e-selos > div { display: flex; flex-direction: column; gap: 2px; background: #F6F2EE; border-radius: 10px; padding: 10px 12px; }
.v2e-selos span { font-size: 11px; color: var(--v2-sub); }
.v2e-selos strong { font-size: 14px; font-weight: 600; color: var(--v2-ink); }
.v2e-alerta { border-left: 2px solid var(--v2-gold); padding-left: 10px; }
.v2e-por { color: var(--v2-ink); }
.v2e-ed { border-radius: 4px; cursor: text; }
.v2e-ed:hover { background: #F6F2EE; }
.v2e-ed:focus { outline: 1px solid var(--v2-line-strong); background: #FFFFFF; }
.v2e-f { display: inline-block; min-width: 16px; font-size: 10px; line-height: 16px; text-align: center; margin-left: 3px; padding: 0 3px; border-radius: 4px; background: #EDE7DE; color: var(--v2-ink); text-decoration: none; vertical-align: 1px; }
.v2e-f:hover { background: #E8E0CE; }
.v2e-vias { display: flex; flex-direction: column; border: 1px solid var(--v2-line); border-radius: 12px; overflow: hidden; }
.v2e-via { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 10px 12px; border-top: 1px solid var(--v2-line); }
.v2e-via:first-child { border-top: 0; }
.v2e-via.is-vendida { background: #FBF8F1; }
.v2e-via-c { display: flex; flex-direction: column; gap: 1px; }
.v2e-via-c strong { font-size: 12.5px; font-weight: 600; color: var(--v2-ink); }
.v2e-via-c small { font-size: 10.5px; color: var(--v2-sub); }
.v2e-via-d span:first-child { display: block; font-size: 11px; color: var(--v2-sub); margin-bottom: 2px; }
.v2e-via-d p { font-size: 12.5px; display: inline; }
.v2e-estudos { display: flex; flex-direction: column; gap: 8px; }
.v2e-estudo { border: 1px solid var(--v2-line); border-radius: 12px; padding: 10px 12px; }
.v2e-estudo header { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 12.5px; margin-bottom: 6px; }
.v2e-estudo header a { color: var(--v2-ink); }
.v2e-estudo header strong { font-weight: 600; }
.v2e-estudo header span { font-size: 11px; color: var(--v2-sub); }
.v2e-estudo dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 6px 14px; margin: 0; }
.v2e-estudo dt { font-size: 10.5px; color: var(--v2-sub); }
.v2e-estudo dd { margin: 0; font-size: 12px; line-height: 1.45; color: var(--v2-ink); }
.v2e-itens { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.v2e-itens li { font-size: 12.5px; line-height: 1.5; color: var(--v2-ink); }
.v2e-et { font-size: 10.5px; color: var(--v2-sub); background: #F6F2EE; padding: 1px 6px; border-radius: 4px; margin-right: 6px; white-space: nowrap; }
.v2e-nota { width: 100%; border: 1px solid var(--v2-line-strong); border-radius: 10px; padding: 8px 10px; font-family: inherit; font-size: 12.5px; line-height: 1.5; resize: vertical; box-sizing: border-box; }
.v2e-nota:focus { outline: 2px solid var(--v2-ink); outline-offset: 0; }
.v2e-buscas { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 11px; color: var(--v2-sub); justify-content: center; }
.v2e-fontes .v2e-buscas { justify-content: flex-start; }
.v2e-buscas strong { font-weight: 600; color: var(--v2-ink); }
.v2e-fontes ol { margin: 0; padding-left: 26px; display: flex; flex-direction: column; gap: 4px; font-size: 12px; line-height: 1.4; }
.v2e-fontes a { color: var(--v2-ink); }
@media (max-width: 640px) {
  .v2e-via { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .v2e-modal { max-height: 92vh; }
}
