/*
 * Warehouse Web Design System Foundation V3
 * Component styles are opt-in through the ds- prefix. Theme color values live
 * in theme-system.css; geometry lives here so every theme keeps one layout.
 */

:root {
  --font-ui:"Segoe UI Variable","Segoe UI","Microsoft YaHei UI","Microsoft YaHei","PingFang SC","Noto Sans CJK SC","Noto Sans SC",sans-serif;
  --font-mono:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;
  --text-xs:12px;
  --text-sm:13px;
  --text-base:14px;
  --text-md:16px;
  --text-lg:18px;
  --text-xl:20px;
  --text-2xl:24px;
  --font-regular:400;
  --font-medium:500;
  --font-semibold:600;
  --line-tight:1.35;
  --line-normal:1.5;
  --line-relaxed:1.6;
  --ds-space-1:4px;
  --ds-space-2:8px;
  --ds-space-3:12px;
  --ds-space-4:16px;
  --ds-space-5:20px;
  --ds-space-6:24px;
  --ds-space-8:32px;
  --ds-control-sm:32px;
  --ds-control-md:36px;
  --ds-control-lg:42px;
  --ds-radius-sm:6px;
  --ds-radius-md:8px;
  --ds-radius-lg:12px;
  --ds-page-title-size:var(--text-2xl);
  --ds-section-title-size:var(--text-lg);
  --ds-body-size:var(--text-base);
  --ds-table-head-size:var(--text-sm);
  --ds-secondary-size:var(--text-sm);
  --ds-muted-size:var(--text-xs);
  --ds-motion-fast:140ms;
}

/* Typography */
.ds-page-title{margin:0;color:var(--ui-text-primary);font-size:var(--ds-page-title-size);font-weight:var(--font-semibold);line-height:var(--line-tight)}
.ds-section-title{margin:0;color:var(--ui-text-primary);font-size:var(--ds-section-title-size);font-weight:var(--font-semibold);line-height:1.4}
.ds-body{color:var(--ui-text-primary);font-size:var(--ds-body-size);font-weight:var(--font-regular);line-height:1.55}
.ds-secondary-text{color:var(--ui-text-secondary);font-size:var(--ds-secondary-size);font-weight:var(--font-regular);line-height:var(--line-normal)}
.ds-muted-text{color:var(--ui-text-muted);font-size:var(--ds-muted-size);font-weight:var(--font-regular);line-height:var(--line-normal)}
.ds-numeric-kpi{font-variant-numeric:tabular-nums;font-feature-settings:"tnum";letter-spacing:-.02em}

/* Shared icon geometry */
.ds-icon{display:inline-flex;width:18px;height:18px;flex:0 0 18px;align-items:center;justify-content:center;color:currentColor}
.ds-icon svg{display:block;width:100%;height:100%}
.ds-icon-sm{width:16px;height:16px;flex-basis:16px}
.ds-icon-lg{width:20px;height:20px;flex-basis:20px}

/* Button hierarchy */
:where(.ds-btn){display:inline-flex;min-height:var(--ds-control-md);align-items:center;justify-content:center;gap:var(--ds-space-2);padding:0 var(--ds-space-3);border:1px solid transparent;border-radius:var(--ds-radius-md);font:inherit;font-size:var(--text-base);font-weight:var(--font-semibold);line-height:1;white-space:nowrap;cursor:pointer;transition:background-color var(--ds-motion-fast) ease,border-color var(--ds-motion-fast) ease,color var(--ds-motion-fast) ease,box-shadow var(--ds-motion-fast) ease}
.ds-btn-primary{border-color:var(--business-action-primary);background:var(--business-action-primary);color:#fff}
.ds-btn-primary:hover{border-color:var(--business-action-primary-hover);background:var(--business-action-primary-hover)}
.ds-btn-primary:active{border-color:#055c42;background:#055c42}
.ds-btn-primary:focus-visible{outline-color:var(--business-action-focus)}
.ds-btn-secondary{border-color:var(--ui-border);background:var(--ui-surface);color:var(--ui-text-primary)}
.ds-btn-secondary:hover{border-color:var(--ui-border-strong);background:var(--ui-surface-hover);color:var(--ui-brand)}
.ds-btn-soft{border-color:transparent;background:var(--ui-brand-soft);color:var(--ui-brand)}
.ds-btn-soft:hover{border-color:color-mix(in srgb,var(--ui-brand) 20%,transparent);background:var(--ui-surface-selected)}
.ds-btn-icon{width:var(--ds-control-md);padding:0;border-color:var(--ui-border);background:var(--ui-surface);color:var(--ui-text-secondary)}
.ds-btn-icon:hover{border-color:var(--ui-border-strong);background:var(--ui-surface-hover);color:var(--ui-brand)}
.ds-btn-text{min-height:30px;padding:0 var(--ds-space-2);border-color:transparent;background:transparent;color:var(--color-link)}
.ds-btn-text:hover{background:var(--ui-surface-hover);color:var(--color-link-hover);text-decoration:none}
.ds-btn-danger{border-color:var(--status-danger);background:var(--status-danger);color:#fff}
.ds-btn-danger:hover{border-color:#b93642;background:#b93642}
.ds-btn-danger-soft{border-color:color-mix(in srgb,var(--status-danger) 28%,transparent);background:var(--status-danger-soft);color:var(--status-danger)}
.ds-btn-sm{min-height:var(--ds-control-sm);padding-inline:10px;font-size:12px}
.ds-btn-lg{min-height:var(--ds-control-lg);padding-inline:18px}
:where(.ds-btn)[disabled],:where(.ds-btn)[aria-disabled="true"]{cursor:not-allowed;filter:saturate(.45);opacity:.5}

/* Section headers and list toolbars */
.ds-section-header{display:flex;min-width:0;align-items:flex-start;justify-content:space-between;gap:var(--ds-space-4)}
.ds-section-header__copy{display:grid;min-width:0;gap:var(--ds-space-1)}
.ds-section-header__copy>p{margin:0;color:var(--ui-text-secondary);font-size:13px;line-height:1.55}
.ds-section-header__actions{display:flex;align-items:center;justify-content:flex-end;gap:var(--ds-space-2)}
.ds-list-surface{min-width:0;border:1px solid var(--ui-border);border-radius:var(--ds-radius-lg);background:var(--ui-surface);box-shadow:var(--ui-shadow-sm)}
.ds-toolbar{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:var(--ds-space-3);padding:var(--ds-space-3)}
.ds-toolbar__left,.ds-toolbar__right,.ds-toolbar__actions,.ds-toolbar__views{display:flex;min-width:0;align-items:center;gap:var(--ds-space-2)}
.ds-toolbar__right{margin-left:auto;justify-content:flex-end}
.ds-toolbar__search{flex:1 1 260px;max-width:320px}

/* Controls and search */
.ds-control{min-height:var(--ds-control-md);border:1px solid var(--ui-border);border-radius:var(--ds-radius-md);background:var(--ui-surface);color:var(--ui-text-primary);font:inherit;font-size:var(--text-base);font-weight:var(--font-regular)}
.ds-control:hover{border-color:var(--ui-border-strong)}
.ds-search{position:relative;display:flex;min-width:220px;align-items:center}
.ds-search>.ds-search-icon{position:absolute;left:11px;z-index:1;color:var(--ui-text-muted);pointer-events:none}
.ds-search>input{width:100%;height:var(--ds-control-md);padding:0 38px 0 36px;border:1px solid var(--ui-border);border-radius:var(--ds-radius-md);background:var(--ui-surface);color:var(--ui-text-primary);font:inherit;font-size:var(--text-base);font-weight:var(--font-regular)}
.ds-search>input::placeholder{color:var(--ui-text-muted)}
.ds-search-clear{position:absolute;right:5px;display:inline-grid;width:27px;height:27px;padding:0;border:0;border-radius:var(--ds-radius-sm);background:transparent;color:var(--ui-text-muted);cursor:pointer;place-items:center}
.ds-search-clear:hover{background:var(--ui-surface-hover);color:var(--ui-text-primary)}
.ds-search-clear[hidden]{display:none}
.ds-search-loading{position:absolute;right:9px;width:16px;height:16px;border:2px solid var(--ui-border);border-top-color:var(--ui-brand);border-radius:50%;animation:ds-spin .7s linear infinite}
.ds-search.is-loading .ds-search-clear{display:none}
.warehouse-product-management .ds-search>input{padding-left:36px!important;padding-right:112px!important}
.warehouse-product-management .ds-search-clear{right:78px}

/* Filters, chips, tabs, group and sort controls */
.ds-filter-trigger,.ds-group-trigger,.ds-sort-trigger{position:relative}
.ds-filter-count{display:inline-grid;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--ui-brand-soft);color:var(--ui-brand);font-size:10px;font-weight:800;place-items:center}
.ds-popover-shell{position:absolute;z-index:70;top:calc(100% + 8px);right:0;width:min(360px,calc(100vw - 32px));padding:var(--ds-space-4);border:1px solid var(--ui-border);border-radius:var(--ds-radius-lg);background:var(--ui-surface-raised);box-shadow:var(--ui-shadow-md)}
.ds-popover-shell[hidden]{display:none}
.ds-popover-header{display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-3);margin-bottom:var(--ds-space-3)}
.ds-filter-fields{display:grid;gap:var(--ds-space-3)}
.ds-popover-actions{display:flex;justify-content:flex-end;gap:var(--ds-space-2);margin-top:var(--ds-space-4);padding-top:var(--ds-space-3);border-top:1px solid var(--ui-border)}
.ds-filter-chips{display:flex;min-width:0;align-items:center;gap:7px;overflow-x:auto;scrollbar-width:thin}
.ds-filter-chip{display:inline-flex;min-height:32px;align-items:center;gap:6px;padding:0 10px;border:1px solid var(--ui-border);border-radius:var(--ds-radius-md);background:var(--ui-surface);color:var(--ui-text-secondary);font:inherit;font-size:12px;font-weight:650;white-space:nowrap;cursor:pointer}
.ds-filter-chip:hover{border-color:var(--ui-border-strong);background:var(--ui-surface-hover);color:var(--ui-text-primary)}
.ds-filter-chip.active,.ds-filter-chip[aria-pressed="true"]{border-color:color-mix(in srgb,var(--ui-brand) 48%,var(--ui-border));background:var(--ui-brand-soft);color:var(--ui-brand)}
.ds-filter-chip__count{font-variant-numeric:tabular-nums;font-weight:800}
.ds-filter-chip__close{display:inline-grid;width:18px;height:18px;margin-right:-4px;border-radius:4px;color:currentColor;place-items:center}
.ds-tabs{display:flex;min-width:0;gap:var(--ds-space-5);overflow-x:auto;border-bottom:1px solid var(--ui-border)}
.ds-tab{position:relative;display:inline-flex;min-height:40px;align-items:center;gap:6px;padding:0 2px;border:0;background:transparent;color:var(--ui-text-secondary);font:inherit;font-size:13px;font-weight:680;white-space:nowrap;cursor:pointer}
.ds-tab::after{position:absolute;right:0;bottom:-1px;left:0;height:2px;background:transparent;content:""}
.ds-tab.active,.ds-tab[aria-selected="true"]{color:var(--ui-brand)}
.ds-tab.active::after,.ds-tab[aria-selected="true"]::after{background:var(--ui-brand)}
.ds-group-control,.ds-sort-control{position:relative;display:inline-flex}
.ds-sort-indicator{display:inline-flex;width:14px;height:14px;align-items:center;justify-content:center;color:var(--ui-text-muted)}

/* Continuous ERP data tables */
.ds-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
:where(.ds-table){width:100%;border-collapse:separate;border-spacing:0;background:var(--ui-surface);color:var(--ui-text-primary);font-size:var(--text-base);font-weight:var(--font-regular);line-height:var(--line-normal)}
.ds-table>thead>tr>th{height:42px;padding:0 var(--ds-space-3);border-bottom:1px solid var(--ui-border);background:var(--ui-surface-soft);color:var(--ui-text-secondary);font-size:var(--ds-table-head-size);font-weight:600;text-align:left;white-space:nowrap}
.ds-table>tbody>tr>td{height:50px;padding:var(--ds-space-2) var(--ds-space-3);border-bottom:1px solid var(--ui-border);background:var(--ui-surface);font-weight:400;vertical-align:middle}
.ds-table>tbody>tr:hover>td,.ds-table>tbody>tr.group-hover>td{background:var(--ui-surface-hover)}
.ds-table>tbody>tr.selected>td,.ds-table>tbody>tr[aria-selected="true"]>td{background:var(--ui-surface-selected)}
.ds-table>tbody>tr[aria-disabled="true"]>td{color:var(--ui-text-muted);opacity:.68}
.ds-table .ds-cell-numeric,.ds-table .ds-cell-money{font-variant-numeric:tabular-nums;font-feature-settings:"tnum";text-align:right}
.ds-table .ds-cell-money{white-space:nowrap}
.ds-table .ds-cell-status{text-align:left}
.ds-table .ds-cell-actions{text-align:right}
.ds-table .ds-cell-checkbox{width:44px;text-align:center}
.ds-table td.ds-table-actions,.ds-table th.ds-table-actions{display:table-cell;text-align:right;white-space:nowrap}
.ds-table :where(div,span).ds-table-actions,.ds-table .ds-table-action-group{display:flex;align-items:center;justify-content:flex-end;gap:var(--ds-space-1);white-space:nowrap}
.ds-table .ds-group-row>td{height:38px;background:var(--ui-surface-soft);color:var(--ui-text-secondary);font-weight:600}
.ds-table .ds-expandable-row[hidden]{display:none}
.ds-table-compact>tbody>tr>td{height:44px;padding-block:6px}
.ds-table-product-group>tbody>tr>td{height:66px}
.ds-table-product-group>tbody>tr.group-start.group-end>td{height:72px}
.ds-table.ds-table-product-group .ds-cell-numeric{text-align:right}
.ds-table.ds-table-product-group :where(div,span).ds-table-actions,.ds-table.ds-table-product-group .ds-table-action-group{justify-content:flex-end}
.ds-table.ds-table-product-group>thead :where(.product-stock-column,.product-allocated-column,.product-available-column){text-align:right}
.ds-table.ds-table-product-group>thead .product-actions-column{text-align:right}
.ds-table-dividers>thead>tr>th,.ds-table-dividers>tbody>tr>td{border-right:1px solid var(--ui-border)}
.ds-table-dividers>thead>tr>th:last-child,.ds-table-dividers>tbody>tr>td:last-child{border-right:0}
.ds-table-sticky>thead{position:sticky;z-index:4;top:0}
.ds-group-toggle{display:flex;width:100%;align-items:center;gap:var(--ds-space-2);padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.ds-group-toggle__chevron{transition:transform var(--ds-motion-fast) ease}
.ds-group-toggle[aria-expanded="false"] .ds-group-toggle__chevron{transform:rotate(-90deg)}
.ds-group-count{display:inline-grid;min-width:22px;height:20px;padding:0 6px;border-radius:var(--ds-radius-sm);background:var(--ui-surface);color:var(--ui-text-secondary);font-size:11px;place-items:center}
.ds-checkbox{width:16px;height:16px;margin:0;accent-color:var(--ui-brand);cursor:pointer}

/* Status chips: business semantics never inherit theme accents. */
.ds-status{display:inline-flex;min-height:24px;align-items:center;gap:5px;padding:2px 7px;border:1px solid transparent;border-radius:7px;font-size:var(--text-xs);font-weight:var(--font-medium);line-height:1.2;white-space:nowrap}
.ds-status::before{width:6px;height:6px;border-radius:50%;background:currentColor;content:""}
.ds-status-success{border-color:color-mix(in srgb,var(--status-success) 18%,transparent);background:var(--status-success-soft);color:var(--status-success)}
.ds-status-warning{border-color:color-mix(in srgb,var(--status-warning) 20%,transparent);background:var(--status-warning-soft);color:var(--status-warning)}
.ds-status-caution{border-color:color-mix(in srgb,var(--status-caution) 20%,transparent);background:var(--status-caution-soft);color:var(--status-caution)}
.ds-status-danger{border-color:color-mix(in srgb,var(--status-danger) 20%,transparent);background:var(--status-danger-soft);color:var(--status-danger)}
.ds-status-neutral{border-color:color-mix(in srgb,var(--status-neutral) 20%,transparent);background:var(--status-neutral-soft);color:var(--status-neutral)}
.ds-status-info{border-color:var(--ui-border);background:var(--ui-surface-soft);color:var(--ui-text-secondary)}
.ds-status-near-expiry{border-color:color-mix(in srgb,var(--status-near-expiry) 22%,transparent);background:color-mix(in srgb,var(--status-near-expiry) 11%,var(--ui-surface));color:#8b6300}
.product-state-status.ds-status::before{display:none}
.product-state-status.ds-status-success{border-color:color-mix(in srgb,var(--status-success) 18%,transparent);background:var(--status-success-soft);color:var(--status-success)}
.product-state-status.ds-status-neutral{border-color:color-mix(in srgb,var(--status-neutral) 20%,transparent);background:var(--status-neutral-soft);color:var(--status-neutral)}

/* Selection, pagination and feedback states */
.ds-batch-bar{display:flex;min-height:44px;align-items:center;gap:var(--ds-space-3);padding:6px var(--ds-space-3);border:1px solid color-mix(in srgb,var(--ui-brand) 24%,var(--ui-border));border-radius:var(--ds-radius-md);background:var(--ui-brand-soft);color:var(--ui-text-primary)}
.ds-batch-bar[hidden],.ds-batch-bar[data-selection-count="0"]{display:none}
.ds-batch-bar__count{font-size:12px;font-weight:720}
.ds-batch-bar__actions{display:flex;align-items:center;gap:var(--ds-space-2);margin-left:auto}
.ds-pagination{display:flex;min-height:54px;align-items:center;justify-content:flex-end;gap:var(--ds-space-2);padding:var(--ds-space-2) var(--ds-space-3);border-top:1px solid var(--ui-border);background:var(--ui-surface)}
.ds-pagination__summary{margin-right:auto;color:var(--ui-text-secondary);font-size:12px}
.ds-pagination__pages{display:flex;align-items:center;gap:4px}
.ds-page-button{display:inline-grid;min-width:32px;height:32px;padding:0 8px;border:1px solid var(--ui-border);border-radius:var(--ds-radius-sm);background:var(--ui-surface);color:var(--ui-text-secondary);font:inherit;font-size:12px;cursor:pointer;place-items:center}
.ds-page-button:hover{border-color:var(--ui-border-strong);background:var(--ui-surface-hover);color:var(--ui-text-primary)}
.ds-page-button.active,.ds-page-button[aria-current="page"]{border-color:color-mix(in srgb,var(--ui-brand) 45%,var(--ui-border));background:var(--ui-brand-soft);color:var(--ui-brand);font-weight:800}
.ds-page-button[disabled]{cursor:not-allowed;opacity:.45}
.ds-empty,.ds-error{display:grid;min-height:150px;align-content:center;justify-items:center;gap:var(--ds-space-2);padding:var(--ds-space-6);color:var(--ui-text-secondary);text-align:center}
.ds-empty .ds-icon,.ds-error .ds-icon{width:24px;height:24px;color:var(--ui-text-muted)}
.ds-empty>strong,.ds-error>strong{color:var(--ui-text-primary);font-size:var(--text-md);font-weight:var(--font-semibold)}
.ds-empty>p,.ds-error>p{max-width:460px;margin:0;font-size:var(--text-sm);font-weight:var(--font-regular);line-height:var(--line-relaxed)}
.ds-error{border:1px solid color-mix(in srgb,var(--status-danger) 20%,var(--ui-border));border-radius:var(--ds-radius-md);background:var(--status-danger-soft)}
.ds-inline-error{display:flex;align-items:center;gap:var(--ds-space-2);color:var(--status-danger);font-size:12px}
.ds-inline-spinner{display:inline-block;width:16px;height:16px;border:2px solid var(--ui-border);border-top-color:var(--ui-brand);border-radius:50%;animation:ds-spin .7s linear infinite}
.ds-skeleton{position:relative;overflow:hidden;border-radius:var(--ds-radius-sm);background:var(--ui-surface-soft)}
.ds-skeleton::after{position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--ui-surface) 72%,transparent),transparent);animation:ds-skeleton 1.25s ease-in-out infinite;content:""}
.ds-table-skeleton{display:grid;gap:1px;background:var(--ui-border)}
.ds-table-skeleton>.ds-skeleton{height:44px;border-radius:0}
.ds-card-skeleton{display:grid;gap:var(--ds-space-3);min-height:132px;padding:var(--ds-space-4);border:1px solid var(--ui-border);border-radius:var(--ds-radius-lg);background:var(--ui-surface)}

/* Dashboard-compatible primitives */
.ds-ranking-list{display:grid;gap:var(--ds-space-1);margin:0;padding:0;list-style:none}
.ds-ranking-item{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:var(--ds-space-3);min-height:42px;padding:6px 0;border-bottom:1px solid var(--ui-border)}
.ds-ranking-item:last-child{border-bottom:0}
.ds-ranking-number{display:grid;width:24px;height:24px;border-radius:var(--ds-radius-sm);background:var(--ui-surface-soft);color:var(--status-neutral);font-size:11px;font-weight:800;place-items:center}
.ds-ranking-item:nth-child(1) .ds-ranking-number{background:color-mix(in srgb,var(--ranking-first) 13%,var(--ui-surface));color:var(--ranking-first)}
.ds-ranking-item:nth-child(2) .ds-ranking-number{background:color-mix(in srgb,var(--ranking-second) 13%,var(--ui-surface));color:var(--ranking-second)}
.ds-ranking-item:nth-child(3) .ds-ranking-number{background:color-mix(in srgb,var(--ranking-third) 13%,var(--ui-surface));color:var(--ranking-third)}
.ds-quick-action{display:grid;grid-template-columns:38px minmax(0,1fr) 18px;align-items:center;gap:var(--ds-space-3);min-height:62px;padding:var(--ds-space-3);border:1px solid var(--ui-border);border-radius:var(--ds-radius-lg);background:var(--ui-surface);color:var(--ui-text-primary);text-align:left;text-decoration:none;transition:background-color var(--ds-motion-fast) ease,border-color var(--ds-motion-fast) ease,transform var(--ds-motion-fast) ease}
.ds-quick-action:hover{border-color:var(--ui-border-strong);background:var(--ui-surface-hover);transform:translateY(-1px)}
.ds-quick-action__icon{display:grid;width:38px;height:38px;border-radius:var(--ds-radius-md);background:var(--ui-brand-soft);color:var(--ui-brand);place-items:center}
.ds-quick-action__copy{display:grid;gap:2px}.ds-quick-action__copy b{font-size:13px}.ds-quick-action__copy small{color:var(--ui-text-muted);font-size:11px}
.ds-quick-action__chevron{color:var(--ui-text-muted)}

:where(.ds-btn,.ds-filter-chip,.ds-tab,.ds-page-button,.ds-group-toggle,.ds-search-clear,.ds-control,.ds-search>input,.ds-checkbox,.ds-quick-action):focus-visible{outline:2px solid var(--ui-focus-ring);outline-offset:2px}

@keyframes ds-spin{to{transform:rotate(360deg)}}
@keyframes ds-skeleton{to{transform:translateX(100%)}}

@media(max-width:1366px){
  .ds-toolbar{gap:var(--ds-space-2)}
  .ds-toolbar__search{flex-basis:220px;max-width:280px}
}

@media(max-width:1280px){
  .ds-toolbar{flex-wrap:wrap}
  .ds-toolbar__right{flex:1 1 auto;flex-wrap:wrap}
  .ds-table-scroll{overflow-x:auto}
}

@media(max-width:760px){
  :root{--ds-page-title-size:22px;--ds-section-title-size:18px}
  .ds-section-header{align-items:stretch;flex-direction:column}
  .ds-section-header__actions{justify-content:flex-start;flex-wrap:wrap}
  .ds-toolbar,.ds-toolbar__left,.ds-toolbar__right{align-items:stretch;flex-direction:column}
  .ds-toolbar__right{width:100%;margin-left:0}
  .ds-toolbar__actions,.ds-toolbar__views{flex-wrap:wrap}
  .ds-toolbar__search,.ds-search{width:100%;max-width:none;flex-basis:auto}
  .ds-filter-chips{padding-bottom:2px}
  .ds-pagination{align-items:flex-start;flex-wrap:wrap;justify-content:flex-start}
  .ds-pagination__summary{width:100%;margin-right:0}
  .ds-table-scroll{overflow-x:auto}
  .ds-table{min-width:720px}
}

@media(prefers-reduced-motion:reduce){
  :where(.ds-btn,.ds-filter-chip,.ds-tab,.ds-page-button,.ds-group-toggle__chevron,.ds-quick-action){transition:none}
  .ds-inline-spinner,.ds-search-loading,.ds-skeleton::after{animation:none}
}
