#production-stages-dialog{width:min(740px,calc(100vw - 32px));height:min(900px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);max-width:calc(100vw - 32px);inset:0;margin:auto;padding:0;border:0;border-radius:12px}
#production-stages-dialog[open]{display:flex;flex-direction:column;overflow:hidden}
#production-stages-dialog .drawer-header,#production-stages-dialog .drawer-footer{flex-shrink:0;gap:12px}
#production-stages-dialog .drawer-body{min-height:0;overflow:auto;padding:24px}
#production-stages-dialog .field{display:flex;flex-direction:column;gap:6px}
#production-stages-dialog .control{width:100%;min-height:44px;font-size:16px}
#production-stages-dialog .actions,.production-management,.order-workspace{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
#production-stages-dialog .actions{justify-content:flex-start}
#production-stages-dialog .stage-card,#production-stages-dialog .drawer-note{overflow-wrap:anywhere}
#production-stages-dialog fieldset{min-width:0}
.production-management small,.order-workspace small{flex-basis:100%}
#production-stage-add,#production-dates-form{display:grid;gap:12px;margin:20px 0}
.production-date-requests p{padding:12px 0;border-bottom:1px solid var(--border,#e2e8f0)}
@media(max-width:640px){#production-stages-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0}#production-stages-dialog .drawer-header{padding:16px}#production-stages-dialog .drawer-header h2{font-size:22px}#production-stages-dialog .drawer-body{padding:16px}#production-stages-dialog .drawer-footer{flex-wrap:wrap}#production-stages-dialog .button{white-space:normal}}
