/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.21_@babel+core@7.29.7_@opentelemetry+api@1.9.1_react-dom@19.0.5_react@19.0.5__react@19.0.5/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../../node_modules/.pnpm/next@15.5.21_@babel+core@7.29.7_@opentelemetry+api@1.9.1_react-dom@19.0.5_react@19.0.5__react@19.0.5/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* King Power Seller Portal: the storefront's white pages, header, greys, cards and chips, set up for daily operator work. */
:root {
  /* King Power primary (blue), as the storefront's tailwind `kp` tokens name them */
  --blue-50: #f0f7fe; --blue-100: #e2f0fd; --blue-300: #85c1ff;
  --blue-500: #007bff; --blue-600: #0068d6; --blue-700: #0054ad; --blue-800: #004085; --blue-900: #08335e;
  /* The storefront header's navy strip */
  --navy: #1a396e;
  /* King Power secondary (neutral) and the storefront's text inks */
  --grey-50: #f7f7f8; --grey-100: #eff0f2; --grey-200: #d9dbde; --grey-300: #bdc2c6;
  --grey-600: #6c757e; --grey-700: #50575d; --grey-800: #3d4347;
  --line: #e4e7ec;        /* the storefront's header and card rule */
  --heading: #1e2939;     /* kp-heading */
  --body: #364153;        /* kp-body */
  --ink: #171520;         /* kp-ink */
  /* Warning panel, as the storefront's kp-warning-50 */
  --warn-bg: #fef6e7; --warn-line: #fbebba; --warn-ink: #5e4908;
  /* Messages (functional, not brand) */
  --error: #b42318; --success: #166534;

  --font-ui: var(--font-text), "Noto Sans Thai", system-ui, sans-serif;
  --font-title: var(--font-headline), var(--font-ui);
  /* The storefront's press colour: its buttons fill blue 700 and deepen to 800 */
  --action: var(--blue-700); --action-hover: var(--blue-800); --action-pressed: var(--blue-900);
  --radius: 6px;       /* rounded-md: controls */
  --radius-card: 8px;  /* rounded-lg: cards and header links */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55; /* room for Thai tone marks above and vowels below */
  background: #fff;
  color: var(--body);
  caret-color: var(--action);
  accent-color: var(--action);
}
::selection { background: var(--blue-100); color: var(--heading); }

/* ---------- Header: the storefront's navy strip, white bar and nav row ---------- */
.topstrip {
  display: flex; align-items: center; justify-content: center; min-height: 47px; margin: 0; padding: 8px 16px;
  background: var(--navy); color: #fff; font-size: 15px; line-height: 24px; text-align: center;
}
.topbar { background: #fff; border-bottom: 1px solid var(--line); }
.topbar-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1920px; margin: 0 auto; padding: 18px 32px 8px;
}
.topbar-nav { max-width: 1920px; margin: 0 auto; padding: 0 24px 10px; }
.brand { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; color: inherit; border-radius: var(--radius-card); }
.brand img { display: block; height: 31px; width: auto; }
.brand-product {
  padding-left: 16px; border-left: 1px solid var(--grey-300);
  font-weight: 700; font-size: 16px; color: var(--grey-800);
}
/* Account controls sit where the storefront puts "Sign in / Register" */
.account { display: flex; align-items: center; gap: 16px; min-width: 0; }
.account-who { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 16px; color: var(--grey-800); }
.account-icon { width: 24px; height: 24px; padding: 3px; object-fit: contain; flex: none; }
.account-logo { height: 32px; width: auto; max-width: 72px; object-fit: contain; flex: none; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 2px; }
.account-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.account-text strong { color: var(--grey-800); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-meta { font-size: 13px; color: var(--grey-600); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-logout { margin: 0; padding-left: 16px; border-left: 1px solid var(--grey-300); }
/* A header control reads as a link, like the storefront's header links */
button.header-link {
  min-height: 40px; margin: 0; padding: 0 10px;
  font-family: var(--font-ui); font-size: 16px; font-weight: 700; color: var(--grey-800);
  background: transparent; border: 0; border-radius: var(--radius-card);
}
button.header-link:hover { background: var(--blue-50); color: var(--blue-800); }
button.header-link:active { background: var(--blue-100); transform: none; }
/* Section links: the storefront's nav row */
.nav-row ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 10px; white-space: nowrap;
  border-radius: var(--radius-card); font-weight: 700; font-size: 16px; color: var(--grey-800); text-decoration: none;
  transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out);
}
a.nav-link:hover { background: var(--blue-50); color: var(--blue-800); }
a.nav-link[aria-current="page"] { background: var(--blue-50); color: var(--blue-800); }
.nav-planned { color: var(--grey-600); font-weight: 400; cursor: default; }
.nav-soon { padding: 0 8px; border-radius: 999px; background: var(--grey-100); color: var(--grey-700); font-size: 12px; font-weight: 700; line-height: 20px; }

main { display: block; }
.page { max-width: 1120px; margin: 0 auto; padding: 32px 24px 64px; }
.shell-content { max-width: 1920px; margin: 0 auto; padding: 32px 32px 64px; min-width: 0; } /* lines up with the header, as the storefront's pages do */

/* ---------- Type: KP Headline Black headings in the storefront's slate ---------- */
h1, h2, h3 { font-family: var(--font-title); font-weight: 900; color: var(--heading); text-wrap: balance; }
h1 { font-size: 1.875rem; line-height: 1.25; margin: 0 0 8px; }
h2 { font-size: 1.25rem; line-height: 1.3; margin: 32px 0 12px; }
h3 { font-size: 1.05rem; font-weight: 700; margin: 24px 0 8px; }
p { margin: 0 0 12px; }
a { color: var(--action); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-800); text-decoration-thickness: 2px; }
.hint { color: var(--grey-700); font-size: 14px; margin: 6px 0; }
.lede { color: var(--grey-700); margin-bottom: 24px; max-width: 65ch; }

/* ---------- Cards: white, a light rule, rounded-lg, flat like the storefront's ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px;
}
.card + .card { margin-top: 24px; }
.wizard { max-width: 760px; margin: 0 auto; }
.wizard form { max-width: 560px; }
.card > form { max-width: 640px; }

/* ---------- Forms ---------- */
label { display: block; margin: 20px 0 6px; font-weight: 700; font-size: 14px; color: var(--grey-800); }
fieldset label, label:has(> input[type="checkbox"]), label:has(> input[type="radio"]) {
  display: flex; align-items: center; gap: 10px; margin: 10px 0; font-weight: 400; font-size: 15px; color: var(--body);
}
input, select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  font: inherit; font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid var(--grey-300); border-radius: var(--radius);
  transition: border-color 150ms var(--ease-out), box-shadow 150ms var(--ease-out);
}
textarea { min-height: 96px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--grey-600); }
input:hover, select:hover, textarea:hover { border-color: var(--grey-600); }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px var(--blue-100);
}
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--error); }
input:disabled, select:disabled, textarea:disabled { background: var(--grey-100); color: var(--grey-600); cursor: not-allowed; }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; min-height: 0; padding: 0; margin: 0; flex: none; }
input[type="file"] { padding: 8px; background: var(--grey-50); }
input[type="file"]::-webkit-file-upload-button {
  margin-right: 12px; padding: 6px 12px; font: inherit; font-size: 14px; font-weight: 700;
  border: 1px solid var(--grey-300); border-radius: var(--radius); background: #fff; color: var(--grey-800); cursor: pointer;
}
input[type="file"]::file-selector-button {
  margin-right: 12px; padding: 6px 12px; font: inherit; font-size: 14px; font-weight: 700;
  border: 1px solid var(--grey-300); border-radius: var(--radius); background: #fff; color: var(--grey-800); cursor: pointer;
}
fieldset { margin: 24px 0; padding: 12px 20px 16px; border: 1px solid var(--line); border-radius: var(--radius-card); }
legend { padding: 0 6px; font-weight: 700; font-size: 14px; color: var(--grey-800); }

/* ---------- Buttons: the storefront's CTA; blue only where something can be pressed ---------- */
button, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; margin-top: 24px; padding: 0 24px;
  font: inherit; font-family: var(--font-title); font-size: 16px; font-weight: 900; text-decoration: none;
  color: #fff; background: var(--action); border: 1px solid var(--action); border-radius: var(--radius);
  cursor: pointer; transition: background-color 150ms var(--ease-out), border-color 150ms var(--ease-out), transform 100ms var(--ease-out);
}
button:hover, .button:hover { background: var(--action-hover); border-color: var(--action-hover); color: #fff; }
button:active, .button:active { background: var(--action-pressed); border-color: var(--action-pressed); transform: translateY(1px); }
button:focus-visible, .button:focus-visible, a:focus-visible { outline: 3px solid var(--blue-800); outline-offset: 2px; }
button:disabled { background: var(--grey-200); border-color: var(--grey-200); color: var(--grey-600); cursor: not-allowed; transform: none; }
button[aria-busy="true"], button:disabled:is([data-pending]) { cursor: progress; }
/* Only the filled press speaks in Headline Black, as on the storefront; quieter controls stay in Text */
button:is(.secondary, .danger, .stock-idle, .image-remove, .icon-button), .button.secondary { font-family: var(--font-ui); font-weight: 700; }
button.secondary, .button.secondary, button.stock-idle {
  color: var(--grey-800); background: #fff; border-color: var(--grey-300);
}
button.secondary:hover, .button.secondary:hover, button.stock-idle:hover { background: var(--blue-50); border-color: var(--blue-800); color: var(--blue-800); }
button.secondary:disabled { color: var(--grey-600); background: var(--grey-100); }
/* A helper that isn't built yet: stays focusable so it is announced, but looks and acts inert */
button.ai-soon { margin-top: 12px; padding: 8px 20px; flex-wrap: wrap; justify-content: flex-start; row-gap: 4px; text-align: start; cursor: not-allowed; }
button.ai-soon [aria-hidden] { -webkit-margin-end: 4px; margin-inline-end: 4px; }
button.ai-soon, button.ai-soon:hover, button.ai-soon:active { color: var(--grey-600); background: #fff; border-color: var(--grey-200); transform: none; }
button.danger { background: #fff; color: var(--error); border-color: #f1b8b2; }
button.danger:hover { background: #fef2f2; border-color: var(--error); color: var(--error); }

/* ---------- Messages ---------- */
.error { color: var(--error); font-size: 14px; }
.notice { color: var(--success); font-size: 14px; font-weight: 700; }
.warning { color: var(--warn-ink); font-size: 14px; }
.noscript-note { margin: 0; padding: 12px 16px; background: var(--warn-bg); border-bottom: 1px solid var(--warn-line); color: var(--warn-ink); font-size: 14px; text-align: center; }
div.warning, div.alert {
  margin: 16px 0; padding: 14px 16px; border-radius: var(--radius-card);
  background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-ink);
}
div.warning p:last-child, div.alert p:last-child { margin-bottom: 0; }
div.warning a { color: var(--warn-ink); font-weight: 700; }

/* ---------- Chips: the storefront's Badge, a rounded label on a pale tint ---------- */
.chip, .status, .flag, .board-flag {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; white-space: nowrap;
  border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 20px; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums;
  background: #f3f4f6; color: #374151;
}
.chip[data-tone="go"] { background: #dcfce7; color: var(--success); }
.chip[data-tone="wait"], .status.warning { background: #ffedd5; color: #9a3412; }
.flag, .board-flag { background: #fff; color: #9a3412; box-shadow: inset 0 0 0 1px #fdba74; }
.chip[data-tone="info"] { background: #dbeafe; color: #1d4ed8; }
.chip[data-tone="stop"] { background: #fee2e2; color: #b91c1c; }

/* ---------- Layout helpers ---------- */
.row { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.row > button, .row > .button, .row > form > button { margin-top: 0; }
/* Tabs on a card: the storefront's KpTabs, current one on a pale blue */
.board-tabs a:not(.board-action) {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px;
  border-radius: var(--radius); font-weight: 700; font-size: 15px; color: var(--grey-800); text-decoration: none;
}
.board-tabs a:not(.board-action):hover { color: var(--blue-800); }
.board-tabs a[aria-current="page"] { background: var(--blue-50); color: var(--blue-800); }
.tab-count { min-width: 22px; padding: 0 6px; border-radius: 999px; background: var(--grey-100); color: var(--grey-800); font-size: 13px; line-height: 20px; text-align: center; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
[aria-current="page"] > .tab-count { background: #fff; color: var(--blue-800); }
.actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 24px; }
.actions > button, .actions > .button { margin-top: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-gap: 24px; gap: 24px; align-items: start; margin-top: 24px; }
.split > .card + .card { margin-top: 0; }
.split > * { min-width: 0; }
.slot { border-top: 1px solid var(--line); padding: 16px 0; }
.counter-section + .counter-section { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.counter-section h2 { margin-top: 0; }
/* The decision outcome: a large chip, plain and level */
.decision-stamp {
  display: inline-flex; margin: 4px 0 12px; padding: 6px 16px; border-radius: 999px;
  font-family: var(--font-title); font-weight: 900; font-size: 1.1rem;
  background: #f3f4f6; color: #374151;
}
.decision-stamp[data-action="approved"] { background: #dcfce7; color: var(--success); }
.decision-stamp[data-action="rejected"] { background: #fee2e2; color: #b91c1c; }
.decision-stamp[data-action="info_requested"] { background: #ffedd5; color: #9a3412; }
.slot:first-of-type { border-top: 0; }

/* Definition lists read as a ruled ledger */
.summary dl { margin: 0; }
.summary dl > div {
  display: grid; grid-template-columns: 200px 1fr; grid-gap: 2px 16px; gap: 2px 16px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.summary dl > div:last-child { border-bottom: 0; }
.summary dt { color: var(--grey-700); font-size: 14px; }
.summary dd { margin: 0; color: var(--ink); font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.summary dd.error { grid-column: 2; color: var(--error); }

/* ---------- Wizard progress: five steps on a rule ---------- */
.stepper { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-gap: 6px; gap: 6px; list-style: none; padding: 0; margin: 0 0 28px; }
.stepper li {
  padding-top: 10px; border-top: 4px solid var(--grey-200);
  font-size: 14px; color: var(--grey-600); font-feature-settings: "tnum"; font-variant-numeric: tabular-nums;
}
.stepper li.done { border-top-color: var(--action); color: var(--grey-800); }
.stepper li[aria-current="step"] { border-top-color: var(--blue-500); color: var(--heading); font-weight: 700; }

/* ---------- Tables in white cards (the class names "board" are kept from earlier builds) ---------- */
.board {
  background: #fff; color: var(--body); border: 1px solid var(--line); border-radius: var(--radius-card);
  overflow-x: auto;
}
.board-band { margin: 0 0 24px; }
.board-full .board-empty, .board-full .board-hint { padding-left: 20px; padding-right: 20px; }
.board-table { width: 100%; border-collapse: collapse; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.board-table th {
  padding: 12px 20px; text-align: left; white-space: nowrap;
  font-size: 14px; font-weight: 700; color: var(--grey-700); background: var(--grey-50);
  border-bottom: 1px solid var(--line);
}
.board-table td { padding: 16px 20px; border-top: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.board-table tbody tr:first-child td { border-top: 0; }
.board-table tbody tr { position: relative; transition: background-color 150ms var(--ease-out); }
.board-table tbody tr:has(.row-link):hover { background: #f9fafb; }
.board-name { font-size: 16px; font-weight: 700; color: var(--heading); }
.board-muted { color: var(--grey-600); }
.board-table a { color: var(--heading); text-decoration: none; }
.board-table a.row-link::after { content: ""; position: absolute; inset: 0; }
.board-table a.row-link:hover { color: var(--blue-800); }
.board-table a.row-link:focus-visible { outline: none; }
.board-table tr:has(a.row-link:focus-visible) { outline: 3px solid var(--blue-800); outline-offset: -3px; }
.board-next { color: var(--heading); font-weight: 700; }
.board-empty { padding: 32px 20px; margin: 0; color: var(--grey-700); }
.board-table td:has(.board-flag) { white-space: normal; }
.board-flag { margin: 2px 6px 2px 0; }

/* The card's head: title, status tabs, action */
.board-tabs {
  display: flex; align-items: center; gap: 4px 8px; flex-wrap: wrap;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
}
.board-tabs .board-head-title { margin: 0 auto 0 0; padding-right: 16px; font-family: var(--font-title); font-size: 1.5rem; font-weight: 900; color: var(--heading); }

/* ---------- Sign-in: a pale blue introduction beside the form ---------- */
.auth { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 520px; border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; background: #fff; }
.auth-board { padding: 48px 40px; background: var(--blue-50); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.auth-board h1 { font-size: 2.25rem; max-width: 14ch; }
.auth-board p { color: var(--body); max-width: 42ch; }
.auth-board .board-table th { padding-left: 0; background: transparent; border-bottom-color: var(--grey-200); }
.auth-board .board-table td { padding-left: 0; border-top-color: var(--grey-200); }
.auth-board .board-table td:first-child { color: var(--heading); font-weight: 700; }
.auth-board .board-next { color: var(--heading); }
.auth .card { border: 0; border-radius: 0; padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; }
.auth .card h2 { margin-top: 0; font-size: 1.5rem; }

/* ---------- Plain tables on a card ---------- */
table:not(.board-table) { width: 100%; border-collapse: collapse; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
table:not(.board-table) th { text-align: left; font-size: 14px; color: var(--grey-700); padding: 8px 12px; border-bottom: 1px solid var(--line); }
table:not(.board-table) td { padding: 12px; border-bottom: 1px solid var(--line); }

/* History: each decision in order */
.history { list-style: none; padding: 0; margin: 0; }
.history li { display: grid; grid-template-columns: 150px 1fr; grid-gap: 4px 16px; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.history time { color: var(--grey-700); font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.history .stamp { font-weight: 700; font-size: 14px; color: var(--grey-800); }
.history .stamp::first-letter { text-transform: uppercase; }
.history .stamp[data-action="approved"] { color: var(--success); }
.history .stamp[data-action="rejected"] { color: #b91c1c; }
.history .stamp[data-action="info_requested"] { color: #9a3412; }

.doc-list { list-style: none; padding: 0; margin: 0; }
.doc-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.doc-list .hint { margin: 0; }

/* ---------- Listings: table rows with a thumbnail, the listing form, images ---------- */
.board-title { display: inline-flex; align-items: center; gap: 12px; min-width: 18ch; max-width: 32ch; white-space: normal; line-height: 1.3; }
.board-thumb {
  flex: none; width: 44px; height: 44px; border-radius: var(--radius); overflow: hidden;
  background: var(--grey-100); border: 1px solid var(--line);
}
.board-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.board-logo { height: 28px; width: auto; max-width: 84px; margin-right: 12px; padding: 3px; vertical-align: middle; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.board-tabs a.board-action {
  min-height: 44px; margin: 0 0 0 8px; padding: 0 20px;
  font-family: var(--font-title); font-size: 16px; font-weight: 900; color: #fff; text-decoration: none;
  background: var(--action); border: 1px solid var(--action); border-radius: var(--radius);
  display: inline-flex; align-items: center;
}
.board-tabs a.board-action:hover { background: var(--action-hover); border-color: var(--action-hover); color: #fff; }

.crumb { margin: 0 0 8px; font-size: 14px; }
.aside-title { margin-top: 0; }
.shell-content > .card.card-narrow { max-width: 760px; }
.card > form.listing-form { max-width: none; }
.listing-form fieldset { min-width: 0; } /* fieldsets default to min-content; let the variant table scroll instead */
.prose { white-space: pre-line; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.flag-block { margin: 16px 0 8px; }
.flag-block .hint { margin-top: 0; }
.card > :not(.counter-section) + .counter-section { margin-top: 24px; } /* first ledger section after the title or flags */
.flag-list { list-style: none; padding: 0; margin: 8px 0; display: grid; grid-gap: 8px; gap: 8px; }
.flag-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.flag-list .hint { margin: 0; }
.problem-list { margin: 8px 0; padding-left: 20px; }
.lang-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-gap: 0 24px; gap: 0 24px; }
.translations label:not(:has(input[type="checkbox"])) { display: block; margin: 16px 0 6px; font-weight: 700; font-size: 14px; color: var(--grey-800); }

.table-scroll { position: relative; overflow-x: auto; } /* keeps visually-hidden heads inside the scroller */
th.num, td.num { text-align: right; }
.variant-table th { padding-left: 0; }
.variant-table td { padding: 6px 8px 6px 0; vertical-align: top; border-bottom: 0; }
.variant-table td:nth-child(1) { min-width: 14ch; }
.variant-table td:nth-child(2) { min-width: 14ch; }
.variant-table td:nth-child(3) { min-width: 11ch; }
.variant-table button.icon-button { margin-top: 0; padding: 0 14px; }
.table-scroll + button, .table-scroll + .problem-list + button { margin-top: 12px; }

.image-grid { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); grid-gap: 12px; gap: 12px; }
.image-grid li { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; background: var(--grey-50); }
.image-grid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.image-grid form { margin: 0; }
.image-grid button.image-remove { width: 100%; margin: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.image-tag {
  position: absolute; top: 6px; left: 6px; padding: 0 8px; border-radius: 999px;
  font-size: 12px; font-weight: 700; line-height: 20px;
  background: var(--blue-50); color: var(--blue-800);
}
.image-upload { border-top: 1px solid var(--line); padding-top: 4px; }
.image-preview { display: block; max-width: 160px; max-height: 160px; margin-top: 12px; border: 1px solid var(--line); border-radius: var(--radius); object-fit: contain; background: var(--grey-50); }
.channel-list { list-style: none; padding: 0; margin: 0 0 12px; }
.channel-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.logo-frame { display: grid; place-items: center; height: 128px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--grey-50); }
.logo-frame img { max-width: 90%; max-height: 100px; object-fit: contain; }

/* ---------- Stock: the table with a count and a save per row ---------- */
.board-tabs .stock-summary { margin: 0; padding: 0 4px; font-size: 14px; font-weight: 700; }
.board-summary { margin: 0; padding: 12px 20px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--grey-700); }
.board-summary[data-due] { color: #9a3412; }
.board-hint { margin: 0; padding: 14px 20px 6px; max-width: 76ch; font-size: 14px; color: var(--grey-700); }
.stock-empty p { max-width: 62ch; }
.stock-empty .button { margin-top: 8px; }
.board-stock .board-table :is(th, td) { padding-left: 12px; padding-right: 12px; }
.board-stock .board-table :is(th, td):first-child { padding-left: 20px; }
.board-stock .board-table :is(th, td):last-child { padding-right: 20px; }
.board-stock :is(td.stock-listing, th:first-child) { white-space: normal; }
.stock-variant { display: block; margin-top: 2px; font-size: 14px; }
.stock-listing a { display: inline-block; min-width: 16ch; max-width: 26ch; font-size: 16px; font-weight: 700; line-height: 1.3; }
.board-stock .stock-listing a:hover { text-decoration: underline; text-underline-offset: 3px; }
.board-stock tbody tr[data-low="low"] { background: #fff7ed; }
.board-stock tbody tr[data-low="out"] { background: #fef2f2; }
.board-table input { width: 9ch; min-height: 44px; padding: 8px 10px; text-align: right; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.board-table button { margin-top: 0; min-height: 44px; }
.stock-save button { width: 108px; padding: 0 12px; } /* fits "Saving…", so the column never changes width mid-save */
.board-table input[type="number"] { -webkit-appearance: textfield; appearance: textfield; -moz-appearance: textfield; }
.board-table input[type="number"]::-webkit-inner-spin-button, .board-table input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stock-save form { margin: 0; }
.stock-msg { margin: 6px 0 0; max-width: 26ch; white-space: normal; font-size: 13px; font-weight: 700; color: var(--success); }
.stock-msg[data-tone="error"] { color: var(--error); }
.stock-figure { font-weight: 700; font-size: 1.05rem; color: var(--heading); }
.stock-available .stock-mark { display: flex; width: max-content; margin: 4px 0 0 auto; }
.stock-mark { margin-left: 10px; vertical-align: 1px; }
/* A ledger in a narrow aside: the term sits above its value */
.summary-stacked dl > div { grid-template-columns: 1fr; }
.split > aside > .counter-section { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Orders: the table of orders to ship, and the card where one ships ---------- */
.board-orders td.order-lines { white-space: normal; min-width: 22ch; max-width: 40ch; line-height: 1.4; }
.order-lines span { display: block; }
.order-lines span + span { margin-top: 2px; }
.order-city { display: block; font-size: 14px; color: var(--grey-600); }
.board-orders tbody tr[data-status="canceled"] :is(.board-name, .order-lines) { color: var(--grey-600); text-decoration: line-through; }
.board-table th.num, .board-table td.num { text-align: right; }
.order-items { margin-bottom: 0; }
.stock-table { margin-bottom: 8px; }
:is(.order-items, .stock-table) :is(th, td):first-child { padding-left: 0; }
:is(.order-items, .stock-table) :is(th, td):last-child { padding-right: 0; }
:is(.order-items, .stock-table) th.num { text-align: right; }
.order-items tfoot td { border-bottom: 0; padding-top: 8px; padding-bottom: 0; color: var(--grey-700); font-size: 14px; }
.order-items tfoot tr:first-child td { padding-top: 14px; border-top: 1px solid var(--line); }
.order-item { display: inline-flex; align-items: center; gap: 12px; }
.order-thumb { flex: none; width: 44px; height: 44px; border-radius: var(--radius); overflow: hidden; background: var(--grey-100); }
.order-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.order-variant { display: block; margin: 0; }
/* Promotions: a store's own discounts; an ended one is dimmed */
.board-promotions tbody tr[data-status="ended"] .board-name { color: var(--grey-600); }
.order-tracking { font-weight: 700; letter-spacing: 0.02em; }

/* Payouts: the balance, statements and the finance queue */
.payout-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); grid-gap: 16px 32px; gap: 16px 32px; margin: 16px 0 8px; }
.payout-figures > div { padding-top: 12px; border-top: 1px solid var(--line); }
.payout-figures dt { font-size: 14px; font-weight: 700; color: var(--grey-700); }
.payout-figures dd { margin: 4px 0 0; font-family: var(--font-title); font-weight: 900; font-size: 1.875rem; line-height: 1.25; color: var(--heading); font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.payout-figures dd.hint { font-family: var(--font-ui); font-weight: 400; font-size: 14px; line-height: 1.45; color: var(--grey-700); max-width: 40ch; }
.payout-action { margin: 8px 0 16px; }
.payout-action button { margin-top: 12px; }
.payout-open { margin-top: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--grey-50); }
.payout-open p { margin: 0; }
.payout-open p + p { margin-top: 6px; }
.payout-open a { font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.payout-board { margin-top: 24px; }
.payout-board td.payout-item { white-space: normal; min-width: 18ch; max-width: 34ch; line-height: 1.4; }
.payout-board td.payout-note { white-space: normal; min-width: 14ch; max-width: 30ch; }
.board-table tr:is([data-kind="return"], [data-kind="fine"]) td.num:not(.board-muted) { color: #b91c1c; }
.payout-headline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 8px 0 0; }
.payout-headline strong { font-family: var(--font-title); font-weight: 900; font-size: 1.5rem; color: var(--heading); font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.split > aside > .counter-section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.payout-nothing { margin: 12px 0 0; }
.payout-item-phone { display: none; }
.board-payout :is(th, td):is(:nth-child(3), :nth-child(4)) { text-align: right; }
table.payout-file { table-layout: fixed; }
table.payout-file th { width: 16ch; padding-left: 0; }
table.payout-file td { overflow-wrap: anywhere; }
.payout-reject fieldset label { display: block; margin: 16px 0 6px; font-weight: 700; font-size: 14px; color: var(--grey-800); }
.payout-totals .payout-net dt { font-weight: 700; color: var(--heading); }
.payout-totals .payout-net dd { font-weight: 700; font-size: 1.25rem; color: var(--heading); }
.payout-totals dd .order-city { margin-top: 2px; }
.payout-inert { margin: 8px 0 0; padding: 16px; border: 1px dashed var(--grey-300); border-radius: var(--radius-card); color: var(--grey-600); }
.payout-file th { white-space: nowrap; }
.payout-raw { margin-top: 16px; }
.payout-raw summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--grey-800); }
.payout-raw pre { margin: 8px 0 0; padding: 12px 14px; overflow-x: auto; background: var(--grey-50); border: 1px solid var(--line); border-radius: var(--radius); font-size: 13px; line-height: 1.5; color: var(--ink); }
.payout-reject fieldset { margin: 24px 0 0; }
.payout-reject > button { margin-top: 12px; }
.payout-history { margin-bottom: 8px; }
.decision-stamp[data-tone="info"] { background: #dbeafe; color: #1d4ed8; }
.decision-stamp[data-tone="go"] { background: #dcfce7; color: var(--success); }
.decision-stamp[data-tone="stop"] { background: #fee2e2; color: #b91c1c; }
.payout-settle { margin-top: 24px; }
.payout-settle form > button { margin-top: 0; }
.settle-result .notice { margin: 16px 0 8px; }
.settle-result .doc-list li { flex-wrap: wrap; }

/* Returns: the queue, the shopper's words, and the in-place refund confirmation */
.board-returns td.order-lines { white-space: normal; min-width: 18ch; max-width: 32ch; line-height: 1.4; }
td.return-reason-cell { white-space: normal; min-width: 20ch; max-width: 36ch; line-height: 1.45; color: var(--body); }
/* Long reasons show three lines in the queue; the whole text is on the return (clamped by line, never cut mid-word or mid-syllable) */
.return-reason { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.return-quote { margin: 0; padding: 12px 16px; background: var(--grey-50); border: 1px solid var(--line); border-radius: var(--radius-card); color: var(--ink); max-width: 65ch; overflow-wrap: break-word; }
.confirm-panel { margin-top: 20px; padding: 16px 20px 20px; border: 1px solid var(--warn-line); border-radius: var(--radius-card); background: var(--warn-bg); }
.confirm-panel .confirm-title { margin: 0; font-family: var(--font-title); font-weight: 900; font-size: 1.1rem; color: var(--heading); }
.confirm-panel .hint { color: var(--warn-ink); }
.confirm-panel .actions { margin-top: 16px; }
.choice-list label { align-items: flex-start; margin: 14px 0; }
.choice-list label input { margin-top: 3px; }
.choice-list label .hint { display: block; margin: 2px 0 0; }
/* Registration category picker: a department row, then its sub-categories as tickable pills */
.category-picker .hint { margin: 0 0 4px; }
.category-picker .department { padding: 14px 0; border-top: 1px solid var(--line); }
.category-picker .department:first-of-type { border-top: 0; }
.category-picker .department-all { margin: 0; font-size: 15px; color: var(--heading); }
.category-picker p.department-all { font-weight: 700; }
.category-picker .department-all strong { font-weight: 700; }
.category-picker .picks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.category-picker label.pick {
  gap: 8px; margin: 0; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--grey-300); border-radius: 999px; background: #fff; font-size: 15px; cursor: pointer;
  transition: background-color 150ms var(--ease-out), border-color 150ms var(--ease-out);
}
.category-picker label.pick:hover { border-color: var(--blue-800); background: var(--blue-50); }
.category-picker label.pick:has(input:checked) { border-color: var(--action); background: var(--blue-50); color: var(--blue-800); }
.category-picker .department-all input:focus-visible { outline: 3px solid var(--blue-800); outline-offset: 2px; }
.category-picker label.pick:has(input:focus-visible) { outline: 3px solid var(--blue-800); outline-offset: 2px; }
.category-picker label.pick:has(input:disabled) { cursor: default; border-color: var(--blue-100); color: var(--grey-700); }
.category-picker .flag { font-size: 12px; line-height: 18px; padding: 0 8px; }
.category-picker .error { margin: 8px 0 0; }
.category-picker .picked { display: grid; grid-template-columns: 160px 1fr; grid-gap: 12px; gap: 12px; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); font-size: 15px; }
.category-picker .picked dt { color: var(--grey-700); font-size: 14px; }
.category-picker .picked dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 640px) { .category-picker .picked { grid-template-columns: 1fr; gap: 4px; } }
.return-aside h3 { margin-top: 0; }
.return-aside form { max-width: none; }

/* ---------- Narrow screens ---------- */
/* ---------- Ship-by SLA: the deadline over its chip, at-risk rows washed, the store's ladder ---------- */
.ship-by { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.ship-by time { color: var(--grey-700); font-size: 14px; }
.ship-by[data-counted="no"] time { color: var(--grey-600); }
/* Due soon and late are the only open rows that need someone now, so they take the stock washes */
.board-table tbody tr[data-sla="due_soon"] { background: #fff7ed; }
.board-table tbody tr[data-sla="late"] { background: #fef2f2; }
.ship-deadline { margin: 0 0 8px; color: var(--body); }
.ship-deadline[data-sla="late"] { color: #b91c1c; }
.ship-deadline[data-sla="due_soon"] { color: #9a3412; }
.suspended-banner { margin: 0 0 24px; padding: 14px 16px; border-radius: var(--radius-card); background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-ink); }
.suspended-banner p { margin: 0; max-width: 90ch; }
.suspended-banner p + p { margin-top: 4px; }
.sla-head h2 { margin: 0; }
.sla-count { font-weight: 700; color: var(--heading); }
.sla-count .hint { margin: 0; font-weight: 400; }
.sla-strikes { list-style: none; padding: 0; margin: 0; }
.sla-strikes li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sla-strikes li:last-child { border-bottom: 0; }
.sla-strikes a { font-weight: 700; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.sla-strikes .hint { margin: 0; }
.board-full + .board-full { margin-top: 24px; }
.board-tabs .board-head-title .tab-count { display: inline-block; vertical-align: 4px; margin-left: 6px; font-family: var(--font-ui); }
.board-table td.sla-late { color: #b91c1c; font-weight: 700; }
.board-table td.sla-act { text-align: right; }
.sla-act button { position: relative; z-index: 1; } /* above the row link that covers the row */
.sla-presses { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.sla-block .sla-presses { justify-content: flex-start; }
.sla-block .sla-presses button { margin-top: 0; }
.board-table tbody tr.sla-panel-row { background: var(--grey-50); }
.board-table tr.sla-panel-row td { white-space: normal; border-top: 0; padding-top: 4px; }
.sla-form { max-width: 560px; }
.sla-form > p:first-of-type { margin-bottom: 4px; }
.sla-form .actions { margin-top: 16px; }
.sla-block { margin-top: 12px; }
.sla-done { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sla-done .notice { margin: 0; }
.sla-done button { margin-top: 0; }
.sla-block > button { margin-top: 0; }
.history .stamp[data-action="sla_warning"] { color: #9a3412; }
.history .stamp:is([data-action="suspended"], [data-action="sla_review"]) { color: #b91c1c; }
.history .stamp[data-action="reinstated"] { color: var(--success); }

/* Order accept step: the press on the row and on the order, fines beside each offence */
.order-state { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.accept-compact { margin: 8px 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.accept-compact button { position: relative; z-index: 1; padding: 0 16px; } /* above the row link that covers the row */
.accept-compact .error { margin: 0; max-width: 24ch; white-space: normal; }
.accept-form .notice { display: inline-block; margin-top: 8px; }
.accept-step { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.accept-step form > button { margin-top: 4px; }
.accept-done { margin: 0 0 16px; }
.sla-fine { margin-left: auto; font-weight: 700; color: var(--heading); font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.payout-principal { margin: 16px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--grey-50); }
.payout-principal p { margin: 0; max-width: 90ch; }
.payout-principal p + p { margin-top: 6px; }
.agreement-switch { margin-top: 16px; }
.model-history { margin: 12px 0 0; }
.refund-reason { max-width: 36ch; white-space: normal; }
.resolve-issue { margin: 0; display: inline-flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.resolve-issue .error { margin: 0; max-width: 28ch; white-space: normal; text-align: right; }
.agreement-done { margin: 0 0 12px; }
.agreement-switch > button { margin-top: 0; }

/* KP landing: the queues waiting on this staff member, each count a way in */
.waiting { margin: 0 0 24px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-card); background: #fff; }
.waiting h2 { margin: 0 0 12px; }
.waiting ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.waiting a {
  display: inline-flex; align-items: baseline; gap: 10px; min-height: 48px; padding: 8px 16px;
  border: 1px solid var(--line); border-radius: var(--radius-card); text-decoration: none;
  color: var(--heading); font-weight: 700; transition: background-color 150ms var(--ease-out), border-color 150ms var(--ease-out);
}
.waiting a:hover { background: var(--blue-50); border-color: var(--blue-300); color: var(--blue-800); }
.waiting-count { font-family: var(--font-title); font-weight: 900; font-size: 1.5rem; line-height: 1.2; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.waiting a[data-empty] { color: var(--grey-600); font-weight: 400; }
.waiting a[data-urgent] .waiting-count { color: #b91c1c; }

@media (max-width: 860px) {
  .topstrip { min-height: 40px; font-size: 14px; }
  .topbar-row { padding: 12px 16px 6px; gap: 12px; }
  .topbar-nav { padding: 0 8px 8px; }
  .brand { gap: 10px; }
  .brand img { height: 24px; }
  .brand-product { padding-left: 10px; font-size: 14px; }
  .account { gap: 8px; }
  .account-meta { display: none; }
  .account-logout { padding-left: 0; border-left: 0; }
  .account-text strong { max-width: 11ch; font-size: 14px; }
  .account-logo { height: 28px; max-width: 48px; }
  button.header-link { padding: 0 8px; font-size: 14px; white-space: nowrap; }
  .brand-product { white-space: nowrap; }
  /* The nav row scrolls sideways with a fade, like a tab strip */
  .nav-row ul { flex-wrap: nowrap; overflow-x: auto; padding: 4px 32px 4px 4px; scrollbar-width: none; }
  @supports (animation-timeline: scroll()) {
    /* The fade shows only while more links sit to the right; at the end of the row the last link is fully clear */
    .nav-row ul { animation: nav-fade linear both; animation-timeline: scroll(self inline); }
    @keyframes nav-fade { from { -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); } to { -webkit-mask-image: none; mask-image: none; } }
  }
  .nav-link { font-size: 15px; }
  .page { padding: 24px 16px 48px; }
  .shell-content { padding: 20px 16px 48px; }
  .card { padding: 24px 20px; }
  .split, .auth { grid-template-columns: 1fr; }
  .order-split > aside { order: -1; } /* the order's next step (accept, ship) before its item list */
  .auth-board { padding: 32px 24px; }
  .auth-board h1 { font-size: 1.75rem; }
  .auth .card { padding: 32px 24px; }
  .summary dl > div { grid-template-columns: 1fr; }
  .summary dd.error { grid-column: 1; }
  .stepper { grid-template-columns: repeat(5, minmax(64px, 1fr)); overflow-x: auto; }
  .history li { grid-template-columns: 1fr; }
  .lang-grid { grid-template-columns: 1fr; }
  .payout-figures { grid-template-columns: 1fr; gap: 12px; }
  .payout-figures dd { font-size: 1.5rem; }
  .board-tabs { padding: 14px 16px; }
  .board-tabs .board-head-title { width: 100%; font-size: 1.3rem; }
  .waiting ul { flex-direction: column; }
  .waiting a { width: 100%; }
  h1 { font-size: 1.5rem; }
}
/* Phones: each table keeps the columns a glance needs and wraps instead of scrolling */
@media (max-width: 640px) {
  .brand-product { display: none; } /* the strip already names the Seller Portal */
  .board-table td, .board-table th { padding: 12px; white-space: normal; }
  .board-table :is(td, th):first-child { padding-left: 16px; }
  .board-table :is(td, th):last-child { padding-right: 16px; }
  .board-promotions .stock-save button { width: auto; padding: 0 14px; } /* Pause or Resume sizes to its word so the name keeps its room */
  .board-me :is(th, td):is(:nth-child(2), :nth-child(4)),
  .board-store :is(th, td):is(:nth-child(2), :nth-child(4), :nth-child(5)),
  .board-queue :is(th, td):is(:nth-child(2), :nth-child(4), :nth-child(6)),
  .board-listings :is(th, td):is(:nth-child(3), :nth-child(4), :nth-child(5), :nth-child(6)),
  .board-reviews :is(th, td):is(:nth-child(2), :nth-child(3), :nth-child(4), :nth-child(5)),
  .board-listing :is(th, td):is(:nth-child(3), :nth-child(4)),
  .board-shipping :is(th, td):is(:nth-child(2), :nth-child(4)),
  .board-orders :is(th, td):is(:nth-child(2), :nth-child(4), :nth-child(5), :nth-child(6)),
  .board-order :is(th, td):is(:nth-child(2), :nth-child(4), :nth-child(5), :nth-child(7)),
  .board-risk :is(th, td):is(:nth-child(4), :nth-child(5)),
  .board-sla tr:not(.sla-panel-row) > :is(th, td):is(:nth-child(2), :nth-child(3), :nth-child(4), :nth-child(6), :nth-child(7), :nth-child(8)),
  .board-promotions :is(th, td):is(:nth-child(3), :nth-child(4), :nth-child(6)),
  .board-statement :is(th, td):is(:nth-child(2), :nth-child(3), :nth-child(4), :nth-child(5), :nth-child(6), :nth-child(8)),
  .board-payouts :is(th, td):not(:nth-child(1), :nth-child(2), .payout-keep),
  .board-queue-payouts :is(th, td):is(:nth-child(4), :nth-child(5), :nth-child(6)),
  .board-refunds :is(th, td):is(:nth-child(3), :nth-child(5)),
  .board-payout :is(th, td):is(:nth-child(4), :nth-child(5), :nth-child(6)),
  .board-returns :is(th, td):is(:nth-child(2), :nth-child(4), :nth-child(6)),
  .board-return :is(th, td):is(:nth-child(2), :nth-child(3), :nth-child(6)) { display: none; }
  .board-title { min-width: 0; }
  .board-table td.num { white-space: nowrap; } /* a signed amount never splits from its minus */
  .board-sla .sla-presses { flex-direction: column; align-items: stretch; }
  :is(.board-sla, .board-refunds) td.sla-act button { padding: 6px 10px; font-size: 15px; line-height: 1.25; }
  :is(.board-sla, .board-refunds) td.sla-act { padding-left: 4px; }
  .board-refunds .refund-reason { display: none; } /* the order page has the reason */
  .board-refunds .board-table :is(th, td) { padding-left: 8px; padding-right: 8px; }
  .board-returns td.order-lines { min-width: 12ch; }
  .payout-item-phone { display: block; font-weight: 400; max-width: 22ch; white-space: normal; }
  /* Variant rows stack as labelled pairs so price and remove stay on screen */
  .variant-table thead { display: none; }
  .variant-table, .variant-table tbody { display: block; }
  .variant-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-gap: 8px 12px; gap: 8px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  table.variant-table td { display: block; padding: 0; min-width: 0 !important; border-bottom: 0; }
  .variant-table td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 4px; font-size: 14px; font-weight: 700; color: var(--grey-800); }
  .variant-table td.variant-remove { align-self: end; }
  .variant-table button.icon-button { width: 100%; }
  .board-thumb { width: 36px; height: 36px; }
  .board-tabs a.board-action { margin-left: 0; }
  /* Stock rows stack as labelled pairs: listing across the top, the two counts side by side, save below */
  .board-stock .board-table thead { display: none; }
  .board-stock .board-table, .board-stock .board-table tbody { display: block; }
  .board-stock .board-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-gap: 12px; gap: 12px; padding: 16px; border-top: 1px solid var(--line); }
  .board-stock .board-table tr:first-child { border-top: 0; }
  .board-stock .board-table td, .board-stock .board-table td:first-child { display: block; padding: 0; border: 0; text-align: left; min-width: 0; }
  .board-stock .board-table td[data-label]::before {
    content: attr(data-label); display: block; margin-bottom: 4px;
    font-size: 13px; font-weight: 700; color: var(--grey-700);
  }
  .board-stock td.stock-listing, .board-stock td.stock-status, .board-stock td.stock-save { grid-column: 1 / -1; }
  /* The two inputs pair up, then the two readings */
  .board-stock td.stock-status { order: 1; }
  .board-stock td.stock-stocked { order: 2; }
  .board-stock td.stock-low-at { order: 3; }
  .board-stock td.stock-reserved { order: 4; }
  .board-stock td.stock-available { order: 5; }
  .board-stock td.stock-save { order: 6; }
  .board-stock .stock-available .stock-mark { display: inline-flex; margin: 0 0 0 10px; }
  .board-stock .stock-listing a { max-width: none; }
  .board-stock .board-table input { width: 100%; text-align: left; }
  .board-stock .stock-save button { width: 100%; }
  .board-stock .stock-msg { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0ms !important; }
}

/* Browser surfaces */
* { scrollbar-width: thin; scrollbar-color: var(--grey-300) transparent; }
.resolve-issue form { margin: 0; }
.resolve-issue form button { margin-top: 0; }
.board-refunds .board-name .chip { display: inline-block; margin-top: 4px; }

/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.21_@babel+core@7.29.7_@opentelemetry+api@1.9.1_react-dom@19.0.5_react@19.0.5__react@19.0.5/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[3].use[1]!../../node_modules/.pnpm/next@15.5.21_@babel+core@7.29.7_@opentelemetry+api@1.9.1_react-dom@19.0.5_react@19.0.5__react@19.0.5/node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[3].use[2]!../../node_modules/.pnpm/next@15.5.21_@babel+core@7.29.7_@opentelemetry+api@1.9.1_react-dom@19.0.5_react@19.0.5__react@19.0.5/node_modules/next/font/local/target.css?{"path":"src/app/layout.tsx","import":"","arguments":[{"src":[{"path":"./fonts/kingpower-headline-bold.woff2","weight":"700"},{"path":"./fonts/kingpower-headline-black.woff2","weight":"900"}],"variable":"--font-headline","display":"swap"}],"variableName":"headline"} ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@font-face {
font-family: 'headline';
src: url(/_next/static/media/f59fa4518f4aefeb-s.p.woff2) format('woff2');
font-display: swap;
font-weight: 700;
}

@font-face {
font-family: 'headline';
src: url(/_next/static/media/1a5009026549a803-s.p.woff2) format('woff2');
font-display: swap;
font-weight: 900;
}@font-face {font-family: 'headline Fallback';src: local("Arial");ascent-override: 119.97%;descent-override: 65.68%;line-gap-override: 0.00%;size-adjust: 114.20%
}.__className_bfb2ef {font-family: 'headline', 'headline Fallback'
}.__variable_bfb2ef {--font-headline: 'headline', 'headline Fallback'
}

/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.21_@babel+core@7.29.7_@opentelemetry+api@1.9.1_react-dom@19.0.5_react@19.0.5__react@19.0.5/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[3].use[1]!../../node_modules/.pnpm/next@15.5.21_@babel+core@7.29.7_@opentelemetry+api@1.9.1_react-dom@19.0.5_react@19.0.5__react@19.0.5/node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[3].use[2]!../../node_modules/.pnpm/next@15.5.21_@babel+core@7.29.7_@opentelemetry+api@1.9.1_react-dom@19.0.5_react@19.0.5__react@19.0.5/node_modules/next/font/local/target.css?{"path":"src/app/layout.tsx","import":"","arguments":[{"src":[{"path":"./fonts/kingpower-text-regular.woff2","weight":"400"},{"path":"./fonts/kingpower-text-bold.woff2","weight":"700"}],"variable":"--font-text","display":"swap"}],"variableName":"text"} ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@font-face {
font-family: 'text';
src: url(/_next/static/media/6342315a9d63d4f9-s.p.woff2) format('woff2');
font-display: swap;
font-weight: 400;
}

@font-face {
font-family: 'text';
src: url(/_next/static/media/932593ba3ad480ba-s.p.woff2) format('woff2');
font-display: swap;
font-weight: 700;
}@font-face {font-family: 'text Fallback';src: local("Arial");ascent-override: 107.50%;descent-override: 49.12%;line-gap-override: 0.00%;size-adjust: 107.90%
}.__className_d142f1 {font-family: 'text', 'text Fallback'
}.__variable_d142f1 {--font-text: 'text', 'text Fallback'
}

