.sp-dialog{width:min(880px,calc(100vw - 32px));max-height:90dvh;padding:0;border:1px solid #dce3ec;border-radius:16px;color:#1e293b;background:white}.sp-dialog::backdrop{background:#17233566}.sp-dialog>header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;gap:12px;border-bottom:1px solid #e2e8f0}.sp-dialog h2{font-size:20px;margin:0}.sp-body{padding:20px;overflow:auto;max-height:calc(90dvh - 165px);min-width:0;border:0;margin:0}.sp-body h3{font-size:17px;margin:10px 0}.sp-body p{overflow-wrap:anywhere;line-height:1.6}.sp-body label{display:grid;gap:6px;font-size:14px}.sp-body :is(input,select,textarea){min-height:44px;font-size:16px;width:100%;min-width:0;box-sizing:border-box;padding:10px;border:1px solid #cbd5e1;border-radius:8px;background:#fff}.sp-body textarea{min-height:80px}.sp-dialog button,#spOpen,#spOrderOpen{min-height:44px;padding:10px 14px;border:1px solid #cbd5e1;border-radius:8px;background:white;color:#1e293b}.sp-dialog button.primary{background:#2563eb;color:white;border-color:#2563eb}.sp-dialog button:disabled{opacity:.6;cursor:wait}.sp-dialog button:focus-visible{outline:2px solid #2563eb;outline-offset:3px}.sp-dialog footer{display:flex;justify-content:flex-end;padding:12px 20px;border-top:1px solid #e2e8f0}.sp-tabs{display:flex;gap:8px;margin:0 0 16px}.sp-tabs [aria-pressed=true]{color:#1e40af;background:#eff6ff;border-color:#2563eb}.sp-body article{border-bottom:1px solid #e2e8f0;padding:18px 0}.sp-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}.sp-lines{margin:16px 0}.sp-lines label{display:grid;grid-template-columns:minmax(0,1fr) 88px;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid #e2e8f0}.sp-lines label[hidden]{display:none}.sp-lines small{display:block;margin-top:4px;color:#526177}.sp-review{background:#eff6ff;border-radius:12px;padding:16px}.sp-photos{display:flex;flex-wrap:wrap;gap:8px}.sp-photos img{width:150px;height:110px;object-fit:contain;background:#f8fafc}.sp-body [role=status]{color:#9b321f}.sp-body [hidden]{display:none!important}body:has(.sp-dialog[open]){overflow:hidden}
@media(max-width:760px){.sp-dialog{width:calc(100vw - 16px);max-height:94dvh;border-radius:16px}.sp-dialog>header{padding:14px 16px}.sp-dialog h2{font-size:18px}.sp-body{padding:16px;max-height:calc(94dvh - 165px)}.sp-fields{grid-template-columns:minmax(0,1fr)}.sp-dialog footer button{width:100%}#spOpen,#spOrderOpen{width:100%;margin:12px 0}.sp-body button{margin:4px 0}.sp-lines label{gap:8px}.sp-lines span{overflow-wrap:anywhere}}
body.fv-refined.ui-v2-preview.fiyaoo-branded.workbench-shell dialog.sp-dialog>header{background:#fff!important;color:#1e293b!important;box-shadow:none!important}body.fv-refined.ui-v2-preview.fiyaoo-branded.workbench-shell dialog.sp-dialog>header h2{color:#1e293b!important}.sp-dialog fieldset{display:block!important}.sp-dialog :is(input,textarea,select):focus-visible{outline:2px solid #2563eb;outline-offset:2px}
@media print{#spOpen,#spOrderOpen,.sp-dialog{display:none!important}}
