/* Quatre écrans dans le thème existant ; le contenu reste défilable si nécessaire. */
.is-request-wizard > .request-wizard-intro,.request-wizard-legacy-back,.request-wizard-kind { display:none !important; }
.operation-form-card.is-request-wizard { padding:20px; }
.is-request-wizard .operation-form-heading { margin-bottom:16px; }
.request-step { min-width:0; margin:0; padding:0; border:0; }
.request-step[hidden],.request-wizard-actions [hidden] { display:none !important; }
.request-wizard-progress { margin:0 0 15px; }
.request-wizard-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.request-wizard-heading strong { color:#edf5ff; font-size:15px; font-weight:750; letter-spacing:-.02em; }
.request-wizard-heading strong:focus { outline:none; }
.request-wizard-heading span { color:#9ab5d0; font-size:11px; font-variant-numeric:tabular-nums; }
.request-wizard-progress ol { display:grid; grid-template-columns:1fr 1.3fr 1fr; list-style:none; gap:7px; margin:12px 0 0; padding:0; }
.request-wizard-progress li { padding:7px 0 0; border-top:3px solid #30455d; color:#97aec5; font-size:9px; line-height:1.3; }
.request-wizard-progress li.current { border-color:#f5d27b; color:#ffe4a0; font-weight:750; }
.request-wizard-progress li.done { border-color:#35b384; color:#a2d9c4; }
.is-request-wizard .request-step > .form-group { margin-top:13px; }
.is-request-wizard .request-step > .form-group:first-of-type { margin-top:4px; }
.is-request-wizard .request-step .help { margin:6px 0 0; font-size:10px; }
.is-request-wizard .request-step .network-status-host { margin:14px 0 0; }
.is-request-wizard .request-step .network-status { padding:7px 9px; }
.is-request-wizard .request-step .network-status strong { font-size:10px; }
.is-request-wizard .request-step .network-status span { font-size:10px; margin-top:2px; }
.is-request-wizard .request-step .network-status-caption { font-size:9px; }
.is-request-wizard .request-step .network-option-card { min-height:96px; padding:9px; gap:6px; }
.is-request-wizard .request-step .network-preview { margin:12px 0; padding:10px 12px; }
.is-request-wizard .request-step .request-live-summary { margin-top:4px; padding:14px; }
.is-request-wizard .request-step .request-live-summary dl { margin-top:10px; gap:5px 12px; }
.is-request-wizard .request-step .no-fee-note { margin:10px 0 0; font-size:10px; }
.is-request-wizard .request-step .operation-form-notice { margin:12px 0 4px; padding-top:10px; font-size:10px; line-height:1.6; }
.is-request-wizard .request-step .operation-form-extra { margin-top:12px; padding:9px 0; }
.is-request-wizard .request-step .security-note { margin:10px 0 0; font-size:10px; line-height:1.5; }
.request-wizard-actions { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.6fr); gap:8px; align-items:stretch; margin-top:18px; }
.request-wizard-actions .button { display:flex; align-items:center; justify-content:center; gap:7px; min-width:0; min-height:48px; margin:0; padding:11px 9px; border-radius:12px; font-size:13px; line-height:1.4; letter-spacing:0; text-transform:none; }
.request-wizard-actions .button svg { flex:0 0 18px; width:18px; height:18px; }
.request-wizard-actions .request-wizard-back { min-height:44px; padding:9px 5px; font-size:11px; color:#b6d4f3; }
.request-wizard-actions .request-wizard-back[hidden] + .request-wizard-next { grid-column:1/-1; }
.request-wizard-actions:not(.is-review) .request-wizard-cancel { grid-column:1/-1; min-height:36px; border:0; background:none; color:#96adc5; box-shadow:none; font-size:11px; }
.request-wizard-actions.is-review .request-wizard-back { grid-column:1/-1; min-height:30px; padding:3px; }
.request-wizard-actions.is-review .request-wizard-cancel { color:#b6c8dd; border-color:#405570; background:#112033; }
@media(max-width:380px) { .operation-form-card.is-request-wizard { padding:17px 15px; } .request-wizard-actions .button { font-size:12px; } }

/* Le parcours dispose de sa propre navigation, sans barre flottante sur ses actions. */
.page:has(.is-request-wizard:not(.hidden)) .mobile-bottom-nav,
.page:has(.is-request-wizard:not(.hidden)) > .footer { display:none !important; }
.page:has(.is-request-wizard:not(.hidden)) { padding-bottom:calc(20px + env(safe-area-inset-bottom)); }
.is-request-wizard .operation-form-heading { margin-bottom:12px; }
.is-request-wizard .request-step .amount-options { gap:6px; }
.is-request-wizard .request-step .amount-option { min-height:36px; padding:6px; font-size:12px; }
.is-request-wizard .request-step .network-option-card { min-height:86px; }
.is-request-wizard .request-step .network-preview { display:grid; grid-template-columns:1fr 1fr; gap:3px 8px; margin:10px 0; padding:9px 11px; }
.is-request-wizard .request-step .network-preview small { grid-column:1/-1; }
.is-request-wizard .request-step .network-preview strong,
.is-request-wizard .request-step .network-preview span { margin:0; font-size:11px; }
.is-request-wizard .request-step .network-preview span:last-child { grid-column:1/-1; font-size:9px; }
.is-request-wizard .request-step .no-fee-note { padding:4px 7px; margin-top:7px; }
.request-wizard-actions { margin-top:12px; }
@media(max-width:620px) {
  .operation-form-card.is-request-wizard { padding:17px; }
  .is-request-wizard .operation-form-heading h2 { font-size:20px; }
  .is-request-wizard .operation-form-icon { flex-basis:40px; width:40px; height:40px; }
  .request-wizard-progress { margin-bottom:12px; }
  .request-wizard-progress ol { margin-top:10px; }
  .is-request-wizard .request-step .request-live-summary { padding:11px 12px; }
  .is-request-wizard .request-step .request-live-summary > strong { font-size:16px; }
  .is-request-wizard .request-step .request-live-summary dl { margin-top:8px; font-size:11px; }
}

/* Quatre repères numérotés, remplacés par une coche pour les étapes terminées. */
.request-wizard-progress ol { grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; margin-top:10px; }
.request-wizard-progress li { position:relative; display:grid; justify-items:center; gap:5px; padding:0; border:0; font-size:10px; }
.request-wizard-progress li::before { content:''; position:absolute; top:14px; left:-50%; right:50%; height:2px; background:#30455d; }
.request-wizard-progress li:first-child::before { display:none; }
.request-wizard-progress li.done::before,.request-wizard-progress li.current::before { background:#35b384; }
.request-wizard-progress .step-marker { z-index:1; display:grid; place-items:center; width:30px; height:30px; border:1px solid #405976; border-radius:50%; background:#101e2d; font-size:12px; font-weight:800; }
.request-wizard-progress li.current .step-marker { background:#58451f; border-color:#f5d27b; color:#ffe4a0; }
.request-wizard-progress li.done .step-marker { background:#07523c; border-color:#35b384; color:#c3ffe8; }
.is-request-wizard input:not([type=radio]),.is-request-wizard select { min-height:44px; padding:10px 12px; font-size:16px; }
.is-request-wizard .phone-field input { min-height:42px; }
.is-request-wizard .request-step > .form-group { margin-top:10px; }
.is-request-wizard .request-step .help { font-size:10px; line-height:1.4; }
.is-request-wizard:has(input:not([readonly]):focus) .operation-form-heading { display:none; }
.is-request-wizard .request-step .network-preview,.is-request-wizard .request-step .no-fee-note { display:none; }
.request-review-syntax { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:7px; align-items:center; margin-top:10px; }
.request-review-syntax[hidden] { display:none; }
.request-review-syntax input { width:100%; min-width:0; font-size:12px !important; padding:8px !important; min-height:40px !important; }
.request-review-syntax .button { margin:0; padding:8px 10px; min-height:40px; font-size:11px; text-transform:none; }
.request-review-syntax [role=status] { grid-column:1/-1; color:#a2d9c4; font-size:10px; }
.request-review-syntax [role=status]:empty { display:none; }
/* Suivi compact : les compléments restent consultables à la demande. */
.request-secondary-details,.guest-private-details { margin:10px 0; font-size:12px; color:#adc5df; }
.request-secondary-details summary,.guest-private-details summary { cursor:pointer; padding:7px 0; color:#bdddff; }
#myOperationsView .request-item { padding:14px; }
#myOperationsView .request-amount { font-size:21px; margin:9px 0 5px; }
#myOperationsView .request-actions { margin-top:10px; gap:6px; }
#guestTrackingSummary { padding:14px; line-height:1.7; }
#guestTrackingView .guest-private-details input { min-height:42px; }
#paymentInstructionsView { max-width:680px; padding:20px; }
#paymentInstructionsView .payment-card { padding:14px; margin:12px 0; }
#paymentInstructionsView .payment-tips,#paymentInstructionsView .payment-card h3 { display:none; }
#paymentInstructionsView .payment-detail-grid { gap:10px; }
#paymentInstructionsView .payment-detail { padding:7px; }
#paymentInstructionsView .payment-detail strong { font-size:14px; }
#paymentInstructionsView .payment-detail .amount { font-size:22px; }
#paymentInstructionsView .button { min-height:44px; margin-top:9px; padding:10px; font-size:13px; text-transform:none; }
#paymentSyntaxPanel { margin-top:10px; }
#paymentSyntaxPanel input { min-height:42px; font-size:14px; }
#paymentSyntaxHelp { font-size:11px; }
.ios-payment #copyPaymentSyntax,.ios-payment #copyGuestPaymentSyntax { display:flex; align-items:center; justify-content:center; }
.ios-payment .iphone-payment-steps { font-size:12px; line-height:1.5; margin:10px 0; }
.is-request-wizard input:not([type=radio]) { height:44px; box-sizing:border-box; line-height:22px; }
.is-request-wizard .phone-field input { height:42px; }
