:root {
  --ink: #233022;
  --muted: #5d6b58;
  --paper: #f4ecd8;
  --panel: #ffffff;
  --line: #d7c49d;
  --leaf: #2f4a2d;
  --leaf-dark: #1c2f1b;
  --sun: #d6672f;
  --sky: #eadfc8;
  --warm: #efe4cd;
  --shadow: 0 16px 34px rgba(30, 37, 28, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.dark-mode {
  --ink: #f4f8f6;
  --muted: #d0dbd5;
  --paper: #0a0f0d;
  --panel: #17201b;
  --line: #44574e;
  --leaf: #58b38d;
  --leaf-dark: #0b110e;
  --sky: #1f2e38;
  --warm: #101814;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 12px clamp(18px, 5vw, 64px);
  background: rgba(244, 236, 216, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, box-shadow 0.2s ease, backdrop-filter 0.2s ease;
}

.site-header.scrolled {
  background: rgba(244, 236, 216, 0.97);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 26px rgba(24, 33, 29, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  width: clamp(210px, 24vw, 360px);
  min-width: 210px;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 100%;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: nowrap;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
}

.main-nav a {
  padding: 10px 12px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 999px;
  font-weight: 750;
}

.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff8e8, #f1e3c5);
  box-shadow: 0 6px 14px rgba(36, 47, 33, 0.16);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.mobile-nav-toggle:hover,
.mobile-nav-toggle:focus {
  transform: translateY(-1px);
  border-color: #9c7b4d;
  box-shadow: 0 8px 18px rgba(36, 47, 33, 0.22);
  outline: none;
}

.mobile-nav-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #314331;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.18s ease, stroke 0.18s ease;
}

.mobile-nav-toggle svg circle {
  fill: #d6672f;
  stroke: none;
}

.mobile-nav-toggle.is-open svg {
  transform: rotate(90deg);
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav a[aria-current="page"] {
  color: var(--ink);
  background: #e6dbc2;
}

body.dark-mode .main-nav a:hover,
body.dark-mode .main-nav a:focus,
body.dark-mode .main-nav a[aria-current="page"] {
  color: #f4f8f6;
  background: #2b3c34;
}

.theme-switch-wrap {
  margin-left: 8px;
}

.mfa-header-indicator {
  margin-left: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.mfa-header-indicator.on {
  background: rgba(47, 134, 88, 0.14);
  border-color: rgba(47, 134, 88, 0.42);
  color: #1d6a43;
}

.mfa-header-indicator.off {
  background: rgba(166, 90, 49, 0.14);
  border-color: rgba(166, 90, 49, 0.42);
  color: #8f3f2d;
}

.member-card-badges {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.status-pill.mfa-pill-on {
  background: rgba(47, 134, 88, 0.14);
  border: 1px solid rgba(47, 134, 88, 0.42);
  color: #1d6a43;
}

.status-pill.mfa-pill-off {
  background: rgba(166, 90, 49, 0.14);
  border: 1px solid rgba(166, 90, 49, 0.42);
  color: #8f3f2d;
}

body.dark-mode .mfa-header-indicator.on {
  background: rgba(88, 179, 141, 0.2);
  border-color: rgba(88, 179, 141, 0.5);
  color: #bde7d3;
}

body.dark-mode .mfa-header-indicator.off {
  background: rgba(235, 138, 104, 0.2);
  border-color: rgba(235, 138, 104, 0.5);
  color: #ffc0ad;
}

body.dark-mode .status-pill.mfa-pill-on {
  background: rgba(88, 179, 141, 0.2);
  border-color: rgba(88, 179, 141, 0.5);
  color: #bde7d3;
}

body.dark-mode .status-pill.mfa-pill-off {
  background: rgba(235, 138, 104, 0.2);
  border-color: rgba(235, 138, 104, 0.5);
  color: #ffc0ad;
}

.theme-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 72px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  cursor: pointer;
}

.theme-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.theme-switch .switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
}

.theme-switch .icon-sun,
.theme-switch .icon-moon {
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  border-radius: 999px;
}

.theme-switch .icon-sun {
  border: 2px solid #c78e2b;
}

.theme-switch .icon-moon {
  border: 2px solid #5b6f8b;
}

body.dark-mode .theme-switch .switch-thumb {
  transform: translateX(34px);
  background: #dce8ff;
}

.home-hero {
  min-height: calc(100svh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: stretch;
  background: var(--leaf-dark);
}

.home-hero > img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  transition: opacity 0.18s ease;
}

[data-photo-single][data-managed-photo-loading="true"] {
  opacity: 0;
}

.home-hero-copy {
  display: grid;
  align-content: center;
  padding: clamp(34px, 6vw, 86px);
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.home-hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.home-hero p:not(.eyebrow),
.page-hero p:not(.eyebrow) {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.62;
}

.hero-actions,
.form-footer,
.dashboard-head,
.toolbar,
.invoice-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--sun);
}

.button.primary:hover,
.button.primary:focus {
  background: #bf5526;
}

.button.secondary {
  color: var(--ink);
  background: #fff8e8;
  border-color: var(--line);
}

.button.secondary:hover,
.button.secondary:focus {
  background: #f6ecd8;
}

.button.danger {
  color: #fff;
  background: #9a4335;
}

.button.danger:hover,
.button.danger:focus {
  background: #7f3429;
}

.password-field-wrap {
  position: relative;
  display: block;
}

.password-field-wrap input[type="password"],
.password-field-wrap input[type="text"] {
  padding-right: 46px;
}

.password-toggle-icon {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.password-toggle-icon:hover,
.password-toggle-icon:focus {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.05);
  outline: none;
}

.password-toggle-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.password-toggle-icon[data-visible="true"] .eye-slash {
  display: none;
}

.password-toggle-icon[data-visible="false"] .eye-slash {
  display: block;
}

.page-hero {
  padding: clamp(58px, 10vw, 122px) clamp(18px, 6vw, 80px);
  color: #fff;
  background:
    linear-gradient(135deg, #2f4a2d, #20351f 60%, #6a452b),
    repeating-linear-gradient(
      -30deg,
      rgba(255, 255, 255, 0.03) 0,
      rgba(255, 255, 255, 0.03) 16px,
      rgba(0, 0, 0, 0.06) 16px,
      rgba(0, 0, 0, 0.06) 32px
    );
}

.section {
  padding: clamp(48px, 8vw, 92px) clamp(18px, 6vw, 80px);
}

.intro,
.notes-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.intro h2,
.notes-section h2,
.committee-panel h2,
.dashboard h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.intro > p,
.committee-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.68;
}

.quick-facts,
.home-links,
.facility-grid,
.contact-grid,
.booking-paths,
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.google-reviews-section {
  display: grid;
  gap: 18px;
  background: var(--paper);
}

.reviews-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.reviews-heading h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.reviews-summary {
  display: grid;
}

.reviews-score-card {
  display: inline-grid;
  width: max-content;
  max-width: 100%;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.reviews-score-card strong {
  font-size: 1.35rem;
}

.reviews-score-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.google-review-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.review-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.review-card-head img {
  width: 42px;
  height: 42px;
  border-radius: 999px;
}

.review-card-head strong {
  display: block;
}

.review-card-head span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.review-stars {
  color: #d6672f;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.google-review-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.quick-facts {
  padding-top: 0;
}

.quick-facts article,
.home-links a,
.facility-grid article,
.contact-grid article,
.booking-paths article,
.stat,
.booking-card,
.committee-panel,
.booking-form,
.invoice-preview,
.calendar-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.quick-facts article,
.home-links a,
.facility-grid article,
.contact-grid article,
.booking-paths article,
.stat,
.calendar-card {
  padding: 22px;
}

.home-links {
  background: var(--warm);
}

.home-links a {
  display: grid;
  gap: 10px;
  text-decoration: none;
}

.home-links a:hover,
.home-links a:focus {
  border-color: #6c834f;
  transform: translateY(-2px);
}

.facility-grid article {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.facility-grid article:hover,
.facility-grid article:focus-within {
  transform: translateY(-4px);
  border-color: #9c6f43;
  box-shadow: 0 22px 36px rgba(30, 37, 28, 0.2);
}

.quick-facts span,
.home-links span,
.contact-grid span,
.booking-paths span,
.stat span,
.calendar-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.quick-facts strong,
.home-links strong,
.contact-grid strong,
.stat strong {
  display: block;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1.2;
}

.booking-paths {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-bottom: 0;
}

.booking-paths article {
  display: grid;
  align-content: start;
  gap: 12px;
}

.booking-paths h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.05;
}

.booking-paths p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.booking-paths .button {
  width: max-content;
  margin-top: 8px;
}

.hipcamp-button {
  display: inline-flex;
  width: max-content;
  margin-top: 8px;
  border-radius: 8px;
}

.hipcamp-button img {
  display: block;
  width: 200px;
  height: 65px;
}

.quick-facts p,
.facility-grid p,
.contact-grid p,
.booking-card p,
.calendar-card p {
  color: var(--muted);
  line-height: 1.58;
}

.facility-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.facility-grid h2 {
  margin: 14px 0 8px;
  font-size: 1.35rem;
}

.icon {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--sky);
}

.icon::before,
.icon::after {
  position: absolute;
  content: "";
  border-radius: 3px;
  background: var(--leaf-dark);
}

.icon::before {
  inset: 11px 10px;
}

.icon::after {
  width: 18px;
  height: 4px;
  left: 12px;
  top: 8px;
  transform: rotate(35deg);
}

.notes-section {
  background: var(--warm);
}

.note-list {
  display: grid;
  gap: 12px;
}

.note-list p {
  margin: 0;
  padding: 16px 18px;
  color: var(--muted);
  line-height: 1.55;
  background: #fff;
  border: 1px solid #d9c8ac;
  border-radius: 8px;
}

.note-list strong {
  color: var(--ink);
}

.booking-section {
  background: var(--warm);
}

.booking-form,
.login-form {
  display: grid;
  gap: 18px;
}

.booking-form {
  max-width: 1020px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 34px);
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-row:has(label:nth-child(3)) {
  grid-template-columns: 1fr 1fr 0.6fr;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cbd4cd;
  border-radius: 8px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(39, 98, 77, 0.16);
}

.form-footer {
  justify-content: space-between;
}

#bookingEstimate {
  margin: 0;
  color: var(--leaf-dark);
  font-weight: 900;
}

body.dark-mode #bookingEstimate {
  color: #9ce9ca;
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--leaf-dark);
  font-weight: 850;
}

.committee-section {
  background: var(--warm);
}

.committee-panel,
.dashboard {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(20px, 4vw, 38px);
  align-items: start;
  padding: clamp(16px, 3vw, 24px);
}

.login-form {
  align-content: start;
}

.hidden {
  display: none;
}

.ui-prompt-dialog .hidden {
  display: none !important;
}

.dashboard {
  grid-template-columns: 1fr;
}

.committee-home-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dashboard-section {
  display: grid;
  gap: 16px;
}

.committee-summary-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.committee-summary-cards article {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.camera-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.camera-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.camera-card h3,
.camera-card p {
  margin: 0;
}

.camera-card p {
  color: var(--muted);
}

.camera-preview-placeholder {
  display: grid;
  min-height: 180px;
  place-items: center;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--warm);
  font-weight: 900;
  text-align: center;
}

.plain-list {
  margin: 8px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.6;
}

.feedback-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.feedback-photo-grid a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--warm);
}

.feedback-photo-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.committee-summary-cards h3,
.committee-inline-section h3 {
  margin: 0;
  font-size: 1.25rem;
}

.committee-summary-cards p,
.committee-inline-section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.committee-inline-section {
  display: grid;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.property-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.pricing-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: #fff;
}

.table-scroll {
  max-width: 100%;
  overflow-x: auto;
}

.pricing-table th,
.pricing-table td {
  padding: 10px;
  border: 1px solid var(--line);
  text-align: left;
}

.pricing-table th {
  color: #fff;
  background: var(--leaf-dark);
  font-size: 0.84rem;
  text-transform: uppercase;
}

.members-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.members-form button {
  width: max-content;
}

.feature-description-field {
  grid-column: 1 / -1;
}

.feature-description-field textarea {
  min-height: 140px;
}

.feature-description-existing {
  grid-column: 1 / -1;
}

.feature-description-existing textarea {
  min-height: 120px;
}

.photo-upload-form {
  align-items: end;
  grid-template-columns: minmax(0, 1.2fr) minmax(160px, 0.7fr) minmax(160px, 0.7fr) minmax(110px, 0.35fr) minmax(190px, 0.65fr);
  gap: 10px;
}

.photo-upload-field {
  grid-column: 1;
}

.photo-drop-zone {
  display: grid;
  gap: 4px;
  min-height: 76px;
  margin-top: 6px;
  padding: 12px;
  place-items: center;
  text-align: center;
  color: var(--muted);
  background: var(--warm);
  border: 2px dashed #b99d70;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.photo-drop-zone strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.photo-drop-zone span {
  font-size: 0.82rem;
}

.photo-drop-zone.drag-over,
.photo-drop-zone:focus {
  outline: none;
  border-color: var(--leaf);
  background: #f0e4cf;
  transform: translateY(-1px);
}

.photo-file-input {
  display: none;
}

.photo-upload-message {
  grid-column: 1 / -1;
  min-height: 20px;
}

.photo-bulk-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0;
}

.photo-bulk-actions .button {
  min-height: 38px;
  padding: 8px 12px;
}

.members-list {
  display: grid;
  gap: 12px;
}

.member-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.member-card-head,
.member-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.member-card h4,
.member-card p {
  margin: 0;
}

.copy-field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.member-card p {
  color: var(--muted);
}

.notification-admin-section {
  gap: 18px;
}

.notification-admin-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  gap: 16px;
  align-items: end;
}

.notification-admin-intro h3,
.notification-card h4 {
  margin: 0;
}

.notification-admin-intro p {
  margin: 0;
}

.notification-admin-grid,
.notification-settings-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.notification-settings-form {
  grid-column: 1 / -1;
}

.notification-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf0;
}

.notification-card > div:first-child {
  display: grid;
  gap: 4px;
}

.notification-card span {
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notification-card p {
  margin: 0;
  color: var(--muted);
}

.notification-card .members-form,
.notification-card label {
  min-width: 0;
}

.notification-settings-form.members-form,
.notification-card .members-form {
  gap: 12px;
}

.switch-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
  font-weight: 800;
}

.switch-line input {
  width: auto;
  min-width: 18px;
}

.notification-save-bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7eddc;
}

.notification-save-bar .form-message {
  flex: 1 1 260px;
  min-height: 0;
  margin: 0;
}

.member-edit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.photo-admin-card {
  grid-template-columns: 120px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
}

.photo-admin-card > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.photo-admin-card .member-card-actions {
  grid-column: auto;
  align-self: stretch;
  flex-direction: column;
  justify-content: center;
  min-width: 118px;
}

.photo-admin-card .member-card-actions .button {
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
}

.photo-edit-grid {
  grid-template-columns: minmax(120px, 0.55fr) minmax(160px, 1fr) minmax(160px, 1fr) minmax(160px, 0.85fr) minmax(90px, 0.45fr);
  gap: 8px;
}

.photo-select-row {
  align-self: end;
  padding: 0;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 0;
  font-weight: 800;
}

.checkbox-row input {
  width: auto;
  min-height: auto;
}

.invoice-preview {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.invoice-preview h3 {
  margin: 0 0 8px;
}

.invoice-preview p {
  margin: 8px 0;
}

.invoice-view-section {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.invoice-dialog {
  width: min(980px, calc(100% - 28px));
  max-height: min(90vh, 1100px);
  padding: clamp(18px, 4vw, 30px);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(24, 33, 29, 0.28);
}

.invoice-dialog::backdrop {
  background: rgba(24, 33, 29, 0.5);
}

.mfa-login-dialog {
  width: min(520px, calc(100% - 28px));
}

.dialog-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mfa-qr-wrap {
  display: grid;
  place-items: center;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: fit-content;
}

.mfa-qr-wrap.hidden {
  display: none;
}

.mfa-qr-wrap img {
  width: 220px;
  height: 220px;
  display: block;
}

.mfa-manual-wrap {
  display: grid;
  gap: 10px;
  width: min(520px, 100%);
}

.ui-prompt-dialog {
  width: min(560px, calc(100% - 28px));
}

.ui-prompt-message {
  margin: 10px 0 8px;
  color: var(--muted);
  line-height: 1.5;
}

.ui-prompt-dialog label {
  display: grid;
  gap: 8px;
  margin: 8px 0 0;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(24, 33, 29, 0.56);
}

.modal-overlay.hidden {
  display: none !important;
}

.modal-open {
  overflow: hidden;
}

.modal-panel {
  width: min(560px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: clamp(18px, 4vw, 30px);
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(24, 33, 29, 0.28);
}

.construction-notice-overlay {
  z-index: 90;
  animation: constructionNoticeFade 0.22s ease;
}

.construction-notice-panel {
  width: min(620px, 100%);
  text-align: center;
  animation: constructionNoticeRise 0.28s ease;
}

.construction-notice-tape {
  height: 14px;
  margin: -6px -6px 16px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(
      -45deg,
      #d6672f 0 16px,
      #f0c96b 16px 32px
    );
  background-size: 200% 100%;
  box-shadow: inset 0 0 0 1px rgba(24, 33, 29, 0.08);
  animation: constructionTapeSlide 6s linear infinite;
}

.construction-notice-badge {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 8px;
  place-content: center;
  margin: 2px auto 14px;
  animation: constructionBadgeFloat 2.6s ease-in-out infinite;
}

.construction-notice-badge span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d6672f;
  box-shadow: 0 0 0 0 rgba(214, 103, 47, 0.35);
  animation: constructionPulse 1.6s ease-in-out infinite;
}

.construction-notice-badge span:nth-child(2) {
  animation-delay: 0.2s;
}

.construction-notice-badge span:nth-child(3) {
  animation-delay: 0.4s;
}

.construction-notice-contact {
  display: grid;
  gap: 10px;
  margin: 18px 0 20px;
}

.construction-notice-contact a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 10px 14px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  background: rgba(244, 236, 216, 0.7);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.construction-notice-progress {
  position: relative;
  height: 8px;
  margin: 4px 0 20px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(24, 33, 29, 0.08);
}

.construction-notice-progress span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d6672f, #f0c96b);
  animation: constructionProgressSweep 2.8s ease-in-out infinite;
}

@keyframes constructionPulse {
  0%, 100% {
    transform: scale(0.92);
    box-shadow: 0 0 0 0 rgba(214, 103, 47, 0.35);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 0 10px rgba(214, 103, 47, 0);
  }
}

@keyframes constructionNoticeFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes constructionNoticeRise {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes constructionTapeSlide {
  from { background-position: 0 0; }
  to { background-position: 200% 0; }
}

@keyframes constructionBadgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes constructionProgressSweep {
  0% {
    transform: translateX(-120%);
  }
  50% {
    transform: translateX(115%);
  }
  100% {
    transform: translateX(240%);
  }
}

.invoice-view-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.invoice-view-head h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.04;
}

.invoice-paper {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(22px, 5vw, 54px);
  color: #232323;
  background: #fff;
  border: 1px solid #d9ded7;
  box-shadow: 0 14px 34px rgba(24, 33, 29, 0.12);
}

.invoice-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.65fr);
  gap: 34px;
  align-items: start;
}

.invoice-topline img {
  width: min(320px, 100%);
  height: auto;
  margin-bottom: 18px;
}

.invoice-topline p,
.invoice-detail-grid p,
.invoice-footer-notes p {
  color: #4c5651;
  line-height: 1.55;
}

.invoice-title-block {
  text-align: right;
}

.invoice-title-block h3 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.9;
}

.invoice-title-block dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.invoice-title-block div,
.invoice-totals div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.invoice-title-block dt,
.invoice-totals span,
.invoice-detail-grid span {
  color: #6a746f;
  font-size: 0.84rem;
  font-weight: 850;
  text-transform: uppercase;
}

.invoice-title-block dd {
  margin: 0;
  font-weight: 800;
}

.balance-band {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  margin: 26px 0;
  padding: 16px 18px;
  color: #fff;
  background: var(--leaf-dark);
}

.balance-band span {
  text-transform: uppercase;
}

.balance-band strong {
  font-size: 1.25rem;
}

.invoice-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.invoice-detail-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 1.12rem;
}

.invoice-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
}

.invoice-table th {
  padding: 12px 10px;
  color: #fff;
  background: #2b2b2b;
  text-align: left;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.invoice-table td {
  padding: 14px 10px;
  border-bottom: 1px solid #e1e5e2;
  vertical-align: top;
}

.invoice-table th:first-child,
.invoice-table td:first-child {
  width: 48px;
  text-align: center;
}

.invoice-table th:nth-child(3),
.invoice-table td:nth-child(3),
.invoice-table th:nth-child(4),
.invoice-table td:nth-child(4),
.invoice-table th:nth-child(5),
.invoice-table td:nth-child(5) {
  width: 72px;
  text-align: center;
}

.invoice-table th:nth-child(6),
.invoice-table td:nth-child(6) {
  width: 110px;
  text-align: right;
}

.invoice-table th:last-child,
.invoice-table td:last-child {
  width: 120px;
  text-align: right;
}

.invoice-table td span {
  display: block;
  margin-top: 4px;
  color: #6a746f;
}

.invoice-totals {
  display: grid;
  gap: 8px;
  width: min(300px, 100%);
  margin-left: auto;
  padding: 8px 0 22px;
}

.invoice-totals div:last-child {
  padding-top: 10px;
  border-top: 2px solid #2b2b2b;
}

.invoice-footer-notes {
  padding-top: 18px;
  border-top: 1px solid #e1e5e2;
}

.dashboard-head,
.toolbar {
  justify-content: space-between;
}

.dashboard-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.committee-home-overview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: stretch;
}

.dashboard-stats-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.dashboard-stats-compact .stat {
  padding: 11px 12px;
  border-radius: 9px;
}

.dashboard-stats-compact .stat span {
  font-size: 0.66rem;
}

.dashboard-stats-compact .stat strong {
  font-size: 1.28rem;
}

.dashboard-stats-compact .stat p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.25;
}

.stat-link {
  text-decoration: none;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.stat-link:hover,
.stat-link:focus-visible {
  transform: translateY(-1px);
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(18, 34, 28, 0.08);
}

.committee-summary-cards-condensed {
  gap: 10px;
}

.committee-summary-cards-condensed article {
  gap: 6px;
  padding: 12px 13px;
  border-radius: 10px;
}

.committee-summary-cards-condensed h3 {
  font-size: 0.94rem;
}

.committee-summary-cards-condensed p {
  font-size: 0.84rem;
  line-height: 1.32;
}

.committee-home-card-primary .button,
.committee-home-card-secondary .button,
.committee-home-utility-card .button {
  width: 100%;
  justify-content: center;
}

.committee-home-actions-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.committee-home-action-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  flex-wrap: wrap;
}

.committee-home-action-inline span {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--ink);
}

.committee-home-action-inline label {
  margin: 0;
}

.committee-home-action-inline select {
  min-width: 96px;
}

.committee-home-action-inline .button {
  margin-left: auto;
}

.committee-home-actions-message {
  margin-top: 8px;
  font-size: 0.84rem;
}

.committee-key-register-section {
  display: grid;
  gap: 8px;
}

.committee-key-register-head {
  align-items: start;
  gap: 8px;
}

.committee-key-register-head p {
  margin: 0;
}

.key-register-form,
.key-register-grid {
  display: grid;
  gap: 10px;
}

.key-register-form {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.key-register-summary {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.key-register-card {
  gap: 8px;
}

.key-register-card .member-card-actions {
  margin-top: 2px;
}

.committee-key-register-section .config-panel summary {
  margin-bottom: 10px;
}

.status-pill.status-pill-at-camp {
  background: rgba(47, 134, 88, 0.14);
  border: 1px solid rgba(47, 134, 88, 0.42);
  color: #1d6a43;
}

.status-pill.status-pill-issued {
  background: rgba(181, 125, 39, 0.16);
  border: 1px solid rgba(181, 125, 39, 0.42);
  color: #8c5b15;
}

.status-pill.status-pill-spare {
  background: rgba(38, 101, 150, 0.14);
  border: 1px solid rgba(38, 101, 150, 0.42);
  color: #1d557d;
}

.status-pill.status-pill-missing {
  background: rgba(166, 90, 49, 0.14);
  border: 1px solid rgba(166, 90, 49, 0.42);
  color: #8f3f2d;
}

.committee-page .page-hero {
  padding: clamp(34px, 7vw, 56px) clamp(18px, 6vw, 62px);
}

.committee-page .page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  max-width: 680px;
}

.committee-page .page-hero p:not(.eyebrow) {
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  line-height: 1.5;
  max-width: 560px;
}

.committee-page .dashboard-head {
  gap: 10px;
  margin-bottom: 2px;
}

.committee-page .dashboard-head .eyebrow {
  margin-bottom: 4px;
}

.committee-page .dashboard-head h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.committee-page .dashboard-head .button {
  padding: 10px 14px;
}

.committee-page .committee-role-badge {
  margin-top: 8px;
  padding: 5px 9px;
  font-size: 0.72rem;
}

.toolbar {
  padding: 16px;
  background: #f4ead4;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.toolbar label {
  min-width: 220px;
}

.toolbar #manualBookingMessage {
  margin: 0;
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.booking-list {
  display: grid;
  gap: 14px;
}

.booking-card {
  display: grid;
  gap: 20px;
  padding: 20px;
}

.booking-card-body {
  display: grid;
  gap: 20px;
}

.booking-card-collapsed .booking-card-body {
  display: none;
}

.booking-paid-button {
  display: none;
}

.booking-card-collapsed .booking-paid-button {
  display: inline-flex;
}

.booking-card-paid.booking-card-collapsed {
  background: linear-gradient(90deg, rgba(92, 143, 89, 0.22), var(--panel) 58%);
  border-color: rgba(61, 122, 72, 0.58);
}

.booking-card-paid.booking-card-collapsed .invoice-pill {
  color: #173b22;
  background: #b9d5a9;
}

.booking-card-overdue.booking-card-collapsed {
  border-color: rgba(154, 67, 53, 0.72);
  animation: overdueBookingPulse 2.8s ease-in-out infinite;
}

.booking-card-overdue.booking-card-collapsed .invoice-pill {
  color: #fff;
  background: #9a4335;
}

.booking-card-clash {
  border-color: rgba(174, 77, 44, 0.72);
}

.booking-card-clash.booking-card-collapsed {
  background: linear-gradient(90deg, rgba(207, 116, 47, 0.18), var(--panel) 58%);
}

.clash-pill {
  color: #fff;
  background: #ae4d2c;
}

.booking-warning {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(174, 77, 44, 0.38);
  border-radius: 8px;
  color: #5a2d17;
  background: #fff0de;
}

.booking-warning strong {
  font-weight: 950;
}

.booking-warning span {
  color: #6b4128;
  line-height: 1.45;
}

@keyframes overdueBookingPulse {
  0%,
  100% {
    background: linear-gradient(90deg, rgba(154, 67, 53, 0.12), var(--panel) 58%);
    box-shadow: var(--shadow);
  }
  50% {
    background: linear-gradient(90deg, rgba(154, 67, 53, 0.26), var(--panel) 58%);
    box-shadow: 0 0 0 3px rgba(154, 67, 53, 0.18), var(--shadow);
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-card-overdue.booking-card-collapsed {
    animation: none;
    background: linear-gradient(90deg, rgba(154, 67, 53, 0.2), var(--panel) 58%);
  }
}

.booking-card-locked {
  border-color: #8b9a92;
}

.booking-card-locked .booking-edit-grid,
.booking-card-locked .booking-email-panel {
  opacity: 0.72;
}

.booking-card-locked [data-action] {
  cursor: not-allowed;
}

.booking-card-head,
.booking-card-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.booking-card h3 {
  margin: 0 0 10px;
  font-size: 1.28rem;
}

.booking-card-head p {
  margin: 0;
  color: var(--muted);
}

.booking-edit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.booking-edit-grid textarea {
  min-height: 86px;
}

.booking-edit-grid .invoice-notes-field {
  grid-column: 1 / -1;
}

.booking-edit-grid .invoice-notes-field textarea {
  min-height: 150px;
}

.toast-message {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1000;
  max-width: min(360px, calc(100vw - 44px));
  padding: 14px 18px;
  color: #fff;
  background: #2d5b45;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
  font-weight: 900;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast-message-hiding {
  opacity: 0;
  transform: translateY(8px);
}

.feedback-photo-upload {
  display: grid;
  gap: 16px;
  padding: 18px;
  background: rgba(45, 91, 69, 0.08);
  border: 1px dashed #9b7a43;
  border-radius: 8px;
}

.feedback-photo-upload h2,
.feedback-photo-upload p {
  margin: 0;
}

.feedback-photo-upload input[type="file"] {
  min-height: auto;
  padding: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

body.dark-mode .feedback-photo-upload {
  background: rgba(244, 246, 239, 0.06);
  border-color: #8d7a59;
}

body.dark-mode .feedback-photo-upload input[type="file"] {
  color: #f4f8f6;
  background: rgba(255, 255, 255, 0.06);
}

.feedback-question-form,
.feedback-question-grid {
  display: grid;
  gap: 18px;
}

.feedback-question-group {
  display: grid;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.feedback-question-group:first-child {
  padding-top: 0;
  border-top: 0;
}

.feedback-question-group h4 {
  margin: 0;
  font-size: 1rem;
}

.feedback-question-grid-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feedback-question-grid-inner label {
  display: grid;
  gap: 8px;
}

body.dark-mode .feedback-question-group {
  border-top-color: #40534a;
}

@media (max-width: 760px) {
  .feedback-question-grid-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

.booking-email-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
  background: #f6f3ea;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.booking-email-head,
.booking-email-grid,
.booking-template-grid {
  display: grid;
  gap: 14px;
}

.booking-email-head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.booking-email-head h4 {
  margin: 4px 0 0;
  font-size: 1.22rem;
}

.email-timing-note {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.email-status-summary {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.email-status-summary p {
  margin: 0;
}

.email-status-summary strong {
  color: var(--ink);
}

.instruction-schedule-card {
  display: grid;
  grid-template-columns: minmax(180px, 320px) minmax(0, 1fr);
  gap: 14px;
  align-items: end;
  padding: 14px;
  background: #fff8e8;
  border: 2px solid #d99a35;
  border-radius: 8px;
}

.instruction-schedule-card label {
  font-weight: 900;
}

.instruction-schedule-card input {
  border-color: #d99a35;
  box-shadow: 0 0 0 3px rgba(217, 154, 53, 0.14);
}

.instruction-schedule-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.booking-email-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.booking-template-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-template-grid textarea {
  min-height: 220px;
}

.email-actions {
  justify-content: flex-start;
}

.status-pill {
  display: inline-flex;
  width: max-content;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #2d452e;
  background: #d7e0c8;
  font-size: 0.82rem;
  font-weight: 900;
}

.committee-role-badge {
  display: inline-flex;
  width: max-content;
  margin-top: 10px;
  padding: 6px 11px;
  border: 1px solid #c6d6ca;
  border-radius: 999px;
  color: #1f4a37;
  background: #e4f0e8;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.invoice-pill {
  color: #56391f;
  background: #edd4a8;
}

.private-calendar-section {
  background: var(--warm);
}

.private-notice,
.private-calendar {
  max-width: 1180px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(20px, 4vw, 34px);
}

.private-notice h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.04;
}

.private-notice p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
}

.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.calendar-toolbar h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.calendar-feed-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.calendar-feed-row label {
  margin: 0;
}

.calendar-admin-stack,
.calendar-feed-panel {
  margin-top: 16px;
}

.calendar-admin-stack {
  display: grid;
  gap: 12px;
}

.calendar-admin-stack .committee-inline-section,
.calendar-feed-panel .committee-inline-section {
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.icon-button-small {
  min-height: 44px;
  padding: 10px 14px;
}

.legend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.legend::before {
  width: 12px;
  height: 12px;
  content: "";
  border-radius: 999px;
  background: var(--leaf);
}

.legend.pending::before {
  background: #d99a3d;
}

.legend.past::before {
  background: #7b8580;
}

.legend.cancelled::before {
  background: #a5423d;
}

.legend.blocked::before {
  background: #304f77;
}

.legend.hipcamp::before {
  background: #7a4f2a;
}

.month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: #fff;
}

.weekday,
.month-day {
  min-width: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.weekday {
  padding: 10px;
  color: var(--muted);
  background: #efe4d1;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.month-day {
  min-height: 142px;
  padding: 10px;
  background: #fff;
}

.month-day.empty {
  background: var(--warm);
  border-right-color: var(--warm);
  border-bottom-color: var(--warm);
}

.day-number {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 900;
}

.mobile-day-label,
.mobile-calendar-empty {
  display: none;
}

.no-booking {
  color: #9aa49f;
  font-size: 0.82rem;
}

.booking-chip {
  display: grid;
  gap: 2px;
  width: 100%;
  margin-bottom: 6px;
  padding: 7px 8px;
  color: #fff;
  background: var(--leaf);
  border: 0;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.booking-chip strong,
.booking-chip span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking-chip strong {
  font-size: 0.84rem;
}

.booking-chip:hover,
.booking-chip:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.04);
  outline: 2px solid rgba(255, 255, 255, 0.3);
  outline-offset: 1px;
}

.booking-chip span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 800;
}

.booking-chip-detail {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.68rem;
  line-height: 1.35;
  white-space: normal;
  word-break: break-word;
}

.booking-chip.pending {
  background: #d99a3d;
}

.booking-chip.past {
  background: #7b8580;
}

.booking-chip.cancelled {
  background: #a5423d;
}

.booking-chip.blocked {
  background: #304f77;
}

.booking-chip.hipcamp {
  background: #7a4f2a;
}

.calendar-event-dialog {
  width: min(620px, calc(100% - 28px));
}

.calendar-event-details {
  display: grid;
  gap: 12px;
}

.calendar-event-row,
.calendar-event-block {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.calendar-event-row span,
.calendar-event-block span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.calendar-event-row strong,
.calendar-event-block p {
  margin: 0;
  color: var(--ink);
  line-height: 1.45;
}

.config-panel {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8f1e4;
}

.config-panel summary {
  cursor: pointer;
  font-weight: 850;
  margin-bottom: 12px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 26px clamp(18px, 6vw, 80px);
  color: #fff;
  background:
    radial-gradient(circle at 12% 35%, rgba(77, 135, 224, 0.18) 0, rgba(77, 135, 224, 0) 24%),
    radial-gradient(circle at 20% 65%, rgba(77, 135, 224, 0.14) 0, rgba(77, 135, 224, 0) 20%),
    linear-gradient(180deg, #193328, #10231b);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer > div {
  display: grid;
  gap: 6px;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.78);
}

.footer-social {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social span {
  font-size: 0.86rem;
  font-weight: 850;
  text-transform: uppercase;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 13px;
  color: #fff;
  text-decoration: none;
  font-weight: 850;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-social a:hover,
.footer-social a:focus {
  color: #10231b;
  background: #d6672f;
  border-color: #d6672f;
}

.camp-gallery-section {
  display: grid;
  gap: 18px;
  background: var(--warm);
}

.image-band {
  width: 100%;
  margin: 0;
}

.image-band img {
  display: block;
  width: 100%;
  height: clamp(220px, 36vw, 420px);
  object-fit: cover;
}

.conditions-widget {
  display: grid;
  gap: 16px;
  background: var(--warm);
}

.conditions-widget h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.conditions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.conditions-grid article {
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.conditions-grid span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.conditions-grid strong {
  display: block;
  margin: 8px 0;
  font-size: 1.2rem;
}

.condition-source-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.84rem;
}

.inline-help-text {
  margin: -2px 0 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.weather-forecast-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.weather-day {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 0;
  padding: 10px 6px;
  background: rgba(24, 61, 49, 0.06);
  border: 1px solid rgba(24, 61, 49, 0.08);
  border-radius: 8px;
  text-align: center;
}

.weather-day-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.weather-day-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.weather-day-temps {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ink);
}

.camp-gallery-section h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.camp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.camp-gallery-grid figure {
  display: grid;
  gap: 8px;
  margin: 0;
}

.camp-gallery-grid img {
  width: 100%;
  height: clamp(180px, 30vw, 260px);
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.camp-gallery-grid figcaption {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 750;
}

body.dark-mode .site-header {
  background: rgba(13, 19, 16, 0.96);
}

body.dark-mode .site-header.scrolled {
  background: rgba(11, 17, 14, 0.98);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

body.dark-mode .home-hero {
  background: #0f1814;
}

body.dark-mode .home-links,
body.dark-mode .notes-section,
body.dark-mode .booking-section,
body.dark-mode .google-reviews-section,
body.dark-mode .committee-section,
body.dark-mode .private-calendar-section {
  background: #0f1713;
}

body.dark-mode .page-hero {
  background: linear-gradient(135deg, #16251d, #0f1713 62%, #2d261d);
}

body.dark-mode .site-footer {
  background:
    radial-gradient(circle at 12% 35%, rgba(95, 149, 230, 0.2) 0, rgba(95, 149, 230, 0) 24%),
    radial-gradient(circle at 20% 65%, rgba(95, 149, 230, 0.16) 0, rgba(95, 149, 230, 0) 20%),
    linear-gradient(180deg, #0f1b16, #070d0a);
}

body.dark-mode .quick-facts article,
body.dark-mode .home-links a,
body.dark-mode .facility-grid article,
body.dark-mode .contact-grid article,
body.dark-mode .booking-paths article,
body.dark-mode .reviews-score-card,
body.dark-mode .google-review-card,
body.dark-mode .stat,
body.dark-mode .booking-card,
body.dark-mode .committee-panel,
body.dark-mode .booking-form,
body.dark-mode .calendar-card,
body.dark-mode .committee-inline-section,
body.dark-mode .private-notice,
body.dark-mode .private-calendar,
body.dark-mode .invoice-view-section,
body.dark-mode .toolbar,
body.dark-mode .booking-email-panel,
body.dark-mode .config-panel,
body.dark-mode .month-day {
  background: #18221d;
}

body.dark-mode .conditions-grid article {
  background: #1b2721;
  border-color: #495e53;
}

body.dark-mode .weather-day {
  background: #223028;
  border-color: #495e53;
}

body.dark-mode .weather-day-temps {
  color: #f5efe2;
}

body.dark-mode .committee-summary-cards article {
  background: #1d2822;
  border: 1px solid #4b6156;
}

body.dark-mode .camera-card {
  background: #18221d;
  border-color: #4b6156;
}

body.dark-mode .camera-card p,
body.dark-mode .plain-list {
  color: #d0dbd5;
}

body.dark-mode .camera-preview-placeholder {
  color: #d0dbd5;
  background: #101713;
  border-color: #4b6156;
}

body.dark-mode .feedback-photo-grid a {
  background: #101713;
  border-color: #4b6156;
}

body.dark-mode .dashboard {
  gap: 20px;
}

body.dark-mode .dashboard-head {
  padding-bottom: 10px;
  border-bottom: 1px solid #3d5047;
}

body.dark-mode .dashboard-head h2 {
  color: #f4f8f6;
}

body.dark-mode .committee-home-action-inline {
  background: #1b2721;
  border-color: #495e53;
}

body.dark-mode .committee-home-action-inline span {
  color: #f4f8f6;
}

body.dark-mode .status-pill.status-pill-at-camp {
  background: rgba(88, 179, 141, 0.2);
  border-color: rgba(88, 179, 141, 0.5);
  color: #bde7d3;
}

body.dark-mode .status-pill.status-pill-issued {
  background: rgba(235, 194, 104, 0.2);
  border-color: rgba(235, 194, 104, 0.5);
  color: #f1b08a;
}

body.dark-mode .status-pill.status-pill-spare {
  background: rgba(112, 176, 226, 0.2);
  border-color: rgba(112, 176, 226, 0.5);
  color: #b9ddf9;
}

body.dark-mode .status-pill.status-pill-missing {
  background: rgba(235, 138, 104, 0.2);
  border-color: rgba(235, 138, 104, 0.5);
  color: #ffc0ad;
}

body.dark-mode .main-nav a {
  color: #dce7e1;
}

body.dark-mode .mobile-nav-toggle {
  border-color: #3d5248;
  background: linear-gradient(180deg, #1c2a24, #141f1a);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.34);
}

body.dark-mode .mobile-nav-toggle svg {
  stroke: #dce7e1;
}

body.dark-mode .eyebrow {
  color: #e06b34;
}

body.dark-mode .home-hero p:not(.eyebrow),
body.dark-mode .page-hero p:not(.eyebrow) {
  color: rgba(244, 248, 246, 0.9);
}

body.dark-mode .quick-facts strong,
body.dark-mode .home-links strong,
body.dark-mode .contact-grid strong,
body.dark-mode .stat strong,
body.dark-mode .booking-card h3,
body.dark-mode .committee-inline-section h3,
body.dark-mode .committee-summary-cards h3 {
  color: #f4f8f6;
}

body.dark-mode .quick-facts p,
body.dark-mode .facility-grid p,
body.dark-mode .contact-grid p,
body.dark-mode .reviews-score-card p,
body.dark-mode .google-review-card p,
body.dark-mode .review-card-head span,
body.dark-mode .booking-card p,
body.dark-mode .calendar-card p,
body.dark-mode .note-list p,
body.dark-mode .committee-inline-section p,
body.dark-mode .committee-summary-cards p {
  color: #d0dbd5;
}

body.dark-mode .committee-summary-cards .button {
  font-weight: 900;
}

body.dark-mode .committee-summary-cards .button.primary {
  color: #f4f8f6;
  background: #2f6b4f;
  border-color: #4f8a6c;
}

body.dark-mode .committee-summary-cards .button.primary:hover,
body.dark-mode .committee-summary-cards .button.primary:focus {
  background: #397d5d;
}

body.dark-mode .committee-summary-cards {
  gap: 18px;
}

body.dark-mode .committee-summary-cards article {
  gap: 10px;
  padding: 17px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

body.dark-mode .committee-summary-cards p {
  line-height: 1.58;
}

body.dark-mode .committee-inline-section,
body.dark-mode .booking-card,
body.dark-mode .member-card,
body.dark-mode .toolbar,
body.dark-mode .private-notice,
body.dark-mode .private-calendar,
body.dark-mode .invoice-view-section {
  border-color: #4b6156;
}

body.dark-mode .form-message,
body.dark-mode label,
body.dark-mode .email-timing-note,
body.dark-mode .no-booking,
body.dark-mode .invoice-table td span {
  color: #d0dbd5;
}

body.dark-mode .note-list p,
body.dark-mode .member-card,
body.dark-mode .member-card p,
body.dark-mode .email-status-summary {
  color: #dce7e1;
  background: #1a241f;
  border-color: #40534a;
}

body.dark-mode .notification-card,
body.dark-mode .notification-save-bar {
  color: #dce7e1;
  background: #1a241f;
  border-color: #40534a;
}

body.dark-mode .notification-card h4,
body.dark-mode .notification-admin-intro h3 {
  color: #f4f8f6;
}

body.dark-mode .notification-card p,
body.dark-mode .notification-admin-intro p {
  color: #d0dbd5;
}

body.dark-mode .notification-card span {
  color: #e06b34;
}

body.dark-mode .switch-line {
  color: #f4f8f6;
  background: #101713;
  border-color: #40534a;
}

body.dark-mode .instruction-schedule-card {
  color: #f5faf6;
  background: #271a13;
  border-color: #d6672f;
}

body.dark-mode .instruction-schedule-card input {
  color: #f5faf6;
  background: #101713;
  border-color: #d6672f;
}

body.dark-mode .instruction-schedule-card p {
  color: #f1c0a4;
}

body.dark-mode .photo-drop-zone {
  color: #d0dbd5;
  background: #101713;
  border-color: #4b6156;
}

body.dark-mode .photo-drop-zone strong {
  color: #f5faf6;
}

body.dark-mode .photo-drop-zone.drag-over,
body.dark-mode .photo-drop-zone:focus {
  background: #17271f;
  border-color: #4f8a6c;
}

body.dark-mode .camp-gallery-grid figcaption {
  color: #d0dbd5;
}

body.dark-mode .month-day.empty {
  background: var(--warm);
  border-right-color: var(--warm);
  border-bottom-color: var(--warm);
}

body.dark-mode .mobile-calendar-empty {
  color: #d0dbd5;
  background: #18221d;
  border-color: #495e53;
}

body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
  color: var(--ink);
  background: #101713;
  border-color: #3a4d43;
}

body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
  color: #a7b5ae;
}

body.dark-mode .weekday {
  color: #dbe6e0;
  background: #223029;
}

body.dark-mode .button.secondary {
  color: var(--ink);
  background: #13201a;
  border-color: #3a4d43;
}

body.dark-mode .button.secondary:hover,
body.dark-mode .button.secondary:focus {
  background: #1e2c25;
}

body.dark-mode .pricing-table {
  background: #121914;
}

body.dark-mode .pricing-table th {
  background: #24372f;
}

body.dark-mode .pricing-table td {
  color: #e2ebe6;
}

body.dark-mode .committee-home-links .button.secondary {
  color: #eff5f2;
  background: #1b2721;
  border-color: #4a5f54;
}

body.dark-mode .committee-home-links .button.secondary:hover,
body.dark-mode .committee-home-links .button.secondary:focus {
  background: #2a3a32;
}

body.dark-mode .committee-home-links .button.primary,
body.dark-mode .committee-summary-cards .button.primary {
  color: #f4f8f6;
  background: #2f6b4f;
  border-color: #4f8a6c;
}

body.dark-mode .committee-home-links .button.primary:hover,
body.dark-mode .committee-home-links .button.primary:focus,
body.dark-mode .committee-summary-cards .button.primary:hover,
body.dark-mode .committee-summary-cards .button.primary:focus {
  background: #397d5d;
}

body.dark-mode .dashboard-stats .stat {
  border-color: #4a5f54;
}

body.dark-mode .dashboard-stats .stat span {
  color: #d3dfd8;
}

body.dark-mode .dashboard-stats .stat strong {
  color: #f4f8f6;
}

body.dark-mode .dashboard-stats-compact .stat {
  background: #1d2822;
}

body.dark-mode .dashboard-stats-compact .stat p {
  color: #c8d5ce;
}

body.dark-mode .stat-link:hover,
body.dark-mode .stat-link:focus-visible {
  border-color: #79c8a5;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

body.dark-mode .status-pill {
  color: #f4f8f6;
  background: #2f6b4f;
  border: 1px solid #4f8a6c;
}

body.dark-mode .committee-role-badge {
  border-color: #4f665b;
  color: #dff4ea;
  background: #1c3328;
}

body.dark-mode .invoice-pill {
  color: #fff8f2;
  background: #b9552a;
}

body.dark-mode .booking-card-paid.booking-card-collapsed {
  background: linear-gradient(90deg, rgba(88, 179, 141, 0.22), #18221d 62%);
  border-color: rgba(88, 179, 141, 0.62);
}

body.dark-mode .booking-card-paid.booking-card-collapsed .invoice-pill {
  color: #f4f8f6;
  background: #2f6b4f;
}

body.dark-mode .booking-card-overdue.booking-card-collapsed {
  border-color: rgba(235, 138, 104, 0.72);
}

body.dark-mode .booking-card-overdue.booking-card-collapsed .invoice-pill {
  color: #1b0805;
  background: #ffb29c;
}

body.dark-mode .booking-card-clash {
  border-color: rgba(255, 178, 103, 0.72);
}

body.dark-mode .booking-card-clash.booking-card-collapsed {
  background: linear-gradient(90deg, rgba(255, 178, 103, 0.16), #18221d 62%);
}

body.dark-mode .clash-pill {
  color: #fff8f2;
  background: #d6672f;
}

body.dark-mode .booking-warning {
  color: #ffe1c3;
  background: #2b1d13;
  border-color: #8e5d35;
}

body.dark-mode .booking-warning span {
  color: #f2c69e;
}

body.dark-mode #manualBookingDialog {
  color: #e8f1ec;
  background: #16201b;
  border: 1px solid #42554b;
}

body.dark-mode #manualBookingDialog .invoice-view-head {
  padding-bottom: 10px;
  border-bottom: 1px solid #3b4d43;
}

body.dark-mode #manualBookingDialog .invoice-view-head h2,
body.dark-mode #manualBookingDialog .invoice-view-head p {
  color: #e8f1ec;
}

body.dark-mode #manualBookingDialog label {
  color: #dce7e1;
  font-weight: 800;
}

body.dark-mode #manualBookingDialog input,
body.dark-mode #manualBookingDialog select,
body.dark-mode #manualBookingDialog textarea {
  color: #eef6f1;
  background: #0f1713;
  border-color: #495e53;
}

body.dark-mode #manualBookingDialog input::placeholder,
body.dark-mode #manualBookingDialog textarea::placeholder {
  color: #a7b5ae;
}

body.dark-mode .button.primary {
  color: #fff8f2;
  background: #d6672f;
  border-color: #e37a45;
}

body.dark-mode .button.primary:hover,
body.dark-mode .button.primary:focus {
  color: #fff8f2;
  background: #e5753d;
  border-color: #ef8a55;
}

body.dark-mode.committee-page .button.primary {
  color: #f4f8f6;
  background: #2f6b4f;
  border-color: #4f8a6c;
}

body.dark-mode.committee-page .button.primary:hover,
body.dark-mode.committee-page .button.primary:focus {
  color: #f4f8f6;
  background: #397d5d;
  border-color: #5c9a79;
}

body.dark-mode .button.danger {
  color: #fff8f2;
  background: #b95546;
  border-color: #dc806d;
}

body.dark-mode .button.danger:hover,
body.dark-mode .button.danger:focus {
  background: #c96858;
}

body.dark-mode .password-toggle-icon {
  color: #d0dbd5;
}

body.dark-mode .password-toggle-icon:hover,
body.dark-mode .password-toggle-icon:focus {
  color: #f4f8f6;
  background: rgba(255, 255, 255, 0.08);
}

body.dark-mode .theme-switch {
  background: #101713;
  border-color: #4b6156;
}

body.dark-mode .ui-prompt-dialog,
body.dark-mode .invoice-dialog,
body.dark-mode .mfa-login-dialog {
  color: #f4f8f6;
  background: #16201b;
  border: 1px solid #4b6156;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.62);
}

body.dark-mode .ui-prompt-dialog::backdrop,
body.dark-mode .invoice-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

body.dark-mode .modal-overlay {
  background: rgba(0, 0, 0, 0.7);
}

body.dark-mode .modal-panel {
  color: #f4f8f6;
  background: #16201b;
  border-color: #4b6156;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.62);
}

body.dark-mode .construction-notice-contact a {
  color: #f4f8f6;
  background: #101914;
  border-color: #42554b;
}

body.dark-mode .construction-notice-progress {
  background: rgba(255, 255, 255, 0.08);
}

body.dark-mode .ui-prompt-message,
body.dark-mode .modal-panel p,
body.dark-mode .invoice-view-head p,
body.dark-mode .helper-text,
body.dark-mode .inline-help-text,
body.dark-mode .condition-source-note {
  color: #d0dbd5;
}

body.dark-mode .modal-panel h2,
body.dark-mode .invoice-view-head h2,
body.dark-mode .feedback-question-group h4,
body.dark-mode .conditions-widget h2,
body.dark-mode .camp-gallery-section h2 {
  color: #f4f8f6;
}

body.dark-mode .mfa-qr-wrap {
  background: #f8faf7;
  border-color: #7e9288;
}

body.dark-mode .booking-email-panel {
  color: #f4f8f6;
  background: #151f1a;
  border-color: #4b6156;
}

body.dark-mode .email-status-summary {
  color: #dce7e1;
  background: #101713;
  border-color: #4b6156;
}

body.dark-mode .email-status-summary strong,
body.dark-mode .booking-email-head h4 {
  color: #f4f8f6;
}

body.dark-mode .booking-card-head p,
body.dark-mode .property-list,
body.dark-mode .legend {
  color: #d0dbd5;
}

body.dark-mode .month-grid {
  background: #4b6156;
  border-color: #4b6156;
}

body.dark-mode .month-day {
  color: #f4f8f6;
  background: #16201b;
  border-color: #4b6156;
}

body.dark-mode .day-number {
  color: #f4f8f6;
}

body.dark-mode .booking-chip {
  color: #f6fbf8;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

body.dark-mode .booking-chip span {
  color: rgba(246, 251, 248, 0.9);
}

body.dark-mode .booking-chip-detail {
  color: rgba(246, 251, 248, 0.92);
}

body.dark-mode .booking-chip.pending {
  color: #fff8f2;
  background: #d6672f;
  border-color: #e37a45;
}

body.dark-mode .booking-chip.pending span {
  color: rgba(255, 248, 242, 0.9);
}

body.dark-mode .booking-chip.past {
  color: #f4f8f6;
  background: #56635e;
}

body.dark-mode .booking-chip.blocked {
  background: #3f6798;
}

body.dark-mode .booking-chip.hipcamp {
  background: #965f30;
}

body.dark-mode .calendar-event-row,
body.dark-mode .calendar-event-block {
  background: #101914;
  border-color: #42554b;
}

body.dark-mode .calendar-event-row strong,
body.dark-mode .calendar-event-block p {
  color: #f4f8f6;
}

body.dark-mode .config-panel summary {
  color: #f4f8f6;
}

body.dark-mode .camp-gallery-section,
body.dark-mode .conditions-widget {
  background: #0f1713;
}

body.dark-mode .feedback-question-group h4,
body.dark-mode .conditions-grid strong {
  color: #f4f8f6;
}

body.dark-mode .feedback-question-grid-inner label,
body.dark-mode .conditions-grid span,
body.dark-mode .weather-day-label {
  color: #d0dbd5;
}

body.dark-mode .review-stars {
  color: #e06b34;
}

body.dark-mode .toast-message {
  color: #f4f8f6;
  background: #2f6b4f;
  border-color: #4f8a6c;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.52);
}

.install-app-banner {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: rgba(24, 33, 29, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.install-app-banner .button {
  min-height: 40px;
  padding: 9px 12px;
}

.install-app-banner-close {
  min-height: 40px;
  min-width: 40px;
  border: 1px solid #3f4d47;
  border-radius: 8px;
  color: #fff;
  background: transparent;
  font-size: 1.2rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px 12px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-social {
    justify-content: flex-start;
  }

  .brand {
    width: min(280px, 100%);
    min-width: 0;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    justify-content: stretch;
    flex-wrap: nowrap;
    overflow: hidden;
    flex-direction: column;
    row-gap: 8px;
    column-gap: 0;
    padding-bottom: 0;
  }

  .main-nav.mobile-open {
    display: flex;
  }

  .theme-switch-wrap {
    display: none;
  }

  .site-header.mobile-nav-open .theme-switch-wrap {
    display: block;
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: end;
    margin-top: 2px;
  }

  .main-nav a {
    width: 100%;
    text-align: left;
    white-space: normal;
    border-radius: 8px;
  }

  .home-hero,
  .intro,
  .notes-section,
  .committee-panel,
  .invoice-topline,
  .invoice-detail-grid {
    grid-template-columns: 1fr;
  }

  .invoice-title-block {
    text-align: left;
  }

  .home-hero > img {
    min-height: 300px;
  }

  .quick-facts,
  .home-links,
  .conditions-grid,
  .camp-gallery-grid,
  .reviews-grid,
  .facility-grid,
  .contact-grid,
  .booking-paths,
  .dashboard-stats,
  .camera-grid,
  .form-row,
  .form-row:has(label:nth-child(3)),
  .booking-edit-grid {
    grid-template-columns: 1fr;
  }

    .booking-email-head,
    .booking-email-grid,
    .booking-template-grid,
    .instruction-schedule-card,
    .members-form,
    .committee-summary-cards,
    .committee-home-overview,
    .committee-home-actions-bar,
    .member-edit-grid,
    .photo-admin-card,
    .photo-edit-grid,
    .notification-admin-intro,
    .notification-admin-grid,
    .notification-settings-form,
    .feedback-photo-grid {
      grid-template-columns: 1fr;
  }

  .photo-admin-card .member-card-actions {
    grid-column: auto;
    flex-direction: row;
    min-width: 0;
  }

  .copy-field-row {
    grid-template-columns: 1fr;
  }

  .calendar-feed-row {
    grid-template-columns: 1fr;
  }
}

@media print {
  body {
    background: #fff;
  }

  .site-header,
  .page-hero,
  .committee-panel,
  .dashboard-head,
  .dashboard-stats,
  .toolbar,
  .booking-list,
  .invoice-view-head,
  .invoice-dialog .invoice-view-head,
  .site-footer {
    display: none !important;
  }

  .section,
  .committee-section,
  .dashboard,
  .invoice-view-section {
    display: block;
    padding: 0;
    background: #fff;
    border: 0;
    box-shadow: none;
  }

  .invoice-paper {
    max-width: none;
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}

@media (max-width: 720px) {
  .calendar-page .page-hero {
    padding-top: 22px;
    padding-bottom: 18px;
  }

  .calendar-page .page-hero h1 {
    font-size: clamp(2.3rem, 13vw, 3.8rem);
  }

  .calendar-page .page-hero p:not(.eyebrow) {
    font-size: 1rem;
  }

  .section,
  .page-hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .quick-facts article,
  .home-links a,
  .facility-grid article,
  .contact-grid article,
  .booking-paths article,
  .stat,
  .calendar-card,
  .booking-card,
  .private-notice,
  .private-calendar,
  .invoice-view-section {
    padding: 16px;
  }

  .booking-card-actions .button,
  .member-card-actions .button {
    width: 100%;
  }

  .invoice-paper {
    padding: 16px;
  }

  .month-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    border: 0;
    background: transparent;
  }

  .weekday,
  .month-day.empty,
  .month-day.is-available {
    display: none;
  }

  .month-day {
    min-height: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
  }

  .desktop-day {
    display: none;
  }

  .mobile-day-label {
    display: inline;
  }

  .calendar-toolbar {
    gap: 10px;
  }

  .calendar-toolbar h2 {
    width: 100%;
    order: -1;
    text-align: center;
    font-size: 2rem;
  }

  .calendar-toolbar .button {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
  }

  .calendar-legend {
    gap: 8px 12px;
    margin-bottom: 12px;
  }

  .booking-chip {
    margin-bottom: 8px;
  }

  .booking-chip strong,
  .booking-chip span {
    white-space: normal;
  }

  .mobile-calendar-empty {
    display: block;
    padding: 14px;
    border: 1px dashed var(--line);
    border-radius: 8px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.55);
  }
}

@media (max-width: 540px) {
  .site-header {
    gap: 12px;
  }

  .main-nav a {
    padding: 8px 10px;
    font-size: 0.92rem;
    white-space: normal;
  }

  .theme-switch-wrap {
    margin-left: 0;
  }

  .home-hero h1,
  .page-hero h1 {
    font-size: 2.25rem;
    line-height: 1.03;
  }

  .home-hero p:not(.eyebrow),
  .page-hero p:not(.eyebrow),
  .intro > p,
  .committee-panel p {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .password-toggle-icon {
    width: 30px;
    height: 30px;
  }

  .toolbar label,
  .toolbar .toolbar-actions,
  .toolbar .button {
    width: 100%;
  }

  .toolbar .toolbar-actions {
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .install-app-banner {
    right: 10px;
    left: 10px;
    bottom: 10px;
  }
}

/* Heritage Scout Camp style preview */
:root {
  --ink: #20271f;
  --muted: #5b6558;
  --paper: #eee9da;
  --panel: #fbf8ee;
  --line: #b8aa89;
  --leaf: #31543a;
  --leaf-dark: #183021;
  --sun: #b84f2b;
  --sky: #d8dfcf;
  --warm: #e1d7bd;
  --shadow: 0 8px 18px rgba(39, 48, 35, 0.13);
  --heritage-font: Georgia, "Times New Roman", serif;
}

body {
  background-color: var(--paper);
  overflow-x: hidden;
}

.site-header {
  min-height: 74px;
  padding-block: 8px;
  background: rgba(238, 233, 218, 0.97);
  border-bottom: 4px solid var(--leaf-dark);
  backdrop-filter: blur(12px);
}

.site-header.scrolled {
  background: rgba(238, 233, 218, 0.99);
  box-shadow: 0 5px 0 rgba(32, 39, 31, 0.12);
}

.brand {
  width: clamp(210px, 22vw, 330px);
}

.brand img {
  height: 54px;
}

.main-nav {
  gap: 2px;
}

.main-nav a {
  position: relative;
  padding: 11px 10px 9px;
  border-radius: 0;
  color: #4a5548;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
}

.main-nav a::after {
  position: absolute;
  right: 10px;
  bottom: 2px;
  left: 10px;
  height: 3px;
  content: "";
  background: transparent;
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav a[aria-current="page"] {
  color: var(--ink);
  background: transparent;
}

.main-nav a:hover::after,
.main-nav a:focus::after,
.main-nav a[aria-current="page"]::after {
  background: var(--sun);
}

.mobile-nav-toggle,
.theme-switch {
  border-radius: 4px;
}

.home-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: min(790px, calc(100svh - 74px));
  grid-template-columns: 1fr;
  align-items: end;
  overflow: hidden;
  background: var(--leaf-dark);
  border-bottom: 10px solid var(--sun);
}

.home-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: rgba(12, 27, 18, 0.56);
}

.home-hero > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

.home-hero-copy {
  display: block;
  width: min(850px, 100%);
  min-width: 0;
  padding: clamp(56px, 8vw, 108px) clamp(20px, 7vw, 108px);
  color: #fff;
}

.home-hero-copy::before {
  display: block;
  width: 76px;
  height: 7px;
  margin-bottom: 22px;
  content: "";
  background: #e88649;
}

.eyebrow {
  color: #9b3f25;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.home-hero .eyebrow,
.page-hero .eyebrow {
  color: #f0a56d;
}

.home-hero h1,
.page-hero h1,
.intro h2,
.notes-section h2,
.booking-paths h2,
.reviews-heading h2,
.conditions-widget h2,
.camp-gallery-section h2 {
  font-family: var(--heritage-font);
  font-weight: 700;
}

.home-hero h1 {
  max-width: 790px;
  font-size: clamp(3.4rem, 8vw, 7.5rem);
  line-height: 0.9;
}

.home-hero p:not(.eyebrow) {
  max-width: 640px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
}

.hero-actions {
  margin-top: 30px;
}

.button {
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 3px;
  box-shadow: 3px 3px 0 rgba(32, 39, 31, 0.2);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.button:hover,
.button:focus {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 rgba(32, 39, 31, 0.2);
}

.button.primary {
  background: var(--sun);
}

.button.secondary {
  background: #f8f2e4;
}

.home-hero .button.secondary {
  color: #fff;
  background: rgba(20, 43, 29, 0.82);
  border-color: rgba(255, 255, 255, 0.55);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 8vw, 104px);
  background: #24422e;
  border-bottom: 8px solid var(--sun);
}

.page-hero::after {
  position: absolute;
  right: clamp(20px, 7vw, 110px);
  bottom: -42px;
  width: min(300px, 35vw);
  height: 120px;
  content: "";
  border: 2px solid rgba(255, 255, 255, 0.13);
  transform: rotate(-6deg);
}

.page-hero h1 {
  font-size: clamp(2.9rem, 6.4vw, 6rem);
}

.section {
  padding-block: clamp(56px, 8vw, 96px);
}

.intro {
  position: relative;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  border-bottom: 1px solid var(--line);
}

.intro::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: clamp(18px, 6vw, 80px);
  width: 7px;
  content: "";
  background: var(--leaf);
}

.intro > div {
  padding-left: 28px;
}

.intro h2,
.notes-section h2 {
  font-size: clamp(2.35rem, 4.5vw, 4rem);
  line-height: 0.98;
}

.intro > p {
  max-width: 820px;
  font-size: clamp(1.06rem, 1.5vw, 1.2rem);
}

.image-band {
  padding: 0 clamp(18px, 3vw, 44px);
  background: var(--paper);
}

.image-band img {
  height: clamp(280px, 47vw, 610px);
  border: 1px solid var(--ink);
  object-position: center;
  box-shadow: 9px 9px 0 var(--leaf-dark);
}

.quick-facts {
  gap: 0;
  padding-top: clamp(58px, 8vw, 92px);
}

.quick-facts article {
  min-height: 205px;
  padding: 26px 28px;
  background: var(--panel);
  border: 0;
  border-top: 6px solid var(--leaf);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.quick-facts article:first-child {
  border-left: 1px solid var(--line);
}

.quick-facts article:nth-child(2) {
  border-top-color: var(--sun);
}

.quick-facts article:nth-child(3) {
  border-top-color: #8b6b31;
}

.quick-facts span,
.conditions-grid span,
.facility-grid span,
.contact-grid span,
.booking-paths span,
.stat span {
  letter-spacing: 0.07em;
}

.quick-facts strong {
  margin: 10px 0 8px;
  font-family: var(--heritage-font);
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
}

.quick-facts p {
  margin-bottom: 0;
}

.notes-section,
.home-links,
.booking-section,
.google-reviews-section,
.conditions-widget,
.camp-gallery-section {
  background: var(--warm);
}

.conditions-widget {
  grid-template-columns: minmax(235px, 0.35fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}

.conditions-grid {
  gap: 0;
  border: 1px solid var(--line);
}

.conditions-grid article {
  min-height: 220px;
  padding: 22px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.conditions-grid article:last-child {
  border-right: 0;
}

.conditions-grid strong {
  font-family: var(--heritage-font);
  font-size: 1.35rem;
}

.weather-day {
  border-radius: 0;
}

.reviews-score-card,
.google-review-card,
.facility-grid article,
.contact-grid article,
.booking-paths article,
.calendar-card,
.stat {
  border-radius: 2px;
  box-shadow: 5px 5px 0 rgba(49, 84, 58, 0.2);
}

.facility-grid article,
.booking-paths article,
.contact-grid article {
  border-top: 5px solid var(--leaf);
}

.facility-grid article:hover,
.facility-grid article:focus-within {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 rgba(49, 84, 58, 0.25);
}

.config-panel,
.member-card,
.booking-card,
.committee-inline-section,
.private-calendar,
.toolbar,
.invoice-view-section {
  border-radius: 3px;
}

.committee-page .page-hero {
  border-bottom-width: 5px;
}

.committee-page .button {
  box-shadow: none;
}

.committee-page .button:hover,
.committee-page .button:focus {
  transform: none;
  box-shadow: none;
}

.camp-gallery-grid {
  grid-template-columns: 1.18fr 0.82fr;
  gap: 18px;
  align-items: start;
}

.camp-gallery-grid figure:nth-child(even),
.camp-gallery-grid > img:nth-child(even) {
  margin-top: 54px;
}

.camp-gallery-grid img {
  height: clamp(230px, 34vw, 430px);
  border: 1px solid var(--ink);
  border-radius: 0;
  box-shadow: 7px 7px 0 rgba(49, 84, 58, 0.42);
}

.site-footer {
  padding-block: 34px;
  background: #15271c;
  border-top: 8px solid var(--sun);
}

.footer-social a {
  border-radius: 3px;
}

body.dark-mode {
  --paper: #0e1511;
  --panel: #17221b;
  --line: #465649;
  --warm: #131d17;
  --ink: #f1f3ed;
  --muted: #bec9bf;
}

body.dark-mode .site-header,
body.dark-mode .site-header.scrolled {
  background: rgba(11, 18, 14, 0.98);
  border-bottom-color: #718075;
}

body.dark-mode .main-nav a:hover,
body.dark-mode .main-nav a:focus,
body.dark-mode .main-nav a[aria-current="page"] {
  background: transparent;
}

body.dark-mode .quick-facts article,
body.dark-mode .conditions-grid article {
  background: #17221b;
}

body.dark-mode .image-band {
  background: var(--paper);
}

body.dark-mode .image-band img {
  box-shadow: 9px 9px 0 #4c6655;
}

body.dark-mode .home-hero .button.secondary {
  color: #fff;
  background: rgba(7, 15, 10, 0.8);
}

@media (max-width: 900px) {
  .home-hero {
    min-height: 720px;
  }

  .home-hero::after {
    background: rgba(12, 27, 18, 0.63);
  }

  .home-hero > img {
    object-position: 56% center;
  }

  .home-hero-copy {
    padding-top: 210px;
  }

  .conditions-widget {
    grid-template-columns: 1fr;
  }

  .conditions-grid {
    grid-template-columns: 1fr;
  }

  .conditions-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .conditions-grid article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  .home-hero {
    width: 100%;
    max-width: 100vw;
    min-height: calc(100svh - 68px);
  }

  .home-hero h1 {
    font-size: clamp(3.1rem, 16vw, 5.3rem);
  }

  .home-hero-copy {
    width: 100%;
    max-width: 100vw;
    padding: 190px 20px 48px;
  }

  .home-hero p:not(.eyebrow),
  .home-hero h1,
  .hero-actions {
    width: 100%;
    max-width: 100%;
  }

  .hero-actions .button {
    max-width: 100%;
  }

  .intro {
    grid-template-columns: 1fr;
  }

  .intro::before {
    right: auto;
    bottom: auto;
    width: 58px;
    height: 6px;
  }

  .intro > div {
    padding: 20px 0 0;
  }

  .image-band {
    padding-inline: 14px;
  }

  .image-band img {
    box-shadow: 5px 5px 0 var(--leaf-dark);
  }

  .quick-facts {
    grid-template-columns: 1fr;
  }

  .quick-facts article,
  .quick-facts article:first-child {
    min-height: 0;
    border-left: 1px solid var(--line);
  }

  .camp-gallery-grid {
    grid-template-columns: 1fr;
  }

  .camp-gallery-grid figure:nth-child(even),
  .camp-gallery-grid > img:nth-child(even) {
    margin-top: 0;
  }
}

/* Country Campground production style */
:root {
  --ink: #253128;
  --muted: #627064;
  --paper: #f3f4ed;
  --panel: #ffffff;
  --line: #c9d0c2;
  --leaf: #2f644a;
  --leaf-dark: #204634;
  --sun: #d5812e;
  --sky: #dbeaed;
  --warm: #e8ecdf;
  --shadow: 0 10px 24px rgba(38, 56, 42, 0.11);
  --heritage-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  color: var(--ink);
  background: var(--paper);
}

.site-header {
  min-height: 78px;
  padding-block: 10px;
  background: rgba(250, 249, 241, 0.97);
  border-top: 6px solid var(--sun);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}

.site-header.scrolled {
  background: rgba(250, 249, 241, 0.99);
  box-shadow: 0 7px 18px rgba(38, 56, 42, 0.11);
}

.brand {
  width: clamp(210px, 22vw, 330px);
}

.brand img {
  height: 52px;
}

.main-nav {
  gap: 4px;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 5px;
  color: #536155;
  font-size: 0.93rem;
}

.main-nav a::after {
  display: none;
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav a[aria-current="page"] {
  color: #fff;
  background: var(--leaf);
}

.mobile-nav-toggle,
.theme-switch {
  border-radius: 6px;
}

.home-hero {
  min-height: min(720px, calc(100svh - 78px));
  border-bottom: 0;
}

.home-hero::after {
  background: rgba(22, 51, 37, 0.46);
}

.home-hero > img {
  object-position: center 48%;
}

.home-hero-copy {
  width: min(790px, 100%);
  padding: clamp(52px, 7vw, 92px) clamp(20px, 7vw, 104px);
}

.home-hero-copy::before {
  width: 58px;
  height: 5px;
  margin-bottom: 18px;
  background: #f2ad4e;
}

.eyebrow {
  color: #9c521d;
  letter-spacing: 0.09em;
}

.home-hero .eyebrow,
.page-hero .eyebrow {
  color: #ffd18b;
}

.home-hero h1,
.page-hero h1,
.intro h2,
.notes-section h2,
.booking-paths h2,
.reviews-heading h2,
.conditions-widget h2,
.camp-gallery-section h2 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 850;
}

.home-hero h1 {
  max-width: 730px;
  font-size: clamp(3.2rem, 7.2vw, 6.7rem);
  line-height: 0.94;
}

.home-hero p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 22px;
  font-size: clamp(1.06rem, 1.7vw, 1.25rem);
  line-height: 1.58;
}

.hero-actions {
  margin-top: 28px;
}

.button {
  min-height: 47px;
  border-radius: 6px;
  box-shadow: none;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
  box-shadow: 0 7px 16px rgba(38, 56, 42, 0.17);
}

.button.primary {
  background: #c85e2c;
}

.button.primary:hover,
.button.primary:focus {
  background: #aa4822;
}

.button.secondary {
  background: #fff;
  border-color: #aebaaa;
}

.home-hero .button.secondary {
  color: #fff;
  background: rgba(26, 71, 48, 0.9);
  border-color: rgba(255, 255, 255, 0.65);
}

.page-hero {
  padding-block: clamp(54px, 8vw, 94px);
  background: #376d51;
  border-bottom: 6px solid var(--sun);
}

.page-hero::after {
  right: clamp(20px, 7vw, 110px);
  bottom: -50px;
  width: min(330px, 38vw);
  height: 120px;
  border: 18px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transform: none;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.7rem);
  line-height: 0.96;
}

.section {
  padding-block: clamp(54px, 7vw, 88px);
}

.intro {
  grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(30px, 5vw, 72px);
  background: var(--paper);
  border-bottom: 0;
}

.intro::before {
  top: clamp(54px, 7vw, 88px);
  bottom: clamp(54px, 7vw, 88px);
  width: 5px;
  border-radius: 4px;
  background: var(--sun);
}

.intro > div {
  padding-left: 24px;
}

.intro h2,
.notes-section h2 {
  font-size: clamp(2.15rem, 4vw, 3.5rem);
  line-height: 1;
}

.image-band {
  padding: 0;
  background: var(--paper);
}

.image-band img {
  height: clamp(260px, 42vw, 540px);
  border: 0;
  box-shadow: none;
}

.quick-facts {
  gap: 16px;
  padding-top: clamp(54px, 7vw, 86px);
}

.quick-facts article {
  min-height: 190px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 7px solid var(--leaf);
  border-radius: 7px;
  box-shadow: var(--shadow);
}

.quick-facts article:first-child {
  border-left: 1px solid var(--line);
}

.quick-facts article:nth-child(2) {
  border-top-color: var(--sun);
}

.quick-facts article:nth-child(3) {
  border-top-color: #4a8191;
}

.quick-facts strong {
  margin: 9px 0 7px;
  font-family: inherit;
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
}

.notes-section,
.home-links,
.booking-section,
.google-reviews-section,
.conditions-widget,
.camp-gallery-section {
  background: var(--warm);
}

.conditions-widget {
  grid-template-columns: 1fr;
  gap: 24px;
}

.conditions-widget > div:first-child {
  display: grid;
  max-width: 820px;
}

.conditions-grid {
  gap: 16px;
  border: 0;
}

.conditions-grid article {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: var(--shadow);
}

.conditions-grid article:last-child {
  border-right: 1px solid var(--line);
}

.conditions-grid strong {
  font-family: inherit;
  font-size: 1.22rem;
}

.weather-day {
  border-radius: 5px;
}

.reviews-score-card,
.google-review-card,
.facility-grid article,
.contact-grid article,
.booking-paths article,
.calendar-card,
.stat {
  border-radius: 7px;
  box-shadow: var(--shadow);
}

.facility-grid article,
.booking-paths article,
.contact-grid article {
  border-top: 5px solid var(--leaf);
}

.facility-grid article:hover,
.facility-grid article:focus-within {
  transform: translateY(-4px);
  border-color: #7e9a84;
  box-shadow: 0 16px 28px rgba(38, 56, 42, 0.17);
}

.config-panel,
.member-card,
.booking-card,
.committee-inline-section,
.private-calendar,
.toolbar,
.invoice-view-section {
  border-radius: 6px;
}

.committee-page .button {
  box-shadow: none;
}

.committee-page .button:hover,
.committee-page .button:focus {
  transform: translateY(-1px);
  box-shadow: none;
}

.camp-gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.camp-gallery-grid figure:nth-child(even),
.camp-gallery-grid > img:nth-child(even) {
  margin-top: 0;
}

.camp-gallery-grid img {
  height: clamp(210px, 30vw, 350px);
  border: 0;
  border-radius: 7px;
  box-shadow: var(--shadow);
}

.site-footer {
  padding-block: 32px;
  background: #214634;
  border-top: 6px solid var(--sun);
}

.footer-social a {
  border-radius: 5px;
}

body.dark-mode {
  --paper: #101713;
  --panel: #19231d;
  --line: #46564b;
  --warm: #141e18;
  --ink: #f2f5f0;
  --muted: #c0cbc2;
}

body.dark-mode .site-header,
body.dark-mode .site-header.scrolled {
  background: rgba(13, 21, 16, 0.98);
  border-top-color: #d5812e;
  border-bottom-color: #46564b;
}

body.dark-mode .main-nav a:hover,
body.dark-mode .main-nav a:focus,
body.dark-mode .main-nav a[aria-current="page"] {
  color: #fff;
  background: #376d51;
}

body.dark-mode .quick-facts article,
body.dark-mode .conditions-grid article {
  background: var(--panel);
}

body.dark-mode .image-band {
  background: var(--paper);
}

@media (max-width: 900px) {
  .home-hero {
    min-height: 690px;
  }

  .home-hero::after {
    background: rgba(22, 51, 37, 0.57);
  }

  .home-hero-copy {
    padding-top: 190px;
  }

  .conditions-grid {
    grid-template-columns: 1fr;
  }

  .conditions-grid article {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 70px;
  }

  .home-hero {
    min-height: calc(100svh - 70px);
  }

  .home-hero h1 {
    font-size: clamp(2.85rem, 14.5vw, 4.8rem);
    line-height: 0.95;
  }

  .home-hero-copy {
    padding: 160px 20px 42px;
  }

  .intro {
    grid-template-columns: 1fr;
  }

  .intro::before {
    top: clamp(54px, 7vw, 88px);
    bottom: auto;
    width: 54px;
    height: 5px;
  }

  .intro > div {
    padding: 18px 0 0;
  }

  .quick-facts {
    grid-template-columns: 1fr;
  }

  .quick-facts article,
  .quick-facts article:first-child {
    min-height: 0;
    border-left: 1px solid var(--line);
  }

  .camp-gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .home-hero-copy {
    width: min(100%, 390px);
    max-width: 390px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .home-hero h1 {
    max-width: 350px;
    font-size: clamp(2.75rem, 12.5vw, 3.55rem);
  }

  .home-hero p:not(.eyebrow),
  .hero-actions {
    max-width: 350px;
  }
}
