/* Visão global 1.4.372 (global-dashboard.js). Usa a base visual da Visão geral (.ov-*); aqui só o que é próprio da tela. */
.gd-filter{display:flex;flex-direction:column;gap:5px;min-width:200px;font-size:11.5px;font-weight:700;color:rgba(239,233,255,.8)}
.gd-filter select{font:inherit;font-size:13px;font-weight:700;border:1px solid rgba(255,255,255,.22);border-radius:12px;background:rgba(255,255,255,.12);color:#fff;padding:10px 12px;backdrop-filter:blur(10px)}
.gd-filter select option{color:#1d1238}
.gd-filter select:focus-visible{outline:3px solid #fff;outline-offset:2px}
.gd-two{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:16px}
.gd-two+.gd-two,.gd-root>section+.gd-two{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.gd-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;margin:0 0 14px}
.gd-head h3{margin:0}.gd-head p{margin:4px 0 0;font-size:12.5px;color:var(--ov-muted)}
.gd-check{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;font-weight:700;color:var(--ov-text);cursor:pointer}
.gd-scroll{position:relative;overflow-x:auto;margin:0 -4px;padding:0 4px}
.gd-table{width:100%;border-collapse:collapse;font-size:13px;color:var(--ov-text)}
.gd-table th,.gd-table td{padding:10px 10px;border-bottom:1px solid #f2eff8;text-align:right;vertical-align:middle;white-space:nowrap}
.gd-table thead th{font-size:11.5px;font-weight:800;letter-spacing:.3px;text-transform:uppercase;color:var(--ov-muted);padding-top:0;text-align:right}
.gd-table th:first-child,.gd-table td:first-child{text-align:left}
.gd-table tbody th{font-weight:400;text-align:left}
.gd-table b{color:var(--ov-ink);font-weight:800}
.gd-table small{display:block;font-size:11.5px;color:var(--ov-muted);font-weight:400;margin-top:2px}
.gd-table tbody th b{display:block}
.gd-table tbody tr:hover{background:#fcfbfe}
.gd-table tfoot th,.gd-table tfoot td{border-bottom:0;border-top:2px solid var(--ov-line);font-weight:800;color:var(--ov-ink)}
.gd-act{text-align:right!important}
.gd-act .cp-button{font-size:12px;padding:7px 12px}
.gd-short{display:none}
.gd-alert{color:var(--ov-bad)!important;font-weight:800}
.gd-zero{color:#c9c2d9}
.gd-tag{display:inline-block;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:700;background:#f3f1f8;color:#6b6385}
.gd-tag.voice{background:#f0ebfa;color:#6a3df0}
.gd-compact td,.gd-compact th{padding:8px 8px}
.gd-bars{display:flex;flex-direction:column;gap:10px}
.gd-bar-row{display:grid;grid-template-columns:96px minmax(0,1fr) 104px;align-items:center;gap:10px;font-size:13px}
.gd-bar-label{color:var(--ov-ink);font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gd-bar-track{display:flex;height:12px;border-radius:999px;background:#f1eef8;overflow:hidden;gap:2px}
.gd-bar-track i{display:block;height:100%}
.gd-bar-track i.wait{background:#dc2626}
.gd-bar-num{white-space:nowrap;color:var(--ov-ink)}
.gd-bar-num small{font-size:11.5px}
.gd-big{display:flex;align-items:baseline;gap:10px;margin:0 0 12px}
.gd-big strong{font-size:38px;line-height:1;font-weight:800;color:var(--ov-ink);letter-spacing:-1px}
.gd-big span{font-size:13px;color:var(--ov-muted);font-weight:700}
.gd-people .gd-people{margin:0}
.gd-people{list-style:none;margin:0;padding:4px 0;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:6px 18px;text-align:left;white-space:normal}
.gd-people li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 8px;font-size:12.5px}
.gd-people li>span{color:var(--ov-ink);font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gd-people small{grid-column:1/-1;margin:0;font-size:11px}
.gd-state{font-style:normal;font-size:11px;font-weight:800;padding:2px 8px;border-radius:999px;background:#eaf8f1;color:#15803d}
.gd-state.busy{background:#fff4e0;color:#b45309}.gd-state.pause{background:#eef1f5;color:#64748b}
.gd-toggle{border:0;background:none;font:inherit;padding:0;cursor:pointer;display:flex;align-items:center;gap:8px;text-align:left;color:inherit}
.gd-toggle i{font-style:normal;color:var(--ov-violet);width:12px}
.gd-toggle:focus-visible{outline:2px solid var(--ov-violet);outline-offset:3px;border-radius:6px}
.gd-detail td{background:var(--ov-soft);text-align:left!important;white-space:normal}
.gd-note{margin:8px 0 0;font-size:12px;color:var(--ov-muted)}
.gd-call{grid-template-columns:170px 92px minmax(180px,1.2fr) minmax(160px,1.4fr) 120px}
.gd-console .ov-console-body{max-height:420px}
@media (max-width:1100px){.gd-two,.gd-two+.gd-two,.gd-root>section+.gd-two{grid-template-columns:1fr}}
@media (max-width:900px){
  .gd-call{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"ch time" "kind kind" "who who" "act act"}
  .gd-filter{width:100%}
}
@media (max-width:640px){
  .gd-bar-row{grid-template-columns:76px minmax(0,1fr) 92px}.gd-big strong{font-size:32px}
  .gd-root .ov-card{padding:16px 12px}
  .gd-chan{display:none}                       /* no celular a tabela por empresa mostra o que importa: atendimento, fila, hoje e o botão */
  .gd-table th,.gd-table td{padding:8px 4px;white-space:normal}   /* o detalhe ("com operador 6 · ligações 3...") quebra linha em vez de alargar a coluna */
  .gd-table thead th{font-size:10.5px;letter-spacing:0}
  .gd-table td small{font-size:10.5px}
  .gd-table tbody th:first-child,.gd-table thead th:first-child{min-width:84px;max-width:104px}
  .gd-table thead th{font-size:10px}
  .gd-table .gd-act{white-space:nowrap}
  .gd-kinds{display:none!important}                 /* o detalhe por tipo fica só no computador; no celular o total basta */
  .gd-full{display:none}.gd-short{display:inline}
  .gd-act .cp-button{padding:6px 6px;font-size:11px}
}
.gd-big~.gd-scroll{margin-top:14px}
.gd-table td.gd-left,.gd-table th.gd-left{text-align:left}
