/* Appearance picker (2.1.8). The selectable accent catalogue was retired: BYI Nexus uses one brand
   accent from app.css in both themes, and the picker offers Classic Dark and White only. */
.appearance-panel { width: 248px; padding: 14px; border-radius: var(--radius-menu); box-shadow: var(--elevation); }
.appearance-label { margin: 0 0 8px; color: var(--muted); font-size: 12px; font-weight: 600; }
.appearance-options.appearance-themes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.appearance-choice { flex-direction: column; gap: 8px; min-height: 0; padding: 8px 8px 9px; border-color: var(--border-strong); border-radius: var(--radius-control); background: var(--surface); color: var(--text-secondary); font-size: 13px; }
.appearance-choice[aria-pressed="true"] { color: var(--text); background: var(--surface); border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); font-weight: 600; }
.appearance-preview { display: block; width: 100%; height: 44px; overflow: hidden; border: 1px solid var(--border-strong); border-radius: 6px; }
.appearance-preview-dark { background: linear-gradient(90deg, #0f1012 0 22%, #1b1d20 22% 100%); }
.appearance-preview-light { background: linear-gradient(90deg, #ffffff 0 22%, #f6f7f8 22% 100%); }
.appearance-preview::after { content: ""; display: block; width: 46%; height: 6px; margin: 13px 0 0 32%; border-radius: 3px; background: currentColor; opacity: .22; }
.appearance-preview-dark::after { background: #ebedf0; opacity: .5; }
.appearance-preview-light::after { background: #17191c; opacity: .35; }
.appearance-menu > summary:focus-visible,
.appearance-choice:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (max-width: 380px) {
  .appearance-panel { width: 232px; padding: 12px; }
}

@media (forced-colors: active) {
  .appearance-choice[aria-pressed="true"] { outline: 2px solid Highlight; outline-offset: -3px; }
  .appearance-preview { forced-color-adjust: none; border: 1px solid CanvasText; }
}
