.order-drawer{max-width:100vw;min-width:0}.order-drawer *,.order-drawer input,.order-drawer textarea,.order-drawer select{min-width:0;box-sizing:border-box}.order-drawer input,.order-drawer textarea,.order-drawer select{max-width:100%}.order-drawer dd,.order-drawer p,.order-drawer small,.order-drawer .detail-list{overflow-wrap:anywhere;white-space:pre-wrap}.normalized-production dl{display:grid;gap:8px;margin:0}.normalized-production dl>div{display:grid;grid-template-columns:minmax(90px,1fr) minmax(0,2fr);gap:10px;border-bottom:1px solid #e5e7eb;padding:6px 0}.normalized-production dd{margin:0}.normalized-production dd small{display:block;color:#64748b;font-size:11px}.normalized-production img{display:block;max-width:100%;max-height:140px;object-fit:contain}.production-fact-group{padding:8px 0}.order-drawer .detail-edit-form,.order-drawer .detail-grid{max-width:100%}.drawer-load-state{padding:24px}@media(max-width:650px){.order-drawer .detail-edit-form,.order-drawer .detail-grid{grid-template-columns:minmax(0,1fr)}.normalized-production dl>div{grid-template-columns:minmax(0,1fr);gap:3px}.order-drawer .wide-field{grid-column:auto}}.production-missing{padding:12px;background:#fff8eb;border-left:3px solid #b46b28}.production-missing ul{padding-left:18px}.production-diagnostics code{display:block;overflow-wrap:anywhere;font-size:11px}.production-diagnostics ul{padding-left:18px}.production-diagnostics li{margin-bottom:10px}.attachment-entries>details{padding:10px 0;border-bottom:1px solid #ddd}.attachment-entries summary{cursor:pointer}.production-fact-group h4{margin:10px 0}.drawer-diagnostics{margin-top:20px}.production-view-switch{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.production-view-switch button{padding:8px 12px;border:1px solid #b5bdc8;border-radius:6px;background:#fff;color:#263245;cursor:pointer}.production-view-switch button[aria-pressed=true]{background:#263245;color:#fff}.production-view-switch button:focus-visible{outline:3px solid #c27727;outline-offset:2px}.normalized-production[data-production-view=text] .production-option-media,.normalized-production img[hidden]{display:none}.option-image-fallback{font-size:12px;color:#85551e}.production-order-info{border-top:1px solid #d5dbe3;margin-top:16px;padding-top:8px}
