/* Let the bridge measure content independently of the iframe viewport. */
html,
body {
  height: auto;
  min-height: 0;
}

body,
#embed-content {
  display: flow-root;
}

.climate-dmbbl-chart .chart-wrap {
  width: 100%;
  position: relative;
}

.climate-dmbbl-chart .axis-svg {
  width: 100%;
  display: block;
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  /* box-shadow: 0 1px 0 #ddd; */
}

.climate-dmbbl-chart .chart-scroll {
  max-height: 500px;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
}

.climate-dmbbl-chart .chart-inner {
  display: flex;
  min-width: 100%;
  position: relative;
}

.climate-dmbbl-chart .labels-svg {
  display: block;
  position: sticky;
  left: 0;
  z-index: 15;
  background: #fff;
  flex: 0 0 auto;
}

.climate-dmbbl-chart .chart-svg {
  display: block;
  flex: 0 0 auto;
}

.climate-dmbbl-chart .chart-tooltip {
  position: absolute;
  pointer-events: none;
  z-index: 9999;
  max-width: 220px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.4;
  color: #222;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  opacity: 0;
}

.climate-dmbbl-chart .sort-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.climate-dmbbl-chart .sort-buttons button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  color: #333;
}

.climate-dmbbl-chart .sort-buttons button.active,
.climate-dmbbl-chart .sort-buttons button:hover {
  font-weight: bold;
  border-color: #111;
  color: #111;
}

.climate-dmbbl-chart .labelTitle {
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 3px;
  color: #555;
}

.climate-dmbbl-chart .sort-buttons .icon {
  display: inline-block;
  flex: 0 0 auto;
}

.climate-dmbbl-chart .sort-buttons .icon.solid {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6b7982;
}

.climate-dmbbl-chart .sort-buttons .icon.hollow {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #6b7982;
  background: #fff;
  box-sizing: border-box;
}

.climate-dmbbl-chart .sort-buttons .icon.line {
  width: 10px;
  height: 0;
  border-top: 3px solid #6b7982;
  border-radius: 2px;
}

.climate-dmbbl-chart .sort-select-wrap {
  display: none;
  position: relative;
  width: 100%;
}

.climate-dmbbl-chart .sort-dropdown-trigger {
  width: 100%;
  min-height: 30px;
  padding: 6px 34px 6px 30px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  color: #333;
  font-size: 12px;
  text-align: left;
  display: flex;
  align-items: center;
  cursor: pointer;
  box-sizing: border-box;
  position: relative;
}

.climate-dmbbl-chart .sort-dropdown-trigger:focus {
  outline: none;
  border-color: #111;
  color: #111;
}

.climate-dmbbl-chart .sort-dropdown-label {
  display: block;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.climate-dmbbl-chart .sort-dropdown-arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  width: 0;
  height: 0;
  transform: translateY(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #333;
  pointer-events: none;
}

.climate-dmbbl-chart .sort-dropdown-menu {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 4px);
  width: 100%;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  z-index: 50;
  box-sizing: border-box;
  overflow: hidden;
}

.climate-dmbbl-chart .sort-select-wrap.open .sort-dropdown-menu {
  display: block;
}

.climate-dmbbl-chart .sort-select-wrap.open .sort-dropdown-arrow {
  transform: translateY(-50%) rotate(180deg);
}

.climate-dmbbl-chart .sort-dropdown-option {
  width: 100%;
  padding: 8px 10px;
  border: 0;
  background: #fff;
  color: #333;
  font-size: 12px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-sizing: border-box;
}

.climate-dmbbl-chart .sort-dropdown-option:hover,
.climate-dmbbl-chart .sort-dropdown-option.active {
  font-weight: bold;
  background: #f7f7f7;
  color: #111;
}

.climate-dmbbl-chart .sort-dropdown-option .icon {
  display: inline-block;
  flex: 0 0 auto;
}

.climate-dmbbl-chart .sort-dropdown-option .icon.solid {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6b7982;
}

.climate-dmbbl-chart .sort-dropdown-option .icon.hollow {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #6b7982;
  background: #fff;
  box-sizing: border-box;
}

.climate-dmbbl-chart .sort-dropdown-option .icon.line {
  width: 10px;
  height: 0;
  border-top: 3px solid #6b7982;
  border-radius: 2px;
}

.climate-dmbbl-chart .sort-dropdown-option .icon.none {
  width: 10px;
  height: 10px;
  background: transparent;
}

.climate-dmbbl-chart .sort-select-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
  pointer-events: none;
}

.climate-dmbbl-chart .sort-select-icon.solid {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6b7982;
}

.climate-dmbbl-chart .sort-select-icon.hollow {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #6b7982;
  background: #fff;
  box-sizing: border-box;
}

.climate-dmbbl-chart .sort-select-icon.line {
  width: 10px;
  height: 0;
  border-top: 3px solid #6b7982;
  border-radius: 2px;
}

.climate-dmbbl-chart .sort-buttons .icon.alpha-stack,
.climate-dmbbl-chart .sort-dropdown-option .icon.alpha-stack,
.climate-dmbbl-chart .sort-select-icon.alpha-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 12px;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  color: #6b7982;
}

.climate-dmbbl-chart .sort-select-icon.none {
  width: 10px;
  height: 10px;
  background: transparent;
  border: 0;
}

@media (max-width: 768px) {
  .climate-dmbbl-chart .labelTitle {
    font-size: 11px;
    font-weight: 700;
  }

  .climate-dmbbl-chart .chart-scroll {
    overflow-x: hidden;
  }

  .climate-dmbbl-chart .chart-inner {
    display: block;
    position: relative;
    min-width: 100%;
  }

  .climate-dmbbl-chart .labels-svg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 15;
    background: #fff;
  }

  .climate-dmbbl-chart .chart-svg {
    display: block;
  }

  .climate-dmbbl-chart .sort-buttons {
    display: none;
  }

  .climate-dmbbl-chart .sort-select-wrap {
    display: block;
  }
}
@font-face {
  font-family: "Gensler Sans";
  src: url("../../fonts/GenslerSans-Regular.woff2") format("woff2");
  font-weight: 400;
}

@font-face {
  font-family: "Gensler Sans";
  src: url("../../fonts/GenslerSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
}

@font-face {
  font-family: "Gensler Sans";
  src: url("../../fonts/GenslerSans-Bold.woff2") format("woff2");
  font-weight: 700;
}

.climate-dmbbl-chart {
  font-family: "Gensler Sans", sans-serif;
}

.climate-dmbbl-chart button,
.climate-dmbbl-chart .axis-group {
  font-family: inherit;
}
