/*
 * RESIZABLE COLUMNS and THE WINDOW-BOTTOM SCROLLBAR — shared by Admin and the storefront's Reseller Manager (12 Nov 2026;
 * moved here from admin-shell.css, unchanged but for fallbacks on the colour variables, so a page without Admin's
 * :root tokens draws the same). The behaviour is shell/column-resize.js and shell/xscroll.js.
 */
/* Steve, 1 Nov 2026 (WP-Next-Release item 2): resizable columns (shell/column-resize.js) — the divider at each heading's
   right edge (drag, double-click to fit, or Tab and the arrow keys), and Reset columns above the table. */
/* Wholly inside its heading (right:0): a heading that clips its contents (a fixed-layout table) never hides it. */
.col-resizer{position:absolute;top:0;right:0;width:9px;height:100%;cursor:col-resize;z-index:3;touch-action:none}
.col-resizer::after{content:"";position:absolute;top:20%;bottom:20%;right:1px;width:2px;border-radius:1px;background:transparent}
.col-resizer:hover::after,.col-resizer:focus-visible::after,html.col-resizing .col-resizer::after{background:#2e7d32}
.col-resizer:focus-visible{outline:2px solid #2e7d32;outline-offset:-2px;border-radius:2px}
html.col-resizing,html.col-resizing *{cursor:col-resize !important;user-select:none !important}
.col-reset{display:flex;justify-content:flex-end;margin:0 0 4px}
.col-reset__btn{all:unset;cursor:pointer;font-size:12px;color:#37602a;text-decoration:underline;padding:2px 4px}
.col-reset__btn:disabled{color:#9aa38f;text-decoration:none;cursor:default}
.col-reset__btn:focus-visible{outline:2px solid #2e7d32;border-radius:3px}

/* Paul, 29 Oct 2026: a wide table's scrollbar stays in the window — shell/xscroll.js pins a second one to the bottom of the
   window while the table's own is below the fold. Styled so it shows on overlay-scrollbar systems too (macOS): there
   Firefox draws no scrollbar height at all, so min-height keeps a strip to point at (measured: 2px without it). */
.xscroll-bar{position:fixed;bottom:0;z-index:1030;box-sizing:border-box;min-height:16px;overflow-x:scroll;overflow-y:hidden;
  background:var(--panel,#ffffff);border:1px solid var(--border-2,#d4dec4);border-bottom:0;border-radius:8px 8px 0 0;
  box-shadow:0 -4px 14px rgba(30,42,23,.10)}
.xscroll-bar[hidden]{display:none}
.xscroll-bar__track{height:1px}
.xscroll-bar::-webkit-scrollbar{height:14px}
.xscroll-bar::-webkit-scrollbar-track{background:var(--surface,#f5f8f0)}
.xscroll-bar::-webkit-scrollbar-thumb{background:#aab79a;border-radius:7px;border:3px solid var(--surface,#f5f8f0)}
.xscroll-bar::-webkit-scrollbar-thumb:hover{background:var(--brand-dd,#557f16)}
@supports not selector(::-webkit-scrollbar){.xscroll-bar{scrollbar-color:#aab79a var(--surface,#f5f8f0)}}
