/* ─── Custom SVG arc gauge ────────────────────────────── */

.arc-gauge-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 0 8px;
  gap: 0;
}

.arc-gauge {
  position: relative;
  width: 200px;
  height: 110px; /* half-circle viewport */
  overflow: visible;
}

.arc-gauge svg {
  width: 200px;
  height: 110px;
  overflow: visible;
}

/* track */
.gauge-track {
  fill: none;
  stroke: var(--border);
  stroke-width: 14;
  stroke-linecap: round;
}

/* coloured fill arc */
.gauge-fill {
  fill: none;
  stroke-width: 14;
  stroke-linecap: round;
  transition: stroke-dashoffset .6s cubic-bezier(.4,0,.2,1),
              stroke .4s ease;
}

/* tick marks */
.gauge-tick {
  stroke: var(--border-bright);
  stroke-width: 1.5;
}

/* centre value */
.gauge-value-wrap {
  text-align: center;
  margin-top: -4px;
}

.gauge-value {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
  display: block;
}

.gauge-value.green  { color: var(--accent-green); }
.gauge-value.blue   { color: var(--accent-blue);  }
.gauge-value.amber  { color: var(--accent-amber);  }
.gauge-value.red    { color: var(--accent-red);    }

.gauge-sublabel {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 4px;
  display: block;
}

/* min/max labels */
.gauge-range {
  display: flex;
  justify-content: space-between;
  width: 200px;
  margin-top: 6px;
}

.gauge-range span {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-dim);
}

/* zone indicator dot */
.gauge-zone {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  margin-top: 6px;
}

.gauge-zone-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
