/*
 * Claadss builder UI — dark workspace matching the Claadss brand.
 *
 * Two hard requirements shape this file:
 *
 * 1. FULL BLEED. These screens render inside page.php's .ch-shell container,
 *    which caps width for reading-length marketing copy. A builder needs the
 *    whole viewport, so .chb escapes its parent with the standard full-bleed
 *    technique rather than requiring a bespoke page template.
 *
 * 2. SELF-CONTAINED COLOUR. Every colour is declared explicitly on .chb and
 *    its children, never inherited, so the builder renders identically
 *    wherever it is embedded and can never end up dark-on-dark.
 *
 * Scoped to .chb so it cannot leak into the marketing site or a customer's
 * published website.
 */

.chb {
  /* Dark workspace */
  --chb-bg: #0d1f1d;
  --chb-surface: #131829;
  --chb-surface-2: #1a2036;
  --chb-line: rgba(148, 163, 205, 0.16);
  --chb-line-strong: rgba(148, 163, 205, 0.3);
  --chb-ink: #f4f7ff;
  --chb-ink-soft: #c2cbe0;
  --chb-muted: #8b96b3;

  /* Vibrant accents */
  --chb-teal: #2ee6b6;
  --chb-violet: #e60023;
  --chb-blue: #38bdf8;
  --chb-pink: #f472b6;
  --chb-amber: #fbbf24;
  --chb-radius: 16px;

  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  overflow-x: hidden;
  background: var(--chb-bg);
  color: var(--chb-ink);
  font-family: Inter, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  text-align: left;
}

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

.chb h1, .chb h2, .chb h3, .chb h4 {
  margin: 0;
  color: var(--chb-ink);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.chb h1 { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; }
.chb h2 { font-size: 19px; }
.chb h3 { font-size: 16px; }

.chb p { margin: 0; color: var(--chb-ink-soft); }
.chb a { color: inherit; text-decoration: none; }

/* ---------------- Buttons ---------------- */

.chb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--chb-line-strong);
  border-radius: 12px;
  background: var(--chb-surface-2);
  color: var(--chb-ink);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: transform 130ms ease, box-shadow 130ms ease, border-color 130ms ease;
}

.chb-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: var(--chb-teal);
}

.chb-btn--primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--chb-teal), var(--chb-violet));
  color: var(--chb-on-accent, #06121f);
  box-shadow: 0 6px 20px rgba(46, 230, 182, 0.24);
}

.chb-btn--primary:hover:not(:disabled) {
  box-shadow: 0 10px 28px rgba(139, 92, 246, 0.38);
}

/*
 * A button that is a link needs its colour restated. `.chb a { color: inherit }`
 * above is one class plus one element, which outranks the single class on
 * .chb-btn--primary, so without these two rules an <a class="chb-btn--primary">
 * renders near-white text on the teal gradient — unreadable. Buttons built as
 * <button> or as a <span> inside a link are unaffected, which is why this only
 * shows up on links styled as buttons.
 */
.chb a.chb-btn { color: var(--chb-ink); }
.chb a.chb-btn--primary { color: var(--chb-on-accent, #06121f); }

.chb-btn--full { width: 100%; }
.chb-btn:disabled { opacity: 0.45; cursor: default; transform: none; }
.chb-btn svg { width: 16px; height: 16px; flex: 0 0 16px; }

/* ---------------- Top bar ---------------- */

.chb__bar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 3vw, 32px);
  border-bottom: 1px solid var(--chb-line);
  background: var(--bg-secondary, rgba(10, 14, 26, 0.92));
  backdrop-filter: blur(12px);
}

.chb__bar-title {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  font-weight: 700;
  color: var(--chb-ink);
}

.chb__bar-title span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--chb-teal), var(--chb-violet));
  color: var(--chb-on-accent, #06121f);
  font-size: 13px;
  font-weight: 800;
}

.chb__bar-actions { display: flex; align-items: center; gap: 8px; }

/* ---------------- Page shell ---------------- */

.chb__page {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 32px 32px 80px;
  box-sizing: border-box;
}

/* ---------------- Professional Explorer Header ---------------- */

.chb-explorer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
}

.chb-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: var(--brand-cyan-text, #38bdf8);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.chb-explorer-header h1 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  color: var(--text-primary, #ffffff);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.chb-explorer-header p {
  font-size: 15px;
  color: var(--text-secondary, #94a3b8);
  max-width: 65ch;
  line-height: 1.5;
}

.chb-explorer-header__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.chb-plan-active-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 8px 16px;
  border-radius: 12px;
  background: var(--surface-secondary, rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
}

.chb-pab-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary, #94a3b8);
  letter-spacing: 0.04em;
}

.chb-pab-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--brand-cyan-text, #38bdf8);
}

.chb-btn--change-plan {
  padding: 0 16px;
  min-height: 42px;
  font-size: 13.5px;
  border-color: var(--border-primary, rgba(255, 255, 255, 0.15));
  background: var(--surface-secondary, rgba(255, 255, 255, 0.05));
}

.chb-btn--change-plan:hover {
  background: var(--surface-secondary, rgba(255, 255, 255, 0.1));
  border-color: #38bdf8;
}

/* ---------------- 2-Column Explorer Layout (Sidebar Left) ---------------- */

.chb-explorer-container {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 36px;
  align-items: start;
}

/* --- Left Sidebar --- */

.chb-sidebar {
  position: sticky;
  top: 86px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  border-radius: 18px;
  background: var(--surface-primary, rgba(15, 23, 42, 0.75));
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg, 0 16px 36px -10px rgba(0, 0, 0, 0.5));
}

/* Search input */
.chb-search-wrap {
  position: relative;
}

.chb-search-input-box {
  position: relative;
  display: flex;
  align-items: center;
}

.chb-search-input-box svg {
  position: absolute;
  left: 12px;
  color: var(--text-muted, #64748b);
  pointer-events: none;
}

.chb-search-field {
  width: 100%;
  padding: 10px 32px 10px 36px;
  border-radius: 10px;
  background: var(--surface-secondary, rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
  color: var(--text-primary, #ffffff);
  font-size: 13.5px;
  transition: all 0.2s ease;
}

.chb-search-field:focus {
  outline: none;
  border-color: #38bdf8;
  background: var(--surface-secondary, rgba(255, 255, 255, 0.07));
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

.chb-search-field::placeholder {
  color: var(--text-muted, #64748b);
}

.chb-search-clear {
  position: absolute;
  right: 10px;
  border: none;
  background: transparent;
  color: var(--text-secondary, #94a3b8);
  font-size: 13px;
  cursor: pointer;
  padding: 4px;
}

.chb-search-clear:hover {
  color: var(--text-primary, #ffffff);
}

/* Categories List */
.chb-sidebar-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted, #64748b);
  margin-bottom: 10px;
  padding: 0 4px;
}

.chb-sidebar-total-badge {
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--surface-secondary, rgba(255, 255, 255, 0.08));
  color: var(--text-secondary, #94a3b8);
  font-size: 10.5px;
}

.chb-cat-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: calc(100vh - 360px);
  overflow-y: auto;
  padding-right: 2px;
}

.chb-cat-list::-webkit-scrollbar {
  width: 4px;
}
.chb-cat-list::-webkit-scrollbar-thumb {
  background: var(--surface-hover, rgba(255, 255, 255, 0.15));
  border-radius: 4px;
}

.chb-cat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--text-secondary, #94a3b8);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.15s ease;
  border-left: 3px solid transparent;
}

.chb-cat-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.chb-cat-name {
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chb-cat-count {
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--surface-secondary, rgba(255, 255, 255, 0.06));
  color: var(--text-secondary, #94a3b8);
  transition: all 0.15s ease;
}

.chb-cat-item:hover {
  background: var(--surface-secondary, rgba(255, 255, 255, 0.05));
  color: var(--text-primary, #ffffff);
}

.chb-cat-item.is-active {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.15) 0%, rgba(139, 92, 246, 0.08) 100%);
  border-left-color: #38bdf8;
  color: var(--text-primary, #ffffff);
  font-weight: 700;
}

.chb-cat-item.is-active .chb-cat-count {
  background: #38bdf8;
  color: #06121f;
  font-weight: 800;
}

/* Sidebar Inclusions Box */
.chb-sidebar-trust-box {
  padding: 14px;
  border-radius: 12px;
  background: var(--surface-secondary, rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.06));
}

.chb-stb-title {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-cyan-text, #38bdf8);
  margin-bottom: 8px;
}

.chb-stb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.chb-stb-list li {
  font-size: 11.5px;
  color: var(--text-secondary, #94a3b8);
  line-height: 1.35;
}

/* --- Right Main Content Area --- */

.chb-main-content {
  min-width: 0;
}

/* Toolbar */
.chb-gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--surface-glass, rgba(15, 23, 42, 0.5));
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.06));
}

.chb-gt-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chb-gt-category-name {
  font-size: 15px;
  font-weight: 750;
  color: var(--text-primary, #ffffff);
}

.chb-gt-count-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary, #94a3b8);
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--surface-secondary, rgba(255, 255, 255, 0.06));
}

.chb-gt-quick-filters {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chb-qf-btn {
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
  background: var(--surface-secondary, rgba(255, 255, 255, 0.04));
  color: var(--text-secondary, #94a3b8);
  font-size: 12.5px;
  font-weight: 650;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.chb-qf-btn:hover {
  background: var(--surface-secondary, rgba(255, 255, 255, 0.08));
  color: var(--text-primary, #ffffff);
}

.chb-qf-btn.is-active {
  background: #38bdf8;
  border-color: #38bdf8;
  color: #06121f;
  font-weight: 800;
}

/* No Results State */
.chb-no-results {
  text-align: center;
  padding: 60px 20px;
  border-radius: 18px;
  background: var(--surface-glass, rgba(15, 23, 42, 0.4));
  border: 1px dashed var(--border-subtle, rgba(255, 255, 255, 0.12));
}

.chb-nr-icon {
  font-size: 38px;
  margin-bottom: 12px;
}

.chb-no-results h3 {
  font-size: 18px;
  font-weight: 750;
  color: var(--text-primary, #ffffff);
  margin-bottom: 8px;
}

.chb-no-results p {
  font-size: 14px;
  color: var(--text-secondary, #94a3b8);
  margin-bottom: 18px;
}

/* ---------------- Template grid ---------------- */

.chb__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 24px;
}

/* Responsive Breakpoints */
@media (max-width: 1080px) {
  .chb-explorer-container {
    grid-template-columns: 250px 1fr;
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .chb-explorer-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 14px;
  }

  .chb-explorer-header h1 {
    font-size: 22px;
  }

  .chb-explorer-header p {
    font-size: 13px;
  }

  .chb-explorer-header__right {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .chb-plan-active-badge {
    padding: 6px 10px;
    font-size: 12px;
  }

  .chb-btn--change-plan {
    padding: 6px 10px;
    font-size: 11.5px;
  }

  .chb-explorer-container {
    grid-template-columns: 1fr;
    
  }

.chb-sidebar-title {
    display: none;
  }

  .chb-sidebar-trust-box {
    display: none;
  }

  .chb-cat-list {

max-height: none;

}

.chb__grid {
    grid-template-columns: 1fr;
    
  }

.chb-btn--preview,
  .chb-btn--primary {
    min-height: 42px !important;
    height: 42px !important;
    padding: 0 10px !important;
    justify-content: center !important;
    font-size: 12.5px !important;
  }
}

.chb__card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--chb-line);
  border-radius: var(--chb-radius);
  background-color: var(--chb-surface);
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--chb-card-accent, var(--chb-teal)) 13%, transparent), transparent 44%),
    var(--chb-surface);
  isolation: isolate;
  transition: transform 260ms cubic-bezier(.2,.8,.2,1), box-shadow 260ms ease, border-color 260ms ease;
}

.chb__card:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--chb-card-accent, var(--chb-violet)) 72%, white);
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.52), 0 0 0 1px color-mix(in srgb, var(--chb-card-accent, var(--chb-violet)) 35%, transparent);
}

.chb__card figure {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-secondary, #0f1424);
}

.chb__card figure::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.08) 18%, rgba(2, 6, 23, 0.1) 42%, rgba(2, 6, 23, 0.92) 100%),
    linear-gradient(110deg, color-mix(in srgb, var(--chb-card-accent, #2ee6b6) 28%, transparent), transparent 52%);
  pointer-events: none;
}

.chb__card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--chb-focus, 50%) center;
  filter: saturate(1.08) contrast(1.04);
  transition: transform 760ms cubic-bezier(.16,1,.3,1), filter 420ms ease;
}

.chb__card:hover img { transform: scale(1.09); filter: saturate(1.18) contrast(1.06); }

.chb__preview-copy {
  position: absolute;
  z-index: 2;
  inset: auto 22px 20px;
  display: grid;
  gap: 6px;
  color: var(--text-primary, #fff);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.chb__preview-copy small {
  max-width: 82%;
  overflow: hidden;
  color: color-mix(in srgb, var(--chb-card-accent, #2ee6b6) 55%, white);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .13em;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.chb__preview-copy strong {
  display: block;
  max-width: 92%;
  font-size: clamp(21px, 2.25vw, 34px);
  font-weight: 850;
  letter-spacing: -.045em;
  line-height: .96;
}

.chb__preview-copy > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  margin-top: 2px;
  padding: 7px 10px;
  border: 1px solid var(--border-primary, rgba(255,255,255,.36));
  border-radius: 999px;
  background: var(--surface-glass, rgba(2, 6, 23, .38));
  backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.chb__preview-copy b { color: var(--chb-card-accent, var(--chb-teal)); }

.chb__card[data-preview-art="luxe-editorial"] .chb__preview-copy strong,
.chb__card[data-preview-art="cinematic-escape"] .chb__preview-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -.035em;
}

.chb__card[data-preview-art="bold-grid"] .chb__preview-copy {
  inset: auto 0 0 0;
  padding: 20px 22px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--chb-card-accent, #2563eb) 88%, #080b14), rgba(8,11,20,.76));
}

.chb__card[data-preview-art="bold-grid"] .chb__preview-copy strong {
  max-width: 86%;
  text-transform: uppercase;
}

.chb__card[data-preview-art="clean-clinical"] figure::before {
  background: linear-gradient(180deg, transparent 26%, var(--surface-primary, rgba(2, 35, 31, .9)) 100%);
}

.chb__card[data-preview-art="playful-commerce"] figure::after,
.chb__card[data-preview-art="vivid-studio"] figure::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 120px;
  height: 120px;
  right: -36px;
  bottom: -44px;
  border: 22px solid color-mix(in srgb, var(--chb-card-accent, #f472b6) 70%, white);
  border-radius: 50%;
  opacity: .58;
  mix-blend-mode: screen;
}

.chb__index {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--chb-teal), var(--chb-violet));
  color: var(--chb-on-accent, #06121f);
  font-size: 13px;
  font-weight: 850;
}

.chb__tag {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  padding: 6px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--chb-pink), var(--chb-amber));
  color: var(--chb-on-warm, #2a0d18);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.chb__card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  flex: 1 1 auto;
}

.chb__card-body p { font-size: 13.5px; line-height: 1.55; color: var(--chb-muted); }

.chb__card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }

.chb__pill {
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--chb-blue);
  font-size: 11.5px;
  font-weight: 700;
}

.chb__pill:nth-child(3n+2) { background: rgba(46, 230, 182, 0.12); color: var(--chb-teal); }
.chb__pill:nth-child(3n+3) { background: rgba(244, 114, 182, 0.12); color: var(--chb-pink); }

.chb__card form { margin-top: auto; padding-top: 14px; }

@media (max-width: 420px) {
  .chb__grid { grid-template-columns: minmax(0, 1fr); }
  .chb__preview-copy { inset: auto 16px 15px; }
  .chb__preview-copy strong { font-size: 22px; }
}

/* ---------------- Notices ---------------- */

.chb__notice {
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid rgba(248, 113, 113, 0.5);
  border-radius: 12px;
  background: rgba(248, 113, 113, 0.1);
  color: var(--text-secondary, #fecaca);
  font-size: 14px;
}

.chb__empty { padding: 48px 0; color: var(--chb-muted); }

/* ---------------- Publish section ---------------- */

.chb__finish {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px) 72px;
}

.chb__finish-card {
  border: 1px solid var(--chb-line);
  border-radius: 20px;
  background: var(--chb-surface);
  overflow: hidden;
}

.chb__finish-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 24px clamp(18px, 3vw, 30px);
  background: linear-gradient(135deg, rgba(46, 230, 182, 0.14), rgba(139, 92, 246, 0.16));
  border-bottom: 1px solid var(--chb-line);
}

.chb__finish-head h2 { font-size: 22px; }
.chb__finish-head p { margin-top: 4px; font-size: 14px; }

.chb__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.5);
  color: var(--chb-amber);
  font-size: 12.5px;
  font-weight: 750;
}

.chb__plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  padding: clamp(18px, 3vw, 30px);
}

.chb__plan { position: relative; display: block; cursor: pointer; }

.chb__plan input { position: absolute; opacity: 0; pointer-events: none; }

.chb__plan-box {
  display: flex;
  flex-direction: column;
  gap: 7px;
  height: 100%;
  padding: 20px;
  border: 2px solid var(--chb-line);
  border-radius: 16px;
  background: var(--chb-surface-2);
  transition: border-color 130ms ease, box-shadow 130ms ease, transform 130ms ease;
}

.chb__plan:hover .chb__plan-box { transform: translateY(-2px); border-color: var(--chb-line-strong); }

.chb__plan input:checked + .chb__plan-box {
  border-color: var(--chb-teal);
  box-shadow: 0 0 0 4px rgba(46, 230, 182, 0.16);
}

.chb__plan input:focus-visible + .chb__plan-box { outline: 2px solid var(--chb-blue); outline-offset: 2px; }

.chb__plan-name { font-size: 16px; font-weight: 750; color: var(--chb-ink); }

.chb__plan-price {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--chb-teal), var(--chb-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.chb__plan-price small {
  color: var(--chb-muted);
  font-size: 13px;
  font-weight: 650;
  -webkit-text-fill-color: var(--chb-muted);
}

.chb__plan-note { color: var(--chb-muted); font-size: 13px; }

.chb__finish-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px clamp(18px, 3vw, 30px) 26px;
  border-top: 1px solid var(--chb-line);
  background: var(--surface-secondary, rgba(0, 0, 0, 0.18));
}

.chb__finish-actions p { font-size: 13.5px; max-width: 54ch; color: var(--chb-muted); }
.chb__finish-buttons { display: flex; flex-wrap: wrap; gap: 10px; }

.chb-select {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--chb-line-strong);
  border-radius: 12px;
  background: var(--chb-surface-2);
  color: var(--chb-ink);
  font-size: 14px;
}

@media (max-width: 640px) {
  .chb__finish-actions,
  .chb__finish-head { flex-direction: column; align-items: flex-start; }
  .chb__finish-buttons { width: 100%; }
  .chb__finish-buttons .chb-btn { flex: 1 1 auto; }
}

/* ---------------------------------------------------------------
   Merged editor page: the brand/contact form now sits directly under
   the section editor, so it must read as one continuous dark screen
   rather than a second, differently-styled page.
   --------------------------------------------------------------- */

.ch-site-editor--merged {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px) 40px;
}

.ch-page-heading--compact {
  margin: 34px 0 18px;
  padding-top: 26px;
  border-top: 1px solid rgba(148, 163, 205, 0.16);
}

.ch-page-heading--compact .ch-page-kicker {
  margin: 0 0 6px;
  background: linear-gradient(135deg, #2ee6b6, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.ch-page-heading--compact p:last-child {
  margin: 0;
  color: var(--text-muted, #8b96b3);
  font-size: 14px;
}

/* Brighter, colour-coded labels and fields in the merged form. */
.ch-site-editor--merged label > span,
.ch-site-editor--merged .ch-field-label {
  color: var(--text-secondary, #c2cbe0) !important;
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.ch-site-editor--merged input[type="text"],
.ch-site-editor--merged input[type="email"],
.ch-site-editor--merged input[type="tel"],
.ch-site-editor--merged input[type="url"],
.ch-site-editor--merged textarea,
.ch-site-editor--merged select {
  border-color: rgba(148, 163, 205, 0.24) !important;
  background: var(--surface-primary, #1a2036) !important;
  color: var(--text-primary, #f4f7ff) !important;
}

.ch-site-editor--merged input:focus,
.ch-site-editor--merged textarea:focus,
.ch-site-editor--merged select:focus {
  border-color: #2ee6b6 !important;
  box-shadow: 0 0 0 3px rgba(46, 230, 182, 0.16) !important;
}

.ch-site-editor--merged button[type="submit"] {
  background: linear-gradient(135deg, #2ee6b6, #e60023) !important;
  border-color: transparent !important;
  color: #06121f !important;
  font-weight: 800 !important;
  box-shadow: 0 6px 20px rgba(46, 230, 182, 0.24);
}

/* ---------------------------------------------------------------
   Step 1 of onboarding: choose one-page or multi-page.
   The price sits in the top-right corner of each card so the cost
   of the choice is visible at the moment it is made, not later.
   --------------------------------------------------------------- */

.chb__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 9px 15px;
  border: 1px solid var(--chb-line-strong);
  border-radius: 999px;
  background: var(--chb-surface-2);
  color: var(--chb-ink-soft);
  font-size: 13.5px;
  font-weight: 650;
}

.chb__back:hover { border-color: var(--chb-teal); color: var(--chb-ink); }
.chb__back svg { width: 15px; height: 15px; }

.chb__choose {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
  max-width: 1000px;
}

.chb__choice {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--chb-line);
  border-radius: 20px;
  background: var(--chb-surface);
  text-decoration: none !important;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.chb__choice:hover {
  transform: translateY(-4px);
  border-color: var(--chb-teal);
  box-shadow: var(--shadow-lg, 0 18px 44px rgba(0, 0, 0, 0.45));
}

.chb__choice--featured { border-color: rgba(139, 92, 246, 0.55); }
.chb__choice--featured:hover { border-color: var(--chb-violet); }

/* Price badge, top-right corner. */
.chb__choice-price {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  padding: 9px 15px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--chb-teal), var(--chb-violet));
  color: var(--chb-on-accent, #06121f);
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.02em;
  box-shadow: 0 6px 18px rgba(46, 230, 182, 0.26);
}

.chb__choice-price small { font-size: 11.5px; font-weight: 750; }

.chb__choice-flag {
  position: absolute;
  top: -11px;
  left: 26px;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--chb-pink), var(--chb-amber));
  color: var(--chb-on-warm, #2a0d18);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Little wireframe illustration of each layout. */
.chb__choice-art {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 96px;
  margin: 14px 0 20px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(148, 163, 205, 0.08);
}

.chb__choice-art i {
  display: block;
  height: 8px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--chb-teal), var(--chb-violet));
  opacity: 0.85;
}

.chb__choice-art--single i:first-child { height: 22px; }
.chb__choice-art--single i:last-child { width: 60%; }

.chb__choice-art--multi {
  flex-direction: row;
  flex-wrap: wrap;
  width: 110px;
}

.chb__choice-art--multi i {
  width: calc(50% - 3px);
  height: 20px;
}

.chb__choice-body { display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }

.chb__choice-body strong { color: var(--chb-ink); font-size: 22px; font-weight: 750; }

.chb__choice-lead { color: var(--chb-ink-soft); font-size: 14.5px; line-height: 1.55; }

.chb__choice-list em {
  display: block;
  padding: 10px 13px;
  border-left: 3px solid var(--chb-teal);
  border-radius: 0 8px 8px 0;
  background: rgba(46, 230, 182, 0.07);
  color: var(--chb-muted);
  font-size: 13px;
  font-style: normal;
}

.chb__choice-meta { display: flex; flex-wrap: wrap; gap: 6px; }

.chb__choice .chb-btn { margin-top: auto; pointer-events: none; }

.chb__choose-note {
  margin-top: 24px;
  color: var(--chb-muted);
  font-size: 14px;
}

@media (max-width: 560px) {
  .chb__choice { padding: 22px; }
  .chb__choice-price { position: static; align-self: flex-start; margin-bottom: 6px; }
}

/* ---------------- Plan comparison (.chpm) ----------------
 *
 * Four plan columns plus a full comparison table.
 * Everything is scoped to .chb so it can never leak into the marketing
 * site or a published customer website.
 *
 * The "Only show differences" control is a real checkbox styled as a
 * switch, hiding rows marked data-same="1" — no JavaScript involved, so
 * it keeps working even if scripts fail to load.
 */

.chb .chb-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.chb .chpm {
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid var(--chb-line);
}

.chb .chpm__intro { margin-bottom: 28px; }

.chb .chpm__intro :is(h1, h2) {
  margin-bottom: 10px;
  font-size: clamp(24px, 3vw, 34px);
}

.chb .chpm__intro p {
  max-width: 70ch;
  color: var(--chb-ink-soft);
  font-size: 16px;
}

/* ---- Plan cards ---- */

.chb .chpm__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.chb .chpm__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 22px 24px;
  border: 1px solid var(--chb-line);
  border-radius: var(--chb-radius);
  background: linear-gradient(180deg, var(--chb-surface) 0%, var(--chb-bg) 100%);
  overflow: hidden;
}

.chb .chpm__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--chb-teal), var(--chb-violet));
  opacity: 0.55;
}

.chb .chpm__card--business::before { background: linear-gradient(90deg, var(--chb-blue), var(--chb-teal)); }
.chb .chpm__card--professional::before { background: linear-gradient(90deg, var(--chb-violet), var(--chb-pink)); }
.chb .chpm__card--custom::before { background: linear-gradient(90deg, var(--chb-amber), var(--chb-pink)); }

.chb .chpm__card--featured {
  border-color: rgba(46, 230, 182, 0.5);
  box-shadow: 0 18px 44px rgba(46, 230, 182, 0.14);
}

.chb .chpm__flag {
  position: absolute;
  top: 16px;
  left: 22px;
  padding: 4px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--chb-pink), var(--chb-amber));
  color: var(--chb-on-warm, #2a0d18);
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Price badge, pinned to the top-right corner of every card. */
.chb .chpm__price {
  position: absolute;
  top: 16px;
  right: 18px;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--chb-teal), var(--chb-violet));
  color: var(--chb-on-accent, #06121f);
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -0.02em;
  box-shadow: 0 6px 18px rgba(46, 230, 182, 0.26);
  white-space: nowrap;
}

.chb .chpm__price small { font-size: 11px; font-weight: 750; }

/* The usual price and the saving, on their own line under the price badge so
   the badge stays the same width beside the "Most popular" flag. */
.chb .chpm__offer {
  position: absolute;
  top: 62px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--chb-muted);
  font-size: 13px;
}

.chb .chpm__col-was {
  display: block;
  margin-top: 2px;
  color: var(--chb-muted);
  font-size: 12px;
}

/* Four cards in a row between 1181 and 1320 are 246-282px wide. The "Most
   popular" flag (114px) and the price badge (112px) did not both fit, and on
   the Business card the flag sat on top of the price at 1201. Measured after:
   no overlap from 1180 to 1321. */
@media (min-width: 1181px) and (max-width: 1320px) {
  .chb .chpm__flag { left: 16px; padding: 3px 8px; font-size: 9.5px; }
  .chb .chpm__price { right: 14px; padding: 6px 11px; font-size: 16px; }
  .chb .chpm__offer { right: 16px; font-size: 12px; }
}

.chb .chpm__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-top: 34px;
  border-radius: 10px;
  background: var(--chb-surface-2);
  border: 1px solid var(--chb-line-strong);
  color: var(--chb-teal);
  font-size: 14px;
  font-weight: 800;
}

.chb .chpm__name {
  margin: 0;
  font-size: 20px;
}

.chb .chpm__for {
  margin: 0;
  color: var(--chb-muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.chb .chpm__from {
  margin: 6px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--chb-line);
  color: var(--chb-teal);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.chb .chpm__points {
  flex: 1 1 auto;
  margin: 4px 0 8px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.chb .chpm__points li {
  position: relative;
  padding-left: 24px;
  color: var(--chb-ink-soft);
  font-size: 13.5px;
  line-height: 1.45;
}

.chb .chpm__points li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--chb-teal);
  border-bottom: 2px solid var(--chb-teal);
  transform: rotate(-45deg);
}

.chb .chpm__cta { margin-top: auto; }

.chb .chpm__note {
  color: var(--chb-muted);
  font-size: 12px;
  text-align: center;
}

/* ---- Comparison table ---- */

.chb .chpm__compare { margin-top: 52px; }

.chb .chpm__diff-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.chb .chpm__compare-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.chb .chpm__compare-head h2 { font-size: clamp(21px, 2.4vw, 27px); }

.chb .chpm__diff {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--chb-line-strong);
  border-radius: 999px;
  color: var(--chb-ink-soft);
  font-size: 13.5px;
  font-weight: 650;
  cursor: pointer;
  user-select: none;
}

.chb .chpm__diff:hover { border-color: var(--chb-teal); color: var(--chb-ink); }

.chb .chpm__diff-switch {
  position: relative;
  width: 34px;
  height: 19px;
  border-radius: 999px;
  background: var(--chb-surface-2);
  border: 1px solid var(--chb-line-strong);
  transition: background 0.15s ease;
}

.chb .chpm__diff-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--chb-muted);
  transition: transform 0.15s ease, background 0.15s ease;
}

.chb .chpm__diff-input:checked ~ .chpm__compare-head .chpm__diff-switch {
  background: linear-gradient(135deg, var(--chb-teal), var(--chb-violet));
  border-color: transparent;
}

.chb .chpm__diff-input:checked ~ .chpm__compare-head .chpm__diff-switch::after {
  transform: translateX(15px);
  background: var(--bg-secondary, #06121f);
}

.chb .chpm__diff-input:focus-visible ~ .chpm__compare-head .chpm__diff {
  outline: 2px solid var(--chb-teal);
  outline-offset: 2px;
}

.chb .chpm__diff-input:checked ~ .chpm__scroll tr[data-same="1"] { display: none; }

.chb .chpm__scroll {
  overflow-x: auto;
  border: 1px solid var(--chb-line);
  border-radius: var(--chb-radius);
  background: var(--chb-surface);
  -webkit-overflow-scrolling: touch;
}

.chb .chpm__table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 14px;
  /* Something outside this file gives the table overflow: auto, which makes the
     TABLE the nearest scrolling ancestor of its own cells. The feature column is
     position: sticky against that, and a table never scrolls inside itself, so
     the sticky did nothing: on a phone, scrolling the comparison sideways slid
     every feature name off the screen and left a grid of ticks with nothing
     saying what any row meant. Naming the scroll container explicitly puts the
     column back on .chpm__scroll, where it was always meant to stick. */
  overflow: visible;
}

.chb .chpm__table th,
.chb .chpm__table td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--chb-line);
}

.chb .chpm__table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 16px;
  background: var(--chb-surface-2);
  border-bottom: 1px solid var(--chb-line-strong);
  vertical-align: bottom;
}

/* The feature column pins to the left in every section of the table, so the
   plan headings stay lined up with their column while you scroll sideways. */
.chb .chpm__table thead th:first-child {
  left: 0;
  z-index: 4;
}

.chb .chpm__col-name {
  display: block;
  color: var(--chb-ink);
  font-size: 15px;
  font-weight: 750;
}

.chb .chpm__col-price {
  display: block;
  margin-top: 3px;
  color: var(--chb-teal);
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.chb .chpm__col-price small {
  margin-left: 3px;
  color: var(--chb-muted);
  font-size: 11px;
  font-weight: 650;
}

.chb .chpm__table thead th.chpm__col--featured,
.chb .chpm__table td.chpm__col--featured { background: rgba(46, 230, 182, 0.06); }

.chb .chpm__table tbody th[scope="row"] {
  position: sticky;
  left: 0;
  z-index: 2;
  width: 34%;
  min-width: 260px;
  background: var(--chb-surface);
  font-weight: 600;
}

.chb .chpm__label {
  display: block;
  color: var(--chb-ink-soft);
}

.chb .chpm__help {
  display: block;
  margin-top: 3px;
  color: var(--chb-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.chb .chpm__group-row th {
  position: sticky;
  left: 0;
  padding: 18px 16px 12px;
  background: var(--chb-surface-2);
  border-bottom: 1px solid var(--chb-line-strong);
}

.chb .chpm__group-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--chb-ink);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.chb .chpm__group-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(46, 230, 182, 0.12);
  color: var(--chb-teal);
}

.chb .chpm__group-icon svg { width: 15px; height: 15px; }

.chb .chpm__yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(46, 230, 182, 0.14);
  color: var(--chb-teal);
}

.chb .chpm__yes svg { width: 13px; height: 13px; }

.chb .chpm__no {
  color: var(--chb-muted);
  font-size: 17px;
}

.chb .chpm__val {
  color: var(--chb-ink);
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* A second, quieter line under a value: the size of each mailbox, or which
   tools a count stands for. */
.chb .chpm__sub {
  display: block;
  margin-top: 3px;
  color: var(--chb-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.chb .chpm__table tfoot td {
  padding: 18px 16px;
  background: var(--chb-surface-2);
  border-bottom: 0;
}

.chb .chpm__table tfoot th[scope="row"] {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--chb-surface-2);
  border-bottom: 0;
}

.chb .chpm__fine {
  margin-top: 16px;
  color: var(--chb-muted);
  font-size: 12.5px;
  line-height: 1.6;
}

@media (max-width: 1180px) {
  .chb .chpm__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  /* The price badge stays pinned to the top-right corner at every width —
     a full-width card has room for the "Most popular" flag on the left and
     the price on the right without the two ever meeting. */
  .chb .chpm__grid { grid-template-columns: minmax(0, 1fr); }
  .chb .chpm__price { font-size: 17px; padding: 7px 12px; }
  .chb .chpm__table { min-width: 720px; }
  
  .chb .chpm__table th,
  .chb .chpm__table td { padding: 11px 12px; }
  .chb .chpm__sub { font-size: 11.5px; }
}

/* The narrowest phones: the pinned feature column gives up some width so at
   least one plan column is readable beside it without scrolling. */
@media (max-width: 400px) {
  .chb .chpm__table { min-width: 640px; font-size: 13px; }
  
  .chb .chpm__help { font-size: 11.5px; }
}

/* ---- 1.4.123: give phones and tablets their width back -------------------
 *
 * Three wrappers each added their own side padding: the full-width shell
 * (32px), .chb (12px below 900) and .chb__page (32px). On a 375px phone that
 * was 76px of empty space either side, which left the plan cards and the
 * comparison 221px wide -- and the pinned feature column alone is 190px, so
 * the plan columns beside it had about 30px to show in. Measured on
 * /website-builder/, the comparison box is now 341px at 375, 286px at 320 and
 * 703px at 768, with nothing on the page scrolling sideways.
 *
 * Scoped to a shell that holds the builder, so no other full-width page moves.
 */
@media (max-width: 900px) {
  .ch-shell--fullwidth:has(.chb) {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .ch-shell--fullwidth .chb {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .ch-shell--fullwidth .chb .chb__page {
    padding-left: 0;
    padding-right: 0;
    padding-top: 24px;
  }

  .chb .chpm__table tbody th[scope="row"] {
    min-width: 200px;
    width: 30%;
  }

  .chb .chpm__intro :is(h1, h2) { overflow-wrap: anywhere; }
}

@media (max-width: 620px) {
  .ch-shell--fullwidth:has(.chb) {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .ch-shell--fullwidth .chb .chb__page { padding-top: 20px; }

  .chb .chpm__table tbody th[scope="row"] { min-width: 170px; width: 30%; }
}

@media (max-width: 400px) {
  .chb .chpm__table tbody th[scope="row"] { min-width: 150px; }
}

/* The industry a design is for, and the layout it uses, on the picker card.
   A shop owner picks by trade first, so it sits above the description. */
.chb__industry {
  margin: 0 0 4px;
  color: var(--cpb-primary, #0f766e);
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chb__layout {
  margin: 0 0 10px;
  font-size: 13px;
  font-style: italic;
  opacity: 0.72;
}

/* Shown when the chosen package cannot run the designs in a category —
   most often Ecommerce Store on a package that cannot sell. */
.chb__locked {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 26px;
  padding: 18px 22px;
  border: 1px solid var(--border-primary, rgba(255, 255, 255, 0.14));
  border-radius: 14px;
  background: var(--surface-secondary, rgba(255, 255, 255, 0.05));
}

.chb__locked p {
  margin: 0;
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.55;
}

.chb__locked .chb-btn {
  flex: 0 0 auto;
  min-height: 44px;
}

@media (max-width: 640px) {
  .chb__locked { flex-direction: column; align-items: stretch; }
  .chb__locked .chb-btn { width: 100%; }
}

/* Shown only when the editor did not mount. Better a sentence and two buttons
   than an empty dark screen with nothing to read. */
.ch-site-editor-failed {
  max-width: 46ch;
  margin: 12vh auto;
  padding: 26px;
  border: 1px solid var(--border-primary, rgba(255, 255, 255, 0.16));
  border-radius: 16px;
  background: var(--surface-secondary, rgba(255, 255, 255, 0.05));
  text-align: center;
}

.ch-site-editor-failed p { margin: 0 0 14px; line-height: 1.6; }
.ch-site-editor-failed p:last-child { margin-bottom: 0; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.ch-site-editor-failed .chb-btn { min-height: 44px; }

/* =========================================================================
 * Template Card Actions & Live Interactive Preview Modal
 * ========================================================================= */

/* Multi-page card enhancements */
.chb__card--multipage {
  border-color: rgba(139, 92, 246, 0.28);
  background:
    radial-gradient(circle at 100% 0, rgba(139, 92, 246, 0.18), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(56, 189, 248, 0.12), transparent 45%),
    var(--chb-surface);
}

.chb__card--multipage:hover {
  border-color: #a855f7;
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.65), 0 0 25px rgba(168, 85, 247, 0.25);
}

.chb__tag--multipage {
  background: linear-gradient(135deg, #6d28d9 0%, #0369a1 100%) !important;
  color: #ffffff !important;
  font-weight: 850 !important;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.5) !important;
}

.chb__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.chb__badge-pro {
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(168, 85, 247, 0.16);
  color: var(--brand-purple-text, #c084fc);
  border: 1px solid rgba(168, 85, 247, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.chb__pages-breakdown {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface-glass, rgba(0, 0, 0, 0.35));
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.07));
  margin-top: 4px;
}

.chb__pages-breakdown small {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-secondary, #94a3b8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.chb__pages-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.chb__pages-pills span {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--surface-secondary, rgba(255, 255, 255, 0.06));
  color: var(--text-secondary, #cbd5e1);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
}

.chb__pill--multi {
  background: rgba(168, 85, 247, 0.18) !important;
  color: var(--text-secondary, #d8b4fe) !important;
  font-weight: 850 !important;
}

.chb__pill--feature {
  background: rgba(16, 185, 129, 0.14) !important;
  color: var(--brand-green-text, #34d399) !important;
  font-weight: 750 !important;
}

.chb__card-actions {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
}

@media (max-width: 480px) {
  .chb__card-actions {
    grid-template-columns: 1fr;
  }
}

.chb__card-form {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
}

.chb-btn--use-design {
  width: 100%;
}

.chb-btn--preview {
  background: var(--surface-secondary, rgba(255, 255, 255, 0.07));
  border: 1px solid var(--border-primary, rgba(255, 255, 255, 0.2));
  color: var(--text-primary, #f1f5f9);
  font-weight: 750;
  padding: 0 12px;
  gap: 6px;
  transition: all 180ms ease;
  white-space: nowrap;
}

.chb-btn--preview:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: #38bdf8;
  color: var(--brand-cyan-text, #38bdf8);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
  transform: translateY(-2px);
}

/* Modal Overlay */
.chb-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  background: var(--bg-secondary, rgba(3, 6, 15, 0.9));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.chb-modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.chb-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  background: var(--bg-secondary, #080c1b);
  border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
  box-shadow: var(--shadow-lg, 0 4px 30px rgba(0, 0, 0, 0.5));
  flex: 0 0 auto;
  flex-wrap: wrap;
}

.chb-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.chb-modal-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--text-primary, #ffffff);
  margin: 0;
}

.chb-modal-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.chb-modal-badge--cat {
  background: rgba(168, 85, 247, 0.15);
  color: var(--brand-purple-text, #c084fc);
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.chb-modal-badge--plan {
  background: rgba(56, 189, 248, 0.15);
  color: var(--brand-cyan-text, #38bdf8);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.chb-device-switcher {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: 12px;
  background: var(--surface-secondary, rgba(255, 255, 255, 0.06));
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
  gap: 4px;
}

.chb-device-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: var(--text-secondary, #94a3b8);
  font-size: 12.5px;
  font-weight: 750;
  cursor: pointer;
  transition: all 160ms ease;
}

.chb-device-btn.is-active,
.chb-device-btn:hover {
  background: var(--surface-hover, rgba(255, 255, 255, 0.15));
  color: var(--text-primary, #ffffff);
}

.chb-modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chb-modal-cta-btn {
  padding: 0 20px;
  min-height: 40px;
  font-size: 13.5px;
  border-radius: 10px;
}

.chb-modal-close-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface-secondary, rgba(255, 255, 255, 0.08));
  border: 1px solid var(--border-primary, rgba(255, 255, 255, 0.15));
  color: var(--text-secondary, #cbd5e1);
  font-size: 16px;
  cursor: pointer;
  transition: all 160ms ease;
}

.chb-modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: var(--danger, #fca5a5);
  transform: rotate(90deg);
}

/* Modal Body & Frame */
.chb-modal-body {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 30px 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: radial-gradient(circle at 50% 10%, rgba(56, 189, 248, 0.08), transparent 50%);
}

.chb-preview-frame {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  border-radius: 20px;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.15);
  overflow: hidden;
  transition: max-width 300ms cubic-bezier(0.16, 1, 0.3, 1), border-radius 300ms ease;
}

.chb-preview-frame.is-tablet {
  max-width: 768px;
}

.chb-preview-frame.is-mobile {
  max-width: 385px;
  border-radius: 38px;
  border: 8px solid var(--border-primary, #1e293b);
  box-shadow: var(--shadow-lg, 0 30px 90px rgba(0, 0, 0, 0.8));
}

/* Frame Browser Bar */
.chb-frame-browser-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  background: var(--surface-primary, #1e293b);
  border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
}

.chb-frame-dots {
  display: flex;
  gap: 6px;
}

.chb-frame-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #475569;
}

.chb-frame-dots span:nth-child(1) { background: #ef4444; }
.chb-frame-dots span:nth-child(2) { background: #f59e0b; }
.chb-frame-dots span:nth-child(3) { background: #10b981; }

.chb-frame-url {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 8px;
  background: var(--surface-primary, #0f172a);
  color: var(--text-secondary, #94a3b8);
  font-size: 11.5px;
  font-family: monospace;
}

/* Live Website Mockup Styling */
.chb-live-site {
  background: var(--site-paper, #ffffff);
  color: var(--site-ink, #0f172a);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.6;
}

.chb-mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.95);
}

.chb-mock-brand {
  font-size: 20px;
  font-weight: 900;
  color: var(--site-ink, #0f172a);
  letter-spacing: -0.02em;
}

.chb-mock-nav {
  display: flex;
  gap: 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
}

.chb-mock-nav span.is-active,
.chb-mock-nav span:hover {
  color: var(--site-accent-text, var(--site-accent, #2ee6b6));
  font-weight: 750;
}

.chb-mock-header-btn {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--site-accent-fill, var(--site-accent, #2ee6b6));
  color: var(--site-accent-ink, #ffffff) !important;
  font-size: 12.5px;
  font-weight: 750;
  text-decoration: none;
}

/* Hero Section - Full-Sized Immersive Banner Layout with Industry Modes */
.chb-mock-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 32px 36px;
  overflow: hidden;
  background: #080c1b;
}

.chb-mock-hero-banner-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.chb-mock-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  filter: contrast(1.08) brightness(0.92);
}

/*
 * A scrim, not a lid. The photograph is the reason the banner is there, so it
 * is darkened only as far as the headline needs to stay readable over it, and
 * the right-hand side of the picture is left almost clear.
 */
.chb-mock-banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 10, 22, 0.88) 0%, rgba(6, 10, 22, 0.6) 46%, rgba(6, 10, 22, 0.14) 100%),
    linear-gradient(180deg, rgba(6, 10, 22, 0.2) 0%, rgba(6, 10, 22, 0.34) 55%, rgba(6, 10, 22, 0.78) 100%);
}

/* Top Industry Ribbon */
.chb-mock-hero-top-ribbon {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--site-accent-glow, var(--site-accent, #2ee6b6));
  width: fit-content;
}

.chb-mock-ribbon-highlight {
  color: #f8fafc !important;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
}

/* Hero Inner Layout */
.chb-mock-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  width: 100%;
}

.chb-preview-frame.is-mobile .chb-mock-hero-inner,
.chb-preview-frame.is-tablet .chb-mock-hero-inner {
  grid-template-columns: 1fr;
}

/*
 * The words sit on the photograph rather than in a box on top of it, which is
 * how a full-width banner is meant to read. The style modes below still mark
 * the copy in their own way.
 */
.chb-mock-hero-glass-card {
  padding: 0 4px;
  border-radius: 0;
  background: none;
  border: 0;
  box-shadow: none;
  max-width: 560px;
}

.chb-mock-eyebrow {
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  color: var(--site-accent-glow, var(--site-accent, #2ee6b6));
  margin-bottom: 8px;
  text-transform: uppercase;
}

.chb-mock-headline {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 900;
  line-height: 1.12;
  color: #ffffff;
  margin: 0 0 14px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.chb-mock-desc {
  font-size: 15px;
  color: #e2e8f0;
  margin: 0 0 22px;
  line-height: 1.55;
  max-width: 46ch;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.chb-mock-hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.chb-mock-primary-btn {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--site-accent-fill, var(--site-accent, #2ee6b6));
  color: var(--site-accent-ink, #ffffff) !important;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: transform 160ms ease;
}

.chb-mock-secondary-btn {
  display: inline-flex;
  align-items: center;
  padding: 11px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}

.chb-mock-trust-row {
  display: flex;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: #94a3b8;
  flex-wrap: wrap;
}

.chb-mock-trust-pages {
  color: #38bdf8 !important;
  font-weight: 800 !important;
}

/* Floating Live Industry Card */
.chb-mock-hero-floating-widget {
  padding: 22px 24px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chb-mock-widget-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: 0.1em;
  color: var(--site-accent-glow, var(--site-accent, #2ee6b6));
  text-transform: uppercase;
}

.chb-mock-widget-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--site-accent-glow, var(--site-accent, #2ee6b6));
  box-shadow: 0 0 10px var(--site-accent-glow, var(--site-accent, #2ee6b6));
  display: inline-block;
  animation: chbPulse 2s infinite;
}

@keyframes chbPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.chb-mock-widget-metric {
  font-size: 19px;
  font-weight: 900;
  color: #f8fafc;
}

.chb-mock-widget-sub {
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.4;
}

.chb-mock-widget-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  margin-top: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-size: 11.5px;
  font-weight: 750;
  width: fit-content;
}

/* ==========================================================================
   5 DISTINCT INDUSTRY STYLING PERSONALITIES
   ========================================================================== */

/* 1. Luxury Style Mode (Fine Dining, Resorts, Weddings, Jewellery, Architecture) */
.chb-mock-hero.is-style-luxury {
  border-bottom: 2px solid rgba(212, 175, 55, 0.35);
}
.chb-mock-hero.is-style-luxury .chb-mock-eyebrow {
  letter-spacing: 0.24em;
}
.chb-mock-hero.is-style-luxury .chb-mock-headline {
  font-family: Georgia, Cambria, serif;
  font-weight: 700;
  color: #fff8f0;
}

/* 2. Tech SaaS Style Mode (AI Cloud, Software, Freight Fleet, VFX Media) */
.chb-mock-hero.is-style-tech .chb-mock-headline {
  letter-spacing: -0.03em;
}
.chb-mock-hero.is-style-tech .chb-mock-eyebrow {
  font-family: monospace;
  letter-spacing: 0.18em;
}

/* 3. Clinical Medical Style Mode (Hospitals, Dental Implants, Dermatology) */
.chb-mock-hero.is-style-medical .chb-mock-hero-top-ribbon {
  border-color: rgba(6, 182, 212, 0.4);
  background: rgba(8, 28, 40, 0.9);
}
.chb-mock-hero.is-style-medical .chb-mock-headline {
  font-weight: 800;
  letter-spacing: -0.015em;
}

/* 4. Advisory Legal & Wealth Style Mode (Law Firm, CAs, Wealth PMS, Real Estate) */
.chb-mock-hero.is-style-advisory .chb-mock-hero-glass-card {
  border-left: 3px solid rgba(212, 175, 55, 0.65);
  padding-left: 22px;
}

/* 5. Bold Athletic & Energy Style Mode (CrossFit, Solar EPC, Water Plants) */
.chb-mock-hero.is-style-athletic .chb-mock-hero-glass-card {
  border-left: 5px solid var(--site-accent, #ef4444);
  padding-left: 22px;
}
.chb-mock-hero.is-style-athletic .chb-mock-headline {
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: -0.02em;
}

/* Services Section */
.chb-mock-section {
  padding: 40px 30px;
}

.chb-preview-frame.is-mobile .chb-mock-section {
  padding: 30px 18px;
}

.chb-mock-sec-head {
  text-align: center;
  margin-bottom: 30px;
}

.chb-mock-sec-head small {
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  color: var(--site-accent-text, var(--site-accent, #2ee6b6));
  text-transform: uppercase;
}

.chb-mock-sec-head h2 {
  font-size: 24px;
  font-weight: 900;
  color: var(--site-ink, #0f172a);
  margin: 4px 0 0;
}

.chb-mock-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.chb-preview-frame.is-mobile .chb-mock-services-grid {
  grid-template-columns: 1fr;
}

.chb-mock-service-card {
  padding: 24px 20px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 14px -3px rgba(0, 0, 0, 0.04);
}

.chb-mock-srv-icon {
  font-size: 26px;
  margin-bottom: 12px;
}

.chb-mock-service-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--site-ink, #0f172a);
  margin: 0 0 6px;
}

.chb-mock-service-card p {
  font-size: 13px;
  color: #475569;
  margin: 0;
}

/* About Section */
.chb-mock-about-card {
  padding: 30px;
  border-radius: 18px;
  background: var(--site-soft, #f8fafc);
  border-left: 4px solid var(--site-accent, #2ee6b6);
}

.chb-mock-about-card h3 {
  font-size: 20px;
  font-weight: 900;
  margin: 0 0 10px;
  color: var(--site-ink, #0f172a);
}

.chb-mock-about-card p {
  font-size: 14px;
  color: #475569;
  margin: 0;
}

/* Testimonial Section */
.chb-mock-review-sec {
  background: var(--site-soft, #f8fafc);
}

.chb-mock-review-card {
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
}

/* A darker amber, because the stars sit on the design's own pale paper. */
.chb-mock-stars {
  color: #92400e;
  font-size: 20px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.chb-mock-review-card blockquote {
  font-size: 17px;
  font-style: italic;
  font-weight: 600;
  color: var(--site-ink, #0f172a);
  margin: 0 0 10px;
  line-height: 1.5;
}

.chb-mock-review-card cite {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  font-style: normal;
}

/* Contact Banner */
.chb-mock-contact-banner {
  text-align: center;
  padding: 40px 24px;
  border-radius: 20px;
  background: var(--site-ink, #0f172a);
  color: #ffffff;
}

.chb-mock-contact-banner h3 {
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 8px;
}

.chb-mock-contact-banner p {
  font-size: 14px;
  color: #94a3b8;
  margin: 0 0 20px;
}

.chb-mock-contact-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.chb-mock-wa-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 999px;
  background: #0e7a40;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 800;
}

.chb-mock-call-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
}

/* Footer */
.chb-mock-footer {
  padding: 20px 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 12px;
  color: #94a3b8;
  background: #ffffff;
}

.chb-mock-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---- Mobile Responsive Template Preview Modal & Live Site Mockup ---- */
@media (max-width: 768px) {
  .chb-modal-header {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    padding: 10px 12px !important;
  }

  .chb-modal-title-wrap {
    justify-content: space-between !important;
    width: 100% !important;
  }

  .chb-modal-title {
    font-size: 15px !important;
  }

  .chb-device-switcher {
    display: none !important;
  }

  .chb-modal-actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 40px !important;
    gap: 8px !important;
  }

  .chb-modal-cta-btn {
    width: 100% !important;
    justify-content: center !important;
    height: 42px !important;
    min-height: 42px !important;
    font-size: 13px !important;
  }

  .chb-modal-close-btn {
    width: 40px !important;
    height: 42px !important;
  }

  .chb-modal-body {
    padding: 8px 4px !important;
  }

  .chb-preview-frame {
    max-width: 100% !important;
    border-radius: 12px !important;
    border: 1px solid var(--border-primary, #334155) !important;
  }

  .chb-mock-header {
    padding: 12px 14px !important;
  }

  .chb-mock-nav {
    display: none !important;
  }

  .chb-mock-header-btn {
    padding: 6px 12px !important;
    font-size: 11px !important;
  }

  .chb-mock-hero {
    min-height: 380px !important;
    padding: 16px 12px 24px !important;
  }

  .chb-mock-hero-inner {
    padding: 10px 4px !important;
  }

  .chb-mock-hero-glass-card {
    padding: 14px 12px !important;
    border-radius: 14px !important;
  }

  .chb-mock-eyebrow {
    font-size: 10px !important;
  }

  .chb-mock-headline {
    font-size: 19px !important;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
  }

  .chb-mock-desc {
    font-size: 12px !important;
    line-height: 1.45 !important;
    margin-bottom: 12px !important;
  }

  .chb-mock-hero-btns {
    flex-direction: column !important;
    width: 100% !important;
    gap: 6px !important;
  }

  .chb-mock-primary-btn,
  .chb-mock-secondary-btn {
    width: 100% !important;
    justify-content: center !important;
    height: 38px !important;
    min-height: 38px !important;
    font-size: 12px !important;
  }

  .chb-mock-hero-floating-widget {
    display: none !important;
  }

  .chb-mock-section {
    padding: 24px 12px !important;
  }

  .chb-mock-services-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .chb-mock-service-card {
    padding: 14px 12px !important;
  }

  .chb-mock-contact-btns {
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .chb-mock-wa-pill,
  .chb-mock-call-pill {
    width: 100% !important;
    justify-content: center !important;
    font-size: 12.5px !important;
    padding: 10px 14px !important;
  }
}

/* ==========================================================================
   Comprehensive Mobile Optimization for Start Building & Template Explorer
   ========================================================================== */
@media (max-width: 900px) {
  html, body {
    overflow-x: hidden !important;
  }

  .chb {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 12px 60px !important;
    overflow-x: hidden !important;
  }

  .chb-explorer-container {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 16px !important;
  }

  .chb-sidebar {
    width: 100% !important;
    padding: 12px !important;
    position: static !important;
    top: auto !important;
    border-radius: 14px !important;
    background: var(--surface-primary, rgba(15, 23, 42, 0.8)) !important;
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1)) !important;
    box-sizing: border-box !important;
  }

  .chb-sidebar-title,
  .chb-sidebar-trust-box {
    display: none !important;
  }

  .chb-cat-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 6px !important;
    padding: 4px 0 6px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .chb-cat-list::-webkit-scrollbar {
    display: none !important;
  }

  .chb-cat-item {
    flex-shrink: 0 !important;
    padding: 7px 12px !important;
    border-radius: 999px !important;
    background: var(--surface-secondary, rgba(255, 255, 255, 0.06)) !important;
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12)) !important;
    font-size: 12px !important;
    color: var(--text-secondary, #94a3b8) !important;
    border-left: none !important;
  }

  .chb-cat-item.is-active {
    background: linear-gradient(135deg, #00f2fe 0%, #38bdf8 100%) !important;
    border-color: #38bdf8 !important;
    color: #030712 !important;
    font-weight: 800 !important;
  }

  .chb-cat-item.is-active .chb-cat-count {
    background: var(--surface-glass, rgba(0, 0, 0, 0.25)) !important;
    color: #030712 !important;
  }

  .chb-gallery-wrap {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  /* Mobile Gallery Toolbar & Filter Tabs */
  .chb-gallery-toolbar {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
    background: var(--surface-primary, rgba(15, 23, 42, 0.65)) !important;
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08)) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 16px !important;
  }

  .chb-gt-info {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
  }

  .chb-gt-category-name {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: var(--text-primary, #ffffff) !important;
    white-space: nowrap !important;
  }

  .chb-gt-count-badge {
    font-size: 11px !important;
    padding: 3px 9px !important;
    white-space: nowrap !important;
    background: var(--surface-secondary, rgba(255, 255, 255, 0.08)) !important;
    color: var(--text-secondary, #94a3b8) !important;
  }

  .chb-gt-quick-filters {
    display: grid !important;
    grid-template-columns: 1fr 1.2fr 1fr !important;
    gap: 6px !important;
    width: 100% !important;
  }

  .chb-qf-btn {
    padding: 7px 6px !important;
    font-size: 11.5px !important;
    text-align: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    border-radius: 8px !important;
  }

  .chb__grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .chb__card {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: var(--surface-primary, #111728) !important;
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12)) !important;
    box-sizing: border-box !important;
    box-shadow: var(--shadow-lg, 0 10px 30px rgba(0, 0, 0, 0.4)) !important;
    transform: none !important;
  }

  .chb__card figure {
    width: 100% !important;
    max-width: 100% !important;
    height: 190px !important;
    max-height: 200px !important;
    aspect-ratio: 16 / 9 !important;
    position: relative !important;
    overflow: hidden !important;
    margin: 0 !important;
    background: var(--bg-secondary, #080c1b) !important;
  }

  .chb__card figure img {
    width: 100% !important;
    height: 100% !important;
    max-height: 200px !important;
    object-fit: cover !important;
    display: block !important;
    transform: none !important;
  }

  .chb__preview-copy {
    inset: auto 14px 12px !important;
    gap: 4px !important;
  }

  .chb__preview-copy strong {
    font-size: 14px !important;
  }

  .chb__index {
    top: 10px !important;
    left: 10px !important;
    width: 26px !important;
    height: 26px !important;
    font-size: 11px !important;
    border-radius: 8px !important;
  }

  .chb__tag {
    top: 10px !important;
    right: 10px !important;
    padding: 3px 8px !important;
    font-size: 10px !important;
  }

  .chb__card-body {
    padding: 14px 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .chb__card-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }

  .chb__card-head h2 {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: var(--text-primary, #ffffff) !important;
    margin: 0 !important;
  }

  .chb__card-body p {
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    color: var(--text-secondary, #94a3b8) !important;
    margin: 0 !important;
  }

  .chb__card-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin: 4px 0 !important;
  }

  .chb__pill {
    font-size: 11px !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
  }

  .chb__card-actions {
    display: grid !important;
    grid-template-columns: 1fr 1.5fr !important;
    gap: 8px !important;
    width: 100% !important;
    margin-top: 6px !important;
  }

  .chb-btn--preview,
  .chb-btn--use-design,
  .chb-btn--primary {
    min-height: 42px !important;
    height: 42px !important;
    padding: 0 10px !important;
    justify-content: center !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    border-radius: 10px !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }

  .chb__card-form {
    width: 100% !important;
    margin: 0 !important;
  }
}

/* ---------------------------------------------------------------
 * The publish panel's extras: the business tools, and the services.
 *
 * These sit between the package cards and the buttons, across the full width
 * of the panel. The first version of this was dropped into the button row,
 * which is a flex row with space-between, so it ended up in a narrow column
 * with half the panel empty beside it.
 *
 * Each tool card takes its own accent from the colour already stored on the
 * tool, so the grid is coloured by the data rather than by a palette written
 * out here. The accent is quiet until the card is chosen, then it carries the
 * border, the glow and the tick -- selection should be obvious at a glance,
 * because it changes what the customer pays.
 * --------------------------------------------------------------- */
.chb-extras {
  padding: clamp(18px, 3vw, 30px);
  border-top: 1px solid var(--chb-line);
}

.chb-extras__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.chb-extras__heading {
  min-width: 0;
}

.chb-extras__kicker {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 1.4px;
  color: var(--brand-cyan-text, #38bdf8);
}

.chb-extras__head h3 {
  margin: 0 0 5px;
  font-size: clamp(17px, 2.4vw, 21px);
  font-weight: 900;
  letter-spacing: -0.01em;
}

.chb-extras__note {
  margin: 0;
  max-width: 62ch;
  font-size: 13px;
  color: var(--chb-muted);
}

.chb-extras__count {
  display: grid;
  justify-items: center;
  gap: 1px;
  min-width: 78px;
  padding: 9px 14px;
  border: 1px solid var(--chb-line);
  border-radius: 12px;
  background: var(--surface-secondary, rgba(255, 255, 255, 0.03));
}

.chb-extras__count strong {
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.chb-extras__count span {
  font-size: 10.5px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--chb-muted);
}

/* ---- the tool cards ---- */
.chb-extras__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chb-tool {
  display: block;
  height: 100%;
  cursor: pointer;
}

.chb-tool input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chb-tool__box {
  display: grid;
  gap: 8px;
  height: 100%;
  padding: 15px 16px 17px;
  border: 1px solid var(--chb-line);
  border-radius: 15px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--tool-accent) 12%, transparent), transparent 62%),
    rgba(255, 255, 255, 0.02);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.chb-tool:hover .chb-tool__box {
  border-color: color-mix(in srgb, var(--tool-accent) 55%, transparent);
  transform: translateY(-2px);
}

.chb-tool input:focus-visible + .chb-tool__box {
  outline: 2px solid var(--tool-accent);
  outline-offset: 2px;
}

.chb-tool input:checked + .chb-tool__box {
  border-color: var(--tool-accent);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--tool-accent) 26%, transparent), transparent 70%),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 0 1px var(--tool-accent), 0 10px 26px color-mix(in srgb, var(--tool-accent) 26%, transparent);
}

.chb-tool__top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chb-tool__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: color-mix(in srgb, var(--tool-accent) 22%, transparent);
  font-size: 17px;
  line-height: 1;
}

.chb-tool__tag {
  min-width: 0;
  overflow: hidden;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: color-mix(in srgb, var(--tool-accent) 78%, white);
}

/* The tick is the confirmation that this one is being paid for. */
.chb-tool__tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-left: auto;
  flex: 0 0 auto;
  border: 1px solid var(--chb-line-strong);
  border-radius: 999px;
  color: transparent;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.chb-tool__tick svg {
  width: 12px;
  height: 12px;
}

.chb-tool input:checked + .chb-tool__box .chb-tool__tick {
  border-color: var(--tool-accent);
  background: var(--tool-accent);
  color: #06121f;
}

.chb-tool__name {
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.35;
}

.chb-tool__desc {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--chb-muted);
  overflow-wrap: anywhere;
}

/* ---- the running total ---- */
.chb-extras__total {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(139, 92, 246, 0.12));
}

.chb-extras__total-lines {
  display: grid;
  gap: 2px;
  min-width: 0;
  font-size: 12.5px;
  color: var(--chb-muted);
}

.chb-extras__total-sum {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-left: auto;
}

.chb-extras__total-sum span {
  font-size: 11px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--chb-muted);
}

.chb-extras__total-sum strong {
  font-size: clamp(21px, 3vw, 26px);
  font-weight: 900;
  line-height: 1;
}

.chb-extras__foot {
  margin: 12px 0 0;
  font-size: 11.5px;
  color: var(--chb-muted);
}

/* ---- the services ----
 *
 * Cards, not flat pills. Each one takes the colour and icon its own service
 * page uses, from the shared palette, so a service looks like itself wherever
 * a customer meets it. No price: a five figure service beside a five hundred
 * rupee website is not a comparison anybody asked for at the moment of paying.
 */
.chb-extras--services {
  background:
    radial-gradient(1200px 200px at 15% 0%, rgba(244, 114, 182, 0.10), transparent 70%),
    var(--surface-secondary, rgba(0, 0, 0, 0.16));
}

.chb-extras--services .chb-extras__kicker {
  color: var(--brand-pink-text, #f472b6);
}

.chb-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: 10px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.chb-service {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 100%;
  padding: 12px 14px;
  border: 1px solid var(--chb-line);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--service-accent) 14%, transparent), transparent 60%),
    rgba(255, 255, 255, 0.02);
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.chb-service:hover,
.chb-service:focus-visible {
  border-color: var(--service-accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--service-accent) 22%, transparent);
}

.chb-service__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: color-mix(in srgb, var(--service-accent) 22%, transparent);
  font-size: 16px;
  line-height: 1;
}

.chb-service__body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.chb-service__name {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.chb-service__tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: color-mix(in srgb, var(--service-accent) 75%, white);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chb-service__go {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 15px;
  color: var(--service-accent);
  opacity: 0.55;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.chb-service:hover .chb-service__go {
  opacity: 1;
  transform: translateX(2px);
}

.chb-extras__link {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--brand-pink-text, #f472b6);
  text-decoration: none;
}

.chb-extras__link:hover {
  text-decoration: underline;
}

/* ---- the row that finishes the job ----
 *
 * The publish button is the most consequential control on the page, so the
 * row it sits in is lifted away from the panel above it rather than being one
 * more band of the same colour.
 */
.chb__finish-actions {
  position: relative;
}

.chb__finish-actions::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.5), rgba(139, 92, 246, 0.5), transparent);
}

.chb__finish-actions .chb-btn--primary {
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.28);
}

.chb__finish-actions .chb-btn--primary:hover {
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.4);
}

@media (max-width: 620px) {
  .chb-extras__grid,
  .chb-services {
    grid-template-columns: minmax(0, 1fr);
  }

  /* A tall block on its own row here; a short pill reads better. */
  .chb-extras__count {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
    padding: 6px 12px;
  }

  .chb-extras__count strong {
    font-size: 15px;
  }

  .chb-extras__total {
    padding: 13px 14px;
  }

  .chb-extras__total-sum {
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chb-tool__box,
  .chb-tool__tick {
    transition: none;
  }

  .chb-tool:hover .chb-tool__box {
    transform: none;
  }
}

/*
 * color-mix is not everywhere yet. Where it is missing the cards still read
 * correctly -- a plain surface, a visible border when chosen -- rather than
 * losing their background entirely.
 */
@supports not (background: color-mix(in srgb, red 10%, transparent)) {
  .chb-tool__box {
    background: var(--surface-secondary, rgba(255, 255, 255, 0.03));
  }

  .chb-tool__icon {
    background: var(--surface-secondary, rgba(255, 255, 255, 0.09));
  }

  .chb-tool input:checked + .chb-tool__box {
    background: var(--surface-secondary, rgba(255, 255, 255, 0.07));
  }

  .chb-tool__tag {
    color: var(--tool-accent);
  }

  .chb-service {
    background: var(--surface-secondary, rgba(255, 255, 255, 0.03));
  }

  .chb-service__icon {
    background: var(--surface-secondary, rgba(255, 255, 255, 0.09));
  }

  .chb-service__tag {
    color: var(--service-accent);
  }
}

/* ==========================================================================
   Template preview: the rest of the website
   --------------------------------------------------------------------------
   The preview used to show one fixed arrangement for every design. It now
   draws the same section list the finished website is built from, so these
   are the blocks the editor really produces: galleries, product grids,
   columns, reviews, an enquiry form, shop bands and a full footer.

   Everything here belongs to the customer's website, not to Claadss, so it
   keeps its own fixed colours and the --site-* palette the design supplies.
   It must not follow the light/dark tokens of the surrounding page.
   ========================================================================== */

.chb-mock-main {
  display: block;
}

.chb-mock-nav span[data-page] {
  cursor: pointer;
}

/*
 * A five page design can carry long page names, and the header still has to
 * hold the brand and the button. The links take whatever room is left and
 * scroll sideways inside it rather than pushing the button off the edge.
 */
.chb-mock-header {
  gap: 16px;
}

.chb-mock-brand,
.chb-mock-header-btn {
  flex: none;
}

.chb-mock-nav {
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.chb-mock-nav::-webkit-scrollbar {
  display: none;
}

.chb-mock-nav span {
  white-space: nowrap;
}

.chb-mock-section {
  padding: 56px 40px;
}

.chb-mock-sec-head {
  max-width: 620px;
  margin: 0 auto 34px;
}

.chb-mock-sec-head h2 {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* Alternating bands, so the page has a rhythm instead of one long sheet. */
.chb-mock-about-sec,
.chb-mock-gallery-sec,
.chb-mock-review-sec,
.chb-mock-details-sec,
.chb-mock-offers-sec,
.chb-mock-faq-sec {
  background: var(--site-soft, #f1f5f9);
}

/* ---- Services ---------------------------------------------------------- */

.chb-mock-service-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.chb-mock-srv-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--site-accent-fill, var(--site-accent, #2ee6b6));
  color: var(--site-accent-ink, #ffffff);
  font-size: 19px;
  margin-bottom: 14px;
}

.chb-mock-srv-link {
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--site-accent-text, var(--site-accent, #2ee6b6));
}

/* ---- About ------------------------------------------------------------- */

.chb-mock-about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
}

.chb-mock-about-card {
  padding: 0;
  border-radius: 0;
  background: none;
  border-left: 0;
}

.chb-mock-about-card small {
  display: block;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--site-accent-text, var(--site-accent, #2ee6b6));
  margin-bottom: 10px;
}

.chb-mock-about-card h3 {
  font-size: 26px;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.chb-mock-tick-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.chb-mock-tick-list li {
  position: relative;
  padding-left: 26px;
  font-size: 13.5px;
  font-weight: 650;
  color: #334155;
}

.chb-mock-tick-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: -1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  color: var(--site-accent-ink, #ffffff);
  background: var(--site-accent-fill, var(--site-accent, #2ee6b6));
}

.chb-mock-about-figure {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.16);
}

.chb-mock-about-figure img,
.chb-mock-split-figure img,
.chb-mock-tile img,
.chb-mock-product-shot img,
.chb-mock-cat-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- Three columns ----------------------------------------------------- */

.chb-mock-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.chb-mock-col {
  padding: 26px 22px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  background: var(--site-paper, #ffffff);
}

.chb-mock-col-num {
  display: block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--site-accent-text, var(--site-accent, #2ee6b6));
  margin-bottom: 10px;
}

.chb-mock-col h4 {
  font-size: 16.5px;
  font-weight: 850;
  margin: 0 0 8px;
  color: var(--site-ink, #0f172a);
}

.chb-mock-col p {
  font-size: 13px;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

/* ---- Picture beside copy ----------------------------------------------- */

.chb-mock-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.chb-mock-split-figure {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.18);
}

.chb-mock-split-copy small {
  display: block;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.14em;
  color: var(--site-accent-text, var(--site-accent, #2ee6b6));
  margin-bottom: 10px;
}

.chb-mock-split-copy h3 {
  font-size: 27px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--site-ink, #0f172a);
}

.chb-mock-split-copy p {
  font-size: 14px;
  line-height: 1.65;
  color: #475569;
  margin: 0;
}

.chb-mock-ghost-btn {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--site-accent-text, var(--site-accent, #2ee6b6));
  color: var(--site-accent-text, var(--site-accent, #2ee6b6));
  font-size: 13px;
  font-weight: 800;
}

/* ---- Gallery ----------------------------------------------------------- */

.chb-mock-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 132px;
  gap: 14px;
}

.chb-mock-tile {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 6px 18px -4px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.chb-mock-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.1);
}

.chb-mock-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.chb-mock-tile:hover img {
  transform: scale(1.04);
}

/*
 * A mosaic rather than a uniform grid. The spans add up to three full rows of
 * four, so the bottom edge stays straight however many photographs there are.
 */
.chb-mock-tile--1 {
  grid-column: span 2;
  grid-row: span 2;
}

.chb-mock-tile--4,
.chb-mock-tile--5,
.chb-mock-tile--6 {
  grid-column: span 2;
}

/* ---- Product grid ------------------------------------------------------ */

.chb-mock-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.chb-mock-product {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.09);
  background: var(--site-paper, #ffffff);
  display: flex;
  flex-direction: column;
}

.chb-mock-product-shot {
  aspect-ratio: 4 / 3;
  background: var(--site-soft, #f1f5f9);
}

.chb-mock-product h4 {
  font-size: 15px;
  font-weight: 850;
  margin: 16px 16px 4px;
  color: var(--site-ink, #0f172a);
}

.chb-mock-product p {
  font-size: 12.5px;
  color: #475569;
  margin: 0 16px 14px;
}

.chb-mock-product-btn {
  margin: auto 16px 16px;
  padding: 9px 14px;
  border-radius: 10px;
  text-align: center;
  background: var(--site-ink, #0f172a);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 800;
}

/* ---- Reviews ----------------------------------------------------------- */

.chb-mock-review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.chb-mock-review-sec .chb-mock-review-card {
  text-align: left;
  max-width: none;
  margin: 0;
  padding: 24px 22px;
  border-radius: 18px;
  background: var(--site-paper, #ffffff);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.chb-mock-review-sec .chb-mock-review-card blockquote {
  font-size: 14.5px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.6;
  margin: 0 0 16px;
}

.chb-mock-review-card figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chb-mock-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--site-accent-fill, var(--site-accent, #2ee6b6));
  color: var(--site-accent-ink, #ffffff);
  font-weight: 900;
  font-size: 14px;
  flex: none;
}

.chb-mock-review-card cite {
  display: block;
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
  color: var(--site-ink, #0f172a);
}

.chb-mock-review-card cite small {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
}

/* ---- Plain copy -------------------------------------------------------- */

.chb-mock-prose {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.chb-mock-prose h3 {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--site-ink, #0f172a);
}

.chb-mock-prose p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 10px;
}

/* ---- Contact details --------------------------------------------------- */

.chb-mock-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.chb-mock-contact-card {
  padding: 24px 20px;
  border-radius: 16px;
  background: var(--site-paper, #ffffff);
  border: 1px solid rgba(15, 23, 42, 0.08);
  text-align: center;
}

.chb-mock-contact-card span {
  font-size: 24px;
}

.chb-mock-contact-card h4 {
  font-size: 15px;
  font-weight: 850;
  margin: 10px 0 6px;
  color: var(--site-ink, #0f172a);
}

.chb-mock-contact-card p {
  font-size: 12.5px;
  color: #475569;
  margin: 0;
}

/* ---- Enquiry form ------------------------------------------------------ */

.chb-mock-form-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: center;
  padding: 34px;
  border-radius: 24px;
  background: var(--site-soft, #f1f5f9);
}

.chb-mock-form-copy small {
  display: block;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--site-accent-text, var(--site-accent, #2ee6b6));
  margin-bottom: 10px;
}

.chb-mock-form-copy h3 {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--site-ink, #0f172a);
}

.chb-mock-form-copy p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

.chb-mock-form {
  display: grid;
  gap: 12px;
}

.chb-mock-field {
  display: block;
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--site-paper, #ffffff);
  border: 1px solid rgba(15, 23, 42, 0.12);
  font-size: 13px;
  color: #475569;
}

.chb-mock-field--area {
  padding-bottom: 42px;
}

.chb-mock-form-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 12px;
  background: var(--site-accent-fill, var(--site-accent, #2ee6b6));
  color: var(--site-accent-ink, #ffffff);
  font-size: 13.5px;
  font-weight: 850;
}

/* ---- Shop bands -------------------------------------------------------- */

.chb-mock-cat-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.chb-mock-cat-tile {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: var(--site-soft, #f1f5f9);
  text-align: center;
}

.chb-mock-cat-tile img {
  aspect-ratio: 1 / 1;
}

.chb-mock-cat-tile span {
  display: block;
  padding: 10px 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--site-ink, #0f172a);
}

.chb-mock-offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.chb-mock-offer {
  padding: 30px 26px;
  border-radius: 20px;
  background: var(--site-paper, #ffffff);
  border: 1px dashed var(--site-accent, #2ee6b6);
}

.chb-mock-offer small {
  display: block;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--site-accent-text, var(--site-accent, #2ee6b6));
  margin-bottom: 8px;
}

.chb-mock-offer h4 {
  font-size: 18px;
  font-weight: 850;
  line-height: 1.3;
  margin: 0;
  color: var(--site-ink, #0f172a);
}

.chb-mock-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.chb-mock-trust-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  border-radius: 14px;
  background: var(--site-soft, #f1f5f9);
}

.chb-mock-trust-card span {
  font-size: 20px;
}

.chb-mock-trust-card strong {
  font-size: 13px;
  font-weight: 800;
  color: var(--site-ink, #0f172a);
}

.chb-mock-faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.chb-mock-faq {
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--site-paper, #ffffff);
  border: 1px solid rgba(15, 23, 42, 0.09);
}

.chb-mock-faq summary {
  font-size: 14px;
  font-weight: 800;
  color: var(--site-ink, #0f172a);
  cursor: pointer;
}

.chb-mock-faq p {
  font-size: 13px;
  line-height: 1.6;
  color: #475569;
  margin: 10px 0 0;
}

.chb-mock-news-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
  padding: 34px;
  border-radius: 22px;
  background: var(--site-ink, #0f172a);
}

.chb-mock-news-band h3 {
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 8px;
  color: #ffffff;
}

.chb-mock-news-band p {
  font-size: 13.5px;
  color: #cbd5e1;
  margin: 0;
}

.chb-mock-news-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

/* ---- Footer ------------------------------------------------------------ */

.chb-mock-footer {
  padding: 0;
  background: var(--site-soft, #f8fafc);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.chb-mock-footer-cols {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
  padding: 38px 40px 26px;
}

.chb-mock-footer-brand {
  font-size: 18px;
  font-weight: 900;
  color: var(--site-ink, #0f172a);
  margin-bottom: 10px;
}

.chb-mock-footer-brandcol p {
  font-size: 12.5px;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 14px;
  max-width: 34ch;
}

.chb-mock-social {
  display: flex;
  gap: 8px;
}

.chb-mock-social span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--site-ink, #0f172a);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

.chb-mock-footer-cols h5 {
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--site-ink, #0f172a);
  margin: 0 0 12px;
}

.chb-mock-footer-cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.chb-mock-footer-cols li {
  font-size: 12.5px;
  color: #475569;
}

.chb-mock-footer-inner {
  padding: 16px 40px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 11.5px;
  color: #475569;
}

/* ==========================================================================
   The tablet and phone views of the preview frame
   ========================================================================== */

.chb-preview-frame.is-tablet .chb-mock-section,
.chb-preview-frame.is-mobile .chb-mock-section {
  padding: 40px 22px;
}

/*
 * The headline is sized in vw, which follows the browser window rather than
 * the device being previewed, so a long word could run past the edge of the
 * phone frame on a wide screen. The two smaller frames set their own size.
 */
.chb-mock-headline,
.chb-mock-desc {
  overflow-wrap: break-word;
}

.chb-preview-frame.is-tablet .chb-mock-headline {
  font-size: 32px;
}

.chb-preview-frame.is-mobile .chb-mock-headline {
  font-size: 26px;
}

.chb-preview-frame.is-mobile .chb-mock-hero {
  padding: 20px 18px 28px;
}

/*
 * In the phone frame the header cannot hold the brand, five page links and a
 * button on one line. The links drop to their own scrolling row rather than
 * being pushed out of sight, so a five page design can still be walked
 * through.
 */
.chb-preview-frame.is-mobile .chb-mock-header {
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 16px;
}

.chb-preview-frame.is-mobile .chb-mock-brand {
  font-size: 17px;
}

.chb-preview-frame.is-mobile .chb-mock-header-btn {
  padding: 7px 13px;
  font-size: 11.5px;
}

.chb-preview-frame.is-mobile .chb-mock-nav {
  order: 3;
  width: 100%;
  gap: 15px;
  font-size: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.chb-preview-frame.is-mobile .chb-mock-nav::-webkit-scrollbar {
  display: none;
}

.chb-preview-frame.is-mobile .chb-mock-nav span,
.chb-mock-nav span {
  white-space: nowrap;
}

.chb-preview-frame.is-tablet .chb-mock-services-grid,
.chb-preview-frame.is-tablet .chb-mock-cols,
.chb-preview-frame.is-tablet .chb-mock-product-grid,
.chb-preview-frame.is-tablet .chb-mock-review-grid,
.chb-preview-frame.is-tablet .chb-mock-contact-grid {
  grid-template-columns: repeat(2, 1fr);
}

.chb-preview-frame.is-tablet .chb-mock-cat-row {
  grid-template-columns: repeat(3, 1fr);
}

.chb-preview-frame.is-tablet .chb-mock-trust-grid {
  grid-template-columns: repeat(2, 1fr);
}

.chb-preview-frame.is-tablet .chb-mock-footer-cols {
  grid-template-columns: 1fr 1fr;
}

.chb-preview-frame.is-mobile .chb-mock-about-grid,
.chb-preview-frame.is-mobile .chb-mock-split,
.chb-preview-frame.is-mobile .chb-mock-cols,
.chb-preview-frame.is-mobile .chb-mock-product-grid,
.chb-preview-frame.is-mobile .chb-mock-review-grid,
.chb-preview-frame.is-mobile .chb-mock-contact-grid,
.chb-preview-frame.is-mobile .chb-mock-offer-grid,
.chb-preview-frame.is-mobile .chb-mock-trust-grid,
.chb-preview-frame.is-mobile .chb-mock-form-wrap,
.chb-preview-frame.is-mobile .chb-mock-news-band,
.chb-preview-frame.is-mobile .chb-mock-footer-cols {
  grid-template-columns: 1fr;
}

.chb-preview-frame.is-mobile .chb-mock-gallery-grid {
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 104px;
}

.chb-preview-frame.is-mobile .chb-mock-cat-row {
  grid-template-columns: repeat(3, 1fr);
}

.chb-preview-frame.is-mobile .chb-mock-split-figure {
  order: -1;
}

.chb-preview-frame.is-mobile .chb-mock-footer-cols,
.chb-preview-frame.is-mobile .chb-mock-footer-inner {
  padding-left: 22px;
  padding-right: 22px;
}

/* The same shapes again for a genuinely narrow screen, where the frame is
   full width and the device buttons are hidden. */
@media (max-width: 768px) {
  /*
   * The page links used to be hidden on a phone, which left a five page
   * design with nothing to click. They stay, on their own scrolling row.
   */
  .chb-mock-header {
    flex-wrap: wrap !important;
  }

  .chb-mock-nav {
    display: flex !important;
    order: 3;
    width: 100%;
    gap: 16px !important;
    padding-top: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    font-size: 12.5px !important;
  }

  .chb-mock-nav::-webkit-scrollbar {
    display: none;
  }

  .chb-mock-nav span {
    white-space: nowrap;
  }

  .chb-mock-section {
    padding: 34px 16px !important;
  }

  .chb-mock-sec-head {
    margin-bottom: 24px !important;
  }

  .chb-mock-sec-head h2 {
    font-size: 21px !important;
  }

  .chb-mock-about-grid,
  .chb-mock-split,
  .chb-mock-cols,
  .chb-mock-product-grid,
  .chb-mock-review-grid,
  .chb-mock-contact-grid,
  .chb-mock-offer-grid,
  .chb-mock-trust-grid,
  .chb-mock-form-wrap,
  .chb-mock-news-band,
  .chb-mock-footer-cols {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .chb-mock-gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-rows: 96px !important;
  }

  .chb-mock-cat-row {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .chb-mock-split-figure {
    order: -1;
  }

  .chb-mock-form-wrap {
    padding: 20px !important;
  }

  .chb-mock-news-band {
    padding: 22px !important;
  }

  .chb-mock-footer-cols,
  .chb-mock-footer-inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .chb-mock-footer-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

/* ---------------------------------------------------------------
 * Header & Navigation Studio (Modal Toolbar & Drawer)
 * --------------------------------------------------------------- */
.chb-header-studio-bar {
  background: #0f172a;
  border-bottom: 1px solid #1e293b;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.chb-hsb-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chb-hsb-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f8fafc;
  font-size: 13.5px;
  font-weight: 700;
}

.chb-hsb-title svg {
  color: #38bdf8;
}

.chb-hsb-badge {
  font-size: 11px;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 999px;
  padding: 3px 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.chb-hsb-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.chb-pill-group {
  display: inline-flex;
  align-items: center;
  background: #1e293b;
  border-radius: 8px;
  padding: 3px;
  border: 1px solid #334155;
}

.chb-pill-group-label {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  padding: 0 8px;
}

.chb-pill-btn {
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.chb-pill-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.chb-pill-btn.is-active {
  background: #2563eb;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.chb-hsb-right {
  display: flex;
  align-items: center;
}

.chb-btn--studio-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #1e293b;
  border: 1px solid #334155;
  color: #f1f5f9;
  font-size: 12px;
  font-weight: 650;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chb-btn--studio-toggle:hover {
  background: #334155;
  color: #ffffff;
  border-color: #475569;
}

.chb-btn--studio-toggle.is-open svg {
  transform: rotate(180deg);
}

.chb-btn--studio-toggle svg {
  transition: transform 0.2s ease;
}

/* Expandable Drawer */
.chb-header-drawer {
  background: #0b1120;
  border-bottom: 2px solid #1e293b;
  padding: 20px 24px;
  box-shadow: inset 0 6px 16px rgba(0, 0, 0, 0.4);
  max-height: 520px;
  overflow-y: auto;
  z-index: 9;
}

.chb-header-drawer-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.chb-drawer-section {
  margin-bottom: 24px;
}

.chb-drawer-section:last-child {
  margin-bottom: 0;
}

.chb-drawer-section-title h4 {
  font-size: 13.5px;
  font-weight: 750;
  color: #f8fafc;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.chb-drawer-section-title p {
  font-size: 12px;
  color: #94a3b8;
  margin: 0 0 14px;
  line-height: 1.5;
}

.chb-template-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.chb-header-tpl-card {
  background: #131c2e;
  border: 1.5px solid #25354f;
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.chb-header-tpl-card:hover {
  border-color: #3b82f6;
  background: #17243c;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.chb-header-tpl-card.is-selected {
  border-color: #38bdf8;
  background: #152238;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.35), 0 8px 20px rgba(0, 0, 0, 0.4);
}

.chb-tpl-card-svg svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.chb-tpl-card-meta strong {
  font-size: 12px;
  font-weight: 700;
  color: #f8fafc;
  display: block;
  margin-bottom: 3px;
}

.chb-tpl-card-meta small {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.4;
  display: block;
}

/* Customizer Details Fields */
.chb-drawer-fields-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  align-items: end;
}

.chb-field-wrap label {
  font-size: 11.5px;
  font-weight: 600;
  color: #cbd5e1;
  display: block;
  margin-bottom: 5px;
}

.chb-field-wrap input[type="text"],
.chb-field-wrap input[type="email"] {
  width: 100%;
  background: #131c2e;
  border: 1px solid #334155;
  border-radius: 8px;
  color: #fff;
  padding: 8px 12px;
  font-size: 12px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}

.chb-field-wrap input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

.chb-field-wrap--checkbox {
  display: flex;
  align-items: center;
  padding-bottom: 6px;
}

.chb-field-wrap--checkbox label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #cbd5e1;
  cursor: pointer;
  margin-bottom: 0;
}

.chb-field-wrap--checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #2563eb;
  cursor: pointer;
}

/* Mock Top Bar */
.chb-mock-topbar {
  background: rgba(15, 23, 42, 0.94);
  color: #cbd5e1;
  padding: 6px 30px;
  font-size: 11.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chb-mock-topbar-left,
.chb-mock-topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.chb-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #e2e8f0;
}

.chb-topbar-item svg {
  color: #38bdf8;
}

.chb-social-icon {
  display: inline-flex;
  align-items: center;
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.15s ease;
}

.chb-social-icon:hover {
  color: #38bdf8;
}

/* Mock Header Actions & Buttons */
.chb-mock-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.chb-mock-header-btn--sec {
  background: transparent !important;
  border: 1.5px solid var(--site-ink, #0f172a);
  color: var(--site-ink, #0f172a) !important;
}

.chb-mock-header-btn--sec:hover {
  background: rgba(0, 0, 0, 0.05) !important;
}

/* Mock Header Layout Modifiers */
.chb-mock-header--nav-left .chb-mock-nav {
  justify-content: flex-start;
  margin-right: auto;
  margin-left: 24px;
}

.chb-mock-header--nav-center .chb-mock-nav {
  justify-content: center;
  margin: 0 auto;
}

.chb-mock-header--nav-right .chb-mock-nav {
  justify-content: flex-end;
  margin-left: auto;
  margin-right: 20px;
}

.chb-mock-header--logo-center {
  flex-direction: column;
  gap: 12px;
  padding-block: 20px;
  text-align: center;
}

.chb-mock-header--logo-center .chb-mock-brand {
  order: 1;
  margin: 0 auto;
}

.chb-mock-header--logo-center .chb-mock-nav {
  order: 2;
  margin: 0 auto;
  justify-content: center;
}

.chb-mock-header--logo-center .chb-mock-header-actions {
  order: 3;
  margin: 0 auto;
}

/* Split Navigation Mock */
.chb-mock-header--split-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chb-mock-header--split-nav .chb-mock-brand {
  order: 2;
  margin: 0 auto;
}

.chb-mock-header--split-nav .chb-mock-nav {
  order: 1;
  margin: 0;
}

.chb-mock-header--split-nav .chb-mock-header-actions {
  order: 3;
  margin-left: 0;
}

/* -------------------------------------------------------------------------
 * Enquiry Notifications & Verification UI
 * ---------------------------------------------------------------------- */
.chb-enquiry-section {
  padding: clamp(18px, 3vw, 30px);
  border-top: 1px solid var(--chb-line, rgba(255, 255, 255, 0.08));
}

.chb-enquiry-card {
  background: var(--surface-primary, rgba(13, 25, 43, 0.65));
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.chb-enquiry-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.chb-enquiry-status-pill.is-verified {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.chb-enquiry-status-pill.is-unverified {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
}

.chb-enquiry-label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--chb-ink, #ffffff);
  margin-bottom: 6px;
}

.chb-enquiry-required {
  color: #f87171;
  margin-left: 3px;
}

.chb-enquiry-privacy-note {
  margin: 0 0 16px 0;
  font-size: 13px;
  color: var(--chb-muted, #94a3b8);
  line-height: 1.5;
}

.chb-enquiry-input-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.chb-enquiry-input-wrap {
  flex: 1 1 280px;
}

.chb-enquiry-input {
  width: 100%;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--surface-secondary, rgba(7, 14, 26, 0.8));
  color: #ffffff;
  font-size: 14.5px;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.chb-enquiry-input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.chb-btn--code {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 650;
  cursor: pointer;
  transition: all 150ms ease;
}

.chb-btn--code:hover {
  background: rgba(56, 189, 248, 0.22);
  color: #ffffff;
  border-color: #38bdf8;
}

.chb-btn--text {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
}

.chb-btn--text:hover {
  color: #ffffff;
}

.chb-enquiry-verify-panel {
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.05);
  border: 1px dashed rgba(56, 189, 248, 0.3);
}

.chb-verify-prompt {
  margin: 0 0 12px 0;
  font-size: 13.5px;
  color: #e2e8f0;
}

.chb-verify-input-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.chb-pin-input, .ch-pin-field {
  width: 140px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  background: rgba(0, 0, 0, 0.5);
  color: #38bdf8;
  font-size: 20px;
  font-family: monospace;
  font-weight: 800;
  letter-spacing: 5px;
  text-align: center;
  outline: none;
}

.chb-pin-input:focus, .ch-pin-field:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
}

.chb-enquiry-alert, .chb-verify-feedback {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
}

.chb-enquiry-alert.is-success, .chb-verify-feedback.is-success {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.chb-enquiry-alert.is-error, .chb-verify-feedback.is-error {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.chb-enquiry-gate-warning {
  margin: 16px 0 0 0;
  font-size: 13px;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.1);
  padding: 10px 14px;
  border-radius: 10px;
  border-left: 3px solid #fbbf24;
}

/* Website Settings Screen */
.ch-card-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.ch-card-header-row h2 {
  margin: 0;
}

.ch-settings-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.ch-settings-verify-box {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.ch-settings-verify-box h3 {
  margin: 0 0 6px 0;
  font-size: 15px;
  color: #fbbf24;
}

.ch-pin-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.ch-enquiry-count-badge {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.ch-enquiries-table-wrap {
  overflow-x: auto;
  margin-top: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ch-enquiries-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  text-align: left;
}

.ch-enquiries-table th {
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.35);
  color: #94a3b8;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ch-enquiries-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}

.ch-enquiries-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.ch-enquiry-date small {
  display: block;
  color: #94a3b8;
  font-size: 12px;
}

.ch-enquiry-visitor strong {
  display: block;
  color: #ffffff;
}

.ch-enquiry-visitor a {
  color: #38bdf8;
  text-decoration: none;
  font-size: 13px;
}

.ch-enquiry-visitor small {
  display: block;
  color: #94a3b8;
  font-size: 12px;
}

.ch-enquiry-msg-body {
  max-width: 320px;
  max-height: 80px;
  overflow-y: auto;
  line-height: 1.4;
  color: #cbd5e1;
}

.ch-pill-del {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 750;
}

.ch-pill-del.is-delivered {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.ch-pill-del.is-failed {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.ch-del-error {
  display: block;
  color: #f87171;
  font-size: 11px;
  margin-top: 4px;
  max-width: 140px;
}

.ch-btn-reply {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  text-decoration: none;
  font-size: 12px;
  font-weight: 650;
  transition: all 120ms ease;
}

.ch-btn-reply:hover {
  background: #38bdf8;
  color: #070e1a;
}

.ch-btn-retry {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
  font-size: 12px;
  cursor: pointer;
  margin-left: 6px;
  transition: all 120ms ease;
}

.ch-btn-retry:hover {
  background: #f87171;
  color: #ffffff;
}
/* 1.4.193: a design with a full page of its own (the food & restaurant
   one-page websites) previews as that page, in a frame the device buttons
   resize like the drawn preview. */
.chb-preview-frame .chb-full-preview { display: block; width: 100%; height: calc(100vh - 150px); min-height: 520px; border: 0; background: #fff; }
.chb-preview-frame .chb-full-preview[hidden],
.chb-preview-frame .chb-live-site[hidden] { display: none !important; }

/* Why a publish or a payment-settings save was refused (claadss_site_publish_alert). */
.chb-publish-alert {
  width: min(520px, calc(100vw - 32px));
  padding: 26px 26px 22px;
  border: 1px solid rgba(239, 68, 68, 0.45);
  border-radius: 18px;
  background: var(--surface-elevated, #162039);
  color: var(--text-primary, #f8fafc);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.chb-publish-alert::backdrop { background: rgba(3, 6, 18, 0.66); }
.chb-publish-alert__icon {
  display: grid; place-items: center;
  width: 40px; height: 40px; margin-bottom: 12px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.16);
  color: #f87171;
  font-weight: 800; font-size: 20px;
}
.chb-publish-alert h3 { margin: 0 0 10px; font-size: 18px; line-height: 1.35; color: inherit; }
.chb-publish-alert ul { margin: 0 0 18px; padding-left: 20px; color: var(--text-secondary, #b7c1d1); font-size: 14px; line-height: 1.55; }
.chb-publish-alert li + li { margin-top: 6px; }
.chb-publish-alert__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }

/* Compare website plans: the line under the heading, a tick or dash with a
   note beside it ("✓ Where supported"), and "How to read this comparison". */
.chb .chpm__compare-title { flex: 1 1 420px; min-width: 0; }
.chb .chpm__compare-title p { margin: 6px 0 0; max-width: 640px; color: var(--chb-muted); font-size: 14px; line-height: 1.55; }
.chb .chpm__mark { display: inline-flex; align-items: flex-start; gap: 8px; }
.chb .chpm__mark > .chpm__yes,
.chb .chpm__mark > .chpm__no { flex: 0 0 auto; }
.chb .chpm__note-text { color: var(--chb-ink-soft); font-size: 13px; font-weight: 500; line-height: 1.45; padding-top: 2px; }
.chb .chpm__table td { vertical-align: top; }
.chb .chpm__table tfoot th[scope="row"] .chpm__label { color: var(--chb-ink); font-weight: 750; }
.chb .chpm__notes {
  margin-top: 20px;
  padding: 20px 22px;
  border: 1px solid var(--chb-line);
  border-radius: var(--chb-radius);
  background: var(--chb-surface);
}
.chb .chpm__notes h3 { margin: 0 0 10px; color: var(--chb-ink); font-size: 17px; font-weight: 800; }
.chb .chpm__notes ul { margin: 0; padding-left: 20px; color: var(--chb-ink-soft); font-size: 13.5px; line-height: 1.6; }
.chb .chpm__notes li + li { margin-top: 6px; }
.chb .chpm__notes strong { color: var(--chb-ink); }

/* Business tools shown as included with credits, not ticked (1.4.212). */
.chb-tool--info { cursor: default; }
.chb-tool--info:hover .chb-tool__box { transform: none; }
.chb-tool__cost { align-self: end; margin-top: 2px; font-size: 11.5px; font-weight: 800; color: var(--tool-accent, #38bdf8); }
/* ---------------- 1.4.234: designs per row and page numbers ----------------
   Both set in Control Centre > Templates (inc/start-building-admin.php). Phones
   keep one design per row (the rules above for 900px and narrower). */
@media (min-width: 1281px) {
  .chb__grid[data-cols] { grid-template-columns: repeat(var(--chb-cols, 3), minmax(0, 1fr)); }
}
@media (min-width: 901px) and (max-width: 1280px) {
  .chb__grid[data-cols] { grid-template-columns: repeat(var(--chb-cols-md, 2), minmax(0, 1fr)); }
}
.chb-pager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin: 34px 0 8px; }
.chb-pager[hidden] { display: none; }
.chb-pager__btn {
  min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px;
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.14));
  background: var(--surface-primary, #111728); color: var(--text-primary, #e2e8f0);
  font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1; cursor: pointer;
  transition: border-color .2s, transform .2s, background .2s;
}
.chb-pager__btn:hover:not(:disabled) { border-color: var(--chb-teal, #2ee6b6); transform: translateY(-1px); }
.chb-pager__btn.is-current { background: linear-gradient(135deg, var(--chb-teal, #2ee6b6), #7c3aed); border-color: transparent; color: #06121f; }
.chb-pager__btn:disabled { opacity: .4; cursor: default; }
.chb-pager__step { font-size: 18px; }
.chb-pager__gap { color: var(--text-secondary, #94a3b8); padding: 0 4px; }

/* Free trial on the plans page (1.4.315): a ribbon across the top of each
   package that has one, the same colour per package in the table, and the
   "How to read this comparison" notes as cards. */
.chb .chpm__card--trial { padding-top: 58px; }
.chb .chpm__card--trial .chpm__flag,
.chb .chpm__card--trial .chpm__price { top: 50px; }
.chb .chpm__card--trial .chpm__offer { top: 96px; }
.chb .chpm__card--trial::before { display: none; }
.chb .chpm__trial-ribbon {
  position: absolute;
  inset: 0 0 auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 34px;
  background: linear-gradient(90deg, #f43f5e, #f97316, #facc15, #22c55e, #06b6d4, #e60023, #ec4899, #f43f5e);
  background-size: 300% 100%;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  animation: chpmTrialFlow 9s linear infinite;
}
.chb .chpm__trial-ribbon b { font-weight: 900; }
.chb .chpm__trial-ribbon svg { width: 15px; height: 15px; flex: 0 0 auto; }
.chb .chpm__trial-ribbon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.45) 50%, transparent 65%);
  background-size: 250% 100%;
  animation: chpmTrialShine 3.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes chpmTrialFlow { to { background-position: 300% 0; } }
@keyframes chpmTrialShine { 0% { background-position: 130% 0; } 60%, 100% { background-position: -130% 0; } }
.chb .chpm__note--trial { color: var(--chb-ink); font-weight: 650; }

.chb .chpm__trial {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}
.chb .chpm__trial::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; opacity: 0.9; }
.chb .chpm__trial--starter { background: linear-gradient(135deg, #16a34a, #0d9488); }
.chb .chpm__trial--business { background: linear-gradient(135deg, #2563eb, #0891b2); }
.chb .chpm__trial--professional { background: linear-gradient(135deg, #7c3aed, #db2777); }
.chb .chpm__trial--custom { background: linear-gradient(135deg, #d97706, #db2777); }
.chb .chpm__table td .chpm__val .chpm__trial { margin-top: 0; }

.chb .chpm__notes { padding: 24px; }
.chb .chpm__notes-head { margin-bottom: 16px; }
.chb .chpm__notes-head h3 { margin: 0 0 4px; font-size: 20px; }
.chb .chpm__notes-head p { margin: 0; color: var(--chb-muted); font-size: 14px; }
.chb .chpm__notes ul.chpm__notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chb .chpm__notes-grid li + li { margin-top: 0; }
.chb .chpm__read {
  --read: var(--chb-teal);
  position: relative;
  padding: 16px 16px 16px 18px;
  border: 1px solid var(--chb-line);
  border-radius: 12px;
  background: var(--chb-bg);
  overflow: hidden;
}
.chb .chpm__read::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--read); }
.chb .chpm__read--1 { --read: var(--chb-blue); }
.chb .chpm__read--2 { --read: var(--chb-violet); }
.chb .chpm__read--3 { --read: var(--chb-pink); }
.chb .chpm__read--4 { --read: var(--chb-amber); }
.chb .chpm__read--5 { --read: #22c55e; }
.chb .chpm__read-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border-radius: 10px;
  color: var(--read);
  background: color-mix(in srgb, var(--read) 16%, transparent);
}
.chb .chpm__read-icon svg { width: 18px; height: 18px; }
.chb .chpm__read strong { display: block; margin-bottom: 6px; color: var(--chb-ink); font-size: 15px; font-weight: 800; }
.chb .chpm__read p { margin: 0; color: var(--chb-ink-soft); font-size: 13.5px; line-height: 1.6; }
@media (prefers-reduced-motion: reduce) {
  .chb .chpm__trial-ribbon, .chb .chpm__trial-ribbon::after { animation: none; }
}
