/* Blazing Blazers Booster Club — red, white & blue */
:root {
  --navy: #0e2a5c;
  --navy-2: #173a78;
  --blue: #1d6fe0;
  --blue-soft: #e8f1fd;
  --red: #d7263d;
  --red-dark: #b81c31;
  --red-soft: #fdecee;
  --gold: #ffc43d;
  --gold-soft: #fff4d6;
  --cream: #fffaf1;
  --paper: #ffffff;
  --ink: #14213d;
  --muted: #5a6478;
  --line: #e7e1d4;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgb(14 42 92 / 6%), 0 8px 24px -12px rgb(14 42 92 / 22%);
  --display: "Fredoka", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  overflow-x: hidden;
}
img,
svg {
  max-width: 100%;
}
a {
  color: var(--blue);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--navy);
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 6px;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 0.5em;
  letter-spacing: -0.005em;
}
p {
  margin: 0 0 1em;
}
.wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 720px) {
  .wrap {
    padding: 0 28px;
  }
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--navy);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 50;
}
.skip:focus {
  left: 8px;
}
.muted {
  color: var(--muted);
}
svg.star {
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex: none;
}
svg.star.sm {
  width: 0.8em;
  height: 0.8em;
}
svg.star.xs {
  width: 0.85em;
  height: 0.85em;
}

/* ---------- announcement + header ---------- */
.announce {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
}
.announce .wrap {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding-top: 8px;
  padding-bottom: 8px;
  text-align: center;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(255 255 255 / 94%);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, var(--red) 0 33.3%, #fff 33.3% 66.6%, var(--blue) 66.6%);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  margin-right: auto;
  min-width: 0;
}
.brand .logo,
.brand .logo-img {
  flex: none;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}
.brand-text strong {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
}
.brand-text small {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav {
  display: none;
  gap: 4px;
}
.nav a,
.mobile-nav nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 15.5px;
  padding: 8px 12px;
  border-radius: 999px;
}
.nav a:hover {
  background: var(--blue-soft);
  color: var(--navy);
}
.nav a[aria-current="page"] {
  background: var(--navy);
  color: #fff;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  color: var(--navy);
  border: 2px solid var(--navy);
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
}
.lang-switch svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.lang-switch:hover {
  background: var(--navy);
  color: #fff;
}
.mobile-nav summary {
  list-style: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
}
.mobile-nav summary::-webkit-details-marker {
  display: none;
}
.burger,
.burger::before,
.burger::after {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s;
}
.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
}
.burger::before {
  top: -7px;
}
.burger::after {
  top: 7px;
}
.mobile-nav[open] .burger {
  background: transparent;
}
.mobile-nav[open] .burger::before {
  transform: translateY(7px) rotate(45deg);
}
.mobile-nav[open] .burger::after {
  transform: translateY(-7px) rotate(-45deg);
}
.mobile-nav nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 24px -12px rgb(14 42 92 / 25%);
  padding: 8px 16px 16px;
  display: grid;
  gap: 2px;
}
.mobile-nav nav a {
  padding: 12px 14px;
  font-size: 17px;
  border-radius: 12px;
}
.mobile-nav nav a[aria-current="page"] {
  background: var(--blue-soft);
  color: var(--navy);
}
@media (max-width: 420px) {
  .brand-text small {
    display: none;
  }
  .brand-text strong {
    font-size: 18px;
  }
  .lang-switch {
    padding: 5px 9px;
  }
  .lang-switch svg {
    display: none;
  }
}
/* Seven menu links need ~1180px on one line (Spanish labels are longer); below that the menu button shows. */
.nav a {
  white-space: nowrap;
}
@media (min-width: 1180px) {
  .nav {
    display: flex;
  }
  .mobile-nav {
    display: none;
  }
}
@media (min-width: 1180px) and (max-width: 1279px) {
  .nav {
    gap: 0;
  }
  .nav a {
    padding: 8px 10px;
    font-size: 15px;
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 800 16px/1.2 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.12s,
    background 0.15s,
    box-shadow 0.15s;
  text-align: center;
}
.btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: none;
}
.btn:active {
  transform: translateY(1px);
}
.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 0 var(--red-dark);
}
.btn-red:hover {
  background: var(--red-dark);
  color: #fff;
}
.btn-blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 0 #1557b4;
}
.btn-blue:hover {
  background: #1557b4;
  color: #fff;
}
.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover {
  background: var(--navy-2);
  color: #fff;
}
.btn-light {
  background: #fff;
  color: var(--navy);
}
.btn-light:hover {
  background: var(--gold-soft);
  color: var(--navy);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 0 #d9a21f;
}
.btn-gold:hover {
  background: #ffd46b;
  color: var(--navy);
}
.btn-outline {
  background: #fff;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--blue-soft);
  color: var(--navy);
}
.btn-danger {
  background: var(--red-dark);
  color: #fff;
}
.btn-danger-outline {
  background: #fff;
  color: var(--red-dark);
  border-color: currentColor;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  text-decoration: none;
}
.text-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.text-link:hover {
  text-decoration: underline;
}
.linklike {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--blue);
  cursor: pointer;
  text-decoration: underline;
}
.linklike.danger {
  color: var(--red-dark);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 85% 20%, rgb(29 111 224 / 45%), transparent 45%),
    radial-gradient(circle at 10% 110%, rgb(215 38 61 / 35%), transparent 45%),
    var(--navy);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M20 12l2.4 5 5.5.8-4 3.9 1 5.5L20 24.6l-4.9 2.6 1-5.5-4-3.9 5.5-.8z' fill='%23ffffff' fill-opacity='.07'/%3E%3Cpath d='M60 52l1.6 3.3 3.6.5-2.6 2.6.6 3.6L60 60.3 56.8 62l.6-3.6-2.6-2.6 3.6-.5z' fill='%23ffc43d' fill-opacity='.14'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 24px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero .eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(40px, 9vw, 68px);
  font-weight: 700;
  line-height: 1.02;
  margin-bottom: 16px;
}
.hero h1 span {
  display: block;
  color: var(--gold);
}
.hero .lede {
  font-size: clamp(18px, 2.4vw, 21px);
  max-width: 34ch;
  color: rgb(255 255 255 / 90%);
  margin-bottom: 24px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-badge {
  justify-self: center;
  order: -1;
}
.hero-badge .logo,
.hero-badge .logo-img {
  width: 150px;
  height: 150px;
  filter: drop-shadow(0 14px 28px rgb(0 0 0 / 35%));
  transform: rotate(-6deg);
}
@media (min-width: 760px) {
  .hero-grid {
    grid-template-columns: 1.3fr 1fr;
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .hero-badge {
    order: 0;
  }
  .hero-badge .logo,
  .hero-badge .logo-img {
    width: 280px;
    height: 280px;
  }
}
.ribbon {
  position: relative;
  background: var(--red);
  color: #fff;
  overflow: hidden;
  border-top: 3px solid #fff;
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
}
.ribbon-track {
  display: flex;
  align-items: center;
  width: max-content;
  padding: 10px 0;
  animation: marquee 152s linear infinite;
}
.ribbon-track > * {
  flex: none;
  margin-right: 18px;
}
.ribbon-track svg {
  color: var(--gold);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ribbon-track {
    animation: none;
  }
}

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(circle at 90% 0%, rgb(29 111 224 / 40%), transparent 50%),
    var(--navy);
  color: #fff;
  padding: 36px 0 32px;
  border-bottom: 6px solid var(--red);
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(34px, 6vw, 50px);
  margin-bottom: 8px;
}
.page-hero .lede {
  color: rgb(255 255 255 / 88%);
  font-size: 18px;
  max-width: 60ch;
  margin: 0;
}
.event-hero .tags {
  margin: 12px 0 10px;
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgb(255 255 255 / 85%);
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
}
.back svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.back:hover {
  color: #fff;
}

/* ---------- sections & cards ---------- */
.section {
  padding: 40px 0;
}
@media (min-width: 720px) {
  .section {
    padding: 56px 0;
  }
}
.section-tint {
  background: linear-gradient(180deg, var(--blue-soft), #f3f7fe);
}
.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(26px, 4vw, 34px);
}
.section-title.small {
  font-size: 24px;
  margin-top: 36px;
}
.title-star {
  color: var(--red);
  width: 0.8em !important;
  height: 0.8em !important;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.section-lede {
  color: var(--muted);
  margin-top: -6px;
}
.sub-title {
  font-size: 22px;
  margin-top: 32px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
@media (min-width: 720px) {
  .card {
    padding: 28px;
  }
}
.card.tint {
  background: var(--gold-soft);
  border-color: #f3e2b0;
}
.two-up {
  display: grid;
  gap: 20px;
}
@media (min-width: 820px) {
  .two-up {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}
.empty {
  background: #fff;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 22px;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

/* CTA cards with QR */
.cta-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 6px solid var(--red);
}
.cta-donate {
  border-top-color: var(--blue);
}
.cta-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.cta-head h2 {
  margin: 0;
  font-size: 27px;
}
.cta-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--red-soft);
  color: var(--red);
  flex: none;
}
.cta-donate .cta-icon {
  background: var(--blue-soft);
  color: var(--blue);
}
.cta-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}
.cta-card > .btn {
  align-self: flex-start;
  margin-bottom: 18px;
}
.qr {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--cream);
  border: 1px solid var(--line);
}
.qr img {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  background: #fff;
  flex: none;
}
.qr-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14.5px;
}
.qr-text strong {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  color: var(--navy);
}
.qr-text span {
  color: var(--muted);
}
.qr-text a {
  font-weight: 700;
  margin-top: 4px;
}
@media (min-width: 720px) {
  .qr img {
    width: 148px;
    height: 148px;
  }
}

/* Spotlight */
.spotlight {
  display: grid;
  gap: 22px;
  padding: 0;
  overflow: hidden;
}
.spotlight-flyer {
  margin: 0;
  background: #0b2150;
  display: grid;
  place-items: center;
  min-height: 220px;
}
.spotlight-flyer img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}
.spotlight-body {
  padding: 0 22px 24px;
}
.spotlight.no-flyer .spotlight-body {
  padding-top: 24px;
}
.spotlight h3 {
  font-size: clamp(26px, 4vw, 34px);
  margin: 10px 0 12px;
}
.meta {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-weight: 700;
  margin-bottom: 8px;
}
.meta svg {
  width: 20px;
  height: 20px;
  fill: var(--blue);
  flex: none;
  margin-top: 3px;
}
.spotlight-desc {
  color: var(--muted);
  margin: 12px 0 20px;
}
@media (min-width: 820px) {
  .spotlight {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }
  .spotlight.no-flyer {
    grid-template-columns: 1fr;
  }
  .spotlight-body {
    padding: 32px 32px 32px 0;
    align-self: center;
  }
  .spotlight.no-flyer .spotlight-body {
    padding: 32px;
  }
}

/* Pills */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--navy);
  white-space: nowrap;
}
.pill-meeting {
  background: var(--blue-soft);
  color: #1557b4;
}
.pill-event {
  background: var(--red-soft);
  color: var(--red-dark);
}
.pill-fundraiser {
  background: #e6f6ee;
  color: #11714a;
}
.pill-help {
  background: var(--gold);
  color: var(--navy);
}

/* Event list */
.event-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.event-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition:
    transform 0.12s,
    border-color 0.12s;
}
.event-row:hover {
  border-color: var(--blue);
  transform: translateY(-1px);
  color: var(--ink);
}
.date-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 62px;
  border-radius: 12px;
  background: var(--red);
  color: #fff;
  line-height: 1;
}
.date-tile.kind-meeting {
  background: var(--blue);
}
.date-tile.kind-fundraiser {
  background: #11714a;
}
.date-tile span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.date-tile strong {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  margin-top: 4px;
}
.event-row-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.event-row-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  color: var(--navy);
  line-height: 1.2;
}
.event-row-meta {
  color: var(--muted);
  font-size: 15px;
}
.event-row-tags {
  display: none;
  gap: 6px;
}
.chev {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (min-width: 720px) {
  .event-row {
    grid-template-columns: auto 1fr auto auto;
    padding: 14px 18px;
  }
  .event-row-tags {
    display: flex;
  }
}

/* CTA band */
.band {
  background: var(--red);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.band::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 220px;
  height: 220px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5l3.2 6.6 7.3 1-5.3 5.1 1.3 7.2L12 18l-6.5 3.4 1.3-7.2L1.5 9.1l7.3-1z' fill='%23ffffff' fill-opacity='.12'/%3E%3C/svg%3E")
    no-repeat center / contain;
}
.band-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding-top: 40px;
  padding-bottom: 40px;
}
.band h2 {
  color: #fff;
  font-size: clamp(26px, 4vw, 34px);
}
.band p {
  margin: 0;
  font-size: 18px;
  color: rgb(255 255 255 / 92%);
}

/* ---------- get involved ---------- */
.involved-grid {
  display: grid;
  gap: 22px;
}
@media (min-width: 900px) {
  .involved-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
    gap: 28px;
  }
}
.steps-card h2 {
  font-size: 28px;
}
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 20px 0;
  display: grid;
  gap: 18px;
}
.steps > li {
  counter-increment: step;
  position: relative;
  padding-left: 52px;
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font: 600 18px/36px var(--display);
  text-align: center;
}
.steps > li:nth-child(2)::before {
  background: var(--red);
}
.steps > li:nth-child(3)::before {
  background: var(--blue);
}
.steps > li:nth-child(4)::before {
  background: var(--gold);
  color: var(--navy);
}
.steps p {
  margin: 0 0 8px;
}
.form-links {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.form-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--ink);
  background: #fff;
}
.form-link:hover {
  border-color: var(--blue);
  color: var(--ink);
}
.form-link.primary {
  border-color: var(--navy);
  background: var(--blue-soft);
}
.form-link svg {
  width: 24px;
  height: 24px;
  fill: var(--red);
  flex: none;
}
.form-link span {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.form-link small {
  color: var(--muted);
}
.form-link em {
  font-style: normal;
  font-weight: 800;
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
}
.office {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 15.5px;
}
.office svg {
  width: 20px;
  height: 20px;
  fill: var(--red);
  flex: none;
  margin-top: 3px;
}
.tip {
  background: var(--gold-soft);
  border-left: 5px solid var(--gold);
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 700;
  margin: 0;
}
.stack {
  display: grid;
  gap: 18px;
}
.mini-card h2 {
  font-size: 23px;
}
.mini-card .qr {
  margin: 4px 0 16px;
}

/* ---------- calendar ---------- */
.month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.month-nav h2 {
  margin: 0;
  font-size: clamp(24px, 4vw, 32px);
  text-align: center;
}
.icon-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  flex: none;
}
.icon-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.icon-btn:hover {
  background: var(--blue);
  color: #fff;
}
.cal {
  padding: 0;
  overflow: hidden;
}
.cal-head,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.cal-head div {
  background: var(--navy);
  color: #fff;
  text-align: center;
  font-weight: 800;
  font-size: 13px;
  padding: 8px 2px;
  letter-spacing: 0.04em;
}
.wd-long {
  display: none;
}
.day {
  min-height: 58px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.cal-grid .day:nth-child(7n) {
  border-right: 0;
}
.day.blank {
  background: #faf7f0;
}
.day-num {
  font-weight: 800;
  font-size: 13px;
  color: var(--muted);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.day.is-today .day-num {
  background: var(--red);
  color: #fff;
}
.chip {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  background: var(--red);
  border-radius: 6px;
  padding: 3px 5px;
  min-width: 0;
}
.chip.kind-meeting {
  background: var(--blue);
}
.chip.kind-fundraiser {
  background: #11714a;
}
.chip:hover {
  filter: brightness(1.1);
  color: #fff;
}
.chip-dot {
  display: none;
}
.chip-text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
@media (max-width: 719px) {
  .chip {
    padding: 0;
    height: 8px;
    width: 8px;
    border-radius: 50%;
    align-self: center;
  }
  .chip-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .day {
    align-items: center;
    min-height: 52px;
  }
  .day.has-events .day-num {
    color: var(--navy);
  }
}
@media (min-width: 720px) {
  .wd-long {
    display: inline;
  }
  .wd-short {
    display: none;
  }
  .day {
    min-height: 104px;
    padding: 6px;
  }
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.legend i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
}
.legend i.kind-meeting {
  background: var(--blue);
}
.legend i.kind-fundraiser {
  background: #11714a;
}
.subscribe {
  margin-top: 20px;
}

/* ---------- event page ---------- */
.event-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 900px) {
  .event-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: start;
    gap: 32px;
  }
  .event-side {
    position: sticky;
    top: 96px;
  }
}
.event-side {
  display: grid;
  gap: 18px;
}
.prose {
  font-size: 18px;
}
.prose ul {
  padding-left: 1.2em;
}
.event-flyer {
  margin: 0;
}
.event-flyer img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.flyer-doc a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px;
  border: 2px dashed var(--blue);
  border-radius: var(--radius);
  background: var(--blue-soft);
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
  color: var(--navy);
}
.flyer-doc svg {
  width: 40px;
  height: 40px;
  fill: var(--red);
}
.spotlight-flyer.flyer-doc a {
  margin: 22px;
  background: #fff;
}
.details-card dl {
  margin: 0 0 16px;
  display: grid;
  gap: 12px;
}
.details-card dt {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.details-card dt svg {
  width: 17px;
  height: 17px;
  fill: var(--red);
}
.details-card dd {
  margin: 2px 0 0;
  font-weight: 700;
  font-size: 17px;
}
.signup-card {
  border-top: 6px solid var(--gold);
}
.signup-card h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 25px;
}
.roles {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
}
.roles li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  font-size: 15.5px;
}
.role-name {
  font-weight: 800;
}
.role-count {
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}
.roles .is-full .role-count {
  color: var(--red-dark);
}
.meter {
  grid-column: 1 / -1;
  height: 8px;
  border-radius: 99px;
  background: var(--blue-soft);
  overflow: hidden;
}
.meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--navy));
  border-radius: inherit;
}
.is-full .meter span {
  background: var(--red);
}

/* ---------- forms ---------- */
.form {
  display: grid;
  gap: 14px;
}
.form label {
  display: grid;
  gap: 6px;
  font-weight: 800;
  font-size: 15px;
  color: var(--navy);
}
.form label small {
  font-weight: 600;
  color: var(--muted);
}
.form input:not([type="checkbox"]):not([type="radio"]),
.form select,
.form textarea {
  width: 100%;
  font: 500 16px/1.4 var(--body);
  color: var(--ink);
  padding: 11px 13px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: #fff;
  min-height: 48px;
}
.form input[type="file"] {
  padding: 9px;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgb(29 111 224 / 18%);
}
.form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.form legend {
  font-weight: 800;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 8px;
  padding: 0;
}
.role-options {
  display: grid;
  gap: 8px;
}
.radio,
.check {
  display: flex !important;
  align-items: center;
  gap: 10px !important;
  font-weight: 700 !important;
  cursor: pointer;
}
.radio {
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
}
.radio:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-soft);
}
.radio.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  text-decoration: line-through;
}
.radio input,
.check input {
  width: 20px;
  height: 20px;
  accent-color: var(--blue);
  flex: none;
}
.field-row {
  display: grid;
  gap: 14px;
}
@media (min-width: 620px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
  .field-row.three {
    grid-template-columns: repeat(3, 1fr);
  }
  .field-row.four {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .field-row.four {
    grid-template-columns: repeat(4, 1fr);
  }
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.fine {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.help {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.notice {
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 700;
  margin-bottom: 14px;
  background: var(--blue-soft);
  color: var(--navy);
}
.notice.success {
  background: #e6f6ee;
  color: #0c5a3a;
  border: 1px solid #b7e3cc;
}
.notice.error {
  background: var(--red-soft);
  color: var(--red-dark);
  border: 1px solid #f5c0c7;
}

/* ---------- about ---------- */
.about-top {
  display: grid;
  gap: 24px;
}
@media (min-width: 900px) {
  .about-top {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
    gap: 36px;
  }
}
.mission-text p {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(21px, 2.6vw, 26px);
  line-height: 1.4;
  color: var(--navy);
}
.goals h2 {
  font-size: 24px;
}
.star-list ul,
.why ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.star-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-weight: 600;
}
.star-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5l3.2 6.6 7.3 1-5.3 5.1 1.3 7.2L12 18l-6.5 3.4 1.3-7.2L1.5 9.1l7.3-1z' fill='%23d7263d'/%3E%3C/svg%3E")
    no-repeat center / contain;
}
.people {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 16px;
}
@media (min-width: 620px) {
  .people.officers {
    grid-template-columns: repeat(2, 1fr);
  }
  .people.helpers {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .people.officers {
    grid-template-columns: repeat(4, 1fr);
  }
  .people.helpers {
    grid-template-columns: repeat(4, 1fr);
  }
}
.person {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.person.officer {
  flex-direction: column;
  align-items: flex-start;
  border-top: 5px solid var(--red);
}
.person.officer:nth-child(2n) {
  border-top-color: var(--blue);
}
.person h3 {
  font-size: 22px;
  margin: 0 0 4px;
}
.person.helper h3 {
  font-size: 18px;
}
.person-role {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 2px;
}
.person-bio {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}
.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 600 24px var(--display);
  color: #fff;
  background: var(--navy);
  flex: none;
  object-fit: cover;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--line);
}
.person.helper .avatar {
  width: 48px;
  height: 48px;
  font-size: 18px;
}
.avatar-red {
  background: var(--red);
}
.avatar-blue {
  background: var(--blue);
}
.avatar-gold {
  background: var(--gold);
  color: var(--navy);
}
.why ul {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}
@media (min-width: 720px) {
  .why ul {
    grid-template-columns: 1fr 1fr;
  }
}
.why li {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.why li:nth-child(2n) {
  border-left-color: var(--red);
}
.why li strong {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 4px;
}
.contact-card {
  display: grid;
  gap: 18px;
  background: var(--navy);
  color: #fff;
  border: 0;
}
.contact-card h2 {
  color: #fff;
}
.contact-card .muted {
  color: rgb(255 255 255 / 75%);
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.contact-actions .btn {
  word-break: break-all;
}
@media (min-width: 820px) {
  .contact-card {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }
  .contact-actions {
    justify-content: flex-end;
  }
}

/* ---------- archive ---------- */
.archive-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 900px) {
  .archive-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
.year {
  font-size: 15px;
  font-family: var(--body);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 18px 0 8px;
}
.doc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.doc {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.doc:hover {
  border-color: var(--blue);
  color: var(--ink);
}
.doc-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--red-soft);
  flex: none;
}
.doc-icon.img {
  background: var(--blue-soft);
}
.doc-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--red);
}
.doc-icon.img svg {
  fill: var(--blue);
}
.doc-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.doc-body strong {
  font-weight: 800;
  color: var(--navy);
}
.doc-body small {
  color: var(--muted);
  font-size: 14px;
}
.doc-go {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 800;
  font-size: 14px;
  color: var(--blue);
}
.doc-go svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgb(255 255 255 / 85%);
  padding: 40px 0 0;
  font-size: 15px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  gap: 24px;
}
.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.footer-brand .logo {
  flex: none;
}
.footer-brand p {
  margin: 0 0 4px;
}
.footer-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  color: #fff;
}
.footer-links {
  display: grid;
  gap: 8px;
  align-content: start;
}
.footer-links a {
  color: #fff;
  font-weight: 700;
  word-break: break-word;
}
.footer-links a.muted {
  color: rgb(255 255 255 / 60%);
  font-weight: 600;
}
@media (min-width: 820px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr;
  }
  .footer-links {
    justify-items: end;
  }
}
.footer-motto {
  margin-top: 32px;
  padding-top: 16px;
  padding-bottom: 20px;
  border-top: 1px solid rgb(255 255 255 / 15%);
  font-family: var(--display);
  font-weight: 500;
  color: var(--gold);
  text-align: center;
}

/* ---------- admin ---------- */
body.admin {
  background: #f4f6fa;
}
.admin-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.admin-header::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0 33.3%, #fff 33.3% 66.6%, var(--blue) 66.6%);
}
.admin-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.admin-header .brand {
  margin-right: 0;
}
.admin-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  order: 3;
  width: 100%;
  overflow-x: auto;
}
.admin-nav a {
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
  padding: 7px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.admin-nav a[aria-current="page"] {
  background: var(--navy);
  color: #fff;
}
.admin-actions {
  margin-left: auto;
  display: flex;
  gap: 14px;
  align-items: center;
  font-weight: 700;
  font-size: 14.5px;
}
@media (min-width: 1000px) {
  .admin-nav {
    order: 0;
    width: auto;
  }
}
.admin-main {
  padding-top: 24px;
  padding-bottom: 60px;
  display: grid;
  gap: 18px;
}
.admin-title {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: flex-end;
}
.admin-title h1 {
  margin: 0;
  font-size: 32px;
}
.admin-title p {
  margin: 0;
}
.admin-grid {
  display: grid;
  gap: 18px;
}
@media (min-width: 1000px) {
  .admin-grid {
    grid-template-columns: 2fr 1fr;
  }
  .admin-grid > .card:first-child {
    grid-row: span 2;
  }
}
.admin .card h2 {
  font-size: 22px;
}
.table-wrap {
  overflow-x: auto;
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.table th {
  text-align: left;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid var(--line);
  padding: 8px;
}
.table td {
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
  vertical-align: top;
}
.table .right {
  text-align: right;
}
.nowrap {
  white-space: nowrap;
}
.plain-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 15px;
}
.admin-form {
  gap: 22px;
}
.admin-form fieldset.card {
  padding: 22px;
}
.admin-form fieldset.card legend {
  float: left;
  width: 100%;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
}
.current-file {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.current-file img {
  max-height: 160px;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.danger-zone {
  border-color: #f5c0c7;
}
.danger-zone h2 {
  color: var(--red-dark);
}
.board-form .avatar {
  width: 48px;
  height: 48px;
}
.sticky-save {
  position: sticky;
  bottom: 0;
  background: #f4f6fa;
  padding: 12px 0;
}
code {
  background: var(--blue-soft);
  padding: 1px 5px;
  border-radius: 5px;
  font-size: 0.92em;
}
.login-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 16px;
}
.login-body .login {
  width: 100%;
  display: grid;
  place-items: center;
}
.login-card {
  width: min(420px, 100%);
  text-align: center;
  display: grid;
  gap: 8px;
  justify-items: center;
}
.login-card .form {
  width: 100%;
  text-align: left;
}
.login-card h1 {
  margin: 8px 0 0;
}

/* Mobile: tapping a day with an event opens it (dots are too small to hit). */
@media (max-width: 719px) {
  .day.has-events {
    position: relative;
  }
  .day.has-events .chip:first-of-type::after {
    content: "";
    position: absolute;
    inset: 0;
  }
}

/* ---------- page builder sections ---------- */
.section-navy {
  background: var(--navy);
  color: #fff;
}
.section-navy .section-title,
.section-navy h2,
.section-navy h3 {
  color: #fff;
}
.one-up {
  display: grid;
  max-width: 720px;
}
.three-up {
  display: grid;
  gap: 24px;
}
@media (min-width: 900px) {
  .three-up {
    grid-template-columns: repeat(3, 1fr);
  }
}
.cta-navy .cta-icon {
  background: var(--navy);
  color: #fff;
}
.ribbon-slow .ribbon-track {
  animation-duration: 220s;
}
.ribbon-fast .ribbon-track {
  animation-duration: 100s;
}
.qr-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.faq {
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
}
.faq-answer {
  margin-top: 10px;
}
.img-section {
  margin: 0;
}
.img-section img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}
.img-narrow {
  max-width: 640px;
  margin-inline: auto;
}
.img-full img {
  border-radius: 0;
}
.img-section figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}
.image-text {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 860px) {
  .image-text {
    grid-template-columns: 1fr 1fr;
  }
  .image-text.image-right .image-text-media {
    order: 2;
  }
}
.image-text-media {
  margin: 0;
}
.image-text-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}
.btn-row.align-center {
  justify-content: center;
}
.spacer-sm {
  height: 16px;
}
.spacer-md {
  height: 40px;
}
.spacer-lg {
  height: 80px;
}
.divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}
.draft-note {
  margin: 16px 0;
  padding: 12px 16px;
  border: 2px dashed var(--gold);
  border-radius: var(--radius-sm);
  background: var(--gold-soft);
  color: var(--ink);
  font-size: 0.95rem;
}

.pill-published { background: #e6f6ec; color: #17663a; }
.pill-changes { background: var(--gold-soft); color: #7a5600; }
.pill-unpublished { background: var(--red-soft); color: var(--red-dark); }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.inline-details > summary { list-style: none; cursor: pointer; }
.inline-details[open] { flex-basis: 100%; }
.slug-field { display: flex; align-items: center; gap: 4px; }
.btn-sm { padding: 6px 12px; font-size: 0.9rem; }
.linklike.danger { color: var(--red-dark); }

/* Users admin */
.pill-active { background: #e6f6ec; color: #17663a; }
.pill-invited { background: var(--gold-soft); color: #7a5600; }
.pill-disabled { background: var(--red-soft); color: var(--red-dark); }
.link-box { border: 2px solid var(--gold); background: var(--gold-soft); }
.link-box-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.link-box-row input { flex: 1 1 280px; min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9rem; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.inline-form { display: flex; gap: 6px; align-items: center; }

/* ---------- teacher funding requests ---------- */
.req {
  color: var(--red);
  font-weight: 800;
}
.request-grid {
  display: grid;
  gap: 24px;
  align-items: start;
}
@media (min-width: 900px) {
  .request-grid {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  }
  .request-side {
    position: sticky;
    top: 20px;
  }
}
.request-card .form fieldset + fieldset {
  border-top: 2px solid var(--line);
  padding-top: 16px;
}
.check.dues {
  align-items: flex-start;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: var(--gold-soft);
}
.check.dues input {
  margin-top: 2px;
}
.request-side h2 {
  font-size: 22px;
}
.steps-list {
  margin: 0 0 14px;
  padding-left: 22px;
  display: grid;
  gap: 8px;
  font-weight: 600;
}
.notice.error p {
  margin: 0 0 6px;
}
.notice.error ul {
  margin: 0;
  padding-left: 20px;
  font-weight: 600;
}

/* ---------- donors ---------- */
.donor-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
}
.donor {
  text-align: center;
}
.donor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  padding: 18px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.donor-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.donor-logo-text {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  color: var(--navy);
  overflow-wrap: anywhere;
}
.donor-link {
  display: block;
  text-decoration: none;
  border-radius: var(--radius);
}
.donor-link:hover .donor-logo,
.donor-link:focus-visible .donor-logo {
  border-color: var(--blue);
}
.donor-name {
  margin: 10px 0 0;
  font-weight: 800;
  color: var(--navy);
}
.donor-note {
  margin: 2px 0 0;
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}
.donor-cta {
  margin: 24px 0 0;
  text-align: center;
}

/* ---------- admin: teacher requests and donors ---------- */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.filter-tabs a {
  text-decoration: none;
  font-weight: 800;
  font-size: 14.5px;
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: #fff;
}
.filter-tabs a[aria-current="page"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.filter-tabs .count {
  opacity: 0.7;
  font-weight: 700;
}
.pill-req-new { background: var(--gold-soft); color: #7a5600; }
.pill-req-approved { background: #e6f6ec; color: #17663a; }
.pill-req-declined { background: #eef0f4; color: var(--muted); }
.pill-req-paid { background: var(--blue-soft); color: var(--navy); }
.pill-email-sent { background: #e6f6ec; color: #17663a; }
.pill-email-failed { background: var(--red-soft); color: var(--red-dark); }
.pill-email-off { background: #eef0f4; color: var(--muted); }
@media (min-width: 1000px) {
  .admin-grid.request-detail {
    grid-template-columns: 1fr 1fr;
  }
  .admin-grid.request-detail > .card:first-child {
    grid-row: auto;
  }
}
.detail-list {
  margin: 0;
  display: grid;
  gap: 12px;
}
.detail-list dt {
  font-weight: 800;
  font-size: 13.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.detail-list dd {
  margin: 2px 0 0;
  font-weight: 600;
}
.pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.donor-thumb {
  height: 48px;
  max-width: 140px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 4px;
}
.request-card .field-row {
  align-items: end;
}
