.order-editor{display:grid;gap:16px;max-width:1440px}.order-editor .card{min-width:0}.order-editor .field{min-width:0}.order-editor input,.order-editor select,.order-editor textarea{max-width:100%}.order-editor input[readonly]{background:var(--page-bg,var(--soft));color:var(--text-muted,var(--muted))}.editor-lines{display:grid;gap:18px}.editor-line{position:relative;margin:0;border:1px solid var(--border,var(--border));border-radius:6px;padding:16px;min-width:0}.editor-line legend{padding:0 8px;font-weight:600}.editor-line-actions{display:flex;justify-content:flex-end;gap:6px;margin-bottom:12px}.editor-line-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.editor-line-name{grid-column:span 3}.editor-line-photo{grid-column:span 3}.editor-tags{display:flex;flex-wrap:wrap;gap:12px}.order-editor .form-footer{display:flex;gap:12px}.order-editor .field-error:empty{display:none}
@media(max-width:1000px){.editor-line-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-line-name,.editor-line-photo{grid-column:1/-1}}
@media(max-width:600px){.order-editor{gap:12px}.order-editor .form-grid{grid-template-columns:1fr}.editor-lines{padding:12px!important}.editor-line{padding:12px}.editor-line-grid{gap:12px}.editor-line input{min-width:0;width:100%}.editor-line-actions{flex-wrap:wrap}.order-editor .form-footer{position:sticky;bottom:0;z-index:5;background:var(--surface,#fff);padding:12px;border-top:1px solid var(--border,var(--border))}.order-editor .form-footer .btn{min-height:44px;flex:1}.order-editor .check-line{min-height:44px}.order-editor .card-head{flex-wrap:wrap;gap:10px}.order-editor .field input,.order-editor .field select{min-height:44px}}
