/* Abastecimento (catálogo comparativo, variantes, carrinho, confirmação,
   histórico) e Compras coletivas (página do GPO, campanhas, registro de
   demanda, participação e pesquisa).
   Usa os papéis de sohma-app.css e os componentes de sohma-cliente.css.
   Regra de texto: sem travessão. */

.sr-only { position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.voltar { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; font-size: 13.5px; font-weight: 600; color: var(--strong); }
.voltar svg { width: 15px; height: 15px; }
.voltar:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Estados de pedido e de campanha */
.status-enviado      { background: #e8f0ff; color: #1d4fb8; }
.status-confirmado   { background: var(--ok-bg); color: var(--ok); }
.status-entregue     { background: var(--ok-bg); color: var(--ok); }
.status-aberta       { background: var(--ok-bg); color: var(--ok); }
.status-consolidando { background: var(--alerta-bg); color: var(--alerta); }
.status-encerrada    { background: var(--gray-100); color: var(--ink-3); }

/* ── Abastecimento: condições de entrega ──────────────────────────────── */
.abast { padding-bottom: 96px; }
.entrega { padding: 18px 20px; margin-bottom: 16px; }
.entrega-cab { display: flex; align-items: center; gap: 12px 14px; flex-wrap: wrap; }
.entrega-ic { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; color: var(--strong); background: var(--c-pale-2); }
.entrega-ic svg { width: 22px; height: 22px; }
.entrega-tit { flex: 1 1 160px; margin: 0; font-size: 1.05rem; }
.entrega-sel { flex: 0 1 340px; min-width: 0; }
.entrega-dados { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 16px 0 0; }
.entrega-dados > div { padding: 11px 14px; border-radius: 12px; background: var(--gray-100); }
.entrega-dados dt { font-size: 12.5px; color: var(--ink-3); }
.entrega-dados dd { margin: 2px 0 0; font-family: var(--f-display); font-weight: var(--f-display-w); font-size: 1.12rem; color: var(--ink); }
.entrega-dados dd.gratis { color: var(--ok); }
.entrega-barra { margin-top: 16px; }
.fabrica-aviso.erro { color: var(--erro); }
.entrega-vazia { margin: 10px 0 0; font-size: 13.5px; color: var(--ink-3); }
.cart-sidebar .entrega-dados { grid-template-columns: 1fr 1fr; }
.cart-sidebar .entrega-sel { flex-basis: 100%; }
@media (max-width: 760px) {
  .entrega-dados { grid-template-columns: 1fr 1fr; }
  .entrega-sel { flex-basis: 100%; }
}

/* ── Abastecimento: barra de categorias e busca ───────────────────────── */
.abast-barra { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.abast-barra .cat-abas { margin: 0; flex: 0 1 auto; max-width: 100%; }
.busca { position: relative; flex: 1 1 240px; max-width: 380px; }
.busca svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-3); pointer-events: none; }
.busca input { width: 100%; padding-left: 40px; }
.busca-res { font-size: 13.5px; color: var(--ink-3); white-space: nowrap; }

/* ── Abastecimento: tabela comparativa por fornecedor ─────────────────── */
.cmp { padding: 0; overflow: hidden; }
.cmp-rola { overflow-x: auto; }
.cmp-tab { width: 100%; border-collapse: collapse; font-size: 14px; }
.cmp-tab th { padding: 12px 14px; text-align: left; font-size: 12px; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); background: var(--surface); border-bottom: 1px solid var(--line-2); }
.cmp-tab th.cmp-forn { text-align: center; min-width: 168px; text-transform: none; letter-spacing: 0; font-size: 13.5px; color: var(--ink); }
.cmp-tab td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cmp-tab tbody tr:last-child td { border-bottom: 0; }
.cmp-tab th.cmp-un, .cmp-tab td.cmp-un { width: 64px; text-align: center; }
td.cmp-un { font-size: 13px; font-weight: 600; color: var(--ink-3); }
th.cmp-prod { min-width: 240px; }

.cmp-cat td { padding: 10px 14px; background: color-mix(in oklab, var(--c-pale-2) 70%, #fff); border-bottom: 1px solid var(--line); }
.cmp-cat-nome { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--strong); }
.cmp-cat-nome svg { width: 18px; height: 18px; }

.cmp-item { display: flex; align-items: center; gap: 12px; }
.cmp-img { width: 52px; height: 52px; flex: none; border-radius: 10px; display: grid; place-items: center; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: color-mix(in oklab, var(--c-main) 45%, #fff); }
.cmp-img img { width: 100%; height: 100%; object-fit: contain; }
.cmp-img svg { width: 24px; height: 24px; }
.cmp-nome { display: block; font-weight: 650; line-height: 1.35; }
.cmp-desc { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-3); line-height: 1.4; }
.cmp-un-cel { display: none; }
.cmp-selo { display: inline-flex; align-items: center; gap: 5px; height: 22px; margin: 0 0 4px; padding: 0 8px; border-radius: 999px; font-size: 11.5px; font-weight: 650; color: var(--strong); background: var(--c-pale-2); }
.cmp-selo svg { width: 13px; height: 13px; }

.cmp-cel { text-align: center; }
.cmp-cel.vazia { color: var(--gray-400); }
.cmp-preco { font-family: var(--f-display); font-weight: var(--f-display-w); font-size: 1.05rem; color: var(--ink); }
.cmp-emb { display: block; font-size: 12px; color: var(--ink-3); margin-top: 1px; }
.cmp-qtd { margin: 8px auto 0; }
.cmp-qtd input { width: 40px; height: 30px; min-height: 0; padding: 0; border: 0; background: transparent; box-shadow: none; text-align: center; font-size: 14.5px; font-weight: 650; -moz-appearance: textfield; }
.cmp-qtd input::-webkit-inner-spin-button, .cmp-qtd input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.cmp-qtd input:focus-visible { outline: 2px solid var(--ring); outline-offset: 0; border-radius: 6px; }
.cmp-sub { display: block; min-height: 18px; margin-top: 5px; font-size: 12.5px; font-weight: 650; color: var(--strong); }
.cmp-cel.tem { background: color-mix(in oklab, var(--c-pale-2) 55%, transparent); }
.cmp-cel.tem .cmp-qtd { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--c-main); }
.cmp-grupo-acao { text-align: center; }

@media (max-width: 760px) {
  .cmp { background: none; box-shadow: none; overflow: visible; }
  .cmp-rola { overflow: visible; }
  .cmp-tab, .cmp-tab tbody, .cmp-tab tr, .cmp-tab td { display: block; }
  .cmp-tab thead { display: none; }
  .cmp-tab tbody tr:not(.cmp-cat) { margin-bottom: 10px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
  .cmp-tab td { border: 0; padding: 0; }
  .cmp-tab .cmp-cat td { padding: 14px 2px 8px; background: none; border: 0; }
  .cmp-tab td.cmp-prod { padding: 14px 16px 12px; }
  .cmp-tab td.cmp-un { display: none; }
  .cmp-un-cel { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
  .cmp-tab td.cmp-cel { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "forn qtd" "preco qtd" "sub qtd"; align-items: center; column-gap: 12px; text-align: left; padding: 12px 16px; border-top: 1px solid var(--line); }
  .cmp-cel::before { content: attr(data-forn); grid-area: forn; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
  .cmp-tab td.cmp-cel.vazia { display: none; }
  .cmp-preco { grid-area: preco; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
  .cmp-emb { display: inline; font-family: var(--f-text); font-weight: 500; }
  .cmp-qtd { grid-area: qtd; margin: 0; }
  .cmp-sub { grid-area: sub; min-height: 0; margin: 0; }
  .cmp-sub:empty { display: none; }
  .cmp-qtd .qty-btn-sm { width: 38px; height: 38px; }
  .cmp-qtd { height: 44px; }
  .cmp-qtd input { height: 38px; }
  .cmp-grupo-acao { padding: 0 16px 16px !important; text-align: left; }
  .cmp-grupo-acao .btn { width: 100%; }
}

/* Barra flutuante do pedido */
.cons-barra { position: fixed; z-index: 60; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; width: max-content; max-width: calc(100vw - 32px); padding: 8px 8px 8px 16px; border-radius: 18px; color: #fff; background: var(--c-deep); box-shadow: 0 18px 40px -16px color-mix(in oklab, var(--c-deep) 80%, transparent); }
.cons-barra[hidden] { display: none; }
.cons-barra-ic { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; background: color-mix(in oklab, #fff 12%, transparent); color: var(--c-acc); }
.cons-barra-ic svg { width: 20px; height: 20px; }
.cons-barra-txt { display: grid; line-height: 1.25; min-width: 0; }
.cons-barra-txt b { font-size: 14px; }
.cons-barra-txt span { font-size: 13px; color: color-mix(in oklab, #fff 76%, transparent); white-space: nowrap; }
.cons-barra .btn { height: 42px; background: #fff; color: var(--c-deep); box-shadow: none; white-space: nowrap; }
.cons-barra .btn:hover { background: color-mix(in oklab, #fff 88%, var(--c-acc)); color: var(--c-deep); }

/* ── Abastecimento: carrinho ──────────────────────────────────────────── */
.cons-forn { padding: 0; margin-bottom: 14px; overflow: hidden; }
.cons-forn-cab { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.cons-forn-cab .entrega-ic { width: 36px; height: 36px; border-radius: 10px; }
.cons-forn-cab .entrega-ic svg { width: 19px; height: 19px; }
.cons-forn-cab h2 { margin: 0; flex: 1; min-width: 0; font-size: 1.05rem; }
.cons-forn-pe { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line); background: var(--gray-100); font-size: 14px; color: var(--ink-3); }
.cons-forn-pe b { white-space: nowrap; font-family: var(--f-display); font-weight: var(--f-display-w); font-size: 1.15rem; color: var(--ink); }
.cons-itens td.num, .cons-itens th.num { text-align: right; white-space: nowrap; }
.cons-itens td.forte { font-weight: 700; }
.cons-itens .qty-control-sm input { width: 40px; height: 30px; min-height: 0; padding: 0; border: 0; background: transparent; box-shadow: none; text-align: center; font-size: 14.5px; font-weight: 650; -moz-appearance: textfield; }
.cons-itens .qty-control-sm input::-webkit-inner-spin-button, .cons-itens .qty-control-sm input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.total-card textarea { margin-top: 2px; }
.total-card .form-group { margin: 18px 0 16px; }
.total-acoes { display: grid; gap: 8px; }
@media (max-width: 640px) {
  .cons-forn .cart-table tr { margin: 0; padding: 14px 18px; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
  .cons-forn .cart-table tbody tr:first-child { border-top: 0; }
  .cons-forn .cart-table td { padding: 4px 0; border: 0; }
  .cons-forn .cart-table td[data-label="Produto"] { padding-right: 44px; }
}

/* ── Abastecimento: confirmação e histórico ───────────────────────────── */
.cons-conf { max-width: 820px; margin: clamp(0px, 2vw, 16px) auto 0; display: grid; gap: 14px; }
.cons-conf-topo { padding: clamp(24px, 4vw, 40px); }
.cons-conf-topo h1 { margin: 0 0 6px; font-size: clamp(1.6rem, 3vw, 2rem); }
.cons-conf-topo > p { color: var(--ink-3); max-width: 60ch; }
.cons-conf-dados { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 20px 0 0; padding: 14px 18px; border-radius: 14px; background: var(--gray-100); }
.cons-conf-dados dt { font-size: 12.5px; color: var(--ink-3); }
.cons-conf-dados dd { margin: 0; font-family: var(--f-display); font-weight: var(--f-display-w); font-size: 1.2rem; color: var(--ink); }
.cons-conf .confirmation-actions { margin-top: 4px; }
.pedido-acoes { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.pedido-acoes form { margin: 0; }
@media (max-width: 760px) {
  .pedidos .admin-table td.pedido-acoes { display: flex; grid-column: 1 / -1; justify-content: flex-start; margin-top: 6px; }
  .pedidos .admin-table td[data-col="data"], .pedidos .admin-table td[data-col="itens"], .pedidos .admin-table td[data-col="info"] { grid-column: 1 / -1; font-size: 13.5px; color: var(--ink-3); }
}

/* ── GPO: página de apresentação ──────────────────────────────────────── */
.gl { display: grid; gap: clamp(56px, 8vw, 96px); padding-bottom: clamp(24px, 4vw, 48px); }
.gl-rot { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 12.5px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--strong); }
.gl-rot::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.gl-tit { margin: 0 0 12px; font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.1; letter-spacing: -0.015em; color: var(--ink); max-width: 22ch; }
.gl-txt { font-size: clamp(15px, 1.4vw, 17px); color: var(--ink-3); max-width: 62ch; }
.gl-cab { margin-bottom: clamp(24px, 3.4vw, 36px); }

.gl-hero {
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center;
  padding: clamp(32px, 6vw, 72px) clamp(24px, 5vw, 64px); border-radius: 28px; color: #fff;
  background:
    radial-gradient(60% 70% at 90% 0%, color-mix(in oklab, var(--c-acc) 36%, transparent), transparent 70%),
    radial-gradient(70% 80% at 0% 100%, color-mix(in oklab, var(--c-main) 70%, transparent), transparent 70%),
    var(--c-deep);
}
.gl-hero::after { content: ''; position: absolute; z-index: -1; right: -90px; bottom: -110px; width: 420px; height: 420px; opacity: .08; background: url("../marca/logo/sohmahub-simbolo-branco.svg") center / contain no-repeat; }
.gl-hero .gl-rot { color: var(--c-acc-2); }
body.app .gl-hero h1 { margin: 0 0 18px; color: #fff; font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.03; letter-spacing: -0.02em; }
.gl-hero-sub { font-size: clamp(16px, 1.6vw, 19px); color: color-mix(in oklab, #fff 80%, transparent); }
.gl-hero-sub strong { display: block; color: #fff; }
.gl-hero-acoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.gl-hero .btn-primary, .gl-faixa .btn-primary { background: #fff; color: var(--c-deep); box-shadow: none; }
.gl-hero .btn-primary:hover, .gl-faixa .btn-primary:hover { background: color-mix(in oklab, #fff 88%, var(--c-acc)); color: var(--c-deep); }
.gl-hero .btn-outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px color-mix(in oklab, #fff 45%, transparent); }
.gl-hero .btn-outline:hover { box-shadow: inset 0 0 0 1.5px #fff; color: #fff; background: transparent; }
.gl-fases-mini { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; }
.gl-fases-mini li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; font-size: 14.5px; font-weight: 550; color: color-mix(in oklab, #fff 70%, transparent); background: color-mix(in oklab, #fff 6%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, #fff 10%, transparent); }
.gl-fases-mini li b { width: 28px; height: 28px; flex: none; border-radius: 9px; display: grid; place-items: center; font-family: var(--f-display); font-weight: var(--f-display-w); font-size: 14px; background: color-mix(in oklab, #fff 10%, transparent); color: #fff; }
.gl-fases-mini li.on { color: #fff; background: color-mix(in oklab, #fff 13%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--c-acc) 70%, transparent); }
.gl-fases-mini li.on b { background: var(--c-acc); color: var(--c-deep); }
.gl-fases-mini li small { margin-left: auto; white-space: nowrap; font-size: 11.5px; font-weight: 650; letter-spacing: .04em; color: var(--c-acc); }

.gl-grade-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gl-card { padding: 22px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.gl-card h3 { margin: 16px 0 6px; font-size: 1.05rem; line-height: 1.3; }
.gl-card p { font-size: 14px; color: var(--ink-3); line-height: 1.55; }
.gl-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: var(--strong); background: var(--c-pale-2); }
.gl-ic svg { width: 23px; height: 23px; }
.gl-ic--alerta { color: var(--erro); background: var(--erro-bg); }

.gl-escuro { position: relative; isolation: isolate; overflow: hidden; padding: clamp(32px, 5vw, 64px) clamp(24px, 5vw, 56px); border-radius: 28px; color: #fff; background: radial-gradient(70% 90% at 100% 0%, color-mix(in oklab, var(--c-acc) 24%, transparent), transparent 70%), var(--c-deep); }
.gl-escuro .gl-rot { color: var(--c-acc-2); }
.gl-escuro .gl-tit { color: #fff; }
.gl-escuro .gl-txt { color: color-mix(in oklab, #fff 76%, transparent); }
.gl-solucao { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gl-sol { padding: clamp(22px, 3vw, 32px); border-radius: 20px; background: color-mix(in oklab, #fff 7%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, #fff 12%, transparent); }
.gl-sol--cheio { background: color-mix(in oklab, var(--c-main) 55%, var(--c-deep)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c-acc) 35%, transparent); }
.gl-sol-num { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--c-acc); }
.gl-sol h3 { margin: 12px 0 10px; color: #fff; font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.2; }
.gl-sol p { font-size: 15px; line-height: 1.65; color: color-mix(in oklab, #fff 80%, transparent); }

.gl-esteira { list-style: none; counter-reset: passo; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; position: relative; }
.gl-esteira::before { content: ''; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: linear-gradient(90deg, var(--c-main), var(--c-acc)); opacity: .35; }
.gl-esteira li { position: relative; }
.gl-esteira-num { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: var(--f-display-w); font-size: 17px; color: #fff; background: linear-gradient(140deg, var(--c-main), var(--c-deep)); box-shadow: 0 0 0 6px var(--fundo-app); }
.gl-esteira h3 { margin: 16px 0 6px; font-size: 1.02rem; }
.gl-esteira p { font-size: 14px; color: var(--ink-3); line-height: 1.55; }

.gl-beneficios { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gl-ben { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.gl-ben strong { display: block; margin-bottom: 4px; font-size: 1rem; }
.gl-ben p { font-size: 14px; color: var(--ink-3); }

.gl-tabela { padding: 0; overflow: hidden; border-radius: 20px; }
.gl-tabela table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.gl-tabela th, .gl-tabela td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.gl-tabela tbody tr:last-child td { border-bottom: 0; }
.gl-tabela thead th { font-size: 13px; font-weight: 650; color: var(--ink-3); background: var(--gray-100); }
.gl-tabela th.gl-nos, .gl-tabela td.gl-nos { background: color-mix(in oklab, var(--c-pale-2) 75%, #fff); color: var(--ink); }
.gl-tabela thead th.gl-nos { color: var(--strong); }
.gl-tabela td.gl-nos { font-weight: 600; }
.gl-tabela td.gl-nos svg { width: 16px; height: 16px; margin-right: 6px; vertical-align: -3px; color: var(--strong); }
.gl-tabela td.gl-so { color: var(--ink-3); }
.gl-tabela tbody th { font-weight: 650; color: var(--ink); width: 28%; }

.gl-fases { list-style: none; display: grid; gap: 0; margin: 0; padding: 0; max-width: 820px; }
.gl-fase { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding-bottom: 26px; }
.gl-fase:last-child { padding-bottom: 0; }
.gl-fase::before { content: ''; position: absolute; left: 21px; top: 46px; bottom: 0; width: 2px; background: var(--line-2); }
.gl-fase:last-child::before { display: none; }
.gl-fase-num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: var(--f-display-w); font-size: 17px; color: var(--ink-3); background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.gl-fase.on .gl-fase-num { color: #fff; background: linear-gradient(140deg, var(--c-main), var(--c-deep)); box-shadow: 0 0 0 5px color-mix(in oklab, var(--c-main) 16%, transparent); }
.gl-fase.on::before { background: linear-gradient(180deg, var(--c-main), var(--line-2)); }
.gl-fase-corpo { padding-top: 9px; }
.gl-fase h3 { margin: 0 0 6px; font-size: 1.08rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gl-fase p { font-size: 14.5px; color: var(--ink-3); line-height: 1.6; max-width: 64ch; }
.gl-fase.futura h3 { color: var(--ink-2); }
.gl-fase-selo { height: 22px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: 999px; font-family: var(--f-text); font-size: 11.5px; font-weight: 700; letter-spacing: .03em; color: var(--ok); background: var(--ok-bg); }

.gl-passos { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; }
.gl-passo { padding: 22px; border-radius: 18px; background: color-mix(in oklab, #fff 7%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, #fff 12%, transparent); }
.gl-passo-num { font-family: var(--f-display); font-weight: var(--f-display-w); font-size: 2rem; line-height: 1; color: var(--c-acc); }
.gl-passo h3 { margin: 14px 0 4px; color: #fff; font-size: 1.08rem; }
.gl-passo p { font-size: 14px; color: color-mix(in oklab, #fff 74%, transparent); }
.gl-faixa { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-top: 28px; padding-top: 24px; border-top: 1px solid color-mix(in oklab, #fff 14%, transparent); }
.gl-faixa em { font-size: 14px; color: color-mix(in oklab, #fff 64%, transparent); }
.gl-rodape { display: flex; align-items: center; justify-content: center; gap: 8px 14px; flex-wrap: wrap; text-align: center; color: var(--ink-3); }

@media (max-width: 1000px) {
  .gl-grade-4, .gl-esteira { grid-template-columns: 1fr 1fr; }
  .gl-esteira::before { display: none; }
}
@media (max-width: 860px) {
  .gl-hero { grid-template-columns: 1fr; }
  .gl-solucao, .gl-beneficios, .gl-passos { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .gl-grade-4, .gl-esteira { grid-template-columns: 1fr; }
  .gl-hero, .gl-escuro { border-radius: 22px; }
  .gl-hero-acoes .btn { width: 100%; }
  .gl-tabela { border-radius: 16px; }
  .gl-tabela table, .gl-tabela tbody, .gl-tabela tr, .gl-tabela th, .gl-tabela td { display: block; }
  .gl-tabela thead { display: none; }
  .gl-tabela tbody tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .gl-tabela tbody tr:last-child { border-bottom: 0; }
  .gl-tabela tbody th, .gl-tabela td { width: auto; padding: 0; border: 0; background: none !important; }
  .gl-tabela tbody th { margin-bottom: 8px; }
  .gl-tabela td { display: grid; grid-template-columns: 118px 1fr; gap: 10px; padding: 3px 0; font-size: 14px; }
  .gl-tabela td::before { content: attr(data-label); font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
  .gl-tabela td.gl-nos::before { color: var(--strong); }
}

/* ── GPO: campanhas ───────────────────────────────────────────────────── */
.camps { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.camp { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.camp--feita { box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--c-main) 40%, transparent), var(--shadow); }
.camp-topo { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.camp-cat { height: 24px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 650; color: var(--strong); background: var(--c-pale-2); }
.camp-feita { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 650; color: var(--ok); }
.camp-feita svg { width: 16px; height: 16px; }
.camp-tit { margin: 0; font-size: 1.15rem; line-height: 1.3; }
.camp-desc { font-size: 14px; color: var(--ink-3); line-height: 1.55; }
.camp-prazo { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--ink-3); }
.camp-prazo svg { width: 16px; height: 16px; }
.camp-prazo b { color: var(--ink); }
.camp .btn { margin-top: auto; }
.camp-desc + .camp-prazo, .camp-tit + .camp-prazo { margin-bottom: 8px; }

/* Registro de demanda */
.reg-meta { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; margin-top: 10px; font-size: 14px; color: var(--ink-3); }
.reg-meta b { color: var(--ink); }
.reg-meta .camp-prazo { font-size: 14px; }
.reg-grade { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.reg-lado { display: grid; gap: 14px; position: sticky; top: 96px; }
.reg-lado .card { padding: 20px; }
.reg-lado h2 { font-size: 1rem; margin: 0 0 8px; }
.reg-lado p { font-size: 14px; color: var(--ink-3); line-height: 1.6; }
.reg-lado .link { display: inline-block; margin-top: 10px; font-size: 13.5px; }
.opcs { list-style: none; display: grid; gap: 6px; margin: 4px 0 0; padding: 0; }
.opc { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 12px; background: var(--gray-100); }
.opc label { margin: 0; font-weight: 600; font-size: 14.5px; }
.opc.tem { background: var(--c-pale-2); box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--c-main) 55%, transparent); }
.opc .qty-control-sm { background: var(--surface); }
.opc input { width: 56px; height: 30px; min-height: 0; padding: 0; border: 0; background: transparent; box-shadow: none; text-align: center; font-size: 15px; font-weight: 650; -moz-appearance: textfield; }
.opc input::-webkit-inner-spin-button, .opc input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.opcs-total { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; font-size: 14px; color: var(--ink-3); }
.opcs-total b { color: var(--ink); }
@media (max-width: 900px) {
  .reg-grade { grid-template-columns: 1fr; }
  .reg-lado { position: static; }
}

/* Pesquisa de demanda */
.pq-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.pq-grupo { margin-top: 22px; }
.pq-grupo-tit { margin: 0 0 10px; font-size: 12.5px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 10px; }
.pq-grupo-tit::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.pq-item { display: grid; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; transition: box-shadow .15s, background-color .15s; }
.pq-item:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.pq-item.pesquisa-item--checked { background: var(--c-pale-2); box-shadow: inset 0 0 0 1.5px var(--c-main); }
.pq-item-linha { display: flex; align-items: center; gap: 10px; }
.pq-item input[type=checkbox] { width: 19px; height: 19px; flex: none; accent-color: var(--c-main); margin: 0; }
.pq-item-label { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.pq-campos { display: grid; grid-template-columns: 1fr 1.3fr; gap: 6px; }
.pq-campos[hidden] { display: none; }
.pq-campos input { min-height: 40px; height: 40px; font-size: 14px; background: var(--surface); }
.aviso--ok { background: var(--ok-bg); box-shadow: inset 0 0 0 1px var(--ok-line); color: var(--ok); }
.aviso--ok > svg, .aviso--ok strong { color: var(--ok); }
.pg-bloco { margin-bottom: 16px; }

/* Ajustes gerais */
body.app [hidden] { display: none !important; }
.cmp-emb { font-family: var(--f-text); font-weight: 500; }
.cmp-nd { font-size: 12.5px; color: var(--gray-400); }
.cons-total .cons-forn-pe { border-top: 0; }

@media (max-width: 640px) { .abast .cat-cab .btn { display: inline-flex; } .abast .cat-cab .pg-acoes { width: 100%; } }
.total-card .total-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.total-card .total-row small { font-size: 12.5px; font-weight: 500; }
.so-cel { display: none; }
@media (max-width: 760px) { .so-cel { display: inline; } }
