:root {
    --color-orange: #c75000ff;
    --color-white: #f7f4f3;
    --color-blue: #9eb3c2;
    --color-purple: #7f5a83;
    --color-red: #ef3054;
    --color-black: #2e282a;
    --color-green: #3E3E32;
    --color-yellow: #B1A569;
    --color-yellow-dark: #7D744A;
    --color-link-primary: #0060b1;
    --color-link-hover: #005398;
  }

#row {
  /* Breakout to use more screen width */
  width: 100vw;
  max-width: 1800px;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-top: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  overflow: visible;
  padding: 1.5rem 2rem;
  box-sizing: border-box;
  background: #fafafa;
  border-radius: 8px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

#chart {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

/* SVG styling */
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Pointer cursor for cells */
rect.plot-cell {
  cursor: pointer;
}

/* Cell hover styling */
rect.plot-cell:hover {
  stroke: #333;
  stroke-width: 1px;
}

/* Plot tooltip styling */
.plot-tip {
  background: rgba(0, 0, 0, 0.8) !important;
  color: white !important;
  font-size: 16px !important;
  padding: 10px !important;
  border-radius: 4px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
  white-space: pre-line !important;
  max-width: 300px !important;
  line-height: 1.4 !important;
  pointer-events: none !important;
  z-index: 1000 !important;
  text-align: left !important;
}

/* Observable's tooltip class */
.plot-d-tip {
  font-size: 16px !important;
  padding: 8px 12px !important;
  background: rgba(0, 0, 0, 0.8) !important;
  color: white !important;
  pointer-events: none !important;
  white-space: pre-line !important;
  border-radius: 4px !important;
  z-index: 1000 !important;
}

