.elementor-1164 .elementor-element.elementor-element-1af5bbe{--display:flex;}/* Start custom CSS for html, class: .elementor-element-d02c1c2 */* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  min-height: 100%;
}

body {
  background: #0D1B2A;
  color: #fff;
  font-family: 'Segoe UI', 'Aptos Display', Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow-x: hidden;
  overflow-y: auto;
}

header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px 8px;
  width: 100%;
  border-bottom: 1px solid rgba(170,255,0,0.22);
  flex-shrink: 0;
  flex-wrap: wrap;
}

.header-logo {
  height: clamp(24px, 3vw, 34px);
  width: auto;
}

.title-block h1 {
  font-size: clamp(11px, 1.4vw, 13px);
  font-weight: 600;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.title-block p {
  font-size: clamp(9px, 1.1vw, 10px);
  color: #666;
  margin-top: 1px;
}

.legend {
  display: flex;
  gap: 12px;
  margin-left: auto;
  align-items: center;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: clamp(9px, 1vw, 10px);
  color: #aaa;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hint {
  font-size: clamp(9px, 1vw, 10px);
  color: #3a3a3a;
  text-align: center;
  padding: 4px 12px 2px;
  letter-spacing: 0.4px;
  flex-shrink: 0;
}

#chart-wrap {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  height: calc(100vh - 120px);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 12px;
}

#chart-titles {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s;
}

#chart-title {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

#chart-subtitle {
  font-size: clamp(11px, 1.4vw, 13px);
  font-weight: 400;
  margin-top: 5px;
  display: none;
  letter-spacing: 0.2px;
}

svg {
  cursor: pointer;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}

.tooltip {
  position: fixed;
  background: #0E2841;
  border: 1px solid #AAFF00;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 12px;
  color: #fff;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  max-width: min(240px, 80vw);
  z-index: 100;
  line-height: 1.5;
}

#bias-panel {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(275px, 90vw);
  background: #091d30;
  border-left: 1px solid rgba(170,255,0,0.18);
  padding: 20px 16px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 50;
}

#bias-panel.open {
  transform: translateX(0);
}

#bias-panel h3 {
  font-size: 13px;
  margin-bottom: 6px;
  font-weight: 600;
  line-height: 1.4;
}

.cat-label {
  font-size: 10px;
  color: #555;
  margin-bottom: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.bias-count {
  font-size: 11px;
  color: #444;
  margin: 4px 0 12px;
}

.bias-item {
  font-size: 12px;
  color: #999;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.bias-link {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
}

.bias-link:hover {
  color: #fff;
}

.bias-link .arr {
  font-size: 10px;
  opacity: 0.45;
  flex-shrink: 0;
}

#close-panel {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: #555;
  font-size: 18px;
  cursor: pointer;
}

#close-panel:hover {
  color: #fff;
}

.other-label {
  margin-top: 14px;
  font-size: 10px;
  color: #3a3a3a;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

footer {
  font-size: 9px;
  color: #2a2a2a;
  text-align: center;
  padding: 4px 8px 5px;
  border-top: 1px solid rgba(255,255,255,0.04);
  width: 100%;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  #chart-wrap {
    height: calc(100vh - 150px);
    padding: 10px;
  }

  .legend {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 640px) {
  body {
    overflow-y: auto;
  }

  header {
    gap: 10px;
    padding: 10px 14px 8px;
  }

  #chart-wrap {
    height: calc(100vh - 170px);
    padding: 8px;
  }

  #chart-titles {
    top: 8px;
  }

  .tooltip {
    font-size: 11px;
    padding: 7px 10px;
  }

  footer {
    font-size: 8px;
  }
}/* End custom CSS */