#er-profile {
  --account-surface: var(--paper);
  --account-fill: color-mix(in srgb, var(--ink) 7%, var(--paper));
  --account-divider: color-mix(in srgb, var(--ink) 13%, var(--paper));
  --account-action: var(--ink);
  --account-action-ink: var(--paper);
  --account-shadow: none;
  display: grid;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
  color: var(--ink);
  font-family: inherit;
}
:root[data-variant="glass"] #er-profile {
  --account-surface: #fff;
  --account-action: linear-gradient(55deg, #f8b23e -2%, #f6496e 40%, #c5349f 70%, #7629c8 100%);
  --account-action-ink: white;
  --account-shadow: 0 2px 6px #15111e0c;
}
:root[data-variant="glass"][data-theme="dark"] #er-profile {
  --account-surface: #1d1928;
  --account-shadow: 0 2px 6px #08070d33;
}
.account-grid { display: grid; gap: 18px; }
.account-card, .account-list {
  min-width: 0;
  border: 0;
  border-radius: 20px;
  padding: 0 16px;
  background: var(--account-surface);
  color: var(--ink);
  box-shadow: var(--account-shadow);
}
.account-card :is(h2,h3,h4,p,dl,dd) { margin: 0; }
.account-card h2 { font-family: var(--er-font-display, inherit); font-size: 19px; line-height: 1.17; letter-spacing: -.042em; overflow-wrap: anywhere; }
.account-card h3 { font-size: 15px; letter-spacing: -.025em; }
.account-card h4 { font-size: 13px; margin: 10px 0 3px; }
.account-card p { color: var(--muted); font-size: 13px; line-height: 1.45; }
.account-card.account-id-card { padding: 16px; }
.account-identity, .account-row-label, .account-setting, .account-pending, .account-summary, .account-admin-link { display: flex; align-items: center; }
.account-identity { gap: 14px; }
.account-identity p { margin-top: 3px; min-height: 1.45em; font-size: 13px; }
.account-grid > .account-feedback:empty { display: none; }
.account-avatar { display: grid; place-items: center; width: 52px; height: 52px; flex: 0 0 52px; border-radius: 50%; background: var(--account-fill); color: var(--ink); font-size: 20px; font-weight: 750; }
:root[data-theme="dark"] .account-avatar { background: linear-gradient(145deg,#312c3b,#14121a); color: white; }
:root[data-variant="classic"] .account-avatar { background: var(--lime); color: #252722; border-radius: 17px; }
.account-card :is(button,a,summary) { border: 0; font: inherit; cursor: pointer; color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.account-card .account-primary { display: block; width: 100%; margin-top: 16px; min-height: 50px; border-radius: 999px; padding: 10px 16px; background: var(--account-action); color: var(--account-action-ink); font-size: 14px; font-weight: 700; }
.account-list { padding: 0 16px; }
.account-list .account-card { padding: 0; box-shadow: none; border-radius: 0; background: transparent; }
.account-list > .account-card + .account-card, .account-setting + .account-setting { border-top: 1px solid var(--account-divider); }
.account-row-label { min-width: 0; gap: 12px; }
.account-row-label > svg { width: 18px; height: 18px; color: var(--muted); fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.account-row-label strong, .account-row-label small { display: block; }
.account-row-label strong { font-size: 14px; font-weight: 610; line-height: 1.3; }
.account-row-label small { color: var(--muted); font-size: 12px; line-height: 1.35; margin-top: 1px; }
.account-summary, .account-admin-link { gap: 12px; justify-content: space-between; min-height: 57px; padding: 10px 0; list-style: none; background: transparent; }
.account-summary::-webkit-details-marker { display:none; }
.account-summary::after, .account-admin-link::after { content: ""; margin-inline: 5px 7px; width: 7px; height: 7px; flex: none; border-top: 1.5px solid var(--muted); border-right: 1.5px solid var(--muted); transform: rotate(45deg); }
.account-card[open] > .account-summary::after { transform: rotate(135deg); }
.account-card[open] { padding-bottom: 15px; }
.account-card[open] > p { padding: 1px 0 5px 30px; }
.account-card .account-stats { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 10px 0 5px 30px; }
.account-stats div { display: flex; flex-direction: column-reverse; gap: 3px; }
.account-stats dt { font-size: 11px; color: var(--muted); }
.account-stats dd { font-size: 20px; font-weight: 690; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.account-actions { margin: 10px 0 0 30px; }
.account-card .account-secondary, .account-grid > .account-secondary { min-height: 42px; padding: 8px 14px; border: 0; border-radius: 11px; background: var(--account-fill); color: var(--ink); font-size: 13px; font-weight: 630; }
.account-url { width: 100%; margin-top: 8px; border: 0; outline: 0; padding: 10px; border-radius: 12px; background: var(--account-fill); color: var(--ink); }
.account-card .account-feedback:not(:empty) { margin: 6px 0 0 30px; }
.account-appearance > h3, .account-management > h3 { position: absolute; width:1px; height:1px; margin: -1px; overflow:hidden; clip-path: inset(50%); }
.account-setting { min-height: 55px; justify-content: space-between; gap: 6px; }
.account-group { display: flex; gap: 2px; position: relative; align-items: center; isolation: isolate; }
.account-group::before { content: ""; position: absolute; inset: 5px 0; border-radius: 30px; z-index: -1; background: var(--account-fill); }
.account-group .account-choice { min-height: 44px; margin: 0; position: relative; isolation: isolate; border-radius: 22px; padding: 5px 9px; color: var(--muted); background: transparent; font-size: 11px; font-weight: 620; }
.account-group .account-choice:first-child { margin-left: 3px; }
.account-group .account-choice:last-child { margin-right: 3px; }
.account-choice[aria-pressed="true"] { color: var(--ink); }
.account-choice[aria-pressed="true"]::before { content:""; position:absolute; inset: 8px 0; z-index:-1; border-radius: 20px; background: var(--account-surface); box-shadow: 0 1px 4px #19132420; }
:root[data-variant="glass"][data-theme="dark"] .account-choice[aria-pressed="true"] { color: #211a2e; }
:root[data-variant="glass"][data-theme="dark"] .account-choice[aria-pressed="true"]::before { background: #f3effa; }
.account-card .account-switch { position:relative; width:46px; height:44px; background:transparent; }
.account-switch::before, .account-switch::after { content:""; position:absolute; border-radius:30px; }
.account-switch::before { inset:10px 0; background:var(--account-fill); }
.account-switch::after { width:18px; height:18px; left:3px; top:13px; background:var(--muted); }
.account-switch[aria-checked="true"]::before { background:var(--account-action); }
.account-switch[aria-checked="true"]::after { left:25px; background:var(--account-action-ink); }
.account-pending { justify-content: space-between; flex-wrap: wrap; gap:8px; padding: 8px 0 12px; font-size: 13px; }
.account-card :is(button,summary,a):focus-visible { outline: none; box-shadow: inset 0 -3px var(--ink); }
.account-card button:disabled { opacity:.55; }
@media (min-width: 800px) { #er-profile { max-width: 640px; } .account-card.account-id-card { padding: 22px; } }
@media (max-width: 350px) { .account-setting { flex-wrap:wrap; padding-block:4px; } .account-row-label { gap:7px; } }
