@media screen {
.modal:has(>.po-document-ordered)>header{padding:6px 10px;gap:6px;min-height:0}
.modal:has(>.po-document-ordered)>header button{min-height:32px;padding:6px 9px}
.po-document-ordered>.record-toolbar{margin:6px 0;padding:5px 10px;gap:7px;border-bottom-width:2px}
.po-document-ordered>.record-toolbar>div{gap:6px}
.po-document-ordered>.record-toolbar button,.po-document-ordered .po-action-strip button{min-height:32px;padding:5px 9px;font-size:12px}
.po-document-ordered .po-action-strip{display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px;margin:6px 0 10px}
.po-document-ordered .po-action-strip>.movement-barcode-panel,.po-document-ordered .po-action-strip>.po-short-launch{padding:0;margin:0;border:0;min-height:0;background:transparent;display:flex;align-items:center;flex-wrap:wrap;gap:6px;width:auto}
.po-document-ordered .po-action-strip>.movement-barcode-panel>.note,.po-document-ordered .po-action-strip>.po-short-launch>span{display:none}
.po-document-ordered .po-form-sheet{min-width:0;border:2px solid #204e76;border-radius:8px;background:#fff;overflow:hidden}
.po-document-ordered .po-form-heading{display:flex;align-items:baseline;justify-content:space-between;gap:6px 12px;flex-wrap:wrap;color:#14344d;background:#eaf1f8;padding:8px 12px;border-bottom:1px solid #b6cce0}
.po-document-ordered .po-form-heading h3,.po-document-ordered .po-form-heading strong{font-size:14px;margin:0}
.po-document-ordered .po-form-sheet>.document-context{padding:6px 12px;margin:0;border:0;border-radius:0}
.po-document-ordered .po-form-sheet>.document-context>h3{display:none}
.po-document-ordered .po-form-sheet .document-context-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px 12px}
.po-document-ordered .po-form-sheet .document-context-fields p{min-width:0;overflow-wrap:anywhere;font-size:12px;line-height:1.35;margin:0}
.modal:has(>.po-document-ordered) .po-form-sheet>.document-live-search{gap:6px 12px;margin:0;padding:6px 12px}
.modal:has(>.po-document-ordered) .po-form-sheet>.document-live-search label{flex:0 1 auto;max-width:100%;gap:6px}
.modal:has(>.po-document-ordered) .po-form-sheet>.document-live-search input{width:min(260px,38vw);min-width:0}
.po-document-ordered .document-live-search select{min-height:34px;width:auto;padding:3px 8px}
.po-document-ordered .document-live-search>span{padding:0;white-space:nowrap;font-size:12px}
.po-document-ordered .po-form-sheet>.po-document-lines{margin:0;border-radius:0}
.po-document-ordered .po-supporting-details{border-top:1px solid #c9d8e6;padding-top:8px;margin-top:12px}
.po-document-ordered .po-supporting-details p{margin:5px 0;line-height:1.4}
.po-document-ordered .po-supporting-details h3{font-size:14px;margin:4px 0}
.po-document-ordered [data-po-filter-hidden]{display:none!important}
}
@media screen and (max-width:760px){
.po-document-ordered .po-form-sheet .document-context-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.modal:has(>.po-document-ordered) .po-form-sheet>.document-live-search label:first-child{flex:1 1 100%}
.modal:has(>.po-document-ordered) .po-form-sheet>.document-live-search input{flex:1;width:auto}
.po-document-ordered .po-form-sheet>.po-document-lines table{min-width:850px!important}
}
