#psStandardFramePanel{margin:0 0 1rem;border:1px solid #cfe0f5;border-radius:14px;background:#f8fbff;box-shadow:none;overflow:hidden}
#psStandardFramePanel.is-hidden,.ps-standard-frame-modal .is-hidden{display:none!important}
#psStandardFramePanel .card-body{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.1rem}
.ps-standard-frame-copy{display:flex;flex-direction:column;gap:.35rem;min-width:0}
.ps-standard-frame-kicker{font-size:.78rem;font-weight:800;color:#1769d2}
.ps-standard-frame-copy strong{font-size:.95rem;line-height:1.7;color:#16324f}
.ps-standard-frame-summary{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;font-size:.84rem;color:#31536f}
.ps-standard-frame-summary .badge{font-size:.75rem;padding:.42rem .6rem}
.ps-standard-frame-actions{display:flex;align-items:center;gap:.55rem;flex:0 0 auto}
.ps-standard-frame-actions .btn{white-space:nowrap}
.ps-standard-frame-modal{position:fixed;inset:0;z-index:1090;display:none;background:rgba(10,29,49,.62);overflow:auto;padding:1.25rem}
.ps-standard-frame-modal.show{display:block}
.ps-standard-frame-modal .modal-dialog{max-width:760px;margin:2rem auto}
.ps-standard-frame-modal .modal-content{border:0;border-radius:16px;overflow:hidden;box-shadow:0 18px 55px rgba(0,0,0,.24)}
.ps-standard-frame-modal .modal-header{display:flex;align-items:center;justify-content:space-between;background:#1769d2;color:#fff;padding:.95rem 1.1rem;border:0}
.ps-standard-frame-modal .modal-title{font-size:1.05rem;font-weight:700;margin:0}
.ps-standard-frame-modal .btn-close{filter:brightness(0) invert(1);opacity:.95}
.ps-standard-frame-modal .modal-body{padding:1.1rem;background:#fff}
.ps-standard-frame-modal .modal-footer{display:flex;justify-content:flex-end;gap:.55rem;padding:.9rem 1.1rem;border-top:1px solid #e2eaf3;background:#f8fafc}
.ps-standard-frame-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem}
.ps-standard-frame-full{grid-column:1/-1}
.ps-standard-frame-subgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.9rem}
.ps-standard-frame-field{display:flex;flex-direction:column;gap:.38rem}
.ps-standard-frame-field label{font-size:.82rem;font-weight:700;color:#213b55;margin:0}
.ps-standard-frame-field .form-select{min-height:44px;border:1px solid #c7d8ea;border-radius:9px;background-color:#fff}
.ps-standard-frame-field small{display:block;margin-top:.28rem;color:#55738f;line-height:1.6}
.ps-standard-frame-readonly{display:flex;flex-direction:column;gap:.35rem;padding:.8rem .9rem;border:1px solid #d7e4f1;border-radius:10px;background:#f8fbfe}
.ps-standard-frame-readonly span{font-size:.75rem;color:#6a8196}
.ps-standard-frame-readonly strong{font-size:.9rem;color:#143755;line-height:1.65}
html[dir="rtl"] .ps-standard-frame-modal,body[dir="rtl"] .ps-standard-frame-modal{direction:rtl;text-align:right}
html[dir="ltr"] .ps-standard-frame-modal,body[dir="ltr"] .ps-standard-frame-modal{direction:ltr;text-align:left}
body.sign-order-modal-open{overflow:hidden}
@media(max-width:767px){
  #psStandardFramePanel .card-body{align-items:stretch;flex-direction:column}
  .ps-standard-frame-actions{width:100%}
  .ps-standard-frame-actions .btn{flex:1}
  .ps-standard-frame-modal{padding:.45rem}
  .ps-standard-frame-modal .modal-dialog{margin:.5rem auto}
  .ps-standard-frame-grid,.ps-standard-frame-subgrid{grid-template-columns:1fr}
  .ps-standard-frame-full{grid-column:1}
}
