.uc-account-settings { max-width: 840px; padding: 24px; border: 1px solid var(--uc-line); border-radius: 12px; background: var(--uc-surface); }
.uc-account-settings h2 { margin: 0 0 8px; font-size: 20px; font-weight: 600; color: var(--uc-ink); }
.uc-account-settings h3 { margin: 0 0 8px; font-size: 16px; font-weight: 600; color: var(--uc-ink); }
.uc-account-settings p { max-width: 68ch; margin: 0 0 16px; color: var(--uc-muted); }
.uc-account-settings header p { margin-bottom: 24px; }
.uc-account-methods { margin: 0; padding: 0; list-style: none; }
.uc-account-methods > li { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--uc-line); }
.uc-account-methods > li > div { display: grid; gap: 5px; min-width: 0; }
.uc-account-methods span, .uc-account-methods small { color: var(--uc-muted); overflow-wrap: anywhere; }
.uc-account-methods small { font-size: 13px; }
.uc-account-methods strong { font-weight: 600; }
.uc-account-last { max-width: 150px; text-align: right; }
.uc-account-confirm, .uc-account-form { margin-top: 24px; }
.uc-account-settings form { display: grid; gap: 14px; justify-items: start; }
.uc-account-settings .uc-field { width: min(100%, 440px); }
.uc-account-settings input, .uc-account-settings select { max-width: 100%; width: 100%; }
.uc-account-settings input[name="code"] { font-variant-numeric: tabular-nums; max-width: 180px; }
.uc-account-providers { margin-top: 24px; }
.uc-account-providers > li:last-child { border-bottom: 0; padding-bottom: 0; }
.uc-account-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.uc-account-unlink { text-align: right; flex: 0 0 auto; max-width: 250px; }
.uc-account-unlink summary { cursor: pointer; color: var(--uc-violet); text-underline-offset: 3px; }
.uc-account-unlink summary:hover { text-decoration: underline; }
.uc-account-unlink p { margin: 12px 0; text-align: left; }
.uc-account-confirm > button { margin-top: 14px; }
#uc-account-feedback:not(:empty) { margin: 0 0 18px; color: var(--uc-ink); overflow-wrap: anywhere; }
#uc-account-feedback[role="alert"] { color: var(--uc-danger); }
.uc-account-settings button { white-space: normal; }
.uc-account-settings .uc-button--primary { box-shadow: none; }
:root[data-theme="dark"] .uc-account-settings .uc-button--primary { color: var(--uc-page); }
@media (max-width: 640px) {
  .uc-account-settings { padding: 18px; }
  .uc-account-methods > li { align-items: flex-start; flex-direction: column; gap: 12px; }
  .uc-account-last, .uc-account-unlink { text-align: left; max-width: 100%; }
}
