html body dialog.modal-card.purchase-card-normal[open]{border-radius:12px;width:min(1500px,100vw - 32px);max-width:calc(100vw - 32px);height:calc(100dvh - 32px);min-height:0;max-height:calc(100dvh - 32px);margin:auto;inset:0}html body dialog.modal-card.purchase-card-fullscreen[open]{border-radius:0;width:100vw;max-width:100vw;height:100dvh;min-height:0;max-height:100dvh;margin:0;inset:0}.purchase-draft-create .modal-header{flex-shrink:0;gap:8px;padding:8px 12px}.purchase-draft-create .modal-header h2{margin:0;font-size:23px}.purchase-draft-create .modal-actions{flex-wrap:wrap;align-items:center;gap:6px;margin-left:auto;display:flex}.purchase-draft-create .modal-body{gap:6px;padding:6px 12px;overflow:auto}.purchase-draft-create .modal-tabs{flex-shrink:0;overflow:auto}.purchase-draft-create .modal-tabs button{white-space:nowrap;padding:8px 12px}.purchase-draft-create .document-requisites{flex:none}.purchase-draft-create .rfq-header-fields{gap:6px 10px;margin:0}.purchase-draft-create .purchase-create-lines{flex-direction:column;flex:1;gap:6px;min-height:0;display:flex}.purchase-draft-create .purchase-create-lines>.smart-grid{flex-direction:column;flex:1;min-height:0;display:flex}.purchase-draft-create .purchase-create-lines .smart-grid-table-wrap{flex:1;min-height:100px;max-height:none;overflow:auto}.purchase-draft-create .rfq-lines-heading{flex:none;margin:0}.purchase-draft-create .modal-footer{flex:none;padding:6px 12px;font-size:13px}.purchase-draft-create .purchase-save-error{color:#a11c35;font-weight:600}.purchase-draft-create [hidden]{display:none!important}html body dialog.purchase-draft-create .document-requisites-fields>fieldset{box-sizing:border-box;flex:1 0 100%;width:100%;min-width:0;max-width:100%}html body dialog.purchase-draft-create .rfq-header-fields{flex-wrap:wrap;align-items:flex-end;gap:6px 12px;margin:0;display:flex;container-type:normal}html body dialog.purchase-draft-create .rfq-header-fields>.form-field{flex:0 auto;min-width:0;max-width:100%}html body dialog.purchase-draft-create .modal-header .button.workbench-action-save{background:var(--action-save-bg);color:var(--action-save-ink);border-color:var(--action-save-border);filter:none;opacity:1}html body dialog.purchase-draft-create .modal-header .workbench-action-save:hover:not(:disabled){background:var(--action-save-hover)}html body dialog.purchase-draft-create .modal-header .workbench-action-save:disabled:not([aria-busy=true]){color:#56616a;cursor:not-allowed;background:#e9edf0;border-color:#b4bec5}@media (max-width:720px){html body dialog.modal-card.purchase-card-normal[open]{border-radius:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0}.purchase-draft-create .modal-header{flex-wrap:wrap}.purchase-draft-create .modal-header h2{font-size:20px}.purchase-draft-create .modal-actions{gap:4px;max-width:100%}.purchase-draft-create :is(.button,.modal-tabs button,input:not([type=checkbox]),select){max-width:100%;min-height:44px}.purchase-draft-create .purchase-create-lines{flex:none}.purchase-draft-create .purchase-create-lines .smart-grid-table-wrap{max-height:none}}
