/* Chart input, flow selection, and asynchronous generation states. */

.lz-form-page {
  position: relative;
  width: min(100%, 1440px);
  margin-inline: auto;
  padding: clamp(18px, 3vw, 42px);
  color: var(--lz-ink, #35443b);
  isolation: isolate;
}

.lz-form-page::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--lz-radius-xl, 32px);
  background:
    radial-gradient(circle at 13% 14%, rgba(255, 255, 255, 0.9) 0 3%, transparent 18%),
    radial-gradient(circle at 88% 8%, rgba(226, 188, 166, 0.2), transparent 30%),
    linear-gradient(140deg, rgba(225, 236, 216, 0.64), rgba(255, 249, 237, 0.86) 52%, rgba(226, 232, 241, 0.62));
  content: "";
  pointer-events: none;
}

/* The chart artwork is a page-level world layer.  It deliberately sits
   behind the semantic content instead of being clipped into the left aside. */
.lz-form-world {
  --lz-form-desktop-art-edge: min(100%, calc(100cqw * 9 / 16));
  --lz-form-world-base: #eef2e7;
  container-type: inline-size;
  overflow-x: clip;
  background: var(--lz-form-world-base);
}

.lz-form-world-picture {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  overflow: hidden;
  background: var(--lz-form-world-base);
  pointer-events: none;
}

.lz-form-world-picture img {
  position: absolute;
  top: 0;
  left: clamp(-420px, -25vw, -300px);
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left top;
  opacity: 0.92;
  transform: none;
}

.lz-form-world-picture::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 40%, rgba(238, 242, 231, .86) 64%, var(--lz-form-world-base) 72%),
    linear-gradient(180deg, transparent 0 calc(var(--lz-form-desktop-art-edge) - 120px), var(--lz-form-world-base) var(--lz-form-desktop-art-edge));
  content: "";
  pointer-events: none;
}

.lz-form-world::before {
  z-index: -1;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(238, 242, 231, 0.04) 0 46%, rgba(255, 250, 241, 0.68) 57%, rgba(255, 250, 241, 0.96) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 251, 242, 0.4));
}

.lz-form-world--ziwei::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 17% 19%, rgba(239, 225, 255, 0.48) 0 2px, transparent 4px),
    radial-gradient(circle at 31% 31%, rgba(255, 250, 224, 0.7) 0 1px, transparent 4px),
    radial-gradient(circle at 12% 52%, rgba(222, 208, 255, 0.52), transparent 19%),
    linear-gradient(108deg, rgba(115, 88, 165, 0.12), transparent 42%);
  content: "";
  pointer-events: none;
}

.lz-form-heading {
  max-width: 760px;
  margin: 0 auto clamp(22px, 3vw, 38px);
  text-align: center;
}

.lz-form-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid rgba(112, 94, 151, 0.16);
  border-radius: 999px;
  background: rgba(255, 252, 244, 0.76);
  color: var(--lz-purple-700, #6e5a9b);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lz-form-heading h1 {
  margin: 14px 0 8px;
  color: var(--lz-sage-900, #2f3c35);
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 750;
  line-height: 1.16;
  letter-spacing: 0.02em;
}

.lz-form-heading p {
  margin: 0;
  color: var(--lz-muted, #6b766f);
  font-size: clamp(0.95rem, 1.4vw, 1.06rem);
  line-height: 1.75;
}

.lz-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(500px, 0.92fr);
  grid-template-areas:
    "art panel"
    "art assurance";
  align-items: start;
  gap: clamp(16px, 2vw, 26px);
}

.lz-form-panel,
.lz-form-assurance__card,
.lz-select-card,
.lz-pending-card {
  border: 1px solid rgba(105, 126, 111, 0.13);
  box-shadow: 0 18px 54px rgba(74, 91, 79, 0.1);
}

.lz-form-visual {
  grid-area: art;
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 620px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: visible;
  padding: clamp(20px, 2.4vw, 32px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.lz-form-world__art {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.lz-form-visual::after {
  position: absolute;
  inset: 56% -10% -4%;
  z-index: 1;
  background: radial-gradient(ellipse at 34% 100%, rgba(231, 239, 224, 0.94), transparent 70%);
  content: "";
  pointer-events: none;
}

.lz-form-visual__copy {
  position: relative;
  z-index: 2;
  color: rgba(35, 56, 46, 0.9);
}

/* Bazi input is kept compact enough for its real three-step contract and CTA
   to remain visible in a desktop viewport. */
.lz-form-page--bazi {
  padding: 2px 10px 10px;
}

.lz-form-page--bazi .lz-form-heading {
  margin-bottom: 14px;
}

.lz-form-page--bazi .lz-form-heading h1 {
  margin: 8px 0 4px;
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
}

.lz-form-page--bazi .lz-form-heading p {
  font-size: 0.92rem;
  line-height: 1.5;
}

.lz-form-page--bazi .lz-form-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(500px, 0.92fr);
  gap: clamp(14px, 1.6vw, 22px);
}

.lz-form-page--bazi .lz-form-visual {
  min-height: 604px;
}

.lz-form-page--bazi .lz-form-panel {
  padding: 18px 22px;
}

.lz-form-page--bazi .lz-stepper {
  margin-bottom: 13px;
  padding-bottom: 13px;
}

.lz-form-page--bazi .lz-stepper .step-num {
  margin-bottom: 4px;
}

.lz-form-page--bazi .lz-form {
  gap: 8px;
}

.lz-form-page--bazi .lz-field {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 11px;
}

.lz-form-page--bazi .lz-field__icon {
  width: 38px;
  height: 38px;
}

.lz-form-page--bazi .lz-field__hint {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.lz-form-page--bazi .lz-field__label {
  margin-bottom: 2px;
  font-size: 0.86rem;
}

.lz-form-page--bazi .lz-field__control {
  min-height: 42px;
}

.lz-form-page--bazi .lz-segmented {
  margin-top: 4px;
}

.lz-form-page--bazi .lz-stepper .lz-stepper__item > span:last-child,
.lz-form-page--bazi .lz-form-tip p > span {
  display: none;
}

.lz-form-page--bazi .lz-form-tip {
  align-items: center;
  padding: 9px 11px;
}

.lz-form-page--bazi .lz-form-tip > .round-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

.lz-form-page--bazi .lz-form-submit {
  min-height: 46px;
}

.lz-form-visual__copy > span {
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.lz-form-visual__copy h2 {
  margin: 8px 0;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.35;
}

.lz-form-visual__copy p {
  margin: 0;
  color: rgba(45, 65, 55, 0.72);
  font-size: 0.9rem;
  line-height: 1.75;
}

.lz-form-panel {
  grid-area: panel;
  min-width: 0;
  padding: clamp(20px, 3vw, 34px);
  border-radius: var(--lz-radius-xl, 30px);
  background: rgba(255, 252, 244, 0.9);
  backdrop-filter: blur(18px);
}

.lz-form-panel .lz-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.lz-stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 26px;
  padding: 0 0 22px;
  border-bottom: 1px solid rgba(97, 113, 101, 0.12);
  list-style: none;
}

.lz-stepper .lz-stepper__item {
  position: relative;
  min-width: 0;
  padding-inline: 7px;
}

.lz-stepper .lz-stepper__item::after {
  position: absolute;
  top: 14px;
  left: calc(50% + 20px);
  width: calc(100% - 40px);
  height: 1px;
  background: rgba(110, 92, 153, 0.24);
  content: "";
}

.lz-stepper .lz-stepper__item:last-child::after { display: none; }

.lz-stepper .step-num {
  width: 30px;
  height: 30px;
  margin-top: 0;
  margin-bottom: 8px;
  border: 1px solid rgba(110, 92, 153, 0.28);
  background: #fffaf0;
  color: #6c6481;
}

.lz-stepper .is-current .step-num,
.lz-stepper .is-complete .step-num {
  border-color: transparent;
  background: linear-gradient(135deg, #9b86d7, #735ea9);
  box-shadow: 0 6px 16px rgba(112, 91, 164, 0.23);
  color: #fff;
}

.lz-stepper strong,
.lz-stepper .lz-stepper__item > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lz-form {
  display: grid;
  gap: 14px;
}

.lz-field {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  min-height: 0;
  margin: 0;
  padding: 15px;
  border: 1px solid rgba(95, 111, 99, 0.12);
  border-radius: var(--lz-radius-md, 18px);
  background: rgba(255, 255, 255, 0.7);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.lz-field:hover {
  border-color: rgba(116, 96, 162, 0.25);
  background: rgba(255, 255, 255, 0.9);
}

.lz-field:focus-within {
  border-color: rgba(116, 96, 162, 0.48);
  box-shadow: 0 0 0 3px rgba(126, 104, 181, 0.11);
}

fieldset.lz-field {
  min-width: 0;
}

.lz-field__icon {
  width: 42px;
  height: 42px;
  margin: 0;
  border-color: rgba(118, 101, 157, 0.14);
  background: linear-gradient(145deg, #f4efff, #fff8e9);
  color: #8068b5;
}

.lz-field__body { min-width: 0; }

.lz-field__label {
  display: block;
  margin: 0 0 4px;
  color: var(--lz-sage-900, #314039);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.4;
}

legend.lz-field__label {
  float: none;
  width: auto;
  padding: 0;
}

.lz-field__hint {
  margin: 0 0 9px;
  color: var(--lz-muted, #728078);
  font-size: 0.78rem;
  line-height: 1.5;
}

.lz-form-page .lz-field__control {
  width: 100%;
  min-height: 46px;
  margin: 0;
  border: 1px solid rgba(82, 100, 88, 0.2);
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.96);
  color: #2e3d35;
  font: inherit;
  outline: none;
}

.lz-form-page textarea.lz-field__control {
  min-height: 92px;
  resize: vertical;
}

.lz-form-page .lz-field__control:hover { border-color: rgba(112, 90, 160, 0.34); }

.lz-form-page .lz-field__control:focus-visible {
  border-color: #7963ad;
  box-shadow: 0 0 0 3px rgba(121, 99, 173, 0.14);
}

.lz-form-page .lz-field__control:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.lz-segmented {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.lz-segmented label { min-width: 0; }

.lz-segmented label > span {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(92, 107, 96, 0.18);
  border-radius: 12px;
  background: #fffdf8;
  color: #536159;
  font-weight: 700;
  transition: 150ms ease;
}

.lz-segmented input:checked + span {
  border-color: rgba(116, 94, 167, 0.45);
  background: linear-gradient(135deg, #eee8ff, #e5ecdc);
  color: #654e98;
}

.lz-segmented input:focus-visible + span {
  outline: 3px solid rgba(118, 94, 174, 0.22);
  outline-offset: 2px;
}

.lz-form-tip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(208, 148, 107, 0.18);
  border-radius: 14px;
  background: rgba(255, 241, 224, 0.62);
}

.lz-form-tip p,
.lz-form-waiting p {
  margin: 0;
}

.lz-form-tip strong,
.lz-form-tip span {
  display: block;
}

.lz-form-tip strong { margin-bottom: 2px; color: #6c5749; }
.lz-form-tip span { color: #7d7169; font-size: 0.8rem; line-height: 1.55; }

.lz-form-submit {
  min-height: 50px;
  margin-top: 2px;
  border-radius: 15px;
}

.lz-form-waiting {
  padding: 14px 16px;
  text-align: center;
}

.lz-form-waiting p {
  margin-top: 8px;
  color: var(--lz-muted, #6f7a73);
  font-size: 0.84rem;
}

.lz-form-assurance {
  grid-area: assurance;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 12px;
}

.lz-form-assurance__card {
  display: flex;
  min-height: 104px;
  align-items: center;
  gap: 12px;
  padding: 17px;
  border-radius: var(--lz-radius-lg, 20px);
  background: rgba(255, 252, 244, 0.84);
}

.lz-form-assurance__card > i {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  background: #e6eddc;
  color: #71876d;
}

.lz-form-assurance__card span,
.lz-form-assurance__card strong,
.lz-form-assurance__card small { display: block; }
.lz-form-assurance__card strong { color: #405047; font-size: 0.9rem; }
.lz-form-assurance__card small { margin-top: 3px; color: #7a857e; line-height: 1.45; }

/* Quiet reading worlds reuse the supplied low-contrast watercolor washes.
   Controls stay on their existing readable glass surfaces above this layer. */
.lz-reading-world {
  position: relative;
  overflow-x: clip;
  isolation: isolate;
}

.lz-reading-world-picture {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.lz-reading-world-picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.82) contrast(0.96);
  opacity: 0.56;
}

.lz-reading-world--quiet::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 255, 255, 0.84), transparent 24%),
    linear-gradient(135deg, rgba(249, 250, 244, 0.64), rgba(255, 248, 239, 0.7));
  content: "";
  pointer-events: none;
}

.lz-reading-world--coral::before {
  background:
    radial-gradient(circle at 84% 6%, rgba(255, 226, 207, 0.4), transparent 30%),
    linear-gradient(135deg, rgba(251, 250, 244, 0.7), rgba(255, 246, 235, 0.66));
}

.lz-pending-page {
  display: grid;
  min-height: min(720px, calc(100dvh - 150px));
  padding: clamp(22px, 5vw, 64px) 18px;
  place-items: center;
}

.lz-pending-card {
  width: min(100%, 640px);
  padding: clamp(24px, 5vw, 48px);
  border-radius: var(--lz-radius-xl, 32px);
  background:
    radial-gradient(circle at 50% 0%, rgba(220, 211, 255, 0.42), transparent 36%),
    rgba(255, 252, 243, 0.92);
  text-align: center;
}

.lz-pending-orbit {
  position: relative;
  display: grid;
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
  place-items: center;
  border: 1px solid rgba(120, 100, 169, 0.2);
  border-radius: 50%;
}

.lz-pending-orbit::before,
.lz-pending-orbit::after {
  position: absolute;
  inset: 20% -14%;
  border: 1px solid rgba(116, 95, 164, 0.2);
  border-radius: 50%;
  content: "";
  transform: rotate(24deg);
}

.lz-pending-orbit::after { transform: rotate(-24deg); }
.lz-pending-card h1 {
  margin: 14px 0 8px;
  color: #324138;
  font-size: clamp(1.65rem, 4vw, 2.25rem);
}

.lz-pending-lead,
.lz-pending-note {
  margin: 0 auto;
  color: #707b74;
  line-height: 1.7;
}

.lz-pending-progress {
  width: min(100%, 390px);
  height: 7px;
  margin: 24px auto 16px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(114, 93, 163, 0.12);
}

.lz-pending-progress span {
  display: block;
  width: 44%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9d88d7, #755fad, #d9a88f);
  animation: lz-pending-progress 1.8s ease-in-out infinite alternate;
}

.lz-pending-card .lz-status {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 9px 15px;
  border-radius: 999px;
  background: #f0eafd;
  color: #695397;
  font-weight: 700;
}

.lz-pending-card .lz-status--error {
  background: #fff0ed;
  color: #a64f45;
}

.lz-pending-note { max-width: 460px; font-size: 0.84rem; }

.lz-pending-actions {
  justify-content: center;
  margin-top: 22px;
}

.lz-select-page { max-width: 1000px; }

.lz-select-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.lz-select-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  min-height: 116px;
  align-items: center;
  gap: 15px;
  padding: 20px;
  border-radius: var(--lz-radius-lg, 22px);
  background: rgba(255, 252, 244, 0.88);
  color: #405047;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.lz-select-card:hover {
  border-color: rgba(119, 96, 171, 0.26);
  box-shadow: 0 22px 52px rgba(80, 91, 82, 0.14);
  color: #5f4a91;
  text-decoration: none;
  transform: translateY(-2px);
}

.lz-select-card:focus-visible {
  outline: 3px solid rgba(116, 92, 168, 0.28);
  outline-offset: 3px;
}

.lz-select-card > i:first-child {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg, #efe9ff, #e4ecda);
  color: #765fac;
}

.lz-select-card span,
.lz-select-card strong,
.lz-select-card small { display: block; }
.lz-select-card small { margin-top: 4px; color: #758079; line-height: 1.5; }

.lz-select-legacy {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(105, 126, 111, 0.13);
  border-radius: var(--lz-radius-lg, 20px);
  background: rgba(255, 252, 244, 0.82);
}

.lz-select-legacy h2 { margin: 0 0 10px; color: #405047; font-size: 1rem; }
.lz-select-legacy ul { display: grid; gap: 7px; margin: 0; padding-left: 1.2em; color: #6f7a73; }

@keyframes lz-pending-progress {
  from { transform: translateX(-20%); }
  to { transform: translateX(145%); }
}

@media (max-width: 1120px) {
  .lz-form-layout {
    grid-template-columns: minmax(200px, 0.72fr) minmax(430px, 1.4fr);
  }

  .lz-form-assurance {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lz-form-assurance__card { min-height: 88px; }
}

@media (max-width: 800px) {
  .lz-form-page { padding: 18px 14px 104px; }

  .lz-form-page::before { border-radius: 22px; }

  .lz-form-heading {
    margin-bottom: 18px;
    text-align: left;
  }

  .lz-form-heading h1 { margin-top: 11px; }

  .lz-form-layout { display: flex; flex-direction: column; }

  .lz-form-page--bazi {
    padding-top: 2px;
  }

  .lz-form-page--bazi .lz-form-heading {
    margin-bottom: 10px;
  }

  .lz-form-page--bazi .lz-form-heading h1 {
    margin: 7px 0 3px;
    font-size: 1.55rem;
  }

  .lz-form-page--bazi .lz-form-heading p {
    font-size: 0.82rem;
  }

  .lz-form-page--bazi .lz-form-layout {
    gap: 10px;
  }

  .lz-form-page--bazi .lz-form-panel {
    padding: 14px;
  }

  .lz-form-visual {
    min-height: 180px;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    padding: 18px;
    border-radius: 22px;
  }

  .lz-form-visual__copy h2 { font-size: 1.12rem; }
  .lz-form-visual__copy p { font-size: 0.78rem; }

  .lz-form-panel { padding: 18px; border-radius: 22px; }

  .lz-form-assurance {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lz-form-assurance__card { min-height: 82px; padding: 14px; }
}

@media (max-width: 520px) {
  .lz-form-page { padding-inline: 10px; }

  .lz-form-page--bazi {
    padding-top: 0;
  }

  .lz-form-page--bazi .lz-form-heading p {
    display: none;
  }

  .lz-form-eyebrow { font-size: 0.7rem; }

  .lz-form-visual {
    min-height: 144px;
    padding: 14px;
  }

  .lz-form-visual__copy > span { font-size: 0.66rem; }
  .lz-form-visual__copy h2 { margin: 5px 0; font-size: 0.96rem; }
  .lz-form-visual__copy p { display: none; }

  .lz-form-panel { padding: 14px; }

  .lz-form-page--bazi .lz-form-panel {
    padding: 11px;
  }

  .lz-stepper { margin-bottom: 18px; padding-bottom: 16px; }
  .lz-stepper .lz-stepper__item { padding-inline: 3px; }
  .lz-stepper strong { font-size: 0.75rem; }
  .lz-stepper .lz-stepper__item > span:last-child { font-size: 0.66rem; }

  .lz-field { grid-template-columns: 36px minmax(0, 1fr); gap: 9px; padding: 12px; }
  .lz-field__icon { width: 36px; height: 36px; }

  .lz-form-page--bazi .lz-form {
    gap: 7px;
  }

  .lz-form-page--bazi .lz-field {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 8px;
    padding: 8px 9px;
  }

  .lz-form-page--bazi .lz-field__icon {
    width: 34px;
    height: 34px;
  }

  .lz-form-page--bazi .lz-field__hint {
    display: none;
  }

  .lz-form-page--bazi .lz-field__control {
    min-height: 40px;
  }

  .lz-form-page--bazi .lz-form-tip {
    align-items: center;
    padding: 7px 9px;
  }

  .lz-form-page--bazi .lz-form-tip p > span {
    display: none;
  }

  .lz-form-assurance__card {
    min-height: 76px;
    gap: 8px;
    padding: 11px;
  }

  .lz-form-assurance__card > i { width: 34px; height: 34px; }
  .lz-form-assurance__card strong { font-size: 0.8rem; }
  .lz-form-assurance__card small { font-size: 0.68rem; }

  .lz-select-grid { grid-template-columns: 1fr; }
  .lz-select-card { min-height: 98px; padding: 16px; }

  .lz-pending-page { padding-inline: 10px; }
  .lz-pending-card { padding: 24px 18px; border-radius: 24px; }
  .lz-pending-actions { display: grid; grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .lz-pending-progress span { animation: none; transform: translateX(65%); }
  .lz-select-card,
  .lz-field { transition: none; }
}

/* Keep secondary service notes below the Bazi form as a quiet footer strip. */
.lz-form-page--bazi .lz-form-layout {
  grid-template-areas: "art panel";
}

.lz-form-page--bazi > .lz-form-assurance--footer {
  display: grid;
  width: min(100%, 1120px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 14px auto 0;
  padding: 10px 12px;
  border-top: 1px solid rgba(105, 126, 111, 0.16);
}

.lz-form-page--bazi > .lz-form-assurance--footer .lz-form-assurance__card {
  min-height: 0;
  gap: 7px;
  padding: 7px 9px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 252, 244, 0.38);
  box-shadow: none;
}

.lz-form-page--bazi > .lz-form-assurance--footer .lz-form-assurance__card > i {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  font-size: 0.7rem;
}

.lz-form-page--bazi > .lz-form-assurance--footer .lz-form-assurance__card strong {
  font-size: 0.72rem;
  line-height: 1.25;
}

.lz-form-page--bazi > .lz-form-assurance--footer .lz-form-assurance__card small {
  margin-top: 1px;
  font-size: 0.64rem;
  line-height: 1.35;
}

@media (max-width: 800px) {
  .lz-form-page--bazi > .lz-form-assurance--footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 4px;
    padding: 9px 0 0;
  }
}
