/* Dashboard gerencial Help Desk */
body:has(#form_Dashboard) #div_breadcrumbs,
body:has(#form_Dashboard) .tbreadcrumb {
  margin-bottom: 4px !important;
  padding-bottom: 2px !important;
}
#form_Dashboard.card.panel,
#form_Dashboard.panel {
  padding-top: 0;
}
#form_Dashboard > .card-header,
#form_Dashboard > .panel-heading {
  padding: 0 0 6px !important;
  min-height: 0;
  border-bottom: 0 !important;
}
#form_Dashboard > .card-body,
#form_Dashboard > .panel-body {
  padding-top: 4px !important;
}
#form_Dashboard .form-group.tformrow.row.hd-dash-filters {
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-end !important;
  justify-content: space-between;
  gap: 12px 16px;
  margin: 0 0 8px;
  padding: 10px 14px;
  background: #f6f8f6;
  border: 1px solid #e6ece7;
  border-radius: 10px;
}
#form_Dashboard .hd-dash-filters > [class*="col-"] {
  float: none !important;
  width: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
#form_Dashboard .hd-dash-f-cliente {
  flex: 1 1 320px;
  min-width: 240px;
  max-width: none;
  margin-right: auto;
}
#form_Dashboard .hd-dash-f-de,
#form_Dashboard .hd-dash-f-ate {
  flex: 0 0 168px;
  width: 168px !important;
}
#form_Dashboard .hd-dash-f-btn { flex: 0 0 auto; }
#form_Dashboard .hd-dash-filters .btn {
  height: 40px;
  margin: 0;
  white-space: nowrap;
}
.hd-dash { display: flex; flex-direction: column; gap: 12px; margin: 0 0 24px; color: #1f2933; }
.hd-dash-chrome { margin: 0 0 6px; }
.hd-dash-presets-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 0 2px 12px; margin: 0 0 4px; }
.hd-dash-presets-k { font-size: 11px; font-weight: 700; color: #667085; text-transform: uppercase; letter-spacing: .04em; margin-right: 4px; }
.hd-dash-presets { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.hd-dash-preset {
  display: inline-block; padding: 5px 12px; border: 1px solid #c5d4c8; border-radius: 16px;
  background: #fff; color: #053F08; font-size: 12px; text-decoration: none !important; font-weight: 600;
}
.hd-dash-preset:hover, .hd-dash-preset.is-on { background: #053F08; color: #fff; border-color: #053F08; }
.hd-dash-tabs {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0;
  border-bottom: 2px solid #e6ece7;
}
.hd-dash-tab {
  display: block; text-align: center;
  padding: 10px 8px; color: #4b5563; font-size: 13px; text-decoration: none !important;
  border: 0; border-bottom: 2px solid transparent; margin-bottom: -2px;
  border-radius: 0; background: transparent;
}
.hd-dash-tab:hover { color: #053F08; background: #f4f8f4; }
.hd-dash-tab.is-on { background: transparent; color: #053F08; border-bottom-color: #053F08; font-weight: 700; }
.hd-dash-block { margin: 0; }
.hd-dash-block-h h2 { margin: 0 0 4px; font-size: 16px; font-weight: 700; color: #053F08; }
.hd-dash-block-h p { margin: 0 0 12px; font-size: 12px; color: #667085; }
.hd-dash-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; align-items: stretch; }
.hd-dash-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hd-dash-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hd-dash-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hd-dash-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hd-dash-grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.hd-dash-sla-clocks {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hd-dash-sla-clocks > .hd-dash-block-h { margin: 0; }
.hd-dash-sla-clocks > .hd-dash-block-h p { margin-bottom: 0; }
.hd-dash-sla-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hd-dash-sla-group .hd-dash-block-h { margin: 0; }
.hd-dash-sla-group .hd-dash-block-h h2 { margin: 0; font-size: 14px; }
.hd-dash-sla-group .hd-dash-block-h p { margin: 4px 0 0; }
.hd-dash-sla-group .hd-dash-grid + .hd-dash-grid { margin-top: 2px; }
.hd-dash-table-wrap { overflow-x: auto; }
.hd-dash-grid .hd-dash-card { min-width: 0; }
.hd-dash-card {
  display: block; background: #fff; border: 1px solid #e6ece7; border-radius: 10px;
  padding: 12px 14px; min-height: 104px; text-decoration: none !important; color: inherit;
  border-left: 5px solid #c5d4c8;
}
.hd-dash-card:hover { filter: brightness(0.98); }
.hd-dash-card.is-danger { background: #f6eeec; border-color: #ead6d0; border-left-color: #c47b6a; }
.hd-dash-card.is-warn { background: #fff4e5; border-color: #f8d7b0; border-left-color: #e67e22; }
.hd-dash-card.is-ok { background: #eaf6ee; border-color: #c6e6d0; border-left-color: #1e7a3a; }
.hd-dash-card.is-info { background: #e8f3fb; border-color: #b8d4ea; border-left-color: #2980b9; }
.hd-dash-card.is-wait { background: #eef6f4; border-color: #c5ddd8; border-left-color: #1a7a72; }
.hd-dash-card-k { font-size: 12px; color: #4b5563; margin-bottom: 6px; font-weight: 600; }
.hd-dash-card-v { font-size: 28px; font-weight: 700; line-height: 1.1; color: #1f2933; }
.hd-dash-card.is-danger .hd-dash-card-v { color: #a65a4e; }
.hd-dash-card.is-warn .hd-dash-card-v { color: #c45c12; }
.hd-dash-card.is-ok .hd-dash-card-v { color: #146c2e; }
.hd-dash-card.is-info .hd-dash-card-v { color: #1a5f8a; }
.hd-dash-card.is-wait .hd-dash-card-v { color: #1a7a72; }
.hd-dash-card.is-solid {
  width: 100%; min-height: 88px; height: 88px; padding: 14px 12px; border: 0; border-radius: 6px;
  color: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.12); overflow: hidden;
}
.hd-dash-card.is-solid.is-ok { background: #27ae60; }
.hd-dash-card.is-solid.is-info { background: #2980b9; }
.hd-dash-card.is-solid.is-danger { background: #c47b6a; }
.hd-dash-card.is-solid.is-warn { background: #e67e22; }
.hd-dash-card.is-solid.is-wait { background: #16a085; }
.hd-dash-card.is-solid.is-fin { background: #8e44ad; }
.hd-dash-card.is-solid .hd-dash-card-k,
.hd-dash-card.is-solid .hd-dash-card-v { color: #fff; }
.hd-dash-card.is-solid .hd-dash-card-k { opacity: .95; font-weight: 400; margin-bottom: 6px; }
.hd-dash-card.is-solid .hd-dash-card-v { font-size: 28px; }
.hd-dash-card-v.is-empty { font-size: 16px; font-weight: 600; color: #667085; }
.hd-dash-card-h { margin-top: 6px; font-size: 11px; color: #667085; line-height: 1.35; }
.hd-dash-absorcao {
  margin: 0; background: #eaf6ee; border: 1px solid #c6e6d0; border-radius: 10px; padding: 14px 16px;
}
.hd-dash-absorcao-k { font-size: 12px; color: #4b5563; font-weight: 600; }
.hd-dash-absorcao-v { font-size: 28px; font-weight: 700; color: #146c2e; margin: 4px 0 10px; }
.hd-dash-bar-track { height: 10px; background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid #c6e6d0; }
.hd-dash-bar-fill { height: 10px; border-radius: 8px; background: #e67e22; }
.hd-dash-bar-fill.is-ok { background: #1e7a3a; }
.hd-dash-absorcao-meta { margin-top: 8px; font-size: 12px; }
.hd-dash-absorcao-meta a { color: #053F08; font-weight: 600; }
.hd-dash-saldo { margin-top: 8px; font-size: 12px; color: #4b5563; }
.hd-dash-saldo.is-up { color: #c45c12; font-weight: 600; }
.hd-dash-saldo.is-down { color: #146c2e; font-weight: 600; }
.hd-dash-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; min-width: 0; }
.hd-dash-charts > .hd-dash-panel { min-width: 0; margin: 0; }
.hd-dash-charts-single { grid-template-columns: 1fr; }
.hd-dash-charts-side { display: flex; flex-direction: column; gap: 12px; }
.hd-dash-panel { background: #fff; border: 1px solid #e6ece7; border-radius: 10px; padding: 14px 16px 16px; overflow: hidden; margin: 0; }
.hd-dash-panel-t { font-size: 14px; font-weight: 700; color: #053F08; }
.hd-dash-panel-s { font-size: 11px; color: #667085; margin: 2px 0 10px; }
.hd-dash-empty { font-size: 13px; color: #667085; padding: 16px 0; }
.hd-dash-evo { display: flex; align-items: flex-end; gap: 6px; height: 220px; overflow-x: auto; }
.hd-dash-evo-col { flex: 1 1 0; min-width: 44px; display: flex; flex-direction: column; align-items: center; height: 100%; }
.hd-dash-evo-bars { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 5px; }
.hd-dash-evo-bar { width: 18px; max-width: 42%; border-radius: 3px 3px 0 0; }
.hd-dash-evo-bar.is-rec { background: #1e7a3a; }
.hd-dash-evo-bar.is-fin { background: #e67e22; }
.hd-dash-evo-bar.is-back { background: #5b7c6a; }
.hd-dash-evo-bar.is-sla-resp { background: #1e7a3a; }
.hd-dash-evo-bar.is-sla-res { background: #2a6f97; }
.hd-dash-evo-bar.is-tma-resp { background: #6b8f71; }
.hd-dash-evo-bar.is-tma-res { background: #c47b6a; }
.hd-dash-evo-col span { font-size: 10px; color: #667085; margin-top: 4px; white-space: nowrap; }
.hd-dash-evo-leg { margin-top: 8px; font-size: 11px; color: #4b5563; }
.hd-dash-evo-leg i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin: 0 4px 0 8px; vertical-align: middle; }
.hd-dash-evo-leg i.is-rec { background: #1e7a3a; }
.hd-dash-evo-leg i.is-fin { background: #e67e22; }
.hd-dash-evo-leg i.is-back { background: #5b7c6a; }
.hd-dash-evo-leg i.is-sla-resp { background: #1e7a3a; }
.hd-dash-evo-leg i.is-sla-res { background: #2a6f97; }
.hd-dash-evo-leg i.is-tma-resp { background: #6b8f71; }
.hd-dash-evo-leg i.is-tma-res { background: #c47b6a; }
.hd-dash-aging { display: flex; flex-direction: column; gap: 6px; }
.hd-dash-aging-row {
  display: grid; grid-template-columns: minmax(0, 42%) minmax(48px, 1fr) 28px; gap: 8px; align-items: center;
  text-decoration: none !important; color: inherit; font-size: 12px;
}
.hd-dash-aging-l { color: #4b5563; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hd-dash-aging-track { height: 10px; background: #eef2ef; border-radius: 8px; overflow: hidden; }
.hd-dash-aging-fill { display: block; height: 10px; background: #1e7a3a; }
.hd-dash-aging-fill.is-crit { background: #c47b6a; }
.hd-dash-aging-n { text-align: right; font-weight: 700; color: #053F08; }
.hd-dash-notes { font-size: 11px; color: #667085; margin: 8px 0 0; padding-left: 16px; }
.hd-csat { background: #eaf6ee; border: 1px solid #c6e6d0; border-radius: 10px; padding: 14px 16px; margin: 8px 0 16px; }
.hd-csat-t { font-size: 14px; font-weight: 700; color: #053F08; }
.hd-csat-s { font-size: 12px; color: #667085; margin: 4px 0 10px; }
.hd-csat-stars { display: flex; gap: 8px; }
.hd-csat-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px; border: 1px solid #053F08;
  color: #053F08; font-weight: 700; text-decoration: none !important; background: #fff;
}
a.hd-csat-n:hover, .hd-csat-n.is-on { background: #053F08; color: #fff; }
.hd-dash-soon { background: #eaf6ee; border: 1px dashed #053F08; border-radius: 10px; padding: 24px; color: #4b5563; }
.hd-dash-soon h3 { margin: 0 0 8px; color: #053F08; font-size: 16px; }
.hd-dash-eq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.hd-dash-eq-head,
.hd-dash-eq-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px 96px 88px;
  column-gap: 12px;
  align-items: center;
  min-width: 0;
}
.hd-dash-eq-head {
  padding: 0 0 8px;
  border-bottom: 1px solid #e6ece7;
  font-size: 11px;
  font-weight: 700;
  color: #667085;
}
.hd-dash-eq-h-name { min-width: 0; }
.hd-dash-eq-h-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.hd-dash-eq-row {
  grid-template-areas:
    "name open pct fin"
    "bar  open pct fin";
  grid-template-rows: 22px 10px;
  row-gap: 6px;
  padding: 10px 0;
  border-bottom: 1px solid #eef2ef;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit;
  font-size: 13px;
}
.hd-dash-eq-row:last-child { border-bottom: 0; }
.hd-dash-eq-name {
  grid-area: name;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  color: #1f2933;
  line-height: 22px;
}
.hd-dash-eq-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: #1f2933;
  line-height: 22px;
  align-self: center;
}
.hd-dash-eq-open { grid-area: open; }
.hd-dash-eq-pct { grid-area: pct; }
.hd-dash-eq-fin { grid-area: fin; }
.hd-dash-eq-pct.is-hot { color: #b42318; font-weight: 700; }
.hd-dash-eq-pct.is-ok { color: #1e7a3a; }
.hd-dash-eq-track {
  grid-area: bar;
  display: block;
  width: 100%;
  min-width: 0;
  height: 8px;
  background: #eef2ef;
  border-radius: 8px;
  overflow: hidden;
}
.hd-dash-eq-fill {
  display: flex;
  height: 8px;
  max-width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
}
.hd-dash-eq-venc { display: block; height: 8px; background: #c47b6a; flex: 0 0 auto; }
.hd-dash-eq-ok { display: block; height: 8px; background: #1e7a3a; flex: 0 0 auto; }
.hd-dash-eq-leg {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin: 10px 0 0;
  font-size: 11px;
  color: #667085;
}
.hd-dash-eq-leg span { display: inline-flex; align-items: center; gap: 6px; }
.hd-dash-eq-sw {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.hd-dash-eq-sw.is-venc { background: #c47b6a; }
.hd-dash-eq-sw.is-ok { background: #1e7a3a; }
.hd-dash-load {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 6px;
  min-width: 0;
}
.hd-dash-load-y {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 164px;
  padding: 16px 0 0;
  box-sizing: border-box;
  font-size: 11px;
  color: #667085;
  font-variant-numeric: tabular-nums;
  text-align: right;
  line-height: 1;
}
.hd-dash-load-main { min-width: 0; }
.hd-dash-load-body {
  height: 164px;
  display: flex;
  align-items: stretch;
  gap: 4px;
  padding: 16px 4px 0;
  box-sizing: border-box;
  border-left: 1px solid #e6ece7;
  border-bottom: 1px solid #e6ece7;
  background-image:
    linear-gradient(to top, transparent 0, transparent calc(50% - 0.5px), #eef2ef calc(50% - 0.5px), #eef2ef calc(50% + 0.5px), transparent calc(50% + 0.5px));
  background-origin: content-box;
}
.hd-dash-load-col {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-decoration: none !important;
  color: inherit;
}
.hd-dash-load-barwrap {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.hd-dash-load-n {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #1f2933;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  margin-bottom: 2px;
}
.hd-dash-load-stack {
  width: 18px;
  max-width: 70%;
  height: 100%;
  min-height: 4px;
  display: flex;
  flex-direction: column;
  border-radius: 3px 3px 0 0;
  overflow: hidden;
}
.hd-dash-load-venc { background: #c47b6a; width: 100%; min-height: 0; }
.hd-dash-load-ok { background: #1e7a3a; width: 100%; min-height: 0; }
.hd-dash-load-axis {
  display: flex;
  gap: 4px;
  padding: 6px 4px 0;
  min-width: 0;
}
.hd-dash-load-lab {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  font-size: 10px;
  color: #667085;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hd-dash-panel-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px 12px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #eef2ef;
  font-size: 11px;
  color: #667085;
}
.hd-dash-more { color: #053F08; font-weight: 600; text-decoration: none !important; white-space: nowrap; }
.hd-dash-alert-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eef2ef;
  text-decoration: none !important;
  color: #1f2933;
  font-size: 13px;
}
.hd-dash-alert-row:last-of-type { border-bottom: 0; }
.hd-dash-alert-n {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #1f2933;
}
.hd-dash-alert-n.is-hot { color: #b42318; }
.hd-dash-alert-n.is-warn { color: #c45c12; }
.hd-dash-alert-n.is-info { color: #1a5f8a; }
.hd-dash-table { width: 100%; font-size: 13px; border-collapse: collapse; }
.hd-dash-table th { text-align: left; padding: 8px; border-bottom: 1px solid #e6ece7; color: #053F08; }
.hd-dash-table td { padding: 8px; border-bottom: 1px solid #f0f3f1; }
.hd-dash-table td.is-danger { color: #a65a4e; font-weight: 700; }
.hd-dash-table td.is-warn { color: #c45c12; font-weight: 700; }
@media (max-width: 1100px) {
  .hd-dash-grid, .hd-dash-grid-4, .hd-dash-grid-3, .hd-dash-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hd-dash-grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hd-dash-charts { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hd-dash-tabs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hd-dash-grid, .hd-dash-grid-2, .hd-dash-grid-3, .hd-dash-grid-4, .hd-dash-grid-5, .hd-dash-grid-6 { grid-template-columns: 1fr; }
  .hd-dash-tabs { grid-template-columns: 1fr 1fr; }
  .hd-dash-aging-row { grid-template-columns: 1fr 40px; }
  .hd-dash-aging-l { grid-column: 1 / -1; }
  .hd-dash-eq-head,
  .hd-dash-eq-row {
    grid-template-columns: minmax(0, 1fr) 56px 76px 72px;
    column-gap: 8px;
  }
}
