/* Bússola Admin — Chamados e Interessados (admin-central.js). As bolhas da conversa (.sup-chat, .sup-msg, .bolha) vêm do style.css do Bússola. */
.tabbar .pill { position: relative; }
.cont { position: absolute; top: -4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--nb-danger); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; font-variant-numeric: tabular-nums; box-sizing: border-box; }
.ch-novo { display: inline-block; width: 8px; height: 8px; border-radius: 999px; background: var(--nb-primary); margin-right: 6px; vertical-align: 2px; }
.sup-chat { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.sup-msg { display: flex; flex-direction: column; gap: 4px; max-width: 88%; } .sup-msg.eu { align-self: flex-end; align-items: flex-end; } .sup-msg.eq { align-self: flex-start; }
.sup-msg .bolha { max-width: 100%; } .sup-msg .quem { font-size: 12px; color: var(--nb-text-3); padding: 0 6px; }
.sup-resp { display: flex; flex-direction: column; gap: 12px; } .sup-resp textarea { resize: vertical; min-height: 72px; width: 100%; }

@media (min-width: 1000px) and (orientation: landscape) {
  .dk-side button.nav { position: relative; }
  .dk-side button.nav .cont { position: static; margin-left: auto; }
  .dk-segs button small { font-size: 12px; opacity: .6; margin-left: 2px; font-variant-numeric: tabular-nums; }
  .dk-cols.ch-cols { grid-template-columns: minmax(340px, 38%) minmax(0, 1fr); }
  @media (max-width: 1240px) { .dk-cols.ch-cols { grid-template-columns: minmax(0, 1fr); } }
  .ch-lista { list-style: none; margin: 0; padding: 0; max-height: calc(100vh - 210px); overflow-y: auto; }
  .ch-lista li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 18px; cursor: pointer; }
  .ch-lista li + li { border-top: 1px solid var(--nb-border); }
  .ch-lista li:hover { background: color-mix(in srgb, var(--nb-surface-2) 50%, transparent); }
  .ch-lista li.on { background: var(--nb-primary-soft); }
  .ch-lista .tx { min-width: 0; } .ch-lista .tx b { display: block; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ch-lista li.novo .tx b { font-weight: 700; } .ch-lista li.novo .tx b::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 999px; background: var(--nb-primary); margin-right: 7px; vertical-align: 2px; }
  .ch-lista .tx small { display: block; color: var(--nb-text-3); font-size: 12.5px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ch-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--soft); color: var(--cor); }
  .ch-ic svg, .ch-ic i { width: 17px; height: 17px; }
  .ch-conv .top { align-items: flex-start; } .ch-conv .top h2 { font-size: 17px; text-wrap: balance; } .ch-conv .top small { display: block; margin-top: 3px; font-size: 12.5px; }
  .ch-conv .top .dk-acoes { flex-wrap: wrap; justify-content: flex-end; }
  .ch-kv { border-bottom: 1px solid var(--nb-border); } .ch-kv a { color: var(--nb-primary); font-weight: 500; }
  .ch-conv .sup-chat { padding: 20px 22px 6px; margin: 0; max-height: 52vh; overflow-y: auto; }
  .ch-resp { padding: 14px 22px 18px; border-top: 1px solid var(--nb-border); }
  .ch-resp textarea, #ch-nota { font: inherit; font-size: 14px; padding: 10px 12px; border-radius: var(--nb-radius-sm); border: 1.5px solid var(--nb-border); background: var(--nb-surface); color: var(--nb-text); box-sizing: border-box; resize: vertical; }
  .ch-resp textarea:focus, #ch-nota:focus { outline: none; border-color: var(--nb-primary); }
  .ch-resp-pe { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .ch-resp-pe label { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--nb-text-2); }
  .ld-tab td { white-space: normal; height: auto; padding-top: 10px; padding-bottom: 10px; } .ld-tab td small { font-size: 12.5px; }
  .ld-tab .hora { color: var(--nb-text-3); font-variant-numeric: tabular-nums; font-size: 13px; }
  .ld-sel, .ld-nota { font: inherit; font-size: 13.5px; height: 34px; padding: 0 10px; border-radius: var(--nb-radius-sm); border: 1px solid var(--nb-border); background: var(--nb-surface); color: var(--nb-text); width: 100%; box-sizing: border-box; }
  .ld-nota { border-color: transparent; background: transparent; } .ld-nota:hover, .ld-nota:focus { border-color: var(--nb-border); background: var(--nb-surface); outline: none; }
  .ld-sel.st-novo { color: var(--nb-primary); font-weight: 600; } .ld-sel.st-contatado { color: var(--nb-warning); font-weight: 600; } .ld-sel.st-virou_familia { color: var(--nb-success); font-weight: 600; } .ld-sel.st-descartado { color: var(--nb-text-3); }
}
