/* Pós-venda Lyncor — Design System & Layout Reformulado.
   Cores: Utiliza exclusivamente os tokens do base.css para compatibilidade total claro/escuro.
   Regra de design: Alinhamento perfeito, hierarquia clara, botões padronizados e responsividade refinada. */

/* ================= Base & Layout ================= */
body {
  background-image: none !important;
}

.main {
  max-width: 1360px;
  padding: 28px 24px 40px;
  margin: 0 auto;
}

.pv-page {
  animation: pvFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pvFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.pv-h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin: 0;
  font-family: 'Inter', sans-serif;
  line-height: 1.2;
  color: var(--text);
}

.pv-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 6px 0 0;
  line-height: 1.4;
}

.pv-dica {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

.pv-topo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.pv-topo-inbox {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.pv-topo-acoes {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.pv-voltar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.pv-voltar:hover {
  color: var(--text);
  border-color: var(--border);
  transform: translateX(-2px);
}

.pv-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}

.pv-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

.pv-vazio {
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  margin: 20px 0;
}

.pv-vazio .ico {
  font-size: 2.4rem;
  margin-bottom: 10px;
  display: block;
}

.pv-rodape {
  max-width: 1360px;
  margin: 0 auto;
  padding: 16px 24px 90px;
  font-size: 0.78rem;
  color: var(--muted);
  border-top: 1px solid var(--border-subtle);
}

/* ================= Botões e Campos de Formulário ================= */
.pv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  height: 40px;
  padding: 0 16px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
  line-height: 1;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.pv-btn:hover {
  border-color: var(--text);
  background: var(--surface-2);
  transform: translateY(-1px);
}

.pv-btn:active {
  transform: translateY(0);
}

.pv-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.pv-btn-grande {
  height: 46px;
  padding: 0 22px;
  font-size: 0.95rem;
  border-radius: 12px;
  font-weight: 700;
}

.pv-btn-ouro {
  background: var(--gold-gradient);
  color: #111;
  border: 0;
  box-shadow: 0 4px 14px rgba(217, 167, 74, 0.3);
}

.pv-btn-ouro:hover {
  filter: brightness(1.06);
  box-shadow: 0 6px 18px rgba(217, 167, 74, 0.4);
}

.pv-btn-lucas {
  background: rgba(245, 158, 11, 0.1);
  color: var(--amber);
  border-color: rgba(245, 158, 11, 0.4);
}

.pv-btn-lucas:hover {
  background: var(--amber);
  color: #111;
  border-color: var(--amber);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.pv-btn-ok, .pv-btn-resolver {
  background: rgba(16, 185, 129, 0.12);
  color: var(--green);
  border-color: rgba(16, 185, 129, 0.4);
}

.pv-btn-resolver:hover, .pv-btn-ok:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.pv-btn-discreto {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}

.pv-btn-discreto:hover {
  color: var(--red);
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.2);
}

.pv-kbd {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: var(--surface-2);
  line-height: 1;
}

.pv-input, .pv-select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 10px;
  height: 40px;
  padding: 0 14px;
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pv-input:focus, .pv-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

textarea.pv-input {
  height: auto;
  min-height: 80px;
  padding: 10px 14px;
  resize: vertical;
  line-height: 1.45;
}

.pv-select-mini {
  width: auto;
  height: 34px;
  padding: 0 10px;
  font-size: 0.85rem;
  border-radius: 8px;
}

.pv-mudar {
  height: 40px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 10px;
  padding: 0 12px;
  font-size: 0.88rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pv-mudar:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* ================= Chips, Badges e Situações ================= */
.pv-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  white-space: nowrap;
  border: 1px solid var(--border-subtle);
  line-height: 1;
}

.pv-chip.ruim {
  background: rgba(239, 68, 68, 0.12);
  color: var(--red);
  border-color: rgba(239, 68, 68, 0.25);
}

.pv-chip.atencao {
  background: rgba(245, 158, 11, 0.14);
  color: var(--amber);
  border-color: rgba(245, 158, 11, 0.3);
}

.pv-chip.ok {
  background: rgba(16, 185, 129, 0.12);
  color: var(--green);
  border-color: rgba(16, 185, 129, 0.25);
}

.pv-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  vertical-align: middle;
  line-height: 1;
}

/* Categorias de Clientes com Design Sofisticado */
.pv-cat-diamante {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.22) 0%, rgba(56, 189, 248, 0.32) 100%);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}
.pv-cat-ouro {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(217, 119, 6, 0.32) 100%);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.5);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}
.pv-cat-prata {
  background: rgba(148, 163, 184, 0.18);
  color: #cbd5e1;
  border: 1px solid rgba(203, 213, 225, 0.35);
}
.pv-cat-bronze {
  background: rgba(205, 127, 50, 0.2);
  color: #fb923c;
  border: 1px solid rgba(229, 152, 102, 0.35);
}

[data-theme="light"] .pv-cat-diamante {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.12) 0%, rgba(14, 165, 233, 0.2) 100%);
  color: #0284c7;
  border-color: rgba(2, 132, 199, 0.4);
}
[data-theme="light"] .pv-cat-ouro {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.12) 0%, rgba(245, 158, 11, 0.2) 100%);
  color: #b45309;
  border-color: rgba(217, 119, 6, 0.4);
}
[data-theme="light"] .pv-cat-prata {
  color: #475569;
  border-color: #cbd5e1;
}
[data-theme="light"] .pv-cat-bronze {
  color: #9a3412;
  border-color: rgba(154, 52, 18, 0.3);
}

/* Badges de Urgência */
.pv-urg-critica {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.25) 0%, rgba(220, 38, 38, 0.38) 100%);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.6);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.35);
  font-weight: 800;
  animation: pv-pulse-red 2s infinite ease-in-out;
}
@keyframes pv-pulse-red {
  0%, 100% { box-shadow: 0 0 6px rgba(239, 68, 68, 0.3); }
  50% { box-shadow: 0 0 14px rgba(239, 68, 68, 0.65); }
}
.pv-urg-moderada {
  background: rgba(245, 158, 11, 0.22);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.5);
  font-weight: 700;
}
.pv-urg-media {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.3);
}
.pv-urg-baixa {
  background: var(--surface-2);
  color: var(--muted);
  border: 1px solid var(--border-subtle);
}

[data-theme="light"] .pv-urg-critica {
  color: #dc2626;
  background: rgba(239, 68, 68, 0.14);
}
[data-theme="light"] .pv-urg-moderada {
  color: #d97706;
  background: rgba(245, 158, 11, 0.14);
}

.pv-pill-meta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--muted);
  border: 1px solid var(--border-subtle);
}
.pv-pill-meta b { color: var(--text); }
.pv-tipo-tag {
  color: var(--text);
  font-weight: 600;
}
.pv-id-tag {
  color: var(--muted);
  font-family: ui-monospace, monospace;
}
.pv-badge-manual {
  font-size: 0.7rem;
  color: var(--muted);
  font-style: italic;
}
.pv-tag-inativo {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--red);
  background: rgba(239, 68, 68, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
}
.pv-tag-semvig {
  font-size: 0.72rem;
  color: var(--amber);
  background: rgba(245, 158, 11, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Destaques nos cards de fila/inbox */
.pv-item.urg-critica {
  border-left: 4px solid #ef4444;
}
.pv-item.cli-diamante {
  border-left: 4px solid #38bdf8;
}
.pv-item.cli-ouro {
  border-left: 4px solid var(--gold);
}
.pv-item.urg-critica.cli-diamante {
  border-left: 5px solid #ef4444;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.12);
}

.pv-resumo-card.critica {
  border-color: rgba(239, 68, 68, 0.35);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(220, 38, 38, 0.15) 100%);
}
.pv-resumo-card.critica .num {
  color: #ef4444;
}
.pv-resumo-card.diamante {
  border-color: rgba(56, 189, 248, 0.35);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(56, 189, 248, 0.15) 100%);
}
.pv-resumo-card.diamante .num {
  color: #38bdf8;
}
.pv-resumo-card.ouro {
  border-color: rgba(245, 158, 11, 0.35);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(217, 119, 6, 0.15) 100%);
}
.pv-resumo-card.ouro .num {
  color: #f59e0b;
}

.pv-cat-nd { background: var(--surface-2); color: var(--muted); }
.pv-badge.reinc { background: rgba(239, 68, 68, 0.14); color: var(--red); border: 1px solid rgba(239, 68, 68, 0.25); }

.pv-etapa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

.pv-etapa::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--muted);
  flex: 0 0 auto;
}

.pv-etapa.novo::before { background: var(--primary); box-shadow: 0 0 8px rgba(59, 130, 246, 0.5); }
.pv-etapa.em_andamento::before, .pv-etapa.resolvido::before { background: var(--green); box-shadow: 0 0 8px rgba(16, 185, 129, 0.5); }
.pv-etapa.aguardando_cliente::before { background: #a78bfa; }
.pv-etapa.aguardando_operadora::before { background: #38bdf8; }
.pv-etapa.aguardando_corretor { color: var(--amber); }
.pv-etapa.aguardando_corretor::before { background: var(--amber); box-shadow: 0 0 8px rgba(245, 158, 11, 0.5); }

/* ================= Cartões e Estruturas ================= */
.pv-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.pv-card-titulo {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
  font-weight: 700;
  margin: 0 0 16px;
  font-family: 'Inter', sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.pv-card-titulo a {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--primary);
  text-decoration: none;
}

.pv-card-titulo a:hover {
  text-decoration: underline;
}

.pv-kv {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 20px;
  margin: 0;
  font-size: 0.92rem;
  align-items: center;
}

.pv-kv dt {
  color: var(--muted);
  font-weight: 500;
}

.pv-kv dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
  overflow-wrap: anywhere;
  color: var(--text);
}

.pv-lista {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pv-lista > li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.pv-lista > li:first-child { padding-top: 0; }
.pv-lista > li:last-child { border-bottom: 0; padding-bottom: 0; }

.pv-lista-linha {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.pv-caixa {
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.92rem;
  margin-bottom: 14px;
  line-height: 1.45;
  border: 1px solid transparent;
}

.pv-caixa b {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
}

.pv-caixa.lucas { background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.25); }
.pv-caixa.lucas b { color: var(--amber); }

.pv-caixa.ok { background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.25); }
.pv-caixa.ok b { color: var(--green); }

.pv-caixa.ruim { background: rgba(239, 68, 68, 0.1); border-color: rgba(239, 68, 68, 0.25); }
.pv-caixa.ruim b { color: var(--red); }

.pv-caixa.neutra { background: var(--surface-2); border-color: var(--border-subtle); }
.pv-caixa.neutra b { color: var(--muted); }
.pv-caixa a { font-weight: 700; color: inherit; }

.pv-aviso {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.12);
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 600;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.pv-aviso.amb {
  background: rgba(245, 158, 11, 0.12);
  color: var(--amber);
  border-color: rgba(245, 158, 11, 0.25);
}

.pv-aviso a { color: inherit; text-decoration: underline; font-weight: 700; }

.pv-nota {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.5;
}

.pv-nota.aviso { color: var(--amber); }

/* Layout de Ficha: Conteúdo Principal + Sidebar */
.pv-ficha {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

@media (max-width: 960px) {
  .pv-ficha { grid-template-columns: 1fr; }
}

/* ================= INBOX ================= */
.pv-resumo {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.pv-resumo-card {
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow);
}

.pv-resumo-card:hover {
  border-color: var(--border);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.pv-resumo-card .num {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.5px;
}

.pv-resumo-card .rot {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.25;
}

.pv-resumo-card.ruim .num { color: var(--red); }
.pv-resumo-card.atencao .num, .pv-resumo-card.lucas .num { color: var(--amber); }
.pv-resumo-card.ok .num { color: var(--green); }
.pv-resumo-card.zerado .num { color: var(--muted); opacity: 0.5; }

@media (max-width: 760px) {
  .pv-resumo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.pv-toolbar {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.pv-abas {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  flex: 1 1 auto;
}

.pv-aba {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.88rem;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.pv-aba:hover {
  color: var(--text);
  background: var(--surface-2);
}

.pv-aba .n {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
  background: var(--surface);
  padding: 1px 7px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
}

.pv-aba.ativa {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--border-subtle);
  box-shadow: inset 0 -2px 0 var(--gold);
}

.pv-busca {
  flex: 0 1 320px;
  position: relative;
}

.pv-busca input {
  width: 100%;
  box-sizing: border-box;
  height: 40px;
  padding: 0 14px 0 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pv-busca input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.pv-busca i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.9rem;
  pointer-events: none;
}

.pv-atalhos {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 24px;
  padding: 12px 16px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
}

.pv-atalhos summary {
  cursor: pointer;
  margin-bottom: 8px;
  font-weight: 600;
}

.pv-atalhos span {
  margin-right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pv-grupo { margin-top: 22px; }
.pv-grupo-titulo {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
  font-weight: 700;
  margin: 0 0 10px 4px;
  font-family: 'Inter', sans-serif;
}

.pv-grupo-titulo.ruim { color: var(--red); }
.pv-grupo-titulo.atencao { color: var(--amber); }

/* Linha de Chamado na Inbox */
.pv-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px 240px;
  gap: 20px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid transparent;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow);
}

.pv-item:hover {
  border-color: var(--border);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.pv-item.atrasado { border-left-color: var(--red); }
.pv-item.hoje { border-left-color: var(--amber); }
.pv-item.com-corretor { background: linear-gradient(90deg, rgba(245, 158, 11, 0.08), transparent 60%), var(--surface); }
.pv-item.fechado { opacity: 0.72; }
.pv-item.selecionada { box-shadow: 0 0 0 2px var(--primary); }

.pv-item.destaque { animation: pvPisca 1.6s ease 2; }
@keyframes pvPisca { 50% { box-shadow: 0 0 0 3px var(--gold); } }

.pv-item-principal { min-width: 0; }

.pv-item-cliente {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pv-item-cliente a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
}

.pv-item-cliente a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.pv-item-demanda {
  font-size: 0.95rem;
  margin-top: 4px;
  color: var(--text);
  line-height: 1.4;
}

.pv-item-recado {
  margin-top: 8px;
  font-size: 0.86rem;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.1);
  display: inline-block;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.pv-item-recado b { color: var(--amber); }
.pv-item-recado.ok { background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.25); }
.pv-item-recado.ok b { color: var(--green); }

.pv-item-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 6px;
}

.pv-item-situacao {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.pv-item-desde {
  font-size: 0.8rem;
  color: var(--muted);
  padding-left: 17px;
}

.pv-item-prazo { margin-top: 2px; }

.pv-item-acoes {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.pv-item-acoes .pv-btn, .pv-item-acoes .pv-mudar {
  height: 38px;
  font-size: 0.85rem;
}

.pv-item.htmx-request, .pv-item .htmx-request { opacity: 0.55; }

@media (max-width: 960px) {
  .pv-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .pv-item-situacao {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }
  .pv-item-acoes {
    justify-content: flex-start;
  }
  .pv-item-acoes > * {
    flex: 1 1 140px;
  }
}

/* ================= FICHA DO CHAMADO ================= */
.pv-ch-cliente {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.pv-ch-cliente a {
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
}

.pv-ch-cliente a:hover { text-decoration: underline; color: var(--primary); }

.pv-ch-demanda {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 0 0 14px;
  line-height: 1.35;
  white-space: pre-wrap;
  font-family: 'Inter', sans-serif;
  color: var(--text);
}

.pv-ch-status {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.pv-ch-acoes {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.pv-ch-acoes form { margin: 0; }

.pv-historico {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pv-historico li {
  position: relative;
  padding: 0 0 20px 24px;
  font-size: 0.92rem;
}

.pv-historico li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border);
}

.pv-historico li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 20px;
  bottom: 0;
  width: 1px;
  background: var(--border-subtle);
}

.pv-historico li:last-child::after { display: none; }
.pv-historico li.forte::before { background: var(--gold); box-shadow: 0 0 8px rgba(230, 200, 110, 0.5); }

.pv-historico .quando { color: var(--muted); font-size: 0.8rem; }
.pv-historico .txt {
  margin-top: 6px;
  white-space: pre-wrap;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px 14px;
  line-height: 1.45;
}

.pv-estrelas {
  display: inline-flex;
  gap: 6px;
}

.pv-estrelas button {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  width: 40px;
  height: 38px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  font-family: inherit;
  transition: all 0.2s ease;
}

.pv-estrelas button.on {
  background: var(--gold-gradient);
  color: #111;
  border: 0;
  box-shadow: 0 2px 8px rgba(217, 167, 74, 0.4);
}

/* ================= FILA DO CORRETOR ================= */
.pv-fila {
  max-width: 820px;
  margin: 0 auto;
}

.pv-card-fila {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-left: 5px solid var(--amber);
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 18px;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: var(--shadow);
}

.pv-card-fila.estourado { border-left-color: var(--red); }

.pv-card-fila .topo {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  flex-wrap: wrap;
}

.pv-card-fila .cliente {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

.pv-card-fila .cliente:hover { text-decoration: underline; color: var(--primary); }
.pv-card-fila .meta { font-size: 0.88rem; color: var(--muted); margin-top: 4px; }

.pv-precisa {
  margin: 16px 0 12px;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  padding: 12px 16px;
  background: rgba(245, 158, 11, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.pv-precisa small {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--amber);
  margin-bottom: 4px;
  font-weight: 700;
}

.pv-card-fila form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
  align-items: center;
}

.pv-card-fila input[type=text] {
  flex: 1 1 260px;
  min-width: 0;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 12px;
  padding: 0 16px;
  font-size: 0.95rem;
  font-family: inherit;
}

.pv-btn-resolvi {
  flex: 0 0 auto;
  height: 44px;
  background: var(--green);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 0 24px;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  transition: all 0.2s ease;
}

.pv-btn-resolvi:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.pv-card-fila.saindo { opacity: 0; transform: translateX(30px); }

/* ================= CLIENTES — REDESIGN COMPLETO ================= */
.pv-resumo-clientes {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.pv-toolbar-clientes {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}

.pv-filtros-linha-topo {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.pv-filtros-seletores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.pv-select-filtro {
  height: 40px;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 10px;
  padding: 0 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
}

.pv-busca-clientes {
  min-width: 240px;
  flex: 1 1 auto;
}

/* Tabela e Cards de Clientes */
.pv-cli-lista {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pv-cli-tabela-head {
  display: grid;
  grid-template-columns: minmax(260px, 1.8fr) 140px 150px 140px 170px 140px;
  gap: 16px;
  padding: 8px 20px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
}

.pv-cli-card-item {
  display: grid;
  grid-template-columns: minmax(260px, 1.8fr) 140px 150px 140px 170px 140px;
  gap: 16px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.pv-cli-card-item:hover {
  border-color: var(--border);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.pv-cli-card-item.cli-diamante {
  border-left: 4px solid #38bdf8;
}

.pv-cli-card-item.cli-ouro {
  border-left: 4px solid var(--gold);
}

.pv-c-cell {
  min-width: 0;
}

.pv-cell-rotulo {
  display: none;
}

.pv-c-empresa {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pv-c-nome {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s;
}
.pv-c-nome:hover {
  color: var(--primary);
}

.pv-c-sub {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.pv-c-valor {
  font-size: 0.98rem;
  color: var(--green);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pv-c-vidas {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}

.pv-c-operadora {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pv-c-planonome {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}

.pv-chip-renovacao {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border-subtle);
}

.pv-chip-renovacao.atencao {
  background: rgba(245, 158, 11, 0.14);
  color: var(--amber);
  border-color: rgba(245, 158, 11, 0.35);
}

.pv-chip-renovacao.urgente {
  background: rgba(239, 68, 68, 0.14);
  color: var(--red);
  border-color: rgba(239, 68, 68, 0.35);
  font-weight: 700;
}

.pv-c-tempo, .pv-c-totais {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
}

.cell-acoes {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
}

.pv-btn-sm {
  height: 34px;
  padding: 0 12px;
  font-size: 0.8rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  cursor: pointer;
}

/* Responsivo para Tablet e Mobile na Página Clientes */
@media (max-width: 1024px) {
  .pv-resumo-clientes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .pv-cli-tabela-head {
    display: none;
  }
  .pv-cli-card-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    padding: 16px;
  }
  .pv-cell-rotulo {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--muted);
    margin-bottom: 2px;
  }
  .pv-cli-card-item > .cell-cliente {
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 10px;
  }
  .pv-cli-card-item > .cell-financeiro,
  .pv-cli-card-item > .cell-plano,
  .pv-cli-card-item > .cell-renovacao,
  .pv-cli-card-item > .cell-posvenda {
    display: inline-block;
    width: 48%;
    vertical-align: top;
    box-sizing: border-box;
    margin-bottom: 8px;
  }
  .pv-cli-card-item > .cell-acoes {
    border-top: 1px solid var(--border-subtle);
    padding-top: 12px;
    justify-content: flex-end;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .pv-resumo-clientes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pv-cli-card-item > .cell-financeiro,
  .pv-cli-card-item > .cell-plano,
  .pv-cli-card-item > .cell-renovacao,
  .pv-cli-card-item > .cell-posvenda {
    width: 100%;
  }
}

/* ================= FILTROS DE PRIORIZAÇÃO INBOX ================= */
.pv-filtros-prioridade {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 12px 18px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  margin-bottom: 18px;
  align-items: center;
  box-shadow: var(--shadow);
}

.pv-filtro-grupo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pv-filtro-titulo {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.pv-filtro-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.pv-filtro-pill {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-2);
  color: var(--muted);
  text-decoration: none;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.pv-filtro-pill:hover {
  border-color: var(--text);
  color: var(--text);
  transform: translateY(-1px);
}

.pv-filtro-pill.ativo {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.35);
}

.pv-filtro-pill.pill-critica.ativo {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.45);
}

.pv-filtro-pill.pill-moderada.ativo {
  background: var(--amber);
  color: #111;
  border-color: var(--amber);
}

.pv-filtro-pill.pill-diamante.ativo {
  background: #0284c7;
  color: #fff;
  border-color: #38bdf8;
  box-shadow: 0 2px 10px rgba(56, 189, 248, 0.45);
}

.pv-filtro-pill.pill-ouro.ativo {
  background: #d97706;
  color: #fff;
  border-color: #f59e0b;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.45);
}

.pv-filtro-pill .badge-num {
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.72rem;
  padding: 1px 6px;
  border-radius: 99px;
  font-weight: 800;
}

.pv-btn-limpar {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-2);
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s;
}

.pv-btn-limpar:hover {
  color: var(--red);
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.1);
}

/* ================= AGENDA & CALENDÁRIO ================= */
.pv-resumo-agenda {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.pv-toolbar-agenda {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.pv-agenda-filtros-esq {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.pv-segmented {
  display: inline-flex;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}

.pv-seg-btn {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pv-seg-btn:hover {
  color: var(--text);
}

.pv-seg-btn.ativo {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.pv-modo-alternador {
  display: flex;
  gap: 8px;
}

/* Fila de Tarefas / Agenda */
.pv-agenda-fila {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pv-agenda-bloco {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: var(--shadow);
}

.pv-agenda-bloco.bloco-atrasados {
  border-left: 5px solid var(--red);
}

.pv-agenda-bloco.bloco-hoje {
  border-left: 5px solid var(--amber);
}

.pv-agenda-bloco.bloco-corretor {
  border-left: 5px solid var(--gold);
}

.pv-agenda-bloco.bloco-renovacoes {
  border-left: 5px solid #38bdf8;
}

.pv-agenda-bloco-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.pv-bloco-titulo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pv-bloco-titulo h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.pv-bloco-ico {
  font-size: 1.1rem;
}

.pv-tag-alerta {
  background: rgba(239, 68, 68, 0.15);
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.pv-tag-hoje {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.pv-tag-corretor {
  background: rgba(230, 200, 110, 0.15);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.pv-agenda-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pv-agenda-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 18px;
  gap: 16px;
  transition: all 0.2s;
}

.pv-agenda-card:hover {
  border-color: var(--border);
  transform: translateX(2px);
}

.pv-card-esq {
  flex: 1 1 auto;
  min-width: 0;
}

.pv-card-linha1 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pv-card-cli {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
  text-decoration: none;
}
.pv-card-cli:hover {
  color: var(--primary);
}

.pv-card-demanda {
  font-size: 0.92rem;
  color: var(--text);
  margin-top: 4px;
}

.pv-card-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 5px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pv-bloco-vazio {
  color: var(--muted);
  font-size: 0.88rem;
  padding: 12px 0;
}

/* Calendário Mensal Grid */
.pv-calendario-container {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.pv-cal-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.pv-cal-mes-atual h2 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
}

.pv-cal-botoes-nav {
  display: flex;
  gap: 8px;
}

.pv-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.pv-cal-diasemana {
  text-align: center;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  padding: 6px 0;
  letter-spacing: 0.5px;
}
.pv-cal-diasemana.fds {
  color: rgba(148, 163, 184, 0.6);
}

.pv-cal-celula {
  min-height: 110px;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.15s;
}

.pv-cal-celula:hover {
  border-color: var(--border);
}

.pv-cal-celula.cal-hoje {
  border: 2px solid var(--primary);
  background: rgba(59, 130, 246, 0.08);
}

.pv-cal-celula.cal-passado {
  opacity: 0.65;
}

.pv-cal-celula.cal-vazia {
  background: transparent;
  border-color: transparent;
}

.pv-cal-dia-num {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 2px;
}

.pv-cal-celula.cal-hoje .pv-cal-dia-num span:first-child {
  color: var(--primary);
}

.pv-cal-dia-total {
  background: var(--surface);
  font-size: 0.68rem;
  padding: 1px 5px;
  border-radius: 99px;
  font-weight: 800;
}

.pv-cal-eventos-lista {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow-y: auto;
  max-height: 90px;
}

.pv-cal-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 6px;
  border-radius: 6px;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pv-cal-item .txt {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pv-cal-item.item-padrao {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.pv-cal-item.item-atrasado, .pv-cal-item.item-critico {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.pv-cal-item.item-corretor {
  background: rgba(245, 158, 11, 0.18);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.pv-cal-item.item-renovacao {
  background: rgba(56, 189, 248, 0.16);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

/* ================= MODAL NOVO CHAMADO MODERNO ================= */
.pv-form-moderno {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pv-form-secao {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pv-form-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}

.pv-tipos-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.pv-tipo-card {
  cursor: pointer;
  margin: 0;
}

.pv-tipo-card input[type="radio"] {
  display: none;
}

.pv-tipo-card-conteudo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  min-height: 52px;
  transition: all 0.15s ease;
}

.pv-tipo-card:hover .pv-tipo-card-conteudo {
  border-color: var(--text);
  transform: translateY(-1px);
}

.pv-tipo-card input:checked + .pv-tipo-card-conteudo {
  border-color: var(--gold);
  background: rgba(230, 200, 110, 0.16);
  box-shadow: 0 0 0 1px var(--gold) inset, 0 4px 12px rgba(217, 167, 74, 0.2);
}

.pv-tipo-card-nome {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.pv-tipo-card-sla {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 3px;
}

.pv-textarea-desc {
  width: 100%;
  box-sizing: border-box;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.92rem;
  font-family: inherit;
  resize: vertical;
}

.pv-secao-destacada {
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 16px;
}

.pv-sublabel {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
}

.pv-form-acoes {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  flex-wrap: wrap;
  gap: 10px;
}

.pv-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.pv-preview-grid div {
  background: var(--surface-2);
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.pv-preview-grid dt {
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 700;
}

.pv-preview-grid dd {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 2px;
}

@media (max-width: 600px) {
  .pv-tipos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pv-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pv-numeros {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.pv-numeros div {
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 16px;
}

.pv-numeros b {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.pv-numeros span { font-size: 0.8rem; color: var(--muted); }

.pv-t {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.pv-t th {
  text-align: left;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-subtle);
  font-weight: 700;
}

.pv-t td {
  padding: 12px;
  border-bottom: 1px solid var(--border-subtle);
  font-variant-numeric: tabular-nums;
}

.pv-t tr:last-child td { border-bottom: 0; }
.pv-t .num { text-align: right; }
.pv-scroll { overflow-x: auto; }

/* ================= MÉTRICAS ================= */
.pv-filtros {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
}

.pv-filtros select {
  height: 40px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 10px;
  padding: 0 12px;
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
}

.pv-destaques {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.pv-destaque {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.pv-destaque .val {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  font-family: 'Inter', sans-serif;
}

.pv-destaque .frase { font-size: 0.92rem; margin-top: 6px; line-height: 1.35; }
.pv-destaque .sub { font-size: 0.82rem; color: var(--muted); margin-top: 8px; font-weight: 500; }
.pv-destaque.ruim .val { color: var(--red); }
.pv-destaque.atencao .val { color: var(--amber); }
.pv-destaque.bom .val { color: var(--green); }

@media (max-width: 900px) { .pv-destaques { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.pv-grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 900px) { .pv-grid2 { grid-template-columns: 1fr; } }

.pv-barras {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pv-barras li {
  display: grid;
  grid-template-columns: minmax(120px, 38%) minmax(0, 1fr) 70px;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  font-size: 0.9rem;
}

.pv-barras .rot { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.pv-barras .trilho { height: 10px; background: var(--surface-2); border-radius: 5px; overflow: hidden; }
.pv-barras .trilho i { display: block; height: 100%; border-radius: 5px; background: var(--pv-s1); }
.pv-barras .trilho i.bom { background: var(--green); }
.pv-barras .trilho i.medio, .pv-barras .trilho i.lucas { background: var(--amber); }
.pv-barras .trilho i.ruim { background: var(--red); }
.pv-barras .v { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.pv-barras .v small { display: block; font-weight: 500; color: var(--muted); font-size: 0.74rem; }

:root { --pv-s1: #3b82f6; --pv-s2: #b58a2e; }
[data-theme="light"] { --pv-s1: #2563eb; --pv-s2: #b48528; }

.pv-colunas { display: flex; align-items: flex-end; gap: 6px; height: 150px; padding-top: 12px; }
.pv-colunas .sem { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; height: 100%; justify-content: flex-end; }
.pv-colunas .par { display: flex; gap: 3px; align-items: flex-end; height: 100%; width: 100%; justify-content: center; }
.pv-colunas .par i { display: block; width: 44%; max-width: 16px; border-radius: 4px 4px 0 0; min-height: 2px; }
.pv-colunas .ab { background: var(--pv-s1); }
.pv-colunas .rs { background: var(--pv-s2); }
.pv-colunas small { font-size: 0.65rem; color: var(--muted); white-space: nowrap; }

.pv-legenda { display: flex; gap: 16px; font-size: 0.82rem; color: var(--muted); }
.pv-legenda i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

.pv-help {
  display: inline-flex;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  background: var(--surface-2);
  color: var(--muted);
  border: 1px solid var(--border-subtle);
  cursor: help;
  position: relative;
  font-weight: 700;
  vertical-align: middle;
}

.pv-help:hover::after, .pv-help:focus::after {
  content: attr(data-help);
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  transform: translateX(-50%);
  width: 270px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.45;
  z-index: 50;
  box-shadow: var(--shadow-lg);
  white-space: normal;
  text-align: left;
}

/* ================= MODAIS & AUTOCOMPLETE ================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal.aberto {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  width: 100%;
  max-width: 620px;
  box-shadow: var(--shadow-lg);
  transform: scale(0.96);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.modal.aberto .modal-card {
  transform: scale(1);
}

.modal-card-body {
  padding: 24px 28px;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-head h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.pv-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pv-form label, .pv-rotulo {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
}

.pv-autocomplete { position: relative; }

.pv-sugestoes {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 20;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  max-height: 240px;
}

.pv-sugestoes:empty { display: none; }

.pv-sug {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.92rem;
  transition: background 0.15s ease;
}

.pv-sug:last-child { border-bottom: 0; }
.pv-sug:hover, .pv-sug.foco { background: rgba(230, 200, 110, 0.15); }

.pv-sug small { color: var(--muted); display: block; font-size: 0.78rem; margin-top: 2px; }
.pv-sug-nada { padding: 12px 14px; color: var(--muted); font-size: 0.9rem; }

.pv-cli-card {
  border: 1px solid var(--border-subtle);
  background: var(--surface-2);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 0.88rem;
}

.pv-cli-card .linha1 {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  font-weight: 700;
  font-size: 1rem;
}

.pv-cli-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 10px 0 0;
}

.pv-cli-card dt { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); }
.pv-cli-card dd { margin: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.pv-tipos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}

.pv-tipos input { position: absolute; opacity: 0; pointer-events: none; }

.pv-tipos label {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 8px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 40px;
  line-height: 1.2;
  transition: all 0.2s ease;
}

.pv-tipos input:checked + label {
  border-color: var(--gold);
  background: rgba(230, 200, 110, 0.16);
  box-shadow: 0 0 0 1px var(--gold) inset;
}

.pv-tipos input:focus-visible + label { outline: 2px solid var(--primary); }

.pv-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pv-opcionais summary { cursor: pointer; font-size: 0.86rem; color: var(--muted); font-weight: 600; }

@media (max-width: 600px) {
  .pv-grid3, .pv-cli-card dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ================= TOAST DO HTMX ================= */
.pv-toast-area {
  position: fixed;
  top: 76px;
  right: 20px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pv-toast {
  background: var(--green);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  transition: opacity 0.3s;
}

.pv-toast.erro { background: var(--red); }

/* ================= Topo: nunca estourar a largura =================
   Com o menu do admin (5 itens) + nome do usuário, a barra passava de ~1000px e a
   página inteira rolava na horizontal. O menu encolhe e rola sozinho; o nome some
   antes de apertar os itens. */
.topbar { gap: 12px; }
.topbar .brand { min-width: 0; flex: 0 0 auto; }
.topbar-nav { flex: 1 1 0; min-width: 0; overflow-x: auto; scrollbar-width: none; justify-content: flex-start; }
.topbar-nav::-webkit-scrollbar { display: none; }
@media (min-width: 1280px) { .topbar-nav { justify-content: center; } }
@media (max-width: 1279px) { .topbar-user-name { display: none; } }

/* ================= Pacote 15/09: busca, quadro, checklist, retorno ================= */
.pv-busca-global { position: relative; flex: 0 1 240px; min-width: 0; }
.pv-busca-global input { width: 100%; box-sizing: border-box; padding: 8px 10px 8px 30px; border-radius: 10px; border: 1px solid var(--border-subtle); background: var(--surface-2); color: var(--text); font-size: .85rem; font-family: inherit; }
.pv-busca-global i { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .8rem; }
@media (max-width: 1100px) { .pv-busca-global { display: none; } }

.pv-alternar-visao { display: inline-flex; border: 1px solid var(--border-subtle); border-radius: 10px; overflow: hidden; }
.pv-alternar-visao a { padding: 7px 12px; font-size: .85rem; font-weight: 600; color: var(--muted); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.pv-alternar-visao a.ativo { background: var(--surface-2); color: var(--text); }

.pv-quadro { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 16px; align-items: start; }
@media (max-width: 1100px) { .pv-quadro { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pv-quadro { grid-template-columns: 1fr; } }
.pv-quadro-coluna { background: var(--surface-2); border-radius: 12px; padding: 10px; min-width: 0; }
.pv-quadro-titulo { font-size: .85rem; margin: 2px 4px 10px; display: flex; justify-content: space-between; align-items: center; font-family: 'Inter', sans-serif; }
.pv-quadro-titulo .n { color: var(--muted); font-weight: 600; }
.pv-quadro-card { background: var(--surface); border: 1px solid var(--border-subtle); border-left: 3px solid transparent; border-radius: 10px; padding: 10px; margin-bottom: 8px; }
.pv-quadro-card.atrasado { border-left-color: var(--red); }
.pv-quadro-card.hoje { border-left-color: var(--amber); }
.pv-quadro-cliente { font-weight: 700; font-size: .9rem; color: var(--text); text-decoration: none; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-quadro-cliente:hover { text-decoration: underline; }
.pv-quadro-demanda { font-size: .82rem; color: var(--muted); margin: 3px 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pv-quadro-meta { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 8px; }
.pv-quadro-mover { width: 100%; font-size: .8rem; padding: 6px 8px; }
.pv-quadro-vazio { font-size: .8rem; color: var(--muted); text-align: center; padding: 14px 0; }

.pv-badge.pv-retorno { background: rgba(245,158,11,.16); color: var(--amber); }
.pv-badge.pv-origem-pdf { background: rgba(16,185,129,.14); color: var(--green); }
.pv-badge.pv-origem-sug { background: rgba(148,163,184,.18); color: var(--muted); }

.pv-campo-linha { margin-top: 14px; }
.pv-campo-linha > label { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.pv-campo-junto { display: flex; gap: 6px; align-items: center; }
.pv-campo-junto .pv-input { padding: 8px 10px; }

.pv-checklist { list-style: none; margin: 0; padding: 0; }
.pv-checklist li { padding: 6px 0; border-bottom: 1px solid var(--border-subtle); }
.pv-checklist li:last-child { border-bottom: 0; }
.pv-checklist label { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; cursor: pointer; }
.pv-checklist input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--green); }
.pv-checklist input:checked + span { text-decoration: line-through; color: var(--muted); }

.pv-faixas { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.pv-faixas label { font-size: .75rem; }
.pv-faixas input { padding: 8px !important; }
@media (max-width: 600px) { .pv-faixas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.pv-toast-desfazer { display: flex; gap: 12px; align-items: center; background: var(--surface) !important; color: var(--text) !important; border: 1px solid var(--border); }
.pv-toast-desfazer button { background: var(--gold-gradient); color: #111; border: 0; border-radius: 8px; padding: 6px 12px; font-weight: 700; cursor: pointer; font-family: inherit; }
.pv-item.pv-saindo { opacity: .45; }

/* ================= Correções 16/09: topo e campos sem classe =================
   1) TOPO. O menu do pós-venda tem 6 itens. Centralizado dentro do espaço que sobra,
   ele ficava nem à esquerda nem no meio da tela (vão de ~190px depois da marca e
   "Config" encostando na busca) e a busca ficava estreita demais para o próprio
   placeholder. Menu ancorado na marca, ações à direita, busca com largura de verdade. */
.topbar { gap: 18px; }
.topbar-nav { flex: 0 1 auto; justify-content: flex-start; }
@media (min-width: 1280px) { .topbar-nav { justify-content: flex-start; } }
.topbar-actions { margin-left: auto; flex: 0 1 auto; min-width: 0; }
/* largura explícita: só flex-basis o Chrome ainda encolhia até a largura natural do input,
   cortando o placeholder */
.pv-busca-global { flex: 0 1 auto; width: 300px; min-width: 180px; }

/* 2) CAMPOS SEM CLASSE. Os formulários do Config usavam <select>/<input>/<textarea>
   crus: o navegador desenhava caixa branca, que no tema escuro parece página sem CSS.
   Em vez de marcar classe a classe, todo campo sem classe dentro da página recebe o
   mesmo visual de .pv-input. `color-scheme` é o que faz a LISTA aberta do select (e as
   barras de rolagem) seguir o tema — sem ela o menu abre branco mesmo com o campo escuro.
   Caixa de marcar e botão ficam de fora: com largura 100% e 38px de altura viravam quadrados
   enormes (aconteceu na primeira versão desta regra, no Escopo do beta). */
:root { color-scheme: dark; }
[data-theme="light"] { color-scheme: light; }

/* Especificidade MÍNIMA de propósito (:where zera tudo menos o [class]): é só o padrão para
   campo que não tem estilo nenhum. Qualquer regra de componente (.pv-filtros select,
   .pv-busca input, ...) ganha. A primeira versão usava `.pv-page select:not([class])`, que
   pesava mais que as regras dos componentes e esticou os filtros do painel e as buscas da
   Inbox e de Clientes para 100% (regressão achada na verificação de 16/09). Largura total só
   dentro de formulário (.pv-form), onde o campo fica embaixo do rótulo. */
:where(.pv-page) :where(select, textarea,
  input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"])):not([class]) {
  box-sizing: border-box;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 10px;
  height: 38px;
  padding: 0 12px;
  font-size: .9rem;
  font-family: inherit;
  outline: none;
}
:where(.pv-page) :where(textarea):not([class]) {
  width: 100%;
  height: auto;
  min-height: 80px;
  padding: 10px 12px;
  line-height: 1.45;
  resize: vertical;
}
:where(.pv-page .pv-form) :where(select, textarea,
  input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"])):not([class]) {
  width: 100%;
}
:where(.pv-page) :where(select, textarea, input):not([class]):focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .15);
}
/* label > campo: o rótulo vira coluna para o campo não colar no texto */
.pv-page .pv-form label,
.pv-page .pv-grid3 label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: .85rem;
  color: var(--muted);
  font-weight: 600;
  min-width: 0;
}

/* Ordem em que o topo cede espaço quando a tela encolhe (antes o menu simplesmente
   sumia para dentro de uma rolagem escondida e "Métricas"/"Config" ficavam inalcançáveis):
   1500px: menu compacto, busca menor e some o nome do usuário ·
   1300px: some a busca global (a tecla "/" e a busca da própria tela continuam). */
@media (max-width: 1500px) {
  .topbar-nav { gap: 2px; }
  .topbar-nav a { padding: 8px 10px; font-size: .84rem; }
  .pv-busca-global { width: 240px; }
  .topbar-user-name { display: none; }
}
@media (max-width: 1300px) { .pv-busca-global { display: none; } }
/* 1200px: os ícones do menu saem (o texto basta) — abaixo de 900px o menu do topo
   já dá lugar à barra inferior do celular, que vem do base.css. */
@media (max-width: 1200px) {
  .topbar-nav a i { display: none; }
  .topbar-nav a { padding: 8px 8px; }
}
