.chq-demo {
  --chq-navy-deep: #071426;
  --chq-navy: #0B1F3A;
  --chq-navy-card: #102849;
  --chq-navy-elevated: #16355E;
  --chq-gold: #D4AF5A;
  --chq-gold-hover: #E2BF6E;
  --chq-yellow: #FFD400;
  --chq-teal: #0ABAB5;
  --chq-teal-dark: #077E7A;
  --chq-cream: #F4F1EA;
  --chq-muted: #C4CFE0;
  --chq-border: rgba(212, 175, 90, 0.28);

  background: radial-gradient(circle at 82% 18%, rgba(10, 186, 181, 0.13), transparent 46%),
              linear-gradient(180deg, var(--chq-navy-deep) 0%, var(--chq-navy) 100%);
  color: var(--chq-cream);
  padding: 4.5rem 1.25rem;
  overflow-x: clip;
  font-family: inherit;
}

.chq-demo *,
.chq-demo *::before,
.chq-demo *::after {
  box-sizing: border-box;
}

.chq-demo__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(316px, 360px);
  gap: 3rem;
  align-items: center;
}

.chq-demo__eyebrow {
  display: inline-block;
  margin: 0 0 0.7rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--chq-gold);
}

.chq-demo__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--chq-cream);
}

.chq-demo__lead {
  margin: 0 0 1.6rem;
  font-size: 1.05rem;
  line-height: 1.58;
  color: var(--chq-muted);
  max-width: 58ch;
}

/* Interactive builder card */
.chq-demo__card {
  background: rgba(16, 40, 73, 0.9);
  border: 1px solid var(--chq-border);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 18px 42px rgba(4, 10, 22, 0.38);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.chq-demo__inputs {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 0.85rem;
}

.chq-demo__field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.chq-demo__group {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.chq-demo__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--chq-cream);
}

.chq-demo__optional {
  font-weight: 500;
  color: var(--chq-muted);
  font-size: 0.8125rem;
}

.chq-demo__input {
  width: 100%;
  min-height: 50px;
  padding: 0.7rem 0.95rem;
  border-radius: 12px;
  border: 1.5px solid rgba(244, 241, 234, 0.24);
  background: var(--chq-navy-deep);
  color: var(--chq-cream);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.16s ease;
}

.chq-demo__input::placeholder {
  color: rgba(196, 207, 224, 0.58);
}

.chq-demo__input:focus-visible {
  outline: 2px solid var(--chq-teal);
  outline-offset: 2px;
  border-color: var(--chq-teal);
}

/* Trade pill chips */
.chq-demo__chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.chq-demo__chip,
.chq-demo__theme-btn,
.chq-demo__feat-btn {
  appearance: none;
  min-height: 46px;
  padding: 0.5rem 0.5rem;
  border-radius: 999px;
  border: 1.5px solid rgba(244, 241, 234, 0.22);
  background: var(--chq-navy-deep);
  color: var(--chq-cream);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.chq-demo__chip:hover,
.chq-demo__theme-btn:hover,
.chq-demo__feat-btn:hover {
  border-color: var(--chq-gold);
}

.chq-demo__chip[aria-pressed="true"] {
  background: var(--chq-teal);
  border-color: var(--chq-teal);
  color: var(--chq-navy-deep);
  font-weight: 800;
}

/* Four theme selector pills */
.chq-demo__themes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.chq-demo__theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
}

.chq-demo__theme-btn[aria-pressed="true"] {
  background: rgba(212, 175, 90, 0.18);
  border-color: var(--chq-gold);
  color: var(--chq-cream);
  font-weight: 800;
}

.chq-demo__swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.chq-demo__swatch--dark {
  background: linear-gradient(135deg, #0B1F3A 50%, #D4AF5A 50%);
  border: 1px solid rgba(244, 241, 234, 0.45);
}

.chq-demo__swatch--light {
  background: linear-gradient(135deg, #F4F1EA 55%, #0B1F3A 55%);
  border: 1px solid rgba(244, 241, 234, 0.55);
}

.chq-demo__swatch--clarity {
  background: linear-gradient(135deg, #0B1F3A 45%, #0ABAB5 45%);
  border: 1px solid #0ABAB5;
}

.chq-demo__swatch--neo {
  background: linear-gradient(135deg, #040B16 45%, #0ABAB5 45%);
  border: 1px solid #0ABAB5;
}

/* Three feature multi-toggle pills */
.chq-demo__features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.chq-demo__feat-btn {
  font-size: 0.85rem;
}

.chq-demo__feat-btn[aria-pressed="true"] {
  background: rgba(10, 186, 181, 0.18);
  border-color: var(--chq-teal);
  color: var(--chq-cream);
  font-weight: 700;
}

.chq-demo__chip:focus-visible,
.chq-demo__theme-btn:focus-visible,
.chq-demo__feat-btn:focus-visible,
.chq-demo__edit-peek:focus-visible {
  outline: 2px solid var(--chq-gold);
  outline-offset: 2px;
}

.chq-demo__privacy {
  margin: 0.2rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.48;
  color: var(--chq-muted);
}

/* Main CTA button */
.chq-demo__submit {
  appearance: none;
  width: 100%;
  min-height: 54px;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid var(--chq-gold);
  background: var(--chq-gold);
  color: var(--chq-navy-deep);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.12s ease;
}

.chq-demo__submit:hover {
  background: var(--chq-gold-hover);
  border-color: var(--chq-gold-hover);
}

.chq-demo__submit:active {
  transform: translateY(1px);
}

.chq-demo__submit:focus-visible {
  outline: 2px solid var(--chq-teal);
  outline-offset: 3px;
}

/* Right column + Phone Frame */
.chq-demo__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

/* Scoped theme tokens for the phone preview */
.chq-phone {
  --p-screen-bg: #0B1F3A;
  --p-surface: rgba(16, 40, 73, 0.92);
  --p-url-bg: #071426;
  --p-ink: #F4F1EA;
  --p-muted: #C4CFE0;
  --p-primary-bg: #D4AF5A;
  --p-primary-ink: #071426;
  --p-secondary-bg: #16355E;
  --p-secondary-ink: #F4F1EA;
  --p-secondary-border: rgba(10, 186, 181, 0.48);
  --p-accent: #0ABAB5;
  --p-badge-bg: #D4AF5A;
  --p-badge-ink: #071426;
  --p-card-border: rgba(212, 175, 90, 0.28);
  --p-frame-border: rgba(212, 175, 90, 0.48);

  width: 100%;
  max-width: 334px;
  border-radius: 44px;
  padding: 10px;
  background: linear-gradient(150deg, #1E3E6D 0%, #09182E 52%, #132C50 100%);
  border: 1.5px solid var(--p-frame-border);
  box-shadow: 0 24px 54px rgba(3, 9, 19, 0.55);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Theme 2: Light */
.chq-phone[data-active-theme="light"] {
  --p-screen-bg: #F4F1EA;
  --p-surface: #FFFFFF;
  --p-url-bg: #E7E2D6;
  --p-ink: #0B1F3A;
  --p-muted: #3D516B;
  --p-primary-bg: #0B1F3A;
  --p-primary-ink: #F4F1EA;
  --p-secondary-bg: #FFFFFF;
  --p-secondary-ink: #0B1F3A;
  --p-secondary-border: rgba(11, 31, 58, 0.28);
  --p-accent: #077E7A;
  --p-badge-bg: #D4AF5A;
  --p-badge-ink: #0B1F3A;
  --p-card-border: rgba(11, 31, 58, 0.16);
}

/* Theme 3: Clarity (navy, Clarity teal, brushed gold) */
.chq-phone[data-active-theme="clarity"] {
  --p-screen-bg: #0B1F3A;
  --p-surface: #112A4E;
  --p-url-bg: #071426;
  --p-ink: #F4F1EA;
  --p-muted: #CFE3E6;
  --p-primary-bg: #0ABAB5;
  --p-primary-ink: #071426;
  --p-secondary-bg: #0B1F3A;
  --p-secondary-ink: #D4AF5A;
  --p-secondary-border: #D4AF5A;
  --p-accent: #0ABAB5;
  --p-badge-bg: #D4AF5A;
  --p-badge-ink: #0B1F3A;
  --p-card-border: rgba(10, 186, 181, 0.55);
  --p-frame-border: rgba(10, 186, 181, 0.7);
}

/* Theme 4: Neo (with falling rain in Clarity teal & brushed gold) */
.chq-phone[data-active-theme="neo"] {
  --p-screen-bg: #040B16;
  --p-surface: rgba(7, 22, 42, 0.82);
  --p-url-bg: rgba(4, 12, 24, 0.9);
  --p-ink: #F4F1EA;
  --p-muted: #CBE7E6;
  --p-primary-bg: #0ABAB5;
  --p-primary-ink: #04101E;
  --p-secondary-bg: rgba(10, 186, 181, 0.12);
  --p-secondary-ink: #F4F1EA;
  --p-secondary-border: #0ABAB5;
  --p-accent: #0ABAB5;
  --p-badge-bg: #0ABAB5;
  --p-badge-ink: #04101E;
  --p-card-border: rgba(10, 186, 181, 0.45);
  --p-frame-border: rgba(10, 186, 181, 0.68);
  box-shadow: 0 24px 56px rgba(3, 9, 19, 0.65), 0 0 28px rgba(10, 186, 181, 0.18);
}

.chq-phone__bezel {
  background: #050D1A;
  border-radius: 35px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Top speaker and camera pill */
.chq-phone__pill {
  width: 88px;
  height: 22px;
  margin: 2px auto;
  border-radius: 999px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
}

.chq-phone__camera {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, #1E4B6E 25%, #091322 75%);
}

.chq-phone__screen {
  position: relative;
  overflow: hidden;
  background: var(--p-screen-bg);
  color: var(--p-ink);
  border-radius: 24px;
  padding: 11px;
  border: 1px solid var(--p-card-border);
  transition: background-color 0.22s ease, color 0.22s ease;
}

@keyframes chqScreenWake {
  0% { filter: brightness(1.16); }
  100% { filter: brightness(1); }
}

.chq-phone__screen.is-waking {
  animation: chqScreenWake 0.2s ease-out;
}

/* Neo digital rain canvas */
.chq-phone__rain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.chq-phone[data-active-theme="neo"] .chq-phone__rain {
  opacity: 1;
}

.chq-phone__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.chq-phone__urlbar {
  background: var(--p-url-bg);
  border: 1px solid var(--p-card-border);
  border-radius: 999px;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
}

.chq-phone__lock {
  width: 12px;
  height: 12px;
  color: var(--p-accent);
  flex-shrink: 0;
}

.chq-phone__domain {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--p-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mini-homepage inside phone */
.chq-mock {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chq-mock__edit-banner {
  display: none;
  background: var(--chq-yellow);
  color: #071426;
  font-size: 0.64rem;
  font-weight: 800;
  text-align: center;
  padding: 4px 8px;
  border-radius: 6px;
}

.chq-phone[data-easy-edit="true"] .chq-mock__edit-banner {
  display: block;
}

.chq-mock__editable {
  position: relative;
  border: 1px dashed transparent;
  border-radius: 8px;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.chq-phone[data-easy-edit="true"] .chq-mock__editable {
  border-color: var(--chq-gold);
  background: rgba(212, 175, 90, 0.1);
  padding-left: 6px;
  padding-right: 6px;
}

.chq-phone[data-easy-edit="true"] .chq-mock__editable::after {
  content: attr(data-edit-tag);
  position: absolute;
  top: -7px;
  right: 6px;
  background: var(--chq-gold);
  color: #071426;
  font-size: 0.54rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 1px 5px;
  border-radius: 4px;
}

.chq-mock__status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  color: var(--p-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 20px;
}

.chq-mock__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0ABAB5;
  box-shadow: 0 0 0 3px rgba(10, 186, 181, 0.22);
  flex-shrink: 0;
}

.chq-mock__open {
  font-weight: 800;
  color: var(--p-accent);
}

.chq-mock__meta {
  overflow: hidden;
  text-overflow: ellipsis;
}

.chq-mock__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--p-card-border);
  min-width: 0;
}

.chq-mock__badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--p-badge-bg);
  color: var(--p-badge-ink);
  font-size: 0.88rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chq-mock__bizname {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--p-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chq-mock__headline {
  margin: 0;
  font-size: 1rem;
  line-height: 1.22;
  font-weight: 800;
  color: var(--p-ink);
  min-height: 2.44em;
}

.chq-phone[data-active-theme="neo"] .chq-mock__headline {
  background: rgba(4, 11, 22, 0.68);
  border-radius: 6px;
}

.chq-mock__copy {
  margin: 0;
  font-size: 0.73rem;
  line-height: 1.42;
  color: var(--p-muted);
  min-height: 4.26em;
}

.chq-phone[data-active-theme="neo"] .chq-mock__copy {
  background: rgba(4, 11, 22, 0.68);
  border-radius: 6px;
}

.chq-mock__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.chq-mock__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 8px;
  border-radius: 999px;
  font-size: 0.71rem;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chq-phone[data-active-theme="clarity"] .chq-mock__btn {
  border-radius: 10px;
  min-height: 36px;
}

.chq-mock__btn--primary {
  background: var(--p-primary-bg);
  color: var(--p-primary-ink);
}

.chq-mock__btn--secondary {
  background: var(--p-secondary-bg);
  border: 1.5px solid var(--p-secondary-border);
  color: var(--p-secondary-ink);
}

/* Live Feature Add-on Card */
.chq-mock__addon {
  background: var(--p-surface);
  border: 1px solid var(--p-card-border);
  border-radius: 10px;
  padding: 7px 9px;
  min-height: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.chq-mock__addon-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.chq-mock__addon-title {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--p-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chq-mock__addon-pill {
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--p-badge-bg);
  color: var(--p-badge-ink);
  flex-shrink: 0;
}

.chq-mock__addon-line {
  margin: 0;
  font-size: 0.66rem;
  line-height: 1.3;
  color: var(--p-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* SVG Picture Block */
.chq-mock__artbox {
  position: relative;
  border-radius: 11px;
  overflow: hidden;
  border: 1px solid var(--p-card-border);
  background: var(--p-surface);
  color: var(--p-ink);
}

.chq-mock__svg {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.chq-mock__callpill {
  background: var(--p-url-bg);
  border-top: 1px solid var(--p-card-border);
  padding: 5px 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--p-ink);
}

.chq-phone__homebar {
  width: 96px;
  height: 4px;
  margin: 2px auto 0;
  border-radius: 999px;
  background: rgba(244, 241, 234, 0.28);
}

/* Owner Easy Edit toggle button below phone */
.chq-demo__edit-peek {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1.5px solid rgba(212, 175, 90, 0.4);
  background: rgba(16, 40, 73, 0.75);
  color: var(--chq-cream);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.chq-demo__edit-peek:hover {
  border-color: var(--chq-gold);
}

.chq-demo__edit-peek[aria-pressed="true"] {
  background: var(--chq-gold);
  border-color: var(--chq-gold);
  color: var(--chq-navy-deep);
}

.chq-demo__edit-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--chq-gold);
}

.chq-demo__edit-peek[aria-pressed="true"] .chq-demo__edit-dot {
  background: var(--chq-navy-deep);
}

/* Tablet and mobile screens down to 390px */
@media (max-width: 920px) {
  .chq-demo {
    padding: 3.25rem 1rem;
  }

  .chq-demo__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.25rem;
  }

  .chq-demo__card {
    padding: 1.2rem;
  }

  .chq-phone {
    max-width: 324px;
  }
}

@media (max-width: 560px) {
  .chq-demo__inputs {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }

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

  .chq-demo__chips,
  .chq-demo__features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .chq-demo__chip,
  .chq-demo__feat-btn {
    font-size: 0.8125rem;
    padding: 0.5rem 0.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chq-demo__input,
  .chq-demo__chip,
  .chq-demo__theme-btn,
  .chq-demo__feat-btn,
  .chq-demo__submit,
  .chq-phone,
  .chq-phone__screen,
  .chq-phone__rain {
    transition: none;
    animation: none;
  }
}
/* Combined update 25 Nov 2026: trade photos in the phone and a link to the Easy Edit demo */
.chq-mock__photo { aspect-ratio: 640 / 260; object-fit: cover; }
.chq-demo__try-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 0.75rem; padding: 0.55rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--chq-teal); color: var(--chq-cream); font-weight: 800; text-decoration: none; }
.chq-demo__try-link:hover, .chq-demo__try-link:focus-visible { background: var(--chq-teal); color: var(--chq-navy-deep); outline: none; }

/* Grouped trade picker and single-photo preview (25 Nov 2026) */
.chq-demo__search-label {
  display: block;
  margin-bottom: 0.15rem;
}
.chq-demo__search {
  width: 100%;
  margin-bottom: 0.15rem;
  box-sizing: border-box;
}
.chq-demo__groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}
.chq-demo__group-btn {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.4rem 0.4rem;
  border-radius: 16px;
  border: 1.5px solid rgba(244, 241, 234, 0.22);
  background: var(--chq-navy-deep);
  color: var(--chq-cream);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.chq-demo__group-btn:hover {
  border-color: var(--chq-gold);
}
.chq-demo__group-btn:focus-visible {
  outline: 2px solid var(--chq-teal);
  outline-offset: 2px;
}
.chq-demo__group-btn[aria-expanded="true"] {
  border-color: var(--chq-teal);
}
.chq-demo__group-btn[aria-pressed="true"] {
  background: var(--chq-teal);
  border-color: var(--chq-teal);
  color: var(--chq-navy-deep);
  font-weight: 800;
}
.chq-demo__group-panel {
  margin-top: 0.65rem;
}
.chq-demo__group-panel[hidden] {
  display: none;
}
.chq-demo__panel-heading {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(196, 207, 224, 0.9);
}
.chq-demo__group-panel .chq-demo__chips {
  max-height: 16.5rem;
  overflow: auto;
  padding-right: 0.15rem;
  -webkit-overflow-scrolling: touch;
}
.chq-demo__chip.is-filtered {
  display: none;
}
.chq-demo__no-match {
  margin: 0.55rem 0 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: rgba(196, 207, 224, 0.82);
}
.chq-demo__chip {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chq-demo__chip--long {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  line-height: 1.15;
}

#chq-trade-picker.is-searching .chq-demo__group-btn[aria-expanded="true"]:not([aria-pressed="true"]) {
  border-color: rgba(244, 241, 234, 0.22);
}
#chq-trade-picker.is-searching .chq-demo__group-btn[data-no-matches] {
  opacity: 0.4;
}
@media (min-width: 900px) {
  .chq-demo__group-btn {
    font-size: 0.9rem;
    min-height: 48px;
  }
  .chq-demo__group-panel .chq-demo__chips {
    max-height: 18rem;
  }
}
@media (max-width: 560px) {
  .chq-demo__group-btn {
    font-size: 0.74rem;
    padding: 0.38rem 0.28rem;
    min-height: 50px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .chq-demo__group-btn {
    transition: none;
  }
}


/* Demo Clarity board in an iPhone view, and on a laptop at desktop width */
.chq-demo__devices {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.chq-phone[data-preview="board"] .chq-mock {
  display: none;
}

.chq-phone[data-preview="board"] .chq-board-view {
  display: block;
}

.chq-board-view {
  display: none;
  padding: 0.45rem 0.5rem 0.6rem;
}

.chq-board {
  background: #f6f3ec;
  color: #132238;
  border-radius: 12px;
  padding: 0.55rem 0.6rem 0.65rem;
  text-align: left;
}

.chq-board__bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.2rem;
}

.chq-board__kicker {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #077e7a;
}

.chq-board__day {
  font-size: 0.66rem;
  font-weight: 700;
  color: #5a6a80;
}

.chq-board__biz {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  color: #0b1f3a;
}

.chq-board__jobs {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.chq-board__job {
  appearance: none;
  display: grid;
  grid-template-columns: 3.1rem minmax(0, 1fr);
  gap: 0.35rem 0.45rem;
  width: 100%;
  margin: 0;
  padding: 0.38rem 0.45rem;
  border: 1px solid rgba(11, 31, 58, 0.12);
  border-radius: 9px;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.chq-board__job:hover,
.chq-board__job:focus-visible {
  border-color: #0abab5;
  outline: none;
}

.chq-board__job[aria-pressed="true"] {
  border-color: #0abab5;
  background: #e7f8f7;
}

.chq-board__time {
  font-size: 0.66rem;
  font-weight: 800;
  color: #077e7a;
  padding-top: 0.08rem;
}

.chq-board__who {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.2;
  color: #0b1f3a;
}

.chq-board__what {
  display: block;
  font-size: 0.68rem;
  line-height: 1.3;
  color: #3d4d63;
}

.chq-board__detail {
  margin: 0.45rem 0 0;
  padding: 0.4rem 0.45rem;
  border-radius: 8px;
  background: rgba(10, 186, 181, 0.12);
  font-size: 0.68rem;
  line-height: 1.4;
  color: #132238;
}

.chq-demo__board-peek {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 0.65rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid var(--chq-gold);
  background: transparent;
  color: var(--chq-cream);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.chq-demo__board-peek:hover,
.chq-demo__board-peek:focus-visible {
  background: var(--chq-gold);
  color: var(--chq-navy-deep);
  outline: none;
}

.chq-demo__board-peek[aria-pressed="true"] {
  background: var(--chq-gold);
  color: var(--chq-navy-deep);
}

.chq-laptop {
  display: none;
}

@media (min-width: 1100px) {
  .chq-demo__inner {
    max-width: 1240px;
    grid-template-columns: minmax(0, 1fr) minmax(580px, 640px);
    gap: 2.25rem;
  }

  .chq-demo__devices {
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 0.7rem;
  }

  .chq-phone {
    max-width: 292px;
    flex: 0 0 auto;
  }

  .chq-laptop {
    display: block;
    width: 318px;
    flex: 0 0 auto;
  }

  .chq-laptop__lid {
    background: #161616;
    border: 9px solid #1c1c1c;
    border-bottom-width: 6px;
    border-radius: 12px 12px 3px 3px;
    box-shadow: 0 16px 28px rgba(4, 10, 22, 0.35);
  }

  .chq-laptop__screen {
    background: #f6f3ec;
    border-radius: 4px;
    overflow: auto;
    max-height: 268px;
  }

  .chq-board--desk {
    border-radius: 0;
    min-height: 248px;
  }

  .chq-laptop__base {
    height: 9px;
    margin: 0 -14px 0;
    background: linear-gradient(180deg, #3a3a3a, #222);
    border-radius: 0 0 12px 12px;
    position: relative;
  }

  .chq-laptop__base::after {
    content: "";
    display: block;
    width: 72px;
    height: 5px;
    margin: 0 auto;
    background: #111;
    border-radius: 0 0 6px 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chq-demo__board-peek,
  .chq-board__job {
    transition: none;
  }
}
