/* ── Links ────────────────────────────────── */
a { color: var(--green); }
a:hover { color: #fff; }

/* ── Info / description sections ─────────── */
.info {
  max-width: 480px;
  margin: 2rem auto 0;
  padding: 0 1rem;
  color: #c8c8c8;
  font-size: 0.85rem;
  line-height: 1.7;
}
.info h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.5rem 0 0.4rem;
}
.info h2:first-child { margin-top: 0; }
.info p  { margin: 0 0 0.75rem; }
.info table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0 1rem;
  font-family: 'SF Mono','Fira Code',monospace;
  font-size: 0.78rem;
}
.info th, .info td {
  text-align: left;
  padding: 0.25rem 0.5rem;
  border-bottom: 1px solid var(--border);
}
.info th { color: var(--text); font-weight: 600; }

/* ── Instrument page header ───────────────── */
header { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }
.back  { font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--text); }
header h1  { font-size: 1.4rem; font-weight: 600; letter-spacing: 0; color: var(--text); }
.subtitle  { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.05em; }

/* ── String rows ──────────────────────────── */
#strings { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.5rem; }

.string-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.55rem 0.9rem;
  background: #0d0d0d; border: 1px solid var(--border);
  border-radius: 0.5rem;
  transition: border-color 0.15s, background 0.15s;
}
.string-row.active   { background: #111; }
.string-row.in-tune  { border-color: var(--green); }
.string-row.close    { border-color: var(--yellow); }
.string-row.off      { border-color: var(--red); }

.str-left  { display: flex; flex-direction: column; align-items: flex-start; gap: 0.1rem; }
.str-label { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.05em; }
.str-thai  { font-size: 1.1rem; font-weight: 700; color: var(--text); font-family: 'SF Mono','Fira Code',monospace; }

.str-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.1rem; }
.str-note  { font-size: 0.85rem; font-family: 'SF Mono','Fira Code',monospace; color: var(--muted); }
.str-hz    { font-size: 0.7rem; font-family: 'SF Mono','Fira Code',monospace; color: #333; }
.str-cents { font-size: 0.8rem; font-family: 'SF Mono','Fira Code',monospace; min-height: 1rem; }

/* ── Freq value size override ─────────────── */
#freq-value { font-size: 3.5rem; }
