html[data-catalog-demo="true"] .catalog-demo-banner {
  position: relative;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  max-width: 1280px;
  margin: max(10px, env(safe-area-inset-top)) auto 0;
  padding: 10px 12px 10px 14px;
  border: 1px solid var(--line, rgba(20, 32, 26, .16));
  border-radius: 16px;
  color: var(--ink, #14201a);
  background: color-mix(in srgb, var(--card, #fff) 92%, var(--primary, #216345));
  box-shadow: 0 12px 28px rgba(10, 24, 16, .1), inset 0 1px 0 rgba(255, 255, 255, .35);
}

html[data-catalog-demo="true"] .catalog-demo-copy {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 9px;
}

html[data-catalog-demo="true"] .catalog-demo-copy > span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  border-radius: 9px;
  color: var(--on-primary, #fff);
  background: var(--primary, #216345);
  box-shadow: 0 6px 14px color-mix(in srgb, var(--primary, #216345) 24%, transparent);
  font-size: 12px;
  font-weight: 900;
}

html[data-catalog-demo="true"] .catalog-demo-copy p {
  display: grid;
  min-width: 0;
  margin: 0;
  line-height: 1.25;
}

html[data-catalog-demo="true"] .catalog-demo-copy strong {
  overflow: hidden;
  color: inherit;
  font-size: 12px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-catalog-demo="true"] .catalog-demo-copy small {
  color: var(--muted, #67736c);
  font-size: 10px;
  font-weight: 650;
}

html[data-catalog-demo="true"] .catalog-demo-picker {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(220px, 330px) minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  gap: 10px;
}

html[data-catalog-demo="true"] .catalog-demo-picker > small {
  overflow: hidden;
  color: var(--muted, #67736c);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .055em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

html[data-catalog-demo="true"] .catalog-demo-theme-track {
  display: flex;
  min-width: 0;
  gap: 6px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-snap-type: inline proximity;
  touch-action: pan-x;
}

html[data-catalog-demo="true"] .catalog-demo-theme-track::-webkit-scrollbar {
  display: none;
}

html[data-catalog-demo="true"] .catalog-demo-theme {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  min-height: 36px;
  flex: 0 0 auto;
  gap: 7px;
  padding: 5px 8px 5px 5px;
  border: 1px solid color-mix(in srgb, var(--line, #d8ded9) 85%, transparent);
  border-radius: 10px;
  color: var(--muted, #67736c);
  background: color-mix(in srgb, var(--surface, #f7f5ef) 72%, transparent);
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  font-size: 9.5px;
  font-weight: 800;
  scroll-snap-align: center;
  transition: transform .18s ease, color .18s ease, border-color .18s ease, background .18s ease;
}

html[data-catalog-demo="true"] .catalog-demo-theme:hover {
  color: var(--ink, #14201a);
  border-color: color-mix(in srgb, var(--primary, #216345) 42%, var(--line, #d8ded9));
  transform: translateY(-1px);
}

html[data-catalog-demo="true"] .catalog-demo-theme[aria-pressed="true"] {
  color: var(--ink, #14201a);
  border-color: color-mix(in srgb, var(--primary, #216345) 68%, var(--line, #d8ded9));
  background: color-mix(in srgb, var(--primary-soft, #e3eee8) 72%, var(--card, #fff));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary, #216345) 14%, transparent);
}

html[data-catalog-demo="true"] .catalog-demo-theme:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary, #216345) 28%, transparent);
  outline-offset: 2px;
}

html[data-catalog-demo="true"] .catalog-demo-theme-swatch {
  width: 28px;
  height: 24px;
  flex: 0 0 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 7px;
  background: linear-gradient(90deg, var(--demo-c1) 0 34%, var(--demo-c2) 34% 67%, var(--demo-c3) 67%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
}

html[data-catalog-demo="true"] .catalog-demo-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

html[data-catalog-demo="true"] .catalog-demo-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 7px;
}

html[data-catalog-demo="true"] .catalog-demo-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 33px;
  padding: 7px 10px;
  border-radius: 10px;
  color: var(--ink, #14201a);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

html[data-catalog-demo="true"] .catalog-demo-actions a:hover {
  transform: translateY(-1px);
}

html[data-catalog-demo="true"] .catalog-demo-actions .catalog-demo-back {
  background: color-mix(in srgb, var(--surface, #f7f5ef) 76%, transparent);
}

html[data-catalog-demo="true"] .catalog-demo-actions .catalog-demo-trial {
  color: var(--on-primary, #fff);
  background: var(--primary, #216345);
  box-shadow: 0 7px 14px color-mix(in srgb, var(--primary, #216345) 24%, transparent);
}

html[data-surface="dark"][data-catalog-demo="true"] .catalog-demo-banner {
  background: color-mix(in srgb, var(--card, #101a14) 88%, var(--primary, #4ed18a));
  box-shadow: 0 14px 30px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .08);
}

html[data-surface="dark"][data-catalog-demo="true"] .catalog-demo-actions .catalog-demo-back {
  background: rgba(255, 255, 255, .06);
}

@media (max-width: 720px) {
  html[data-catalog-demo="true"] .catalog-demo-banner {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    margin: max(7px, env(safe-area-inset-top)) 10px 0;
    padding: 10px;
    border-radius: 14px;
    gap: 9px;
  }

  html[data-catalog-demo="true"] .catalog-demo-copy {
    align-items: center;
  }

  html[data-catalog-demo="true"] .catalog-demo-picker {
    grid-column: 1;
    grid-template-columns: minmax(0, 1fr);
    grid-row: auto;
    padding-top: 2px;
    border-top: 1px solid color-mix(in srgb, var(--line, #d8ded9) 72%, transparent);
  }

  html[data-catalog-demo="true"] .catalog-demo-picker > small {
    padding-top: 7px;
    overflow: visible;
    line-height: 1.3;
    text-overflow: clip;
    white-space: normal;
  }

  html[data-catalog-demo="true"] .catalog-demo-theme-track {
    margin-inline: -2px;
    padding: 2px 2px 4px;
  }

  html[data-catalog-demo="true"] .catalog-demo-copy small {
    display: block;
  }

  html[data-catalog-demo="true"] .catalog-demo-actions {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr);
    width: 100%;
    gap: 6px;
  }

  html[data-catalog-demo="true"] .catalog-demo-actions a {
    min-height: 34px;
    padding: 6px 8px;
    font-size: 10px;
  }

  html[data-catalog-demo="true"] .catalog-demo-copy strong {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }
}

@media (max-width: 390px) {
  html[data-catalog-demo="true"] .catalog-demo-actions a {
    font-size: 9.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-catalog-demo="true"] .catalog-demo-actions a,
  html[data-catalog-demo="true"] .catalog-demo-theme {
    transition: none;
  }
}
