/* hepa "Simple": big counters, big buttons, one thing at a time. Loaded last. */

/* ---- big counters (church overview, call page) */
.big-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 12px; margin: 0 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.big-stat { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 18px; background: #fff;
  border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; }
a.big-stat:hover { border-color: var(--royal); text-decoration: none; }
.big-stat b { font: 800 2rem/1.1 var(--display); color: var(--deep); }
.big-stat span { font-weight: 600; color: var(--ink-2); font-size: .95rem; }
.big-stat.live { background: var(--success-soft); border-color: #BFE3CF; }
.big-stat.live b { color: var(--success); }
.big-stat.warn { background: var(--gold-soft); border-color: var(--gold-2); }
.big-stat.warn b { color: var(--gold-ink); }
.online-dot { position: absolute; top: 16px; right: 16px; width: 12px; height: 12px; border-radius: 50%; background: #22A563; box-shadow: 0 0 0 0 rgba(34,165,99,.5); animation: online-pulse 2s infinite; }
@keyframes online-pulse { 70% { box-shadow: 0 0 0 10px rgba(34,165,99,0); } 100% { box-shadow: 0 0 0 0 rgba(34,165,99,0); } }
@media (prefers-reduced-motion: reduce) { .online-dot { animation: none; } }

/* ---- big action buttons */
.big-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 16px; }
.big-action { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 14px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line-2);
  color: var(--ink); font-weight: 700; font-size: 1.02rem; text-decoration: none; line-height: 1.25; }
.big-action:hover { border-color: var(--royal); text-decoration: none; }
.big-action .ti { flex: none; width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--tint); color: var(--royal); }
.big-action.main { background: var(--royal); border-color: var(--royal); color: #fff; }
.big-action.main .ti { background: rgba(255,255,255,.16); color: #fff; }
.big-action.gold .ti { background: var(--gold-soft); color: var(--gold-ink); }
.big-action em { margin-left: auto; font-style: normal; background: var(--gold); color: #2A1650; border-radius: 999px; padding: 2px 9px; font-size: .85rem; }

/* ---- "See more" fold */
details.more-fold { margin: 6px 0 0; }
details.more-fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 16px;
  background: var(--tint); color: var(--royal); font-weight: 700; font-size: 1rem; }
details.more-fold > summary::-webkit-details-marker { display: none; }
details.more-fold > summary::after { content: "▾"; }
details.more-fold[open] > summary::after { content: "▴"; }
details.more-fold[open] > summary { margin-bottom: 14px; }

/* ---- call members to church */
.call-choices { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.call-choice { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 2px solid var(--line-2); background: #fff; cursor: pointer; font-weight: 600; font-size: 1.02rem; }
.call-choice input { width: 20px; height: 20px; accent-color: var(--royal); flex: none; }
.call-choice:has(input:checked) { border-color: var(--royal); background: var(--tint); }
.call-custom { margin-top: 12px; }
.call-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.call-row:first-of-type { border-top: 0; }
.call-msg { flex: 1 1 240px; display: flex; flex-direction: column; }
.call-counts { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: var(--tint); color: var(--ink-2); font-weight: 600; font-size: .88rem; }
.pill.ok { background: var(--success-soft); color: var(--success); }
.pill.muted { background: #F3F1F6; color: var(--muted); }

/* ---- member: answer a call */
.attend-card { max-width: 560px; margin: 0 auto; text-align: center; padding: 28px 20px; }
.attend-q { font: 800 1.7rem/1.25 var(--display); color: var(--deep); margin: 10px 0 18px; }
.attend-done { font-weight: 700; color: var(--success); font-size: 1.05rem; }
.answer-btns { display: grid; gap: 10px; }
.answer-btns .btn { width: 100%; justify-content: center; min-height: 56px; font-size: 1.1rem; }
.call-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 18px; background: linear-gradient(135deg, var(--deep), var(--royal)); color: #fff; margin: 0 0 16px; }
.call-banner b { font: 800 1.2rem/1.3 var(--display); color: #fff; flex: 1 1 200px; }
.call-banner small { display: block; font-weight: 600; opacity: .85; font-size: .85rem; }
.call-banner form { display: flex; flex-wrap: wrap; gap: 8px; }
.call-banner .btn { min-height: 46px; }
.call-banner .btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }

/* ---- simple personal home */
.tiles.tiles-simple { grid-template-columns: repeat(3, 1fr); }
.tiles.tiles-simple .tile { align-items: center; text-align: center; min-height: 112px; justify-content: center; font-size: 1.02rem; }
.tiles.tiles-simple .tile .ti { width: 48px; height: 48px; }
@media (max-width: 560px) {
  .tiles.tiles-simple { grid-template-columns: repeat(2, 1fr); }
  .big-stat b { font-size: 1.7rem; }
  .big-actions { grid-template-columns: 1fr 1fr; }
  .big-action { flex-direction: column; align-items: flex-start; font-size: .98rem; }
  .call-banner form { width: 100%; } .call-banner .btn { flex: 1; }
}
