	/* ——— Palette & typography ——— */
	:root {
	  --col-border:      #E4E7EC;
	  --col-bg-top:      #FAFBFC;
	  --col-bg-sub:      #F7F8FA;
	  --col-text:        #0B1120;
	  --col-accent:      #f9b58e;
	  --col-accent-strong:#D77C84;

	  --font-head:   700 22px/1.2 'Montserrat', sans-serif;
	  --font-sub:    500 20px/1.2 'Open Sans', sans-serif;
	  --font-body:   400 1rem/1.5 'Open Sans', sans-serif;
	}

	.heatmap_container{
		width: 80% !important;
	  max-width: fit-content;
	  padding-top: 60px;
	  margin: auto;
	}

	/* ───── Header intro ───── */
   	.intro h2 { 
   		margin-bottom: 0px;
   		margin-top: 0px;
   		font-weight: 700;
   		font-size: 22px;
   	}
   	.intro p  { 
   		margin-top: 10px;
   		margin-bottom: 20px;
   		font-size: 20px;
   	}

	/* ─── Grid container ──────────────────────────────────────────── */
	.filters-grid ._cceSrchBar {
	  display: grid;
	  grid-template-columns: repeat(4, 1fr);
	  gap: 1rem;                /* same gap on both rows & cols */
	  max-width: 1000px;        /* optional max-width */
	  margin: 30px 0px;
	  align-items: center;
	}

	/* ─── Multiselect “buttons” ─────────────────────────────────────── */
	.filters-grid ._cceSrchBar .multiselect-dropdown {
	  background: #f2ede7;
	  border: 0px;
	  border-radius: 8px;
	  padding: 12px 16px;
	  font-size: 20px;
	  color: #000000;
	  display: flex;
	  align-items: center;
	  justify-content: space-between;
	  cursor: pointer;
	}

	/* the grey placeholder text */
	.filters-grid ._cceSrchBar .multiselect-dropdown .placeholder {
	  flex: 1;
	}

	.multiselect-dropdown span.placeholder {
		color: #000000;
		font-size: 13px;
		margin:0px;
	}

	.multiselect-dropdown span.maxselected, .multiselect-dropdown span.optext {
		font-size: 13px;
		padding: 0px;
		margin: 0px;
		background: #ddd5cc;
		font-weight: 500;
		width: 90%;
	}

	.multiselect-dropdown-list{
		max-height: 250px;
	}

	.multiselect-dropdown-list > div {
		display: inline-flex;
		width: 100%;
	}

	.multiselect-dropdown-list input[type="checkbox"], .multiselect-dropdown-list label {
	    vertical-align: middle;
	    font-size: 14px;
	}

	/* ─── Search button ─────────────────────────────────────────────── */
	.filters-grid ._cceSrchBar .btn-search {
	  background: #d36971;
	  border: none;
	  border-radius: 8px;
	  width: 3rem;   height: 3rem;
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  cursor: pointer;
	}
	.filters-grid ._cceSrchBar .btn-search svg {
	  width: 1.25rem;
	  height: 1.25rem;
	  fill: #ffffff;
	}

	/* ─── Responsive fallback ───────────────────────────────────────── */
	@media (max-width: 640px) {
	  .filters-grid ._cceSrchBar {
	    grid-template-columns: 1fr;  /* stack vertically */
	  }
	}

	/* ─── Remove native arrow & add your own (optional) ──────────── */
	.filters-grid ._cceSrchBar .multiselect-dropdown, .filter-condition select {
		background: #f2ede7;
		width: 100% !important;
		padding: 0.75rem 1rem;
	  	border: 1px solid var(--col-line);
	  	border-radius: 8px;
	  	font: 20px;
	  	color: #000000;
	  	cursor: pointer;
	  	-webkit-appearance: none;
	    -moz-appearance: none;
	    appearance: none;
	  	background-image: url('data:image/svg+xml;utf8,<svg fill="%230B1120" height="10" viewBox="0 0 10 6" xmlns="http://www.w3.org/2000/svg"><path d="M0 0l5 6 5-6z"/></svg>');
	  	background-repeat: no-repeat;
	  	background-position: right 1rem center;
	  	background-size: 0.65rem;
	}

	.filter-condition select:focus{
		outline: 0px;
	}

	/* ─── Search button tweaks ────────────────────────────────────── */
	.filters-grid .btn-search {
	    background: #d36971;
	    cursor: pointer;
	    border: none;
	    display: flex;
	    align-items: center;
	    justify-content: center;
	    width: 40px;
    	border-radius: 50%;
    	padding: 5px;
	}

	.btn-search svg {
	  width: 20px;
	  height: 20px;
	  fill: #fff;
	}

	.btn-search :focus {
	  border: none;
	}

	/* ─── Responsive fallback ─────────────────────────────────────── */
	@media (max-width: 640px) {
	  .filters-grid {
	    grid-template-columns: 1fr;  /* stack vertically on small screens */
	  }
	}

	/* ───── Filter condition row ───── */

	.filter-condition {
	  display: flex;
	  align-items: center;
	  gap: 1rem;
	  margin: 25px 0; /* match your vertical rhythm */
	}

	.filter-label {
	  white-space: nowrap;
	  font-size: 20px;
	}

	.filter-condition select {
		width: 80px !important;
	}

	/* Update Search button */
	.btn-update {
	  display: flex;
	  align-items: center;
	  gap: 0.5rem;
	  padding: 0.6rem 1rem;
	  background: #d36971;
	  color: #fff;
	  border: none;
	  border-radius: 25px;
	  font-size: 14px;
	  cursor: pointer;
	  text-transform: uppercase;
	}

	.btn-update svg {
	  width: 1rem;
	  height: 1rem;
	  fill: currentColor; /* inherits white */
	}

    /* ───────── badge container ───────── */
	.badge-wrapper {
	  text-align: center;
	}

	/* ───────── the gradient circle with rings ───────── */
	.badge-circle {
	  position: relative;
	  width: 160px;
	  height: 160px;
	  margin: 0 auto;
	  border-radius: 50%;
	  background: linear-gradient(135deg, #D77C84 0%, #E8A593 100%);
	  display: flex;
	  align-items: center;
	  justify-content: center;
	}

	/* outer white ring */
	.badge-circle::before {
	  content: '';
	  position: absolute;
	  inset: 0;
	  border: 4px solid #fff;
	  border-radius: 50%;
	  box-sizing: border-box;
	}

	/* inner white ring */
	.badge-circle::after {
	  content: '';
	  position: absolute;
	  inset: 8px;      /* matches half of the outer ring + half of this ring */
	  border: 2px solid #fff;
	  border-radius: 50%;
	  box-sizing: border-box;
	}

	/* ───────── the number in the middle ───────── */
	.badge-number {
	  position: relative;  /* above the rings */
	  color: #fff;
	  font-size: 55px;
	  line-height: 1;
	  font-weight: 700;
	}

	/* ───────── the label underneath ───────── */
	.badge-text {
	    margin-top: 10px;
	    font-weight: 700;
	    font-size: 22px;
	    line-height: 15px;
	    color: #494e5a;
	    white-space: pre-line;
	}

	

	/* ——— Wrapper for border‑radius ——— */
	.heatmap_result.is-hidden{ display:none; }

	.table-wrapper {
	  margin: 40px 0;
	}

	/* ——— Table Reset ——— */
	.results-grid {
	  width: 100%;
	  border-collapse: collapse;
	  table-layout: fixed;
	  margin-bottom: 0px;
	  border: 1px solid #E4E7EC;
	  border-radius: 12px;
	}

	/* ——— Cell Styling ——— */
	.results-grid th, .results-grid td {
    padding: 24px 20px;
    border-right: 1px solid #d5dbe7 !important;
    border-bottom: 1px solid #d5dbe7 !important;
    border-top: none;
    border-left: none;
    text-align: center;
    width: 16.6667%;
    height: 88px;
    overflow: hidden;
    vertical-align: middle;
	}

	#intervention_table .results-grid thead .header-sub td {
    padding: 14px 7px !important;
    font-size: 13px !important;
  }

	.results-grid thead > .header-top th > a{
		color: inherit;
    font-family: inherit;
    text-decoration: none;
	}

	.results-grid thead > .header-top th > a:hover{
		color: #d36971;
	}

	.results-grid td {
		overflow: visible !important;
	}

	.header-sub th, .header-sub td {
		padding: 15px 12px;
		height: 50px;
	}

	.header-sub td {
		font-weight: 700 !important;
	}

	.header-top > th{
		border-right: none;
	}

	/* Remove right border on last column */
	.results-grid th:last-child,
	.results-grid td:last-child {
	  border-right: none;
	}
	/* Remove bottom border on last row */
	.results-grid tbody tr:last-child th,
	.results-grid tbody tr:last-child td {
	  border-bottom: none;
	}

	/* ——— Top header row ——— */
	.results-grid thead .header-top th {
	  background: #FAFBFC;
	  font-size: 15px;
	  color: #0b1120;
	  text-transform: uppercase;
	  border-block-start: 0px !important;
	}

	/* “RESULTS:” column in top row */
	.col-results {
	  text-align: left !important;
	}
	.count {
	  color: #D77C84;
	}

	/* ——— Sub‑header row ——— */
	.results-grid thead .header-sub th,
	.results-grid thead .header-sub td {
	  background: #ebecf1;
	  font-size: 14px;
	  color: #0b1120;
	}
	.results-grid thead .header-sub th {
	  text-align: left;
	}

	/* ——— Body row first column ——— */
	.results-grid tbody th {
	  text-align: left;
	  font-size: 16px;
	  color: #0b1120;
	  background: #FAFBFC;
	}

	.results-grid tbody th svg {
		fill: #b8becb;
    height: 12px;
    width: 12px;
    margin-left: 5px;
	}

	/* ——— Circles for data points ——— */
	.circle {
	  display: inline-block;
	  background: var(--col-accent);
	  border-radius: 50%;
	  vertical-align:middle;
	  cursor: pointer;
	}

	.researchPopover.circle:hover {
    background-color: #f5935a;
	}
	
	/* ——— Dashes for empty cells ——— */
	.results-grid td {
	  font: var(--font-sub);
	}
	.results-grid td:empty::after {
	  content: '—';
	  display: inline-block;
	  color: #0B1120;
	}

	.heatmap_result {
	  position: relative;
	}

	/* popover styling, but initially hidden */
	.popover {
	  position: absolute;
	  padding: 20px;
	  top: 100%; left: 50%;
	  transform: translateX(-50%);
	  width: 500px;
	  max-height: 520px;
	  height: fit-content;
	  background: #fff;
	  border: 1px solid #E4E7EC;
	  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	  border-radius: 6px;
	  overflow: hidden;
	  z-index: 10;
	  display: none;
	}

	.researchPopover:hover .popover, .interventionPopover:hover .popover {
	  display: block;
	}

	.popover-header {
	  text-align: left;
	}

	.popover-header h2 {
	  font-weight: 700;
	  font-size: 22px;
	  margin-top: 0px;
	  margin-bottom: 5px;
	}

	.popover-header-heading{
		color: #5b637a !important;
	}

	.popover-header-sub-heading{
		color: #666f8c !important;
		font-size: 19px !important;
		font-weight: 500 !important;
	}

	.intervention-row {
	  display: flex;
	  align-items: center;  /* vertical centering */
	  gap: 10px;            /* spacing between text and bubble */
	}

	.popover-header-count{
		font-size: 17px !important;
	}

	.popover-intervention-count {
    font-weight: 500 !important;
    font-size: 17px !important;
    margin: 0 !important;
	}

	.popover-header .ban-bubble-type {
    padding: 2px 15px;
    border-radius: 5px;
    font-size: 12px;
    color: #323232;
    background: var(--c);
  	box-shadow: inset 0 0 0 2px rgba(0,0,0,.08);
  	opacity: .95;
	}

	.popover-close {
	  position: absolute;
	  top: 12px; right: 12px;
	  border: none;
	  background: none !important;
	  font-size: 30px !important;
	  cursor: pointer;
	  color: #525252 !important;
	  background-color: transparent !important;
	  padding: 0px !important;
	}

	/* two columns inside the popover body */
	.intervention-popover-list{
	  margin-top: 15px;
	  display: grid;
	  grid-template-columns: 1.25fr 1.75fr;   /* left : right */
	  gap: 12px;
	  height: 360px;
	}

	.iv-nav{
		list-style: none;
		margin: 0;
		padding: 0;
	  border-right: 1px solid #eee;
	  overflow-y: auto;
	}

	.iv-item{
	  display: block;
	  width: 100%;
	  text-align: left;
	  padding: 8px 10px;
	  background: none;
	  cursor: pointer;
	  font: 500 13px/1.3 system-ui, sans-serif;
	  border-bottom: 1px solid #dadee9;
	}

	.intervention-popover-list li:last-child {
	  margin-bottom: 0;
	}

	.iv-detail li:first-child {
	  padding-top: 0px;
	}

	.iv-item:hover{ background: #f7f7f9; }
	.iv-item.active{ background: #eef3ff; font-weight: 600; }

	.iv-detail{ overflow: auto; }
	.iv-title{ 
    margin: 0 0 8px;
    color: #000000;
    padding: 5px 10px;
    font: 500 14px/1.3 system-ui, sans-serif;
    text-align: left;
    border-bottom: 1px solid #000000;
	}
	
	.iv-articles{ margin: 0; padding-left: 10px !important; max-height: 255px; margin-top: 0px !important}

	.popover-list {
	  list-style: none;
	  margin-top: 5px;
	  margin-bottom: 10px;
	  max-height: 320px;
	  overflow-y: auto;
	  text-align: left;
	  padding: 0px;
	  padding-right: 15px;
	}

	.popover-list li {
		padding: 8px 0px;
	  border-bottom: 1px solid #dadee9;
	}
	.popover-list li:last-child {
	  margin-bottom: 0;
	}
	.popover-list a {
	  color: #0B1120;
	  text-decoration: none;
	  font-size: 14px;
	  font-weight: 400;
	  
	}

	/* ── WebKit (Chrome, Safari, Edge, Opera) ── */
	.popover-list::-webkit-scrollbar {
	  width: 8px;               /* width of the whole scrollbar */
	  height: 8px;              /* height of the horizontal scrollbar */
	}

	.popover-list::-webkit-scrollbar-track {
	  background: #fbfbfb;      /* track */
	  border-radius: 4px;
	}

	.popover-list::-webkit-scrollbar-thumb {
	  background-color: #e19b91;/* the draggable “thumb” */
	  border-radius: 4px;
	  border: 2px solid #fbfbfb;/* gives a little padding around the thumb */
	}

	/* ── Firefox ── */
	.popover-list {
	  scrollbar-width: thin;             /* “auto” | “thin” | “none” */
	  scrollbar-color: #e19b91 #fbfbfb;  /* thumb color | track color */
	}

	/****/

	.btn-download {
    display: flex;
    align-items: center;
    padding: 7px 14px !important;
    background: #707070 !important;
    color: #fff;
    border: none;
    border-radius: 25px !important;
    font-size: 13px !important;
    cursor: pointer;
    text-transform: capitalize;
    float: right;
  }

  .btn-download svg {
    width: 14px;
    height: 14px;
    fill: #fff;
    margin-right: 5px;
  }

	/* ───── Header qualifier ───── */
 	.qualifier h3 { 
 		font-size:20px;
 		margin-bottom:0px;
 		font-weight: 700;
 	}
 	.qualifier p  { 
 		font-size:18px;
 		margin-top: 10px;
 		margin-bottom:20px;
 	}


/****** Intervention Bubbles **********/
td.bubble-cell { position: relative; width: 120px; height: 100px; }

.bubbles { position: absolute; inset: 0; }

.bubble {
  position: absolute;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.08);
  opacity: .95;
  cursor: pointer;
}

/* colors */
.bubble--neg { --c:#e57373; }   /* red   */
.bubble--pos { --c:#a5c742; }   /* green */
.bubble--neu { --c:#f4b183; }   /* orange (Neutral) */
.bubble--unc { --c:#cfd8dc; }   /* grey (Unclear)   */

.intervention-desc{
	font-weight: 400;
	font-size: 13px;
}

/** Keys **/
.legend{
  margin: 1.5rem 0;
}

.legend-intro{
  margin: 0 0 .75rem 0;
  font-size: 15px;
}
.legend-intro em{
  color: var(--muted);
  font-style: italic;
}

.legend-card{
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.25rem 1.25rem;
  display: grid;
  gap: 1.25rem 2rem;
  box-shadow: 0 2px 10px rgba(2, 6, 23, 0.04);
}

/* 2 columns on medium+ screens */
@media (min-width: 720px){
  .legend-card{ grid-template-columns: 1fr 1fr; }
}

.legend-item{
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: .5rem;
}

.legend-item > p {
	margin: 0px;
	font-size: 15px;
}

.legend-bubble{
  width: 16px;
  height: 16px;
  border-radius: 999px;
  margin-top: .35rem;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.05);
  background: var(--c);
}


/***/
.tooltip {
  cursor: pointer;
}

.tooltiptext {
  width: 400px;
  height: fit-content;
  background-color: #f1f1f1;
  color: #0a0a0a;
  font-size: 13px;
  text-align: left;
  border-radius: 6px;
  padding: 15px 20px;
  position: absolute;
  z-index: 9999; /* make sure it’s on top of table rows */
  bottom: 100%;
  left: 18%;
  top: 10px;
  margin-left: -60px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

