/**
 * account.css — Account section styling, shared so it looks and behaves
 * identically in every app. Lifted verbatim from Budget's card/row/btn
 * system (apps/budget/css/style.css) rather than each app growing its own,
 * which is exactly how the two drifted apart once already.
 */
.card {
  background:
    radial-gradient(80% 62px at 100% 0%, color-mix(in srgb, var(--accent) 10%, transparent) 0%, transparent 72%),
    linear-gradient(168deg, color-mix(in srgb, var(--text) 5%, var(--surface)) 0%, var(--surface) 62%);
  border: 1px solid var(--border);
  box-shadow:
    inset 0 1px 0 0 color-mix(in srgb, #fff 7%, transparent),
    0 10px 26px -22px rgba(0, 0, 0, 0.9);
  padding: var(--card-pad);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}
:root[data-theme="light"] .card {
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.9),
    0 10px 24px -22px rgba(15, 23, 32, 0.5);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 4px 0;
}
.row + .row { border-top: 1px solid var(--border); }
.row__label { font-size: 14px; font-weight: 500; }
.row__value {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-dim);
  text-align: right;
}
.row__hint {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-faint);
  margin: 8px 0 0;
}
.row--standalone {
  margin-top: 16px;
  border-top: 1px solid var(--border);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-ui);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  text-decoration: none;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease), transform 0.12s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--accent); color: #0B0D10; }
.btn--primary:hover { background: var(--accent-strong); }
.btn--ghost {
  background: var(--surface-2);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn--ghost:hover { background: var(--surface-3); }
.btn--danger-ghost { color: var(--bad); background: var(--bad-dim); }

.btn-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.btn-row > .btn { flex: 1; }

.field { margin-top: 14px; }
.field:first-of-type { margin-top: 4px; }
.field__label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
input.field__input {
  display: block;
  width: 100%;
  height: 42px;
  padding: 0 13px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
input.field__input::placeholder {
  color: var(--text-faint);
  font-family: var(--font-ui);
  font-size: 13px;
}
input.field__input:focus,
input.field__input:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
