/* Independent order enhancement. Existing stepper and QF controls keep ownership. */
#prestijQuestionFlowApp .order-visual-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:24px;align-items:start}
#prestijQuestionFlowApp .order-visual-layout>*{min-width:0}
#order-preview{position:sticky;top:100px;min-width:0;color:var(--pl-order-text);font:inherit}
#order-preview .order-preview-canvas{position:relative;width:100%;height:clamp(390px,43vw,620px);overflow:hidden;background:#eeece7;border-radius:16px;touch-action:pan-y}
#order-preview canvas{display:block;width:100%;height:100%;touch-action:pan-y}
#order-preview [data-placeholder]{position:absolute;inset:0;display:grid;place-items:center;padding:24px;text-align:center;color:#52615a;font-size:16px}
#order-preview [hidden]{display:none!important}
#order-preview .order-preview-controls{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
#order-preview button{font:inherit;font-size:13px;min-height:44px!important;min-width:44px!important;padding:10px 14px;border-radius:10px;border:1px solid var(--pl-order-line);background:var(--pl-order-card);color:var(--pl-order-text);cursor:pointer}
#order-preview button[aria-pressed=true]{outline:2px solid currentColor;outline-offset:-3px}
#order-preview p{font-size:12px;line-height:1.5;margin:10px 0;color:var(--pl-order-muted)}
#order-preview [data-status]{color:#52615a;font-size:16px}
#order-preview-canvas:not([data-state=closed]):not([data-state=fallback])~.order-preview-reopen{display:none}
html.pl-order-v2-ready body.pl-order-v2-ready #order-question-panel .qf-layout{width:100%!important;margin:0!important;grid-template-columns:minmax(0,1fr)!important}
html.pl-order-v2-ready body.pl-order-v2-ready #order-question-panel .qf-options,
html.pl-order-v2-ready body.pl-order-v2-ready #order-question-panel .qf-grid,
html.pl-order-v2-ready body.pl-order-v2-ready #order-question-panel .qf-product-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))!important}
html.pl-order-v2-ready body.pl-order-v2-ready #order-question-panel .qf-actions{flex-wrap:wrap;gap:10px}
html.pl-order-v2-ready body.pl-order-v2-ready #order-question-panel .qf-actions-right{flex-wrap:wrap;min-width:0}
#order-question-panel{overflow-wrap:anywhere}
#order-question-panel button,#order-question-panel input{min-height:44px!important}
html.pl-order-v2-ready body.pl-order-v2-ready #order-question-panel .qf-entry-measure-help,
html.pl-order-v2-ready body.pl-order-v2-ready #order-question-panel .qf-measure-helper{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important}
html.pl-order-v2-ready body.pl-order-v2-ready #order-question-panel .qf-entry-measure-help-copy{width:100%;min-width:0;flex:1 1 auto}
html.pl-order-v2-ready body.pl-order-v2-ready #order-question-panel .qf-entry-measure-help-actions{display:flex!important;flex-wrap:wrap!important;width:100%}
html.pl-order-v2-ready body.pl-order-v2-ready #order-question-panel .qf-card{padding:clamp(18px,2vw,32px)!important}
#order-flow-heading .qf-flow-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;margin:18px 0}
html.pl-order-v2-ready body.pl-order-v2-ready #order-flow-heading .qf-flow-toolbar .qf-stepper{min-width:0;width:100%!important;max-width:none!important;margin:0!important}
#order-flow-heading .qf-flow-help{justify-self:end}
#order-flow-heading .qf-flow-help button{min-height:44px!important;margin:0!important}
@media(max-width:640px){#order-flow-heading .qf-flow-toolbar{grid-template-columns:minmax(0,1fr) 80px;gap:8px}#order-flow-heading .qf-step-label-compact{white-space:nowrap}html.pl-order-v2-ready body.pl-order-v2-ready #order-flow-heading .qf-flow-help button{width:100%!important;padding:8px!important;font-size:11px!important}}
@media(min-width:901px) and (max-width:1279px){#prestijQuestionFlowApp .order-visual-layout{grid-template-columns:minmax(0,11fr) minmax(0,9fr);gap:18px}}
@media(max-width:900px){#prestijQuestionFlowApp .order-visual-layout{grid-template-columns:minmax(0,1fr);gap:22px}#order-preview{position:static}#order-preview .order-preview-canvas{height:clamp(280px,70vw,420px)}}
@media(prefers-reduced-motion:reduce){#order-preview *{scroll-behavior:auto;transition:none}}
