:root {
  --navy: #122559;
  --navy-2: #244d9f;
  --blue: #244d9f;
  --gold: #edae26;
  --gold-2: #fff4d2;
  --gold-deep: #c49212;
  --paper: #f7f6f2;
  --ink: #f7f4ef;
  --muted: #d5deea;
  --card: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.16);
  --coin: #7a2430;
  --coin-mid: #481820;
  --coin-deep: #24080e;
  --coin-face: radial-gradient(circle at 35% 30%, #7a2430, #481820 58%, #24080e);
  --coin-ink: #f0c8ce;
  --warn: #f0c8ce;
  --shadow: none;
  --sans: "Inter", "Open Sans", system-ui, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(122, 36, 48, 0.55), transparent 46%),
    linear-gradient(180deg, #07101f 0%, #122559 48%, #16356f 100%);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.5;
  color-scheme: dark;
}
#app { min-height: 100vh; display: flex; flex-direction: column; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: #fff; }
:focus-visible { outline: 2px solid var(--coin-ink); outline-offset: 3px; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  padding: 8px 12px;
  z-index: 5;
}
.skip:focus { top: 12px; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.page { flex: 1; padding: 28px 0 64px; }

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--navy);
  color: #fff;
}
.top-row, .footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top-row { min-height: 74px; }
.brand { display: flex; align-items: center; color: #fff; text-decoration: none; line-height: 0; }
.brand img { width: auto; height: 38px; max-width: 200px; object-fit: contain; }
.tagline {
  margin: 0 0 0 auto;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: right;
}
.nav { display: flex; align-items: center; gap: 4px 8px; flex-wrap: wrap; }
.nav a, .nav button.linkish {
  color: #fff;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 8px 10px;
  font-weight: 700;
  cursor: pointer;
}
.header-cta {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid #fff;
  background: #fff;
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.header-cta:hover { color: var(--gold-deep); }

h1, h2, h3 { color: #fff; font-family: var(--serif); font-weight: 500; letter-spacing: -0.03em; }
h1 { font-size: clamp(40px, 5vw, 60px); line-height: 1.02; margin: 0 0 8px; }
h2 { margin: 28px 0 8px; font-size: clamp(28px, 3vw, 36px); }
h3 { margin: 0 0 6px; font-size: 24px; }
.kicker {
  margin: 0 0 14px;
  color: var(--coin-ink);
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
}
.kicker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}
.kicker-row .kicker { margin: 0; }
.sample-host-link {
  margin-left: auto;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.sample-host-link:hover { text-decoration: underline; }
.sample-note {
  margin: 10px 0 0;
  max-width: 40rem;
  color: var(--coin-ink);
  font-weight: 700;
}
.lede { font-size: clamp(18px, 2vw, 22px); max-width: 40rem; color: var(--muted); margin: 18px 0 0; line-height: 1.45; }
.register-copy { max-width: 44rem; margin: 16px 0 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.register-copy p { margin: 0 0 0.8em; }
.register-copy p:last-child { margin-bottom: 0; }
.panel, .card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--coin);
  border-radius: 2px;
  padding: 20px;
  box-shadow: none;
  color: var(--ink);
}
.stack { display: grid; gap: 16px; margin-top: 28px; }
.open-events > h2, .closed-events > h2 { margin: 0; }
.event-list { list-style: none; margin: 8px 0 0; padding: 0; }
.event-list li { border-top: 1px solid var(--line); }
.event-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  width: 100%;
  margin: 0;
  padding: 12px 28px 12px 2px;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
  position: relative;
}
.event-name {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.02em;
}
.event-meta { color: var(--muted); font-size: 15px; }
.event-row::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 22px;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.event-row[aria-expanded="true"]::after { transform: translateY(3px) rotate(-135deg); }
.event-row:hover .event-name,
.event-row[aria-expanded="true"] .event-name { color: var(--gold); }
.event-body { padding: 0 2px 16px; }
.event-body > p { margin: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field-wide { grid-column: 1 / -1; }
.field.is-bad input,
.field.is-bad select,
.field.is-bad input:focus,
.field.is-bad select:focus {
  border-color: var(--coin-ink);
  box-shadow: 0 0 0 3px rgba(240, 200, 206, 0.45);
  background: rgba(122, 36, 48, 0.45);
}
.field.is-bad label { color: var(--coin-ink); }
.field-hint {
  margin: 6px 0 0;
  color: var(--gold-2);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: none;
}
.church-question {
  margin: 0.85rem 0 0.55rem;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.35;
}
.church-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.church-choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 2px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}
.church-choice input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
  padding: 0;
  accent-color: var(--gold);
}
.church-choice:has(input:checked) {
  border-color: var(--gold);
  color: var(--gold);
}
.church-ask.is-bad .church-question,
.church-ask.is-bad .church-choice { color: var(--coin-ink); }
.church-ask.is-bad .church-choice { border-color: var(--coin-ink); }
.follow-photo.is-bad {
  margin-top: 18px;
  padding: 12px;
  border: 2px solid var(--coin-ink);
  background: rgba(122, 36, 48, 0.35);
}
label {
  display: block;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0.85rem 0 0.4rem;
}
input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.75rem;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
input::placeholder, textarea::placeholder { color: #aeb8c8; }
select option { color: #122559; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--coin-ink);
  box-shadow: 0 0 0 3px rgba(122, 36, 48, 0.45);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  margin-top: 16px;
  padding: 12px 18px;
  border-radius: 2px;
  border: 0;
  background: var(--coin-face);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(72, 24, 32, 0.35);
}
.btn:hover { background: radial-gradient(circle at 35% 30%, #9a3a48, #5c2430 58%, #301018); color: #fff; }
.btn.ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: none;
}
.btn.ghost:hover { background: transparent; border-color: var(--coin-ink); color: var(--coin-ink); }
.btn.full { width: 100%; }
.btn.danger {
  background: transparent;
  color: var(--coin-ink);
  border: 1px solid var(--coin);
  box-shadow: none;
}
.btn.danger:hover { background: rgba(122, 36, 48, 0.35); color: #fff; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.actions .btn { margin-top: 0; }
.card > h2, .panel > h2 { margin-top: 0; }
.follow-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.follow-head h2 { margin: 0; }
.follow-head .actions { margin-top: 0; margin-left: auto; }
.follow-downloads { display: grid; gap: 18px; margin-top: 12px; }
.follow-download-line { display: flex; flex-wrap: nowrap; gap: 8px; align-items: center; }
.follow-download-line .btn { margin-top: 0; white-space: nowrap; }
.follow-count {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 10px;
  border-radius: 2px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
}
.follow-count:hover { background: var(--gold-2); }
.event-row-delete { margin: 0 0 12px 2px; }
.msg { min-height: 1.4em; margin: 10px 0 0; font-weight: 700; color: #fff; }
.msg.bad { color: var(--coin-ink); }
.hp { position: absolute; left: -9999px; height: 0; width: 0; overflow: hidden; }
.share {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 12px;
}
.share input { flex: 1 1 16rem; }
.share .btn { margin-top: 0; width: auto; }
.qr-wrap { display: flex; gap: 16px; align-items: center; margin-top: 14px; }
.qr-link { display: block; line-height: 0; flex: 0 1 auto; min-width: 0; max-width: 100%; }
.qr {
  width: auto;
  height: auto;
  max-width: 100%;
  background: #fff;
  border: 3px solid var(--gold);
  border-radius: 2px;
  fill: #122559;
}
.qr rect { shape-rendering: crispEdges; }
.qr-note { margin: 0; color: var(--muted); max-width: 36ch; }

.desk-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 8px;
}
.desk-nav-row {
  display: flex;
  gap: 22px;
  align-items: center;
}
.desk-nav a {
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
}
.desk-nav a.is-on {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 6px;
}
.desk-nav a:hover { color: var(--gold); }
.completed-events { margin-top: 22px; }
.completed-events > h2 { margin: 0; }
.completed-events .call-log-list { margin: 16px 0 0; }
.views-coins, .call-log-list, .coin-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 8px 0 18px;
}
.view-coin {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  padding: 16px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  background: radial-gradient(circle at 35% 30%, #3a6fd0, var(--navy) 58%, #0c1838);
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 16px rgba(18, 37, 89, 0.18), inset 0 2px 0 rgba(255, 255, 255, 0.28);
  cursor: pointer;
}
.view-coin > span {
  display: block;
  max-width: 100%;
  text-wrap: balance;
}
.view-coin.event-coin {
  width: 156px;
  height: 156px;
  padding: 28px 22px;
  font-size: 13px;
  line-height: 1.12;
}
.name-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  max-width: 40rem;
}
.name-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--line);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.name-list a:hover span { text-decoration: underline; }
.name-list small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.name-list a.is-new small { color: var(--coin-ink); }
.event-status {
  margin: 8px 0 0;
  color: var(--gold);
  font-weight: 800;
}
.register-facts {
  max-width: 40rem;
  margin: 8px 0 4px;
}
.register-facts p {
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
.register-facts span {
  display: block;
  margin-bottom: 2px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.register-facts a { font-weight: 800; }
.view-coin small {
  display: block;
  margin-top: 3px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}
.view-coin:hover { color: #fff; }
.view-coin.call-log-waiting {
  background: var(--coin-face);
  box-shadow: 0 8px 16px rgba(72, 24, 32, 0.35), inset 0 2px 0 rgba(255, 255, 255, 0.22);
}
.view-coin.is-on { outline: 3px solid var(--gold); outline-offset: 3px; }
button.view-coin { appearance: none; }

.find { margin: 0 0 8px; }
.find input { max-width: 28rem; }

.orbit {
  position: relative;
  width: min(100%, 680px);
  aspect-ratio: 1;
  margin: 8px auto 18px;
}
.orbit-map {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  background: #d7e3f4;
  pointer-events: none;
}
.orbit-map #person-map,
.orbit-map .leaflet-container { width: 100%; height: 100%; background: #d7e3f4; }
.orbit-map .leaflet-control-attribution {
  font-size: 10px;
  background: rgba(255, 255, 255, 0.8);
}
.orbit.is-hidden { display: none; }
.orbit-person {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(220px, 42%);
  text-align: center;
  pointer-events: none;
}
.person-name {
  margin: 0 0 8px;
  max-width: 12rem;
  color: #122559;
  background: none;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  line-height: 1.05;
  text-shadow: 0 0 8px #fff, 0 1px 0 #fff;
}
.person-photo {
  width: 84px;
  height: 84px;
  margin: 0 auto;
  border-radius: 50%;
  border: 4px solid var(--gold);
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.person-photo span { color: #fff; font-size: 28px; font-weight: 800; letter-spacing: 0.04em; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.person-phone {
  pointer-events: auto;
  display: block;
  width: 100%;
  margin: 8px 0 0;
  padding: 8px 10px;
  background: #fff;
  border: 2px solid var(--gold);
  border-radius: 12px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.person-address {
  width: 100%;
  margin: 6px 0 0;
  padding: 6px 8px;
  background: #fff;
  border: 2px solid var(--gold);
  border-radius: 12px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}
.view-coin.orbit-coin {
  position: absolute;
  z-index: 2;
  width: 104px;
  height: 104px;
  margin: 0;
  padding: 8px;
  overflow: hidden;
  transform: translate(-50%, -50%);
}
.view-coin.orbit-coin.church-coin { font-size: 11px; line-height: 1.1; }
.view-coin.orbit-coin.church-coin small { white-space: normal; font-size: 10px; }
.orbit-sheet {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  width: min(300px, 52%);
  max-height: 62%;
  overflow: auto;
  margin: 0;
  padding: 10px 12px;
  text-align: left;
  color: #122559;
  background: #fff;
  border: 1px solid rgba(18, 37, 89, 0.16);
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(18, 37, 89, 0.18);
  transform: translate(-50%, -50%);
}
.orbit-sheet[hidden] { display: none; }
.orbit-sheet.church-sheet { width: min(320px, 54%); max-height: 64%; }
.orbit-sheet.church-sheet img { display: block; max-width: 120px; max-height: 64px; margin: 0 auto 6px; object-fit: contain; }
.orbit-sheet a,
.orbit-sheet p {
  display: block;
  margin: 0;
  padding: 6px 2px;
  border-bottom: 1px solid rgba(18, 37, 89, 0.12);
  color: #122559;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}
.orbit-sheet a:last-child,
.orbit-sheet p:last-child { border-bottom: 0; }
.orbit-sheet .orbit-title,
.orbit-sheet .orbit-empty { margin: 0 0 8px; padding: 0; border: 0; font-size: 14px; font-weight: 800; }
.orbit-sheet small { display: block; color: #5c6b82; font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.orbit-sheet label { color: #122559; }
.orbit-sheet input,
.orbit-sheet textarea { color: #122559; background: #f7f4ef; border-color: rgba(18, 37, 89, 0.2); }
.orbit-sheet .msg { color: #122559; }
.orbit-sheet .msg.bad { color: #7a2430; }
.orbit-sheet .btn { width: 100%; }
.orbit-sheet .thread { display: grid; gap: 8px; max-height: 140px; overflow: auto; margin: 0 0 8px; }
.orbit-sheet .bubble { background: #f4f7fb; border-radius: 10px; padding: 8px; color: #122559; font-size: 13px; white-space: pre-wrap; }
.orbit-sheet .muted, .orbit-sheet .bubble .muted { color: #5c6b82; font-size: 12px; font-weight: 700; }
.orbit-note { max-width: 40rem; margin: 0 auto 18px; }
.orbit-note[hidden] { display: none; }
.orbit-note .back-circle {
  background: none;
  border: 0;
  padding: 0;
  color: var(--gold);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.view-coin.orbit-coin.resource-coin { font-size: 13px; }
.resource-panel {
  background: #f7f6f2;
  color: #122559;
  border: 1px solid rgba(18, 37, 89, 0.12);
  border-top: 3px solid var(--gold);
  border-radius: 16px;
}
.resource-panel h2 { color: #122559; }
.resource-panel label {
  color: #122559;
  letter-spacing: 0;
  text-transform: none;
  font-size: 16px;
  margin: 0 0 6px;
}
.resource-panel .muted,
.resource-panel .resource-empty { color: #5c6b82; font-weight: 600; }
.resource-panel .msg { color: #122559; }
.resource-panel .msg.bad { color: #7a2430; }
.resource-panel input,
.resource-panel textarea {
  color: #122559;
  background: #fff;
  border: 1px solid rgba(18, 37, 89, 0.2);
}
.resource-panel input::placeholder,
.resource-panel textarea::placeholder { color: #8b97a8; }
.resource-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 10px;
  align-items: center;
  margin: 0 0 8px;
}
.resource-search label { grid-column: 1 / -1; }
.resource-search input { width: 100%; min-width: 0; }
.resource-search .btn {
  width: auto;
  margin: 0;
  background: var(--gold);
  color: #122559;
  box-shadow: none;
}
.resource-search .btn:hover { background: var(--gold-deep); color: #122559; }
#resource-msg:empty { display: none; }
.resource-block {
  background: #fff;
  border: 1px solid rgba(18, 37, 89, 0.12);
  border-left-width: 6px;
  border-left-color: var(--gold);
  border-radius: 14px;
  margin: 0 0 12px;
}
.resource-block summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  color: #122559;
  font-weight: 800;
  list-style: none;
}
.resource-block summary::-webkit-details-marker { display: none; }
.resource-block summary::after { content: "▸"; color: var(--gold); font-size: 14px; }
.resource-block[open] > summary::after { content: "▾"; }
.resource-block-body { padding: 0 14px 14px; }
.resource-empty { margin: 0; }
.resource-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border: 1px solid rgba(18, 37, 89, 0.12);
  border-left-width: 6px;
  border-left-color: #122559;
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0 0 10px;
}
.resource-item:last-child { margin-bottom: 0; }
.resource-copy { min-width: 0; }
.resource-copy a,
.resource-copy strong {
  color: #122559;
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.resource-copy small {
  display: block;
  margin-top: 2px;
  color: #5c6b82;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: anywhere;
}
.resource-panel .resource-add {
  width: auto;
  flex: none;
  margin: 0;
  min-height: 40px;
  padding: 8px 14px;
  background: #fff;
  color: #122559;
  border: 1px solid rgba(18, 37, 89, 0.28);
  box-shadow: none;
  white-space: nowrap;
}
.resource-panel .resource-add:hover {
  background: #fff;
  color: #122559;
  border-color: #122559;
}
.resource-panel .resource-add.is-added,
.resource-panel .resource-add.is-added:hover {
  background: #122559;
  color: #fff;
  border-color: #122559;
}
.follow-coins {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 18px 0 8px;
  max-width: 40rem;
}
.follow-coins .btn { margin: 0; flex: none; }
.client-coins { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.view-coin.client-touch-coin {
  width: 72px;
  height: 72px;
  min-height: 72px;
  padding: 6px;
  font-size: 18px;
  line-height: 1.05;
  flex: none;
}
.view-coin.client-touch-coin small { font-size: 10px; }
.client-minutes-coin { cursor: default; }
.client-minutes-coin:hover { color: var(--gold); }
.client-minutes-long { font-size: 14px; }
.client-touch-list {
  max-width: 40rem;
  margin: 8px 0 14px;
}
.client-touch-list[hidden], #profile-panel[hidden] { display: none; }
.contact p { margin: 0 0 8px; }
.contact a { font-weight: 800; }
.notes { display: grid; gap: 8px; margin-top: 8px; }
.note {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-left: 3px solid var(--coin);
  border-radius: 2px;
  padding: 12px 14px;
}
.note span { display: block; color: var(--coin-ink); font-size: 13px; font-weight: 700; }
.note p { margin: 4px 0 0; white-space: pre-wrap; }
.follow-lines {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.follow-lines li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  margin: 0;
  padding: 7px 0;
  background: none;
  border: 0;
  line-height: 1.35;
}
.follow-lines li > * + *::before {
  content: "·";
  margin: 0 10px;
  color: #aeb8c8;
}
.follow-lines .when { color: var(--muted); font-size: 15px; }
.follow-lines a { font-weight: 700; text-decoration: none; }
.follow-lines a:hover { text-decoration: underline; }
.back { margin: 0 0 12px; font-weight: 700; }
.footer-links { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.footer-links a, .back a { font-weight: 700; text-decoration: none; }
.back { margin: 0 0 12px; }

@media (max-width: 800px) {
  .form-grid { grid-template-columns: 1fr; }
  .tagline { display: none; }
  .orbit { width: min(100%, 440px); }
  .view-coin.orbit-coin { width: 80px; height: 80px; }
  .view-coin.orbit-coin.church-coin { font-size: 10px; padding: 6px; }
  .view-coin.orbit-coin.resource-coin { font-size: 11px; padding: 6px; }
  .resource-search { grid-template-columns: 1fr; }
  .resource-search .btn { width: 100%; }
  .resource-item { flex-direction: column; align-items: stretch; }
  .resource-panel .resource-add { align-self: flex-start; }
  .person-photo { width: 64px; height: 64px; }
  .person-photo span { font-size: 20px; }
  .person-name { font-size: 28px; }
  .person-phone { font-size: 15px; }
  .person-address { font-size: 12px; }
  .view-coin { width: 108px; height: 108px; font-size: 12px; padding: 14px; }
  .view-coin.event-coin { width: 140px; height: 140px; padding: 24px 18px; font-size: 12px; }
  .qr-wrap { align-items: flex-start; flex-direction: column; }
  .follow-download-line { flex-wrap: wrap; }
}

.landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #f7f4ef;
  background: transparent;
}
.landing-header { border-bottom: 0; }
.landing-bar {
  width: min(1120px, calc(100% - 48px));
  height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.landing-nav { display: flex; align-items: center; gap: 18px; }
.landing-nav a,
.landing-nav button.linkish {
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.landing-nav a.landing-donate,
.landing-submit {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  padding: 12px 18px;
  border: 0;
  border-radius: 2px;
  background: var(--coin-face);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(72, 24, 32, 0.35);
}
.landing-nav a.landing-donate:hover,
.landing-submit:hover {
  background: radial-gradient(circle at 35% 30%, #9a3a48, #5c2430 58%, #301018);
  color: #fff;
}
.landing-main {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 78px 0 96px;
  flex: 1;
}
.landing-kicker {
  margin: 0 0 14px;
  color: var(--coin-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.landing h1 {
  max-width: 16ch;
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 84px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.landing.desk h1 {
  max-width: 22ch;
  font-size: clamp(36px, 5vw, 56px);
}
.landing-meta {
  margin: 22px 0 0;
  color: var(--coin-ink);
  font-size: 18px;
  font-weight: 700;
}
.landing-sub {
  max-width: 38rem;
  margin: 22px 0 0;
  color: #d5deea;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
}
.landing-form { max-width: 860px; margin-top: 36px; }
.follow-photo { margin-top: 18px; max-width: 40rem; }
.follow-photo p {
  margin: 0;
  color: #d5deea;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.45;
}
.follow-photo img {
  display: block;
  width: 96px;
  height: 96px;
  margin-top: 12px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  background: #fff;
}
.follow-photo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 12px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 2px;
  color: #fff;
  background: transparent;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}
.follow-photo-btn:hover { border-color: var(--gold); color: var(--gold); }
.follow-photo-name { margin-top: 8px !important; color: #aeb8c8 !important; font-size: 14px !important; }
.follow-photo .msg { margin-top: 8px; }
.landing-submit { margin-top: 28px; }
.landing-thanks {
  max-width: 36rem;
  margin-top: 42px;
  padding: 20px 22px;
  border-left: 3px solid var(--coin);
  background: rgba(255, 255, 255, 0.08);
}
.landing-thanks p:first-child {
  margin: 0;
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.2;
}
.landing-thanks p:last-child { margin: 10px 0 0; color: #d5deea; }
.landing-host { margin: 28px 0 0; max-width: 42rem; color: #aeb8c8; font-size: 15px; line-height: 1.45; }
.landing-host a { color: #fff; }
.landing-footer {
  border-top: 0;
  color: #d5deea;
  padding: 28px 0 40px;
  font-size: 15px;
}
.landing-footer p { margin: 0; }
.landing-foot {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 28px;
  flex-wrap: wrap;
}
.landing-footer a { color: #fff; font-weight: 700; text-decoration: none; }
@media (max-width: 700px) {
  .landing-bar, .landing-main, .landing-foot { width: min(100% - 32px, 1120px); }
  .landing-bar { height: auto; min-height: 68px; padding: 12px 0; align-items: flex-start; }
  .landing-nav { flex-wrap: wrap; justify-content: flex-end; gap: 10px 14px; }
  .landing .brand img { height: 32px; }
  .landing-main { padding: 48px 0 72px; }
  .landing h1 { font-size: clamp(42px, 12vw, 64px); }
  .landing.desk h1 { font-size: clamp(34px, 8vw, 48px); }
  .landing-submit, .landing .landing-form .btn { justify-content: center; width: 100%; }
}
