:root {
  --pine-950: #14251b;
  --pine-900: #203629;
  --pine-700: #355945;
  --pine-100: #dce7df;
  --cream: #f5f1e7;
  --paper: #fffdf8;
  --clay: #c85732;
  --ink: #17221b;
  --muted: #5d685f;
  --nav-height: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom));
}

a { -webkit-tap-highlight-color: transparent; }

.content-shell { max-width: 760px; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: 52px 0 42px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 12%, rgb(225 174 91 / 22%) 0 9%, transparent 10%),
    linear-gradient(145deg, var(--pine-950), var(--pine-700));
}

.hero::after {
  position: absolute;
  right: -30px;
  bottom: -12px;
  color: rgb(255 255 255 / 8%);
  content: "▲▲";
  font-size: 12rem;
  letter-spacing: -3.5rem;
  line-height: .5;
  transform: scaleY(1.35);
}

.hero.hero--copper {
  background-color: var(--pine-950);
  background-image:
    linear-gradient(rgb(0 0 0 / 58%), rgb(0 0 0 / 68%)),
    url("../branding/copper/copper-hero-wide.png"),
    linear-gradient(145deg, var(--pine-950), var(--pine-700));
  background-position: center, center, center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero--copper .content-shell { position: relative; z-index: 1; }

.hero__brand-logo { display: block; width: auto; max-width: min(80vw, 360px); max-height: 120px; margin-bottom: 16px; object-fit: contain; }

.hero__eyebrow,
.section-heading__kicker {
  margin: 0 0 10px;
  color: #e8b365;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 620px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 12vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: .98;
}

.hero__details {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 7px;
  margin-top: 27px;
  color: #eef4ef;
  font-size: 1rem;
  font-weight: 650;
}

.hero__details p { margin: 0; }
.hero__details span { display: inline-block; width: 25px; color: #e8b365; }

.action-section { padding-top: 30px; padding-bottom: 34px; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-heading__kicker { margin-bottom: 3px; color: var(--clay); }
.section-heading h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; font-weight: 700; }
.section-heading__mark { color: var(--pine-700); font-size: 1.5rem; }

.action-grid { display: grid; gap: 12px; }

.action-card {
  display: flex;
  align-items: center;
  min-height: 78px;
  padding: 14px 16px;
  border: 1px solid #d9ddd7;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 3px 0 rgb(20 37 27 / 7%);
  color: var(--ink);
  text-decoration: none;
}

.action-card:hover,
.action-card:focus-visible { border-color: var(--pine-700); color: var(--ink); transform: translateY(-1px); }
.action-card:focus-visible { outline: 3px solid #e8b365; outline-offset: 2px; }

.action-card--featured { border-color: var(--clay); background: var(--clay); color: #fff; }
.action-card--featured:hover,
.action-card--featured:focus-visible { border-color: #9f3e22; color: #fff; }

.action-card__icon {
  display: grid;
  flex: 0 0 48px;
  height: 48px;
  place-items: center;
  border-radius: 12px;
  background: var(--pine-100);
  color: var(--pine-900);
  font-size: 1.4rem;
  font-weight: 800;
}

.action-card--featured .action-card__icon { background: rgb(255 255 255 / 18%); color: #fff; }
.action-card__copy { display: grid; min-width: 0; margin-left: 14px; }
.action-card__copy strong { font-size: 1.08rem; line-height: 1.25; }
.action-card__copy small { margin-top: 2px; color: var(--muted); font-size: .88rem; }
.action-card--featured small { color: #fff3ec; }
.action-card__arrow { margin-left: auto; padding-left: 8px; font-size: 1.4rem; font-weight: 500; }

.bottom-nav {
  position: fixed;
  z-index: 10;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: calc(var(--nav-height) + env(safe-area-inset-bottom));
  border-top: 1px solid #d8ddd8;
  background: rgb(255 253 248 / 96%);
  box-shadow: 0 -6px 22px rgb(20 37 27 / 10%);
  padding-bottom: env(safe-area-inset-bottom);
  backdrop-filter: blur(10px);
}

.bottom-nav__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); max-width: 760px; min-height: var(--nav-height); margin: 0 auto; }
.bottom-nav__link { display: flex; align-items: center; justify-content: center; flex-direction: column; min-width: 0; min-height: 56px; color: #59645c; font-size: .72rem; font-weight: 700; gap: 2px; text-decoration: none; }
.bottom-nav__link:hover,
.bottom-nav__link:focus-visible,
.bottom-nav__link.active { color: var(--clay); }
.bottom-nav__link:focus-visible { outline: 3px solid #e8b365; outline-offset: -4px; }
.bottom-nav__icon { min-height: 25px; font-size: 1.35rem; line-height: 1; }

@media (min-width: 576px) {
  .hero { padding-top: 66px; }
  .action-section { padding-top: 38px; }
  .action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .action-card--featured { grid-column: 1 / -1; }
}

/* Tablets retain the wide composition; only phone portrait layouts use the mobile art. */
@media (max-width: 575.98px) and (orientation: portrait) {
  .hero.hero--copper {
    min-height: 360px;
    background-image:
      linear-gradient(rgb(0 0 0 / 58%), rgb(0 0 0 / 70%)),
      url("../branding/copper/copper-hero-mobile.png"),
      linear-gradient(145deg, var(--pine-950), var(--pine-700));
    background-position: center, center top, center;
  }
}

/* Copper Western UI: an immersive, profile-scoped home and icon treatment. */
.copper-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.copper-icon { display: block; width: 32px; height: 32px; }

body.copper-western-profile .bottom-nav {
  border-top-color: rgb(199 145 72 / 48%);
  background: rgb(24 14 8 / 93%);
  box-shadow: 0 -7px 25px rgb(0 0 0 / 34%);
}

body.copper-western-profile .bottom-nav__link { color: #d8c29d; }
body.copper-western-profile .bottom-nav__link:hover,
body.copper-western-profile .bottom-nav__link:focus-visible,
body.copper-western-profile .bottom-nav__link.active { color: #f0b761; }
body.copper-western-profile .bottom-nav__western-icon { width: 27px; height: 27px; }

.copper-home {
  position: relative;
  min-height: calc(100dvh - var(--nav-height));
  overflow: hidden;
  isolation: isolate;
  color: #f8ead0;
  background: #1a100a;
}

.copper-home::before,
.copper-home::after {
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  content: "";
}

.copper-home::before {
  background-color: #1a100a;
  background-image:
    linear-gradient(180deg, rgb(10 6 3 / 38%), rgb(13 8 4 / 62%) 58%, rgb(13 8 4 / 82%)),
    url("../branding/copper/copper-hero-wide.png");
  background-position: center, center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.copper-home::after {
  opacity: .2;
  background:
    repeating-linear-gradient(92deg, transparent 0 36px, rgb(255 221 163 / 4%) 37px 38px),
    linear-gradient(90deg, rgb(0 0 0 / 25%), transparent 32% 68%, rgb(0 0 0 / 28%));
}

.copper-home > * { position: relative; z-index: 1; }
.copper-home .content-shell { max-width: 1120px; }

.copper-home .hero.hero--copper {
  min-height: 340px;
  padding: clamp(46px, 7vw, 82px) 0 62px;
  overflow: visible;
  background:
    linear-gradient(90deg, rgb(8 5 3 / 62%), rgb(8 5 3 / 38%) 58%, rgb(8 5 3 / 10%)),
    linear-gradient(180deg, rgb(8 5 3 / 10%), rgb(8 5 3 / 18%) 55%, rgb(12 7 4 / 64%));
}

.copper-home .hero::after { display: none; }
.copper-hero__content { position: relative; }

.copper-hero__content::before {
  position: absolute;
  top: -12px;
  bottom: -12px;
  left: 2px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(#e4b15f, rgb(146 79 28 / 30%));
  content: "";
}

.copper-home .hero__eyebrow {
  color: #f0bd70;
  text-shadow: 0 2px 10px rgb(0 0 0 / 82%);
}

.copper-home .hero h1 {
  max-width: 680px;
  color: #fff1d5;
  font-family: Rockwell, "Roboto Slab", Georgia, "Times New Roman", serif;
  font-weight: 800;
  letter-spacing: .015em;
  line-height: .96;
  text-wrap: balance;
  text-shadow: 0 3px 2px rgb(20 9 2 / 75%), 0 8px 26px rgb(0 0 0 / 72%);
}

.copper-home .hero__details { color: #f5e5ca; text-shadow: 0 2px 8px rgb(0 0 0 / 90%); }
.copper-home .hero__details p { display: flex; min-width: 0; align-items: center; gap: 9px; }
.copper-home .hero__detail-icon { flex: 0 0 23px; width: 23px; height: 23px; color: #efb55f; }

.copper-home .dashboard {
  grid-template-columns: minmax(128px, 182px);
  margin-top: -32px;
}

.copper-home .stat-card {
  min-height: 68px;
  border-color: rgb(232 178 91 / 45%);
  background: rgb(27 16 9 / 84%);
  box-shadow: 0 8px 24px rgb(0 0 0 / 28%);
  backdrop-filter: blur(8px);
}

.copper-home .stat-card strong { color: #f2bd67; }
.copper-home .stat-card span { color: #ead9bc; }

.copper-action-section { padding-top: 24px; padding-bottom: 38px; }
.copper-home .rsvp-preview,
.copper-home .home-announcement {
  border: 1px solid rgb(224 167 82 / 42%);
  border-left: 4px solid #d7973f;
  background: rgb(24 14 8 / 86%);
  box-shadow: 0 12px 30px rgb(0 0 0 / 25%);
  backdrop-filter: blur(9px);
}

.copper-home .rsvp-preview p,
.copper-home .home-announcement p { color: #e5d3b4; }
.copper-home .home-announcement a { color: #f2bd67; }

.copper-home .stoddard-welfare-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 18px;
  align-items: center;
  margin: 0 0 20px;
  overflow: hidden;
  border: 3px double #d19a4b;
  border-radius: 4px;
  background:
    linear-gradient(102deg, rgb(232 177 89 / 13%), transparent 52%),
    rgb(25 14 8 / 93%);
  box-shadow: 0 12px 30px rgb(0 0 0 / 31%);
  padding: clamp(17px, 4vw, 24px);
}

.copper-home .stoddard-welfare-callout__stamp {
  grid-column: 1 / -1;
  width: fit-content;
  margin: 0;
  transform: rotate(-2deg);
  border: 3px double #d08b51;
  padding: 7px 10px 5px;
  color: #f0b177;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1;
}

.copper-home .stoddard-welfare-callout .section-heading__kicker {
  margin-bottom: 5px;
  color: #e4aa54;
}

.copper-home .stoddard-welfare-callout h2 {
  margin: 0;
  color: #fff0d2;
  font-family: Rockwell, "Roboto Slab", Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 5vw, 2.2rem);
  letter-spacing: .035em;
}

.copper-home .stoddard-welfare-callout div > p:last-child {
  margin: 5px 0 0;
  color: #e5d3b4;
}

.copper-home .stoddard-welfare-callout__action {
  border: 2px solid #d9a24f;
  border-radius: 3px;
  background: #f0d39d;
  color: #342012;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
  letter-spacing: .035em;
}

.copper-home .stoddard-welfare-callout__action:hover,
.copper-home .stoddard-welfare-callout__action:focus-visible {
  border-color: #f1c16f;
  background: #ffe3ac;
  color: #24140c;
}

.copper-plan-heading { align-items: center; margin: 2px 0 15px; }
.copper-plan-heading .section-heading__kicker { color: #e3a64e; }
.copper-plan-heading h2 {
  color: #fff0d2;
  font-family: Rockwell, "Roboto Slab", Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 5vw, 2.25rem);
  letter-spacing: .02em;
  text-shadow: 0 3px 12px rgb(0 0 0 / 75%);
}

.copper-plan-heading .section-heading__mark { color: #e7ad55; filter: drop-shadow(0 3px 8px rgb(0 0 0 / 75%)); }
.copper-plan-heading .section-heading__mark .copper-icon { width: 34px; height: 34px; }

.copper-action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.copper-action-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 20px;
  grid-template-rows: 44px minmax(0, 1fr);
  min-width: 0;
  min-height: 132px;
  align-items: center;
  gap: 0;
  overflow: hidden;
  border-color: rgb(214 164 88 / 43%);
  border-radius: 12px 12px 9px 9px;
  background:
    linear-gradient(112deg, rgb(255 220 159 / 6%), transparent 44%),
    rgb(24 14 8 / 84%);
  box-shadow: 0 7px 20px rgb(0 0 0 / 24%), inset 0 1px rgb(255 231 187 / 8%);
  padding: 12px;
  color: #f8ead0;
  backdrop-filter: blur(8px);
}

.copper-action-card:hover,
.copper-action-card:focus-visible {
  border-color: #e2aa57;
  background-color: rgb(47 27 14 / 91%);
  color: #fff4df;
}

.copper-action-card:focus-visible { outline-color: #f0bd6b; }

.copper-action-card .action-card__icon {
  grid-column: 1;
  grid-row: 1;
  width: 42px;
  height: 42px;
  border: 1px solid rgb(230 178 93 / 47%);
  border-radius: 50%;
  background: rgb(8 5 3 / 42%);
  color: #efb65c;
}

.copper-action-card .action-card__icon .copper-icon { width: 29px; height: 29px; }

.copper-action-card .action-card__copy {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: end;
  margin: 9px 0 0;
}

.copper-action-card .action-card__copy strong {
  overflow-wrap: anywhere;
  color: #fff0d2;
  font-family: Rockwell, "Roboto Slab", Georgia, "Times New Roman", serif;
  font-size: .98rem;
  letter-spacing: .015em;
}

.copper-action-card .action-card__copy small {
  display: -webkit-box;
  margin-top: 4px;
  overflow: hidden;
  color: #dac8aa;
  font-size: .76rem;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.copper-action-card .action-card__arrow {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  margin: 0;
  padding: 0;
  color: #dca04a;
  font-size: 1.2rem;
  text-align: right;
}

.copper-action-card--featured {
  border-color: rgb(239 185 97 / 76%);
  background:
    linear-gradient(112deg, rgb(216 143 56 / 22%), transparent 60%),
    rgb(41 22 10 / 90%);
}

@media (max-width: 575.98px) and (orientation: portrait) {
  .copper-home::before {
    background-image:
      linear-gradient(180deg, rgb(10 6 3 / 34%), rgb(13 8 4 / 56%) 52%, rgb(13 8 4 / 82%)),
      url("../branding/copper/copper-hero-mobile.png");
    background-position: center, center top;
  }

  .copper-home .hero.hero--copper {
    min-height: 328px;
    padding: 43px 0 56px;
    background:
      linear-gradient(90deg, rgb(8 5 3 / 65%), rgb(8 5 3 / 44%) 82%, rgb(8 5 3 / 28%)),
      linear-gradient(180deg, rgb(8 5 3 / 10%), rgb(8 5 3 / 18%) 55%, rgb(12 7 4 / 64%));
  }
  .copper-home .hero h1 { font-size: clamp(2.35rem, 11vw, 3.3rem); }
  .copper-action-section { padding-top: 20px; }
  .copper-home .stoddard-welfare-callout { grid-template-columns: 1fr; }
  .copper-home .stoddard-welfare-callout__action { width: 100%; }
}

@media (min-width: 576px) {
  .copper-home .hero.hero--copper { min-height: 390px; }
  .copper-action-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .copper-action-card { min-height: 142px; padding: 14px; }
}

@media (max-width: 340px) {
  .copper-action-grid { gap: 8px; }
  .copper-action-card { min-height: 130px; padding: 10px; }
  .copper-action-card .action-card__copy strong { font-size: .9rem; }
  .copper-action-card .action-card__copy small { font-size: .71rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .action-card { transition: border-color 150ms ease, transform 150ms ease; }
}

/* Copper-only guest interiors: one decorative seal below all real content. */
body.copper-western-profile.copper-interior-page #main-content {
  --copper-interior-espresso: #24140c;
  --copper-interior-brown: #5d351f;
  --copper-interior-copper: #995122;
  --copper-interior-gold: #d8a550;
  --copper-interior-parchment: #f1dfbf;
  --copper-interior-cream: #fff0d2;
  --ink: #2b1b12;
  --muted: #6b5040;
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - var(--nav-height));
  background:
    linear-gradient(90deg, rgb(89 50 21 / 3%), transparent 18% 82%, rgb(89 50 21 / 3%)),
    #f5ead3;
}

body.copper-western-profile.copper-interior-page #main-content::before {
  position: fixed;
  z-index: -1;
  top: 52%;
  left: 50%;
  width: min(68vw, 620px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background-image: url("../branding/copper/copper-logo-master.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  filter: sepia(.55) saturate(.5) contrast(.82);
  opacity: .25;
  pointer-events: none;
}

@media (max-width: 575.98px) {
  body.copper-western-profile.copper-interior-page #main-content::before {
    width: 74vw;
  }
}

/* Copper interior palette: warm branding without changing semantic status colors. */
body.copper-western-profile.copper-interior-page #main-content .page-header {
  color: var(--copper-interior-cream);
  background: linear-gradient(145deg, var(--copper-interior-espresso), var(--copper-interior-brown));
}

body.copper-western-profile.copper-interior-page #main-content .page-header .hero__eyebrow {
  color: var(--copper-interior-gold);
}

body.copper-western-profile.copper-interior-page #main-content .page-header h1 {
  color: var(--copper-interior-cream);
}

body.copper-western-profile.copper-interior-page #main-content .page-header p:last-child {
  color: #ead8b8;
}

body.copper-western-profile .ride-header__title--copper {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: clamp(8px, 2vw, 14px);
}

body.copper-western-profile .ride-header__western-icon {
  flex: 0 0 auto;
  width: clamp(36px, 9vw, 52px);
  height: clamp(36px, 9vw, 52px);
  color: var(--copper-interior-gold);
}

body.copper-western-profile.copper-interior-page #main-content .back-link { color: #f8e8cb; }
body.copper-western-profile.copper-interior-page #main-content .back-link:hover,
body.copper-western-profile.copper-interior-page #main-content .back-link:focus-visible { color: var(--copper-interior-gold); }
body.copper-western-profile.copper-interior-page #main-content .section-heading__kicker,
body.copper-western-profile.copper-interior-page #main-content .section-heading__mark { color: var(--copper-interior-copper); }

body.copper-western-profile.copper-interior-page #main-content .action-card:not(.pwa-install-entry):hover,
body.copper-western-profile.copper-interior-page #main-content .action-card:not(.pwa-install-entry):focus-visible {
  border-color: var(--copper-interior-copper);
}

body.copper-western-profile.copper-interior-page #main-content .action-card:not(.pwa-install-entry) .action-card__icon,
body.copper-western-profile.copper-interior-page #main-content .location-card__icon {
  border: 1px solid #c28a45;
  background: var(--copper-interior-parchment);
  color: var(--copper-interior-brown);
}

body.copper-western-profile.copper-interior-page #main-content .action-card:not(.pwa-install-entry) .action-card__arrow { color: var(--copper-interior-copper); }
body.copper-western-profile.copper-interior-page #main-content .action-card--chat {
  border-color: #c28a45;
  background: #fff7e8;
}

body.copper-western-profile.copper-interior-page #main-content .action-card--chat .action-card__icon {
  background: var(--copper-interior-parchment);
  color: var(--copper-interior-brown);
}

body.copper-western-profile.copper-interior-page #main-content .event-info-card,
body.copper-western-profile.copper-interior-page #main-content .personal-card--featured {
  border-top-color: var(--copper-interior-copper);
}

body.copper-western-profile.copper-interior-page #main-content .current-rsvp,
body.copper-western-profile.copper-interior-page #main-content .live-schedule__now {
  border-color: var(--copper-interior-brown);
  background: var(--copper-interior-espresso);
  color: var(--copper-interior-cream);
}

body.copper-western-profile.copper-interior-page #main-content .current-rsvp .summary-grid dt,
body.copper-western-profile.copper-interior-page #main-content .live-schedule__now p,
body.copper-western-profile.copper-interior-page #main-content .live-schedule__now a { color: #e7d3b2; }

body.copper-western-profile.copper-interior-page #main-content .current-rsvp .section-heading__kicker,
body.copper-western-profile.copper-interior-page #main-content .live-schedule__now .section-heading__kicker {
  color: var(--copper-interior-gold);
}

body.copper-western-profile.copper-interior-page #main-content .form-control:focus,
body.copper-western-profile.copper-interior-page #main-content .form-select:focus,
body.copper-western-profile.copper-interior-page #main-content .chat-composer .form-control:focus {
  border-color: var(--copper-interior-copper);
  box-shadow: 0 0 0 .22rem rgb(153 81 34 / 20%);
}

body.copper-western-profile.copper-interior-page #main-content .touch-check,
body.copper-western-profile.copper-interior-page #main-content .choice-pill { border-color: #c7ad86; }

body.copper-western-profile.copper-interior-page #main-content .edit-button {
  --bs-btn-bg: var(--copper-interior-brown);
  --bs-btn-border-color: var(--copper-interior-brown);
  --bs-btn-hover-bg: var(--copper-interior-espresso);
  --bs-btn-hover-border-color: var(--copper-interior-espresso);
  --bs-btn-focus-shadow-rgb: 153, 81, 34;
  --bs-btn-active-bg: #170c07;
  --bs-btn-active-border-color: #170c07;
  --bs-btn-disabled-bg: var(--copper-interior-brown);
  --bs-btn-disabled-border-color: var(--copper-interior-brown);
}

body.copper-western-profile.copper-interior-page #main-content :is(.cancel-button, .forget-access-button, .chat-refresh, .chat-action, .chat-cancel) {
  border-color: #a8855d;
  color: var(--copper-interior-brown);
}

body.copper-western-profile.copper-interior-page #main-content .food-add-button {
  color: var(--copper-interior-espresso);
}

body.copper-western-profile.copper-interior-page #main-content .schedule-day h2 {
  border-bottom-color: var(--copper-interior-copper);
}

body.copper-western-profile.copper-interior-page #main-content .schedule-card__rail::before { background: #c9ae82; }
body.copper-western-profile.copper-interior-page #main-content .ride-seat-count,
body.copper-western-profile.copper-interior-page #main-content .personal-tags span,
body.copper-western-profile.copper-interior-page #main-content .your-item {
  background: var(--copper-interior-parchment);
  color: var(--copper-interior-brown);
}

body.copper-western-profile.copper-interior-page #main-content .personal-edit,
body.copper-western-profile.copper-interior-page #main-content .personal-add {
  background: var(--copper-interior-brown);
  color: #fff;
}

body.copper-western-profile.copper-interior-page #main-content .personal-edit:hover,
body.copper-western-profile.copper-interior-page #main-content .personal-edit:focus-visible,
body.copper-western-profile.copper-interior-page #main-content .personal-add:hover,
body.copper-western-profile.copper-interior-page #main-content .personal-add:focus-visible {
  background: var(--copper-interior-espresso);
  color: #fff;
}

body.copper-western-profile.copper-interior-page #main-content :is(.pwa-install-entry, .install-card--copper) {
  --ink: #17221b;
  --muted: #5d685f;
}

body.copper-western-profile.copper-interior-page #main-content .install-card--copper .section-heading__kicker { color: var(--clay); }
body.copper-western-profile.copper-interior-page #main-content .chat-message__heading strong { color: var(--copper-interior-brown); }
body.copper-western-profile.copper-interior-page #main-content .chat-message--owned {
  border-color: #c9ab80;
  background: #fff8eb;
}

body.copper-western-profile.copper-interior-page #main-content .chat-composer { border-color: #d8c19d; }

/* Copper-only Gordon's Mercantile catalog and protected product editor. */
body.copper-western-profile.copper-interior-page #main-content .action-card--mercantile {
  border-color: #c28a45;
}

body.copper-western-profile.copper-interior-page #main-content .mercantile-shell {
  display: grid;
  gap: 28px;
  padding-top: 24px;
  padding-bottom: 44px;
}

body.copper-western-profile.copper-interior-page #main-content .mercantile-store-note {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border: 1px solid #b98245;
  border-top: 5px solid var(--copper-interior-copper);
  border-radius: 15px;
  background: #fff6e3;
  padding: 17px;
  box-shadow: 0 4px 0 rgb(59 30 14 / 9%);
}

body.copper-western-profile.copper-interior-page #main-content .mercantile-store-note > span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid #b98245;
  border-radius: 12px;
  background: var(--copper-interior-parchment);
  color: var(--copper-interior-brown);
}

body.copper-western-profile.copper-interior-page #main-content .mercantile-store-note h2,
body.copper-western-profile.copper-interior-page #main-content .mercantile-store-note p,
body.copper-western-profile.copper-interior-page #main-content .mercantile-category h2,
body.copper-western-profile.copper-interior-page #main-content .mercantile-product h3 {
  margin: 0;
}

body.copper-western-profile.copper-interior-page #main-content .mercantile-store-note h2,
body.copper-western-profile.copper-interior-page #main-content .mercantile-category h2 {
  font-family: Georgia, "Times New Roman", serif;
}

body.copper-western-profile.copper-interior-page #main-content .mercantile-store-note > div > p:last-child {
  margin-top: 5px;
  color: var(--copper-interior-brown);
}

body.copper-western-profile.copper-interior-page #main-content .mercantile-category {
  min-width: 0;
}

body.copper-western-profile.copper-interior-page #main-content .mercantile-category__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  border-bottom: 3px double #9f5b2d;
  padding-bottom: 9px;
  color: var(--copper-interior-espresso);
}

body.copper-western-profile.copper-interior-page #main-content .mercantile-category__heading > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #c28a45;
  border-radius: 10px;
  background: var(--copper-interior-parchment);
  color: var(--copper-interior-brown);
}

body.copper-western-profile.copper-interior-page #main-content .mercantile-category__heading .copper-icon {
  width: 27px;
  height: 27px;
}

body.copper-western-profile.copper-interior-page #main-content .mercantile-grid {
  display: grid;
  gap: 15px;
}

body.copper-western-profile.copper-interior-page #main-content .mercantile-product {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #c8aa7e;
  border-radius: 15px;
  background: #fff9ed;
  box-shadow: 0 4px 0 rgb(60 31 14 / 9%);
}

body.copper-western-profile.copper-interior-page #main-content .mercantile-product__image {
  position: relative;
  display: grid;
  min-height: 190px;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid #d7bd96;
  background: linear-gradient(145deg, #ead5b1, #f8ebd1);
  color: #7a482d;
}

body.copper-western-profile.copper-interior-page #main-content .mercantile-product__image > img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

body.copper-western-profile.copper-interior-page #main-content .mercantile-product__image > span .copper-icon {
  width: 74px;
  height: 74px;
}

body.copper-western-profile.copper-interior-page #main-content .mercantile-product__body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

body.copper-western-profile.copper-interior-page #main-content .mercantile-product__heading {
  display: flex;
  min-width: 0;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

body.copper-western-profile.copper-interior-page #main-content .mercantile-product h3 {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--copper-interior-espresso);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

body.copper-western-profile.copper-interior-page #main-content .mercantile-product__price {
  flex: 0 0 auto;
  max-width: 45%;
  overflow-wrap: anywhere;
  color: var(--copper-interior-copper);
  font-size: 1.05rem;
  text-align: right;
}

body.copper-western-profile.copper-interior-page #main-content .mercantile-product__description,
body.copper-western-profile.copper-interior-page #main-content .mercantile-product__availability {
  margin: 0;
  overflow-wrap: anywhere;
  color: #5c4434;
}

body.copper-western-profile.copper-interior-page #main-content .mercantile-product__availability {
  border-top: 1px solid #dfc9a8;
  padding-top: 10px;
  font-size: .88rem;
}

body.copper-western-profile.copper-interior-page #main-content .mercantile-product__availability strong {
  display: block;
  color: var(--copper-interior-brown);
}

body.copper-western-profile.copper-interior-page #main-content .mercantile-sold-out {
  position: absolute;
  right: 12px;
  bottom: 12px;
  transform: rotate(-5deg);
  border: 4px double #752e20;
  border-radius: 4px;
  background: rgb(255 246 226 / 90%);
  padding: 6px 10px;
  color: #752e20;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  letter-spacing: .12em;
}

body.copper-western-profile.copper-interior-page #main-content .mercantile-product--sold-out .mercantile-product__image > img {
  filter: saturate(.55);
}

body.copper-western-profile.copper-interior-page #main-content .mercantile-product__availability--sold-out,
body.copper-western-profile.copper-interior-page #main-content .mercantile-product__availability--sold-out strong {
  color: #752e20;
}

body.copper-western-profile.copper-interior-page #main-content .mercantile-empty {
  border: 1px dashed #aa7e4e;
  border-radius: 13px;
  background: rgb(255 248 233 / 88%);
  padding: 18px;
  color: var(--copper-interior-brown);
  text-align: center;
}

body.copper-western-profile.copper-interior-page #main-content .mercantile-empty p {
  margin: 0;
}

body.copper-western-profile.copper-interior-page #main-content .mercantile-empty--store strong {
  display: block;
  color: var(--copper-interior-espresso);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}

body.copper-western-profile.copper-interior-page #main-content .mercantile-empty--store p {
  margin-top: 5px;
}

body.copper-western-profile #main-content .admin-mercantile-card__image,
body.copper-western-profile #main-content .admin-mercantile-form__image {
  width: 100%;
  max-height: 260px;
  margin-bottom: 14px;
  border: 1px solid #c8aa7e;
  border-radius: 11px;
  object-fit: cover;
}

body.copper-western-profile #main-content .admin-mercantile-form__image {
  max-width: 460px;
}

@media (min-width: 576px) {
  body.copper-western-profile.copper-interior-page #main-content .mercantile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  body.copper-western-profile.copper-interior-page #main-content .mercantile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Copper-only Stoddard discovery and restricted frontier-file experience. */
.stoddard-discovery {
  display: flex;
  min-height: 48px;
  align-items: center;
}

.stoddard-unlock-trigger {
  min-height: 48px;
  margin: 0;
  padding: 8px 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.stoddard-unlock-trigger:focus-visible,
.stoddard-unlocked-link:focus-visible {
  outline: 3px solid var(--gold-300, #e1bd73);
  outline-offset: 4px;
}

.stoddard-unlocked-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  color: #f3d89a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.stoddard-page {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  background-image:
    linear-gradient(rgb(10 7 4 / 82%), rgb(25 14 7 / 90%)),
    url("../branding/copper/copper-hero-wide.png"),
    linear-gradient(145deg, #1d130d, #51331d);
  background-position: center, center, center;
  background-size: cover;
}

.stoddard-shell {
  position: relative;
  z-index: 1;
  padding-top: clamp(28px, 7vw, 72px);
  padding-bottom: clamp(92px, 16vw, 150px);
}

.stoddard-poster {
  position: relative;
  width: min(100%, 720px);
  min-width: 0;
  margin: 0 auto;
  padding: clamp(24px, 6vw, 54px);
  overflow: hidden;
  border: 1px solid rgb(92 56 26 / 80%);
  border-radius: 5px;
  color: #2c1b0e;
  background:
    linear-gradient(105deg, rgb(96 57 23 / 9%), transparent 20% 74%, rgb(96 57 23 / 12%)),
    repeating-linear-gradient(2deg, rgb(72 40 13 / 3%) 0 1px, transparent 1px 5px),
    #dcc596;
  box-shadow: 0 24px 70px rgb(0 0 0 / 55%), inset 0 0 70px rgb(92 49 17 / 18%);
  font-family: Georgia, "Times New Roman", serif;
}

.stoddard-poster::before,
.stoddard-poster::after {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 2px solid rgb(80 45 18 / 18%);
  border-radius: 50%;
  content: "";
}

.stoddard-poster::before { top: -45px; left: -35px; }
.stoddard-poster::after { right: -35px; bottom: -45px; }

.stoddard-stamp {
  display: inline-block;
  margin: 0 0 26px;
  padding: 7px 11px 5px;
  transform: rotate(-4deg);
  border: 3px double #873a2b;
  color: #873a2b;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(.76rem, 3.5vw, .92rem);
  font-weight: 900;
  letter-spacing: .16em;
  line-height: 1;
  text-transform: uppercase;
}

.stoddard-stamp--notice,
.stoddard-stamp--assignment {
  transform: rotate(2deg);
}

.stoddard-stamp--closed {
  border-color: #31523a;
  color: #25402d;
}

.stoddard-file-id {
  margin: 0 0 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(.76rem, 3vw, .9rem);
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.stoddard-subtitle {
  margin: -8px 0 26px;
  font-size: clamp(1rem, 3.8vw, 1.16rem);
  font-style: italic;
  text-align: center;
}

.stoddard-kicker {
  clear: both;
  margin: 0 0 8px;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.stoddard-poster h1 {
  margin: 0 0 24px;
  padding-bottom: 18px;
  border-bottom: 3px double rgb(65 37 16 / 65%);
  font-size: clamp(2.1rem, 10vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .88;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.stoddard-poster h1 span {
  display: block;
  margin-bottom: .18em;
  font-size: .53em;
  letter-spacing: .04em;
}

.stoddard-status {
  display: grid;
  gap: 8px;
  margin: 0 0 24px;
}

.stoddard-status div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding-bottom: 7px;
  border-bottom: 1px dotted rgb(65 37 16 / 50%);
}

.stoddard-status dt { font-weight: 800; }
.stoddard-status dd { margin: 0; text-align: right; }

.stoddard-lore {
  margin-bottom: 28px;
  font-size: clamp(1rem, 3.7vw, 1.16rem);
  line-height: 1.65;
}

.stoddard-file-preview {
  padding: clamp(16px, 4vw, 22px);
  border: 1px dashed rgb(65 37 16 / 55%);
  background: rgb(255 248 222 / 20%);
}

.stoddard-file-preview p:last-child,
.stoddard-completion p:last-child,
.stoddard-epilogue p:last-child {
  margin-bottom: 0;
}

.stoddard-confirmation,
.stoddard-instruction,
.stoddard-completion,
.stoddard-earned {
  margin-top: 28px;
  padding: clamp(18px, 5vw, 28px);
  border: 1px solid rgb(65 37 16 / 40%);
  background: rgb(255 248 222 / 30%);
  text-align: center;
}

.stoddard-confirmation h2,
.stoddard-instruction h2,
.stoddard-completion h2 {
  margin: 0 0 14px;
  font-size: clamp(1.65rem, 7vw, 2.6rem);
}

.stoddard-confirmation h2 {
  font-size: clamp(1.35rem, 5.6vw, 2.15rem);
  line-height: 1.12;
}

.stoddard-assignment-steps {
  display: grid;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  counter-reset: stoddard-step;
  list-style: none;
}

.stoddard-assignment-steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dotted rgb(65 37 16 / 45%);
  counter-increment: stoddard-step;
  font-weight: 750;
}

.stoddard-assignment-steps li::before {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgb(65 37 16 / 60%);
  border-radius: 50%;
  content: counter(stoddard-step);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .78rem;
}

.stoddard-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.stoddard-actions form { min-width: 0; }

.stoddard-primary,
.stoddard-secondary {
  width: 100%;
  min-height: 52px;
  border: 2px solid #342012;
  border-radius: 3px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  white-space: normal;
}

.stoddard-primary { color: #f8e9c4; background: #3b2819; }
.stoddard-secondary { color: #342012; background: transparent; }

.stoddard-safety-note {
  margin-bottom: 0;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .86rem;
}

.stoddard-earned {
  display: grid;
  gap: 5px;
  color: #25402d;
}

.stoddard-completion {
  border: 3px double #31523a;
  color: #25402d;
}

.stoddard-epilogue {
  margin: 28px 0 0;
  padding: 20px 0 0;
  border-top: 1px dotted rgb(65 37 16 / 55%);
  font-size: clamp(1rem, 3.8vw, 1.15rem);
  text-align: center;
}

.stoddard-epilogue strong {
  display: block;
  margin: 8px 0;
  font-size: 1.15em;
}

.stoddard-lost-files {
  position: relative;
  width: min(100%, 720px);
  min-width: 0;
  margin: clamp(28px, 6vw, 46px) auto 0;
  padding: clamp(20px, 5vw, 38px);
  overflow: hidden;
  border: 1px solid #6d4a29;
  border-radius: 3px;
  color: #352417;
  background:
    linear-gradient(102deg, rgb(59 35 16 / 14%), transparent 19% 76%, rgb(59 35 16 / 17%)),
    repeating-linear-gradient(-2deg, rgb(60 37 17 / 5%) 0 1px, transparent 1px 5px),
    #c7ad79;
  box-shadow: 0 18px 46px rgb(0 0 0 / 34%), inset 0 0 58px rgb(76 42 14 / 20%);
  font-family: Georgia, "Times New Roman", serif;
}

.stoddard-lost-files::after {
  position: absolute;
  right: -42px;
  bottom: -48px;
  width: 120px;
  height: 120px;
  border: 3px double rgb(73 40 17 / 16%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.stoddard-lost-files__header {
  padding-bottom: 18px;
  border-bottom: 3px double rgb(65 37 16 / 55%);
  text-align: center;
}

.stoddard-lost-files__classification,
.stoddard-lost-file__family-stamp,
.stoddard-lost-file__stamp {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

.stoddard-lost-files__classification {
  display: inline-block;
  margin: 0 0 18px;
  padding: 7px 10px 5px;
  transform: rotate(-1deg);
  border: 2px solid #693b2d;
  color: #5e3027;
  font-size: clamp(.64rem, 2.6vw, .76rem);
}

.stoddard-lost-files h2 {
  margin: 0;
  font-size: clamp(2rem, 9vw, 4rem);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: .95;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.stoddard-lost-files__subtitle {
  margin: 10px 0 18px;
  font-size: clamp(1rem, 3.8vw, 1.18rem);
  font-style: italic;
}

.stoddard-lost-files__header p:last-child { margin-bottom: 0; }

.stoddard-lost-files__list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.stoddard-lost-file {
  min-width: 0;
  padding: 16px;
  border: 1px dashed rgb(57 33 15 / 48%);
  background: rgb(238 217 171 / 20%);
}

.stoddard-lost-file__heading {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stoddard-lost-file h3 {
  min-width: 0;
  margin: 0;
  font-size: clamp(1.08rem, 4.4vw, 1.38rem);
  font-weight: 900;
  letter-spacing: .035em;
  overflow-wrap: anywhere;
}

.stoddard-lost-file p { margin: 9px 0 0; }

.stoddard-lost-file__stamp {
  flex: 0 0 auto;
  padding: 5px 7px 4px;
  transform: rotate(4deg);
  border: 2px double #7e3328;
  color: #723025;
  font-size: .7rem;
}

.stoddard-lost-file--family {
  border: 3px double #5a3921;
  background: rgb(238 217 171 / 31%);
}

.stoddard-lost-file__family-stamp {
  display: inline-block;
  margin: 0 0 13px;
  padding: 6px 9px 5px;
  transform: rotate(-2deg);
  border: 2px solid #473321;
  color: #3f2b1c;
  font-size: .68rem;
}

.stoddard-lost-files__disclaimer {
  margin: 22px 0 0;
  padding-top: 15px;
  border-top: 1px dotted rgb(57 33 15 / 58%);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.stoddard-atmosphere span {
  position: absolute;
  top: 18%;
  left: -20%;
  width: 52vw;
  max-width: 520px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgb(235 211 168 / 28%), transparent);
}

.stoddard-atmosphere span:nth-child(2) { top: 43%; left: 68%; width: 35vw; }
.stoddard-atmosphere span:nth-child(3) { top: 70%; left: -8%; width: 42vw; }

@media (max-width: 575.98px) and (orientation: portrait) {
  .stoddard-page {
    background-image:
      linear-gradient(rgb(10 7 4 / 78%), rgb(25 14 7 / 92%)),
      url("../branding/copper/copper-hero-mobile.png"),
      linear-gradient(145deg, #1d130d, #51331d);
    background-position: center, center top, center;
  }

  .stoddard-status div { grid-template-columns: 1fr; gap: 2px; }
  .stoddard-status dd { text-align: left; }
  .stoddard-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .stoddard-atmosphere span { animation: stoddard-wind 12s ease-in-out infinite; }
  .stoddard-atmosphere span:nth-child(2) { animation-delay: -4s; }
  .stoddard-atmosphere span:nth-child(3) { animation-delay: -8s; }
}

@keyframes stoddard-wind {
  0%, 100% { transform: translateX(-8%) scaleX(.85); opacity: .2; }
  50% { transform: translateX(24%) scaleX(1.1); opacity: .7; }
}


/* RSVP and event dashboard */
.dashboard {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: -24px;
}

.stat-card {
  display: grid;
  min-width: 0;
  min-height: 78px;
  align-content: center;
  border: 1px solid #d9ddd7;
  border-radius: 13px;
  background: var(--paper);
  box-shadow: 0 4px 14px rgb(20 37 27 / 12%);
  text-align: center;
}

.stat-card strong { color: var(--pine-900); font-family: Georgia, "Times New Roman", serif; font-size: 1.75rem; line-height: 1; }
.stat-card span { margin-top: 5px; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }

.rsvp-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
  padding: 18px;
  border-radius: 14px;
  background: var(--pine-900);
  color: #fff;
}

.rsvp-preview h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; }
.rsvp-preview > div { min-width: 0; }
.rsvp-preview h2 { overflow-wrap: anywhere; }
.rsvp-preview p { margin: 3px 0 0; color: #dce7df; }
.rsvp-preview .section-heading__kicker { margin-bottom: 3px; color: #e8b365; }
.touch-button { min-height: 48px; padding: 11px 18px; font-weight: 750; }

.song-action-stack { display: grid; gap: 9px; margin-top: 12px; }
.song-action-stack .btn,
.song-action-stack form,
.song-action-stack form .btn { width: 100%; }
.song-confirm-form { display: grid; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #d9ddd7; }
.song-version-list { display: grid; gap: 10px; }
.song-version-card { display: grid; gap: 12px; border: 1px solid #d9d4cf; border-radius: 12px; background: #fffaf0; padding: 14px; }
.song-version-card h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.1rem; }
.song-version-card p { margin: 4px 0 0; color: var(--muted); font-size: .86rem; }

@media (min-width: 576px) {
  .song-action-stack { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
}

/* Explicit button tokens prevent Bootstrap's neutral .btn defaults from
   inheriting a page color on light and dark Camp HQ surfaces. */
.primary-button {
  --bs-btn-color: #fff;
  --bs-btn-bg: #ad4325;
  --bs-btn-border-color: #ad4325;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #9f3e22;
  --bs-btn-hover-border-color: #9f3e22;
  --bs-btn-focus-shadow-rgb: 200, 87, 50;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #82321c;
  --bs-btn-active-border-color: #82321c;
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #ad4325;
  --bs-btn-disabled-border-color: #ad4325;
}

.primary-button:focus-visible,
.admin-secondary:focus-visible,
.edit-button:focus-visible,
.delete-button:focus-visible {
  outline: 3px solid #e8b365;
  outline-offset: 2px;
}

.flash-stack { position: fixed; z-index: 20; top: 12px; right: 0; left: 0; pointer-events: none; }
.flash-message { margin: 0; border: 0; box-shadow: 0 5px 24px rgb(20 37 27 / 24%); font-weight: 700; pointer-events: auto; }

.page-header {
  padding: 28px 0 34px;
  background: linear-gradient(145deg, var(--pine-950), var(--pine-700));
  color: #fff;
}

.page-header .hero__eyebrow { margin-top: 28px; }
.page-header h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 10vw, 3.7rem); font-weight: 700; line-height: 1; }
.page-header p:last-child { max-width: 520px; margin: 13px 0 0; color: #e4ece6; }
.back-link { display: inline-flex; align-items: center; min-height: 48px; color: #fff; font-weight: 750; text-decoration: none; }
.back-link:hover, .back-link:focus-visible { color: #e8b365; }

.form-shell { padding-top: 24px; padding-bottom: 38px; }
.rsvp-form { display: grid; gap: 14px; }
.form-card, .current-rsvp {
  min-width: 0;
  padding: 19px 17px;
  border: 1px solid #d9ddd7;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 3px 0 rgb(20 37 27 / 7%);
}

.form-card legend { float: none; width: auto; margin: 0 0 13px; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 700; }
.form-label { margin-bottom: 6px; font-weight: 750; }
.form-control { min-height: 48px; border-color: #aeb8b0; background: #fff; color: var(--ink); font-size: 1rem; }
.form-control:focus { border-color: var(--pine-700); box-shadow: 0 0 0 .22rem rgb(53 89 69 / 20%); }
.form-text, .form-hint { color: var(--muted); }
.form-hint { margin: -8px 0 10px; font-size: .9rem; }

.touch-check {
  display: flex;
  align-items: center;
  min-height: 52px;
  margin-top: 7px;
  padding: 9px 12px;
  border: 1px solid #d9ddd7;
  border-radius: 11px;
  background: #fff;
}

.touch-check .form-check-input { flex: 0 0 22px; width: 22px; height: 22px; margin: 0 12px 0 0; }
.touch-check .form-check-label { flex: 1; font-weight: 700; }
.form-check-input:checked { border-color: var(--clay); background-color: var(--clay); }

.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice-pill { display: flex; align-items: center; justify-content: center; min-height: 52px; border: 1px solid #aeb8b0; border-radius: 11px; background: #fff; font-weight: 750; cursor: pointer; }
.choice-pill input { width: 20px; height: 20px; margin-right: 7px; accent-color: var(--clay); }
.choice-grid--invalid { padding: 3px; border: 2px solid #b02a37; border-radius: 13px; }
.field-error { margin-top: 7px; color: #b02a37; font-size: .875rem; }
.form-errors { padding: 14px 16px; border-left: 5px solid #b02a37; border-radius: 8px; background: #f8d7da; color: #842029; }
.submit-button { width: 100%; background: var(--clay); color: #fff; font-size: 1.08rem; }
.submit-button:hover, .submit-button:focus-visible { background: #9f3e22; color: #fff; }
.privacy-note { margin: -2px 0 0; color: var(--muted); font-size: .84rem; text-align: center; }

.current-rsvp { margin-bottom: 18px; border-color: var(--pine-700); background: var(--pine-900); color: #fff; }
.current-rsvp .section-heading__kicker { margin-bottom: 3px; color: #e8b365; }
.current-rsvp h2 { margin: 0 0 14px; font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; }
.summary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0; }
.summary-grid div { min-width: 0; }
.summary-grid__wide { grid-column: 1 / -1; }
.summary-grid dt { color: #bfcfc3; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.summary-grid dd { margin: 2px 0 0; font-weight: 700; }

@media (min-width: 576px) {
  .dashboard { gap: 12px; }
  .stat-card { min-height: 92px; }
  .stat-card strong { font-size: 2rem; }
  .form-card, .current-rsvp { padding: 24px; }
}

/* Food plan */
.food-header { padding-bottom: 28px; }
.food-add-button { margin-top: 20px; background: #e8b365; color: var(--pine-950); }
.food-add-button:hover, .food-add-button:focus-visible { background: #f2c681; color: var(--pine-950); }
.food-shell { display: grid; gap: 34px; padding-top: 26px; padding-bottom: 40px; }
.compact-heading { align-items: center; margin-bottom: 14px; }
.compact-heading h2 { font-size: 1.55rem; }

.food-headcounts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.food-headcount {
  display: grid;
  min-width: 0;
  min-height: 78px;
  align-content: center;
  border: 1px solid #d9ddd7;
  border-radius: 13px;
  background: var(--paper);
  color: var(--ink);
  text-align: center;
  text-decoration: none;
}
.food-headcount strong { color: var(--pine-900); font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; line-height: 1; }
.food-headcount span { margin-top: 5px; color: var(--muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.headcount-note { margin: 8px 0 0; color: var(--muted); font-size: .82rem; text-align: center; }

.needed-count { flex: 0 0 auto; border-radius: 999px; background: var(--pine-100); padding: 6px 10px; color: var(--pine-900); font-size: .76rem; font-weight: 800; }
.needed-groups { display: grid; gap: 14px; }
.needed-group { overflow: hidden; border: 1px solid #d9ddd7; border-radius: 14px; background: var(--paper); box-shadow: 0 3px 0 rgb(20 37 27 / 7%); }
.needed-group > h3 { margin: 0; padding: 12px 16px; background: var(--pine-900); color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.needed-list { display: grid; }
.needed-item { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: center; gap: 3px 9px; min-width: 0; padding: 13px 14px; border-bottom: 1px solid #e2e4df; }
.needed-item:last-child { border-bottom: 0; }
.needed-item__status { display: grid; width: 28px; height: 28px; place-items: center; border: 2px solid var(--clay); border-radius: 50%; color: var(--clay); font-weight: 900; }
.needed-item__copy { min-width: 0; }
.needed-item__copy h4 { margin: 0; overflow-wrap: anywhere; font-size: 1rem; font-weight: 800; }
.needed-item__copy p { margin: 2px 0 0; color: var(--muted); font-size: .82rem; }
.needed-item form { grid-column: 2; margin-top: 5px; }
.needed-item--claimed { background: #f3f7f3; }
.needed-item--claimed .needed-item__status { border-color: var(--pine-700); background: var(--pine-700); color: #fff; }
.claim-button, .unclaim-button { min-height: 48px; padding: 10px 13px; font-size: .86rem; font-weight: 800; }
.claim-button { background: var(--clay); color: #fff; }
.claim-button:hover, .claim-button:focus-visible { background: #9f3e22; color: #fff; }
.unclaim-button { border: 1px solid #9aa69d; background: transparent; color: var(--pine-900); }

.empty-card { padding: 22px 18px; border: 1px dashed #9aa69d; border-radius: 14px; background: rgb(255 253 248 / 60%); text-align: center; }
.empty-card p { margin: 5px 0 0; color: var(--muted); }
.meal-plan { min-width: 0; }
.food-day { min-width: 0; margin-top: 18px; scroll-margin-top: 16px; }
.food-day + .food-day { margin-top: 30px; }
.food-day__heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; border-bottom: 3px solid var(--pine-700); padding: 0 2px 9px; }
.food-day__heading h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; }
.food-day__heading span { flex: 0 0 auto; color: var(--muted); font-size: .78rem; font-weight: 750; }
.meal-block { min-width: 0; margin-top: 16px; }
.meal-block > h4 { margin: 0 0 8px; color: var(--clay); font-size: .79rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.meal-empty { margin: 0; border-radius: 11px; background: rgb(255 253 248 / 60%); padding: 14px; color: var(--muted); font-size: .9rem; }
.contribution-list { display: grid; gap: 9px; }
.contribution-card { min-width: 0; border: 1px solid #d9ddd7; border-radius: 12px; background: var(--paper); padding: 14px; box-shadow: 0 2px 0 rgb(20 37 27 / 6%); }
.contribution-card__topline { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.contribution-card h5 { min-width: 0; margin: 0; overflow-wrap: anywhere; font-size: 1.05rem; font-weight: 800; }
.your-item { flex: 0 0 auto; border-radius: 999px; background: var(--pine-100); padding: 3px 8px; color: var(--pine-900); font-size: .68rem; font-weight: 850; text-transform: uppercase; }
.contribution-person { margin: 3px 0 0; color: var(--muted); font-size: .88rem; font-weight: 650; }
.contribution-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.contribution-meta span { border-radius: 6px; background: #eee8da; padding: 4px 7px; color: #4a544d; font-size: .78rem; font-weight: 700; }
.contribution-notes { margin: 9px 0 0; overflow-wrap: anywhere; color: #3d4740; font-size: .88rem; }
.contribution-actions { display: flex; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #e2e4df; }
.contribution-actions form { margin: 0; }
.edit-button, .delete-button { min-height: 48px; padding: 11px 14px; font-size: .86rem; font-weight: 800; }
.edit-button {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--pine-700);
  --bs-btn-border-color: var(--pine-700);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--pine-950);
  --bs-btn-hover-border-color: var(--pine-950);
  --bs-btn-focus-shadow-rgb: 53, 89, 69;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #0d1711;
  --bs-btn-active-border-color: #0d1711;
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--pine-700);
  --bs-btn-disabled-border-color: var(--pine-700);
}
.delete-button {
  --bs-btn-color: #8b3322;
  --bs-btn-bg: #fff8f5;
  --bs-btn-border-color: #b6aaa5;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #8b3322;
  --bs-btn-hover-border-color: #8b3322;
  --bs-btn-focus-shadow-rgb: 139, 51, 34;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #682517;
  --bs-btn-active-border-color: #682517;
  --bs-btn-disabled-color: #8b3322;
  --bs-btn-disabled-bg: #fff8f5;
  --bs-btn-disabled-border-color: #b6aaa5;
}
.cancel-button { width: 100%; border: 1px solid #9aa69d; color: var(--pine-900); font-weight: 750; }
.form-select { min-height: 48px; border-color: #aeb8b0; }
.form-select:focus { border-color: var(--pine-700); box-shadow: 0 0 0 .22rem rgb(53 89 69 / 20%); }
.form-row { display: grid; gap: 14px; }

@media (min-width: 576px) {
  .food-headcounts { gap: 12px; }
  .needed-item { grid-template-columns: 32px minmax(0, 1fr) auto; }
  .needed-item form { grid-column: 3; grid-row: 1; margin-top: 0; }
  .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contribution-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Shared camp gear */
.gear-header { padding-bottom: 28px; }
.gear-shell { display: grid; gap: 34px; padding-top: 26px; padding-bottom: 40px; }
.gear-list { display: grid; gap: 10px; }
.gear-card { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; }
.gear-card__icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 11px; background: var(--pine-100); color: var(--pine-900); font-size: 1.35rem; font-weight: 900; }
.gear-card__content { min-width: 0; }
.gear-card h3 { min-width: 0; margin: 0; overflow-wrap: anywhere; font-size: 1.05rem; font-weight: 800; }

@media (min-width: 576px) {
  .gear-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Current camp information */
.info-header { padding-bottom: 30px; }
.info-shell { display: grid; gap: 30px; padding-top: 26px; padding-bottom: 42px; }
.fieldset-help { margin: -7px 0 14px; color: var(--muted); font-size: .9rem; }

.home-announcement {
  display: grid;
  gap: 13px;
  min-width: 0;
  margin-bottom: 26px;
  border-left: 6px solid #e8b365;
  border-radius: 13px;
  background: var(--pine-900);
  padding: 18px;
  color: #fff;
}
.home-announcement h2 { margin: 0; overflow-wrap: anywhere; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; }
.home-announcement p { margin: 6px 0 0; color: #e2ece5; }
.home-announcement a { display: inline-flex; align-items: center; min-height: 48px; color: #f2c681; font-weight: 800; }

.schedule-days { display: grid; gap: 30px; }
.schedule-day h2 { margin: 0 0 12px; border-bottom: 3px solid var(--pine-700); padding-bottom: 9px; font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; }
.schedule-list { display: grid; }
.schedule-card { display: grid; grid-template-columns: 22px minmax(0, 1fr); min-width: 0; }
.schedule-card__rail { position: relative; }
.schedule-card__rail::before { position: absolute; top: 0; bottom: 0; left: 9px; width: 3px; background: #bdcbbf; content: ""; }
.schedule-card:first-child .schedule-card__rail::before { top: 20px; }
.schedule-card:last-child .schedule-card__rail::before { bottom: calc(100% - 22px); }
.schedule-card__rail span { position: relative; z-index: 1; display: block; width: 15px; height: 15px; margin: 17px 0 0 3px; border: 3px solid var(--cream); border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 2px var(--clay); }
.schedule-card__content { min-width: 0; margin: 0 0 10px 5px; border: 1px solid #d9ddd7; border-radius: 13px; background: var(--paper); padding: 15px; box-shadow: 0 2px 0 rgb(20 37 27 / 6%); }
.schedule-card__heading { display: flex; align-items: start; justify-content: space-between; gap: 9px; }
.schedule-card h3 { min-width: 0; margin: 0; overflow-wrap: anywhere; font-size: 1.05rem; font-weight: 800; }
.schedule-card p { margin: 7px 0 0; overflow-wrap: anywhere; color: var(--muted); }
.schedule-time { color: var(--clay) !important; font-size: .78rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.detail-line { font-size: .86rem; font-weight: 700; }
.optional-badge { flex: 0 0 auto; border-radius: 999px; background: #f7dfbc; padding: 4px 8px; color: #71381f; font-size: .68rem; font-weight: 850; text-transform: uppercase; }

.info-callout { border-left: 5px solid #e8b365; border-radius: 10px; background: var(--paper); padding: 16px; }
.info-callout p { margin: 4px 0 0; color: var(--muted); }
.ride-list, .announcement-list, .marker-list { display: grid; gap: 11px; }
.ride-card, .announcement-card, .marker-list article, .event-info-card, .area-overview-card, .location-card, .layout-map-card {
  min-width: 0;
  border: 1px solid #d9ddd7;
  border-radius: 14px;
  background: var(--paper);
  padding: 18px;
  box-shadow: 0 3px 0 rgb(20 37 27 / 7%);
}
.ride-card__heading, .announcement-card__heading { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.ride-card h3, .announcement-card h2, .marker-list h3, .event-info-card h2, .area-overview-card h2, .location-card h2 { margin: 0; overflow-wrap: anywhere; font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; }
.ride-card__heading p { margin: 3px 0 0; color: var(--muted); font-weight: 700; }
.ride-seat-count { display: flex; align-items: center; gap: 10px; margin-top: 15px; border-radius: 10px; background: var(--pine-100); padding: 11px; color: var(--pine-900); }
.ride-seat-count strong { flex: 0 0 auto; font-family: Georgia, "Times New Roman", serif; font-size: 1.8rem; line-height: 1; }
.ride-seat-count span { font-size: .85rem; font-weight: 750; }
.ride-details { display: grid; gap: 8px; margin: 13px 0 0; }
.ride-details div { min-width: 0; }
.ride-details dt { color: var(--muted); font-size: .7rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.ride-details dd { margin: 2px 0 0; overflow-wrap: anywhere; font-weight: 700; }

.location-card { text-align: center; }
.location-card__icon { display: grid; width: 58px; height: 58px; margin: 0 auto 15px; place-items: center; border-radius: 50%; background: var(--pine-100); color: var(--pine-900); font-size: 1.7rem; }
.location-card > p:not(.section-heading__kicker) { margin: 10px 0 18px; color: var(--muted); }
.area-overview-card p, .event-info-card p { margin: 9px 0 18px; color: var(--muted); }
.info-note { border-radius: 9px; background: #eee8da; padding: 12px; }
.announcement-card--pinned { border-left: 6px solid #e8b365; }
.announcement-card p { margin: 9px 0 0; overflow-wrap: anywhere; color: #3d4740; }

.map-placeholder { position: relative; display: grid; overflow: hidden; min-height: 230px; place-items: center; align-content: center; border: 2px dashed #9aa69d; border-radius: 12px; background: #ece8dd; padding: 22px; text-align: center; }
.map-placeholder > span { color: var(--clay); font-size: 2.4rem; }
.map-placeholder h2 { margin: 8px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; }
.map-placeholder p { margin: 7px 0 0; color: var(--muted); }
.layout-marker-layer { position: absolute; inset: 14px; pointer-events: none; }
.layout-marker-point { position: absolute; display: grid; width: 34px; height: 34px; place-items: center; border: 3px solid #fff; border-radius: 50%; background: var(--clay); box-shadow: 0 2px 8px rgb(20 37 27 / 35%); color: #fff; font-size: .78rem; font-weight: 900; transform: translate(-50%, -50%); }
.layout-notes { margin: 14px 0 0; overflow-wrap: anywhere; color: var(--muted); }
.area-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 0; padding: 0; list-style: none; }
.area-list li { display: flex; min-width: 0; min-height: 52px; align-items: center; border: 1px solid #d9ddd7; border-radius: 10px; background: var(--paper); padding: 10px 12px; overflow-wrap: anywhere; font-size: .9rem; font-weight: 750; }
.area-list li::before { flex: 0 0 auto; margin-right: 8px; color: var(--clay); content: "◆"; font-size: .63rem; }
.marker-list article p { margin: 6px 0 0; color: var(--muted); }

.more-grid { display: grid; gap: 11px; }
.event-info-card { border-top: 5px solid var(--pine-700); }

@media (min-width: 576px) {
  .home-announcement { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .ride-list, .announcement-list, .marker-list, .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ride-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Guest access, administrator foundation, and My Camp */
.access-page, .admin-login-page { min-height: calc(100dvh - var(--nav-height)); background: linear-gradient(155deg, var(--pine-950), #294b38); color: #fff; }
.access-page--copper {
  background-color: var(--pine-950);
  background-image:
    linear-gradient(rgb(0 0 0 / 72%), rgb(0 0 0 / 78%)),
    url("../branding/copper/copper-hero-wide.png"),
    linear-gradient(155deg, var(--pine-950), #294b38);
  background-position: center, center, center;
  background-repeat: no-repeat;
  background-size: cover;
}
.admin-login-page { background: linear-gradient(155deg, #241d19, #5f392d); }
.access-shell { display: grid; max-width: 520px; gap: 14px; align-content: center; min-height: calc(100dvh - var(--nav-height)); padding-top: 38px; padding-bottom: 38px; }
.access-mark { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 15px; background: #e8b365; color: var(--pine-950); font-size: 1.55rem; }
.access-shell h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.35rem, 11vw, 3.8rem); line-height: 1; }
.access-intro { max-width: 440px; margin: 0 0 5px; color: #e1ebe4; font-size: 1.03rem; }
.access-form { display: grid; gap: 15px; margin-top: 8px; border-radius: 15px; background: var(--paper); padding: 19px; color: var(--ink); box-shadow: 0 12px 30px rgb(0 0 0 / 22%); }
.access-submit, .admin-submit { width: 100%; min-height: 52px; background: #e8b365; color: var(--pine-950); font-size: 1.03rem; font-weight: 850; }
.access-submit:hover, .access-submit:focus-visible { background: #f2c681; color: var(--pine-950); }
.admin-submit { background: var(--clay); color: #fff; }
.admin-submit:hover, .admin-submit:focus-visible { background: #9f3e22; color: #fff; }
.access-note { color: #cbd9cf; }
.admin-eyebrow { margin: 0 0 8px; color: #f0bd7a; font-size: .76rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }

/* Tablets retain Copper's wide access composition; phone portrait uses mobile art. */
@media (max-width: 575.98px) and (orientation: portrait) {
  .access-page--copper {
    background-image:
      linear-gradient(rgb(0 0 0 / 72%), rgb(0 0 0 / 80%)),
      url("../branding/copper/copper-hero-mobile.png"),
      linear-gradient(155deg, var(--pine-950), #294b38);
    background-position: center, center top, center;
  }
}

.admin-header { padding: 36px 0 30px; background: linear-gradient(145deg, #241d19, #6f402f); color: #fff; }
.admin-header h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.15rem, 9vw, 3.5rem); line-height: 1; }
.admin-header > div > p:last-of-type { margin: 12px 0 0; color: #f1ded5; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.admin-actions form { margin: 0; }
.admin-secondary {
  --bs-btn-color: #241d19;
  --bs-btn-bg: #f0bd7a;
  --bs-btn-border-color: #f0bd7a;
  --bs-btn-hover-color: #241d19;
  --bs-btn-hover-bg: #e8a84f;
  --bs-btn-hover-border-color: #e8a84f;
  --bs-btn-focus-shadow-rgb: 240, 189, 122;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #b96e28;
  --bs-btn-active-border-color: #b96e28;
  --bs-btn-disabled-color: #241d19;
  --bs-btn-disabled-bg: #f0bd7a;
  --bs-btn-disabled-border-color: #f0bd7a;
}
.admin-logout { border: 1px solid #dcc9c0; color: #fff; }
.admin-shell { display: grid; gap: 28px; padding-top: 26px; padding-bottom: 42px; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.admin-stat-grid article { display: grid; min-width: 0; min-height: 116px; align-content: center; border: 1px solid #d9d4cf; border-radius: 13px; background: var(--paper); padding: 15px; box-shadow: 0 3px 0 rgb(36 29 25 / 8%); }
.admin-stat-grid strong { overflow-wrap: anywhere; color: #6f402f; font-family: Georgia, "Times New Roman", serif; font-size: 1.8rem; line-height: 1; }
.admin-stat-grid span { margin-top: 7px; font-size: .78rem; font-weight: 850; text-transform: uppercase; }
.admin-stat-grid small { margin-top: 3px; color: var(--muted); }
.admin-foundation-note { border-left: 5px solid #6f402f; border-radius: 10px; background: var(--paper); padding: 17px; }
.admin-foundation-note p { margin: 4px 0 0; color: var(--muted); }

.action-card--personal { border-color: #b58a47; background: #fff8e9; }
.forget-access-card { border: 1px solid #c9c8c1; border-radius: 14px; background: transparent; padding: 18px; text-align: center; }
.forget-access-card h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; }
.forget-access-card p { margin: 7px 0 14px; color: var(--muted); }
.forget-access-button { border: 1px solid #9aa69d; color: var(--pine-900); font-weight: 800; }

.my-camp-header { padding-bottom: 32px; }
.my-camp-shell { display: grid; gap: 34px; padding-top: 26px; padding-bottom: 42px; }
.my-camp-section { min-width: 0; }
.my-camp-section__heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.my-camp-section__heading h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; }
.my-camp-section__heading a { display: inline-flex; min-height: 48px; align-items: center; color: var(--clay); font-weight: 850; }
.personal-list { display: grid; gap: 10px; }
.personal-card, .personal-empty { min-width: 0; border: 1px solid #d9ddd7; border-radius: 13px; background: var(--paper); padding: 16px; box-shadow: 0 2px 0 rgb(20 37 27 / 6%); }
.personal-card--featured { border-top: 5px solid var(--pine-700); }
.personal-card h3 { margin: 0; overflow-wrap: anywhere; font-size: 1.05rem; font-weight: 850; }
.personal-card p, .personal-empty p { margin: 5px 0 0; overflow-wrap: anywhere; color: var(--muted); }
.personal-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.personal-tags span { border-radius: 999px; background: var(--pine-100); padding: 5px 9px; color: var(--pine-900); font-size: .75rem; font-weight: 800; }
.personal-edit, .personal-add { margin-top: 13px; background: var(--pine-700); color: #fff; font-weight: 800; }
.personal-edit:hover, .personal-edit:focus-visible, .personal-add:hover, .personal-add:focus-visible { background: var(--pine-950); color: #fff; }
.personal-empty { border-style: dashed; text-align: center; }

@media (min-width: 576px) {
  .access-form { padding: 24px; }
  .admin-stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .personal-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* Administrator content management */
.admin-content-header { padding-bottom: 26px; }
.admin-content-header h1 { overflow-wrap: anywhere; }
.admin-content-shell { display: grid; gap: 20px; padding-top: 24px; padding-bottom: 42px; }
.admin-page-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.admin-page-toolbar h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; }
.admin-primary { min-height: 48px; background: #6f402f; color: #fff; font-weight: 850; }
.admin-primary:hover, .admin-primary:focus-visible { background: #43271f; color: #fff; }

.admin-manage-grid, .admin-record-list, .admin-day-list { display: grid; gap: 11px; }
.admin-manage-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  min-width: 0;
  min-height: 78px;
  align-items: center;
  gap: 12px;
  border: 1px solid #d9d4cf;
  border-radius: 14px;
  background: var(--paper);
  padding: 14px;
  box-shadow: 0 3px 0 rgb(36 29 25 / 8%);
  color: var(--ink);
  text-decoration: none;
}
.admin-manage-card:hover, .admin-manage-card:focus-visible { border-color: #6f402f; color: var(--ink); }
.admin-manage-card:focus-visible { outline: 3px solid #f0bd7a; outline-offset: 2px; }
.admin-manage-card__icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 12px; background: #eee3db; color: #6f402f; font-size: 1.25rem; font-weight: 900; }
.admin-manage-card > span:nth-child(2) { display: grid; min-width: 0; }
.admin-manage-card strong { overflow-wrap: anywhere; font-size: 1.03rem; }
.admin-manage-card small { margin-top: 2px; overflow-wrap: anywhere; color: var(--muted); font-size: .84rem; }
.admin-manage-card b { color: #6f402f; font-size: 1.6rem; }

.admin-record-card {
  min-width: 0;
  border: 1px solid #d9d4cf;
  border-radius: 14px;
  background: var(--paper);
  padding: 16px;
  box-shadow: 0 3px 0 rgb(36 29 25 / 7%);
}
.admin-record-card__heading { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.admin-record-card__heading > div { min-width: 0; }
.admin-record-card h3, .admin-record-card h4 { margin: 7px 0 0; overflow-wrap: anywhere; font-size: 1.08rem; font-weight: 850; }
.admin-record-card > p { margin: 9px 0 0; overflow-wrap: anywhere; color: #48534b; }
.admin-status-row { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-status { border-radius: 999px; background: #ece8df; padding: 4px 8px; color: #4d574f; font-size: .67rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.admin-status--accent { background: #f7dfbc; color: #71381f; }
.admin-status--open { background: #f7dfbc; color: #71381f; }
.admin-status--claimed { background: var(--pine-100); color: var(--pine-900); }
.admin-record-meta { display: grid; gap: 8px; margin: 13px 0 0; }
.admin-record-meta div { min-width: 0; }
.admin-record-meta dt { color: var(--muted); font-size: .68rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.admin-record-meta dd { margin: 2px 0 0; overflow-wrap: anywhere; font-size: .88rem; font-weight: 700; }
.admin-record-time, .admin-order { flex: 0 0 auto; color: #6f402f; font-size: .76rem; }
.admin-location, .admin-page-destination { font-size: .85rem; font-weight: 700; }
.admin-public-status { border-radius: 9px; background: #f0ece3; padding: 10px; }
.admin-record-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #e2ddd8; }
.admin-record-actions form { min-width: 0; margin: 0; }
.admin-record-actions .btn { width: 100%; }
.admin-edit { background: #6f402f; color: #fff; font-weight: 850; }
.admin-edit:hover, .admin-edit:focus-visible { background: #43271f; color: #fff; }
.admin-delete { border: 1px solid #b99689; color: #8b3322; font-weight: 850; }
.admin-delete:hover, .admin-delete:focus-visible { background: #8b3322; color: #fff; }
.admin-delete:disabled { border-color: #cbc4c0; background: #ece9e6; color: #756f6b; opacity: 1; }

.admin-day-group > h3 { margin: 10px 0 11px; border-bottom: 3px solid #6f402f; padding-bottom: 8px; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; }
.admin-info-note { border-left: 5px solid #6f402f; border-radius: 10px; background: var(--paper); padding: 15px; color: var(--muted); font-size: .9rem; }
.admin-form-card { display: grid; gap: 16px; min-width: 0; border: 1px solid #d9d4cf; border-radius: 15px; background: var(--paper); padding: 18px; box-shadow: 0 4px 0 rgb(36 29 25 / 8%); }
.admin-form-intro { margin: 0; color: var(--muted); }
.admin-form-grid { display: grid; gap: 15px; }
.admin-form-card .form-control { min-height: 48px; border-color: #aeb8b0; }
.admin-form-card textarea.form-control { min-height: 118px; }
.admin-form-card .form-control:focus { border-color: #6f402f; box-shadow: 0 0 0 .22rem rgb(111 64 47 / 18%); }
.admin-check { display: flex; min-height: 52px; align-items: center; gap: 10px; border-radius: 10px; background: #f0ece3; padding: 10px 13px; }
.admin-check .form-check-input { flex: 0 0 auto; width: 24px; height: 24px; margin: 0; }
.admin-check .form-check-label { font-weight: 750; }

@media (min-width: 576px) {
  .admin-manage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-record-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-form-card { padding: 24px; }
}

/* Camp Chat */
.action-card--chat { border-color: #55745f; background: #f0f7ef; }
.action-card--chat .action-card__icon { background: var(--pine-700); color: #fff; }
.chat-header { background: linear-gradient(145deg, var(--pine-950), #46644d); }
.chat-shell { display: grid; gap: 28px; padding-top: 24px; padding-bottom: 44px; }
.chat-feed-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.chat-feed-toolbar h2, .chat-composer h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; }
.chat-refresh { flex: 0 0 auto; border: 1px solid #819288; color: var(--pine-900); font-weight: 850; }
.chat-poll-status { margin: 8px 0 12px; color: var(--muted); font-size: .8rem; }
.chat-feed { display: grid; gap: 11px; }
.chat-message { min-width: 0; border: 1px solid #d3dad4; border-radius: 15px 15px 15px 5px; background: var(--paper); padding: 14px; box-shadow: 0 2px 0 rgb(20 37 27 / 7%); }
.chat-message--owned { margin-left: 18px; border-color: #9fb5a3; border-radius: 15px 15px 5px; background: #f2f8f1; }
.chat-message--deleted { border-style: dashed; background: #f1f0eb; box-shadow: none; }
.chat-message__heading { display: flex; min-width: 0; align-items: start; justify-content: space-between; gap: 10px; }
.chat-message__heading strong { min-width: 0; overflow-wrap: anywhere; color: var(--pine-900); font-size: .98rem; }
.chat-message__heading time { flex: 0 0 auto; color: var(--muted); font-size: .7rem; }
.chat-message__body, .admin-chat-body { margin: 9px 0 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.chat-message__removed { margin: 9px 0 0; color: var(--muted); font-style: italic; }
.chat-message__edited { display: block; margin-top: 5px; color: var(--muted); }
.chat-message__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.chat-message__actions form { margin: 0; }
.chat-action { width: 100%; min-height: 48px; border: 1px solid #8aa091; color: var(--pine-900); font-weight: 850; }
.chat-action--remove { border-color: #b99689; color: #8b3322; }
.chat-empty { border: 1px dashed #9aa69d; border-radius: 14px; background: var(--paper); padding: 20px; color: var(--muted); text-align: center; }
.chat-composer { border: 1px solid #cbd5cc; border-top: 5px solid var(--clay); border-radius: 15px; background: var(--paper); padding: 18px; box-shadow: 0 4px 0 rgb(20 37 27 / 8%); }
.chat-composer form { display: grid; gap: 16px; margin-top: 16px; }
.chat-composer .form-control { min-height: 48px; border-color: #aeb8b0; }
.chat-composer textarea.form-control { min-height: 120px; resize: vertical; }
.chat-composer .form-control:focus { border-color: var(--pine-700); box-shadow: 0 0 0 .22rem rgb(54 91 65 / 18%); }
.chat-send { width: 100%; background: var(--clay); color: #fff; font-weight: 850; }
.chat-send:hover, .chat-send:focus-visible { background: #963a20; color: #fff; }
.chat-edit-actions { display: grid; gap: 9px; }
.chat-cancel { border: 1px solid #819288; color: var(--pine-900); font-weight: 850; }
.admin-chat-list { grid-template-columns: minmax(0, 1fr); }
.admin-record-actions--single { grid-template-columns: minmax(0, 1fr); }

/* Administrator media review: image-first cards with protected previews. */
.media-review-tabs { display: grid; gap: 8px; margin: 16px 0; }
.media-review-tab { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid #b8b2a7; border-radius: 10px; padding: 10px 13px; color: #293b2f; font-weight: 850; text-decoration: none; }
.media-review-tab span { border-radius: 999px; background: #e9e3d6; padding: 3px 8px; color: #42362a; font-size: .78rem; }
.media-review-tab:hover, .media-review-tab:focus-visible, .media-review-tab.is-active { border-color: #6f402f; background: #6f402f; color: #fff; }
.media-review-tab:hover span, .media-review-tab:focus-visible span, .media-review-tab.is-active span { background: #f7dfbc; color: #71381f; }
.admin-media-review-grid { display: grid; gap: 14px; }
.admin-media-review-card { min-width: 0; overflow: hidden; border: 1px solid #d9d4cf; border-radius: 14px; background: #fffdf9; box-shadow: 0 3px 0 rgb(36 29 25 / 7%); }
.admin-media-review-card__image { position: relative; display: block; width: 100%; min-height: 48px; border: 0; padding: 0; background: #203629; color: #fff; text-align: left; }
.admin-media-review-card__image img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.admin-media-review-card__image span { position: absolute; right: 10px; bottom: 10px; border-radius: 999px; background: rgb(25 35 28 / 88%); padding: 6px 10px; color: #fff; font-size: .75rem; font-weight: 850; }
.admin-media-review-card__image:hover span, .admin-media-review-card__image:focus-visible span { background: #6f402f; }
.admin-media-review-card__image:focus-visible { outline: 3px solid var(--sun); outline-offset: -5px; }
.admin-media-review-card__placeholder { display: grid; min-height: 160px; place-items: center; background: #e5e2d9; color: #4d574f; font-weight: 900; letter-spacing: .08em; }
.admin-media-review-card__body { padding: 14px; }
.admin-media-lightbox[hidden] { display: none; }
.admin-media-lightbox { position: fixed; z-index: 1100; inset: 0; display: grid; place-items: center; padding: 12px; }
.admin-media-lightbox__backdrop { position: absolute; inset: 0; border: 0; background: rgb(12 19 14 / 82%); }
.admin-media-lightbox__dialog { position: relative; z-index: 1; display: grid; width: min(100%, 860px); max-height: calc(100vh - 24px); gap: 12px; overflow: auto; border-radius: 14px; background: #fffdf9; padding: 14px; box-shadow: 0 14px 44px rgb(0 0 0 / 40%); }
.admin-media-lightbox__header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.admin-media-lightbox__header h2 { margin: 0; overflow-wrap: anywhere; font-size: 1.08rem; font-weight: 900; }
.admin-media-lightbox__dialog img { display: block; max-width: 100%; max-height: 68vh; margin: auto; border-radius: 8px; object-fit: contain; }
@media (min-width: 576px) { .media-review-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); } .admin-media-review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (min-width: 576px) {
  .chat-shell { max-width: 720px; }
  .chat-message--owned { margin-left: 48px; }
  .chat-composer { padding: 24px; }
  .chat-edit-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* PWA and weak-connectivity support */
.connectivity-status {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: 42px;
  border-bottom: 1px solid #b77831;
  background: #fff0cf;
  padding: 10px 16px;
  color: #4d3214;
  font-size: .86rem;
  font-weight: 850;
  text-align: center;
}
.connectivity-status[hidden] { display: none; }
.is-offline button[aria-disabled="true"] { cursor: not-allowed; opacity: .62; }

.install-card { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; border: 1px solid #b9c9bd; border-radius: 14px; background: #f0f7ef; padding: 17px; }
.install-card[hidden], .pwa-install-entry[hidden], .pwa-ios-help[hidden], .install-button[hidden] { display: none; }
.install-card__icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 12px; background: var(--pine-700); color: #fff; font-size: 1.35rem; }
.install-card h2 { margin: 0; overflow-wrap: anywhere; font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; }
.install-card p:not(.section-heading__kicker) { margin: 7px 0 0; color: var(--muted); }
.install-button { margin-top: 13px; background: var(--pine-700); color: #fff; font-weight: 850; }
.install-button:hover, .install-button:focus-visible { background: var(--pine-950); color: #fff; }
.install-card--copper { border-color: #9a784e; background: #f8eedc; }
.pwa-ios-help { margin-top: 13px; }
.pwa-ios-help h3 { margin: 0; color: var(--pine-950); font-size: 1rem; }
.pwa-ios-help ol { margin: 8px 0 0; padding-left: 1.35rem; color: var(--muted); }
.pwa-ios-help li + li { margin-top: 5px; }

.offline-page { display: grid; min-height: 100svh; place-items: center; padding: 24px; background: linear-gradient(145deg, var(--pine-950), var(--pine-700)); }
.offline-card { width: min(100%, 520px); border-radius: 18px; background: var(--paper); padding: 26px; box-shadow: 0 18px 46px rgb(0 0 0 / 28%); }
.offline-card__mark { display: grid; width: 56px; height: 56px; margin-bottom: 18px; place-items: center; border-radius: 14px; background: var(--pine-100); color: var(--pine-900); font-size: 1.55rem; }
.offline-card h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 11vw, 3.8rem); line-height: 1; }
.offline-card p { overflow-wrap: anywhere; }
.offline-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 16px 0; }
.offline-links a { display: grid; min-height: 48px; place-items: center; border: 1px solid #9caf9f; border-radius: 10px; padding: 8px; color: var(--pine-900); font-weight: 800; text-align: center; }
.offline-links a:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.offline-card .touch-button { width: 100%; margin-top: 10px; }

/* Camp Music / Song Studio */
.music-request-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 6px 14px;
}
.music-request-card__title { min-width: 0; overflow-wrap: anywhere; }
.music-request-card__status {
  color: var(--muted);
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.25;
}

@media (max-width: 575.98px) {
  .music-request-card { grid-template-columns: minmax(0, 1fr); }
}

.admin-card-list { display: grid; gap: 12px; min-width: 0; }
.admin-music-card { grid-template-columns: 48px minmax(0, 1fr) auto; align-items: start; }
.admin-music-card__content { display: grid; min-width: 0; gap: 3px; padding-top: 2px; }
.admin-music-card__content strong,
.admin-music-card__content small { min-width: 0; overflow-wrap: normal; word-break: normal; }
.admin-music-card__content small { line-height: 1.4; }
.admin-music-card__content small b { color: #6f402f; }
.admin-music-card__action { color: #6f402f; font-weight: 800; }
.admin-music-card__arrow { align-self: center; }
.admin-music-studio-shell { display: grid; gap: 18px; padding-top: 26px; padding-bottom: 42px; }
.admin-studio-form { display: grid; gap: 18px; min-width: 0; }
.admin-studio-card { min-width: 0; border: 1px solid #d9d4cf; border-radius: 14px; background: var(--paper); padding: 18px; box-shadow: 0 3px 0 rgb(36 29 25 / 8%); }
.admin-studio-card__heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.admin-studio-card h2 { margin: 0 0 16px; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; }
.admin-studio-card h3 { margin: 0 0 5px; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.admin-studio-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 18px; }
.admin-studio-facts div { min-width: 0; }
.admin-studio-facts dt { color: var(--muted); font-size: .72rem; font-weight: 850; text-transform: uppercase; }
.admin-studio-facts dd { margin: 2px 0 0; overflow-wrap: anywhere; font-weight: 750; }
.admin-studio-story { border-top: 1px solid #e4ded8; padding-top: 13px; }
.admin-studio-story + .admin-studio-story { margin-top: 15px; }
.admin-studio-story p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: #48534b; }
.admin-studio-card .form-section + .form-section { margin-top: 15px; }
.admin-studio-card textarea.form-control { min-height: 110px; }

@media (min-width: 768px) {
  .admin-music-studio-shell { max-width: 860px; margin: 0 auto; }
  .admin-studio-form { grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr); align-items: start; }
  .admin-studio-form > .admin-studio-card:first-child { grid-row: span 1; }
}
.admin-prepare-card { border-left: 5px solid #6f402f; }
.admin-blueprint-card { border-top: 5px solid #6f402f; }
.admin-blueprint-card .admin-studio-story p { color: var(--ink); }
.admin-workflow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 12px; border: 1px solid #d9d4cf; border-radius: 14px; background: var(--paper); }
.admin-workflow__step { display: grid; gap: 4px; min-width: 0; color: var(--muted); font-size: .72rem; text-align: center; }
.admin-workflow__step span { width: 28px; height: 28px; margin: 0 auto; display: grid; place-items: center; border-radius: 50%; background: #ece8df; font-weight: 900; }
.admin-workflow__step strong { overflow-wrap: anywhere; font-size: .72rem; }
.admin-workflow__step.is-complete { color: #6f402f; }
.admin-workflow__step.is-complete span { background: #6f402f; color: #fff; }
.admin-warning { margin: 12px 0; border-left: 4px solid #b87928; border-radius: 8px; background: #fff4d7; padding: 12px; color: #60451d; }
.admin-warning ul { margin: 6px 0 0; padding-left: 20px; }

/* Shared Camp Songs library: public actions stay full-width and readable on phones. */
.camp-songs-library { border-top: 5px solid var(--clay); }
.camp-songs-library .song-version-card { background: #fffaf0; }
.camp-songs-library .song-action-stack { margin-top: 0; }
.song-ready-card audio { margin: 12px 0; }

.admin-workflow-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border: 1px solid #b77831; border-radius: 12px; background: #fff4d7; padding: 12px 14px; color: #60451d; }
.admin-workflow-status span { font-size: .76rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.admin-workflow-status strong { border-radius: 999px; background: #71381f; padding: 5px 10px; color: #fff; font-size: .82rem; }
.admin-workflow-status small { width: 100%; font-weight: 700; }


.camp-song-library-list { display: grid; gap: 12px; }
.camp-song-library-card { border: 1px solid #d8c4a4; border-radius: 14px; background: #fffaf0; padding: 15px; box-shadow: 0 1px 0 rgba(75, 45, 20, .08); }
.camp-song-library-card__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.camp-song-library-card h3 { margin: 0; color: #3d281c; font-size: 1.08rem; overflow-wrap: anywhere; }
.camp-song-library-card p { margin: 5px 0 0; color: #654b38; font-size: .9rem; }
.song-library-actions, .song-detail-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.song-library-actions .btn, .song-detail-actions .btn { flex: 1 1 130px; }
.song-heart-button { min-height: 48px; min-width: 62px; border: 1px solid #a85230; border-radius: 999px; background: #fff4ed; color: #8f321e; padding: 8px 12px; font-weight: 850; font-size: 1rem; line-height: 1; }
.song-heart-button:hover, .song-heart-button:focus-visible { background: #a85230; color: #fff; outline: 3px solid #f0b35a; outline-offset: 2px; }
.song-heart-button:active { background: #71381f; color: #fff; }
.song-heart-button--large { min-width: 92px; font-size: 1.15rem; }
.camp-song-lyrics pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: #3d281c; font: inherit; line-height: 1.55; }
@media (max-width: 340px) { .song-library-actions .btn, .song-detail-actions .btn { flex-basis: 100%; } }

.camp-coming-card h2 { overflow-wrap: anywhere; word-break: normal; }
.camp-coming-card p { overflow-wrap: anywhere; }

.camp-game-card, .camp-game-card * { overflow-wrap: anywhere; }

.game-bracket-card { display: grid; gap: 12px; }
.game-match-card { border: 1px solid var(--sand-300); border-radius: 12px; padding: 14px; background: var(--surface); }
.game-match-card, .game-match-card * { overflow-wrap: anywhere; }
.game-match-card h3 { font-size: 1.05rem; }
.game-round-label { margin: 4px 0 0; color: var(--pine-800); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .05em; }
.game-score-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.status-badge { font-weight: 700; color: var(--pine-700) !important; }
.game-champion { margin: 4px 0 0; font-weight: 800; font-size: 1.1rem; color: var(--pine-800); }

.activities-shell .primary-button { width: auto; }
.activity-card { border-top: 1px solid var(--sand-300); padding: 14px 0; overflow-wrap: anywhere; }
.activity-card:first-of-type { border-top: 0; }
.activity-card h3 { font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; overflow-wrap: anywhere; }
.activity-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.activity-actions form { margin: 0; }

.camp-spots-section { margin-top: 28px; }
.camp-spot-area { margin: 20px 0; }
.camp-spot-area > h3 { color: var(--pine-800); font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; }
.camp-spot-list { display: grid; gap: 12px; }
.camp-spot-card { border: 1px solid var(--sand-300); border-left: 5px solid var(--pine-700); border-radius: 12px; padding: 15px; background: var(--surface); overflow-wrap: anywhere; }
.camp-spot-card--yours { border-left-color: var(--sunset-500); background: var(--sand-100); }
.camp-spot-card h4 { font-family: Georgia, "Times New Roman", serif; font-size: 1.28rem; margin: 0 0 8px; overflow-wrap: anywhere; }
.camp-spot-card p { margin: 7px 0; overflow-wrap: anywhere; }
.camp-spot-status { font-weight: 800; color: var(--pine-700); }

/* Live camp schedule */
.live-schedule, .home-live-summary { display: grid; gap: 12px; }
.home-live-summary { padding-top: 20px; }
.live-schedule__now, .live-schedule__next, .live-schedule__later { min-width: 0; border: 1px solid #d9ddd7; border-radius: 14px; padding: 17px; box-shadow: 0 3px 0 rgb(20 37 27 / 7%); }
.live-schedule__now { background: var(--pine-900); border-color: var(--pine-900); color: #fff; }
.live-schedule__now p, .live-schedule__now a { color: #f2e7d1; }
.live-schedule__next { background: #fff4df; border-left: 6px solid #e8b365; }
.copper-home .live-schedule__next h2 { color: #2b1b12; }
.copper-home .live-schedule__next > p:not(.section-heading__kicker) { color: #5b4030; }
.live-schedule__later { background: var(--paper); }
.live-schedule h2, .home-live-summary h2 { margin: 3px 0; overflow-wrap: anywhere; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; }
.live-schedule p, .home-live-summary p { margin: 5px 0; overflow-wrap: anywhere; }
.live-schedule a, .home-live-summary a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 800; }

/* Camp Layout V2: high-contrast markers over forest imagery */
.layout-image-wrap { position: relative; overflow: hidden; border-radius: 12px; background: #15231a; }
.layout-image { display: block; width: 100%; height: auto; max-height: 70vh; object-fit: contain; }
.layout-image-wrap .layout-marker-layer { inset: 0; pointer-events: none; }
.layout-marker { position: absolute; display: grid; width: 46px; height: 46px; place-items: center; color: #111; font-size: .48rem; font-weight: 900; line-height: 1; transform: translate(-50%, -50%); }
.layout-marker__dot { display: grid; width: 14px; height: 14px; place-items: center; border: 2px solid #111; border-radius: 50%; background: #ffcf4d; box-shadow: 0 0 0 1px #fff, 0 1px 4px rgb(0 0 0 / 85%); }
.layout-marker__icon { width: 10px; height: 10px; fill: none; stroke: #111; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.25; }
.layout-marker__label { display: none; }
.layout-marker-icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.layout-marker--fire_pit .layout-marker__dot { background: #ff7043; }
.layout-marker--starlink_access .layout-marker__dot { background: #55d8ff; }
.layout-marker--speaker_area .layout-marker__dot { background: #d29cff; }
.layout-marker { min-width: 46px; min-height: 46px; border: 0; background: transparent; padding: 0; cursor: pointer; pointer-events: auto; }
.layout-marker--yours .layout-marker__dot { box-shadow: 0 0 0 1px #fff, 0 0 0 3px #f2c681, 0 1px 4px rgb(0 0 0 / 85%); }
.layout-marker:focus-visible { outline: 3px solid #fff; outline-offset: 0; border-radius: 50%; }
.layout-legend { display: grid; gap: 8px; }
.layout-legend h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; }
.layout-legend__items { display: flex; flex-wrap: wrap; gap: 8px; }
.layout-legend__item { display: inline-flex; align-items: center; gap: 5px; border: 1px solid #536057; border-radius: 999px; background: var(--paper); padding: 6px 9px; font-size: .78rem; font-weight: 800; }
.layout-placement { margin: 16px 0; }
.layout-placement__map { position: relative; overflow: hidden; border: 3px solid var(--pine-900); border-radius: 10px; cursor: crosshair; }
.layout-placement__map img { display: block; width: 100%; height: auto; }
.layout-placement__preview { position: absolute; display: grid; width: 46px; height: 46px; place-items: center; transform: translate(-50%, -50%); pointer-events: none; }
.layout-placement__preview .layout-marker__dot { pointer-events: none; }
.layout-marker-form .invalid-feedback { display: block; }

/* Admin Control Center */
.admin-control-center { display: grid; gap: 24px; }
.admin-control-section { min-width: 0; }
.admin-control-grid { display: grid; gap: 12px; }
.admin-control-card { min-width: 0; border: 1px solid #d9d4cf; border-radius: 14px; background: #fffdf9; padding: 16px; box-shadow: 0 3px 0 rgb(36 29 25 / 7%); }
.admin-control-card--attention { border-color: #c9873d; background: #fff7e8; }
.admin-control-card strong { display: block; color: #71381f; font-family: Georgia, "Times New Roman", serif; font-size: 2rem; line-height: 1; }
.admin-control-card h3 { margin: 7px 0 0; font-size: 1.1rem; font-weight: 900; }
.admin-control-card p { margin: 5px 0 14px; color: #48534b; font-weight: 650; }
.admin-control-card .btn { width: 100%; }
.admin-control-empty { border: 1px dashed #a7b7a9; border-radius: 14px; background: #f5faf4; padding: 18px; color: var(--pine-900); }
.admin-control-empty p { margin: 5px 0 0; color: #48534b; }
.admin-control-stats article { min-height: 112px; }
.admin-recent-list { grid-template-columns: minmax(0, 1fr); }
.admin-recent-list .admin-record-card__heading { align-items: center; }
.admin-recent-list .btn { flex: 0 0 auto; }
@media (min-width: 576px) { .admin-control-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
