/* Normal document pages: long forms use the full browser workspace. */
body.workspace-open #dialog.full-workspace{width:100%!important;max-width:none!important;max-height:none!important;height:auto!important;inset:auto!important;border-radius:0!important;overflow:visible!important;padding:14px 20px!important}body.workspace-open #dialogBody{max-height:none!important;height:auto!important;overflow:visible!important}body.workspace-open #dialog.full-workspace .modal-scroll-content{max-height:none!important;overflow:visible!important}body.workspace-open #dialog.full-workspace .order-picker .table-wrap{max-height:none!important}body.workspace-open #dialog.full-workspace .wf-price-sheet td:nth-child(4){min-width:220px!important;text-align:left!important;white-space:normal!important}body.workspace-open #dialog.full-workspace .wf-price-sheet td:nth-child(2){min-width:42px!important;max-width:55px!important}body.workspace-open #dialog.full-workspace .wf-price-sheet td:nth-child(3){min-width:120px!important;text-align:left!important}
.full-workspace[hidden]{display:none!important}.full-workspace{display:block;position:static;box-sizing:border-box;width:100%;max-width:none;min-height:100dvh;max-height:none;margin:0;padding:18px 24px;background:var(--erp-bg,#eef0f3);color:var(--erp-text,#243142);border:0;box-shadow:none;overflow:visible}.workspace-open #app{display:none}.full-workspace #dialogBody{width:100%;max-width:1800px;margin:auto;padding:0;overflow:visible}.full-workspace h2{font-size:21px;margin:10px 0 18px}.full-workspace #modalForm{display:block;max-height:none;overflow:visible}.full-workspace .modal-scroll-content{max-height:none;overflow:visible;padding:0}.full-workspace .modal-footer{position:sticky;bottom:0;background:var(--erp-bg,#eef0f3);padding:12px 0;border-top:1px solid #ccd2da;z-index:5}.workspace-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid #ccd2da}.workspace-bar a{font-size:12px}.full-workspace table{width:max-content;min-width:100%;table-layout:auto}.full-workspace .table-wrap{max-height:none;overflow:auto}.full-workspace .wf-price-sheet th,.full-workspace .wf-price-sheet td{padding:7px 10px}.full-workspace .wf-price-sheet td:nth-child(4){min-width:200px;white-space:normal}.full-workspace .form-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.full-workspace textarea{min-height:75px}.shipment-gallery{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0}.shipment-gallery figure{width:180px;margin:0}.shipment-gallery img{width:180px;height:130px;object-fit:cover;border-radius:6px;border:1px solid #ccd2da}.shipment-gallery figcaption{font-size:11px;line-height:1.5;overflow-wrap:anywhere}.approval-stamp{padding:10px 14px;border:1px solid #95b5a1;background:#eff6f0;color:#275039}.settings-folders{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:12px;align-items:start}.settings-folder{border:1px solid #c9cfd7;border-radius:8px;background:var(--erp-panel,#f8f9fa);padding:0 12px}.settings-folder summary{padding:14px 0;font-weight:600;cursor:pointer}.settings-folder summary small{display:block;font-weight:400;color:#637080;margin-top:4px}.settings-folder .card{margin:0 0 12px;box-shadow:none}.heading-title{flex-wrap:wrap!important}.heading{margin-bottom:10px!important}.wf-navbar{margin-left:auto}.wf-navbar button,.wf-navbar a{font-size:12px;min-height:29px}.reserve-matrix table{width:max-content!important;min-width:1400px}.reserve-matrix td,.reserve-matrix th{padding:6px 10px!important}.reserve-matrix th:nth-child(3),.reserve-matrix td:nth-child(3){min-width:160px}.reserve-matrix th:nth-child(8),.reserve-matrix td:nth-child(8){min-width:270px;white-space:normal}.deferred-orders{margin:10px 0;padding:10px;border:1px solid #d0b88b;background:#fff8ec}.workspace-open .full-workspace .order-actions{display:flex;flex-wrap:wrap;gap:8px}.workspace-open .order-action{max-width:230px}.workspace-open .order-picker{max-height:none}.workspace-open #pickerPanel{max-height:none}.workspace-open .picker-layout{grid-template-columns:230px minmax(0,1fr)}
@media(max-width:700px){.full-workspace{padding:10px}.workspace-bar{position:sticky;top:0;background:var(--erp-bg,#eef0f3);z-index:6}.full-workspace .form-grid{grid-template-columns:1fr}.wf-navbar{margin:0}.settings-folders{grid-template-columns:1fr}.workspace-open .picker-layout{grid-template-columns:1fr}.shipment-gallery figure,.shipment-gallery img{width:140px}}
@media print{.workspace-bar,.modal-footer{display:none!important}.full-workspace{padding:0;background:white}.approval-stamp{color:#000;background:white}}
