/* ==========================================================================
   Global Qomex — Calculadora de viabilidade

   O quadro reusa a família `cm-*` (public/css/comercial/funil.css). Aqui fica
   só o que é próprio: o resumo financeiro dentro do card, a engrenagem das
   colunas, os votos dos aprovadores, os modais e a página de dentro da análise
   (Premissas · Viabilidade · Gráficos).
   ========================================================================== */

/* ── Card: os oito números da aba "Painel" da planilha ───────────────────── */
.gqv-card { cursor: pointer; }
.gqv-card-sub { padding: 0 10px 6px; font-size: 10.5px; color: var(--text-2); line-height: 1.35; }
.gqv-nums { padding: 0 10px 8px; display: flex; flex-direction: column; gap: 2px; }
.gqv-num { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 10.5px; }
.gqv-num-rot { color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gqv-num-val { font-family: var(--font-mono); font-weight: 700; color: var(--ink); white-space: nowrap; }
.gqv-num-val.gqv-pos { color: #2f7d4f; }
.gqv-num-val.gqv-neg { color: #a04040; }
.gqv-del {
    background: none; border: 1px solid transparent; border-radius: 6px; cursor: pointer;
    color: var(--text-2); width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; padding: 0;
}
.gqv-del svg { width: 13px; height: 13px; }
.gqv-del:hover { background: #fde6e0; color: #c0392b; border-color: #c0392b; }

/* ── Votos dos aprovadores (rodapé do card em "Em aprovação") ────────────── */
.gqv-votos { border-top: 1px dashed var(--border); padding: 6px 10px 8px; display: flex; flex-wrap: wrap; gap: 5px; }
.gqv-voto {
    display: inline-flex; align-items: center; gap: 4px; background: var(--surface-2);
    border: 1px solid var(--border); border-radius: 20px; padding: 1px 4px 1px 8px; font-size: 10px; color: var(--text-2);
}
.gqv-voto-nome { max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gqv-voto--aprovado { border-color: #2f7d4f; color: #2f7d4f; background: rgba(47,125,79,.07); }
.gqv-voto--reprovado { border-color: #c0392b; color: #c0392b; background: rgba(192,57,43,.07); }
.gqv-voto-ico { font-weight: 700; }
.gqv-voto-btn {
    width: 18px; height: 18px; border-radius: 50%; border: none; cursor: pointer;
    font-size: 11px; line-height: 1; display: flex; align-items: center; justify-content: center; color: #fff; padding: 0;
}
.gqv-voto-ok { background: #2f7d4f; }
.gqv-voto-ok:hover { background: #24603c; }
.gqv-voto-no { background: #c0392b; }
.gqv-voto-no:hover { background: #9c2d22; }

/* ── Engrenagem das colunas (tooltip "Configurar" no hover) ──────────────── */
.gqv-cfg {
    position: relative; background: none; border: 1px solid transparent; border-radius: 6px; cursor: pointer;
    color: var(--text-2); width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; padding: 0;
}
.gqv-cfg svg { width: 14px; height: 14px; }
.gqv-cfg:hover { background: var(--surface-2); color: var(--ink); border-color: var(--border); }
.gqv-cfg-tip {
    position: absolute; top: 100%; right: 0; margin-top: 4px; background: #2b2a26; color: #fff;
    font-size: 10px; white-space: nowrap; padding: 3px 7px; border-radius: 4px; opacity: 0;
    pointer-events: none; transition: opacity .12s ease; z-index: 30;
}
.gqv-cfg:hover .gqv-cfg-tip { opacity: 1; }
/* Colunas-cemitério: cinza, e sem engrenagem. */
.gqv-col--fim .cm-col-head { background: #f2f1ec; }
.gqv-col--fim .cm-col-name { color: var(--text-2); }

/* ── Modais ─────────────────────────────────────────────────────────────── */
.gqv-overlay {
    position: fixed; inset: 0; background: rgba(30,28,24,.42); z-index: 300;
    display: none; align-items: center; justify-content: center; padding: 24px;
}
.gqv-overlay.open { display: flex; }
.gqv-modal { background: #fff; border-radius: 10px; box-shadow: 0 24px 60px rgba(0,0,0,.28); width: min(560px, 100%); max-height: 88vh; display: flex; flex-direction: column; }
.gqv-modal--curto { width: min(420px, 100%); }
.gqv-modal-head { display: flex; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.gqv-modal-head h2 { margin: 0; font-family: var(--font-title); font-size: 15px; color: var(--ink); }
.gqv-modal-x { margin-left: auto; background: none; border: none; font-size: 20px; line-height: 1; cursor: pointer; color: var(--text-2); }
.gqv-modal-x:hover { color: var(--ink); }
.gqv-modal-body { padding: 16px 18px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.gqv-modal-foot { padding: 12px 18px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 8px; }
.gqv-campo { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.gqv-campo > span { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); }
.gqv-campo input, .gqv-campo select {
    padding: 8px 10px; border: 1px solid var(--border); border-radius: 6px; background: #f8f7f3;
    font-family: var(--font-body); font-size: 13px; color: var(--ink);
}
.gqv-campo input:focus, .gqv-campo select:focus { outline: none; background: #fff; border-color: var(--accent, #c8956d); }
.gqv-campo-linha { display: flex; gap: 12px; }
.gqv-hint { font-size: 11px; color: var(--text-2); font-style: italic; line-height: 1.45; }

.gqv-pessoa-linha { display: flex; gap: 6px; align-items: center; margin-bottom: 6px; }
.gqv-pessoa-sel { flex: 1; padding: 7px 9px; border: 1px solid var(--border); border-radius: 6px; background: #f8f7f3; font-size: 12.5px; }
.gqv-pessoa-btn {
    width: 28px; height: 28px; flex-shrink: 0; border: 1px solid var(--border); background: #fff;
    border-radius: 6px; cursor: pointer; font-size: 15px; line-height: 1; color: var(--text-2);
}
.gqv-pessoa-btn:hover { border-color: var(--accent, #c8956d); color: var(--ink); }
.gqv-pessoa-mais { color: #2f7d4f; }

/* ==========================================================================
   Página de DENTRO da análise — Premissas · Viabilidade · Gráficos
   (é página, não modal: foi assim que o Felipe pediu)
   ========================================================================== */
/* Adensamento de 11/09/2026: a planilha de referência tem dezenas de campos, e
   cada um vira uma linha. Reduzi respiro, fonte e a largura das colunas de
   rótulo e valor para caber mais tela, sem mexer na estrutura. Se um dia ficar
   apertado demais, os números a mexer são o `padding` de `.gqd-lin > *` e a
   fonte de `.gqd-rot`. */
.gqd-page { display: flex; flex-direction: column; gap: 10px; }
.gqd-top { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.gqd-voltar {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: #fff;
    border: 1px solid var(--card-border); border-radius: 6px; font-size: 12px; color: var(--text-primary); text-decoration: none;
}
.gqd-voltar:hover { border-color: var(--accent); color: var(--accent-dark); }
.gqd-titulo { font-family: var(--font-title); font-size: 17px; font-weight: 600; margin: 0; color: var(--text-primary); }
.gqd-sub { font-size: 11px; color: var(--text-secondary); margin-top: 1px; }
.gqd-acoes { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.gqd-abas { display: inline-flex; background: var(--bg); border: 1px solid var(--card-border); border-radius: 8px; overflow: hidden; }
.gqd-aba { padding: 6px 14px; background: none; border: none; font-family: var(--font-body); font-size: 11.5px; color: var(--text-secondary); cursor: pointer; }
.gqd-aba.on { background: #fff; color: var(--accent-dark); font-weight: 600; box-shadow: var(--shadow); }

.gqd-pdf { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 6px; border: 1px solid var(--card-border); background: #fff; font-size: 11.5px; cursor: pointer; color: var(--text-primary); position: relative; }
.gqd-pdf:hover { border-color: var(--accent); color: var(--accent-dark); }
.gqd-pdf svg { width: 14px; height: 14px; }
.gqd-pdf[disabled] { opacity: .55; cursor: not-allowed; background: #f1f0ea; }
.gqd-pdf[disabled]:hover { border-color: var(--card-border); color: var(--text-primary); }
.gqd-pdf-aviso { position: absolute; top: 100%; right: 0; margin-top: 6px; width: 280px; background: #2b2a26; color: #fff; font-size: 11px; line-height: 1.5; padding: 8px 10px; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .12s ease; z-index: 40; text-align: left; }
.gqd-pdf-wrap:hover .gqd-pdf-aviso { opacity: 1; }

.gqd-vista { background: #fff; border: 1px solid var(--card-border); border-radius: 8px; padding: 12px 14px; }
.gqd-vista[hidden] { display: none; }
.gqd-secao { font-family: var(--font-title); font-size: 12.5px; color: var(--accent-dark); margin: 0 0 6px; }
.gqd-secao:not(:first-child) { margin-top: 15px; }

/* Premissas: rótulo · campo · descrição (a mesma ordem da planilha) */
.gqd-grid { display: grid; grid-template-columns: 220px 150px 1fr; gap: 0; }
.gqd-grid-head { display: contents; }
.gqd-grid-head > span { font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; color: var(--text-secondary); padding: 4px 8px; border-bottom: 1px solid var(--card-border); }
.gqd-lin { display: contents; }
.gqd-lin > * { padding: 2px 8px; border-bottom: 1px solid #f0eee6; display: flex; align-items: center; }
.gqd-lin:nth-child(odd) > * { background: #fbfaf7; }
.gqd-rot { font-size: 11.5px; color: var(--text-primary); }
.gqd-desc { font-size: 10.5px; color: var(--text-secondary); line-height: 1.35; }
.gqd-inp { width: 100%; padding: 3px 7px; border: 1px solid var(--card-border); border-radius: 5px; background: #fff; font-family: var(--font-mono, var(--font-body)); font-size: 11.5px; text-align: right; color: var(--text-primary); }
.gqd-inp[type="text"].gqd-inp--txt, .gqd-inp[type="date"] { text-align: left; font-family: var(--font-body); }
.gqd-inp:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200,149,109,.16); }
.gqd-calc { font-family: var(--font-mono, var(--font-body)); font-size: 11.5px; color: var(--text-secondary); background: #f1f0ea; border: 1px dashed var(--card-border); border-radius: 5px; padding: 3px 7px; width: 100%; text-align: right; }
.gqd-un { font-size: 9.5px; color: var(--text-secondary); margin-left: 5px; }

/* Viabilidade: a tabela da aba do mesmo nome */
.gqd-tab { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.gqd-tab th { font-size: 9px; text-transform: uppercase; letter-spacing: .07em; color: var(--text-secondary); font-weight: 600; text-align: right; padding: 5px 8px; border-bottom: 1px solid var(--card-border); background: #f7f6f2; }
.gqd-tab th:first-child { text-align: left; }
.gqd-tab td { padding: 2px 8px; border-bottom: 1px solid #f2f0e9; text-align: right; font-family: var(--font-mono, var(--font-body)); }
.gqd-tab td:first-child { text-align: left; font-family: var(--font-body); }
.gqd-tab tr:hover td { background: #fbfaf7; }
.gqd-tab .gqd-zero td { color: #b3afa0; }
.gqd-tab tfoot td { font-weight: 700; background: #f7ede2; border-top: 2px solid var(--accent); }
.gqd-termo { padding: 2px 5px; border: 1px solid var(--card-border); border-radius: 5px; background: #fff; font-size: 10.5px; }
/* "Apply to all" inside the column header (escapes its uppercase styling) */
.gqd-termo--todos { display: block; margin: 4px 0 0 auto; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--text-primary); font-family: var(--font-body); }
/* Days of credit next to "A prazo" (informative, outside the math) */
.gqd-dias { display: inline-flex; align-items: center; gap: 3px; margin-left: 5px; vertical-align: middle; }
.gqd-dias input { width: 46px; padding: 2px 4px; border: 1px solid var(--card-border); border-radius: 5px; background: #fff; font-size: 10.5px; text-align: right; font-family: var(--font-mono, var(--font-body)); }
.gqd-dias i { font-style: normal; font-size: 10px; color: var(--text-secondary); }
.gqd-tab th .gqd-dias { display: flex; justify-content: flex-end; margin: 4px 0 0; text-transform: none; letter-spacing: 0; font-weight: 500; }
.gqd-memoria { font-size: 10px; color: var(--text-secondary); font-style: italic; }

.gqd-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 8px; margin-bottom: 12px; }
.gqd-kpi { border: 1px solid var(--card-border); border-radius: 8px; background: #fff; padding: 8px 11px; border-left: 3px solid var(--accent); }
.gqd-kpi-rot { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-secondary); }
.gqd-kpi-val { font-family: var(--font-title); font-size: 15px; font-weight: 600; margin-top: 2px; color: var(--text-primary); }
.gqd-kpi-desc { font-size: 10.5px; color: var(--text-secondary); margin-top: 2px; }
.gqd-kpi.pos { border-left-color: #2f7d4f; } .gqd-kpi.pos .gqd-kpi-val { color: #2f7d4f; }
.gqd-kpi.neg { border-left-color: #a04040; } .gqd-kpi.neg .gqd-kpi-val { color: #a04040; }

/* Gráficos: barras e pizza desenhadas em CSS/SVG (sem biblioteca) */
.gqd-graf { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 1100px) { .gqd-graf { grid-template-columns: 1fr; } }
.gqd-barras { display: flex; flex-direction: column; gap: 6px; }
.gqd-barra { display: grid; grid-template-columns: 150px 1fr 92px; gap: 8px; align-items: center; font-size: 11.5px; }
.gqd-barra-rot { color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gqd-barra-trilho { display: block; background: #f1f0ea; border-radius: 4px; height: 14px; overflow: hidden; }
.gqd-barra-fill { display: block; height: 100%; background: linear-gradient(90deg, #c8956d, #a87b3f); border-radius: 4px; }
.gqd-barra-val { text-align: right; font-family: var(--font-mono, var(--font-body)); color: var(--text-secondary); }
.gqd-pizza-wrap { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.gqd-legenda { display: flex; flex-direction: column; gap: 4px; font-size: 11.5px; }
.gqd-legenda-item { display: flex; align-items: center; gap: 7px; }
.gqd-legenda-cor { width: 11px; height: 11px; border-radius: 3px; flex-shrink: 0; }
.gqd-comp { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

/* ==========================================================================
   Global Trade Workflow (04/09/2026)
   O quadro usa a família `cm-*`; aqui fica o que é próprio: badges, menu
   expansível de cada coluna, seletor de viabilidade e a barra de progresso.
   ========================================================================== */
.gtw-card { cursor: default; }
.gtw-card--rep { box-shadow: inset 3px 0 0 #c0392b; }
.gtw-resumo { padding: 0 10px 4px; font-family: var(--font-mono); font-size: 10.5px; color: var(--text-2); }
.gtw-badges { display: flex; flex-wrap: wrap; gap: 4px; padding: 2px 10px 8px; }
.gtw-badge {
    display: inline-flex; align-items: center; gap: 4px; background: var(--surface-2);
    border: 1px solid var(--border); border-radius: 20px; padding: 1px 8px;
    font-size: 9.5px; color: var(--text-2);
}
.gtw-badge svg { width: 10px; height: 10px; }
.gtw-badge--viab { border-color: var(--navy); color: var(--navy); }
.gtw-badge--rep { border-color: #c0392b; color: #c0392b; background: rgba(192,57,43,.07); }

.gtw-exp-btn {
    width: 100%; background: none; border: none; border-top: 1px dashed var(--border);
    padding: 5px 10px; font-size: 10.5px; color: var(--text-2); cursor: pointer; text-align: left;
}
.gtw-exp-btn:hover { color: var(--ink); background: var(--surface-2); }
.gtw-exp { border-top: 1px dashed var(--border); padding: 8px 10px; display: flex; flex-direction: column; gap: 7px; }
.gtw-exp-linha { font-size: 11px; color: var(--ink); }
.gtw-exp-vazio { font-size: 10.5px; color: var(--text-2); font-style: italic; }
.gtw-exp-acoes { display: flex; flex-wrap: wrap; gap: 6px; }
.gtw-mini {
    display: inline-flex; align-items: center; gap: 5px; background: var(--surface);
    border: 1px solid var(--border); border-radius: 6px; padding: 3px 9px;
    font-size: 10.5px; color: var(--ink); cursor: pointer; text-decoration: none;
}
.gtw-mini:hover { border-color: var(--cyan); color: var(--navy); }
.gtw-acao-forte { border-color: var(--navy); color: var(--navy); font-weight: 600; }
/* ARMADILHA (07/09/2026): `[class*='ni-']` no style.css transforma em ÍCONE
   qualquer elemento cuja classe contenha "ni-". "gtw-mini--file" continha
   ("mi·ni-·-file") e o texto do botão saía como uma fileira de círculos. Nunca
   use "ni-" no meio de uma classe — nem em modificador. */
.gtw-anexo-add { position: relative; }
.gtw-anexo-bloco { display: flex; flex-direction: column; gap: 4px; }
.gtw-anexo-rot { font-size: 9.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); font-weight: 600; }
.gtw-anexo { display: flex; align-items: center; gap: 5px; font-size: 10.5px; }
.gtw-anexo svg { width: 11px; height: 11px; color: var(--text-2); flex-shrink: 0; }
.gtw-anexo a { color: var(--ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gtw-anexo a:hover { text-decoration: underline; }
.gtw-anexo-x { background: none; border: none; color: var(--text-2); cursor: pointer; font-size: 12px; line-height: 1; padding: 0 2px; }
.gtw-anexo-x:hover { color: #c0392b; }
.gtw-orc {
    display: inline-flex; align-items: center; gap: 6px; background: #f1f0ea; border: 1px solid var(--border);
    border-radius: 6px; padding: 6px 12px; font-size: 11px; color: var(--text-2); cursor: not-allowed;
}
.gtw-orc svg { width: 12px; height: 12px; }
.gtw-prog { height: 6px; margin-top: 7px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.gtw-prog i { display: block; height: 100%; background: linear-gradient(90deg, #c8956d, #2f7d4f); }

/* Seletor de viabilidade: cards em lista com busca */
.gtw-viab-busca { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.gtw-viab-busca svg { width: 15px; height: 15px; color: var(--text-secondary); }
.gtw-viab-busca input {
    flex: 1; padding: 8px 10px; border: 1px solid var(--card-border); border-radius: 6px;
    background: #f8f7f3; font-family: var(--font-body); font-size: 13px;
}
.gtw-viab-busca input:focus { outline: none; background: #fff; border-color: var(--accent); }
.gtw-viab-lista { display: flex; flex-direction: column; gap: 6px; max-height: 48vh; overflow-y: auto; }
.gtw-viab-card {
    display: grid; grid-template-columns: auto auto 1fr; grid-template-rows: auto auto auto;
    gap: 2px 8px; text-align: left; background: #fff; border: 1px solid var(--card-border);
    border-radius: 8px; padding: 9px 11px; cursor: pointer;
}
.gtw-viab-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.gtw-viab-card.is-on { border-color: var(--accent-dark); background: #f7ede2; }
.gtw-viab-code { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--accent-dark); }
.gtw-viab-etapa { font-size: 9.5px; text-transform: uppercase; letter-spacing: .06em; border-radius: 10px; padding: 1px 7px; background: #f1f0ea; color: var(--text-secondary); }
.gtw-viab-etapa--aprovados { background: rgba(47,125,79,.12); color: #2f7d4f; }
.gtw-viab-etapa--reprovados { background: rgba(192,57,43,.10); color: #c0392b; }
.gtw-viab-nome { grid-column: 3; font-size: 13px; font-weight: 600; color: var(--text-primary); }
.gtw-viab-op { grid-column: 1 / -1; font-size: 11px; color: var(--text-secondary); }
.gtw-viab-nums { grid-column: 1 / -1; font-family: var(--font-mono); font-size: 10.5px; color: var(--text-secondary); }
.gtw-viab-alerta { grid-column: 1 / -1; font-size: 10px; color: #b0451f; }

/* ==========================================================================
   Workflow de operação — linhas de caminhão
   ========================================================================== */
.op-page { display: flex; flex-direction: column; gap: 14px; }
.op-top { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.op-sub { font-size: 12px; color: var(--text-secondary); margin: 4px 0 0; max-width: 780px; }
.op-acoes { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.op-grade { background: #fff; border: 1px solid var(--card-border); border-radius: 8px; overflow: hidden; }
/* A grade: rótulo da operação + uma coluna por etapa. */
/* O cabeçalho tem de repetir EXATAMENTE a grade da linha, senão os rótulos
   descolam das colunas (foi o que aconteceu quando a regra antiga que
   trazia o `display: grid` saiu). */
.op-cab { display: grid; grid-template-columns: 260px repeat(4, 1fr); background: #f7f6f2; border-bottom: 1px solid var(--card-border); }
.op-cab-etapa {
    padding: 8px 10px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em;
    color: var(--text-secondary); text-align: center; border-left: 1px solid var(--card-border);
}

/* A LINHA é a grade: primeira coluna com o nome da operação, depois uma coluna
   por etapa. Clicar em qualquer espaço vazio abre a ficha do card. */
.op-linha {
    display: grid; grid-template-columns: 260px repeat(4, 1fr);
    border-bottom: 1px solid var(--card-border); min-height: 84px; cursor: pointer;
}
.op-linha:last-child { border-bottom: none; }
.op-linha:hover { background: #fdfcfa; }
.op-cel--nome { border-left: none; justify-content: flex-start; background: #fbfaf7; }
.op-nome { display: flex; flex-direction: column; gap: 3px; min-width: 0; width: 100%; }
.op-linha-code { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--accent-dark); }
/* wrap de verdade: nome longo quebra em vez de estourar a coluna */
.op-linha-nome { font-size: 13px; font-weight: 600; color: var(--text-primary); line-height: 1.3; overflow-wrap: anywhere; }
.op-linha-meta { font-size: 11px; color: var(--text-secondary); line-height: 1.35; overflow-wrap: anywhere; }
.op-linha-prog { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--text-secondary); margin-top: 3px; flex-wrap: wrap; }
.op-prog { width: 96px; height: 6px; border-radius: 4px; background: #f1f0ea; overflow: hidden; flex-shrink: 0; }
.op-prog i { display: block; height: 100%; background: linear-gradient(90deg, #c8956d, #2f7d4f); }
.op-linha-conta { font-family: var(--font-mono); font-size: 9.5px; }
.op-cab-nome { text-align: left; border-left: none; }
.op-cel {
    border-left: 1px solid var(--card-border); display: flex; align-items: center; justify-content: center;
    padding: 10px 8px; min-height: 74px; min-width: 0;
}
.op-cel--drop { background: rgba(200,149,109,.10); box-shadow: inset 0 0 0 2px var(--accent-dark); }
/* Caminhões centralizados; muitos na mesma etapa se sobrepõem de leve em vez
   de estourar a coluna. */
.op-cel-trucks { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; }
.op-cel--apertado .op-cel-trucks { gap: 0; }
.op-cel--apertado .op-truck { margin-left: -10px; }
.op-cel--apertado .op-truck:first-child { margin-left: 0; }
.op-cel--apertado .op-truck:hover { z-index: 5; }

.op-truck {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px;
    background: #fff; border: 1px solid var(--card-border); border-radius: 8px; padding: 5px 7px 4px;
    cursor: grab; color: var(--text-primary); transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.op-truck:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.12); border-color: var(--accent); z-index: 4; }
.op-truck--drag { opacity: .5; }
.op-truck-ico svg { width: 34px; height: 20px; display: block; }
.op-truck-ton { font-family: var(--font-mono); font-size: 9.5px; font-weight: 700; color: var(--accent-dark); line-height: 1; }
.op-truck-placa { font-family: var(--font-mono); font-size: 8px; color: var(--text-secondary); line-height: 1; }

.op-vazio { padding: 40px 20px; text-align: center; font-size: 12.5px; color: var(--text-secondary); }
.op-anexos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 4px 0; }
/* As datas no canto inferior direito, como no card de Compras › Importação. */
.op-datas { display: flex; gap: 12px; justify-content: flex-end; margin-top: 4px; }
.op-datas .gqv-campo { flex: 0 0 150px; }

/* Ícone de vínculo com o Global Trade Workflow (nos dois sentidos). */
.gqv-linkico {
    background: none; border: 1px solid var(--navy); border-radius: 6px; cursor: pointer;
    color: var(--navy); width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; padding: 0;
}
.gqv-linkico svg { width: 12px; height: 12px; }
.gqv-linkico:hover { background: var(--navy); color: #fff; }
.gqd-gtw { border-color: var(--accent-dark); color: var(--accent-dark); font-family: var(--font-mono); font-size: 11px; }
/* Card alvo do atalho: pisca para o usuário achar na hora. */
.gtw-card--alvo { box-shadow: 0 0 0 2px var(--cyan), 0 6px 18px rgba(0,0,0,.14); transition: box-shadow .2s; }

/* Modal do caminhão: três blocos de anexo lado a lado precisam de largura. */
.op-modal { width: min(720px, 100%); }
.op-anexos { gap: 14px; }
.op-anexo-bloco { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.op-anexo-bloco .gtw-anexo-add { align-self: flex-start; white-space: nowrap; }
.op-anexo-bloco .gtw-anexo a { max-width: 100%; }
@media (max-width: 760px) { .op-anexos { grid-template-columns: 1fr; } }

/* ── Ficha da operação (o modal do card do Global Trade Workflow) ────────── */
.gtw-modal-card { width: min(680px, 100%); }
.gtw-c-coluna {
    margin-left: 10px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em;
    background: var(--surface-2, #f1f0ea); border: 1px solid var(--border, #e4e0d4);
    border-radius: 12px; padding: 2px 9px; color: var(--text-secondary);
}
.gtw-c-bloco { border: 1px solid var(--card-border); border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 7px; }
.gtw-c-bloco-tit { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--text-secondary); }
.gtw-c-linha { font-size: 12.5px; color: var(--text-primary); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.gtw-c-alerta { font-size: 11.5px; color: #c0392b; }
.gtw-c-anexos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gtw-c-del { color: #c0392b; border-color: #e6c3bd; }
.gtw-c-del:hover { background: #fde6e0; }
.gtw-modal-card .gqv-modal-foot { gap: 8px; }
/* O aviso do porquê não se pode avançar fica entre o Excluir e os botões; com
   folga à esquerda para não encostar no botão e podendo quebrar linha. */
.gtw-modal-card .gqv-modal-foot { flex-wrap: wrap; }
.gtw-modal-card .gqv-modal-foot .gqv-hint { order: -1; flex: 1 1 100%; text-align: right; }
.gtw-modal-card .gqv-modal-foot .gtw-c-del { margin-right: auto; }

/* ==========================================================================
   FICHA do card do Global Trade Workflow (08/09/2026)

   Régua de estágios em chevrons + seções retráteis, no mesmo desenho do card
   de Compras › Importação e exportação (`cx-ruler` / `cx-group` de
   public/css/comex/controle.css). Aqui vive uma família própria (`gqf-*`)
   porque o CSS do comex não é carregado nesta tela — e porque as duas telas
   podem divergir sem se atrapalhar.

   ARMADILHA: o `[class*='ni-']` do style.css transforma qualquer elemento cuja
   classe CONTENHA "ni-" num ícone mascarado. Nada aqui pode ter "ni-" no meio
   do nome.
   ========================================================================== */

/* ── régua de estágios: cada um é uma seta apontando para o próximo ───────── */
.gqf-meta { display: flex; align-items: stretch; padding: 2px 18px 12px; }
.gqf-ruler { display: flex; flex: 1; min-width: 0; gap: 2px; align-items: stretch; }
.gqf-ruler-seg {
    position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center; min-height: 46px;
    padding: 6px 10px 6px 17px; text-align: center; background: var(--surface-2);
    transition: background .15s;
    clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 50%, calc(100% - 11px) 100%, 0 100%, 11px 50%);
}
.gqf-ruler-seg:first-child { padding-left: 12px; clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 50%, calc(100% - 11px) 100%, 0 100%); }
.gqf-ruler-seg:last-child { padding-right: 12px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 11px 50%); }
/* Os nomes dos estágios são longos ("Programação financeira"). Quebra só nos
   ESPAÇOS: com `break-word` saía "OPORTUNIDA / DES". */
.gqf-ruler-name {
    font-size: 8px; line-height: 1.2; text-transform: uppercase; letter-spacing: .02em;
    word-break: normal; overflow-wrap: break-word; hyphens: none;
}
.gqf-ruler-seg--pending .gqf-ruler-name { color: var(--text-secondary); }
.gqf-ruler-seg--done { background: #dcf1e5; }
.gqf-ruler-seg--done .gqf-ruler-name { color: #2f7d4f; font-weight: 600; }
.gqf-ruler-seg--current { background: #7a5d1a; }
.gqf-ruler-seg--current .gqf-ruler-name { color: #fff; font-weight: 700; }
.gqf-ruler-mvs { display: flex; gap: 6px; margin-top: 5px; }
.gqf-ruler-mv {
    width: 24px; height: 17px; display: grid; place-items: center; cursor: pointer;
    border: none; border-radius: 4px; background: rgba(255, 255, 255, .26);
    color: #fff; font-size: 11px; font-weight: 700; line-height: 1; transition: .12s;
}
.gqf-ruler-mv:hover { background: rgba(255, 255, 255, .55); }

/* ── campos fixos (valem em qualquer estágio) ─────────────────────────────── */
.gqf-fixos { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 12px; margin-bottom: 14px; }
.gqf-campo--largo { grid-column: 1 / -1; }

/* ── seções retráteis, uma por estágio ───────────────────────────────────── */
.gqf-grupos { display: flex; flex-direction: column; gap: 6px; }
.gqf-grupo { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--surface); }
.gqf-grupo--current { border-color: #c8a24a; background: #fdfbf5; }
.gqf-grupo-head {
    display: flex; align-items: center; gap: 8px; width: 100%; text-align: left;
    padding: 8px 10px; background: none; border: 0; cursor: pointer;
}
.gqf-grupo-marca {
    width: 16px; height: 16px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center;
    font-size: 9px; line-height: 1; color: #fff; background: #7a5d1a;
}
.gqf-grupo--done .gqf-grupo-marca { background: #2f7d4f; }
.gqf-grupo--pending .gqf-grupo-marca { background: transparent; color: var(--text-secondary); border: 1px solid var(--border); }
.gqf-grupo-nome {
    flex: 1; font-weight: 600; font-size: 12px; color: var(--ink);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gqf-grupo--pending .gqf-grupo-nome { color: var(--text-secondary); }
.gqf-grupo-conta {
    font-size: 9.5px; color: var(--text-secondary); background: var(--surface-2);
    border: 1px solid var(--border); border-radius: 20px; padding: 1px 7px;
}
.gqf-grupo-chev { color: var(--text-secondary); font-size: 10px; transition: transform .18s; }
.gqf-grupo[data-open] .gqf-grupo-chev { transform: rotate(180deg); }
.gqf-grupo-body { display: none; padding: 2px 10px 11px; }
.gqf-grupo[data-open] .gqf-grupo-body { display: block; }

/* ── campos dentro das seções ────────────────────────────────────────────── */
.gqf-campos { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 12px; }
.gqf-campo { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.gqf-lbl { font-size: 9.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--text-secondary); }
.gqf-inp {
    width: 100%; box-sizing: border-box; padding: 7px 9px; font-size: 12.5px; color: var(--ink);
    background: #f8f7f3; border: 1px solid var(--border); border-radius: 6px;
}
.gqf-inp:focus { outline: none; background: #fff; border-color: #c8956d; }
.gqf-inp--usd { text-align: right; font-variant-numeric: tabular-nums; }
.gqf-num-wrap { position: relative; display: flex; align-items: center; }
.gqf-sufixo {
    position: absolute; right: 9px; font-size: 10.5px; color: var(--text-secondary);
    pointer-events: none; background: linear-gradient(90deg, transparent, #f8f7f3 40%); padding-left: 8px;
}
.gqf-nota { margin-top: 8px; font-size: 11px; font-style: italic; color: var(--text-secondary); line-height: 1.5; }

/* ── resumo da margem (estágio Viabilidade) ──────────────────────────────── */
.gqf-margem { display: flex; flex-direction: column; gap: 4px; }
.gqf-margem-l {
    display: flex; align-items: baseline; gap: 8px; font-size: 12px; color: var(--text-secondary);
    padding: 4px 0; border-bottom: 1px dashed var(--border);
}
.gqf-margem-l span { flex: 1; }
.gqf-margem-l b { font-size: 13px; color: var(--ink); font-variant-numeric: tabular-nums; }
.gqf-margem-l--tot { border-bottom: 0; padding-top: 7px; }
.gqf-margem-l--tot b { font-size: 15px; color: #2f7d4f; }
.gqf-margem-l--tot i { font-size: 11px; font-style: normal; color: #2f7d4f; background: #dcf1e5; border-radius: 20px; padding: 1px 8px; }
.gqf-margem-l--tot.is-ruim b, .gqf-margem-l--tot.is-ruim i { color: #a04040; }
.gqf-margem-l--tot.is-ruim i { background: #f6e2e2; }

.gqf-op-prog { margin-top: 10px; }

/* ── acabamento ">>" na aresta esquerda dos cards de Oportunidades ────────────
   Uma faixa que ocupa a lateral inteira do card e empurra para "Viabilidade".
   O card ganha recuo à esquerda para a faixa não passar por cima do texto. */
.gtw-card--empurra { position: relative; padding-left: 26px; }
.gtw-empurra {
    position: absolute; left: 0; top: 0; bottom: 0; width: 20px;
    display: grid; place-items: center; cursor: pointer;
    border: 0; border-right: 1px solid var(--border);
    border-radius: 8px 0 0 8px; background: var(--surface-2);
    color: var(--text-secondary); transition: background .14s, color .14s;
}
.gtw-empurra span { font-size: 14px; font-weight: 700; line-height: 1; letter-spacing: -1px; }
.gtw-empurra:hover { background: #7a5d1a; color: #fff; border-right-color: #7a5d1a; }
.gtw-empurra:focus-visible { outline: 2px solid #c8956d; outline-offset: -2px; }

/* ── busca de caminhão no topo do Workflow de operação ────────────────────── */
.op-busca {
    display: flex; align-items: center; gap: 7px; padding: 5px 10px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
}
.op-busca svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--text-secondary); }
.op-busca input {
    width: 240px; border: 0; background: none; font-size: 12.5px; color: var(--ink);
}
.op-busca input:focus { outline: none; }
.op-busca-x {
    border: 0; background: none; cursor: pointer; font-size: 15px; line-height: 1;
    color: var(--text-secondary); padding: 0 2px;
}
.op-busca-x:hover { color: var(--ink); }
.op-busca-conta { font-size: 10.5px; color: #2f7d4f; background: #dcf1e5; border-radius: 20px; padding: 1px 8px; }
.op-busca-conta.is-zero { color: #a04040; background: #f6e2e2; }

/* Caminhão que casou com a busca: pintado. Os outros só desbotam — o Felipe
   quer VER onde o caminhão está na linha, não filtrar a linha. */
.op-truck--achado {
    border-color: #7a5d1a; background: #f6ecd7; color: #6b5316;
    box-shadow: 0 0 0 2px rgba(122, 93, 26, .18);
}
.op-truck--apagado { opacity: .38; }

/* ── modal do caminhão: acordeão à esquerda, datas à direita ──────────────── */
.op-modal-cols { display: grid; grid-template-columns: 1fr 232px; gap: 14px; align-items: start; }
.op-modal-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.op-modal-datas {
    border: 1px solid var(--border); border-radius: 9px; background: var(--surface-2); padding: 10px 11px;
}
.op-datas-tit {
    font-size: 9.5px; text-transform: uppercase; letter-spacing: .09em;
    color: var(--text-secondary); margin-bottom: 9px;
}
.op-datas-lista { display: flex; flex-direction: column; gap: 7px; }
.op-data-row { display: flex; gap: 8px; align-items: flex-start; }
.op-data-num {
    flex: 0 0 auto; width: 17px; height: 17px; margin-top: 1px; border-radius: 50%;
    display: grid; place-items: center; font-size: 9.5px; line-height: 1;
    color: #fff; background: #7a5d1a;
}
.op-data-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.op-data-lbl { font-size: 8.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-secondary); }
.op-data-inp { padding: 5px 7px; font-size: 11.5px; }

/* O tracejado vermelho: acima dele, o que já aconteceu; abaixo, estimativa.
   É o mesmo recurso do card de Compras › Importação e exportação. */
.op-data-corte { height: 0; margin: 3px 2px; border-top: 1.5px dashed #d64545; }
.op-data-row.is-futura .op-data-inp { color: #c0392b; }
.op-data-row.is-futura .op-data-num { background: rgba(214, 69, 69, .14); color: #c0392b; }

.op-modal .op-anexos { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 10px; }
.op-modal .op-anexos > .op-anexo-bloco:only-child { grid-column: 1 / -1; }

@media (max-width: 900px) {
    .op-modal-cols { grid-template-columns: 1fr; }
}

/* Margem negativa no card do quadro: vermelho, como no resumo da ficha. */
.gtw-resumo--ruim { color: #a04040; }

/* ==========================================================================
   Ajustes de 10/09/2026 na ficha do card
   ========================================================================== */

/* ── o ">>" mudou para a aresta DIREITA ──────────────────────────────────────
   Nasceu na esquerda em 08/09; o Felipe pediu na direita, que é o lado para
   onde o card vai. As regras antigas de `.gtw-card--empurra` ficam sobrescritas
   aqui embaixo de propósito — é a MESMA classe, só do outro lado. */
.gtw-card--empurra { padding-left: 12px; padding-right: 26px; }
.gtw-empurra {
    left: auto; right: 0;
    border-right: 0; border-left: 1px solid var(--border);
    border-radius: 0 8px 8px 0;
}
.gtw-empurra:hover { border-left-color: #7a5d1a; }

/* ── altura FIXA do modal da ficha ───────────────────────────────────────────
   Com altura automática o modal crescia e encolhia a cada seção retrátil que se
   abria, e isso incomodava. Agora quem rola é o corpo; cabeçalho, régua e
   rodapé ficam parados. */
.gtw-modal-card {
    height: min(86vh, 780px);
    display: flex; flex-direction: column;
}
.gtw-modal-card .gqv-modal-head,
.gtw-modal-card .gqf-meta,
.gtw-modal-card .gqv-modal-foot { flex: 0 0 auto; }
.gtw-modal-card .gqv-modal-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; }

/* ── cabeçalho: 4 linhas de campos ───────────────────────────────────────── */
.gqf-fixos .gqv-campo select,
.gqf-fixos .gqv-campo input { width: 100%; box-sizing: border-box; }

/* Campo que a análise de viabilidade exige e que ainda está vazio. */
.gqf-fixos .is-obrig,
.gqf-fixos .is-obrig:focus {
    border-color: #d64545 !important;
    box-shadow: 0 0 0 2px rgba(214, 69, 69, .14);
}

/* ── seção Oportunidades: moeda + três valores ───────────────────────────── */
.gqf-moeda-linha { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 10px; }
.gqf-campo--moeda { flex: 0 0 190px; }
.gqf-nota--moeda { flex: 1; margin: 0 0 2px; }
.gqf-valores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px 12px; }

/* "Resultado bruto": calculado, não se digita. */
.gqf-inp--calc { background: var(--surface-2); color: var(--ink); font-weight: 600; cursor: default; }
.gqf-inp--calc.is-ruim {
    border-color: #d64545; background: #fdf2f2; color: #a04040;
    box-shadow: 0 0 0 2px rgba(214, 69, 69, .12);
}
.gqf-margem-chip {
    margin-left: 6px; font-size: 9px; font-weight: 700; letter-spacing: 0; text-transform: none;
    color: #2f7d4f; background: #dcf1e5; border-radius: 20px; padding: 1px 7px;
}
.gqf-margem-chip.is-ruim { color: #a04040; background: #f6e2e2; }
.gqf-nota--ruim { color: #a04040; font-style: normal; }

/* ── seção Viabilidade ───────────────────────────────────────────────────── */
.gqf-viab-vazia { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.gqf-viab-btn:disabled { cursor: not-allowed; opacity: .55; }
/* A miniatura é a MESMA da Calculadora (`gqv-card`), sem cliente e produto —
   isso já está no cabeçalho da ficha. Aqui ela só ganha o clique. */
.gqf-viab-card { cursor: pointer; margin: 0; transition: border-color .14s, box-shadow .14s; }
.gqf-viab-card:hover { border-color: #c8956d; box-shadow: 0 4px 14px rgba(0, 0, 0, .08); }
.gqf-viab-card:focus-visible { outline: 2px solid #c8956d; outline-offset: 2px; }

/* ── modal de AVISO ──────────────────────────────────────────────────────────
   Por que o card não pode andar. Fecha no ×, no fundo e no Esc. */
/* Overlay próprio (ver a armadilha no parcial): mesmo desenho do
   `.gqv-overlay`, com z-index acima da ficha. */
.gqf-aviso-over {
    position: fixed; inset: 0; z-index: 1200; background: rgba(30, 28, 24, .42);
    display: none; align-items: center; justify-content: center; padding: 24px;
}
.gqf-aviso-over.open { display: flex; }
.gqf-aviso {
    position: relative; width: min(420px, 92vw); box-sizing: border-box;
    background: var(--surface, #fff); border: 1px solid var(--border);
    border-radius: 14px; padding: 26px 26px 20px; text-align: center;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .28);
    transform: scale(.97); transition: transform .18s;
}
.gqf-aviso-over.open .gqf-aviso { transform: none; }
.gqf-aviso-x { position: absolute; top: 10px; right: 10px; }
.gqf-aviso-ico {
    width: 46px; height: 46px; margin: 0 auto 12px; display: grid; place-items: center;
    border-radius: 50%; background: #f6ecd7; color: #7a5d1a;
}
.gqf-aviso-ico svg { width: 24px; height: 24px; }
.gqf-aviso-tit { margin: 0 0 7px; font-size: 16px; font-weight: 700; color: var(--ink); }
.gqf-aviso-msg { margin: 0 0 18px; font-size: 12.5px; line-height: 1.55; color: var(--text-secondary); }
.gqf-aviso-pe { display: flex; justify-content: center; }

@media (max-width: 760px) {
    .gqf-valores { grid-template-columns: 1fr; }
    .gqf-moeda-linha { flex-direction: column; align-items: stretch; }
    .gqf-campo--moeda { flex: 1 1 auto; }
}

/* Coluna de aprovação sem ninguém configurado: o card avisa em vez de ficar
   com uma faixa vazia embaixo. */
.gtw-votos-vazio { font-size: 10.5px; font-style: italic; color: var(--text-secondary); }

/* ── controle por QUILO (11/09/2026) ─────────────────────────────────────────
   A barra de progresso conta ETAPAS; este mostrador conta CARGA. Os dois vivem
   na primeira coluna da linha, um debaixo do outro. */
.op-linha-kg {
    display: flex; align-items: center; gap: 6px; margin-top: 5px;
    font-size: 10.5px; color: var(--text-secondary); font-variant-numeric: tabular-nums;
}
.op-linha-kg b { color: var(--ink); font-weight: 600; }
.op-kg-barra {
    flex: 0 0 54px; height: 4px; border-radius: 3px; background: var(--surface-2); overflow: hidden;
}
.op-kg-barra i { display: block; height: 100%; background: #7a5d1a; }
.op-linha-kg.is-completa .op-kg-barra i { background: #2f7d4f; }
.op-linha-kg.is-completa b { color: #2f7d4f; }
.op-kg-pct { opacity: .75; }
.op-linha-kg--vazio { font-style: italic; opacity: .7; }

/* Caminhão ainda sem peso: a etiqueta "—" não pode competir com as que têm. */
.op-truck-ton--vazio { opacity: .45; }

/* O mesmo mostrador, dentro da seção Operação da ficha do card. */
.gqf-kg { margin-top: 9px; }
.gqf-kg-barra { height: 5px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.gqf-kg-barra i { display: block; height: 100%; background: #7a5d1a; }
.gqf-kg-txt {
    margin-top: 5px; font-size: 11.5px; color: var(--text-secondary);
    font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
}
.gqf-kg-txt b { color: var(--ink); font-size: 12.5px; }
.gqf-kg-pct { opacity: .75; }
.gqf-kg-falta { font-style: italic; color: #a0763a; }
.gqf-kg-ok { font-style: italic; color: #2f7d4f; }
.gqf-kg--vazio { margin-top: 9px; font-size: 11px; font-style: italic; color: var(--text-secondary); }
