.workspace-dialog{width:min(100% - 32px,960px);max-width:960px;max-height:calc(100dvh - 32px);padding:0;border:1px solid #dce4ee;border-radius:18px;box-shadow:0 24px 80px #0b1c3d55;color:#18233b;overflow:auto}
.workspace-dialog::backdrop{background:#101d34a8}
.workspace-dialog-head{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:start;gap:16px;padding:22px 28px;border-bottom:1px solid #e7ecf3;background:#fff}
.workspace-dialog-kicker{font-size:11px;font-weight:800;letter-spacing:.08em;color:#7e91ab}
.workspace-dialog-head h2{font-size:21px;margin:5px 0 4px}
.workspace-dialog-head p{font-size:12px;line-height:1.55;color:#8290a4;margin:0}
.workspace-dialog-close{display:grid;place-items:center;flex:none;width:36px;height:36px;border:1px solid #dce4ee;border-radius:10px;background:#fff;color:#64758d;font-size:22px;line-height:1}
.workspace-dialog-close:hover{background:#f1f5fa;color:#213d60}
.workspace-dialog-body{padding:24px 28px 30px}
.order-amend-dialog .data-table input{min-width:90px;max-width:130px}
.order-amend-results{display:flex;flex-wrap:wrap;gap:8px;max-height:180px;overflow:auto}
.order-amend-results button{text-align:left;max-width:100%}
.order-revision-history{margin:16px 0}
.quality-return-actions{min-width:160px;white-space:nowrap}
.quality-return-actions button{margin:2px}
.quality-defect-picker{max-height:340px;overflow:auto;border:1px solid #e0e7f0;border-radius:10px}
.quality-defect-picker .data-table{margin:0}
.quality-defect-picker input[type=number]{width:78px;min-width:0}
.quality-defect-picker input[type=checkbox]{width:18px;height:18px}
.workspace-dialog-body>.card{border:0;box-shadow:none;padding:0}
.workspace-dialog-body>.grid{margin:0;grid-template-columns:1fr}
.workspace-dialog-body>.grid>.card{box-shadow:none}
.workspace-dialog-body .detail:first-child{margin-top:0}
.workspace-dialog-body .table-wrap{max-width:100%}
.catalog-dropzone{display:flex;align-items:center;gap:16px;min-height:104px;border:1.5px dashed #a9bfd7;border-radius:14px;background:#f5f9fd;padding:18px;color:#244f7f;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}
.catalog-dropzone:hover,.catalog-dropzone.is-dragover,.catalog-dropzone:focus-visible{background:#eaf3fd;border-color:#4373a9;box-shadow:0 0 0 3px #e4effb;outline:0}
.catalog-dropzone-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:11px;background:#e4eef9;font-size:24px;font-weight:700}
.catalog-dropzone strong,.catalog-dropzone small{display:block}.catalog-dropzone strong{font-size:14px}.catalog-dropzone small{font-size:12px;color:#7b8fa8;margin-top:4px}
.catalog-select-file{margin-left:auto;border-radius:9px;border:1px solid #cbdced;background:#fff;padding:8px 12px;font-size:12px;font-weight:800;white-space:nowrap}
.catalog-file-selection{display:flex;align-items:center;gap:12px;min-height:78px;padding:12px 15px;border:1px solid #b8dbc9;background:#f3faf6;border-radius:13px}
.catalog-file-selection>span:nth-child(2){min-width:0;flex:1}.catalog-file-selection strong,.catalog-file-selection small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.catalog-file-selection strong{font-size:13px}.catalog-file-selection small{font-size:11px;color:#648773;margin-top:4px}
.catalog-file-icon{display:grid;place-items:center;flex:none;width:43px;height:43px;border-radius:10px;background:#def0e5;color:#2a7652;font-size:11px;font-weight:900}
@media(max-width:700px){.workspace-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px)}.workspace-dialog-head{padding:18px}.workspace-dialog-body{padding:18px}.catalog-dropzone{flex-wrap:wrap}.catalog-select-file{margin-left:58px}.catalog-file-selection{flex-wrap:wrap}.catalog-file-selection>span:nth-child(2){flex-basis:calc(100% - 60px)}}
