:root {
  --ink: #223125;
  --muted: #617061;
  --cream: #fff8ec;
  --paper: #fffdf7;
  --sand: #f3dfbf;
  --sage: #5c7a53;
  --sage-dark: #36563a;
  --pine: #1f3c2a;
  --sun: #f5b94d;
  --clay: #c46c3c;
  --mist: #edf4e5;
  --line: rgba(34, 49, 37, 0.14);
  --shadow: 0 20px 55px rgba(31, 60, 42, 0.14);
  --radius: 24px;
  --radius-small: 16px;
  --max: 1160px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--cream), #f7efe0 45%, #f9fbf2);
  line-height: 1.5;
  overflow-x: clip;
}

body.drawer-open,
body.modal-open { overflow: hidden; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: inherit; }

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

button { cursor: pointer; }

button:disabled { cursor: not-allowed; }

:focus-visible {
  outline: 3px solid rgba(245, 185, 77, 0.95);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: var(--pine);
  color: white;
  border-radius: 999px;
}

.skip-link:focus { left: 1rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.section { padding: 72px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 236, 0.68);
  backdrop-filter: blur(18px) saturate(1.08);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 60px;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  box-shadow: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-wordmark {
  display: block;
  max-width: min(48vw, 220px);
  line-height: 1.02;
  font-size: 0.96rem;
}

.footer-logo-link {
  display: inline-block;
  max-width: 360px;
  text-decoration: none;
  margin-bottom: 14px;
}

.footer-logo {
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: #000;
}

.footer-brand {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-brand p {
  margin: 0;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 4px;
}

.site-nav a,
.nav-cart-button {
  border: 0;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 750;
}

.nav-cart-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pine);
  color: white;
}

.nav-cart-button span {
  min-width: 24px;
  min-height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--sun);
  color: var(--pine);
}

.menu-toggle {
  width: 46px;
  height: 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
}

.menu-toggle span:not(.sr-only) {
  width: 22px;
  height: 2px;
  background: var(--pine);
  border-radius: 999px;
}

.site-nav.is-open {
  position: absolute;
  top: 72px;
  left: 16px;
  right: 16px;
  display: grid;
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 72px);
  display: flex;
  align-items: end;
  padding: clamp(44px, 7vw, 88px) 0 clamp(22px, 4vw, 34px);
  background: #1d241a;
}

.hero-background {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 18, 14, 0.12) 0%, rgba(18, 21, 17, 0.30) 34%, rgba(16, 19, 15, 0.56) 100%),
    linear-gradient(90deg, rgba(17, 22, 16, 0.44) 0%, rgba(17, 22, 16, 0.20) 42%, rgba(17, 22, 16, 0.08) 100%),
    url('../img/hero/hero-family-camping-bg-mobile.webp') center center / cover no-repeat;
  transform: scale(1.02);
}

.hero-grid {
  display: grid;
  gap: 18px;
  align-items: end;
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - clamp(40px, 10vw, 180px)));
  margin-inline: auto;
}

.hero-copy {
  max-width: 820px;
}

.hero .eyebrow,
.hero .card-kicker {
  color: rgba(255, 236, 194, 0.96);
}

.hero h1 {
  color: white;
  text-shadow: 0 14px 38px rgba(0, 0, 0, 0.34);
}

.hero .hero-lede {
  max-width: 720px;
  color: rgba(255, 249, 238, 0.92);
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(19, 28, 21, 0.52);
  backdrop-filter: blur(8px);
  padding: 9px 12px;
  border-radius: 999px;
  color: white;
  font-weight: 760;
  font-size: 0.9rem;
}

.hero-date-card {
  width: 100%;
  max-width: 460px;
  justify-self: start;
  background: rgba(255, 248, 236, 0.68);
  border: 1px solid var(--line);
  box-shadow: 0 24px 54px rgba(9, 15, 10, 0.22);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  backdrop-filter: blur(18px) saturate(1.08);
}

.date-card-logo {
  display: flex;
  justify-content: center;
  margin: -2px auto 16px;
  pointer-events: none;
}

.date-card-logo img {
  display: block;
  width: min(280px, 82%);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(15, 31, 20, 0.20));
}

.hero-date-card .card-kicker {
  color: var(--sage-dark);
  text-shadow: none;
}

.hero-date-card label,
.hero-date-card h2,
.hero-date-card .form-note {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.38);
}

.hero-date-card input[type="date"] {
  background: rgba(255, 254, 251, 0.84);
  border-color: rgba(34, 49, 37, 0.22);
  box-shadow: 0 8px 22px rgba(17, 28, 18, 0.08);
}
.eyebrow,
.card-kicker {
  margin: 0 0 10px;
  color: var(--sage-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  font-size: clamp(2.45rem, 11vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.075em;
  max-width: 920px;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.06em;
  margin-bottom: 14px;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.hero-lede {
  max-width: 680px;
  font-size: 1.08rem;
  color: var(--muted);
}

.meta-pill,
.available-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(31, 60, 42, 0.12);
  background: rgba(255, 255, 255, 0.76);
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--pine);
  font-weight: 750;
  font-size: 0.88rem;
}

.date-card,
.step-card,
.product-card,
.contact-card,
.pickup-note-card,
.cta-card,
.admin-card,
.modal-card {
  background: rgba(255, 253, 247, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.date-card {
  padding: 22px;
}

.date-card.hero-date-card {
  background: rgba(255, 248, 236, 0.68);
  border: 1px solid var(--line);
  box-shadow: 0 24px 54px rgba(9, 15, 10, 0.22);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  backdrop-filter: blur(18px) saturate(1.08);
}

.date-card.hero-date-card .date-card-logo img {
  filter: drop-shadow(0 16px 22px rgba(15, 31, 20, 0.22));
}

.date-fields {
  display: grid;
  gap: 8px;
}

.date-fields {
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}

.date-fields input[type="date"] {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  -webkit-appearance: none;
  appearance: none;
}

.date-actions {
  margin-top: 16px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(34, 49, 37, 0.18);
  background: #fffefb;
  border-radius: 14px;
  padding: 10px 12px;
  color: var(--ink);
}

label {
  font-weight: 800;
  color: var(--pine);
}

.form-note,
.cart-message {
  margin: 12px 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.business-rule-note {
  margin: 6px 0 0;
  color: var(--pine);
  font-size: 0.88rem;
  font-weight: 850;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  min-height: 50px;
  padding: 13px 20px;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  background: linear-gradient(135deg, var(--clay), #e79a40);
  color: white;
  box-shadow: 0 16px 32px rgba(196, 108, 60, 0.28);
}

.button.secondary {
  background: var(--mist);
  color: var(--pine);
}

.button.full { width: 100%; }

.section-heading {
  margin-bottom: 28px;
}

.section-heading.centered {
  text-align: center;
  max-width: 740px;
  margin-inline: auto;
}

.section-heading.split {
  display: grid;
  gap: 14px;
}

.section-heading.split > p {
  color: var(--muted);
  max-width: 560px;
}

.steps-grid,
.product-grid,
.pickup-grid,
.footer-grid,
.admin-grid,
.form-grid {
  display: grid;
  gap: 16px;
}

.step-card { padding: 20px; }

.step-card span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--sun);
  color: var(--pine);
  font-weight: 900;
  margin-bottom: 14px;
}

.step-card p,
.product-card p,
.pickup-section p,
.final-cta p,
.site-footer p,
.admin-muted { color: var(--muted); }

.catalog-unavailable-card { grid-column: 1 / -1; }
.catalog-unavailable-card .product-body { align-items: flex-start; }
.catalog-unavailable-card p { max-width: 720px; }


.availability-banner {
  margin-bottom: 18px;
  padding: 13px 16px;
  background: var(--mist);
  border: 1px solid rgba(92, 122, 83, 0.18);
  border-radius: 18px;
  color: var(--pine);
  font-weight: 750;
}

.shopping-flow-card {
  display: grid;
  gap: 12px;
  margin: -4px 0 22px;
  padding: 14px;
  border: 1px solid rgba(31, 60, 42, 0.14);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(237, 244, 229, 0.92), rgba(255, 253, 247, 0.96));
}

.shopping-flow-card article {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 4px 12px;
  align-items: start;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 60, 42, 0.08);
}

.shopping-flow-card span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--pine);
  color: white;
  font-weight: 950;
}

.shopping-flow-card strong {
  color: var(--pine);
  font-size: 1.02rem;
}

.shopping-flow-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.product-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  padding: 12px;
}

.package-card {
  background: linear-gradient(180deg, rgba(255, 253, 247, 0.98), rgba(237, 244, 229, 0.84));
}

.product-card.unavailable {
  filter: grayscale(0.85);
  opacity: 0.62;
}

.product-media {
  position: relative;
  overflow: hidden;
  border-radius: 19px;
  background: var(--mist);
  aspect-ratio: 16 / 11;
  min-height: 0;
}

.product-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.product-body {
  display: flex;
  flex-direction: column;
  align-content: start;
  gap: 9px;
  min-height: 0;
}

.card-topline,
.card-scan-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.card-type-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(31, 60, 42, 0.86);
  color: white;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: capitalize;
}

.card-copy {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.product-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.price {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: #fff0cf;
  color: #864718;
  font-weight: 950;
  line-height: 1;
}


.package-pricing-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.includes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.86rem;
}

.includes-list li {
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(31, 60, 42, 0.08);
}

.card-actions {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.savings-note {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(245, 185, 77, 0.22);
  color: #704112;
  font-weight: 900;
  font-size: 0.86rem;
}

.safety-note,
.inline-warning {
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff7e9;
  color: #704112;
  font-weight: 650;
  font-size: 0.85rem;
}

.safety-note-collapsible {
  padding: 8px 10px;
  border: 1px solid rgba(134, 71, 24, 0.11);
  box-shadow: none;
}

.safety-note-collapsible summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
  cursor: pointer;
  list-style: none;
}

.safety-note-collapsible summary::-webkit-details-marker {
  display: none;
}

.safety-summary-label,
.safety-summary-action {
  color: #704112;
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.safety-summary-copy {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: rgba(112, 65, 18, 0.82);
  line-height: 1.32;
}

.safety-note-collapsible[open] .safety-summary-copy,
.safety-note-collapsible[open] .safety-summary-action {
  display: none;
}

.safety-note-collapsible p {
  margin: 8px 0 0;
  color: rgba(112, 65, 18, 0.92);
  line-height: 1.42;
}

.sold-out-label {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 8px 10px;
  background: rgba(34, 49, 37, 0.88);
  color: white;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.85rem;
}

.pickup-highlights {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
}

.pickup-highlights article {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 253, 247, 0.9);
  border: 1px solid rgba(31, 60, 42, 0.12);
}

.pickup-highlights span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pickup-highlights strong {
  color: var(--pine);
  font-size: 1.12rem;
}

.contact-card {
  display: grid;
  gap: 8px;
  padding: 20px;
  margin-top: 18px;
}

.contact-card a { color: var(--sage-dark); font-weight: 850; }
.footer-contact a { font-weight: 500; }

.pickup-note-card { padding: 22px; }
.pickup-note-card h3 { font-size: clamp(1.55rem, 5vw, 2.2rem); }
.pickup-note-card ul { margin: 0; padding-left: 20px; color: var(--muted); }
.pickup-note-card li + li { margin-top: 8px; }

.cta-card {
  display: grid;
  gap: 18px;
  align-items: center;
  padding: 24px;
  background: linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(237, 244, 229, 0.96));
}

.confirmation-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.confirmation-strip span,
.cart-note-strong {
  border: 1px solid rgba(31, 60, 42, 0.12);
  background: rgba(237, 244, 229, 0.92);
  color: var(--pine);
  font-weight: 900;
}

.confirmation-strip span {
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 0.88rem;
}

.cart-note-strong {
  padding: 12px 13px;
  border-radius: 16px;
}

.site-footer {
  padding: 34px 0;
  background: var(--pine);
  color: white;
}

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

.footer-contact {
  display: grid;
  gap: 8px;
  font-style: normal;
  line-height: 1.4;
}

.footer-contact a,
.footer-contact span {
  display: block;
}

.site-footer a { color: white; text-decoration: none; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  font-size: 0.94rem;
  font-weight: 750;
}

.footer-links a {
  color: rgba(255,255,255,0.88);
}

.legal-main {
  padding: clamp(38px, 4.5vw, 52px) 0 clamp(96px, 8vw, 116px);
}

.legal-shell {
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.legal-card {
  background: rgba(255, 253, 247, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(20px, 4vw, 34px);
}

.legal-card h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 6vw, 3.35rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.legal-card h2 {
  margin: 28px 0 8px;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.legal-updated {
  margin: 0 0 22px;
  color: var(--sage-dark);
  font-weight: 800;
}

.legal-disclaimer {
  margin: 22px 0 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(237, 244, 229, 0.72);
  border: 1px solid rgba(92, 122, 83, 0.16);
  font-size: 0.95rem;
}

.legal-contact-box {
  margin-top: 24px;
  padding: 18px;
  border-radius: 18px;
  background: var(--mist);
  border: 1px solid rgba(92, 122, 83, 0.18);
}

.legal-contact-box,
.legal-contact-box p,
.legal-contact-box a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.legal-contact-box a {
  color: var(--sage-dark);
  font-weight: 850;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  background: rgba(17, 31, 21, 0);
  transition: background 180ms ease;
}

.cart-drawer.open {
  pointer-events: auto;
  background: rgba(17, 31, 21, 0.28);
}

.cart-panel {
  position: absolute;
  inset: auto 0 0 0;
  max-height: 90vh;
  overflow: auto;
  background: var(--paper);
  border-radius: 26px 26px 0 0;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 18px;
  transform: translateY(105%);
  transition: transform 220ms ease;
}

.cart-drawer.open .cart-panel { transform: translateY(0); }

.cart-panel:focus {
  outline: 3px solid rgba(166, 64, 34, 0.38);
  outline-offset: -6px;
}

.cart-header,
.modal-header,
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.icon-button {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  color: var(--pine);
  font-size: 1.65rem;
  line-height: 1;
}

.cart-date-summary {
  margin: 4px 0 14px;
  padding: 12px 14px;
  background: var(--mist);
  border-radius: 16px;
  color: var(--pine);
  font-weight: 800;
}

.cart-items { display: grid; gap: 12px; }

.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}

.cart-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 14px;
}

.cart-item h3 { font-size: 1rem; }

.cart-item-meta,
.cart-empty,
.cart-note { color: var(--muted); font-size: 0.9rem; }

.cart-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
}

.qty-control button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: var(--mist);
  color: var(--pine);
  font-weight: 900;
}

.remove-button {
  border: 0;
  background: transparent;
  color: #a64022;
  font-weight: 850;
}

.cart-summary {
  display: grid;
  gap: 8px;
  padding: 16px 0 10px;
}

.cart-summary div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 1.05rem;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  place-items: center;
  background: rgba(17, 31, 21, 0.46);
  padding: 16px;
}

.modal-backdrop.open { display: grid; }

.reservation-modal {
  width: min(760px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: var(--paper);
  border-radius: 28px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.reservation-summary {
  margin: 12px 0 16px;
  padding: 14px;
  border-radius: 18px;
  background: var(--mist);
}

.reservation-form { display: grid; gap: 9px; }

.form-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.form-status {
  margin: 2px 0 4px;
  padding: 11px 12px;
  border-radius: 14px;
  background: #fff8e7;
  border: 1px solid rgba(166, 64, 34, 0.22);
  color: #7b341e;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.4;
}

.form-status:focus {
  outline: 3px solid rgba(166, 64, 34, 0.34);
  outline-offset: 2px;
}

.form-status[hidden] {
  display: none;
}

.form-status.is-info {
  background: var(--mist);
  border-color: rgba(34, 49, 37, 0.18);
  color: var(--pine);
}

.success-card.error-card {
  background: #fff8e7;
  border-color: rgba(166, 64, 34, 0.24);
}

.turnstile-field {
  display: grid;
  gap: 8px;
  margin: 8px 0 2px;
  min-height: 82px;
}

.reservation-form .turnstile-field {
  padding: 12px;
  border: 1px solid rgba(31, 60, 42, 0.14);
  border-radius: 16px;
  background: rgba(237, 244, 229, 0.72);
}

.reservation-form #reservation-turnstile {
  max-width: 100%;
  overflow: hidden;
}

.reservation-modal:focus {
  outline: 3px solid rgba(166, 64, 34, 0.38);
  outline-offset: 4px;
}

.success-card {
  margin-top: 16px;
  padding: 18px;
  border-radius: 20px;
  background: #eef9e7;
  border: 1px solid rgba(92, 122, 83, 0.24);
}

/* Admin */
.admin-body { background: #f6f2e8; }
.admin-main { padding: 36px 0 72px; }
.admin-banner {
  background: #fff4df;
  color: #704112;
  border: 1px solid #f3d29a;
  border-radius: 18px;
  padding: 14px 16px;
  font-weight: 850;
  margin: 18px 0;
}

.admin-card { padding: 18px; }

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-grid { margin-top: 16px; }

.metric-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}

.metric {
  padding: 16px;
  border-radius: 18px;
  background: var(--mist);
}

.metric strong { display: block; font-size: 1.8rem; }
.metric span { color: var(--muted); font-weight: 800; }

.admin-list { display: grid; gap: 10px; margin-top: 14px; }

.admin-filter-row {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 12px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.admin-filter-row label {
  margin: 0;
  font-weight: 900;
}

.admin-filter-row select {
  width: 100%;
}

.admin-filter-row .admin-muted {
  margin: 0;
}

.admin-row {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.admin-row-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 900;
}

.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.small-button {
  border: 1px solid var(--line);
  background: white;
  color: var(--pine);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 850;
}

.small-button.danger { color: #a64022; }

.admin-form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
}

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

@media (max-width: 719px) {
  .hero-date-card {
    max-width: none;
    overflow: hidden;
  }

  .date-card-logo {
    margin-bottom: 14px;
  }

  .date-card-logo img {
    width: min(238px, 78%);
  }

  .hero-date-card input[type="date"] {
    border-radius: 14px;
  }
}

@media (min-width: 720px) {
  .section { padding: 92px 0; }
  .brand-wordmark { max-width: none; font-size: 1rem; }
  .hero { padding: clamp(56px, 8vw, 96px) 0 40px; }
  .hero-background { background-image: linear-gradient(180deg, rgba(15, 18, 14, 0.10) 0%, rgba(18, 21, 17, 0.26) 34%, rgba(16, 19, 15, 0.54) 100%), linear-gradient(90deg, rgba(17, 22, 16, 0.48) 0%, rgba(17, 22, 16, 0.20) 44%, rgba(17, 22, 16, 0.08) 100%), url('../img/hero/hero-family-camping-bg.webp'); }
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr); gap: 34px; width: min(var(--max), calc(100% - 80px)); }
  .hero-date-card { justify-self: end; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shopping-flow-card,
  .pickup-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pickup-grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
  .footer-grid { grid-template-columns: 1.3fr 1fr; align-items: end; }
  .pickup-highlights { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-contact { justify-items: end; text-align: right; }
  .legal-page .site-footer .footer-grid {
    width: min(940px, calc(100% - 64px));
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
  }
  .legal-page .footer-logo-compact {
    font-size: 1.06rem;
  }
  .legal-page .footer-logo-mark {
    width: 82px;
    height: 95px;
  }
  .cta-card { grid-template-columns: 1fr auto; padding: 36px; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-grid { grid-template-columns: repeat(4, 1fr); }
  .admin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}

@media (min-width: 980px) {
  .menu-toggle { display: none; }
  .site-nav { display: flex; }
  .section-heading.split { grid-template-columns: 1fr auto; align-items: end; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .premium-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cart-panel {
    inset: 0 0 0 auto;
    width: min(440px, 92vw);
    max-height: 100vh;
    border-radius: 28px 0 0 28px;
    transform: translateX(105%);
  }
  .cart-drawer.open .cart-panel { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

/* Pass 2: decomposed package cart + admin image controls */
.savings-note,
.package-source {
  color: var(--pine);
  font-weight: 800;
}

.savings-note {
  padding: 9px 10px;
  border-radius: 14px;
  background: #eef9e7;
  border: 1px solid rgba(92, 122, 83, 0.22);
  font-size: 0.88rem;
}

.summary-breakdown {
  display: grid !important;
  gap: 7px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.summary-breakdown:empty {
  display: none !important;
  padding: 0;
  border: 0;
}

.cart-summary .summary-breakdown div {
  font-size: 0.95rem;
}

.savings-line,
.savings-total {
  color: #2e6b38;
}

.savings-line small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.estimated-total {
  padding-top: 2px;
  font-weight: 950;
}

.admin-row-media {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  align-items: center;
}

.admin-thumb,
.admin-image-preview {
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--mist);
}

.admin-thumb {
  width: 76px;
  height: 58px;
}

.admin-image-preview {
  width: 100%;
  max-width: 240px;
  height: 150px;
}

.image-upload-note {
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--mist);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

/* Contact and owner operations pages */
.contact-main,
.ops-main {
  min-height: 68svh;
}

.contact-hero {
  padding-top: clamp(52px, 8vw, 96px);
}

.contact-grid {
  display: grid;
  gap: 22px;
}

.contact-copy h1,
.ops-header h1 {
  margin: 0;
  font-size: clamp(2.45rem, 7vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.contact-copy p,
.ops-header p {
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-copy h1 + p {
  margin-top: clamp(18px, 4vw, 26px);
  line-height: 1.55;
}

.contact-page-card {
  margin-top: 22px;
  width: min(100%, 480px);
}

.contact-form-card,
.ops-card {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.94);
  box-shadow: var(--shadow);
}

.contact-form-card {
  display: grid;
  gap: 10px;
}

.contact-form-card h2,
.ops-card h2 {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-success {
  margin-top: 0;
}


.contact-map-section {
  padding-top: 0;
}

.contact-map-layout {
  display: grid;
  gap: 20px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background: rgba(255, 253, 247, 0.82);
  box-shadow: var(--shadow);
}

.contact-map-copy {
  display: grid;
  gap: 12px;
  align-content: center;
}

.contact-map-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.contact-map-copy p {
  margin: 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 1rem;
}

.contact-map-address {
  display: grid;
  gap: 4px;
  font-style: normal;
  color: var(--pine);
}

.contact-map-address strong {
  font-weight: 900;
}

.contact-map-address span {
  color: var(--muted);
  font-weight: 700;
}

.contact-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.contact-map-frame {
  min-height: 280px;
  overflow: hidden;
  border: 1px solid rgba(34, 49, 37, 0.12);
  border-radius: 24px;
  background: var(--mist);
}

.contact-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
}

.ops-body {
  background: #f6f2e8;
}

.ops-main {
  padding: 42px 0 72px;
}

.ops-header {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.ops-grid {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.ops-card.full-width {
  grid-column: 1 / -1;
}

.ops-card .admin-list {
  margin-top: 14px;
}

.ops-meta-line {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

@media (min-width: 720px) {
  .contact-grid {
    grid-template-columns: 0.92fr 1.08fr;
    align-items: start;
  }

  .contact-success {
    grid-column: 2;
  }

  .contact-map-layout {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    padding: 22px;
  }

  .contact-map-frame,
  .contact-map-frame iframe {
    min-height: 380px;
  }

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

.form-status.is-success {
  background: #eef9e7;
  border-color: rgba(92, 122, 83, 0.24);
  color: var(--pine);
}

/* Ops owner-dashboard enhancement pass */
.ops-split-list {
  display: grid;
  gap: 16px;
  margin-top: 14px;
}

.ops-split-list h3,
.ops-board-column h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--pine);
}

.ops-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ops-count-chip,
.ops-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(34, 49, 37, 0.12);
  background: var(--mist);
  color: var(--pine);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1;
}

.ops-count-chip {
  padding: 7px 9px 7px 7px;
}

.ops-count-chip strong {
  min-width: 1.25rem;
  text-align: center;
}

.ops-status-chip {
  padding: 7px 10px;
  white-space: nowrap;
}

.status-new {
  background: #fff8e7;
  border-color: rgba(166, 64, 34, 0.22);
  color: #7b341e;
}

.status-confirmed,
.status-contacted {
  background: #eef9e7;
  border-color: rgba(92, 122, 83, 0.24);
  color: var(--pine);
}

.status-picked-up {
  background: #eef4ff;
  border-color: rgba(54, 91, 154, 0.22);
  color: #23406d;
}

.status-returned,
.status-closed {
  background: #f1efe9;
  border-color: rgba(34, 49, 37, 0.12);
  color: var(--muted);
}

.status-canceled {
  background: #fff1ec;
  border-color: rgba(166, 64, 34, 0.24);
  color: #8f321b;
}

.ops-note-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.ops-note-list p,
.ops-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.ops-board {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.ops-board-column {
  padding: 12px;
  border-radius: 18px;
  background: rgba(246, 242, 232, 0.68);
  border: 1px solid var(--line);
}

.ops-row .admin-row-title {
  align-items: flex-start;
}

.ops-item-line {
  margin: 0;
  color: var(--pine);
  font-weight: 800;
  font-size: 0.94rem;
  line-height: 1.45;
}

.ops-actions .small-button[disabled] {
  opacity: 0.48;
  cursor: default;
}

.ops-meta-line a {
  color: var(--pine);
  font-weight: 850;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.ops-history-row {
  gap: 8px;
}

.ops-history-kind {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ops-history-change {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  color: var(--pine);
  font-weight: 850;
}

.status-created {
  background: #f7f0df;
  border-color: rgba(34, 49, 37, 0.12);
  color: var(--muted);
}

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

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


/* Legal page desktop polish pass */
.legal-page .site-footer {
  margin-top: 0;
}

.legal-page .footer-contact a,
.legal-page .footer-contact span {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 719px) {
  .legal-main {
    padding: 34px 0 64px;
  }

  .legal-shell {
    max-width: none;
  }

  .legal-card {
    padding: 22px;
  }

  .legal-disclaimer {
    font-size: 0.9rem;
  }
}

/* Mobile visual QA polish pass: homepage rental flow */
section[id],
#dates,
#packages,
#gear,
#pickup,
#request-gear {
  scroll-margin-top: 92px;
}

.footer-logo-compact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: min(100%, 420px);
  margin-bottom: 10px;
  color: #fff;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
}

.footer-logo-mark {
  flex: 0 0 auto;
  width: 82px;
  height: 95px;
  object-fit: contain;
}

.footer-logo-compact span {
  overflow-wrap: anywhere;
}

.footer-contact a,
.footer-contact span,
.contact-card a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.safety-note,
.inline-warning {
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.35;
}

@media (max-width: 719px) {
  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  .section {
    padding: 52px 0;
  }

  .how-it-works {
    padding-top: 42px;
  }

  .hero {
    min-height: auto;
    padding: 34px 0 18px;
    align-items: end;
  }

  .hero-grid {
    width: min(var(--max), calc(100% - 28px));
    gap: 14px;
  }

  .hero-copy h1 {
    margin-bottom: 14px;
  }

  .hero-lede {
    margin-bottom: 14px;
  }

  .hero-badges {
    gap: 8px;
  }

  .hero-badges span {
    padding: 8px 10px;
    font-size: 0.84rem;
  }

  .hero-date-card {
    padding: 20px;
  }

  .date-card-logo img {
    width: min(224px, 76%);
  }

  .hero-date-card h2,
  .section-heading h2,
  .cta-card h2 {
    font-size: clamp(2.15rem, 10vw, 3.15rem);
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .steps-grid,
  .product-grid {
    gap: 14px;
  }

  .step-card {
    padding: 18px;
  }

  .product-card {
    padding: 12px;
    gap: 11px;
  }

  .product-media {
    aspect-ratio: 16 / 10;
  }

  .product-body {
    gap: 9px;
  }

  .product-title-row {
    gap: 10px;
  }

  .product-title-row h3 {
    font-size: clamp(1.35rem, 7vw, 2rem);
  }

  .price {
    padding: 7px 9px;
    font-size: 0.92rem;
  }

  .availability-banner {
    margin-bottom: 14px;
    padding: 12px 14px;
    font-size: 0.92rem;
  }

  .final-cta {
    padding-top: 48px;
  }

  .site-footer {
    padding: 28px 0 calc(28px + env(safe-area-inset-bottom));
  }

  .footer-grid {
    gap: 18px;
  }

  .footer-logo-compact {
    font-size: 0.98rem;
  }

  .footer-logo-mark {
    width: 66px;
    height: 76px;
  }

  .footer-contact {
    font-size: 0.94rem;
    max-width: 100%;
  }

  .cart-panel {
    max-height: calc(100svh - 18px);
    padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .modal-backdrop {
    align-items: end;
    place-items: end center;
    padding: 10px 14px max(14px, env(safe-area-inset-bottom));
  }

  .reservation-modal {
    width: 100%;
    max-height: calc(100svh - 20px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border-radius: 26px;
    padding: 18px 18px calc(22px + env(safe-area-inset-bottom));
  }

  .reservation-modal h2 {
    font-size: clamp(2.1rem, 10vw, 3rem);
    margin-bottom: 10px;
  }

  .reservation-summary {
    margin: 10px 0 14px;
    padding: 12px;
    border-radius: 16px;
    font-size: 0.92rem;
  }

  .reservation-form {
    gap: 8px;
  }

  .reservation-form input,
  .reservation-form select,
  .reservation-form textarea {
    min-height: 46px;
    border-radius: 13px;
    padding: 9px 12px;
  }

  .turnstile-field {
    gap: 7px;
    margin-top: 6px;
    min-height: 72px;
  }

  #reservation-turnstile {
    max-width: 100%;
    overflow: hidden;
  }
}


/* Contact page mobile visual QA polish pass */
.contact-main {
  scroll-margin-top: 92px;
}

.contact-copy p {
  max-width: 620px;
}

.contact-page-card strong,
.contact-page-card span,
.contact-page-card a {
  min-width: 0;
}

.contact-page-card a {
  text-underline-offset: 3px;
}

#contact-turnstile {
  max-width: 100%;
  overflow: hidden;
}

.contact-form-card .button.full {
  margin-top: 2px;
}

@media (max-width: 719px) {
  .contact-hero {
    padding-top: 42px;
    padding-bottom: 56px;
  }

  .contact-grid {
    gap: 18px;
  }

  .contact-copy h1 {
    font-size: clamp(2.25rem, 12vw, 3.6rem);
    line-height: 0.94;
    letter-spacing: -0.075em;
    max-width: 12ch;
  }

  .contact-copy p {
    margin: 10px 0 0;
    font-size: 1rem;
    line-height: 1.42;
  }

  .contact-page-card {
    margin-top: 18px;
    padding: 16px;
    gap: 7px;
    border-radius: 22px;
  }

  .contact-page-card strong,
  .contact-page-card span,
  .contact-page-card a {
    font-size: 0.97rem;
    line-height: 1.42;
  }

  .contact-form-card {
    padding: 18px;
    gap: 8px;
    border-radius: 24px;
  }

  .contact-form-card h2 {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 0.96;
  }

  .contact-form-card label {
    margin-top: 2px;
    line-height: 1.1;
  }

  .contact-form-card input,
  .contact-form-card select,
  .contact-form-card textarea {
    min-height: 46px;
    border-radius: 13px;
    padding: 9px 12px;
  }

  .contact-form-card textarea {
    min-height: 132px;
  }

  .contact-form-card .form-help {
    font-size: 0.9rem;
  }

  .contact-form-card .button.full {
    min-height: 52px;
    margin-top: 4px;
  }

  #contact-turnstile {
    width: 100%;
  }

  .contact-success {
    padding: 16px;
    border-radius: 18px;
  }

  .contact-map-layout {
    padding: 14px;
    border-radius: 24px;
  }

  .contact-map-copy h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .contact-map-actions .button {
    width: 100%;
  }

  .contact-map-frame,
  .contact-map-frame iframe {
    min-height: 300px;
  }
}

@media (max-width: 359px) {
  .contact-form-card,
  .contact-page-card {
    padding: 14px;
  }

  .contact-copy h1,
  .contact-form-card h2 {
    letter-spacing: -0.065em;
  }

  #contact-turnstile {
    width: 300px;
    transform: scale(0.84);
    transform-origin: left top;
  }

  .contact-form-card .turnstile-field {
    min-height: 64px;
  }
}

/* Admin/Ops desktop QA polish pass */
[hidden] {
  display: none !important;
}

.admin-body .site-header,
.ops-body .site-header {
  background: rgba(255, 248, 236, 0.82);
}

.admin-main,
.ops-main {
  padding-top: clamp(34px, 4vw, 52px);
}

.admin-body .admin-main > .container,
.ops-body .ops-main > .container {
  width: min(1180px, calc(100% - 72px));
}

.admin-header {
  align-items: center;
  margin-bottom: 16px;
}

.admin-header > div {
  max-width: 820px;
}

.admin-header .admin-muted,
.ops-header p {
  max-width: 920px;
}

.admin-body #reset-data {
  flex: 0 0 auto;
  width: auto;
  min-width: 142px;
  max-width: none;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid rgba(34, 49, 37, 0.12);
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
}

.admin-banner {
  max-width: 100%;
  padding: 12px 14px;
  font-size: 0.95rem;
  line-height: 1.45;
}

.admin-card,
.ops-card {
  scroll-margin-top: 96px;
}

#products-admin,
#blocks-admin,
#packages-admin,
#reservations-admin,
#ops-status-title,
#ops-pickup-title,
#ops-upcoming-title,
#ops-returns-title,
#ops-followup-title,
#ops-contact-followup-title,
#ops-reservations-title,
#ops-contacts-title,
#ops-status-history-title,
#ops-email-title {
  scroll-margin-top: 96px;
}

.admin-card,
.ops-card {
  padding: 22px;
}

.admin-card h2,
.ops-card h2 {
  text-wrap: balance;
}

.admin-grid,
.ops-grid {
  align-items: start;
  gap: 18px;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  max-width: 100%;
}

.image-upload-note {
  align-self: start;
}

.admin-image-preview:not([src]),
.admin-image-preview[src=""] {
  display: none !important;
}

.admin-row,
.ops-row {
  overflow: hidden;
}

.admin-row-title {
  align-items: flex-start;
}

.admin-muted,
.ops-meta-line,
.ops-item-line,
.admin-row,
.ops-row {
  overflow-wrap: anywhere;
}

.admin-actions,
.ops-actions {
  row-gap: 8px;
}

.ops-split-list,
.ops-board {
  align-items: start;
}

.ops-board-column {
  min-height: 0;
}

.ops-card.full-width .admin-list {
  max-width: 100%;
}

.ops-history-row {
  padding: 14px;
}

@media (min-width: 1100px) {
  .admin-card,
  .ops-card {
    border-radius: 24px;
  }

  .admin-grid,
  .ops-grid {
    gap: 20px;
  }

  .ops-card.full-width {
    padding: 24px;
  }
}

@media (max-width: 979px) {
  .admin-body .admin-main > .container,
  .ops-body .ops-main > .container {
    width: min(var(--max), calc(100% - 32px));
  }

  .admin-header {
    align-items: flex-start;
  }

  .admin-body #reset-data {
    min-width: 0;
    white-space: normal;
  }
}


/* Cloudflare/mobile rendering guardrails */
@supports (content-visibility: auto) {
  .how-it-works,
  .packages-section,
  .gear-section,
  .pickup-section,
  .final-cta,
  .site-footer,
  .contact-hero,
  .legal-main {
    content-visibility: auto;
    contain-intrinsic-size: auto 900px;
  }
}


/* Catalog/admin polish and ops pickup workflow */
.admin-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-end;
}

.image-upload-status {
  margin: 0;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(39, 67, 47, 0.16);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 0.88rem;
}

.image-upload-status:empty,
.image-upload-status[hidden] {
  display: none;
}

.image-upload-status.is-success {
  border-color: rgba(35, 118, 73, 0.28);
  background: rgba(234, 247, 238, 0.95);
  color: #1e6039;
}

.image-upload-status.is-error {
  border-color: rgba(163, 55, 48, 0.3);
  background: rgba(255, 241, 239, 0.96);
  color: #8d2d26;
}

.image-upload-panel {
  display: grid;
  gap: 0.75rem;
  grid-column: 1 / -1;
  padding: 0.85rem;
  border: 1px solid rgba(39, 67, 47, 0.14);
  border-radius: 1rem;
  background: rgba(255, 253, 247, 0.88);
}

.image-upload-panel > label {
  margin: 0;
}

.advanced-image-field {
  border-top: 1px solid rgba(39, 67, 47, 0.12);
  padding-top: 0.65rem;
}

.advanced-image-field summary {
  cursor: pointer;
  color: var(--pine);
  font-weight: 850;
}

.advanced-image-field label {
  margin-top: 0.65rem;
}

.advanced-image-field .admin-muted {
  margin: 0.45rem 0 0;
}

.cart-bundle-summary {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.cart-bundle-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem;
  border: 1px solid rgba(39, 67, 47, 0.14);
  border-radius: 1rem;
  background: rgba(238, 246, 235, 0.9);
}

.cart-bundle-card span {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-bundle-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.cart-bundle-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.cart-bundle-card > strong {
  white-space: nowrap;
  color: var(--accent-dark);
  font-size: 0.9rem;
}

.ops-checklist {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.8rem;
  padding: 0.8rem;
  border: 1px solid rgba(39, 67, 47, 0.14);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.7);
}

.ops-checklist-heading,
.ops-check-grid,
.ops-notes-grid {
  display: grid;
  gap: 0.65rem;
}

.ops-checklist-heading {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.ops-checklist-heading span {
  color: var(--muted);
  font-size: 0.84rem;
}

.ops-check-grid {
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
}

.ops-check {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  padding: 0.45rem 0.55rem;
  border-radius: 0.75rem;
  background: rgba(246, 241, 229, 0.75);
  font-size: 0.88rem;
}

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

.ops-notes-grid label {
  display: grid;
  gap: 0.35rem;
  font-weight: 800;
}

@media (max-width: 720px) {
  .admin-header-actions,
  .cart-bundle-card,
  .ops-checklist-heading,
  .ops-notes-grid {
    grid-template-columns: 1fr;
  }

  .admin-header-actions {
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
  }

  .admin-header-actions .button,
  .cart-bundle-card > strong {
    width: 100%;
  }

  .ops-check-grid {
    grid-template-columns: 1fr;
  }
}

/* Public catalog dropdown filtering and product-card scan-speed pass */
.catalog-tools {
  display: grid;
  gap: 14px;
  margin: 0 0 20px;
  padding: 16px;
  border: 1px solid rgba(31, 60, 42, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(245, 185, 77, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 253, 247, 0.98), rgba(237, 244, 229, 0.9));
  box-shadow: 0 16px 38px rgba(31, 60, 42, 0.09);
}

.catalog-tools-intro {
  display: grid;
  gap: 4px;
}

.catalog-tools-kicker {
  color: var(--sage-dark);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.catalog-tools-intro h3 {
  margin: 0;
  color: var(--pine);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.15;
}

.catalog-tools-intro p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  max-width: 54ch;
}

.catalog-select-label {
  display: grid;
  gap: 8px;
  color: var(--pine);
  font-weight: 950;
}

.catalog-select-label span {
  font-size: 0.9rem;
}

.catalog-select-label select {
  min-height: 52px;
  width: 100%;
  appearance: none;
  border: 1px solid rgba(31, 60, 42, 0.2);
  border-radius: 16px;
  background:
    linear-gradient(45deg, transparent 50%, var(--pine) 50%) calc(100% - 22px) 50% / 8px 8px no-repeat,
    linear-gradient(135deg, white, rgba(255, 248, 236, 0.94));
  color: var(--pine);
  padding: 0 48px 0 16px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.catalog-select-label select:disabled {
  opacity: 0.64;
}

.catalog-tool-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 2px;
}

.catalog-results-count {
  margin: 0;
  color: var(--pine);
  font-size: 0.92rem;
  font-weight: 850;
}

@media (min-width: 780px) {
  .catalog-tools {
    grid-template-columns: minmax(260px, 1fr) minmax(240px, 0.68fr);
    align-items: end;
    padding: 18px;
  }

  .catalog-tool-footer {
    grid-column: 1 / -1;
  }
}

@media (max-width: 719px) {
  .catalog-tools {
    padding: 14px;
    border-radius: 20px;
  }

  .catalog-tools-intro p {
    font-size: 0.94rem;
  }

  .catalog-select-label select {
    min-height: 50px;
  }
}

.catalog-empty-card {
  grid-column: 1 / -1;
}

.card-title {
  margin-bottom: 0;
}

.product-card .card-copy {
  display: block;
  overflow: visible;
  min-height: 0;
  max-height: none;
  color: var(--muted);
  line-height: 1.55;
}

.gear-card .product-body {
  gap: 8px;
}

.gear-card .meta-pill,
.gear-card .available-pill,
.gear-card .price {
  font-size: 0.84rem;
  padding: 7px 9px;
}

.gear-card .card-actions .button,
.package-card .card-actions .button {
  min-height: 46px;
}

/* Catalog import, normalized admin media, and pickup execution ops */
.catalog-import-card {
  margin-top: 16px;
}

.catalog-import-preview:empty {
  display: none;
}

.import-summary-row,
.import-detail-row,
.import-warning-row,
.import-error-row {
  overflow-wrap: anywhere;
}

.import-preview-list {
  margin-top: 6px;
  line-height: 1.5;
}

.import-package-change {
  display: grid;
  gap: 4px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.import-package-change:first-child {
  border-top: 0;
  padding-top: 0;
}

.import-warning-row {
  border-color: rgba(150, 116, 36, 0.28);
  background: #fff8e6;
}

.import-error-row {
  border-color: rgba(137, 43, 43, 0.24);
  background: #fff1ef;
}

#catalog-import-admin {
  scroll-margin-top: 96px;
}

.admin-form #catalog-import-file {
  background: white;
}

.ops-execution-grid {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.ops-execution-row {
  gap: 9px;
}

.ops-execution-row .ops-check-grid {
  display: grid;
  gap: 8px;
}

.ops-execution-actions {
  margin-top: 2px;
}

.ops-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--pine);
  font-size: 0.9rem;
  font-weight: 850;
}

.ops-check input {
  width: auto;
  min-height: auto;
  flex: 0 0 auto;
}

.ops-checklist {
  display: grid;
  gap: 9px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(237, 244, 229, 0.65);
  border: 1px solid rgba(92, 122, 83, 0.14);
}

.ops-checklist-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: var(--pine);
}

.ops-checklist-heading span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.ops-check-grid {
  display: grid;
  gap: 7px;
}

.ops-notes-grid {
  display: grid;
  gap: 8px;
}

.ops-notes-grid textarea {
  min-height: 78px;
  background: white;
}

@media (min-width: 900px) {
  .ops-execution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1220px) {
  .ops-execution-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}


/* Admin mobile visual QA pass: compact owner workspace */
.admin-site-header {
  background: rgba(255, 248, 236, 0.94);
}

.admin-header-inner {
  gap: 0.85rem;
}

.dashboard-card {
  margin-bottom: 16px;
}

.admin-editor {
  margin: 14px 0 12px;
  border: 1px solid rgba(34, 49, 37, 0.12);
  border-radius: 18px;
  background: rgba(237, 244, 229, 0.72);
  overflow: hidden;
}

.admin-editor summary {
  list-style: none;
  cursor: pointer;
  padding: 13px 15px;
  color: var(--pine);
  font-weight: 900;
}

.admin-editor summary::-webkit-details-marker {
  display: none;
}

.admin-editor summary::after {
  content: "+";
  float: right;
  font-weight: 950;
}

.admin-editor[open] summary::after {
  content: "–";
}

.admin-editor .admin-form {
  margin: 0;
  padding: 14px;
  border-top: 1px solid rgba(34, 49, 37, 0.12);
  background: rgba(255, 253, 247, 0.9);
}

.admin-row-title > span:last-child {
  white-space: nowrap;
}

.admin-row-media > div {
  min-width: 0;
}

@media (max-width: 720px) {
  .admin-body {
    font-size: 16px;
  }

  .admin-body .site-header {
    position: sticky;
  }

  .admin-header-inner {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    min-height: 0;
    padding: 10px 0 8px;
  }

  .admin-brand {
    gap: 8px;
  }

  .admin-brand .brand-mark {
    width: 36px;
    height: 42px;
  }

  .admin-brand .brand-wordmark {
    max-width: none;
    font-size: 1rem;
    letter-spacing: -0.03em;
  }

  .admin-nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 100%;
    gap: 7px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 0 2px;
  }

  .admin-nav::-webkit-scrollbar {
    display: none;
  }

  .admin-nav a {
    flex: 0 0 auto;
    padding: 8px 11px;
    border: 1px solid rgba(34, 49, 37, 0.11);
    background: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1;
  }

  .admin-main {
    padding-top: 18px;
    padding-bottom: 56px;
  }

  .admin-body .admin-main > .container {
    width: min(100% - 24px, var(--max));
  }

  .admin-header {
    display: grid;
    gap: 14px;
    margin-bottom: 12px;
  }

  .admin-header h1 {
    font-size: clamp(2.45rem, 15vw, 3.25rem);
    margin-bottom: 10px;
  }

  .admin-header .admin-muted {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.5;
  }

  .admin-header-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .admin-header-actions .button,
  .admin-body #reset-data {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 999px;
    font-size: 0.9rem;
    line-height: 1.1;
    white-space: normal;
  }

  .admin-banner {
    margin: 14px 0;
    padding: 11px 12px;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .admin-grid {
    gap: 14px;
    margin-top: 0;
  }

  .admin-card {
    padding: 16px;
    border-radius: 22px;
    box-shadow: 0 12px 34px rgba(31, 60, 42, 0.1);
  }

  .admin-card h2 {
    font-size: clamp(2rem, 11vw, 2.75rem);
    margin-bottom: 10px;
  }

  .metric-grid {
    gap: 9px;
  }

  .metric {
    min-height: 108px;
    padding: 14px;
    border-radius: 16px;
  }

  .metric strong {
    font-size: 2rem;
    line-height: 1;
  }

  .metric span {
    display: block;
    margin-top: 8px;
    font-size: 0.95rem;
    line-height: 1.25;
  }

  .admin-editor {
    margin-top: 12px;
  }

  .admin-editor summary {
    padding: 12px 13px;
    font-size: 1rem;
  }

  .admin-form {
    gap: 9px;
  }

  .admin-form input,
  .admin-form select,
  .admin-form textarea {
    min-height: 48px;
    border-radius: 14px;
    padding: 10px 12px;
    font-size: 1rem;
  }

  .admin-form label {
    display: grid;
    gap: 5px;
  }

  .checkbox-row {
    display: flex !important;
    align-items: center;
    gap: 10px;
  }

  .checkbox-row input {
    width: 26px;
    height: 26px;
  }

  .image-upload-note {
    padding: 11px 12px;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .admin-list {
    gap: 9px;
    margin-top: 12px;
  }

  .admin-row {
    gap: 9px;
    padding: 11px;
    border-radius: 18px;
  }

  .admin-row-media {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
  }

  .admin-thumb {
    width: 68px;
    height: 54px;
    border-radius: 12px;
  }

  .admin-row-title {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    font-size: 1rem;
    line-height: 1.18;
  }

  .admin-row-title > span:last-child {
    justify-self: start;
    font-size: 0.95rem;
  }

  .admin-muted {
    font-size: 0.94rem;
    line-height: 1.42;
  }

  .admin-actions {
    gap: 7px;
  }

  .small-button {
    min-height: 42px;
    padding: 8px 12px;
    font-size: 0.95rem;
  }

  #reservations-admin .admin-row-title {
    grid-template-columns: 1fr auto;
  }

  #reservations-admin .admin-row-title > span:last-child {
    justify-self: end;
  }

  #reservations-admin select {
    min-height: 48px;
  }

  #catalog-import-admin {
    grid-column: 1 / -1;
  }
}

/* Contact + Ops mobile visual QA pass: contact form order, footer polish, ops scan speed */
.contact-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 820px;
}

.contact-form-section {
  padding-top: 34px;
}

.contact-form-shell {
  max-width: 760px;
}

.contact-form-shell .contact-success {
  margin-top: 14px;
}

.ops-site-header {
  background: rgba(255, 248, 236, 0.94);
}

.ops-header-inner {
  gap: 12px;
}

.ops-brand .brand-wordmark {
  max-width: none;
}

.ops-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
  max-width: min(100%, 920px);
}

.ops-nav a {
  border: 1px solid rgba(34, 49, 37, 0.11);
  background: rgba(255, 255, 255, 0.76);
  line-height: 1;
  white-space: nowrap;
  padding: 8px 10px;
  font-size: 0.9rem;
}

.ops-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.ops-jump-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(34, 49, 37, 0.12);
  border-radius: 999px;
  background: rgba(237, 244, 229, 0.92);
  color: var(--pine);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
}

.ops-collapse > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  align-items: center;
  list-style: none;
  cursor: pointer;
  color: var(--pine);
}

.ops-collapse > summary::-webkit-details-marker {
  display: none;
}

.ops-collapse > summary::after {
  content: "+";
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(34, 49, 37, 0.12);
  border-radius: 999px;
  background: var(--mist);
  font-size: 1.15rem;
  font-weight: 950;
  line-height: 1;
}

.ops-collapse[open] > summary::after {
  content: "–";
}

.ops-collapse > summary span {
  font-size: clamp(1.75rem, 5vw, 2.7rem);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.ops-collapse > summary small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0;
}

.ops-collapse[open] > summary {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 720px) {
  .contact-intro-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-form-shell .contact-form-card {
    padding: 24px;
  }
}

@media (max-width: 719px) {
  .contact-hero {
    padding-bottom: 34px;
  }

  .contact-form-section {
    padding-top: 30px;
    padding-bottom: 54px;
  }

  .contact-form-shell {
    width: min(100% - 32px, var(--max));
  }

  .contact-map-section {
    padding-bottom: 30px;
  }

  .site-footer {
    padding: 30px 0 34px;
  }

  .footer-grid {
    gap: 18px;
  }

  .footer-logo-compact {
    gap: 10px;
    margin-bottom: 6px;
    max-width: 100%;
  }

  .footer-logo-mark {
    width: 68px;
    height: 79px;
  }

  .footer-logo-compact span {
    font-size: 0.94rem;
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  .footer-brand p {
    font-size: 0.94rem;
  }

  .footer-links {
    gap: 8px;
    margin-top: 8px;
  }

  .footer-links a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
  }

  .footer-contact {
    gap: 9px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.94rem;
  }

  .footer-contact a,
  .footer-contact span {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .footer-contact a:first-child {
    font-size: 1.05rem;
    font-weight: 500;
  }

  .ops-body .site-header {
    position: sticky;
  }

  .ops-header-inner {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    min-height: 0;
    padding: 10px 0 8px;
  }

  .ops-brand {
    gap: 8px;
  }

  .ops-brand .brand-mark {
    width: 36px;
    height: 42px;
  }

  .ops-brand .brand-wordmark {
    font-size: 1rem;
    letter-spacing: -0.03em;
  }

  .ops-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .ops-nav::-webkit-scrollbar,
  .ops-jump-nav::-webkit-scrollbar {
    display: none;
  }

  .ops-nav a {
    flex: 0 0 auto;
    padding: 8px 11px;
    font-size: 0.88rem;
  }

  .ops-main {
    padding-top: 20px;
    padding-bottom: 56px;
  }

  .ops-body .ops-main > .container {
    width: min(100% - 24px, var(--max));
  }

  .ops-header {
    gap: 8px;
    margin-bottom: 14px;
  }

  .ops-header h1 {
    max-width: 11ch;
    font-size: clamp(2.35rem, 13vw, 3.45rem);
    line-height: 0.94;
  }

  .ops-header p {
    font-size: 1rem;
    line-height: 1.42;
  }

  .ops-header .form-status {
    margin: 4px 0 0;
    padding: 11px 12px;
    border-radius: 16px;
    font-size: 0.95rem;
  }

  .ops-jump-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .ops-jump-nav a {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 11px;
    font-size: 0.86rem;
  }

  .ops-card {
    padding: 16px;
    border-radius: 22px;
    box-shadow: 0 12px 34px rgba(31, 60, 42, 0.1);
  }

  .ops-card h2 {
    font-size: clamp(1.95rem, 10vw, 2.75rem);
    line-height: 0.96;
  }

  .ops-body .metric-grid {
    gap: 8px;
  }

  .ops-body .metric {
    min-height: 84px;
    padding: 12px;
    border-radius: 16px;
  }

  .ops-body .metric strong {
    font-size: 1.8rem;
    line-height: 1;
  }

  .ops-body .metric span {
    display: block;
    margin-top: 7px;
    font-size: 0.88rem;
    line-height: 1.22;
  }

  .ops-board-column {
    padding: 12px;
    border-radius: 18px;
  }

  .ops-row {
    padding: 12px;
    border-radius: 18px;
  }

  .ops-row .admin-row-title {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .ops-row .admin-row-title > span:last-child,
  .ops-history-kind {
    justify-self: start;
  }

  .ops-actions {
    gap: 7px;
  }

  .ops-actions .small-button {
    min-height: 40px;
    padding: 8px 11px;
  }

  .ops-history-change {
    gap: 6px;
  }

  .ops-collapse > summary span {
    font-size: clamp(1.85rem, 10vw, 2.55rem);
  }

  .ops-collapse > summary small,
  .ops-meta-line,
  .ops-item-line,
  .ops-note-list p,
  .ops-note {
    font-size: 0.9rem;
    line-height: 1.42;
  }
}

.ops-pickup-packet {
  gap: 12px;
}

.ops-packet-title {
  align-items: flex-start;
}

.ops-packet-grid {
  display: grid;
  gap: 10px;
}

.ops-packet-section {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(39, 67, 47, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.ops-packet-section h4 {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ops-packet-section p {
  margin: 0;
  color: var(--pine);
  font-size: 0.92rem;
  font-weight: 780;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.ops-packet-section-wide {
  grid-column: 1 / -1;
}

@media (min-width: 780px) {
  .ops-packet-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
  }
}


/* Delivery polish pass: footer contact text should read lighter than section headings. */
.site-footer .footer-logo-compact,
.site-footer .footer-logo-compact span,
.site-footer .footer-contact a,
.site-footer .footer-contact span {
  font-weight: 500;
}

/* Attribution, media hardening, and pickup packet pass */
.ops-packet-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: -2px;
}

.ops-packet-tools .small-button {
  min-height: 38px;
}

.ops-source-detail {
  margin-top: 4px !important;
  color: var(--muted) !important;
  font-size: 0.82rem !important;
  font-weight: 650 !important;
}

@media (max-width: 720px) {
  .ops-packet-tools {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ops-packet-tools .small-button {
    width: 100%;
  }
}

/* Admin package editor controls pass */
.package-includes-editor {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(237, 244, 229, 0.58);
}

.package-includes-heading {
  display: grid;
  gap: 3px;
  font-weight: 900;
}

.package-includes-heading .admin-muted,
.package-includes-help {
  margin: 0;
  font-weight: 650;
}

.package-include-rows {
  display: grid;
  gap: 10px;
}

.package-include-row {
  display: grid;
  gap: 9px;
  padding: 10px;
  border: 1px solid rgba(34, 49, 37, 0.12);
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.92);
}

.package-include-main,
.package-alternate-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 112px;
  gap: 10px 12px;
  align-items: end;
}

.package-include-row label,
.package-alternate-row label {
  display: grid;
  gap: 5px;
  min-width: 0;
  margin: 0;
}

.package-include-row select,
.package-alternate-row select {
  min-width: 0;
}

.package-row-actions {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  gap: 8px;
  justify-content: flex-start;
}

.package-alternate-row .small-button {
  grid-column: 1 / -1;
  justify-self: start;
}

.package-include-row .small-button,
.package-alternate-row .small-button {
  min-height: 44px;
}

.package-alternate-list {
  display: grid;
  gap: 8px;
  padding-left: 14px;
  border-left: 3px solid rgba(81, 110, 83, 0.2);
}

.package-alternate-list:empty {
  display: none;
}

.package-alternate-row {
  padding: 9px;
  border: 1px dashed rgba(34, 49, 37, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

@media (max-width: 720px) {
  .package-includes-editor {
    padding: 10px;
    border-radius: 15px;
  }

  .package-include-main,
  .package-alternate-row {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 8px;
  }

  .package-include-row {
    gap: 8px;
    padding: 10px;
  }

  .package-row-actions {
    justify-content: stretch;
  }

  .package-include-row .small-button,
  .package-alternate-row .small-button {
    width: 100%;
  }

  .package-alternate-list {
    padding-left: 10px;
  }
}

/* Customer cart package alternates */
.cart-substitutions {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.cart-substitution {
  display: grid;
  gap: 8px;
  padding: 9px;
  border: 1px solid rgba(92, 122, 83, 0.22);
  border-radius: 14px;
  background: #f7fbf2;
}

.cart-substitution-copy {
  display: grid;
  gap: 3px;
  color: var(--pine);
  font-size: 0.84rem;
}

.cart-substitution-copy span:last-child {
  color: var(--muted);
}

.cart-substitution-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef9e7;
  color: var(--pine);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cart-substitution-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cart-substitution-actions .small-button {
  flex: 1 1 110px;
  justify-content: center;
}


/* Public product-card hierarchy pass: descriptions are primary; safety notes are secondary and expandable. */
.product-card .card-copy {
  display: block;
  overflow: visible;
  min-height: 0;
  max-height: none;
  -webkit-line-clamp: unset;
}
.product-card .safety-note-collapsible {
  margin-top: 2px;
}
@media (max-width: 719px) {
  .safety-note-collapsible summary {
    grid-template-columns: 1fr auto;
  }
  .safety-summary-label {
    grid-column: 1 / -1;
  }
}

/* Full brand-badge logo pass: header and footer logo slots preserve the bottom UTAH / Camping Gear Rentals lettering without cropping. */

/* Prompt 2: public FAQ, camping tips, and future content surfaces */
.content-support-section {
  background: linear-gradient(180deg, rgba(237, 244, 229, 0.48), rgba(255, 248, 236, 0));
}

.content-support-grid,
.content-card-grid,
.content-two-column,
.content-hero-grid {
  display: grid;
  gap: 16px;
}

.content-support-card,
.content-card,
.content-check-card,
.future-content-card,
.faq-item {
  background: rgba(255, 253, 247, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.content-support-card,
.content-card,
.content-check-card {
  padding: 20px;
}

.content-support-card span,
.content-card span,
.future-content-list span {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(237, 244, 229, 0.96);
  color: var(--pine);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-support-card h3,
.content-card h3 {
  margin-top: 14px;
}

.content-support-card p,
.content-card p,
.content-check-card p,
.future-content-card p,
.faq-item p,
.content-page .section-heading p {
  color: var(--muted);
}

.content-support-card a {
  color: var(--sage-dark);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.content-hero {
  background: linear-gradient(135deg, rgba(31, 60, 42, 0.96), rgba(54, 86, 58, 0.92));
  color: white;
}

.content-hero h1,
.content-hero h2 {
  color: white;
}

.content-hero .hero-lede,
.content-hero .content-check-card p {
  color: rgba(255, 249, 238, 0.82);
}

.content-hero .eyebrow {
  color: rgba(255, 236, 194, 0.96);
}

.content-badges a {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(19, 28, 21, 0.34);
  color: white;
  padding: 9px 12px;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
}

.content-check-card {
  background: rgba(255, 253, 247, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
  box-shadow: none;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--pine);
  font-weight: 900;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--sage-dark);
  font-weight: 950;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: -6px 20px 18px;
}

.safety-content-card {
  background: linear-gradient(180deg, rgba(255, 253, 247, 0.96), rgba(255, 247, 233, 0.92));
}

.future-content-card {
  display: grid;
  gap: 18px;
  align-items: center;
  padding: clamp(22px, 4vw, 34px);
  background: linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(237, 244, 229, 0.94));
}

.future-content-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}


/* Group 1 Prompt 4: reusable static content media and video sections */
.content-media-section,
.content-faq-section,
.content-related-section,
.content-cta-section {
  display: grid;
  gap: 18px;
}

.content-media-grid,
.content-section-grid,
.content-related-grid {
  display: grid;
  gap: 16px;
}

.content-media-card,
.content-video-card,
.content-related-card {
  background: rgba(255, 253, 247, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.content-media-card,
.content-video-card {
  padding: 18px;
}

.content-related-card {
  padding: 20px;
}

.content-image-frame,
.content-video-frame {
  overflow: hidden;
  border-radius: calc(var(--radius) - 6px);
  background: rgba(31, 60, 42, 0.08);
}

.content-image-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.content-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
}

.content-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.content-media-caption,
.content-video-caption {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.content-section-eyebrow {
  margin: 0 0 8px;
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-cta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.content-related-card a {
  color: var(--sage-dark);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

@media (min-width: 720px) {
  .content-support-grid,
  .content-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .content-two-column,
  .content-hero-grid,
  .future-content-card,
  .content-media-grid,
  .content-section-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

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

  .content-card-grid .content-card:nth-child(4),
  .content-card-grid .content-card:nth-child(5),
  .content-card-grid .content-card:nth-child(6) {
    grid-column: auto;
  }
}

@media (max-width: 719px) {
  .content-support-card,
  .content-card,
  .content-check-card,
  .content-media-card,
  .content-video-card,
  .content-related-card {
    padding: 18px;
  }

  .content-hero {
    padding-top: 48px;
  }

  .faq-item summary {
    padding: 16px 18px;
  }

  .faq-item p {
    margin: -4px 18px 16px;
  }
}


/* Prompt 2 protected CMS content manager baseline. */
.content-manager-header .admin-header-actions {
  align-items: stretch;
}

.content-manager-grid {
  align-items: start;
}

.content-list-card,
.content-editor-card {
  min-width: 0;
}

.admin-section-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.admin-section-header h2 {
  margin-bottom: 4px;
}

.content-row {
  align-items: flex-start;
}

.content-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: max-content;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .01em;
  border: 1px solid rgba(34, 49, 37, .16);
  background: rgba(255, 255, 255, .72);
  color: var(--forest, #223125);
}

.content-status-published {
  background: rgba(220, 244, 220, .86);
}

.content-status-draft {
  background: rgba(255, 245, 214, .9);
}

.content-status-archived,
.content-status-retired {
  background: rgba(234, 230, 218, .9);
}

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

.content-form textarea[name="bodyText"] {
  min-height: 260px;
}

.content-empty-row {
  border-style: dashed;
}

@media (min-width: 980px) {
  .content-manager-grid {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  }

  .content-editor-card {
    position: sticky;
    top: 18px;
  }
}

@media (max-width: 720px) {
  .content-manager-header .admin-header-actions,
  .content-form-actions {
    width: 100%;
  }

  .content-manager-header .admin-header-actions .button,
  .content-form-actions .button {
    width: 100%;
  }

  .content-row .admin-row-title {
    gap: 8px;
  }
}


/* Prompt 3 protected CMS structured block editor. */
.content-block-editor {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(34, 49, 37, .14);
  border-radius: 18px;
  background: rgba(255, 255, 255, .54);
}

.content-block-editor h3 {
  margin: 0 0 4px;
}

.content-block-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.content-block-summary {
  margin: 0;
}

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

.content-block-empty {
  padding: 16px;
  border: 1px dashed rgba(34, 49, 37, .24);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, .62);
  font-weight: 800;
}

.content-block-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(34, 49, 37, .16);
  border-radius: 18px;
  background: rgba(255, 255, 255, .84);
}

.content-block-card-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.content-block-card-header > div:first-child {
  display: grid;
  gap: 2px;
}

.content-block-actions {
  justify-content: flex-end;
}

.content-block-actions .small-button:disabled {
  opacity: .46;
  cursor: not-allowed;
}

.content-block-fields {
  display: grid;
  gap: 10px;
}

.content-block-fields label {
  display: grid;
  gap: 6px;
  font-weight: 850;
  color: var(--pine);
}

.content-block-fields input,
.content-block-fields select,
.content-block-fields textarea {
  width: 100%;
}

@media (max-width: 720px) {
  .content-block-toolbar .small-button,
  .content-block-actions .small-button {
    flex: 1 1 auto;
  }

  .content-block-card-header {
    display: grid;
  }

  .content-block-actions {
    justify-content: stretch;
  }
}

/* Prompt 4 protected CMS media and YouTube support. */
.content-media-panel {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(34, 49, 37, .14);
  border-radius: 18px;
  background: rgba(255, 255, 255, .58);
}

.content-media-panel h3 {
  margin: 0 0 4px;
}

.content-featured-image-panel,
.content-block-image-panel {
  background: rgba(247, 242, 234, .84);
}

.content-image-preview {
  width: min(100%, 420px);
  max-height: 260px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(34, 49, 37, .12);
  background: rgba(255, 255, 255, .78);
}

.content-media-fallback {
  padding: 12px 14px;
  border: 1px dashed rgba(34, 49, 37, .22);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, .62);
  font-weight: 800;
}

.content-video-block,
.content-image-block,
.content-gallery-block,
.content-faq-block,
.content-cta-block,
.content-package-mention,
.content-note-block {
  margin: 18px 0;
}

.content-video-block {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #111;
  aspect-ratio: 16 / 9;
}

.content-video-block iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.content-image-block img,
.content-gallery-block img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.content-image-block figcaption,
.content-gallery-block figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 750;
}

.content-gallery-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.content-note-block,
.content-package-mention {
  padding: 16px;
  border-radius: 18px;
  background: rgba(247, 242, 234, .9);
  border: 1px solid rgba(34, 49, 37, .14);
}

/* Prompt 5 protected CMS lifecycle workflow. */
.content-lifecycle-panel {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(34, 49, 37, .14);
  border-radius: 18px;
  background: rgba(247, 242, 234, .82);
}

.content-lifecycle-panel h3 {
  margin: 0 0 4px;
}

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

.content-lifecycle-actions .small-button:disabled {
  opacity: .46;
  cursor: not-allowed;
}

.content-preview-main {
  padding-top: 36px;
  padding-bottom: 54px;
}

.content-preview-shell {
  margin-top: 18px;
  padding: clamp(18px, 4vw, 34px);
  border: 1px solid rgba(34, 49, 37, .14);
  border-radius: 28px;
  background: rgba(255, 253, 247, .94);
  box-shadow: 0 24px 60px rgba(31, 60, 42, .1);
}

.content-preview-shell h1 {
  margin-bottom: 12px;
}

.content-preview-body {
  margin-top: 20px;
}

@media (max-width: 720px) {
  .content-lifecycle-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .content-lifecycle-actions .small-button {
    width: 100%;
  }
}

/* Prompt 6 public CMS rendering routes. */
.public-content-page {
  background: var(--cream);
}

.public-content-hero {
  padding-top: clamp(92px, 14vw, 138px);
  padding-bottom: clamp(46px, 8vw, 78px);
}

.public-content-hero-grid {
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .72fr);
}

.public-content-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.public-content-meta span {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(19, 28, 21, .28);
  color: rgba(255, 249, 238, .88);
  font-weight: 850;
  padding: 8px 11px;
}

.public-content-actions {
  margin-top: 22px;
}

.public-content-featured-media .content-image-block,
.public-content-featured-media .content-video-block {
  margin: 0;
}

.public-content-featured-media .content-image-block img {
  box-shadow: 0 28px 80px rgba(14, 24, 17, .28);
}

.public-content-body-section {
  padding-top: clamp(34px, 7vw, 72px);
}

.public-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 320px);
  gap: clamp(22px, 5vw, 44px);
  align-items: start;
}

.public-content-body {
  min-width: 0;
  border: 1px solid rgba(34, 49, 37, .12);
  border-radius: 28px;
  background: rgba(255, 253, 247, .94);
  box-shadow: 0 20px 55px rgba(31, 60, 42, .08);
  padding: clamp(18px, 4vw, 34px);
}

.public-content-body h2,
.public-content-body h3,
.public-content-body h4 {
  margin-top: 1.45em;
}

.public-content-body h2:first-child,
.public-content-body h3:first-child,
.public-content-body h4:first-child,
.public-content-body p:first-child,
.content-rich-text p:first-child {
  margin-top: 0;
}

.content-rich-text p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.content-rich-text p:last-child {
  margin-bottom: 0;
}

.content-faq-block details {
  border: 1px solid rgba(34, 49, 37, .12);
  border-radius: 16px;
  background: rgba(247, 242, 234, .78);
  padding: 14px 16px;
}

.content-faq-block details + details {
  margin-top: 10px;
}

.content-faq-block summary {
  cursor: pointer;
  color: var(--pine);
  font-weight: 950;
}

.content-faq-block p {
  color: var(--muted);
  margin-bottom: 0;
}

.content-cta-block {
  padding: 18px;
  border: 1px solid rgba(196, 108, 60, .25);
  border-radius: 20px;
  background: rgba(255, 244, 224, .76);
}

.content-cta-block p {
  color: var(--muted);
  margin-bottom: 0;
}

.public-content-sidebar {
  position: sticky;
  top: 98px;
}

.public-content-sidebar .content-package-mention {
  margin-top: 0;
}

.public-content-sidebar a:not(.button) {
  color: var(--sage-dark);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

@media (max-width: 880px) {
  .public-content-hero-grid,
  .public-content-layout {
    grid-template-columns: 1fr;
  }

  .public-content-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .public-content-hero {
    padding-top: 88px;
  }

  .public-content-body {
    border-radius: 22px;
  }

  .public-content-actions {
    display: grid;
  }

  .public-content-actions .button {
    width: 100%;
  }
}

/* Prompt 8: public CMS index and archive surfaces */
.public-content-index-page {
  background: #fff8ec;
}

.public-content-index-hero {
  padding-top: clamp(90px, 14vw, 150px);
}

.public-content-index-hero-grid {
  align-items: stretch;
}

.public-content-index-card {
  align-self: stretch;
}

.public-content-index-section {
  padding-top: clamp(42px, 7vw, 82px);
}

.content-archive-filters {
  display: grid;
  gap: 18px;
  margin: 0 0 24px;
  padding: 18px;
  border: 1px solid rgba(34, 49, 37, 0.12);
  border-radius: 24px;
  background: rgba(255, 253, 247, 0.86);
}

.content-archive-filters strong {
  display: block;
  margin-bottom: 10px;
  color: #1f3c2a;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.content-filter-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.content-filter-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid rgba(34, 49, 37, 0.13);
  border-radius: 999px;
  background: #fffdf7;
  color: #1f3c2a;
  font-weight: 850;
  text-decoration: none;
}

.content-filter-links a[aria-current="page"] {
  border-color: rgba(196, 108, 60, 0.44);
  background: #fff2df;
  color: #704112;
}

.content-filter-links span {
  min-width: 24px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(31, 60, 42, 0.09);
  color: #4f5d50;
  font-size: 0.78rem;
  text-align: center;
}

.public-content-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.public-content-card {
  min-width: 0;
  border: 1px solid rgba(34, 49, 37, 0.12);
  border-radius: 26px;
  background: #fffdf7;
  overflow: hidden;
}

.public-content-card-link {
  display: grid;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.public-content-card figure,
.public-content-card-image-fallback {
  aspect-ratio: 16 / 10;
  margin: 0;
  background: linear-gradient(135deg, rgba(31, 60, 42, 0.12), rgba(196, 108, 60, 0.12));
}

.public-content-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.public-content-card-image-fallback {
  display: grid;
  place-items: center;
  color: #4f5d50;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.public-content-card-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.public-content-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: #6e7669;
  font-size: 0.78rem;
  font-weight: 850;
}

.public-content-card-meta span,
.public-content-card-meta time {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(31, 60, 42, 0.08);
}

.public-content-card h3 {
  margin: 0;
  color: #1f3c2a;
  font-size: clamp(1.18rem, 3vw, 1.55rem);
  line-height: 1.08;
}

.public-content-card p {
  margin: 0;
  color: #4f5d50;
}

.public-content-card-cta {
  color: #704112;
  font-weight: 900;
}

.public-content-empty-state {
  max-width: 760px;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid rgba(34, 49, 37, 0.12);
  border-radius: 28px;
  background: #fffdf7;
}

.public-content-empty-state h3 {
  margin: 0 0 10px;
  color: #1f3c2a;
  font-size: clamp(1.5rem, 5vw, 2.35rem);
  line-height: 1.02;
}

.public-content-empty-state p:not(.eyebrow) {
  margin: 0 0 18px;
  color: #4f5d50;
}

@media (max-width: 920px) {
  .public-content-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .content-archive-filters,
  .public-content-card-grid,
  .public-content-card-link,
  .public-content-card-body {
    grid-template-columns: 1fr;
  }

  .public-content-card-grid {
    gap: 14px;
  }

  .content-filter-links a {
    flex: 1 1 100%;
    justify-content: space-between;
  }
}

/* Prompt 11 CMS owner help */
.content-help-card {
  margin: 1rem 0 1.25rem;
}

.content-help-card > summary {
  cursor: pointer;
  font-weight: 800;
  list-style-position: inside;
}

.cms-help-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 1rem;
}

.cms-help-grid article {
  border: 1px solid rgba(44, 95, 45, 0.18);
  border-radius: 18px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.72);
}

.cms-help-grid h2 {
  font-size: 1rem;
  margin: 0 0 0.45rem;
}

@media (max-width: 640px) {
  .cms-help-grid {
    grid-template-columns: 1fr;
  }
}

/* Ops dashboard QA polish pass: owner command-center layout, scan speed, and action clarity */
.ops-body {
  background:
    radial-gradient(circle at top left, rgba(245, 185, 77, 0.16), transparent 28rem),
    linear-gradient(180deg, #fff8ec 0%, #f5f0e5 36%, #eef2e8 100%);
}

.ops-body .site-header {
  background: rgba(255, 248, 236, 0.95);
  border-bottom-color: rgba(34, 49, 37, 0.12);
  box-shadow: 0 10px 28px rgba(31, 60, 42, 0.07);
}

.ops-header-inner {
  min-height: 78px;
}

.ops-main {
  padding-top: clamp(24px, 3vw, 40px);
}

.ops-body .ops-main > .container {
  width: min(1120px, calc(100% - 64px));
}

.ops-header {
  margin-bottom: 14px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(34, 49, 37, 0.12);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(241, 247, 234, 0.9));
  box-shadow: 0 20px 55px rgba(31, 60, 42, 0.10);
}

.ops-header .eyebrow {
  margin-bottom: 12px;
  color: rgba(31, 60, 42, 0.72);
}

.ops-header h1 {
  max-width: 12ch;
  font-size: clamp(2.6rem, 6vw, 4.25rem);
  line-height: 0.96;
}

.ops-header p {
  max-width: 780px;
  font-size: 1rem;
  line-height: 1.45;
}

.ops-header .form-status {
  width: min(100%, 760px);
  margin-top: 18px;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

#ops-generated {
  margin: 8px 0 0;
  font-size: 0.94rem;
  font-weight: 750;
}

.ops-jump-nav {
  position: sticky;
  top: 90px;
  z-index: 42;
  margin: 0 0 18px;
  padding: 10px;
  border: 1px solid rgba(34, 49, 37, 0.10);
  border-radius: 999px;
  background: rgba(255, 248, 236, 0.92);
  box-shadow: 0 12px 32px rgba(31, 60, 42, 0.08);
  backdrop-filter: blur(18px) saturate(1.08);
}

.ops-jump-nav a {
  min-height: 36px;
  border-color: rgba(31, 60, 42, 0.12);
  background: rgba(255, 255, 255, 0.72);
}

.ops-jump-nav a:hover,
.ops-jump-nav a:focus-visible {
  background: var(--mist);
}

#ops-status-title,
#ops-pickup-title,
#ops-execution-title,
#ops-upcoming-title,
#ops-returns-title,
#ops-followup-title,
#ops-contact-followup-title,
#ops-reservations-title,
#ops-contacts-title,
#ops-status-history-title,
#ops-email-title {
  scroll-margin-top: 164px;
}

.ops-card {
  margin-top: 18px;
  padding: clamp(18px, 2.2vw, 26px);
  border-color: rgba(34, 49, 37, 0.11);
  border-radius: 30px;
  background: rgba(255, 253, 247, 0.97);
  box-shadow: 0 18px 42px rgba(31, 60, 42, 0.08);
}

.ops-card:first-of-type {
  margin-top: 0;
}

.ops-card h2,
.ops-collapse > summary span {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.ops-body .metric-grid {
  gap: 12px;
  margin-top: 14px;
}

.ops-body .metric {
  display: grid;
  align-content: center;
  min-height: 94px;
  padding: 16px;
  border: 1px solid rgba(34, 49, 37, 0.08);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(237, 244, 229, 0.94), rgba(255, 253, 247, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.ops-body .metric strong {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  letter-spacing: -0.04em;
}

.ops-body .metric span {
  margin-top: 4px;
  color: rgba(31, 60, 42, 0.72);
  font-size: 0.92rem;
}

.ops-split-list {
  padding-top: 14px;
  border-top: 1px solid rgba(34, 49, 37, 0.10);
}

.ops-board,
.ops-execution-grid {
  gap: 14px;
}

.ops-board-column {
  padding: 14px;
  border-color: rgba(34, 49, 37, 0.11);
  border-radius: 20px;
  background: rgba(246, 242, 232, 0.68);
}

.ops-board-column h3 {
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.ops-row {
  gap: 12px;
  padding: 14px;
  border-color: rgba(34, 49, 37, 0.10);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 22px rgba(31, 60, 42, 0.045);
}

.ops-row .admin-row-title,
.ops-packet-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.ops-packet-title > span:first-child {
  font-size: 1.05rem;
  letter-spacing: -0.015em;
}

.ops-packet-tools {
  margin: 0;
}

.ops-packet-tools .small-button,
.ops-actions .small-button,
.ops-execution-actions .small-button {
  min-height: 40px;
  padding: 8px 13px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(31, 60, 42, 0.04);
}

.ops-actions .small-button:not(:disabled):hover,
.ops-packet-tools .small-button:hover,
.ops-execution-actions .small-button:not(:disabled):hover {
  background: var(--mist);
}

.ops-actions .small-button[disabled] {
  background: rgba(239, 239, 233, 0.72);
  color: rgba(31, 60, 42, 0.42);
  box-shadow: none;
}

.ops-status-actions {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(34, 49, 37, 0.10);
  border-radius: 18px;
  background: rgba(246, 242, 232, 0.54);
}

.ops-action-label {
  margin: 0;
  color: rgba(31, 60, 42, 0.68);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ops-checklist {
  margin-top: 2px;
  border-color: rgba(92, 122, 83, 0.18);
  background: rgba(237, 244, 229, 0.7);
}

.ops-check-grid {
  gap: 8px;
}

.ops-check {
  border: 1px solid rgba(34, 49, 37, 0.08);
  background: rgba(255, 253, 247, 0.7);
}

.ops-check input {
  accent-color: var(--sage-dark);
}

.ops-notes-grid textarea {
  min-height: 78px;
  resize: vertical;
}

.ops-packet-grid {
  gap: 10px;
}

.ops-packet-grid-primary {
  margin-top: 2px;
}

.ops-packet-section {
  border-color: rgba(34, 49, 37, 0.10);
  background: rgba(255, 255, 255, 0.78);
}

.ops-detail-drawer {
  border: 1px solid rgba(34, 49, 37, 0.10);
  border-radius: 18px;
  background: rgba(255, 253, 247, 0.72);
  overflow: hidden;
}

.ops-detail-drawer > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
  color: var(--pine);
  font-weight: 950;
}

.ops-detail-drawer > summary::-webkit-details-marker {
  display: none;
}

.ops-detail-drawer > summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(34, 49, 37, 0.12);
  border-radius: 999px;
  background: var(--mist);
  line-height: 1;
}

.ops-detail-drawer[open] > summary::after {
  content: "–";
}

.ops-detail-drawer > summary small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.ops-detail-drawer .ops-packet-grid {
  padding: 0 12px 12px;
}

.ops-collapse:not([open]) > summary {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.ops-history-row {
  padding: 14px;
}

.ops-history-change {
  margin-top: 2px;
}

.ops-card[aria-labelledby="ops-email-title"] {
  margin-bottom: 0;
}

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

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

  .ops-packet-grid-primary {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  }
}

@media (max-width: 899px) {
  .ops-body .ops-main > .container {
    width: min(100% - 28px, var(--max));
  }

  .ops-jump-nav {
    top: 82px;
    flex-wrap: nowrap;
    overflow-x: auto;
    border-radius: 22px;
  }

  .ops-execution-grid,
  .ops-board,
  .ops-grid,
  .ops-split-list,
  .ops-packet-grid-primary,
  .ops-packet-grid-secondary,
  .ops-notes-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 719px) {
  .ops-body .site-header {
    position: sticky;
  }

  .ops-header-inner {
    min-height: 0;
  }

  .ops-header {
    padding: 18px;
    border-radius: 24px;
  }

  .ops-header h1 {
    max-width: 10.5ch;
    font-size: clamp(2.3rem, 12vw, 3.1rem);
  }

  .ops-header p {
    font-size: 0.96rem;
  }

  .ops-jump-nav {
    top: 94px;
    margin-bottom: 14px;
    padding: 8px;
  }

  #ops-status-title,
  #ops-pickup-title,
  #ops-execution-title,
  #ops-upcoming-title,
  #ops-returns-title,
  #ops-followup-title,
  #ops-contact-followup-title,
  #ops-reservations-title,
  #ops-contacts-title,
  #ops-status-history-title,
  #ops-email-title {
    scroll-margin-top: 148px;
  }

  .ops-card {
    padding: 15px;
    border-radius: 24px;
  }

  .ops-card h2,
  .ops-collapse > summary span {
    font-size: clamp(1.85rem, 9vw, 2.55rem);
  }

  .ops-body .metric-grid {
    grid-template-columns: 1fr;
  }

  .ops-body .metric {
    min-height: 76px;
    padding: 13px;
  }

  .ops-row .admin-row-title,
  .ops-packet-title,
  .ops-detail-drawer > summary {
    grid-template-columns: 1fr;
  }

  .ops-status-chip {
    width: fit-content;
  }

  .ops-packet-tools,
  .ops-actions,
  .ops-execution-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ops-packet-tools .small-button,
  .ops-actions .small-button,
  .ops-execution-actions .small-button {
    width: 100%;
  }

  .ops-detail-drawer > summary::after {
    justify-self: start;
  }
}

/* Content Manager visual QA polish pass: owner content workspace */
.content-admin-body {
  background:
    radial-gradient(circle at 12% 0%, rgba(224, 132, 61, 0.11), transparent 30%),
    radial-gradient(circle at 86% 16%, rgba(128, 157, 111, 0.13), transparent 34%),
    var(--cream);
}

.content-admin-main {
  padding-top: clamp(34px, 5vw, 58px);
}

.content-manager-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  gap: clamp(18px, 4vw, 34px);
  align-items: center;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(34, 49, 37, 0.1);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(245, 239, 226, 0.88)),
    radial-gradient(circle at top right, rgba(224, 132, 61, 0.14), transparent 38%);
  box-shadow: 0 26px 70px rgba(31, 60, 42, 0.1);
}

.content-manager-header h1 {
  letter-spacing: -0.075em;
}

.content-manager-header .admin-header-actions {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: stretch;
  align-items: stretch;
}

.content-manager-header .admin-header-actions .button {
  width: 100%;
  justify-content: center;
}

.content-command-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.content-command-panel article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 12px;
  align-items: start;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(34, 49, 37, 0.11);
  border-radius: 20px;
  background: rgba(255, 253, 247, 0.86);
  box-shadow: 0 12px 32px rgba(31, 60, 42, 0.07);
}

.content-command-panel article > span,
.content-step-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #de843d;
  color: #fffdf7;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 10px 20px rgba(174, 91, 33, 0.18);
}

.content-command-panel strong {
  color: var(--pine);
  font-weight: 950;
}

.content-command-panel p {
  grid-column: 2;
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 720;
  line-height: 1.45;
}

.content-jump-nav {
  position: sticky;
  top: 82px;
  z-index: 9;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 10px 0 18px;
  padding: 9px;
  overflow-x: auto;
  border: 1px solid rgba(34, 49, 37, 0.1);
  border-radius: 999px;
  background: rgba(255, 248, 236, 0.92);
  box-shadow: 0 12px 36px rgba(31, 60, 42, 0.08);
  backdrop-filter: blur(14px);
  scrollbar-width: none;
}

.content-jump-nav::-webkit-scrollbar {
  display: none;
}

.content-jump-nav a {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid rgba(34, 49, 37, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--pine);
  font-weight: 900;
  text-decoration: none;
  line-height: 1;
}

.content-help-card {
  margin-bottom: 18px;
}

.content-help-card summary {
  cursor: pointer;
  color: var(--pine);
  font-weight: 950;
}

.content-manager-grid {
  gap: 20px;
}

.content-list-card,
.content-editor-card {
  border-color: rgba(34, 49, 37, 0.1);
  background: rgba(255, 253, 247, 0.93);
}

.content-editor-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(34, 49, 37, 0.1);
}

.content-editor-heading h2,
.content-list-card h2 {
  margin-bottom: 6px;
}

.content-editor-state {
  justify-self: end;
  max-width: 220px;
  padding: 9px 12px;
  border: 1px solid rgba(34, 49, 37, 0.11);
  border-radius: 999px;
  background: rgba(237, 244, 229, 0.9);
  color: var(--pine);
  font-size: 0.86rem;
  font-weight: 950;
  text-align: center;
}

.content-editor-state[data-status="published"] {
  background: rgba(220, 244, 220, 0.94);
}

.content-editor-state[data-status="archived"],
.content-editor-state[data-status="retired"] {
  background: rgba(238, 232, 220, 0.94);
}

.content-status-overview {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 12px;
}

.content-status-tile {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 11px 10px;
  border: 1px solid rgba(34, 49, 37, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--pine);
  text-align: left;
}

.content-status-tile span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.content-status-tile strong {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1;
}

.content-status-tile.is-active {
  border-color: rgba(196, 108, 60, 0.28);
  background: rgba(255, 242, 223, 0.92);
  box-shadow: 0 14px 28px rgba(196, 108, 60, 0.1);
}

.content-list-card .admin-filter-row {
  margin-top: 0;
  border-radius: 20px;
}

.content-list {
  gap: 10px;
}

.content-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
}

.content-row-main {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.content-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.content-row-meta span {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 5px 8px;
  border: 1px solid rgba(34, 49, 37, 0.09);
  border-radius: 999px;
  background: rgba(237, 244, 229, 0.72);
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 850;
  overflow-wrap: anywhere;
}

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

.content-editor-card .content-form {
  gap: 14px;
}

.content-editor-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(34, 49, 37, 0.11);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.content-panel-heading {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.content-panel-heading.compact {
  margin: 0;
}

.content-panel-heading h3 {
  margin: 0 0 3px;
  color: var(--pine);
  font-size: clamp(1.05rem, 2.3vw, 1.25rem);
  line-height: 1.1;
}

.content-panel-heading .admin-muted {
  margin: 0;
}

.content-seo-panel {
  display: block;
  padding: 0;
  overflow: hidden;
}

.content-seo-panel summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  padding: 16px;
  list-style: none;
}

.content-seo-panel summary::-webkit-details-marker {
  display: none;
}

.content-seo-panel summary > span {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--pine);
}

.content-seo-panel summary small {
  color: var(--muted);
  font-weight: 750;
  text-align: right;
}

.content-panel-body {
  display: grid;
  gap: 14px;
  padding: 0 16px 16px;
}

.content-lifecycle-panel {
  margin-top: 0;
  border-radius: 18px;
  background: rgba(247, 242, 234, 0.74);
}

.content-lifecycle-actions,
.content-block-toolbar {
  gap: 8px;
}

.content-lifecycle-actions .small-button,
.content-block-toolbar .small-button,
.content-block-actions .small-button,
.content-row-actions .small-button {
  min-height: 40px;
  border-radius: 999px;
}

.content-media-panel,
.content-block-editor {
  margin-top: 0;
  background: rgba(255, 255, 255, 0.72);
}

.content-media-header,
.content-block-editor-header {
  margin-bottom: 0;
}

.content-featured-image-panel,
.content-block-image-panel {
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(247, 242, 234, 0.96), rgba(237, 244, 229, 0.72));
}

.content-featured-image-panel input[type="file"],
.content-block-image-panel input[type="file"] {
  width: 100%;
}

.content-image-preview {
  width: min(100%, 280px);
  max-height: 190px;
  box-shadow: 0 16px 36px rgba(31, 60, 42, 0.12);
}

.content-featured-image-panel input[name="featuredImage"],
.content-block-image-panel input[data-block-field="src"],
.content-form input[name="socialImage"],
.content-form input[name="canonicalPath"] {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.88rem;
}

.content-block-card {
  border-radius: 20px;
  background: rgba(255, 253, 247, 0.92);
}

.content-block-card-header {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(34, 49, 37, 0.09);
}

.content-form-actions {
  position: sticky;
  bottom: 12px;
  z-index: 8;
  margin-top: 2px;
  padding: 12px;
  border: 1px solid rgba(34, 49, 37, 0.1);
  border-radius: 22px;
  background: rgba(255, 248, 236, 0.94);
  box-shadow: 0 16px 40px rgba(31, 60, 42, 0.11);
  backdrop-filter: blur(14px);
}

@media (min-width: 980px) {
  .content-manager-grid {
    grid-template-columns: minmax(520px, 1.26fr) minmax(260px, 0.62fr);
  }

  .content-editor-card {
    order: 1;
    position: static;
    top: auto;
  }

  .content-list-card {
    order: 2;
    position: sticky;
    top: 144px;
    max-height: calc(100vh - 166px);
    overflow: auto;
  }
}

@media (max-width: 979px) {
  .content-manager-header,
  .content-command-panel,
  .content-status-overview {
    grid-template-columns: 1fr;
  }

  .content-manager-header .admin-header-actions {
    grid-template-columns: 1fr;
  }

  .content-jump-nav {
    top: 74px;
    border-radius: 20px;
  }

  .content-editor-heading,
  .content-seo-panel summary {
    grid-template-columns: 1fr;
    display: grid;
  }

  .content-editor-state {
    justify-self: stretch;
    max-width: none;
  }
}

@media (max-width: 720px) {
  .content-admin-main {
    padding-top: 18px;
  }

  .content-manager-header {
    padding: 18px;
    border-radius: 24px;
  }

  .content-manager-header h1 {
    font-size: clamp(2.45rem, 15vw, 3.25rem);
  }

  .content-command-panel article,
  .content-row,
  .content-editor-panel {
    border-radius: 18px;
  }

  .content-command-panel article {
    padding: 12px;
  }

  .content-jump-nav {
    margin-bottom: 14px;
  }

  .content-status-overview {
    grid-template-columns: 1fr 1fr;
  }

  .content-status-tile:first-child {
    grid-column: 1 / -1;
  }

  .content-panel-heading,
  .content-seo-panel summary > span {
    align-items: flex-start;
  }

  .content-seo-panel summary small {
    text-align: left;
  }

  .content-form-actions {
    position: static;
    display: grid;
  }

  .content-form-actions .button {
    width: 100%;
  }
}

/* Content Manager visual balance QA pass: tighter spacing, calmer color, clearer desktop workspace. */
.content-admin-body {
  background:
    radial-gradient(circle at 10% 0%, rgba(205, 116, 57, 0.055), transparent 30%),
    radial-gradient(circle at 86% 12%, rgba(92, 122, 83, 0.08), transparent 34%),
    linear-gradient(180deg, #fff8ec 0%, #f8f3e7 48%, #fbfaf3 100%);
}

.content-admin-body .button.primary {
  background: linear-gradient(135deg, #c9733a, #df9148);
  box-shadow: 0 14px 30px rgba(151, 83, 45, 0.17);
}

.content-admin-body .button.secondary {
  background: rgba(239, 247, 231, 0.9);
  border: 1px solid rgba(34, 49, 37, 0.08);
}

.content-admin-main {
  padding-top: clamp(28px, 4vw, 46px);
}

.content-manager-header {
  padding: clamp(20px, 3.4vw, 30px);
  border-color: rgba(34, 49, 37, 0.09);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.98), rgba(248, 244, 235, 0.92)),
    radial-gradient(circle at 100% 0%, rgba(92, 122, 83, 0.10), transparent 40%);
  box-shadow: 0 22px 56px rgba(31, 60, 42, 0.085);
}

.content-manager-header h1 {
  font-size: clamp(3.05rem, 7vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: -0.064em;
}

.content-manager-header .admin-muted {
  max-width: 720px;
}

.content-manager-header .admin-header-actions {
  gap: 10px;
}

.content-manager-header .admin-header-actions .button {
  min-height: 48px;
  box-shadow: none;
}

.content-command-panel {
  gap: 10px;
  margin: 14px 0 12px;
}

.content-command-panel article {
  padding: 13px 15px;
  border-color: rgba(34, 49, 37, 0.1);
  background: rgba(255, 253, 247, 0.94);
  box-shadow: 0 10px 26px rgba(31, 60, 42, 0.055);
}

.content-command-panel article > span,
.content-step-pill {
  width: 30px;
  height: 30px;
  background: #ce7a3f;
  box-shadow: 0 9px 18px rgba(151, 83, 45, 0.16);
}

.content-command-panel p {
  font-size: 0.9rem;
  line-height: 1.4;
}

.content-jump-nav {
  top: 84px;
  z-index: 12;
  gap: 7px;
  margin: 10px 0 18px;
  padding: 8px;
  border-color: rgba(34, 49, 37, 0.09);
  border-radius: 24px;
  background: rgba(255, 253, 247, 0.96);
  box-shadow: 0 10px 30px rgba(31, 60, 42, 0.07);
}

.content-jump-nav a {
  padding: 8px 13px;
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(34, 49, 37, 0.1);
}

.content-help-card {
  margin-bottom: 20px;
  padding: 17px 20px;
  background: rgba(255, 253, 247, 0.95);
  box-shadow: 0 12px 30px rgba(31, 60, 42, 0.05);
}

.content-manager-grid {
  gap: 24px;
}

.content-list-card,
.content-editor-card {
  border-color: rgba(34, 49, 37, 0.095);
  background: rgba(255, 253, 247, 0.98);
  box-shadow: 0 22px 52px rgba(31, 60, 42, 0.095);
}

.content-editor-card,
.content-list-card {
  padding: clamp(18px, 2.2vw, 24px);
}

.content-editor-heading {
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 16px;
}

.content-editor-heading h2 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.content-list-card h2 {
  font-size: clamp(2.05rem, 3.6vw, 2.75rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.content-editor-state {
  padding: 8px 12px;
  background: rgba(239, 247, 231, 0.88);
  box-shadow: none;
}

.content-status-overview {
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 8px;
  margin: 14px 0 12px;
}

.content-status-tile {
  min-height: 70px;
  padding: 10px;
  border-color: rgba(34, 49, 37, 0.1);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: none;
}

.content-status-tile span {
  max-width: 100%;
  font-size: 0.66rem;
  line-height: 1.1;
  letter-spacing: 0.035em;
  white-space: normal;
  overflow-wrap: anywhere;
}

.content-status-tile.is-active {
  border-color: rgba(206, 122, 63, 0.32);
  background: rgba(255, 246, 235, 0.95);
  box-shadow: 0 10px 22px rgba(151, 83, 45, 0.08);
}

.content-list-card .admin-filter-row {
  background: rgba(239, 247, 231, 0.76);
}

.content-row {
  gap: 10px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.88);
}

.content-row-meta span {
  background: rgba(239, 247, 231, 0.78);
  color: #566757;
}

.content-row-actions {
  gap: 8px;
}

.content-editor-card .content-form {
  gap: 16px;
}

.content-editor-panel {
  gap: 14px;
  padding: 16px;
  border-color: rgba(34, 49, 37, 0.1);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: none;
}

.content-panel-heading h3 {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.content-lifecycle-panel {
  background: rgba(248, 244, 235, 0.82);
}

.content-seo-panel summary,
.content-panel-body {
  padding-inline: 16px;
}

.content-seo-panel[open] summary {
  border-bottom: 1px solid rgba(34, 49, 37, 0.08);
}

.content-featured-image-panel,
.content-block-image-panel {
  background: linear-gradient(135deg, rgba(248, 244, 235, 0.92), rgba(239, 247, 231, 0.58));
}

.content-block-toolbar {
  row-gap: 8px;
}

.content-block-card {
  background: rgba(255, 253, 247, 0.96);
}

.content-form-actions {
  position: static;
  bottom: auto;
  z-index: auto;
  margin-top: 16px;
  padding: 14px;
  background: rgba(255, 248, 236, 0.9);
  box-shadow: none;
  backdrop-filter: none;
}

#content-form [id$="-panel"],
#content-form .content-editor-panel,
.content-list-card,
.content-editor-card {
  scroll-margin-top: 152px;
}

@media (min-width: 980px) {
  .content-manager-grid {
    grid-template-columns: minmax(620px, 1fr) minmax(310px, 0.45fr);
    align-items: start;
  }

  .content-list-card {
    top: 150px;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 1120px) and (min-width: 980px) {
  .content-manager-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .content-list-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .content-manager-header h1 {
    font-size: clamp(2.55rem, 14vw, 3.3rem);
  }

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

  .content-status-tile:first-child {
    grid-column: auto;
  }

  .content-jump-nav {
    top: 72px;
  }
}

/* Admin management visual QA and catalog controls pass - 2026-05-29 */
.admin-body {
  background:
    radial-gradient(circle at 8% 0%, rgba(216, 141, 72, 0.075), transparent 28rem),
    linear-gradient(180deg, #f8f3ea 0%, #f2efe6 44%, #efeee5 100%);
}

.admin-body .site-header {
  border-bottom: 1px solid rgba(34, 49, 37, 0.11);
  background: rgba(255, 251, 242, 0.94);
  backdrop-filter: blur(14px);
}

.admin-body .admin-main > .container {
  width: min(1180px, calc(100% - 64px));
}

.admin-body .admin-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  margin-bottom: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(34, 49, 37, 0.09);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(244, 240, 229, 0.9));
  box-shadow: 0 20px 58px rgba(31, 60, 42, 0.07);
}

.admin-body .admin-hero-card h1 {
  margin-bottom: 12px;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.admin-body .admin-hero-card .admin-muted {
  max-width: 720px;
  color: #657365;
}

.admin-body .admin-header-actions {
  display: grid;
  gap: 10px;
}

.admin-body .admin-header-actions .button,
.admin-body #reset-data {
  min-height: 48px;
  border: 1px solid rgba(34, 49, 37, 0.08);
  box-shadow: none;
}

.admin-body .admin-header-actions .button.secondary:first-child {
  background: #d17a3d;
  color: #fffdf7;
  border-color: transparent;
}

.admin-body .admin-banner {
  margin: 14px 0;
  border-color: rgba(192, 117, 57, 0.18);
  background: rgba(255, 250, 236, 0.9);
  color: #6d4424;
}

.admin-body .admin-command-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.admin-body .admin-command-panel article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(34, 49, 37, 0.09);
  border-radius: 18px;
  background: rgba(255, 253, 247, 0.96);
  box-shadow: 0 10px 28px rgba(31, 60, 42, 0.05);
}

.admin-body .admin-command-panel article > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #d17a3d;
  color: #fffdf7;
  font-weight: 950;
}

.admin-body .admin-command-panel strong {
  display: block;
  color: var(--pine);
  font-weight: 950;
}

.admin-body .admin-command-panel p {
  margin: 6px 0 0;
  color: #657365;
  font-weight: 750;
  line-height: 1.4;
}

.admin-body .admin-jump-nav {
  position: sticky;
  top: 86px;
  z-index: 12;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 20px;
  padding: 8px;
  border: 1px solid rgba(34, 49, 37, 0.09);
  border-radius: 24px;
  background: rgba(255, 253, 247, 0.96);
  box-shadow: 0 10px 30px rgba(31, 60, 42, 0.06);
}

.admin-body .admin-jump-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid rgba(34, 49, 37, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--pine);
  font-weight: 900;
  text-decoration: none;
}

.admin-body .admin-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.admin-body .admin-card {
  border-color: rgba(34, 49, 37, 0.09);
  background: rgba(255, 253, 247, 0.97);
  box-shadow: 0 18px 48px rgba(31, 60, 42, 0.07);
}

.admin-body .admin-card h2 {
  font-size: clamp(2.35rem, 5vw, 3.55rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.admin-body .admin-card-wide,
.admin-body #products-admin,
.admin-body #packages-admin,
.admin-body #catalog-import-admin,
.admin-body #content-guide-admin {
  grid-column: 1 / -1;
}

.admin-body #blocks-admin,
.admin-body #reservations-admin {
  grid-column: span 6;
}

.admin-body .metric-grid {
  gap: 12px;
}

.admin-body .metric {
  min-height: 88px;
  border: 1px solid rgba(34, 49, 37, 0.08);
  background: rgba(236, 244, 229, 0.76);
  box-shadow: none;
}

.admin-body .metric strong {
  color: var(--pine);
}

.admin-body .admin-filter-row,
.admin-body .admin-editor {
  border-color: rgba(34, 49, 37, 0.1);
  background: rgba(238, 246, 231, 0.74);
}

.admin-body .admin-control-note {
  margin-top: 8px;
  font-size: 0.9rem;
}

.admin-body #product-list,
.admin-body #package-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-body #product-list .admin-row,
.admin-body #package-list .admin-row {
  display: grid;
  gap: 12px;
  min-height: 100%;
  padding: 14px;
  border-color: rgba(34, 49, 37, 0.1);
  background: rgba(255, 255, 255, 0.88);
}

.admin-body .admin-row-media {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.admin-body .admin-thumb {
  width: 88px;
  height: 68px;
  border-radius: 14px;
  object-fit: cover;
  background: rgba(238, 246, 231, 0.9);
}

.admin-body .admin-row-title {
  gap: 10px;
  color: var(--pine);
}

.admin-body .admin-row-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 2px;
}

.admin-body .small-button {
  min-height: 38px;
  border-color: rgba(34, 49, 37, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.admin-body .small-button:disabled,
.admin-body .small-button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.45;
}

.admin-body .small-button.danger {
  border-color: rgba(164, 64, 34, 0.18);
  background: rgba(255, 246, 242, 0.92);
  color: #9c3d24;
}

.admin-body .admin-requests-card .admin-row {
  padding: 16px;
}

.admin-body .admin-guide-card .admin-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-body .admin-guide-actions {
  margin: 12px 0 2px;
}

.admin-body .catalog-import-card {
  max-width: none;
}

@media (max-width: 1050px) {
  .admin-body .admin-hero-card,
  .admin-body .admin-command-panel,
  .admin-body #product-list,
  .admin-body #package-list,
  .admin-body .admin-guide-card .admin-list {
    grid-template-columns: 1fr;
  }

  .admin-body #blocks-admin,
  .admin-body #reservations-admin {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .admin-body .admin-main > .container {
    width: min(100% - 24px, var(--max));
  }

  .admin-body .admin-hero-card {
    padding: 18px;
    border-radius: 24px;
  }

  .admin-body .admin-hero-card h1 {
    font-size: clamp(2.55rem, 15vw, 3.3rem);
  }

  .admin-body .admin-command-panel article {
    padding: 13px;
  }

  .admin-body .admin-jump-nav {
    top: 84px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .admin-body .admin-jump-nav::-webkit-scrollbar {
    display: none;
  }

  .admin-body .admin-jump-nav a {
    flex: 0 0 auto;
  }

  .admin-body .admin-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .admin-body .admin-card h2 {
    font-size: clamp(2rem, 11vw, 2.7rem);
  }

  .admin-body .admin-row-media {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .admin-body .admin-thumb {
    width: 72px;
    height: 58px;
  }
}

/* Protected admin shell alignment pass: shared topbar, calmer sticky toolbars, and better anchor spacing. */
.admin-body .site-header,
.ops-body .site-header {
  background: rgba(255, 248, 236, 0.96);
  border-bottom: 1px solid rgba(34, 49, 37, 0.12);
  box-shadow: 0 8px 24px rgba(31, 60, 42, 0.055);
}

.admin-body .header-inner,
.ops-body .header-inner {
  width: min(1180px, calc(100% - 72px));
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.admin-body .brand,
.ops-body .brand {
  flex: 0 0 auto;
  gap: 10px;
}

.admin-body .brand-mark,
.ops-body .brand-mark {
  width: 52px;
  height: 60px;
}

.admin-body .brand-wordmark,
.ops-body .brand-wordmark {
  max-width: 220px;
  font-size: 0.96rem;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.admin-body .site-nav,
.ops-body .site-nav,
.admin-body .protected-nav,
.ops-body .protected-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  max-width: min(100%, 760px);
}

.admin-body .site-nav a,
.ops-body .site-nav a,
.admin-body .protected-nav a,
.ops-body .protected-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

.admin-body .site-nav a:hover,
.ops-body .site-nav a:hover,
.admin-body .site-nav a:focus-visible,
.ops-body .site-nav a:focus-visible,
.admin-body .site-nav a[aria-current="page"],
.ops-body .site-nav a[aria-current="page"] {
  border-color: rgba(34, 49, 37, 0.12);
  background: rgba(255, 255, 255, 0.78);
}

.admin-body .admin-main,
.ops-body .ops-main {
  padding-top: clamp(34px, 4vw, 54px);
}

.admin-body .admin-jump-nav,
.content-jump-nav,
.ops-jump-nav {
  top: 112px;
  z-index: 38;
  margin-top: 18px;
  margin-bottom: 24px;
}

.admin-body :is(#dashboard-admin, #products-admin, #packages-admin, #reservations-admin, #blocks-admin, #content-guide-admin, #catalog-import-admin),
.content-admin-body :is(#content-editor-title, #content-list-title, #content-basics-panel, #content-media-panel, #content-block-editor-panel, #content-save-panel),
.ops-body :is(#ops-status-title, #ops-pickup-title, #ops-execution-title, #ops-upcoming-title, #ops-returns-title, #ops-followup-title, #ops-contact-followup-title, #ops-reservations-title, #ops-contacts-title, #ops-status-history-title, #ops-email-title) {
  scroll-margin-top: 190px;
}

@media (max-width: 980px) {
  .admin-body .header-inner,
  .ops-body .header-inner {
    width: min(100% - 32px, 1180px);
    min-height: 0;
    padding: 11px 0 12px;
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 10px;
  }

  .admin-body .brand-mark,
  .ops-body .brand-mark {
    width: 42px;
    height: 49px;
  }

  .admin-body .site-nav,
  .ops-body .site-nav,
  .admin-body .protected-nav,
  .ops-body .protected-nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .admin-body .site-nav::-webkit-scrollbar,
  .ops-body .site-nav::-webkit-scrollbar {
    display: none;
  }

  .admin-body .site-nav a,
  .ops-body .site-nav a,
  .admin-body .protected-nav a,
  .ops-body .protected-nav a {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 8px 11px;
    font-size: 0.9rem;
  }

  .admin-body .admin-jump-nav,
  .content-jump-nav,
  .ops-jump-nav {
    top: 126px;
    margin-top: 16px;
    margin-bottom: 22px;
  }
}

@media (max-width: 640px) {
  .admin-body .admin-jump-nav,
  .content-jump-nav,
  .ops-jump-nav {
    top: 134px;
    border-radius: 20px;
  }
}

/* Content manager layout hotfix - 2026-05-29
   Keeps the Content page out of Admin dashboard grid overrides and restores a stable editor/sidebar workspace. */
.content-admin-body .content-admin-main > .container {
  width: min(1180px, calc(100% - 64px));
}

.content-admin-body .content-manager-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 24px;
  align-items: start;
}

.content-admin-body .content-manager-grid > .content-editor-card,
.content-admin-body .content-manager-grid > .content-list-card {
  grid-column: auto;
  min-width: 0;
}

.content-admin-body .content-editor-card {
  order: 1;
}

.content-admin-body .content-list-card {
  order: 2;
  position: sticky;
  top: 156px;
  max-height: calc(100vh - 178px);
  overflow: auto;
}

.content-admin-body .content-jump-nav {
  top: 112px;
  margin-top: 20px;
  margin-bottom: 28px;
}

.content-admin-body .content-editor-card,
.content-admin-body .content-list-card {
  overflow-wrap: anywhere;
}

.content-admin-body .content-status-overview {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.content-admin-body .content-row-actions {
  display: flex;
  flex-wrap: wrap;
}

@media (max-width: 1120px) {
  .content-admin-body .content-manager-grid {
    grid-template-columns: 1fr;
  }

  .content-admin-body .content-list-card {
    position: static;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 980px) {
  .content-admin-body .content-admin-main > .container {
    width: min(100% - 32px, 1180px);
  }

  .content-admin-body .content-jump-nav {
    top: 126px;
  }
}

@media (max-width: 720px) {
  .content-admin-body .content-admin-main > .container {
    width: min(100% - 24px, 1180px);
  }

  .content-admin-body .content-jump-nav {
    top: 134px;
  }

  .content-admin-body .content-status-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* Final protected workspace QA - 2026-05-29
   Source-level alignment for Admin, Content, Ops, preview actions, and owner validation feedback. */
.admin-body,
.ops-body,
.content-admin-body {
  background:
    radial-gradient(circle at 12% -6%, rgba(205, 116, 57, 0.045), transparent 32rem),
    radial-gradient(circle at 88% 10%, rgba(83, 113, 74, 0.06), transparent 34rem),
    linear-gradient(180deg, #fff9ef 0%, #f6f2e8 46%, #f8f6ed 100%);
}

.admin-body .site-header,
.ops-body .site-header,
.content-admin-body .site-header {
  background: rgba(255, 250, 241, 0.97);
  border-bottom: 1px solid rgba(34, 49, 37, 0.105);
  box-shadow: 0 8px 26px rgba(31, 60, 42, 0.045);
}

.admin-body .header-inner,
.ops-body .header-inner,
.content-admin-body .header-inner {
  width: min(1180px, calc(100% - 72px));
  min-height: 84px;
  gap: 28px;
}

.admin-body .site-nav a,
.ops-body .site-nav a,
.content-admin-body .site-nav a,
.admin-body .protected-nav a,
.ops-body .protected-nav a,
.content-admin-body .protected-nav a {
  min-height: 38px;
  padding: 9px 13px;
  border-radius: 999px;
}

.admin-body .site-nav a[aria-current="page"],
.ops-body .site-nav a[aria-current="page"],
.content-admin-body .site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(34, 49, 37, 0.14);
  box-shadow: inset 0 -1px 0 rgba(34, 49, 37, 0.04);
}

.admin-body .admin-main,
.ops-body .ops-main,
.content-admin-body .content-admin-main {
  padding-top: clamp(44px, 5vw, 66px);
}

.admin-body .admin-card,
.ops-body .ops-card,
.content-admin-body .content-editor-card,
.content-admin-body .content-list-card,
.content-admin-body .content-manager-header,
.content-preview-shell {
  border-color: rgba(34, 49, 37, 0.095);
  background: rgba(255, 253, 247, 0.975);
  box-shadow: 0 22px 58px rgba(31, 60, 42, 0.075);
}

.admin-body .admin-hero-card,
.content-admin-body .content-manager-header,
.ops-body .ops-header {
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.98), rgba(247, 244, 236, 0.93)),
    radial-gradient(circle at 98% 0%, rgba(108, 136, 95, 0.08), transparent 42%);
}

.admin-body .admin-jump-nav,
.content-admin-body .content-jump-nav,
.ops-body .ops-jump-nav {
  top: 104px;
  margin-top: 24px;
  margin-bottom: 30px;
  padding: 9px;
  background: rgba(255, 253, 247, 0.97);
  border-color: rgba(34, 49, 37, 0.1);
  box-shadow: 0 12px 34px rgba(31, 60, 42, 0.065);
}

.admin-body :is(#dashboard-admin, #products-admin, #packages-admin, #reservations-admin, #blocks-admin, #content-guide-admin, #catalog-import-admin),
.content-admin-body :is(#content-editor-title, #content-list-title, #content-setup-panel, #content-basics-panel, #content-seo-panel, #content-media-panel, #content-block-editor-panel, #content-save-panel),
.ops-body :is(#ops-status-title, #ops-pickup-title, #ops-execution-title, #ops-upcoming-title, #ops-returns-title, #ops-followup-title, #ops-contact-followup-title, #ops-reservations-title, #ops-contacts-title, #ops-status-history-title, #ops-email-title) {
  scroll-margin-top: 196px;
}

.content-admin-body .content-manager-grid {
  grid-template-columns: minmax(0, 1fr) minmax(310px, 380px);
  gap: clamp(22px, 3vw, 32px);
  align-items: start;
  overflow: visible;
}

.content-admin-body .content-editor-card,
.content-admin-body .content-list-card {
  min-width: 0;
  overflow-wrap: normal;
}

.content-admin-body .content-list-card {
  position: sticky;
  top: 162px;
  align-self: start;
  max-height: calc(100vh - 184px);
  overflow: auto;
  scrollbar-gutter: stable;
}

.content-admin-body .content-status-overview {
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
}

.content-admin-body .content-status-tile span {
  overflow-wrap: normal;
}

.content-admin-body .content-row-meta span {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.content-admin-body .content-form-actions {
  position: static;
  margin-top: 20px;
  background: rgba(255, 250, 241, 0.96);
}

.field-error {
  border-color: rgba(168, 59, 35, 0.74) !important;
  background: rgba(255, 247, 244, 0.96) !important;
  box-shadow: 0 0 0 4px rgba(168, 59, 35, 0.08) !important;
}

.field-error-message {
  display: block;
  margin-top: 7px;
  color: #9d3f28;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.25;
}

.content-preview-page {
  background:
    radial-gradient(circle at 18% 8%, rgba(205, 116, 57, 0.05), transparent 32rem),
    linear-gradient(180deg, #fff9ef 0%, #f7f4eb 100%);
}

.content-preview-main {
  padding-block: clamp(34px, 5vw, 64px) clamp(44px, 7vw, 78px);
}

.content-preview-shell {
  overflow: hidden;
}

.content-preview-actions {
  display: flex;
  justify-content: flex-start;
  margin: 28px 0 0;
  padding: 0 2px;
}

.content-preview-back-link {
  background: #213425;
  color: #fffdf7;
  border-color: #213425;
  box-shadow: 0 16px 34px rgba(31, 60, 42, 0.15);
}

.content-preview-back-link:hover,
.content-preview-back-link:focus-visible {
  background: #2d4732;
  border-color: #2d4732;
}

@media (max-width: 1120px) {
  .content-admin-body .content-manager-grid {
    grid-template-columns: 1fr;
  }

  .content-admin-body .content-list-card {
    position: static;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 980px) {
  .admin-body .header-inner,
  .ops-body .header-inner,
  .content-admin-body .header-inner {
    width: min(100% - 32px, 1180px);
  }

  .admin-body .admin-jump-nav,
  .content-admin-body .content-jump-nav,
  .ops-body .ops-jump-nav {
    top: 126px;
    margin-top: 18px;
  }
}

@media (max-width: 720px) {
  .admin-body .admin-main,
  .ops-body .ops-main,
  .content-admin-body .content-admin-main {
    padding-top: 24px;
  }

  .admin-body .admin-jump-nav,
  .content-admin-body .content-jump-nav,
  .ops-body .ops-jump-nav {
    top: 134px;
    margin-bottom: 22px;
  }
}


/* Sitewide visual quality, sharing, and custom-code workspace polish - 2026-05-29 */
:root {
  --soft-card-shadow: 0 18px 44px rgba(31, 60, 42, 0.085);
  --soft-card-border: rgba(34, 49, 37, 0.105);
}

.content-support-card,
.public-content-card,
.product-card,
.content-check-card,
.admin-card,
.ops-card,
.content-editor-card,
.content-list-card {
  border-color: var(--soft-card-border);
  box-shadow: var(--soft-card-shadow);
}

.content-support-card,
.public-content-card,
.product-card {
  background:
    radial-gradient(circle at 95% 0%, rgba(245, 185, 77, 0.06), transparent 14rem),
    linear-gradient(180deg, rgba(255, 253, 247, 0.99), rgba(249, 246, 237, 0.96));
}

.content-support-card {
  display: grid;
  gap: 0.72rem;
}

.content-support-card h3,
.public-content-card h3,
.product-card h3 {
  text-wrap: balance;
}

.content-support-card > p,
.public-content-card p,
.product-card .card-copy {
  line-height: 1.58;
}

.public-content-card {
  display: grid;
  grid-template-rows: 1fr auto;
  transition: box-shadow 160ms ease, border-color 160ms ease;
}

.public-content-card:focus-within {
  border-color: rgba(196, 108, 60, 0.38);
  box-shadow: 0 22px 54px rgba(31, 60, 42, 0.12);
}

.public-content-card-link {
  min-height: 100%;
}

.public-content-card-image-fallback {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 35% 30%, rgba(245, 185, 77, 0.22), transparent 11rem),
    linear-gradient(135deg, rgba(31, 60, 42, 0.96), rgba(69, 97, 59, 0.9));
  color: #fff8ec;
}

.public-content-card-image-fallback::before {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(255, 253, 247, 0.22);
  border-radius: 999px;
}

.public-content-card-image-fallback span {
  position: relative;
  z-index: 1;
  padding: 0.55rem 0.78rem;
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.14);
  backdrop-filter: blur(8px);
}

.public-content-card-image-fallback.custom-page-fallback {
  background:
    radial-gradient(circle at 72% 24%, rgba(245, 185, 77, 0.25), transparent 12rem),
    linear-gradient(135deg, #17311f, #416136 64%, #c46c3c);
}

.content-support-card .button,
.public-content-card .button,
.product-card .button {
  box-shadow: 0 12px 26px rgba(196, 108, 60, 0.22);
}

.share-widget {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.54rem;
  margin-top: 1rem;
  padding: 0.72rem;
  border: 1px solid rgba(31, 60, 42, 0.12);
  border-radius: 1.05rem;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.98), rgba(237, 244, 229, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 10px 24px rgba(31, 60, 42, 0.055);
}

.share-widget.compact {
  margin: 0.85rem 1rem 1rem;
  padding: 0.56rem;
  gap: 0.42rem;
  border-radius: 999px;
  justify-content: flex-start;
}

.share-widget-label {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  margin-right: 0.08rem;
  color: var(--pine, #1f3c2a);
  font-size: 0.92rem;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.share-widget a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-height: 2.3rem;
  padding: 0.45rem 0.72rem;
  border: 1px solid rgba(31, 60, 42, 0.12);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.96);
  color: var(--pine, #1f3c2a);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 7px 14px rgba(31, 60, 42, 0.045);
}

.share-widget a:hover,
.share-widget a:focus-visible {
  border-color: rgba(196, 108, 60, 0.36);
  background: #fffdf7;
  color: #17311f;
}

.share-icon {
  width: 1.06rem;
  height: 1.06rem;
  flex: 0 0 auto;
  display: block;
}

.share-widget.compact a,
.public-content-card > .share-widget a,
.product-card .share-widget.compact a {
  width: 2.35rem;
  min-width: 2.35rem;
  padding-inline: 0;
}

.share-widget.compact .share-text,
.public-content-card > .share-widget .share-text,
.product-card .share-widget.compact .share-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.public-content-card > .share-widget {
  margin: 0;
  border-top: 1px solid rgba(31, 60, 42, 0.09);
  border-inline: 0;
  border-bottom: 0;
  border-radius: 0;
  background: rgba(246, 249, 240, 0.72);
  box-shadow: none;
}

.content-support-card > .share-widget {
  margin-top: 0.45rem;
}

.public-content-sidebar .share-widget {
  margin-top: 1rem;
}

.public-content-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-code-launch-button {
  background: linear-gradient(135deg, #1f3c2a, #2f5635);
  color: #fffdf7;
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(31, 60, 42, 0.18);
}

.custom-code-launch-button:hover,
.custom-code-launch-button:focus-visible {
  background: linear-gradient(135deg, #172b1f, #2a4b30);
  color: #fffdf7;
}

.custom-code-editor-body {
  min-height: 100svh;
  background:
    radial-gradient(circle at 8% -8%, rgba(245, 185, 77, 0.12), transparent 34rem),
    radial-gradient(circle at 95% 6%, rgba(92, 122, 83, 0.11), transparent 32rem),
    linear-gradient(180deg, #fff8ec 0%, #f4f0e6 100%);
  overflow: hidden;
}

.custom-code-main {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  color: #1f3c2a;
}

.custom-code-topbar {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 3vw, 34px);
  border-bottom: 1px solid rgba(31, 60, 42, 0.12);
  background: rgba(255, 252, 245, 0.97);
  box-shadow: 0 12px 32px rgba(31, 60, 42, 0.07);
  position: sticky;
  top: 0;
  z-index: 30;
}

.custom-code-topbar .admin-brand {
  flex: 0 0 auto;
}

.custom-code-topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.custom-code-status {
  min-width: min(42vw, 500px);
  max-width: 620px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid rgba(31, 60, 42, 0.12);
  border-radius: 999px;
  background: #fffdf7;
  color: #667263;
  font-weight: 850;
  line-height: 1.25;
}

.custom-code-status[data-status="success"] {
  border-color: rgba(68, 133, 90, 0.28);
  background: #eaf5e6;
  color: #1f5832;
}

.custom-code-status[data-status="error"] {
  border-color: rgba(180, 72, 52, 0.34);
  background: #fff1ec;
  color: #8f321f;
}

.custom-code-workspace {
  display: grid;
  grid-template-columns: minmax(420px, 44vw) minmax(0, 1fr);
  gap: 16px;
  height: calc(100svh - 84px);
  padding: 16px;
  overflow: hidden;
}

.custom-code-left {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: auto;
  padding-right: 6px;
  scrollbar-gutter: stable;
}

.custom-code-box,
.custom-code-preview-panel {
  border: 1px solid rgba(31, 60, 42, 0.12);
  border-radius: 24px;
  background: rgba(255, 253, 247, 0.98);
  box-shadow: 0 18px 42px rgba(31, 60, 42, 0.075);
}

.custom-code-box {
  flex: 0 0 auto;
  min-height: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.custom-code-settings-box {
  gap: 11px;
}

.custom-code-box-heading {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.custom-code-box-heading > span {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #d97838, #eea03e);
  color: #fffdf7;
  font-weight: 950;
  box-shadow: 0 8px 16px rgba(196, 108, 60, 0.2);
}

.custom-code-box h1,
.custom-code-box h2,
.custom-code-preview-panel h2 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.custom-code-box h1 {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
}

.custom-code-box h2,
.custom-code-preview-panel h2 {
  font-size: clamp(1.35rem, 2.1vw, 2rem);
}

.custom-code-box p,
.custom-code-preview-heading p {
  margin: 5px 0 0;
  color: #667263;
  line-height: 1.42;
}

.custom-code-box label {
  display: grid;
  gap: 7px;
  font-weight: 900;
  color: #1f3c2a;
}

.custom-code-box input,
.custom-code-box textarea {
  width: 100%;
  border: 1px solid rgba(31, 60, 42, 0.16);
  border-radius: 16px;
  background: #fffefb;
  color: #1f3c2a;
  font: inherit;
  padding: 11px 12px;
  box-sizing: border-box;
}

.custom-code-settings-box textarea {
  min-height: 104px;
  height: 104px;
  resize: vertical;
}

.custom-code-box:not(.custom-code-settings-box) textarea {
  min-height: clamp(220px, 28svh, 360px);
  height: clamp(220px, 28svh, 360px);
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92rem;
  line-height: 1.5;
  tab-size: 2;
}

.custom-code-preview-panel {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}

.custom-code-preview-heading {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(31, 60, 42, 0.12);
  background: rgba(255, 250, 241, 0.96);
}

#custom-preview-url {
  display: inline-flex;
  max-width: min(52vw, 520px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 9px 13px;
  border-radius: 999px;
  background: #edf5e8;
  color: #1f3c2a;
  font-weight: 900;
}

#custom-preview-frame {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  background: #fff;
}

.custom-open-published {
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .custom-code-workspace {
    grid-template-columns: minmax(380px, 43vw) minmax(0, 1fr);
  }
}

@media (max-width: 1000px) {
  .custom-code-editor-body {
    overflow: auto;
  }

  .custom-code-main {
    min-height: 100svh;
    display: block;
  }

  .custom-code-topbar,
  .custom-code-workspace {
    position: static;
  }

  .custom-code-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .custom-code-topbar-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .custom-code-status {
    min-width: 100%;
    border-radius: 18px;
  }

  .custom-code-workspace {
    height: auto;
    overflow: visible;
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .custom-code-left {
    overflow: visible;
    padding-right: 0;
  }

  .custom-code-box:not(.custom-code-settings-box) textarea {
    min-height: 260px;
    height: 260px;
  }

  #custom-preview-frame {
    min-height: 70svh;
  }
}

@media (max-width: 720px) {
  .content-support-card,
  .public-content-card,
  .product-card {
    border-radius: 22px;
  }

  .share-widget,
  .share-widget.compact {
    padding: 0.56rem;
    gap: 0.38rem;
  }

  .share-widget:not(.compact) a {
    flex: 1 1 auto;
    min-width: 6.8rem;
  }

  .custom-code-topbar-actions .button,
  .custom-open-published {
    width: 100%;
  }
}

/* Protected surface polish and share-widget update - 2026-05-29b */
.admin-body .button,
.ops-body .button,
.content-admin-body .button,
.custom-code-editor-body .button,
.admin-body .small-button,
.ops-body .small-button,
.content-admin-body .small-button {
  border-radius: 999px;
  font-weight: 950;
  letter-spacing: -0.015em;
  border-color: rgba(31, 60, 42, 0.13);
  box-shadow: 0 10px 22px rgba(31, 60, 42, 0.07);
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease, background 140ms ease;
}

.admin-body .button:hover,
.ops-body .button:hover,
.content-admin-body .button:hover,
.custom-code-editor-body .button:hover,
.admin-body .small-button:not(:disabled):hover,
.ops-body .small-button:not(:disabled):hover,
.content-admin-body .small-button:not(:disabled):hover,
.admin-body .button:focus-visible,
.ops-body .button:focus-visible,
.content-admin-body .button:focus-visible,
.custom-code-editor-body .button:focus-visible,
.admin-body .small-button:focus-visible,
.ops-body .small-button:focus-visible,
.content-admin-body .small-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(196, 108, 60, 0.36);
  box-shadow: 0 14px 30px rgba(31, 60, 42, 0.11);
}

.admin-body .button.primary,
.ops-body .button.primary,
.content-admin-body .button.primary,
.custom-code-editor-body .button.primary {
  background: linear-gradient(135deg, #c96f38 0%, #f0a13d 100%);
  border-color: transparent;
  color: #fffdf7;
  text-shadow: 0 1px 0 rgba(67, 33, 17, 0.15);
}

.admin-body .button.secondary,
.ops-body .button.secondary,
.content-admin-body .button.secondary,
.custom-code-editor-body .button.secondary,
.admin-body .small-button,
.ops-body .small-button,
.content-admin-body .small-button {
  background: rgba(255, 253, 247, 0.94);
  color: #1f3c2a;
}

.admin-body .protected-nav a,
.ops-body .protected-nav a,
.content-admin-body .protected-nav a,
.admin-body .admin-jump-nav a,
.ops-body .ops-jump-nav a,
.content-admin-body .content-jump-nav a {
  box-shadow: inset 0 -1px 0 rgba(31, 60, 42, 0.035);
}

.admin-body .protected-nav a[aria-current="page"],
.ops-body .protected-nav a[aria-current="page"],
.content-admin-body .protected-nav a[aria-current="page"],
.admin-body .admin-jump-nav a[aria-current="page"],
.ops-body .ops-jump-nav a[aria-current="page"],
.content-admin-body .content-jump-nav a[aria-current="page"] {
  background: #fffdf7;
  border-color: rgba(31, 60, 42, 0.16);
  box-shadow: 0 8px 18px rgba(31, 60, 42, 0.07);
}

.admin-body .admin-list article,
.ops-body .admin-list article,
.content-admin-body .admin-list article,
.content-block-card,
.content-lifecycle-panel,
.image-upload-panel,
.package-include-row,
.package-alternate-row {
  border-color: rgba(31, 60, 42, 0.1);
  background: rgba(255, 253, 247, 0.9);
  box-shadow: 0 10px 26px rgba(31, 60, 42, 0.045);
}

.admin-body input,
.admin-body textarea,
.admin-body select,
.ops-body input,
.ops-body textarea,
.ops-body select,
.content-admin-body input,
.content-admin-body textarea,
.content-admin-body select {
  border-color: rgba(31, 60, 42, 0.16);
  background-color: rgba(255, 254, 250, 0.98);
}

.admin-body input:focus,
.admin-body textarea:focus,
.admin-body select:focus,
.ops-body input:focus,
.ops-body textarea:focus,
.ops-body select:focus,
.content-admin-body input:focus,
.content-admin-body textarea:focus,
.content-admin-body select:focus,
.custom-code-editor-body input:focus,
.custom-code-editor-body textarea:focus {
  outline: none;
  border-color: rgba(224, 141, 55, 0.86);
  box-shadow: 0 0 0 4px rgba(224, 141, 55, 0.16);
}

.share-widget {
  align-items: center;
  gap: 0.5rem;
  padding: 0.64rem;
  border-radius: 1.2rem;
  background:
    radial-gradient(circle at 10% 0%, rgba(245, 185, 77, 0.12), transparent 9rem),
    linear-gradient(135deg, rgba(255, 253, 247, 0.99), rgba(238, 246, 229, 0.94));
}

.share-widget a {
  position: relative;
  min-width: 2.35rem;
  border-color: rgba(31, 60, 42, 0.12);
  background: rgba(255, 255, 255, 0.86);
}

.share-widget a:hover,
.share-widget a:focus-visible {
  transform: translateY(-1px);
}

.share-icon {
  width: 1.14rem;
  height: 1.14rem;
}

.public-content-card > .share-widget,
.product-card .share-widget.compact,
.package-card .share-widget.compact {
  justify-content: flex-start;
  gap: 0.46rem;
}

.public-content-card figure,
.public-content-card-image-fallback {
  min-height: clamp(190px, 22vw, 260px);
  aspect-ratio: 16 / 10;
}

.public-content-card figure img {
  display: block;
}

.custom-code-topbar {
  min-height: 82px;
  gap: 18px;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.99), rgba(255, 248, 236, 0.98));
}

.custom-code-topbar-actions .button {
  min-height: 46px;
  padding-inline: 20px;
}

#custom-preview-button {
  background: #e9f3e3;
  color: #1f3c2a;
  border-color: rgba(31, 60, 42, 0.1);
}

.custom-code-workspace {
  gap: 18px;
}

.custom-code-left {
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(236px, 1fr) minmax(236px, 1fr);
  align-content: stretch;
}

.custom-code-box {
  min-height: 0;
}

.custom-code-settings-box textarea {
  min-height: 78px;
  height: 78px;
}

.custom-code-box:not(.custom-code-settings-box) textarea {
  flex: 1 1 auto;
  min-height: 160px;
  height: auto;
  border-radius: 18px;
  background: #fffefb;
  box-shadow: inset 0 1px 0 rgba(31, 60, 42, 0.04);
}

.custom-code-preview-panel {
  box-shadow: 0 22px 60px rgba(31, 60, 42, 0.09);
}

.custom-code-preview-heading {
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.98), rgba(247, 244, 236, 0.93));
}

@media (max-width: 1000px) {
  .custom-code-left {
    height: auto;
    display: flex;
  }

  .custom-code-box:not(.custom-code-settings-box) textarea {
    min-height: 260px;
    height: 260px;
  }
}

@media (max-width: 720px) {
  .admin-body .protected-nav,
  .ops-body .protected-nav,
  .content-admin-body .protected-nav,
  .admin-body .admin-jump-nav,
  .ops-body .ops-jump-nav,
  .content-admin-body .content-jump-nav {
    gap: 7px;
    scroll-padding-inline: 12px;
  }

  .admin-body .protected-nav a,
  .ops-body .protected-nav a,
  .content-admin-body .protected-nav a,
  .admin-body .admin-jump-nav a,
  .ops-body .ops-jump-nav a,
  .content-admin-body .content-jump-nav a {
    min-height: 38px;
    padding-inline: 12px;
  }

  .custom-code-topbar-actions {
    gap: 8px;
  }
}


/* Custom code editor left-column simplification - 2026-05-29c
   Purpose: remove the cramped three-card desktop stack and make the owner edit path easier to scan. */
.custom-code-workspace {
  grid-template-columns: minmax(520px, 46vw) minmax(0, 1fr);
  gap: 16px;
  padding: 14px 16px 16px;
}

.custom-code-left {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-content: initial;
  overflow: auto;
  padding: 0 8px 10px 0;
  scrollbar-gutter: stable;
}

.custom-code-box {
  border-radius: 18px;
  padding: 14px 16px;
  gap: 10px;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.99), rgba(253, 249, 241, 0.96));
  box-shadow: 0 10px 28px rgba(31, 60, 42, 0.06);
}

.custom-code-box-heading {
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(31, 60, 42, 0.08);
}

.custom-code-box-heading > span {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
  font-size: 0.92rem;
  box-shadow: none;
}

.custom-code-box h1,
.custom-code-box h2 {
  font-size: clamp(1.22rem, 1.55vw, 1.6rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.custom-code-box p,
.custom-code-preview-heading p {
  margin-top: 2px;
  font-size: 0.93rem;
  line-height: 1.36;
}

.custom-code-box label {
  gap: 5px;
  font-size: 0.94rem;
}

.custom-code-box input,
.custom-code-box textarea {
  border-radius: 14px;
  padding: 9px 11px;
}

.custom-code-box input {
  min-height: 42px;
}

.custom-code-settings-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 9px 12px;
}

.custom-code-settings-box .custom-code-box-heading {
  grid-column: 1 / -1;
}

.custom-code-settings-box textarea {
  min-height: 52px;
  height: 52px;
  resize: none;
}

.custom-code-box:not(.custom-code-settings-box) {
  flex: 1 1 0;
  min-height: 220px;
}

.custom-code-box:not(.custom-code-settings-box) textarea {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  resize: none;
  border-radius: 16px;
}

.custom-code-preview-panel {
  border-radius: 20px;
}

.custom-code-preview-heading {
  min-height: 72px;
  padding: 14px 18px;
}

@media (max-width: 1180px) {
  .custom-code-workspace {
    grid-template-columns: minmax(470px, 48vw) minmax(0, 1fr);
  }

  .custom-code-settings-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1000px) {
  .custom-code-workspace {
    grid-template-columns: 1fr;
    height: auto;
    overflow: visible;
  }

  .custom-code-left {
    height: auto;
    display: flex;
    overflow: visible;
    padding-right: 0;
  }

  .custom-code-box:not(.custom-code-settings-box) {
    min-height: auto;
  }

  .custom-code-box:not(.custom-code-settings-box) textarea {
    min-height: 260px;
    height: 260px;
    resize: vertical;
  }
}

@media (max-width: 720px) {
  .custom-code-box {
    border-radius: 16px;
    padding: 14px;
  }

  .custom-code-box-heading {
    align-items: flex-start;
  }
}
