/* Food Army 025: WW2 victory-garden visual system
   Keeps existing layout/functionality; remaps surface, color, and media treatment. */
:root {
  --fa-blue: #6f9eb0;
  --fa-blue-deep: #315f70;
  --fa-green: #5f7d1f;
  --fa-green-dark: #243916;
  --fa-field: #7f972f;
  --fa-yellow: #f4ea8a;
  --fa-yellow-soft: #fff3ae;
  --fa-paper: #efe2bd;
  --fa-paper-warm: #d7c899;
  --fa-ink: #17120b;
  --fa-brown: #392714;
  --fa-red: #8e3a2d;
  --cream: var(--fa-yellow-soft);
  --olive: var(--fa-green);
  --olive2: var(--fa-field);
  --paper: var(--fa-paper);
  --hot: var(--fa-red);
  --ink: var(--fa-ink);
  --shadow: 0.55rem 0.55rem 0 rgba(22, 18, 11, 0.9);
}

html {
  background: var(--fa-green-dark);
}

body {
  color: var(--fa-ink);
  background:
    radial-gradient(circle at 18% 8%, rgba(244, 234, 138, 0.28), transparent 22rem),
    linear-gradient(180deg, var(--fa-blue) 0 28%, var(--fa-field) 28% 61%, var(--fa-green-dark) 61% 100%);
  position: relative;
}

body::before {
  opacity: 0.2;
  background-image:
    linear-gradient(0deg, rgba(255,255,255,0.05), rgba(0,0,0,0.04)),
    repeating-linear-gradient(90deg, rgba(23,18,11,0.06) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(0deg, rgba(255,243,174,0.05) 0 2px, transparent 2px 7px);
  background-size: auto, auto, auto;
  mix-blend-mode: multiply;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0 42%, rgba(57, 39, 20, 0.15) 42% 46%, transparent 46%),
    radial-gradient(ellipse at 50% 110%, rgba(20, 35, 13, 0.72), transparent 58%);
}

.site-header {
  background: rgba(21, 35, 18, 0.92);
  border-bottom: 5px solid var(--fa-yellow);
  box-shadow: 0 6px 0 rgba(23, 18, 11, 0.55);
}

.brand img {
  width: min(330px, 57vw);
  max-height: 74px;
  object-fit: contain;
  filter: drop-shadow(0.18rem 0.18rem 0 rgba(0, 0, 0, 0.75));
}

.site-nav a {
  color: var(--fa-yellow-soft);
  border: 2px solid transparent;
  letter-spacing: 0.04em;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--fa-yellow);
  color: var(--fa-ink);
  border-color: var(--fa-ink);
}

.nav-toggle em,
.nav-toggle {
  color: var(--fa-yellow-soft);
}

h1,
h2,
h3,
.site-nav a,
.button,
.chip,
.produce-strip span {
  text-shadow: 0.04em 0.04em 0 rgba(0, 0, 0, 0.25);
}

h1,
h2,
h3 {
  color: var(--fa-yellow);
  letter-spacing: 0.025em;
}

.copy-card h2,
.feature-tile h2,
.harvest-board h2,
.product-card h2,
.event-card h2,
.form-panel h2,
.donation-card h2,
.cart-summary h2,
.account-panel h2,
.admin-panel h2,
.admin-editor h2,
.admin-list-card h2,
.utility-copy h2,
.utility-grid a h2 {
  color: var(--fa-brown);
}

p,
li,
label {
  color: inherit;
}

.lead {
  color: var(--fa-yellow-soft);
  font-weight: 650;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}

.eyebrow {
  color: var(--fa-yellow);
  background: rgba(23, 18, 11, 0.55);
  border: 2px solid rgba(244, 234, 138, 0.7);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
}

.page-hero,
.hero,
.split-hero.garden-hero {
  position: relative;
}

.page-hero {
  width: 100%;
  max-width: none;
  padding-left: max(1rem, calc((100vw - var(--max)) / 2));
  padding-right: max(1rem, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(180deg, rgba(111,158,176,0.7), rgba(95,125,31,0.56)),
    repeating-linear-gradient(-10deg, rgba(244,234,138,0.1) 0 14px, transparent 14px 36px);
  border-bottom: 5px solid var(--fa-yellow);
}

.hero-copy,
.page-hero > div:first-child,
.split-hero > div:first-child {
  background: rgba(36, 57, 22, 0.44);
  border: 3px solid rgba(244, 234, 138, 0.35);
  border-radius: 1.25rem;
  padding: clamp(1rem, 3vw, 2rem);
  box-shadow: 0.55rem 0.55rem 0 rgba(23, 18, 11, 0.28);
}

.hero-art > img:first-child,
.media-card,
.zine-row img,
.hero-art img,
.split img,
.donation-grid img,
.product-card img,
.cart-item img,
.admin-image-preview img {
  border: 5px solid var(--fa-ink);
  border-radius: 0.45rem;
  background: var(--fa-paper);
  box-shadow: var(--shadow);
  filter: sepia(0.17) saturate(1.12) contrast(1.08) brightness(0.98);
}

.hero-art > img:first-child,
.media-card img,
.media-card video {
  border-radius: 0.35rem;
}

.hero-badge {
  border-radius: 50% !important;
  border-color: var(--fa-yellow) !important;
  background: var(--fa-yellow) !important;
}

.media-card figcaption {
  background: var(--fa-brown);
  color: var(--fa-yellow-soft);
  border-top: 4px solid var(--fa-yellow);
}

.copy-card,
.feature-tile,
.harvest-board,
.donation-card,
.form-panel,
.cart-summary,
.product-card,
.event-card,
.account-panel,
.account-grid form,
.cart-item,
.utility-copy,
.utility-grid a,
.admin-panel,
.admin-card,
.admin-editor,
.admin-list-card,
.map-grid article,
.cards article {
  background:
    linear-gradient(180deg, rgba(255, 243, 174, 0.9), rgba(239, 226, 189, 0.98)),
    repeating-linear-gradient(0deg, rgba(57,39,20,0.035) 0 2px, transparent 2px 6px);
  color: var(--fa-ink);
  border: 4px solid var(--fa-ink);
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
}

.copy-card p,
.feature-tile p,
.harvest-board p,
.donation-card p,
.form-panel p,
.cart-summary p,
.utility-copy p,
.utility-copy li,
.event-card p,
.product-card p,
.account-panel p {
  color: var(--fa-ink);
}

.button,
.chip,
button.button {
  background: var(--fa-green);
  color: var(--fa-yellow-soft);
  border: 3px solid var(--fa-ink);
  border-radius: 0.35rem;
  box-shadow: 0.35rem 0.35rem 0 var(--fa-ink);
}

.button:hover,
.chip:hover {
  box-shadow: 0.5rem 0.5rem 0 var(--fa-ink);
}

.button-light,
.button-ghost:hover,
.chip.active {
  background: var(--fa-yellow);
  color: var(--fa-ink);
}

.button-ghost {
  background: rgba(23, 18, 11, 0.55);
  color: var(--fa-yellow-soft);
  border-color: var(--fa-yellow);
}

.produce-strip span,
.utility-strip a {
  background: var(--fa-yellow);
  color: var(--fa-brown);
  border-color: var(--fa-ink);
  border-radius: 0.35rem;
  box-shadow: 0.35rem 0.35rem 0 var(--fa-ink);
}

.produce-strip.big span:nth-child(even) {
  background: var(--fa-blue);
  color: var(--fa-ink);
}

.feature-tile span,
.utility-grid span,
.badge,
.event-card time {
  background: var(--fa-blue-deep);
  color: var(--fa-yellow-soft);
  border-color: var(--fa-ink);
}

input,
textarea,
select {
  background: #fff7cf;
  border: 3px solid var(--fa-ink);
  border-radius: 0.35rem;
  color: var(--fa-ink);
}

.site-footer {
  background:
    linear-gradient(180deg, var(--fa-green-dark), #10190c),
    repeating-linear-gradient(90deg, rgba(244,234,138,0.05) 0 1px, transparent 1px 8px);
  border-top: 6px solid var(--fa-yellow);
}

.footer-cta {
  background: var(--fa-blue-deep);
  color: var(--fa-yellow-soft);
  border: 4px solid var(--fa-ink);
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
}

.footer-cta img {
  background: var(--fa-yellow);
  border-radius: 50%;
  padding: 0.35rem;
}

.footer-logo.footer-farmy,
.footer-farmy {
  width: min(520px, 86vw);
  max-height: 112px;
  object-fit: contain;
  filter: drop-shadow(0.18rem 0.18rem 0 rgba(0,0,0,0.75));
}

.legal,
.site-footer .legal {
  color: rgba(255, 243, 174, 0.82);
}

.toast {
  background: var(--fa-blue-deep);
  color: var(--fa-yellow-soft);
  border-color: var(--fa-yellow);
  border-radius: 0.35rem;
}

.admin-body {
  background:
    radial-gradient(circle at 10% 8%, rgba(244,234,138,0.24), transparent 24rem),
    linear-gradient(180deg, var(--fa-blue) 0 32%, var(--fa-field) 32% 62%, var(--fa-green-dark) 62%);
}

.admin-mark {
  max-width: min(520px, 90%);
  filter: drop-shadow(0.35rem 0.35rem 0 rgba(0,0,0,0.75));
}

.admin-tab {
  background: var(--fa-yellow);
  border-color: var(--fa-ink);
  color: var(--fa-ink);
  border-radius: 0.35rem;
}

.admin-tab.active,
.admin-small-button.alt {
  background: var(--fa-green);
  color: var(--fa-yellow-soft);
}

.admin-small-button,
.admin-pill.good {
  background: var(--fa-blue-deep);
  color: var(--fa-yellow-soft);
}

.admin-pill.warn,
.admin-small-button.danger {
  background: var(--fa-red);
}

.lightbox-frame img,
.lightbox-frame video {
  border-color: var(--fa-yellow);
  border-radius: 0.45rem;
}

@media (max-width: 850px) {
  .brand img {
    width: min(265px, 68vw);
    max-height: 64px;
  }

  .hero-copy,
  .page-hero > div:first-child,
  .split-hero > div:first-child {
    padding: 1rem;
  }
}

/* 026 polish: improve text contrast on the darker green poster-style panels. */
.hero-copy,
.page-hero > div:first-child,
.split-hero > div:first-child,
.footer-cta,
.site-footer,
.admin-hero,
.admin-login-panel,
.admin-dashboard-header {
  color: var(--fa-paper-warm);
}

.hero-copy p,
.hero-copy li,
.hero-copy label,
.page-hero > div:first-child p,
.page-hero > div:first-child li,
.page-hero > div:first-child label,
.split-hero > div:first-child p,
.split-hero > div:first-child li,
.split-hero > div:first-child label,
.footer-cta span,
.site-footer p,
.site-footer label,
.admin-hero p,
.admin-login-panel p,
.admin-dashboard-header p {
  color: var(--fa-paper-warm);
}

.hero-copy strong,
.page-hero > div:first-child strong,
.split-hero > div:first-child strong,
.footer-cta strong,
.site-footer strong {
  color: var(--fa-yellow);
}

/* 026 polish: keep lightbox controls above every image/video. */
.lightbox {
  isolation: isolate;
}

.lightbox-frame {
  position: relative;
  z-index: 1;
}

.lightbox button,
.lightbox-prev,
.lightbox-next,
.lightbox-close {
  z-index: 3;
}

.lightbox-count {
  z-index: 4;
}
.admin-body {
  background:
    radial-gradient(circle at top left, rgba(84, 140, 66, 0.22), transparent 34rem),
    linear-gradient(135deg, #11140f 0%, #202515 52%, #0f120c 100%);
  color: #f7f0d8;
}

.admin-shell {
  min-height: 100vh;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.6fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
  border-bottom: 4px solid #0d0d0d;
}

.admin-mark {
  max-width: 14rem;
  filter: drop-shadow(0.5rem 0.5rem 0 rgba(0, 0, 0, 0.35));
}

.admin-panel,
.admin-card,
.admin-editor,
.admin-list-card {
  background: rgba(255, 247, 217, 0.96);
  color: #11140f;
  border: 4px solid #0d0d0d;
  border-radius: 1.25rem;
  box-shadow: 0.65rem 0.65rem 0 rgba(0, 0, 0, 0.35);
}

.admin-panel {
  padding: clamp(1rem, 3vw, 2rem);
}

.admin-status {
  margin-top: 1rem;
  min-height: 1.5rem;
  font-weight: 700;
}

.admin-dashboard {
  display: none;
}

.admin-dashboard.is-active {
  display: block;
}

.admin-login.is-hidden {
  display: none;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1rem;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.admin-tab {
  border: 3px solid #0d0d0d;
  border-radius: 999px;
  background: #f7f0d8;
  color: #11140f;
  padding: 0.7rem 1rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0.25rem 0.25rem 0 rgba(0, 0, 0, 0.35);
}

.admin-tab.active {
  background: #4c7f35;
  color: #fff8df;
}

.admin-section {
  display: none;
}

.admin-section.active {
  display: block;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
}

.admin-editor,
.admin-list-card {
  padding: clamp(1rem, 3vw, 1.5rem);
}

.admin-form {
  display: grid;
  gap: 0.9rem;
}

.admin-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 900;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  border: 3px solid #0d0d0d;
  border-radius: 0.75rem;
  padding: 0.8rem;
  background: #fffaf0;
  color: #101010;
  font: inherit;
}

.admin-form textarea {
  min-height: 7rem;
  resize: vertical;
}

.admin-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.admin-checks label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 3px solid #0d0d0d;
  border-radius: 0.75rem;
  padding: 0.7rem;
  background: #efe3bd;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.admin-item {
  border: 3px solid #0d0d0d;
  border-radius: 1rem;
  padding: 1rem;
  background: #fffaf0;
  margin-block: 0.8rem;
}

.admin-item-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.admin-item h3 {
  margin: 0 0 0.35rem;
}

.admin-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.admin-pill {
  border: 2px solid #0d0d0d;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  background: #e2d3a5;
  font-size: 0.85rem;
  font-weight: 900;
}

.admin-pill.good {
  background: #4c7f35;
  color: #fff;
}

.admin-pill.warn {
  background: #a8372f;
  color: #fff;
}

.admin-small-button {
  border: 3px solid #0d0d0d;
  border-radius: 0.6rem;
  background: #11140f;
  color: #fff8df;
  padding: 0.45rem 0.65rem;
  font-weight: 900;
  cursor: pointer;
}

.admin-small-button.alt {
  background: #4c7f35;
}

.admin-small-button.danger {
  background: #9b2f27;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #fffaf0;
  color: #11140f;
}

.admin-table th,
.admin-table td {
  border: 2px solid #0d0d0d;
  padding: 0.6rem;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  background: #4c7f35;
  color: #fff8df;
}

.admin-help {
  margin-top: 0.65rem;
  color: #37331f;
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .admin-hero,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-checks {
    grid-template-columns: 1fr;
  }
}

.admin-thumb,
.admin-image-preview img {
  width: 5rem;
  height: 5rem;
  object-fit: cover;
  border: 3px solid #0d0d0d;
  border-radius: 0.75rem;
  background: #fffaf0;
}

.admin-image-preview {
  min-height: 0.5rem;
}

.admin-option-builder {
  border: 3px solid #0d0d0d;
  border-radius: 0.85rem;
  padding: 0.8rem;
  background: #efe3bd;
}

.admin-option-builder legend {
  padding-inline: 0.35rem;
  font-weight: 900;
}

.admin-option-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.admin-option-buttons button {
  border: 2px solid #0d0d0d;
  border-radius: 999px;
  background: #fffaf0;
  color: #11140f;
  padding: 0.25rem 0.55rem;
  font-weight: 900;
  cursor: pointer;
}

.live-edit-bar {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding: 0.7rem;
  border: 3px solid #0d0d0d;
  border-radius: 1rem;
  background: #fff8df;
  color: #11140f;
  box-shadow: 0.45rem 0.45rem 0 rgba(0,0,0,.35);
}
.live-edit-bar button, .live-edit-bar a {
  border: 2px solid #0d0d0d;
  border-radius: 999px;
  background: #4c7f35;
  color: #fff8df;
  padding: 0.4rem 0.7rem;
  font-weight: 900;
  text-decoration: none;
}
.live-editing .live-edit-target {
  outline: 3px dashed rgba(76, 127, 53, .9);
  outline-offset: 4px;
  cursor: crosshair;
}
.live-editing .live-edit-selected {
  outline: 4px solid #a8372f !important;
}
.admin-code-editor {
  min-height: 24rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
  font-size: 0.9rem !important;
}
.admin-console-output {
  min-height: 9rem;
  white-space: pre-wrap;
  background: #11140f;
  color: #eaf6d7;
  border: 3px solid #0d0d0d;
  border-radius: .8rem;
  padding: .8rem;
  overflow: auto;
}
.amount-grid button.is-selected {
  background: #11140f;
  color: #fff8df;
}

/* Visual live editor: admin-friendly inline editing */
.live-edit-bar {
  position: fixed;
  z-index: 9999;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-wrap: wrap;
  max-width: min(44rem, calc(100vw - 2rem));
  padding: .75rem;
  background: #fff7d9;
  color: #11140f;
  border: 4px solid #0d0d0d;
  border-radius: 1rem;
  box-shadow: .45rem .45rem 0 rgba(0,0,0,.45);
  font-weight: 900;
}
.live-edit-bar button,
.live-edit-bar a {
  border: 3px solid #0d0d0d;
  border-radius: .7rem;
  background: #4c7f35;
  color: #fff8df;
  padding: .45rem .65rem;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
}
.live-edit-bar a { background: #11140f; }
.live-edit-bar span { font-size: .85rem; opacity: .82; }
.live-editing .live-edit-target {
  outline: 3px dashed rgba(76,127,53,.9);
  outline-offset: 4px;
  cursor: pointer;
}
.live-editing .live-edit-target:hover {
  outline-color: #d22f27;
  background-color: rgba(255,247,217,.16);
}
.is-live-editing {
  outline: 4px solid #d22f27 !important;
  background: #fff7d9 !important;
  color: #11140f !important;
  min-height: 1.4em;
}
.live-section-controls {
  display: none;
  position: sticky;
  top: 5.5rem;
  z-index: 20;
  width: fit-content;
  gap: .45rem;
  align-items: center;
  margin: 0 0 .5rem;
  padding: .35rem;
  background: #11140f;
  color: #fff8df;
  border: 3px solid #0d0d0d;
  border-radius: .75rem;
  box-shadow: .25rem .25rem 0 rgba(0,0,0,.3);
}
.live-editing .live-section-controls { display: flex; }
.live-section-controls button,
.live-drag-handle {
  border: 2px solid #fff8df;
  border-radius: .5rem;
  background: #4c7f35;
  color: #fff8df;
  padding: .25rem .45rem;
  font-size: .78rem;
  font-weight: 900;
  cursor: pointer;
}
.live-drag-handle { background: #9b2f27; }
.live-section-editable { position: relative; }
.live-editing main > section { cursor: grab; }
.live-editing main > section:active { cursor: grabbing; }
.is-dragging-live { opacity: .55; transform: rotate(-1deg); }
.live-edit-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0,0,0,.72);
}
.live-edit-dialog {
  width: min(42rem, 96vw);
  max-height: 90vh;
  overflow: auto;
  background: #fff7d9;
  color: #11140f;
  border: 5px solid #0d0d0d;
  border-radius: 1.25rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  box-shadow: .65rem .65rem 0 rgba(0,0,0,.45);
  position: relative;
}
.live-edit-close {
  position: absolute;
  right: .75rem;
  top: .75rem;
  border: 3px solid #0d0d0d;
  border-radius: 999px;
  background: #9b2f27;
  color: #fff;
  width: 2.25rem;
  height: 2.25rem;
  font-size: 1.35rem;
  font-weight: 900;
  cursor: pointer;
}
.live-edit-dialog label {
  display: grid;
  gap: .35rem;
  margin-block: .85rem;
  font-weight: 900;
}
.live-edit-dialog input,
.live-edit-dialog textarea,
.live-edit-dialog select {
  width: 100%;
  border: 3px solid #0d0d0d;
  border-radius: .75rem;
  padding: .75rem;
  background: #fffaf0;
  color: #11140f;
  font: inherit;
}
.live-edit-dialog textarea { min-height: 7rem; }
.live-media-preview img,
.live-media-preview video {
  width: 100%;
  max-height: 18rem;
  object-fit: contain;
  border: 3px solid #0d0d0d;
  border-radius: .75rem;
  background: #11140f;
}
.file-drop {
  border: 3px dashed #4c7f35;
  border-radius: .9rem;
  padding: .75rem;
  background: rgba(76,127,53,.12);
}
.live-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: .7rem;
  margin-top: 1rem;
}
.live-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, .9fr);
  gap: clamp(1rem, 4vw, 2rem);
  align-items: center;
}
.live-custom-section {
  border-top: 4px dashed rgba(13,13,13,.28);
}
@media (max-width: 720px) {
  .live-edit-bar { left: 1rem; right: 1rem; bottom: .75rem; }
  .live-edit-bar span { display: none; }
  .live-split { grid-template-columns: 1fr; }
  .live-section-controls { top: 4.5rem; }
}
.admin-page-launcher {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: .7rem;
  margin-block: 1rem;
}
.admin-page-launcher .button { text-align: center; }
.admin-advanced-editor {
  margin-top: 1rem;
  border: 3px solid #0d0d0d;
  border-radius: 1rem;
  padding: .9rem;
  background: #efe3bd;
}
.admin-advanced-editor summary {
  cursor: pointer;
  font-weight: 900;
}

/* 030 simplified automatic visual editing */
.live-element-controls {
  display: none;
  width: fit-content;
  margin: .2rem 0 .25rem;
  border: 2px solid #0d0d0d;
  border-radius: 999px;
  background: #fff7d9;
  color: #11140f;
  padding: .2rem .55rem;
  font-size: .72rem;
  font-weight: 900;
  box-shadow: .15rem .15rem 0 rgba(0,0,0,.25);
  cursor: grab;
}
.live-editing:not(.admin-live-edit-paused) .live-element-controls { display: inline-flex; }
.live-editing.admin-live-edit-paused .live-edit-target,
.live-editing.admin-live-edit-paused main > section { outline: none !important; cursor: default !important; }
.live-product-controls {
  display: none;
  position: absolute;
  z-index: 8;
  top: .65rem;
  left: .65rem;
  gap: .35rem;
  align-items: center;
  flex-wrap: wrap;
  padding: .35rem;
  background: #11140f;
  border: 3px solid #0d0d0d;
  border-radius: .8rem;
  box-shadow: .25rem .25rem 0 rgba(0,0,0,.35);
}
.live-editing:not(.admin-live-edit-paused) .live-product-controls { display: flex; }
.live-product-controls button,
.live-product-controls .live-drag-hint {
  border: 2px solid #fff8df;
  border-radius: .55rem;
  background: #4c7f35;
  color: #fff8df;
  padding: .25rem .45rem;
  font-size: .75rem;
  font-weight: 900;
  cursor: pointer;
}
.live-product-controls [data-product-delete] { background: #9b2f27; }
.live-product-controls .live-drag-hint { background: #ba7a1a; cursor: grab; }
.product-card.live-draggable-card { position: relative; }
.live-drag-grid .is-dragging-live { opacity: .55; transform: rotate(-1deg) scale(.98); }
.live-edit-bar [data-live-logout] { background: #9b2f27; }
@media (max-width: 720px) {
  .live-element-controls { font-size: .68rem; }
  .live-product-controls { position: static; margin-bottom: .5rem; }
}


/* 033 true-view visual editing: controls float above the page instead of changing layout */
.live-editing main > section {
  position: relative;
  cursor: default !important;
}
.live-editing .live-edit-target {
  outline: 2px dashed rgba(76,127,53,.72);
  outline-offset: 3px;
}
.live-editing .live-edit-target:hover {
  outline-color: #d22f27;
  background-color: rgba(255,247,217,.10);
}
.live-section-controls {
  position: absolute !important;
  top: .5rem !important;
  right: .5rem !important;
  left: auto !important;
  z-index: 40 !important;
  margin: 0 !important;
  width: auto !important;
  max-width: calc(100% - 1rem);
  flex-wrap: wrap;
  pointer-events: auto;
}
.live-editing main > section:hover .live-section-controls,
.live-editing .live-section-controls:focus-within {
  display: flex !important;
}
.live-element-controls {
  display: none !important;
}
.live-movable-element {
  cursor: grab;
}
.live-movable-element:active {
  cursor: grabbing;
}
.live-editing.admin-live-edit-paused .live-movable-element {
  cursor: default;
}
.live-edit-bar {
  max-width: min(52rem, calc(100vw - 2rem));
}
.live-edit-bar strong,
.live-edit-bar span,
.live-edit-bar button,
.live-edit-bar a {
  font-family: inherit;
}

/* 035 visual pass: cohesive sky-blue accents and contrast polish. */
:root {
  --fa-sky: #a9d8e8;
  --fa-sky-soft: #d5f0f7;
  --fa-sky-deep: #3f7e93;
}

body {
  background:
    radial-gradient(circle at 15% 5%, rgba(213, 240, 247, 0.38), transparent 19rem),
    radial-gradient(circle at 82% 16%, rgba(169, 216, 232, 0.24), transparent 23rem),
    radial-gradient(circle at 18% 8%, rgba(244, 234, 138, 0.28), transparent 22rem),
    linear-gradient(180deg, var(--fa-blue) 0 28%, var(--fa-field) 28% 61%, var(--fa-green-dark) 61% 100%);
}

.site-header,
.site-footer {
  box-shadow: inset 0 -0.2rem 0 rgba(169, 216, 232, 0.28), 0 6px 0 rgba(23, 18, 11, 0.55);
}

.site-nav a:hover,
.site-nav a.active,
.chip.active,
.button-light {
  box-shadow: 0.35rem 0.35rem 0 var(--fa-ink), inset 0 0 0 0.18rem rgba(169, 216, 232, 0.7);
}

.hero-copy,
.page-hero > div:first-child,
.split-hero > div:first-child,
.copy-card,
.feature-tile,
.harvest-board,
.product-card,
.event-card,
.utility-copy,
.utility-grid a,
.form-panel,
.donation-card,
.cart-summary,
.account-panel {
  outline: 2px solid rgba(169, 216, 232, 0.25);
  outline-offset: -8px;
}

/* Keep every Home utility card styled consistently, including the first Workshops tile. */
.utility-grid-home a,
.utility-grid-home a:visited,
.utility-grid-home a:first-child {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.9rem;
  min-height: 260px;
  background:
    linear-gradient(180deg, rgba(255, 243, 174, 0.92), rgba(239, 226, 189, 0.98)),
    repeating-linear-gradient(0deg, rgba(57,39,20,0.035) 0 2px, transparent 2px 6px);
  color: var(--fa-ink);
  border: 4px solid var(--fa-ink);
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
}

.utility-grid-home a > * {
  position: relative;
  z-index: 1;
}

.utility-grid-home a:first-child::before,
.utility-grid-home a:nth-child(4)::before {
  content: "";
  position: absolute;
  inset: 0.65rem 0.65rem auto auto;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 999px;
  background: rgba(169, 216, 232, 0.45);
  border: 3px solid rgba(23, 18, 11, 0.35);
  z-index: 0;
}

.utility-grid-home a h2,
.utility-grid-home a p {
  color: var(--fa-ink);
}

/* Lighten the bottom dark-green callout areas above the footer CTA. */
.zine-row > div,
.utility-cta,
.section-pad.utility-cta {
  background:
    linear-gradient(135deg, rgba(49, 95, 112, 0.88), rgba(36, 57, 22, 0.9)),
    repeating-linear-gradient(-12deg, rgba(213, 240, 247, 0.08) 0 10px, transparent 10px 24px);
  border: 4px solid var(--fa-sky);
  color: var(--fa-sky-soft);
  box-shadow: 0.55rem 0.55rem 0 rgba(23, 18, 11, 0.9);
}

.zine-row > div {
  border-radius: 0.75rem;
  padding: clamp(1rem, 3vw, 2rem);
}

.zine-row > div p,
.zine-row > div li,
.utility-cta p,
.utility-cta li,
.utility-cta span,
.utility-cta label {
  color: var(--fa-sky-soft);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.32);
}

.zine-row > div h2,
.utility-cta h2,
.utility-cta strong {
  color: var(--fa-yellow);
}

.utility-cta .eyebrow,
.zine-row .eyebrow {
  background: rgba(23, 18, 11, 0.65);
  border-color: var(--fa-sky);
  color: var(--fa-sky-soft);
}

/* Darker, clearer titles on the Events Grow days / Skill shares / Food tables cards. */
.community-events .feature-crop .feature-tile h3,
body[data-page="events"] .feature-crop .feature-tile h3,
.feature-crop .feature-tile h3 {
  color: var(--fa-brown);
  text-shadow: none;
}

.feature-crop .feature-tile span,
.utility-grid span,
.event-card time,
.badge {
  background: var(--fa-sky-deep);
  color: var(--fa-sky-soft);
}

.produce-strip.big span:nth-child(even),
.utility-strip a:nth-child(even),
.footer-cta {
  background: linear-gradient(135deg, var(--fa-sky-deep), var(--fa-blue-deep));
}

.media-card figcaption,
.footer-cta {
  border-color: var(--fa-sky);
}

/* 037 full responsive polish + admin list readability. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

main,
section,
.site-header,
.site-footer,
.admin-shell,
.admin-dashboard,
.admin-panel,
.admin-editor,
.admin-list-card,
.copy-card,
.form-panel,
.donation-card,
.event-card,
.product-card,
.media-card {
  min-width: 0;
}

p,
li,
h1,
h2,
h3,
h4,
.lead,
.eyebrow,
.button,
.chip,
.admin-tab,
.admin-pill {
  overflow-wrap: anywhere;
  word-break: normal;
}

img,
video,
iframe,
canvas,
svg {
  max-width: 100%;
}

.page-hero,
.split-hero,
.donation-grid,
.cards-large,
.checkout-grid,
.map-grid,
.admin-grid,
.form-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.page-hero > *,
.split-hero > *,
.donation-grid > *,
.admin-grid > *,
.form-grid > * {
  min-width: 0;
}

body[data-page="donate"] .page-hero,
body[data-page="donate"] .donation-grid {
  max-width: 100%;
}

body[data-page="donate"] .page-hero h1 {
  font-size: clamp(3rem, 8vw, 7.4rem);
}

body[data-page="donate"] .donation-card,
body[data-page="donate"] .copy-card {
  width: 100%;
}

input,
select,
textarea,
button {
  max-width: 100%;
}

/* Remove small iOS-only mystery square caused by native controls/fixed safe-area painting. */
button,
input,
select,
textarea,
a.button,
.chip,
.admin-star-link,
.live-edit-bar button,
.live-edit-bar a {
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

body::after {
  transform: translateZ(0);
}

/* Darker About page titles requested. */
body[data-page="about"] .copy-card h2,
body[data-page="about"] .feature-tile h2,
body[data-page="about"] .feature-tile h3,
body[data-page="about"] #colonia-del-valle h2,
body[data-page="about"] .strategic-goal h2 {
  color: #241509 !important;
  text-shadow: none !important;
}

/* Easier admin reading: expandable cards. */
.admin-expand-card {
  background: #fffaf0;
  border: 3px solid #0d0d0d;
  border-radius: 1rem;
  box-shadow: 0.3rem 0.3rem 0 rgba(0,0,0,.28);
  margin: 0 0 0.8rem;
  overflow: hidden;
}
.admin-expand-card summary {
  cursor: pointer;
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.9rem 1rem;
  color: #17120b;
}
.admin-expand-card summary::-webkit-details-marker { display: none; }
.admin-expand-card summary::before {
  content: '+';
  width: 1.8rem;
  height: 1.8rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--fa-green);
  color: var(--fa-yellow-soft);
  border: 2px solid #0d0d0d;
  font-weight: 900;
  grid-row: 1;
}
.admin-expand-card[open] summary::before { content: '–'; }
.admin-expand-card summary strong,
.admin-expand-card summary span,
.admin-expand-card summary small { min-width: 0; }
.admin-expand-body {
  border-top: 3px solid #0d0d0d;
  padding: 1rem;
  color: #17120b;
}
.admin-detail-row {
  display: grid;
  grid-template-columns: minmax(8rem, .35fr) minmax(0, 1fr);
  gap: .75rem;
  padding: .45rem 0;
  border-bottom: 1px solid rgba(13,13,13,.18);
}
.admin-detail-row strong { text-transform: capitalize; }
.admin-reply-form {
  display: grid;
  gap: .75rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 3px dashed var(--fa-green);
  border-radius: 1rem;
  background: rgba(95,125,31,.12);
}
.admin-send-update {
  display: flex !important;
  align-items: center;
  gap: .55rem;
  padding: .75rem;
  border: 3px solid #0d0d0d;
  border-radius: .9rem;
  background: rgba(169, 216, 232, .22);
  font-weight: 900;
}
.admin-send-update input { width: auto; }

@media (max-width: 980px) {
  .page-hero,
  .split-hero,
  .donation-grid,
  .cards-large,
  .checkout-grid,
  .map-grid,
  .admin-grid {
    grid-template-columns: 1fr !important;
  }
  .page-hero,
  .section-pad {
    width: min(100% - 24px, var(--max));
  }
  .page-hero {
    padding-left: 12px;
    padding-right: 12px;
  }
  .admin-tabs {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: .35rem;
  }
  .admin-tab {
    flex: 0 0 auto;
  }
}

@media (max-width: 680px) {
  .section-pad {
    width: calc(100% - 20px);
    padding-block: clamp(30px, 9vw, 54px);
  }
  h1 { font-size: clamp(2.8rem, 17vw, 4.7rem); }
  h2 { font-size: clamp(2rem, 12vw, 3.4rem); }
  h3 { font-size: clamp(1.45rem, 8vw, 2.3rem); }
  .lead { font-size: 1rem; }
  .amount-grid,
  .form-grid {
    grid-template-columns: 1fr !important;
  }
  .admin-expand-card summary {
    grid-template-columns: 1.8rem minmax(0, 1fr);
  }
  .admin-expand-card summary span,
  .admin-expand-card summary small {
    grid-column: 2;
  }
  .admin-detail-row {
    grid-template-columns: 1fr;
    gap: .15rem;
  }
  .live-edit-bar {
    left: max(.75rem, env(safe-area-inset-left)) !important;
    right: max(.75rem, env(safe-area-inset-right)) !important;
    bottom: calc(.75rem + env(safe-area-inset-bottom)) !important;
    max-width: calc(100vw - 1.5rem);
  }
}

@supports (-webkit-touch-callout: none) {
  .event-float,
  .utility-float {
    background: rgba(8, 6, 4, 0.92) !important;
    border-color: rgba(255, 243, 174, 0.78) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}

/* 038: prevent mobile overflow and polish account threads */
html, body { max-width: 100%; overflow-x: clip; }
main, section, .section-pad, .page-hero, .split-hero, .donation-grid, .form-grid, .amount-grid { min-width: 0; }
img, video, iframe { max-width: 100%; }
.page-hero > *, .split-hero > *, .donation-card, .copy-card, .form-panel { min-width: 0; }
.donation-card input, .donation-card select, .donation-card button, .form-panel input, .form-panel select, .form-panel textarea { max-width: 100%; }
.account-expand {
  border: 3px solid var(--fa-ink);
  border-radius: 1rem;
  background: rgba(255,250,240,.95);
  color: var(--fa-ink);
  margin-block: .75rem;
  overflow: hidden;
}
.account-expand summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding: .9rem 1rem;
  cursor: pointer;
  background: #e7f3f6;
}
.account-expand summary span { display: grid; gap: .2rem; }
.account-expand summary small { color: #392714; }
.account-expand > *:not(summary) { margin-inline: 1rem; }
.account-soft-box {
  background: #fff3ae;
  border: 2px solid var(--fa-ink);
  border-radius: .85rem;
  padding: .85rem;
  margin-block: .8rem;
}
.thread-reply textarea { width: 100%; }
.badge.warn { background: #9b2f27; color: #fff8df; }
@media (max-width: 760px) {
  .page-hero,
  .split-hero,
  .donation-grid,
  .account-switch-layout { grid-template-columns: 1fr !important; }
  .page-hero { padding-left: 1rem; padding-right: 1rem; }
  .site-nav { max-width: 100vw; }
  .amount-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-cta { grid-template-columns: 1fr; text-align: center; }
}

/* 039: live-edit email/update toggles behave like real buttons. */
.live-edit-dialog .live-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: .55rem;
  width: fit-content;
  max-width: 100%;
  border: 3px solid var(--fa-ink, #0d0d0d);
  border-radius: 999px;
  background: var(--fa-sky-soft, #d5f0f7);
  color: #10252d;
  padding: .65rem .95rem;
  margin: .5rem 0 .8rem;
  box-shadow: .22rem .22rem 0 rgba(0,0,0,.28);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.live-edit-dialog .live-toggle:hover,
.live-edit-dialog .live-toggle:focus-visible {
  transform: translateY(-1px);
  box-shadow: .3rem .3rem 0 rgba(0,0,0,.32);
}
.live-edit-dialog .live-toggle.is-on {
  background: #4c7f35;
  color: #fff8df;
}
.live-edit-dialog .live-toggle .toggle-dot {
  width: 1.05rem;
  height: 1.05rem;
  border: 2px solid currentColor;
  border-radius: 999px;
  background: #fff8df;
  box-shadow: inset 0 0 0 .18rem #fff8df;
}
.live-edit-dialog .live-toggle.is-on .toggle-dot {
  background: var(--fa-sky, #a9d8e8);
}
.live-edit-dialog .live-toggle strong {
  border-left: 2px solid currentColor;
  padding-left: .55rem;
  margin-left: .15rem;
}

/* 041: friendlier user account dashboard and darker low-contrast text. */
body[data-page="account"] .page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid var(--fa-ink, #111);
  background:
    radial-gradient(circle at 12% 18%, rgba(169, 220, 232, .45), transparent 28rem),
    linear-gradient(135deg, #fff3ae 0%, #f4e6c1 48%, #d5f0f7 100%);
}
body[data-page="account"] .page-hero::after {
  content: "";
  position: absolute;
  right: clamp(1rem, 6vw, 5rem);
  bottom: -2.2rem;
  width: clamp(6rem, 18vw, 13rem);
  aspect-ratio: 1;
  background: url('../img/star-logo.webp') center/contain no-repeat;
  opacity: .16;
  transform: rotate(-10deg);
  pointer-events: none;
}
body[data-page="account"] .page-hero .eyebrow,
body[data-page="account"] .page-hero .lead,
body[data-page="account"] .copy-card p,
body[data-page="account"] .copy-card small,
body[data-page="account"] .form-panel p,
body[data-page="account"] label,
body[data-page="account"] .receipt-item small,
body[data-page="account"] .account-expand summary small {
  color: #24170d;
}
body[data-page="account"] .account-switch-layout {
  max-width: 1240px;
  margin-inline: auto;
  align-items: stretch;
}
body[data-page="account"] .auth-panel,
body[data-page="account"] .copy-card {
  border: 4px solid var(--fa-ink, #111);
  border-radius: 1.35rem;
  box-shadow: .55rem .55rem 0 rgba(0,0,0,.24);
}
body[data-page="account"] .auth-panel {
  background: #fff8df;
}
body[data-page="account"] .copy-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,248,223,.95)),
    radial-gradient(circle at top right, rgba(169,220,232,.65), transparent 18rem);
  padding: clamp(1rem, 2vw, 1.35rem);
}
body[data-page="account"] .auth-tabs button.active {
  background: #d5f0f7;
  color: #10252d;
  box-shadow: inset 0 -.35rem 0 rgba(0,0,0,.16);
}
body[data-page="account"] .auth-tabs button:not(.active) {
  color: #fff8df;
}
body[data-page="account"] .account-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin: .75rem 0 1rem;
}
.account-welcome {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #102016;
}
.account-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem;
  margin: 1rem 0 1.2rem;
}
.account-overview article {
  border: 3px solid var(--fa-ink, #111);
  border-radius: 1rem;
  background: linear-gradient(135deg, #d5f0f7, #fff3ae);
  box-shadow: .28rem .28rem 0 rgba(0,0,0,.22);
  padding: .9rem;
  min-width: 0;
}
.account-overview span {
  display: block;
  color: #25331d;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 950;
}
.account-overview strong {
  display: block;
  color: #0d0d0d;
  font-size: clamp(1.1rem, 2.4vw, 1.65rem);
  line-height: 1;
  margin-top: .35rem;
  overflow-wrap: anywhere;
}
.account-section {
  border: 4px solid var(--fa-ink, #111);
  border-radius: 1.25rem;
  background: rgba(255, 248, 223, .94);
  box-shadow: .45rem .45rem 0 rgba(0,0,0,.2);
  margin: 1rem 0;
  overflow: hidden;
}
.account-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, #273f24, #486b38);
  color: #fff8df;
}
.account-section-head h3 {
  margin: 0;
  color: #fff8df;
  font-size: clamp(1.35rem, 3vw, 2.15rem);
}
.account-section-head small {
  display: block;
  color: #f9efcf;
  font-weight: 800;
  margin-top: .2rem;
}
.account-kicker {
  display: inline-flex;
  margin: 0 0 .35rem;
  padding: .2rem .55rem;
  border: 2px solid #0d0d0d;
  border-radius: 999px;
  background: #d5f0f7;
  color: #0d0d0d !important;
  font-size: .68rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.account-count {
  flex: 0 0 auto;
  border: 3px solid #0d0d0d;
  border-radius: 999px;
  background: #fff3ae;
  color: #0d0d0d;
  padding: .45rem .75rem;
  box-shadow: .2rem .2rem 0 rgba(0,0,0,.2);
  white-space: nowrap;
}
.account-section-body {
  padding: .85rem;
}
.account-card.account-expand {
  border-width: 3px;
  border-radius: 1rem;
  background: #fffaf0;
  box-shadow: .2rem .2rem 0 rgba(0,0,0,.12);
}
.account-card.account-expand summary {
  min-height: 4.25rem;
  background: linear-gradient(135deg, #edf7f9, #fff3ae);
  color: #0d0d0d;
}
.account-card.account-expand summary strong {
  color: #0d0d0d;
  font-size: 1.05rem;
}
.account-card.account-expand summary b {
  border: 2px solid #0d0d0d;
  border-radius: 999px;
  background: #274622;
  color: #fff8df;
  padding: .35rem .65rem;
  white-space: nowrap;
}
.account-card[open] summary {
  border-bottom: 3px solid #0d0d0d;
}
.account-card summary::-webkit-details-marker {
  display: none;
}
.account-card summary::before {
  content: "+";
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  flex: 0 0 auto;
  border: 2px solid #0d0d0d;
  border-radius: 999px;
  background: #d5f0f7;
  color: #0d0d0d;
  font-weight: 950;
}
.account-card[open] summary::before {
  content: "–";
  background: #fff3ae;
}
.account-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  margin: .85rem 1rem 1rem;
}
.account-soft-box {
  color: #0d0d0d;
  background: #fff6df;
  border-color: #0d0d0d;
  box-shadow: .18rem .18rem 0 rgba(0,0,0,.14);
}
.account-soft-box h4 {
  margin: 0 0 .35rem;
  color: #172615;
}
.account-soft-box p,
.account-soft-box small,
.detail-line span,
.detail-line strong {
  color: #0d0d0d;
}
.detail-line {
  display: grid;
  grid-template-columns: minmax(7rem, .5fr) 1fr;
  gap: .75rem;
  padding: .55rem 0;
  border-bottom: 1px dashed rgba(0,0,0,.26);
}
.detail-line:last-child {
  border-bottom: 0;
}
.detail-line span {
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .72rem;
}
.receipt-items {
  display: grid;
  gap: .75rem;
  margin: 1rem;
}
.polished-line-item {
  border: 2px solid #0d0d0d;
  border-radius: .95rem;
  background: #fff8df;
  box-shadow: .16rem .16rem 0 rgba(0,0,0,.12);
}
.polished-line-item strong {
  color: #102016;
}
.item-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: .35rem 0;
}
.item-pills span {
  display: inline-flex;
  border: 2px solid #0d0d0d;
  border-radius: 999px;
  background: #d5f0f7;
  color: #0d0d0d;
  padding: .2rem .5rem;
  font-size: .75rem;
  font-weight: 900;
}
.thread-list {
  display: grid;
  gap: .75rem;
  margin: 1rem;
}
.thread-bubble {
  max-width: min(44rem, 100%);
  border: 3px solid #0d0d0d;
  border-radius: 1rem;
  padding: .8rem;
  color: #0d0d0d;
  box-shadow: .18rem .18rem 0 rgba(0,0,0,.12);
}
.thread-bubble p,
.thread-bubble small,
.thread-bubble strong {
  color: #0d0d0d;
}
.thread-bubble.user {
  justify-self: end;
  background: #d5f0f7;
}
.thread-bubble.admin {
  justify-self: start;
  background: #fff3ae;
}
.thread-reply {
  margin: 1rem;
  padding: .9rem;
  border: 3px solid #0d0d0d;
  border-radius: 1rem;
  background: #fff8df;
}
.thread-reply label {
  color: #0d0d0d;
  font-weight: 950;
}
.thread-reply textarea {
  margin-top: .4rem;
  min-height: 6rem;
  color: #0d0d0d;
  background: #fffdf5;
}
.account-empty,
.account-empty-small {
  color: #1c2519;
  font-weight: 800;
  margin: .75rem 0;
}
body[data-page="account"] [data-shipping-form] {
  border: 4px solid #0d0d0d;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #fff3ae, #fff8df);
  padding: 1rem;
  box-shadow: .35rem .35rem 0 rgba(0,0,0,.16);
  margin-bottom: 1rem;
}
body[data-page="account"] [data-shipping-form] h3 {
  color: #172615;
  margin-top: 0;
}
body[data-page="account"] input,
body[data-page="account"] textarea,
body[data-page="account"] select {
  color: #0d0d0d;
  background: #fffdf5;
}
@media (max-width: 920px) {
  .account-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .account-info-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  body[data-page="account"] .account-switch-layout {
    padding-left: .85rem;
    padding-right: .85rem;
  }
  .account-overview {
    grid-template-columns: 1fr;
  }
  .account-section-head,
  .account-card.account-expand summary {
    align-items: flex-start;
    flex-direction: column;
  }
  .account-count,
  .account-card.account-expand summary b {
    white-space: normal;
  }
  .detail-line {
    grid-template-columns: 1fr;
    gap: .15rem;
  }
  .receipt-items,
  .account-info-grid,
  .thread-list,
  .thread-reply {
    margin-inline: .65rem;
  }
}


/* 042: live message read/unread tracking and softer text on green panels. */
.message-thread.is-unread {
  border-color: var(--fa-blue-deep, #315f70);
  box-shadow: .28rem .28rem 0 rgba(49,95,112,.35);
}
.message-thread.is-unread summary {
  background: linear-gradient(135deg, #d5f0f7, #fff8df 62%, #fff3ae);
}
.message-thread.is-unread summary strong::after {
  content: " new";
  display: inline-flex;
  margin-left: .45rem;
  padding: .12rem .42rem;
  border: 2px solid #0d0d0d;
  border-radius: 999px;
  background: var(--fa-blue, #6f9eb0);
  color: #fff8df;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  vertical-align: middle;
}
.message-status-pill.unread {
  background: var(--fa-blue-deep, #315f70) !important;
  color: #fff8df !important;
}
.message-status-pill.read {
  background: #fff3ae !important;
  color: #203a1f !important;
}
.thread-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: .85rem 1rem 0;
}
.thread-meta span {
  display: inline-flex;
  border: 2px solid #0d0d0d;
  border-radius: 999px;
  background: #e7f3f6;
  color: #17332f;
  padding: .25rem .55rem;
  font-weight: 900;
  font-size: .78rem;
}
/* The green panels still stay branded, but the text is softened so it is not heavy black. */
.utility-grid-home a h2,
.utility-grid-home a p,
.utility-section h2,
.utility-section p,
.utility-section li,
.cards article h2,
.cards article h3,
.cards article p,
.feature-tile h2,
.feature-tile h3,
.feature-tile p {
  color: #2f3b25;
}
.produce-strip.big span:nth-child(even),
.utility-grid-home a,
.cards article,
.feature-tile {
  color: #2f3b25;
}
.zine-row > div p,
.zine-row > div li,
.utility-cta p,
.utility-cta li,
.utility-cta span,
.utility-cta label {
  color: #f4f0dc;
  text-shadow: 0 1px 0 rgba(0,0,0,.22);
}

/* 043: account/layout polish, iOS blue-square cleanup, and footer/star tweaks. */
* {
  -webkit-tap-highlight-color: transparent;
}
button,
a,
summary,
input,
textarea,
select {
  -webkit-tap-highlight-color: rgba(169,216,232,.22);
}
@supports (-webkit-touch-callout: none) {
  body:not(.live-editing) .live-edit-bar:empty,
  body:not(.live-editing) [data-live-edit-ui]:empty,
  body:not(.live-editing) .live-edit-modal:empty {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }
  .toast:not(.show) {
    opacity: 0 !important;
    pointer-events: none !important;
  }
}
.footer-cta img {
  background: var(--fa-green, #4c7f35) !important;
  border: 4px solid var(--fa-ink, #111);
}
@media (min-width: 880px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, .86fr);
    display: grid;
    align-items: start;
  }
  .footer-grid .inline-form {
    justify-self: start;
    max-width: 28rem;
    margin-left: clamp(-1.5rem, -2vw, -.5rem);
  }
  .footer-grid .inline-form h3,
  .footer-grid .inline-form strong {
    word-break: normal;
    overflow-wrap: normal;
  }
}
body[data-page="account"] .page-hero h1,
body[data-page="account"] .page-hero .eyebrow {
  color: #172615 !important;
  text-shadow: none;
}
body[data-page="account"] .page-hero .lead {
  color: #26341d !important;
}
body[data-page="account"] .account-section-head,
body[data-page="account"] .account-section-head h3,
body[data-page="account"] .account-section-head small {
  color: #fff6df !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.32);
}
body[data-page="account"] .account-section-head {
  background: linear-gradient(135deg, #29431f, #4f7937) !important;
}
body[data-page="account"] .account-kicker,
body[data-page="account"] .account-count,
body[data-page="account"] .account-card.account-expand summary b {
  color: #182414 !important;
}
body[data-page="account"] .account-card.account-expand summary {
  color: #182414 !important;
}
@media (min-width: 980px) {
  body[data-page="account"] [data-account-tools] {
    display: grid;
    grid-template-columns: minmax(18rem, .85fr) minmax(0, 1.35fr);
    gap: 1rem;
    align-items: start;
  }
  body[data-page="account"] .account-actions,
  body[data-page="account"] [data-latest-receipt],
  body[data-page="account"] [data-account-overview] {
    grid-column: 1 / -1;
  }
  body[data-page="account"] [data-shipping-form] {
    grid-column: 1;
    grid-row: 4 / span 4;
    position: sticky;
    top: 6rem;
  }
  body[data-page="account"] [data-order-history],
  body[data-page="account"] [data-donation-history],
  body[data-page="account"] [data-signup-history],
  body[data-page="account"] [data-message-history] {
    grid-column: 2;
  }
}

/* foodarmy-045: let the Events page grow to unlimited event cards cleanly */
.current-event .event-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1rem;
  align-content: start;
  width: 100%;
  max-width: 100%;
}
.current-event .event-card {
  min-width: 0;
  height: 100%;
}
@media (max-width: 900px) {
  .current-event {
    grid-template-columns: 1fr;
  }
}


/* 048: event live-edit repair and visible event-card controls */
body[data-page="community-events"].live-editing .event-card.live-draggable-card { position: relative; }
body[data-page="community-events"].live-editing:not(.admin-live-edit-paused) .event-card .live-event-controls { display: flex; }
body[data-page="community-events"].live-editing .event-card { min-height: 12rem; }
.live-edit-bar [data-repair-events-page] { background: #79cade; color: #11140f; }
.event-empty-placeholder { grid-column: 1 / -1; }

/* 047: event live-edit safety and primary add-event action */
.live-edit-bar .live-primary-action,
.live-edit-modal [data-event-save] {
  font-weight: 900;
}
body[data-page="community-events"] .event-list,
.current-event .event-list {
  align-items: stretch;
}
.current-event .event-list:empty::before {
  content: 'No events yet. Use Add event tile to place one here.';
  display: block;
  padding: 1rem;
  border: 2px dashed rgba(121, 202, 222, .75);
  border-radius: 18px;
  color: #2e3a1f;
  background: rgba(245, 239, 211, .7);
}

/* 050: Footer Join updates button cleanup. Keep the block in its natural desktop position
   and prevent the word "Join" from splitting inside the button. */
.footer-grid .inline-form {
  margin-left: 0 !important;
}
.footer-grid .inline-form div {
  display: flex;
  align-items: stretch;
  gap: .65rem;
  width: 100%;
}
.footer-grid .inline-form input {
  min-width: 0;
  flex: 1 1 auto;
}
.footer-grid .inline-form .button,
.footer-grid .inline-form button {
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  min-width: 6.75rem;
  flex: 0 0 auto;
  padding-left: 1.15rem;
  padding-right: 1.15rem;
}
@media (min-width: 880px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(24rem, .9fr);
  }
  .footer-grid .inline-form {
    justify-self: end !important;
    max-width: 32rem;
  }
}
@media (max-width: 520px) {
  .footer-grid .inline-form div {
    display: grid;
  }
  .footer-grid .inline-form button {
    width: 100%;
  }
}


/* 053: one-click per-page CMS reset for logged-in admins */
.live-edit-bar .live-reset-defaults {
  position: fixed;
  right: clamp(0.85rem, 2vw, 1.4rem);
  bottom: clamp(0.85rem, 2vw, 1.4rem);
  z-index: 100020;
  background: #b91f1f !important;
  color: #fff8e5 !important;
  border: 2px solid #fff0c9 !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.34), 0 0 0 4px rgba(185,31,31,.18);
  border-radius: 999px;
  min-width: max-content;
  white-space: nowrap;
  font-weight: 900;
  letter-spacing: .02em;
}
.live-edit-bar .live-reset-defaults:hover,
.live-edit-bar .live-reset-defaults:focus-visible {
  background: #8f1414 !important;
  transform: translateY(-1px);
}
@media (max-width: 720px) {
  .live-edit-bar .live-reset-defaults {
    right: .7rem;
    bottom: .7rem;
    padding: .72rem .88rem;
    font-size: .82rem;
  }
}

/* 054: professional visual overhaul — same Food Army palette, more serious presentation. */
:root {
  --fa-prof-ink: #15120d;
  --fa-prof-brown: #332319;
  --fa-prof-green: #2f4f26;
  --fa-prof-green-2: #486f34;
  --fa-prof-cream: #f6edd7;
  --fa-prof-paper: #fff8e6;
  --fa-prof-sky: #a9d8e8;
  --fa-prof-sky-deep: #356b7a;
}

html, body,
body p, body li, body label, body input, body select, body textarea,
.lead, .copy-card p, .feature-tile p, .harvest-board p, .donation-card p,
.form-panel p, .cart-summary p, .event-card p, .product-card p, .account-panel p,
.utility-copy p, .utility-copy li, .site-footer p, .footer-cta span {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  letter-spacing: 0;
  line-height: 1.62;
}

h1,
.hero h1,
.page-hero h1,
.split-hero h1 {
  font-family: "FA Bebas", "FA Black Ops", Impact, "Arial Narrow Bold", system-ui, sans-serif !important;
  font-size: clamp(3.15rem, 8.4vw, 7.25rem);
  line-height: .94;
  letter-spacing: .035em;
  text-transform: uppercase;
  color: var(--fa-prof-paper) !important;
  text-shadow: 0 3px 0 rgba(0,0,0,.28) !important;
  max-width: 12ch;
}

h2,
h3,
.copy-card h2,
.feature-tile h2,
.feature-tile h3,
.harvest-board h2,
.donation-card h2,
.form-panel h2,
.cart-summary h2,
.event-card h2,
.product-card h3,
.utility-copy h2,
.utility-grid h2,
.mission-home h2,
.coming-soon-band h2 {
  font-family: "FA Bebas", "FA Black Ops", Impact, "Arial Narrow Bold", system-ui, sans-serif !important;
  letter-spacing: .04em;
  line-height: 1;
  color: var(--fa-prof-brown);
  text-shadow: none;
}

.site-nav a,
.nav-toggle em,
.button,
.chip,
.badge,
.product-card .price,
.cart-item button,
.lightbox button,
.auth-tabs button,
.amount-grid button,
.admin-tab,
.admin-pill {
  font-family: "FA Bebas", "FA Black Ops", Impact, "Arial Narrow Bold", system-ui, sans-serif !important;
  letter-spacing: .055em;
}

.eyebrow,
.produce-strip span,
.utility-float a,
.feature-tile span,
.utility-grid span,
.footer-cta strong,
.brand-wordmark,
.coming-soon-stamp,
.movement-stat strong {
  font-family: "FA Bebas", "FA Black Ops", Impact, "Arial Narrow Bold", system-ui, sans-serif !important;
  letter-spacing: .075em;
}

body {
  background:
    radial-gradient(circle at 14% 4%, rgba(169,216,232,.22), transparent 18rem),
    linear-gradient(180deg, #253f24 0%, #5f7d31 34%, #243916 72%, #17120d 100%) !important;
}

.page-hero,
.hero,
.split-hero.garden-hero {
  background:
    linear-gradient(135deg, rgba(28,50,24,.96), rgba(54,107,122,.70)),
    linear-gradient(180deg, rgba(255,246,223,.06), rgba(0,0,0,.16)) !important;
  border-bottom: 4px solid rgba(169,216,232,.85) !important;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.12), 0 12px 32px rgba(0,0,0,.18);
}

.page-hero::before,
.hero::before,
.split-hero.garden-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: .38;
  mix-blend-mode: soft-light;
}

.hero-copy,
.page-hero > div:first-child,
.split-hero > div:first-child {
  background: rgba(19, 31, 17, .64) !important;
  border: 1px solid rgba(169,216,232,.55) !important;
  border-radius: .55rem !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.22) !important;
  outline: 0 !important;
}

.page-hero .lead,
.hero .lead,
.split-hero .lead,
.hero-copy p,
.page-hero > div:first-child p,
.split-hero > div:first-child p {
  color: #f6edd7 !important;
  font-size: clamp(1.02rem, 1.55vw, 1.26rem) !important;
  text-shadow: none !important;
  max-width: 62ch;
}

.eyebrow {
  background: rgba(169,216,232,.14) !important;
  border: 1px solid rgba(169,216,232,.64) !important;
  color: #d5f0f7 !important;
  border-radius: 999px !important;
  padding: .36rem .82rem !important;
  text-shadow: none !important;
}

.copy-card,
.feature-tile,
.harvest-board,
.donation-card,
.form-panel,
.cart-summary,
.product-card,
.event-card,
.account-panel,
.account-grid form,
.cart-item,
.utility-copy,
.utility-grid a,
.map-grid article,
.cards article {
  border-width: 2px !important;
  border-color: rgba(21,18,13,.88) !important;
  border-radius: .72rem !important;
  box-shadow: 0 14px 28px rgba(0,0,0,.18) !important;
  outline: 1px solid rgba(169,216,232,.18) !important;
  outline-offset: -7px !important;
}

.button,
.chip,
button.button,
a.button {
  border-width: 2px !important;
  border-radius: .45rem !important;
  box-shadow: 0 6px 0 rgba(21,18,13,.84) !important;
  text-transform: uppercase;
}

.button:hover,
.chip:hover,
.site-nav a:hover,
.site-nav a.active {
  letter-spacing: .055em !important;
}

.site-header,
.site-footer {
  background: linear-gradient(90deg, #152514, #243916 52%, #152514) !important;
  border-color: rgba(169,216,232,.4) !important;
}

.site-nav a {
  border-radius: .35rem !important;
}

.hero-art > img:first-child,
.media-card,
.zine-row img,
.hero-art img,
.split img,
.donation-grid img,
.product-card img,
.cart-item img,
.admin-image-preview img {
  border-width: 3px !important;
  border-radius: .45rem !important;
  box-shadow: 0 15px 30px rgba(0,0,0,.22) !important;
  filter: saturate(1.03) contrast(1.03) brightness(.98) !important;
}

/* Account page: remove playful star watermark and make hero feel like a secure dashboard. */
body[data-page="account"] .page-hero {
  background:
    linear-gradient(135deg, #f6edd7 0%, #d5f0f7 54%, #b9d9d6 100%) !important;
  border-bottom: 4px solid #356b7a !important;
  color: #172615 !important;
}
body[data-page="account"] .page-hero::before {
  opacity: .18;
  mix-blend-mode: multiply;
}
body[data-page="account"] .page-hero::after {
  display: none !important;
}
body[data-page="account"] .page-hero h1 {
  color: #172615 !important;
  text-shadow: none !important;
  max-width: 14ch;
}
body[data-page="account"] .page-hero .lead,
body[data-page="account"] .page-hero .eyebrow {
  color: #26341d !important;
}
body[data-page="account"] .page-hero .eyebrow {
  background: rgba(47,79,38,.10) !important;
  border-color: rgba(47,79,38,.55) !important;
}
body[data-page="account"] .auth-panel,
body[data-page="account"] .copy-card,
body[data-page="account"] .account-panel,
body[data-page="account"] .account-card,
body[data-page="account"] .account-expand {
  border-radius: .75rem !important;
  box-shadow: 0 12px 26px rgba(0,0,0,.16) !important;
}

/* Keep the brand accents, but make decorative strips more restrained. */
.produce-strip span,
.utility-strip a,
.feature-tile span,
.badge,
.event-card time {
  border-radius: .38rem !important;
  box-shadow: none !important;
}

@media (max-width: 760px) {
  h1,
  .hero h1,
  .page-hero h1,
  .split-hero h1 {
    font-size: clamp(2.75rem, 15vw, 4.8rem) !important;
    line-height: .96;
    max-width: 11.5ch;
  }
  .page-hero,
  .hero,
  .split-hero.garden-hero {
    padding-top: clamp(2.2rem, 8vw, 4rem) !important;
    padding-bottom: clamp(2.2rem, 8vw, 4rem) !important;
  }
}

/* 054 professional visual pass: restrained, serious Food Army brand without visible section outlines */
:root {
  --fa-pro-ink: #172116;
  --fa-pro-muted: #38452e;
  --fa-pro-surface: #f4ead0;
  --fa-pro-surface-2: #e7d8ad;
  --fa-pro-green: #263f22;
  --fa-pro-green-2: #415f2b;
  --fa-pro-blue: #8fc5d6;
  --fa-pro-blue-deep: #315f70;
  --fa-pro-shadow: 0 18px 44px rgba(20, 24, 15, .18);
  --fa-pro-soft-shadow: 0 10px 26px rgba(20, 24, 15, .12);
}

body {
  color: var(--fa-pro-ink) !important;
  background:
    radial-gradient(circle at 10% 0%, rgba(143,197,214,.22), transparent 22rem),
    linear-gradient(180deg, #22391f 0%, #5f7d31 42%, #263f22 76%, #161d12 100%) !important;
}

body::before {
  opacity: .10 !important;
}

body:not([data-page="admin"]) main > section {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

h1,
h2,
h3,
.hero h1,
.page-hero h1,
.split-hero h1,
.section-head h2,
.copy-card h2,
.event-card h2,
.product-card h2,
.account-panel h2,
.form-panel h2,
.donation-card h2,
.cart-summary h2 {
  font-family: "FA Bebas", "FoodArmyBebas", "FA Black Ops", Impact, "Arial Narrow Bold", system-ui, sans-serif !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  text-shadow: none !important;
  font-weight: 800 !important;
}

.hero h1,
.page-hero h1,
.split-hero h1 {
  color: #f7f0d9 !important;
  line-height: .94 !important;
  max-width: 13ch;
  text-wrap: balance;
}

.section-head h2,
.copy-card h2,
.feature-tile h2,
.harvest-board h2,
.product-card h2,
.event-card h2,
.form-panel h2,
.donation-card h2,
.cart-summary h2,
.account-panel h2,
.utility-copy h2,
.utility-grid a h2,
.map-grid h2,
.cards h2 {
  color: #23311d !important;
}

.page-hero,
.hero,
.split-hero.garden-hero {
  background:
    linear-gradient(135deg, rgba(24,40,22,.97), rgba(49,95,112,.62)),
    linear-gradient(180deg, rgba(247,240,217,.07), rgba(0,0,0,.18)) !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: inset 0 -18px 36px rgba(0,0,0,.14), 0 18px 48px rgba(0,0,0,.16) !important;
}

.page-hero::before,
.hero::before,
.split-hero.garden-hero::before {
  opacity: .16 !important;
  background:
    radial-gradient(circle at 18% 20%, rgba(143,197,214,.28), transparent 14rem),
    linear-gradient(110deg, rgba(255,255,255,.055), transparent 45%) !important;
  background-size: auto !important;
  mix-blend-mode: screen !important;
}

.hero-copy,
.page-hero > div:first-child,
.split-hero > div:first-child {
  background: rgba(17, 29, 16, .50) !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: .8rem !important;
  box-shadow: 0 24px 60px rgba(0,0,0,.20) !important;
  backdrop-filter: blur(2px);
}

.hero-copy p,
.page-hero p,
.split-hero p,
.page-hero .lead,
.hero .lead,
.split-hero .lead {
  color: #f4ead0 !important;
  text-shadow: none !important;
  font-weight: 600 !important;
}

.eyebrow,
.badge,
.event-card time,
.produce-strip span,
.utility-strip a,
.feature-tile span,
.mini-note {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  border-radius: 999px !important;
  text-shadow: none !important;
}

.eyebrow {
  background: rgba(143,197,214,.16) !important;
  color: #dff7ff !important;
  font-family: "FA Bebas", "FoodArmyBebas", system-ui, sans-serif !important;
  letter-spacing: .12em !important;
}

body:not([data-page="admin"]) .copy-card,
body:not([data-page="admin"]) .feature-tile,
body:not([data-page="admin"]) .harvest-board,
body:not([data-page="admin"]) .donation-card,
body:not([data-page="admin"]) .form-panel,
body:not([data-page="admin"]) .cart-summary,
body:not([data-page="admin"]) .product-card,
body:not([data-page="admin"]) .event-card,
body:not([data-page="admin"]) .account-panel,
body:not([data-page="admin"]) .account-card,
body:not([data-page="admin"]) .account-expand,
body:not([data-page="admin"]) .account-grid form,
body:not([data-page="admin"]) .cart-item,
body:not([data-page="admin"]) .utility-copy,
body:not([data-page="admin"]) .utility-grid a,
body:not([data-page="admin"]) .map-grid article,
body:not([data-page="admin"]) .cards article,
body:not([data-page="admin"]) .auth-panel {
  border: 0 !important;
  outline: 0 !important;
  border-radius: .95rem !important;
  background: linear-gradient(180deg, rgba(247,240,217,.98), rgba(231,216,173,.96)) !important;
  box-shadow: var(--fa-pro-soft-shadow) !important;
}

body:not([data-page="admin"]) .section-head,
body:not([data-page="admin"]) .content-block,
body:not([data-page="admin"]) .split,
body:not([data-page="admin"]) .grid,
body:not([data-page="admin"]) .cards,
body:not([data-page="admin"]) .event-grid,
body:not([data-page="admin"]) .product-grid,
body:not([data-page="admin"]) .utility-grid,
body:not([data-page="admin"]) .account-dashboard,
body:not([data-page="admin"]) .account-layout {
  outline: 0 !important;
}

body:not([data-page="admin"]) .section-pad:nth-of-type(even) {
  background: rgba(244,234,208,.08) !important;
  border-radius: 1.2rem;
}

body:not([data-page="admin"]) .section-pad:nth-of-type(odd) {
  background: rgba(23,33,22,.045) !important;
  border-radius: 1.2rem;
}

.button,
.chip,
button.button,
a.button,
input[type="submit"] {
  border: 0 !important;
  outline: 0 !important;
  border-radius: .42rem !important;
  box-shadow: 0 8px 18px rgba(20,24,15,.18) !important;
  letter-spacing: .075em !important;
  text-shadow: none !important;
}

.button:hover,
.chip:hover,
button.button:hover,
a.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(20,24,15,.22) !important;
}

.button-ghost,
.chip {
  background: rgba(143,197,214,.18) !important;
  color: #182815 !important;
}

.site-header,
.site-footer {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.18) !important;
  background: linear-gradient(90deg, #142313, #263f22 52%, #142313) !important;
}

.site-nav a {
  border: 0 !important;
  outline: 0 !important;
  text-shadow: none !important;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(143,197,214,.18) !important;
  color: #f7f0d9 !important;
}

.hero-art > img:first-child,
.media-card,
.zine-row img,
.hero-art img,
.split img,
.donation-grid img,
.product-card img,
.cart-item img,
.admin-image-preview img,
figure img,
figure video {
  border: 0 !important;
  outline: 0 !important;
  border-radius: .65rem !important;
  box-shadow: 0 18px 38px rgba(0,0,0,.20) !important;
}

.footer-cta,
.reclaim-bar,
.cta-band {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.18) !important;
}

/* Account page: serious dashboard hero, no playful star/background badge treatment. */
body[data-page="account"] .page-hero {
  background:
    linear-gradient(135deg, #eef2df 0%, #cfe7df 52%, #9fc8d5 100%) !important;
  color: #172116 !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.14) !important;
}
body[data-page="account"] .page-hero::before,
body[data-page="account"] .page-hero::after {
  display: none !important;
}
body[data-page="account"] .page-hero > div:first-child,
body[data-page="account"] .hero-copy {
  background: rgba(255,255,255,.44) !important;
  box-shadow: 0 18px 42px rgba(30,55,42,.13) !important;
}
body[data-page="account"] .page-hero h1 {
  color: #172116 !important;
  max-width: 16ch !important;
}
body[data-page="account"] .page-hero .lead,
body[data-page="account"] .page-hero p {
  color: #263722 !important;
}
body[data-page="account"] .page-hero .eyebrow {
  background: rgba(38,63,34,.10) !important;
  color: #263f22 !important;
}

/* Keep live editor affordances visible even though public section outlines are removed. */
.live-editing .live-edit-target,
.live-editing main > section:hover,
.live-editing .live-draggable-card:hover {
  outline: 2px dashed rgba(49,95,112,.75) !important;
  outline-offset: 4px !important;
}
.live-editing .live-edit-selected,
.is-live-editing {
  outline: 3px solid rgba(168,55,47,.95) !important;
  outline-offset: 4px !important;
}

@media (min-width: 900px) {
  .page-hero,
  .hero,
  .split-hero.garden-hero {
    min-height: clamp(440px, 54vh, 640px);
  }
  .section-pad {
    padding-top: clamp(4.5rem, 7vw, 7.5rem) !important;
    padding-bottom: clamp(4.5rem, 7vw, 7.5rem) !important;
  }
}

@media (max-width: 760px) {
  .hero h1,
  .page-hero h1,
  .split-hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.4rem) !important;
    line-height: .96 !important;
    max-width: 12ch !important;
  }
  .hero-copy,
  .page-hero > div:first-child,
  .split-hero > div:first-child {
    border-radius: .7rem !important;
  }
  body:not([data-page="admin"]) .copy-card,
  body:not([data-page="admin"]) .feature-tile,
  body:not([data-page="admin"]) .event-card,
  body:not([data-page="admin"]) .product-card,
  body:not([data-page="admin"]) .account-panel,
  body:not([data-page="admin"]) .form-panel {
    border-radius: .8rem !important;
  }
}

/* 055 contrast + mature produce/focus section refinement
   Keeps 054 branding but improves readability and replaces the playful produce-pill strip. */
:root {
  --fa-readable-light: #f7efd8;
  --fa-readable-soft: #eadfbd;
  --fa-readable-title: #fff4c6;
  --fa-sky-line: rgba(157, 211, 229, .34);
  --fa-surface-deep: rgba(18, 32, 17, .82);
}

/* Better contrast on dark green/deep brand areas. */
.site-footer,
.site-footer p,
.site-footer li,
.site-footer label,
.site-footer a,
.footer-cta,
.footer-cta p,
.footer-cta span,
.footer-cta li,
.footer-cta label,
.reclaim-bar,
.reclaim-bar p,
.reclaim-bar span,
.cta-band,
.cta-band p,
.cta-band span,
.hero-copy,
.hero-copy p,
.page-hero,
.page-hero p,
.split-hero.garden-hero,
.split-hero.garden-hero p,
.mission-home,
.mission-home p,
.current-event > .copy-card,
.current-event > .copy-card p,
.current-event > .copy-card li,
.coming-soon-band,
.coming-soon-band p,
.harvest-board,
.harvest-board p,
.harvest-board li {
  color: var(--fa-readable-light) !important;
}

.site-footer h1,
.site-footer h2,
.site-footer h3,
.footer-cta h1,
.footer-cta h2,
.footer-cta h3,
.reclaim-bar h1,
.reclaim-bar h2,
.reclaim-bar h3,
.cta-band h1,
.cta-band h2,
.cta-band h3,
.hero-copy h1,
.hero-copy h2,
.hero-copy h3,
.page-hero h1,
.page-hero h2,
.page-hero h3,
.split-hero.garden-hero h1,
.split-hero.garden-hero h2,
.split-hero.garden-hero h3,
.mission-home h1,
.mission-home h2,
.mission-home h3,
.current-event > .copy-card h1,
.current-event > .copy-card h2,
.current-event > .copy-card h3,
.coming-soon-band h1,
.coming-soon-band h2,
.coming-soon-band h3,
.harvest-board h1,
.harvest-board h2,
.harvest-board h3 {
  color: var(--fa-readable-title) !important;
  text-shadow: none !important;
}

/* Keep cream cards strong and readable while avoiding washed-out gray text. */
.copy-card:not(.hero-copy),
.feature-tile,
.product-card,
.event-card,
.form-panel,
.cart-summary,
.account-panel,
.account-card,
.account-expand,
.donation-card,
.utility-copy,
.utility-grid a,
.map-grid article,
.cards article {
  color: #1f2417 !important;
}
.copy-card:not(.hero-copy) p,
.feature-tile p,
.product-card p,
.event-card p,
.form-panel p,
.cart-summary p,
.account-panel p,
.account-card p,
.account-expand p,
.donation-card p,
.utility-copy p,
.utility-copy li,
.map-grid article p,
.cards article p {
  color: #303821 !important;
}
.copy-card:not(.hero-copy) small,
.feature-tile small,
.product-card small,
.event-card small,
.form-panel small,
.account-card small,
.account-expand small,
.receipt-item small,
.receipt-details p {
  color: #4d533a !important;
}

/* Account activity areas: lighter text only when sitting on green/dark surfaces; cards remain readable. */
body[data-page="account"] .account-section,
body[data-page="account"] .account-section-body {
  color: #23301d !important;
}
body[data-page="account"] .account-section-head {
  background: linear-gradient(135deg, rgba(39,63,34,.95), rgba(48,91,91,.86)) !important;
  color: var(--fa-readable-light) !important;
}
body[data-page="account"] .account-section-head h3,
body[data-page="account"] .account-section-head small,
body[data-page="account"] .account-kicker,
body[data-page="account"] .account-count {
  color: var(--fa-readable-light) !important;
}
body[data-page="account"] .account-card.account-expand summary {
  background: linear-gradient(135deg, #263f22, #345f5a) !important;
  color: var(--fa-readable-light) !important;
}
body[data-page="account"] .account-card.account-expand summary strong,
body[data-page="account"] .account-card.account-expand summary b,
body[data-page="account"] .account-card.account-expand summary small {
  color: var(--fa-readable-light) !important;
}

/* Fill sparse sections with better internal rhythm without adding cheap outlines. */
.section-pad {
  position: relative;
}
body:not([data-page="admin"]) .section-pad:not(.produce-strip) {
  padding-left: clamp(1rem, 4vw, 3rem) !important;
  padding-right: clamp(1rem, 4vw, 3rem) !important;
}
body:not([data-page="admin"]) .cards,
body:not([data-page="admin"]) .cards-large,
body:not([data-page="admin"]) .event-grid,
body:not([data-page="admin"]) .product-grid,
body:not([data-page="admin"]) .map-grid,
body:not([data-page="admin"]) .utility-grid,
body:not([data-page="admin"]) .account-dashboard {
  gap: clamp(1rem, 2.6vw, 2rem) !important;
}
body:not([data-page="admin"]) .copy-card,
body:not([data-page="admin"]) .feature-tile,
body:not([data-page="admin"]) .event-card,
body:not([data-page="admin"]) .product-card,
body:not([data-page="admin"]) .donation-card,
body:not([data-page="admin"]) .form-panel,
body:not([data-page="admin"]) .account-card,
body:not([data-page="admin"]) .account-panel,
body:not([data-page="admin"]) .utility-copy,
body:not([data-page="admin"]) .utility-grid a {
  padding: clamp(1.2rem, 2.5vw, 2rem) !important;
}

/* Completely restyle the old tomatoes/beans/squash strip into a professional focus rail. */
.produce-strip,
.produce-strip.big {
  width: min(1180px, calc(100% - 2rem));
  margin: clamp(1.25rem, 4vw, 2.75rem) auto !important;
  padding: clamp(1.2rem, 3vw, 2.35rem) !important;
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(.55rem, 1.3vw, 1rem) !important;
  align-items: stretch;
  justify-content: stretch !important;
  background:
    linear-gradient(135deg, rgba(242,232,204,.95), rgba(215,225,203,.90)),
    radial-gradient(circle at 12% 0%, rgba(157,211,229,.32), transparent 26rem) !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 1.25rem !important;
  box-shadow: 0 22px 48px rgba(17, 29, 16, .18) !important;
  overflow: hidden;
}
.produce-strip::before {
  content: "Growing priorities";
  grid-column: 1 / -1;
  display: block;
  margin: 0 0 .25rem;
  color: #2b4221;
  font-family: "FA Bebas", "FoodArmyBebas", Impact, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-size: clamp(1.05rem, 2.1vw, 1.55rem);
}
.produce-strip::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 5px;
  background: linear-gradient(90deg, #263f22, #89c6d8, #5f7d31);
  opacity: .9;
}
.produce-strip span,
.produce-strip.big span,
.produce-strip.big span:nth-child(even) {
  min-height: 5.5rem;
  display: flex !important;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1rem !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.20), transparent 42%),
    linear-gradient(135deg, #243916, #4f7731 72%) !important;
  color: #f7efd8 !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: .85rem !important;
  box-shadow: 0 12px 26px rgba(20,31,14,.18) !important;
  font-size: clamp(.95rem, 1.5vw, 1.22rem) !important;
  line-height: 1 !important;
  letter-spacing: .09em !important;
  text-shadow: none !important;
}
.produce-strip span::before {
  content: "" !important;
  width: .68rem;
  height: .68rem;
  margin: 0 .55rem .08rem 0;
  border-radius: 999px;
  background: #9dd3e5;
  box-shadow: 0 0 0 .22rem rgba(157,211,229,.16);
  flex: 0 0 auto;
}
.produce-strip span:nth-child(3n),
.produce-strip.big span:nth-child(3n) {
  background:
    linear-gradient(180deg, rgba(255,255,255,.18), transparent 42%),
    linear-gradient(135deg, #315f70, #263f22 72%) !important;
}
.produce-strip span:nth-child(4n),
.produce-strip.big span:nth-child(4n) {
  background:
    linear-gradient(180deg, rgba(255,255,255,.18), transparent 42%),
    linear-gradient(135deg, #392714, #5f7d31 76%) !important;
}

@media (max-width: 980px) {
  .produce-strip,
  .produce-strip.big {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .produce-strip,
  .produce-strip.big {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100% - 1rem, 580px);
    padding: 1rem !important;
  }
  .produce-strip span,
  .produce-strip.big span,
  .produce-strip.big span:nth-child(even) {
    min-height: 4.7rem;
    padding: .85rem !important;
  }
}

/* 056: Professional refinement pass: account layout, contrast, heroes, and media-capable priority rail. */
body[data-page="account"] .account-switch-layout {
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.58fr) !important;
  align-items: start !important;
}
body[data-page="account"] [data-account-tools] {
  display: grid !important;
  grid-template-columns: minmax(290px, .86fr) minmax(0, 1.3fr) !important;
  gap: clamp(1rem, 2vw, 1.4rem) !important;
  align-items: start !important;
}
body[data-page="account"] [data-account-overview],
body[data-page="account"] .account-actions,
body[data-page="account"] [data-latest-receipt] {
  grid-column: 1 / -1 !important;
}
body[data-page="account"] [data-shipping-form] {
  grid-column: 1 !important;
  grid-row: span 6 !important;
  align-self: stretch !important;
  background: linear-gradient(180deg, rgba(246,237,215,.98), rgba(221,232,205,.94)) !important;
  border-radius: 1rem !important;
  padding: clamp(1rem, 2vw, 1.3rem) !important;
  box-shadow: 0 16px 34px rgba(18, 28, 16, .14) !important;
}
body[data-page="account"] [data-order-history],
body[data-page="account"] [data-donation-history],
body[data-page="account"] [data-signup-history],
body[data-page="account"] [data-message-history] {
  grid-column: 2 !important;
  min-width: 0 !important;
}
body[data-page="account"] .account-section {
  margin: 0 0 1rem !important;
  background: linear-gradient(180deg, rgba(38,63,34,.96), rgba(43,73,51,.94)) !important;
  border-radius: 1rem !important;
  box-shadow: 0 18px 38px rgba(16,25,14,.18) !important;
  overflow: hidden !important;
}
body[data-page="account"] .account-section-body {
  background: rgba(22, 35, 20, .35) !important;
  color: #f4ead0 !important;
}
body[data-page="account"] .account-section-body p,
body[data-page="account"] .account-section-body small,
body[data-page="account"] .account-section-body span,
body[data-page="account"] .account-section-body li,
body[data-page="account"] .account-section-body .detail-line span,
body[data-page="account"] .account-section-body .account-empty,
body[data-page="account"] .account-section-body .account-empty-small {
  color: #efe3c1 !important;
}
body[data-page="account"] .account-section-body strong,
body[data-page="account"] .account-section-body b,
body[data-page="account"] .account-section-body h4,
body[data-page="account"] .account-section-body .detail-line strong {
  color: #fff7df !important;
}
body[data-page="account"] .account-card.account-expand,
body[data-page="account"] .receipt-card,
body[data-page="account"] .donation-account-card,
body[data-page="account"] .signup-account-card,
body[data-page="account"] .message-thread {
  background: rgba(255, 247, 223, .10) !important;
  color: #f7efd8 !important;
}
body[data-page="account"] .account-soft-box,
body[data-page="account"] .receipt-item,
body[data-page="account"] .polished-line-item {
  background: rgba(255, 247, 223, .12) !important;
  color: #f6edd7 !important;
}
body[data-page="account"] .item-pills span,
body[data-page="account"] .message-status-pill,
body[data-page="account"] .thread-meta span {
  color: #fff6dd !important;
}
@media (max-width: 980px) {
  body[data-page="account"] .account-switch-layout,
  body[data-page="account"] [data-account-tools] {
    grid-template-columns: 1fr !important;
  }
  body[data-page="account"] [data-shipping-form],
  body[data-page="account"] [data-order-history],
  body[data-page="account"] [data-donation-history],
  body[data-page="account"] [data-signup-history],
  body[data-page="account"] [data-message-history] {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}

/* Targeted readability corrections requested in 056. */
.footer-cta .button-light,
.footer-cta a.button,
.reclaim-bar .button,
.cta-band .button {
  color: #172116 !important;
  background: linear-gradient(135deg, #cfe7df, #9fc8d5) !important;
  font-weight: 900 !important;
}
body[data-page="community-events"] .current-event h2,
body[data-page="community-events"] .current-event h3,
body[data-page="community-events"] #schedule h2,
body[data-page="community-events"] #schedule h3 {
  color: #152212 !important;
}
body[data-page="community-events"] #needs li,
body[data-page="community-events"] .needs-list li,
body[data-page="community-events"] .hand-list li,
body[data-page="contact"] #direct-contact li,
body[data-page="contact"] .hand-list li,
body[data-page="contact"] .contact-grid li {
  color: #172116 !important;
  font-weight: 800 !important;
}
body[data-page="merch"] .merch-toolbar .chip,
body[data-page="merch"] .category-tabs .chip,
body[data-page="merch"] [data-filter] {
  color: #f7efd8 !important;
  background: rgba(35, 57, 26, .86) !important;
}
body[data-page="merch"] .merch-toolbar .chip.active,
body[data-page="merch"] .category-tabs .chip.active,
body[data-page="merch"] [data-filter].active {
  color: #172116 !important;
  background: linear-gradient(135deg, #cfe7df, #9fc8d5) !important;
}

/* Cart hero now matches the calmer account dashboard hero styling. */
body[data-page="cart"] .page-hero {
  background: linear-gradient(135deg, #eef2df 0%, #cfe7df 52%, #9fc8d5 100%) !important;
  color: #172116 !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.14) !important;
}
body[data-page="cart"] .page-hero::before,
body[data-page="cart"] .page-hero::after { display: none !important; }
body[data-page="cart"] .page-hero h1,
body[data-page="cart"] .page-hero .eyebrow,
body[data-page="cart"] .page-hero .lead,
body[data-page="cart"] .page-hero p {
  color: #172116 !important;
}
body[data-page="cart"] .page-hero .eyebrow {
  background: rgba(38,63,34,.10) !important;
  color: #263f22 !important;
}

/* Home hero should read like the rest of the full-width page heroes. */
body[data-page="home"] .hero,
body[data-page="index"] .hero,
body[data-page="home"] main > .hero:first-child,
body[data-page="index"] main > .hero:first-child {
  width: min(100%, 100%) !important;
  max-width: none !important;
  margin: 0 auto clamp(1rem, 2vw, 1.5rem) !important;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr) !important;
  border-radius: 0 0 1.35rem 1.35rem !important;
  padding-top: clamp(3rem, 6vw, 5rem) !important;
  padding-bottom: clamp(2.25rem, 5vw, 4rem) !important;
}
body[data-page="home"] .hero-copy,
body[data-page="index"] .hero-copy {
  max-width: 760px !important;
}
@media (max-width: 900px) {
  body[data-page="home"] .hero,
  body[data-page="index"] .hero,
  body[data-page="home"] main > .hero:first-child,
  body[data-page="index"] main > .hero:first-child {
    grid-template-columns: 1fr !important;
    border-radius: 0 0 1rem 1rem !important;
  }
}

/* 056 priority rail: larger cards with replaceable image/video media behind text. */
.produce-strip,
.produce-strip.big {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
  gap: clamp(.85rem, 1.8vw, 1.25rem) !important;
  padding: clamp(1.4rem, 3.2vw, 2.7rem) !important;
}
.produce-strip .priority-card,
.produce-strip span.priority-card,
.produce-strip.big span.priority-card {
  position: relative !important;
  min-height: clamp(8.5rem, 15vw, 12rem) !important;
  align-items: flex-end !important;
  overflow: hidden !important;
  isolation: isolate !important;
  padding: 1.15rem !important;
}
.produce-strip .priority-card img,
.produce-strip .priority-card video {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: -2 !important;
  opacity: .82 !important;
  filter: saturate(1.02) contrast(1.06) brightness(.72) !important;
  border-radius: inherit !important;
  box-shadow: none !important;
}
.produce-strip .priority-card::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(180deg, rgba(8, 16, 8, .10), rgba(8, 16, 8, .78)) !important;
  z-index: -1 !important;
}
.produce-strip .priority-card::before {
  display: none !important;
}
.produce-strip .priority-card strong {
  color: #fff6dd !important;
  font-family: "FA Bebas", "FoodArmyBebas", Impact, sans-serif !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  font-size: clamp(1.05rem, 1.7vw, 1.42rem) !important;
  text-shadow: 0 2px 14px rgba(0,0,0,.55) !important;
  position: relative !important;
  z-index: 1 !important;
}
.produce-strip .priority-card:hover img,
.produce-strip .priority-card:hover video {
  transform: scale(1.035) !important;
  transition: transform .35s ease !important;
}
@media (max-width: 620px) {
  .produce-strip,
  .produce-strip.big {
    grid-template-columns: 1fr 1fr !important;
  }
  .produce-strip .priority-card,
  .produce-strip span.priority-card,
  .produce-strip.big span.priority-card {
    min-height: 7.25rem !important;
  }
}

/* 057: account layout repair, hero contrast, and editable Growing priorities media. */
body[data-page="account"] .account-switch-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  align-items: start !important;
  gap: clamp(1.1rem, 2.4vw, 2rem) !important;
}
body[data-page="account"] .account-switch-layout > .auth-panel,
body[data-page="account"] .account-switch-layout > .copy-card {
  width: 100% !important;
  min-width: 0 !important;
}
body[data-page="account"] .account-switch-layout:has([data-account-tools]:not(.hidden)) > .copy-card {
  grid-column: 1 / -1 !important;
}
body[data-page="account"] .account-switch-layout:has([data-account-tools]:not(.hidden)) > .auth-panel.hidden {
  display: none !important;
}
body[data-page="account"] [data-account-tools] {
  grid-template-columns: minmax(300px, 1fr) minmax(320px, 1fr) !important;
  gap: clamp(1rem, 2.2vw, 1.6rem) !important;
  align-items: start !important;
  width: 100% !important;
}
body[data-page="account"] [data-account-tools].hidden {
  display: none !important;
}
body[data-page="account"] [data-account-overview],
body[data-page="account"] .account-actions,
body[data-page="account"] [data-latest-receipt] {
  grid-column: 1 / -1 !important;
}
body[data-page="account"] [data-shipping-form] {
  grid-column: 1 !important;
  grid-row: 3 / span 6 !important;
  width: 100% !important;
  min-width: 0 !important;
}
body[data-page="account"] [data-order-history],
body[data-page="account"] [data-donation-history],
body[data-page="account"] [data-signup-history],
body[data-page="account"] [data-message-history] {
  grid-column: 2 !important;
  width: 100% !important;
  min-width: 0 !important;
  display: block !important;
  visibility: visible !important;
}
body[data-page="account"] .account-section,
body[data-page="account"] .account-card,
body[data-page="account"] .account-expand {
  min-width: 0 !important;
  max-width: 100% !important;
}
body[data-page="account"] .account-section-head {
  gap: .8rem !important;
}
body[data-page="account"] .account-section-head h3,
body[data-page="account"] .account-section-head small,
body[data-page="account"] .account-kicker,
body[data-page="account"] .account-count {
  overflow-wrap: anywhere !important;
}
@media (max-width: 980px) {
  body[data-page="account"] .account-switch-layout,
  body[data-page="account"] [data-account-tools] {
    grid-template-columns: 1fr !important;
  }
  body[data-page="account"] .account-switch-layout:has([data-account-tools]:not(.hidden)) > .copy-card,
  body[data-page="account"] [data-account-overview],
  body[data-page="account"] .account-actions,
  body[data-page="account"] [data-latest-receipt],
  body[data-page="account"] [data-shipping-form],
  body[data-page="account"] [data-order-history],
  body[data-page="account"] [data-donation-history],
  body[data-page="account"] [data-signup-history],
  body[data-page="account"] [data-message-history] {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}

body[data-page="account"] .page-hero,
body[data-page="cart"] .page-hero {
  background: linear-gradient(135deg, #1d321d 0%, #315a37 58%, #557b66 100%) !important;
  color: #fff7df !important;
}
body[data-page="account"] .page-hero h1,
body[data-page="account"] .page-hero .eyebrow,
body[data-page="account"] .page-hero .lead,
body[data-page="account"] .page-hero p,
body[data-page="cart"] .page-hero h1,
body[data-page="cart"] .page-hero .eyebrow,
body[data-page="cart"] .page-hero .lead,
body[data-page="cart"] .page-hero p {
  color: #fff7df !important;
  text-shadow: 0 2px 18px rgba(0,0,0,.28) !important;
}
body[data-page="account"] .page-hero .eyebrow,
body[data-page="cart"] .page-hero .eyebrow {
  background: rgba(255,247,223,.14) !important;
  color: #fff2c9 !important;
}

.produce-strip .priority-card {
  cursor: pointer !important;
}
.produce-strip .priority-card img,
.produce-strip .priority-card video {
  pointer-events: auto !important;
}
body.live-editing .produce-strip .priority-card {
  outline: 2px dashed rgba(207,231,223,.42) !important;
  outline-offset: -6px !important;
}
body.live-editing .produce-strip .priority-card:hover {
  outline-color: rgba(207,231,223,.9) !important;
}

/* 058: live editor usability, merch variant media, event fallback, and footer mark cleanup. */
.live-edit-bar[data-live-toolbar] {
  background: rgba(18, 29, 16, .78) !important;
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
  border: 1px solid rgba(247, 240, 217, .28) !important;
  box-shadow: 0 18px 48px rgba(0,0,0,.28) !important;
  cursor: grab;
  max-width: min(92vw, 980px);
  opacity: .92;
  z-index: 9996 !important;
}
.live-edit-bar[data-live-toolbar]:hover,
.live-edit-bar[data-live-toolbar].is-dragging-toolbar {
  opacity: .98;
}
.live-edit-bar[data-live-toolbar].is-dragging-toolbar {
  cursor: grabbing;
  user-select: none;
}
.live-edit-bar .live-toolbar-grip {
  cursor: grab;
  padding-right: .4rem;
  color: #fff8df !important;
}
.live-media-list {
  display: grid;
  gap: .75rem;
  margin: .7rem 0 1rem;
}
.live-media-row {
  display: grid;
  grid-template-columns: minmax(13rem, 1.2fr) minmax(8rem, .7fr) minmax(8rem, .8fr) auto;
  gap: .65rem;
  align-items: end;
  padding: .75rem;
  border-radius: .8rem;
  background: rgba(38,63,34,.08);
}
.live-media-row label {
  margin: 0 !important;
}
.live-media-row button[data-product-media-remove] {
  min-height: 2.75rem;
  background: #9b2f27;
  color: #fff8df;
  border: 0;
  border-radius: 999px;
  padding: .55rem .85rem;
  font-weight: 900;
}
.compact-actions {
  justify-content: flex-start !important;
}
.footer-cta img {
  background: transparent !important;
  border: 4px solid var(--fa-yellow-soft, #fff8df) !important;
  box-shadow: none !important;
}
@media (max-width: 760px) {
  .live-media-row {
    grid-template-columns: 1fr;
  }
  .live-edit-bar[data-live-toolbar] {
    max-width: calc(100vw - 1rem);
  }
}

/* 061: subtle olive/background correction. Keep original Food Army palette; only brighten and olive-shift the deepest greens slightly. */
:root {
  --fa-green-dark: #26351f;
  --fa-green: #4f6235;
  --fa-field: #647542;
  --olive: #4f6235;
  --olive2: #647542;
}
html {
  background: #26351f !important;
}
body {
  background:
    radial-gradient(circle at 16% 8%, rgba(244, 234, 138, 0.14), transparent 22rem),
    linear-gradient(180deg, #314329 0%, #4f6235 42%, #26351f 78%, #17120d 100%) !important;
}
.site-header,
.footer,
.footer-main,
.footer-cta,
.reclaim-roots,
.site-footer {
  background-color: #26351f;
}
.hero,
.page-hero,
.account-hero,
.cart-hero,
.donate-hero,
.contact-hero,
.merch-hero,
.events-hero,
.utilities-hero,
.about-hero,
.professional-hero,
.hero-shell,
.hero-panel {
  background-color: #26351f;
}
.professional-hero,
.hero-shell,
.hero-panel,
.account-hero,
.cart-hero {
  background: linear-gradient(135deg, #26351f, #4f6235 76%) !important;
}
.home-hero,
.full-bleed-hero,
.hero--home {
  background: linear-gradient(180deg, #2d3d25 0%, #4f6235 44%, #26351f 78%, #17120d 100%) !important;
}
.growing-priorities,
.produce-strip,
.focus-rail,
.priority-rail {
  background: linear-gradient(180deg, #26351f, #4f6235) !important;
}
.button.primary,
.btn.primary,
button.primary,
.category-chip.active,
.chip.active,
.product-card .button,
.event-card .button {
  background-color: #4f6235;
}
.button.primary:hover,
.btn.primary:hover,
button.primary:hover,
.product-card .button:hover,
.event-card .button:hover {
  background-color: #3f512d;
}

/* 064: improve live edit toolbar readability over translucent background */
.live-edit-bar {
  background: rgba(31, 45, 25, 0.78) !important;
  color: #fff7d9 !important;
  border-color: rgba(255, 247, 217, 0.72) !important;
  box-shadow: 0 1rem 2.5rem rgba(0,0,0,.32) !important;
  backdrop-filter: blur(12px) saturate(115%);
  -webkit-backdrop-filter: blur(12px) saturate(115%);
}
.live-edit-bar strong,
.live-edit-bar span,
.live-edit-bar label,
.live-edit-bar small {
  color: #fff7d9 !important;
  opacity: 1 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}
.live-edit-bar button,
.live-edit-bar a {
  color: #fff7d9 !important;
}


/* 065 merch media variant picker */
.product-media-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 0.55rem;
  margin: 0.7rem 0 0;
}
.product-media-choices .media-choice {
  border: 0;
  border-radius: 14px;
  background: rgba(246, 235, 204, 0.9);
  color: #233018;
  padding: 0.35rem;
  display: grid;
  gap: 0.25rem;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(20, 35, 19, 0.14);
  font-weight: 800;
  font-size: 0.72rem;
}
.product-media-choices .media-choice.active {
  background: #f5c85f;
  color: #18240f;
}
.product-media-choices img,
.product-media-choices video {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.product-card [data-product-main-media] {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* 067: only darken the two small account tools pills; keep section text restored. */
body[data-page="account"] [data-account-tools] .account-section-head .account-kicker,
body[data-page="account"] [data-account-tools] .account-section-head .account-count {
  color: #24311f !important;
  text-shadow: none !important;
}
body[data-page="account"] [data-account-tools] .account-section-head h3,
body[data-page="account"] [data-account-tools] .account-section-head small,
body[data-page="account"] [data-account-tools] .account-expand > summary strong,
body[data-page="account"] [data-account-tools] .account-expand > summary b,
body[data-page="account"] [data-account-tools] .account-expand > summary small {
  color: var(--fa-readable-light, #fff7df) !important;
}
