/* Existing wizard layout, isolated from the marketing stylesheet. */
.wizard-page {
  background: var(--surface);
  min-height: 100vh;
}

.wizard-page .container {
  width: min(100% - 2rem, 1180px);
}

.wizard-header {
  background: var(--surface);
  box-shadow: 0 6px 20px rgba(62, 42, 42, 0.08);
}

.wizard-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.wizard-brand img {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.wizard-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.wizard-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 700;
}

.wizard-nav-mobile {
  display: none;
  position: relative;
}

.wizard-nav-mobile summary {
  list-style: none;
  display: grid;
  gap: 0.3rem;
  padding: 0.75rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.wizard-nav-mobile summary::-webkit-details-marker {
  display: none;
}

.wizard-nav-mobile summary span {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: #fff;
  border-radius: 999px;
}

.wizard-nav-mobile nav {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 11rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 0.75rem;
  display: grid;
  gap: 0.25rem;
}

.wizard-nav-mobile nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  padding: 0.5rem 0.65rem;
  border-radius: 0.7rem;
}

.wizard-progress {
  padding: 1.75rem 0 1.25rem;
}

.wizard-progress-mobile {
  display: none;
}

.wizard-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.wizard-step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  text-align: center;
  cursor: pointer;
}

.wizard-step::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: calc(-50% + 1rem);
  width: calc(100% - 2rem);
  height: 2px;
  background: rgba(182, 146, 114, 0.45);
}

.wizard-step:first-child::before {
  display: none;
}

.wizard-step-dot {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(182, 146, 114, 0.45);
  color: #896a50;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.wizard-step-complete .wizard-step-dot,
.wizard-step-current .wizard-step-dot {
  background: #a7805f;
  border-color: #a7805f;
  color: #fff;
}

.wizard-step-complete .wizard-step-dot::before {
  content: "✓";
}

.wizard-step-complete .wizard-step-dot {
  font-size: 0;
}

.wizard-step-copy {
  display: grid;
  gap: 0.15rem;
}

.wizard-step-copy strong {
  font-size: 0.95rem;
}

.wizard-step-copy small {
  color: var(--text-soft);
  font-size: 0.78rem;
}

.wizard-workspace {
  padding-top: 0;
}

.wizard-stage {
  display: grid;
  gap: 1.25rem;
}

.wizard-frame {
  display: grid;
  gap: 1.25rem;
}

.wizard-main {
  display: grid;
  gap: 1.25rem;
}

.wizard-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgb(65 4 53 / 72%);
  border-radius: 1.35rem;
  box-shadow: 0 12px 30px rgba(62, 42, 42, 0.06);
  padding: 1rem;
}

.wizard-intro {
  padding: 1.6rem 1.75rem;
  background: var(--surface);
}

.wizard-intro h1 {
  max-width: none;
  margin-bottom: 0.6rem;
  font-size: clamp(1.9rem, 3vw, 2.45rem);
}

.wizard-intro p {
  color: var(--text-soft);
  margin-bottom: 0;
  max-width: 48rem;
}

.wizard-assistive-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wizard-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(260px, 0.9fr);
  gap: 1.25rem;
  align-items: start;
}

.wizard-content-grid-review {
  grid-template-columns: minmax(0, 2.75fr) minmax(200px, 0.5fr);
  gap: 1.6rem;
}

.wizard-content-grid-modifier {
  grid-template-columns: 1fr;
}

.wizard-content-grid-modifier .wizard-summary {
  display: none;
}

.wizard-stage-stack {
  display: grid;
  min-height: clamp(26rem, 70vh, 48rem);
  align-content: start;
}

.wizard-stage {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.wizard-stage[hidden] {
  display: none !important;
}

.wizard-stage-active {
  animation: wizardStageFade 0.18s ease-out;
}

@keyframes wizardStageFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wizard-editor,
.wizard-summary,
.wizard-actions {
  padding: 1.35rem;
}

.wizard-product-focus {
  padding: 1.1rem 1.25rem;
}

.wizard-product-focus-row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.wizard-focus-field {
  min-width: min(100%, 22rem);
  flex: 1 1 18rem;
}

.wizard-focus-count {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.wizard-single-panel {
  padding: 1.55rem;
}

.wizard-product-empty-shell {
  display: grid;
}

.wizard-inline-create-actions-compact {
  gap: 0.55rem;
}

.wizard-modifier-context-shell {
  display: grid;
  gap: 0;
  position: relative;
  overflow: hidden;
  padding: 1rem 1.35rem;
  border-color: rgba(233, 218, 231, 0.9);
  background: #f7effd;
  box-shadow:
    0 10px 24px rgba(84, 62, 74, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.wizard-modifier-context-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--surface);
  pointer-events: none;
  opacity: 0.8;
}

.wizard-modifier-context-head {
  display: grid;
  grid-template-columns: minmax(240px, 0.92fr) minmax(300px, 0.82fr) minmax(150px, 0.36fr) auto;
  align-items: center;
  gap: 0.9rem;
  position: relative;
  z-index: 1;
}

.wizard-modifier-context-intro {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.wizard-modifier-context-copy {
  display: grid;
  gap: 0.28rem;
}

.wizard-modifier-context-copy h1 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.55rem);
}

.wizard-modifier-context-copy p {
  margin: 0;
  color: rgba(111, 94, 109, 0.8);
  max-width: 100%;
  font-size: 0.96rem;
  line-height: 1.35;
}

.wizard-modifier-context-row {
  display: block;
  min-width: 0;
  
  border-radius: 1rem;
 
}

.wizard-modifier-context-row .wizard-focus-field {
  min-width: 0;
  flex: none;
}

.wizard-modifier-context-row .wizard-field {
  gap: 0.4rem;
}

.wizard-modifier-context-row .wizard-field span {
  font-size: 0.87rem;
  color: rgba(92, 79, 92, 0.86);
}

.wizard-modifier-context-row .wizard-select-shell select {
  min-height: 2.85rem;
  padding-top: 0.72rem;
  padding-bottom: 0.72rem;
  border-color: rgba(225, 213, 224, 0.94);
  box-shadow: inset 0 1px 2px rgba(105, 88, 99, 0.04);
}

.wizard-modifier-context-row .wizard-select-shell::after {
  right: 0.9rem;
}

.wizard-modifier-context-detail {
  align-self: center;
  margin: 0;
  padding-left: 1rem;
  min-height: 3.6rem;
  display: flex;
  align-items: center;
  border-left: 1px solid rgba(227, 214, 226, 0.86);
  font-size: 0.92rem;
  line-height: 1.35;
  color: rgba(104, 90, 102, 0.82);
}

.wizard-modifier-context-support {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding: 0;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.wizard-modifier-context-support .wizard-panel-note {
  margin: 0;
  max-width: 11rem;
  font-size: 0.92rem;
  line-height: 1.35;
  color: rgba(104, 90, 102, 0.82);
}

.wizard-modifier-context-support .wizard-inline-create-actions {
  flex-wrap: nowrap;
}

.wizard-modifier-context-support .button-secondary {
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  border-color: rgba(227, 177, 132, 0.88);
  background: rgba(255, 249, 243, 0.68);
  color: #c27943;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.wizard-modifier-context-support .button-secondary:hover,
.wizard-modifier-context-support .button-secondary:focus-visible {
  background: rgba(255, 247, 238, 0.92);
  border-color: rgba(219, 165, 118, 0.9);
  color: #b56d39;
}

.wizard-section-icon-hero {
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 50%;
  border-color: rgba(241, 233, 237, 0.95);
  background: var(--surface);
  box-shadow:
    0 8px 18px rgba(101, 82, 92, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  color: transparent;
}

.wizard-section-icon-hero svg {
  width: 6rem;
  height: 6.7rem;
}

.wizard-empty-state-strong {
  gap: 0.75rem;
  padding: 1.25rem;
  border-style: solid;
  background: var(--surface);
}

.wizard-empty-state-strong .wizard-inline-create-actions {
  margin-top: 0.2rem;
}

.wizard-build-panel {
  padding: 1.45rem;
  display: grid;
  gap: 1.1rem;
}

.wizard-onboarding-panel {
  display: grid;
  gap: 1.1rem;
}

.wizard-build-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.wizard-build-head h2,
.wizard-build-head p {
  margin: 0;
}

.wizard-build-head p {
  color: var(--text-soft);
  margin-top: 0.35rem;
}

.wizard-build-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.wizard-review-panel {
  padding: 1.45rem;
  display: grid;
  gap: 1.1rem;
}

.wizard-review-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.wizard-review-head h2,
.wizard-review-head p,
.wizard-review-issues-head h3,
.wizard-review-issues-head p {
  margin: 0;
}

.wizard-review-head p,
.wizard-review-issues-head p {
  color: var(--text-soft);
  margin-top: 0.35rem;
}

.wizard-review-badges,
.wizard-confidence-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.wizard-review-badge,
.wizard-build-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.wizard-review-badge-error,
.wizard-build-status-error,
.wizard-validation-item-error {
  background: #fff1f1;
  border: 1px solid #f1c1c1;
  color: #9d3c3c;
}

.wizard-review-badge-warning,
.wizard-build-status-warning,
.wizard-validation-item-warning {
  background: #fff7ea;
  border: 1px solid #f0d4a2;
  color: #8a5a13;
}

.wizard-review-badge-info,
.wizard-build-status-info,
.wizard-validation-item-info,
.wizard-build-pill {
  background: #f3f3ff;
  border: 1px solid #d7d4fb;
  color: #5145a6;
}

.wizard-review-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.wizard-review-summary-card,
.wizard-build-status,
.wizard-build-confidence,
.wizard-review-confidence {
  border: 1px solid #ead9e9;
  border-radius: 1rem;
  background: #fff;
  padding: 1rem;
}

.wizard-review-summary-card h3,
.wizard-review-summary-card p,
.wizard-review-confidence p,
.wizard-build-status p,
.wizard-build-confidence p,
.wizard-build-confidence strong,
.wizard-review-confidence strong {
  margin: 0;
}

.wizard-review-summary-card p {
  margin-top: 0.35rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.wizard-review-confidence,
.wizard-build-confidence {
  display: grid;
  gap: 0.7rem;
}

.wizard-review-confidence p,
.wizard-build-status p,
.wizard-build-confidence p {
  color: var(--text-soft);
}

.wizard-review-issues {
  display: grid;
  gap: 0.85rem;
}

.wizard-review-issues-list {
  display: grid;
  gap: 0.75rem;
}

.wizard-layout-review {
  padding: 1.45rem;
  display: grid;
  gap: 1.1rem;
}

.wizard-layout-review-head h2,
.wizard-layout-review-head p {
  margin: 0;
}

.wizard-layout-review-head p {
  margin-top: 0.35rem;
  color: var(--text-soft);
}

.wizard-layout-review-insights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.wizard-layout-pill {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(234, 217, 233, 0.72);
  border-radius: 1rem;
  background: var(--surface);
  color: #695363;
  font-size: 0.92rem;
  line-height: 1.45;
}

.wizard-layout-review-categories {
  display: grid;
  gap: 1.2rem;
}

.wizard-layout-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.75rem;
  border-radius: 999px;
  padding: 0.22rem 0.66rem;
  border: 1px solid rgba(228, 213, 227, 0.82);
  background: rgba(255, 255, 255, 0.9);
  color: #6f5b68;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.wizard-layout-badge-soft {
  background: rgba(248, 242, 248, 0.72);
  border-color: rgba(232, 219, 232, 0.75);
  color: #7b6874;
}

.wizard-layout-badge-shared {
  background: rgba(243, 240, 251, 0.9);
  border-color: rgba(221, 213, 243, 0.9);
  color: #5d5290;
}

.wizard-layout-badge-warning {
  background: #fff7ec;
  border-color: #efd4af;
  color: #906125;
}

.wizard-blueprint-category {
  border: 1px solid rgba(231, 216, 230, 0.9);
  border-radius: 1.2rem;
  background: var(--surface);
  overflow: hidden;
}

.wizard-blueprint-category summary {
  list-style: none;
}

.wizard-blueprint-category summary::-webkit-details-marker {
  display: none;
}

.wizard-blueprint-category-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
  gap: 0.9rem;
  padding: 1.2rem 1.2rem 1rem;
  cursor: pointer;
}

.wizard-blueprint-category-summary::after {
  content: "⌄";
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1;
}

.wizard-blueprint-category[open] .wizard-blueprint-category-summary::after {
  transform: rotate(180deg);
}

.wizard-blueprint-category-anchor {
  display: grid;
  gap: 0.28rem;
}

.wizard-blueprint-category-kicker {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wizard-blueprint-category-anchor h3,
.wizard-blueprint-category-anchor p {
  margin: 0;
}

.wizard-blueprint-category-anchor h3 {
  font-size: 1.1rem;
}

.wizard-blueprint-category-anchor p {
  color: var(--text-soft);
}

.wizard-blueprint-category-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.wizard-blueprint-category-body {
  display: grid;
  gap: 0.85rem;
  padding: 0 1.2rem 1.2rem;
  border-top: 1px solid rgba(239, 226, 239, 0.76);
}

.wizard-blueprint-category-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  padding-top: 1rem;
}

.wizard-blueprint-category-stat {
  border-radius: 0.95rem;
  border: 1px solid rgba(239, 226, 239, 0.86);
  background: rgba(255, 255, 255, 0.9);
  padding: 0.85rem 0.95rem;
  display: grid;
  gap: 0.2rem;
}

.wizard-blueprint-category-stat span {
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.wizard-blueprint-category-stat strong {
  font-size: 1.08rem;
  color: #4f3f4a;
}

.wizard-blueprint-product-grid {
  display: grid;
  gap: 0.9rem 1rem;
}

.wizard-blueprint-product {
  border: 1px solid rgba(236, 222, 236, 0.92);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.97);
  overflow: hidden;
}

.wizard-blueprint-product summary {
  list-style: none;
}

.wizard-blueprint-product summary::-webkit-details-marker {
  display: none;
}

.wizard-blueprint-product-summary {
  display: grid;
  gap: 0.4rem;
  padding: 0.82rem 0.95rem 0.78rem;
  cursor: pointer;
  position: relative;
  padding-right: 2.35rem;
}

.wizard-blueprint-product-summary::after {
  content: "⌄";
  position: absolute;
  right: 0.95rem;
  top: 0.88rem;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1;
}

.wizard-blueprint-product[open] .wizard-blueprint-product-summary::after {
  transform: rotate(180deg);
}

.wizard-blueprint-product-body {
  padding: 0 0.95rem 0.78rem;
  border-top: 1px solid rgba(240, 230, 240, 0.72);
}

.wizard-blueprint-product-body-simple {
  padding-top: 0.8rem;
}

.wizard-blueprint-product-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
  gap: 0.55rem 0.85rem;
}

.wizard-blueprint-product-head h4,
.wizard-blueprint-product-head p {
  margin: 0;
}

.wizard-blueprint-product-head h4 {
  font-size: 1rem;
  line-height: 1.28;
}

.wizard-blueprint-product-head p {
  color: var(--text-soft);
  margin-top: 0.08rem;
  font-size: 0.9rem;
}

.wizard-blueprint-product-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.32rem;
}

.wizard-blueprint-product-glance {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.55rem;
}

.wizard-blueprint-product-glance span {
  display: inline-flex;
  align-items: center;
  min-height: 1.45rem;
  padding: 0.08rem 0.22rem;
  border-radius: 999px;
  background: transparent;
  color: #76616f;
  font-size: 0.76rem;
  font-weight: 600;
}

.wizard-blueprint-groups {
  display: grid;
  gap: 0.42rem;
  padding-top: 0.55rem;
}

.wizard-blueprint-group {
  border: 1px solid rgba(238, 228, 238, 0.76);
  border-radius: 0.78rem;
  background: rgba(252, 249, 252, 0.82);
  overflow: hidden;
}

.wizard-blueprint-group summary {
  list-style: none;
}

.wizard-blueprint-group summary::-webkit-details-marker {
  display: none;
}

.wizard-blueprint-group-summary {
  padding: 0.56rem 0.72rem 0.52rem;
  cursor: pointer;
  position: relative;
  padding-right: 1.8rem;
}

.wizard-blueprint-group-summary::after {
  content: "⌄";
  position: absolute;
  right: 0.72rem;
  top: 0.68rem;
  color: var(--text-soft);
  font-size: 0.76rem;
  line-height: 1;
}

.wizard-blueprint-group[open] .wizard-blueprint-group-summary::after {
  transform: rotate(180deg);
}

.wizard-blueprint-group-body {
  padding: 0 0.72rem 0.58rem;
  border-top: 1px solid rgba(241, 232, 241, 0.55);
}

.wizard-blueprint-group-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.28rem 0.65rem;
  align-items: center;
}

.wizard-blueprint-group-head h5,
.wizard-blueprint-group-head span {
  margin: 0;
}

.wizard-blueprint-group-head h5 {
  font-size: 0.9rem;
  line-height: 1.25;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  align-items: baseline;
}

.wizard-blueprint-group-head h5 span {
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 500;
}

.wizard-blueprint-group-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.26rem;
}

.wizard-blueprint-rule {
  display: inline-flex;
  align-items: center;
  min-height: 1.3rem;
  border-radius: 999px;
  padding: 0.04rem 0.42rem;
  background: rgba(247, 242, 247, 0.72);
  color: #6f5d68;
  font-size: 0.72rem;
  font-weight: 650;
}

.wizard-blueprint-rule-shared {
  background: rgba(241, 238, 251, 0.82);
  color: #5d5290;
}

.wizard-blueprint-group-options-shell {
  display: grid;
  gap: 0.22rem;
  padding-top: 0.34rem;
}

.wizard-blueprint-group-options-shell summary {
  cursor: pointer;
  color: #67525f;
  font-size: 0.78rem;
  font-weight: 700;
}

.wizard-blueprint-options {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.05rem;
}

.wizard-blueprint-option {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.22rem 0;
  border-bottom: 1px solid rgba(241, 233, 241, 0.56);
  line-height: 1.18;
  font-size: 0.9rem;
}

.wizard-blueprint-option:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.wizard-blueprint-option-price {
  color: var(--text-soft);
  font-size: 0.76rem;
  white-space: nowrap;
}

.wizard-blueprint-note {
  border-radius: 0.9rem;
  background: #fbf8fb;
  padding: 0.85rem 0.95rem;
}

.wizard-blueprint-note p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.wizard-validation-item {
  border-radius: 1rem;
  padding: 0.95rem 1rem;
  display: grid;
  gap: 0.35rem;
}

.wizard-validation-item[role="button"] {
  cursor: pointer;
}

.wizard-validation-item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.wizard-validation-item-head h4,
.wizard-validation-item p {
  margin: 0;
}

.wizard-validation-severity {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.72);
}

.wizard-validation-meta {
  color: var(--text-soft);
  font-size: 0.87rem;
}

.wizard-validation-context {
  display: grid;
  gap: 0.25rem;
}

.wizard-validation-context p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.wizard-validation-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 0.2rem;
}

.wizard-review-fix-button {
  min-height: 2.35rem;
}

.wizard-build-status {
  display: grid;
  gap: 0.35rem;
}

.wizard-build-status strong {
  font-size: 0.96rem;
}

.wizard-build-preview {
  overflow: auto;
  max-width: 100%;
  min-height: 22rem;
  max-height: 34rem;
  padding: 1rem;
  border: 1px solid rgba(234, 217, 233, 0.86);
  border-radius: 1rem;
  background: #fffdfd;
  color: #58434c;
  font:
    0.86rem/1.5 "Courier New",
    monospace;
  white-space: pre;
}

.wizard-placeholder-stack {
  display: grid;
  gap: 1rem;
}

.wizard-placeholder-block {
  border: 1px solid rgba(234, 217, 233, 0.72);
  border-radius: 1rem;
  background: var(--surface);
  padding: 1.35rem;
}

.wizard-placeholder-block h2 {
  margin-bottom: 0.45rem;
  font-size: 1.15rem;
}

.wizard-placeholder-block p {
  color: var(--text-soft);
  margin-bottom: 0;
}

.wizard-desktop-sections {
  display: grid;
  gap: 1rem;
}

.wizard-mobile-accordion {
  display: none;
}

.wizard-panel {
  background: var(--surface);
  border: 1px solid rgba(234, 217, 233, 0.68);
  border-radius: 1.1rem;
  padding: 1.3rem;
}

.wizard-panel-head {
  margin-bottom: 1rem;
}

.wizard-panel-head h2,
.wizard-summary h2 {
  margin-bottom: 0.35rem;
  font-size: 1.2rem;
}

.wizard-panel-head p,
.wizard-panel-body p,
.wizard-summary p,
.wizard-summary ol {
  margin-bottom: 0;
}

.wizard-panel-head p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.wizard-order-panel .wizard-panel-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: baseline;
}

.wizard-order-panel .wizard-panel-head p {
  font-size: 0.88rem;
}

.wizard-panel-body {
  display: grid;
  gap: 1.15rem;
}

.wizard-field {
  display: grid;
  gap: 0.45rem;
}

.wizard-field span {
  font-weight: 700;
  font-size: 0.95rem;
}

.wizard-field small {
  color: var(--text-soft);
  font-size: 0.84rem;
  line-height: 1.45;
}

.wizard-field input,
.wizard-select-shell select {
  width: 100%;
  min-height: 3rem;
  border-radius: 0.8rem;
  border: 1px solid #e4d5e4;
  background: #fff;
  padding: 0.8rem 0.95rem;
  font: inherit;
  color: var(--text);
}

.wizard-select-shell {
  position: relative;
}

.wizard-select-shell::after {
  content: "⌄";
  position: absolute;
  right: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-soft);
  pointer-events: none;
}

.wizard-select-shell select {
  appearance: none;
}

.wizard-link-button {
  border: 0;
  background: transparent;
  color: #4f0b46;
  font: inherit;
  font-weight: 700;
  padding: 0;
  justify-self: start;
  cursor: pointer;
}

.wizard-link-button-secondary {
  color: #8f688a;
  font-weight: 600;
}

.wizard-link-button-danger {
  color: #9e7272;
  font-weight: 600;
}

.wizard-link-button:hover,
.wizard-link-button:focus-visible {
  color: #a94ea0;
}

.wizard-link-button-secondary:hover,
.wizard-link-button-secondary:focus-visible {
  color: #7b5a76;
}

.wizard-link-button-danger:hover,
.wizard-link-button-danger:focus-visible {
  color: #885e5e;
}

.wizard-field input:focus-visible,
.wizard-select-shell select:focus-visible,
.wizard-link-button:focus-visible,
.wizard-mini-button:focus-visible,
.wizard-step:focus-visible,
.wizard-step-arrow:focus-visible,
.wizard-accordion-label:focus-visible,
.wizard-build-preview:focus-visible,
.wizard-nav a:focus-visible,
.wizard-nav-mobile summary:focus-visible,
.wizard-actions .button:focus-visible {
  outline: 3px solid rgba(203, 112, 191, 0.28);
  outline-offset: 2px;
}

.wizard-field input[aria-invalid="true"],
.wizard-select-shell select[aria-invalid="true"] {
  border-color: #d98080;
  box-shadow: inset 0 0 0 1px rgba(217, 128, 128, 0.28);
}

.wizard-inline-create {
  display: grid;
  gap: 0.8rem;
  padding: 1.05rem;
  border: 1px solid rgba(234, 217, 233, 0.7);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.96);
}

.wizard-inline-hint {
  min-height: 1.2rem;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.wizard-inline-hint.wizard-inline-hint-match {
  color: #8d5a2d;
}

.wizard-inline-hint.wizard-inline-hint-new {
  color: #6f3a74;
}

.wizard-progressive-note {
  display: grid;
  gap: 0.55rem;
  padding: 1.1rem;
  border: 1px dashed rgba(216, 191, 215, 0.9);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.98);
}

.wizard-progressive-note h3,
.wizard-progressive-note p {
  margin: 0;
}

.wizard-progressive-note p {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.wizard-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.wizard-choice-card {
  display: grid;
  gap: 0.42rem;
  text-align: left;
  min-height: 5.25rem;
  padding: 1.1rem;
  border: 1px solid rgba(234, 217, 233, 0.7);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.98);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.wizard-choice-card strong,
.wizard-choice-card span {
  margin: 0;
}

.wizard-choice-card span {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.wizard-choice-card:hover,
.wizard-choice-card:focus-visible {
  border-color: #d58fd4;
  box-shadow: inset 0 0 0 1px rgba(213, 143, 212, 0.25);
  outline: none;
}

.wizard-inline-create-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.wizard-group-attach-shell,
.wizard-group-editor {
  display: grid;
  gap: 0.95rem;
  padding: 1.15rem;
  border: 1px solid rgba(236, 226, 233, 0.86);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.985);
}

.wizard-group-editor-focus {
  display: grid;
  gap: 0.98rem;
}

.wizard-group-editor-head,
.wizard-option-editor-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.65rem;
  align-items: flex-start;
}

.wizard-group-editor-heading {
  display: grid;
  gap: 0.18rem;
}

.wizard-group-editor-kicker {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wizard-group-editor-head h3,
.wizard-option-editor-head h4 {
  margin: 0;
}

.wizard-group-editor-head p,
.wizard-option-editor-head p,
.wizard-group-editor-impact {
  margin: 0;
}

.wizard-group-editor-title {
  margin: 0;
  font-family: inherit;
  font-size: 1.6rem;
  line-height: 1.15;
}

.wizard-group-editor-impact {
  color: rgba(42, 147, 127, 0.72);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.48rem 0.7rem;
  border-radius: 999px;
  background: rgba(241, 247, 243, 0.9);
}

.wizard-group-editor-impact:empty {
  display: none;
}

.wizard-group-editor-secondary {
  display: grid;
  gap: 0.62rem;
  padding: 0.88rem 0.94rem 0.94rem;
  border: 1px solid rgba(232, 226, 218, 0.86);
  border-radius: 1rem;
  background: var(--surface);
}

.wizard-group-editor-secondary .wizard-link-button {
  justify-self: start;
  color: rgba(123, 101, 120, 0.88);
  font-weight: 600;
}

.wizard-group-editor-secondary .wizard-link-button:hover,
.wizard-group-editor-secondary .wizard-link-button:focus-visible {
  color: rgba(102, 82, 100, 0.96);
}

.wizard-group-editor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.wizard-option-editor {
  display: grid;
  gap: 0.78rem;
  padding-top: 0.34rem;
}

.wizard-option-list {
  display: grid;
  gap: 0.9rem;
}

.wizard-option-row-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(120px, 0.78fr);
  gap: 0.78rem;
  align-items: end;
}

.wizard-option-row .wizard-field {
  gap: 0.32rem;
}

.wizard-option-row .wizard-field span {
  color: rgba(111, 92, 108, 0.72);
  font-size: 0.77rem;
}

.wizard-option-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.78rem 0.95rem;
  align-items: center;
  padding: 0.96rem 1rem;
  border: 1px solid rgba(235, 229, 224, 0.88);
  border-radius: 0.95rem;
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.wizard-option-row-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 100%;
  min-height: 3.3rem;
  border-radius: 0.78rem;
  background: var(--surface);
  color: rgba(169, 150, 134, 0.9);
  border: 1px solid rgba(232, 225, 216, 0.92);
}

.wizard-option-row-actions,
.wizard-order-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.wizard-option-row-actions {
  align-self: center;
  padding-left: 0.15rem;
  opacity: 0.8;
}

.wizard-mini-button {
  min-height: 2.35rem;
  min-width: 2.35rem;
  padding: 0.42rem 0.62rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(225, 213, 222, 0.92);
  background: rgba(255, 255, 255, 0.88);
  color: rgba(94, 78, 91, 0.78);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.wizard-mini-button:hover,
.wizard-mini-button:focus-visible {
  border-color: rgba(181, 207, 202, 0.92);
  background: rgba(247, 252, 251, 0.96);
  color: rgba(72, 123, 117, 0.94);
  transform: translateY(-1px);
  outline: none;
}

.wizard-mini-button:disabled {
 
  cursor: default;
}

.wizard-subheading {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

.wizard-group-list {
  display: grid;
  gap: 0.75rem;
}

.wizard-mobile-editor-actions {
  display: grid;
  gap: 0.65rem;
}

.wizard-workshop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  align-items: center;
  padding-top: 0.2rem;
}

.wizard-modifier-shell {
  display: grid;
  gap: 1.08rem;
  position: relative;
}

.wizard-modifier-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  background: var(--surface);
  pointer-events: none;
  opacity: 0.9;
}

[data-step-panel="modifier"] .wizard-editor {
  background: var(--surface);
  border-color: rgba(232, 223, 233, 0.88);
  box-shadow:
    0 22px 52px rgba(80, 61, 74, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.wizard-modifier-shell-primary {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.35fr);
  gap: 1.2rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.wizard-modifier-panel {
  height: 100%;
  border-color: rgba(228, 220, 231, 0.88);
  box-shadow:
    0 14px 32px rgba(80, 61, 74, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.wizard-modifier-panel-head {
  margin-bottom: 1rem;
}

.wizard-modifier-panel-head p:last-child {
  max-width: 34rem;
}

.wizard-panel-heading-cluster {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.wizard-modifier-panel-body {
  gap: 1rem;
}

.wizard-modifier-panel-navigator .wizard-group-list {
  gap: 0.7rem;
}

.wizard-modifier-panel .wizard-workshop-actions {
  gap: 0.45rem 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(230, 223, 231, 0.72);
}

.wizard-modifier-panel .wizard-workshop-actions-utility {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.88rem 1.4rem;
  align-items: start;
}

.wizard-modifier-panel .wizard-link-button {
  color: #26889a;
  font-size: 0.92rem;
  font-weight: 600;
}

.wizard-modifier-panel .wizard-workshop-actions-utility .wizard-link-button {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  min-height: 1.1rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  justify-self: start;
  transition: color 160ms ease, opacity 160ms ease;
}

.wizard-modifier-panel .wizard-workshop-actions-utility .wizard-link-button-icon {
  width: 0.9rem;
  height: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.wizard-modifier-panel .wizard-workshop-actions-utility .wizard-link-button-icon svg {
  width: 0.875rem;
  height: 0.875rem;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.wizard-modifier-panel .wizard-workshop-actions-utility .wizard-link-button-label {
  display: inline-block;
}

.wizard-modifier-panel .wizard-link-button-secondary {
  color: #26889a;
}

.wizard-modifier-panel .wizard-link-button-arrange {
  color: rgba(110, 120, 128, 0.9);
}

.wizard-modifier-panel .wizard-link-button-danger {
  color: #d65252;
}

.wizard-modifier-panel .wizard-workshop-actions-utility .wizard-link-button:hover,
.wizard-modifier-panel .wizard-workshop-actions-utility .wizard-link-button:focus-visible {
  opacity: 0.84;
}

.wizard-modifier-panel .wizard-workshop-actions-utility .wizard-link-button-secondary:hover,
.wizard-modifier-panel .wizard-workshop-actions-utility .wizard-link-button-secondary:focus-visible {
  color: #217989;
}

.wizard-modifier-panel .wizard-workshop-actions-utility .wizard-link-button-arrange:hover,
.wizard-modifier-panel .wizard-workshop-actions-utility .wizard-link-button-arrange:focus-visible {
  color: rgba(94, 104, 112, 0.96);
}

.wizard-modifier-panel .wizard-workshop-actions-utility .wizard-link-button-danger:hover,
.wizard-modifier-panel .wizard-workshop-actions-utility .wizard-link-button-danger:focus-visible {
  color: #c64747;
}

@media (min-width: 700px) {
  .wizard-modifier-panel .wizard-workshop-actions-utility {
    grid-template-columns: minmax(0, max-content) minmax(0, max-content);
  }
}

.wizard-modifier-panel-navigator {
  background: var(--surface);
}

.wizard-modifier-panel-navigator .wizard-panel-head h2 {
  color: rgba(72, 57, 70, 0.92);
}

.wizard-modifier-panel-navigator .wizard-panel-head p:last-child,
.wizard-modifier-panel-navigator .wizard-panel-kicker {
  color: rgba(109, 92, 106, 0.8);
}

.wizard-modifier-panel-editor {
  background: #ffffff;
   
  border-color: rgba(226, 216, 205, 0.88);
  box-shadow:
    0 18px 36px rgba(86, 67, 57, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.wizard-modifier-panel-editor .wizard-group-editor {
  min-height: 100%;
  align-content: start;
  border-color: rgba(231, 221, 212, 0.9);
  background: #03bef30a;
    
  box-shadow:
    0 18px 42px rgba(84, 66, 58, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.wizard-modifier-panel-secondary {
  background: var(--surface);
}

.wizard-reuse-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  width: min(32rem, calc(100vw - 2rem));
  max-width: 32rem;
}

.wizard-reuse-dialog::backdrop {
  background: rgba(48, 36, 48, 0.32);
}

.wizard-reuse-card {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  border: 1px solid rgba(231, 215, 231, 0.88);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 24px 48px rgba(57, 38, 56, 0.14);
}

.wizard-reuse-copy {
  display: grid;
  gap: 0.35rem;
}

.wizard-reuse-copy h2,
.wizard-reuse-copy p {
  margin: 0;
}

.wizard-reuse-label {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wizard-reuse-note {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.wizard-reuse-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.wizard-order-dialog-list {
  display: grid;
  gap: 0.7rem;
}

.wizard-order-card .wizard-order-chip {
  width: 100%;
  justify-content: space-between;
}

.wizard-group-item {
  display: flex;
  justify-content: space-between;
  gap: 0.9rem;
  align-items: center;
  border: 1px solid rgba(232, 226, 234, 0.82);
  background: #f8ecfb;
  border-radius: 0.95rem;
  padding: 0.88rem 0.94rem;
}

.wizard-group-item.wizard-group-item-selected {
  border-color: rgba(203, 220, 220, 0.88);
  background: rgba(243, 249, 248, 0.94);
  box-shadow: inset 0 0 0 1px rgba(211, 229, 227, 0.54);
}

.wizard-group-item-main {
  display: flex;
  gap: 0.6rem;
  align-items: start;
  min-width: 0;
  flex: 1 1 auto;
}

.wizard-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.wizard-section-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1.8rem;
  border: 1px solid rgba(232, 225, 233, 0.86);
  background: rgba(255, 255, 255, 0.74);
  color: #3fb3b0;
}

.wizard-section-icon-hero {
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 50%;
  border-color: rgba(241, 233, 237, 0.95);
  background: var(--surface);
  box-shadow:
    0 8px 18px rgba(101, 82, 92, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  color: transparent;
}

.wizard-section-icon-editor {
  color: rgba(133, 118, 97, 0.82);
  background: rgba(255, 253, 249, 0.76);
  border-color: rgba(255, 255, 255, 0.88);
  width: 4rem;
}

.wizard-section-icon svg,
.wizard-option-row-marker svg {
  width: 2rem;
  height: 2rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wizard-section-icon-hero svg {
  width: 5rem;
  height: 5.7rem;
}

.wizard-option-row-marker svg circle {
  fill: currentColor;
  stroke: none;
}

.wizard-group-item-copy {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.wizard-group-item-state {
  margin: 0;
  color: rgba(119, 106, 116, 0.56);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wizard-group-item h3 {
  margin: 0;
  font-size: 1rem;
}

.wizard-group-item p {
  color: rgba(104, 87, 101, 0.6);
  font-size: 0.82rem;
  margin: 0;
}

.wizard-group-item-meta {
  display: grid;
  gap: 0.28rem;
  justify-items: end;
  text-align: right;
  flex: 0 0 auto;
}

.wizard-group-item-meta p {
  font-size: 0.78rem;
  color: rgba(114, 95, 110, 0.5);
}

.wizard-mini-button-active {
  background: rgba(238, 249, 247, 0.98);
  border-color: rgba(159, 205, 198, 0.95);
  color: rgba(74, 130, 122, 0.96);
}

.wizard-field-highlight {
  animation: wizardFieldPulse 1.3s ease-out;
}

@keyframes wizardFieldPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(213, 143, 212, 0);
    border-color: inherit;
  }

  20% {
    box-shadow: 0 0 0 4px rgba(213, 143, 212, 0.18);
    border-color: #d58fd4;
  }

  100% {
    box-shadow: 0 0 0 0 rgba(213, 143, 212, 0);
    border-color: inherit;
  }
}

.wizard-empty-state {
  border: 1px dashed rgba(220, 191, 219, 0.84);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.98);
  padding: 1.1rem;
  display: grid;
  gap: 0.42rem;
}

.wizard-empty-state h3,
.wizard-empty-state p {
  margin: 0;
}

.wizard-empty-state p {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.wizard-panel-note {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.wizard-check-chip {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #d58fd4;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.wizard-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.wizard-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.wizard-order-chip {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.95rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(231, 215, 231, 0.82);
  background: #fdf9fc;
  font-weight: 700;
}

.wizard-order-chip span {
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f0ddef;
  color: #9b5a98;
  font-size: 0.82rem;
}

.wizard-order-chip button {
  border: 0;
  background: transparent;
  color: #bb8cb6;
  font-size: 1rem;
  padding: 0;
  cursor: pointer;
}

.wizard-order-chip {
  align-items: center;
}

.wizard-summary {
  display: grid;
  gap: 0.9rem;
  position: sticky;
  top: 6.75rem;
  background: var(--surface);
}

.wizard-step-disabled {
  opacity: 0.55;
  cursor: default;
}

.wizard-step-disabled .wizard-step-dot {
  background: #ece7ec;
  color: #918291;
}

.wizard-summary-label {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.wizard-summary-card {
  border: 1px solid rgba(237, 220, 237, 0.68);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 1rem;
  padding: 1rem;
}

.wizard-summary-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  color: #6f5567;
}

.wizard-summary-card p,
.wizard-summary-card li {
  font-size: 0.95rem;
}

.wizard-summary-card ol {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.35rem;
}

.wizard-summary-note {
  color: var(--text-soft);
  font-size: 0.82rem;
  margin-bottom: 0.75rem;
}

.wizard-summary-order {
  list-style: none;
  padding-left: 0;
  gap: 0.55rem;
}

.wizard-summary-order li {
  border: 1px solid rgba(237, 220, 237, 0.68);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.98);
  padding: 0.75rem 0.85rem;
}

.wizard-summary-review {
  gap: 0.8rem;
}

.wizard-summary-review .wizard-summary-card {
  background: var(--surface);
}

.wizard-summary-review [data-summary-title] {
  font-size: 1.28rem;
  line-height: 1.25;
}

.wizard-summary-review [data-summary-card-one-body],
.wizard-summary-review [data-summary-card-two-body] {
  font-size: 1rem;
  line-height: 1.45;
  color: #55444f;
}

.wizard-summary-review [data-summary-card-three-list],
.wizard-summary-review [data-summary-card-four-list] {
  list-style: none;
  padding-left: 0;
  gap: 0.55rem;
}

.wizard-summary-review [data-summary-card-three-list] li,
.wizard-summary-review [data-summary-card-four-list] li {
  border: 1px solid rgba(237, 224, 237, 0.78);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.62rem 0.75rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: rgba(118, 104, 204, 0.09);
}

.wizard-action-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.wizard-review-button {
  background: #eed5f0;
  border-color: #eed5f0;
  color: #6f3a74;
}

.wizard-review-button:hover,
.wizard-review-button:focus-visible {
  background: #e6c4ea;
  border-color: #e6c4ea;
  color: #6f3a74;
}

.wizard-accordion-section {
  border: 1px solid rgba(234, 217, 233, 0.7);
  border-radius: 1rem;
  background: var(--surface);
  overflow: hidden;
}

.wizard-accordion-label {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.05rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.wizard-accordion-icon {
  color: var(--text-soft);
  transition: transform 0.2s ease;
}

.wizard-accordion-body {
  display: grid;
  gap: 1rem;
  padding: 0 1.05rem 1.05rem;
}

.wizard-accordion-open .wizard-accordion-icon {
  transform: rotate(180deg);
}

@media (max-width: 1023px) {
  .wizard-content-grid {
    grid-template-columns: 1fr;
  }

  .wizard-stage-stack {
    min-height: auto;
  }

  .wizard-summary {
    position: static;
  }
}

@media (max-width: 767px) {
  .wizard-modifier-context-intro,
  .wizard-panel-heading-cluster {
    align-items: flex-start;
  }

  .wizard-modifier-context-row {
    width: 100%;
    padding: 0.85rem;
  }

  .wizard-header-inner {
    padding: 0.75rem 0;
  }

  .wizard-brand img {
    width: 58px;
    height: 58px;
  }

  .wizard-nav-desktop {
    display: none;
  }

  .wizard-nav-mobile {
    display: block;
  }

  .wizard-progress {
    padding: 1rem 0;
  }

  .wizard-progress-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
  }

  .wizard-progress-mobile-label {
    margin: 0;
    font-weight: 700;
    color: var(--text-soft);
  }

  .wizard-step-arrow {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    border: 1px solid #d9c7d8;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    font: inherit;
    font-size: 1.1rem;
  }

  .wizard-step-arrow:disabled {
    opacity: 0.45;
  }

  .wizard-steps {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    justify-items: center;
  }

  .wizard-step {
    width: 100%;
    max-width: 16rem;
  }

  .wizard-step::before {
    display: none;
  }

  .wizard-step:not(.wizard-step-current) {
    display: none;
  }

  .wizard-intro,
  .wizard-product-focus,
  .wizard-single-panel,
  .wizard-review-panel,
  .wizard-editor,
  .wizard-summary,
  .wizard-actions {
    padding: 1.05rem;
  }

  .wizard-desktop-sections {
    display: none;
  }

  .wizard-mobile-accordion {
    display: grid;
    gap: 0.95rem;
  }

  .wizard-stage {
    gap: 0.9rem;
  }

  .wizard-panel-body,
  .wizard-placeholder-stack,
  .wizard-review-issues {
    gap: 1rem;
  }

  .wizard-progressive-note .button {
    width: 100%;
  }

  .wizard-actions,
  .wizard-action-group {
    flex-direction: column;
  }

  .wizard-action-group {
    width: 100%;
  }

  .wizard-action-group .button,
  .wizard-action-cancel {
    width: 100%;
  }

  .wizard-group-item,
  .wizard-group-item-main {
    align-items: flex-start;
  }

  .wizard-group-item {
    flex-direction: column;
  }

  .wizard-group-item-meta {
    width: 100%;
    justify-items: start;
    text-align: left;
  }

  .wizard-inline-create-actions .button {
    width: 100%;
  }

  .wizard-mobile-accordion [data-accordion-section="modifier-groups"] .wizard-workshop-actions-utility {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
    gap: 0.8rem;
  }

  .wizard-mobile-accordion [data-accordion-section="modifier-groups"] .wizard-workshop-actions-utility .wizard-link-button {
    width: 100%;
    min-width: 0;
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    line-height: 1.3;
    text-align: left;
    padding: 0.75rem 0.9rem;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.72);
  }

  .wizard-mobile-accordion [data-accordion-section="modifier-groups"] .wizard-workshop-actions-utility .wizard-link-button-icon {
    display: none;
  }

  .wizard-mobile-accordion [data-accordion-section="modifier-groups"] .wizard-workshop-actions-utility .wizard-link-button-label {
    min-width: 0;
    flex: 1 1 auto;
  }

  .wizard-mobile-accordion [data-accordion-section="modifier-groups"] .wizard-group-list {
    display: flex;
    overflow-x: auto;
    gap: 0.8rem;
    padding-bottom: 0.2rem;
    scroll-snap-type: x proximity;
  }

  .wizard-mobile-accordion [data-accordion-section="modifier-groups"] .wizard-group-item {
    min-width: min(18rem, calc(100vw - 3.25rem));
    flex: 0 0 min(18rem, calc(100vw - 3.25rem));
    scroll-snap-align: start;
  }

  .wizard-mobile-accordion [data-accordion-section="modifier-editor"] .wizard-group-editor,
  .wizard-mobile-accordion [data-accordion-section="modifier-editor"] .wizard-group-editor-secondary,
  .wizard-mobile-accordion [data-accordion-section="modifier-editor"] .wizard-option-list {
    overflow-x: auto;
  }

  .wizard-mobile-accordion [data-accordion-section="modifier-editor"] .wizard-option-row,
  .wizard-mobile-accordion [data-accordion-section="modifier-editor"] .wizard-group-editor-grid {
    min-width: 19rem;
  }

  .wizard-group-editor-grid,
  .wizard-option-row,
  .wizard-review-summary-grid,
  .wizard-choice-grid,
  .wizard-blueprint-category-stats {
    grid-template-columns: 1fr;
  }

  .wizard-option-row-marker {
    width: 100%;
    min-height: 2.25rem;
  }

  .wizard-option-row-fields {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .wizard-layout-review,
  .wizard-review-panel {
    padding: 1.1rem;
  }

  .wizard-layout-review-insights {
    grid-template-columns: 1fr;
  }

  .wizard-blueprint-category-summary,
  .wizard-blueprint-product-head,
  .wizard-blueprint-group-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .wizard-blueprint-category-meta,
  .wizard-blueprint-product-meta,
  .wizard-blueprint-group-meta {
    justify-content: flex-start;
  }

  .wizard-blueprint-product-summary,
  .wizard-blueprint-product-body {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .wizard-blueprint-group-summary,
  .wizard-blueprint-group-body {
    padding-left: 0.72rem;
    padding-right: 0.72rem;
  }

  .wizard-blueprint-product-glance {
    gap: 0.35rem 0.55rem;
  }

  .wizard-option-row-actions,
  .wizard-order-controls {
    width: 100%;
  }

  .wizard-build-preview {
    min-height: 18rem;
    max-height: 24rem;
    padding: 0.9rem;
  }

  .wizard-build-actions .button {
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .wizard-modifier-context-row {
    width: 100%;
  }

  .wizard-header-inner {
    padding: 0.9rem 0;
  }

  .wizard-brand img {
    width: 64px;
    height: 64px;
  }

  .wizard-progress {
    padding-top: 1.2rem;
  }

  .wizard-progress-mobile {
    display: none;
  }

  .wizard-step-copy small {
    display: none;
  }

  .wizard-editor {
    padding: 1.05rem;
  }

  .wizard-layout-review,
  .wizard-review-panel,
  .wizard-build-panel {
    padding: 1.15rem;
  }

  .wizard-desktop-sections {
    display: none;
  }

  .wizard-mobile-accordion {
    display: grid;
    gap: 0.9rem;
  }

  .wizard-review-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wizard-layout-review-insights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wizard-blueprint-category-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .wizard-layout-review-categories {
    gap: 1.25rem;
  }

  .wizard-blueprint-product-grid {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  }

  .wizard-content-grid-review .wizard-summary {
    max-width: 17rem;
    justify-self: end;
  }

  .wizard-blueprint-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 0.85rem;
  }
}

@media (min-width: 1280px) {
  .wizard-page .container {
    width: min(100% - 3rem, 1380px);
  }

  .wizard-content-grid-review {
    grid-template-columns: minmax(0, 3.05fr) minmax(190px, 0.42fr);
    gap: 1.9rem;
  }

  .wizard-blueprint-product-grid {
    grid-template-columns: repeat(auto-fit, minmax(355px, 1fr));
    gap: 1rem 1.1rem;
  }

  .wizard-content-grid-review .wizard-summary {
    max-width: 15.75rem;
  }
}

@media (min-width: 1500px) {
  .wizard-page .container {
    width: min(100% - 3.5rem, 1540px);
  }

  .wizard-content-grid-review {
    grid-template-columns: minmax(0, 3.3fr) minmax(180px, 0.34fr);
    gap: 2.15rem;
  }

  .wizard-blueprint-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem 1.15rem;
  }

  .wizard-blueprint-groups {
    gap: 0.7rem 0.95rem;
  }

  .wizard-content-grid-review .wizard-summary {
    max-width: 14.75rem;
  }
}

@media (min-width: 1024px) {
  .wizard-mobile-accordion {
    display: none;
  }
}

