/* The focused account surfaces use Sidecar's type, chrome, controls and tokens. */
.account-topbar .brand span { display: inline; font-size: 13px; font-weight: 600; letter-spacing: 0; }
.account-mode .account-shell { width: min(100% - 32px, 520px); margin: clamp(28px, 8vh, 76px) auto 48px; }
.account-mode .account-card { margin: 0; padding: clamp(20px, 5vw, 32px); }
.account-card h1, .account-card [data-signup-title] { margin: 0 0 8px; line-height: 1.15; }
.account-card p { overflow-wrap: anywhere; }
.account-card .account-copy { margin: 0 0 22px; color: var(--muted); }
.account-card :is(h1, h2, h3, .account-message):focus { outline: none; }
.account-card .account-form { display: grid; gap: 8px; }
.account-form label { font-size: 14px; font-weight: 600; }
.account-form input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--ground);
  color: var(--ink);
}
.account-card .account-field { display: grid; gap: 6px; }
.account-field + .account-field { margin-top: 6px; }
.account-card .account-action {
  width: 100%;
  margin-top: 14px;
  background: var(--action);
  color: #fff;
  font-weight: 600;
}
.account-card .account-action:hover:not(:disabled) { background: var(--action); border-color: var(--accent); }
.account-card .account-action:active { opacity: .85; }
.account-card .account-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 16px;
  margin-top: 12px;
  font-size: 14px;
}
.account-card .account-links a, .account-card .account-text {
  min-height: 44px;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: .18em;
}
.account-card .account-text:hover:not(:disabled) { background: transparent; color: var(--accent); }
.account-card .account-identity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2px 14px;
  flex-wrap: wrap;
  min-width: 0;
  margin: 0 0 14px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--raised);
}
.account-identity dl { margin: 0; min-width: 0; }
.account-identity dt, .account-card .account-hint { color: var(--muted); font-size: 13px; }
.account-identity dd { margin: 0; overflow-wrap: anywhere; font-weight: 600; }
.account-identity .account-text { font-size: 13px; }
.account-card .account-hint { margin: 8px 0 0; }
.account-card .account-message {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-left: 2px solid var(--accent);
  background: var(--raised);
  color: var(--ink);
  font-size: 14px;
}
.account-message:empty { display: none; }
.account-mode .account-card #confirmation-status { margin: 8px 0 18px; }
.account-mode .account-card #confirmation-status:not([role="alert"]) {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
}
.account-mode .setup-main { padding: 0; width: 100%; }
.account-mode :is(.setup-header, .setup-steps, .setup-art, .setup-footer) { display: none; }
@media (max-width: 360px) {
  .account-mode .account-shell { width: calc(100% - 24px); }
  .account-mode .account-card { padding: 16px; }
}
.account-mode [data-entry-only], .account-mode [data-account-entry] > summary { display: none; }
.account-mode .account-signup-title { font-size: clamp(24px, 3vw, 36px); font-weight: 600; }
@media (max-width: 700px) {
  .account-mode .account-shell { margin-top: 24px; }
}
