.accounts main {
  width: min(92%, 440px);
  margin: clamp(24px, 5vw, 72px) auto;
}
.account-content {
  min-width: 0;
}
.account-content h1 {
  color: var(--ink);
  font:
    400 clamp(44px, 5.4vw, 76px)/1.03 var(--serif);
  text-align: left;
  margin: 0 0 12px;
  letter-spacing: -0.025em;
}
.account-content p {
  line-height: 1.5;
}
.account-content form,
.provider-list {
  display: grid;
  gap: 10px;
}
.account-content label,
.account-content legend {
  font-weight: 650;
  font-size: 0.94rem;
}
.account-content label small,
.fine {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
}
.account-content input:not([type="checkbox"]),
.account-content textarea {
  font: inherit;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fffdf8;
  width: 100%;
  box-sizing: border-box;
}
.account-content button,
.account-content .primary {
  padding: 11px 16px;
  font: 600 0.9rem var(--mono);
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fffdf8;
  color: var(--ink);
  cursor: pointer;
  text-align: center;
}
.account-content .primary {
  background: var(--ink);
  color: var(--accent);
  border-color: var(--ink);
}
.account-content button:disabled {
  color: var(--muted);
  cursor: default;
  background: #f0f0e8;
}
.account-content fieldset {
  border: 0;
  padding: 0;
  margin: 8px 0 12px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}
.chips button {
  border-radius: 22px;
}
.chips [aria-pressed="true"] {
  background: var(--accent-soft);
  border-color: #985a43;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.check input {
  margin-top: 0.4em;
}
.account-content details {
  margin-top: 20px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.account-content summary {
  cursor: pointer;
  margin-bottom: 8px;
}
.account-content .plain {
  background: none;
  border: 0;
  padding-left: 0;
  text-decoration: underline;
}
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  font: 12px var(--mono);
}
.divider:before,
.divider:after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}
#mode,
#forgot-password-link,
#separate {
  display: inline-block;
  margin-top: 15px;
  text-decoration: underline;
}
.account-content #message {
  color: #724428;
}
.account-content .actions {
  margin-top: 8px;
}
#follow-form {
  margin-top: 12px;
}
#follow-form button {
  justify-self: start;
}
.member-id-row {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.account-content #member-id {
  min-width: 0;
  font-family: var(--mono);
  font-size: 0.79rem;
}
.community-list {
  padding-inline-start: 1.5rem;
}
.community-list li {
  padding: 5px 0;
  overflow-wrap: anywhere;
}
#poll-list {
  padding-inline-start: 0;
  list-style: none;
}
#poll-list a { display: block; }
#poll-list span { color: var(--muted); font-size: .9rem; }
#polls-status:empty { display: none; }
#connection-list {
  list-style: none;
  padding-inline-start: 0;
}
#connection-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
#connection-list button {
  flex-shrink: 0;
}
#rankings h2 {
  margin-bottom: 0;
  font: 400 1.45rem var(--serif);
}
#suggestion-status:empty, #connections-status:empty, #rankings-status:empty {
  display: none;
}
#auth h1 {
  font-size: clamp(44px, 5vw, 64px);
  text-align: center;
}
#intro, #provider-note, #mode {
  text-align: center;
}
#intro { margin: 8px 0 22px; }
#credentials { margin-top: 22px; }
#submit { margin-top: 4px; min-height: 44px; }
.provider-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.provider-row button {
  display: grid;
  place-items: center;
  min-height: 46px;
}
.provider-row button:enabled:hover { border-color: var(--ink); }
.provider-row button:disabled svg { opacity: .68; }
#provider-note { margin: 8px 0 0; }
#provider-note:empty, #message:empty { display: none; }
#mode { display: block; font-size: .92rem; }
#forgot-password-link {
  display: block;
  text-align: center;
  font-size: .92rem;
}
#email-settings {
  margin-bottom: 16px;
}

.accounts [hidden] {
  display: none !important;
}
