.accounts-section[hidden], .account-editor[hidden] { display: none; }
.accounts-section { max-width: 720px; }
.accounts-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.accounts-toolbar h2 { margin: 0; font-size: 24px; }
.account-button { padding: 12px 18px; border: 1px solid #822dff; background: #822dff; color: white; font: inherit; font-weight: 700; cursor: pointer; }
.account-button:hover { background: #7030cd; }
.account-button.secondary { background: white; color: #7030cd; }
.account-button:disabled { opacity: .6; cursor: wait; }
.accounts-section :focus-visible { outline: 3px solid #822dff; outline-offset: 4px; }
.account-list { border-top: 1px solid #dcd8e2; }
.account-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px; border: 1px solid #dcd8e2; border-top: 0; background: white; }
.account-row strong { display: block; overflow-wrap: anywhere; }
.account-row p { margin: 8px 0 0; color: #706a79; font-size: 14px; overflow-wrap: anywhere; }
.account-row > div { min-width: 0; }
.account-row-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.account-editor { margin-top: 24px; padding: 24px; background: white; border: 1px solid #dcd8e2; }
.account-editor h3 { margin: 0 0 24px; }
.account-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.account-fields label { display: block; font-weight: 700; margin-bottom: 10px; }
.account-fields input { width: 100%; padding: 12px; border: 1px solid #aaa3b3; border-radius: 0; font: inherit; }
.account-hint, #accounts-status, #account-form-status { color: #706a79; font-size: 14px; line-height: 1.6; }
.account-actions { display: flex; gap: 12px; margin-top: 24px; }
@media (max-width: 520px) { .account-fields { grid-template-columns: 1fr; } .accounts-toolbar { align-items: flex-start; flex-direction: column; } }
