.sc-placeholder {
  background: color-mix(in srgb, currentColor 8%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 50%, transparent);
  border-radius: 2px;
  box-sizing: border-box;
  overflow: hidden;
}
@keyframes sc-shine {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
html.sc-dc-streaming .sc-placeholder,
html.sc-dc-streaming .sc-interp.sc-missing {
  position: relative;
  background: color-mix(in srgb, currentColor 5%, transparent);
  border-color: transparent;
}
html.sc-dc-streaming .sc-placeholder::before,
html.sc-dc-streaming .sc-interp.sc-missing::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(217, 119, 87, 0) 25%,
    rgba(247, 225, 211, 0.95) 37%,
    rgba(217, 119, 87, 0) 63%
  );
  background-size: 400% 100%;
  animation: sc-shine 1.4s ease infinite;
}
html.sc-dc-streaming
  .sc-placeholder:nth-child(n + 9 of .sc-placeholder)::before,
html.sc-dc-streaming
  .sc-interp.sc-missing:nth-child(n + 9 of .sc-interp.sc-missing)::before {
  animation: none;
  background: color-mix(in srgb, currentColor 8%, transparent);
}
.sc-placeholder-error {
  padding: 4px 8px;
  font:
    11px/1.4 ui-monospace,
    monospace;
  color: color-mix(in srgb, currentColor 70%, transparent);
  word-break: break-word;
}
.sc-interp.sc-missing {
  display: inline-block;
  width: 2em;
  height: 1em;
  overflow: hidden;
  vertical-align: text-bottom;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 2px;
  box-sizing: border-box;
  color: transparent;
  user-select: none;
}
.sc-interp.sc-unresolved {
  font-family: ui-monospace, monospace;
  font-size: 0.85em;
  color: color-mix(in srgb, currentColor 50%, transparent);
  background: color-mix(in srgb, currentColor 10%, transparent);
  border-radius: 3px;
  padding: 0 3px;
}
.sc-host.sc-has-error {
  position: relative;
}
.sc-logic-error {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2147483647;
  max-width: 60ch;
  padding: 6px 10px;
  background: #b00020;
  color: #fff;
  font:
    12px/1.4 ui-monospace,
    monospace;
  border-radius: 4px;
  white-space: pre-wrap;
  pointer-events: none;
}
/* Mirrors PRINT_BASELINE_CSS in apps/web deck-stage-export.ts — keep both
       in sync until dc-runtime regains a build step. */
@media print {
  @page {
    margin: 0.5cm;
  }
  figure,
  table {
    break-inside: avoid;
  }
  #dc-root,
  #dc-root > .sc-host {
    height: auto;
  }
  *,
  *::before,
  *::after {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    animation-delay: -99s !important;
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    animation-fill-mode: both !important;
    animation-play-state: running !important;
    transition-duration: 0s !important;
  }
}

x-dc {
  display: none !important;
}

body {
  margin: 0;
  background: #f8faf4;
}
html {
  scroll-behavior: smooth;
}
a {
  color: #2e4a3b;
}
a:hover {
  color: #1b1b1b;
}
input,
textarea,
button {
  font: inherit;
}

.sc-placeholder {
  background: color-mix(in srgb, currentcolor 8%, transparent 92%);
  border: 1px solid color-mix(in srgb, currentcolor, transparent);
  border-radius: 2px;
  box-sizing: border-box;
  overflow: hidden;
}
@keyframes sc-shine {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
html.sc-dc-streaming .sc-placeholder,
html.sc-dc-streaming .sc-interp.sc-missing {
  position: relative;
  background: color-mix(in srgb, currentcolor 5%, transparent 95%);
  border-color: transparent;
}
html.sc-dc-streaming .sc-placeholder::before,
html.sc-dc-streaming .sc-interp.sc-missing::before {
  content: '';
  position: absolute;
  inset: 0px;
  pointer-events: none;
  background: linear-gradient(
      90deg,
      rgba(217, 119, 87, 0) 25%,
      rgba(247, 225, 211, 0.95) 37%,
      rgba(217, 119, 87, 0) 63%
    )
    0% 0% / 400% 100%;
  animation: 1.4s ease 0s infinite normal none running sc-shine;
}
html.sc-dc-streaming
  .sc-placeholder:nth-child(n + 9 of .sc-placeholder)::before,
html.sc-dc-streaming
  .sc-interp.sc-missing:nth-child(n + 9 of .sc-interp.sc-missing)::before {
  animation: auto ease 0s 1 normal none running none;
  background: color-mix(in srgb, currentcolor 8%, transparent 92%);
}
.sc-placeholder-error {
  padding: 4px 8px;
  font:
    11px / 1.4 ui-monospace,
    monospace;
  color: color-mix(in srgb, currentcolor 70%, transparent 30%);
  word-break: break-word;
}
.sc-interp.sc-missing {
  display: inline-block;
  width: 2em;
  height: 1em;
  overflow: hidden;
  vertical-align: text-bottom;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 2px;
  box-sizing: border-box;
  color: transparent;
  user-select: none;
}
.sc-interp.sc-unresolved {
  font-family: ui-monospace, monospace;
  font-size: 0.85em;
  color: color-mix(in srgb, currentcolor, transparent);
  background: color-mix(in srgb, currentcolor 10%, transparent 90%);
  border-radius: 3px;
  padding: 0px 3px;
}
.sc-host.sc-has-error {
  position: relative;
}
.sc-logic-error {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2147483647;
  max-width: 60ch;
  padding: 6px 10px;
  background: rgb(176, 0, 32);
  color: rgb(255, 255, 255);
  font:
    12px / 1.4 ui-monospace,
    monospace;
  border-radius: 4px;
  white-space: pre-wrap;
  pointer-events: none;
}
@media print {
  @page {
    margin: 0.5cm;
  }
  figure,
  table {
    break-inside: avoid;
  }
  #dc-root,
  #dc-root > .sc-host {
    height: auto;
  }
  *,
  ::before,
  ::after {
    print-color-adjust: exact;
    backdrop-filter: none !important;
    animation-delay: -99s !important;
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    animation-fill-mode: both !important;
    animation-play-state: running !important;
    transition-duration: 0s !important;
  }
}

x-dc {
  display: none !important;
}

body {
  margin: 0px;
  background: rgb(248, 250, 244);
}
html {
  scroll-behavior: smooth;
}
a {
  color: rgb(46, 74, 59);
}
a:hover {
  color: rgb(27, 27, 27);
}
input,
textarea,
button {
  font: inherit;
}

/* EC-NAV-088: Front-page fixed nav + min-h-screen hero (must be last in this file) */
body.front-page {
  padding-top: 0 !important;
}
body.front-page .site-main,
body.front-page .site-main #primary {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body.front-page
  .site-main
  #primary
  > section.min-h-screen:first-of-type:not([class*='pt-']):not([class*='mt-']),
body.front-page
  .site-main
  #primary
  > div:first-of-type
  > section.min-h-screen:first-of-type:not([class*='pt-']):not([class*='mt-']),
body.front-page
  .site-main
  > div:first-of-type
  > section.min-h-screen:first-of-type:not([class*='pt-']):not([class*='mt-']) {
  margin-top: calc(
    -1 * var(--wpconvert-header-bar-height, 4rem) -
      var(--wp-admin--admin-bar--height, 0px)
  ) !important;
}

/* EC-HERO-014: Full-viewport hero fidelity — SPA wrapper path + min-height guard */
body.front-page #primary section#top.min-h-screen,
body.front-page
  #primary
  > div:first-of-type
  > section.min-h-screen:first-of-type {
  min-height: 100vh !important;
  min-height: 100dvh !important;
}
body.front-page #primary section#top.min-h-screen > .absolute.bottom-10 {
  z-index: 10;
}

/* EC-NAV-089: see root style.css — fixed nav under admin bar in Playground / logged-in front.
 * EC-NAV-323: header.fixed top offset for <header class="fixed top-0"> SPAs. */
body.admin-bar nav.fixed.top-0:not(#wpconvert-mobile-nav),
body.admin-bar nav.fixed[class*='top-0']:not(#wpconvert-mobile-nav),
body.admin-bar header.fixed.top-0,
body.admin-bar header.fixed[class*='top-0'] {
  top: var(--wp-admin--admin-bar--height, 32px) !important;
}

/* EC-BTN-104 + EC-NAV-121: Re-assert Tailwind light text on <button>/<a> CTAs.
   Uses class~= (whitespace-separated word match) instead of class*= (substring) so that
   hover:text-white, focus:text-white, group-hover:text-white etc. are NOT matched. */
button[class~='text-white/90'],
a[class~='text-white/90'] {
  color: rgba(255, 255, 255, 0.9);
}
button[class~='text-white/80'],
a[class~='text-white/80'] {
  color: rgba(255, 255, 255, 0.8);
}
button[class~='text-white/70'],
a[class~='text-white/70'] {
  color: rgba(255, 255, 255, 0.7);
}
button[class~='text-white/60'],
a[class~='text-white/60'] {
  color: rgba(255, 255, 255, 0.6);
}
button[class~='text-white/50'],
a[class~='text-white/50'] {
  color: rgba(255, 255, 255, 0.5);
}
button[class~='text-white/40'],
a[class~='text-white/40'] {
  color: rgba(255, 255, 255, 0.4);
}
button[class~='text-white'],
a[class~='text-white'] {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

/* EC-BTN-107: assets/css/style.css loads last — re-assert that disclosure
   toggle buttons cannot be text-selected so a double-click on a FAQ label can
   never show the browser's blue selection highlight. */
button[aria-expanded] {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* EC-ANIM-008b / EC-ANIM-009: carousel-only override — scroll-reveal elements animate via IO in functions.php */
.scroll-fade-up:has([aria-roledescription='carousel']),
.scroll-fade-up:has([data-wpconvert-blog-filter-bar]),
.scroll-fade-left:has([aria-roledescription='carousel']),
.scroll-fade-right:has([aria-roledescription='carousel']),
.scroll-scale-in:has([aria-roledescription='carousel']) {
  opacity: 1 !important;
  transform: none !important;
}
