/* Optimisation -- the few boxes the shared table, chart card and buttons do not already have: the Tune page and the lessons. EVERY COLOUR COMES FROM A TOKEN (D25). Under 768px the page is one column and the
 * Tune page scrolls inside itself, never the page.
 */

.opt {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.opt-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.opt-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.opt-title {
  margin: 0;
  font-size: 1rem;
}

.opt-block {
  margin: 0;
  padding: 10px 12px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  white-space: pre;
  overflow-x: auto;
  user-select: all;
}

.opt-lessons {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.opt-lesson--none {
  color: var(--text-subtle);
}

.opt-card > .k-button {
  align-self: flex-start;
}

/* The line under "Fix these first" saying which listings were left off and why. */
.opt-note {
  margin: 0;
  color: var(--text-subtle);
}
