:root {
  --navy: #122559;
  --navy-2: #244d9f;
  --blue: #244d9f;
  --gold: #edae26;
  --gold-2: #fff4d2;
  --gold-deep: #c49212;
  --paper: #f7f6f2;
  --ink: #1a1f36;
  --muted: #5c6578;
  --card: #ffffff;
  --line: rgba(18, 37, 89, 0.12);
  --good: #1f7a4d;
  --warn: #9b2226;
  --shadow: 0 10px 28px rgba(18, 37, 89, 0.07);
  --serif: "Inter", "Open Sans", system-ui, sans-serif;
  --sans: "Inter", "Open Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 45% at 100% -8%, rgba(237, 174, 38, 0.26), transparent 52%),
    radial-gradient(ellipse 45% 35% at 0% 8%, rgba(18, 37, 89, 0.07), transparent 48%),
    var(--paper);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.5;
}
#app { min-height: 100vh; display: flex; flex-direction: column; }
#main { flex: 1; }
.gate-top .top-row { justify-content: center; }
.gate-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 74px);
  padding: 36px 16px 64px;
}
.gate { width: min(440px, 100%); text-align: center; animation: gate-in 0.45s ease; }
.gate h1 { font-size: clamp(1.85rem, 4.6vw, 2.45rem); line-height: 1.12; margin: 0 0 18px; }
.gate .lede { margin: 0 auto 22px; font-size: 1.15rem; }
.gate form, .gate .panel { text-align: left; }
.gate .panel {
  padding: 26px 24px 20px;
  box-shadow: 0 22px 50px rgba(18, 37, 89, 0.14), 0 0 0 10px rgba(237, 174, 38, 0.16);
}
.gate .btn.full { width: 100%; min-height: 52px; margin-top: 18px; font-size: 1.08rem; }
.gate-links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; margin: 14px 0 0; }
@keyframes gate-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gate { animation: none; }
}
a { color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
.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; }
.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, .footer-brand img { width: auto; height: 38px; max-width: 200px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.photo-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 8px 10px;
}
.photo-link img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: #fff; }
.photo-self { display: grid; gap: 12px; justify-items: start; }
.profile-page { display: grid; gap: 18px; }
.profile-page h1, .profile-page h2 { margin: 0; }
.profile-facts { display: grid; gap: 8px; }
.profile-facts p { margin: 0; }
.profile-page form { display: grid; gap: 12px; justify-items: start; width: 100%; }
.record-facts { display: grid; gap: 8px; width: 100%; }
.record-facts p { margin: 0; }
.record-note { display: block; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 240px; overflow: auto; }
.lens-banner { background: var(--gold-2); color: var(--navy); border-radius: 12px; padding: 10px 12px; font-weight: 700; }
.person-lenses { display: grid; gap: 12px; }
.person-lenses p { margin: 0; }
#account-editor .person-lenses { margin: 4px 0 8px; }
.nav a, .nav button.linkish {
  color: #fff;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 8px 10px;
  font-weight: 700;
  cursor: pointer;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(196, 146, 18, 0.28);
}
.btn:hover { background: #f5c040; }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn.ghost { background: #fff; color: var(--navy); border-color: var(--line); box-shadow: none; }
.btn.full { width: 100%; }
.nav .header-cta, .nav a.btn {
  background: #fff;
  color: var(--gold);
  border-color: #fff;
  box-shadow: none;
  padding: 8px 18px;
}
.nav .header-cta:hover, .nav a.btn:hover { color: var(--gold-deep); background: #fff; }
.top .menu-toggle { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); box-shadow: none; }
.menu-toggle { display: none; }

h1, h2, h3 { color: var(--navy); font-weight: 800; letter-spacing: -0.03em; }
.hero { padding: 56px 0 24px; }
.hero h1, .page h1, .panel h2, .card h2, .card h3, .legal h1, .legal h2 { font-family: var(--sans); font-weight: 800; letter-spacing: -0.03em; color: var(--navy); }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.08; margin: 0 0 12px; }
.lede { font-size: 21px; max-width: 720px; color: var(--muted); }
.kicker { color: #b8860b; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 13px; }
.grid { display: grid; gap: 16px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card, .panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 6px solid var(--gold);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.add-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.card p, .panel p { margin-top: 0; }
a.card { color: inherit; text-decoration: none; display: block; }
a.card h2 { margin: 0 0 6px; font-size: 26px; }
a.card strong { display: block; font-size: 32px; color: var(--navy); }
.prayer-request { margin: 0 0 16px; }
.prayer-request h2 { margin: 0 0 10px; font-size: 22px; }
.prayer-request textarea { min-height: 96px; }
.prayer-request-msg:empty { display: none; }
.prayer-request-past { display: grid; gap: 12px; margin: 0 0 16px; }
.prayer-request-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 6px solid var(--gold);
  border-radius: 18px;
  padding: 16px;
}
.prayer-request-card h3 { margin: 0 0 8px; font-size: 16px; }
.prayer-request-card p { margin: 0; white-space: pre-wrap; }
.record-screen {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(18, 37, 89, 0.45);
  overflow: auto;
}
.record-screen-sheet { width: min(720px, 100%); margin: auto; }
.record-screen-close { margin: 0 0 10px; }
.record-screen .partner-editor,
.record-screen .prayer-request-past { margin: 0; }
.coord-hello {
  font-size: 1.5625rem;
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 16px;
}
.school-home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 200px));
  gap: 16px;
}
.coord-shared-files { margin-top: 40px; }
.school-home-box {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 6px solid var(--gold);
  border-radius: 18px;
  box-shadow: var(--shadow);
  text-decoration: none;
}
.school-home-box:hover { transform: translateY(-3px); }
.school-prayer-admin-box,
.coord-shared-file {
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}
.coord-shared-file { flex-direction: column; gap: 8px; }
.school-home-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.coord-shared-file img {
  width: auto;
  height: auto;
  max-width: 86%;
  max-height: 62%;
  min-height: 0;
  flex: 0 1 auto;
  object-fit: contain;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin: 16px 0 1.5rem;
}
.product-box {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 6px solid var(--gold);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.product-box[hidden] { display: none; }
.product-file {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}
.product-file span, .product-box p, .product-box small { overflow-wrap: anywhere; }
.product-file img, .product-kind {
  width: 100%;
  height: 140px;
  object-fit: contain;
  background: var(--paper);
  border-radius: 10px;
}
.product-kind {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--navy);
}
.product-box p, .product-box small { margin: 0; }
#knowledge-grid .product-box p { white-space: pre-wrap; }
.product-box small { color: var(--muted); font-size: 0.85rem; }
.product-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.home-cards { grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 10px; }
.home-cards .card { padding: 12px 14px; border-top-width: 4px; border-radius: 14px; }
.home-cards a.card h2 { font-size: 18px; margin: 0 0 4px; }
.home-cards a.card p { font-size: 14px; line-height: 1.35; margin-bottom: 0; }
.home-cards a.card strong { font-size: 22px; }
.approval-card { margin: 0 0 12px; }
.approval-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.approval-head h3 { margin: 0 0 8px; }
.approval-logo { max-width: 180px; max-height: 84px; object-fit: contain; background: #fff; }
.approval-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.approval-folder { margin: 8px 0 18px; }
.approval-folder summary { cursor: pointer; font-weight: 800; color: var(--navy); }
.views-coins { display: flex; flex-wrap: wrap; gap: 16px; margin: 6px 0 18px; max-width: 100%; }
.admin-title { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 18px; margin: 8px 0 12px; }
.admin-title h1 { margin: 0; }
.admin-title .views-coins { margin: 0; }
.accounts-title h1 { display: flex; flex-direction: column; align-items: flex-start; flex: 0 0 auto; line-height: 1.05; }
.accounts-title h1 span { display: block; margin-top: 2px; font-size: 0.58em; font-weight: 700; letter-spacing: 0; }
.accounts-title .views-coins { flex: 1 1 auto; min-width: 0; }
@media (min-width: 1080px) {
  .accounts-title { flex-wrap: nowrap; }
  .accounts-title .views-coins { flex-wrap: nowrap; gap: 10px; }
  .accounts-title .view-coin { width: 100px; height: 100px; font-size: 12px; padding: 8px; }
}
.view-coin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  padding: 10px;
  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);
}
.view-coin.compact { font-size: 12px; line-height: 1.12; padding: 8px; }
.view-coin:hover { color: #fff; }
.invite-coin {
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 16px 12px;
  cursor: default;
}
.invite-coin:hover { color: var(--gold); }
.invite-coin input {
  width: 100%;
  min-height: 0;
  height: 26px;
  margin: 0;
  padding: 2px 4px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}
.invite-coin input::placeholder { color: rgba(18, 37, 89, 0.45); }
.invite-coin .invite-send {
  width: auto;
  min-height: 0;
  height: 22px;
  margin: 8px 0 0;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
  line-height: 22px;
  box-shadow: none;
  cursor: pointer;
}
.invite-coin .invite-send:disabled { opacity: 0.55; cursor: default; }
.invite-msg { margin: -8px 0 14px; color: var(--navy); font-size: 13px; font-weight: 700; }
.invite-msg[hidden] { display: none; }
.view-coin.call-log-waiting {
  background: radial-gradient(circle at 35% 30%, #7a2430, #481820 58%, #24080e);
  box-shadow: 0 8px 16px rgba(72, 24, 32, 0.35), inset 0 2px 0 rgba(255, 255, 255, 0.22);
}
.call-log-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 6px 0 18px;
}
.call-log-list .data-box { width: 148px; flex: 0 0 148px; }
.call-log-list .data-box img.avatar {
  width: 72px;
  height: 72px;
  max-width: 72px;
  max-height: 72px;
  border-radius: 50%;
  object-fit: cover;
}
.volunteer-coin {
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.volunteer-coin small { font-size: 12px; font-weight: 800; color: #fff; }
.volunteer-coin[hidden] { display: none; }
.client-file-action { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 0 0 14px; }
.client-file-state { color: var(--navy); font-size: 12px; font-weight: 800; }
.client-file-move { width: auto; min-width: 12rem; min-height: 44px; padding: 6px 8px; font-size: 12px; line-height: 1.2; text-align: center; white-space: normal; }
.client-file-msg { margin: 0; color: var(--warn); font-size: 12px; font-weight: 700; }
.hub-row { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hub-row[hidden] { display: none; }
.hub-add-post {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 6px solid var(--gold);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
  color: var(--ink);
}
.hub-add-post h3 { margin: 0 0 0.5rem; color: var(--navy); font-size: 1.15rem; }
.hub-add-hint { margin: 0 0 0.75rem; color: var(--muted); font-size: 0.88rem; line-height: 1.45; }
#hub-post.event-editor-form,
#hub-post .event-editor-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.65rem 0.75rem;
  align-items: end;
}
#hub-post label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}
#hub-post label em { color: var(--gold-deep); font-style: normal; }
#hub-post input,
#hub-post select,
#hub-post textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(18, 37, 89, 0.2);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 500;
  background: #fff;
  color: var(--ink);
  resize: vertical;
  color-scheme: light;
}
#hub-post input::placeholder,
#hub-post textarea::placeholder { color: var(--muted); }
#hub-post .event-editor-full { grid-column: 1 / -1; }
#hub-post .event-editor-check { flex-direction: row; align-items: center; gap: 0.5rem; }
#hub-post .event-editor-check input { width: auto; min-height: 0; }
#hub-post .event-upload { display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem 0.75rem; }
#hub-post .event-upload-status { font-size: 0.82rem; font-weight: 600; color: var(--navy); }
#hub-post .event-upload-status.is-bad { color: var(--warn); }
#hub-post .event-upload-preview {
  display: block;
  width: min(100%, 280px);
  max-height: 160px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}
#hub-post .event-upload-pdf { font-size: 0.85rem; font-weight: 700; color: var(--navy); }
#hub-post .hub-editor-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
#hub-post .hub-editor-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  padding: 8px 16px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  box-shadow: none;
}
#hub-post .hub-editor-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  box-shadow: 0 8px 18px rgba(196, 146, 18, 0.28);
}
#hub-post .hub-editor-primary:hover { background: #f5c040; }
#hub-post .hub-editor-btn:disabled { opacity: 0.45; cursor: not-allowed; }
#hub-post [hidden] { display: none !important; }
.section { padding: 12px 0 36px; }
.band { background: var(--navy); color: #fff; border-radius: 24px; padding: 28px; }
.band a { color: var(--gold); }
.band h2 { color: #fff; font-family: var(--sans); margin-top: 0; }

label { display: block; font-weight: 700; margin: 12px 0 6px; }
input, select, textarea {
  width: 100%;
  border: 1px solid rgba(18, 37, 89, 0.2);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  min-height: 44px;
}
textarea { min-height: 110px; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
#school-message-schools { max-height: 280px; overflow: auto; margin: 8px 0 12px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; }
#school-message-schools .checks { display: grid; }
#comm-people { margin: 8px 0 12px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; }
#comm-people-list { display: grid; max-height: 240px; overflow: auto; margin-top: 8px; }
#comm-people-list label { border-radius: 12px; overflow-wrap: anywhere; }
#comm [hidden] { display: none; }
#coordinator-add-schools { max-height: 280px; overflow: auto; margin: 8px 0 12px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; }
#coordinator-add-schools .checks { display: grid; }
#school-lookup-logo img { max-height: 72px; max-width: 200px; object-fit: contain; }
.checks label, .check {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  margin: 0;
}
.checks input, .check input { width: auto; min-height: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.error { background: #fff1ee; color: var(--warn); border-radius: 12px; padding: 10px 12px; }
.ok { background: #e9f6ef; color: var(--good); border-radius: 12px; padding: 10px 12px; }
.muted { color: var(--muted); }
.list { display: grid; gap: 10px; }
.who { display: flex; gap: 10px; align-items: center; }
.avatar { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; background: var(--paper); }
.avatar.lg { width: 112px; height: 112px; border-radius: 16px; }
.client-head { display: flex; align-items: center; gap: 12px 16px; margin: 4px 0 14px; }
.client-head h1 { margin: 0; flex: 1 1 auto; min-width: 0; }
.client-coins { display: flex; align-items: center; gap: 8px; flex: none; }
.client-photo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  flex: none;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.client-photo img,
.client-photo .avatar,
.client-photo .avatar.lg { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.client-photo span { color: #fff; font-size: 28px; font-weight: 800; letter-spacing: 0.04em; }
.view-coin.client-touch-coin {
  width: 72px;
  height: 72px;
  min-height: 72px;
  padding: 6px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.05;
  flex: none;
  cursor: pointer;
}
.view-coin.client-touch-coin small { display: block; margin-top: 1px; color: #fff; font-size: 10px; font-weight: 800; }
.client-minutes-coin { cursor: default; }
.client-minutes-coin:hover { color: var(--gold); }
.client-minutes-long { font-size: 14px; }
.client-touch-list {
  margin: -6px 0 14px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-left-width: 6px;
  border-left-color: var(--gold);
  border-radius: 14px;
  max-height: 220px;
  overflow: auto;
}
.client-touch-list[hidden] { display: none; }
.guide-touches { margin: 0; padding-left: 18px; }
.guide-touches li { margin: 6px 0; }
.guide-touches span { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.client-line {
  background: #fff;
  border: 1px solid var(--line);
  border-left-width: 6px;
  border-left-color: var(--gold);
  border-radius: 14px;
  margin: 0 0 10px;
}
.client-line summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  color: var(--navy);
  font-weight: 800;
  list-style: none;
}
.client-line summary::-webkit-details-marker { display: none; }
.client-line summary::after { content: "▸"; color: var(--gold); font-size: 14px; }
.client-line[open] > summary::after { content: "▾"; }
.client-line-body { padding: 0 14px 14px; }
.request-note { white-space: pre-wrap; overflow-wrap: anywhere; }
.note-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.note-actions .btn { width: auto; }
#note-phone[aria-pressed="true"],
#guide-note-phone[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.guide-touches p { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.apply { max-width: 720px; margin: 8px auto 36px; }
.apply-back { margin: 8px 0; }
.apply-back a { color: var(--navy); font-weight: 800; }
.apply-note {
  margin: 0 0 12px;
  background: var(--gold-2);
  color: var(--navy);
  border: 1px solid var(--line);
  border-left-width: 6px;
  border-left-color: var(--gold);
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 700;
}
#apply-preview-msg { margin: 0 0 12px; }
.apply-hero { padding: 8px 2px 14px; }
.apply-hero h1 { margin: 0 0 8px; font-size: clamp(2rem, 4vw, 2.7rem); }
.apply-hero p { margin: 0; color: var(--muted); }
.apply-block {
  background: #fff;
  border: 1px solid var(--line);
  border-left-width: 6px;
  border-left-color: var(--gold);
  border-radius: 14px;
  padding: 14px 16px 16px;
  margin: 0 0 12px;
  box-shadow: var(--shadow);
}
.apply-block h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 20px; }
.apply-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--navy);
  color: var(--gold);
  font-size: 14px;
}
.apply-block .muted { margin: 0 0 12px; font-size: 15px; }
.apply-ask { margin: 0; font-weight: 800; color: var(--navy); }
.apply-person {
  display: grid;
  grid-template-columns: 1fr 96px auto;
  gap: 8px;
  align-items: end;
  background: #fff;
  border: 1px solid var(--line);
  border-left-width: 6px;
  border-left-color: var(--navy);
  border-radius: 14px;
  padding: 10px 12px;
  margin: 0 0 8px;
}
.apply-person label { margin: 0; font-size: 14px; }
.apply-person input[name="householdName"]::placeholder { color: rgba(26, 31, 54, 0.38); }
.apply-remove { width: auto; min-height: 44px; }
.apply-remove[hidden] { display: none; }
#apply-add-person { width: auto; margin-top: 4px; }
.apply-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.apply-choice label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-height: 52px;
  border-radius: 14px;
  border: 2px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
}
.apply-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.apply-choice label:has(input:checked) {
  background: var(--navy);
  color: #fff;
  border-color: var(--gold);
  box-shadow: inset 0 0 0 2px var(--gold);
}
.apply-follow { margin-top: 8px; }
.apply-follow[hidden] { display: none; }
.apply-photo { display: grid; gap: 8px; justify-items: start; }
.apply-photo img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  background: #fff;
}
.apply-photo img[hidden] { display: none; }
.apply-photo .btn { display: inline-flex; width: auto; margin: 0; cursor: pointer; }
.apply-photo .muted, .apply-photo .error { margin: 0; }
.help-page { width: min(760px, 100%); margin: 0 auto 28px; }
.help-hero { padding: 4px 0 16px; }
.help-kicker {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b8860b;
}
.help-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.help-lead { margin: 0 0 14px; color: var(--muted); font-size: 1.05rem; line-height: 1.45; }
.help-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}
.help-steps {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.help-steps li {
  display: grid;
  gap: 8px;
  align-content: start;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: 14px;
  padding: 12px;
}
.help-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
}
.help-steps h2 { margin: 0 0 2px; font-size: 1.05rem; color: var(--navy); }
.help-steps p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.4; }
.help-request { scroll-margin-top: 90px; }
.help-page .apply { max-width: none; margin: 0; }
.help-page .apply-hero { padding: 0 0 8px; }
.help-page .apply-hero h1 { font-size: clamp(1.4rem, 3vw, 1.7rem); }
.help-call {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 16px;
  background: var(--navy);
  color: #fff;
}
.help-call h2 { margin: 0 0 4px; color: #fff; font-size: 1.2rem; }
.help-call p { margin: 0; color: rgba(255, 255, 255, 0.88); }
.help-call .help-btn { background: var(--gold); color: var(--navy); }
.apply-send .btn, .apply-block .btn.full { margin-top: 12px; }
.client-line .client-line { margin: 0 0 10px; border-left-color: var(--navy); }
.client-line .client-line:last-child { margin-bottom: 0; }
.box-photo { display: grid; gap: 8px; justify-items: start; margin: 0; }
.box-photo .muted, .box-photo-msg { margin: 0; }
.box-photo .btn { cursor: pointer; }
.person, .org-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.badge { display: inline-block; background: var(--gold-2); color: var(--navy); border-radius: 999px; padding: 2px 8px; font-size: 14px; font-weight: 700; }
.badge.warn { background: #ffe4d6; }
.map { height: 440px; border-radius: 18px; border: 1px solid var(--line); }
.school-map-page h1 { font-family: var(--sans); font-weight: 800; font-size: 32px; letter-spacing: -0.03em; margin: 8px 0 12px; color: var(--navy); }
.school-map { height: 640px; }
.pin h2, .pin h3 { font-family: var(--sans); letter-spacing: 0; margin: 0 0 8px; }
.pin h2 { font-size: 22px; }
.pin h3 { font-size: 22px; }
.pin p { margin: 0 0 8px; }
.pin-signup { margin-bottom: 8px; }
#pray .btn { margin-top: 14px; }
.prayer-thanks { max-width: 42rem; padding: 36px 0 24px; }
.prayer-thanks h1 { font-size: clamp(1.8rem, 4vw, 2.35rem); line-height: 1.15; margin: 0 0 16px; }
.prayer-thanks p { font-size: 1.125rem; line-height: 1.65; margin: 0 0 14px; color: var(--navy); }
.prayer-thanks-close { font-weight: 800; }
.prayer-thanks .btn { margin-top: 6px; }
.pin-photo { display: block; width: 96px; height: 96px; object-fit: contain; margin: 8px 0; }
.pin-photo.lg { width: 160px; height: 160px; }
.pin-captain { display: block; width: 48px; height: 48px; object-fit: cover; border-radius: 8px; margin: 4px 0 8px; }
.pin-label { font-weight: 700; }
.pin-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pin-tags span { border: 1px solid #868686; border-radius: 6px; padding: 2px 8px; background: #fff; font-size: 15px; }
.pin hr { border: 0; border-top: 1px solid #c0c0c3; margin: 10px 0; }
.footer { background: #244d9f; color: #fff; padding: 28px 0 36px; margin-top: 28px; }
.footer a { color: #fff; text-decoration: none; font-weight: 700; margin-right: 14px; }
.footer-brand { line-height: 0; }
.legal { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--gold); border-radius: 18px; padding: 8px 20px 28px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.thread { display: grid; gap: 8px; max-height: 320px; overflow: auto; }
.bubble { padding: 8px 12px; border-radius: 12px; background: var(--paper); overflow-wrap: anywhere; white-space: pre-wrap; }
.bubble.out { background: #e7eef8; }
.partner-search { margin-top: 0; }
.partner-lead { margin: 0 0 1rem; color: var(--muted); max-width: 54ch; }
.partner-section { margin-bottom: 1.5rem; }
.partner-section h2 { margin: 0 0 0.2rem; }
.partner-logo[hidden], .partner-review-row[hidden] { display: none; }
.partner-count { color: var(--gold-deep); font-weight: 800; }
.prayer-partner-title { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.prayer-partner-title .partner-count { color: var(--gold-deep); }
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.partner-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 138px;
  padding: 0.95rem 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(18, 37, 89, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.partner-logo:hover,
.partner-logo.is-selected {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(18, 37, 89, 0.1);
}
.partner-logo img {
  display: block;
  max-width: 100%;
  max-height: 58px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.partner-logo span {
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
}
.account-box small, .coord-box small, .coordinator-box small, .school-desk-box small, .prayer-box small, .campaign-day small, .report-day small, .report-stat small, .report-prayer small, .data-box small, .past-prayer-box small { display: block; margin-top: 0.2rem; font-size: 0.72rem; font-weight: 600; color: var(--muted); }
.report-stat strong, .past-prayer-box strong { display: block; font-size: 1.75rem; font-weight: 800; line-height: 1.1; color: var(--navy); }
.report-stats .partner-logo:not(button):not(a) { cursor: default; }
.report-stats .partner-logo:not(button):not(a):hover { transform: none; border-color: var(--line); box-shadow: 0 6px 18px rgba(18, 37, 89, 0.05); }
.send-graph { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 10px; }
.send-graph li { display: grid; grid-template-columns: minmax(120px, 220px) 1fr auto auto; gap: 10px 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-left-width: 6px; border-radius: 14px; padding: 12px 14px; }
.send-graph li.congratulate { border-left-color: var(--navy); }
.send-graph li.remind { border-left-color: var(--gold); }
.send-graph li.needs-coordinator { grid-template-columns: minmax(0, 1fr) auto; }
.send-graph li.needs-coordinator .send-graph-action { align-items: center; align-self: center; }
.send-graph li.needs-coordinator .btn { width: auto; margin: 0; }
.school-captain-add { margin: 4px 0 12px; }
.school-captain-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.school-captain-row select { width: auto; flex: 1 1 220px; min-width: 0; }
.school-captain-row .btn,
.school-captain-actions .btn { width: auto; margin: 0; }
.school-captain-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0; }
.school-captain-actions span { font-weight: 700; }
.school-captain-msg:empty { display: none; }
.watch-review-note { margin: 8px 0 14px; color: var(--navy); font-weight: 700; }
.watch-review-note a { font-weight: 800; }
.watch-phone {
  width: min(420px, 100%);
  height: min(780px, calc(100vh - 160px));
  min-height: 560px;
  margin: 0 auto 28px;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(237, 174, 38, 0.28), transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 20%, rgba(237, 174, 38, 0.1), transparent 45%),
    #fff;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(18, 37, 89, 0.18);
  overflow: hidden;
}
.watch-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
}
.watch-site { padding: 18px 16px 28px; }
.watch-hero { margin-bottom: 18px; }
.watch-bus {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 14px;
  filter: drop-shadow(0 18px 28px rgba(18, 37, 89, 0.22));
}
.watch-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b8860b;
}
.watch-live {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e23b3b;
  flex-shrink: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .watch-live {
    box-shadow: 0 0 0 0 rgba(226, 59, 59, 0.55);
    animation: watch-live-pulse 1.6s ease-out infinite;
  }
}
@keyframes watch-live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(226, 59, 59, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(226, 59, 59, 0); }
  100% { box-shadow: 0 0 0 0 rgba(226, 59, 59, 0); }
}
.watch-hero h1 {
  margin: 0 0 10px;
  font-size: 2.15rem;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--navy);
}
.watch-hero h1 span {
  color: #c49212;
  background: linear-gradient(transparent 62%, rgba(237, 174, 38, 0.45) 62%);
}
.watch-lead { margin: 0 0 14px; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.watch-actions { display: flex; flex-direction: column; gap: 8px; }
.watch-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.watch-btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 8px 0 #c49212, 0 14px 28px rgba(196, 146, 18, 0.28);
}
.watch-btn-ghost {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}
.watch-steps { display: grid; gap: 10px; margin: 0 0 22px; }
.watch-step {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 6px solid var(--gold);
  border-radius: 18px;
  padding: 14px 14px 12px;
  box-shadow: 0 10px 28px rgba(18, 37, 89, 0.07);
  text-decoration: none;
  color: inherit;
}
.watch-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
}
.watch-step h2 { margin: 0 0 6px; font-size: 1.25rem; color: var(--navy); }
.watch-step p { margin: 0 0 8px; color: var(--muted); font-size: 0.98rem; }
.watch-step-go { font-size: 0.92rem; font-weight: 800; color: #b8860b; }
.watch-schools { padding-bottom: 22px; }
.watch-schools h2 { margin: 0 0 6px; font-size: 1.7rem; color: var(--navy); }
.watch-search { margin: 0 0 8px; }
.watch-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.watch-search input {
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 8px 16px;
  border: 1px solid rgba(18, 37, 89, 0.2);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
}
.watch-search input::placeholder { color: var(--muted); }
.watch-board {
  background: linear-gradient(180deg, rgba(237, 174, 38, 0.18), var(--paper));
  border: 1px solid rgba(237, 174, 38, 0.35);
  border-radius: 22px;
  padding: 14px 8px 16px;
}
.watch-invite {
  background: var(--navy);
  color: #fff;
  border-radius: 24px;
  padding: 18px 16px;
  box-shadow: 0 18px 40px rgba(18, 37, 89, 0.2);
}
.watch-invite .watch-kicker { color: var(--gold); }
.watch-invite h2 { margin: 0 0 8px; font-size: 1.45rem; color: #fff; }
.watch-invite p { margin: 0 0 14px; color: rgba(255, 255, 255, 0.82); }
.watch-invite .watch-btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.watch-grid { display: flex; flex-direction: column; align-items: center; }
.watch-row { display: flex; justify-content: center; }
.watch-row + .watch-row { margin-top: -3px; }
.watch-icon {
  width: 60px;
  height: 60px;
  margin: 0 3px;
  padding: 7px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: none;
  transform-origin: center center;
}
.watch-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  pointer-events: none;
}
.watch-icon .watch-mark { font-size: 15px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.watch-icon.watch-plain {
  background: radial-gradient(circle at 35% 30%, #3a6fd0, #122559 62%, #0c1838);
  color: #fff;
}
.watch-icon.is-selected { box-shadow: 0 0 0 3px #edae26; }
.watch-empty { margin: 24px 16px; text-align: center; color: var(--muted); }
.watch-miss { display: grid; gap: 10px; margin: 16px 10px 8px; text-align: center; }
.watch-miss p { margin: 0 0 2px; color: var(--navy); font-weight: 800; line-height: 1.4; }
.watch-miss .watch-btn { height: auto; white-space: normal; line-height: 1.25; text-align: center; }
.watch-caption {
  margin: 0 0 8px;
  min-height: 24px;
  text-align: center;
  font-weight: 800;
  color: var(--navy);
}
.watch-pin {
  flex: 1;
  min-height: 0;
  overflow: auto;
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  padding: 12px 12px 16px;
}
.watch-pin[hidden],
.watch-scroll[hidden],
.watch-caption[hidden] { display: none !important; }
.watch-pin h2,
.watch-pin h3,
.watch-pin p { color: var(--navy); }
.watch-pin-back {
  display: inline-flex;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
}
.watch-pin .pin-signup { width: 100%; }
@media (max-width: 420px) {
  .watch-phone { min-height: 480px; border-radius: 28px; }
  .watch-icon { width: 48px; height: 48px; margin: 0 2px; padding: 5px; }
  .watch-icon .watch-mark { font-size: 13px; }
}
.desk-prayer {
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(237, 174, 38, 0.28), transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 20%, rgba(237, 174, 38, 0.1), transparent 45%),
    #fff;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(18, 37, 89, 0.16);
  padding: 28px 28px 32px;
  margin: 0 auto 28px;
}
.desk-prayer-hero { display: grid; gap: 18px; align-items: center; margin-bottom: 22px; }
.desk-prayer-hero .watch-bus { margin: 0; }
.desk-prayer-mark { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.desk-prayer-mark .watch-kicker { justify-content: center; margin: 14px 0 8px; }
.desk-prayer-mark .desk-prayer-total { justify-content: center; margin: 0; }
.desk-prayer .watch-actions { max-width: 420px; }
.desk-prayer-total { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px; color: var(--navy); font-weight: 800; font-size: 1.05rem; }
.desk-prayer-total strong { font-size: 2.2rem; line-height: 0.9; letter-spacing: -0.04em; }
.desk-prayer h1 { margin: 0 0 10px; font-size: clamp(2.15rem, 3.4vw, 2.8rem); line-height: 1.05; letter-spacing: -0.035em; color: var(--navy); max-width: 14ch; }
.desk-prayer h1 span { color: #c49212; background: linear-gradient(transparent 62%, rgba(237, 174, 38, 0.45) 62%); }
.desk-prayer-lead { margin: 0 0 16px; color: var(--muted); font-size: 1.12rem; line-height: 1.5; max-width: 46ch; }
.desk-prayer-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.desk-prayer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
}
.desk-prayer-gold { background: var(--gold); color: var(--navy); box-shadow: 0 8px 0 #c49212, 0 14px 28px rgba(196, 146, 18, 0.28); }
.desk-prayer-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.desk-prayer-bus { display: block; width: min(100%, 460px); height: auto; margin: 0 auto; filter: drop-shadow(0 18px 28px rgba(18, 37, 89, 0.22)); }
.desk-prayer-steps { display: grid; gap: 12px; margin: 0 0 28px; }
.desk-prayer-schools { margin-bottom: 28px; }
.desk-prayer .watch-schools h2 { font-size: clamp(1.7rem, 3vw, 2.1rem); }
#desk-schools, #desk-coordinator { scroll-margin-top: 90px; }
#desk-miss[hidden], #desk-map-card[hidden] { display: none !important; }
.desk-prayer .watch-invite { margin-top: 22px; }
.desk-prayer-map-card {
  background: linear-gradient(180deg, rgba(237, 174, 38, 0.18), var(--paper));
  border: 1px solid rgba(237, 174, 38, 0.35);
  border-radius: 22px;
  padding: 12px;
}
.desk-prayer-map { height: 560px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.desk-icon-space { width: 100%; display: flex; flex-direction: column; min-height: 0; }
.desk-icon-space .watch-scroll { max-height: min(70vh, 640px); overflow: auto; }
.desk-icon-space .watch-board { box-sizing: border-box; }
.desk-icon-space .watch-miss { width: min(420px, 100%); margin-left: auto; margin-right: auto; }
.desk-icon-space .watch-pin { flex: none; width: min(420px, 100%); margin: 0 auto; max-height: min(70vh, 640px); border-radius: 22px; }
.desk-prayer .watch-invite .desk-prayer-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.leaflet-div-icon.logo-marker,
.leaflet-div-icon.logo-cluster { background: transparent; border: 0; }
.desk-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  border: 2px solid #122559;
  box-shadow: 0 2px 8px rgba(18, 37, 89, 0.28);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.desk-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.desk-logo.plain { background: radial-gradient(circle at 35% 30%, #3a6fd0, #122559 62%, #0c1838); }
.logo-cluster-stack { display: flex; align-items: center; }
.logo-cluster-stack .desk-logo { width: 28px; height: 28px; margin-left: -10px; }
.logo-cluster-stack .desk-logo:first-child { margin-left: 0; }
@media (min-width: 800px) {
  .help-steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 859px) {
  .desk-prayer-mark { order: -1; }
}
@media (min-width: 860px) {
  .desk-prayer-hero { grid-template-columns: 1.15fr 0.85fr; }
  .desk-prayer-bus { width: min(100%, 420px); }
  .desk-prayer-steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .desk-prayer { padding: 18px 14px 22px; border-radius: 20px; }
  .desk-prayer-btn { width: 100%; }
  .desk-prayer-map { height: 420px; }
}
.send-graph-name { font-weight: 700; color: var(--navy); min-width: 0; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; }
.send-graph-name:hover { color: var(--gold-deep); }
.send-graph-track { display: block; height: 22px; background: var(--paper); border-radius: 999px; overflow: hidden; }
.send-graph-bar { display: block; height: 100%; background: var(--navy); border-radius: 999px; }
.send-graph-bar.remind { background: var(--gold); }
.send-graph-bar.has-count { min-width: 10px; }
.send-graph-count { font-weight: 800; color: var(--navy); min-width: 1.5rem; text-align: right; font-size: 1.15rem; }
.send-graph-count, .send-graph-action { align-self: baseline; }
.send-graph-action { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.send-graph-link { font-weight: 700; white-space: nowrap; }
.send-graph-when { display: block; font-size: 0.72rem; font-weight: 600; line-height: 1.2; color: var(--muted); white-space: nowrap; }
.report-school-back { margin: 0 0 16px; }
.report-request-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 0 0 1.5rem; }
.report-request-box { min-width: 0; }
.report-request-box p { overflow-wrap: anywhere; }
.prayer-box { min-width: 0; max-width: 100%; }
.prayer-box span { width: 100%; min-width: 0; overflow-wrap: anywhere; }
.report-prayer { min-width: 0; max-width: 100%; }
.report-prayer span { width: 100%; min-width: 0; overflow-wrap: anywhere; }
.report-prayer small { width: 100%; min-width: 0; overflow-wrap: anywhere; }
#prayer-detail { min-width: 0; overflow-wrap: anywhere; }
.coord-box { min-width: 0; max-width: 100%; }
.coord-box span { width: 100%; min-width: 0; overflow-wrap: anywhere; }
#coord-editor { min-width: 0; overflow-wrap: anywhere; }
.account-box { min-width: 0; max-width: 100%; }
.account-box span { width: 100%; min-width: 0; overflow-wrap: anywhere; }
.data-box { min-width: 0; max-width: 100%; }
.data-box span { width: 100%; min-width: 0; overflow-wrap: anywhere; }
.partner-grid .data-box:not(a):not(button) { cursor: default; }
.partner-grid .data-box:not(a):not(button):hover { transform: none; border-color: var(--line); box-shadow: 0 6px 18px rgba(18, 37, 89, 0.05); }
form.data-box { align-items: stretch; cursor: default; }
form.data-box:hover { transform: none; border-color: var(--line); box-shadow: 0 6px 18px rgba(18, 37, 89, 0.05); }
form.data-box .btn { width: 100%; }
#account-editor { min-width: 0; overflow-wrap: anywhere; }
.group-edit, .prayer-edit { border: 1px solid var(--line); border-radius: 12px; padding: 0.75rem 0.85rem 0.15rem; margin: 0.55rem 0; background: var(--paper); }
.btn.danger { background: #fff; color: var(--warn); border-color: var(--warn); box-shadow: none; }
.partner-editor { scroll-margin-top: 96px; margin-bottom: 1.25rem; }
.partner-review { margin-top: 0.5rem; }
.partner-review summary { cursor: pointer; font-weight: 800; color: var(--navy); }
.partner-review-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  color: var(--navy);
  font: inherit;
  cursor: pointer;
}
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
#find { margin-bottom: 16px; align-items: center; flex-wrap: nowrap; }
#find input { flex: 1 1 auto; width: auto; min-width: 0; }
#find .btn { width: auto; flex: none; }
#find .client-total { margin: 0; flex: none; white-space: nowrap; color: var(--navy); font-weight: 800; }

.guide-jump { margin: 0 0 8px; text-align: center; font-size: 14px; }
.guide-jump a { font-weight: 700; }
.guide-orbit {
  position: relative;
  width: min(100%, calc(100vh - 150px), 880px);
  aspect-ratio: 1;
  margin: 0 auto;
}
.guide-map-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  background: #d7e3f4;
  pointer-events: none;
}
.guide-map { width: 100%; height: 100%; }
.guide-orbit-item { position: absolute; z-index: 1; width: 104px; margin-left: -52px; margin-top: -52px; }
.guide-orbit .guide-resource-box,
.guide-orbit .view-coin {
  width: 104px;
  height: 104px;
  min-height: 104px;
  padding: 8px;
  gap: 0;
  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: 12px;
  font-weight: 800;
  line-height: 1.12;
  text-align: center;
  box-shadow: 0 8px 16px rgba(18, 37, 89, 0.18), inset 0 2px 0 rgba(255, 255, 255, 0.28);
  overflow: hidden;
}
.guide-orbit .guide-resource-box span,
.guide-orbit .view-coin span { color: inherit; font-size: inherit; font-weight: 800; line-height: 1.12; }
.guide-orbit .guide-resource-box small,
.guide-orbit .view-coin small { display: block; margin-top: 2px; color: #fff; font-size: 11px; font-weight: 800; }
.guide-orbit .guide-resource-box:hover,
.guide-orbit .view-coin:hover { color: #fff; transform: none; border-color: var(--gold); }
.guide-orbit .guide-resource-box.call-log-waiting,
.guide-orbit .view-coin.call-log-waiting {
  background: radial-gradient(circle at 35% 30%, #7a2430, #481820 58%, #24080e);
  box-shadow: 0 8px 16px rgba(72, 24, 32, 0.35), inset 0 2px 0 rgba(255, 255, 255, 0.22);
}
.guide-client {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 0;
  height: 0;
  --pin: 42px;
}
.guide-hub {
  position: absolute;
  left: 0;
  top: calc(var(--pin) + 8px);
  transform: translateX(-50%);
  width: min(240px, 46vw);
  text-align: center;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.guide-photo {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--gold);
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.guide-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.guide-photo-empty span { color: #fff; font-size: 28px; font-weight: 800; letter-spacing: 0.04em; }
.guide-hub .guide-ask {
  margin: 0;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  font-size: 1.05rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.guide-phone {
  display: block;
  margin: 0;
  padding: 8px 10px;
  background: #fff;
  border: 2px solid var(--gold);
  border-radius: 12px;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}
.guide-resource-sheet {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(260px, 46%);
  max-height: 42%;
  overflow: auto;
  z-index: 4;
  margin: 0;
  padding: 8px 10px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(18, 37, 89, 0.12);
  transform: translate(-50%, -50%);
}
.guide-church-sheet { width: min(320px, 72%); max-height: 62%; }
.guide-church-sheet img { display: block; max-width: 120px; max-height: 64px; margin: 0 auto 6px; object-fit: contain; }
.guide-resource-sheet[hidden] { display: none; }
.guide-orbit.is-hidden { display: none; }
.guide-sources { margin: 4px 0 24px; }
.guide-intake { max-width: 720px; margin-left: auto; margin-right: auto; }
.guide-sources[hidden] { display: none; }
.guide-sources-back { margin: 0 0 12px; }
.guide-sources-back button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.guide-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin: 0 0 16px;
}
.guide-search label { grid-column: 1 / -1; margin: 0; }
.guide-search input { width: 100%; min-width: 0; }
.guide-search .btn { width: auto; margin: 0; }
#guide-search-msg:empty { display: none; }
#guide-search-msg { margin: -8px 0 12px; }
.guide-source-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-left-width: 6px;
  border-left-color: var(--navy);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0 0 10px;
}
.guide-source-item:last-child { margin-bottom: 0; }
.guide-source-copy { min-width: 0; }
.guide-source-copy a,
.guide-source-copy strong { color: var(--navy); font-weight: 800; text-decoration: none; overflow-wrap: anywhere; }
.guide-source-copy small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.guide-add-text { width: auto; flex: none; white-space: nowrap; }
.guide-add-text.is-added { background: var(--navy); color: #fff; border-color: var(--navy); }
.guide-sources .guide-client-text { width: 100%; min-height: 96px; }
.guide-resource-sheet a,
.guide-resource-sheet p {
  display: block;
  margin: 0;
  padding: 6px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}
.guide-resource-sheet a:last-child,
.guide-resource-sheet p:last-child { border-bottom: 0; }
.guide-resource-sheet small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
.guide-text-sheet,
.guide-email-sheet {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(320px, 72%);
  max-height: 68%;
  z-index: 5;
  margin: 0;
  padding: 10px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(18, 37, 89, 0.12);
  transform: translate(-50%, -50%);
  flex-direction: column;
  gap: 8px;
}
.guide-text-sheet[hidden],
.guide-email-sheet[hidden] { display: none; }
.guide-text-sheet:not([hidden]),
.guide-email-sheet:not([hidden]) { display: flex; }
.guide-text-title { margin: 0; color: var(--navy); font-size: 14px; font-weight: 800; }
.guide-text-empty { margin: 0; font-size: 13px; }
#guide-text-log,
#guide-email-log { overflow: auto; max-height: 180px; }
.guide-text-sheet .thread,
.guide-email-sheet .thread { max-height: none; }
.guide-text-sheet .bubble,
.guide-email-sheet .bubble { overflow-wrap: anywhere; font-size: 13px; }
.guide-text-sheet label,
.guide-email-sheet label { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 700; }
.guide-text-sheet textarea,
.guide-email-sheet textarea,
.guide-email-sheet input { width: 100%; min-height: 64px; }
.guide-email-sheet input { min-height: 0; margin-bottom: 8px; }
.guide-text-sheet .btn,
.guide-email-sheet .btn { width: 100%; margin-top: 8px; }
.guide-text-sheet #guide-text-msg,
.guide-email-sheet #guide-email-msg { margin: 6px 0 0; font-size: 13px; }
#guide-share-msg:empty,
#guide-place-msg:empty { display: none; }
#guide-share-msg:not(:empty),
#guide-place-msg:not(:empty) {
  margin: 0;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
}


@media (max-width: 800px) {
  .grid.three, .grid.two, .row, .add-pair { grid-template-columns: 1fr; }
  .home-cards { grid-template-columns: repeat(2, 1fr); }
  .help-btn, .help-call .help-btn { width: 100%; }
  .apply-person { grid-template-columns: 1fr 88px; }
  .apply-remove { grid-column: 1 / -1; justify-self: start; }
  .guide-source-item { flex-direction: column; align-items: stretch; }
  .guide-add-text { align-self: flex-start; }
  .view-coin { width: 100px; height: 100px; font-size: 12px; padding: 8px; }
  .view-coin.compact { font-size: 11px; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); gap: 0.55rem; }
  .partner-logo { min-height: 118px; padding: 0.75rem 0.5rem 0.65rem; }
  .partner-logo img { max-height: 44px; }
  .partner-logo span { font-size: 0.7rem; }
  .partner-review-row { align-items: flex-start; flex-direction: column; }
  .send-graph li { grid-template-columns: 1fr auto; padding: 10px 12px; }
  .send-graph li.needs-coordinator { grid-template-columns: minmax(0, 1fr) auto; }
  .send-graph li.needs-coordinator .send-graph-action,
  .send-graph li.needs-coordinator .send-graph-link { grid-column: auto; justify-self: end; }
  .send-graph-track, .send-graph-link { grid-column: 1 / -1; }
  .send-graph-action { grid-column: 1 / -1; align-items: flex-start; }
  .send-graph-count,
  .send-graph-action { align-self: center; }
  .send-graph-link { justify-self: start; white-space: normal; }
  .report-request-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: inline-flex; }
  .nav { display: none; width: 100%; padding-bottom: 12px; }
  .nav.open, .nav.plain { display: flex; width: auto; padding-bottom: 0; }
  .top-row { flex-wrap: wrap; }
  .hero { padding-top: 28px; }
  .map, .school-map { height: 420px; }
  .guide-orbit { width: min(100%, calc(100vh - 120px)); }
  .guide-orbit-item { width: 80px; margin-left: -40px; margin-top: -40px; }
  .guide-orbit .guide-resource-box,
  .guide-orbit .view-coin { width: 80px; height: 80px; min-height: 80px; padding: 6px; font-size: 10px; }
  .guide-client { --pin: 32px; }
  .guide-photo { width: 64px; height: 64px; }
  .guide-photo-empty span { font-size: 20px; }
  .client-photo { width: 64px; height: 64px; }
  .client-photo img,
  .client-photo .avatar,
  .client-photo .avatar.lg { width: 64px; height: 64px; }
  .client-photo span { font-size: 20px; }
  .view-coin.client-touch-coin { width: 64px; height: 64px; min-height: 64px; font-size: 16px; }
  .client-minutes-long { font-size: 12px; }
  .guide-hub { width: min(200px, 54vw); }
  .brand img, .footer-brand img { height: 34px; max-width: 170px; }
  .footer-row { align-items: flex-start; flex-direction: column; }
}
