/* Webphone · tema escuro Oceano e layout responsivo (v0.3).
   >= 1100 px  computador: menu lateral com legenda, discador à esquerda e histórico à direita.
   760-1099    notebook pequeno e tablet deitado: menu lateral só com ícones.
   < 760       tablet em pé e celular: uma coluna e menu de abas embaixo.
   Sem fontes nem ícones da internet: tudo vem da própria central. */
:root {
  --bg: #0f1a21; --app: #13212a; --panel: #172832; --raised: #1d313d; --hover: #243b48; --line: #24394a;
  --ink: #d8e6ec; --muted: #98afbb; --faint: #7894a2;
  --accent: #6cc0d8; --accent-soft: #19394a; --on-accent: #0b171d;
  --ok: #72c9a0; --ok-soft: #1a3631; --danger: #e8908a; --danger-soft: #3a2628; --danger-fill: #c8625c;
  --hold: #e2b56c; --hold-soft: #38301f; --call: #3c9878;
  --av1b: #1c3a4a; --av1f: #a4d5e6; --av2b: #2b3350; --av2f: #bcc5ee; --av3b: #1f3d3a; --av3f: #a2d9c9;
  --av4b: #40382b; --av4f: #e7cca2; --av5b: #26333b; --av5f: #b2c3cc;
  --sans: Inter, "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Mono", "JetBrains Mono", Consolas, ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; }
input, select { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.noscript { padding: 24px; }
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Estrutura ---------- */
.app { position: relative; height: 100%; max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; background: var(--app); overflow: hidden; }
@media (min-width: 1300px) and (min-height: 720px) {
  body { padding: 20px; }
  .app { border: 1px solid var(--line); border-radius: 18px; }
}
.shell { flex: 1; display: flex; min-height: 0; }
.rail { width: 84px; flex: none; background: var(--panel); border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; padding: 16px 0; gap: 6px; }
.logo { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 12px; flex: none; }
.logo svg.i { width: 22px; height: 22px; }
.nav { width: 66px; border: 0; background: none; border-radius: 12px; padding: 8px 0 7px; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--muted); font-size: 12px; position: relative; }
.nav svg.i { width: 22px; height: 22px; }
.nav:hover { background: var(--raised); color: var(--ink); }
.nav[aria-current="true"] { background: var(--accent-soft); color: var(--accent); }
.nav .badge { position: absolute; top: 5px; right: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 2px var(--panel); }
.nav .count { position: absolute; top: 2px; right: 9px; min-width: 17px; height: 17px; border-radius: 9px; background: var(--danger-fill); color: #fff; font-size: 10.5px; font-weight: 600; display: grid; place-items: center; padding: 0 4px; box-shadow: 0 0 0 2px var(--panel); }
.nav.m { display: none; }
.rail .grow { flex: 1; }
.me { width: 36px; height: 36px; font-size: 12px; }

.main { flex: 1; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.top { height: 64px; flex: none; display: flex; align-items: center; gap: 12px; padding: 0 20px 0 24px; border-bottom: 1px solid var(--line); }
.hello { font-size: 15px; font-weight: 500; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hello small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; overflow: hidden; text-overflow: ellipsis; }
.sp { flex: 1; }
.chip { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 5px 12px; font-size: 12.5px; font-weight: 500; background: var(--ok-soft); color: var(--ok); white-space: nowrap; flex: none; }
.chip svg.i { width: 15px; height: 15px; }
.chip.danger { background: var(--danger-soft); color: var(--danger); }
.chip.hold { background: var(--hold-soft); color: var(--hold); }
.chip.acc { background: var(--accent-soft); color: var(--accent); }
.chip.gray { background: var(--raised); color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.ib { width: 38px; height: 38px; border: 0; background: none; border-radius: 11px; display: grid; place-items: center; color: var(--muted); flex: none; }
.ib:hover { background: var(--raised); color: var(--ink); }

.banner { display: flex; align-items: center; gap: 12px; padding: 10px 24px; font-size: 13px; flex: none; }
.banner > div { flex: 1; min-width: 0; }
.banner b { font-weight: 600; }
.banner span { color: var(--ink); opacity: .85; }
.banner.danger { background: var(--danger-soft); color: var(--danger); }
.banner.wait { background: var(--hold-soft); color: var(--hold); }
.banner.okb { background: var(--ok-soft); color: var(--ok); }

.demobar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 7px 18px; font-size: 12.5px; background: var(--accent-soft); color: var(--ink); flex: none; }
.demobar > span:first-child { flex: 1; min-width: 200px; }
.demobtns { display: flex; gap: 6px; flex-wrap: wrap; }
.demobar button { border: 1px solid var(--accent); background: transparent; color: var(--accent); border-radius: 8px; padding: 3px 10px; font-size: 12px; font-weight: 500; }
.demobar select { border: 1px solid var(--accent); background: var(--app); color: var(--accent); border-radius: 8px; padding: 3px 8px; font: inherit; font-size: 12px; max-width: 100%; }

/* Vigia: problemas que fazem perder ligações. Vermelho = alarme, amarelo = aviso. */
.vigias { flex: none; display: flex; flex-direction: column; }
.vigia { display: flex; align-items: center; gap: 12px; padding: 10px 24px; font-size: 13px; }
.vigia > svg.i { width: 20px; height: 20px; flex: none; }
.vigia .vt { flex: 1; min-width: 0; }
.vigia .vt b { font-weight: 600; }
.vigia .vt span { color: var(--ink); opacity: .88; }
.vigia .va { display: flex; align-items: center; gap: 8px; flex: none; }
.vigia.alarme { background: var(--danger-fill); color: #fff; }
.vigia.alarme .vt span { color: #fff; opacity: .92; }
.vigia.alarme .btn.dng { background: #fff; color: #7a2622; border-color: #fff; font-weight: 600; }
.vigia.aviso { background: var(--hold-soft); color: var(--hold); }
.vigia.extra { border-top: 1px solid rgba(0, 0, 0, .18); }
.vigia .ib { width: 32px; height: 32px; color: inherit; }
.vmais { min-width: 34px; height: 28px; border-radius: 14px; border: 1px solid currentColor; background: transparent; color: inherit; font: inherit; font-size: 12px; font-weight: 600; padding: 0 9px; }
.vmais[aria-expanded="true"] { background: rgba(0, 0, 0, .18); }
.check small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.check b { color: var(--ink); font-weight: 500; }
.check:has(small) { align-items: flex-start; }

/* Barra da chamada: aparece em qualquer tela enquanto há uma ligação */
.callbar { display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 24px; background: var(--ok-soft); border-bottom: 1px solid var(--line); flex: none; }
.callbar.mut { background: var(--hold-soft); }
.callbar .rt b { font-size: 13.5px; }
.callbar .t { color: var(--ok); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.callbar.mut .t { color: var(--hold); }
.cb { height: 36px; padding: 0 12px; border: 0; border-radius: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; background: var(--raised); color: var(--ink); flex: none; }
.cb:hover { background: var(--hover); }
.cb.warn { background: var(--hold); color: #2a2111; }
.cb.end { background: var(--danger-fill); color: #fff; }
.cb.end svg.i { transform: rotate(135deg); }
.cb svg.i { width: 17px; height: 17px; }

.content { flex: 1; display: flex; min-height: 0; }
.cols { flex: 1; display: grid; grid-template-columns: 340px minmax(0, 1fr); min-height: 0; }
.left { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; min-width: 0; overflow: auto; }
.right, .page { display: flex; flex-direction: column; min-height: 0; min-width: 0; padding: 20px 24px 0; gap: 12px; }
.page { flex: 1; }
.scroll { flex: 1; min-height: 0; overflow: auto; margin: 0 -8px; padding: 0 8px 16px; }

/* ---------- Discador ---------- */
.dialer { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; }
.disp { width: 100%; max-width: 280px; text-align: center; position: relative; }
.disp-row { display: flex; align-items: center; gap: 4px; min-height: 48px; }
.disp-row .ib { visibility: hidden; }
.disp-row.has .ib { visibility: visible; }
.disp-pad { width: 38px; flex: none; }
.n { flex: 1; min-width: 0; font-family: var(--mono); font-size: 30px; letter-spacing: .04em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.n.txt { font-family: var(--sans); letter-spacing: 0; font-size: 26px; }
.n.ph { font-family: var(--sans); font-size: 14px; color: var(--faint); letter-spacing: 0; }
.disp .who { font-size: 12.5px; color: var(--accent); min-height: 18px; }
.sugg { position: absolute; left: -8px; right: -8px; top: 52px; z-index: 4; background: var(--raised); border: 1px solid var(--line); border-radius: 14px; padding: 6px; text-align: left; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6); }
.sugg .row { padding: 7px 8px; }
.sugg .row .av { width: 32px; height: 32px; font-size: 12px; }
.sugg .row[aria-selected="true"] { background: var(--hover); }
.sugg .kbd { font-size: 11px; color: var(--faint); padding: 4px 8px 2px; display: flex; gap: 10px; flex-wrap: wrap; }
.sugg .vazio { padding: 10px; color: var(--muted); font-size: 13px; }
kbd { font: 500 10.5px var(--sans); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 0 5px; color: var(--muted); }
mark { background: none; color: var(--accent); font-weight: 600; }
.keypad { display: grid; grid-template-columns: repeat(3, 64px); gap: 12px 22px; }
.key { width: 64px; height: 64px; border-radius: 50%; border: 0; background: var(--raised); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; touch-action: manipulation; color: var(--ink); }
.key:hover { background: var(--hover); }
.key:active { transform: scale(.96); }
.key b { font-size: 23px; font-weight: 400; }
.key small { font-size: 10px; letter-spacing: .12em; color: var(--muted); min-height: 11px; }
.dialrow { display: grid; grid-template-columns: repeat(3, 64px); gap: 22px; align-items: center; justify-items: center; }
.big { width: 64px; height: 64px; border-radius: 50%; border: 0; background: var(--call); color: #fff; display: grid; place-items: center; touch-action: manipulation; }
.big svg.i { width: 26px; height: 26px; }
.big.end { background: var(--danger-fill); }
.big.end svg.i { transform: rotate(135deg); }
.big:disabled { background: var(--raised); color: var(--faint); }
.hintline { font-size: 11.5px; color: var(--faint); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: center; }

/* ---------- Listas ---------- */
.ph2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ph2 h2 { font-size: 16px; font-weight: 600; flex: 1 1 auto; }
.ph2 .hora { font-size: 12px; color: var(--faint); }
.seg { display: inline-flex; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 3px; flex: none; }
.seg button { border: 0; background: none; padding: 4px 12px; border-radius: 7px; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.seg button[aria-pressed="true"] { background: var(--raised); color: var(--ink); }
.search { display: flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 11px; padding: 0 12px; height: 40px; color: var(--faint); flex: none; }
.search:focus-within { border-color: var(--accent); }
.search input { flex: 1; min-width: 0; border: 0; background: none; color: var(--ink); outline: none; height: 100%; }
.search input::placeholder { color: var(--faint); }
.selwrap select { font-size: 13px; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; max-width: 100%; }
.grp { font-size: 11.5px; font-weight: 600; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin: 10px 0 4px 10px; }
.list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.row { width: 100%; display: flex; align-items: center; gap: 12px; padding: 9px 10px; border: 0; background: none; border-radius: 12px; text-align: left; color: var(--ink); }
button.row:hover:not(:disabled), .row:focus-visible { background: var(--panel); }
button.row:disabled { cursor: default; }
.av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; flex: none; }
.av svg.i { width: 18px; height: 18px; }
.a1 { background: var(--av1b); color: var(--av1f); } .a2 { background: var(--av2b); color: var(--av2f); } .a3 { background: var(--av3b); color: var(--av3f); }
.a4 { background: var(--av4b); color: var(--av4f); } .a5 { background: var(--av5b); color: var(--av5f); }
.rt { flex: 1; min-width: 0; }
.rt b { font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt > span { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt > span.miss { color: var(--danger); }
.rt > span svg.i { width: 14px; height: 14px; }
.dur { font-size: 12.5px; color: var(--muted); font-family: var(--mono); font-variant-numeric: tabular-nums; flex: none; }
.qcall { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); flex: none; opacity: 0; }
.qcall svg.i { width: 16px; height: 16px; }
button.row:hover:not(:disabled) .qcall, button.row:focus-visible .qcall { opacity: 1; }
.inline-err { padding: 8px 12px; border-radius: 10px; background: var(--danger-soft); color: var(--danger); font-size: 13px; }

/* Estados vazios */
.empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 30px 12px; color: var(--muted); }
.empty .ill { width: 72px; height: 72px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent); margin-bottom: 6px; }
.empty .ill svg.i { width: 32px; height: 32px; }
.empty h3 { font-size: 15px; font-weight: 600; color: var(--ink); }
.empty p { max-width: 300px; font-size: 13px; }

/* ---------- Chamada ---------- */
.callv { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 22px 18px; text-align: center; }
.cstate { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--muted); }
.halo { width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; font-size: 32px; font-weight: 600; margin: 6px 0 8px; }
.halo svg.i { width: 38px; height: 38px; }
.halo.ring { box-shadow: 0 0 0 12px var(--accent-soft), 0 0 0 26px color-mix(in srgb, var(--accent-soft) 45%, transparent); margin: 30px 0 32px; }
.n.ph { white-space: normal; line-height: 1.3; }
.halo.live { box-shadow: 0 0 0 10px var(--ok-soft); }
.halo.muted { box-shadow: 0 0 0 10px var(--hold-soft); }
.halo.held { box-shadow: 0 0 0 10px var(--hold-soft); opacity: .85; }
.cname { font-size: 23px; font-weight: 600; overflow-wrap: anywhere; }
.cname.small { font-size: 15px; color: var(--muted); font-weight: 500; }
.csub { color: var(--muted); font-size: 13.5px; }
.ctime { font-family: var(--mono); font-size: 18px; color: var(--ok); min-height: 26px; font-variant-numeric: tabular-nums; }
.ctime.hold { color: var(--hold); }
.mutenote, .heldnote { display: inline-flex; align-items: center; gap: 8px; background: var(--hold-soft); color: var(--hold); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 500; }
.mutenote svg.i { width: 16px; height: 16px; }
.ctrls { display: grid; grid-template-columns: repeat(4, 72px); gap: 16px; margin: 14px 0 6px; }
.ctrl { display: flex; flex-direction: column; align-items: center; gap: 8px; border: 0; background: none; font-size: 12.5px; color: var(--muted); }
.ctrl .c { width: 58px; height: 58px; border-radius: 18px; background: var(--raised); color: var(--ink); display: grid; place-items: center; }
.ctrl .c svg.i { width: 22px; height: 22px; }
.ctrl:hover .c { background: var(--hover); }
.ctrl[aria-pressed="true"] .c { background: var(--accent-soft); color: var(--accent); }
.ctrl.warn { color: var(--hold); font-weight: 500; }
.ctrl.warn .c { background: var(--hold); color: #2a2111; }
.ctrl.holdon .c { background: var(--hold-soft); color: var(--hold); }
.pair { display: flex; gap: 64px; margin-top: 18px; }
.pair.tight { margin-top: 10px; }
.lbl { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.dtmf { font-family: var(--mono); font-size: 22px; min-height: 32px; letter-spacing: .08em; overflow-wrap: anywhere; }
.dtmf-ph { font-family: var(--sans); font-size: 14px; color: var(--muted); letter-spacing: 0; }
.callv .keypad { gap: 10px 18px; }
.callv .key { width: 56px; height: 56px; }
.linkbtn { border: 0; background: none; color: var(--accent); font-weight: 500; padding: 8px 12px; border-radius: 10px; margin-top: 6px; }
.linkbtn:hover { background: var(--accent-soft); }

/* Transferir */
.xfer { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 10px; text-align: left; min-height: 0; }
.xfer .scroll { max-height: 280px; margin: 0; padding: 0; }
.xfer-wait { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--accent); justify-content: center; padding: 18px 0 4px; }

/* ---------- Status dos ramais ---------- */
.st-livre { color: var(--ok) !important; } .st-ocupado { color: var(--danger) !important; } .st-tocando { color: var(--accent) !important; }
.st-espera { color: var(--hold) !important; } .st-desconectado, .st-desconhecido { color: var(--faint) !important; }
.sum { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; flex: none; }
.met { background: var(--panel); border-radius: 14px; padding: 12px 14px; }
.met small { color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 6px; }
.met b { font-size: 22px; font-weight: 600; display: block; margin-top: 2px; font-variant-numeric: tabular-nums; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.fchip { border: 1px solid var(--line); background: none; border-radius: 999px; padding: 4px 12px; font-size: 12.5px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; flex: none; }
.fchip[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.fchip b { font-weight: 600; color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 10px; }
.ext { width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; gap: 10px; align-items: center; text-align: left; color: var(--ink); }
button.ext:hover:not(:disabled) { border-color: var(--accent); background: var(--raised); }
.ext.toc { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.ext:disabled { cursor: default; }
.mini { margin-left: auto; display: none; align-items: center; gap: 4px; background: var(--ok-soft); color: var(--ok); border-radius: 999px; padding: 1px 9px; font-size: 12px; font-weight: 500; }
.mini svg.i { width: 13px; height: 13px; }
button.ext:hover:not(:disabled) .mini, button.ext:focus-visible .mini { display: inline-flex; }

/* ---------- Usuários ---------- */
.tbl { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.tr { width: 100%; display: grid; grid-template-columns: minmax(0, 2.2fr) 0.8fr 1fr 1.1fr 1.3fr; align-items: center; gap: 10px; padding: 10px 16px; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; font-size: 13px; color: var(--ink); }
button.tr:hover { background: var(--raised); }
.tr.h { border-top: 0; color: var(--muted); font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; padding: 9px 16px; }
.tr .u { display: flex; gap: 10px; align-items: center; min-width: 0; }
.tr .u .av { width: 32px; height: 32px; font-size: 12px; }
.tag { display: inline-flex; border-radius: 7px; padding: 2px 8px; font-size: 12px; font-weight: 500; background: var(--raised); color: var(--muted); white-space: nowrap; }
.tag.sup { background: var(--accent-soft); color: var(--accent); }
.tag.off { background: var(--danger-soft); color: var(--danger); }
.tag.wait { background: var(--hold-soft); color: var(--hold); }
.tag.ok { background: var(--ok-soft); color: var(--ok); }

/* ---------- Botões e campos ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 12px; font-weight: 500; border: 1px solid var(--line); background: var(--raised); color: var(--ink); white-space: nowrap; }
.btn:hover:not(:disabled) { background: var(--hover); }
.btn.pri { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.btn.pri:hover:not(:disabled) { background: color-mix(in srgb, var(--accent) 88%, white); }
.btn.dng { color: var(--danger); background: transparent; border-color: color-mix(in srgb, var(--danger) 45%, transparent); }
.btn.sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn svg.i { width: 17px; height: 17px; }
.btn:disabled { opacity: .65; cursor: progress; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.field input, .field select { height: 44px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); padding: 0 14px; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.field input:disabled, .field select:disabled { color: var(--muted); background: var(--panel); }
.field small { font-size: 12px; color: var(--muted); }
.pw { position: relative; }
.pw input { padding-right: 84px; }
.pw button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; font-size: 12.5px; font-weight: 500; color: var(--accent); padding: 6px 8px; border-radius: 8px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.check input { accent-color: var(--accent); width: 18px; height: 18px; }
.alert { display: flex; gap: 10px; border-radius: 12px; padding: 11px 13px; background: var(--danger-soft); color: var(--ink); font-size: 13px; }
.alert svg.i { color: var(--danger); width: 20px; height: 20px; margin-top: 1px; }
.alert b { display: block; color: var(--danger); font-weight: 600; }
.alert.warn { background: var(--hold-soft); }
.alert.warn svg.i, .alert.warn b { color: var(--hold); }
.alert code { display: block; margin-top: 6px; font-family: var(--mono); font-size: 11.5px; overflow-wrap: anywhere; opacity: .85; }
.alert .copy { margin-top: 6px; border: 1px solid var(--line); background: var(--app); border-radius: 8px; padding: 3px 9px; font-size: 12px; }
.okmsg { color: var(--ok); font-size: 13px; font-weight: 500; }
.warnmsg { background: var(--hold-soft); color: var(--hold); border-radius: 10px; padding: 8px 10px; font-size: 13px; }

/* ---------- Janelas ---------- */
.shade { position: absolute; inset: 0; background: rgba(4, 9, 13, .62); display: flex; align-items: center; justify-content: center; padding: 18px; z-index: 20; }
.sheet { width: 440px; max-width: 100%; max-height: calc(100% - 20px); overflow: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.sheet.wide { width: 500px; }
.sheet h2 { font-size: 18px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.sheet .ico { width: 36px; height: 36px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.sheet .ico.dng { background: var(--danger-soft); color: var(--danger); }
.sheet p { color: var(--muted); }
.sheet form { display: flex; flex-direction: column; gap: 14px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.acts { display: flex; gap: 10px; justify-content: flex-end; align-items: center; margin-top: 4px; flex-wrap: wrap; }
.acts .spacer { flex: 1; }
.steps { display: flex; flex-direction: column; gap: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin: 0; list-style: none; counter-reset: p; }
.steps li { display: flex; gap: 10px; align-items: center; font-size: 13px; counter-increment: p; }
.steps li::before { content: counter(p); width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 12px; font-weight: 600; flex: none; }
.urlbar { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; font-size: 12.5px; color: var(--muted); overflow: hidden; white-space: nowrap; }
.urlbar .lk { color: var(--danger); background: var(--danger-soft); border-radius: 7px; padding: 3px 6px; display: inline-flex; }
.urlbar .lk svg.i { width: 14px; height: 14px; }
.meter { height: 6px; border-radius: 3px; background: var(--raised); overflow: hidden; }

/* ---------- Contatos ---------- */
.hrow { display: flex; align-items: center; gap: 4px; }
.hrow .row { flex: 1; min-width: 0; }
.hrow .salvar { opacity: .55; }
.hrow:hover .salvar, .hrow .salvar:focus-visible { opacity: 1; color: var(--accent); }
.ctag { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 6px; vertical-align: -3px; margin-left: 6px; }
.ctag svg.i { width: 12px; height: 12px; }
.ctag.me { background: var(--accent-soft); color: var(--accent); }
.ctag.emp { background: var(--raised); color: var(--muted); }
.cname .ctag { width: 22px; height: 22px; vertical-align: 2px; }
.cname .ctag svg.i { width: 14px; height: 14px; }
.note { display: flex; gap: 8px; align-items: flex-start; background: var(--hold-soft); color: var(--hold); border-radius: 12px; padding: 9px 12px; font-size: 13px; text-align: left; max-width: 380px; }
.note svg.i { width: 16px; height: 16px; margin-top: 2px; }
.note span { color: var(--ink); opacity: .92; }
.linkbtn.small { font-size: 13px; margin-top: 2px; }
.ccols { flex: 1; display: grid; grid-template-columns: 360px minmax(0, 1fr); min-height: 0; }
.clist { border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; padding: 20px 16px 0 20px; min-height: 0; min-width: 0; }
.clist .row[aria-current="true"] { background: var(--panel); }
.cdet { display: flex; flex-direction: column; gap: 16px; padding: 26px 30px; min-height: 0; min-width: 0; overflow: auto; }
.cdet .voltar { display: none; align-self: flex-start; margin: 0 0 -6px -10px; }
.chead { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.chead > .av { width: 64px; height: 64px; font-size: 22px; }
.chead > div:nth-child(2) { flex: 1 1 200px; min-width: 0; }
.chead h3 { font-size: 21px; font-weight: 600; overflow-wrap: anywhere; }
.chead p { color: var(--muted); margin-top: 2px; }
.cacts { display: flex; gap: 8px; flex-wrap: wrap; }
.kv { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: 13.5px; }
.kv span { color: var(--muted); }
.kv b { font-weight: 500; overflow-wrap: anywhere; }
.okbox { padding: 8px 12px; border-radius: 10px; background: var(--ok-soft); color: var(--ok); font-size: 13px; }
.okbox ul, .inline-err ul { margin: 6px 0 0; padding-left: 18px; color: var(--ink); opacity: .85; }
.flabel { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.radio { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; gap: 10px; align-items: flex-start; font-size: 13px; cursor: pointer; }
.opt.on { border-color: var(--accent); background: var(--accent-soft); }
.field .opt input { accent-color: var(--accent); margin: 3px 0 0; width: 16px; height: 16px; padding: 0; flex: none; box-shadow: none; }
.opt b { display: block; font-weight: 500; }
.opt small { color: var(--muted); font-size: 12px; }

/* ---------- Menu "Mais" (celular) ---------- */
.mlist { display: flex; flex-direction: column; gap: 4px; }
.mitem { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 8px; border: 0; background: none; border-radius: 12px; color: var(--muted); text-align: left; }
.mitem:hover { background: var(--panel); }
.mitem .mic { width: 38px; height: 38px; border-radius: 11px; background: var(--raised); color: var(--accent); display: grid; place-items: center; flex: none; }
.mitem .rt b { color: var(--ink); }

/* ---------- Entrada (login, senha, carregando) ---------- */
.login { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 0; overflow: auto; }
.l-side { background: var(--panel); padding: 44px; display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden; }
.l-side > * { position: relative; z-index: 1; }
.l-side > .waves { position: absolute; z-index: 0; right: -120px; top: 60px; width: 360px; height: 360px; border-radius: 50%; border: 1px solid var(--line); box-shadow: 0 0 0 40px var(--panel), 0 0 0 41px var(--line), 0 0 0 80px var(--panel), 0 0 0 81px var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; line-height: 1.2; }
.brand small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.brand .logo { margin: 0; }
.l-side h1 { font-size: 28px; font-weight: 600; margin-top: auto; line-height: 1.25; text-wrap: balance; }
.l-side p { color: var(--muted); max-width: 34ch; }
.feat { display: flex; flex-direction: column; gap: 10px; }
.feat div { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 13px; }
.feat svg.i { color: var(--accent); width: 18px; height: 18px; }
.l-form { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.l-card { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 16px; }
.l-card h2 { font-size: 22px; font-weight: 600; }
.l-card .sub { color: var(--muted); margin-top: -10px; }
.l-card .btn.pri { height: 46px; }
.l-form .brand { display: none; margin-bottom: 4px; }
.foot { font-size: 12px; color: var(--muted); text-align: center; }
.boot { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.pulse { animation: pulsar 1.4s ease-in-out infinite; }
@keyframes pulsar { 50% { opacity: .3; } }

/* Anéis de "tocando": só para quem não pediu menos movimento no sistema */
@media (prefers-reduced-motion: no-preference) {
  .halo.ring { animation: tocar 1.8s ease-out infinite; }
  @keyframes tocar {
    0% { box-shadow: 0 0 0 0 var(--accent-soft), 0 0 0 0 color-mix(in srgb, var(--accent-soft) 45%, transparent); }
    60% { box-shadow: 0 0 0 12px var(--accent-soft), 0 0 0 26px color-mix(in srgb, var(--accent-soft) 45%, transparent); }
    100% { box-shadow: 0 0 0 16px transparent, 0 0 0 32px transparent; }
  }
}
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }
@media (pointer: coarse) {
  .cb, .btn.sm, .fchip, .ib, .seg button { min-height: 44px; min-width: 44px; }
}

/* ---------- Notebook pequeno e tablet deitado ---------- */
@media (max-width: 1099px) {
  .rail { width: 64px; }
  .nav { width: 48px; font-size: 0; gap: 0; padding: 10px 0; }
  .nav .badge { right: 8px; }
  .nav .count { right: 2px; }
  .cols { grid-template-columns: 300px minmax(0, 1fr); }
  .ccols { grid-template-columns: 290px minmax(0, 1fr); }
  .cdet { padding: 22px 20px; }
  .chead > div:nth-child(2) { flex: 1 1 calc(100% - 90px); }
  .kv { grid-template-columns: 90px minmax(0, 1fr); }
  .keypad { gap: 10px 18px; }
  .l-side { padding: 32px; }
  .l-side h1 { font-size: 24px; }
  .ctrls { gap: 12px; }
  .tr { grid-template-columns: minmax(0, 2fr) 0.8fr 1fr 1.1fr; }
  .tr .c5 { display: none; }
  .seg button { padding: 4px 9px; }
}

/* ---------- Tablet em pé e celular ---------- */
@media (max-width: 759px) {
  .shell { flex-direction: column; }
  .main { order: 1; flex: 1; }
  .rail { order: 2; width: 100%; flex-direction: row; justify-content: space-around; padding: 4px 4px max(8px, env(safe-area-inset-bottom)); gap: 0; border-right: 0; border-top: 1px solid var(--line); }
  .rail .logo, .rail .grow, .rail .me, .nav.x { display: none; }
  .nav.m { display: flex; }
  .nav { width: auto; flex: 1; font-size: 11px; gap: 3px; padding: 6px 0; min-height: 52px; justify-content: center; }
  .nav .badge { right: calc(50% - 16px); }
  .nav .count { right: calc(50% - 22px); }

  .top { height: 58px; padding: 0 10px 0 14px; padding-top: env(safe-area-inset-top); height: calc(58px + env(safe-area-inset-top)); gap: 6px; }
  .hello { font-size: 14px; }
  .hello .co { display: none; }
  .top .hide-sm { display: none; }
  .chip { padding: 4px 10px; font-size: 12px; }
  .banner { padding: 10px 14px; flex-wrap: wrap; }
  .vigia { padding: 10px 14px; flex-wrap: wrap; }
  .vigia .vt { flex-basis: calc(100% - 32px); }
  .vigia .va { margin-left: 32px; }

  .callbar { padding: 8px 10px 8px 14px; gap: 8px; }
  .callbar .lb, .callbar .cb.opt { display: none; }
  .callbar .cb { height: 44px; min-width: 44px; justify-content: center; padding: 0 10px; }

  .cols { grid-template-columns: 1fr; }
  .left { border-right: 0; }
  .cols .right { display: none; }
  .ccols { grid-template-columns: 1fr; }
  .clist { border-right: 0; padding: 14px 14px 0; }
  .ccols:not(.tem-sel) .cdet, .ccols.tem-sel .clist { display: none; }
  .cdet { padding: 14px 14px 20px; }
  .cdet .voltar { display: inline-flex; align-items: center; gap: 4px; }
  .chead > .av { width: 52px; height: 52px; font-size: 18px; }
  .chead h3 { font-size: 19px; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv span:not(:first-child) { margin-top: 8px; }
  .radio { grid-template-columns: 1fr; }
  .hrow .salvar { opacity: 1; }
  .note { max-width: 100%; }
  .right, .page { padding: 14px 14px 0; }
  .dialer { padding: 16px 12px; gap: 12px; }
  .keypad { grid-template-columns: repeat(3, 62px); gap: 10px 22px; }
  .key, .big { width: 62px; height: 62px; }
  .dialrow { grid-template-columns: repeat(3, 62px); }
  .hintline { display: none; }
  .callv { padding: 18px 12px; }
  .cname { font-size: 21px; }
  .ctrls { grid-template-columns: repeat(2, 80px); gap: 14px 28px; }
  .pair { gap: 56px; }
  .sugg { left: 0; right: 0; }

  .ph2 .search { order: 3; width: 100%; }
  .sum { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .met { padding: 8px 10px; border-radius: 12px; }
  .met small { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
  .met small .dot { display: inline-block; vertical-align: 1px; margin-right: 4px; }
  .met b { font-size: 18px; }
  .grid { grid-template-columns: 1fr; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }

  .tbl { border-radius: 12px; }
  .tr { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; padding: 10px 12px; }
  .tr.h, .tr .c3, .tr .c5 { display: none; }
  .tr .c4 { grid-row: 1; grid-column: 2; }
  .tr .c2 { grid-row: 2; grid-column: 1; padding-left: 42px; font-size: 12.5px; color: var(--muted); }

  .shade { align-items: flex-end; padding: 0; }
  .sheet, .sheet.wide { width: 100%; max-width: 100%; max-height: 92%; border-radius: 20px 20px 0 0; padding: 20px 16px max(20px, env(safe-area-inset-bottom)); }
  .two { grid-template-columns: 1fr; }
  .acts .btn { flex: 1 1 140px; }

  .login { grid-template-columns: 1fr; }
  .l-side { display: none; }
  .l-form { align-items: flex-start; padding: 28px 16px; padding-top: max(28px, env(safe-area-inset-top)); }
  .l-form .brand { display: flex; }
}
@media (max-height: 640px) and (min-width: 760px) {
  .dialer { gap: 10px; padding: 12px; }
  .key, .big { width: 56px; height: 56px; }
  .keypad { grid-template-columns: repeat(3, 56px); gap: 8px 20px; }
  .dialrow { grid-template-columns: repeat(3, 56px); }
}

/* ---------- Pausa, retornos e almoço ---------- */
.status-menu { min-width: 0; border: 0; padding: 0; background: none; border-radius: 999px; }
.status-menu .chip { max-width: 100%; }
.status-menu .chip > span:not(.dot) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-pausa { color: var(--hold) !important; }
.ramais-sum { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ramal-acoes { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; margin-left: auto; }
.ramal-acoes .btn, .ramal-acoes .ib { flex: none; }
.ramal-cartao .tag { align-self: flex-start; }
.ramal-cartao.almoco-pendente { border-color: var(--hold); background: var(--hold-soft); }
.retorno { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.retorno-info { display: flex; align-items: center; gap: 10px; min-width: 0; }
.retorno-info .rt { overflow-wrap: anywhere; }
.retorno-acoes { display: flex; flex-wrap: wrap; gap: 6px; }
.almoco-campos { min-width: 0; margin: 12px 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.almoco-campos legend { padding: 0 5px; font-weight: 600; }
.dias-almoco { display: flex; flex-wrap: wrap; gap: 0 10px; }
@media (max-width: 759px) {
  .ramais-sum { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .retorno-acoes { max-width: 100%; }
}

/* ---------- Aviso de almoço ---------- */
.main { position: relative; }
.almoco-aviso { position: absolute; z-index: 15; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 14px; align-items: start;
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .75); }
.almoco-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--hold-soft); color: var(--hold); }
.almoco-ico svg.i { width: 24px; height: 24px; }
.almoco-txt b { display: block; font-size: 16px; font-weight: 600; }
.almoco-txt b .mono { color: var(--hold); font-size: 14px; margin-left: 4px; }
.almoco-txt p { color: var(--muted); margin-top: 2px; }
.almoco-acoes { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.almoco-acoes .btn { flex: 1 1 160px; }
/* 10 min antes: flutuante no canto. */
.almoco-antes { right: 20px; bottom: 20px; width: min(400px, calc(100% - 40px)); }
/* No horário e no fim: cartão grande no meio, em âmbar. */
.almoco-inicio, .almoco-fim { left: 50%; top: 96px; transform: translateX(-50%); width: min(540px, calc(100% - 32px)); padding: 22px 24px;
  border: 2px solid var(--hold); background: color-mix(in srgb, var(--hold-soft) 55%, var(--panel)); }
.almoco-inicio .almoco-ico, .almoco-fim .almoco-ico { width: 56px; height: 56px; background: var(--hold); color: #2a2111; }
.almoco-inicio .almoco-txt b, .almoco-fim .almoco-txt b { font-size: 20px; }
.almoco-inicio .almoco-txt p, .almoco-fim .almoco-txt p { color: var(--ink); font-size: 15px; }
.almoco-inicio .btn.pri { background: var(--hold); color: #2a2111; }
@media (prefers-reduced-motion: no-preference) {
  .almoco-inicio { animation: almoco-pulso 2.4s ease-in-out infinite; }
  @keyframes almoco-pulso { 50% { box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .75), 0 0 0 8px color-mix(in srgb, var(--hold) 22%, transparent); } }
}
@media (max-width: 759px) {
  .almoco-antes { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .almoco-inicio, .almoco-fim { top: 70px; padding: 18px; }
  .almoco-inicio .almoco-txt b, .almoco-fim .almoco-txt b { font-size: 18px; }
}

/* ---------- Troncos (painel do supervisor) ---------- */
.tronco-alerta { border-radius: 12px; flex: none; }
.troncos { flex: none; display: flex; flex-direction: column; gap: 8px; }
.troncos-cab { display: flex; align-items: baseline; gap: 10px; }
.troncos-cab h2 { font-size: 16px; font-weight: 600; }
.troncos-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 10px; }
.tronco { display: flex; align-items: center; gap: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; min-width: 0; }
.tronco.est-fora { border-color: color-mix(in srgb, var(--danger) 55%, var(--line)); background: color-mix(in srgb, var(--danger-soft) 45%, var(--panel)); }
.tronco-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--raised); color: var(--accent); flex: none; }
.tronco-ico svg.i { width: 18px; height: 18px; }
.tronco.est-fora .tronco-ico { color: var(--danger); }
.tronco-uso { display: flex; flex-direction: column; align-items: center; line-height: 1.1; flex: none; }
.tronco-uso b { font-size: 18px; font-variant-numeric: tabular-nums; }
.tronco-uso small { font-size: 10.5px; color: var(--muted); }
@media (max-width: 759px) { .troncos-lista { grid-template-columns: 1fr; } }

/* ---------- Repassar antes de atender ---------- */
.big.neutro { background: var(--raised); color: var(--accent); border: 1px solid var(--line); }
.big.neutro:hover { background: var(--hover); }
.pair.trio { gap: 34px; }
@media (max-width: 759px) { .pair.trio { gap: 24px; } }
.dicas { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; color: var(--muted); }
.dicas b { color: var(--ink); font-weight: 600; }

/* ---------- Conferência ---------- */
.ctrls { grid-template-columns: repeat(5, 58px); gap: 8px; }
.ctrls .ctrl { font-size: 11.5px; }
.ctrls .ctrl .c { width: 50px; height: 50px; border-radius: 16px; }
.ctrl:disabled { opacity: .4; }
.conf-lista { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 8px; text-align: left; margin-top: 6px; }
.conf-pessoa { display: flex; align-items: center; gap: 10px; padding: 4px 6px; }
.conf-pessoa .av { width: 32px; height: 32px; font-size: 12px; }
@media (max-width: 1099px) { .ctrls { grid-template-columns: repeat(5, 52px); gap: 6px; } .ctrls .ctrl .c { width: 46px; height: 46px; } }
@media (max-width: 759px) { .ctrls { grid-template-columns: repeat(3, 76px); gap: 12px 20px; } .ctrls .ctrl .c { width: 56px; height: 56px; } .ctrls .ctrl { font-size: 12.5px; } }

/* ---------- Sugestões do discador (faixa, sem tampar o teclado) ---------- */
.sugg-faixa { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; min-height: 44px; margin: 4px -4px 0; padding: 0 4px; align-items: center; justify-content: center; }
.sugg-faixa::-webkit-scrollbar { display: none; }
.sug-chip { display: flex; align-items: center; gap: 8px; flex: none; max-width: 210px; height: 44px; padding: 0 12px 0 4px; border-radius: 22px;
  border: 1px solid var(--line); background: var(--raised); color: var(--ink); text-align: left; }
.sug-chip:hover, .sug-chip[aria-selected="true"] { border-color: var(--accent); background: var(--hover); }
.sug-chip .av { width: 34px; height: 34px; font-size: 12px; }
.sug-chip .rt b { font-size: 13px; }
.sug-chip .rt > span { font-size: 11.5px; }
.sug-vazio { font-size: 12.5px; color: var(--muted); }
.sugg-faixa:has(.sug-chip:nth-child(2)) { justify-content: flex-start; }

/* Notas compartilhadas e colaboração durante a chamada */
.ajuda-topo { position: relative; flex: none; }
.ajuda-topo .count { top: -4px; right: -5px; }
.nota-recente { flex-wrap: wrap; }
.atendimento-lista { margin-top: 14px; }
.atendimento-item { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.atendimento-item p { margin: 4px 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.atendimento-item .btn { margin-top: 4px; }
.callv .atendimento-item { width: min(100%, 420px); text-align: left; }
.hrow .nota-cliente-atalho { flex: none; }

/* Volume do toque (Áudio) */
.field.vol-toque label { display: flex; justify-content: space-between; align-items: baseline; }
.field.vol-toque label b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.field.vol-toque input[type="range"] { height: 32px; padding: 0; border: 0; background: transparent; accent-color: var(--accent); box-shadow: none; cursor: pointer; }
.field.vol-toque small { font-size: 12px; color: var(--muted); }
