/* =====================================================================
   Wholesale Shop – staff screens
   File: assets/css/ws-admin.css

   - .ws-adm   Wholesale Management page ([ws_admin_toolbar]): header,
               scrolling tab bar, every panel, and the dense mobile rows.
   - .ws-pbar  Admin preview bar above the order table.
   - .ws-order-for-*  "Ordering for a customer" banner, panel card and
               floating badge.

   Builds on the tokens in frontend.css. Mobile breakpoint: 700px.
   Tables marked .ws-mtbl turn into 2-3 line list rows on mobile: each row
   becomes a wrapping flex line, cells are ordered with `order`, and the
   row's ::before / ::after act as line breaks.
   ===================================================================== */

/* ---------------------------------------------------------------------
   Management page shell
   --------------------------------------------------------------------- */
.ws-adm { background: var(--ws-bg); color: var(--ws-ink); margin-top: 0; margin-bottom: 24px; padding: 0; border-radius: 0; box-shadow: none; }
.ws-adm.alignwide { max-width: var(--wp--style--global--wide-size, 1280px); }
.ws-adm-h { background: var(--ws-k); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 20px; }
.ws-adm-h h2 { margin: 0; color: #fff; font: 600 20px/1.2 var(--ws-h); text-transform: uppercase; letter-spacing: .5px; display: flex; gap: 10px; align-items: center; }
[dir="rtl"] .ws-adm-h h2, [dir="rtl"].ws-adm .ws-adm-h h2 { text-transform: none; }

/* tab bar: one line, scrolls sideways, faded at the far edge */
.ws-adm .ws-adm-tabs { display: flex; flex-wrap: nowrap; gap: 0; margin: 0; padding: 0; background: #fff; border: 0; border-bottom: 1px solid var(--ws-ln); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ws-adm .ws-adm-tabs::-webkit-scrollbar { display: none; }
.ws-adm .ws-adm-tabs .ws-toolbar-toggle {
    flex: 0 0 auto; display: flex; align-items: center; gap: 6px; margin: 0; padding: 12px 16px;
    background: none; border: 0; border-bottom: 3px solid transparent; border-radius: 0; box-shadow: none;
    color: #555; font: 500 13px/1.2 var(--ws-h); text-transform: uppercase; letter-spacing: .5px; white-space: nowrap; cursor: pointer;
}
[dir="rtl"] .ws-adm .ws-adm-tabs .ws-toolbar-toggle { text-transform: none; letter-spacing: 0; font-size: 14px; }
.ws-adm .ws-adm-tabs .ws-toolbar-toggle:hover { color: var(--ws-k); background: none; }
.ws-adm .ws-adm-tabs .ws-toolbar-toggle.active { color: var(--ws-k); border-bottom-color: var(--ws-o); background: none; }
.ws-adm .ws-adm-tabs .ws-toolbar-toggle:focus { outline: none; }
.ws-adm .ws-adm-tabs .ws-toolbar-toggle:focus-visible { outline: 2px solid var(--ws-o); outline-offset: -2px; }
.ws-adm .ws-adm-tabs .dashicons { display: none; }
.ws-adm .ws-badge, .ws-adm .ws-order-for-indicator { background: var(--ws-o); color: #fff; font: 600 10.5px/1.5 var(--ws-h); padding: 0 6px; border-radius: 10px; margin: 0; animation: none; }
.ws-adm .ws-order-for-indicator { width: 8px; height: 8px; padding: 0; font-size: 0; }

/* panels */
.ws-adm .ws-admin-panels { margin: 0; padding: 16px 20px 20px; }
.ws-adm .ws-admin-panel { display: none; position: static; background: none; border: 0; border-radius: 0; box-shadow: none; margin: 0; overflow: visible; color: var(--ws-ink); }
.ws-adm .ws-admin-panel.ws-panel-active { display: block; }
.ws-adm .ws-panel-header { display: none; }
.ws-adm .ws-panel-content { padding: 0; max-height: none; overflow: visible; }
.ws-adm .ws-table-wrapper { max-height: none; overflow: visible; margin: 0; }
.ws-adm .ws-panel-empty { background: #fff; border: 1px solid var(--ws-ln); text-align: center; padding: 30px 16px; color: var(--ws-mu); }
.ws-adm .ws-panel-empty .dashicons { font-size: 40px; width: 40px; height: 40px; color: #CCC; }
.ws-adm .ws-panel-empty p { margin: 6px 0 0; }
.ws-adm a:not([class*="btn"]) { color: var(--ws-o); }
.ws-adm p { margin: 0 0 10px; }

/* toolbar row above a list: search + actions */
.ws-adm .ws-adm-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.ws-adm .ws-adm-bar .ws-adm-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-inline-start: auto; }
.ws-adm .ws-srch { position: relative; flex: 1 1 220px; max-width: 320px; min-width: 0; }
.ws-adm .ws-srch svg { position: absolute; inset-inline-start: 10px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--ws-mu); pointer-events: none; }
.ws-adm .ws-srch input { width: 100%; height: 36px; padding: 0 10px; padding-inline-start: 32px; border: 1px solid #D3D3D3; border-radius: 0; background: #fff; font-size: 14px; box-shadow: none; }
.ws-adm .ws-srch input:focus { outline: none; border-color: var(--ws-o); box-shadow: 0 0 0 3px var(--ws-os); }
.ws-adm .ws-sec { margin-top: 18px; }
.ws-adm .ws-sec:first-child { margin-top: 0; }
.ws-adm .ws-desc { margin: -4px 0 10px; color: var(--ws-mu); font-size: 13px; }

/* buttons inside panels: legacy class names map onto the brand button */
.ws-adm .ws-panel-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 12px;
    border: 1px solid var(--ws-k); border-radius: 0; background: #fff; color: var(--ws-k); cursor: pointer; white-space: nowrap;
    font: 600 11.5px/1 var(--ws-h); text-transform: uppercase; letter-spacing: 1px; text-decoration: none; box-shadow: none;
}
[dir="rtl"] .ws-adm .ws-panel-btn, [dir="rtl"] .ws-adm .ws-btn { letter-spacing: .3px; }
.ws-adm .ws-panel-btn:hover { background: var(--ws-k); color: #fff; }
.ws-adm .ws-panel-btn-success { background: var(--ws-ok); border-color: var(--ws-ok); color: #fff; }
.ws-adm .ws-panel-btn-success:hover { background: #17733f; border-color: #17733f; color: #fff; }
.ws-adm .ws-panel-btn-danger { border-color: #CCC; color: var(--ws-er); }
.ws-adm .ws-panel-btn-danger:hover { background: var(--ws-er); border-color: var(--ws-er); color: #fff; }
.ws-adm .ws-panel-btn-sm { height: 30px; padding: 0 10px; }
.ws-adm .ws-panel-btn .dashicons { font-size: 15px; width: 15px; height: 15px; }
.ws-adm .ws-btn .dashicons { font-size: 15px; width: 15px; height: 15px; }
.ws-adm .ws-ico { min-width: 32px; padding: 0 8px; font-size: 14px; letter-spacing: 0; }
.ws-adm .ws-panel-btn.ws-ico { border-color: #CCC; color: #555; }
.ws-adm .ws-panel-btn.ws-ico:hover { border-color: var(--ws-k); background: var(--ws-k); color: #fff; }
.ws-adm .ws-btn[disabled], .ws-adm .ws-panel-btn[disabled] { opacity: .55; cursor: default; }

/* ---------------------------------------------------------------------
   Admin table
   --------------------------------------------------------------------- */
.ws-adm .ws-atbl { width: 100%; min-width: 0; border-collapse: collapse; border-spacing: 0; background: #fff; border: 1px solid var(--ws-ln); margin: 0; font-size: 13px; line-height: 1.4; }
.ws-adm .ws-atbl thead { position: static; }
.ws-adm .ws-atbl th { background: #F3F3F3; color: #555; font: 500 11.5px/1.3 var(--ws-h); text-transform: uppercase; letter-spacing: .4px; padding: 9px 8px; text-align: start; border: 0; border-bottom: 1px solid var(--ws-ln); white-space: nowrap; }
[dir="rtl"] .ws-adm .ws-atbl th { text-transform: none; letter-spacing: 0; font-size: 12.5px; }
.ws-adm .ws-atbl td { padding: 9px 8px; border: 0; border-bottom: 1px solid var(--ws-ln); vertical-align: middle; text-align: start; background: #fff; color: var(--ws-ink); }
.ws-adm .ws-atbl tbody tr:last-child td { border-bottom: 0; }
.ws-adm .ws-atbl tbody tr:hover > td { background: #FCFCFC; }
.ws-adm .ws-atbl td b, .ws-adm .ws-atbl td strong { font-weight: 600; }
.ws-adm .ws-atbl tfoot td { background: #F7F7F7; }
.ws-adm .ws-sub { display: block; color: var(--ws-mu); font-size: 12px; margin: 0; word-break: break-all; }
.ws-adm .ws-muted { color: var(--ws-mu); }
.ws-adm .ws-c-act .ws-view-actions, .ws-adm .ws-c-act .ws-edit-actions, .ws-adm .ws-acts { display: flex; gap: 6px; justify-content: flex-end; align-items: center; flex-wrap: nowrap; }
.ws-adm .ws-c-act { white-space: nowrap; width: 1%; }

/* form controls inside panels */
.ws-adm .ws-atbl input[type="text"], .ws-adm .ws-atbl input[type="email"], .ws-adm .ws-atbl input[type="number"], .ws-adm .ws-atbl input[type="tel"],
.ws-adm .ws-atbl select, .ws-adm .ws-ctl, .ws-adm .ws-fld input, .ws-adm .ws-fld select, .ws-adm .ws-fld textarea {
    height: 32px; padding: 0 8px; border: 1px solid #D3D3D3; border-radius: 0; background: #fff; color: var(--ws-ink);
    font-size: 13px; line-height: 1.2; box-shadow: none; max-width: 100%; min-width: 0; margin: 0;
}
.ws-adm .ws-fld textarea, .ws-adm textarea.ws-ctl { height: 60px; padding: 6px 8px; resize: vertical; width: 100%; }
.ws-adm .ws-atbl input:focus, .ws-adm .ws-atbl select:focus, .ws-adm .ws-ctl:focus, .ws-adm .ws-fld input:focus, .ws-adm .ws-fld select:focus, .ws-adm .ws-fld textarea:focus {
    outline: none; border-color: var(--ws-o); box-shadow: 0 0 0 3px var(--ws-os);
}
.ws-adm input[type="checkbox"] { accent-color: var(--ws-o); width: 16px; height: 16px; margin: 0; vertical-align: middle; }
.ws-adm input[type="number"] { -moz-appearance: textfield; }
.ws-adm [dir="rtl"] input[type="number"], [dir="rtl"].ws-adm input[type="number"], [dir="rtl"].ws-adm input[type="email"], [dir="rtl"].ws-adm input[type="tel"] { direction: ltr; text-align: end; }
.ws-adm .ws-fld { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ws-adm .ws-fld > span, .ws-adm .ws-fld > label { font-size: 12px; color: #444; font-weight: 500; }
.ws-adm .ws-fld input, .ws-adm .ws-fld select { width: 100%; }

/* inline edit rows (pending + customers) */
.ws-adm .ws-edit-mode { gap: 4px; }
.ws-adm .ws-edit-mode.ws-two { display: flex; }
.ws-adm .ws-c-name .ws-edit-mode input { width: 50%; }
.ws-adm tr.ws-editing > td { background: #FFFBF4; }
.ws-adm .ws-saved-flash > td { background: var(--ws-oks) !important; transition: background .3s; }

/* country picker (selectWoo) */
.ws-adm .ws-atbl .select2-container { min-width: 140px; }
.ws-adm .ws-atbl .select2-selection--single { height: 32px; display: flex; align-items: center; border: 1px solid #D3D3D3; border-radius: 0; }
.ws-adm .ws-atbl .select2-selection__rendered { padding: 0 6px !important; line-height: 1.4 !important; font-size: 13px; white-space: nowrap; }
.ws-country-dropdown { min-width: 240px !important; }
.ws-country-dropdown .select2-results__option { white-space: nowrap; font-size: 13px; padding: 6px 10px; }
.ws-country-dropdown .select2-search__field { font-size: 13px; padding: 6px; }
.ws-adm .select2-container--default .select2-selection--multiple { border: 1px solid #D3D3D3; border-radius: 0; min-height: 32px; }
.ws-adm .select2-container--default.select2-container--focus .select2-selection--multiple { border-color: var(--ws-o); }
.ws-adm .select2-container--default .select2-selection--multiple .select2-selection__choice { background: var(--ws-os); border: 1px solid #F5C9A0; border-radius: 0; font-size: 12px; }

/* chips used in lists */
.ws-adm .ws-flag { font-style: normal; }
.ws-adm .ws-tier { background: var(--ws-o); color: #fff; }
.ws-adm .ws-cur-chip { background: #EEE; color: #444; }

/* ---------------------------------------------------------------------
   Orders
   --------------------------------------------------------------------- */
.ws-adm .ws-orders-tabs, .ws-adm .ws-ord-resp-filter, .ws-adm .ws-st-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin: 0 0 8px; padding: 0; border: 0; }
.ws-adm .ws-orders-tab, .ws-adm .ws-ord-resp-btn, .ws-adm .ws-st-tabs > * {
    display: inline-flex; align-items: center; gap: 4px; margin: 0; padding: 5px 10px; background: #fff; border: 1px solid var(--ws-ln); border-radius: 0;
    color: var(--ws-ink); font: 400 12.5px/1.3 var(--ws-b); white-space: nowrap; cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: 0;
}
.ws-adm .ws-orders-tab:hover, .ws-adm .ws-ord-resp-btn:hover { border-color: #BDBDBD; background: #fff; color: var(--ws-ink); }
.ws-adm .ws-orders-tab.ws-tab-active, .ws-adm .ws-ord-resp-btn.ws-tab-active { background: var(--ws-k); color: #fff; border-color: var(--ws-k); }
.ws-adm .ws-tab-count { background: none; color: var(--ws-mu); font-size: 12.5px; padding: 0; margin-inline-start: 2px; border-radius: 0; }
.ws-adm .ws-orders-tab.ws-tab-active .ws-tab-count { background: none; color: #BBB; }
.ws-adm .ws-orders-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; }
.ws-adm .ws-orders-toolbar .ws-ord-resp-filter { margin: 0; }
.ws-adm .ws-orders-search-wrap { position: relative; flex: 1 1 220px; max-width: 320px; }
.ws-adm .ws-orders-search-wrap .dashicons { position: absolute; inset-inline-start: 9px; top: 50%; transform: translateY(-50%); color: var(--ws-mu); font-size: 17px; width: 17px; height: 17px; }
.ws-adm .ws-orders-search-input { width: 100%; height: 34px; padding: 0 10px; padding-inline-start: 32px; border: 1px solid #D3D3D3; border-radius: 0; font-size: 13.5px; background: #fff; }
.ws-adm .ws-orders-search-input:focus { outline: none; border-color: var(--ws-o); }
.ws-adm #ws-orders-refresh { margin-inline-start: auto; }
.ws-adm #ws-orders-container { position: relative; min-height: 120px; }
.ws-adm .ws-orders-loading { position: absolute; inset: 0; background: rgba(255,255,255,.7); display: flex; align-items: center; justify-content: center; z-index: 5; }
.ws-adm .ws-orders-table-wrap { max-height: none; overflow: visible; border: 0; border-radius: 0; }
.ws-adm #ws-orders-table th { position: static; }
.ws-adm .ws-ord-pagination { padding: 8px 2px; background: none; border: 0; }
.ws-adm .ws-ord-pagination-info { font-size: 12.5px; color: var(--ws-mu); }
.ws-adm .ws-ord-no-orders { text-align: center; padding: 36px 16px; color: var(--ws-mu); }
.ws-adm .ws-ord-no-orders .dashicons { font-size: 40px; width: 40px; height: 40px; opacity: .35; display: block; margin: 0 auto 8px; }
.ws-adm .ws-ord-no-orders p { margin: 0; }
.ws-adm .ws-ord-num { font: 600 14px var(--ws-h); }
.ws-adm .ws-ord-customer-cell { font-size: 13px; line-height: 1.35; }
.ws-adm .ws-ord-customer-cell .ws-ord-email { color: var(--ws-mu); font-size: 12px; display: block; }
.ws-adm .ws-ord-guest-tag { color: var(--ws-wa); font-size: 11px; font-style: normal; }
.ws-adm .ws-ord-date { color: var(--ws-mu); white-space: nowrap; }
.ws-adm .ws-ord-total { font: 600 14px var(--ws-h); color: var(--ws-k); }
.ws-adm .ws-ord-total .woocommerce-Price-amount { font: inherit; }
.ws-adm .ws-ord-currency { display: none; }
.ws-adm .ws-c-status { white-space: nowrap; }
.ws-adm .ws-ord-update-btn { display: none; margin-inline-start: 4px; height: 26px; padding: 0 8px; background: var(--ws-ok); border: 0; border-radius: 0; color: #fff; font: 600 11px var(--ws-h); text-transform: uppercase; letter-spacing: .5px; cursor: pointer; vertical-align: middle; }
.ws-adm .ws-ord-update-btn.ws-show { display: inline-block; }
.ws-adm .ws-ord-resp-select { height: 30px; max-width: 160px; font-size: 12.5px; }
.ws-adm .ws-ord-resp-select.ws-saved { outline: 2px solid var(--ws-ok); outline-offset: 0; }
.ws-adm .ws-ord-row.ws-row-expanded > td { background: var(--ws-os); }
.ws-adm .ws-ord-expand-btn { width: 32px; height: 30px; padding: 0; display: inline-grid; place-items: center; border: 1px solid #CCC; background: #fff; color: var(--ws-k); border-radius: 0; cursor: pointer; line-height: 1; }
.ws-adm .ws-ord-expand-btn:hover, .ws-adm .ws-ord-expand-btn.ws-expanded { background: var(--ws-k); border-color: var(--ws-k); color: #fff; }
.ws-adm .ws-ord-expand-btn .dashicons { font-size: 16px; width: 16px; height: 16px; transition: transform .15s; }
.ws-adm .ws-ord-expand-btn.ws-expanded .dashicons { transform: rotate(180deg); }
.ws-adm .ws-ord-link .dashicons { font-size: 15px; width: 15px; height: 15px; }
.ws-adm .ws-c-exp, .ws-adm .ws-c-link { width: 1%; white-space: nowrap; text-align: end; }

/* status chip; also used as the status picker (a select styled as a chip) */
.ws-stt { display: inline-block; font: 600 11px/1.3 var(--ws-h); text-transform: uppercase; letter-spacing: .4px; padding: 3px 7px; white-space: nowrap; background: #EEE; color: #555; }
[dir="rtl"] .ws-stt { text-transform: none; letter-spacing: 0; font-size: 12px; }
.ws-stt-pr { background: var(--ws-infos); color: var(--ws-info); }
.ws-stt-oh { background: var(--ws-was); color: var(--ws-wa); }
.ws-stt-co { background: var(--ws-oks); color: var(--ws-ok); }
.ws-stt-er { background: var(--ws-ers); color: var(--ws-er); }
.ws-stt-pe { background: #EEE; color: #555; }
.ws-adm select.ws-stt {
    field-sizing: content;
    -webkit-appearance: none; appearance: none; height: 26px; border: 0; border-radius: 0; cursor: pointer; box-shadow: none; min-width: 0; width: auto;
    padding: 0 22px 0 8px; padding-inline: 8px 22px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23555' stroke-width='1.6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 7px center; background-size: 9px 6px;
}
[dir="rtl"] .ws-adm select.ws-stt, [dir="rtl"].ws-adm select.ws-stt { background-position: left 7px center; }
.ws-adm select.ws-stt.ws-stt-pr { background-color: var(--ws-infos); color: var(--ws-info); }
.ws-adm select.ws-stt.ws-stt-oh { background-color: var(--ws-was); color: var(--ws-wa); }
.ws-adm select.ws-stt.ws-stt-co { background-color: var(--ws-oks); color: var(--ws-ok); }
.ws-adm select.ws-stt.ws-stt-er { background-color: var(--ws-ers); color: var(--ws-er); }
.ws-adm select.ws-stt.ws-stt-pe { background-color: #EEE; color: #555; }
.ws-adm select.ws-stt option { background: #fff; color: var(--ws-ink); text-transform: none; font-weight: 400; }
.ws-adm select.ws-stt:focus { outline: 2px solid var(--ws-o); outline-offset: 1px; box-shadow: none; }

/* expanded order */
.ws-adm .ws-ord-details-row > td { padding: 0 !important; background: #FCFCFC !important; }
.ws-adm .ws-ord-details-content { padding: 12px; border-top: 1px solid var(--ws-ln); }
.ws-adm .ws-ord-loading { text-align: center; padding: 24px; color: var(--ws-mu); }
.ws-adm .ws-ord-spin { animation: ws-adm-spin 1s linear infinite; display: inline-block; }
@keyframes ws-adm-spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.ws-adm .ws-ord-details-inner { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 14px; align-items: start; }
.ws-adm .ws-ord-products-section { background: #fff; border: 1px solid var(--ws-ln); padding: 12px; min-width: 0; }
.ws-adm .ws-ord-sec-h { margin: 0 0 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; font: 600 14px var(--ws-h); text-transform: uppercase; letter-spacing: .5px; color: var(--ws-k); }
[dir="rtl"] .ws-adm .ws-ord-sec-h { text-transform: none; }
.ws-adm .ws-ord-header-actions { display: flex; gap: 6px; flex-wrap: wrap; margin: 0; }
.ws-adm .ws-ord-products-table { width: 100%; border-collapse: collapse; font-size: 13px; border: 0; margin: 0; }
.ws-adm .ws-ord-products-table th { background: none; color: var(--ws-mu); font: 500 11px var(--ws-h); text-transform: uppercase; letter-spacing: .4px; padding: 6px; text-align: start; border: 0; border-bottom: 1px solid var(--ws-ln); white-space: nowrap; }
.ws-adm .ws-ord-products-table td { padding: 7px 6px; border: 0; border-bottom: 1px solid var(--ws-ln); vertical-align: middle; text-align: start; }
.ws-adm .ws-ord-products-table tbody tr:last-child td { border-bottom: 0; }
.ws-adm .ws-ord-thumb-cell { width: 44px; }
.ws-adm .ws-ord-product-thumb { width: 40px; height: 40px; object-fit: contain; background: #F2F2F2; display: block; border: 0; border-radius: 0; }
.ws-adm .ws-ord-no-thumb { display: grid; place-items: center; width: 40px; height: 40px; background: #F2F2F2; color: #BBB; font-size: 20px; }
.ws-adm .ws-ord-product-name { font-weight: 600; color: var(--ws-k); }
.ws-adm .ws-ord-sku { display: inline-block; margin-top: 2px; font-size: 11px; color: var(--ws-mu); background: none; padding: 0; }
.ws-adm .ws-ord-qty-cell { font: 600 14px var(--ws-h); white-space: nowrap; }
.ws-adm .ws-ord-qty-cell .ws-units { display: block; font: 400 11.5px var(--ws-b); color: var(--ws-mu); }
.ws-adm .ws-ord-extra-input { width: 62px; height: 30px; text-align: center; }
.ws-adm .ws-ord-final-price { color: var(--ws-o2); font-weight: 600; }
.ws-adm .ws-ord-line-total { font-weight: 600; text-align: end; white-space: nowrap; }
.ws-adm .ws-ord-products-table th:last-child { text-align: end; }
.ws-adm .ws-ord-adjustments { margin-top: 12px; padding: 10px 12px; background: var(--ws-os); border: 1px solid #F5C9A0; }
.ws-adm .ws-ord-adjustments h5 { margin: 0 0 8px; font: 600 12.5px var(--ws-h); text-transform: uppercase; letter-spacing: .5px; color: var(--ws-o2); display: flex; align-items: center; gap: 6px; }
[dir="rtl"] .ws-adm .ws-ord-adjustments h5 { text-transform: none; }
.ws-adm .ws-ord-adjustments h5 .dashicons { font-size: 15px; width: 15px; height: 15px; }
.ws-adm .ws-ord-adj-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.ws-adm .ws-ord-adj-row label { min-width: 110px; font-size: 12.5px; font-weight: 500; color: #333; }
.ws-adm .ws-ord-adj-row input[type="number"] { width: 100px; }
.ws-adm .ws-ord-adj-reason { flex: 1 1 160px; max-width: 280px; }
.ws-adm .ws-ord-btn-group { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.ws-adm .ws-ord-save-status, .ws-adm .ws-ord-note-status { font-size: 12.5px; margin-inline-start: 6px; }
.ws-adm .ws-ord-save-status.success, .ws-adm .ws-ord-note-status.success { color: var(--ws-ok); }
.ws-adm .ws-ord-save-status.error, .ws-adm .ws-ord-note-status.error { color: var(--ws-er); }
.ws-adm .ws-ord-totals { margin-top: 10px; margin-inline-start: auto; max-width: 320px; padding: 8px 0 0; background: none; }
.ws-adm .ws-ord-totals-row { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; font-size: 13px; }
.ws-adm .ws-ord-totals-row span:last-child { unicode-bidi: isolate; direction: ltr; white-space: nowrap; }
.ws-adm .ws-ord-totals-row.ws-discount span:last-child { color: var(--ws-ok); }
.ws-adm .ws-ord-totals-row.ws-grand-total { border-top: 2px solid var(--ws-k); margin-top: 6px; padding-top: 8px; font: 600 16px var(--ws-h); }
.ws-adm .ws-ord-totals-row.ws-grand-total span:last-child { color: var(--ws-o); }
.ws-adm .ws-ord-side-info { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ws-adm .ws-ord-info-card { background: #fff; border: 1px solid var(--ws-ln); padding: 10px 12px; font-size: 13px; }
.ws-adm .ws-ord-info-card h6 { margin: 0 0 4px; padding: 0; border: 0; font: 600 12px var(--ws-h); text-transform: uppercase; letter-spacing: .5px; color: var(--ws-o); display: flex; align-items: center; gap: 6px; }
[dir="rtl"] .ws-adm .ws-ord-info-card h6 { text-transform: none; }
.ws-adm .ws-ord-info-card h6 .dashicons { display: none; }
.ws-adm .ws-ord-info-card p { margin: 0; font-size: 13px; line-height: 1.5; color: #333; }
.ws-adm .ws-ord-contact { margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--ws-ln); word-break: break-all; }
.ws-adm .ws-ord-same-address { color: var(--ws-mu); font-style: italic; }
.ws-adm .ws-ord-ship-method { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-weight: 600; margin-bottom: 4px !important; }
.ws-adm .ws-ord-guest-badge { background: var(--ws-was); color: var(--ws-wa); font-size: 10px; padding: 1px 6px; text-transform: uppercase; }
.ws-adm .ws-ord-note-card textarea { width: 100%; min-height: 56px; padding: 6px 8px; border: 1px solid #D3D3D3; border-radius: 0; font-size: 13px; resize: vertical; margin: 2px 0 6px; background: #fff; }
.ws-adm .ws-ord-note-card textarea:focus { outline: none; border-color: var(--ws-o); }
.ws-adm .ws-ord-private-note-card { background: #FAFAFA; }
.ws-adm .ws-ord-private-note-card h6 { color: #555; }

/* ---------------------------------------------------------------------
   Bulk edit
   --------------------------------------------------------------------- */
.ws-adm .ws-bulk .ws-c-chk { width: 28px; }
.ws-adm .ws-bulk .ws-c-prod { min-width: 200px; }
.ws-adm .ws-bulk-prod { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ws-adm .ws-bulk-prod .ws-thumb { width: 40px; height: 40px; flex: 0 0 40px; }
.ws-adm .ws-bulk-prod .ws-thumb img { width: 100%; height: 100%; object-fit: contain; }
.ws-adm .ws-bulk-name { flex: 1; min-width: 0; }
.ws-adm .ws-bulk-name b { display: block; font-weight: 600; }
.ws-adm .ws-bulk-name .ws-sub { word-break: normal; }
.ws-adm .ws-bulk-rg { flex: 0 0 auto; }
.ws-adm .ws-bf { display: flex; align-items: center; margin: 0; }
.ws-adm .ws-bf-l { display: none; }
.ws-adm .ws-bulk .ws-bf input { width: 76px; }
.ws-adm .ws-bulk .ws-c-units .ws-bf input { width: 60px; }
.ws-adm .ws-bulk .ws-c-order input { width: 56px; }
.ws-adm .ws-bulk .ws-c-region select { width: auto; max-width: 170px; }
.ws-adm .ws-bulk tr.ws-dirty > td { background: #FFFBF4; }
.ws-adm .ws-bulk tr.ws-hidden, .ws-adm .ws-users tr.ws-hidden { display: none !important; }

/* ---------------------------------------------------------------------
   Discount tiers
   --------------------------------------------------------------------- */
.ws-adm .ws-mlist { display: flex; flex-direction: column; border: 1px solid var(--ws-ln); background: #fff; margin: 0; padding: 0; list-style: none; }
.ws-adm .ws-mi { padding: 10px 12px; border-bottom: 1px solid var(--ws-ln); position: relative; min-width: 0; }
.ws-adm .ws-mi:last-child { border-bottom: 0; }
.ws-adm .ws-mi-1 { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; min-width: 0; }
.ws-adm .ws-mi-1 > b { font-weight: 600; min-width: 0; }
.ws-adm .ws-mi-1 > .ws-muted, .ws-adm .ws-mi-1 > span:not(.ws-chip) { font-size: 12.5px; color: var(--ws-mu); white-space: nowrap; }
.ws-adm .ws-mi-2 { font-size: 12.5px; color: var(--ws-mu); margin-top: 1px; line-height: 1.4; }
.ws-adm .ws-mi-3 { display: flex; align-items: center; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.ws-adm .ws-mi.ws-mi-soft { background: var(--ws-os); }
.ws-adm .ws-role-key { color: #999; font-size: 11px; font-weight: 400; margin-inline-start: 6px; }
.ws-adm .ws-role-ro { color: var(--ws-wa); font-size: 11px; margin-inline-start: 6px; text-transform: uppercase; letter-spacing: .4px; }
.ws-adm .ws-role-disc { display: flex; gap: 6px; align-items: center; font-size: 13px; margin: 0; white-space: nowrap; }
.ws-adm .ws-role-disc input { width: 64px; height: 30px; }
.ws-adm .ws-role-badge { display: inline-block; min-width: 64px; padding: 5px 8px; background: #F3F3F3; color: #444; font: 600 13px var(--ws-h); text-align: center; border: 0; border-radius: 0; }
.ws-adm .ws-role-delete-btn { background: none; border: 0; color: var(--ws-er); cursor: pointer; font-size: 18px; line-height: 1; padding: 0 4px; margin-inline-start: 4px; }
.ws-adm .ws-category-discounts { flex: 1; min-width: 0; max-width: none; }
.ws-adm .ws-category-list { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.ws-adm .ws-category-item { display: inline-flex; align-items: center; gap: 4px; margin: 0; padding: 2px 4px 2px 8px; padding-inline: 8px 4px; background: var(--ws-os); border: 1px solid #F5C9A0; border-radius: 0; font-size: 12px; }
.ws-adm .ws-category-item .ws-cat-name { flex: none; font-weight: 500; }
.ws-adm .ws-category-item input { width: 52px !important; height: 24px; padding: 0 4px; font-size: 12px; text-align: center; }
.ws-adm .ws-remove-cat { background: none; color: var(--ws-er); border: 0; width: 20px; height: 20px; padding: 0; cursor: pointer; font-size: 15px; line-height: 1; border-radius: 0; }
.ws-adm .ws-remove-cat:hover { background: var(--ws-ers); }
.ws-adm .ws-add-category { display: none; margin-top: 6px; gap: 6px; align-items: center; flex-wrap: wrap; }
.ws-adm .ws-add-category.ws-open { display: flex; }
.ws-adm .ws-add-category select { flex: 1 1 160px; max-width: 240px; }
.ws-adm .ws-add-category input { width: 70px; }
.ws-adm .ws-cat-wrap { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.ws-adm .ws-toggle-categories.active { background: var(--ws-k); color: #fff; }
.ws-adm .ws-add-role-wrapper { margin-top: 12px; }
.ws-adm #ws-frontend-add-role { margin-top: 0; margin-bottom: 12px; background: #fff; border: 1px solid var(--ws-ln); padding: 14px; }
.ws-adm .ws-addrole-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 14px; }
.ws-adm .ws-addrole-grid .ws-span2 { grid-column: span 2; }
.ws-adm .ws-addrole-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; margin: 12px 0; }
.ws-adm .ws-addrole-checks label { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; margin: 0; }
.ws-adm .ws-addrole-checks label input { margin-top: 2px; flex: 0 0 auto; }
.ws-adm .ws-form-acts { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; margin-top: 10px; }
.ws-adm .ws-req { color: var(--ws-o); }

/* ---------------------------------------------------------------------
   Order for customer
   --------------------------------------------------------------------- */
.ws-adm .ws-order-for-current, .ws-ui .ws-order-for-current {
    background: var(--ws-os); border: 1px solid var(--ws-o); border-radius: 0; padding: 14px 16px; margin: 0 0 10px;
    display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}
.ws-adm .ws-order-for-current-info { display: flex; align-items: center; gap: 12px; margin: 0; min-width: 0; }
.ws-adm .ws-order-for-current-info > .dashicons { font-size: 30px; width: 30px; height: 30px; color: var(--ws-o); }
.ws-adm .ws-order-for-current-info > div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ws-adm .ws-order-for-label { font: 500 11.5px var(--ws-h); text-transform: uppercase; letter-spacing: .5px; color: var(--ws-o2); }
[dir="rtl"] .ws-adm .ws-order-for-label { text-transform: none; }
.ws-adm .ws-order-for-name { font: 600 18px var(--ws-h); color: var(--ws-k); }
.ws-adm .ws-order-for-email, .ws-adm .ws-order-for-company { color: var(--ws-mu); font-size: 12.5px; }
.ws-adm .ws-order-for-current .ws-acts { flex-wrap: wrap; }
.ws-adm .ws-order-for-instructions { background: none; border: 0; padding: 0; margin: 0; }
.ws-adm .ws-order-for-instructions p { margin: 0; display: block; font-size: 13px; color: var(--ws-mu); }
.ws-adm .ws-order-for-intro { color: var(--ws-mu); font-size: 13px; margin: 0 0 8px; }
.ws-adm .ws-order-for-search { margin: 0 0 10px; }
.ws-adm .ws-order-for-user-list { max-height: none; overflow: visible; border: 0; border-radius: 0; }
.ws-adm .ws-order-for-user-item.hidden { display: none !important; }
.ws-adm .ws-user-item-name { font-weight: 600; color: var(--ws-k); white-space: normal; }
.ws-adm .ws-user-item-discount { background: var(--ws-o); color: #fff; padding: 2px 7px; font: 600 11.5px var(--ws-h); border-radius: 0; }

/* ---------------------------------------------------------------------
   Team & settings
   --------------------------------------------------------------------- */
.ws-adm .ws-team-card { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; }
.ws-adm .ws-team-card > * { flex: 1 1 100%; min-width: 0; }
.ws-adm .ws-team-card > .ws-team-tabchips { flex: 1 1 auto; }
.ws-adm .ws-team-card > details.ws-team-edit { flex: 0 0 auto; margin-inline-start: auto; margin-top: 6px; }
.ws-adm .ws-team-card > details.ws-team-edit[open] { flex: 1 1 100%; }
.ws-adm .ws-team-card .ws-mi-1 .ws-team-who { min-width: 0; }
.ws-adm .ws-team-card .ws-team-who b { display: block; font-weight: 600; }
.ws-adm .ws-team-sum { margin-top: 2px; }
.ws-adm .ws-team-tabchips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; align-items: center; }
.ws-adm .ws-team-tabchips > span { background: var(--ws-os); border: 1px solid #F5C9A0; padding: 2px 8px; font-size: 12px; }
.ws-adm .ws-team-tabchips > span.ws-off { background: #F5F5F5; border-color: var(--ws-ln); color: #999; }
.ws-adm .ws-team-warn { display: inline-block; margin-top: 4px; color: var(--ws-wa); font-size: 11.5px; cursor: help; }
.ws-adm .ws-team-switch { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; white-space: nowrap; margin: 0; }
.ws-adm details.ws-team-edit > summary { list-style: none; display: inline-flex; cursor: pointer; }
.ws-adm details.ws-team-edit > summary::-webkit-details-marker { display: none; }
.ws-adm details.ws-team-edit[open] > summary { background: var(--ws-k); color: #fff; }
.ws-adm .ws-team-body { margin-top: 10px; display: grid; gap: 10px; }
.ws-adm .ws-team-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.ws-adm .ws-team-tabs label { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border: 1px solid var(--ws-ln); background: #fff; font-size: 12.5px; white-space: nowrap; margin: 0; cursor: pointer; }
.ws-adm .ws-team-tabs label:has(input:checked) { background: var(--ws-os); border-color: #F5C9A0; }
.ws-adm .ws-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 12px; }
.ws-adm .ws-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 12px; }
.ws-adm .ws-team-contact { padding-top: 8px; border-top: 1px dashed var(--ws-ln); }
.ws-adm .ws-team-contact-h { font: 600 11.5px var(--ws-h); text-transform: uppercase; letter-spacing: .5px; color: var(--ws-o2); margin: 0 0 6px; }
[dir="rtl"] .ws-adm .ws-team-contact-h { text-transform: none; }
.ws-adm .ws-team-actions { display: flex; gap: 8px; align-items: center; justify-content: flex-end; margin: 10px 0 4px; flex-wrap: wrap; }
.ws-adm .ws-team-status { font-size: 13px; margin-inline-end: auto; }
.ws-adm .ws-team-status.ok { color: var(--ws-ok); }
.ws-adm .ws-team-status.err { color: var(--ws-er); }
.ws-adm .ws-country-table select { width: 100%; }
.ws-adm .ws-country-table .ws-c-ctry { width: 22%; }
.ws-adm .ws-country-table .ws-c-x { width: 1%; }
.ws-adm .ws-country-other > td { background: var(--ws-os) !important; }
.ws-adm .ws-ship-row .ws-ship-top { display: grid; grid-template-columns: 56px minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, .9fr) 32px; gap: 8px; align-items: end; }
.ws-adm .ws-ship-row .ws-ship-desc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: 6px; padding-inline-start: 64px; }
.ws-adm .ws-ship-on { padding-bottom: 7px; }
.ws-adm .ws-ship-x { align-self: end; }
.ws-adm .ws-ship-key { font-size: 11px; color: #999; }
.ws-adm .ws-ship-row.ws-off { background: #FAFAFA; }
.ws-adm .ws-ship-row.ws-off .ws-ship-top input[type="text"] { color: #888; }
.ws-adm .ws-pickup-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; background: #fff; border: 1px solid var(--ws-ln); padding: 12px; }
.ws-adm input[dir="rtl"] { text-align: right; }

/* ---------------------------------------------------------------------
   Mobile (≤700px): dense list rows
   --------------------------------------------------------------------- */
@media (max-width: 700px) {
    .ws-adm-h { padding: 10px 12px; }
    .ws-adm-h h2 { font-size: 13px; letter-spacing: 0; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
    .ws-adm.alignwide, .ws-pbar.alignwide { margin-left: calc(var(--wp--style--root--padding-left, 0px) * -1) !important; margin-right: calc(var(--wp--style--root--padding-right, 0px) * -1) !important; max-width: none; width: auto; }
    .ws-adm .ws-adm-tabs .ws-toolbar-toggle { padding: 10px 12px; font-size: 12px; }
    [dir="rtl"] .ws-adm .ws-adm-tabs .ws-toolbar-toggle { font-size: 13px; }
    .ws-adm .ws-adm-tabs:not(.ws-at-end) { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
    [dir="rtl"] .ws-adm .ws-adm-tabs:not(.ws-at-end), [dir="rtl"].ws-adm .ws-adm-tabs:not(.ws-at-end) { -webkit-mask-image: linear-gradient(270deg, #000 85%, transparent); mask-image: linear-gradient(270deg, #000 85%, transparent); }
    .ws-adm .ws-admin-panels { padding: 10px 12px 16px; }
    .ws-adm .ws-srch { max-width: none; flex-basis: 100%; }
    .ws-adm .ws-adm-bar .ws-srch { flex: 1 1 140px; }

    /* generic table -> list rows */
    .ws-adm .ws-mtbl, .ws-adm .ws-mtbl > tbody { display: block; width: 100%; }
    .ws-adm .ws-mtbl > thead { display: none; }
    .ws-adm .ws-mtbl > tbody > tr { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; row-gap: 0; padding: 8px 12px; border-bottom: 1px solid var(--ws-ln); background: #fff; position: relative; }
    .ws-adm .ws-mtbl > tbody > tr:last-child { border-bottom: 0; }
    .ws-adm .ws-mtbl > tbody > tr::before, .ws-adm .ws-mtbl > tbody > tr::after { content: ""; flex-basis: 100%; height: 0; order: 50; }
    .ws-adm .ws-mtbl > tbody > tr > td { display: block; padding: 0; border: 0; background: none !important; min-width: 0; }
    .ws-adm .ws-mtbl > tbody > tr > td[colspan] { flex: 1 1 100%; }
    .ws-adm .ws-mtbl .ws-m-hide { display: none !important; }
    .ws-adm .ws-mtbl .ws-m-meta { font-size: 12.5px; color: var(--ws-mu); white-space: nowrap; }
    .ws-adm .ws-mtbl .ws-m-sep::before { content: "· "; color: var(--ws-mu); }
    .ws-adm .ws-mtbl .ws-m-line2 { font-size: 12.5px; color: var(--ws-mu); margin-top: 1px; line-height: 1.35; }
    .ws-adm .ws-mtbl .ws-c-act, .ws-adm .ws-mtbl .ws-c-exp { width: auto; flex: 0 0 auto; }
    .ws-adm .ws-mtbl .ws-sub { display: none; }

    /* editing a row on a phone: plain labelled fields, one per line */
    .ws-adm .ws-mtbl > tbody > tr.ws-editing { display: block; padding: 10px 12px; background: #FFFBF4; }
    .ws-adm .ws-mtbl > tbody > tr.ws-editing > td { display: flex !important; align-items: center; gap: 8px; padding: 3px 0; }
    .ws-adm .ws-mtbl > tbody > tr.ws-editing > td::before { content: attr(data-label); flex: 0 0 82px; font-size: 12px; color: var(--ws-mu); }
    .ws-adm .ws-mtbl > tbody > tr.ws-editing > td > * { flex: 1; min-width: 0; }
    .ws-adm .ws-mtbl > tbody > tr.ws-editing > td .ws-view-mode { display: none !important; }
    .ws-adm .ws-mtbl > tbody > tr.ws-editing > td.ws-c-act::before, .ws-adm .ws-mtbl > tbody > tr.ws-editing > td.ws-c-login { display: none !important; }
    .ws-adm .ws-mtbl > tbody > tr.ws-editing > td.ws-c-act { justify-content: flex-end; padding-top: 8px; }
    .ws-adm .ws-mtbl > tbody > tr.ws-editing > td.ws-c-act > * { flex: 0 0 auto; }
    .ws-adm .ws-mtbl > tbody > tr.ws-editing input, .ws-adm .ws-mtbl > tbody > tr.ws-editing select { width: 100% !important; height: 34px; }
    .ws-adm .ws-mtbl > tbody > tr.ws-editing .select2-container { width: 100% !important; }

    /* pending: name + flag/country · currency | company · business | tier + approve + reject */
    .ws-adm .ws-pend .ws-c-name { order: 1; flex: 1 1 auto; font-size: 14px; }
    .ws-adm .ws-pend .ws-c-ctry { order: 2; }
    .ws-adm .ws-pend .ws-c-cur { order: 3; }
    .ws-adm .ws-pend > tbody > tr::before { order: 4; }
    .ws-adm .ws-pend .ws-c-comp { order: 5; }
    .ws-adm .ws-pend .ws-c-biz { order: 6; }
    .ws-adm .ws-pend > tbody > tr::after { order: 7; }
    .ws-adm .ws-pend .ws-c-tier { order: 8; flex: 1 1 90px; margin-top: 6px; }
    .ws-adm .ws-pend .ws-c-act .ws-view-actions { gap: 4px; }
    .ws-adm .ws-pend .ws-c-act .ws-panel-btn { padding: 0 8px; }
    .ws-adm .ws-pend .ws-c-tier select { width: 100%; height: 32px; }
    .ws-adm .ws-pend .ws-c-act { order: 9; margin-top: 6px; }
    .ws-adm .ws-pend .ws-c-ctry, .ws-adm .ws-pend .ws-c-cur { font-size: 12.5px; color: var(--ws-mu); white-space: nowrap; }
    .ws-adm .ws-pend .ws-c-ctry::after, .ws-adm .ws-pend .ws-c-comp:not(.ws-empty)::after { content: " ·"; }
    .ws-adm .ws-pend .ws-c-cur .ws-chip { background: none; padding: 0; color: inherit; font: inherit; letter-spacing: 0; }
    .ws-adm .ws-pend .ws-c-comp, .ws-adm .ws-pend .ws-c-biz { font-size: 12.5px; color: var(--ws-mu); }
    .ws-adm .ws-pend tr.ws-editing .ws-c-ctry::after, .ws-adm .ws-pend tr.ws-editing .ws-c-comp::after { content: none; }
    .ws-adm .ws-mtbl > tbody > tr:not(.ws-editing) > td.ws-empty { display: none; }

    /* customers: name + tier | company · country · currency · language · last login + actions */
    .ws-adm .ws-users .ws-c-name { order: 1; flex: 1 1 auto; font-size: 14px; }
    .ws-adm .ws-users .ws-c-tier { order: 2; }
    .ws-adm .ws-users > tbody > tr::before { order: 3; }
    .ws-adm .ws-users .ws-c-comp { order: 4; }
    .ws-adm .ws-users .ws-c-ctry { order: 5; }
    .ws-adm .ws-users .ws-c-cur { order: 6; }
    .ws-adm .ws-users .ws-c-lang { order: 7; }
    .ws-adm .ws-users .ws-c-login { order: 8; }
    .ws-adm .ws-users .ws-c-act { order: 9; margin-inline-start: auto; margin-top: 2px; }
    .ws-adm .ws-users > tbody > tr::after { display: none; }
    .ws-adm .ws-users > tbody > tr > td:not(.ws-c-name):not(.ws-c-tier):not(.ws-c-act) { font-size: 12.5px; color: var(--ws-mu); margin-top: 2px; }
    .ws-adm .ws-users > tbody > tr { column-gap: 4px; }
    .ws-adm .ws-users .ws-c-comp::after, .ws-adm .ws-users .ws-c-ctry::after, .ws-adm .ws-users .ws-c-cur::after, .ws-adm .ws-users .ws-c-lang::after { content: " ·"; }
    .ws-adm .ws-users .ws-c-login span { color: inherit !important; }
    .ws-adm .ws-users .ws-c-act .ws-panel-btn { height: 28px; min-width: 30px; padding: 0 7px; }
    .ws-adm .ws-users tr.ws-editing > td::after { content: none !important; }

    /* orders: # + status | customer · date | total + responsible + expand */
    .ws-adm .ws-orders-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -12px; padding-inline: 12px; }
    .ws-adm .ws-orders-tabs::-webkit-scrollbar { display: none; }
    .ws-adm .ws-orders-search-wrap { flex-basis: 100%; max-width: none; order: 5; }
    .ws-adm .ws-ordt .ws-c-num { order: 1; flex: 1 1 auto; }
    .ws-adm .ws-ordt .ws-c-status { order: 2; }
    .ws-adm .ws-ordt > tbody > tr::before { order: 3; }
    .ws-adm .ws-ordt .ws-c-cust { order: 4; flex: 0 1 auto; font-size: 12.5px; color: var(--ws-mu); }
    .ws-adm .ws-ordt .ws-c-date { order: 5; font-size: 12.5px; }
    .ws-adm .ws-ordt .ws-c-date::before { content: "· "; }
    .ws-adm .ws-ordt > tbody > tr::after { order: 6; }
    .ws-adm .ws-ordt .ws-c-total { order: 7; flex: 1 1 auto; margin-top: 6px; }
    .ws-adm .ws-ordt .ws-c-total .ws-ord-total { font-size: 15px; }
    .ws-adm .ws-ordt .ws-c-resp { order: 8; margin-top: 6px; flex: 0 1 auto; min-width: 0; }
    .ws-adm .ws-ordt .ws-c-resp select { width: 100%; }
    .ws-adm .ws-ordt .ws-c-link { display: none !important; }
    .ws-adm .ws-ordt .ws-c-exp { order: 10; margin-top: 6px; }
    .ws-adm .ws-ordt .ws-ord-customer-cell .ws-ord-email { display: none; }
    .ws-adm .ws-ordt .ws-ord-customer-cell strong { font-weight: 400; color: var(--ws-mu); }
    .ws-adm .ws-ordt .ws-ord-resp-select { max-width: 150px; height: 32px; }
    .ws-adm .ws-ordt .ws-ord-expand-btn { height: 32px; }
    .ws-adm .ws-ordt > tbody > tr.ws-ord-details-row { display: block; padding: 0; }
    .ws-adm .ws-ordt > tbody > tr.ws-ord-details-row::before, .ws-adm .ws-ordt > tbody > tr.ws-ord-details-row::after { display: none; }
    .ws-adm .ws-ordt > tbody > tr.ws-ord-details-row > td { display: block; }
    .ws-adm .ws-ordt > tbody > tr.ws-row-expanded { background: var(--ws-os); }
    .ws-adm .ws-ord-details-content { padding: 8px; }
    .ws-adm .ws-ord-products-section { padding: 10px; }
    .ws-adm .ws-ord-header-actions { width: 100%; }
    .ws-adm .ws-ord-header-actions a { flex: 1; }
    /* order lines: thumb + name + total | qty · price · extra % · final */
    .ws-adm .ws-ord-products-table, .ws-adm .ws-ord-products-table tbody { display: block; }
    .ws-adm .ws-ord-products-table thead { display: none; }
    .ws-adm .ws-ord-products-table tr { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--ws-ln); }
    .ws-adm .ws-ord-products-table tr:last-child { border-bottom: 0; }
    .ws-adm .ws-ord-products-table tr::before { content: ""; order: 4; flex-basis: 100%; height: 0; }
    .ws-adm .ws-ord-products-table td { display: block; padding: 0; border: 0 !important; }
    .ws-adm .ws-ord-products-table .ws-ord-thumb-cell { order: 1; width: 36px; }
    .ws-adm .ws-ord-products-table .ws-ord-product-thumb, .ws-adm .ws-ord-products-table .ws-ord-no-thumb { width: 36px; height: 36px; }
    .ws-adm .ws-ord-products-table .ws-c-pname { order: 2; flex: 1 1 0; min-width: 0; }
    .ws-adm .ws-ord-products-table .ws-ord-line-total { order: 3; }
    .ws-adm .ws-ord-products-table .ws-ord-qty-cell { order: 5; }
    .ws-adm .ws-ord-products-table .ws-ord-qty-cell .ws-units { display: inline; margin-inline-start: 4px; }
    .ws-adm .ws-ord-products-table .ws-c-uprice { order: 6; }
    .ws-adm .ws-ord-products-table .ws-ord-extra-cell { order: 7; }
    .ws-adm .ws-ord-products-table .ws-c-final { order: 8; }
    .ws-adm .ws-ord-products-table td.ws-c-uprice, .ws-adm .ws-ord-products-table td.ws-ord-extra-cell, .ws-adm .ws-ord-products-table td.ws-c-final { font-size: 12.5px; margin-top: 4px; display: flex; align-items: center; gap: 4px; }
    .ws-adm .ws-ord-products-table td.ws-c-uprice::before, .ws-adm .ws-ord-products-table td.ws-ord-extra-cell::before, .ws-adm .ws-ord-products-table td.ws-c-final::before { content: attr(data-label); color: var(--ws-mu); }
    .ws-adm .ws-ord-products-table .ws-ord-qty-cell { margin-top: 4px; }
    .ws-adm .ws-ord-extra-input { width: 54px; height: 28px; }
    .ws-adm .ws-ord-adj-row label { min-width: 0; flex: 1 1 100%; }
    .ws-adm .ws-ord-adj-reason { max-width: none; }
    .ws-adm .ws-ord-totals { max-width: none; }

    /* bulk edit: product + badge | € $ ₪ box | region + order */
    .ws-adm .ws-bulk .ws-c-chk { display: none; }
    .ws-adm .ws-bulk .ws-c-prod { order: 1; flex: 1 1 100%; min-width: 0; }
    .ws-adm .ws-bulk .ws-bulk-prod .ws-thumb { width: 32px; height: 32px; flex-basis: 32px; }
    .ws-adm .ws-bulk .ws-bulk-name .ws-sub { display: none; }
    .ws-adm .ws-bulk .ws-c-eur { order: 2; }
    .ws-adm .ws-bulk .ws-c-usd { order: 3; }
    .ws-adm .ws-bulk .ws-c-ils { order: 4; }
    .ws-adm .ws-bulk .ws-c-units { order: 5; }
    .ws-adm .ws-bulk .ws-c-eur, .ws-adm .ws-bulk .ws-c-usd, .ws-adm .ws-bulk .ws-c-ils, .ws-adm .ws-bulk .ws-c-units { flex: 1 1 0; margin-top: 6px; }
    .ws-adm .ws-bulk > tbody > tr { column-gap: 6px; }
    .ws-adm .ws-bulk > tbody > tr::before { order: 6; }
    .ws-adm .ws-bulk > tbody > tr::after { display: none; }
    .ws-adm .ws-bulk .ws-c-region { order: 7; flex: 1 1 auto; margin-top: 6px; display: flex; align-items: center; gap: 6px; }
    .ws-adm .ws-bulk .ws-c-region select { flex: 1; max-width: none; width: 100%; }
    .ws-adm .ws-bulk .ws-c-order { order: 8; margin-top: 6px; }
    .ws-adm .ws-bf { border: 1px solid #D3D3D3; background: #fff; padding-inline-start: 6px; gap: 2px; }
    .ws-adm .ws-bf:focus-within { border-color: var(--ws-o); }
    .ws-adm .ws-bf-l { display: inline; font-size: 11px; color: var(--ws-mu); white-space: nowrap; }
    .ws-adm .ws-bulk .ws-bf input, .ws-adm .ws-bulk .ws-c-units .ws-bf input, .ws-adm .ws-bulk .ws-c-order .ws-bf input { width: 100%; min-width: 0; border: 0; height: 30px; padding: 0 4px; box-shadow: none; }
    .ws-adm .ws-bulk .ws-c-order .ws-bf { width: 86px; }
    .ws-adm .ws-c-region .ws-bf-l { display: none; }

    /* order for customer */
    .ws-adm .ws-ofu-tbl > tbody > tr { column-gap: 4px; }
    .ws-adm .ws-ofu-tbl .ws-c-name { order: 1; flex: 1 1 auto; margin-inline-end: 4px; }
    .ws-adm .ws-ofu-tbl .ws-c-ctry { order: 2; font-size: 12.5px; color: var(--ws-mu); }
    .ws-adm .ws-ofu-tbl .ws-c-cur { order: 3; font-size: 12.5px; color: var(--ws-mu); }
    .ws-adm .ws-ofu-tbl .ws-c-cur::before, .ws-adm .ws-ofu-tbl .ws-c-disc::before { content: "· "; font-size: 12.5px; color: var(--ws-mu); }
    .ws-adm .ws-ofu-tbl .ws-c-disc { order: 4; }
    .ws-adm .ws-ofu-tbl > tbody > tr::before { order: 5; }
    .ws-adm .ws-ofu-tbl .ws-c-comp { order: 6; flex: 1 1 0; font-size: 12.5px; color: var(--ws-mu); margin-top: 4px; }
    .ws-adm .ws-ofu-tbl .ws-c-act { order: 7; margin-top: 4px; }
    .ws-adm .ws-ofu-tbl > tbody > tr::after { display: none; }
    .ws-adm .ws-order-for-current { padding: 12px; }
    .ws-adm .ws-order-for-current .ws-acts { width: 100%; justify-content: stretch; }
    .ws-adm .ws-order-for-current .ws-acts > * { flex: 1; }

    /* discount tiers */
    .ws-adm .ws-mi-3 { align-items: flex-start; }
    .ws-adm .ws-addrole-grid, .ws-adm .ws-addrole-checks { grid-template-columns: 1fr; }
    .ws-adm .ws-addrole-grid .ws-span2 { grid-column: auto; }

    /* team & settings */
    .ws-adm .ws-grid3 { grid-template-columns: 1fr; }
    .ws-adm .ws-grid4 { grid-template-columns: 1fr 1fr; }
    .ws-adm .ws-ctry-tbl > tbody > tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 8px; }
    .ws-adm .ws-ctry-tbl > tbody > tr::before, .ws-adm .ws-ctry-tbl > tbody > tr::after { display: none; }
    .ws-adm .ws-ctry-tbl > tbody > tr > td { display: flex; flex-direction: column; gap: 2px; }
    .ws-adm .ws-ctry-tbl > tbody > tr > td::before { content: attr(data-label); font-size: 11.5px; color: var(--ws-mu); }
    .ws-adm .ws-ctry-tbl .ws-c-ctry { grid-column: 1; width: auto !important; }
    .ws-adm .ws-ctry-tbl .ws-c-ctry::before { display: none; }
    .ws-adm .ws-ctry-tbl .ws-c-x { grid-column: 2; grid-row: 1; align-items: flex-end; justify-content: center; }
    .ws-adm .ws-ctry-tbl .ws-c-x::before { display: none; }
    .ws-adm .ws-ctry-tbl .ws-c-ctry strong { padding-top: 6px; }
    .ws-adm .ws-ship-row .ws-ship-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .ws-adm .ws-ship-row .ws-ship-on { grid-column: 1; grid-row: 1; padding: 0; }
    .ws-adm .ws-ship-row .ws-ship-x { grid-column: 2; grid-row: 1; justify-self: end; }
    .ws-adm .ws-ship-row .ws-ship-desc { padding: 0; grid-template-columns: 1fr; }
    .ws-adm .ws-pickup-grid { grid-template-columns: 1fr; }
    .ws-adm .ws-team-actions .ws-btn { flex: 1 1 auto; }
}

@media (max-width: 900px) {
    .ws-adm .ws-ord-details-inner { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------------------
   Admin preview bar (order table page)
   --------------------------------------------------------------------- */
.ws-pbar { background: var(--ws-k2); color: #DDD; border-bottom: 2px solid var(--ws-o); font-size: 12.5px; margin: 0 auto 16px; padding: 0; border-radius: 0; box-shadow: none; font-family: var(--ws-b); }
.ws-pbar .ws-tb-in { padding: 6px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.ws-pbar .ws-tb-lbl { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; color: var(--ws-o); font: 600 12px/1.6 var(--ws-h); text-transform: uppercase; letter-spacing: 1px; cursor: default; box-shadow: none; }
[dir="rtl"] .ws-pbar .ws-tb-lbl, [dir="rtl"].ws-pbar .ws-tb-lbl { text-transform: none; letter-spacing: 0; font-size: 13px; }
.ws-pbar .ws-tb-sum, .ws-pbar .ws-tb-chev { display: none; color: #BBB; font-family: var(--ws-b); text-transform: none; letter-spacing: 0; font-weight: 400; }
.ws-pbar .ws-tb-g { display: flex; align-items: center; gap: 6px; }
.ws-pbar .ws-tb-g label { margin: 0; color: #DDD; font-size: 12.5px; font-weight: 400; white-space: nowrap; }
.ws-pbar select.ws-toolbar-select, .ws-pbar select.ws-ofu-store { height: 26px; width: auto; min-width: 0; max-width: 160px; padding: 0 6px; background: #333; color: #fff; border: 1px solid #444; border-radius: 0; font-size: 12.5px; line-height: 1; box-shadow: none; cursor: pointer; }
.ws-pbar select.ws-toolbar-select:focus, .ws-pbar select.ws-ofu-store:focus { outline: 1px solid var(--ws-o); }
.ws-pbar select.ws-toolbar-select option, .ws-pbar select.ws-ofu-store option { background: #333; color: #fff; }
.ws-pbar .ws-tb-b { height: 26px; padding: 0 10px; border: 1px solid #888; background: transparent; color: #fff; border-radius: 0; font: 600 11px/1 var(--ws-h); text-transform: uppercase; letter-spacing: 1px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.ws-pbar .ws-tb-b:hover { background: #fff; color: var(--ws-k); }
.ws-pbar .ws-tb-end { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.ws-pbar .ws-tb-on { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ws-o); box-shadow: 0 0 0 3px rgba(219,103,0,.3); }
.ws-pbar .ws-tb-link { color: #DDD; text-decoration: none; font-size: 12.5px; white-space: nowrap; }
.ws-pbar .ws-tb-link:hover { color: #fff; text-decoration: underline; }
.ws-pbar .ws-tb-note { color: #DDD; }
@media (max-width: 700px) {
    .ws-pbar .ws-tb-in { padding: 5px 12px; }
    .ws-pbar .ws-tb-lbl { cursor: pointer; flex: 1 1 100%; min-width: 0; }
    .ws-pbar .ws-tb-sum { display: inline; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
    .ws-pbar .ws-tb-chev { display: inline; margin-inline-start: auto; transition: transform .15s; }
    .ws-pbar:not(.ws-open) .ws-tb-g, .ws-pbar:not(.ws-open) .ws-tb-b, .ws-pbar:not(.ws-open) .ws-tb-end, .ws-pbar:not(.ws-open) .ws-tb-note { display: none; }
    .ws-pbar.ws-open .ws-tb-sum { display: none; }
    .ws-pbar.ws-open .ws-tb-chev { transform: rotate(180deg); }
    .ws-pbar.ws-open .ws-tb-in { padding-bottom: 8px; }
    .ws-pbar.ws-open .ws-tb-g { flex: 1 1 calc(50% - 7px); }
    .ws-pbar.ws-open .ws-tb-g select { flex: 1; max-width: none; }
    .ws-pbar.ws-open .ws-tb-end { margin-inline-start: 0; flex: 1 1 100%; justify-content: space-between; }
}

/* ---------------------------------------------------------------------
   Ordering for a customer: shop banner + floating badge
   --------------------------------------------------------------------- */
.ws-order-for-banner { background: var(--ws-o); color: #fff; padding: 9px 20px; margin: 0 0 16px; border-radius: 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--ws-b); font-size: 13.5px; }
.ws-order-for-banner .ws-order-for-banner-info { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ws-order-for-banner .ws-order-for-banner-text { min-width: 0; }
.ws-order-for-banner .ws-order-for-banner-text b { font: 600 14px var(--ws-h); }
.ws-order-for-banner .ws-order-for-banner-text span { opacity: .92; }
.ws-order-for-banner .ws-order-for-banner-btn { height: 28px; padding: 0 10px; border: 1px solid #fff; background: transparent; color: #fff; border-radius: 0; font: 600 11px/1 var(--ws-h); text-transform: uppercase; letter-spacing: 1px; cursor: pointer; }
.ws-order-for-banner .ws-order-for-banner-btn:hover { background: #fff; color: var(--ws-o2); }
.ws-order-for-floating {
    position: fixed; bottom: 16px; inset-inline-end: 16px; z-index: 99990; max-width: 320px;
    display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; padding-inline: 12px 8px;
    background: var(--ws-k); color: #fff; border-inline-start: 4px solid var(--ws-o); box-shadow: 0 6px 24px rgba(0,0,0,.28);
    font-family: var(--ws-b); font-size: 13px; border-radius: 0;
}
.ws-order-for-floating .dashicons { display: none; }
.ws-order-for-floating-info { flex: 1; min-width: 0; line-height: 1.25; }
.ws-order-for-floating-label { color: var(--ws-o); font: 600 10.5px var(--ws-h); text-transform: uppercase; letter-spacing: .8px; }
[dir="rtl"] .ws-order-for-floating-label { text-transform: none; letter-spacing: 0; font-size: 11.5px; }
.ws-order-for-floating-name { font: 600 14px var(--ws-h); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-order-for-floating-close { flex: 0 0 auto; width: 28px; height: 28px; border: 1px solid #555; background: transparent; color: #fff; border-radius: 0; cursor: pointer; font-size: 16px; line-height: 1; display: grid; place-items: center; padding: 0; }
.ws-order-for-floating-close:hover { background: var(--ws-o); border-color: var(--ws-o); }
@media (max-width: 700px) {
    .ws-order-for-banner { padding: 8px 12px; font-size: 12.5px; }
    .ws-order-for-floating { bottom: 76px; inset-inline-end: 12px; max-width: calc(100vw - 24px); }
}

/* inline edit: the email line is replaced by its input while editing */
.ws-adm tr.ws-editing .ws-email-v { display: none !important; }
.ws-adm .ws-adm-tabs .ws-order-for-active { color: var(--ws-o2); }
.ws-adm .ws-pend .ws-c-name, .ws-adm .ws-users .ws-c-name { min-width: 170px; }
.ws-adm .ws-c-name .ws-sub { word-break: normal; overflow-wrap: anywhere; }
.ws-adm .ws-c-name .ws-edit-mode.ws-two input { min-width: 0; flex: 1 1 0; }
.ws-pbar .ws-tb-lbl:focus { outline: none; } .ws-pbar .ws-tb-lbl:focus-visible { outline: 2px solid var(--ws-o); outline-offset: 2px; }

/* =====================================================================
   Order page (round 2) – full internal order page (?ws_order=ID) and the
   orders list additions (status dots, ⚙, Chat column, "Open ›").
   ===================================================================== */
/* the order page replaces the tab bar and panels on its request */
.ws-adm.ws-has-op > .ws-adm-tabs, .ws-adm.ws-has-op > .ws-admin-panels,
.ws-adm:has(> .ws-op) > .ws-adm-tabs, .ws-adm:has(> .ws-op) > .ws-admin-panels { display: none !important; }

/* orders list: status chips with colour dots + ⚙ */
.ws-adm .ws-ord-sthead { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 8px; }
.ws-adm .ws-ord-sthead .ws-orders-tabs { flex: 1 1 auto; min-width: 0; margin: 0; }
.ws-adm .ws-ord-st-manage { flex: 0 0 auto; width: 34px; height: 30px; padding: 0; font-size: 15px; }
.ws-adm .ws-st-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-inline-end: 2px; flex: 0 0 7px; }
.ws-adm .ws-orders-tab.ws-zero { color: var(--ws-mu); }
.ws-adm .ws-ordt .ws-ord-num { color: var(--ws-k); text-decoration: none; }
.ws-adm .ws-ordt .ws-ord-num:hover { color: var(--ws-o); }
.ws-adm .ws-ord-st { display: inline-flex; align-items: center; gap: 4px; flex-wrap: nowrap; }
.ws-adm .ws-ord-st .ws-stsel { max-width: 210px; }
.ws-adm .ws-ord-open-btn { height: 30px; padding: 0 12px; text-decoration: none; font: 600 12px var(--ws-h); text-transform: uppercase; letter-spacing: .6px; }
[dir="rtl"] .ws-adm .ws-ord-open-btn { text-transform: none; letter-spacing: 0; }
.ws-adm .ws-c-open { text-align: end; width: 1%; white-space: nowrap; }
.ws-adm .ws-c-chat { white-space: nowrap; }

/* page shell */
.ws-adm .ws-op { padding: 14px 20px 22px; }
.ws-adm .ws-op-back { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--ws-o); text-decoration: none; }
.ws-adm .ws-op-back:hover { text-decoration: underline; }
[dir="rtl"] .ws-adm .ws-op-arr { display: inline-block; transform: scaleX(-1); }
.ws-adm .ws-op-err { margin: 12px 0 0; }
.ws-adm .ws-op-err a { margin-inline-start: 6px; }
.ws-adm .ws-op-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin: 6px 0 14px; }
.ws-adm .ws-op-title { margin: 2px 0; font: 600 26px/1.15 var(--ws-h); color: var(--ws-k); display: flex; align-items: center; gap: 8px; }
.ws-adm .ws-op-wc { color: var(--ws-mu); text-decoration: none; }
.ws-adm .ws-op-wc .dashicons { font-size: 16px; width: 16px; height: 16px; }
.ws-adm .ws-op-meta { color: var(--ws-mu); font-size: 14px; }
.ws-adm .ws-op-total { color: #444; font-weight: 600; }
.ws-adm .ws-op-total .woocommerce-Price-amount { font: inherit; }
.ws-adm .ws-op-ctl { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.ws-adm .ws-op-f { display: flex; flex-direction: column; gap: 3px; margin: 0; font-size: 11.5px; color: var(--ws-mu); text-transform: uppercase; letter-spacing: .4px; }
[dir="rtl"] .ws-adm .ws-op-f { text-transform: none; letter-spacing: 0; font-size: 12px; }
.ws-adm .ws-op-f select { height: 34px; min-width: 150px; font-size: 13px; text-transform: none; letter-spacing: 0; }
.ws-adm .ws-op-f select.ws-stt { height: 34px; padding-top: 0; padding-bottom: 0; }
.ws-adm .ws-op-ctl .ws-op-update { height: 34px; }
.ws-adm .ws-op-ctl-status { font-size: 12.5px; align-self: center; }
.ws-adm .ws-op-ctl-status.success { color: var(--ws-ok); }
.ws-adm .ws-op-ctl-status.error { color: var(--ws-er); flex-basis: 100%; text-align: end; }

/* desktop: main column + 300px side column */
.ws-adm .ws-op-grid.ws-ord-details-inner { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; align-items: start; }
.ws-adm .ws-op-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ws-adm .ws-op-side { gap: 10px; }
.ws-adm .ws-op-sec { min-width: 0; }

/* products card */
.ws-adm .ws-ord-products-section { padding: 0; }
.ws-adm .ws-ord-products-section .ws-ord-sec-h { margin: 0; padding: 12px 16px; border-bottom: 1px solid var(--ws-ln); }
.ws-adm .ws-ord-header-actions .ws-btn { height: 32px; padding: 0 14px; font-size: 12px; text-decoration: none; }
.ws-adm .ws-ord-products-table thead th { background: #F3F3F3; padding: 9px 8px; text-align: center; }
.ws-adm .ws-ord-products-table thead th:first-child { text-align: start; padding-inline-start: 16px; }
.ws-adm .ws-ord-products-table td { padding: 9px 8px; text-align: center; }
.ws-adm .ws-ord-products-table td.ws-c-pname { text-align: start; padding-inline-start: 16px; }
.ws-adm .ws-ord-products-table td.ws-ord-line-total, .ws-adm .ws-ord-products-table th:last-child { text-align: center; }
.ws-adm .ws-ord-products-table td.ws-ord-line-total { font-weight: 700; }
.ws-adm .ws-ord-prod { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ws-adm .ws-ord-prod-t { display: flex; flex-direction: column; min-width: 0; }
.ws-adm .ws-ord-prod .ws-ord-product-thumb, .ws-adm .ws-ord-prod .ws-ord-no-thumb { width: 44px; height: 44px; flex: 0 0 44px; }
.ws-adm .ws-ord-qty-cell { font: 400 13px var(--ws-b); }
.ws-adm .ws-ord-final-price { color: var(--ws-ink); font-weight: 400; }
.ws-adm .ws-ord-adj-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 16px; border-top: 1px solid var(--ws-ln); padding: 14px 16px 16px; }
.ws-adm .ws-ord-adj-wrap .ws-ord-adjustments { margin: 0; padding: 0; background: none; border: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 10px; align-content: start; }
.ws-adm .ws-ord-adj-wrap .ws-ord-adj-row { display: flex; flex-direction: column; align-items: stretch; gap: 3px; margin: 0; }
.ws-adm .ws-ord-adj-wrap .ws-ord-adj-full { grid-column: 1 / -1; }
.ws-adm .ws-ord-adj-wrap .ws-ord-adj-row label { min-width: 0; flex: 0 0 auto; font-size: 13px; color: #333; font-weight: 400; }
.ws-adm .ws-ord-adj-wrap .ws-ord-adj-row input { width: 100%; min-width: 0; max-width: none; height: 38px; flex: 0 0 auto; }
.ws-adm .ws-ord-info-card p a { text-decoration: none; }
.ws-adm .ws-ord-adj-wrap .ws-ord-totals { margin: 0; max-width: none; padding: 0; }
.ws-adm .ws-ord-adj-wrap .ws-ord-totals-row { font-size: 13.5px; padding: 3px 0; }
.ws-adm .ws-ord-adj-wrap .ws-ord-totals-row.ws-grand-total { font-size: 18px; }
.ws-adm .ws-ord-adj-wrap .ws-ord-btn-group { margin-top: 10px; flex-direction: column; align-items: stretch; gap: 4px; }
.ws-adm .ws-ord-adj-wrap .ws-ord-btn-group .ws-btn { height: 36px; }
.ws-adm .ws-ord-adj-wrap .ws-ord-save-status { margin: 0; text-align: center; }

/* side cards */
.ws-adm .ws-op .ws-ord-info-card { padding: 12px; }
.ws-adm .ws-ord-chips { margin-top: 4px !important; display: flex; gap: 4px; flex-wrap: wrap; }
.ws-adm .ws-ord-unpaid { color: var(--ws-wa); }
.ws-adm .ws-ord-paid { color: var(--ws-ok); }
.ws-adm .ws-op .ws-ord-note-card .ws-btn, .ws-adm .ws-ord-details-inner .ws-ord-note-card .ws-btn { height: 30px; padding: 0 12px; font-size: 12px; }
.ws-adm .ws-ord-hist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--ws-mu); line-height: 1.35; max-height: 280px; overflow: auto; }
.ws-adm .ws-ord-hist li { margin: 0; padding: 0; }
.ws-adm .ws-ord-hist li.ws-h-staff { color: #444; }
.ws-adm .ws-ord-hist li.ws-h-cust { color: var(--ws-ink); padding-inline-start: 6px; border-inline-start: 2px solid var(--ws-o); }
.ws-adm .ws-ord-hist b { font-weight: 600; }
.ws-adm .ws-ord-hist-tag { display: inline-block; margin-inline-start: 4px; padding: 0 5px; background: var(--ws-os); color: var(--ws-o2); font-size: 10.5px; }

/* mobile tabs (Details / Products / Chat) */
.ws-adm .ws-op-tabs-in { display: flex; background: #fff; border: 1px solid var(--ws-ln); margin: 0 0 10px; }
.ws-adm .ws-op-tabs-in button { flex: 1 1 0; margin: 0; padding: 10px 6px; background: none; border: 0; border-bottom: 3px solid transparent; border-radius: 0; color: #555; font: 500 13px var(--ws-h); text-transform: uppercase; letter-spacing: .4px; cursor: pointer; white-space: nowrap; }
[dir="rtl"] .ws-adm .ws-op-tabs-in button { text-transform: none; letter-spacing: 0; font-size: 14px; }
.ws-adm .ws-op-tabs-in button.ws-on { color: var(--ws-k); border-bottom-color: var(--ws-o); }

@media (max-width: 900px) {
    .ws-adm .ws-op-grid.ws-ord-details-inner { grid-template-columns: minmax(0, 1fr); }
    .ws-adm .ws-ord-adj-wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
    /* list rows: # + status chip | store · date | total + chat + responsible + › */
    .ws-adm .ws-ord-sthead .ws-orders-tabs { margin-inline: 0; padding-inline: 0; }
    .ws-adm .ws-ordt .ws-c-status .ws-ord-st-chip { display: inline-block !important; }
    .ws-adm .ws-ordt .ws-c-total { order: 7; flex: 1 1 auto; }
    .ws-adm .ws-ordt .ws-c-chat { order: 8; margin-top: 6px; }
    .ws-adm .ws-ordt .ws-c-resp { order: 9; }
    .ws-adm .ws-ordt .ws-c-open { order: 10; margin-top: 6px; width: auto; }
    .ws-adm .ws-ordt .ws-ord-open-btn { width: 34px; height: 32px; padding: 0; justify-content: center; font-size: 18px; }

    /* order page */
    .ws-adm .ws-op { padding: 10px 12px 16px; }
    .ws-adm .ws-op-h { margin: 4px 0 8px; gap: 8px; }
    .ws-adm .ws-op-title { font-size: 22px; }
    .ws-adm .ws-op-meta { font-size: 13px; }
    .ws-adm .ws-op-ctl { width: 100%; flex-wrap: nowrap; gap: 6px; }
    .ws-adm .ws-op-f { flex: 1 1 0; min-width: 0; }
    .ws-adm .ws-op-f select { width: 100% !important; min-width: 0; max-width: none; }
    .ws-adm .ws-op-ctl .ws-op-update { flex: 0 0 auto; padding: 0 12px; }
    .ws-adm .ws-op-ctl-status:empty { display: none; }
    .ws-adm .ws-op-tabs { margin: 0 -12px; }
    .ws-adm .ws-op-tabs-in { border-inline: 0; }
    .ws-adm .ws-op-grid .ws-op-sec { display: none; }
    .ws-adm .ws-op-grid .ws-op-sec.ws-on { display: flex; flex-direction: column; }
    .ws-adm .ws-op-grid section.ws-op-sec.ws-on { display: block; }
    .ws-adm .ws-op-main { gap: 0; }

    /* products: name row, then a 3-column grid of labelled values */
    .ws-adm .ws-op .ws-ord-products-section .ws-ord-sec-h { padding: 10px 12px; }
    .ws-adm .ws-op .ws-ord-header-actions { width: auto; }
    .ws-adm .ws-op .ws-ord-header-actions .ws-btn { padding: 0 10px; }
    .ws-adm .ws-op .ws-ord-products-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 8px; padding: 10px 12px; }
    .ws-adm .ws-op .ws-ord-products-table tr::before { display: none; }
    .ws-adm .ws-op .ws-ord-products-table td { display: block; padding: 0; text-align: start; font-size: 12.5px; margin: 0; order: 0; }
    .ws-adm .ws-op .ws-ord-products-table td.ws-c-pname { grid-column: 1 / -1; padding: 0; }
    .ws-adm .ws-op .ws-ord-products-table td[data-label]::before { content: attr(data-label); display: block; color: var(--ws-mu); font-size: 11px; }
    .ws-adm .ws-op .ws-ord-products-table td.ws-c-uprice, .ws-adm .ws-op .ws-ord-products-table td.ws-ord-extra-cell, .ws-adm .ws-op .ws-ord-products-table td.ws-c-final { display: block; margin: 0; }
    .ws-adm .ws-op .ws-ord-products-table .ws-ord-prod .ws-ord-product-thumb, .ws-adm .ws-op .ws-ord-products-table .ws-ord-prod .ws-ord-no-thumb { width: 36px; height: 36px; flex-basis: 36px; }
    .ws-adm .ws-op .ws-ord-extra-input { width: 64px; height: 30px; }
    .ws-adm .ws-op .ws-ord-adj-wrap { padding: 12px; gap: 12px; }
}

/* Management page: 95% of the screen width, centred on the screen (the
   inline script shifts it so the theme container does not push it aside). */
@media (min-width: 701px) {
    #ws-admin-toolbar.ws-adm.ws-adm-wide { position: relative !important; width: 95vw !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; box-sizing: border-box; }
}

/* === Round 3 – H === */
/* Orders list: "Open ▾" opens the full order in a frame right under its row */
.ws-adm .ws-ord-open-btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 84px; cursor: pointer; }
.ws-adm .ws-ord-open-btn.ws-expanded { background: var(--ws-k); border-color: var(--ws-k); color: #fff; }
.ws-adm .ws-ordt > tbody > tr.ws-row-expanded > td { border-bottom-color: transparent; }
.ws-adm .ws-ordt > tbody > tr.ws-ord-frame-row > td,
.ws-adm .ws-ordt > tbody > tr.ws-ord-frame-row:hover > td { padding: 0 !important; background: #F6F6F6 !important; border-bottom: 2px solid var(--ws-o); text-align: start; }
.ws-adm .ws-op-frame { padding: 12px 16px 16px; border-inline-start: 3px solid var(--ws-o); }
.ws-adm .ws-op-frame .ws-op-h { margin: 0 0 12px; }
.ws-adm .ws-op-frame .ws-op-title { font-size: 20px; }
.ws-adm .ws-ord-frame-err { margin: 12px 16px; }
.ws-adm .ws-op-msg { padding: 10px 20px 0; }
.ws-adm .ws-op-msg .ws-op-err { margin: 0; }
@media (max-width: 700px) {
    .ws-adm .ws-ordt .ws-ord-open-btn { width: auto; min-width: 0; padding: 0 10px; font-size: 12px; }
    .ws-adm .ws-ordt > tbody > tr.ws-ord-frame-row { display: block; padding: 0; }
    .ws-adm .ws-ordt > tbody > tr.ws-ord-frame-row::before, .ws-adm .ws-ordt > tbody > tr.ws-ord-frame-row::after { display: none; }
    .ws-adm .ws-ordt > tbody > tr.ws-ord-frame-row > td { display: block; width: 100%; border-bottom: 2px solid var(--ws-o); }
    .ws-adm .ws-op-frame { padding: 10px 12px 14px; border-inline-start: 0; }
    .ws-adm .ws-op-frame .ws-op-tabs { margin: 0 -12px; }
    .ws-adm .ws-op-msg { padding: 8px 12px 0; }
}

/* === Round 3 – J === */
/* Discount tiers tab: default tier, per-tier settings, sticky save */
.ws-adm .ws-tiers-bar .ws-desc { margin: 0; flex: 1 1 260px; }
.ws-adm .ws-tier-card { background: #fff; border: 1px solid var(--ws-ln); padding: 12px 14px; margin-bottom: 12px; }
.ws-adm .ws-tier-def { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; }
.ws-adm .ws-tier-def label { margin: 0; font-size: 14px; }
.ws-adm .ws-tier-def select { flex: 0 1 260px; }
.ws-adm .ws-tier-def .ws-muted { flex: 1 1 260px; font-size: 12.5px; }
.ws-adm .ws-trow .ws-mi-1 > b { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 0; }
.ws-adm .ws-trow .ws-tier-defchip { margin-inline-start: 8px; font-size: 10.5px; padding: 2px 6px; }
.ws-adm .ws-tier-side { display: inline-flex; align-items: center; gap: 2px; flex: none; }
.ws-adm .ws-tier-cust { text-decoration: none; }
.ws-adm .ws-tier-cust:hover { text-decoration: underline; }
.ws-adm .ws-trow .ws-mi-3 { align-items: flex-start; }
.ws-adm .ws-trow .ws-role-disc { min-height: 30px; }
.ws-adm .ws-tier-more-btn { margin-inline-start: auto; }
.ws-adm .ws-tier-more-btn i { font-style: normal; font-size: 10px; }
.ws-adm .ws-tier-more-btn.active { background: var(--ws-k); color: #fff; }
.ws-adm .ws-tier-sum { margin-top: 6px; }
.ws-adm .ws-tier-more { margin-top: 10px; padding: 12px; background: #FAFAFA; border: 1px solid var(--ws-ln); }
.ws-adm .ws-tier-more[hidden] { display: none; }
.ws-adm .ws-tier-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 14px; }
.ws-adm .ws-tier-grid .ws-span2 { grid-column: span 2; }
.ws-adm .ws-tier-grid .ws-fld small { font-weight: 400; }
.ws-adm .ws-tier-more .ws-addrole-checks { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 12px 0 0; }
.ws-adm .ws-tiers-note { margin: 10px 0 0; font-size: 12.5px; }
.ws-adm #ws-frontend-roles-edit.ws-dirty .ws-tiers-state { color: var(--ws-o); font-weight: 600; }
@media (max-width: 700px) {
    .ws-adm .ws-tier-card { padding: 10px 12px; margin-bottom: 10px; }
    .ws-adm .ws-tier-def select { flex: 1 1 100%; }
    .ws-adm .ws-trow .ws-mi-1 { align-items: flex-start; }
    .ws-adm .ws-trow .ws-role-key { display: none; }
    .ws-adm .ws-trow .ws-mi-3 { gap: 6px; }
    .ws-adm .ws-trow .ws-category-discounts { flex: 1 1 100%; order: 3; }
    .ws-adm .ws-tier-more { padding: 10px; }
    .ws-adm .ws-tier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; }
    .ws-adm .ws-tier-grid .ws-span2 { grid-column: span 2; }
    .ws-adm .ws-tier-more .ws-addrole-checks { grid-template-columns: 1fr; gap: 8px; }
    .ws-adm .ws-tiers .ws-mbar { margin: 12px -12px 0; }
    .ws-adm .ws-tiers .ws-mbar .ws-tiers-state { display: block; font-size: 13px; }
}
/* === end Round 3 – J === */

/* === Round 3 – K === */
/* Team & settings tab: RTL fixes, shipping methods editor, toast, mobile. */
.ws-adm .ws-team-settings { text-align: start; }
.ws-adm .ws-team-settings label { float: none; }
.ws-adm .ws-team-settings input[type="checkbox"], .ws-adm .ws-team-settings input[type="radio"] { margin: 0; float: none; flex: 0 0 auto; }
/* LTR values (email, phone, slug) sit on the label side in Hebrew. */
.ws-adm .ws-team-settings input[dir="ltr"] { direction: ltr; text-align: left; }
.ws-adm.ws-rtl .ws-team-settings input[type="email"], .ws-adm.ws-rtl .ws-team-settings input[type="tel"], .ws-adm.ws-rtl .ws-team-settings input[type="url"],
.ws-adm.ws-rtl .ws-team-settings input.ws-ltr, .ws-adm.ws-rtl .ws-team-settings input[data-k="slug"] { direction: ltr; text-align: right; }
.ws-adm .ws-team-settings input[dir="rtl"] { direction: rtl; text-align: right; }
.ws-adm .ws-team-settings bdi { unicode-bidi: isolate; }
.ws-adm .ws-fld .ws-hint { font-size: 11px; color: var(--ws-mu); font-weight: 400; line-height: 1.3; }
.ws-adm .ws-team-who bdi.ws-sub { display: block; }
.ws-adm.ws-rtl .ws-team-who bdi.ws-sub { text-align: right; }
.ws-adm .ws-team-ct bdi { white-space: nowrap; }
.ws-adm .ws-team-card .ws-mi-1 { align-items: flex-start; }
.ws-adm .ws-team-tabs label input { margin: 0; }
.ws-adm .ws-team-settings form > .ws-sec:first-child { margin-top: 24px; }
/* Administrators: Edit sits on the name line instead of a row of its own. */
.ws-adm .ws-team-card-admin > .ws-mi-1 { flex: 1 1 0; }
.ws-adm .ws-team-card-admin > .ws-mi-2 { order: 2; }
.ws-adm .ws-team-card-admin > details.ws-team-edit:not([open]) { margin-top: 0; align-self: center; }

/* Order statuses: built-in chip, English name small and secondary. */
.ws-adm .ws-sts .ws-sts-builtin { background: #F1F1F1; color: #666; cursor: help; }
.ws-adm .ws-sts .ws-sts-alt, .ws-adm .ws-sts .ws-sts-alt2 { font-size: 11.5px; color: #8A8F98; }
.ws-adm .ws-sts .ws-sts-move > span { flex: 1 1 auto; }

/* Segmented buttons */
.ws-adm .ws-seg { display: flex; border: 1px solid #CFCFCF; background: #fff; max-width: 100%; width: max-content; font-size: 12.5px; color: #444; }
.ws-adm .ws-seg-o { position: relative; margin: 0; flex: 1 1 auto; display: block; }
.ws-adm .ws-seg-o input, .ws-adm .ws-fld .ws-seg-o input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; border: 0; }
.ws-adm .ws-seg-o span { display: flex; align-items: center; justify-content: center; height: 30px; padding: 0 14px; white-space: nowrap; border-inline-start: 1px solid #E2E2E2; font-weight: 500; }
.ws-adm .ws-seg-o:first-child span { border-inline-start: 0; }
.ws-adm .ws-seg-o:hover span { background: #F5F5F5; }
.ws-adm .ws-seg-o input:checked + span { background: var(--ws-k); color: #fff; }
.ws-adm .ws-seg-o input:focus-visible + span { outline: 2px solid var(--ws-o); outline-offset: -2px; }

/* On/off switch */
.ws-adm .ws-tgl { display: inline-flex; align-items: center; gap: 6px; margin: 0; cursor: pointer; font-size: 12.5px; color: #444; position: relative; flex: 0 0 auto; white-space: nowrap; }
.ws-adm .ws-tgl input, .ws-adm .ws-team-settings .ws-tgl input[type="checkbox"] { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.ws-adm .ws-tgl i { position: relative; width: 34px; height: 20px; flex: 0 0 34px; border-radius: 10px; background: #CFCFCF; transition: background .15s; }
.ws-adm .ws-tgl i::after { content: ""; position: absolute; top: 2px; inset-inline-start: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: inset-inline-start .15s; }
.ws-adm .ws-tgl input:checked + i { background: var(--ws-ok); }
.ws-adm .ws-tgl input:checked + i::after { inset-inline-start: 16px; }
.ws-adm .ws-tgl input:focus-visible + i { outline: 2px solid var(--ws-o); outline-offset: 2px; }
.ws-adm .ws-tgl .ws-tgl-on, .ws-adm .ws-tgl input:checked ~ .ws-tgl-off { display: none; }
.ws-adm .ws-tgl input:checked ~ .ws-tgl-on { display: inline; color: var(--ws-ok); font-weight: 600; }

/* Shipping method cards */
.ws-adm .ws-ship-list:not(:has(.ws-shm)) { display: none; }
.ws-adm .ws-shm { padding: 10px 12px; transition: background .15s; }
.ws-adm .ws-shm-h { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ws-adm .ws-shm-drag { flex: 0 0 auto; color: #BDBDBD; cursor: grab; font-size: 14px; letter-spacing: -3px; padding: 4px 2px; user-select: none; line-height: 1; }
.ws-adm .ws-shm-drag:hover { color: var(--ws-k); }
.ws-adm .ws-shm-ic { flex: 0 0 30px; height: 30px; display: grid; place-items: center; font-size: 18px; background: #F5F5F5; }
.ws-adm .ws-shm-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ws-adm .ws-shm-t { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; min-width: 0; }
.ws-adm .ws-shm-title { font-weight: 600; font-size: 14.5px; color: var(--ws-ink); }
.ws-adm .ws-shm-alt { font-size: 12px; color: #8A8F98; }
.ws-adm .ws-shm-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: 12.5px; color: var(--ws-mu); min-width: 0; }
.ws-adm .ws-shm-ty { border: 1px solid var(--ws-ln); background: #fff; color: #444; padding: 1px 7px; font-size: 11.5px; white-space: nowrap; }
.ws-adm.ws-rtl .ws-shm-meta .ws-rg { text-transform: none; letter-spacing: 0; font-size: 12px; }
.ws-adm .ws-shm-d:empty { display: none; }
.ws-adm .ws-shm-acts { display: flex; gap: 4px; flex: 0 0 auto; }
.ws-adm .ws-shm-acts .ws-panel-btn { width: 30px; min-width: 30px; height: 28px; padding: 0; justify-content: center; }
.ws-adm .ws-shm.ws-off { background: #FAFAFA; }
.ws-adm .ws-shm.ws-off .ws-shm-main, .ws-adm .ws-shm.ws-off .ws-shm-ic { opacity: .5; }
.ws-adm .ws-shm.ws-open { background: var(--ws-os); }
.ws-adm .ws-shm.ws-open .ws-shm-edit { background: var(--ws-k); border-color: var(--ws-k); color: #fff; }
.ws-adm .ws-shm-body { display: none; margin-top: 10px; padding-top: 10px; border-top: 1px dashed #E8CBB0; }
.ws-adm .ws-shm.ws-open .ws-shm-body { display: block; }
.ws-adm .ws-shm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
.ws-adm .ws-shm.ws-invalid .ws-shm-req input { border-color: var(--ws-er); box-shadow: 0 0 0 3px var(--ws-ers); }
.ws-adm .ws-shm-err { margin: 8px 0 0; color: var(--ws-er); font-size: 12.5px; }
.ws-adm .ws-shm-pk-note { display: none; margin: 8px 0 0; font-size: 12px; color: var(--ws-mu); }
.ws-adm .ws-shm[data-type="pickup"] .ws-shm-pk-note { display: block; }
.ws-adm .ws-shm-done-row { display: flex; justify-content: flex-end; margin-top: 10px; }
.ws-adm .ws-shm-confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; padding: 8px 10px; background: var(--ws-ers); color: var(--ws-er); font-size: 13px; }
.ws-adm .ws-shm-confirm > span { flex: 1 1 220px; }
.ws-adm .ws-shm.ws-dragging { opacity: .55; outline: 2px dashed var(--ws-o); outline-offset: -2px; }
.ws-adm .ws-shm-empty { display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; padding: 20px 16px; background: #fff; border: 1px dashed #CFCFCF; color: var(--ws-mu); font-size: 13px; }
.ws-adm .ws-shm-empty b { color: var(--ws-ink); font-size: 14px; }
.ws-adm .ws-shm-warn { margin-top: 8px; padding: 8px 10px; background: var(--ws-was); color: #8A5A12; font-size: 12.5px; display: grid; gap: 2px; }
.ws-adm .ws-shm-dirty { font-size: 12.5px; color: var(--ws-wa); }
.ws-adm .ws-shm .ws-hide, .ws-adm .ws-shm-empty.ws-hide, .ws-adm .ws-shm-warn.ws-hide, .ws-adm .ws-shm-dirty.ws-hide { display: none !important; }
.ws-adm .ws-pickup-grid { align-items: start; }

/* Saved toast (appended to <body>, so no plugin tokens here) */
.ws-k-toast { position: fixed; bottom: 24px; left: 50%; z-index: 100000; transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
    max-width: calc(100vw - 32px); padding: 10px 16px; background: #181818; color: #fff; border-inline-start: 4px solid #1E8E4E;
    font: 500 14px/1.35 "Heebo", "Roboto Condensed", Arial, sans-serif; box-shadow: 0 6px 20px rgba(0,0,0,.25); transition: opacity .2s, transform .2s; }
.ws-k-toast.ws-show { opacity: 1; transform: translate(-50%, 0); }
.ws-k-toast.ws-err { border-inline-start-color: #C62828; }

@media (max-width: 700px) {
    /* country defaults: country on its own line, remove button at the end */
    .ws-adm .ws-ctry-tbl .ws-c-ctry { grid-column: 1 / -1; padding-inline-end: 42px !important; }
    .ws-adm .ws-ctry-tbl .ws-c-x { position: absolute; top: 8px; inset-inline-end: 12px; }
    .ws-adm .ws-ctry-tbl .ws-c-x:empty { display: none; }
    .ws-adm .ws-ctry-tbl .select2-container { min-width: 0; }
    .ws-adm .ws-ctry-tbl select { font-size: 12.5px; padding-inline: 6px; }

    /* shipping cards: name + switch on line 1, actions under them */
    .ws-adm .ws-shm { padding: 10px; }
    .ws-adm .ws-shm-h { flex-wrap: wrap; gap: 6px 8px; }
    .ws-adm .ws-shm-drag { display: none; }
    .ws-adm .ws-shm-main { flex: 1 1 calc(100% - 46px); }
    .ws-adm .ws-shm-h > .ws-tgl { margin-inline-start: 38px; }
    .ws-adm .ws-shm-acts { margin-inline-start: auto; }
    .ws-adm .ws-shm-acts .ws-panel-btn { width: 34px; min-width: 34px; height: 30px; }
    .ws-adm .ws-shm-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .ws-adm .ws-shm-grid > div.ws-fld { grid-column: 1 / -1; }
    .ws-adm .ws-seg { width: 100%; }
    .ws-adm .ws-seg-o span { padding: 0 6px; height: 34px; }
    .ws-adm .ws-shm-done-row .ws-btn { flex: 1 1 auto; }
    .ws-adm .ws-sts .ws-sts-move > span { flex-basis: 100%; }
    .ws-k-toast { bottom: 84px; }
}
/* === end Round 3 – K === */

/* === Round 3 – I === */
/* Order for customer: store list + "Ordering for" bar + order flow frame */
.ws-adm .ws-ofu-wrap.ws-ofu-active .ws-order-for-user-list { max-height: 264px; overflow-y: auto; border: 1px solid var(--ws-ln); }
.ws-adm .ws-order-for-user-item.ws-ofu-on > td { background: var(--ws-os); }
.ws-adm .ws-order-for-user-item.ws-ofu-on .ws-select-user-btn { background: var(--ws-k); border-color: var(--ws-k); }
.ws-adm .ws-order-for-user-item.ws-ofu-ask .ws-select-user-btn { background: var(--ws-er); border-color: var(--ws-er); }
.ws-adm .ws-select-user-btn .ws-fwd::after { content: "\203A"; }
.ws-adm[dir="rtl"] .ws-select-user-btn .ws-fwd::after, [dir="rtl"] .ws-adm .ws-select-user-btn .ws-fwd::after { content: "\2039"; }
.ws-adm .ws-order-for-user-item.ws-ofu-on .ws-fwd { display: none; }
.ws-adm .ws-ofu-none { margin: 8px 0 0; } .ws-adm .ws-ofu-none[hidden] { display: none; }
.ws-adm .ws-ofu-slot:empty { display: none; }
.ws-adm .ws-ofu-slot { margin-top: 14px; }
.ws-adm .ws-ofu-session { display: flex; flex-direction: column; gap: 8px; }
.ws-adm .ws-ofu-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px 14px; flex-wrap: wrap; margin: 0; padding: 10px 14px; background: var(--ws-k); color: #fff; border: 0; border-inline-start: 4px solid var(--ws-o); }
.ws-adm .ws-ofu-who { min-width: 0; font-size: 13.5px; line-height: 1.35; }
.ws-adm .ws-ofu-lbl { color: var(--ws-o); font: 600 11.5px var(--ws-h); text-transform: uppercase; letter-spacing: .6px; margin-inline-end: 4px; }
[dir="rtl"] .ws-adm .ws-ofu-lbl, .ws-adm[dir="rtl"] .ws-ofu-lbl { text-transform: none; letter-spacing: 0; font-size: 12.5px; }
.ws-adm .ws-ofu-store { font: 600 16px var(--ws-h); color: #fff; }
.ws-adm .ws-ofu-person, .ws-adm .ws-ofu-meta { color: #C9C9C9; }
.ws-adm .ws-ofu-bar .ws-acts { flex-wrap: wrap; }
.ws-adm .ws-ofu-bar .ws-btn { background: transparent; color: #fff; border-color: #6a6a6a; text-decoration: none; }
.ws-adm .ws-ofu-bar .ws-btn:hover { background: #fff; color: var(--ws-k); border-color: #fff; }
.ws-adm .ws-ofu-bar .ws-ofu-stop:hover { background: var(--ws-er); border-color: var(--ws-er); color: #fff; }
.ws-adm .ws-ofu-session.ws-ofu-placed .ws-ofu-stop { display: none; }
.ws-adm .ws-ofu-done, .ws-adm .ws-ofu-ended { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin: 0; }
.ws-adm .ws-ofu-done[hidden], .ws-adm .ws-ofu-ended[hidden] { display: none; }
.ws-adm .ws-ofu-done .ws-btn { text-decoration: none; }
.ws-adm .ws-ofu-fwrap { position: relative; background: #fff; border: 1px solid var(--ws-ln); min-height: 220px; }
.ws-adm .ws-ofu-fwrap.ws-ofu-loading::after { content: ""; position: absolute; top: 40px; left: 50%; width: 26px; height: 26px; margin-left: -13px; border: 3px solid var(--ws-ln); border-top-color: var(--ws-o); border-radius: 50%; animation: ws-ofu-spin .8s linear infinite; }
@keyframes ws-ofu-spin { to { transform: rotate(360deg); } }
.ws-adm .ws-ofu-frame { display: block; width: 100%; height: 640px; border: 0; background: #fff; }
@media (max-width: 700px) {
    .ws-adm .ws-ofu-wrap.ws-ofu-active .ws-order-for-user-list { max-height: 210px; }
    .ws-adm .ws-ofu-bar { padding: 8px 10px; }
    .ws-adm .ws-ofu-store { font-size: 15px; }
    .ws-adm .ws-ofu-bar .ws-acts { width: 100%; }
    .ws-adm .ws-ofu-bar .ws-acts { flex-wrap: nowrap; }
    .ws-adm .ws-ofu-bar .ws-acts > * { flex: 1 1 0; justify-content: center; white-space: normal; height: auto; min-height: 34px; padding: 4px 8px; line-height: 1.2; text-align: center; }
    .ws-adm .ws-ofu-fwrap { margin-inline: -12px; border-inline: 0; }
}

/* Embed mode (WS_Embed): page shown inside the management frame */
html.ws-embed-html, body.ws-embed { margin: 0 !important; padding: 0 !important; min-height: 0 !important; height: auto !important; background: #fff !important; }
html.ws-embed-html { margin-top: 0 !important; }
body.ws-embed .ws-embed-main { display: block; max-width: none; margin: 0; padding: 12px 14px 4px; box-sizing: border-box; }
body.ws-embed .ws-embed-main > *:first-child { margin-top: 0; }
body.ws-embed .ws-embed-main .alignwide, body.ws-embed .ws-embed-main .alignfull { max-width: none; width: auto; margin-left: 0; margin-right: 0; }
body.ws-embed #wpadminbar,
body.ws-embed .ws-order-for-floating,
body.ws-embed .ws-order-for-banner,
body.ws-embed .ws-order-for-user-banner,
body.ws-embed #ws-admin-toolbar.ws-toolbar-preview { display: none !important; }
@media (max-width: 700px) {
    body.ws-embed .ws-embed-main { padding: 8px 8px 4px; }
}
/* === end Round 3 – I === */

/* Order-table bar: store picker is a bit wider; the ordering-for bar is orange-edged. */
.ws-pbar select.ws-ofu-store { max-width: 260px; }
.ws-pbar.ws-pbar-ofu { box-shadow: inset 0 -3px 0 var(--ws-o); }

/* Team & settings: links for stores */
.ws-adm .ws-links-sec { margin: 22px 0; }
.ws-adm .ws-links { background: #fff; border: 1px solid var(--ws-ln); }
.ws-adm .ws-link-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-bottom: 1px solid var(--ws-ln); }
.ws-adm .ws-link-row:last-child { border-bottom: 0; }
.ws-adm .ws-link-lbl { flex: 0 0 280px; font-weight: 600; }
.ws-adm .ws-link-url { flex: 1 1 260px; min-width: 0; overflow-wrap: anywhere; color: var(--ws-o); font-size: 13px; text-align: start; }
.ws-adm .ws-link-missing { flex: 1 1 260px; color: var(--ws-mute, #777); font-size: 13px; }
@media (max-width: 700px) {
    .ws-adm .ws-link-lbl { flex: 1 1 100%; }
}

/* === Round 4 – M === */
/* Team & settings: Wholesale page (texts of [wholesale_portal] + which page shows it) */
.ws-adm .ws-pt-sec { margin: 22px 0; }
.ws-adm .ws-pt-page { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; padding: 12px 14px; background: #fff; border: 1px solid var(--ws-ln); border-inline-start: 4px solid var(--ws-o); }
.ws-adm .ws-pt-dot { flex: 0 0 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--ws-ok); box-shadow: 0 0 0 4px var(--ws-oks); }
.ws-adm .ws-pt-dot-off { background: #BDBDBD; box-shadow: 0 0 0 4px #F2F2F2; }
.ws-adm .ws-pt-page-txt { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--ws-mu); }
.ws-adm .ws-pt-page-txt b { color: var(--ws-ink); font-size: 13.5px; }
.ws-adm .ws-pt-page-txt a { color: var(--ws-o); font-weight: 600; font-size: 14px; }
.ws-adm .ws-pt-url { font-size: 12px; color: #8A8F98; overflow-wrap: anywhere; text-align: start; unicode-bidi: plaintext; }
.ws-adm .ws-pt-page-acts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ws-adm .ws-pt-page-acts .ws-ctl { min-width: 240px; max-width: 320px; height: 32px; }
.ws-adm .ws-pt-page-acts .ws-btn { text-decoration: none; }
.ws-adm .ws-pt-confirm { flex: 1 1 100%; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 8px 10px; background: var(--ws-was); color: #7a4f10; font-size: 13px; }
.ws-adm .ws-pt-confirm[hidden] { display: none; }
.ws-adm .ws-pt-confirm > span { flex: 1 1 260px; }
.ws-adm .ws-pt-msg { margin: 6px 0 0; min-height: 0; font-size: 13px; }
.ws-adm .ws-pt-msg:empty { display: none; }
.ws-adm .ws-pt-msg.ok { color: var(--ws-ok); } .ws-adm .ws-pt-msg.err { color: var(--ws-er); }
.ws-adm .ws-pt-more { margin-top: 10px; }
.ws-adm .ws-pt-more > summary { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; padding: 11px 14px; background: #fff; border: 1px solid var(--ws-ln); cursor: pointer; list-style: none; }
.ws-adm .ws-pt-more > summary::-webkit-details-marker { display: none; }
.ws-adm .ws-pt-more > summary::after { content: "\25BE"; margin-inline-start: auto; color: var(--ws-o); font-size: 14px; }
.ws-adm .ws-pt-more[open] > summary::after { content: "\25B4"; }
.ws-adm .ws-pt-more > summary span { font-weight: 600; font-size: 13.5px; color: var(--ws-ink); }
.ws-adm .ws-pt-more > summary em { font-style: normal; font-size: 12.5px; color: var(--ws-mu); }
.ws-adm .ws-pt-more > summary:hover { border-color: #CFCFCF; }
.ws-adm .ws-pt-form { margin-top: 8px; }
.ws-adm .ws-pt-group { background: #fff; border: 1px solid var(--ws-ln); margin-bottom: 10px; }
.ws-adm .ws-pt-row { display: grid; grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1fr); gap: 6px 12px; align-items: start; padding: 7px 14px; }
.ws-adm .ws-pt-head { align-items: center; padding-block: 9px; background: #FAFAFA; border-bottom: 1px solid var(--ws-ln); }
.ws-adm .ws-pt-gl { font: 600 13px var(--ws-h); text-transform: uppercase; letter-spacing: .5px; color: var(--ws-k); }
.ws-adm .ws-pt-lh { font-size: 11.5px; font-weight: 600; color: #8A8F98; text-transform: uppercase; letter-spacing: .5px; }
.ws-adm.ws-rtl .ws-pt-gl, .ws-adm.ws-rtl .ws-pt-lh, [dir="rtl"] .ws-adm .ws-pt-gl, .ws-adm[dir="rtl"] .ws-pt-gl { text-transform: none; letter-spacing: 0; }
.ws-adm .ws-pt-lbl { padding-top: 8px; font-size: 12.5px; font-weight: 500; color: #444; }
.ws-adm .ws-pt-cell { display: block; margin: 0; min-width: 0; }
.ws-adm .ws-pt-cell .ws-ctl { width: 100%; }
.ws-adm .ws-pt-cell textarea.ws-ctl { height: auto; min-height: 64px; line-height: 1.45; }
.ws-adm .ws-pt-wide { grid-column: 2 / span 1; }
.ws-adm .ws-pt-lt { display: none; }
.ws-adm .ws-pt-hint-row { padding-top: 0; }
.ws-adm .ws-pt-hint { grid-column: 2 / -1; font-size: 11.5px; color: #8A8F98; }
.ws-adm .ws-pt-hint code { font-size: 11px; background: #F4F4F4; padding: 1px 4px; unicode-bidi: isolate; }
@media (max-width: 700px) {
    .ws-adm .ws-pt-page-acts { width: 100%; }
    .ws-adm .ws-pt-page-acts .ws-ctl { flex: 1 1 100%; min-width: 0; max-width: none; }
    .ws-adm .ws-pt-page-acts .ws-btn { flex: 1 1 auto; }
    .ws-adm .ws-pt-row { grid-template-columns: 1fr; gap: 4px; padding: 8px 10px; }
    .ws-adm .ws-pt-head .ws-pt-lh { display: none; }
    .ws-adm .ws-pt-lbl { padding-top: 0; }
    .ws-adm .ws-pt-cell { position: relative; }
    .ws-adm .ws-pt-lt { display: block; position: absolute; top: 9px; font: 600 10px var(--ws-b); font-style: normal; color: #A0A4AB; pointer-events: none; }
    /* the tag sits at the end of each field in the field's own direction */
    .ws-adm .ws-pt-c-en .ws-pt-lt { right: 8px; left: auto; }
    .ws-adm .ws-pt-c-he .ws-pt-lt { left: 8px; right: auto; }
    .ws-adm .ws-pt-c-en .ws-ctl { padding-right: 30px; }
    .ws-adm .ws-pt-c-he .ws-ctl { padding-left: 30px; }
    .ws-adm .ws-pt-wide, .ws-adm .ws-pt-hint { grid-column: auto; }
}
/* === end Round 4 – M === */

/* Management header: Israeli stores link */
.ws-adm-h .ws-hlink { display: inline-flex; align-items: center; gap: 4px; }
.ws-adm-h .ws-hlink-open { text-decoration: none; font-size: 15px; line-height: 1; }
.ws-adm-h .ws-hlink-copy { height: 28px; padding: 0 10px; background: transparent; color: #fff; border: 1px solid #555; border-radius: 0; font: 600 12px/1 var(--ws-b); cursor: pointer; white-space: nowrap; }
.ws-adm-h .ws-hlink-copy:hover { border-color: var(--ws-o); color: var(--ws-o); }
@media (max-width: 700px) {
    .ws-adm-h .ws-hlink-t { display: none; }
    .ws-adm-h .ws-hlink-open { display: none; }
}

/* === Round 5 – P === */
/* Store region chip: 🇮🇱 Israel / 🌍 Abroad (dashed border = set by hand) */
.ws-adm .ws-rgc { display: inline-flex; align-items: center; gap: 4px; padding: 1px 7px; border: 1px solid transparent; font: 600 11.5px/1.5 var(--ws-b); white-space: nowrap; vertical-align: middle; }
.ws-adm .ws-rgc i { font-style: normal; font-size: 12px; line-height: 1; }
.ws-adm .ws-rgc-il { background: var(--ws-infos); color: var(--ws-info); }
.ws-adm .ws-rgc-intl { background: #EFE8FF; color: #6D28D9; }
.ws-adm .ws-rgc-set { border-style: dashed; border-color: currentColor; }
.ws-adm .ws-c-ctry .ws-rgc-v { margin-inline-start: 6px; }
.ws-adm .ws-c-ctry .ws-region-sel { display: block; width: 100%; margin-top: 4px; }
/* Region filter above the Customers list */
.ws-adm .ws-rgf { display: flex; gap: 4px; flex-wrap: wrap; }
.ws-adm .ws-rgf-b { display: inline-flex; align-items: center; gap: 4px; margin: 0; padding: 5px 10px; height: 36px; background: #fff; border: 1px solid var(--ws-ln); border-radius: 0; color: var(--ws-ink); font: 400 12.5px/1.3 var(--ws-b); white-space: nowrap; cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: 0; }
.ws-adm .ws-rgf-b:hover { border-color: #BDBDBD; background: #fff; color: var(--ws-ink); }
.ws-adm .ws-rgf-b i { font-style: normal; }
.ws-adm .ws-rgf-b em { font-style: normal; color: var(--ws-mu); }
.ws-adm .ws-rgf-b.ws-on, .ws-adm .ws-rgf-b.ws-on:hover { background: var(--ws-k); border-color: var(--ws-k); color: #fff; }
.ws-adm .ws-rgf-b.ws-on em { color: #BBB; }
.ws-adm .ws-users tr.ws-rg-hidden { display: none !important; }
/* Account manager column */
.ws-adm .ws-c-am { white-space: nowrap; }
.ws-adm .ws-am-v small { color: var(--ws-mu); font-size: 11.5px; }
.ws-adm .ws-am-v:not(.ws-am-def) small { display: none; }
.ws-adm .ws-am-def .ws-am-n { color: var(--ws-mu); }
.ws-adm .ws-c-am .ws-am-sel { width: 100%; min-width: 110px; max-width: 160px; }
@media (min-width: 701px) {
    /* one more column: stack Save / Cancel while a row is edited */
    .ws-adm .ws-users tr.ws-editing .ws-edit-actions { display: flex; flex-direction: column; gap: 4px; }
    .ws-adm .ws-users tr.ws-editing td input[type="text"], .ws-adm .ws-users tr.ws-editing td select { min-width: 0; width: 100%; max-width: none; }
    .ws-adm .ws-users tr.ws-editing .ws-c-ctry { min-width: 130px; }
    .ws-adm .ws-users tr.ws-editing .ws-c-name input { min-width: 64px; }
    .ws-adm .ws-users tr.ws-editing .ws-c-comp input { min-width: 100px; }
    .ws-adm .ws-users tr.ws-editing .ws-c-tier select { min-width: 132px; }
    .ws-adm .ws-users tr.ws-editing .ws-c-cur select { min-width: 72px; }
    .ws-adm .ws-users tr.ws-editing .ws-c-lang select { min-width: 118px; }
    .ws-adm .ws-users tr.ws-editing .ws-c-am select { min-width: 132px; }
}
/* Orders list: icon-only chip before the store */
.ws-adm .ws-ord-rg .ws-rgc { padding: 0 3px; margin-inline-end: 6px; background: transparent; border: 0; }
.ws-adm .ws-ord-rg .ws-rgc-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Team & settings: "Stores" scope + default account managers */
.ws-adm .ws-team-region { display: flex; flex-direction: row; align-items: center; gap: 6px 10px; flex-wrap: wrap; }
.ws-adm .ws-team-region > span:first-child { font-weight: 600; font-size: 12.5px; }
.ws-adm .ws-team-region .ws-hint { flex: 1 1 260px; color: var(--ws-mu); font-size: 11.5px; }
.ws-adm .ws-team-sum .ws-rgc { margin-inline-end: 2px; }
.ws-adm .ws-team-sreg { font-weight: 600; }
.ws-adm .ws-regmgr { display: grid; gap: 6px; }
.ws-adm .ws-regmgr-row { display: grid; grid-template-columns: minmax(150px, 210px) minmax(180px, 280px) 1fr; align-items: center; gap: 8px 12px; padding: 10px 12px; background: #fff; border: 1px solid var(--ws-ln); }
.ws-adm .ws-regmgr-l { display: inline-flex; align-items: center; gap: 6px; }
.ws-adm .ws-regmgr-l .ws-rgc-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ws-adm .ws-regmgr-l .ws-rgc { padding: 2px 5px; }
.ws-adm .ws-regmgr-sel select { width: 100%; height: 34px; }
.ws-adm .ws-regmgr-apply { justify-self: end; }
.ws-adm .ws-regmgr-go { white-space: normal; text-align: start; line-height: 1.3; }
.ws-adm .ws-regmgr-go:disabled { opacity: .5; cursor: default; }
.ws-adm .ws-regmgr-confirm { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 10px; background: var(--ws-os); border: 1px solid #F5C9A0; font-size: 13px; }
.ws-adm .ws-regmgr-confirm .ws-regmgr-q { flex: 1 1 220px; }
.ws-adm .ws-regmgr-confirm.ws-hide { display: none; }
@media (max-width: 700px) {
    .ws-adm .ws-adm-bar .ws-rgf { flex: 1 1 100%; }
    .ws-adm .ws-rgf-b { flex: 1 1 0; justify-content: center; height: 32px; padding: 0 6px; }
    .ws-adm .ws-users .ws-c-am { order: 8; }
    .ws-adm .ws-users .ws-c-login { order: 9; }
    .ws-adm .ws-users .ws-c-act { order: 10; }
    .ws-adm .ws-users .ws-c-am::after { content: " ·"; }
    .ws-adm .ws-users tr.ws-editing .ws-c-am { flex: 1 1 100%; }
    .ws-adm .ws-c-ctry .ws-rgc-v { margin-inline-start: 4px; }
    .ws-adm .ws-c-ctry .ws-rgc { padding: 0 5px; font-size: 11px; }
    .ws-adm .ws-users tr.ws-editing .ws-c-ctry, .ws-adm .ws-pend tr.ws-editing .ws-c-ctry { flex-wrap: wrap; }
    .ws-adm tr.ws-editing .ws-c-ctry .ws-region-sel { flex: 1 1 100%; width: 100%; margin-top: 4px; }
    .ws-adm .ws-regmgr-row { grid-template-columns: 1fr; gap: 6px; padding: 8px 10px; }
    .ws-adm .ws-regmgr-apply { justify-self: stretch; }
    .ws-adm .ws-regmgr-go { width: 100%; justify-content: center; }
    .ws-adm .ws-team-region .ws-seg { width: 100%; }
}
/* === end Round 5 – P === */

/* Order view: store discount % column */
.ws-adm .ws-ord-products-table .ws-c-tierdisc { white-space: nowrap; }
.ws-adm .ws-ord-tierdisc { display: inline-block; padding: 1px 6px; background: var(--ws-os, #FFF1E5); color: var(--ws-o); font-weight: 700; font-size: 12px; }
@media (max-width: 700px) {
    .ws-adm .ws-ord-products-table .ws-c-tierdisc { order: 6; font-size: 12.5px; margin-top: 4px; display: flex; align-items: center; gap: 4px; }
    .ws-adm .ws-ord-products-table td.ws-c-tierdisc::before { content: attr(data-label); color: var(--ws-mu); }
    .ws-adm .ws-op .ws-ord-products-table td.ws-c-tierdisc { display: block; margin: 0; order: 0; }
}

/* Israel / abroad as tabs (Customers, Order for store) */
.ws-adm .ws-rgf.ws-rgtabs { flex: 1 1 100%; gap: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--ws-ln); margin: 4px 0 2px; }
.ws-adm .ws-rgtabs .ws-rgf-b, .ws-adm .ws-rgtabs .ws-rgf-b:hover { flex: 0 0 auto; height: 40px; padding: 0 16px; background: transparent; border: 0; border-bottom: 3px solid transparent; color: #555; font: 500 13px var(--ws-h); text-transform: uppercase; letter-spacing: .4px; }
[dir="rtl"] .ws-adm .ws-rgtabs .ws-rgf-b, [dir="rtl"].ws-adm .ws-rgtabs .ws-rgf-b { text-transform: none; letter-spacing: 0; font-family: var(--ws-b); font-weight: 600; }
.ws-adm .ws-rgtabs .ws-rgf-b.ws-on, .ws-adm .ws-rgtabs .ws-rgf-b.ws-on:hover { background: transparent; color: var(--ws-k); border-bottom-color: var(--ws-o); }
.ws-adm .ws-rgtabs .ws-rgf-b em { background: #EFEFEF; color: #666; border-radius: 9px; padding: 0 7px; font-size: 11px; }
.ws-adm .ws-rgtabs .ws-rgf-b.ws-on em { background: var(--ws-o); color: #fff; }
.ws-adm .ws-order-for-user-item.ws-rg-hidden { display: none; }
.ws-adm .ws-rgtabs .ws-rgf-b, .ws-adm .ws-rgtabs .ws-rgf-b.ws-on, .ws-adm .ws-rgtabs .ws-rgf-b:focus { border-width: 0 0 3px 0 !important; border-style: solid !important; outline: none; box-shadow: none; }
.ws-adm .ws-rgtabs .ws-rgf-b:focus-visible { outline: 2px solid var(--ws-o); outline-offset: -2px; }
.ws-adm #ws-ofu-region { margin: 10px 0 8px; }
@media (max-width: 700px) {
    .ws-adm .ws-rgtabs .ws-rgf-b { flex: 1 0 auto; justify-content: center; padding: 0 10px; font-size: 12px; height: 38px; }
}
