/* Isolado: somente #adianti_right_panel quando contém .hd-cf-panel */
#adianti_right_panel.right-panel:has(.hd-cf-panel) {
  overflow: hidden !important;
}
#adianti_right_panel.right-panel:has(.hd-cf-panel) > .container-part {
  width: 100% !important;
  max-width: 100% !important;
  height: 100%;
  overflow: hidden !important;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  #adianti_right_panel.right-panel:has(.hd-cf-panel) {
    left: var(--menu-width, 0px);
    right: 0;
    width: auto !important;
    max-width: none !important;
  }
  body.sidebar-mini:not(.fixed) .master-menu-content:not(.open) ~ .master-container
    #adianti_right_panel.right-panel:has(.hd-cf-panel) {
    left: var(--header-box-width, 56px);
  }
}

.hd-cf-panel {
  --hd-cf-bg: var(--hd-ui-bg, #F1F4F0);
  --hd-cf-surface: var(--hd-ui-surface, #FFFFFF);
  --hd-cf-green: var(--hd-ui-green, #315B29);
  --hd-cf-border: var(--hd-ui-border, #DFE6DC);
  --hd-cf-text: var(--hd-ui-text, #1f2933);
  --hd-cf-muted: var(--hd-ui-muted, #667085);
  --hd-cf-hot: var(--hd-ui-hot, #A23D35);
  --hd-cf-warn: var(--hd-ui-warn, #966119);
  --hd-cf-radius: var(--hd-ui-radius, 12px);
}

#adianti_right_panel .hd-cf-panel.card,
#adianti_right_panel .hd-cf-panel.panel,
.hd-cf-panel.card,
.hd-cf-panel.panel {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 16px);
  max-height: calc(100vh - 16px);
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  background: var(--hd-cf-bg) !important;
  border: 1px solid var(--hd-cf-border) !important;
  border-radius: var(--hd-cf-radius) !important;
  box-shadow: 0 8px 28px rgba(31, 41, 51, 0.08);
}
.hd-cf-panel *,
.hd-cf-panel *::before,
.hd-cf-panel *::after { box-sizing: border-box; }
.hd-cf-panel > form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  background: transparent;
}
.hd-cf-panel .card-body,
.hd-cf-panel .panel-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  overflow: hidden !important;
  padding: 0 16px 8px !important;
  background: transparent !important;
}
.hd-cf-panel .nav-tabs-custom {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  background: transparent;
}
.hd-cf-panel .tab-content {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0;
  background: transparent;
}
.hd-cf-panel.hd-cf-edit .tab-content:has(> .tab-pane.active.hd-cf-geral-pane),
.hd-cf-panel.hd-cf-edit .tab-content:has(> .tab-pane.active .hd-cf-sec-diag) {
  overflow: hidden;
}
.hd-cf-panel .tab-content > .tab-pane {
  border: 0 !important;
  padding: 10px 0 4px !important;
  margin: 0 !important;
  min-width: 0;
  max-width: 100%;
  background: transparent;
  display: none !important;
}
.hd-cf-panel .tab-content > .tab-pane.active,
.hd-cf-panel .tab-content > .tab-pane.show.active {
  display: block !important;
  min-height: 100%;
  height: 100%;
}
@media (min-width: 1100px) {
  .hd-cf-panel .tab-content > .tab-pane.active.hd-cf-geral-pane {
    display: grid !important;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.22fr);
    grid-template-rows: minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
    min-height: 100%;
    height: 100%;
  }
  .hd-cf-panel.hd-cf-edit .tab-content > .tab-pane.active.hd-cf-geral-pane {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) !important;
  }
  .hd-cf-panel.hd-cf-edit .tab-content > .tab-pane.active.hd-cf-geral-pane > .hd-cf-card {
    overflow: hidden;
  }
  .hd-cf-panel.hd-cf-edit .hd-cf-sec-solicitacao { grid-column: 1 !important; }
  .hd-cf-panel.hd-cf-edit .hd-cf-geral-pane > .hd-cf-sec-classificacao,
  .hd-cf-panel.hd-cf-edit .hd-cf-open-grid > .hd-cf-sec-classificacao {
    grid-column: 2 !important;
    overflow: auto !important;
  }
  #adianti_right_panel .hd-cf-panel.hd-cf-open .hd-cf-geral-pane,
  #adianti_right_panel .hd-cf-panel.hd-cf-open .tab-content > .tab-pane.active.hd-cf-geral-pane,
  #adianti_right_panel .hd-cf-panel.hd-cf-open .hd-cf-open-grid,
  #adianti_right_panel .hd-cf-panel.hd-cf-open .card-body.hd-cf-geral-pane,
  #adianti_right_panel .hd-cf-panel.hd-cf-open .panel-body.hd-cf-geral-pane,
  #adianti_right_panel .hd-cf-panel.hd-cf-open .form-horizontal.hd-cf-geral-pane {
    display: grid !important;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) !important;
    grid-template-rows: minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
    min-height: 100%;
    height: 100%;
    width: 100%;
  }
  .hd-cf-panel .tab-content > .tab-pane.active.hd-cf-geral-pane > .hd-cf-card,
  .hd-cf-panel.hd-cf-open .hd-cf-geral-pane > .hd-cf-card,
  .hd-cf-panel.hd-cf-open .hd-cf-open-grid > .hd-cf-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0 !important;
    max-width: 100%;
    min-height: 0;
    margin-bottom: 0;
    overflow: auto;
  }
  .hd-cf-panel.hd-cf-open .hd-cf-sec-solicitacao { grid-column: 1 !important; }
  .hd-cf-panel.hd-cf-open .hd-cf-open-grid > .hd-cf-sec-classificacao,
  .hd-cf-panel.hd-cf-open .hd-cf-geral-pane > .hd-cf-sec-classificacao {
    grid-column: 2 !important;
    overflow: visible !important;
  }
  .hd-cf-panel.hd-cf-open .hd-cf-sec-classificacao .form-group,
  .hd-cf-panel.hd-cf-open .hd-cf-sec-classificacao .tformrow {
    overflow: visible !important;
    position: relative;
    z-index: 1;
  }
  .hd-cf-panel.hd-cf-open .hd-cf-sec-classificacao .form-group:focus-within,
  .hd-cf-panel.hd-cf-open .hd-cf-sec-classificacao .select2-container--open {
    z-index: 40;
  }
  .hd-cf-panel.hd-cf-open .hd-cf-grid-full { grid-column: 1 / -1 !important; }
  .hd-cf-panel.hd-cf-open .hd-cf-open-grid > .hd-cf-card,
  .hd-cf-panel.hd-cf-open .hd-cf-geral-pane > .hd-cf-card {
    float: none !important;
    width: auto !important;
    max-width: none !important;
  }
  .hd-cf-panel.hd-cf-open .hd-cf-sec-classificacao .select2-container,
  .hd-cf-panel.hd-cf-open .hd-cf-sec-classificacao .form-control,
  .hd-cf-panel.hd-cf-open .hd-cf-sec-solicitacao .note-editor {
    max-width: 100% !important;
  }
  .hd-cf-panel .tab-content > .tab-pane.active.hd-cf-geral-pane > .hd-cf-card:nth-child(n+3) {
    grid-column: 1 / -1;
    height: auto;
  }
  .hd-cf-sec-solicitacao .hd-cf-desc-row {
    flex: 0 0 auto;
    display: flex !important;
    flex-direction: column;
    min-height: 0;
  }
  .hd-cf-sec-solicitacao .hd-cf-desc-row > [class*="col-"] {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: 100% !important;
    max-width: 100%;
  }
  .hd-cf-sec-solicitacao .hd-richtext-editor,
  .hd-cf-sec-solicitacao .note-editor,
  .hd-cf-sec-solicitacao .note-frame,
  .hd-cf-sec-solicitacao .note-editing-area {
    flex: 0 0 auto;
    display: block !important;
    height: auto !important;
    min-height: 0;
  }
  .hd-cf-sec-solicitacao .hd-cf-docs { flex: 0 0 auto; }
  .hd-cf-sec-solicitacao .hd-cf-resumo { flex: 0 0 auto; min-height: 0; }
  .hd-cf-open .hd-cf-sec-solicitacao .hd-cf-resumo { flex: 0 0 auto; }
  .hd-cf-edit .hd-cf-sec-solicitacao .hd-cf-desc-row {
    flex: 0 0 auto !important;
    min-height: 0 !important;
    height: auto !important;
    margin-bottom: 8px !important;
  }
  .hd-cf-edit .hd-cf-sec-solicitacao .hd-cf-desc-row > [class*="col-"] {
    flex: 0 0 auto;
    min-height: 0;
    height: auto;
  }
  .hd-cf-open .hd-cf-sec-solicitacao .hd-cf-desc-row {
    flex: 1 1 auto;
    min-height: 180px;
  }
  .hd-cf-open .hd-cf-sec-solicitacao .hd-cf-desc-row > [class*="col-"] {
    flex: 1 1 auto;
    min-height: 0;
  }
  .hd-cf-open .hd-cf-sec-solicitacao .hd-richtext-editor,
  .hd-cf-open .hd-cf-sec-solicitacao .note-editor,
  .hd-cf-open .hd-cf-sec-solicitacao .note-frame,
  .hd-cf-open .hd-cf-sec-solicitacao .note-editing-area {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column;
    min-height: 160px;
    height: auto !important;
  }
  .hd-cf-open .hd-cf-sec-solicitacao .hd-anexo-box,
  .hd-cf-open .hd-cf-sec-solicitacao .hd-cf-anexo-row,
  .hd-cf-open .hd-cf-sec-solicitacao .hd-cf-anexo-row > [class*="col-"],
  .hd-cf-open .hd-cf-sec-solicitacao .hd-cf-desc-hint {
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none;
  }
  .hd-cf-open .hd-cf-sec-solicitacao .note-editable {
    flex: 1 1 auto !important;
    min-height: 160px;
    max-height: none;
  }
  .hd-cf-sec-classificacao .hd-cf-reg-row {
    margin-top: auto !important;
  }
}
.hd-cf-panel .form-horizontal,
.hd-cf-panel .nav-tabs-custom,
.hd-cf-panel .nav-tabs-custom > .tab-content {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}
.hd-cf-panel .form-horizontal .form-group,
.hd-cf-panel .row,
.hd-cf-panel .fb-inline-field-container,
.hd-cf-panel .tformrow {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100%;
}
.hd-cf-panel .tformrow,
.hd-cf-panel .form-group.tformrow {
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-start;
}
.hd-cf-panel .hd-cf-cc-row {
  margin-top: 2px !important;
  margin-bottom: 0 !important;
}
.hd-cf-panel .hd-cf-cc-row [class*="col-sm-6"] {
  flex: 0 0 100%;
  width: 100% !important;
  max-width: 100%;
}
.hd-cf-panel [class*="col-"] {
  padding-left: 6px;
  padding-right: 6px;
  min-width: 0;
  max-width: 100%;
}
.hd-cf-panel [class*="col-sm-4"] {
  flex: 0 0 33.333%;
  width: 33.333% !important;
  max-width: 33.333%;
}
.hd-cf-panel [class*="col-sm-6"] {
  flex: 0 0 50%;
  width: 50% !important;
  max-width: 50%;
}
.hd-cf-panel [class*="col-sm-12"] {
  flex: 0 0 100%;
  width: 100% !important;
  max-width: 100%;
}
.hd-cf-panel [class*="col-sm-8"] {
  flex: 0 0 66.667%;
  width: 66.667% !important;
  max-width: 66.667%;
}
.hd-cf-panel.hd-cf-open .hd-cf-sec-classificacao [class*="col-sm-4"],
.hd-cf-panel.hd-cf-open .hd-cf-sec-classificacao [class*="col-sm-8"],
.hd-cf-panel.hd-cf-open .hd-cf-sec-classificacao [class*="col-sm-6"] {
  flex: 0 0 100%;
  width: 100% !important;
  max-width: 100%;
}
.hd-cf-panel [class*="col-sm-7"] {
  flex: 0 0 58.333%;
  width: 58.333% !important;
  max-width: 58.333%;
}
.hd-cf-panel [class*="col-sm-5"] {
  flex: 0 0 41.667%;
  width: 41.667% !important;
  max-width: 41.667%;
}
.hd-cf-panel .hd-cf-diag-row [class*="col-sm-3"] {
  flex: 0 0 50%;
  width: 50% !important;
  max-width: 50%;
}
@media (min-width: 860px) {
  .hd-cf-panel .hd-cf-diag-row [class*="col-sm-3"] {
    flex: 0 0 25%;
    width: 25% !important;
    max-width: 25%;
  }
}
.hd-cf-panel .note-editor,
.hd-cf-panel .note-frame,
.hd-cf-panel .select2-container { max-width: 100%; }

.hd-cf-panel .card-header,
.hd-cf-panel .panel-heading {
  position: relative;
  background: transparent !important;
  border: 0 !important;
  padding: 14px 16px 0 14px !important;
  flex: 0 0 auto;
}
.hd-cf-panel .panel-heading .header-actions,
.hd-cf-panel .card-header .header-actions,
.hd-cf-panel .panel-heading .btn,
.hd-cf-panel .card-header .btn,
.hd-cf-panel #hd-cf-btn-size {
  display: none !important;
}
.hd-cf-panel .panel-title,
.hd-cf-panel .card-title {
  font-size: 13px;
  font-weight: 400;
  width: 100%;
  max-width: 100%;
  background: var(--hd-cf-surface);
  border: 1px solid var(--hd-cf-border);
  border-radius: var(--hd-cf-radius);
  padding: 14px 16px 12px;
  display: block;
}

.hd-cf-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.9fr);
  gap: 8px 16px;
  align-items: center;
  min-width: 0;
}
.hd-cf-head-main { min-width: 0; }
@media (max-width: 900px) {
  .hd-cf-head { grid-template-columns: 1fr; }
}
.hd-cf-kicker {
  font-size: 12px;
  color: var(--hd-cf-muted);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hd-cf-kicker i { color: var(--hd-cf-green); }
.hd-cf-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--hd-cf-green);
  line-height: 1.25;
  word-break: break-word;
}
.hd-cf-client {
  font-size: 14px;
  font-weight: 500;
  color: var(--hd-cf-text);
  margin-top: 6px;
}
.hd-cf-sub { font-size: 13px; color: #4a5560; margin-top: 2px; }
.hd-cf-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.hd-cf-panel .hd-cl-sit {
  border-radius: 999px !important;
  height: auto;
  padding: 3px 10px;
  font-size: 12px;
}
.hd-cf-when { font-size: 12px; color: var(--hd-cf-muted); }
.hd-cf-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  padding-top: 0;
  border-top: 0;
  align-self: center;
  align-items: stretch;
}
.hd-cf-panel.hd-cf-has-check .hd-cf-kpis {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .hd-cf-kpis,
  .hd-cf-panel.hd-cf-has-check .hd-cf-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 10px;
    border-top: 1px solid var(--hd-cf-border);
  }
}
.hd-cf-kpi {
  min-width: 0;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  background: #F4F7F3;
  text-decoration: none !important;
  color: inherit !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hd-cf-kpi.is-hot { background: #F8E8E6; }
.hd-cf-kpi.is-warn { background: #F8F0E4; }
.hd-cf-kpi.is-ok { background: #EAF3EC; }
.hd-cf-kpi.is-pause,
.hd-cf-kpi.is-na { background: #F3F4F6; }
.hd-cf-kpi.is-hist { background: #F8E8E6; }
.hd-cf-kpi.is-check { background: #EAF3EC; }
.hd-cf-kpi-k {
  font-size: 12px;
  color: var(--hd-cf-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}
.hd-cf-kpi-v {
  font-size: 18px;
  font-weight: 700;
  color: var(--hd-cf-text);
  line-height: 1.2;
  white-space: nowrap;
}
.hd-cf-kpi.is-hot .hd-cf-kpi-v { color: var(--hd-cf-hot); }
.hd-cf-kpi.is-warn .hd-cf-kpi-v { color: var(--hd-cf-warn); }
.hd-cf-kpi.is-check .hd-cf-kpi-v { color: var(--hd-cf-green); }
.hd-cf-kpi .hd-cf-bar { margin: 4px 0 2px; max-width: 140px; }
.hd-cf-kpi .hd-cf-muted { font-size: 12px; }

.hd-cf-panel .nav-tabs {
  display: flex !important;
  flex-wrap: nowrap;
  gap: 8px;
  border: 0 !important;
  margin: 12px 0 4px;
  padding: 0;
  width: 100%;
  max-width: 100%;
  background: transparent;
  overflow: hidden;
}
.hd-cf-panel.hd-cf-edit .nav-tabs-custom {
  flex: 1 1 auto;
  min-height: 0;
}
.hd-cf-panel.hd-cf-edit .nav-tabs {
  flex: 0 0 auto;
  flex-shrink: 0;
  overflow: visible;
  min-height: 46px;
  height: auto;
  margin: 8px 0 0;
}
.hd-cf-panel.hd-cf-edit .tab-content > .tab-pane {
  padding-top: 12px !important;
}
.hd-cf-panel .nav-tabs > li {
  float: none !important;
  margin: 0;
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  display: flex;
}
@media (max-width: 640px) {
  .hd-cf-panel .nav-tabs { flex-wrap: wrap; }
  .hd-cf-panel .nav-tabs > li {
    flex: 1 1 calc(33.333% - 8px);
  }
  .hd-cf-panel [class*="col-sm-4"],
  .hd-cf-panel [class*="col-sm-5"],
  .hd-cf-panel [class*="col-sm-7"],
  .hd-cf-panel [class*="col-sm-8"] {
    flex: 0 0 100%;
    width: 100% !important;
    max-width: 100%;
  }
}
.hd-cf-panel .nav-tabs > li > a,
.hd-cf-panel .nav-tabs .nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 42px;
  height: 42px;
  padding: 0 8px;
  white-space: nowrap;
  border: 1px solid var(--hd-cf-border) !important;
  border-radius: 10px !important;
  background: var(--hd-cf-surface) !important;
  color: var(--hd-cf-green) !important;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  box-shadow: none !important;
  text-align: center;
  box-sizing: border-box;
}
.hd-cf-panel .nav-tabs > li > a:hover {
  background: #e8efe6 !important;
  color: var(--hd-cf-green) !important;
}
.hd-cf-panel .nav-tabs > li.active > a:not(.active) {
  background: var(--hd-cf-surface) !important;
  color: var(--hd-cf-green) !important;
  font-weight: 500;
}
.hd-cf-panel .nav-tabs a.nav-link.active,
.hd-cf-panel .nav-tabs > li.active > a.active {
  background: var(--hd-cf-green) !important;
  color: #fff !important;
  border-color: var(--hd-cf-green) !important;
  font-weight: 600;
}
.hd-cf-panel .hd-cf-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.hd-cf-tab-short { display: none; }

.hd-cf-panel.hd-cf-new .nav-tabs {
  display: none !important;
}
.hd-cf-panel.hd-cf-new .hd-cf-reg-row {
  display: none !important;
}
.hd-cf-head-open {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}
.hd-cf-head-note {
  align-items: start;
}
.hd-cf-note-ref {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid var(--hd-cf-border);
  min-width: 0;
}
.hd-cf-note-ref-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.hd-cf-note-ref-main > i {
  color: var(--hd-cf-green);
  width: 16px;
  text-align: center;
  flex: 0 0 auto;
}
.hd-cf-note-ref-main .hd-cf-msg-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hd-cf-panel.hd-cf-note .hd-cf-foot-id span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 400;
  color: var(--hd-cf-muted);
}
.hd-cf-panel.hd-cf-note .card-body,
.hd-cf-panel.hd-cf-note .panel-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden !important;
}
.hd-cf-panel.hd-cf-note .hd-cf-card,
.hd-cf-panel.hd-cf-note .hd-cf-sec-nota,
.hd-cf-panel.hd-cf-note .hd-cf-sec-solicitacao {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  margin: 0;
}
.hd-cf-panel.hd-cf-note .hd-cf-desc-row {
  flex: 1 1 auto;
  min-height: 0;
  display: flex !important;
  flex-direction: column;
}
.hd-cf-panel.hd-cf-note .hd-cf-desc-row > [class*="col-"] {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  width: 100% !important;
  max-width: 100%;
}
.hd-cf-panel.hd-cf-note .hd-richtext-editor,
.hd-cf-panel.hd-cf-note .note-editor,
.hd-cf-panel.hd-cf-note .note-frame,
.hd-cf-panel.hd-cf-note .note-editing-area {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column;
  min-height: 160px;
  height: auto !important;
}
.hd-cf-panel.hd-cf-note .note-editable {
  flex: 1 1 auto !important;
  min-height: 160px;
  max-height: none;
}
.hd-cf-panel.hd-cf-note .hd-cf-desc-hint,
.hd-cf-panel.hd-cf-note .hd-cf-anexo-row,
.hd-cf-panel.hd-cf-note .hd-anexo-box {
  flex: 0 0 auto !important;
  height: auto !important;
  min-height: 0 !important;
}
.hd-cf-open-who {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
  flex-wrap: nowrap;
}
.hd-cf-open-who .hd-cf-muted { font-size: 11px; }
.hd-cf-sla-preview {
  margin: 12px 0 4px;
  padding: 12px;
  border: 1px solid var(--hd-cf-border);
  border-radius: 10px;
  background: #F4F7F3;
}
.hd-cf-sla-preview.is-empty p {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--hd-cf-muted);
}
.hd-cf-sla-preview-h {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--hd-cf-green);
}
.hd-cf-sla-preview-h > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hd-cf-sla-preview-h .hd-cf-pill {
  margin-left: auto;
}
.hd-cf-sla-preview.is-empty .hd-cf-sla-preview-grid strong {
  color: #c5d0c6;
  font-weight: 500;
}
.hd-cf-sla-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  margin: 10px 0;
}
.hd-cf-sla-preview-grid > div {
  background: #fff;
  border-radius: 8px;
  padding: 10px;
}
.hd-cf-sla-preview-grid span { display: block; font-size: 12px; color: var(--hd-cf-muted); }
.hd-cf-sla-preview-grid strong { display: block; font-size: 20px; color: var(--hd-cf-green); margin: 4px 0 2px; }
.hd-cf-sla-preview-grid em { font-style: normal; font-size: 11px; color: var(--hd-cf-muted); }
.hd-cf-comm-h { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--hd-cf-border); }
.hd-cf-desc-hint {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  margin: 8px 0 12px;
  padding: 0;
  line-height: 1.4;
  font-size: 12px;
  background: transparent;
}
.hd-cf-open .hd-cf-sec-solicitacao .note-editor,
.hd-cf-open .hd-cf-sec-solicitacao .note-frame {
  overflow: hidden !important;
  margin-bottom: 0 !important;
}
.hd-cf-panel.hd-cf-open .hd-cf-sec-solicitacao .note-statusbar,
.hd-cf-panel.hd-cf-new .hd-cf-sec-solicitacao .note-statusbar {
  display: none !important;
}
.hd-cf-panel input::placeholder,
.hd-cf-panel textarea::placeholder {
  color: #98a2b3;
  opacity: 1;
}
.hd-cf-panel.hd-cf-new:not(.hd-cf-edit) li.hd-cf-tab-checklist,
.hd-cf-panel.hd-cf-new:not(.hd-cf-edit) li.hd-cf-tab-diag,
.hd-cf-panel.hd-cf-new:not(.hd-cf-edit) li.hd-cf-tab-sla,
.hd-cf-panel.hd-cf-new:not(.hd-cf-edit) li.hd-cf-tab-anexos,
.hd-cf-panel:not(.hd-cf-has-check) li.hd-cf-tab-checklist {
  display: none !important;
}
.hd-cf-panel.hd-cf-edit #chamado_form_prioridade_sla_detail,
.hd-cf-panel.hd-cf-edit #hd-cf-checklist-summary { display: none !important; }
.hd-cf-panel.hd-cf-edit .tformrow:has(#chamado_form_prioridade_sla_detail),
.hd-cf-panel .tformrow:has(#hd-cf-checklist-summary) {
  display: none !important;
  min-height: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
}
.hd-cf-sec-classificacao .hd-cf-reg-row {
  margin-top: 6px !important;
  padding-top: 10px;
  border-top: 1px solid var(--hd-cf-border);
}
.hd-cf-edit .hd-cf-reg-row > .col-sm-4:first-child { display: none; }
.hd-cf-edit .hd-cf-reg-row > [class*="col-"] {
  flex: 1 1 0;
  width: auto !important;
  max-width: 50%;
}

.hd-cf-card {
  border: 1px solid var(--hd-cf-border);
  border-radius: var(--hd-cf-radius);
  padding: 16px 16px 12px;
  margin: 0 0 12px;
  background: var(--hd-cf-surface);
  min-width: 0;
}
.hd-cf-card-h {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--hd-cf-green);
  margin: 0 0 12px;
  text-align: left;
}
.hd-cf-card-h i { color: var(--hd-cf-green); width: 16px; text-align: center; flex: 0 0 auto; }
.hd-cf-card-h span { min-width: 0; }
.hd-cf-sec-mark { display: none; }
.hd-cf-panel .form-group { margin-bottom: 8px; }
.hd-cf-panel .hd-cf-card .form-group:last-child { margin-bottom: 0; }
.hd-cf-panel label,
.hd-cf-panel label.control-label,
.hd-cf-panel .tformrow label {
  font-size: 12px !important;
  font-weight: 600;
  color: var(--hd-cf-muted) !important;
  margin-bottom: 4px;
}
.hd-cf-panel .form-control,
.hd-cf-panel .select2-selection {
  min-height: 38px;
  font-size: 13px;
  border-color: var(--hd-cf-border) !important;
  border-radius: 8px !important;
  background: #fff;
}
.hd-cf-panel select.select2-hidden-accessible {
  position: absolute !important;
  left: 0 !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  pointer-events: none !important;
  z-index: -1 !important;
}
.hd-cf-panel .select2-container {
  width: 100% !important;
  z-index: 2;
}
.hd-cf-panel .select2-container--default .select2-selection--single {
  height: 38px;
  padding-top: 4px;
}
.hd-cf-panel .select2-selection__rendered {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  padding-right: 22px !important;
}
.hd-cf-panel .select2-selection--single .select2-selection__arrow {
  height: 36px;
}
.hd-cf-panel.hd-cf-edit #hd-cf-btn-clear { display: none !important; }
.hd-cf-panel.hd-cf-edit .nav-tabs > li > a,
.hd-cf-panel.hd-cf-edit .nav-tabs .nav-link {
  outline: none;
}
.hd-cf-panel.hd-cf-edit .nav-tabs > li > a:focus,
.hd-cf-panel.hd-cf-edit .nav-tabs .nav-link:focus {
  outline: none;
  box-shadow: none !important;
}
.hd-cf-panel.hd-cf-edit .nav-tabs > li > a:focus-visible,
.hd-cf-panel.hd-cf-edit .nav-tabs .nav-link:focus-visible {
  outline: 2px solid var(--hd-cf-green);
  outline-offset: 2px;
  box-shadow: none !important;
}
.hd-cf-panel.hd-cf-edit .nav-tabs > li.active > a,
.hd-cf-panel.hd-cf-edit .nav-tabs a.nav-link.active {
  outline: none !important;
}
.hd-cf-panel.hd-cf-edit .hd-cf-sec-solicitacao .note-toolbar,
.hd-cf-panel.hd-cf-edit .hd-cf-sec-solicitacao .note-statusbar,
.hd-cf-panel.hd-cf-edit .hd-cf-sec-solicitacao .note-resizebar,
.hd-cf-panel.hd-cf-edit .hd-cf-sec-solicitacao .note-editing-area .note-codable {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
}
.hd-cf-panel.hd-cf-edit .hd-cf-sec-solicitacao .hd-richtext-editor.is-hd-hidden,
.hd-cf-panel.hd-cf-edit .hd-cf-sec-solicitacao .note-editor.is-hd-hidden {
  display: none !important;
}
.hd-cf-panel.hd-cf-edit .hd-cf-sec-solicitacao .hd-cf-desc-ro {
  flex: 0 0 auto;
  min-height: 0;
  max-height: 220px;
  overflow-y: auto;
  margin: 0 0 8px;
}
.hd-cf-panel.hd-cf-edit .hd-cf-sec-solicitacao .hd-cf-docs,
.hd-cf-panel.hd-cf-edit .hd-cf-sec-solicitacao .hd-cf-resumo {
  flex: 0 0 auto;
}
.hd-cf-panel.hd-cf-edit .hd-cf-docs-empty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #e6ece7;
  border-radius: 8px;
  background: #fff;
  color: var(--hd-cf-muted);
  font-size: 13px;
}
.hd-cf-panel.hd-cf-edit .hd-cf-docs-empty i {
  color: #9aa89d;
  flex: 0 0 auto;
}
.hd-cf-panel.hd-cf-edit .tab-pane.active:has(.hd-cf-sec-diag) .hd-cf-diag-row {
  flex: 0 0 auto;
}
.hd-cf-panel.hd-cf-edit .tab-pane.active:has(.hd-cf-sec-diag) .hd-cf-sol-head {
  flex: 0 0 auto;
}

.hd-cf-edit .hd-cf-desc-row label { display: none !important; }
.hd-cf-edit .hd-cf-sec-solicitacao .note-toolbar,
.hd-cf-edit .hd-cf-sec-solicitacao .note-statusbar { display: none !important; }
.hd-cf-edit .hd-cf-sec-solicitacao .note-editor,
.hd-cf-edit .hd-cf-sec-solicitacao .note-frame {
  border: 0 !important;
  background: transparent !important;
  border-radius: 0;
  margin: 0;
  box-shadow: none !important;
}
#adianti_right_panel .hd-cf-edit .hd-cf-sec-solicitacao .note-editable,
#adianti_right_panel .hd-cf-edit .hd-cf-sec-solicitacao .note-editable[contenteditable="false"],
.hd-cf-edit .hd-cf-sec-solicitacao .note-editable,
.hd-cf-edit .hd-cf-sec-solicitacao .note-editable[contenteditable="false"] {
  background: #F4F7F3 !important;
  color: #1f2933 !important;
  opacity: 1 !important;
  min-height: 88px !important;
  max-height: 220px;
  height: auto !important;
  flex: none;
  overflow: auto !important;
  padding: 14px 16px !important;
  font-size: 14px;
  line-height: 1.55;
  border-radius: 10px;
}
.hd-cf-edit .hd-cf-sec-solicitacao .note-editable img {
  max-width: 100%;
  height: auto;
}
.hd-cf-msg-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
}
.hd-cf-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #E4EEE6;
  color: var(--hd-cf-green);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.hd-cf-msg-name { font-size: 14px; font-weight: 600; color: var(--hd-cf-text); }
.hd-cf-msg-when { font-size: 12px; color: var(--hd-cf-muted); }
.hd-cf-readonly-desc .hd-cf-card-h {
  justify-content: flex-start;
}
.hd-cf-readonly-desc .hd-cf-card-h::after {
  content: "Somente leitura";
  margin-left: auto;
  font-size: 12px;
  font-weight: 400;
  color: var(--hd-cf-muted);
}
.hd-cf-goto-anexos {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--hd-cf-green) !important;
  text-decoration: none !important;
}
.hd-cf-goto-anexos:hover { text-decoration: underline !important; }
.hd-cf-subh {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--hd-cf-green);
}
.hd-cf-subh i { width: 14px; text-align: center; }
.hd-cf-subh em { font-style: normal; font-weight: 500; font-size: 12px; color: var(--hd-cf-muted); }
.hd-cf-docs, .hd-cf-resumo {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--hd-cf-border);
}
.hd-cf-docs .hd-anexo-item { margin-top: 6px; }
.hd-cf-docs .hd-cf-goto-anexos { width: 100%; justify-content: flex-end; }
.hd-cf-docs-empty { margin: 0 0 4px; }
.hd-cf-resumo-row {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 8px;
  align-items: start;
  padding: 5px 0;
  font-size: 12px;
}
.hd-cf-resumo-row i { color: var(--hd-cf-muted); margin-top: 2px; text-align: center; }
.hd-cf-resumo-row span { color: var(--hd-cf-muted); }
.hd-cf-resumo-row strong {
  color: var(--hd-cf-text);
  font-weight: 600;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hd-cf-panel .hd-richtext-editor .note-toolbar,
.hd-cf-panel .note-editor .note-toolbar,
#adianti_right_panel .hd-cf-panel .note-editor .note-toolbar {
  background: #F4F6F4 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--hd-cf-border) !important;
  padding: 6px 10px !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  white-space: nowrap;
}
#adianti_right_panel .hd-cf-panel .note-toolbar .note-btn-group,
.hd-cf-panel .note-toolbar .note-btn-group {
  border: 0 !important;
  margin: 0 6px 0 0 !important;
  padding-right: 6px;
  border-right: 1px solid var(--hd-cf-border) !important;
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 2px;
  float: none !important;
}
#adianti_right_panel .hd-cf-panel .note-toolbar .note-btn-group:last-child,
.hd-cf-panel .note-toolbar .note-btn-group:last-child {
  border-right: 0 !important;
  margin-right: 0 !important;
  padding-right: 0;
}
#adianti_right_panel .hd-cf-panel .note-toolbar .note-btn.btn.btn-default,
#adianti_right_panel .hd-cf-panel .note-toolbar .note-btn,
#adianti_right_panel .hd-cf-panel .note-toolbar .btn.btn-default,
.hd-cf-panel .note-toolbar .note-btn,
.hd-cf-panel .note-toolbar .btn,
.hd-cf-panel .note-toolbar .btn-default,
.hd-cf-panel .note-editor .note-btn {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #3d4a40 !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  padding: 0 !important;
  border-radius: 6px !important;
  line-height: 28px !important;
}
#adianti_right_panel .hd-cf-panel .note-toolbar .note-btn.btn.btn-default:hover,
.hd-cf-panel .note-toolbar .note-btn:hover,
.hd-cf-panel .note-toolbar .btn:hover {
  background: #e7eee8 !important;
  border: 0 !important;
}
#adianti_right_panel .hd-cf-panel .note-toolbar .note-color .note-btn,
#adianti_right_panel .hd-cf-panel .note-toolbar .note-fontsize .note-btn,
.hd-cf-panel .note-toolbar .note-color .note-btn,
.hd-cf-panel .note-toolbar .note-fontsize .note-btn {
  width: auto !important;
  min-width: 28px !important;
  padding: 0 6px !important;
}
.hd-cf-panel .hd-richtext-editor .note-editor,
.hd-cf-panel .hd-richtext-editor .note-frame {
  border: 1px solid var(--hd-cf-border);
  border-radius: 8px;
  overflow: hidden;
}

.hd-cf-sol-head { margin: 8px 0 6px; padding-top: 8px; border-top: 1px solid var(--hd-cf-border); }
.hd-cf-sol-head strong { display: block; color: var(--hd-cf-green); font-size: 15px; }
.hd-cf-sol-head .hd-cf-muted { margin: 2px 0 0; }
.hd-cf-panel .hd-cf-sol-row label { display: none !important; }

.hd-cf-panel .tab-content > .tab-pane.active:has(.hd-cf-sec-diag) {
  display: flex !important;
  flex-direction: column;
  min-height: 100%;
  height: 100%;
  padding-bottom: 10px !important;
}
.hd-cf-panel .tab-content > .tab-pane.active:has(.hd-cf-sec-diag) > .hd-cf-sec-diag {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  margin-bottom: 0;
  padding-bottom: 12px;
  overflow: hidden;
}
.hd-cf-sec-diag .hd-cf-sol-row {
  flex: 1 1 auto;
  display: flex !important;
  flex-direction: column;
  min-height: 0;
  margin-bottom: 0 !important;
}
.hd-cf-sec-diag .hd-cf-sol-row > [class*="col-"] {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100% !important;
  max-width: 100%;
}
.hd-cf-sec-diag .hd-richtext-editor,
.hd-cf-sec-diag .note-editor,
.hd-cf-sec-diag .note-frame,
.hd-cf-sec-diag .note-editing-area {
  flex: 1 1 auto;
  display: flex !important;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  height: 100% !important;
  overflow: hidden;
}
.hd-cf-sec-diag .note-toolbar {
  flex: 0 0 auto;
  overflow: hidden;
}
.hd-cf-sec-diag .note-editable {
  flex: 1 1 auto;
  min-height: 0 !important;
  max-height: 100%;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.hd-cf-sec-diag .note-statusbar {
  display: none !important;
}

.hd-cf-edit .hd-cf-reg-row .form-control,
.hd-cf-edit .hd-cf-reg-row input {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding-left: 0;
  color: var(--hd-cf-text);
  font-weight: 600;
  min-height: 24px;
}
.hd-cf-panel.hd-cf-edit .hd-cf-reg-row .input-group-addon,
.hd-cf-panel.hd-cf-edit .hd-cf-reg-row .input-group-text,
.hd-cf-panel.hd-cf-edit .hd-cf-reg-row .input-group-append,
.hd-cf-panel.hd-cf-edit .hd-cf-reg-row .input-group-prepend,
.hd-cf-panel.hd-cf-edit .hd-cf-reg-row .tdate-group-addon,
.hd-cf-panel.hd-cf-edit .hd-cf-reg-row .tfield_disabled ~ .add-on,
.hd-cf-panel.hd-cf-edit .hd-cf-reg-row input[readonly] ~ .add-on { display: none !important; }
.hd-cf-muted { font-size: 12px; color: var(--hd-cf-muted); }
.hd-cf-pct { font-weight: 700; color: var(--hd-cf-green); white-space: nowrap; }
.hd-cf-bar {
  height: 6px;
  background: #e6efe8;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 8px;
}
.hd-cf-bar > span { display: block; height: 100%; background: var(--hd-cf-green); border-radius: 4px; }

.hd-cf-exec-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.hd-cf-exec-title { display: flex; gap: 10px; align-items: flex-start; color: var(--hd-cf-green); }
.hd-cf-exec-title i {
  width: 32px; height: 32px; border-radius: 8px;
  background: #eaf3ec; color: var(--hd-cf-green);
  display: inline-flex; align-items: center; justify-content: center;
}
.hd-cf-exec-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 4px;
}
.hd-cf-exec-stats > div { background: #f3f8f4; border-radius: 8px; padding: 8px 10px; }
.hd-cf-exec-stats > div.is-warn-box { background: #FBF4E8; }
.hd-cf-exec-stats strong { display: block; font-size: 20px; color: var(--hd-cf-green); }
.hd-cf-exec-stats strong.is-warn { color: var(--hd-cf-warn); }
.hd-cf-exec-cols {
  display: flex;
  justify-content: space-between;
  margin: 12px 0 0;
  padding: 7px 12px;
  background: #f3f8f4;
  border-radius: 8px 8px 0 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--hd-cf-muted);
}
.hd-cf-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--hd-cf-border);
  border-top: 0;
  text-decoration: none !important;
  color: var(--hd-cf-text) !important;
  background: #fff;
}
.hd-cf-item:last-of-type { border-radius: 0 0 8px 8px; }
.hd-cf-item:hover { background: #f7f9f7; }
.hd-cf-item.is-hot { background: #FBE9E7; }
.hd-cf-item.is-done { background: #F3F8F4; }
.hd-cf-dot {
  width: 20px;
  height: 20px;
  border: 2px solid #8aa08e;
  border-radius: 50%;
  flex: 0 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #fff;
}
.hd-cf-item.is-done .hd-cf-dot { background: var(--hd-cf-green); border-color: var(--hd-cf-green); }
.hd-cf-item-main { flex: 1; min-width: 0; }
.hd-cf-item-title { display: block; font-size: 14px; font-weight: 500; }
.hd-cf-item-tag { display: block; font-size: 11px; color: var(--hd-cf-muted); margin-top: 1px; }
.hd-cf-item-meta { display: block; font-size: 12px; color: var(--hd-cf-muted); margin-top: 2px; }
.hd-cf-state {
  font-size: 11px;
  font-weight: 600;
  color: var(--hd-cf-warn);
  background: #FBF4E8;
  border: 1px solid #EAD4A8;
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}
.hd-cf-item.is-done .hd-cf-state { color: var(--hd-cf-green); background: #E8F3E9; border-color: #C9DCCB; }
.hd-cf-hint { font-size: 12px; color: var(--hd-cf-muted); margin: 12px 0 0; }

.hd-cf-panel .hd-cf-hidden-row {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
}
.hd-cf-sla-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-bottom: 12px; }
@media (max-width: 420px) { .hd-cf-sla-grid { grid-template-columns: 1fr; } }
.hd-cf-sla-card {
  border: 0;
  border-radius: 0;
  padding: 0 8px 0 0;
  background: transparent;
}
.hd-cf-sla-card-h { font-size: 13px; font-weight: 600; color: var(--hd-cf-muted); margin-bottom: 6px; display: flex; gap: 8px; align-items: center; }
.hd-cf-sla-big { font-size: 28px; font-weight: 700; color: var(--hd-cf-text); line-height: 1.1; margin: 0 0 6px; }
.hd-cf-sla-card.is-hot .hd-cf-sla-big { color: var(--hd-cf-hot); }
.hd-cf-sla-card.is-warn .hd-cf-sla-big { color: var(--hd-cf-warn); }
.hd-cf-panel.hd-cf-edit .tab-content:has(> .tab-pane.active #hd-cf-sla-body) {
  overflow-x: hidden;
  overflow-y: auto;
}
.hd-cf-panel.hd-cf-edit .tab-pane.active:has(#hd-cf-sla-body) {
  display: block !important;
  height: auto !important;
  min-height: 0;
  overflow: visible;
}
.hd-cf-panel.hd-cf-edit .tab-pane.active:has(#hd-cf-sla-body) > .form-group,
.hd-cf-panel.hd-cf-edit .tab-pane.active:has(#hd-cf-sla-body) > .tformrow,
.hd-cf-panel.hd-cf-edit .tab-pane.active:has(#hd-cf-sla-body) [class*="col-"]:has(#hd-cf-sla-body),
.hd-cf-panel.hd-cf-edit #hd-cf-sla-body {
  display: block;
  float: none;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  min-height: 0;
  overflow: visible;
  padding-left: 0;
  padding-right: 0;
}
.hd-cf-panel.hd-cf-edit .hd-cf-sla-tab {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: auto;
  min-height: 0;
  overflow: visible;
  padding-bottom: 8px;
}
.hd-cf-panel.hd-cf-edit .hd-cf-sla-grid {
  flex: 0 0 auto;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  align-items: stretch;
}
.hd-cf-panel.hd-cf-edit .hd-cf-sla-card {
  background: var(--hd-cf-surface);
  border: 1px solid var(--hd-cf-border);
  border-radius: var(--hd-cf-radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: auto;
  overflow: visible;
}
.hd-cf-panel.hd-cf-edit .hd-cf-sla-card-h {
  color: var(--hd-cf-green);
  font-size: 14px;
  margin-bottom: 12px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hd-cf-panel.hd-cf-edit .hd-cf-sla-card-h-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.hd-cf-panel.hd-cf-edit .hd-cf-sla-hero {
  flex: 0 0 auto;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 4px;
  background: #f4f7f4;
}
.hd-cf-panel.hd-cf-edit .hd-cf-sla-card.is-hot .hd-cf-sla-hero { background: #FBE9E7; }
.hd-cf-panel.hd-cf-edit .hd-cf-sla-card.is-warn .hd-cf-sla-hero { background: #FFF3DF; }
.hd-cf-panel.hd-cf-edit .hd-cf-sla-card.is-pause .hd-cf-sla-hero { background: #E7F0EF; }
.hd-cf-panel.hd-cf-edit .hd-cf-sla-card.is-pause .hd-cf-sla-big { color: #426F70; }
.hd-cf-panel.hd-cf-edit .hd-cf-sla-hero.is-done {
  background: #E8F3E9;
}
.hd-cf-panel.hd-cf-edit .hd-cf-sla-hero.is-done .hd-cf-sla-big {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--hd-cf-green);
  font-size: 22px;
}
.hd-cf-panel.hd-cf-edit .hd-cf-sla-hero.is-done .hd-cf-muted {
  color: var(--hd-cf-green);
  opacity: 0.85;
}
.hd-cf-panel.hd-cf-edit .hd-cf-sla-hero .hd-cf-pill { margin-top: 4px; }
.hd-cf-panel.hd-cf-edit .hd-cf-sla-fact {
  flex: 0 0 auto;
  padding: 10px 0;
  border-top: 1px solid var(--hd-cf-border);
}
.hd-cf-panel.hd-cf-edit .hd-cf-sla-fact span {
  display: block;
  font-size: 12px;
  color: var(--hd-cf-muted);
}
.hd-cf-panel.hd-cf-edit .hd-cf-sla-fact strong {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--hd-cf-text);
  white-space: pre-wrap;
}
.hd-cf-panel.hd-cf-edit .hd-cf-sla-fact em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 12px;
  font-weight: 400;
  color: var(--hd-cf-muted);
  line-height: 1.4;
}
.hd-cf-panel.hd-cf-edit .hd-cf-sla-note {
  display: none;
}
.hd-cf-panel.hd-cf-edit .hd-cf-sla-policy,
.hd-cf-panel.hd-cf-edit .hd-cf-sla-hist {
  flex: 0 0 auto;
  background: var(--hd-cf-surface);
  border: 1px solid var(--hd-cf-border);
  border-radius: var(--hd-cf-radius);
  padding: 16px;
}
.hd-cf-panel.hd-cf-edit .hd-cf-sla-policy .hd-cf-sla-card-h,
.hd-cf-panel.hd-cf-edit .hd-cf-sla-hist .hd-cf-sla-card-h {
  justify-content: space-between;
  margin-bottom: 8px;
}
.hd-cf-panel.hd-cf-edit .hd-cf-sla-policy .hd-cf-sla-card-h .hd-cf-pill {
  margin-left: auto;
  flex: 0 0 auto;
}
.hd-cf-panel.hd-cf-edit .hd-cf-sla-policy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 16px;
}
.hd-cf-panel.hd-cf-edit .hd-cf-sla-policy-foot {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 8px 0 0;
  color: var(--hd-cf-muted);
  font-size: 13px;
}
.hd-cf-panel.hd-cf-edit .hd-cf-sla-hist-lead {
  margin: 0 0 12px;
  font-size: 13px;
}
.hd-cf-panel.hd-cf-edit .hd-cf-sla-tl {
  list-style: none;
  margin: 0;
  padding: 0 0 0 10px;
  border-left: 2px solid #e6ece7;
}
.hd-cf-panel.hd-cf-edit .hd-cf-sla-ev {
  position: relative;
  padding: 0 0 14px 22px;
}
.hd-cf-panel.hd-cf-edit .hd-cf-sla-ev:last-child { padding-bottom: 0; }
.hd-cf-panel.hd-cf-edit .hd-cf-sla-ev-ico {
  position: absolute;
  left: -17px;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E8F3E9;
  color: var(--hd-cf-green);
  font-size: 11px;
  box-shadow: 0 0 0 3px #fff;
}
.hd-cf-panel.hd-cf-edit .hd-cf-sla-ev.is-pause .hd-cf-sla-ev-ico { background: #E7F0EF; color: #426F70; }
.hd-cf-panel.hd-cf-edit .hd-cf-sla-ev.is-warn .hd-cf-sla-ev-ico { background: #FFF3DF; color: var(--hd-cf-warn); }
.hd-cf-panel.hd-cf-edit .hd-cf-sla-ev.is-hot .hd-cf-sla-ev-ico { background: #FBE9E7; color: var(--hd-cf-hot); }
.hd-cf-panel.hd-cf-edit .hd-cf-sla-ev.is-resp .hd-cf-sla-ev-ico { background: #eef3f8; color: #3d6a8a; }
.hd-cf-panel.hd-cf-edit .hd-cf-sla-ev-when {
  display: block;
  font-size: 12px;
  color: var(--hd-cf-muted);
  margin-bottom: 2px;
}
.hd-cf-panel.hd-cf-edit .hd-cf-sla-ev-h {
  font-size: 14px;
  font-weight: 600;
  color: var(--hd-cf-text);
}
.hd-cf-panel.hd-cf-edit .hd-cf-sla-ev-s {
  margin-top: 2px;
  font-size: 13px;
  color: var(--hd-cf-muted);
  line-height: 1.4;
}
@media (max-width: 900px) {
  .hd-cf-panel.hd-cf-edit .hd-cf-sla-grid,
  .hd-cf-panel.hd-cf-edit .hd-cf-sla-policy-grid {
    grid-template-columns: 1fr;
  }
}
.hd-cf-pill {
  display: inline-flex;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.hd-cf-pill.is-hot { background: #FBE9E7; color: var(--hd-cf-hot); border-color: #E8C8C3; }
.hd-cf-pill.is-warn { background: #FFF3DF; color: var(--hd-cf-warn); border-color: #EAD4A8; }
.hd-cf-pill.is-ok { background: #E8F3E9; color: var(--hd-cf-green); border-color: #C9DCCB; }
.hd-cf-pill.is-pause { background: #E7F0EF; color: #426F70; border-color: #C5D8D6; }
.hd-cf-sla-sep { height: 1px; background: var(--hd-cf-border); margin: 12px 0; }
.hd-cf-sla-line { font-size: 14px; font-weight: 600; color: var(--hd-cf-text); margin-bottom: 8px; }
.hd-cf-sla-criterio { padding: 12px 0 0; border-top: 1px solid var(--hd-cf-border); }
.hd-cf-sla-criterio h5 { margin: 0 0 6px; font-size: 14px; color: var(--hd-cf-green); }

.hd-cf-panel .hd-anexo-box { border: 0; padding: 0; min-width: 0; }
.hd-cf-panel .hd-anexo-lista .tfieldlist-header,
.hd-cf-panel .hd-anexo-lista .panel-heading,
.hd-cf-panel .hd-anexo-lista legend,
.hd-cf-panel .hd-anexo-lista h4,
.hd-cf-panel .hd-anexo-lista h5,
.hd-cf-panel .hd-anexo-lista .control-label { display: none !important; }
.hd-cf-panel .hd-anexo-cab {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}
.hd-cf-panel .hd-anexo-cab > i {
  color: var(--hd-cf-green);
  width: 16px;
  text-align: center;
  flex: 0 0 auto;
}
.hd-cf-panel .hd-anexo-cab strong { font-size: 15px; color: var(--hd-cf-green); font-weight: 600; }
.hd-cf-panel .hd-anexo-cab .hd-cf-anexo-count {
  margin-left: auto;
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  color: var(--hd-cf-muted);
}
.hd-cf-panel .hd-anexo-escolher {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  margin-top: 8px;
  color: var(--hd-cf-green) !important;
  border: 1px solid var(--hd-cf-border) !important;
  background: #fff !important;
  border-radius: 8px;
  font-weight: 600;
}
.hd-cf-panel .hd-anexo-drop {
  border: 1px dashed var(--hd-cf-border);
  background: #F4F7F3;
  border-radius: var(--hd-cf-radius);
  padding: 16px;
  text-align: center;
  color: #4a5560;
  cursor: pointer;
}
.hd-cf-panel.hd-cf-edit .tab-content:has(> .tab-pane.active.hd-cf-anexos-pane) {
  overflow: hidden;
}
.hd-cf-panel.hd-cf-edit .tab-pane.hd-cf-anexos-pane.active,
.hd-cf-panel.hd-cf-edit .tab-content > .tab-pane.active.hd-cf-anexos-pane {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  width: 100% !important;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
}
.hd-cf-panel.hd-cf-edit .hd-cf-anexos-row,
.hd-cf-panel.hd-cf-edit .tab-pane.hd-cf-anexos-pane.active > .form-group.tformrow {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  flex: 1 1 auto;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  min-height: 0;
  height: 100%;
  margin: 0 !important;
  overflow: hidden;
}
.hd-cf-panel.hd-cf-edit .hd-cf-anexos-row [class*="col-"],
.hd-cf-panel.hd-cf-edit .hd-cf-anexos-row .fb-field-container,
.hd-cf-panel.hd-cf-edit .hd-cf-anexos-row .fb-inline-field-container {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  flex: 1 1 auto !important;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  min-height: 0;
  height: 100%;
  padding-left: 0;
  padding-right: 0;
}
.hd-cf-panel.hd-cf-edit .hd-cf-anexos-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 1 1 auto;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  min-height: 0;
  height: 100%;
  margin: 0;
}
.hd-cf-panel.hd-cf-edit .hd-cf-anexos-card .hd-anexo-box {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 1 1 auto;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  min-height: 0;
}
.hd-cf-panel.hd-cf-edit .hd-cf-anexos-card .hd-anexo-cab {
  flex: 0 0 auto;
  width: 100%;
  margin-bottom: 8px;
}
.hd-cf-panel.hd-cf-edit .hd-cf-anexos-card .hd-anexo-drop {
  flex: 0 0 auto;
  align-self: stretch;
  width: 100% !important;
  max-width: none !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px 12px;
  min-height: 0;
  box-sizing: border-box;
}
.hd-cf-panel.hd-cf-edit .hd-cf-anexos-card .hd-anexo-drop-ico,
.hd-cf-panel.hd-cf-edit .hd-cf-anexos-card .hd-anexo-drop > i.fa-cloud-upload-alt {
  font-size: 22px;
  color: var(--hd-cf-green);
  margin-bottom: 2px;
}
.hd-cf-panel.hd-cf-edit .hd-cf-anexos-card .hd-anexo-drop-txt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
  max-width: 100%;
}
.hd-cf-panel.hd-cf-edit .hd-cf-anexos-card .hd-anexo-drop-txt strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--hd-cf-text);
  line-height: 1.3;
}
.hd-cf-panel.hd-cf-edit .hd-cf-anexos-card .hd-anexo-drop-txt span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--hd-cf-muted);
  line-height: 1.35;
}
.hd-cf-panel.hd-cf-edit .hd-cf-anexos-card .hd-anexo-escolher {
  margin-top: 6px;
}
.hd-cf-panel.hd-cf-edit .hd-cf-anexos-card .hd-anexo-fila {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  margin-top: 10px;
}
.hd-cf-panel.hd-cf-edit .hd-cf-anexos-card .hd-anexo-fila .hd-cf-empty.hd-anexo-empty {
  flex: 1 1 auto;
  justify-content: center;
  padding: 24px 12px;
}
.hd-cf-open .hd-anexo-box {
  margin: 0;
}
.hd-cf-open .hd-anexo-cab {
  margin-bottom: 8px;
}
.hd-cf-open .hd-anexo-drop {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: left;
  gap: 8px 12px;
  padding: 10px 12px !important;
  min-height: 0 !important;
  height: auto !important;
}
.hd-cf-open .hd-anexo-drop-ico,
.hd-cf-open .hd-anexo-drop > i.fa-cloud-upload-alt {
  flex: 0 0 auto !important;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eaf3ec;
  color: var(--hd-cf-green);
  font-size: 16px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hd-cf-open .hd-anexo-drop-txt {
  flex: 0 1 auto !important;
  min-width: 0;
  max-width: calc(100% - 200px);
}
.hd-cf-open .hd-anexo-drop-txt strong {
  display: block;
  font-size: 13px;
  color: var(--hd-cf-text);
}
.hd-cf-open .hd-anexo-drop-txt span {
  display: block;
  font-size: 12px;
  color: var(--hd-cf-muted);
}
.hd-cf-open .hd-anexo-escolher {
  width: auto !important;
  flex: 0 0 auto !important;
  margin-top: 0 !important;
  margin-left: auto;
  white-space: nowrap;
}
.hd-cf-open .hd-anexo-hint {
  flex: 1 0 100% !important;
  margin: 0 !important;
  padding-top: 6px;
  border-top: 1px solid var(--hd-cf-border);
}
.hd-cf-open .hd-anexo-fila:empty {
  display: none;
  margin: 0;
}
.hd-cf-open .hd-anexo-fila:not(:empty) {
  margin-top: 8px;
  max-height: 156px;
  overflow-y: auto;
}
.hd-cf-open .hd-anexo-item {
  padding: 8px 10px;
  margin-top: 6px;
  gap: 8px 10px;
}
.hd-cf-open .hd-anexo-acoes .hd-anexo-act {
  border: 0;
  background: transparent;
  padding: 4px 6px;
  min-width: 28px;
  justify-content: center;
}
.hd-cf-open .hd-anexo-ok { margin-right: 0; font-size: 14px; }
.hd-cf-req label::after,
.hd-cf-req .control-label::after {
  content: " *";
  color: #A23D35;
  font-weight: 700;
}
.hd-cf-open .hd-cf-locked .select2-container,
.hd-cf-open .select2-container--disabled {
  opacity: 1 !important;
}
.hd-cf-open .select2-container--disabled .select2-selection,
.hd-cf-locked .select2-container .select2-selection,
.hd-cf-locked .form-control[disabled],
.hd-cf-locked .form-control[readonly] {
  background: #e4eee6 !important;
  color: #16351c !important;
  border-color: #b7cbb9 !important;
  opacity: 1 !important;
}
.hd-cf-open .select2-container--disabled .select2-selection__arrow b,
.hd-cf-open .select2-container--disabled .select2-selection__clear,
.hd-cf-open .select2-container--disabled .select2-selection__choice__remove,
.hd-cf-locked .select2-selection__arrow b,
.hd-cf-locked .select2-selection__clear,
.hd-cf-locked .select2-selection__choice__remove {
  display: none !important;
}
.hd-cf-open .select2-container--disabled .select2-selection__arrow::after,
.hd-cf-locked .select2-selection__arrow::after {
  content: "\f023";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #315B29;
  font-size: 12px;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}
#adianti_right_panel .hd-cf-open .hd-cf-locked .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__rendered,
#adianti_right_panel .hd-cf-open .select2-container--disabled .select2-selection__rendered,
.hd-cf-open .select2-container--disabled .select2-selection__rendered,
.hd-cf-locked .select2-selection__rendered {
  color: #16351c !important;
  -webkit-text-fill-color: #16351c !important;
  opacity: 1 !important;
  font-weight: 650;
}
.hd-cf-panel .hd-anexo-hint { display: block; margin-top: 6px; color: #8a9690; }

.hd-cf-panel.hd-cf-edit > .card-header,
.hd-cf-panel.hd-cf-edit > .panel-heading,
.hd-cf-panel.hd-cf-edit > form > .card-header,
.hd-cf-panel.hd-cf-edit > form > .panel-heading,
.hd-cf-panel.hd-cf-edit > .card-footer,
.hd-cf-panel.hd-cf-edit > .panel-footer,
.hd-cf-panel.hd-cf-edit > form > .card-footer,
.hd-cf-panel.hd-cf-edit > form > .panel-footer {
  flex: 0 0 auto;
  flex-shrink: 0;
}
.hd-cf-panel .card-footer,
.hd-cf-panel .panel-footer {
  position: relative;
  flex: 0 0 auto;
  z-index: 6;
  background: var(--hd-cf-surface);
  border-top: 1px solid var(--hd-cf-border);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 16px;
  margin: 0;
  border-radius: 0 0 var(--hd-cf-radius) var(--hd-cf-radius);
}
.hd-cf-foot-id {
  margin-right: auto;
  font-size: 13px;
  color: var(--hd-cf-muted);
}
.hd-cf-panel #hd-cf-btn-back,
.hd-cf-panel #hd-cf-btn-close,
.hd-cf-panel #hd-cf-btn-clear {
  background: #fff !important;
  color: var(--hd-cf-green) !important;
  border: 1px solid var(--hd-cf-border) !important;
  border-radius: 8px !important;
}
.hd-cf-panel #hd-cf-btn-save,
.hd-cf-panel .hd-cf-btn-save,
.hd-cf-panel .btn_botao {
  background: var(--hd-cf-green) !important;
  color: #fff !important;
  border: 1px solid var(--hd-cf-green) !important;
  border-radius: 8px !important;
  font-weight: 600;
}
.hd-cf-panel #hd-cf-btn-save,
.hd-cf-panel #hd-cf-btn-save i,
.hd-cf-panel #hd-cf-btn-save .svg-inline--fa,
.hd-cf-panel .hd-cf-btn-save i,
.hd-cf-panel .hd-cf-btn-save .fa {
  color: #fff !important;
}
.hd-cf-edit #hd-cf-btn-save {
  background: #fff !important;
  color: var(--hd-cf-green) !important;
  border: 1px solid var(--hd-cf-border) !important;
}
.hd-cf-edit #hd-cf-btn-save i,
.hd-cf-edit #hd-cf-btn-save .fa,
.hd-cf-edit #hd-cf-btn-save .svg-inline--fa {
  color: var(--hd-cf-green) !important;
}
.hd-cf-edit #hd-cf-btn-finalize {
  background: var(--hd-cf-green) !important;
  color: #fff !important;
  border: 1px solid var(--hd-cf-green) !important;
  border-radius: 8px !important;
  font-weight: 600;
}
.hd-cf-edit #hd-cf-btn-finalize i {
  color: #fff !important;
}
body > .select2-container.select2-container--open {
  z-index: 20050;
}
body > .select2-container .select2-dropdown {
  border-color: var(--hd-ui-border, #DFE6DC);
  border-radius: 8px;
  overflow: hidden;
}
body > .select2-container .select2-results__options {
  max-height: 260px;
  overflow-y: auto;
}

/* Visualização do cliente — mesma cadeia das telas aprovadas:
   .hd-cf-panel > form > .card-body + .card-footer
   Cabeçalho / abas / rodapé: flex-shrink 0. Só .tab-content rola. */
.hd-cf-panel.hd-cf-view > .card-header,
.hd-cf-panel.hd-cf-view > .panel-heading {
  flex: 0 0 auto;
  padding: 10px 16px 8px !important;
}
.hd-cf-panel.hd-cf-view .panel-title,
.hd-cf-panel.hd-cf-view .card-title {
  padding: 12px 16px 10px;
}
.hd-cf-panel.hd-cf-view > form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
}
.hd-cf-panel.hd-cf-view .panel-body,
.hd-cf-panel.hd-cf-view .card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  overflow: hidden !important;
  padding: 0 16px 8px !important;
}
.hd-cf-panel.hd-cf-view .nav-tabs {
  flex: 0 0 auto;
  margin: 12px 0 0 !important;
  overflow: visible;
}
.hd-cf-panel.hd-cf-view .nav-tabs > li > a,
.hd-cf-panel.hd-cf-view .nav-tabs .nav-link {
  outline: none;
}
.hd-cf-panel.hd-cf-view .nav-tabs > li > a:focus,
.hd-cf-panel.hd-cf-view .nav-tabs .nav-link:focus {
  outline: none;
  box-shadow: none !important;
}
.hd-cf-panel.hd-cf-view .nav-tabs > li > a:focus-visible,
.hd-cf-panel.hd-cf-view .nav-tabs .nav-link:focus-visible {
  outline: 2px solid var(--hd-cf-green);
  outline-offset: 2px;
  box-shadow: none !important;
}
.hd-cf-panel.hd-cf-view .tab-content {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
}
.hd-cf-panel.hd-cf-view .tab-content > .tab-pane {
  padding: 6px 0 4px !important;
  margin: 0 !important;
}
.hd-cf-panel.hd-cf-view .tab-content > .tab-pane.active,
.hd-cf-panel.hd-cf-view .tab-content > .tab-pane.show.active {
  display: block !important;
  min-height: 100%;
  height: auto !important;
  overflow: visible;
}
.hd-cf-panel.hd-cf-view .tab-pane.active > .form-group,
.hd-cf-panel.hd-cf-view .tab-pane.active > .tformrow {
  min-height: 100%;
  height: auto !important;
  margin: 0 !important;
  display: block;
  float: none;
}
.hd-cf-panel.hd-cf-view .tab-pane.active > .form-group > [class*="col-"] {
  min-height: 100%;
  width: 100% !important;
  max-width: 100%;
  float: none;
  display: block;
  padding-left: 0;
  padding-right: 0;
}
.hd-cf-view-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: stretch;
  min-width: 0;
  min-height: 100%;
}
@media (min-width: 1100px) {
  .hd-cf-panel.hd-cf-view .hd-cf-view-grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }
}
.hd-cf-panel.hd-cf-view .hd-cf-view-grid > .hd-cf-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  height: auto;
  max-height: none;
  overflow: visible;
  margin: 0;
}
.hd-cf-panel.hd-cf-view .hd-cf-view-tabpane {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: auto;
  overflow: visible;
  margin: 0;
}
.hd-cf-panel.hd-cf-view .card-footer,
.hd-cf-panel.hd-cf-view .panel-footer {
  flex: 0 0 auto;
  margin-top: 0;
}
.hd-cf-panel.hd-cf-view .hd-cf-quote {
  max-height: none;
  overflow: visible;
  margin-top: 0;
}
.hd-cf-panel.hd-cf-view .hd-cf-card-h {
  margin: 0 0 8px;
}
.hd-cf-panel.hd-cf-view .hd-cf-card-h-sub {
  margin-top: 14px;
  margin-bottom: 8px;
}
.hd-cf-panel.hd-cf-view .hd-cf-msg-meta {
  margin-bottom: 8px;
}
.hd-cf-panel.hd-cf-view .hd-cf-subh {
  justify-content: space-between;
  margin: 0 0 8px;
}
.hd-cf-panel.hd-cf-view .hd-cf-subh > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hd-cf-panel.hd-cf-view .hd-cf-docs-empty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #e6ece7;
  border-radius: 8px;
  background: #fff;
  color: var(--hd-cf-muted);
  font-size: 13px;
}
.hd-cf-panel.hd-cf-view .hd-cf-docs-empty i {
  color: #9aa89d;
  flex: 0 0 auto;
}
.hd-cf-track {
  margin: 10px 0 0;
  padding: 10px 0 0;
  border-top: 1px solid var(--hd-cf-border);
  background: transparent;
}
.hd-cf-track-h {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hd-cf-green);
  margin: 0 0 6px;
}
.hd-cf-track-h i { width: 16px; text-align: center; }
.hd-cf-steps {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.hd-cf-step {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  position: relative;
  padding: 0 6px;
}
.hd-cf-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 9px;
  left: calc(50% + 14px);
  right: calc(-50% + 14px);
  height: 3px;
  background: #d7e1d8;
  z-index: 0;
}
.hd-cf-step.is-past:not(:last-child)::after {
  background: #315B29;
}
.hd-cf-step-dot {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  margin: 0 auto 6px;
  border-radius: 50%;
  border: 2px solid #c5d4c8;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
}
.hd-cf-step.is-past .hd-cf-step-dot {
  background: #315B29;
  border-color: #315B29;
}
.hd-cf-step.is-now .hd-cf-step-dot {
  border-color: #8A682C;
  background: #C49A3C;
  box-shadow: 0 0 0 4px rgba(196, 154, 60, 0.2);
}
.hd-cf-step-lab {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #667085;
}
.hd-cf-step.is-past .hd-cf-step-lab,
.hd-cf-step.is-now .hd-cf-step-lab {
  font-weight: 600;
  color: #315B29;
}
.hd-cf-step-cap {
  display: block;
  font-size: 11px;
  color: var(--hd-cf-muted);
  margin-top: 2px;
}
.hd-cf-track-hint {
  margin: 8px 0 0;
  padding: 6px 10px;
  border-radius: 8px;
  background: #f4f7f4;
  color: #4a5560;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hd-cf-track-hint.is-done {
  background: #eaf3ec;
  color: #315B29;
  font-weight: 600;
}
.hd-cf-track-hint.is-done i { color: #315B29; }
.hd-cf-panel.hd-cf-view .hd-cf-csat {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--hd-cf-border);
  border-radius: 10px;
  background: #f4f7f4;
}
.hd-cf-panel.hd-cf-view .hd-cf-csat-h {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--hd-cf-green);
  margin: 0 0 6px;
}
.hd-cf-panel.hd-cf-view .hd-cf-csat-h > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.hd-cf-panel.hd-cf-view .hd-cf-csat.is-done .hd-cf-csat-h {
  justify-content: space-between;
}
.hd-cf-panel.hd-cf-view .hd-cf-csat-ok {
  margin-left: auto;
  color: #315B29;
  font-size: 16px;
}
.hd-cf-panel.hd-cf-view .hd-cf-csat-s {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--hd-cf-muted);
  text-align: center;
}
.hd-cf-panel.hd-cf-view .hd-cf-csat:not(.is-done) .hd-cf-csat-s:first-of-type {
  text-align: left;
}
.hd-cf-panel.hd-cf-view .hd-cf-csat-grade {
  margin: 2px 0 6px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #315B29;
}
.hd-cf-panel.hd-cf-view .hd-cf-csat-stars {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 10px 0 6px;
}
.hd-cf-panel.hd-cf-view .hd-cf-csat-stars.is-readonly {
  pointer-events: none;
  margin: 8px 0 2px;
}
.hd-cf-panel.hd-cf-view .hd-cf-star {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #9aa89d;
  text-decoration: none !important;
  background: none;
  border: 0;
  padding: 0;
  min-width: 28px;
}
.hd-cf-panel.hd-cf-view .hd-cf-star i { font-size: 22px; line-height: 1; }
.hd-cf-panel.hd-cf-view .hd-cf-star em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: var(--hd-cf-muted);
}
.hd-cf-panel.hd-cf-view .hd-cf-star.is-on,
.hd-cf-panel.hd-cf-view a.hd-cf-star:hover {
  color: #C49A3C;
}
.hd-cf-panel.hd-cf-view .hd-cf-csat-ends {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--hd-cf-muted);
  margin: 4px 0 8px;
}
.hd-cf-quote {
  background: #f4f7f4;
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--hd-cf-text);
  font-size: 14px;
  line-height: 1.45;
  margin: 10px 0 0;
  overflow: auto;
  max-height: 280px;
}
.hd-cf-quote.is-wait {
  color: var(--hd-cf-muted);
  font-weight: 400;
}
.hd-cf-card-h-sub { margin-top: 16px; }
.hd-cf-empty-line {
  margin: 10px 0 0;
  color: var(--hd-cf-muted);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hd-cf-dl { margin: 0; }
.hd-cf-dl-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 8px 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--hd-cf-border);
}
.hd-cf-dl-row:last-child { border-bottom: 0; }
.hd-cf-dl dt {
  margin: 0;
  font-size: 13px;
  color: #4a5560;
  font-weight: 500;
}
.hd-cf-dl dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--hd-cf-text);
  word-break: break-word;
}
.hd-cf-panel .hd-anexo-item {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px 12px;
  padding: 10px 12px;
  margin-top: 8px;
  border: 1px solid #e6ece7;
  border-radius: 10px;
  background: #fff;
  color: #1f2933;
  text-decoration: none !important;
}
.hd-cf-panel .hd-anexo-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eaf3ec;
  color: #315B29;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 16px;
}
.hd-cf-panel .hd-anexo-nome {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.hd-cf-panel .hd-anexo-nome strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
}
.hd-cf-panel .hd-anexo-nome span {
  color: #667085;
  font-size: 12px;
}
.hd-cf-panel .hd-anexo-acoes {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  margin-left: auto;
}
.hd-cf-panel .hd-anexo-act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 32px;
  border: 1px solid #d7e3d8;
  background: #fff;
  color: #315B29;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
}
.hd-cf-notes-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  flex: 0 0 auto;
}
.hd-cf-notes-count {
  margin-right: auto;
  margin-left: 8px;
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  color: var(--hd-cf-muted);
}
.hd-cf-panel.hd-cf-view .tab-content:has(> .tab-pane.active .hd-cf-notes-pane) {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hd-cf-panel.hd-cf-view .tab-content:has(> .tab-pane.active .hd-cf-notes-pane) > .tab-pane.active {
  flex: 1 1 auto;
  min-height: 0;
  height: 100% !important;
  display: flex !important;
  flex-direction: column;
  overflow: hidden;
}
.hd-cf-panel.hd-cf-view .tab-pane.active:has(.hd-cf-notes-pane) > .form-group,
.hd-cf-panel.hd-cf-view .tab-pane.active:has(.hd-cf-notes-pane) > .tformrow {
  flex: 1 1 auto;
  min-height: 0;
  height: 100% !important;
  display: flex;
  flex-direction: column;
}
.hd-cf-panel.hd-cf-view .tab-pane.active:has(.hd-cf-notes-pane) > .form-group > [class*="col-"] {
  flex: 1 1 auto;
  min-height: 0;
  height: auto !important;
  display: flex;
  flex-direction: column;
}
.hd-cf-panel.hd-cf-view .hd-cf-notes-pane.hd-cf-view-tabpane,
.hd-cf-panel.hd-cf-view .hd-cf-notes-pane {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  max-height: none;
}
.hd-cf-notes-hist {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}
.hd-cf-notes-pane.is-compose .hd-cf-notes-hist {
  flex: 0 1 auto;
  max-height: 26%;
}
.hd-cf-notes-pane.is-compose.is-empty .hd-cf-notes-hist {
  display: none;
}
.hd-cf-notes-pane.is-compose.is-empty .hd-cf-empty {
  display: none;
}
.hd-cf-notes-pane.is-compose #hd-cf-nota-open {
  display: none;
}
.hd-cf-notes-compose {
  display: none;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  margin-top: 4px;
  padding-top: 10px;
  padding-bottom: 2px;
  border-top: 1px solid var(--hd-cf-border);
  overflow: hidden;
}
.hd-cf-notes-pane.is-compose.is-empty .hd-cf-notes-compose {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.hd-cf-notes-pane.is-compose .hd-cf-notes-compose {
  display: flex;
}
.hd-cf-notes-compose-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--hd-cf-green);
  flex: 0 0 auto;
}
.hd-cf-notes-compose-h > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hd-cf-notes-compose-h .hd-cf-open-who {
  flex: 0 0 auto;
}
.hd-cf-notes-compose-h .hd-cf-msg-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--hd-cf-text);
}
.hd-cf-notes-editor {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hd-cf-notes-compose .hd-richtext-editor,
.hd-cf-notes-compose .note-editor,
.hd-cf-notes-compose .note-frame,
.hd-cf-notes-compose .note-editing-area {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column;
  min-height: 0 !important;
  height: auto !important;
}
.hd-cf-notes-compose .note-editable {
  flex: 1 1 auto !important;
  min-height: 80px;
}
.hd-cf-notes-compose .hd-anexo-box,
.hd-cf-notes-compose .hd-cf-anexo-row {
  flex: 0 0 auto;
  margin-top: 6px;
}
.hd-cf-notes-compose .hd-anexo-cab {
  margin-bottom: 6px;
}
.hd-cf-notes-compose .hd-anexo-drop {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: left;
  gap: 8px 12px;
  padding: 8px 12px !important;
  min-height: 0 !important;
  height: auto !important;
}
.hd-cf-notes-compose .hd-anexo-drop-ico,
.hd-cf-notes-compose .hd-anexo-drop > i.fa-cloud-upload-alt {
  flex: 0 0 auto !important;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #eaf3ec;
  color: var(--hd-cf-green);
  font-size: 14px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hd-cf-notes-compose .hd-anexo-drop-txt {
  flex: 0 1 auto !important;
  min-width: 0;
  max-width: calc(100% - 200px);
}
.hd-cf-notes-compose .hd-anexo-drop-txt strong {
  display: block;
  font-size: 13px;
  color: var(--hd-cf-text);
}
.hd-cf-notes-compose .hd-anexo-drop-txt span {
  display: block;
  font-size: 12px;
  color: var(--hd-cf-muted);
}
.hd-cf-notes-compose .hd-anexo-escolher {
  width: auto !important;
  flex: 0 0 auto !important;
  margin-top: 0 !important;
  margin-left: auto;
  white-space: nowrap;
}
.hd-cf-notes-compose .hd-anexo-hint {
  flex: 1 0 100% !important;
  margin: 0 !important;
  padding-top: 4px;
  border-top: 1px solid var(--hd-cf-border);
  font-size: 11px;
  line-height: 1.3;
}
.hd-cf-notes-compose .hd-anexo-fila:empty {
  display: none;
  margin: 0;
}
.hd-cf-notes-compose .hd-anexo-fila:not(:empty) {
  margin-top: 6px;
  max-height: 88px;
  overflow-y: auto;
}
.hd-cf-notes-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
  flex: 0 0 auto;
}
.hd-cf-notes-actions #hd-cf-nota-save {
  background: var(--hd-cf-green) !important;
  color: #fff !important;
  border-color: var(--hd-cf-green) !important;
}
.hd-cf-notes-actions #hd-cf-nota-save i { color: #fff !important; }
.hd-cf-tl-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.hd-cf-tl-item.is-cli .hd-cf-quote { background: #f4f7f4; }
.hd-cf-tl-item.is-atend .hd-cf-quote { background: #eef3f8; }
.hd-cf-add-note {
  background: var(--hd-cf-green) !important;
  color: #fff !important;
  border-color: var(--hd-cf-green) !important;
  border-radius: 8px !important;
  white-space: nowrap;
}
.hd-cf-tl { display: flex; flex-direction: column; gap: 0; }
.hd-cf-tl-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  position: relative;
  padding: 0 0 18px;
}
.hd-cf-tl-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: 0;
  width: 2px;
  background: #d7e1d8;
}
.hd-cf-tl-who {
  font-weight: 600;
  color: var(--hd-cf-text);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
}
.hd-cf-tl-who em {
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  color: var(--hd-cf-muted);
}
.hd-cf-tl-item.is-cli .hd-cf-avatar { background: #e8efe6; color: #315B29; }
.hd-cf-tl-item.is-atend .hd-cf-avatar { background: #e8eef6; color: #40618B; }
.hd-cf-tl-item.is-sys .hd-cf-avatar { background: #f3f4f4; color: #667085; }
.hd-cf-empty {
  text-align: center;
  padding: 28px 16px;
  color: var(--hd-cf-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hd-cf-empty i { font-size: 28px; color: #c5d4c8; margin-bottom: 4px; }
.hd-cf-empty strong { color: var(--hd-cf-green); font-size: 14px; }
.hd-cf-empty span { font-size: 13px; max-width: 360px; }
.hd-cf-panel.hd-cf-view #hd-cf-btn-doc {
  background: #fff !important;
  color: var(--hd-cf-green) !important;
  border: 1px solid var(--hd-cf-border) !important;
  border-radius: 8px !important;
}
.hd-cf-panel.hd-cf-view #hd-cf-btn-close {
  background: var(--hd-cf-green) !important;
  color: #fff !important;
  border-color: var(--hd-cf-green) !important;
}
.hd-cf-panel.hd-cf-view #hd-cf-btn-close i { color: #fff !important; }
