


.mode-choice { margin: 4px 0 18px; padding: 0; border: none; min-width: 0; }
.mode-choice > legend {
  padding: 0;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.mode-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  margin: 8px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  background: var(--bg);
  color: var(--body-text);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  cursor: pointer;
}
.mode-option:has(input:checked) { border-color: var(--accent); background: var(--bg-soft); }
.mode-option:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.mode-option input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); }
.mode-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mode-title { color: var(--ink); font-weight: 600; }
.mode-line { color: var(--muted); font-size: 13px; line-height: 1.4; }
#mode-note:empty { display: none; }
#mode-note.bad { color: var(--fail); }
