.feedback-settings { margin-top: 22px; }
.feedback-preferences { display: grid; gap: 12px; width: 100%; padding: 0; border: 0; }
.feedback-preference {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 14px;
  min-height: 80px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
}
.feedback-preference > .luxi-icon { width: 24px; height: 24px; color: var(--theme-primary); }
.feedback-preference-copy { display: grid; gap: 5px; min-width: 0; overflow-wrap: anywhere; }
.feedback-preference-label { line-height: 1.3; }
.feedback-preference-hint { color: var(--muted); font-size: 14px; font-weight: 400; line-height: 1.5; }
.feedback-preference input.feedback-preference-switch {
  appearance: none;
  position: relative;
  width: 52px;
  height: 32px;
  margin: 0;
  border: 2px solid var(--muted);
  border-radius: 18px;
  background: var(--panel);
  cursor: pointer;
}
.feedback-preference-switch::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--muted);
}
.feedback-preference input.feedback-preference-switch:checked { background: var(--theme-primary); border-color: var(--theme-primary); }
.feedback-preference-switch:checked::before { left: 23px; background: #fff; }
.feedback-preference:has(input:focus-visible) { outline: 3px solid var(--theme-primary); outline-offset: 4px; }
.feedback-preference:has(input[aria-invalid="true"]) { border-color: var(--red); }
@media (max-width: 480px) {
  .feedback-preference { gap: 10px; padding: 12px; }
}
@media (forced-colors: active) {
  .feedback-preference input.feedback-preference-switch { appearance: auto; }
  .feedback-preference-switch::before { content: none; }
  .feedback-preference:has(input:focus-visible) { outline-color: Highlight; }
}
