/* account area styles: sign-in (S4), dashboard (S5), submit (S6), settings (S15),
   claim flow (TC-2). See public/css/base.css for tokens and shared classes. */

.acct-inline {
  display: inline;
  margin: 0;
}

.acct-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.acct-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.acct-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.acct-cell-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
.acct-cell-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.acct-cell-action {
  text-align: right;
  white-space: nowrap;
}

.acct-task {
  font-weight: 600;
}
.acct-time {
  font-family: var(--font-mono);
  font-weight: 500;
  white-space: nowrap;
}
.acct-handle {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 17px;
}
.acct-back {
  margin-top: 24px;
}

.acct-block > * + * {
  margin-top: 16px;
}
.acct-dashboard {
  max-width: 1120px;
}

.acct-badge--ended {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink-soft);
}

/* ---- Sign in ----------------------------------------------------------- */

.acct-signin {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 560px;
}
.acct-signin + .acct-signin {
  margin-top: 24px;
}
.acct-signin--dev {
  border-style: dashed;
}

/* ---- Rules list (Please don't), matching S2 ------------------------------ */

.acct-rules {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
  line-height: 1.45;
}
.acct-rules__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.acct-rules__icon {
  flex: none;
  margin-top: 1px;
}
.acct-rules__icon--no {
  color: var(--ember-text);
}

/* ---- Claim flow ---------------------------------------------------------- */

.acct-terms ul {
  margin: 0 0 8px;
  padding-left: 1.2em;
}
.acct-steps {
  margin: 16px 0;
  padding-left: 1.4em;
}
.acct-steps li + li {
  margin-top: 6px;
}

/* ---- Submit -------------------------------------------------------------- */

.acct-delivery,
.acct-disclosure {
  margin-bottom: 24px;
}
.acct-delivery > * + *,
.acct-disclosure > * + * {
  margin-top: 12px;
}
.acct-preline {
  white-space: pre-line;
}
.acct-disclosure__line {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.acct-burn > .field + .field {
  margin-top: 16px;
}

/* ---- Settings ------------------------------------------------------------ */

.acct-danger {
  margin-top: 56px;
  border-color: var(--ember);
}
.acct-danger > * + * {
  margin-top: 12px;
}

@media (max-width: 640px) {
  .acct-cell-action {
    text-align: left;
  }
}
