.group-selection-bar{display:flex;align-items:center;flex-wrap:wrap;gap:14px 22px;width:100%;padding:18px 22px;background:#fff;border:1px solid #c8d6e8;border-radius:14px;color:#183b67;box-shadow:0 4px 16px #163a6010}.group-selection-bar .group-select-all{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:700}.group-selection-bar input[type=checkbox],input.admin-group-check,.order-group-row input{width:20px;height:20px;accent-color:#183f70;cursor:pointer;flex:none}.group-selection-bar strong{font-size:13px}.group-selection-actions{display:flex;gap:8px;margin-left:auto;flex-wrap:wrap}.group-selection-bar .group-selection-actions button{border:1px solid #c8d6e8;border-radius:9px;padding:10px 16px;background:#eef3fa;color:#183b67;font-weight:700;cursor:pointer}.group-selection-bar .group-selection-actions button:first-child{background:#183b67;color:#fff}.group-selection-bar .group-selection-actions button.danger{color:#a13535;background:#fff6f6;border-color:#e8caca}.group-selection-bar button:disabled{opacity:.4;cursor:default}.group-selection-bar>small{flex-basis:100%;font-size:11px;color:#61758e}.group-selection-bar p{flex-basis:100%;margin:0;font-size:12px;white-space:pre-wrap}.group-selection-bar p:empty{display:none}.application-card.group-is-selected{outline:2px solid #305b91;outline-offset:-2px}.application-head-identity{align-items:center}.customer-selection-tools{margin-bottom:16px}@media(max-width:700px){.group-selection-bar{padding:15px;gap:12px}.group-selection-actions{margin-left:0;width:100%}.group-selection-actions button{flex:1;min-height:42px}}

/* Compact selection controls share the same single-row layout on both portals. */
.group-selection-bar{padding:10px 14px;gap:10px 14px;border-radius:10px;box-shadow:none;flex-wrap:nowrap;overflow-x:auto}.group-selection-bar .group-select-all{gap:7px;white-space:nowrap;font-size:12px}.group-selection-bar input[type=checkbox]{width:17px;height:17px}.group-selection-bar strong{white-space:nowrap;font-size:12px}.group-selection-actions{flex-wrap:nowrap;flex-shrink:0;gap:6px}.group-selection-bar .group-selection-actions button{padding:8px 12px;font-size:12px;white-space:nowrap}.group-selection-bar>.selection-help,.group-selection-bar .selection-help{flex-basis:auto;white-space:nowrap;font-size:11px;cursor:help}.group-selection-bar .customer-product-actions{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;flex-shrink:0;width:auto;margin:0;padding:0 0 0 12px;border:0;border-left:1px solid #dce5f1}.group-selection-bar .customer-product-actions button{white-space:nowrap;padding:8px 12px;font-size:12px;min-height:0}.group-selection-bar .customer-product-actions small{flex-basis:auto;max-width:none}.group-selection-bar p:not(:empty){min-width:190px;flex-basis:auto;flex-shrink:0;max-width:420px}.customer-selection-tools{margin-bottom:12px}@media(max-width:700px){.group-selection-bar{padding:10px;gap:10px}.group-selection-actions{width:auto;margin-left:auto}.group-selection-actions button{flex:none;min-height:36px}}

.group-selection-bar .customer-product-actions .btn{width:auto;flex:none}.group-selection-bar :focus-visible{outline:2px solid #688fbe;outline-offset:2px}

.order-group-row td{padding:9px 12px!important}.order-group-row .customer-group-heading{gap:8px}.order-group-row label{gap:7px;font-size:12px}.order-group-row input.merge-group{width:15px;height:15px}.customer-group-identity strong{font-size:12px}
/* Return requests remain in received stock, with a separate visual treatment. */
tr.return-pending-row>td{background:#f7f5fc!important}tr.return-pending-row>td:first-child{box-shadow:inset 3px 0 #9786ba}.status-pill.return-pending,.return-pending-link{display:inline-flex;align-items:center;gap:5px;border:1px solid #e1d9ef;background:#f1edf8;color:#796499;padding:5px 8px;border-radius:6px;font-size:10px;font-weight:600;text-decoration:none;line-height:1.6}.return-pending-link{margin-bottom:7px}.application-card.application-return-pending{border-color:#d8cdea!important;box-shadow:inset 3px 0 #9786ba}.application-card.application-return-pending .application-card-head{background:#f1edf8!important}.application-card .return-pending-link{margin:0;white-space:nowrap}
@media(max-width:700px){.group-selection-bar.customer-selection-tools{display:flex;flex-wrap:wrap;overflow:visible;gap:10px;padding:12px}.customer-selection-tools .group-selection-actions{display:flex;flex:1 1 100%;width:100%;min-width:0;flex-wrap:wrap;margin:0;gap:7px}.customer-selection-tools .group-selection-actions>button{flex:1 1 calc(50% - 7px);min-width:0;white-space:normal;line-height:1.5;min-height:40px}.customer-selection-tools .customer-product-actions{display:flex;flex:1 1 100%;width:100%;flex-wrap:wrap;gap:7px;padding:8px 0 0;border:0;border-top:1px solid #dce5f1}.customer-selection-tools .customer-product-actions .btn{flex:1 1 calc(50% - 7px);white-space:normal;min-width:0;min-height:40px}.customer-selection-tools .selection-help{margin-left:auto}}
