/* BFC Ohio site styles. Palette pulled from the BFC M/M patch. */
:root {
  --asphalt: #0c0c0e;
  --asphalt-2: #141418;
  --asphalt-3: #1c1c22;
  --line: #2a2a33;
  --chrome: #c9ccd2;
  --text: #ecedf0;
  --muted: #a3a6ae;
  --red: #d7262e;
  --red-deep: #9e1419;
  --flame: #f28c28;
  --gold: #ffc93c;
  --sky: #4fb3e8;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 40px rgba(0, 0, 0, .45);
  --wrap: 1180px;
  --head: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--asphalt);
  color: var(--text);
  font: 400 17px/1.65 var(--body);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); text-underline-offset: 3px; }
a:hover { color: #8fd0f3; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; line-height: 1.1; letter-spacing: .01em; margin: 0 0 .5em; text-transform: uppercase; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.55rem); }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 12px; }
.eyebrow { font: 600 .8rem/1 var(--head); letter-spacing: .22em; text-transform: uppercase; color: var(--flame); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, var(--red), var(--flame)); }
.lead { font-size: 1.16rem; color: var(--chrome); max-width: 62ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lead { margin-inline: auto; }

/* Header */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 12, 14, .88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand { flex: none; white-space: nowrap; }
.brand img { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--line); }
.brand strong { display: block; font: 600 1.15rem/1 var(--head); text-transform: uppercase; letter-spacing: .04em; }
.brand span { display: block; font-size: .74rem; color: var(--flame); letter-spacing: .18em; text-transform: uppercase; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { white-space: nowrap; color: var(--chrome); text-decoration: none; font: 500 .9rem/1 var(--head); text-transform: uppercase; letter-spacing: .07em; padding: 10px 9px; border-radius: 6px; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: var(--asphalt-3); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--red); }
.nav .btn { margin-left: 8px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; width: 46px; height: 46px; cursor: pointer; }
.menu-btn svg { width: 24px; height: 24px; }
@media (max-width: 1320px) {
  .menu-btn { display: inline-grid; place-items: center; }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--asphalt-2); border-bottom: 1px solid var(--line); padding: 10px 16px 18px; max-height: calc(100vh - 72px); overflow-y: auto; transform: translateY(-120%); transition: transform .25s ease; }
  .nav.open { transform: none; }
  .nav a { padding: 15px 10px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin: 14px 0 0; border-bottom: 0; text-align: center; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 .95rem/1 var(--head); text-transform: uppercase; letter-spacing: .1em;
  padding: 15px 24px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-fire { background: linear-gradient(135deg, var(--red), var(--flame)); color: #fff; box-shadow: 0 8px 24px rgba(215, 38, 46, .35); }
.btn-fire:hover { color: #fff; }
.btn-ghost { border-color: var(--chrome); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .05); }
.btn-sm { padding: 10px 16px; font-size: .82rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(64px, 10vw, 128px) 0 clamp(56px, 8vw, 104px); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(242, 140, 40, .22), transparent 60%),
    radial-gradient(50% 60% at 10% 90%, rgba(215, 38, 46, .25), transparent 60%),
    linear-gradient(180deg, #121216, var(--asphalt));
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: repeating-linear-gradient(115deg, transparent 0 46px, rgba(255, 255, 255, .025) 46px 48px);
}
.hero .wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.hero h1 span { background: linear-gradient(90deg, var(--red), var(--flame) 55%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-patch { justify-self: center; position: relative; }
.hero-patch img { width: min(360px, 70vw); border-radius: 50%; box-shadow: 0 0 0 6px var(--asphalt-3), 0 0 0 7px var(--line), 0 30px 80px rgba(242, 140, 40, .25); }
.hero-quote { margin-top: 28px; padding-left: 18px; border-left: 3px solid var(--red); color: var(--muted); font-style: italic; max-width: 54ch; }
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px); }
.page-hero .wrap { display: block; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-patch { order: -1; }
  .hero-patch img { width: min(220px, 60vw); }
}

/* Sections */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section.alt { background: var(--asphalt-2); border-block: 1px solid var(--line); }
.section-head { margin-bottom: 40px; max-width: 760px; }
.section-head.center { margin-inline: auto; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--asphalt-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; position: relative; overflow: hidden;
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card-link { text-decoration: none; color: inherit; display: block; transition: border-color .2s ease, transform .2s ease; }
.card-link:hover { border-color: var(--flame); transform: translateY(-3px); color: inherit; }
.card-link .more { color: var(--flame); font: 600 .85rem/1 var(--head); letter-spacing: .12em; text-transform: uppercase; margin-top: 14px; display: inline-block; }
.card .icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(215, 38, 46, .14); color: var(--flame); margin-bottom: 18px; }
.card .icon svg { width: 26px; height: 26px; }
.card.fire-top::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--red), var(--flame), var(--gold)); }
.ref { color: var(--gold); font: 500 .85rem/1.3 var(--head); letter-spacing: .08em; text-transform: uppercase; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.verse-band { text-align: center; padding: clamp(48px, 7vw, 80px) 0; background: linear-gradient(135deg, var(--red-deep), #5a0c10 60%, var(--asphalt)); }
.verse-band blockquote { margin: 0 auto; max-width: 820px; font: 500 clamp(1.4rem, 3vw, 2.1rem)/1.35 var(--head); text-transform: none; }
.verse-band cite { display: block; margin-top: 16px; font-style: normal; color: var(--gold); letter-spacing: .14em; text-transform: uppercase; font: 500 .9rem var(--head); }

.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Leaders */
.leader { display: flex; gap: 20px; align-items: flex-start; }
.leader img { width: 104px; height: 104px; object-fit: cover; border-radius: 50%; border: 3px solid var(--line); flex: none; }
.leader .role { color: var(--flame); font: 500 .85rem/1.2 var(--head); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.avatar-fallback { width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; background: var(--asphalt-2); border: 3px solid var(--line); font: 600 1.9rem var(--head); color: var(--flame); flex: none; }
@media (max-width: 520px) { .leader { flex-direction: column; } }

/* Patch breakdown */
.patch-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.patch-list li { display: grid; grid-template-columns: 12px 1fr; gap: 14px; align-items: start; }
.patch-list li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; margin-top: 8px; background: var(--dot, var(--flame)); }
.patch-list strong { font-family: var(--head); text-transform: uppercase; letter-spacing: .06em; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.step::before { content: counter(step); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font: 600 1.4rem var(--head); color: #fff; background: linear-gradient(135deg, var(--red), var(--flame)); }
.step h3 { margin-top: 10px; }

/* Forms */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--chrome); }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--asphalt-2);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 13px 14px; min-height: 48px;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--flame); box-shadow: 0 0 0 3px rgba(242, 140, 40, .25); }
input[type="file"] { padding: 10px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-weight: 600; min-height: 1.4em; }
.form-status.is-success { color: #6fdc8c; }
.form-status.is-error { color: #ff8a8a; }
.note { font-size: .9rem; color: var(--muted); }

/* Chapters map */
.map-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
@media (max-width: 960px) { .map-layout { grid-template-columns: 1fr; } }
.map-box { background: var(--asphalt-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; position: sticky; top: 92px; }
@media (max-width: 960px) { .map-box { position: static; } }
.ohio { width: 100%; height: auto; display: block; }
.ohio .state { fill: #17171c; stroke: var(--chrome); stroke-width: 2; }
.ohio .counties { fill: none; stroke: #2b2b33; stroke-width: .7; }
.ohio .pin { cursor: pointer; }
.ohio .pin circle.halo { fill: rgba(242, 140, 40, .18); transition: r .2s ease; }
.ohio .pin circle.dot { fill: var(--red); stroke: #fff; stroke-width: 2; transition: fill .2s ease; }
.ohio .pin text { fill: var(--text); font: 600 15px var(--head); text-transform: uppercase; letter-spacing: .04em; paint-order: stroke; stroke: var(--asphalt); stroke-width: 4px; pointer-events: none; }
.ohio .pin:hover circle.dot, .ohio .pin:focus circle.dot, .ohio .pin.active circle.dot { fill: var(--gold); }
.ohio .pin.active circle.halo, .ohio .pin:hover circle.halo { r: 22; }
.ohio .pin:focus { outline: none; }
.ohio .pin:focus-visible circle.dot { stroke: var(--gold); stroke-width: 4; }
.chapter-list { display: grid; gap: 14px; }
.chapter { background: var(--asphalt-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; transition: border-color .2s ease, box-shadow .2s ease; scroll-margin-top: 96px; }
.chapter.active { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 201, 60, .18); }
.chapter h3 { margin-bottom: 4px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.chapter .area { color: var(--flame); font: 500 .85rem var(--head); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.chapter dl { margin: 0 0 14px; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: .95rem; }
.chapter dt { color: var(--muted); }
.chapter dd { margin: 0; overflow-wrap: anywhere; }
.tag { font: 600 .66rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; background: rgba(79, 179, 232, .15); color: var(--sky); }
.map-filter { margin-bottom: 14px; }

/* Calendar */
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.cal-head h3 { margin: 0; }
.cal-nav { display: flex; gap: 8px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--asphalt-3); color: var(--text); cursor: pointer; display: grid; place-items: center; }
.icon-btn:hover { border-color: var(--flame); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-dow { font: 600 .75rem var(--head); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); text-align: center; padding: 6px 0; }
.cal-day { min-height: 92px; background: var(--asphalt-3); border: 1px solid var(--line); border-radius: 10px; padding: 8px; font-size: .82rem; display: flex; flex-direction: column; gap: 4px; }
.cal-day.out { opacity: .35; }
.cal-day.today { border-color: var(--flame); }
.cal-day .n { font-weight: 700; color: var(--chrome); }
.cal-ev { display: block; width: 100%; text-align: left; background: rgba(215, 38, 46, .22); border: 0; border-left: 3px solid var(--red); color: var(--text); border-radius: 4px; padding: 3px 6px; font: inherit; font-size: .76rem; line-height: 1.3; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-ev:hover { background: rgba(242, 140, 40, .3); }
@media (max-width: 760px) { .cal-grid, .cal-dows { display: none; } }
.ev-list { display: grid; gap: 14px; }
.ev { display: grid; grid-template-columns: 84px 1fr; gap: 18px; background: var(--asphalt-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; scroll-margin-top: 96px; }
.ev.flash { border-color: var(--gold); }
.ev-date { text-align: center; background: linear-gradient(160deg, var(--red), var(--red-deep)); border-radius: 10px; padding: 10px 6px; align-self: start; }
.ev-date .m { font: 600 .8rem var(--head); letter-spacing: .16em; text-transform: uppercase; }
.ev-date .d { font: 700 2rem/1 var(--head); }
.ev h3 { margin-bottom: 6px; text-transform: none; font-size: 1.3rem; }
.ev .meta { color: var(--muted); font-size: .92rem; margin-bottom: 8px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.ev .flyer { margin-top: 12px; max-width: 320px; border-radius: 8px; border: 1px solid var(--line); }
.empty { text-align: center; padding: 36px 20px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* Devotional */
.devo { max-width: 760px; margin-inline: auto; }
.devo-date { color: var(--flame); font: 600 .9rem var(--head); letter-spacing: .2em; text-transform: uppercase; }
.devo h2 { margin-top: 10px; }
.devo-verse { margin: 24px 0 28px; padding: 26px 28px; border-radius: var(--radius); background: var(--asphalt-3); border: 1px solid var(--line); border-left: 4px solid var(--gold); font-size: 1.18rem; line-height: 1.6; }
.devo-verse cite { display: block; margin-top: 12px; font-style: normal; color: var(--gold); font: 600 .9rem var(--head); letter-spacing: .12em; text-transform: uppercase; }
.devo-body p { font-size: 1.08rem; }
.devo-ride { margin-top: 28px; padding: 22px 24px; border-radius: var(--radius); background: rgba(215, 38, 46, .12); border: 1px solid rgba(215, 38, 46, .4); }
.devo-ride h3 { font-size: 1.05rem; color: var(--flame); margin-bottom: 6px; }
.devo-prayer { margin-top: 18px; font-style: italic; color: var(--chrome); }
.devo-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.devo-teaser .ref { display: block; margin-bottom: 8px; }

/* FAQ chat helper */
.faq-fab { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px; border: 0; cursor: pointer; color: #fff; font: 600 .95rem var(--head); letter-spacing: .08em; text-transform: uppercase; background: linear-gradient(135deg, var(--red), var(--flame)); box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
.faq-fab svg { width: 22px; height: 22px; }
.faq-panel { position: fixed; right: 18px; bottom: 86px; z-index: 61; width: min(400px, calc(100vw - 24px)); height: min(600px, calc(100vh - 120px)); display: none; flex-direction: column; background: var(--asphalt-2); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.faq-panel.open { display: flex; }
@media (max-width: 520px) { .faq-panel { right: 12px; left: 12px; width: auto; bottom: 80px; } .faq-fab span { display: none; } .faq-fab { padding: 15px; } }
.faq-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--asphalt-3); border-bottom: 1px solid var(--line); }
.faq-top strong { font: 600 1.05rem var(--head); text-transform: uppercase; letter-spacing: .06em; }
.faq-top small { display: block; color: var(--muted); font-size: .78rem; }
.faq-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 88%; padding: 11px 14px; border-radius: 14px; font-size: .94rem; line-height: 1.5; }
.msg p { margin: 0 0 .6em; }
.msg p:last-child { margin: 0; }
.msg.bot { background: var(--asphalt-3); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.me { align-self: flex-end; background: linear-gradient(135deg, var(--red), #b81e25); border-bottom-right-radius: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--asphalt); color: var(--chrome); border-radius: 999px; padding: 8px 12px; font: inherit; font-size: .84rem; cursor: pointer; text-align: left; }
.chip:hover { border-color: var(--flame); color: #fff; }
.faq-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--asphalt-3); }
.faq-form input { min-height: 46px; }
.faq-form button { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--flame); color: #111; cursor: pointer; display: grid; place-items: center; }

/* Footer */
.site-foot { background: #08080a; border-top: 1px solid var(--line); padding: 56px 0 100px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.site-foot h4 { font-size: .95rem; letter-spacing: .14em; color: var(--flame); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-foot a { color: var(--chrome); text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }

/* Prose */
.prose { max-width: 760px; }
.prose p, .prose li { font-size: 1.08rem; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; color: var(--flame); }
.prose blockquote { margin: 1.4em 0; padding: 18px 22px; border-left: 4px solid var(--gold); background: var(--asphalt-3); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose blockquote cite { display: block; margin-top: 8px; color: var(--gold); font-style: normal; font: 500 .85rem var(--head); letter-spacing: .1em; text-transform: uppercase; }

/* Admin */
.admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.admin-table th, .admin-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { font-family: var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 500; }
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.pill.pending { background: rgba(255, 201, 60, .18); color: var(--gold); }
.pill.approved { background: rgba(111, 220, 140, .16); color: #6fdc8c; }
.pill.rejected { background: rgba(255, 138, 138, .14); color: #ff8a8a; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Chapter sites: photo banner */
.hero.photo { background-size: cover; background-position: center 40%; }
.hero.photo::before, .hero.photo::after { display: none; }
.hero.photo .wrap { grid-template-columns: 1fr; }
.hero.photo .lead { color: #e6e7ea; }

/* Members portal */
.member-nav { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; }
.member-nav a { white-space: nowrap; color: var(--chrome); text-decoration: none; font: 500 .9rem/1 var(--head); text-transform: uppercase; letter-spacing: .07em; padding: 10px 9px; border-radius: 6px; }
.member-nav a:hover, .member-nav a[aria-current="page"] { color: #fff; background: var(--asphalt-3); }
.member-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--red); }
@media (max-width: 760px) { .site-head .wrap:has(.member-nav) { flex-wrap: wrap; padding: 8px 0; } .member-nav { width: 100%; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; } }
.m-row { display: flex; gap: 14px; align-items: center; }
.m-avatar { border-radius: 50%; object-fit: cover; flex: none; border: 2px solid var(--line); display: inline-block; }
.m-initials { display: inline-grid; place-items: center; background: var(--asphalt-2); color: var(--flame); font-family: var(--head); font-weight: 600; }
.m-docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.m-docs li { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.m-docs li:last-child { border-bottom: 0; padding-bottom: 0; }
.m-docs a { text-decoration: none; }
label.check { display: flex; gap: 10px; align-items: center; font-weight: 500; }
label.check input { width: 20px; min-height: 20px; height: 20px; flex: none; }

/* Club protocol (members) */
.pbar { height: 10px; border-radius: 999px; background: var(--asphalt-2); margin-top: 12px; overflow: hidden; }
.pbar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--flame), var(--gold)); transition: width .3s ease; }
.chip.on { border-color: var(--flame); color: #fff; background: rgba(242, 140, 40, .15); }
details.proto { padding: 0; }
details.proto summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 44px 1fr 28px; gap: 14px; align-items: center; padding: 18px 20px; }
details.proto summary::-webkit-details-marker { display: none; }
details.proto[open] summary { border-bottom: 1px solid var(--line); }
.pnum { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 600 1.1rem var(--head); color: #fff; background: linear-gradient(135deg, var(--red), var(--flame)); }
.ptake { display: block; color: var(--muted); font-size: .94rem; margin-top: 4px; }
.pdone { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); }
details.learned .pdone { background: #3d9a5a; border-color: #3d9a5a; box-shadow: inset 0 0 0 4px var(--asphalt-3); }
details.learned .pnum { background: #2f7a47; }
.pbody { padding: 18px 20px 20px; }
.pbody p { margin-bottom: .7em; }
.pbody p.psub { padding-left: 18px; border-left: 2px solid var(--line); margin-bottom: .4em; }
.pnote { margin: 14px 0; padding: 12px 14px; border-radius: 8px; background: rgba(79, 179, 232, .1); border: 1px solid rgba(79, 179, 232, .35); color: var(--chrome); font-size: .95rem; }
.plearn { margin-top: 12px; }
.pq { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin: 0 0 14px; }
.pq legend { padding: 0 6px; }
.pq-opt { display: flex; gap: 10px; align-items: center; font-weight: 500; padding: 8px 4px; cursor: pointer; }
.pq-opt input { width: 20px; min-height: 20px; height: 20px; flex: none; }
.pq-opt.right { color: #6fdc8c; font-weight: 700; }
.pq.ok { border-color: #3d9a5a; }
.pq.no { border-color: #b84a4a; }
.pq-why { margin: 8px 0 0; color: var(--chrome); }
@media (max-width: 520px) {
  details.proto summary { grid-template-columns: 36px 1fr 22px; gap: 10px; padding: 14px; }
  .pnum { width: 36px; height: 36px; font-size: 1rem; }
  .pdone { width: 22px; height: 22px; }
  .pbody { padding: 14px; }
}
.leader > span[data-elder-photo] { display: contents; }
