/* Gestão Comercial (gestao-comercial.html) — complementa crm-perfil.css */
.gc-filters { align-items: flex-end; flex-wrap: wrap; }
.gc-periodo-txt { margin-left: auto; align-self: center; font-size: 12px; color: #64748b; font-weight: 600; }
.gc-subfilters { flex-wrap: wrap; }
.gc-checks { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #334155; }
.gc-checks label { display: flex; gap: 6px; align-items: center; font-weight: 500; text-transform: none; letter-spacing: 0; }

.gc-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-bottom: 16px; }
.gc-kpi { background: #fff; border-radius: 10px; padding: 14px 16px; box-shadow: 0 1px 3px rgba(0,0,0,.04); border-top: 3px solid #e2e8f0; }
.gc-kpi-label { font-size: 11px; text-transform: uppercase; letter-spacing: .4px; color: #64748b; font-weight: 700; }
.gc-kpi-value { font-size: 26px; font-weight: 800; color: #1f2937; margin-top: 4px; }
.gc-kpi-sub { font-size: 12px; color: #64748b; margin-top: 2px; }
.gc-kpi-main { border-top-color: #722F37; }
.gc-kpi-main .gc-kpi-value { color: #722F37; }
.gc-kpi-warn { border-top-color: #d97706; }
.gc-kpi-danger { border-top-color: #b91c1c; }
.gc-kpi-danger .gc-kpi-value { color: #b91c1c; }
.gc-kpi-money { border-top-color: #d4a574; }

.gc-bar { height: 8px; background: #f1f5f9; border-radius: 999px; overflow: hidden; margin-bottom: 4px; }
.gc-bar-fill { height: 100%; border-radius: 999px; }
.gc-bar-ok { background: #16a34a; }
.gc-bar-mid { background: #d97706; }
.gc-bar-low { background: #b91c1c; }
.gc-num-bad { color: #b91c1c; font-weight: 800; }
.gc-warn-txt { color: #9a3412; font-size: 12px; }
.gc-link { color: #722F37; text-decoration: none; }
.gc-link:hover { text-decoration: underline; }
.gc-table td { vertical-align: top; }
.gc-row-a { background: #fff5f5; }
.gc-row-a td:first-child { box-shadow: inset 3px 0 0 #b91c1c; }

.gc-sinais-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.gc-chip-big { font-size: 13px; padding: 6px 12px; }

.gc-config-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 1100px) { .gc-config-grid { grid-template-columns: 1fr; } }
.gc-config-grid .crm-card { margin-bottom: 0; }
.gc-form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.gc-form-row > label { font-size: 12px; font-weight: 700; color: #334155; display: flex; gap: 6px; align-items: center; }
.gc-inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; color: #334155; }
.gc-inline .form-control { width: auto; }
.gc-num { width: 80px !important; }
.gc-acesso { display: flex; flex-direction: column; gap: 6px; max-height: 220px; overflow: auto; }
.gc-acesso-item { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.gc-tools { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.gc-sem { font-weight: 700; padding: 2px 8px; border-radius: 999px; font-size: 12px; }
.gc-sem-verde { background: #dcfce7; color: #166534; }
.gc-sem-amarelo { background: #fef3c7; color: #92400e; }
.gc-sem-vermelho { background: #fee2e2; color: #b91c1c; }
