/* Approved single Glass workspace: search, groups and editable products. */
body[data-page=orders] .order-workspace{min-width:0;padding:18px;border-radius:26px;background:linear-gradient(125deg,#a4b7cf25,#121822a6);border:1px solid #ffffff35;overflow:visible}
body[data-page=orders] .order-workspace .order-search-bar{position:relative;top:auto;z-index:2;display:flex;flex-wrap:nowrap;gap:8px;margin:0;padding:0;background:transparent;box-shadow:none}
body[data-page=orders] .order-workspace #order-search{flex:1 1 0!important;width:0;min-width:0!important;background:#0b131c99}
body[data-page=orders] .order-more{position:relative;flex:0 0 44px;min-width:44px}
body[data-page=orders] .order-more>summary{display:flex;align-items:center;justify-content:center;min-height:48px;width:44px;padding:0;list-style:none;cursor:pointer;border:1px solid #ffffff30;border-radius:15px;background:#ffffff07;font-size:24px;line-height:1}
body[data-page=orders] .order-more>summary::-webkit-details-marker{display:none}
body[data-page=orders] .order-more>summary:focus-visible{outline:2px solid var(--glass-accent);outline-offset:3px}
body[data-page=orders] .order-more-panel{position:absolute;right:0;top:calc(100% + 8px);width:220px;max-width:70vw;padding:8px;border-radius:18px;border:1px solid #ffffff30;background:#121d27;box-shadow:0 8px 24px #0005}
body[data-page=orders] .order-workspace #order-zero{display:block;width:100%;min-height:44px;white-space:normal;text-align:left;font-size:13px}
body[data-page=orders] .order-workspace .order-group-tabs{max-width:100%;margin:14px 0;gap:7px}
body[data-page=orders] .order-workspace .order-products{border:0;border-radius:0;background:transparent;box-shadow:none;padding:0;overflow:visible}
body[data-page=orders] .order-workspace .category-heading{background:transparent;padding:12px 0;border-bottom:1px solid #ffffff24}
body[data-page=orders] .order-workspace .product-name{min-width:0;overflow-wrap:anywhere}
body[data-page=orders] .order-workspace .quantity-control{background:transparent}
body[data-page=orders] .order-workspace .stock-order-row:last-child{border-bottom:0}

/* Target stock is a reference value, distinct from the editable order quantity. */
body[data-page=orders] .order-workspace .stock-order-row{grid-template-areas:'name name' 'norm label' 'norm qty';gap:6px 12px}
body[data-page=orders] .order-workspace .quantity-label{display:block;grid-area:label;font-size:12px;line-height:1.3;color:#d6d8dd;text-align:center}
body[data-page=orders] .order-workspace .norm-cell{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 5px;align-self:center;color:#e8e7e2;min-width:0}
body[data-page=orders] .order-workspace .norm-cell>.stock-caption{flex:0 0 100%;font-size:13px;line-height:1.3;color:#e8e7e2}
body[data-page=orders] .order-workspace .norm-cell strong{font-size:24px;font-weight:600;line-height:1.2;color:#dcbb7e;margin:0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
body[data-page=orders] .order-workspace .norm-cell>span:not([class]){font-size:13px;line-height:1.3;color:#dcbb7e;overflow-wrap:anywhere;min-width:0}
