/* Hope account - additions on top of the live site's styles.css + css/shared.css (reuse the tokens). */
.view[hidden] { display: none !important; }
.is-signed-out .ha-in { display: none !important; }
.nav__list a[aria-current="page"] { background: var(--forest); color: var(--white); }
.ha-signin { margin: 0 0 22px; max-width: 460px; padding: 22px; }
.ha-signin .btn { width: 100%; }
.ha-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ha-row .btn { width: auto; }
.ha-sent { font-size: .92rem; margin: 0 0 14px; }
.ha-loading { padding: 80px 0; text-align: center; color: var(--muted); }
.ha-body { padding-block: 32px 64px; }
.ha-h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 4px 0 8px; }
.ha-h2 { font-size: 1.6rem; margin: 0 0 16px; }
.ha-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 18px 0; }
.ha-tile { padding: 16px 18px; }
.ha-tile__l { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.ha-tile__v { font-size: 1.6rem; font-weight: 800; color: var(--forest); margin: 0; }
.ha-cards, .ha-two { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin: 16px 0; }
.ha-card { padding: 20px; margin: 0 0 16px; }
.ha-card--warn { border-left: 4px solid var(--yellow); }
.ha-tablewrap { overflow-x: auto; }
.ha-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.ha-table th { text-align: left; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 8px; border-bottom: 1px solid var(--line); }
.ha-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ha-table .num { font-variant-numeric: tabular-nums; font-weight: 700; }
.ha-block { display: block; }
.ha-pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; border: 1px solid transparent; }
.ha-pill--ok { background: #e6f4ea; color: #146c2e; border-color: #b7e0c2; }
.ha-pill--wait { background: #fff4d6; color: #8a5a00; border-color: #f3d98a; }
.ha-pill--stop { background: #fde8e8; color: #9b1c1c; border-color: #f5b5b5; }
.ha-pill--neutral { background: var(--sage-2); color: var(--forest); }
.ha-btn-sm { padding: 6px 12px; font-size: .82rem; min-height: 36px; }
.ha-strong { font-weight: 700; margin: 10px 0 4px; }
.ha-enrol, .ha-app { padding: 12px 0; border-top: 1px solid var(--line); }
.ha-bar { height: 10px; border-radius: 999px; background: var(--sage-2); overflow: hidden; margin: 6px 0; max-width: 420px; }
.ha-bar span { display: block; height: 100%; background: var(--leaf); border-radius: 999px; }
.ha-docs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 8px 0 0; }
.ha-ticket { text-align: center; }
.ha-qr { width: 180px; margin: 12px auto; }
.ha-qr svg { width: 100%; height: auto; }
.ha-code { font-family: ui-monospace, monospace; font-size: 1.1rem; font-weight: 800; letter-spacing: .08em; }
/* Phones: each gift becomes a small stacked card (date + amount, then fund, status, receipt, download). */
@media (max-width: 599px) {
  .ha-table thead { display: none; }
  .ha-table, .ha-table tbody, .ha-table tr { display: block; }
  .ha-table tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .ha-table td { display: block; padding: 0; border: 0; }
  .ha-table td:nth-child(1) { color: var(--muted); font-size: .85rem; }
  .ha-table td:nth-child(2) { text-align: right; }
  .ha-table td:nth-child(3) { grid-column: 1 / -1; }
  .ha-table td:nth-child(6):empty { display: none; }
  .ha-table td:nth-child(6) { grid-column: 1 / -1; margin-top: 6px; }
}
.ha-people { list-style: none; padding: 0; margin: 8px 0 0; }
.ha-people li { padding: 2px 0; }
.ha-row input { width: auto; flex: 0 1 220px; text-transform: uppercase; }
/* Phones and tablets: the site hides .nav under 900px; here the tabs stay as a scrolling strip under the logo. */
@media (max-width: 899px) {
  .ha .navbar__inner { flex-wrap: wrap; }
  .ha .nav.ha-in { display: block; position: static; order: 3; flex-basis: 100%; box-shadow: none; border: 0; padding: 4px 0 8px; background: transparent; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .ha .nav.ha-in .nav__list { flex-direction: row; gap: 4px; white-space: nowrap; }
  .ha .nav.ha-in .nav__list a { padding: 8px 12px; font-size: .92rem; }
  .ha [data-role="signout"] { margin-left: auto; padding: 8px 14px; min-height: 40px; }
}
.ha-letter { display: block; padding: 6px 0 0; font-size: .8rem; }
