* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --azul: #1d4ed8;
  --azul-escuro: #1e3a8a;
  --cinza-borda: #d1d5db;
  --cinza-fundo: #f3f4f6;
  --texto: #1f2937;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--cinza-fundo);
  color: var(--texto);
  min-height: 100vh;
}

.topbar {
  background: var(--azul-escuro);
  color: #fff;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.topbar h1 { font-size: 20px; letter-spacing: 1px; }
.topnav { display: flex; gap: 4px; }
.topnav a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
}
.topnav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.topnav a.ativo { background: var(--azul); color: #fff; }

.container { max-width: 1100px; margin: 24px auto; padding: 0 16px; }

.card {
  background: #fff;
  border: 1px solid var(--cinza-borda);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.row-flex { display: flex; gap: 12px; align-items: flex-end; }
.grow { flex: 1; }

.field { display: flex; flex-direction: column; }
.field label { font-size: 12px; font-weight: 600; margin-bottom: 4px; text-transform: uppercase; color: #4b5563; }
.field input, .field select, .field textarea {
  border: 1px solid var(--cinza-borda);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 14px;
  font-family: inherit;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--azul);
  outline-offset: -1px;
}
.req { color: #dc2626; }

.btn {
  border: 1px solid var(--cinza-borda);
  background: #fff;
  border-radius: 6px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { background: var(--cinza-fundo); }
.btn-primary { background: var(--azul); border-color: var(--azul); color: #fff; }
.btn-primary:hover { background: var(--azul-escuro); }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; }
.btn-mini { padding: 3px 10px; font-size: 12px; margin-left: 10px; }

/* Combobox de cliente */
.combo { position: relative; }
.combo-list {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--cinza-borda);
  border-radius: 0 0 6px 6px;
  max-height: 260px;
  overflow-y: auto;
  z-index: 50;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
.combo-item { padding: 8px 12px; cursor: pointer; font-size: 14px; }
.combo-item:hover, .combo-item.ativo { background: #dbeafe; }
.combo-vazio { padding: 10px 12px; color: #6b7280; font-size: 13px; }

/* Painel de detalhes */
#painelCliente h2 { font-size: 18px; margin-bottom: 12px; color: var(--azul-escuro); }
.det-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-bottom: 8px; }
.det-grid > div { display: flex; flex-direction: column; }
.det-label { font-size: 11px; font-weight: 700; text-transform: uppercase; color: #6b7280; }
.det-bloco { margin-top: 16px; }
.det-bloco h3 { font-size: 13px; text-transform: uppercase; color: #4b5563; border-bottom: 1px solid var(--cinza-borda); padding-bottom: 4px; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: #dbeafe;
  color: var(--azul-escuro);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
}
.chips-promo .chip { background: #dcfce7; color: #166534; }
.vazio { color: #9ca3af; font-size: 13px; }

.tabela { width: 100%; border-collapse: collapse; font-size: 13px; }
.tabela th, .tabela td { border: 1px solid var(--cinza-borda); padding: 6px 10px; text-align: left; }
.tabela th { background: var(--cinza-fundo); text-transform: uppercase; font-size: 11px; }

/* Modal */
.modal-overlay[hidden] { display: none; }
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  z-index: 100;
}
.modal {
  background: #fff;
  border-radius: 10px;
  width: 100%;
  max-width: 980px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
}
.modal-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--cinza-borda);
}
.modal-header h2 { font-size: 17px; color: var(--azul-escuro); }
.btn-fechar { border: none; background: none; font-size: 26px; cursor: pointer; color: #6b7280; line-height: 1; }
.modal-body { padding: 16px 20px; overflow-y: auto; }
.modal-footer {
  display: flex; justify-content: flex-end; gap: 10px;
  padding: 12px 20px;
  border-top: 1px solid var(--cinza-borda);
}

.secao {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--azul-escuro);
  background: #eff6ff;
  border-left: 4px solid var(--azul);
  padding: 6px 10px;
  margin: 18px 0 10px;
  display: flex;
  align-items: center;
}
.secao:first-child { margin-top: 0; }

.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px; }
.c1 { grid-column: span 2; }
.c2 { grid-column: span 3; }
.c3 { grid-column: span 4; }
.c4 { grid-column: span 5; }
.c5 { grid-column: span 6; }
.c12 { grid-column: span 12; }

@media (max-width: 700px) {
  .c1, .c2, .c3, .c4, .c5 { grid-column: span 6; }
}

/* Linhas dinâmicas dos grids do modal */
.linha-grid {
  display: grid;
  gap: 8px;
  align-items: end;
  margin-bottom: 8px;
  padding: 10px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}
.linha-banco { grid-template-columns: 1.4fr 1.6fr .8fr 1fr .7fr 1fr 1.2fr auto; }
.linha-produto { grid-template-columns: 1.5fr .8fr 2.5fr auto; }
.linha-canal { grid-template-columns: 1.5fr .9fr 1.6fr auto; }
.linha-promocao { grid-template-columns: 1fr auto; }

.linha-grid .field label { font-size: 10px; }
.btn-remover {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #dc2626;
  border-radius: 6px;
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 700;
}
.btn-remover:hover { background: #fee2e2; }

.preview-canal { font-size: 12px; color: var(--azul-escuro); font-weight: 700; align-self: center; padding-bottom: 9px; }

.alerta {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 12px;
  font-size: 14px;
}
.alerta.sucesso { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }

@media (max-width: 700px) {
  .linha-banco, .linha-produto, .linha-canal { grid-template-columns: 1fr 1fr; }
}

/* ===== Módulo Negociação ===== */
.container-larga { max-width: 1400px; margin: 24px auto; padding: 0 16px; }

.titulo-neg { font-size: 18px; color: var(--azul-escuro); margin: 0 8px; }

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  white-space: nowrap;
}
.badge-cinza { background: #e5e7eb; color: #374151; }
.badge-azul { background: #dbeafe; color: var(--azul-escuro); }
.badge-amarelo { background: #fef3c7; color: #92400e; }
.badge-verde { background: #dcfce7; color: #166534; }
.badge-vermelho { background: #fee2e2; color: #b91c1c; }

.aviso-readonly { font-size: 13px; color: #92400e; background: #fef3c7; padding: 6px 12px; border-radius: 6px; }

.editor-grid { display: grid; grid-template-columns: 1fr 280px; gap: 20px; align-items: start; }
@media (max-width: 1000px) { .editor-grid { grid-template-columns: 1fr; } }

.abas { display: flex; gap: 4px; margin-bottom: -1px; }
.aba {
  border: 1px solid var(--cinza-borda);
  border-bottom: none;
  background: #e5e7eb;
  border-radius: 8px 8px 0 0;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: #4b5563;
}
.aba.ativo { background: #fff; color: var(--azul-escuro); }
.aba-conteudo { border-top-left-radius: 0; margin-bottom: 20px; }

.subtitulo {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--azul-escuro);
  margin-bottom: 10px;
}

.tabela-scroll { max-height: 320px; overflow-y: auto; border: 1px solid var(--cinza-borda); border-radius: 6px; }
.tabela-scroll .tabela { border: none; }
.tabela-compacta th, .tabela-compacta td { padding: 5px 8px; font-size: 12.5px; }
.tabela th.num, .tabela td.num { text-align: right; white-space: nowrap; }
.linha-click { cursor: pointer; }
.linha-click:hover { background: #eff6ff; }
.mini-sts { font-size: 10px; font-weight: 700; color: #6b7280; }

.input-cel {
  border: 1px solid var(--cinza-borda);
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 12.5px;
  width: 100%;
  min-width: 70px;
  font-family: inherit;
}
.input-cel.num { text-align: right; max-width: 100px; }
.input-cel:focus { outline: 2px solid var(--azul); outline-offset: -1px; }
.input-cel:disabled { background: var(--cinza-fundo); color: #6b7280; }

.painel-resumo { position: sticky; top: 16px; }
.resumo-linha { display: flex; justify-content: space-between; font-size: 14px; padding: 5px 0; }
.resumo-linha.destaque { font-weight: 700; font-size: 16px; color: var(--azul-escuro); }
.resumo-linha.mini { font-size: 12px; color: #6b7280; }
.resumo-divisor { border-top: 1px solid var(--cinza-borda); margin: 8px 0; }
.negativo { color: #dc2626 !important; }

.alerta-alcada {
  margin-top: 12px;
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #92400e;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 12.5px;
}
.alerta-inline { color: #92400e; background: #fef3c7; border-radius: 6px; padding: 6px 10px; font-size: 13px; margin-top: 8px; }

.rodape-acoes { position: sticky; bottom: 12px; box-shadow: 0 4px 20px rgba(0,0,0,.12); }
.btn-perigo { border-color: #fecaca; color: #dc2626; }
.btn-perigo:hover { background: #fef2f2; }

.modal-pequeno { max-width: 480px; }

.timeline { display: flex; flex-direction: column; gap: 10px; }
.timeline-item {
  display: flex;
  gap: 14px;
  font-size: 13px;
  border-left: 3px solid var(--azul);
  padding-left: 12px;
}
.timeline-data { color: #6b7280; white-space: nowrap; font-size: 12px; padding-top: 1px; }

/* ===== Fase 2: Programação ===== */
.info-reserva {
  font-size: 12.5px;
  font-weight: 600;
  color: #92400e;
  background: #fef3c7;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.pendente { color: #d97706; font-weight: 600; }

.prog-card {
  border: 1px solid var(--cinza-borda);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 16px;
  background: #fafafa;
}
.prog-titulo { font-size: 14px; margin-bottom: 10px; color: var(--azul-escuro); }
.prog-total {
  border: 1px solid var(--cinza-borda);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  background: #eff6ff;
  color: var(--azul-escuro);
}
.prog-dias { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.dia-chk {
  display: flex; align-items: center; gap: 5px;
  border: 1px solid var(--cinza-borda);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  background: #fff;
  cursor: pointer;
  user-select: none;
}
.dia-chk:has(input:checked) { background: #dbeafe; border-color: var(--azul); color: var(--azul-escuro); }
.prog-conflito {
  margin-top: 10px;
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 12.5px;
}
.prog-feriados { margin-top: 8px; font-size: 12.5px; color: #92400e; }

.calendario { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.cal-mes { background: #fff; border: 1px solid var(--cinza-borda); border-radius: 8px; padding: 10px; }
.cal-mes-nome { font-size: 12px; font-weight: 700; color: var(--azul-escuro); margin-bottom: 6px; text-align: center; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 26px); gap: 3px; }
.cal-cab { font-size: 10px; font-weight: 700; color: #9ca3af; text-align: center; }
.cal-dia, .cal-vazio {
  width: 26px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  border-radius: 4px;
}
.cal-on { background: var(--azul); color: #fff; font-weight: 600; }
.cal-off { background: var(--cinza-fundo); color: #9ca3af; }
.cal-fora { color: #d1d5db; }
.cal-fer { outline: 2px solid #f59e0b; outline-offset: -2px; }

/* ===== Fase 3: Tarefas ===== */
.badge-roxo { background: #ede9fe; color: #5b21b6; }
.badge-setor { background: var(--azul-escuro); color: #fff; }
.setor-redacao { background: #9d174d; }
.setor-criacao { background: #5b21b6; }
.setor-opec { background: #065f46; }
.setor-financeiro { background: #92400e; }

.tarefa-linha {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 4px;
  border-bottom: 1px solid #f3f4f6;
  font-size: 13.5px;
}
.tarefa-linha:last-child { border-bottom: none; }
.tarefa-titulo { font-weight: 600; }
.tarefa-meta { color: #6b7280; font-size: 12px; }

.kanban {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: start;
}
@media (max-width: 1000px) { .kanban { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .kanban { grid-template-columns: 1fr; } }

.kanban-col {
  background: #e9ecf1;
  border-radius: 10px;
  padding: 10px;
  min-height: 200px;
}
.kanban-cab {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #374151;
  padding: 4px 6px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.kanban-qt {
  background: #fff;
  border-radius: 999px;
  padding: 1px 9px;
  font-size: 12px;
}
.kanban-lista { display: flex; flex-direction: column; gap: 10px; }

.tarefa-card {
  background: #fff;
  border: 1px solid var(--cinza-borda);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
}
.tarefa-card.atrasada { border-color: #fca5a5; box-shadow: 0 0 0 1px #fca5a5; }
.tarefa-card-topo { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.tarefa-neg { font-size: 11px; font-weight: 700; color: #6b7280; }
.tarefa-card-titulo { font-weight: 700; margin-bottom: 4px; }
.tarefa-card-info { color: #6b7280; font-size: 12px; margin-top: 2px; }
.tarefa-card-prazo { font-size: 12px; margin-top: 4px; }
.prazo-estourado { color: #dc2626; font-weight: 700; }
.tarefa-card-bloqueio {
  background: #f3f4f6;
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 11.5px;
  color: #4b5563;
  margin-top: 6px;
}
.link-desc {
  border: none; background: none;
  color: var(--azul);
  font-size: 12px;
  cursor: pointer;
  padding: 0;
  margin-top: 6px;
}
.tarefa-desc {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 8px;
  font-size: 11.5px;
  white-space: pre-wrap;
  font-family: inherit;
  margin-top: 4px;
  max-height: 220px;
  overflow-y: auto;
}
.tarefa-card-acoes {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  align-items: center;
}

/* ================================================================
   Refinamento visual — paleta, sombras, logo, ícones e toasts
   (sobrescreve regras acima; mantém a estrutura das telas)
   ================================================================ */
:root {
  --azul: #2563eb;
  --azul-escuro: #1e3a8a;
  --azul-claro: #eff6ff;
  --cinza-borda: #e5e7eb;
  --cinza-fundo: #f4f5f7;
  --texto: #111827;
  --texto-suave: #6b7280;
  --verde: #16a34a;
  --vermelho: #dc2626;
  --raio: 12px;
  --raio-sm: 8px;
  --sombra: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.09);
  --sombra-md: 0 6px 18px rgba(16,24,40,.09);
  --sombra-lg: 0 14px 40px rgba(16,24,40,.20);
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Barra superior + logo */
.topbar {
  background: linear-gradient(90deg, #172033 0%, #1e3a8a 100%);
  padding: 0 26px;
  height: 60px;
  gap: 30px;
  box-shadow: var(--sombra-md);
  position: sticky;
  top: 0;
  z-index: 40;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { height: 40px; width: auto; max-width: 220px; object-fit: contain; display: block; image-rendering: auto; }
.brand-fallback { font-size: 19px; font-weight: 700; letter-spacing: 2px; color: #fff; }
.topnav { gap: 6px; }
.topnav a {
  color: rgba(255,255,255,.74);
  padding: 7px 16px;
  border-radius: 8px;
  transition: background .15s ease, color .15s ease;
}
.topnav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.topnav a.ativo { background: rgba(255,255,255,.18); color: #fff; }

/* Cartões e superfícies */
.card {
  border-radius: var(--raio);
  padding: 22px;
  box-shadow: var(--sombra);
}
.container, .container-larga { margin-top: 28px; }

/* Campos */
.field label { letter-spacing: .3px; color: var(--texto-suave); }
.field input, .field select, .field textarea { border-radius: var(--raio-sm); transition: border-color .15s ease, box-shadow .15s ease; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--azul);
  box-shadow: 0 0 0 3px rgba(37,99,235,.16);
}

/* Botões */
.btn {
  border-radius: var(--raio-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .05s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { box-shadow: 0 1px 2px rgba(37,99,235,.35); }
.btn-mini { border-radius: 6px; }

/* Ícones inline (SVG herda a cor do texto) */
.ico { width: 16px; height: 16px; flex: none; vertical-align: -3px; stroke-width: 2; }
.ico-lg { width: 18px; height: 18px; }

/* Semáforo de margem */
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; vertical-align: middle; margin-right: 3px; }
.dot-verde { background: #22c55e; }
.dot-amarelo { background: #f59e0b; }
.dot-vermelho { background: #ef4444; }

/* Garante que o atributo [hidden] sempre esconda (regras de layout do autor
   têm prioridade sobre a UA e vazariam elementos ocultos como o aviso e a reserva) */
[hidden] { display: none !important; }

/* Avisos de linha única com ícone centralizado; nos demais o SVG flui inline */
.aviso-readonly, .info-reserva { display: inline-flex; align-items: center; gap: 7px; }
.alerta-alcada .ico, .alerta-inline .ico, .prog-conflito .ico, .prog-feriados .ico { margin-right: 5px; }

/* Toasts — popup discreto na base */
.toast-box {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 200;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 260px;
  max-width: 460px;
  padding: 13px 18px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  box-shadow: var(--sombra-lg);
  opacity: 0;
  transform: translateY(16px) scale(.98);
  transition: opacity .26s ease, transform .26s ease;
  pointer-events: auto;
}
.toast.show { opacity: 1; transform: translateY(0) scale(1); }
.toast-ok { background: linear-gradient(90deg, #15803d, #16a34a); }
.toast-erro { background: linear-gradient(90deg, #b91c1c, #dc2626); }
.toast .ico { width: 18px; height: 18px; opacity: .95; }
@media (max-width: 560px) {
  .toast { min-width: 0; width: calc(100vw - 32px); }
}

/* ================================================================
   Select pesquisável (mesmo modelo do seletor de cliente)
   O <select> nativo é mantido escondido como fonte de verdade.
   ================================================================ */
.ss { position: relative; width: 100%; }
.ss-native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; overflow: hidden; }
.ss-control {
  width: 100%;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid var(--cinza-borda);
  border-radius: var(--raio-sm);
  background: #fff;
  padding: 8px 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--texto);
  cursor: pointer;
  text-align: left;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ss-control:hover { border-color: #c3c9d2; }
.ss.aberto .ss-control, .ss-control:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 3px rgba(37,99,235,.16); }
.ss-control:disabled { background: var(--cinza-fundo); color: #9ca3af; cursor: not-allowed; box-shadow: none; }
.ss-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-label.vazio { color: #9ca3af; }
.ss-chevron { flex: none; width: 16px; height: 16px; color: #6b7280; transition: transform .15s ease; }
.ss.aberto .ss-chevron { transform: rotate(180deg); }

.ss-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  z-index: 60;
  background: #fff;
  border: 1px solid var(--cinza-borda);
  border-radius: var(--raio-sm);
  box-shadow: var(--sombra-lg);
  overflow: hidden;
}
.ss-search { padding: 8px; border-bottom: 1px solid var(--cinza-borda); }
.ss-search input {
  width: 100%;
  border: 1px solid var(--cinza-borda);
  border-radius: 6px;
  padding: 7px 9px;
  font-size: 13.5px;
  font-family: inherit;
}
.ss-search input:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 3px rgba(37,99,235,.16); }
.ss-list { max-height: 240px; overflow-y: auto; }
.ss-item { padding: 8px 12px; font-size: 14px; cursor: pointer; }
.ss-item:hover, .ss-item.destacado { background: var(--azul-claro); }
.ss-item.sel { font-weight: 600; color: var(--azul-escuro); }
.ss-vazio { padding: 10px 12px; color: #6b7280; font-size: 13px; }

/* Lista de clientes cadastrados (tela Clientes) */
.lista-cab { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.contador { background: var(--azul-claro); color: var(--azul-escuro); font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 11px; }
#tabelaClientes thead th { position: sticky; top: 0; z-index: 1; }
.vazio-busca { text-align: center; padding: 30px 16px; color: var(--texto-suave); }
.vazio-busca p { margin-bottom: 14px; font-size: 14px; }

/* Selects nativos que seguem em tabela (dinâmicos) — chevron custom p/ manter o mesmo visual */
select.input-cel {
  appearance: none;
  -webkit-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%236b7280" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>');
  background-repeat: no-repeat;
  background-position: right 7px center;
  padding-right: 24px;
}
