/* PULSO account: the same paper, charcoal and terracotta used by the profile. */
.account-panel { min-width: 0; border-top: 1px solid var(--line); padding: 31px 0 34px; margin-top: 30px; }
.account-panel-heading .eyebrow { display: block; margin-bottom: 11px; font-size: 10px; }
.account-panel-heading h2 { font-size: 32px; font-weight: 500; line-height: 1.15; letter-spacing: -.045em; }
.account-panel-heading p { margin-top: 9px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.account-connected, .account-signed-out { margin-top: 25px; }
.account-signed-out { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.account-signed-out > p { color: var(--muted); font-size: 14px; line-height: 1.75; max-width: 640px; }
.account-signin { flex-shrink: 0; }
.account-identity { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.account-identity > div { min-width: 0; }
.account-identity-label { display: block; color: var(--muted); font-size: 11px; margin-bottom: 7px; }
.account-identity strong { display: block; color: var(--ink); font-size: 23px; font-weight: 500; line-height: 1.35; letter-spacing: -.025em; overflow-wrap: anywhere; }
.account-email { display: block; color: var(--muted); font-size: 13px; margin-top: 5px; line-height: 1.65; overflow-wrap: anywhere; }
.account-signout { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.account-signout:hover { color: var(--accent-text); }
.account-sync-status { display: flex; align-items: baseline; gap: 9px; margin-top: 22px; color: var(--ink); font-size: 13px; line-height: 1.7; }
.account-status-dot { display: block; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.account-sync-status[data-sync-status="synced"] .account-status-dot { background: var(--success); }
.account-sync-status[data-sync-status="pending"] .account-status-dot, .account-sync-status[data-sync-status="migration"] .account-status-dot { background: var(--accent-text); }
.account-sync-status[data-sync-status="conflict"] .account-status-dot, .account-sync-status[data-sync-status="error"] .account-status-dot, .account-sync-status[data-sync-status="storage-error"] .account-status-dot { background: var(--danger); }
.account-last-sync { margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.account-sync-actions, .account-choice-actions, .account-decision-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.account-panel .btn { min-height: 44px; }
.account-panel .btn-primary, .account-panel .btn-white { font-size: 13px; }
.account-review { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 25px; }
.account-review > h3, .account-decision > h3 { font-size: 24px; font-weight: 500; line-height: 1.3; letter-spacing: -.035em; }
.account-review > p, .account-decision > p { margin-top: 10px; max-width: 720px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.account-preview { margin-top: 23px; }
.account-preview table { width: 100%; max-width: 790px; border-collapse: collapse; table-layout: fixed; font-size: 13px; }
.account-preview caption { text-align: left; color: var(--muted); font-size: 11px; padding-bottom: 11px; }
.account-preview th, .account-preview td { padding: 13px 15px; border-bottom: 1px solid var(--line); line-height: 1.55; vertical-align: middle; overflow-wrap: anywhere; }
.account-preview th:first-child { padding-left: 0; width: 40%; text-align: left; }
.account-preview thead th { color: var(--muted); font-size: 11px; font-weight: 400; text-align: right; }
.account-preview tbody th { color: var(--muted); font-weight: 400; }
.account-preview td { color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.account-preview th:last-child, .account-preview td:last-child { padding-right: 0; }
.account-preview-note { color: var(--muted); margin-top: 11px; font-size: 11px; line-height: 1.7; }
.account-export-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 22px; margin-top: 14px; }
.account-export-actions .btn { font-size: 12px; padding-left: 0; padding-right: 0; color: var(--accent-text); text-align: left; }
.account-decision { margin-top: 25px; padding-top: 22px; border-top: 1px solid var(--line-strong); }
.account-decision h3:focus { outline: none; }
.account-action-status { color: var(--muted); font-size: 12px; line-height: 1.7; margin-top: 15px; }
.account-action-status:empty { display: none; }
.account-action-status.has-error { color: var(--danger); }
@media (max-width: 700px) {
  .account-panel { margin-top: 24px; padding-top: 25px; padding-bottom: 25px; }
  .account-panel-heading h2 { font-size: 28px; }
  .account-signed-out { align-items: flex-start; flex-direction: column; gap: 18px; }
  .account-signed-out > p, .account-panel-heading p { font-size: 13px; }
  .account-identity { gap: 15px; }
  .account-identity strong { font-size: 21px; }
  .account-email { font-size: 12px; }
  .account-review { margin-top: 23px; padding-top: 21px; }
  .account-review > h3, .account-decision > h3 { font-size: 22px; }
  .account-review > p, .account-decision > p { font-size: 12px; }
  .account-preview th, .account-preview td { padding: 12px 8px; font-size: 12px; }
  .account-preview thead th { font-size: 10px; }
  .account-preview th:first-child { width: 39%; }
  .account-choice-actions, .account-decision-actions { align-items: stretch; flex-direction: column; }
  .account-choice-actions .btn, .account-decision-actions .btn { width: 100%; justify-content: center; }
  .account-export-actions { align-items: flex-start; flex-direction: column; gap: 2px; }
}
