*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --deep-hero: #061522;
  --deep-hero-2: #0B2130;
  --hero-gold-glow: rgba(216, 176, 88, 0.24);
  --deep: var(--deep-hero);
  --forest: var(--deep-hero-2);
  --wine: #5C1E1E;
  --wine-soft: rgba(92, 30, 30, 0.1);
  --gold: #C8A24A;
  --gold-soft: rgba(184, 144, 47, 0.14);
  --cream: #F6F1E8;
  --paper: #FDFBF7;
  --stone: #6F6A60;
  --muted: #9A9488;
  --ink: #171715;
  --line: rgba(111, 106, 96, 0.18);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --r: 10px;
  --rlg: 14px;
  --shadow: 0 10px 30px rgba(6, 21, 34, 0.08);
}

html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, input, select, textarea { font: inherit; }
[hidden] { display: none !important; }

.app {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--deep);
  color: var(--cream);
  border-right: 1px solid rgba(184, 144, 47, 0.22);
  overflow: hidden;
}

.sidebar-scroll {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(184, 144, 47, 0.35) rgba(246, 241, 232, 0.04);
}

.brand {
  padding: 1.45rem 1.25rem 1.15rem;
  border-bottom: 1px solid rgba(184, 144, 47, 0.16);
  position: relative;
}

.brand::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 220px;
  height: 120px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at top, rgba(184, 144, 47, 0.13), transparent 68%);
  pointer-events: none;
}

.brand-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.7rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(184, 144, 47, 0.32);
  border-radius: 9px;
  background: rgba(184, 144, 47, 0.12);
  flex: 0 0 auto;
}

.brand-mark img { width: 37px; height: 37px; object-fit: contain; }
.dashboard-home-mark {
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.dashboard-home-mark:hover {
  border-color: rgba(200, 162, 74, 0.72);
  background: rgba(200, 162, 74, 0.2);
  transform: translateY(-1px);
}
.dashboard-home-cue {
  border: 1px solid rgba(200, 162, 74, 0.42);
  border-radius: 999px;
  padding: 0.18rem 0.48rem;
  color: var(--gold);
  background: rgba(200, 162, 74, 0.1);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brand-name { font-family: var(--serif); font-size: 26px; color: var(--cream); font-weight: 500; }
.brand-name em { color: var(--gold); font-style: normal; }

.pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  border: 1px solid rgba(184, 144, 47, 0.32);
  border-radius: 999px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  text-transform: uppercase;
}

.auth-panel,
.profile-panel,
.sidebar-card,
.sidebar-footer {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(184, 144, 47, 0.11);
}

.auth-panel label,
.form-label {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.auth-panel input,
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  border: 1px solid rgba(111, 106, 96, 0.24);
  border-radius: var(--r);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}

.fee-toggle {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 0.95rem;
  border: 1px solid rgba(184, 144, 47, 0.25);
  border-radius: var(--r);
  background: rgba(200, 162, 74, 0.1);
  padding: 0.8rem 0.9rem;
  cursor: pointer;
}

.fee-toggle input {
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
  accent-color: var(--gold);
  flex: 0 0 auto;
}

.fee-toggle strong,
.fee-toggle small {
  display: block;
}

.fee-toggle strong {
  color: var(--deep);
  font-size: 13px;
}

.fee-toggle small {
  margin-top: 0.15rem;
  color: var(--stone);
  font-size: 12px;
  line-height: 1.45;
}

.payment-method-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.55rem;
}

.payment-method-card {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  border: 1px solid rgba(184, 144, 47, 0.25);
  border-radius: var(--r);
  background: rgba(255, 253, 248, 0.8);
  padding: 0.8rem;
  cursor: pointer;
}

.payment-method-card:has(input:checked) {
  border-color: rgba(184, 144, 47, 0.72);
  background: rgba(200, 162, 74, 0.12);
}

.payment-method-card input {
  margin-top: 0.15rem;
  accent-color: var(--gold);
}

.payment-method-card strong,
.payment-method-card small {
  display: block;
}

.payment-method-card strong {
  color: var(--deep);
  font-size: 13px;
}

.payment-method-card small {
  margin-top: 0.15rem;
  color: var(--stone);
  font-size: 12px;
  line-height: 1.45;
}

.gift-option-preview {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.65rem;
  border: 1px solid rgba(184, 144, 47, 0.2);
  border-radius: var(--r);
  background: var(--paper);
  padding: 0.75rem;
}

.gift-option-preview strong {
  color: var(--deep);
  font-size: 14px;
}

.gift-option-preview span,
.gift-option-preview small {
  color: var(--stone);
  font-size: 12px;
  line-height: 1.45;
}

.auth-panel input {
  background: rgba(246, 241, 232, 0.06);
  border-color: rgba(184, 144, 47, 0.2);
  color: var(--cream);
}

.auth-panel input::placeholder { color: rgba(166, 159, 145, 0.52); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus,
.auth-panel input:focus {
  border-color: rgba(184, 144, 47, 0.62);
  box-shadow: 0 0 0 3px rgba(184, 144, 47, 0.11);
}

.auth-grid { display: grid; gap: 9px; }

.profile-name {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.15;
}

.profile-meta { margin-top: 4px; color: rgba(246, 241, 232, 0.58); font-size: 12px; line-height: 1.5; }

.nav {
  display: grid;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(184, 144, 47, 0.11);
}

.nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0.65rem 1.25rem;
  border-left: 3px solid transparent;
  color: rgba(246, 241, 232, 0.68);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.nav a:hover,
.nav a.active {
  background: rgba(184, 144, 47, 0.1);
  border-left-color: var(--gold);
  color: var(--cream);
}

.nav svg,
.sidebar-link svg,
.btn svg,
.card-icon svg,
.offering-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.nav svg .icon-dot,
.mobile-tabbar svg .icon-dot,
.card-icon svg .icon-dot,
.offering-icon svg .icon-dot {
  fill: currentColor;
  stroke: none;
}

.sidebar-card h3 {
  margin-bottom: 0.7rem;
  color: rgba(246, 241, 232, 0.82);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mini-list { display: grid; gap: 8px; }
.mini-item {
  border: 1px solid rgba(184, 144, 47, 0.14);
  border-radius: var(--r);
  background: rgba(246, 241, 232, 0.05);
  padding: 0.75rem;
}
.mini-item strong { display: block; color: var(--cream); font-size: 13px; }
.mini-item span { display: block; margin-top: 3px; color: rgba(246, 241, 232, 0.56); font-size: 11px; line-height: 1.45; }

.sidebar-footer {
  margin-top: auto;
  display: grid;
  gap: 8px;
  border-bottom: 0;
  border-top: 1px solid rgba(184, 144, 47, 0.11);
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(166, 159, 145, 0.66);
  font-size: 12px;
  text-decoration: none;
}
.sidebar-link:hover { color: var(--cream); }

.content { min-width: 0; min-height: 100vh; display: flex; flex-direction: column; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 60px;
  padding: 0 2rem;
  border-bottom: 1px solid var(--line);
  background: rgba(253, 251, 247, 0.94);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar-title {
  color: var(--deep);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}

.topbar-actions { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }

.page {
  flex: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 1.5rem 2rem 3rem;
}

.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(184, 144, 47, 0.2);
  border-radius: var(--rlg);
  background: var(--deep);
  color: var(--cream);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 300px;
  background: radial-gradient(ellipse at top, rgba(200, 162, 74, 0.13) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 162, 74, 0.06) 0%, rgba(11, 33, 48, 0.08) 38%, transparent 70%);
  filter: blur(34px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.eyebrow {
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: 0; }
h1 { margin-top: 0.25rem; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 0.98; }
.hero p { margin-top: 0.6rem; max-width: 680px; color: rgba(246, 241, 232, 0.72); font-size: 14px; line-height: 1.7; }

.hero-mark {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(184, 144, 47, 0.28);
  border-radius: 18px;
  background: rgba(246, 241, 232, 0.07);
}
.hero-mark img { width: 76px; height: 76px; object-fit: contain; }

.grid { display: grid; gap: 1rem; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.layout-main { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 1rem; margin-top: 1rem; align-items: start; }

.card {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--rlg);
  box-shadow: 0 3px 12px rgba(6, 21, 34, 0.04);
  overflow: hidden;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(184, 144, 47, 0.12), rgba(11, 33, 48, 0.08)),
    linear-gradient(180deg, white, var(--paper));
}

.card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--deep);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.15;
}

.card-icon,
.offering-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(184, 144, 47, 0.24);
  border-radius: 8px;
  background: var(--gold-soft);
  color: var(--gold);
  flex: 0 0 auto;
}

.card-body { padding: 1.15rem; }

.metric-card {
  position: relative;
  min-height: 118px;
  padding: 1rem;
  border-radius: var(--rlg);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(184, 144, 47, 0.16), rgba(11, 33, 48, 0.08) 48%, rgba(255, 255, 255, 0.96) 100%),
    white;
  overflow: hidden;
  box-shadow: 0 7px 22px rgba(6, 21, 34, 0.06);
}
.metric-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), rgba(184, 144, 47, 0.78), rgba(11, 33, 48, 0.78), var(--forest));
}
.metric-card::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -58px;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(11, 33, 48, 0.12), transparent 68%);
  pointer-events: none;
}
.metric-label, .metric-value, .metric-note { position: relative; z-index: 1; }
.metric-label { color: var(--stone); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.metric-value { margin-top: 0.45rem; color: var(--deep); font-family: var(--serif); font-size: 34px; line-height: 1; }
.metric-note { margin-top: 0.5rem; color: var(--stone); font-size: 12px; line-height: 1.45; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  border: 0;
  border-radius: var(--r);
  padding: 9px 15px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 7px 18px rgba(6, 21, 34, 0.13); }
.btn-primary { background: var(--deep); color: var(--cream); }
.btn-primary:hover { background: var(--forest); }
.btn-gold { background: var(--gold); color: var(--deep); }
.btn-ghost { background: white; color: var(--deep); border: 1px solid var(--line); }
.btn-ghost-dark { background: rgba(246, 241, 232, 0.08); color: var(--cream); border: 1px solid rgba(184, 144, 47, 0.2); }
.btn-wine { background: var(--wine); color: var(--cream); }
.btn-sm { min-height: 32px; padding: 7px 11px; font-size: 12px; }
.btn-block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 1.25rem 0 1rem;
}

.section-divider span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-divider::before,
.section-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.quick-amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: 0.7rem 0; }
.quick-amounts button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--deep);
  padding: 9px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.quick-amounts button.active { background: var(--gold-soft); border-color: rgba(184, 144, 47, 0.42); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group.full { grid-column: 1 / -1; }
.form-textarea { min-height: 112px; resize: vertical; line-height: 1.55; }
.form-help { margin-top: 5px; color: var(--stone); font-size: 12px; line-height: 1.5; }
.parish-search { margin-bottom: 0.35rem; }
.change-parish-link {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  width: fit-content;
}
.change-parish-link:hover { color: var(--deep); }

.offering-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.85rem; }
.offering-card {
  border: 1px solid var(--line);
  border-radius: var(--rlg);
  background: white;
  padding: 1rem;
  color: var(--deep);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.offering-card:hover { transform: translateY(-2px); border-color: rgba(184, 144, 47, 0.42); box-shadow: var(--shadow); }
.offering-card h3 { margin-top: 0.8rem; font-size: 21px; color: var(--deep); }
.offering-card p { margin-top: 0.35rem; color: var(--stone); font-size: 13px; line-height: 1.55; }

.quick-give-mode #offeringGrid {
  display: none;
}

.quick-give-context {
  margin-bottom: 1rem;
  border: 1px solid rgba(184, 144, 47, 0.24);
  border-radius: var(--r);
  background: linear-gradient(90deg, rgba(184, 144, 47, 0.14), rgba(11, 33, 48, 0.08));
  color: var(--deep);
  font-size: 13px;
  line-height: 1.65;
  padding: 0.85rem 1rem;
}

.change-gift-link {
  color: var(--forest);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.change-gift-link:hover {
  color: var(--gold);
}

.list { display: grid; gap: 0.7rem; }
.list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
  padding: 0.85rem;
}
.list-main strong { display: block; color: var(--deep); font-size: 14px; }
.list-main span { display: block; margin-top: 3px; color: var(--stone); font-size: 12px; line-height: 1.45; }
.list-amount { text-align: right; color: var(--deep); font-family: var(--serif); font-size: 22px; line-height: 1; }
.list-amount small { display: block; margin-top: 0.28rem; color: var(--muted); font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

.status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(11, 33, 48, 0.1);
  color: var(--forest);
  font-size: 11px;
  font-weight: 800;
  text-transform: capitalize;
}
.status-pill.pending { background: var(--gold-soft); color: #7a5c17; }
.status-pill.wine { background: var(--wine-soft); color: var(--wine); }

.card-copy {
  color: var(--stone);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 0.85rem;
}

.recurring-management-card {
  border-top: 3px solid var(--gold);
}

.recurring-management-list {
  display: grid;
  gap: 0.7rem;
}

.recurring-management-row,
.recurring-management-empty {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  border: 1px solid rgba(184, 144, 47, 0.22);
  border-radius: var(--r);
  background: linear-gradient(90deg, rgba(200, 162, 74, 0.1), rgba(255, 255, 255, 0.76));
  padding: 0.85rem;
}

.recurring-management-row strong,
.recurring-management-empty strong {
  display: block;
  color: var(--deep);
  font-size: 14px;
}

.recurring-management-row span,
.recurring-management-empty span {
  display: block;
  margin-top: 0.22rem;
  color: var(--stone);
  font-size: 12px;
  line-height: 1.45;
}

.recurring-management-empty {
  grid-template-columns: minmax(0, 1fr) auto;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--rlg);
  overflow: hidden;
  background: white;
}
.day-head,
.day {
  min-height: 86px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.65rem;
}
.day-head {
  min-height: auto;
  background: var(--deep);
  color: rgba(246, 241, 232, 0.75);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.day:nth-child(7n),
.day-head:nth-child(7n) { border-right: 0; }
.day-number { color: var(--muted); font-size: 12px; font-weight: 700; }
.feast {
  margin-top: 0.45rem;
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  background: var(--gold-soft);
  padding: 0.45rem;
  color: var(--deep);
  font-size: 11px;
  line-height: 1.35;
}
.feast.major { border-left-color: var(--wine); background: var(--wine-soft); }

.notice {
  border: 1px solid rgba(184, 144, 47, 0.28);
  border-radius: var(--r);
  background: var(--gold-soft);
  color: #6b5012;
  padding: 0.85rem 1rem;
  font-size: 13px;
  line-height: 1.6;
}
.notice.success { background: rgba(11, 33, 48, 0.08); border-color: rgba(11, 33, 48, 0.22); color: var(--forest); }
.notice.error { background: rgba(92, 30, 30, 0.08); border-color: rgba(92, 30, 30, 0.22); color: var(--wine); }
.desktop-status { margin: 1rem 0; }

.section-gap { margin-top: 1rem; }
.mobile-only { display: none; }

body.donor-login-simple {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -10%, rgba(184, 144, 47, 0.16), transparent 30rem),
    linear-gradient(180deg, rgba(253, 251, 247, 0.72), transparent 24rem),
    var(--cream);
}

.donor-auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.donor-auth-shell {
  width: min(100%, 540px);
  display: grid;
  gap: 1rem;
}

.donor-auth-intro {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.donor-auth-intro img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  opacity: 0.82;
}

.donor-auth-intro h1 {
  margin: 0.2rem 0 0;
  color: #050505;
  font-family: var(--sans);
  font-size: clamp(2.15rem, 8vw, 3.15rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.02;
}

.donor-auth-intro p {
  margin-top: 0.7rem;
  border: 1px solid rgba(184, 144, 47, 0.32);
  border-radius: 12px;
  background: rgba(184, 144, 47, 0.1);
  color: #6b5012;
  padding: 0.8rem 0.9rem;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.donor-auth-card {
  display: grid;
  gap: 0.85rem;
  border: 1px solid rgba(184, 144, 47, 0.25);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  padding: 1rem;
  box-shadow: 0 14px 36px rgba(6, 21, 34, 0.08);
}

.donor-auth-card h2 {
  margin: 0;
  color: var(--deep);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
}

.donor-auth-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 0.25rem;
}

.donor-auth-actions .btn {
  width: 100%;
  justify-content: center;
  min-height: 46px;
}

.pwa-install-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  border: 1px solid rgba(200, 162, 74, 0.32);
  border-radius: 16px;
  background:
    radial-gradient(circle at 90% 10%, rgba(200, 162, 74, 0.16), transparent 44%),
    linear-gradient(145deg, rgba(6, 21, 34, 0.98), rgba(11, 33, 48, 0.96));
  color: var(--cream);
  padding: 1rem;
  box-shadow: 0 16px 36px rgba(6, 21, 34, 0.16);
}

.pwa-install-kicker {
  display: block;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pwa-install-card h2 {
  margin: 0.25rem 0 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
}

.pwa-install-card p {
  margin-top: 0.4rem;
  color: rgba(246, 241, 232, 0.78);
  font-size: 13px;
  line-height: 1.5;
}

.pwa-install-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 0.55rem;
}

.pwa-install-actions .btn {
  min-height: 40px;
  justify-content: center;
}

.pwa-install-actions .btn-ghost {
  background: rgba(246, 241, 232, 0.08);
  border-color: rgba(200, 162, 74, 0.28);
  color: var(--cream);
}

@media (max-width: 520px) {
  .donor-auth-page {
    align-items: start;
    padding: 1.2rem 1rem;
  }

  .donor-auth-intro {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 0.75rem;
  }

  .donor-auth-intro img {
    width: 60px;
    height: 60px;
  }

  .donor-auth-actions {
    grid-template-columns: 1fr;
  }

  .pwa-install-card {
    grid-template-columns: 1fr;
  }

  .pwa-install-actions {
    justify-content: stretch;
  }

  .pwa-install-actions .btn {
    flex: 1 1 140px;
  }
}

@media (max-width: 980px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; }
  .sidebar-scroll { overflow: visible; }
  .sidebar-card { display: none; }
  .sidebar-footer { margin-top: 0; }
  .layout-main, .grid.two, .grid.three, .grid.four, .offering-grid { grid-template-columns: 1fr; }
  .topbar { padding: 0.85rem 1rem; align-items: flex-start; flex-direction: column; }
  .page { padding: 1rem 1rem 2rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
}

@media (max-width: 640px) {
  .form-grid, .quick-amounts { grid-template-columns: 1fr 1fr; }
  .list-item { grid-template-columns: 1fr; }
  .list-amount { text-align: left; }
  .recurring-management-row,
  .recurring-management-empty {
    grid-template-columns: 1fr;
  }
  .recurring-management-row .btn,
  .recurring-management-empty .btn {
    width: 100%;
    justify-content: center;
  }
  .calendar-grid { display: block; border: 0; background: transparent; }
  .day-head { display: none; }
  .day {
    min-height: auto;
    margin-bottom: 8px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: white;
  }
}

@media (max-width: 720px) {
  body { overflow-x: hidden; }
  .payment-method-options { grid-template-columns: 1fr; }
  .brand { padding: 1rem; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-mark img { width: 32px; height: 32px; }
  .brand-name { font-size: 24px; }
  .profile-panel,
  .sidebar-footer { padding: 0.85rem 1rem; }
  .nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 0.75rem 1rem;
  }
  .nav a {
    min-height: 44px;
    border: 1px solid rgba(184, 144, 47, 0.12);
    border-radius: var(--r);
    padding: 0.65rem 0.7rem;
    background: rgba(246, 241, 232, 0.035);
  }
  .nav a:hover,
  .nav a.active {
    border-left-color: rgba(184, 144, 47, 0.12);
    border-color: rgba(184, 144, 47, 0.32);
    padding-left: 0.7rem;
  }
  .topbar { gap: 0.7rem; }
  .topbar-actions,
  .card-header,
  .hero-grid { align-items: stretch; }
  .topbar-actions,
  .card-header { flex-direction: column; }
  .page { padding: 0.85rem 0.85rem 1.5rem; }
  .hero { padding: 1.1rem; border-radius: var(--r); }
  h1 { font-size: clamp(2rem, 12vw, 2.7rem); }
  .card { border-radius: var(--r); }
  .card-header,
  .card-body { padding: 0.9rem; }
  .btn,
  .quick-amounts button { min-height: 44px; }
  .btn-row,
  .actions { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .btn-row .btn,
  .actions .btn,
  .topbar .btn { width: 100%; justify-content: center; }
  .offering-card { min-height: 112px; }
  .calendar-toolbar,
  .filter-row { display: grid; grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 430px) {
  .nav { grid-template-columns: 1fr; }
  .form-grid,
  .quick-amounts { grid-template-columns: 1fr; }
  .metric-value { font-size: 28px; }
  .list-item { padding: 0.85rem; }
}

/* Donor home: mobile-app presentation */
body.donor-home {
  background:
    radial-gradient(circle at 50% -10%, rgba(184, 144, 47, 0.12), transparent 32rem),
    var(--cream);
}

.donor-home .donor-app-shell {
  display: block;
  min-height: 100vh;
}

.donor-home-sidebar,
.donor-home-topbar {
  display: none;
}

.donor-desktop-home {
  display: none;
}

.donor-desktop-home[hidden] {
  display: none !important;
}

.my-agapay-home[hidden] {
  display: none !important;
}

.my-agapay-tabbar[hidden] {
  display: none !important;
}

.donor-home-sidebar {
  background:
    radial-gradient(circle at 50% 18%, rgba(201, 162, 91, 0.18), transparent 17rem),
    linear-gradient(180deg, #092139 0%, #061522 48%, #04101d 100%);
}

.donor-home-sidebar .sidebar-scroll {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.donor-home-sidebar .unified-brand {
  align-items: center;
  gap: 0.35rem;
  padding: 1.2rem 0.5rem 1.35rem;
  text-align: center;
}

.donor-home-sidebar .unified-brand .brand-mark {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 0.2rem;
}

.donor-home-sidebar .unified-brand .brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.donor-home-sidebar .unified-brand .brand-name {
  font-family: var(--serif);
  font-size: 2.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 0.9;
  color: var(--gold);
}

.donor-home-sidebar .dashboard-home-cue {
  color: rgba(246, 241, 232, 0.78);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.donor-home-sidebar .profile-panel {
  border-color: rgba(201, 162, 91, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.donor-home-sidebar .profile-name {
  color: #fffdf8;
}

.donor-home-sidebar .profile-meta {
  color: rgba(246, 241, 232, 0.68);
}

.unified-product-nav {
  gap: 0.35rem;
  margin-top: 0.85rem;
}

.unified-product-nav a {
  position: relative;
  min-height: 3.15rem;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 0.76rem 0.82rem;
  color: rgba(246, 241, 232, 0.86);
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
}

.unified-product-nav a.active,
.unified-product-nav a:hover {
  border-color: rgba(201, 162, 91, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fffdf8;
}

.unified-product-nav svg {
  color: currentColor;
}

.unified-nav-badge {
  margin-left: auto;
  border-radius: 999px;
  padding: 0.2rem 0.45rem;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.unified-nav-divider {
  display: block;
  height: 1px;
  margin: 0.45rem 0.7rem;
  background: rgba(246, 241, 232, 0.18);
}

.unified-home-link {
  min-height: 2.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  border: 1px solid rgba(201, 162, 91, 0.28);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  color: rgba(246, 241, 232, 0.84);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.unified-home-link:hover {
  border-color: rgba(201, 162, 91, 0.52);
  background: rgba(255, 255, 255, 0.08);
  color: #fffdf8;
}

.unified-home-link svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.85;
}

.my-agapay-tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 30;
  display: grid;
  width: min(100%, 480px);
  min-height: 78px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.2rem;
  transform: translateX(-50%);
  border: 1px solid rgba(201, 162, 91, 0.24);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  padding: 0.45rem 0.5rem calc(0.45rem + env(safe-area-inset-bottom));
  background: rgba(255, 252, 246, 0.95);
  box-shadow: 0 -16px 36px rgba(6, 21, 34, 0.14);
  backdrop-filter: blur(16px);
}

.my-agapay-tabbar a {
  display: grid;
  min-width: 0;
  place-items: center;
  align-content: center;
  gap: 0.18rem;
  border-radius: 16px;
  color: rgba(6, 21, 34, 0.62);
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
  text-decoration: none;
}

.my-agapay-tabbar a.active {
  background: rgba(201, 162, 91, 0.12);
  color: var(--navy);
}

.my-agapay-tabbar svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.85;
}

.donor-home .donor-home-topbar {
  min-height: 74px;
  border-bottom: 1px solid rgba(201, 162, 91, 0.34);
  background:
    radial-gradient(circle at 86% 0%, rgba(201, 162, 91, 0.18), transparent 22rem),
    linear-gradient(135deg, #061522 0%, #09223a 100%);
  box-shadow: 0 14px 34px rgba(6, 21, 34, 0.14);
  color: #fffdf8;
}

.donor-home-topbar-brand {
  display: grid;
  gap: 0.18rem;
}

.donor-home-topbar-brand .topbar-title {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.68rem;
  letter-spacing: 0.12em;
  line-height: 1;
}

.donor-home-topbar-brand span:last-child {
  color: rgba(246, 241, 232, 0.72);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.donor-home .donor-home-topbar .topbar-actions {
  gap: 0.8rem;
}

.donor-home .donor-home-topbar .btn-ghost {
  border-color: rgba(246, 241, 232, 0.34);
  color: #fffdf8;
}

.donor-home .donor-home-topbar .btn-gold {
  box-shadow: none;
}

.donor-home-quick-action {
  min-width: 9.5rem;
}

.donor-home-account-chip {
  display: flex;
  min-height: 3.05rem;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid rgba(246, 241, 232, 0.24);
  border-radius: 999px;
  padding: 0.32rem 0.86rem 0.32rem 0.34rem;
  color: #fffdf8;
  text-decoration: none;
}

.donor-home-mini-avatar {
  display: grid;
  width: 2.36rem;
  height: 2.36rem;
  place-items: center;
  border: 1px solid rgba(201, 162, 91, 0.34);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.94);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 900;
}

.donor-home-account-chip strong,
.donor-home-account-chip small {
  display: block;
  line-height: 1.12;
}

.donor-home-account-chip strong {
  max-width: 10rem;
  overflow: hidden;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.donor-home-account-chip small {
  color: rgba(246, 241, 232, 0.68);
  font-size: 0.72rem;
  font-weight: 700;
}

.donor-phone-stage {
  min-height: 100vh;
  display: grid;
  place-items: start center;
  padding: 1.25rem 1rem 2rem;
}

.donor-phone {
  position: relative;
  width: min(100%, 480px);
  min-height: calc(100vh - 3.25rem);
  background: transparent;
  padding: 1rem 0 6.4rem;
  overflow: visible;
}

.donor-phone::before {
  content: none;
}

.donor-phone::after {
  content: none;
}

.donor-status-wrap {
  margin-bottom: 0.9rem;
}

.mobile-hero-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.mobile-brand-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  opacity: 0.8;
}

.mobile-brand-mark img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.mobile-kicker {
  color: var(--stone);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mobile-identity h1 {
  margin: 0.18rem 0 0;
  color: #060606;
  font-family: var(--sans);
  font-size: clamp(1.45rem, 7vw, 1.7rem);
  font-weight: 800;
  line-height: 1.05;
}

.mobile-identity p {
  margin-top: 0.3rem;
  color: var(--stone);
  font-size: 14px;
  line-height: 1.25;
}

.welcome-signin-prompt {
  display: block;
  margin-top: 0.55rem;
  border: 1px solid rgba(184, 144, 47, 0.26);
  border-radius: 10px;
  background: rgba(184, 144, 47, 0.1);
  color: #6b5012;
  padding: 0.55rem 0.65rem;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.mobile-avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--deep);
  color: white;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.mobile-summary-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  gap: 1.3rem;
  min-height: 182px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 82% 34%, rgba(184, 144, 47, 0.14), transparent 7.5rem),
    linear-gradient(145deg, #061522, #0B2130);
  color: white;
  padding: 1.6rem 1.7rem;
  overflow: hidden;
  box-shadow: 0 13px 28px rgba(6, 21, 34, 0.19);
}

.summary-metric {
  position: relative;
  z-index: 1;
}

.summary-metric span {
  display: block;
  color: rgba(246, 241, 232, 0.68);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.summary-metric strong {
  display: block;
  margin-top: 0.38rem;
  font-size: clamp(2rem, 11vw, 2.35rem);
  line-height: 1;
  text-shadow: 0 2px 0 rgba(184, 144, 47, 0.24);
}

.summary-divider {
  width: 1px;
  height: 48px;
  background: rgba(246, 241, 232, 0.22);
}

.summary-watermark {
  position: absolute;
  right: 1.4rem;
  top: 2.1rem;
  width: 96px;
  height: 96px;
  opacity: 0.08;
  object-fit: contain;
}

.summary-cta {
  position: absolute;
  left: 1.7rem;
  bottom: 1.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 40px;
  border: 1px solid rgba(184, 144, 47, 0.82);
  border-radius: 999px;
  color: var(--gold);
  padding: 0 1.15rem;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.mobile-section {
  margin-top: 1.7rem;
}

.mobile-products-grid {
  display: grid;
  gap: 0.75rem;
}

.mobile-giving-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.mobile-giving-tool {
  min-height: 118px;
  border: 1px solid rgba(111, 106, 96, 0.2);
  border-radius: 12px;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  box-shadow: 0 12px 24px rgba(6, 21, 34, 0.06);
}

.mobile-giving-tool.active {
  background: linear-gradient(145deg, #061522, #0B2130);
  border-color: rgba(184, 144, 47, 0.4);
  color: var(--cream);
}

.mobile-giving-tool .giving-tool-icon {
  width: 38px;
  height: 38px;
}

.giving-tool-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
}

.giving-tool-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.giving-tool-icon svg path,
.giving-tool-icon svg rect,
.giving-tool-icon svg circle,
.giving-tool-icon svg line,
.giving-tool-icon svg polyline,
.giving-tool-icon svg polygon {
  fill: none;
  stroke: currentColor;
}

.giving-tool-icon svg .icon-dot {
  fill: currentColor;
  stroke: none;
}

.mobile-giving-tool strong {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1;
}

.mobile-giving-tool small {
  color: var(--stone);
  font-size: 12px;
  line-height: 1.3;
}

.mobile-giving-tool.active small {
  color: rgba(246, 241, 232, 0.74);
}

.mobile-product-card {
  display: block;
  border: 1px solid rgba(111, 106, 96, 0.2);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
}

.mobile-product-card.live {
  background: linear-gradient(145deg, #061522, #0B2130);
  border-color: rgba(184, 144, 47, 0.4);
  color: var(--cream);
}

.mobile-product-card span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(184, 144, 47, 0.15);
  color: #7a5c17;
}

.mobile-product-card.live span {
  background: rgba(184, 144, 47, 0.24);
  color: var(--gold);
}

.mobile-product-card strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 16px;
  line-height: 1.2;
}

.mobile-product-card p {
  margin-top: 0.35rem;
  color: var(--stone);
  font-size: 13px;
  line-height: 1.45;
}

.mobile-product-card.live p {
  color: rgba(246, 241, 232, 0.76);
}

.mobile-product-card.coming-soon {
  border-style: dashed;
  background: var(--paper);
}

.mobile-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.85rem;
}

.mobile-section-head h2 {
  color: #050505;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.mobile-section-head a {
  color: var(--deep);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}


/* ── PLEDGE TRACKER ─────────────────────────────────────────── */
.pledge-tracker-card {
  position: relative;
  border-radius: 12px;
  background: linear-gradient(145deg, #061522, #0B2130);
  border: 1px solid rgba(200, 162, 74, 0.22);
  color: white;
  padding: 1.1rem 1.7rem 1.25rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 8px 20px rgba(6, 21, 34, 0.15);
}
.pledge-tracker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}
.pledge-tracker-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246, 241, 232, 0.68);
}
.pledge-tracker-edit {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  opacity: 0.85;
}
.pledge-tracker-edit:hover { opacity: 1; }
.pledge-bar-track {
  width: 100%;
  height: 10px;
  background: rgba(246, 241, 232, 0.1);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 0.55rem;
}
.pledge-bar-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, #C8A24A, #e8c56a);
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.pledge-bar-fill::after {
  content: "";
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 6px;
  background: rgba(255,255,255,0.4);
  border-radius: 100px;
  filter: blur(2px);
}
.pledge-bar-fill.pledge-complete { background: linear-gradient(90deg, #3a8a5a, #5ab07a); }
.pledge-tracker-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
}
.pledge-tracker-meta span:first-child { color: rgba(246,241,232,0.7); }
.pledge-tracker-meta span:nth-child(2) { font-weight: 800; color: var(--gold); font-size: 12px; }
.pledge-tracker-meta span:last-child { color: rgba(246,241,232,0.5); }
.desktop-pledge-tracker {
  margin-bottom: 1.25rem;
  border-radius: 12px;
  background: linear-gradient(145deg, #061522, #0B2130);
  border: 1px solid rgba(200, 162, 74, 0.22);
  padding: 1.1rem 1.5rem 1.25rem;
  box-shadow: 0 8px 20px rgba(6, 21, 34, 0.12);
}
.desktop-pledge-inner { max-width: 560px; }
.desktop-pledge-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}
.desktop-pledge-label span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246, 241, 232, 0.68);
}
.desktop-pledge-edit { font-size: 11px; font-weight: 600; color: var(--gold); text-decoration: none; opacity: 0.85; }
.desktop-pledge-edit:hover { opacity: 1; }
.desktop-pledge-bar-track {
  width: 100%;
  height: 10px;
  background: rgba(246, 241, 232, 0.1);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 0.55rem;
}
.desktop-pledge-bar-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, #C8A24A, #e8c56a);
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.desktop-pledge-bar-fill.pledge-complete { background: linear-gradient(90deg, #3a8a5a, #5ab07a); }
.desktop-pledge-meta { display: flex; align-items: center; gap: 1rem; font-size: 12px; }
.desktop-pledge-meta span:first-child { color: rgba(246,241,232,0.7); }
.desktop-pledge-meta span:nth-child(2) { font-weight: 800; color: var(--gold); }
.desktop-pledge-meta span:last-child { color: rgba(246,241,232,0.5); }

.quick-give-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.quick-give-tile {
  min-height: 86px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.42rem;
  border: 1px solid rgba(111, 106, 96, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
  color: #050505;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(6, 21, 34, 0.04);
}

.quick-give-icon {
  display: grid;
  place-items: center;
  min-height: 34px;
}

.quick-give-tile svg {
  width: 31px;
  height: 31px;
  color: var(--deep);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-give-tile svg .icon-dot {
  fill: currentColor;
  stroke: none;
}

.quick-give-tile > span:not(.quick-give-icon) {
  color: #050505;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.campaign-stack {
  display: grid;
  gap: 0.8rem;
}

.campaign-card {
  position: relative;
  display: block;
  border: 1px solid rgba(111, 106, 96, 0.18);
  border-top: 4px solid transparent;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  color: inherit;
  padding: 1rem 1.1rem;
  box-shadow: 0 4px 12px rgba(6, 21, 34, 0.05);
  text-decoration: none;
  overflow: hidden;
}

.campaign-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), rgba(184, 144, 47, 0.78), rgba(11, 33, 48, 0.78), var(--forest));
}

.campaign-card > * {
  position: relative;
  z-index: 1;
}

.campaign-card h3 {
  margin-top: 0.7rem;
  color: #050505;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.campaign-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--stone);
  font-size: 13px;
}

.campaign-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(11, 33, 48, 0.1);
  color: var(--deep);
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.campaign-gold {
  border-top-color: transparent;
}

.campaign-empty {
  border-top-color: transparent;
}

.campaign-gold .campaign-pill {
  background: var(--gold-soft);
  color: #8a6515;
}

.campaign-track {
  height: 7px;
  margin-top: 0.95rem;
  border-radius: 999px;
  background: rgba(111, 106, 96, 0.18);
  overflow: hidden;
}

.campaign-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--deep);
}

.campaign-gold .campaign-track span {
  background: var(--gold);
}

.campaign-card p {
  margin-top: 0.6rem;
  color: #171715;
  font-size: 15px;
  line-height: 1.45;
}

.campaign-card p strong {
  font-size: 18px;
}

.campaign-card p span {
  color: var(--deep);
  font-weight: 800;
}

.campaign-gold p span {
  color: #9b7219;
}

.campaign-description {
  color: var(--stone) !important;
  font-size: 13px !important;
}

.next-feast-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
  border: 1px solid rgba(111, 106, 96, 0.18);
  border-top: 4px solid transparent;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  padding: 1.05rem 1.1rem;
  box-shadow: 0 4px 12px rgba(6, 21, 34, 0.05);
}

.next-feast-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), rgba(184, 144, 47, 0.78), rgba(11, 33, 48, 0.78), var(--forest));
}

.next-feast-card h3 {
  margin-top: 0.25rem;
  color: #050505;
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.1;
}

.next-feast-card p {
  margin-top: 0.4rem;
  color: var(--stone);
  font-size: 13px;
  line-height: 1.45;
}

.feast-kicker {
  color: var(--deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.next-feast-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid rgba(184, 144, 47, 0.56);
  border-radius: 999px;
  background: transparent;
  color: var(--deep);
  padding: 0 0.95rem;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.mobile-live-section {
  padding-bottom: 0.5rem;
}

.mobile-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.mobile-stat-row div {
  border: 1px solid rgba(111, 106, 96, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.68);
  padding: 0.7rem 0.55rem;
  text-align: center;
}

.mobile-stat-row strong {
  display: block;
  color: var(--deep);
  font-size: 20px;
  line-height: 1;
}

.mobile-stat-row span {
  display: block;
  margin-top: 0.35rem;
  color: var(--stone);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mobile-offering-list .list-item {
  background: rgba(255, 255, 255, 0.74);
}

.mobile-tabbar {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: 78px;
  border-radius: 0 0 34px 34px;
  background: rgba(246, 241, 232, 0.95);
  border-top: 1px solid rgba(111, 106, 96, 0.16);
  backdrop-filter: blur(10px);
}

.mobile-tabbar a {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.2rem;
  color: rgba(6, 21, 34, 0.58);
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

.mobile-tabbar a.active {
  color: var(--deep);
}

.mobile-tabbar svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.donor-mobile-page {
  background:
    radial-gradient(circle at 50% -10%, rgba(184, 144, 47, 0.18), transparent 30%),
    linear-gradient(180deg, #efe8dc 0%, var(--cream) 38%, #ebe3d6 100%);
}

.donor-mobile-page .app {
  display: block;
  min-height: 100vh;
}

.donor-mobile-page .sidebar,
.donor-mobile-page .topbar {
  display: none;
}

.donor-mobile-content {
  position: relative;
  min-height: 100vh;
  display: grid;
  justify-items: center;
  padding: 1.15rem 0.95rem 6.6rem;
}

.donor-give-page .donor-mobile-content {
  padding-bottom: calc(9.6rem + env(safe-area-inset-bottom));
}

.donor-mobile-page .page {
  width: min(100%, 480px);
  min-height: calc(100vh - 7.75rem);
  margin: 0 auto;
  padding: 1rem;
  border: 1px solid rgba(111, 106, 96, 0.15);
  border-radius: 32px;
  background: rgba(246, 241, 232, 0.96);
  box-shadow: 0 18px 50px rgba(6, 21, 34, 0.13);
}

.donor-give-page .page {
  margin-bottom: calc(2.8rem + env(safe-area-inset-bottom));
}

.donor-give-page #donorCheckoutForm {
  padding-bottom: calc(2.2rem + env(safe-area-inset-bottom));
}

.donor-mobile-page .notice {
  border-radius: 18px;
}

.donor-mobile-page .hero {
  padding: 1.2rem;
  border-radius: 24px;
  box-shadow: 0 14px 36px rgba(6, 21, 34, 0.16);
}

.donor-mobile-page .hero-grid {
  grid-template-columns: minmax(0, 1fr);
}

.donor-mobile-page .hero-mark {
  display: none;
}

.donor-mobile-page h1 {
  font-size: clamp(2rem, 9vw, 2.8rem);
  line-height: 1;
}

.donor-mobile-page .hero p {
  font-size: 13px;
  line-height: 1.6;
}

.donor-mobile-page .section-gap {
  margin-top: 0.9rem;
}

.donor-mobile-page .grid,
.donor-mobile-page .grid.two,
.donor-mobile-page .grid.three,
.donor-mobile-page .grid.four,
.donor-mobile-page .layout-main,
.donor-mobile-page .form-grid {
  grid-template-columns: 1fr;
}

.donor-mobile-page .offering-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.donor-mobile-page .offering-card,
.donor-mobile-page .card,
.donor-mobile-page .metric-card {
  border-radius: 22px;
}

.donor-mobile-page .offering-card {
  min-height: 154px;
  padding: 0.9rem;
}

.donor-mobile-page .offering-card h3 {
  font-size: 18px;
}

.donor-mobile-page .offering-card p {
  font-size: 12px;
}

.donor-mobile-page .card-header {
  align-items: flex-start;
  gap: 0.7rem;
}

.donor-mobile-page .card-body,
.donor-mobile-page .card-header {
  padding: 1rem;
}

.donor-mobile-page .btn,
.donor-mobile-page .form-input,
.donor-mobile-page .form-select,
.donor-mobile-page .form-textarea {
  min-height: 48px;
}

.donor-mobile-page .list-item {
  grid-template-columns: 1fr;
  gap: 0.45rem;
  border-radius: 18px;
}

.donor-mobile-page .list-amount {
  text-align: left;
}

.donor-mobile-page .calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.28rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  padding: 0.45rem;
}

.donor-mobile-page .day-head {
  display: grid;
  place-items: center;
  min-height: 24px;
  border: 0;
  background: transparent;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
}

.donor-mobile-page .day {
  min-height: 52px;
  border: 0;
  border-radius: 12px;
  background: rgba(246, 241, 232, 0.7);
  padding: 0.35rem;
  overflow: hidden;
}

.donor-mobile-page .day:has(.day-number:empty) {
  display: block;
  opacity: 0.35;
}

.donor-mobile-page .day-number {
  font-size: 10px;
  font-weight: 800;
}

.donor-mobile-page .feast {
  margin-top: 0.2rem;
  font-size: 8px;
  line-height: 1.15;
  padding: 3px 4px;
}

.donor-mobile-page .mobile-tabbar {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, 480px);
  min-height: 76px;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -10px 30px rgba(6, 21, 34, 0.12);
}

@media (min-width: 901px) {
  .donor-mobile-page .page {
    border-radius: 36px;
  }
}

@media (max-width: 430px) {
  .donor-mobile-content {
    padding: 0 0 6rem;
  }

  .donor-mobile-page .page {
    width: 100%;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .donor-mobile-page .hero {
    border-radius: 22px;
  }

  .donor-mobile-page .mobile-tabbar {
    width: 100%;
  }
}

@media (min-width: 901px) {
  body.donor-mobile-page {
    background: var(--cream);
  }

  .donor-mobile-page .app {
    display: grid;
    grid-template-columns: 292px minmax(0, 1fr);
    min-height: 100vh;
  }

  .donor-mobile-page .sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
  }

  .donor-mobile-page .topbar {
    display: flex;
  }

  .donor-mobile-content {
    min-height: 100vh;
    display: flex;
    justify-items: stretch;
    padding: 0;
  }

  .donor-mobile-page .page {
    flex: 1;
    width: min(1180px, 100%);
    min-height: auto;
    margin: 0 auto;
    padding: 1.5rem 2rem 3rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .donor-mobile-page .hero {
    padding: 1.35rem;
    border-radius: var(--rlg);
    box-shadow: var(--shadow);
  }

  .donor-mobile-page .hero-grid {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .donor-mobile-page .hero-mark {
    display: grid;
  }

  .donor-mobile-page h1 {
    font-size: clamp(2rem, 5vw, 3.6rem);
  }

  .donor-mobile-page .grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .donor-mobile-page .grid.three,
  .donor-mobile-page .offering-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .donor-mobile-page .grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .donor-mobile-page .layout-main {
    grid-template-columns: minmax(0, 1fr) 350px;
  }

  .donor-mobile-page .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .donor-mobile-page .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--rlg);
    background: white;
    padding: 0;
  }

  .donor-mobile-page .day-head {
    display: block;
    min-height: auto;
    border-right: 1px solid var(--line);
    background: var(--deep);
  }

  .donor-mobile-page .day {
    min-height: 86px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: white;
    padding: 0.65rem;
    opacity: 1;
  }

  .donor-mobile-page .day:has(.day-number:empty) {
    display: block;
    opacity: 1;
  }

  .donor-mobile-page .feast {
    margin-top: 0.45rem;
    font-size: 11px;
    line-height: 1.35;
    padding: 0.45rem;
  }

  .donor-mobile-page .card,
  .donor-mobile-page .metric-card,
  .donor-mobile-page .offering-card {
    border-radius: var(--rlg);
  }

  .donor-mobile-page .card-body,
  .donor-mobile-page .card-header {
    padding: 1rem 1.1rem;
  }

  .donor-mobile-page .mobile-tabbar {
    display: none;
  }
}

@media (min-width: 901px) {
  .donor-home .donor-app-shell {
    display: grid;
    grid-template-columns: 292px minmax(0, 1fr);
    min-height: 100vh;
  }

  .donor-home-sidebar {
    display: flex;
  }

  .donor-home-topbar {
    display: flex;
  }

  .donor-phone {
    display: none;
  }

  .donor-phone-stage {
    display: flex;
    min-height: 100vh;
    padding: 0;
  }

  .my-agapay-tabbar {
    display: none;
  }

  .donor-desktop-home {
    display: block;
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 1.5rem 2rem 3rem;
  }

  .my-agapay-home,

  .my-agapay-home {
    padding: 1.5rem 2rem 0;
  }

  .my-agapay-hero {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: end;
    border: 1px solid rgba(184, 144, 47, 0.22);
    border-radius: var(--rlg);
    background:
      radial-gradient(circle at 88% 24%, rgba(184, 144, 47, 0.12), transparent 13rem),
      linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(246, 241, 232, 0.78));
    padding: 1.45rem 1.55rem;
    box-shadow: 0 16px 34px rgba(6, 21, 34, 0.07);
  }

  .my-agapay-hero h1 {
    margin: 0.2rem 0 0;
    color: var(--deep);
    font-size: clamp(2.8rem, 5vw, 4.35rem);
    line-height: 0.95;
  }

  .my-agapay-hero p {
    margin-top: 0.5rem;
    color: var(--stone);
    font-size: 16px;
  }

  .my-agapay-profile-card {
    min-width: 250px;
    border: 1px solid rgba(184, 144, 47, 0.25);
    border-radius: var(--r);
    background: rgba(255, 255, 255, 0.7);
    padding: 0.9rem 1rem;
    text-align: right;
  }

  .my-agapay-profile-card span,
  .my-agapay-section-head p,
  .my-agapay-product-stats dt,
  .snapshot-metrics span {
    color: var(--stone);
  }

  .my-agapay-profile-card strong {
    display: block;
    margin-top: 0.2rem;
    color: var(--deep);
    font-size: 14px;
  }

  .my-agapay-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
  }

  .my-agapay-product-card,
  .my-agapay-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(184, 144, 47, 0.24);
    border-radius: var(--rlg);
    background:
      radial-gradient(circle at 94% 18%, rgba(184, 144, 47, 0.1), transparent 8rem),
      rgba(255, 255, 255, 0.72);
    box-shadow: 0 12px 28px rgba(6, 21, 34, 0.06);
  }

  .my-agapay-product-card {
    display: flex;
    flex-direction: column;
    min-height: 240px;
    padding: 1rem;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  }

  .my-agapay-product-card:hover {
    transform: translateY(-2px);
    border-color: rgba(184, 144, 47, 0.38);
    box-shadow: 0 18px 34px rgba(6, 21, 34, 0.09);
  }

  .my-agapay-product-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.72rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(184, 144, 47, 0.2);
  }

  .my-agapay-product-head h2 {
    margin: 0;
    color: var(--deep);
    font-family: var(--serif);
    font-size: clamp(21px, 1.8vw, 25px);
    line-height: 1;
  }

  .my-agapay-product-head p,
  .soon-card > p {
    margin-top: 0.3rem;
    color: var(--stone);
    font-size: 12px;
    line-height: 1.35;
  }

  .my-agapay-product-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 999px;
    border: 1px solid rgba(184, 144, 47, 0.3);
    background: rgba(184, 144, 47, 0.13);
    color: var(--deep);
  }

  .my-agapay-product-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .giving-card {
    border-color: rgba(201, 162, 91, 0.42);
  }

  .giving-card h2,
  .giving-icon {
    color: var(--gold);
  }

  .learn-card h2,
  .learn-icon {
    color: #063b70;
  }

  .market-icon {
    color: #8a6114;
  }

  .directory-card h2,
  .directory-icon {
    color: #60457e;
  }

  .my-agapay-product-stats {
    display: grid;
    gap: 0.48rem;
    margin: 0.9rem 0 1rem;
  }

  .my-agapay-product-stats div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 12px;
  }

  .my-agapay-product-stats dt,
  .my-agapay-product-stats dd {
    margin: 0;
  }

  .my-agapay-product-stats dd {
    color: var(--deep);
    font-weight: 800;
    text-align: right;
  }

  .my-agapay-product-stats .status-good {
    color: #245632;
  }

  .coming-pill {
    display: inline-block;
    margin-top: 0.35rem;
    border-radius: 6px;
    background: rgba(201, 162, 91, 0.35);
    color: #6b5012;
    padding: 0.28rem 0.55rem;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .my-agapay-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 42px;
    margin-top: auto;
    border-radius: var(--r);
    border: 1px solid rgba(184, 144, 47, 0.22);
    background: rgba(246, 241, 232, 0.78);
    color: var(--deep);
    font-weight: 900;
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
  }

  .my-agapay-action.primary {
    background: linear-gradient(135deg, #d8b45f, #b9822e);
    color: var(--deep);
  }

  .my-agapay-action.learn-action {
    background: var(--deep);
    color: white;
  }

  .my-agapay-action.muted {
    color: #6b5012;
  }

  .my-agapay-panel {
    margin-top: 1rem;
    padding: 1rem;
  }

  .my-agapay-section-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
  }

  .my-agapay-section-head h2 {
    margin: 0;
    color: var(--deep);
    font-family: var(--serif);
    font-size: 22px;
  }

  .my-agapay-section-head p {
    margin: 0.15rem 0 0;
    font-size: 12px;
  }

  .my-agapay-section-head a,
  .my-agapay-section-head > span {
    color: #8a6114;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
  }

  .my-agapay-lower-grid,
  .my-agapay-snapshot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .my-agapay-activity-list {
    display: grid;
    gap: 0.5rem;
  }

  .my-agapay-activity-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    border-bottom: 1px solid rgba(184, 144, 47, 0.16);
    padding: 0.5rem 0;
  }

  .my-agapay-activity-item:last-child {
    border-bottom: 0;
  }

  .activity-dot {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(184, 144, 47, 0.14);
    color: var(--deep);
    font-weight: 900;
  }

  .my-agapay-activity-item strong,
  .my-agapay-activity-item span {
    display: block;
  }

  .my-agapay-activity-item strong {
    color: var(--deep);
    font-size: 13px;
  }

  .my-agapay-activity-item span {
    color: var(--stone);
    font-size: 12px;
  }

  .activity-amount {
    color: #245632;
    font-weight: 900;
  }

  .my-agapay-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .my-agapay-action-grid a {
    border: 1px solid rgba(184, 144, 47, 0.22);
    border-radius: var(--r);
    background: rgba(255, 255, 255, 0.58);
    color: var(--deep);
    padding: 0.8rem;
    text-decoration: none;
  }

  .my-agapay-action-grid strong,
  .my-agapay-action-grid span {
    display: block;
  }

  .my-agapay-action-grid span {
    margin-top: 0.18rem;
    color: var(--stone);
    font-size: 12px;
  }

  .snapshot-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(184, 144, 47, 0.18);
    padding-top: 1rem;
  }

  .snapshot-metrics div {
    text-align: center;
    border-right: 1px solid rgba(184, 144, 47, 0.22);
    padding: 0.35rem 0.8rem;
  }

  .snapshot-metrics div:last-child {
    border-right: 0;
  }

  .snapshot-metrics strong {
    display: block;
    margin-top: 0.28rem;
    color: var(--deep);
    font-size: 28px;
  }

  @media (max-width: 1180px) {
    .my-agapay-product-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  .desktop-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
    border: 1px solid rgba(184, 144, 47, 0.2);
    border-radius: var(--rlg);
    background:
      radial-gradient(circle at 86% 24%, rgba(184, 144, 47, 0.14), transparent 12rem),
      linear-gradient(145deg, #061522, #0B2130);
    color: var(--cream);
    padding: 1.5rem;
    box-shadow: var(--shadow);
  }

  .desktop-hero h1 {
    margin-top: 0.25rem;
    color: var(--cream);
    font-size: clamp(2.2rem, 4vw, 3.3rem);
  }

  .desktop-hero p {
    margin-top: 0.45rem;
    max-width: 680px;
    color: rgba(246, 241, 232, 0.72);
    font-size: 14px;
    line-height: 1.65;
  }

  .desktop-hero-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .desktop-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
  }

  .desktop-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    margin-top: 1rem;
  }

  .desktop-panel {
    border: 1px solid var(--line);
    border-radius: var(--rlg);
    background: white;
    box-shadow: 0 3px 12px rgba(6, 21, 34, 0.04);
    overflow: hidden;
  }

  .desktop-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid var(--line);
    background:
      linear-gradient(90deg, rgba(184, 144, 47, 0.12), rgba(11, 33, 48, 0.08)),
      linear-gradient(180deg, white, var(--paper));
  }

  .desktop-panel-head h2 {
    color: var(--deep);
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 600;
  }

  .desktop-panel-head a {
    color: var(--forest);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
  }

  .desktop-panel > .list,
  .desktop-panel > .campaign-stack,
  .desktop-panel > .next-feast-card {
    margin: 1.15rem;
  }

  .desktop-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    padding: 1.15rem;
  }

  .desktop-quick-card {
    min-height: 145px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 0.45rem;
    border: 1px solid rgba(111, 106, 96, 0.18);
    border-radius: var(--r);
    background: var(--paper);
    color: var(--deep);
    text-align: center;
    text-decoration: none;
    transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
  }

  .desktop-quick-card:hover {
    transform: translateY(-2px);
    border-color: rgba(184, 144, 47, 0.42);
    box-shadow: var(--shadow);
  }

  .desktop-quick-icon {
    display: grid;
    place-items: center;
    min-height: 38px;
  }

  .desktop-quick-icon svg {
    width: 36px;
    height: 36px;
    color: var(--deep);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .desktop-quick-icon .icon-dot {
    fill: currentColor;
    stroke: none;
  }

  .desktop-quick-card strong {
    font-family: var(--serif);
    font-size: 21px;
    line-height: 1;
  }

  .desktop-quick-card span:last-child {
    max-width: 150px;
    color: var(--stone);
    font-size: 12px;
    line-height: 1.4;
  }

  .giving-tools-panel {
    overflow: visible;
  }

  .giving-tools-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
    padding: 1.15rem;
  }

  .giving-tool-card {
    min-height: 158px;
    border: 1px solid rgba(111, 106, 96, 0.22);
    border-radius: var(--r);
    padding: 0.95rem;
    background: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
  }

  .giving-tool-card:hover {
    transform: translateY(-2px);
    border-color: rgba(184, 144, 47, 0.5);
    box-shadow: var(--shadow);
  }

  .giving-tool-card.primary {
    background: linear-gradient(140deg, rgba(6, 21, 34, 0.98), #0B2130);
    border-color: rgba(184, 144, 47, 0.45);
    color: var(--cream);
  }

  .giving-tool-card strong {
    font-family: var(--serif);
    font-size: 20px;
    line-height: 1;
  }

  .giving-tool-card small {
    color: var(--stone);
    font-size: 12px;
    line-height: 1.45;
  }

  .giving-tool-card.primary small {
    color: rgba(246, 241, 232, 0.76);
  }

  .giving-tool-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(184, 144, 47, 0.13);
    color: var(--deep);
  }

  .giving-tool-card.primary .giving-tool-icon {
    background: rgba(184, 144, 47, 0.22);
    color: var(--gold);
  }

  .giving-tool-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .platform-products-panel {
    overflow: visible;
  }

  .platform-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    padding: 1.15rem;
  }

  .platform-product-card {
    border: 1px solid rgba(111, 106, 96, 0.22);
    border-radius: var(--r);
    padding: 0.9rem;
    background: white;
    text-decoration: none;
    color: var(--ink);
    transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
  }

  .platform-product-card.live {
    background: linear-gradient(140deg, rgba(6, 21, 34, 0.98), #0B2130);
    border-color: rgba(184, 144, 47, 0.45);
    color: var(--cream);
  }

  .platform-product-card.live:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
  }

  .platform-product-card.coming-soon {
    background: var(--paper);
    border-style: dashed;
  }

  .platform-product-kicker {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(184, 144, 47, 0.15);
    color: #7a5c17;
  }

  .platform-product-card.live .platform-product-kicker {
    background: rgba(184, 144, 47, 0.24);
    color: var(--gold);
  }

  .platform-product-card strong {
    display: block;
    margin-top: 0.5rem;
    font-size: 17px;
    line-height: 1.2;
  }

  .platform-product-card p {
    margin-top: 0.45rem;
    font-size: 13px;
    line-height: 1.5;
    color: var(--stone);
  }

  .platform-product-card.live p {
    color: rgba(246, 241, 232, 0.78);
  }
}

@media (max-width: 720px) {
  .donor-phone-stage {
    display: block;
    min-height: 100vh;
    padding: 0;
  }

  .donor-phone {
    width: 100%;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 1rem 1rem 6.2rem;
  }

  .mobile-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0;
    min-height: 72px;
  }
}

@media (max-width: 390px) {
  .donor-phone {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }

  .mobile-summary-card {
    gap: 0.9rem;
    padding: 1.35rem 1.25rem;
  }

  .summary-cta {
    left: 1.25rem;
  }

  .quick-give-grid {
    gap: 0.5rem;
  }

  .quick-give-tile {
    min-height: 78px;
  }
}

@media (min-width: 901px) {
  .donor-desktop-home {
    padding-top: 1.15rem;
  }

  .desktop-hero {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 1.05rem;
    align-items: center;
    border-color: rgba(111, 106, 96, 0.15);
    border-radius: 18px;
    background:
      radial-gradient(circle at 8% 14%, rgba(200, 162, 74, 0.16), transparent 10rem),
      linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(253, 251, 247, 0.74));
    color: var(--ink);
    padding: 1.45rem 1.55rem;
    box-shadow: 0 18px 46px rgba(6, 21, 34, 0.08);
  }

  .desktop-hero::after {
    content: "";
    position: absolute;
    inset: auto 1.4rem -4.5rem auto;
    width: 16rem;
    height: 16rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(200, 162, 74, 0.14), transparent 68%);
    pointer-events: none;
  }

  .desktop-hero-mark,
  .desktop-avatar,
  .desktop-hero-copy,
  .desktop-hero-actions {
    position: relative;
    z-index: 1;
  }

  .desktop-hero-mark {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    color: inherit;
    text-decoration: none;
    opacity: 0.86;
  }

  .desktop-hero-mark img {
    width: 62px;
    height: 62px;
    object-fit: contain;
  }

  .desktop-hero .eyebrow {
    color: var(--stone);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
  }

  .desktop-hero h1 {
    color: #050505;
    font-family: var(--sans);
    font-size: clamp(2.15rem, 4vw, 3.6rem);
    font-weight: 800;
    line-height: 0.98;
  }

  .desktop-hero p {
    max-width: 760px;
    color: var(--stone);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
  }

  .desktop-avatar {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--deep);
    color: white;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(6, 21, 34, 0.16);
  }

  .desktop-dashboard-top {
    display: grid;
    grid-template-columns: minmax(360px, 0.92fr) minmax(420px, 1.08fr);
    gap: 1rem;
    align-items: stretch;
    margin-top: 1rem;
  }

  .desktop-dashboard-top:has(.desktop-pledge-tracker[hidden]) {
    grid-template-columns: minmax(0, 1fr);
  }

  .desktop-pledge-tracker {
    min-height: 168px;
    display: grid;
    align-items: center;
    margin-bottom: 0;
    border-radius: 16px;
    background:
      radial-gradient(circle at 84% 20%, rgba(200, 162, 74, 0.16), transparent 8rem),
      linear-gradient(145deg, #061522, #0B2130);
    padding: 1.3rem 1.55rem;
    box-shadow: 0 16px 34px rgba(6, 21, 34, 0.14);
  }

  .desktop-pledge-inner {
    max-width: none;
  }

  .desktop-pledge-label {
    margin-bottom: 0.75rem;
  }

  .desktop-pledge-label span {
    font-size: 12px;
    letter-spacing: 0.12em;
  }

  .desktop-pledge-edit {
    font-size: 13px;
    font-weight: 800;
  }

  .desktop-pledge-bar-track {
    height: 12px;
    margin-bottom: 0.78rem;
  }

  .desktop-pledge-meta {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    font-size: 14px;
  }

  .desktop-pledge-meta span:nth-child(2) {
    font-size: 16px;
  }

  .desktop-metrics-grid {
    position: relative;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    min-height: 168px;
    margin-top: 0;
    border: 1px solid rgba(200, 162, 74, 0.22);
    border-radius: 16px;
    background:
      radial-gradient(circle at 82% 30%, rgba(200, 162, 74, 0.14), transparent 9rem),
      linear-gradient(145deg, #061522, #0B2130);
    color: var(--cream);
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(6, 21, 34, 0.14);
  }

  .desktop-metrics-grid::after {
    content: "";
    position: absolute;
    right: 1.5rem;
    bottom: 1.05rem;
    width: 102px;
    height: 102px;
    background: url("/mark.png") center / contain no-repeat;
    opacity: 0.055;
    pointer-events: none;
  }

  .desktop-metrics-grid .metric-card {
    min-height: 168px;
    display: grid;
    align-content: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 1.25rem 1.15rem;
  }

  .desktop-metrics-grid .metric-card + .metric-card {
    border-left: 1px solid rgba(246, 241, 232, 0.13);
  }

  .desktop-metrics-grid .metric-card::before,
  .desktop-metrics-grid .metric-card::after {
    content: none;
  }

  .desktop-metrics-grid .metric-label {
    color: rgba(246, 241, 232, 0.68);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
  }

  .desktop-metrics-grid .metric-value {
    color: var(--cream);
    font-size: clamp(2rem, 3.2vw, 3rem);
    text-shadow: 0 2px 0 rgba(184, 144, 47, 0.18);
  }

  .desktop-metrics-grid .metric-note {
    color: rgba(246, 241, 232, 0.62);
    font-size: 12px;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .desktop-hero {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .desktop-hero-actions {
    grid-column: 2 / -1;
    justify-content: flex-start;
  }

  .desktop-dashboard-top {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 901px) {
  .desktop-dashboard-top {
    grid-template-columns: minmax(390px, 0.95fr) minmax(520px, 1.05fr);
  }

  .desktop-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 220px;
  }

  .desktop-metrics-grid .metric-card {
    min-height: 110px;
    padding: 1.35rem 1.55rem;
  }

  .desktop-metrics-grid .metric-card + .metric-card {
    border-left: 0;
  }

  .desktop-metrics-grid .metric-card:nth-child(even) {
    border-left: 1px solid rgba(246, 241, 232, 0.13);
  }

  .desktop-metrics-grid .metric-card:nth-child(n + 3) {
    border-top: 1px solid rgba(246, 241, 232, 0.13);
  }

  .desktop-metrics-grid .metric-value {
    margin-top: 0.36rem;
    font-size: clamp(2.15rem, 3.4vw, 3.25rem);
  }

  .desktop-metrics-grid .metric-note {
    max-width: 18rem;
    margin-top: 0.38rem;
  }

  .desktop-metrics-grid .metric-card:nth-child(3),
  .desktop-metrics-grid .metric-card:nth-child(4) {
    align-content: start;
  }

  .desktop-metrics-grid .metric-card:nth-child(3) .metric-value,
  .desktop-metrics-grid .metric-card:nth-child(4) .metric-value {
    font-size: clamp(1.9rem, 2.6vw, 2.6rem);
  }
}

@media (min-width: 901px) and (max-width: 1280px) {
  .desktop-dashboard-top {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 901px) {
  .donor-desktop-home {
    padding-top: 1rem;
  }

  .desktop-hero {
    grid-template-columns: auto minmax(0, 1fr) auto auto !important;
    min-height: 0;
    gap: 1rem;
    padding: 1.25rem 1.45rem !important;
  }

  .desktop-hero-mark {
    width: 58px;
    height: 58px;
  }

  .desktop-hero-mark img {
    width: 52px;
    height: 52px;
  }

  .desktop-hero h1 {
    max-width: 15ch;
    font-size: clamp(2.45rem, 4.6vw, 4.15rem) !important;
    letter-spacing: 0;
  }

  .desktop-hero p {
    margin-top: 0.38rem;
    font-size: 14px;
  }

  .desktop-hero-actions {
    align-self: center;
    flex-wrap: nowrap;
    min-width: max-content;
  }

  .desktop-hero-actions .btn {
    min-height: 48px;
    border-radius: 12px;
    padding-inline: 1.25rem;
    font-size: 14px;
  }

  .desktop-avatar {
    width: 54px;
    height: 54px;
    font-size: 17px;
  }

  .desktop-dashboard-top {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.05rem;
    margin-top: 1.25rem;
  }

  .desktop-pledge-tracker {
    position: relative;
    min-height: 152px;
    padding: 1.35rem 1.55rem 1.45rem;
    overflow: hidden;
  }

  .desktop-pledge-tracker::after {
    content: "";
    position: absolute;
    right: 1.55rem;
    bottom: 0.85rem;
    width: 112px;
    height: 112px;
    background: url("/mark.png") center / contain no-repeat;
    opacity: 0.055;
    pointer-events: none;
  }

  .desktop-pledge-inner {
    position: relative;
    z-index: 1;
  }

  .desktop-metrics-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0 !important;
    min-height: 154px;
  }

  .desktop-metrics-grid .metric-card {
    min-width: 0;
    min-height: 154px !important;
    align-content: center;
    padding: 1.25rem 1.45rem !important;
  }

  .desktop-metrics-grid .metric-card + .metric-card {
    border-left: 1px solid rgba(246, 241, 232, 0.13) !important;
  }

  .desktop-metrics-grid .metric-card:nth-child(n + 3) {
    border-top: 0 !important;
  }

  .desktop-metrics-grid .metric-label {
    font-size: 10px;
  }

  .desktop-metrics-grid .metric-value {
    font-size: clamp(2.2rem, 3vw, 3.1rem) !important;
    white-space: nowrap;
  }

  .desktop-metrics-grid .metric-note {
    max-width: 14rem;
    font-size: 11.5px;
    line-height: 1.35;
  }

  .desktop-panel-head {
    padding: 0.9rem 1.15rem;
  }

  .desktop-panel-head h2 {
    font-size: 25px;
  }

  .desktop-quick-grid {
    gap: 0.75rem;
    padding: 1rem;
  }

  .desktop-quick-card {
    min-height: 126px;
  }

  .desktop-quick-card strong {
    font-size: 19px;
  }
}

@media (min-width: 901px) and (max-width: 1380px) {
  .desktop-hero {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
  }

  .desktop-hero-actions {
    grid-column: 2 / 3;
    justify-content: flex-start;
  }

  .desktop-avatar {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
  }

  .desktop-dashboard-top {
    grid-template-columns: 1fr !important;
  }

  .desktop-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .desktop-metrics-grid .metric-card {
    min-height: 112px !important;
  }

  .desktop-metrics-grid .metric-card:nth-child(odd) {
    border-left: 0 !important;
  }

  .desktop-metrics-grid .metric-card:nth-child(even) {
    border-left: 1px solid rgba(246, 241, 232, 0.13) !important;
  }

  .desktop-metrics-grid .metric-card:nth-child(n + 3) {
    border-top: 1px solid rgba(246, 241, 232, 0.13) !important;
  }
}

/* My AGAPAY unified dashboard */
.my-agapay-home {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 1.25rem 1rem 7rem;
  color: var(--ink);
}

.my-agapay-home[hidden],
.donor-phone[hidden] {
  display: none !important;
}

.my-agapay-home .eyebrow {
  color: var(--gold);
}

.my-agapay-hero {
  position: relative;
  display: grid;
  gap: 1rem;
  margin: 0 0 1rem;
  padding: 1.35rem;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 95% 4%, rgba(201, 162, 91, 0.2), transparent 22rem),
    linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(246, 241, 232, 0.78));
  box-shadow: inset 0 -1px 0 rgba(201, 162, 91, 0.2);
}

.my-agapay-hero::after {
  content: "";
  position: absolute;
  right: -2rem;
  top: -2rem;
  width: 12rem;
  height: 12rem;
  background: url("/mark.png") center / contain no-repeat;
  opacity: 0.045;
  pointer-events: none;
}

.my-agapay-hero-copy,
.my-agapay-profile-card {
  position: relative;
  z-index: 1;
}

.my-agapay-hero h1 {
  margin: 0.25rem 0 0.1rem;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 12vw, 4.8rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: 0;
  color: var(--navy);
}

.my-agapay-hero h1 span {
  color: var(--gold);
  font-size: 0.64em;
  vertical-align: 0.12em;
}

.my-agapay-hero p {
  margin: 0;
  max-width: 34rem;
  color: rgba(6, 21, 34, 0.74);
  font-size: 1.03rem;
  line-height: 1.45;
}

.my-agapay-profile-card {
  display: grid;
  gap: 0.28rem;
  align-self: stretch;
  padding: 1.05rem 1.15rem;
  border: 1px solid rgba(201, 162, 91, 0.3);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.92), rgba(255, 255, 255, 0.72));
  box-shadow: 0 16px 34px rgba(6, 21, 34, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.64);
}

.my-agapay-profile-card span,
.my-agapay-profile-card small {
  color: rgba(6, 21, 34, 0.62);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.my-agapay-profile-card strong {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1;
  color: var(--navy);
}

.my-agapay-live-grid,
.my-agapay-coming-grid,
.my-agapay-lower-grid,
.my-agapay-snapshot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin-top: 0.9rem;
}

.ag-product-card,
.my-agapay-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 91, 0.26);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 241, 232, 0.82)),
    var(--paper);
  box-shadow: 0 16px 38px rgba(6, 21, 34, 0.1);
}

.ag-product-card {
  display: flex;
  min-height: 15.5rem;
  flex-direction: column;
  gap: 1rem;
  padding: 1.05rem;
}

.ag-product-card::after {
  content: "";
  position: absolute;
  right: -2.25rem;
  bottom: -2.25rem;
  width: 9rem;
  height: 9rem;
  background: url("/mark.png") center / contain no-repeat;
  opacity: 0.035;
  pointer-events: none;
}

.giving-card {
  background:
    linear-gradient(145deg, rgba(255, 247, 225, 0.96), rgba(255, 252, 246, 0.9)),
    var(--paper);
}

.learn-card {
  background:
    linear-gradient(145deg, rgba(238, 245, 255, 0.94), rgba(255, 252, 246, 0.9)),
    var(--paper);
}

.soon-card {
  min-height: 13rem;
  background:
    linear-gradient(145deg, rgba(255, 248, 234, 0.95), rgba(255, 252, 246, 0.9)),
    var(--paper);
}

.directory-card {
  background:
    linear-gradient(145deg, rgba(246, 240, 249, 0.96), rgba(255, 252, 246, 0.9)),
    var(--paper);
}

.my-agapay-product-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
}

.my-agapay-product-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  color: var(--navy);
}

.my-agapay-product-head p,
.soon-card > p {
  margin: 0.25rem 0 0;
  color: rgba(6, 21, 34, 0.66);
  line-height: 1.42;
}

.my-agapay-product-icon {
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  place-items: center;
  border: 1px solid rgba(201, 162, 91, 0.36);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
}

.my-agapay-product-icon svg {
  width: 2rem;
  height: 2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.giving-icon { color: var(--gold); }
.learn-icon { color: #123e70; }
.market-icon { color: #9c6b18; }
.directory-icon { color: #5c3e75; }

.my-agapay-product-stats {
  display: grid;
  gap: 0.55rem;
  margin: auto 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(201, 162, 91, 0.24);
}

.my-agapay-product-stats div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: rgba(6, 21, 34, 0.72);
  font-family: var(--sans);
  font-size: 0.92rem;
}

.my-agapay-product-stats dd {
  margin: 0;
  color: var(--navy);
  font-weight: 800;
}

.learn-tier-limited {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.learn-upgrade-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.45rem;
  border: 1px solid rgba(18, 62, 112, 0.24);
  border-radius: 999px;
  padding: 0.25rem 0.58rem;
  background: #123e70;
  color: #fffaf0;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.learn-upgrade-mini:disabled {
  cursor: wait;
  opacity: 0.68;
}

.coming-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border: 1px solid rgba(201, 162, 91, 0.42);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: rgba(201, 162, 91, 0.18);
  color: #7a5416;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.my-agapay-action {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: auto;
  border: 1px solid rgba(6, 21, 34, 0.18);
  border-radius: 8px;
  padding: 0.82rem 1rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  font-family: var(--sans);
  font-weight: 900;
  text-decoration: none;
}

.my-agapay-action.primary {
  border-color: rgba(201, 162, 91, 0.72);
  background: linear-gradient(135deg, #d8b45f, #b9822e);
  color: var(--navy);
  box-shadow: 0 12px 24px rgba(185, 130, 46, 0.18);
}

.my-agapay-action.learn-action {
  border-color: #123e70;
  background: #123e70;
  color: #fff;
  box-shadow: 0 12px 24px rgba(18, 62, 112, 0.18);
}

.my-agapay-action.muted {
  color: rgba(6, 21, 34, 0.76);
}

.my-agapay-panel {
  padding: 1rem;
}

.my-agapay-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.my-agapay-section-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.05;
  color: var(--navy);
}

.my-agapay-section-head a,
.my-agapay-section-head span {
  color: rgba(6, 21, 34, 0.64);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.my-agapay-activity-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.my-agapay-activity-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(201, 162, 91, 0.18);
}

.my-agapay-activity-item:last-child {
  border-bottom: 0;
}

.my-agapay-activity-item strong,
.my-agapay-action-tile strong,
.snapshot-metric strong {
  display: block;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 0.9rem;
}

.my-agapay-activity-item span,
.my-agapay-action-tile span,
.snapshot-metric span {
  display: block;
  margin-top: 0.15rem;
  color: rgba(6, 21, 34, 0.58);
  font-family: var(--sans);
  font-size: 0.78rem;
  line-height: 1.35;
}

.activity-dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 0.35rem rgba(201, 162, 91, 0.14);
}

.activity-amount {
  color: #285c36;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 900;
}

.my-agapay-action-grid,
.snapshot-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.my-agapay-action-tile,
.snapshot-metric {
  border: 1px solid rgba(201, 162, 91, 0.22);
  border-radius: 12px;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.58);
}

.my-agapay-action-tile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  color: var(--navy);
  text-decoration: none;
}

.my-agapay-action-tile::after {
  content: ">";
  color: var(--gold);
  font-weight: 900;
}

.snapshot-metric {
  text-align: center;
}

.snapshot-metric strong {
  margin-top: 0.25rem;
  font-family: var(--serif);
  font-size: 2.05rem;
  font-weight: 600;
  line-height: 1;
}

@media (min-width: 720px) {
  .my-agapay-hero {
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.36fr);
    align-items: end;
    padding: 1.45rem;
  }

  .my-agapay-live-grid,
  .my-agapay-coming-grid,
  .my-agapay-lower-grid,
  .my-agapay-snapshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .my-agapay-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .snapshot-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 901px) {
  .my-agapay-home {
    padding: 2.4rem 2.875rem 4.5rem;
  }

  .my-agapay-hero {
    min-height: 13rem;
    padding: 1.75rem;
  }

  .my-agapay-hero h1 {
    font-size: 4.5rem;
  }

  .my-agapay-live-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .my-agapay-coming-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .my-agapay-lower-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }

  .my-agapay-snapshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .my-agapay-home {
    padding-inline: 0.85rem;
  }

  .my-agapay-hero,
  .ag-product-card,
  .my-agapay-panel {
    border-radius: 14px;
  }

  .my-agapay-product-icon {
    width: 3.8rem;
    height: 3.8rem;
  }

  .my-agapay-product-head h2 {
    font-size: 1.65rem;
  }

  .my-agapay-activity-item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .activity-amount {
    grid-column: 2 / 3;
  }
}

/* My AGAPAY shell polish: match the unified dashboard reference without changing Giving panels. */
body.donor-home {
  background:
    radial-gradient(circle at 86% 12%, rgba(201, 162, 91, 0.12), transparent 24rem),
    linear-gradient(180deg, #f8f3ea 0%, #f3ecdf 100%);
}

.donor-home .donor-app-shell {
  background: transparent;
}

.donor-home .donor-phone-stage {
  display: flex;
  min-width: 0;
  min-height: 100vh;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
}

.donor-home .donor-home-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(201, 162, 91, 0.38);
  padding: 0.72rem clamp(0.9rem, 2.5vw, 1.8rem);
  background:
    radial-gradient(circle at 84% 0%, rgba(201, 162, 91, 0.2), transparent 22rem),
    linear-gradient(135deg, #061522 0%, #0a2035 62%, #101d22 100%);
  box-shadow: 0 10px 28px rgba(6, 21, 34, 0.16);
  color: #fffdf8;
}

.donor-home-topbar-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.65rem;
}

.donor-home-topbar-brand img {
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  object-fit: contain;
}

.donor-home-topbar-brand span {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.donor-home-topbar-brand .topbar-title {
  display: block;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 4vw, 2.05rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 0.86;
}

.donor-home-topbar-brand small {
  display: block;
  color: rgba(246, 241, 232, 0.74);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.donor-home .donor-home-topbar .topbar-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem;
  margin-left: auto;
}

.donor-home-quick-action {
  min-width: 9rem;
  border-color: transparent;
  background: var(--gold);
  color: #061522;
  font-weight: 900;
}

.donor-home-account-chip {
  min-height: 2.9rem;
  border-color: rgba(246, 241, 232, 0.24);
  background: rgba(255, 255, 255, 0.05);
}

.donor-home-mini-avatar {
  border-color: rgba(201, 162, 91, 0.42);
}

.donor-home-sidebar .auth-panel,
.donor-home-sidebar .profile-panel {
  display: none;
}

.donor-home-sidebar {
  border-right: 1px solid rgba(201, 162, 91, 0.24);
  background:
    radial-gradient(circle at 50% 92%, rgba(201, 162, 91, 0.18), transparent 13rem),
    linear-gradient(180deg, #0a2238 0%, #061522 48%, #03101d 100%);
  color: #fffdf8;
}

.donor-home-sidebar .sidebar-scroll {
  padding: 1.15rem 0.85rem 0.6rem;
}

.donor-home-sidebar .unified-brand {
  align-items: center;
  gap: 0.22rem;
  margin-bottom: 1.45rem;
  padding: 0.35rem 0.35rem 0.95rem;
  text-align: center;
}

.donor-home-sidebar .unified-brand .brand-mark {
  display: grid;
  width: 3.65rem;
  height: 3.65rem;
  place-items: center;
  margin: 0 auto 0.46rem;
  border: 1px solid rgba(201, 162, 91, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
}

.donor-home-sidebar .unified-brand .brand-mark img {
  width: 2.95rem;
  height: 2.95rem;
  object-fit: contain;
}

.donor-home-sidebar .unified-brand .brand-name {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 2.28rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 0.86;
}

.donor-home-sidebar .dashboard-home-cue {
  color: rgba(246, 241, 232, 0.74);
  font-family: var(--sans);
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.donor-home-sidebar .unified-product-nav {
  gap: 0.28rem;
  margin-top: 0;
}

.donor-home-sidebar .unified-product-nav a {
  min-height: 2.85rem;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 0.62rem 0.72rem;
  color: rgba(246, 241, 232, 0.84);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0;
}

.donor-home-sidebar .unified-product-nav a.active,
.donor-home-sidebar .unified-product-nav a:hover {
  border-color: rgba(201, 162, 91, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fffdf8;
}

.donor-home-sidebar .unified-product-nav svg {
  width: 1.3rem;
  height: 1.3rem;
  flex: 0 0 auto;
}

.donor-home-sidebar .unified-nav-badge {
  padding: 0.16rem 0.36rem;
  font-size: 0.5rem;
}

.donor-home-sidebar .unified-nav-divider {
  margin: 0.5rem 0.7rem;
}

.unified-sidebar-signoff {
  display: grid;
  gap: 0.55rem;
  place-items: center;
  border-top: 1px solid rgba(246, 241, 232, 0.12);
  padding: 1rem 1rem 1.2rem;
  color: rgba(246, 241, 232, 0.82);
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  text-align: center;
}

.unified-sidebar-signoff img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  opacity: 0.72;
}

.my-agapay-home {
  width: min(1360px, 100%);
  padding: clamp(1.1rem, 3vw, 2.2rem) clamp(1rem, 4vw, 2.75rem) 6.5rem;
}

.my-agapay-hero {
  align-items: center;
  margin-bottom: 1.05rem;
  border: 0;
  border-radius: 0;
  padding: clamp(0.45rem, 2vw, 1rem) 0 clamp(0.9rem, 2.4vw, 1.35rem);
  background: transparent;
  box-shadow: none;
}

.my-agapay-hero::after {
  right: 0;
  top: -1rem;
  opacity: 0.035;
}

.my-agapay-profile-card {
  border-radius: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(201, 162, 91, 0.12), transparent 11rem),
    rgba(255, 253, 248, 0.88);
}

.my-agapay-tabbar {
  width: min(100%, 520px);
  min-height: 76px;
  border-radius: 20px 20px 0 0;
}

@media (min-width: 901px) {
  .donor-home .donor-app-shell {
    display: grid;
    grid-template-columns: 264px minmax(0, 1fr);
  }

  .donor-home-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    height: 100vh;
  }

  .donor-home .donor-home-topbar {
    min-height: 68px;
  }

  .my-agapay-home {
    padding-bottom: 3.25rem;
  }
}

@media (min-width: 1180px) {
  .my-agapay-hero {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.28fr);
  }
}

@media (max-width: 720px) {
  .donor-home .donor-home-topbar {
    min-height: 64px;
    padding-inline: 0.82rem;
  }

  .donor-home-topbar-brand {
    gap: 0.46rem;
  }

  .donor-home-topbar-brand img {
    width: 2rem;
    height: 2rem;
  }

  .donor-home-topbar-brand .topbar-title {
    font-size: 1.42rem;
  }

  .donor-home-topbar-brand small {
    display: none;
  }

  .donor-home-quick-action {
    display: none;
  }

  .donor-home-account-chip {
    gap: 0;
    min-height: 2.6rem;
    padding: 0.22rem;
  }

  .donor-home-account-chip span:last-child {
    display: none;
  }

  .donor-home-mini-avatar {
    width: 2.12rem;
    height: 2.12rem;
    font-size: 0.74rem;
  }

  .donor-home .donor-home-topbar .btn-sm {
    min-height: 2.35rem;
    padding-inline: 0.72rem;
    font-size: 0.78rem;
  }

  .my-agapay-home {
    padding-top: 1rem;
  }

  .my-agapay-profile-card {
    padding: 0.95rem;
  }
}

@media (max-width: 430px) {
  .donor-home-topbar-brand img {
    display: none;
  }

  .donor-home .donor-home-topbar .topbar-actions {
    gap: 0.42rem;
  }

  .donor-home .donor-home-topbar [data-auth-guest].btn-gold {
    display: none;
  }
}

.donor-home-sidebar .dashboard-home-cue {
  display: block;
  width: 100%;
  margin-top: 0.12rem;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  white-space: normal;
}

.donor-home .donor-home-topbar [data-auth-guest].btn-ghost {
  background: transparent;
  color: #fffdf8;
}

.soon-card .my-agapay-product-head {
  align-items: start;
}

.soon-card .coming-pill {
  margin-top: 0.58rem;
  transform: translateY(0);
}

.my-agapay-waitlist-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.55rem;
  margin-top: auto;
}

.my-agapay-waitlist-form input {
  width: 100%;
  min-height: 2.8rem;
  border: 1px solid rgba(201, 162, 91, 0.28);
  border-radius: 10px;
  padding: 0.65rem 0.82rem;
  background: rgba(255, 255, 255, 0.74);
  color: var(--navy);
  font: 700 0.9rem/1.2 var(--sans);
  outline: none;
}

.my-agapay-waitlist-form input:focus {
  border-color: rgba(201, 162, 91, 0.72);
  box-shadow: 0 0 0 3px rgba(201, 162, 91, 0.18);
}

.my-agapay-action.market-action,
.my-agapay-action.directory-action {
  width: 100%;
  border: 0;
  cursor: pointer;
  color: #fffdf8;
}

.my-agapay-action.market-action {
  background: #7b5412;
  box-shadow: 0 12px 24px rgba(123, 84, 18, 0.18);
}

.my-agapay-action.directory-action {
  background: #553671;
  box-shadow: 0 12px 24px rgba(85, 54, 113, 0.18);
}

.my-agapay-action.market-action:hover,
.my-agapay-action.directory-action:hover {
  filter: brightness(1.05);
}

.my-agapay-action.market-action:disabled,
.my-agapay-action.directory-action:disabled {
  cursor: wait;
  opacity: 0.72;
}

.waitlist-status {
  min-height: 1.05rem;
  margin: 0;
  color: rgba(6, 21, 34, 0.66);
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
}

.my-agapay-waitlist-form.is-complete input {
  border-color: rgba(40, 92, 54, 0.3);
  background: rgba(240, 247, 238, 0.88);
}

.locked-product-card {
  min-height: 15.5rem;
}

.locked-card-preview {
  position: relative;
  display: grid;
  gap: 0.62rem;
  user-select: none;
  pointer-events: none;
}

.locked-product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.5), transparent 13rem),
    linear-gradient(180deg, rgba(255, 253, 248, 0.1), rgba(255, 253, 248, 0.42));
  pointer-events: none;
}

.coming-soon-ribbon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  border: 1px solid rgba(255, 253, 248, 0.52);
  border-radius: 999px;
  padding: 0.42rem 0.78rem;
  background: rgba(6, 21, 34, 0.88);
  color: #fffdf8;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 14px 28px rgba(6, 21, 34, 0.16);
}

.locked-data-list {
  display: grid;
  gap: 0.42rem;
  margin-top: 0;
  filter: blur(2px);
  opacity: 0.72;
}

.locked-data-list div {
  display: grid;
  gap: 0.12rem;
  border: 1px solid rgba(159, 47, 47, 0.14);
  border-radius: 10px;
  padding: 0.52rem 0.65rem;
  background: rgba(255, 255, 255, 0.62);
}

.directory-preview-list div {
  border-color: rgba(92, 62, 117, 0.14);
}

.locked-data-list span,
.locked-data-list small {
  color: rgba(6, 21, 34, 0.56);
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.locked-data-list strong {
  color: var(--navy);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.25;
}

.locked-data-list small {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.locked-product-card .my-agapay-waitlist-form {
  z-index: 4;
  margin-top: auto;
}

.my-agapay-live-grid .ag-product-card,
.my-agapay-coming-grid .ag-product-card {
  min-height: 18rem;
}

@media (max-width: 900px) {
  .donor-home .donor-home-topbar {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
  }

  .donor-home .donor-home-topbar .topbar-actions {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
  }
}

@media (max-width: 430px) {
  .donor-home .donor-home-topbar .donor-home-topbar-brand img {
    display: block;
    width: 1.65rem;
    height: 1.65rem;
  }

  .donor-home .donor-home-topbar .donor-home-topbar-brand .topbar-title {
    font-size: 1.28rem;
  }
}

/* My AGAPAY requested utility/sidebar color refinements. */
.donor-home-topbar-brand .topbar-title,
.donor-home .donor-home-topbar .donor-home-topbar-brand .topbar-title {
  color: #fffdf8;
}

.donor-home-topbar-brand small {
  color: rgba(246, 241, 232, 0.78);
}

.donor-home-account-chip,
.donor-home .donor-home-topbar [data-auth-required].btn-ghost {
  border-color: rgba(201, 162, 91, 0.32);
  background: rgba(255, 255, 255, 0.08);
  color: #fffdf8;
}

.donor-home-account-chip strong,
.donor-home-account-chip small {
  color: #fffdf8;
}

.donor-home-account-chip small {
  opacity: 0.76;
}

.donor-home-mini-avatar {
  background: #c9a25b;
  color: #061522;
}

.soon-card .market-icon,
.market-icon {
  color: #9f2f2f;
}

.market-card {
  background:
    linear-gradient(145deg, rgba(255, 240, 237, 0.96), rgba(255, 252, 246, 0.9)),
    var(--paper);
}

.my-agapay-action.market-action {
  background: #9f2f2f;
  box-shadow: 0 12px 24px rgba(159, 47, 47, 0.18);
}

@media (min-width: 901px) {
  .donor-home-sidebar .unified-brand .brand-mark {
    display: none;
  }

  .donor-home-sidebar .unified-brand {
    padding-top: 1.35rem;
  }
}

@media (max-width: 900px) {
  .donor-home-topbar-brand small {
    display: none;
  }
}

