/* Navigation de la personnalisation — aperçu local uniquement. */
.editor-panel>h1#editor-step-title{font-size:clamp(40px,4vw,56px);margin:10px 0 14px;outline:none;scroll-margin-top:calc(var(--ac-header-height,94px) + 22px)}
.journey-step-help{font-size:12px;line-height:1.7;color:#727866;margin-bottom:19px;max-width:440px}
.panel-tabs.guided-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));overflow:visible;gap:0;margin-bottom:24px}
.guided-tabs button,.guided-tabs button:first-child{padding:12px 5px;display:flex;gap:5px;align-items:center;justify-content:center;font-size:10px;min-width:0;white-space:normal;line-height:1.4;min-height:50px}
.guided-tabs button:disabled{cursor:default;opacity:.42}
.guided-tabs .tab-number{display:inline-grid;place-items:center;flex:none;width:19px;height:19px;border:1px solid #cbbd9e;border-radius:50%;font-size:9px;color:#7f795f}
.guided-tabs .active .tab-number{background:#2b4434;color:#fff9ed;border-color:#2b4434}
.stepper button:disabled{cursor:default;opacity:.42}
.editor-actions.guided-actions{position:sticky;bottom:0;z-index:12;display:block;background:#f8f5edf5;backdrop-filter:blur(8px);padding:14px 0 18px;margin-top:23px}
.journey-next-note{font-size:10px;color:#7b7c6b;margin:0 0 11px;line-height:1.6}
.journey-next-note strong{color:#45563e;font-weight:600}
.journey-buttons{display:flex;align-items:center;justify-content:space-between;gap:14px}
.journey-buttons .btn{font-size:11px;min-height:44px;padding:11px 22px;line-height:1.4;text-align:center;white-space:normal}
.journey-buttons>.btn.gold{flex:1;min-width:0}
.journey-buttons>.btn.light{flex:none}
.journey-edit-message{display:inline-flex;min-height:44px;align-items:center;margin:0 0 10px;font-size:12px;font-weight:600;color:#314b38}
.guided-tabs button:focus-visible,.journey-edit-message:focus-visible{outline:2px solid #9d7846;outline-offset:3px}
.review-return{font-size:10px;white-space:nowrap}
.editor-top{flex-wrap:wrap}
.journey-field-error{display:block;font:11px/1.55 var(--sans);color:#8a4639;margin-top:7px}
.field [aria-invalid="true"]{border-color:#a76551;background:#fff9f3}
.field input,.field textarea{scroll-margin-top:calc(var(--ac-header-height,94px) + 26px)}
.field-row{grid-template-columns:repeat(2,minmax(0,1fr))}
.field,.field input,.field textarea,.field select{min-width:0}
.media-progress{padding:11px 13px;border-left:2px solid #b08d4f;background:#eee8d8;color:#536047;font-size:11px;line-height:1.6}
.review-edit-sections{margin:24px 0 8px;border-top:1px solid #d6cbb5}
.review-edit-sections>div{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #dfd5c1;padding:13px 0}
.review-edit-sections p{min-width:0;margin:0;font-size:11px;line-height:1.5}
.review-edit-sections strong{display:block;font-size:12px;color:#354d37;margin-bottom:3px}
.review-edit-sections p>span{display:block;color:#7a7c6b;overflow-wrap:anywhere}
.review-edit-sections .text-button{font-size:10px;flex:none}
.catalog-editing-note{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 18px;margin:0 0 24px;border-left:2px solid #ad8a4c;background:#eee8d8;color:#536048;font-size:11px;line-height:1.6}
.catalog-editing-note .text-button{font-size:10px;flex:none}
@media(max-width:760px){
 .editor-panel>h1#editor-step-title{font-size:38px;margin:8px 0 11px}
 .journey-step-help{display:block;font-size:11px;margin-bottom:17px}
 .panel-tabs.guided-tabs{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;border-bottom:0;margin-bottom:20px}
 .guided-tabs button,.guided-tabs button:first-child{flex-direction:column;justify-content:flex-start;padding:10px 3px;gap:6px;min-height:72px;font-size:10px;border:1px solid #d6ccb7;border-radius:8px;background:#fffaf0}
 .guided-tabs button.active{border-color:#2b4434;background:#2b4434;color:#fff9ed}
 .guided-tabs .tab-number{width:20px;height:20px}
 .editor-actions.guided-actions{padding:13px 0 max(15px,env(safe-area-inset-bottom));margin-bottom:0}
 .journey-buttons{gap:10px}
 .journey-buttons .btn{font-size:11px;padding:11px 17px}
 .journey-next-note{font-size:10px}
 .editor-top .review-return{width:100%;font-size:10px;justify-self:start;justify-content:flex-start;border:0;text-decoration:underline;text-underline-offset:4px}
 .catalog-editing-note{display:block;padding:14px}
 .catalog-editing-note .text-button{margin-top:9px}
}
@media(max-width:370px){
 .guided-tabs button,.guided-tabs button:first-child{font-size:10px;padding-inline:2px;gap:6px}
 .journey-buttons .btn{padding-inline:12px;font-size:11px}
}
@media(max-width:450px){.editor-controls .field-row,.checkout .field-row{grid-template-columns:minmax(0,1fr)}}

.envelope-composer{padding:22px;border:1px solid #d2c2a3;border-radius:10px;background:linear-gradient(135deg,#fffdf7,#f4eddf)}
.envelope-composer>.label{display:block;margin:0 0 12px}.envelope-composer .style-help{margin:10px 0 24px}.envelope-composer .swatches{margin-bottom:24px}
@media(max-width:760px){.envelope-composer{padding:18px 14px}}
