:root {
  --accent: #b45309;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #fbbf24;
    --on-accent: #2a1600;
  }
}

.tool {
  margin-top: 4px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 12px;
}
@media (min-width: 620px) {
  .field-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.result-card {
  margin: 12px 0;
}

.value-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 0.5px solid var(--line);
}
.value-row:last-child {
  border-bottom: 0;
}
.value-label {
  color: var(--muted);
  font-size: 0.86rem;
}
.value-number {
  font-variant-numeric: tabular-nums;
  text-align: end;
}

.band-controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 10px;
}
@media (min-width: 620px) {
  .band-controls {
    grid-template-columns: repeat(3, 1fr);
  }
}

.band-preview {
  display: flex;
  gap: 8px;
  padding: 12px 0;
}
.band-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.2);
}
.band-black { background: #111; }
.band-brown { background: #7b4a2e; }
.band-red { background: #d32f2f; }
.band-orange { background: #ef6c00; }
.band-yellow { background: #f9d65c; }
.band-green { background: #2e7d32; }
.band-blue { background: #1565c0; }
.band-violet { background: #7b1fa2; }
.band-grey { background: #9e9e9e; }
.band-white { background: #fff; }
.band-gold { background: #c9a227; }
.band-silver { background: #bdbdbd; }

.mono {
  font-family: var(--mono);
  font-size: 0.82rem;
}
