.mj-ready { padding-bottom: var(--mj-footer-space, 112px); }
[data-journey-heading][hidden], [data-journey-nav][hidden] { display: none; }
.mj-ready [data-journey-hidden], .mj-ready .memora-submit { display: none !important; }
.mj-ready .memora-custom-layout { display: block; }
.mj-ready .memora-custom-product { display: none; }
.mj-ready .mi-workspace > .mi-heading h2 { display: none; }
.mj-ready .mi-workspace > .mi-heading { justify-content: flex-end; margin-bottom: 8px; }
.mj-ready .mi-composition-brief > .mi-field { display: none; }
.mj-nav ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; border-bottom: 1px solid #d7ded9; }
.mj-nav li { min-width: 0; }
.mj-nav button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 72px; padding: 10px; border: 0; border-bottom: 3px solid transparent; background: none; text-align: left; color: #59655f; }
.mj-nav button[aria-current] { border-bottom-color: #225b48; color: #174d39; background: #f1f6f3; }
.mj-step-number { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; border: 1px solid #c3cdc7; border-radius: 50%; font-size: 12px; }
.mj-nav button[aria-current] .mj-step-number { background: #225b48; border-color: #225b48; color: white; }
.mj-step-copy { min-width: 0; display: grid; gap: 3px; }
.mj-step-copy strong { font-size: 13px; line-height: 1.4; font-weight: 650; overflow-wrap: anywhere; }
.mj-step-copy small { font-size: 11px; line-height: 1.5; color: #617069; min-height: 17px; overflow-wrap: anywhere; }
.mj-stage-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 20px 0 0; scroll-margin-top: 92px; outline: none; }
.mj-stage-heading h2 { margin: 0; font-size: 20px; font-weight: 650; }
.mj-stage-heading > span { font-size: 12px; color: #617069; }
.mj-start { padding-bottom: 14px; }
.mj-start h3 { margin: 0 0 12px; font-size: 16px; }
.mj-start-options { display: flex; gap: 10px; flex-wrap: wrap; }
.mj-start-options button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 10px 16px; border: 1px solid #cbd7d0; border-radius: 4px; background: #fff; color: #225b48; font-size: 14px; }
.mj-start-options button:first-child { background: #edf4ef; border-color: #a9c1b4; }
.mj-no-product .mp-picker > :is(h2, .mp-current), .mj-no-product [data-action=product] { display: none; }
.mj-no-product:not(.mj-has-references) .mi-reference-bar, .mj-ready:not(.mj-has-references) .mi-reference-list { display: none; }
.mj-no-product .mp-picker { padding: 0; margin: 0; border: 0; }
.mj-parts-status { font-size: 13px; line-height: 1.6; padding: 8px 0; color: #617069; }
.mj-parts-fixes { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 0 12px; }
.mj-parts-fixes[hidden], .mj-parts-fixes button[hidden], .mi-batch-material[hidden] { display: none; }
.mj-parts-fixes .mi-command { min-height: 44px; }
.mj-parts-fixes button span { overflow-wrap: anywhere; }
.mi-batch-material { padding: 12px 0; border-block: 1px solid #d7ded9; margin: 12px 0; }
.mi-batch-material summary { min-height: 44px; padding: 10px 0; cursor: pointer; color: #225b48; font-size: 13px; line-height: 1.6; }
.mi-batch-material-controls { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding-top: 6px; }
.mi-batch-material-controls :is(input, select) { min-width: 0; min-height: 44px; font-size: 13px; }
.mi-batch-material-controls .mi-command { min-height: 44px; justify-self: start; }
.mi-batch-material-controls .mi-command span { overflow-wrap: anywhere; }
.mi-batch-material .mi-status { margin: 8px 0 0; }
.mj-ready .mi-component { scroll-margin-block: 100px; }
.mi-component-list-tools { display: flex; justify-content: flex-end; gap: 4px; }
.mi-component-list-tools .mi-icon { width: 44px; height: 44px; flex-basis: 44px; }
.mi-component:has(> .mi-component-summary) { padding: 0; border-left: 3px solid transparent; }
.mi-component[data-design-selected=true]:has(> .mi-component-summary) { border-left-color: #347761; }
.mi-component-summary { display: flex; align-items: center; gap: 12px; min-height: 78px; padding: 14px 8px; cursor: pointer; list-style: none; }
.mi-component-summary::-webkit-details-marker { display: none; }
.mi-component-summary > i:first-child { flex: 0 0 24px; font-size: 22px; color: #527463; text-align: center; }
.mi-component-summary-copy { display: grid; gap: 3px; min-width: 0; flex: 1; }
.mi-component-summary-copy strong { font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.mi-component-summary-copy > span { font-size: 12px; line-height: 1.5; color: #617069; overflow-wrap: anywhere; }
.mi-component-summary-copy small { font-size: 11px; line-height: 1.5; color: #805d23; overflow-wrap: anywhere; }
.mi-component[data-part-ready=true] .mi-component-summary-copy small { color: #225b48; }
.mi-component-chevron { flex: 0 0 18px; color: #617069; }
.mi-component[open] > .mi-component-summary .mi-component-chevron { transform: rotate(180deg); }
.mi-component-summary:hover, .mi-component[data-design-selected=true] > .mi-component-summary { background: #f1f6f3; }
.mi-component-summary:focus-visible { outline: 2px solid #267da7; outline-offset: -2px; }
.mi-component-body { padding: 4px 8px 18px; }
.mi-component-top > .mi-icon { width: 44px; height: 44px; flex: 0 0 44px; }
.mi-estimate-missing { padding-left: 0; list-style: none; }
.mi-estimate-missing li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid #e5ebe7; }
.mi-estimate-missing li > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.mi-estimate-missing .mi-icon { width: 44px; height: 44px; flex: 0 0 44px; }
.mi-estimate-missing small { flex: 0 0 68px; font-size: 10px; line-height: 1.5; color: #617069; overflow-wrap: anywhere; }
.mj-preview-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 18px; }
.mj-preview-consent { padding: 12px 0; border-block: 1px solid #d7ded9; }
.mj-extra { margin-top: 16px; }
.mj-extra summary { min-height: 44px; padding: 10px 0; font-size: 14px; font-weight: 550; cursor: pointer; }
.mj-extra[open] summary { margin-bottom: 10px; }
.mj-part-advanced > summary { min-height: 44px; padding: 12px 0; cursor: pointer; font-size: 12px; color: #617069; }
.mj-footer { position: fixed; z-index: 100; bottom: 0; left: 50%; transform: translateX(-50%); width: min(calc(100% - 40px), 1120px); display: flex; align-items: center; gap: 14px; padding: 12px 22px max(12px, env(safe-area-inset-bottom)); background: #fff; border: 1px solid #cbd7d0; border-bottom: 0; box-shadow: 0 -3px 12px #182d2110; }
.mj-footer[hidden], .mj-ready:has(.mi-expanded) .mj-footer { display: none; }
.mj-back { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #d7ded9; background: #fff; border-radius: 4px; color: #225b48; }
.mj-back:disabled { opacity: .35; }
.mj-footer-status { flex: 1; min-width: 0; color: #617069; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.mj-footer-actions { display: flex; align-items: center; gap: 12px; max-width: 100%; }
.mj-skip { border: 0; background: none; color: #225b48; font-size: 12px; min-height: 44px; padding: 6px; text-decoration: underline; text-underline-offset: 3px; }
.mj-next { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; max-width: 100%; padding: 11px 18px; background: #225b48; border: 1px solid #225b48; border-radius: 4px; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.4; }
.mj-next span { overflow-wrap: anywhere; }
.mj-next:disabled { background: #e3e9e5; color: #5e6d65; border-color: #d0dad4; cursor: default; }
.mj-review { padding: 0 0 24px; margin-bottom: 24px; border-bottom: 1px solid #d7ded9; }
.mj-review h2 { font-size: 17px; font-weight: 650; margin: 0 0 16px; }
.mj-review-layout { display: flex; align-items: flex-start; gap: 24px; }
.mj-review-layout > img { width: 190px; max-width: 32%; aspect-ratio: 4 / 3; object-fit: contain; background: #f7f9f8; border: 1px solid #e2e8e4; }
.mj-review dl { flex: 1; min-width: 0; margin: 0; }
.mj-review dl > div { display: grid; grid-template-columns: 130px minmax(0, 1fr) 44px; gap: 12px; align-items: center; border-bottom: 1px solid #e5ebe7; }
.mj-review dt, .mj-review dd { font-size: 13px; line-height: 1.5; margin: 0; padding: 8px 0; overflow-wrap: anywhere; }
.mj-review dt { font-weight: 500; color: #617069; }
.mj-review dd { white-space: pre-line; }
.mj-review dl button { width: 44px; height: 44px; border: 0; background: none; color: #225b48; border-radius: 4px; }
.mj-review-checks { padding-top: 16px; font-size: 12px; line-height: 1.6; color: #617069; }
.mj-validation { flex-basis: 100%; color: #8f332a; font-size: 13px; margin: 0; }
.mj-footer:has(.mj-validation:not([hidden])) { flex-wrap: wrap; }
.mj-nav button:hover, .mj-back:not(:disabled):hover, .mj-start-options button:hover, .mj-review button:hover { background: #e8f1ec; }
.mj-nav button:focus-visible, .mj-footer button:focus-visible, .mj-start-options button:focus-visible, .mj-review button:focus-visible { outline: 2px solid #267da7; outline-offset: -2px; }
@media (max-width: 767px) {
  .memora-custom-form.mj-ready { padding: 12px 10px var(--mj-footer-space, 130px); }
  .mj-nav button { flex-direction: column; gap: 6px; text-align: center; padding: 8px 3px; min-height: 100px; }
  .mj-step-copy { gap: 2px; }
  .mj-step-copy strong { font-size: 12px; }
  .mj-step-copy small { font-size: 10px; }
  .mj-stage-heading { padding-top: 16px; scroll-margin-top: 72px; }
  .mj-stage-heading h2 { font-size: 18px; }
  .mj-stage-heading > span { font-size: 11px; }
  .mj-start-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .mj-start-options button { flex-direction: column; padding: 10px 6px; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
  .mj-start-options i { font-size: 21px; }
  .mj-footer { width: 100%; padding: 10px 12px max(10px, env(safe-area-inset-bottom)); gap: 8px; flex-wrap: wrap; }
  .mj-footer-status { order: -1; flex: 1 0 100%; font-size: 11px; }
  .mj-footer-actions { flex: 1; flex-wrap: wrap; gap: 2px; justify-content: flex-end; }
  .mj-next { width: 100%; min-height: 46px; font-size: 13px; }
  .mj-skip { order: 2; min-height: 36px; padding: 4px; font-size: 11px; }
  .mj-review-layout { flex-direction: column; gap: 12px; }
  .mj-review-layout > img { width: 180px; max-width: 100%; }
  .mj-review dl { width: 100%; }
  .mj-review dl > div { grid-template-columns: 95px minmax(0, 1fr) 44px; gap: 8px; }
  .mj-ready .mi-check { min-height: 44px; line-height: 1.5; }
}
@media (any-pointer: coarse) {
  .mj-ready .mi-command, .mj-ready .mp-command { min-height: 44px; }
  .mj-ready :is(input[type=text], input[type=email], input[type=number], input[type=search], textarea, select) { font-size: 16px; }
}
