.carton-workbench{display:grid;grid-template-columns:minmax(420px,1fr) minmax(380px,.9fr);gap:20px;align-items:start}.carton-workbench .section{margin-bottom:18px}.carton-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.carton-form-grid .carton-wide{grid-column:1/-1}.carton-form-grid .input,.carton-form-grid .select{min-width:0}.carton-description{line-height:1.7;font-size:13px;margin-top:10px}.carton-actions{margin-top:18px;gap:8px}.carton-preview-header{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:12px}.carton-preview-header .select{max-width:240px}.carton-preview-frame{width:100%;height:760px;border:1px solid var(--line);background:white}.carton-empty{border:1px dashed #b5c1ce;min-height:300px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;padding:24px;color:var(--muted);text-align:center}.carton-scan-text{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.8 'Microsoft YaHei',Arial,sans-serif;padding:12px;background:#f8fafc;border:1px solid var(--line);margin-top:12px}.carton-history .table{min-width:620px}.carton-history .table-wrap{max-height:280px}.carton-status{font-size:13px;color:#475569;line-height:1.6}.carton-heading-row{display:flex;align-items:start;justify-content:space-between;gap:14px;margin-bottom:18px}@media(max-width:1050px){.carton-workbench{grid-template-columns:1fr}.carton-preview-frame{height:790px}}@media(max-width:560px){.carton-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.carton-heading-row{flex-direction:column}.carton-workbench{display:block}.carton-preview-header{align-items:start;flex-direction:column}}
