.service-card.journey-service { display: flex; flex-direction: column; gap: .75rem; }
.journey-service h2, .journey-service p { margin: 0; }
.journey-service .journey-question { color: var(--ink, #243c31); font-weight: 600; }
.journey-service .journey-prepare { color: #49564d; line-height: 1.65; }
.journey-service .oem-route-action { align-self: start; margin-block-start: auto; padding-block: .65rem; }
.journey-reply h2 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
.journey-wa { border: 1px solid #c4d2c6; border-radius: .5rem; padding: 1rem; margin-block: 1rem; background: #f0f4ec; }
.journey-wa .field-hint, .journey-wa [role=status]:not(:empty) { margin: .5rem 0 0; }
.journey-wa [role=status]:empty { display: none; }
.journey-wa textarea { width:100%; margin-block:.6rem; }
.journey-wa .text-link { margin-inline-end: 1rem; min-height:44px; }
.journey-wa [hidden], .journey-wa[hidden] { display: none !important; }
@media(max-width:650px) { .journey-wa .button { width:100%; white-space:normal; text-align:center; } }
#inquiry-form:has([data-stock-wa-wrap]:not([hidden])) [data-wizard-submit] { background:transparent; border:1px solid #8e9a8d; color:#243c31; }
.atelier-design .product-variant:has([data-product-field="topSize"]),
.catalog-batch-row:has([data-batch-field="topSize"]) { grid-template-columns:repeat(4,minmax(0,1fr)) 44px; }
.sku-group .quote-line-controls:has([data-line-field="topSize"]) { grid-template-columns:repeat(4,minmax(0,1fr)); }
@media(max-width:760px) {
    :is(.atelier-design,body) :is(.product-variant,.catalog-batch-row,.quote-line-controls):has([data-product-field="topSize"],[data-batch-field="topSize"],[data-line-field="topSize"]) {
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:.65rem .75rem;
    }
    /* Each split row is ordered quantity, colour, top size and bottom size in the DOM. */
    :is(.atelier-design,body) :is(.product-variant,.catalog-batch-row,.quote-line-controls):has([data-product-field="topSize"],[data-batch-field="topSize"],[data-line-field="topSize"]) > label:nth-child(n) {
        grid-area:auto; display:flex; flex-direction:column; align-items:stretch; min-width:0;
    }
    .atelier-design .product-variant:has([data-product-field="topSize"]) > button,
    .catalog-batch-row:has([data-batch-field="topSize"]) > button { grid-area:auto; grid-column:1/-1; justify-self:end; }
}

.journey-oem-specs > div { margin-block:.75rem; }
.journey-oem-specs dt { font-size:.85rem; color:#49564d; }
.journey-oem-specs dd { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; }

/* The review step explains delivery channels. Give the editable brief this space on a phone. */
@media (max-width: 760px) {
    .inquiry-dialog:has(#step-need:not([hidden]) .oem-fields:not([hidden])) #inquiry-context,
    .inquiry-dialog #wizard-footer-summary:empty { display: none; }
    .inquiry-dialog .oem-fields [data-oem-primary] { margin-block-end: .75rem; }
    .inquiry-dialog .oem-fields textarea[name="requirements"] { min-height: 5rem; }
    .inquiry-dialog .oem-fields .reference-panel { margin-block: .75rem; }
}

/* The purchase form and its one primary action share the same drawer. */
.inquiry-dialog .oem-route-choice { align-self:center; min-width:0; }
.inquiry-dialog .oem-route-choice > summary { cursor:pointer; padding-block:.6rem; color:var(--ink); }
.inquiry-dialog .oem-route-choice[open] > summary { margin-block-end:.3rem; }
.inquiry-dialog .formal-inquiry-entry { min-height:44px; margin-block:.5rem; }
.inquiry-dialog .wizard-footer .journey-wa { padding:0; margin:0; border:0; background:none; min-width:0; }
.inquiry-dialog .wizard-footer:has(.journey-wa:not([hidden])) .formal-inquiry-actions { display:none; }
.inquiry-dialog .wizard-footer .wa-long-actions { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem .9rem; }
.inquiry-dialog .wa-long-actions [role=status] { flex-basis:100%; font-size:.82rem; line-height:1.4; }
.inquiry-dialog .wizard-footer .wa-long-actions .text-link { margin-inline-end:0; }
@media(max-width:760px) {
 .inquiry-dialog .wizard-footer:has(.journey-wa:not([hidden])) { gap:.25rem; }
 .inquiry-dialog .wizard-footer .journey-wa { display:block; width:100%; }
 .inquiry-dialog .wizard-footer .wa-long-actions .button { width:auto; flex:1; }
 .inquiry-dialog .wizard-footer .wa-long-actions textarea { max-height:5rem; }
}
