
#accountEntry { display: flex; align-items: center; margin-inline-start: auto; }
.account-chip { display: inline-flex; align-items: center; gap: 7px; min-width: 0; vertical-align: middle; color: #3d2c1e; font: inherit; }
button.account-chip, .account-login, .account-dialog button { padding: 4px 8px; border: 1px solid #b58e61; border-radius: 5px; background: #f5e6c8; color: #3d2c1e; cursor: pointer; font: inherit; }
button.account-chip:hover, .account-login:hover, .account-dialog button:hover { background: #e4efd8; }
.account-dialog button:disabled { opacity: .6; cursor: wait; }
.account-avatar { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border: 1px solid #a98258; border-radius: 7px; overflow: hidden; background: #e4efd8; color: #35552b; font-weight: bold; }
.account-avatar img { width: 100%; height: 100%; object-fit: cover; }
.account-name { overflow-wrap: anywhere; }
#accountEntry .account-name { max-width: 11em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.account-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.account-dialog p { margin: 8px 0; }
.account-banner { padding: 14px; border: 1px solid #c8aa82; border-radius: 6px; background: #e4efd8; font-size: 18px; font-weight: 700; }
.account-banner .account-avatar { width: 60px; height: 60px; border-width: 2px; background: #fff8e7; font-size: 25px; }
.account-form { display: grid; gap: 10px; margin-top: 12px; }
.account-form label { display: grid; gap: 4px; }
.account-form :is(input, textarea) { width: 100%; min-width: 0; padding: 8px; border: 1px solid #b58e61; border-radius: 4px; background: #fffdf5; color: #3d2c1e; font: inherit; }
.account-form textarea { resize: vertical; }
.account-details { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 16px; margin-top: 14px; }
.account-details dt { font-weight: 700; color: #35552b; }
.account-details dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.account-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.account-dialog [type="submit"] { background: #e4efd8; border-color: #6a994e; font-weight: 700; }
.account-status { min-height: 1.3em; color: #35552b; }
.account-admin-link{display:inline-flex;align-items:center;margin-left:8px;padding:5px 8px;border:1px solid #c8aa82;border-radius:5px;background:#f8efde;color:#5a7e3e;font-size:11px;font-weight:800;text-decoration:none;}
