/* Analytics do Atendimento (atendimento-analytics.js). Prefixo ana-. Cores das séries conferidas para daltonismo. */
#at-ana { --ana-c: #1e1f1f; --ana-b: #2c2e2e; --ana-t2: #9aa7ae; --ana-t3: #8a979e; --ana-lua: #9b72e6; --ana-mis: #c98500; --ana-eq: #1f93c9; --ana-ok: #21c063; --ana-ne: #7b868c; --ana-ruim: #f15c6d;
  position: absolute; inset: 0; z-index: 45; overflow: auto; background: var(--at-lista); color: var(--at-t); font-size: 14px; line-height: 1.45; }
#at-ana .ana-w { max-width: 1240px; margin: 0 auto; padding: 18px 24px 60px; }
#at-ana header { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
#at-ana h1 { font-size: 20px; margin: 0 auto 0 0; font-weight: 650; }
#at-ana button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
#at-ana button:focus-visible { outline: 2px solid var(--ana-ok); outline-offset: 2px; }
#at-ana .ana-seg { display: flex; background: var(--ana-c); border-radius: 10px; padding: 3px; }
#at-ana .ana-seg button { color: var(--ana-t2); padding: 6px 12px; border-radius: 8px; }
#at-ana .ana-seg .on { background: #343737; color: var(--at-t); }
#at-ana .ana-x { width: 34px; height: 34px; border-radius: 50%; color: var(--ana-t2); font-size: 17px; }
#at-ana .ana-x:hover { background: var(--at-hover); }
#at-ana nav { display: flex; gap: 22px; border-bottom: 1px solid var(--ana-b); margin: 8px 0 18px; overflow-x: auto; }
#at-ana nav button { color: var(--ana-t2); padding: 10px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
#at-ana nav .on { color: var(--at-t); border-color: var(--ana-ok); }
#at-ana .ana-av { background: #2a2614; color: #f2d98a; padding: 9px 13px; border-radius: 9px; font-size: 13px; margin-bottom: 16px; }
#at-ana .ana-ks { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--ana-b); border-radius: 12px; overflow: hidden; margin-bottom: 16px; }
#at-ana .ana-k { background: var(--ana-c); padding: 13px 16px; }
#at-ana .ana-k span { color: var(--ana-t2); font-size: 12.5px; }
#at-ana .ana-k b { display: block; font-size: 25px; font-weight: 620; margin: 2px 0; }
#at-ana .ana-k i { font-style: normal; font-size: 12px; color: var(--ana-t3); }
#at-ana .ana-k i.up { color: #4fd88a; }
#at-ana .ana-k i.dn { color: #ff8593; }
#at-ana .ana-g { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; align-items: start; }
#at-ana .ana-p { background: var(--ana-c); border-radius: 12px; padding: 16px 18px; min-width: 0; grid-column: span 12; }
@media (min-width: 900px) {
  #at-ana .s4 { grid-column: span 4; } #at-ana .s5 { grid-column: span 5; } #at-ana .s6 { grid-column: span 6; }
  #at-ana .s7 { grid-column: span 7; } #at-ana .s8 { grid-column: span 8; }
}
#at-ana h2 { font-size: 14.5px; margin: 0 0 2px; font-weight: 600; }
#at-ana h2 ~ h2 { margin-top: 18px; }
#at-ana small { color: var(--ana-t3); display: block; margin-bottom: 10px; font-size: 12.5px; }
#at-ana .ana-lg { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--ana-t2); margin-bottom: 6px; }
#at-ana .ana-lg i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
#at-ana .ana-sv { overflow-x: auto; }
#at-ana svg.ana { display: block; width: 100%; min-width: 400px; height: auto; }
#at-ana svg.ana text { fill: var(--ana-t3); font-size: 11px; }
#at-ana .ana-hb { display: grid; grid-template-columns: minmax(110px, 190px) 1fr 44px; gap: 10px; align-items: center; margin: 7px 0; font-size: 13px; }
#at-ana .ana-hb u { display: block; height: 14px; border-radius: 0 4px 4px 0; min-width: 2px; }
#at-ana .ana-hb b { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
#at-ana .ana-hm { display: grid; grid-template-columns: 34px repeat(17, minmax(16px, 1fr)); gap: 2px; font-size: 11px; color: var(--ana-t3); overflow-x: auto; }
#at-ana .ana-hm div { min-height: 24px; border-radius: 3px; display: flex; align-items: center; justify-content: center; }
#at-ana .ana-it { display: grid; grid-template-columns: 52px 26px 1fr auto; gap: 12px; padding: 11px 0; border-top: 1px solid #262828; align-items: start; font-size: 13px; }
#at-ana .ana-it .q { color: var(--ana-t2); font-variant-numeric: tabular-nums; }
#at-ana .ana-it .nt { font-weight: 650; }
#at-ana .ana-it p { margin: 2px 0 0; color: var(--ana-t2); }
#at-ana .ana-tg { font-size: 12px; padding: 2px 8px; border-radius: 20px; background: #2c2e2e; color: var(--ana-t2); display: inline-block; margin: 0 6px 2px 0; }
#at-ana .ana-bt { background: #2c2e2e; border-radius: 8px; padding: 5px 10px; font-size: 12.5px; margin-left: 6px; }
#at-ana .ana-bt:hover { background: #3a3d3d; }
#at-ana .ana-ac { display: flex; align-items: center; justify-content: flex-end; }
#at-ana select { background: #2c2e2e; color: var(--at-t); border: 0; border-radius: 8px; padding: 5px 8px; font: inherit; font-size: 12.5px; margin-left: 6px; }
@media (max-width: 700px) {
  #at-ana .ana-it { grid-template-columns: 48px 24px 1fr; }
  #at-ana .ana-ac { grid-column: 1 / -1; }
  #at-ana .ana-w { padding: 14px 16px 60px; }
}
#ana-tt { position: fixed; pointer-events: none; background: #0c0d0d; color: #e9edef; border: 1px solid #3a3d3d; border-radius: 8px; padding: 8px 10px; font-size: 12.5px; z-index: 99999; white-space: pre-line; display: none; }
#at-ana .ana-tw { overflow-x: auto; }
#at-ana .ana-tb { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
#at-ana .ana-tb th { text-align: right; font-weight: 400; color: var(--ana-t2); font-size: 12px; padding: 6px 8px; white-space: nowrap; border-bottom: 1px solid var(--ana-b); }
#at-ana .ana-tb td { text-align: right; padding: 8px; border-bottom: 1px solid #262828; white-space: nowrap; }
#at-ana .ana-tb th:first-child, #at-ana .ana-tb td:first-child { text-align: left; padding-left: 0; }
#at-ana .ana-tb tr:last-child td { border-bottom: 0; }
#at-ana .ana-cl { cursor: pointer; }
#at-ana div.ana-cl:hover { background: #282a2a; }
#at-ana path.ana-cl:hover { filter: brightness(1.2); }
#at-ana .ana-cl:focus-visible { outline: 2px solid var(--ana-ok); outline-offset: -2px; }
#at-ana .ana-hb.ana-cl { margin: 0 -8px; padding: 4px 8px; border-radius: 6px; }
#at-ana .ana-ln { text-decoration: underline; text-decoration-color: #5a6165; text-underline-offset: 3px; }
#at-ana .ana-fu { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.55); display: flex; justify-content: flex-end; }
#at-ana .ana-dr { width: min(760px, 100%); height: 100%; box-sizing: border-box; overflow: auto; background: var(--ana-c); padding: 20px 24px 40px; }
#at-ana .ana-dh { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
#at-ana .ana-dh h2 { font-size: 18px; }
#at-ana .ana-dr .ana-seg { background: #141515; width: max-content; max-width: 100%; margin-bottom: 12px; }
#at-ana .ana-dr .ana-mais { margin: 14px 0 0; }
@media (max-width: 700px) { #at-ana .ana-dr { padding: 16px 16px 40px; } }
