.ggwebgl-host {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ggwebgl {
  box-sizing: border-box;
  min-height: 0;
  height: 100%;
  padding: 1rem 1.25rem 1.1rem;
  border: 1px solid #d7dce3;
  border-radius: 0.9rem;
  background:
	radial-gradient(circle at top left, rgba(12, 74, 110, 0.08), transparent 35%),
	linear-gradient(135deg, rgba(12, 74, 110, 0.03), rgba(245, 158, 11, 0.05)),
	#f8fafc;
  color: #102a43;
  font-family: "Source Sans 3", "Helvetica Neue", sans-serif;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 0.55rem;
  overflow: hidden;
}

.ggwebgl__header {
  min-height: 0;
}

.ggwebgl__eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #486581;
}

.ggwebgl__title {
  margin: 0.3rem 0 0.5rem;
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  font-size: 1.35rem;
}

.ggwebgl__subtitle {
  margin: 0 0 0.35rem;
  color: #486581;
}

.ggwebgl__meta {
  margin: 0;
  line-height: 1.4;
  color: #334e68;
}

.ggwebgl__stage {
  position: relative;
  min-height: 0;
  min-height: 320px;
  border-radius: 0.8rem;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  background:
	linear-gradient(180deg, rgba(241, 245, 249, 0.98), rgba(226, 232, 240, 0.98)),
	#e2e8f0;
  border: 1px solid rgba(72, 101, 129, 0.18);
}

.ggwebgl--hover-enabled .ggwebgl__stage {
  cursor: crosshair;
}

.ggwebgl--pan-enabled .ggwebgl__stage {
  cursor: grab;
}

.ggwebgl--dragging .ggwebgl__stage {
  cursor: grabbing;
}

.ggwebgl__canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;  
}

.ggwebgl__panel-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.ggwebgl__panel-frame {
  position: absolute;
  box-sizing: border-box;
  border: 1px solid rgba(72, 101, 129, 0.18);
  border-radius: 0.7rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.ggwebgl__panel-strip {
  padding: 0.38rem 0.6rem;
  border-bottom: 1px solid rgba(72, 101, 129, 0.16);
  border-top-left-radius: 0.7rem;
  border-top-right-radius: 0.7rem;
  background: rgba(241, 245, 249, 0.82);
  color: #334e68;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ggwebgl__empty {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.2rem;
  text-align: center;
  color: #486581;
  background: rgba(252, 252, 253, 0.94);
  z-index: 3;
}

.ggwebgl__tooltip {
  position: absolute;
  display: none;
  min-width: 10rem;
  max-width: min(18rem, calc(100% - 1.25rem));
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(72, 101, 129, 0.22);
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.92);
  color: #f8fafc;
  font-size: 0.82rem;
  line-height: 1.4;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.24);
  pointer-events: none;
  z-index: 4;
}

.ggwebgl__tooltip-title {
  margin-bottom: 0.28rem;
  font-weight: 700;
  color: #e2e8f0;
}

.ggwebgl__axes {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 0.5rem;
  min-height: 0;
}

.ggwebgl__axis {
  color: #486581;
  font-size: 0.92rem;
}

.ggwebgl__axis--y {
  transform: rotate(-90deg);
  transform-origin: center;
  text-align: center;
}

.ggwebgl__axis--x {
  text-align: center;
}

.ggwebgl__notes {
  min-height: 0;
  font-size: 0.92rem;
  color: #486581;
}
