.workspace-products{background:#fff;border:1px solid #dae5ef;border-radius:12px;padding:22px;min-width:0}.workspace-product-toolbar{display:flex;align-items:end;gap:10px;flex-wrap:wrap;padding:16px 0;border-top:1px solid #e7eef4;border-bottom:1px solid #e7eef4}.workspace-product-toolbar label{display:grid;gap:7px;font-size:11px;font-weight:600;flex:1;min-width:120px}.workspace-product-toolbar .workspace-product-search{min-width:200px;flex:2}.workspace-product-toolbar input,.workspace-product-toolbar select{min-height:42px;padding:10px;border:1px solid #cddde9;border-radius:7px;width:100%;min-width:0;background:#fff;color:#2b475d}.workspace-product-toolbar>button{min-height:42px;padding:10px 14px}.workspace-product-toolbar>button.primary{background:#b9560d}.workspace-products #workspaceProductStatus{font-size:12px;color:#6e8192;margin:14px 0}.workspace-product-table{width:100%;overflow:auto;max-height:64dvh;border:1px solid #e3ebf2;border-radius:8px}.workspace-product-table table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}.workspace-product-table th{position:sticky;top:0;z-index:1;background:#f5f8fc;text-align:left;font-size:11px;color:#60768c;font-weight:600;padding:13px 12px;border-bottom:1px solid #dae5ee}.workspace-product-table th button{font:inherit;border:0;background:none;padding:0;color:inherit}.workspace-product-table td{padding:14px 12px;border-bottom:1px solid #e9eff4;vertical-align:middle}.workspace-product-table td:nth-child(2){min-width:180px;max-width:300px;white-space:normal;line-height:1.4}.workspace-product-table tr:hover td{background:#f6fbfe}.workspace-product-table td>button{padding:7px 12px;min-height:36px;font-size:11px}.workspace-negative{color:#b91c1c;font-weight:700}.workspace-status{padding:4px 7px;border-radius:5px;font-size:10px;color:#256e51;background:#e8f5ed}.workspace-status.is-inactive{background:#edf0f4;color:#647285}.workspace-product-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 0 0;font-size:11px;color:#667f91}.workspace-product-footer>div{display:flex;align-items:center;gap:9px}.workspace-product-footer label{display:flex;gap:7px;align-items:center}.workspace-product-footer select{padding:7px;border:1px solid #d7e2eb;border-radius:6px}.workspace-product-footer button{min-height:36px;font-size:11px;padding:7px 10px}.workspace-product-recovery{padding:12px;background:#fff6e4;border:1px solid #f3d398;border-radius:8px;margin-top:12px}.workspace-product-recovery button{font-size:12px;padding:8px}
#workspaceProductDrawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(540px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-left:1px solid #d4e2ed;border-radius:0;box-shadow:-16px 0 60px #06283f22;padding:0;color:#24445c;background:#fff;overflow:auto}#workspaceProductDrawer::backdrop{background:#102d4b55;backdrop-filter:blur(2px)}.workspace-drawer-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;position:sticky;top:0;z-index:2;background:#fff;padding:20px 24px;border-bottom:1px solid #e4edf5}.workspace-drawer-heading h2{font-size:20px;margin:6px 0 0;max-width:410px;overflow-wrap:anywhere}.workspace-drawer-heading button{flex:none;width:36px;height:36px;padding:0;border-radius:7px;border:0;background:#f0f5f9;color:#688195;font-size:24px}#workspaceProductDrawerBody{padding:0 24px 20px}#workspaceProductDrawerBody .ops-form{border:0;box-shadow:none;padding:20px 0;margin:0;max-width:none;width:100%;background:#fff}#workspaceProductDrawerBody .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}#workspaceProductDrawerBody label{font-size:12px;display:grid;gap:7px;color:#577287}#workspaceProductDrawerBody input,#workspaceProductDrawerBody select{width:100%;min-width:0;padding:11px;border:1px solid #ccdde9;border-radius:7px;min-height:43px;font-size:14px}#workspaceProductDrawerBody input[type=checkbox]{min-height:20px;min-width:20px;width:20px;accent-color:#0e7a9f}#workspaceProductDrawerBody .product-options{grid-column:1/-1;padding:14px;border:1px solid #d7e6ef;border-radius:8px;display:flex;flex-wrap:wrap;gap:14px}#workspaceProductDrawerBody .product-options label{display:flex;align-items:center;gap:7px}#workspaceProductDrawerBody .product-options legend{font-size:11px;padding:0 5px}#workspaceProductDrawerBody .dialog-actions,#workspaceProductDrawerBody .operation-form-actions{display:flex;gap:8px;flex-wrap:wrap}#workspaceProductDrawerBody .product-edit-actions{position:sticky;bottom:-20px;background:#fff;border-top:1px solid #e2ebf2;padding:16px 0;margin-top:18px;z-index:1}#workspaceProductDrawerBody .product-edit-heading,#workspaceProductDrawerBody .close-operation-view{display:none!important}#workspaceProductDrawerBody button{min-height:42px;font-size:12px}#workspaceProductDrawerBody .product-image-preview{max-height:100px}#workspaceProductDrawerBody .ops-result{font-size:12px;overflow-wrap:anywhere}#workspaceProductDrawerBody .product-create-heading{display:none}
@media(max-width:600px){.workspace-products{padding:16px}.workspace-products .workspace-page-heading{align-items:start}.workspace-products .workspace-page-heading>button{font-size:12px;min-width:108px}.workspace-product-toolbar label{min-width:120px}.workspace-product-toolbar .workspace-product-search{flex-basis:100%}.workspace-product-footer{flex-direction:column;align-items:start}.workspace-product-footer>div{width:100%;justify-content:space-between;gap:6px}.workspace-product-table{max-height:58dvh}#workspaceProductDrawerBody{padding:0 16px 16px}.workspace-drawer-heading{padding:17px 16px}#workspaceProductDrawerBody .form-grid{gap:12px}#workspaceProductDrawerBody .form-grid>label:has(input[name=name]){grid-column:1/-1}.workspace-page-heading>button{max-width:150px}}
/* Compact product ledger; keep the search filters and editor unchanged. */
.workspace-product-table{border-radius:4px}
.workspace-product-table table{min-width:1000px;font-size:12px;color:#17364f}
.workspace-product-table th{padding:9px 10px;font-size:11px;white-space:nowrap;background:#f0f5f9}
.workspace-product-table td{padding:4px 10px;height:40px;border-bottom:1px solid #e4edf4;white-space:nowrap}
.workspace-product-table td:nth-child(2){min-width:0;max-width:none;white-space:nowrap}
.workspace-product-table tbody tr:nth-child(even){background:#f7fafc}
.workspace-product-table tbody tr:hover td{background:#edf6fd}
.workspace-product-table .product-row-name{width:30%;min-width:220px;max-width:360px;overflow:hidden;text-overflow:ellipsis}
.workspace-product-table .product-row-name strong{font-weight:550}
.workspace-product-table .product-row-number{text-align:right;font-variant-numeric:tabular-nums}
.workspace-product-table .product-row-index{width:42px;color:#73879a}
.workspace-product-table .product-row-action{width:52px;text-align:left}
.workspace-product-table td>button{min-height:30px;padding:4px 3px;border:0;border-radius:3px;background:transparent;color:#0878bd;font-size:12px;font-weight:500;text-decoration:none}
.workspace-product-table td>button:hover{text-decoration:underline;background:#e4f2fb}
.workspace-product-table td>button:focus-visible{outline:2px solid #1686bf;outline-offset:1px}
.workspace-product-table .workspace-status{padding:2px 5px;font-size:10px;background:transparent;color:#47725f}
.workspace-product-table .workspace-status.is-inactive{color:#788592}
.workspace-product-table th button{min-height:24px;line-height:1.4}
