/* 844-9PRAYER — member account page. Builds on ../styles/main.css tokens. */

[hidden] { display: none !important; }

.acct-main { padding-block: 40px 64px; display: grid; gap: 24px; }
.acct .card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 26px; display: grid; gap: 14px; align-content: start;
}
.acct .card.narrow { width: 100%; max-width: 480px; margin-inline: auto; }
.acct .card.center { text-align: center; justify-items: center; }
.acct h1 { font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2rem); margin: 0; line-height: 1.2; }
.acct h2 { font-family: var(--serif); font-size: 1.3rem; margin: 0; }
.acct p { margin: 0; }
.dim { color: var(--dim); }
.small { font-size: .88rem; }
.eyebrow { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }

.msg { color: var(--accent); font-size: .94rem; }
.msg:empty { display: none; }
.notice {
  border: 1px solid var(--accent-edge); background: var(--accent-soft); color: var(--text);
  border-radius: 12px; padding: 12px 14px; font-size: .94rem;
}
.field-help { font-size: .84rem; color: var(--dim); margin: 2px 0 0; }

/* sign in / create switch */
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--field); border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.seg button {
  background: none; border: 0; border-radius: 9px; padding: 10px; font: inherit; font-weight: 600;
  color: var(--dim); cursor: pointer;
}
.seg button[aria-selected="true"] { background: var(--surface-2, var(--surface)); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.seg button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.btn.wide { width: 100%; justify-content: center; }
.google { width: 100%; justify-content: center; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: .86rem; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
#f-auth, #f-reset, #f-setup, #f-profile { display: grid; gap: 16px; }

.link-btn {
  background: none; border: 0; padding: 4px 0; font: inherit; font-size: .92rem; justify-self: start;
  color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-align: start;
}
.card.center .link-btn { justify-self: center; text-align: center; }
.link-btn:hover { color: var(--text); }
.btn.danger { color: #d0605e; }
.guest a { color: var(--accent); }

/* account */
.acct-head { display: grid; gap: 6px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.badge {
  display: inline-block; font-size: .8rem; font-weight: 600; border-radius: 999px; padding: 4px 12px;
  border: 1px solid var(--line); color: var(--text);
}
.badge.gold { background: var(--badge-bg); color: var(--on-badge); border-color: transparent; }
.plan-name { font-family: var(--serif); font-size: 1.5rem; }
.acct-grid { display: grid; gap: 20px; align-items: start; }
.stack { display: grid; gap: 20px; }
@media (min-width: 900px) { .acct-grid { grid-template-columns: 1.1fr 1fr; } }
.card .btn-sm { justify-self: start; }

.back-home { text-align: center; font-size: .92rem; justify-self: center; }
.back-home a { color: var(--dim); }
.prayer-list { margin-bottom: 20px; }
.pl-items { display: grid; gap: 12px; }
.pl-item { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 8px; background: var(--surface-2, var(--surface)); }
.pl-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pl-body { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.55; }
.pl-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
