/* Rascunhos do CRM — mesma identidade do Norte (tokens de static/criativos.css + GUIA-VISUAL.md). Dados de exemplo. */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap');

:root {
  --radius: .75rem;
  --background: #fcfcfc;
  --foreground: #0e1819;
  --card: #ffffff;
  --primary: #19c27e;
  --muted: oklch(96% .008 156);
  --muted-foreground: #6c7d77;
  --cinza-claro: #adbdb7;
  --border: #dee6e3;
  --border-2: #e9efed;
  --sidebar: oklch(98.5% 0 0);
  --green-50: #e8fceb;
  --green-100: #d0fbd8;
  --green-700: #0c8b71;
  --red: #f41b19;
  --red-50: #fef2f2;
  --orange: #e9ac28;
  --orange-50: #fdf6e3;
  --blue: #008ccf;
  --blue-50: #e6f4fb;
  --purple: #5954d7;
  --purple-50: #eeedfb;
  --pill: #e9efed;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--background); color: var(--foreground);
  font-family: 'Montserrat', system-ui, sans-serif; font-size: 13px; font-weight: 500;
  letter-spacing: -0.2px; -webkit-font-smoothing: antialiased;
  display: flex; min-height: 100vh;
}
button, input, select, textarea { font-family: inherit; letter-spacing: inherit; }
svg.i { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
svg.i.sm { width: 14px; height: 14px; }
svg.i.lg { width: 20px; height: 20px; }

/* ---------- menu lateral (igual ao Norte) ---------- */
#side { width: 220px; flex: none; background: var(--sidebar); border-right: 1px solid var(--border); display: flex; flex-direction: column; height: 100vh; position: sticky; top: 0; }
.logo { display: flex; align-items: center; gap: 8px; padding: 16px 18px; font-weight: 800; font-size: 16px; }
.logo img { width: 26px; height: 26px; }
.logo small { font-size: 10.5px; font-weight: 700; color: var(--green-700); background: var(--green-50); border-radius: 6px; padding: 2px 6px; }
.ws { padding: 6px 18px 12px; }
.ws label { display: block; font-size: 10.5px; font-weight: 700; color: var(--muted-foreground); text-transform: uppercase; letter-spacing: .3px; margin-bottom: 6px; }
.ws .sel { border: 1px solid var(--border); border-radius: 8px; background: #fff; padding: 7px 10px; font-weight: 700; font-size: 13px; display: flex; justify-content: space-between; align-items: center; }
#nav { padding: 6px 10px; flex: 1; overflow-y: auto; }
.nav-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-size: 13px; font-weight: 600; margin-bottom: 2px; color: var(--foreground); text-decoration: none; }
.nav-item:hover { background: var(--muted); }
.nav-item.on { background: var(--green-50); color: var(--green-700); }
.nav-item .nb, .mnav a .nb { margin-left: auto; background: var(--primary); color: #fff; border-radius: 999px; min-width: 18px; height: 18px; padding: 0 5px; font-size: 10.5px; font-weight: 750; display: grid; place-items: center; }
.mnav a .nb { margin-left: 2px; }
.nb[hidden] { display: none !important; }
.nav-sep { font-size: 10.5px; font-weight: 700; color: var(--muted-foreground); text-transform: uppercase; letter-spacing: .3px; padding: 14px 10px 6px; }
.user { border-top: 1px solid var(--border); padding: 12px 16px; display: flex; align-items: center; gap: 10px; }
.user .av { width: 30px; height: 30px; border-radius: 50%; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; font-weight: 800; }
.user b { display: block; font-size: 12.5px; } .user span { font-size: 11px; color: var(--muted-foreground); }
.user .eu { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; text-decoration: none; color: inherit; border-radius: 10px; padding: 4px; margin: -4px; }
.user .eu:hover, .user .eu.on { background: var(--muted); }
.user[class*="cor-"] .av { background: var(--c-50); color: var(--c-txt); }
.user[class*="cor-"] span { color: var(--c-txt); font-weight: 650; }

/* ---------- área principal ---------- */
#main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
#top { height: 52px; flex: none; display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 0 20px; border-bottom: 1px solid var(--border); background: #fff; }
.chip { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--muted); color: var(--muted-foreground); display: inline-flex; align-items: center; gap: 6px; }
.chip.ok { background: var(--green-50); color: var(--green-700); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
#content { flex: 1; padding: 22px 28px 60px; max-width: 1260px; width: 100%; }
#content.full { max-width: none; }

.head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.h1 { font-size: 19px; font-weight: 800; margin: 0; display: flex; align-items: center; gap: 8px; }
.sub { font-size: 12.5px; color: var(--muted-foreground); margin: 3px 0 0; }
.acts { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin: 16px 0 18px; overflow-x: auto; }
.tab { padding: 10px 12px; font-size: 13px; font-weight: 650; color: var(--muted-foreground); border-bottom: 2px solid transparent; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.tab.on { color: var(--primary); border-bottom-color: var(--primary); }
.tab .n { background: var(--pill); color: var(--muted-foreground); border-radius: 999px; font-size: 10.5px; padding: 1px 7px; }

.btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); background: #fff; color: var(--foreground); border-radius: 10px; padding: 7px 12px; font-size: 12.8px; font-weight: 650; cursor: pointer; white-space: nowrap; }
.btn.pri { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn.sm { padding: 4px 9px; font-size: 12px; border-radius: 8px; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--muted-foreground); }
.pill { display: inline-flex; align-items: center; gap: 6px; background: var(--pill); border-radius: 10px; padding: 3px 12px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.pill.on { background: var(--green-50); color: var(--green-700); box-shadow: inset 0 0 0 1px #9be3c2; }
.pill .n { font-size: 11px; color: var(--muted-foreground); font-weight: 650; }
.pill.on .n { color: var(--green-700); }
.inp { border: 1px solid var(--border); border-radius: 10px; background: #fff; padding: 7px 11px; font-size: 12.8px; color: var(--muted-foreground); display: inline-flex; align-items: center; gap: 8px; min-width: 220px; }

/* cards */
.grid { display: grid; gap: 16px; }
.g4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0,1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.sec { margin-top: 32px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.card.big { padding: 20px 24px; }
.card-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; }
.card-h h3 { font-size: 15px; font-weight: 650; margin: 0; display: flex; align-items: center; gap: 8px; }
.card-h small { color: var(--muted-foreground); font-size: 12px; font-weight: 500; }
.kpi .r { font-size: 13.5px; font-weight: 550; display: flex; align-items: center; gap: 8px; }
.kpi .r .ic { width: 26px; height: 26px; border-radius: 7px; background: var(--pill); display: grid; place-items: center; color: var(--muted-foreground); }
.kpi .v { font-size: 24px; font-weight: 600; margin-top: 10px; }
.kpi .v .rs { font-size: 12px; color: #999; font-weight: 500; margin-right: 3px; }
.kpi .v .p { font-size: 13px; color: var(--cinza-claro); font-weight: 550; margin-left: 4px; }
.kpi .d { font-size: 11.2px; font-weight: 600; margin-top: 4px; color: var(--muted-foreground); }
.up { color: var(--primary); } .down { color: var(--red); } .warn { color: var(--orange); } .info { color: var(--blue); }
.kpi.sel { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.muted { color: var(--muted-foreground); }
.tiny { font-size: 11.2px; color: var(--cinza-claro); font-weight: 550; }

/* etiquetas */
.tag { display: inline-flex; align-items: center; gap: 5px; border-radius: 6px; padding: 2px 8px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.t-green { background: var(--green-50); color: var(--green-700); }
.t-red { background: var(--red-50); color: #c0261f; }
.t-orange { background: var(--orange-50); color: #9a6a00; }
.t-blue { background: var(--blue-50); color: #00679a; }
.t-purple { background: var(--purple-50); color: var(--purple); }
.t-gray { background: var(--pill); color: var(--muted-foreground); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

/* tabela */
.tbl { width: 100%; border-collapse: collapse; font-size: 12.8px; }
.tbl th { text-align: left; font-size: 12px; font-weight: 700; padding: 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.tbl th .s { color: var(--cinza-claro); font-weight: 600; margin-left: 2px; }
.tbl td { padding: 9px 10px; border-bottom: 1px solid var(--border-2); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: none; }
.tbl tr.tot td { font-weight: 750; border-top: 1px solid var(--border); }
.tbl .num { text-align: right; white-space: nowrap; }
.tbl .num small { display: block; font-size: 11px; color: var(--cinza-claro); font-weight: 550; }
.who { white-space: nowrap; }
.who b { display: block; font-weight: 650; }
.tblwrap { overflow-x: auto; }
.clip { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who span { font-size: 11.5px; color: var(--muted-foreground); }
.chan { display: inline-flex; gap: 4px; }
.chan i { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-style: normal; }
.chan i.on { background: var(--green-50); color: var(--green-700); }
.chan i.off { background: var(--pill); color: var(--cinza-claro); }

/* funil */
.funnel { display: flex; align-items: stretch; gap: 0; padding-top: 30px; }
.fstep { flex: 1; text-align: center; }
.fbar { height: 120px; display: flex; align-items: flex-end; justify-content: center; }
.fbar div { width: 70%; background: linear-gradient(#36d394, #19c27e); border-radius: 8px 8px 0 0; position: relative; }
.fbar .pv { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); background: var(--foreground); color: #fff; border-radius: 999px; font-size: 11.5px; font-weight: 650; padding: 2px 8px; white-space: nowrap; }
.flab { font-size: 12px; font-weight: 650; margin-top: 8px; }
.farrow { align-self: center; margin-top: -30px; }
.farrow span { background: var(--green-50); color: var(--green-700); border-radius: 999px; font-size: 11px; font-weight: 700; padding: 2px 7px; white-space: nowrap; }
.farrow span.bad { background: var(--red-50); color: #c0261f; }

.bar { height: 6px; background: var(--pill); border-radius: 999px; overflow: hidden; }
.bar div { height: 100%; background: var(--primary); border-radius: 999px; }
.kv { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: 13px; border-bottom: 1px dashed var(--border-2); }
.kv:last-child { border-bottom: none; }
.kv span:first-child { color: var(--muted-foreground); }
.note { font-size: 11.5px; color: var(--muted-foreground); margin-top: 10px; display: flex; gap: 6px; align-items: flex-start; }

/* marca d'água do rascunho */
.draft { position: fixed; right: 14px; bottom: 12px; background: var(--foreground); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: 11px; font-weight: 700; opacity: .85; z-index: 50; }

/* ---------- celular ---------- */
.only-m { display: none; }
@media (max-width: 760px) {
  body { display: block; }
  #side { display: none; }
  .only-m { display: block; }
  .mtop { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--border); background: #fff; position: sticky; top: 0; z-index: 5; }
  .mtop .logo { padding: 0; }
  .mnav { display: flex; gap: 6px; overflow-x: auto; padding: 10px 16px; border-bottom: 1px solid var(--border); background: var(--sidebar); scrollbar-width: none; }
  .mnav a { flex: none; font-size: 12.5px; font-weight: 650; padding: 6px 10px; border-radius: 8px; color: var(--foreground); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
  .mnav a.on { background: var(--green-50); color: var(--green-700); }
  #top { display: none; }
  #content { padding: 16px 16px 60px; }
  .g4, .g5, .g3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .g2 { grid-template-columns: 1fr; }
  .kpi .v { font-size: 20px; }
  .hide-m { display: none !important; }
  .inp { min-width: 0; flex: 1 1 100%; }
  .g5 > :last-child:nth-child(odd), .g3 > :last-child:nth-child(odd) { grid-column: span 2; }
  .only-m { min-width: 0; max-width: 100vw; }
  #main { min-width: 0; max-width: 100vw; }
}

/* ---------- app (fora do rascunho) ---------- */
.ws select.sel { width: 100%; appearance: auto; cursor: pointer; }
.aviso { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--foreground); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 650; font-size: 13px; z-index: 100; display: none; max-width: 90vw; box-shadow: 0 8px 24px rgba(0,0,0,.18); pointer-events: none; }
.aviso.erro { background: #b42318; }
.vazio { text-align: center; padding: 40px 16px; color: var(--muted-foreground); }
.vazio b { display: block; color: var(--foreground); font-size: 15px; margin-bottom: 6px; }
.carregando { color: var(--muted-foreground); padding: 24px; text-align: center; }
a { color: inherit; }
input.inp, select.inp { color: var(--foreground); font-family: inherit; }

/* ---------- seletor de período (copiado do Norte: static/criativos.css, sem mudar o desenho) ---------- */
.pk-raiz { display: flex; align-items: flex-end; gap: 8px; }
.pk-raiz.pk-ocupado .s-date-pill { cursor: progress; opacity: .7; }
.s-hidden { display: none !important; }
.s-dropdown-wrap { position: relative; }
.s-period-pills { display: flex; align-items: flex-end; gap: 8px; }
.s-pill-col { display: flex; flex-direction: column; gap: 4px; }
.s-pill-cap { font-size: 11.5px; font-weight: 600; color: #0e1819; padding-left: 2px; }
.s-date-pill { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 40px; box-sizing: border-box; border: 1px solid transparent; border-radius: 10px; padding: 1.6px 12px; background: #e9efed; cursor: pointer; white-space: nowrap; }
.s-date-pill:hover, .s-date-pill:focus-visible { border-color: #D0FBD8; outline: none; }
.s-date-pill .s-date-pill-label { font-size: 9.6px; font-weight: 500; line-height: 11px; color: #6c7d77; }
.s-date-pill .s-date-pill-value { font-size: 12px; font-weight: 550; display: flex; align-items: center; gap: 6px; }
.s-compare-pill { position: relative; padding-right: 32px; background: #e6f4ee; border-color: #D0FBD8; }
.s-compare-remove { position: absolute; top: 12px; right: 8px; display: flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; color: var(--muted-foreground); cursor: pointer; }
.s-compare-remove svg.i { width: 11px; height: 11px; }
.s-compare-remove:hover { background: var(--muted); color: var(--foreground); }
.s-icon-btn-outline { width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 8px; background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--foreground); flex: none; margin-bottom: 3px; }
.s-icon-btn-outline.s-icon-active { background: var(--green-50); border-color: var(--primary); color: var(--green-700); }
.s-period-dd-menu { position: absolute; top: calc(100% + 6px); right: 0; background: #fff; z-index: 50; width: auto; min-width: 0; padding: 0; border: 2px solid #D0FBD8; border-radius: 12px; box-shadow: 0 3px 13px rgba(0,0,0,.08); overflow: hidden; }
.s-pk-body { display: flex; }
.s-pk-presets { width: 180px; padding: 12px; box-sizing: border-box; border-right: 1px solid var(--border); display: flex; flex-direction: column; }
.s-pk-title { font-size: 12px; font-weight: 600; color: #6c757d; padding: 6px 12px 10px; text-align: center; }
.s-pk-preset { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 9.6px 16px; border-radius: 8px; font-size: 12px; font-weight: 500; color: #0e1819; cursor: pointer; text-align: center; border: none; background: none; font-family: inherit; }
.s-pk-preset:hover { background: #f1f5f3; }
.s-pk-preset.active { background: #e6f4ee; color: #0C8B71; }
.s-pk-preset-sub { font-size: 10px; font-weight: 500; color: #6c7d77; }
.s-pk-cal { padding: 12px 14px 8px; width: 328px; box-sizing: border-box; }
.s-pk-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.s-pk-month { font-size: 14px; font-weight: 600; color: #0e1819; text-transform: lowercase; }
.s-pk-nav { width: 30px; height: 30px; border: none; background: none; border-radius: 6px; font-size: 20px; line-height: 1; color: #0e1819; cursor: pointer; }
.s-pk-nav:hover { background: #f1f5f3; }
.s-pk-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.s-pk-dow span { font-size: 11.2px; font-weight: 600; color: #666; text-align: center; padding: 8px 0; }
.s-pk-day { height: 38px; border: none; background: none; border-radius: 6px; font-size: 12px; font-weight: 400; color: #0e1819; cursor: pointer; font-family: inherit; }
.s-pk-day:hover { background: #e6f4ee; }
.s-pk-day.out { color: #ccc; }
.s-pk-day.in { background: #e6f4ee; border-radius: 0; color: #0C8B71; }
.s-pk-day.edge-l, .s-pk-day.edge-r { background: #19c27e; color: #fff; font-weight: 600; }
.s-pk-day.edge-l { border-radius: 6px 0 0 6px; }
.s-pk-day.edge-r { border-radius: 0 6px 6px 0; }
.s-pk-day.edge-l.edge-r { border-radius: 6px; }
.s-pk-tz { font-size: 11px; font-weight: 500; color: #6c7d77; text-align: right; padding: 8px 4px 2px; }
.s-pk-foot { display: flex; justify-content: flex-end; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--border); }
.s-pk-cancel { border: none; background: none; font-size: 12px; font-weight: 600; color: #0e1819; cursor: pointer; padding: 8px 12px; font-family: inherit; }
.s-pk-apply { border: none; background: #19c27e; color: #fff; font-size: 12px; font-weight: 600; padding: 10px 18px; border-radius: 8px; cursor: pointer; font-family: inherit; }
.s-pk-apply:hover { background: #12a86b; }
@media (max-width: 640px) {
  .pk-raiz, .s-period-pills { flex-wrap: wrap; }
  .s-period-dd-menu { position: fixed; left: 4vw !important; right: 4vw !important; top: 90px; max-height: 82vh; overflow-y: auto; }
  .s-pk-body { flex-direction: column; }
  .s-pk-presets { width: auto; border-right: none; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 1fr 1fr; }
  .s-pk-title { grid-column: 1 / -1; }
  .s-pk-cal { width: auto; }
}
.s-pk-day:disabled { color: #d5dcd9; background: none; cursor: default; }

/* ---------- cor por assunto (02/11: "mais vida", como no Norte/Nemu) ----------
   Cada assunto tem a sua cor: dinheiro e venda = verde, pessoas = azul, mensagens e fluxos = roxo, tempo e recompra = laranja,
   problema = vermelho. Os grupos e segmentos usam as classes cor-* (--c forte, --c-50 fundo claro, --c-txt texto). */
.cor-verde { --c: #19c27e; --c-50: #e8fceb; --c-txt: #0c8b71; }
.cor-teal { --c: #0c8b71; --c-50: #e2f4ee; --c-txt: #0a6b58; }
.cor-azul { --c: #008ccf; --c-50: #e6f4fb; --c-txt: #00679a; }
.cor-roxo { --c: #5954d7; --c-50: #eeedfb; --c-txt: #4843bf; }
.cor-laranja { --c: #e9ac28; --c-50: #fdf6e3; --c-txt: #9a6a00; }
.cor-vermelho { --c: #f41b19; --c-50: #fef2f2; --c-txt: #c0261f; }
.cor-rosa { --c: #e0457b; --c-50: #fdeef3; --c-txt: #b42a5c; }
.cor-ciano { --c: #0ea5b7; --c-50: #e3f6f8; --c-txt: #0a7e8c; }
.cor-cinza { --c: #8a9490; --c-50: #eef2f0; --c-txt: #5c6b66; }
.t-teal { background: #e2f4ee; color: #0a6b58; }
.t-rosa { background: #fdeef3; color: #b42a5c; }
.t-ciano { background: #e3f6f8; color: #0a7e8c; }

/* quadradinho do ícone nos cartões de número: a cor vem do ícone (o ícone já diz o assunto) */
.kpi .r .ic:has(.ic-bag, .ic-coin, .ic-cart, .ic-check, .ic-ticket) { background: var(--green-50); color: var(--green-700); }
.kpi .r .ic:has(.ic-users, .ic-user, .ic-eye, .ic-monitor, .ic-live, .ic-clock, .ic-checks) { background: var(--blue-50); color: var(--blue); }
.kpi .r .ic:has(.ic-send, .ic-whatsapp, .ic-template, .ic-flow, .ic-popup) { background: var(--purple-50); color: var(--purple); }
.kpi .r .ic:has(.ic-repeat, .ic-zap, .ic-moon, .ic-calendar, .ic-tag, .ic-click) { background: var(--orange-50); color: #c98a00; }
.kpi .r .ic:has(.ic-x, .ic-alert, .ic-shield) { background: var(--red-50); color: #c0261f; }
.kpi .r .ic { width: 28px; height: 28px; border-radius: 8px; }

/* filtros em pílula: fundo branco com borda (antes era preto no cinza) e a contagem num selinho */
.pill { background: #fff; box-shadow: inset 0 0 0 1px var(--border); color: var(--foreground); padding: 5px 12px; transition: background .15s, box-shadow .15s; }
.pill:hover { box-shadow: inset 0 0 0 1px #b9c6c1; }
.pill .n { background: var(--pill); color: var(--muted-foreground); border-radius: 999px; padding: 1px 7px; font-size: 10.5px; }
.pill.on { background: var(--green-50); color: var(--green-700); box-shadow: inset 0 0 0 1.5px #5fd3a3; }
.pill.on .n { background: #fff; color: var(--green-700); }
.pill[class*="cor-"]::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.pill[class*="cor-"].on { background: var(--c-50); color: var(--c-txt); box-shadow: inset 0 0 0 1.5px var(--c); }
.pill[class*="cor-"].on .n { color: var(--c-txt); }
a.pill { text-decoration: none; }

/* tabelas: cabeçalho com fundo leve, linhas com respiro */
.tbl thead th { background: #f5f8f7; color: #3d4b47; }
.tbl tbody tr:hover td { background: #f7fbf9; }
/* bolinha com a inicial (contatos, ao vivo) na cor do grupo */
.av-ini { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 12px; font-weight: 750; flex: none;
  background: var(--c-50, var(--pill)); color: var(--c-txt, var(--muted-foreground)); }
