.gx {
  --gx-text: #e7f2f7;
  --gx-muted: #a4b7c2;
  --gx-line: #283944;
  --gx-mono: 'Fragment Mono', ui-monospace, monospace;
  margin: 24px 0;
  padding: clamp(16px, 3vw, 25px);
  color: var(--gx-text);
  background: #0c151d;
  border: 1px solid var(--gx-line);
  border-radius: 12px;
  min-width: 0;
  color-scheme: dark;
}
.gx-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.gx .gx-header h3 {
  margin: 0;
  color: var(--gx-text);
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.035em;
}
.gx-control {
  display: none;
}
.gx[data-enhanced] .gx-control {
  display: flex;
  align-items: center;
}
.gx[data-enhanced] .gx-static {
  display: none;
}
.gx-reference,
.gx-static,
.gx-range {
  font: 12px/1.5 var(--gx-mono);
  color: var(--gx-muted);
}
.gx-reference {
  gap: 7px;
}
.gx-reference select {
  min-height: 34px;
  padding: 4px 7px;
  border: 1px solid #42535e;
  border-radius: 4px;
  background: #111f2a;
  color: #e0edf3;
  font: inherit;
}
.gx select:focus-visible,
.gx input:focus-visible,
.gx summary:focus-visible {
  outline: 2px solid #b1dbed;
  outline-offset: 3px;
}
.gx-plot {
  margin-top: 20px;
  padding: 12px 10px 0;
  border: 1px solid #25333e;
  border-radius: 6px;
  background: linear-gradient(135deg, #0b1119 28%, #101f29);
}
.gx-unit,
.gx-ticks {
  font: 12px/1.4 var(--gx-mono);
  fill: #a4b7c2;
  color: var(--gx-muted);
}
.gx-unit {
  padding-left: 6px;
  font-size: 12px;
}
.gx-plot svg {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  overflow: visible;
}
.gx[data-enhanced] .gx-plot svg {
  cursor: crosshair;
}
.gx-grid {
  stroke: #24333e;
  stroke-width: 1;
}
.gx-parity {
  stroke: #7993a2;
  stroke-width: 1.1;
  stroke-dasharray: 4 5;
}
.gx-mark {
  stroke-width: 3;
  stroke-linecap: round;
}
.gx-quote {
  stroke: #729bb5;
}
.gx-base {
  stroke: #a6c8bc;
}
.gx-guide {
  stroke: #cdeef9;
  stroke-width: 1.2;
  stroke-dasharray: 2 3;
  opacity: 0.8;
}
.gx-halo {
  fill: #cdeef9;
  fill-opacity: 0.18;
}
.gx-ring {
  fill: #0c1820;
  stroke: #d7eff8;
  stroke-width: 2.2;
}
.gx-range {
  gap: 14px;
  margin: 6px 0;
  min-height: 40px;
}
.gx-range input {
  flex: 1 1 120px;
  min-width: 0;
  margin: 0;
  accent-color: #b7d9e7;
  height: 24px;
  cursor: pointer;
}
.gx .gx-results {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr) minmax(0, 1fr);
  margin: 14px 0 0;
  padding: 0;
}
.gx-results > div {
  min-width: 0;
  padding: 0 clamp(5px, 2vw, 14px);
  border-left: 1px solid var(--gx-line);
}
.gx-results > div:first-child {
  padding-left: 0;
  border: 0;
}
.gx .gx-results dt,
.gx .gx-results dd {
  margin: 0;
  padding: 0;
  font-family: var(--gx-mono);
}
.gx .gx-results dt {
  color: var(--gx-muted);
  font-size: 12px;
  line-height: 1.4;
}
.gx .gx-results dd {
  margin-top: 4px;
  color: var(--gx-text);
  font-size: clamp(16px, 2.3vw, 23px);
  line-height: 1.4;
}
.gx-results small {
  margin-left: 4px;
  font-size: 12px;
  font-weight: 400;
  color: var(--gx-muted);
}
.gx-data {
  margin-top: 17px;
  padding-top: 12px;
  border-top: 1px solid var(--gx-line);
}
.gx .gx-data summary {
  color: #cce4ee;
  font: 12px/1.5 var(--gx-mono);
  cursor: pointer;
}
.gx .gx-data p {
  color: var(--gx-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 12px 0;
}
.gx .gx-data table {
  table-layout: auto;
  border-collapse: collapse;
  width: 100%;
  margin: 12px 0 0;
  font: 12px/1.5 var(--gx-mono);
}
.gx .gx-data th,
.gx .gx-data td {
  color: var(--gx-text);
  padding: 5px 3px;
  border: 0;
  border-bottom: 1px solid var(--gx-line);
  text-align: left;
}
.gx .gx-data thead th {
  color: var(--gx-muted);
  font-weight: 400;
}
@media (max-width: 500px) {
  .gx-header {
    gap: 8px;
  }
  .gx-plot {
    margin-top: 14px;
    padding: 8px 3px 0;
  }
  .gx .gx-results dt {
    font-size: 12px;
  }
  .gx-results small {
    display: block;
    margin: 0;
  }
  .gx .gx-data table {
    font-size: 12px;
  }
  .gx-ticks {
    font-size: 16px;
  }
}
