#tree {
  background-color: inherit !important;
  height: 100% !important;
  width: 100% !important;
  padding: 0rem;
  visibility: visible;
  overflow: none;
  background-color: inherit;
  padding: 0rem 0rem 0rem 2rem;


}

@keyframes tree_panel_fly_in {
  from {
    opacity: 0;
    transform: translateY(0.7rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tree_view_shell {
  position: relative;
  height: 100% !important;
  width: 100% !important;
  min-width: 0;
  background-color: inherit;
}

.tree_checklist_view {
  height: 100% !important;
  width: 100% !important;
  padding: clamp(1rem, 2vw, 1.6rem) clamp(1.2rem, 2.6vw, 2.4rem);
  overflow-x: hidden;
  overflow-y: auto;
}

.tree_checklist_panel {
  width: min(100%, 980px);
  min-height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tree_checklist_header {
  padding: 0.95rem 1.1rem;
  border: var(--border-width) solid var(--purple-light);
  border-left: 0.35rem solid var(--purple-medium);
  border-radius: var(--border-radius);
  background: linear-gradient(135deg, var(--grey-background), var(--grey-background));
  box-shadow: 0rem 0.45rem 1.2rem rgba(55, 20, 55, 0.18);
  animation: tree_panel_fly_in 0.42s ease-out both;
}

.tree_checklist_header.positive {
  border-left-color: var(--green-border);
}

.tree_checklist_header.negative {
  border-left-color: var(--darkred);
}

.tree_checklist_kicker {
  color: var(--purple-light);
  font-size: calc(0.82 * var(--font-size-button));
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.tree_checklist_title_row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 0.22rem;
}

.tree_checklist_title {
  color: black;
  font-family: 'Manrope-SemiBold', sans-serif;
  font-size: calc(1.12 * var(--font-size-header_small));
  line-height: 1.25;
}

.tree_checklist_title_group {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.tree_checklist_return_button {
  flex: 0 0 auto;
  width: 1.7rem;
  height: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  border: var(--border-width) solid var(--purple-light);
  border-radius: var(--border-radius);
  background-color: rgba(160, 140, 160, 0.22);
  color: var(--purple-dark);
}

.tree_checklist_return_button:hover {
  border-color: var(--purple-dark);
  background-color: rgba(160, 140, 160, 0.38);
}

.tree_checklist_return_icon {
  width: 0.95rem;
  height: 0.95rem;
  object-fit: contain;
}

.tree_checklist_summary {
  flex: 0 0 auto;
  border: var(--border-width) solid var(--purple-light);
  border-radius: 999px;
  padding: 0.3rem 0.68rem;
  background-color: rgba(160, 140, 160, 0.22);
  color: var(--purple-dark);
  font-size: calc(0.92 * var(--font-size-button));
  line-height: 1.2;
  white-space: nowrap;
}

.tree_checklist_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-auto-rows: minmax(4.3rem, 1fr);
  gap: 0.75rem;
  align-items: stretch;
}

.tree_checklist_item {
  appearance: none;
  width: 100%;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0.95rem;
  border: var(--border-width) solid rgba(55, 20, 55, 0.16);
  border-radius: var(--border-radius);
  background-color: rgba(255, 255, 255, 0.72);
  color: var(--black);
  text-align: left;
  cursor: pointer;
  box-shadow: 0rem 0.25rem 0.75rem rgba(40, 40, 40, 0.055);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
  animation: tree_panel_fly_in 0.42s ease-out both;
}

.tree_checklist_item:nth-child(1) { animation-delay: 0.04s; }
.tree_checklist_item:nth-child(2) { animation-delay: 0.08s; }
.tree_checklist_item:nth-child(3) { animation-delay: 0.12s; }
.tree_checklist_item:nth-child(4) { animation-delay: 0.16s; }
.tree_checklist_item:nth-child(5) { animation-delay: 0.20s; }
.tree_checklist_item:nth-child(6) { animation-delay: 0.24s; }
.tree_checklist_item:nth-child(n + 7) { animation-delay: 0.28s; }

.tree_parent_logic_banner {
  animation: tree_panel_fly_in 0.42s ease-out both;
}

.tree_checklist_parent_logic {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: var(--border-width) solid rgba(55, 20, 55, 0.12);
  font-size: calc(0.95 * var(--font-size-body));
  line-height: 1.4;
}

.tree_checklist_parent_logic.positive {
  color: black;
  font-family: 'Manrope-SemiBold', sans-serif;
}

.tree_checklist_parent_logic.negative {
  color: black;
  font-family: 'Manrope-SemiBold', sans-serif;
}

.tree_checklist_item:hover {
  transform: translateY(-1px);
  border-color: var(--purple-light);
  box-shadow: 0rem 0.45rem 1rem rgba(55, 20, 55, 0.12);
}

.tree_checklist_item.selected {
  border-color: var(--purple-dark);
  box-shadow: 0rem 0rem 0rem 0.12rem rgba(55, 20, 55, 0.18), 0rem 0.45rem 1rem rgba(55, 20, 55, 0.12);
}

.tree_checklist_item.positive {
  border-color: rgba(3, 102, 38, 0.32);
  background-color: rgba(218, 255, 205, 0.36);
}

.tree_checklist_item.negative {
  border-color: rgba(139, 0, 0, 0.28);
  background-color: rgba(139, 0, 0, 0.055);
}

.tree_checklist_marker {
  position: relative;
  flex: 0 0 auto;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  border: var(--border-width) solid var(--purple-light);
  background-color: rgba(255, 255, 255, 0.82);
}

.tree_checklist_item.positive .tree_checklist_marker {
  border-color: var(--green-border);
  background-color: var(--green-border);
}

.tree_checklist_item.positive .tree_checklist_marker::after {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 0.25rem;
  width: 0.36rem;
  height: 0.72rem;
  border: solid white;
  border-width: 0 var(--border-width) var(--border-width) 0;
  transform: rotate(45deg);
}

.tree_checklist_item.negative .tree_checklist_marker {
  border-color: var(--darkred);
  background-color: var(--darkred);
}

.tree_checklist_item.negative .tree_checklist_marker::before,
.tree_checklist_item.negative .tree_checklist_marker::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.72rem;
  height: max(var(--border-width), 2px);
  background-color: white;
}

.tree_checklist_item.negative .tree_checklist_marker::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.tree_checklist_item.negative .tree_checklist_marker::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.tree_checklist_item_main {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.tree_checklist_label {
  min-width: 0;
  color: var(--black);
  font-family: 'Manrope-SemiBold', sans-serif;
  font-size: var(--font-size-body);
  line-height: 1.35;
  overflow-wrap: break-word;
  word-break: normal;
}

.tree_checklist_panel_compact .tree_checklist_label {
  font-size: calc(0.86 * var(--font-size-body));
}

.tree_checklist_panel_extra_compact .tree_checklist_label {
  font-size: calc(0.8 * var(--font-size-body));
}

.tree_checklist_status {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 0.22rem 0.5rem;
  border: var(--border-width) solid rgba(55, 20, 55, 0.16);
  background-color: rgba(255, 255, 255, 0.72);
  color: var(--purple-dark);
  font-size: calc(0.85 * var(--font-size-button));
  line-height: 1.2;
  white-space: nowrap;
}

.tree_checklist_status.positive {
  border-color: rgba(3, 102, 38, 0.28);
  background-color: var(--green);
  color: var(--green-border);
}

.tree_checklist_status.negative {
  border-color: rgba(139, 0, 0, 0.24);
  background-color: rgba(139, 0, 0, 0.1);
  color: var(--darkred);
}

@media (max-width: 900px) {
  .tree_checklist_view {
    padding: 1rem;
  }

  .tree_checklist_title_row,
  .tree_checklist_item_main {
    flex-direction: column;
    align-items: flex-start;
  }

  .tree_checklist_summary,
  .tree_checklist_status {
    white-space: normal;
  }
}

#page_body_tree_container {
  position: relative;
}

.tree_error {
  height: 100%;
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-right: 2rem !important;
}

.tree_parent_logic_banner {
  position: absolute !important;
  top: 1vh;
  right: 1vw !important;
  left: auto !important;
  z-index: 20;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
  width: max-content;
  max-width: min(38rem, calc(100% - 20rem - 2vw));
  padding: 0.6rem 0.9rem;
  border: var(--border-width) solid var(--purple-light);
  border-radius: var(--border-radius);
  background-color: var(--grey-background) !important;
  color: var(--purple-dark);
  box-shadow: 0rem 0.35rem 0.85rem rgba(55, 20, 55, 0.16);
}

.tree_parent_logic_banner.positive {
  border-left: 0.35rem solid var(--green-border);
}

.tree_parent_logic_banner.negative {
  border-left: 0.35rem solid var(--darkred);
}

.tree_parent_logic_banner_main {
  min-width: 0;
  flex: 1 1 auto;
}

.tree_parent_logic_kicker {
  color: var(--purple-medium);
  font-size: calc(0.82 * var(--font-size-button));
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.tree_parent_logic_title_row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.15rem;
}

.tree_parent_logic_title {
  color: var(--purple-dark);
  font-family: 'Manrope-SemiBold', sans-serif;
  font-size: var(--font-size-header_small);
  line-height: 1.25;
  word-break: break-word;
}

.tree_parent_logic_status {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 0.24rem 0.58rem;
  font-size: calc(0.9 * var(--font-size-button));
  line-height: 1.2;
  border: var(--border-width) solid var(--purple-light);
  color: var(--purple-dark);
  background-color: rgba(255, 255, 255, 0.55);
}

.tree_parent_logic_status.positive {
  background-color: var(--green);
  border-color: var(--green-border);
  color: var(--green-border);
}

.tree_parent_logic_status.negative {
  background-color: var(--darkred);
  border-color: var(--darkred);
  color: white;
}

.tree_parent_logic_explanation {
  margin-top: 0.3rem;
  color: var(--black);
  font-size: calc(0.95 * var(--font-size-body));
  line-height: 1.4;
}

@media (max-width: 900px) {
  .tree_parent_logic_banner {
    top: 1vh;
    right: 1vw !important;
    left: 1vw !important;
    width: auto;
    max-width: none;
    flex-direction: column;
    align-items: flex-start;
  }
}


 /* .page_header_horizontal_short_tree {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  background-color: inherit;
  padding: 1vh 1vw;
  background-color: inherit;
  animation: flyInFromLeft 0.5s ease-in-out !important;  
  overflow: hidden;
} */



.container_right_align_tree {
  height: 3vh !important;
  position: absolute;
  margin-right: 0vw;
  background-color: yellow;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  width: 100%;
}

#filename_selected_baum > div {
  padding: 0px !important;
}

#filename_selected_baum {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

#filename_selected_baum Img {
  
  height: var(--tab-img) !important;
  width: var(--tab-img) !important;

}

#tree_selected_baum Img {
  height: var(--tab-img) !important;
  width: var(--tab-img) !important;
}

#filename_selected_baum {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 15vw !important;
  overflow: hidden;

}




#tree_selected_baum {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 15vw !important;

}

/* #current_filename_baum {
  width: 20vw;
  display: flex;
  flex: row;
  justify-content: center;
  align-items: center;
} */

.custom_button_filename_tree {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  border: none;
  font-size: var(--font-size-button) !important;

  height: 100%;
  color: white;
  padding:0rem;
  margin: 0rem;
  border-radius: 0px;

  height: var(--button-height) !important;
  background-color: var(--purple-dark) !important;
  width: 25vw !important;
  white-space: nowrap;
  padding-left: calc(0.5* var(--tab-img));
  /* overflow: non; */
}

.popover_dropdown_menu_bottom_tree, .popover_dropdown_menu_bottom_tree_trees {
  width: 15vw !important;
  margin: 0rem;
  padding: 0rem;
  border-radius: 0px !important;
  background-color: var(--purple-dark) !important;
  /* overflow: hidden; */
  border-left: none;
  margin-left: calc(-0.5 * var(--tab-img)) !important;
  margin-left: 0px !important;
  /* margin-left: -1.5vw !important; */
  overflow: hidden;
}

#filename_selected_baum_popover {
  max-height: 80vh;
  overflow-x: hidden;
  overflow-y: auto;
  /* scrollbar-color: #858484 transparent; */
  scrollbar-width: var(--scrollbar-width);
}

#filename_selected_baum_popover::-webkit-scrollbar {
  width: var(--scrollbar-width) !important;
  height: var(--scrollbar-width) !important;
}




#download_cytoscape {
  margin-left: 0.5vw;
}


#tabs_explanation_decision {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;


}

.raw_rule {
  background-color: white;
  color: black;
  padding: 0.5vw;
  border-radius: var(--border-radius);
  margin-top: 0.5vw;
  word-wrap: break-word !important;
}

#tab_content {
  background-color: inherit;
  overflow-x: scroll !important;
  max-height: 90vh !important;
}
#tab_content > u, a {
  color: white !important;
}

#tab_content > div > table {
  overflow-x: scroll;
}
#tab_content > div > table > tbody > tr, #tab_content > div > table > tbody > td {
  background-color: black !important;


}

.tree_extraction_step_modal_dialog {
  --bs-modal-width: calc(var(--page-content-width) - var(--sidebar-width)) !important;
  width: calc(var(--page-content-width) - var(--sidebar-width)) !important;
  min-width: calc(var(--min-page-content-width) - var(--sidebar-width)) !important;
  max-width: calc(var(--page-content-width) - var(--sidebar-width)) !important;
}

.tree_extraction_step_modal_dialog > .modal-content,
.tree_extraction_step_modal_dialog .modal-body {
  width: 100% !important;
  max-width: 100% !important;
}

.tree_extraction_step_modal_dialog .modal-body {
  padding-left: 2vw !important;
  padding-right: 2vw !important;
    border-bottom-right-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
}

.tree_extraction_step_modal_dialog #title_label_basic {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  padding-top: 0 !important;
}

.tree_extraction_step_modal_dialog #title_label_basic.task_description_short {
  height: calc(var(--button-height) + 10px) !important;
  min-height: calc(var(--button-height) + 10px) !important;
}

#sidebar_tree_page.offcanvas_custom {
  width: clamp(360px, 30vw, 520px) !important;
  background-color: var(--black) !important;
  border-left: var(--border-width) solid rgba(255, 255, 255, 0.16) !important;
}

#sidebar_tree_page .offcanvas-body {
  overflow: hidden !important;
}

#sidebar_tree_page #explanations_tree {
  display: flex;
  flex-direction: column;
  height: 100% !important;
  padding: 0rem !important;
  overflow: hidden !important;
  color: white;
}

#sidebar_tree_page #tabs_explanation_decision {
  flex-shrink: 0;
  justify-content: flex-start;
  gap: 0.45rem;
  padding: 0.85rem 1rem 0.7rem 1rem;
  border-bottom: var(--border-width) solid rgba(255, 255, 255, 0.12) !important;
}

#sidebar_tree_page #tabs_explanation_decision.nav.nav-tabs {
  border-bottom: var(--border-width) solid rgba(255, 255, 255, 0.12) !important;
}

#sidebar_tree_page #tabs_explanation_decision > .nav-item {
  flex: 1 1 0;
}

#sidebar_tree_page #tabs_explanation_decision > .nav-item > a {
  width: 100%;
  min-height: var(--button-height);
  display: flex;
  justify-content: center;
  align-items: center;
  border: var(--border-width) solid rgba(255, 255, 255, 0.16) !important;
  border-radius: var(--border-radius) !important;
  background-color: rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: var(--font-size-button) !important;
  padding: 0rem 0.7rem !important;
}

#sidebar_tree_page #tabs_explanation_decision > .nav-item > a:hover {
  background-color: var(--purple-medium) !important;
  color: white !important;
}

#sidebar_tree_page #tabs_explanation_decision > .nav-item > .active {
  background-color: var(--purple-light) !important;
  color: white !important;
  border-color: rgba(255, 255, 255, 0.36) !important;
}

#sidebar_tree_page #tab_content {
  flex: 1 1 auto;
  max-height: none !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 1rem;
  background-color: transparent;
}

#sidebar_tree_page #tab_content p {
  margin-bottom: 0rem;
}

.tree_sidebar_header {
  padding: 0.2rem 0rem 1rem 0rem;
  border-bottom: var(--border-width) solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0.9rem;
}

.tree_sidebar_kicker,
.tree_sidebar_section_title,
.tree_sidebar_field_label {
  color: rgba(255, 255, 255, 0.58);
  font-size: calc(0.82 * var(--font-size-button));
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.tree_sidebar_title_row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 0.25rem;
}

.tree_sidebar_title {
  color: white;
  font-family: 'Manrope-SemiBold', sans-serif;
  font-size: var(--font-size-header_small);
  line-height: 1.35;
  word-break: break-word;
}

.tree_sidebar_status_badge {
  flex: 0 0 auto;
  max-width: 45%;
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  font-size: calc(0.9 * var(--font-size-button));
  line-height: 1.2;
  text-align: center;
  border: var(--border-width) solid rgba(255, 255, 255, 0.22);
  color: white;
  background-color: rgba(255, 255, 255, 0.08);
}

.tree_sidebar_status_badge.positive,
.tree_sidebar_note.positive {
  background-color: rgba(218, 255, 205, 0.14);
  border-color: rgba(218, 255, 205, 0.34);
}

.tree_sidebar_status_badge.negative,
.tree_sidebar_note.negative {
  background-color: rgba(255, 235, 229, 0.14);
  border-color: rgba(255, 235, 229, 0.34);
}

.tree_sidebar_status_badge.warning,
.tree_sidebar_note.warning {
  background-color: rgba(255, 243, 205, 0.16);
  border-color: rgba(255, 243, 205, 0.34);
}

.tree_sidebar_section {
  margin-bottom: 0.85rem;
  padding: 0.85rem;
  border: var(--border-width) solid rgba(255, 255, 255, 0.11);
  border-radius: var(--border-radius);
  background-color: rgba(255, 255, 255, 0.045);
}

.tree_sidebar_section_title {
  margin-bottom: 0.6rem;
}

.tree_sidebar_section_body {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.tree_sidebar_note,
.tree_sidebar_empty {
  border: var(--border-width) solid rgba(255, 255, 255, 0.13);
  border-radius: var(--border-radius);
  padding: 0.7rem;
  background-color: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--font-size-body);
  line-height: 1.55;
}

.tree_sidebar_note.info {
  background-color: rgba(160, 140, 160, 0.18);
  border-color: rgba(160, 140, 160, 0.38);
}

.tree_sidebar_rule.raw_rule {
  background-color: rgba(255, 255, 255, 0.94);
  color: var(--black);
  border-radius: var(--border-radius);
  padding: 0.75rem;
  margin-top: 0rem;
  font-size: var(--font-size-body);
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.tree_sidebar_action_row {
  display: flex;
  justify-content: flex-start;
}

.tree_sidebar_action {
  min-height: var(--button-height) !important;
  color: white !important;
}

.tree_sidebar_evidence_section {
  background-color: transparent;
  padding: 0rem;
  border: none;
}

.tree_sidebar_evidence_item {
  border: var(--border-width) solid rgba(255, 255, 255, 0.13);
  border-radius: var(--border-radius);
  padding: 0.85rem;
  background-color: rgba(255, 255, 255, 0.055);
}

button.tree_sidebar_evidence_item {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  appearance: none;
}

.tree_sidebar_evidence_item.overwritten {
  border-color: rgba(255, 243, 205, 0.34);
  background-color: rgba(255, 243, 205, 0.1);
}

.tree_sidebar_evidence_item.rule_based {
  border-color: rgba(160, 140, 160, 0.42);
  background-color: rgba(160, 140, 160, 0.14);
}

.tree_sidebar_evidence_header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.45rem 0.55rem;
  border-radius: calc(0.7 * var(--border-radius));
  background-color: rgba(225, 225, 225, 0.12);
  margin-bottom: 0.7rem;
}

button.tree_sidebar_evidence_item.button_hover:hover .tree_sidebar_evidence_header {
  background-color: var(--grey-background) !important;
}

button.tree_sidebar_evidence_item.button_hover:hover .tree_sidebar_evidence_task {
  color: var(--black);
}

button.tree_sidebar_evidence_item.button_hover:hover .tree_sidebar_evidence_source {
  background-color: rgba(40, 40, 40, 0.1);
  color: var(--black);
}

.tree_sidebar_evidence_task {
  font-family: 'Manrope-SemiBold', sans-serif;
  color: white;
  line-height: 1.35;
  word-break: break-word;
}

.tree_sidebar_evidence_source {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 0.18rem 0.48rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.72);
  font-size: calc(0.82 * var(--font-size-button));
}

.tree_sidebar_evidence_source.overwritten {
  background-color: rgba(255, 243, 205, 0.18);
  color: white;
}

.tree_sidebar_evidence_source.rule_based {
  background-color: rgba(160, 140, 160, 0.24);
  color: white;
}

.tree_sidebar_field,
.tree_sidebar_answer_box {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.65rem;
  min-width: 0;
}

.tree_sidebar_markdown {
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--font-size-body);
  line-height: 1.5;
  word-break: break-word;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: #858484 transparent;

}

.tree_sidebar_answer {
  padding: 0.55rem 0.65rem;
  border-radius: var(--border-radius);
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--black);
  font-size: var(--font-size-body);
  line-height: 1.45;
  word-break: break-word;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: #858484 transparent;
}

.tree_sidebar_markdown::-webkit-scrollbar,
.tree_sidebar_answer::-webkit-scrollbar {
  width: var(--scrollbar-width) !important;
  height: var(--scrollbar-width) !important;
}

.tree_sidebar_markdown::-webkit-scrollbar-thumb,
.tree_sidebar_answer::-webkit-scrollbar-thumb {
  background-color: #858484 !important;
  opacity: 1 !important;
}

.tree_sidebar_answer p:last-child {
  margin-bottom: 0;
}

.tree_sidebar_markdown table,
.tree_sidebar_answer table {
  width: max-content;
  min-width: 100%;
  max-width: none;
  margin-top: 0.45rem;
  border-collapse: collapse;
  border: none;
  font-family: 'Manrope-Regular', sans-serif;
  font-size: calc(0.92 * var(--font-size-body));
  font-weight: 400;
  /* color: var(--black); */
  word-break: normal;
}

.tree_sidebar_markdown table th,
.tree_sidebar_markdown table td {
  border: var(--border-width) solid rgba(255, 255, 255, 0.14) !important;
}

.tree_sidebar_answer table th,
.tree_sidebar_answer table td {
  border: var(--border-width) solid rgba(40, 40, 40, 0.14) !important;
}

.tree_sidebar_markdown table tr,
.tree_sidebar_markdown table tr:nth-child(even),
.tree_sidebar_answer table tr,
.tree_sidebar_answer table tr:nth-child(even),
.tree_sidebar_details_content table tr,
.tree_sidebar_details_content table tr:nth-child(even) {
  background-color: transparent !important;
}

.tree_sidebar_evidence_item:hover .tree_sidebar_markdown table,
.tree_sidebar_evidence_item:hover .tree_sidebar_markdown table tr,
.tree_sidebar_evidence_item:hover .tree_sidebar_markdown table th,
.tree_sidebar_evidence_item:hover .tree_sidebar_markdown table td,
.tree_sidebar_evidence_item:hover .tree_sidebar_answer table,
.tree_sidebar_evidence_item:hover .tree_sidebar_answer table tr,
.tree_sidebar_evidence_item:hover .tree_sidebar_answer table th,
.tree_sidebar_evidence_item:hover .tree_sidebar_answer table td {
  background-color: var(--purple-light) !important;
}

.tree_sidebar_markdown th,
.tree_sidebar_markdown td,
.tree_sidebar_answer th,
.tree_sidebar_answer td {
  padding: 0.25rem 0.35rem;
  text-align: left;
  vertical-align: top;
}

.tree_sidebar_markdown th,
.tree_sidebar_answer th {
  background-color: var(--border-color-tabs) !important;
  color: white !important;
  font-weight: 500;
}



.tree_sidebar_details_content {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-body);
  line-height: 1.55;
  word-break: break-word;
}

.tree_sidebar_details_content table {
  width: 100%;
  color: white;
}

@media (prefers-reduced-motion: reduce) {
  .tree_checklist_header,
  .tree_checklist_item,
  .tree_parent_logic_banner {
    animation: none;
  }
}

/* @media (max-width: 800px) {
  #sidebar_tree_page.offcanvas_custom {
    width: min(92vw, 520px) !important;
  }

  .tree_sidebar_title_row,
  .tree_sidebar_evidence_header {
    flex-direction: column;
  }

  .tree_sidebar_status_badge {
    max-width: 100%;
  }
} */
