/* PROD public pages only. Existing dark/gold tokens and typography remain authoritative. */
html:not(.staff-space):not([data-ui-area="staff"]) body[data-promo-page] {
  --promo-gold: var(--v9-brand, #d8b36a);
  --promo-line: var(--v9-line, #323944);
}

html:not(.staff-space):not([data-ui-area="staff"]) body[data-promo-page="home"] .practice-entry-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 20px;
  margin: 4px 0 14px !important;
  padding: 14px 18px !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}
html:not(.staff-space):not([data-ui-area="staff"]) body[data-promo-page="home"] .practice-entry-copy { min-width: 0; }
html:not(.staff-space):not([data-ui-area="staff"]) body[data-promo-page="home"] .practice-entry-copy b { font-size: 13px; }
html:not(.staff-space):not([data-ui-area="staff"]) body[data-promo-page="home"] .practice-entry-copy span { margin-top: 4px; font-size: 11px; line-height: 1.6; }
html:not(.staff-space):not([data-ui-area="staff"]) body[data-promo-page="home"] .practice-entry-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 !important;
  min-width: 260px;
}
html:not(.staff-space):not([data-ui-area="staff"]) body[data-promo-page="home"] .practice-entry-actions > :is(a, button) {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-width: 0 !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 8px 10px !important;
  box-sizing: border-box;
  font-size: 12px !important;
  line-height: 1.35;
  white-space: normal;
}
html:not(.staff-space):not([data-ui-area="staff"]) body[data-promo-page="home"] .practice-entry-modal-close { width: 44px; height: 44px; }
/* 20261023: waist-up character framing; cards intentionally clip lower body only. Copy and actions stay in HTML. */
html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page="home"] .practice-campaign {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
  gap: 16px;
  min-height: 230px;
  padding: 20px 28px;
  box-sizing: border-box;
  background: radial-gradient(ellipse at 86% 80%, #73504440, transparent 46%), linear-gradient(112deg, #17191e 36%, #24212a 100%) !important;
  border: 1px solid #77613e !important;
  border-radius: 18px;
  box-shadow: inset 0 1px 0 #ffe3ab0d !important;
}
html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page="home"] .practice-campaign::before {
  content: "";
  position: absolute;
  right: 3%;
  bottom: -54%;
  width: 40%;
  aspect-ratio: 1;
  border: 1px solid #c5a16a33;
  border-radius: 50%;
  box-shadow: 0 0 0 26px #c5a16a08, 0 0 0 52px #c5a16a05;
  pointer-events: none;
  z-index: 0;
}
html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page="home"] .practice-campaign::after { content: none; }
html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page="home"] .practice-campaign-copy,
html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page="home"] .practice-campaign-cta { position: relative; z-index: 2; }
html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page="home"] .practice-campaign-copy { max-width: 52%; }
html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page="home"] .practice-campaign-kicker { margin-bottom: 8px; color: #e3c68f; font-size: 11px; letter-spacing: .1em; }
html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page="home"] .practice-campaign h2 { margin: 0 0 9px !important; color: #fff3db !important; font-size: clamp(21px, 2.5vw, 30px) !important; line-height: 1.35; text-wrap: balance; }
html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page="home"] .practice-campaign p { max-width: 30em; color: #c7c3bd !important; line-height: 1.65; }
html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page="home"] .practice-campaign-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 19px; border: 1px solid #ddbd80; border-radius: 10px; background: #dfbd7f; color: #20190f !important; box-sizing: border-box; font-size: 12px; }
html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page="home"] .practice-campaign:focus-visible { outline: 3px solid #f3d59b; outline-offset: 3px; }
html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page="home"] .promo-operator-image {
  position: absolute;
  right: 2%;
  bottom: 0;
  height: 300px;
  width: 45%;
  transform: translateY(24%);
  object-fit: contain;
  object-position: center bottom;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 8px 16px #00000035);
}

/* The original tutorial, quota and step logic remain untouched. */
html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page^="publish-"] #page-register.publish-flow-v2 .publish-flow-heading {
  --promo-accent: #efb675;
  --promo-glow: #b8733229;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 25%);
  column-gap: 20px;
  row-gap: 4px;
  overflow: hidden;
  min-height: 230px;
  margin: 20px 0 18px;
  padding: 16px 22px 14px;
  border: 1px solid #665741;
  border-inline-start: 3px solid var(--promo-accent);
  border-radius: 16px;
  background: radial-gradient(ellipse at 92% 70%, var(--promo-glow), transparent 55%), linear-gradient(115deg, #1d2025, #171b22);
  box-shadow: inset 0 1px 0 #ffe3ab0a;
  box-sizing: border-box;
}
html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page="publish-delta"] #page-register.publish-flow-v2 .publish-flow-heading { --promo-accent: #9bd6bf; --promo-glow: #4b9f7a29; border-color: #476057; }
html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page^="publish-"] #page-register.publish-flow-v2 .publish-flow-heading-top { grid-column: 1; position: relative; z-index: 2; gap: 8px 14px; margin-bottom: 4px; }
html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page^="publish-"] #page-register.publish-flow-v2 .publish-flow-kicker { color: var(--promo-accent); }
html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page^="publish-"] #page-register.publish-flow-v2 .publish-flow-help { min-height: 44px; padding: 8px 12px; color: #f1dbb3; border-color: #74654c; background: #20252c; }
html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page^="publish-"] #page-register.publish-flow-v2 .publish-saas-quota { padding: 6px 10px; color: #dec594; background: #0e141a80; border-color: #62543e; font-size: 12px; }
html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page^="publish-"] #page-register.publish-flow-v2 .publish-flow-heading > :is(h1, h2, p) { grid-column: 1; position: relative; z-index: 1; min-width: 0; max-width: 100%; }
html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page^="publish-"] #page-register.publish-flow-v2 .publish-saas-title { align-self: end; margin: 2px 0 0; color: #fff3db; font-size: 30px; line-height: 1.3; }
html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page^="publish-"] #page-register.publish-flow-v2 .publish-saas-subtitle { align-self: center; margin: 0; color: #c8cbd0; font-size: 13px; line-height: 1.6; }
html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page^="publish-"] #page-register.publish-flow-v2 .publish-flow-progress { align-self: start; margin: 0 0 5px; color: var(--promo-accent); font-size: 12px; }
html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page^="publish-"] #page-register.publish-flow-v2 .promo-operator-image {
  position: absolute;
  right: 28px;
  bottom: 0;
  z-index: 0;
  width: 26%;
  max-width: 236px;
  height: auto;
  transform: translateY(24%);
  object-fit: contain;
  object-position: center bottom;
  opacity: 1;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 6px 12px #00000035);
}

@media (max-width: 620px) {
  html:not(.staff-space):not([data-ui-area="staff"]) body[data-promo-page="home"] .practice-entry-card { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 12px !important; margin-bottom: 12px !important; }
  html:not(.staff-space):not([data-ui-area="staff"]) body[data-promo-page="home"] .practice-entry-actions { min-width: 0; width: 100%; }
  html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page="home"] .practice-campaign { min-height: 220px; padding: 12px 12px; gap: 10px; border-radius: 15px; }
  html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page="home"] .practice-campaign-copy { max-width: 43%; }
  html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page="home"] .practice-campaign-kicker { margin-bottom: 4px; font-size: 10px; letter-spacing: .06em; }
  html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page="home"] .practice-campaign h2 { max-width: 8em; margin-bottom: 6px !important; font-size: 18px !important; line-height: 1.35; }
  html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page="home"] .practice-campaign p { font-size: 12px; line-height: 1.55; }
  html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page="home"] .practice-campaign-cta { min-height: 44px; padding: 8px 15px; }
  html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page="home"] .promo-operator-image { width: 55%; max-width: 230px; right: 0; height: auto; }
  html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page^="publish-"] #page-register.publish-flow-v2 .publish-flow-heading { grid-template-columns: minmax(0, 1fr) minmax(130px, 52%); gap: 3px 8px; min-height: 220px; margin: 14px 0 16px; padding: 10px 12px 12px; border-radius: 13px; }
  html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page^="publish-"] #page-register.publish-flow-v2 .publish-flow-heading-top { display: contents; }
  html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page^="publish-"] #page-register.publish-flow-v2 .publish-flow-kicker { grid-column: 1; grid-row: 1; align-self: center; font-size: 10px; letter-spacing: .03em; }
  html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page^="publish-"] #page-register.publish-flow-v2 .publish-flow-help { grid-column: 2; grid-row: 1; justify-self: end; align-self: center; margin: 0; padding: 7px 10px; font-size: 11px; }
  html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page^="publish-"] #page-register.publish-flow-v2 .publish-saas-title { grid-row: 2; align-self: end; margin: 0; font-size: 24px; }
  html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page^="publish-"] #page-register.publish-flow-v2 .publish-saas-subtitle { grid-row: 3; font-size: 12px; line-height: 1.6; }
  html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page^="publish-"] #page-register.publish-flow-v2 .publish-flow-progress { grid-row: 4; margin: 0; font-size: 10px; }
  html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page^="publish-"] #page-register.publish-flow-v2 .publish-saas-quota { grid-column: 1; grid-row: 5; justify-self: start; align-self: start; margin: 0; padding: 3px 5px; max-width: 100%; border-radius: 5px; font-size: 10px; line-height: 1.5; white-space: normal; }
  html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page^="publish-"] #page-register.publish-flow-v2 .promo-operator-image { width: min(174px, calc((100% - 28px) * .52)); max-width: none; height: auto; right: 12px; }

}
@media (max-width: 360px) {
  html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page^="publish-"] #page-register.publish-flow-v2 .publish-flow-heading { grid-template-columns: minmax(0, 1fr) 140px; column-gap: 6px; padding: 9px 10px 10px; }
  html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page^="publish-"] #page-register.publish-flow-v2 .publish-saas-title { font-size: 22px; }
  html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page^="publish-"] #page-register.publish-flow-v2 .publish-saas-subtitle { font-size: 11.5px; line-height: 1.5; }
  html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page^="publish-"] #page-register.publish-flow-v2 .publish-flow-progress { line-height: 1.4; }
  html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page^="publish-"] #page-register.publish-flow-v2 .publish-saas-quota { line-height: 1.35; }
  html:not(.staff-space):not(.zd-staff-mode):not([data-ui-area="staff"]) body[data-promo-page^="publish-"] #page-register.publish-flow-v2 .promo-operator-image { width: 140px; right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html:not(.staff-space):not([data-ui-area="staff"]) body[data-promo-page] .promo-operator-image { animation: none; transition: none; }
}
