/* Store Ops 2.0: the Orders board (desktop) and everything that opens from it.
   Loaded after admin.css and base.css. Source of truth: canvas Main.dc.html.
   Desktop rules are scoped to html[data-device="computer"]; phones keep their
   own layout (a later phone pass owns it). */

/* ------------------------------------------------------------------ */
/* Card pieces that only computers use (hidden everywhere by default). */
/* ------------------------------------------------------------------ */
.admin-order-badge-icon,
.admin-order-badge-short,
.admin-order-action-short {
  display: none;
}

html:not([data-device="computer"]) .admin-order-action-spin {
  display: none;
}

@keyframes so-ord-rise {
  from { opacity: 0; transform: translate3d(0, 14px, 0) scale(0.985); }
}

@keyframes so-ord-pulse-red {
  0%, 100% { border-color: color-mix(in srgb, var(--so-red) 30%, transparent); }
  50% { border-color: var(--so-red); }
}

@keyframes so-ord-pulse-cyan {
  0%, 100% { border-color: color-mix(in srgb, var(--so-cyan) 30%, transparent); }
  50% { border-color: var(--so-cyan); }
}

@keyframes so-ord-worm {
  0%, 100% { transform: scale(0.55); opacity: 0.35; }
  50% { transform: scale(1); opacity: 1; }
}

@keyframes so-ord-drift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-3deg); }
  50% { transform: translate3d(0, -10px, 0) rotate(2deg); }
}

@keyframes so-ord-toast-in {
  from { opacity: 0; transform: translate3d(-50%, 24px, 0); }
  to { opacity: 1; transform: translate3d(-50%, 0, 0); }
}

/* ------------------------------------------------------------------ */
/* Board area: notice, warnings, grid                                  */
/* ------------------------------------------------------------------ */
/* The shell's panel gives the padding; the old board boxes go flat and
   reach the bottom of the panel, so the empty and loading boxes can fill it. */
html[data-device="computer"] .is-store-home .admin-store-home .admin-store-workspace > .admin-layout {
  grid-template-rows: 1fr;
  align-content: stretch;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-fulfillment-panel {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  width: auto;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-fulfillment-panel:hover {
  transform: none;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-board-wrap {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  gap: 12px;
  width: auto;
  height: auto;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: visible;
  scrollbar-gutter: auto;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-queue-notice {
  position: static;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin: 0;
  padding: 6px 14px;
  box-sizing: border-box;
  border: 1px solid var(--so-line2);
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
  color: var(--so-ink);
  animation: so-rise 0.6s var(--so-ease) both;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-queue-notice[hidden] {
  display: none;
}

html[data-device="computer"] .admin-store-home .admin-queue-notice-icon {
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  box-sizing: border-box;
  border: 1.5px solid var(--so-amber);
  border-radius: 50%;
  background: transparent;
  color: var(--so-amber);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

html[data-device="computer"] .admin-store-home .admin-queue-notice > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
  min-width: 0;
}

html[data-device="computer"] .admin-store-home .admin-queue-notice strong {
  flex: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--so-ink);
}

html[data-device="computer"] .admin-store-home .admin-queue-notice div > span {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--so-ink2);
}

html[data-device="computer"] .admin-store-home .admin-status-sync-warning {
  margin: 0;
  padding: 10px 14px;
  border: 1px solid var(--so-amber);
  border-radius: 16px;
  background: transparent;
  color: var(--so-amber);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  animation: so-rise 0.6s var(--so-ease) both;
}

html[data-device="computer"] .admin-store-home .admin-status-sync-warning[hidden] {
  display: none;
}

/* Column-first grid: same size cells, rows added downward. */
html[data-device="computer"] .is-store-home .admin-store-home .admin-order-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--order-columns, 1), minmax(0, 1fr));
  grid-template-rows: repeat(var(--order-rows, 6), 90px);
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-rows: 90px;
  gap: 8px;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  align-items: stretch;
  align-content: start;
}

/* ------------------------------------------------------------------ */
/* Order card                                                          */
/* ------------------------------------------------------------------ */
html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card {
  --oc-delay: 0ms;
  --oc-border: var(--so-line);
  --oc-tear: var(--so-line);
  --oc-strip: transparent;
  --oc-dot: var(--so-ink3);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 23px minmax(0, 1fr) 22px;
  grid-template-areas:
    'top top'
    'deadline action'
    'meta meta';
  column-gap: 6px;
  row-gap: 0;
  align-content: stretch;
  align-self: stretch;
  width: auto;
  min-width: 0;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  padding: 0;
  border: 1px solid var(--oc-border);
  border-radius: 12px;
  background: var(--so-card);
  box-shadow: none;
  color: var(--so-ink);
  outline: none;
  opacity: 1;
  filter: none;
  cursor: pointer;
  animation: none;
  transition:
    transform 0.5s var(--so-ease),
    box-shadow 0.5s var(--so-ease),
    border-color 0.3s,
    opacity 0.4s,
    filter 0.4s;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card[data-source-color] {
  --oc-border: color-mix(in srgb, var(--order-source-accent) 65%, transparent);
  --oc-tear: color-mix(in srgb, var(--order-source-accent) 35%, transparent);
  --oc-strip: color-mix(in srgb, var(--order-source-accent) 14%, transparent);
  --oc-dot: var(--order-source-accent);
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card:hover {
  transform: translateY(-3px);
  border-color: var(--oc-border);
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card:focus-within {
  outline: none;
  border-color: var(--oc-border);
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card:has(.admin-order-preview-trigger:focus-visible) {
  outline: 2px solid var(--so-ink2);
  outline-offset: 2px;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-preview-trigger {
  border-radius: 11px;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-preview-trigger:focus-visible {
  outline: none;
}

/* Status borders, in Main's order of precedence. */
html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card.is-instant {
  --oc-border: color-mix(in srgb, var(--so-red) 60%, transparent);
  color: var(--so-ink);
  animation: so-ord-pulse-red 1.3s ease-in-out 0.6s infinite;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card.is-manual-arrangement {
  --oc-border: color-mix(in srgb, var(--so-cyan) 60%, transparent);
  animation: so-ord-pulse-cyan 1.8s ease-in-out 0.6s infinite;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card.is-cancellation-requested {
  --oc-border: var(--so-orange);
  background: var(--so-card);
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card.is-arrangement-failed {
  --oc-border: color-mix(in srgb, var(--so-amber) 70%, transparent);
  box-shadow: none;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card.is-weekend-dependent {
  --oc-border: var(--so-line2);
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card.is-delayed {
  background: var(--so-card);
  box-shadow: none;
  animation: none;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card.is-started,
html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card.is-started:not(.is-critical) {
  border-color: var(--oc-border);
  box-shadow: none;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card[data-claim-owner='self'] {
  box-shadow: inset 0 0 0 1px var(--so-line2);
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card.is-locked,
html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card.is-instant.is-locked {
  opacity: 0.5;
  filter: grayscale(0.7);
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card.is-locked:hover {
  transform: none;
}

/* Entrance: once, when the board first fills, staggered down the columns. */
html[data-device="computer"] .is-store-home .admin-store-home .admin-order-board:not([data-board-entered]) .admin-order-card {
  animation: so-ord-rise 0.6s var(--so-ease) var(--oc-delay) backwards;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-board:not([data-board-entered]) .admin-order-card.is-instant {
  animation:
    so-ord-rise 0.6s var(--so-ease) var(--oc-delay) backwards,
    so-ord-pulse-red 1.3s ease-in-out 0.6s infinite;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-board:not([data-board-entered]) .admin-order-card.is-manual-arrangement {
  animation:
    so-ord-rise 0.6s var(--so-ease) var(--oc-delay) backwards,
    so-ord-pulse-cyan 1.8s ease-in-out 0.6s infinite;
}

html[data-device="computer"] .admin-order-card:nth-child(2) { --oc-delay: 40ms; }
html[data-device="computer"] .admin-order-card:nth-child(3) { --oc-delay: 80ms; }
html[data-device="computer"] .admin-order-card:nth-child(4) { --oc-delay: 120ms; }
html[data-device="computer"] .admin-order-card:nth-child(5) { --oc-delay: 160ms; }
html[data-device="computer"] .admin-order-card:nth-child(6) { --oc-delay: 200ms; }
html[data-device="computer"] .admin-order-card:nth-child(7) { --oc-delay: 240ms; }
html[data-device="computer"] .admin-order-card:nth-child(8) { --oc-delay: 280ms; }
html[data-device="computer"] .admin-order-card:nth-child(9) { --oc-delay: 320ms; }
html[data-device="computer"] .admin-order-card:nth-child(10) { --oc-delay: 360ms; }
html[data-device="computer"] .admin-order-card:nth-child(11) { --oc-delay: 400ms; }
html[data-device="computer"] .admin-order-card:nth-child(12) { --oc-delay: 440ms; }
html[data-device="computer"] .admin-order-card:nth-child(13) { --oc-delay: 480ms; }
html[data-device="computer"] .admin-order-card:nth-child(14) { --oc-delay: 520ms; }
html[data-device="computer"] .admin-order-card:nth-child(15) { --oc-delay: 560ms; }
html[data-device="computer"] .admin-order-card:nth-child(16) { --oc-delay: 600ms; }
html[data-device="computer"] .admin-order-card:nth-child(17) { --oc-delay: 640ms; }
html[data-device="computer"] .admin-order-card:nth-child(18) { --oc-delay: 680ms; }
html[data-device="computer"] .admin-order-card:nth-child(n+19) { --oc-delay: 720ms; }

/* Top line: Geist Mono ID (never shrinks) and the badges. */
html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card-top {
  grid-area: top;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  min-width: 0;
  height: 23px;
  box-sizing: border-box;
  margin: 0;
  padding: 8px 9px 0 10px;
  overflow: hidden;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-id {
  flex: none;
  min-width: auto;
  margin-right: auto;
  overflow: visible;
  color: var(--so-ink2);
  font-family: var(--so-mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 15px;
  letter-spacing: 0.03em;
  text-overflow: clip;
  white-space: nowrap;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-badge {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: auto;
  min-width: 0;
  height: 15px;
  min-height: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 0 4px;
  border: 1px solid var(--so-ink);
  border-radius: 4px;
  background: var(--so-ink);
  box-shadow: none;
  color: var(--so-panel);
  font-family: var(--so-font);
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-instant-badge {
  border-color: var(--so-red);
  background: transparent;
  color: var(--so-red);
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-arrangement-failed-badge {
  border-color: var(--so-amber);
  background: transparent;
  color: var(--so-amber);
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-instant-badge svg {
  display: block;
  flex: none;
  width: 11px;
  height: 9px;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-instant-badge-label {
  transform: none;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-badge-icon {
  flex: none;
  width: 9px;
  height: 9px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Narrow card, step 1: short badge words; Instant shows its truck only. */
html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card.is-fit-badges .admin-order-badge-short {
  display: inline;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card.is-fit-badges .admin-order-badge:has(.admin-order-badge-short) .admin-order-badge-label,
html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card.is-fit-badges .admin-instant-badge-label {
  display: none;
}

/* Step 2: Drop-off becomes a small icon chip; step 3: every badge does
   (the title and aria-label keep the words). */
html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card.is-fit-badges-icon .admin-dropoff-badge,
html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card.is-fit-badges-all .admin-order-badge {
  width: 17px;
  padding: 0;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card:is(.is-fit-badges-icon, .is-fit-badges-all) .admin-instant-badge {
  width: 19px;
  padding: 0;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card.is-fit-badges-icon .admin-dropoff-badge .admin-order-badge-label,
html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card.is-fit-badges-all .admin-order-badge :is(.admin-order-badge-label, .admin-order-badge-short) {
  display: none;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card.is-fit-badges-icon .admin-dropoff-badge .admin-order-badge-icon,
html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card.is-fit-badges-all .admin-order-badge-icon {
  display: block;
}

/* Middle: deadline label and time, action button. */
html[data-device="computer"] .is-store-home .admin-store-home .admin-order-deadline {
  grid-area: deadline;
  align-self: start;
  justify-self: stretch;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 3px 0 0;
  padding: 0 0 0 10px;
  border-radius: 0;
  background: transparent;
  color: var(--so-ink);
  font-family: var(--so-font);
  font-size: 16px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-deadline > span {
  display: block;
  height: 10px;
  margin: 0;
  color: var(--so-ink3);
  font-family: var(--so-font);
  font-size: 8px;
  font-weight: 600;
  line-height: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-deadline:not(:has(> span)) {
  padding-top: 10px;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-deadline > small {
  display: none;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card.is-deadline-urgent .admin-order-deadline,
html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card.is-deadline-urgent .admin-order-deadline > span {
  background: transparent;
  color: var(--so-amber);
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card.is-delayed .admin-order-deadline {
  color: var(--so-ink3);
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card .admin-start-order-btn {
  grid-area: action;
  align-self: start;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: auto;
  min-width: 0;
  max-width: none;
  height: 25px;
  min-height: 25px;
  box-sizing: border-box;
  margin: 4.7px 9px 0 0;
  padding: 0 9px;
  border: 1px solid var(--so-ink);
  border-radius: 999px;
  background: var(--so-ink);
  box-shadow: none;
  color: var(--so-panel);
  font-family: var(--so-font);
  font-size: 10px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  opacity: 1;
  cursor: pointer;
  transition:
    transform 0.35s var(--so-ease),
    background-color 0.25s,
    border-color 0.25s,
    color 0.25s,
    box-shadow 0.35s;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card .admin-start-order-btn:not(:disabled):hover {
  transform: translateY(-1px);
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card .admin-start-order-btn:not(:disabled):active {
  transform: scale(0.97);
  transition-duration: 0.08s;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card .admin-start-order-btn.is-next {
  box-shadow: var(--so-sh1);
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card .admin-start-order-btn.is-resume {
  border-color: var(--so-line2);
  background: transparent;
  color: var(--so-ink);
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card .admin-start-order-btn.is-reclaim,
html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card .admin-start-order-btn.is-arrangement-retry:not(:disabled) {
  border-color: var(--so-amber);
  background: transparent;
  color: var(--so-amber);
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card .admin-start-order-btn.is-instant-action:not(:disabled) {
  border-color: var(--so-red);
  background: transparent;
  color: var(--so-red);
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card .admin-start-order-btn.is-shopee-action:not(:disabled) {
  border-color: var(--so-cyan);
  background: transparent;
  color: var(--so-cyan);
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card .admin-start-order-btn:disabled {
  border-color: var(--so-line);
  background: transparent;
  box-shadow: none;
  color: var(--so-ink3);
  opacity: 1;
  cursor: not-allowed;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card .admin-start-order-btn.is-cancellation:disabled {
  border-color: var(--so-orange);
  background: transparent;
  color: var(--so-orange);
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card .admin-start-order-btn svg {
  flex: none;
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card .admin-start-order-btn .admin-order-action-spin {
  stroke-width: 2.8;
  animation: so-spin 0.9s linear infinite;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card .admin-start-order-btn span {
  overflow: visible;
  text-overflow: clip;
}

/* Narrow card: the long action labels use their short wording. */
html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card.is-fit-action .admin-start-order-btn:has(.admin-order-action-short) .admin-order-action-label {
  display: none;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card.is-fit-action .admin-order-action-short {
  display: inline;
}

/* Bottom strip: one faint dashed line, then source and status in Geist Mono. */
html[data-device="computer"] .is-store-home .admin-store-home .admin-order-meta {
  grid-area: meta;
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 6px;
  min-width: 0;
  height: 21px;
  box-sizing: border-box;
  margin: 1px 0 0;
  padding: 0 10px;
  border-radius: 0 0 11px 11px;
  background: var(--oc-strip);
  color: var(--so-ink3);
  font-family: var(--so-mono);
  font-size: 9px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-meta::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 9px;
  right: 9px;
  border-top: 1px dashed var(--oc-tear);
  pointer-events: none;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-meta span {
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-meta .admin-order-source {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 5px;
  color: var(--so-ink2);
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-meta .admin-order-source::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--oc-dot);
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-meta .admin-order-claim {
  flex: 0 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--so-ink3);
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-meta .admin-order-claim span {
  overflow: visible;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-claim.is-cancellation { color: var(--so-orange); }
html[data-device="computer"] .is-store-home .admin-store-home .admin-order-claim.is-stale { color: var(--so-amber); }
html[data-device="computer"] .is-store-home .admin-store-home .admin-order-claim.is-self { color: var(--so-ink); }
html[data-device="computer"] .is-store-home .admin-store-home .admin-order-claim.is-claimed { color: var(--so-ink2); }
html[data-device="computer"] .is-store-home .admin-store-home .admin-order-claim.is-pickup { color: var(--so-cyan); }

/* Narrow card: tighter letters, then the colour dot alone, then no weekday. */
html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card.is-fit-meta .admin-order-meta {
  letter-spacing: 0;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card.is-fit-meta-source .admin-order-meta .admin-order-source {
  gap: 0;
  font-size: 0;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-card.is-fit-meta-day .admin-order-slot-day {
  display: none;
}

/* ------------------------------------------------------------------ */
/* Loading, empty, error, alert                                        */
/* ------------------------------------------------------------------ */
html[data-device="computer"] .is-store-home .admin-store-home .admin-order-board:has(> .admin-board-empty:not(.admin-board-alert)) {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-board-empty {
  grid-column: 1 / -1;
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 420px;
  box-sizing: border-box;
  margin: 0;
  padding: 24px;
  border: 1px dashed var(--so-line2);
  border-radius: 24px;
  background: transparent;
  color: var(--so-ink2);
  font-size: 15px;
  font-weight: 400;
  text-align: center;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-board-empty > p {
  margin: 0;
  max-width: 560px;
  color: var(--so-ink2);
  font-size: 15px;
  line-height: 1.45;
  text-wrap: balance;
  animation: so-rise 0.8s var(--so-ease) both;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-board-empty-icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 28px;
  background: var(--so-card);
  box-shadow: var(--so-sh2);
  color: var(--so-ink2);
  animation: so-rise 0.8s var(--so-ease) both, so-ord-drift 6s ease-in-out 0.8s infinite;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-board-empty-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-board-loading {
  gap: 16px;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-board-loading strong {
  color: var(--so-ink2);
  font-size: 15px;
  font-weight: 600;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-loading-worm {
  display: flex;
  gap: 8px;
  min-height: 10px;
  color: var(--so-ink3);
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-loading-worm i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--so-ink3);
  opacity: 1;
  animation: so-ord-worm 1.05s ease-in-out infinite;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-loading-worm i:nth-child(2) { animation-delay: 0.12s; }
html[data-device="computer"] .is-store-home .admin-store-home .admin-loading-worm i:nth-child(3) { animation-delay: 0.24s; }
html[data-device="computer"] .is-store-home .admin-store-home .admin-loading-worm i:nth-child(4) { animation-delay: 0.36s; }
html[data-device="computer"] .is-store-home .admin-store-home .admin-loading-worm i:nth-child(5) { animation-delay: 0.48s; }

html[data-device="computer"] .is-store-home .admin-store-home .admin-board-error {
  color: var(--so-red);
  font-size: 13.5px;
  font-weight: 600;
}

/* A short message after a failed action sits above the cards until the
   board redraws; the cards make room for it. */
html[data-device="computer"] .is-store-home .admin-store-home .admin-order-board:has(> .admin-board-alert) {
  padding-top: 53px;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-board-empty.admin-board-alert {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 6;
  display: block;
  min-height: 0;
  padding: 10px 14px;
  border: 1px solid var(--so-red);
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
  color: var(--so-red);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
  animation: so-rise 0.5s var(--so-ease) both;
}

/* ------------------------------------------------------------------ */
/* Right-click menu                                                    */
/* ------------------------------------------------------------------ */
html .admin-store-home .admin-order-context-menu {
  min-width: 220px;
  padding: 6px;
  border: 1px solid var(--so-line2);
  border-radius: 18px;
  background: var(--so-card);
  box-shadow: var(--so-sh2);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform-origin: top left;
  animation: so-pop 0.28s var(--so-ease) both;
}

html .admin-store-home .admin-order-context-menu[hidden] {
  display: none;
}

html .admin-store-home .admin-order-context-action {
  gap: 12px;
  min-height: 50px;
  padding: 6px 12px;
  border-radius: 12px;
  color: var(--so-ink);
  transition: background-color 0.25s;
}

html .admin-store-home .admin-order-context-action:hover,
html .admin-store-home .admin-order-context-action:focus-visible {
  background: var(--so-card2);
}

html .admin-store-home .admin-order-context-action.is-danger {
  color: var(--so-red);
}

html .admin-store-home .admin-order-context-action.is-danger:hover,
html .admin-store-home .admin-order-context-action.is-danger:focus-visible {
  background: var(--so-card2);
}

html .admin-store-home .admin-order-context-action:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

html .admin-store-home .admin-order-context-action svg {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
}

html .admin-store-home .admin-order-context-action strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
}

html .admin-store-home .admin-order-context-action small {
  color: var(--so-ink3);
  font-size: 11.5px;
  font-weight: 400;
}

/* ------------------------------------------------------------------ */
/* Dialogs: shared frame                                               */
/* ------------------------------------------------------------------ */
html[data-device="computer"] .admin-store-home :is(.admin-fulfillment-modal, .admin-shopee-arrangement-modal, .admin-remove-order-modal, .admin-reprint-modal) {
  padding: 24px;
}

html[data-device="computer"] .admin-store-home :is(.admin-fulfillment-modal, .admin-shopee-arrangement-modal, .admin-remove-order-modal, .admin-reprint-modal) > .admin-modal-backdrop {
  background: var(--so-scrim);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  animation: so-fade 0.4s var(--so-ease) both;
}

html[data-device="computer"] .admin-store-home :is(.admin-fulfillment-card, .admin-shopee-arrangement-card, .admin-remove-order-card, .admin-reprint-card) {
  position: relative;
  box-sizing: border-box;
  max-height: calc(100vh - 48px);
  border: 0;
  background: var(--so-panel);
  box-shadow: var(--so-sh2);
  color: var(--so-ink);
  font-family: var(--so-font);
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: so-rise 0.55s var(--so-ease) both;
}

html[data-device="computer"] .admin-store-home :is(.admin-fulfillment-card, .admin-shopee-arrangement-card, .admin-remove-order-card, .admin-reprint-card) .admin-panel-kicker {
  display: none;
}

html[data-device="computer"] .admin-store-home :is(.admin-fulfillment-card, .admin-shopee-arrangement-card, .admin-remove-order-card, .admin-reprint-card) .admin-modal-head h3 {
  margin: 0;
  color: var(--so-ink);
  font-family: var(--so-font);
  font-size: 22px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

/* Secondary pill (Close, Cancel, Back) and primary pill. */
html[data-device="computer"] .admin-store-home :is(.admin-fulfillment-card, .admin-remove-order-card, .admin-reprint-card, .admin-shopee-arrangement-card) .admin-ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  height: 40px;
  min-height: 0;
  padding: 0 16px;
  border: 1px solid var(--so-line2);
  border-radius: 999px;
  background: var(--so-card);
  box-shadow: none;
  color: var(--so-ink);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.35s var(--so-ease), background-color 0.25s, border-color 0.25s;
}

html[data-device="computer"] .admin-store-home :is(.admin-fulfillment-card, .admin-remove-order-card, .admin-reprint-card, .admin-shopee-arrangement-card) :is(.admin-ghost-btn, .admin-primary-btn):not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: none;
}

html[data-device="computer"] .admin-store-home :is(.admin-fulfillment-card, .admin-remove-order-card, .admin-reprint-card, .admin-shopee-arrangement-card) :is(.admin-ghost-btn, .admin-primary-btn):not(:disabled):active {
  transform: scale(0.97);
  transition-duration: 0.08s;
}

html[data-device="computer"] .admin-store-home :is(.admin-fulfillment-card, .admin-remove-order-card, .admin-reprint-card, .admin-shopee-arrangement-card) .admin-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  min-height: 0;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--so-ink);
  box-shadow: none;
  color: var(--so-panel);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.35s var(--so-ease), opacity 0.25s, background-color 0.25s;
}

html[data-device="computer"] .admin-store-home :is(.admin-fulfillment-card, .admin-remove-order-card, .admin-reprint-card, .admin-shopee-arrangement-card) .admin-primary-btn:disabled {
  border: 0;
  background: var(--so-ink);
  color: var(--so-panel);
  opacity: 0.45;
  cursor: not-allowed;
}

html[data-device="computer"] .admin-store-home :is(.admin-fulfillment-card, .admin-remove-order-card, .admin-reprint-card, .admin-shopee-arrangement-card) .admin-form-error {
  margin: 0;
  color: var(--so-red);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

html[data-device="computer"] .admin-store-home :is(.admin-fulfillment-card, .admin-remove-order-card, .admin-reprint-card, .admin-shopee-arrangement-card) .admin-form-error[hidden] {
  display: none;
}

/* ------------------------------------------------------------------ */
/* Order preview and pick list (one dialog, two modes)                 */
/* ------------------------------------------------------------------ */
html[data-device="computer"] .admin-store-home .admin-fulfillment-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  column-gap: 16px;
  row-gap: 0;
  align-content: start;
  grid-template-rows: none;
  grid-auto-rows: auto;
  width: min(620px, 100%);
  min-height: 0;
  padding: 24px 26px;
  border-radius: 30px;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card > .admin-modal-head {
  display: contents;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card > .admin-modal-head > div {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card > .admin-modal-head h3 {
  font-family: var(--so-mono);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card > .admin-modal-head .admin-ghost-btn {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: start;
  height: 38px;
  padding: 0 15px;
  background: transparent;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card > :is(.admin-order-preview, .admin-quiz-stage):not([hidden]) {
  display: contents;
}

/* Preview header: "source · lines · units", note, deadline at the right. */
html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-hero {
  display: contents;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-hero-icon {
  display: none;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-hero-copy {
  grid-column: 1;
  grid-row: 2;
  display: block;
  min-width: 0;
  margin: 3px 0 0;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-hero-copy > span,
html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-hero-copy > strong {
  display: inline;
  color: var(--so-ink2);
  font-family: var(--so-font);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-hero-copy > strong::before {
  content: ' · ';
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-hero-copy > small {
  display: block;
  margin-top: 10px;
  color: var(--so-ink3);
  font-size: 12.5px;
  line-height: 1.4;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-deadline {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: right;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-deadline span {
  color: var(--so-ink3);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-deadline strong {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--so-ink);
  font-family: var(--so-font);
  font-size: 22px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-deadline.is-deadline-urgent :is(span, strong) {
  background: transparent;
  color: var(--so-amber);
}

/* Facts: two columns of label / value rows on thin lines. */
html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 0;
  margin: 18px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 9px 0;
  border: 0;
  border-top: 1px solid var(--so-line);
  border-radius: 0;
  background: transparent;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-facts span {
  flex: none;
  color: var(--so-ink3);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-facts strong {
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  color: var(--so-ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  text-align: right;
  overflow-wrap: anywhere;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-facts > .admin-preview-arrangement-issue {
  grid-column: 1 / -1;
  border-color: var(--so-line);
  background: transparent;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-facts > .admin-preview-arrangement-issue strong {
  color: var(--so-amber);
}

/* Products to grab. */
html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-products {
  grid-column: 1 / -1;
  display: block;
  min-height: 0;
  margin: 18px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-section-head {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 10px;
  margin: 0 0 6px;
  padding: 0;
  border: 0;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-section-head > div {
  display: block;
  flex: 1;
  min-width: 0;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-section-head span {
  display: none;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-section-head strong {
  color: var(--so-ink);
  font-family: var(--so-font);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-section-head em {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--so-ink3);
  font-family: var(--so-mono);
  font-size: 12.5px;
  font-style: normal;
  font-weight: 400;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-product-list {
  display: block;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: visible;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-product,
html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-product + .admin-preview-product {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 10px 0;
  border: 0;
  border-top: 1px solid var(--so-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-product:hover {
  background: transparent;
  transform: none;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-product-index {
  display: block;
  flex: 0 0 16px;
  width: 16px;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--so-ink3);
  font-family: var(--so-mono);
  font-size: 12px;
  font-weight: 400;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-product > div {
  display: block;
  flex: 1;
  min-width: 0;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-product strong {
  display: block;
  color: var(--so-ink);
  font-family: var(--so-font);
  font-size: 14px;
  font-weight: 600;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-product small {
  color: var(--so-ink3);
  font-family: var(--so-mono);
  font-size: 11.5px;
  font-weight: 400;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-product > em {
  flex: none;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--so-ink);
  font-family: var(--so-mono);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-empty {
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid var(--so-line);
  color: var(--so-ink3);
  font-size: 13px;
}

/* Footer: what Start does, and the button. */
html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-action-bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 0;
  padding: 14px 0 0;
  border: 0;
  border-top: 1px solid var(--so-line);
  border-radius: 0;
  background: transparent;
  position: static;
  box-shadow: none;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-action-bar > div {
  display: block;
  flex: 1;
  min-width: 0;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-action-bar > div strong {
  display: block;
  color: var(--so-ink);
  font-size: 14px;
  font-weight: 600;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-action-bar > div span {
  display: block;
  margin-top: 1px;
  color: var(--so-ink2);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.4;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-start {
  flex: none;
  min-width: 150px;
  width: auto;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-preview-start svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Pick list mode: ID and one line of facts, the products, then Lanjut. */
html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-order-summary {
  grid-column: 1 / 3;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: 4px 14px;
  margin: 5px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-order-summary span,
html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-order-summary .admin-dropoff-summary {
  display: inline;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--so-ink2);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-order-summary strong {
  color: var(--so-ink);
  font-weight: 600;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-order-summary .admin-dropoff-summary,
html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-order-summary .admin-dropoff-summary strong {
  color: var(--so-amber);
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-pick-list {
  grid-column: 1 / -1;
  display: block;
  min-height: 0;
  max-height: none;
  overflow: visible;
  scrollbar-gutter: auto;
  margin: 16px 0 0;
  padding: 0;
  padding-right: 0;
  border: 0;
  background: transparent;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-pick-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 14px 0;
  border: 0;
  border-top: 1px solid var(--so-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: so-rise 0.5s var(--so-ease) backwards;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-pick-item:nth-child(2) { animation-delay: 70ms; }
html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-pick-item:nth-child(3) { animation-delay: 140ms; }
html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-pick-item:nth-child(4) { animation-delay: 210ms; }
html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-pick-item:nth-child(n+5) { animation-delay: 280ms; }

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-pick-item > div {
  display: block;
  flex: 1;
  min-width: 0;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-pick-item strong {
  display: block;
  color: var(--so-ink);
  font-family: var(--so-font);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-pick-item > div > span {
  display: block;
  margin: 0;
  color: var(--so-ink2);
  font-family: var(--so-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-pick-item em {
  flex: none;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--so-ink);
  font-family: var(--so-mono);
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-quiz-stage > .admin-modal-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--so-line);
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-next-btn {
  gap: 10px;
  min-width: 180px;
  height: 50px;
  padding: 0 24px;
  font-size: 15.5px;
  font-weight: 650;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-next-btn::after {
  content: '';
  flex: none;
  width: 17px;
  height: 17px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

html[data-device="computer"] .admin-store-home .admin-fulfillment-card .admin-next-btn:disabled::after {
  display: none;
}

/* ------------------------------------------------------------------ */
/* Arrange shipment (Shopee)                                           */
/* ------------------------------------------------------------------ */
html[data-device="computer"] .admin-store-home .admin-shopee-arrangement-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(620px, 100%);
  padding: 24px;
  border-radius: 32px;
}

html[data-device="computer"] .admin-store-home .admin-shopee-arrangement-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  border: 0;
}

html[data-device="computer"] .admin-store-home .admin-shopee-arrangement-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

html[data-device="computer"] .admin-store-home .admin-shopee-arrangement-hero-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 17px;
  background: var(--so-cyans);
  box-shadow: none;
  color: var(--so-cyan);
}

html[data-device="computer"] .admin-store-home .admin-shopee-arrangement-hero-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-device="computer"] .admin-store-home .admin-shopee-arrangement-heading h3 {
  margin: 0;
}

html[data-device="computer"] .admin-store-home .admin-shopee-arrangement-order {
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 1px 0 0;
  color: var(--so-ink2);
  font-size: 12.5px;
  font-weight: 400;
}

html[data-device="computer"] .admin-store-home .admin-shopee-arrangement-order svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

html[data-device="computer"] .admin-store-home .admin-shopee-arrangement-order strong {
  margin-left: 2px;
  color: var(--so-ink);
  font-family: var(--so-mono);
  font-weight: 600;
}

html[data-device="computer"] .admin-store-home .admin-shopee-close-btn {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--so-line2);
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  color: var(--so-ink);
  cursor: pointer;
  transition: transform 0.35s var(--so-ease), background-color 0.25s;
}

html[data-device="computer"] .admin-store-home .admin-shopee-close-btn:hover {
  transform: translateY(-1px);
  background: transparent;
}

html[data-device="computer"] .admin-store-home .admin-shopee-close-btn svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
}

html[data-device="computer"] .admin-store-home .admin-shopee-arrangement-intro {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 14px;
  border: 0;
  border-radius: 18px;
  background: var(--so-card);
}

html[data-device="computer"] .admin-store-home .admin-shopee-intro-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--so-ink2);
}

html[data-device="computer"] .admin-store-home .admin-shopee-intro-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

html[data-device="computer"] .admin-store-home .admin-shopee-arrangement-intro strong {
  display: block;
  color: var(--so-ink);
  font-size: 14px;
  font-weight: 600;
}

html[data-device="computer"] .admin-store-home .admin-shopee-arrangement-intro small {
  display: block;
  margin-top: 1px;
  color: var(--so-ink2);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.45;
}

html[data-device="computer"] .admin-store-home .admin-shopee-arrangement-options {
  display: block;
  margin: 0;
  padding: 0;
}

html[data-device="computer"] .admin-store-home .admin-shopee-arrangement-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

html[data-device="computer"] .admin-store-home .admin-shopee-arrangement-group > legend {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 6px;
  margin: 0 0 8px;
  padding: 0;
}

html[data-device="computer"] .admin-store-home .admin-shopee-arrangement-group > legend strong {
  color: var(--so-ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

html[data-device="computer"] .admin-store-home .admin-shopee-arrangement-group > legend small {
  margin: 0;
  color: var(--so-ink3);
  font-size: 12px;
  font-weight: 400;
}

html[data-device="computer"] .admin-store-home .admin-shopee-arrangement-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 84px;
  box-sizing: border-box;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--so-line);
  border-radius: 20px;
  background: var(--so-card);
  box-shadow: none;
  color: var(--so-ink);
  cursor: pointer;
  transition: transform 0.4s var(--so-ease), border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}

html[data-device="computer"] .admin-store-home .admin-shopee-arrangement-option:hover {
  transform: translateY(-2px);
  border-color: var(--so-line2);
  background: var(--so-card);
}

html[data-device="computer"] .admin-store-home .admin-shopee-arrangement-option:has(input:checked) {
  border-color: var(--so-cyan);
  background: var(--so-cyans);
  box-shadow: 0 0 0 3px var(--so-cyans);
}

html[data-device="computer"] .admin-store-home .admin-shopee-arrangement-option:has(input:focus-visible) {
  outline: 2px solid var(--so-ink2);
  outline-offset: 2px;
}

html[data-device="computer"] .admin-store-home .admin-shopee-arrangement-option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

html[data-device="computer"] .admin-store-home .admin-shopee-option-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 16px;
  background: var(--so-card2);
  box-shadow: none;
  color: var(--so-ink2);
}

html[data-device="computer"] .admin-store-home .admin-shopee-option-icon.is-pickup {
  background: var(--so-cyans);
  color: var(--so-cyan);
}

html[data-device="computer"] .admin-store-home .admin-shopee-option-icon.is-dropoff {
  background: var(--so-card2);
  color: var(--so-ink2);
}

html[data-device="computer"] .admin-store-home .admin-shopee-option-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-device="computer"] .admin-store-home .admin-shopee-option-copy {
  display: block;
  flex: 1;
  min-width: 0;
}

html[data-device="computer"] .admin-store-home .admin-shopee-option-type {
  display: block;
  color: var(--so-ink3);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

html[data-device="computer"] .admin-store-home .admin-shopee-option-copy strong {
  display: block;
  color: var(--so-ink);
  font-size: 15px;
  font-weight: 600;
}

html[data-device="computer"] .admin-store-home .admin-shopee-option-meta {
  display: block;
  color: var(--so-ink2);
  font-size: 12.5px;
  font-weight: 400;
}

html[data-device="computer"] .admin-store-home .admin-shopee-option-meta svg {
  display: none;
}

html[data-device="computer"] .admin-store-home .admin-shopee-option-check {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  box-sizing: border-box;
  border: 1.5px solid var(--so-line2);
  border-radius: 50%;
  background: transparent;
  color: #ffffff;
  opacity: 1;
  transform: none;
  transition: background-color 0.3s, border-color 0.3s;
}

html[data-device="computer"] .admin-store-home .admin-shopee-option-check svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.25s, transform 0.4s var(--so-spring);
}

html[data-device="computer"] .admin-store-home .admin-shopee-arrangement-option:has(input:checked) .admin-shopee-option-check {
  border-color: var(--so-cyan);
  background: var(--so-cyan);
  transform: none;
}

html[data-device="computer"] .admin-store-home .admin-shopee-arrangement-option:has(input:checked) .admin-shopee-option-check svg {
  opacity: 1;
  transform: none;
}

html[data-device="computer"] .admin-store-home .admin-shopee-arrangement-options > .admin-preview-empty {
  margin: 0;
  padding: 28px 12px;
  border-radius: 18px;
  background: var(--so-card);
  color: var(--so-ink3);
  font-size: 13px;
  text-align: center;
}

html[data-device="computer"] .admin-store-home .admin-shopee-arrangement-card > .admin-form-error {
  margin: 0;
  padding: 0;
}

html[data-device="computer"] .admin-store-home .admin-shopee-arrangement-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

html[data-device="computer"] .admin-store-home .admin-shopee-arrangement-actions > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

html[data-device="computer"] .admin-store-home .admin-shopee-secure-note {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  color: var(--so-ink3);
  font-size: 12.5px;
  font-weight: 400;
}

html[data-device="computer"] .admin-store-home .admin-shopee-secure-note svg {
  flex: none;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

html[data-device="computer"] .admin-store-home .admin-shopee-arrangement-actions .admin-ghost-btn {
  height: 46px;
  padding: 0 18px;
}

html[data-device="computer"] .admin-store-home .admin-shopee-arrangement-card .admin-primary-btn.admin-shopee-arrangement-submit,
html[data-device="computer"] .admin-store-home .admin-shopee-arrangement-card .admin-primary-btn.admin-shopee-arrangement-submit:disabled {
  background: var(--so-cyan);
  color: #03222a;
  font-weight: 650;
}

/* Light theme: the darker cyan needs white text to stay readable. */
html[data-device="computer"][data-admin-theme='light'] .admin-store-home .admin-shopee-arrangement-card .admin-primary-btn.admin-shopee-arrangement-submit {
  color: #ffffff;
}

html[data-device="computer"] .admin-store-home .admin-shopee-arrangement-submit svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-device="computer"] .admin-store-home .admin-shopee-demo-success {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--so-line);
  border-radius: 20px;
  background: var(--so-card);
}

html[data-device="computer"] .admin-store-home .admin-shopee-demo-success-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--so-mints);
  color: var(--so-mint);
  box-shadow: none;
}

/* ------------------------------------------------------------------ */
/* Remove listed order                                                 */
/* ------------------------------------------------------------------ */
html[data-device="computer"] .admin-store-home .admin-remove-order-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(540px, 100%);
  padding: 24px;
  border-radius: 32px;
}

html[data-device="computer"] .admin-store-home :is(.admin-remove-order-card, .admin-reprint-card) > .admin-modal-head {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 0;
}

html[data-device="computer"] .admin-store-home .admin-remove-order-card > .admin-reprint-intro:not([data-remove-order-stock-audit]) {
  margin: 0;
  color: var(--so-ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

html[data-device="computer"] .admin-store-home .admin-remove-order-card [data-remove-order-id] {
  font-family: var(--so-mono);
  font-weight: 600;
}

html[data-device="computer"] .admin-store-home .admin-remove-order-card [data-remove-order-stock-audit] {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  color: var(--so-ink2);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

html[data-device="computer"] .admin-store-home .admin-remove-order-card [data-remove-order-stock-audit]::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--so-ink3);
  transform: translateY(-1px);
}

html[data-device="computer"] .admin-store-home .admin-remove-order-card [data-remove-order-stock-audit][data-state='checking']::before {
  animation: so-breathe 1.4s ease-in-out infinite;
}

html[data-device="computer"] .admin-store-home .admin-remove-order-card [data-remove-order-stock-audit][data-state='not-deducted']::before {
  background: var(--so-amber);
}

html[data-device="computer"] .admin-store-home .admin-remove-order-card [data-remove-order-stock-audit][data-state='deducted']::before {
  background: var(--so-mint);
}

html[data-device="computer"] .admin-store-home .admin-remove-order-card [data-remove-order-stock-audit][data-state='error'] {
  color: var(--so-red);
  font-weight: 600;
}

html[data-device="computer"] .admin-store-home .admin-remove-order-card [data-remove-order-stock-audit][data-state='error']::before {
  background: var(--so-red);
}

html[data-device="computer"] .admin-store-home .admin-remove-order-card [data-remove-order-stock-audit]:empty {
  display: none;
}

html[data-device="computer"] .admin-store-home .admin-remove-stock-choice {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

html[data-device="computer"] .admin-store-home .admin-remove-stock-choice legend {
  margin: 0 0 8px;
  padding: 0;
  color: var(--so-ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

html[data-device="computer"] .admin-store-home .admin-remove-stock-option {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--so-line);
  border-radius: 18px;
  background: var(--so-card);
  box-shadow: none;
  cursor: pointer;
  transition: transform 0.4s var(--so-ease), border-color 0.3s;
}

html[data-device="computer"] .admin-store-home .admin-remove-stock-option:hover {
  transform: translateY(-2px);
}

html[data-device="computer"] .admin-store-home .admin-remove-stock-option:has(input:checked) {
  border-color: var(--so-ink2);
  box-shadow: none;
}

html[data-device="computer"] .admin-store-home .admin-remove-stock-option input {
  flex: none;
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  margin: 0;
  border: 2px solid var(--so-line2);
  border-radius: 50%;
  background: transparent;
  box-shadow: inset 0 0 0 10px var(--so-card);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.35s var(--so-spring);
}

html[data-device="computer"] .admin-store-home .admin-remove-stock-option input:checked {
  border-color: var(--so-ink);
  background: var(--so-ink);
  box-shadow: inset 0 0 0 3px var(--so-card);
}

html[data-device="computer"] .admin-store-home .admin-remove-stock-option input:focus-visible {
  outline: 2px solid var(--so-ink2);
  outline-offset: 2px;
}

html[data-device="computer"] .admin-store-home .admin-remove-stock-option span {
  display: block;
}

html[data-device="computer"] .admin-store-home .admin-remove-stock-option strong {
  display: block;
  color: var(--so-ink);
  font-size: 14px;
  font-weight: 600;
}

html[data-device="computer"] .admin-store-home .admin-remove-stock-option small {
  color: var(--so-ink2);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.4;
}

html[data-device="computer"] .admin-store-home .admin-remove-sku-mapping {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 14px;
  border: 0;
  border-radius: 20px;
  background: var(--so-card2);
  animation: so-rise 0.45s var(--so-ease) both;
}

html[data-device="computer"] .admin-store-home .admin-remove-sku-mapping[hidden] {
  display: none;
}

html[data-device="computer"] .admin-store-home .admin-remove-sku-mapping-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

html[data-device="computer"] .admin-store-home .admin-remove-sku-mapping-head strong {
  color: var(--so-ink);
  font-size: 14px;
  font-weight: 600;
}

html[data-device="computer"] .admin-store-home .admin-remove-sku-mapping-head small {
  color: var(--so-ink2);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.4;
}

html[data-device="computer"] .admin-store-home .admin-remove-sku-mapping-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

html[data-device="computer"] .admin-store-home .admin-remove-sku-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 14px;
  background: var(--so-card);
}

html[data-device="computer"] .admin-store-home .admin-remove-sku-line > span {
  display: flex;
  flex: 1 1 160px;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

html[data-device="computer"] .admin-store-home .admin-remove-sku-line > span strong {
  color: var(--so-ink);
  font-family: var(--so-mono);
  font-size: 12.5px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

html[data-device="computer"] .admin-store-home .admin-remove-sku-line > span small {
  color: var(--so-ink2);
  font-size: 12px;
  font-weight: 400;
}

html[data-device="computer"] .admin-store-home .admin-remove-sku-field {
  display: flex;
  flex: 1 1 180px;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

html[data-device="computer"] .admin-store-home .admin-remove-sku-field span {
  color: var(--so-ink3);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

html[data-device="computer"] .admin-store-home .admin-remove-sku-input {
  width: 100%;
  height: 40px;
  box-sizing: border-box;
  padding: 0 14px;
  border: 1px solid var(--so-line2);
  border-radius: 999px;
  background: var(--so-card2);
  color: var(--so-ink);
  font-family: var(--so-mono);
  font-size: 12.5px;
  font-weight: 500;
}

html[data-device="computer"] .admin-store-home :is(.admin-remove-order-card, .admin-reprint-card) .admin-reprint-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

html[data-device="computer"] .admin-store-home :is(.admin-remove-order-card, .admin-reprint-card) .admin-reprint-field > span {
  color: var(--so-ink2);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

html[data-device="computer"] .admin-store-home :is(.admin-remove-order-card, .admin-reprint-card) .admin-settings-input {
  width: 100%;
  height: 48px;
  box-sizing: border-box;
  padding: 0 18px;
  border: 1px solid var(--so-line2);
  border-radius: 999px;
  background: var(--so-card);
  box-shadow: none;
  color: var(--so-ink);
  font-family: var(--so-font);
  font-size: 15px;
  font-weight: 400;
}

html[data-device="computer"] .admin-store-home :is(.admin-remove-order-card, .admin-reprint-card) :is(.admin-settings-input, .admin-remove-sku-input):focus {
  border-color: var(--so-ink3);
  outline: none;
  box-shadow: 0 0 0 4px var(--so-line);
}

html[data-device="computer"] .admin-store-home :is(.admin-remove-order-card, .admin-reprint-card) :is(.admin-settings-input, .admin-remove-sku-input)::placeholder {
  color: var(--so-ink3);
  font-family: var(--so-font);
}

html[data-device="computer"] .admin-store-home :is(.admin-remove-order-card, .admin-reprint-card) > .admin-modal-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  padding: 0;
}

html[data-device="computer"] .admin-store-home .admin-remove-order-card > .admin-modal-actions :is(.admin-ghost-btn, .admin-primary-btn) {
  height: 46px;
  padding: 0 18px;
}

html[data-device="computer"] .admin-store-home .admin-remove-order-card .admin-remove-order-submit,
html[data-device="computer"] .admin-store-home .admin-remove-order-card .admin-remove-order-submit:hover,
html[data-device="computer"] .admin-store-home .admin-remove-order-card .admin-remove-order-submit:focus-visible,
html[data-device="computer"] .admin-store-home .admin-remove-order-card .admin-remove-order-submit:disabled {
  padding: 0 20px;
  border: 0;
  background: var(--so-danger-fill);
  color: #ffffff;
  font-weight: 650;
}

/* ------------------------------------------------------------------ */
/* Reprint a label                                                     */
/* ------------------------------------------------------------------ */
html[data-device="computer"] .admin-store-home .admin-reprint-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(720px, 100%);
  max-height: min(88vh, 820px);
  padding: 24px;
  border-radius: 32px;
}

html[data-device="computer"] .admin-store-home .admin-reprint-card > .admin-reprint-intro {
  margin: 0;
  color: var(--so-ink2);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

html[data-device="computer"] .admin-store-home .admin-reprint-card .admin-reprint-field {
  position: relative;
}

html[data-device="computer"] .admin-store-home .admin-reprint-card .admin-reprint-field::after {
  content: '';
  position: absolute;
  left: 18px;
  bottom: 17.5px;
  width: 17px;
  height: 17px;
  background: var(--so-ink3);
  pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E") center / contain no-repeat;
}

html[data-device="computer"] .admin-store-home .admin-reprint-card .admin-settings-input {
  height: 52px;
  padding: 0 18px 0 46px;
}

html[data-device="computer"] .admin-store-home .admin-reprint-card .admin-reprint-help {
  margin: -6px 0 0;
  color: var(--so-ink3);
  font-size: 12px;
  font-weight: 400;
}

html[data-device="computer"] .admin-store-home .admin-reprint-results {
  flex: 1 1 auto;
  min-height: 140px;
  max-height: 360px;
  box-sizing: border-box;
  margin: 0;
  padding: 8px;
  border: 0;
  border-radius: 22px;
  background: var(--so-card);
  overflow-y: auto;
}

html[data-device="computer"] .admin-store-home .admin-reprint-results > .admin-empty {
  margin: 0;
  padding: 40px 12px;
  border: 0;
  background: transparent;
  color: var(--so-ink3);
  font-size: 13px;
  text-align: center;
}

html[data-device="computer"] .admin-store-home .admin-reprint-result-heading {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin: 0;
  padding: 6px 8px 10px;
}

html[data-device="computer"] .admin-store-home :is(.admin-reprint-result-heading, .admin-reprint-selected-head) strong {
  color: var(--so-ink);
  font-family: var(--so-font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

html[data-device="computer"] .admin-store-home :is(.admin-reprint-result-heading, .admin-reprint-selected-head) small {
  color: var(--so-ink3);
  font-size: 12px;
  font-weight: 400;
}

html[data-device="computer"] .admin-store-home :is(.admin-reprint-profile-list, .admin-reprint-order-list) {
  display: flex;
  flex-direction: column;
  gap: 0;
}

html[data-device="computer"] .admin-store-home :is(.admin-reprint-profile-option, .admin-reprint-order-option) {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 8px 10px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
  color: var(--so-ink);
  text-align: left;
  cursor: pointer;
  animation: so-rise 0.4s var(--so-ease) backwards;
  transition: transform 0.4s var(--so-ease), background-color 0.3s;
}

html[data-device="computer"] .admin-store-home .admin-reprint-profile-option {
  min-height: 58px;
}

html[data-device="computer"] .admin-store-home :is(.admin-reprint-profile-option, .admin-reprint-order-option):nth-child(2) { animation-delay: 45ms; }
html[data-device="computer"] .admin-store-home :is(.admin-reprint-profile-option, .admin-reprint-order-option):nth-child(3) { animation-delay: 90ms; }
html[data-device="computer"] .admin-store-home :is(.admin-reprint-profile-option, .admin-reprint-order-option):nth-child(4) { animation-delay: 135ms; }
html[data-device="computer"] .admin-store-home :is(.admin-reprint-profile-option, .admin-reprint-order-option):nth-child(n+5) { animation-delay: 180ms; }

html[data-device="computer"] .admin-store-home :is(.admin-reprint-profile-option, .admin-reprint-order-option):hover,
html[data-device="computer"] .admin-store-home :is(.admin-reprint-profile-option, .admin-reprint-order-option):focus-visible {
  background: var(--so-card2);
  transform: translateY(-2px);
}

html[data-device="computer"] .admin-store-home .admin-reprint-profile-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--so-card2);
  color: var(--so-ink2);
  font-family: var(--so-font);
  font-size: 14px;
  font-weight: 650;
}

html[data-device="computer"] .admin-store-home :is(.admin-reprint-profile-option, .admin-reprint-order-option, .admin-reprint-selected-head) > span:not(.admin-reprint-profile-avatar) {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

html[data-device="computer"] .admin-store-home .admin-reprint-profile-option strong {
  color: var(--so-ink);
  font-size: 14px;
  font-weight: 600;
}

html[data-device="computer"] .admin-store-home .admin-reprint-profile-option small {
  color: var(--so-ink3);
  font-size: 12px;
  font-weight: 400;
}

html[data-device="computer"] .admin-store-home .admin-reprint-profile-option em {
  flex: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--so-ink2);
  font-family: var(--so-mono);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
}

html[data-device="computer"] .admin-store-home .admin-reprint-selected-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 6px 6px 10px;
}

html[data-device="computer"] .admin-store-home .admin-reprint-selected-head .admin-reprint-back {
  height: 36px;
  padding: 0 14px;
  background: transparent;
}

html[data-device="computer"] .admin-store-home .admin-reprint-order-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 1px;
  min-height: 60px;
  padding: 8px 12px;
}

html[data-device="computer"] .admin-store-home .admin-reprint-order-option time {
  grid-column: 1;
  grid-row: 1;
  color: var(--so-ink3);
  font-size: 11.5px;
  font-weight: 400;
}

html[data-device="computer"] .admin-store-home .admin-reprint-order-list .admin-reprint-order-option > span {
  grid-column: 1;
  grid-row: 2;
  display: block;
}

html[data-device="computer"] .admin-store-home .admin-reprint-order-option strong {
  color: var(--so-ink);
  font-family: var(--so-mono);
  font-size: 13.5px;
  font-weight: 600;
}

html[data-device="computer"] .admin-store-home .admin-reprint-order-option small {
  margin-left: 6px;
  color: var(--so-ink2);
  font-size: 12px;
  font-weight: 400;
}

html[data-device="computer"] .admin-store-home .admin-reprint-order-option .admin-reprint-available {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: var(--so-mints);
  color: var(--so-mint);
  font-family: var(--so-font);
  font-size: 11.5px;
  font-style: normal;
  font-weight: 600;
}

html[data-device="computer"] .admin-store-home .admin-reprint-order-option.is-unavailable {
  opacity: 0.6;
}

html[data-device="computer"] .admin-store-home .admin-reprint-order-list > .admin-empty {
  margin: 0;
  padding: 24px 12px;
  color: var(--so-ink3);
  font-size: 13px;
  text-align: center;
}

html[data-device="computer"] .admin-store-home .admin-reprint-card > .admin-modal-actions .admin-primary-btn {
  height: 48px;
  padding: 0 22px;
}

/* ------------------------------------------------------------------ */
/* "Printed · Reprint" toast                                            */
/* ------------------------------------------------------------------ */
html[data-device="computer"] .admin-print-toast {
  bottom: 20px;
  z-index: 9000;
  gap: 12px;
  width: min(460px, calc(100vw - 24px));
  box-sizing: border-box;
  padding: 10px 10px 10px 12px;
  border: 1px solid var(--so-line2);
  border-radius: 22px;
  background: var(--so-card);
  box-shadow: var(--so-sh2);
  color: var(--so-ink);
  font-family: var(--so-font);
  transform: translate3d(-50%, 24px, 0);
  opacity: 0;
  transition: transform 0.7s var(--so-ease), opacity 0.4s var(--so-ease);
}

html[data-device="computer"] .admin-print-toast.is-visible {
  transform: translate3d(-50%, 0, 0);
  opacity: 1;
}

html[data-device="computer"] .admin-print-toast-icon {
  width: 34px;
  height: 34px;
  background: var(--so-mints);
  color: var(--so-mint);
}

html[data-device="computer"] .admin-print-toast[data-tone="info"] .admin-print-toast-icon {
  background: var(--so-card2);
  color: var(--so-ink2);
}

html[data-device="computer"] .admin-print-toast[data-tone="error"] .admin-print-toast-icon {
  background: var(--so-reds);
  color: var(--so-red);
}

html[data-device="computer"] .admin-print-toast-icon svg {
  width: 16px;
  height: 16px;
  stroke-width: 3;
}

html[data-device="computer"] .admin-print-toast-copy {
  gap: 1px;
}

html[data-device="computer"] .admin-print-toast-copy strong {
  color: var(--so-ink);
  font-family: var(--so-mono);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
}

html[data-device="computer"] .admin-print-toast-copy small {
  color: var(--so-ink2);
  font-size: 12px;
  line-height: 1.4;
}

html[data-device="computer"] .admin-print-toast-reprint {
  min-height: 40px;
  height: 40px;
  padding: 0 16px;
  background: var(--so-ink);
  color: var(--so-panel);
  font-family: var(--so-font);
  font-size: 13.5px;
  font-weight: 600;
  transition: transform 0.35s var(--so-ease), opacity 0.25s;
}

html[data-device="computer"] .admin-print-toast-reprint:not(:disabled):hover {
  transform: translateY(-1px);
}

html[data-device="computer"] .admin-print-toast-reprint:disabled {
  opacity: 0.45;
}

html[data-device="computer"] .admin-print-toast-close {
  width: 36px;
  height: 36px;
  background: var(--so-card2);
  color: var(--so-ink2);
  transition: transform 0.35s var(--so-ease);
}

html[data-device="computer"] .admin-print-toast-close:hover {
  transform: translateY(-1px);
}

html[data-device="computer"] .admin-print-toast-close svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.4;
}

/* The toast's icon follows its tone: done, working, problem. */
.admin-print-toast-icon .admin-print-toast-busy,
.admin-print-toast-icon .admin-print-toast-alert,
.admin-print-toast[data-tone="info"] .admin-print-toast-icon .admin-print-toast-ok,
.admin-print-toast[data-tone="error"] .admin-print-toast-icon .admin-print-toast-ok {
  display: none;
}

.admin-print-toast[data-tone="info"] .admin-print-toast-icon .admin-print-toast-busy,
.admin-print-toast[data-tone="error"] .admin-print-toast-icon .admin-print-toast-alert {
  display: block;
}

.admin-print-toast[data-tone="info"] .admin-print-toast-icon .admin-print-toast-busy {
  animation: so-spin 0.9s linear infinite;
}

/* ------------------------------------------------------------------ */
/* Phone-only pieces: hidden on computers, laid out by the phone part  */
/* ------------------------------------------------------------------ */
.admin-order-claim-short,
.admin-order-claim-icon,
.admin-order-action-phone,
.admin-order-deadline-phone {
  display: none;
}

html:not([data-device="phone"]) .admin-phone-board-counts,
html:not([data-device="phone"]) .admin-phone-dropoff-switch,
html:not([data-device="phone"]) .admin-queue-notice-chevron,
html:not([data-device="phone"]) .admin-queue-notice-toggle,
html:not([data-device="phone"]) .admin-board-skeletons,
html:not([data-device="phone"]) .admin-modal-source,
html:not([data-device="phone"]) .admin-reprint-clear {
  display: none;
}

html:not([data-device="phone"]) .admin-phone-board-head {
  display: contents;
}

html[data-device="computer"] .is-store-home .admin-store-home .admin-order-badges {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 0;
  font-size: inherit;
  line-height: 1;
}

/* ================================================================== */
/* Phones: the board (PhoneOrders), the preview and pick-list sheets,  */
/* the arrange sheet, the Reprint page, the toast and the Instant pill */
/* ================================================================== */

/* Frame: on the board the whole screen is the panel colour. */
html[data-device="phone"] body.is-store-home {
  background: var(--so-panel);
}

html[data-device="phone"] .is-store-home .admin-app.admin-store-home {
  padding: 0;
  background: var(--so-panel);
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-store-workspace {
  gap: 0;
  margin: 0;
  padding: 0;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-layout {
  margin: 0;
  padding: 0;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-fulfillment-panel {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-board-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: auto;
  max-height: none;
  margin: 0;
  padding: 0 12px 98px;
  overflow: visible;
}

/* The top bar is gone on the board; only its account button stays, at the
   top right of the board header (it sticks with the header). */
html[data-device="phone"] .is-store-home .admin-store-home .admin-store-topbar {
  position: sticky;
  top: 0;
  z-index: 7;
  display: block;
  height: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-store-topbar > :not(.admin-topbar-actions),
html[data-device="phone"] .is-store-home .admin-store-home .admin-store-topbar .admin-topbar-actions > :not(.admin-store-header-profile) {
  display: none;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-store-topbar .admin-topbar-actions {
  display: block;
  position: static;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-store-topbar .admin-store-header-profile {
  position: absolute;
  top: 18px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-store-topbar .admin-store-header-profile .admin-store-profile-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--so-card2);
  color: var(--so-ink);
  font-size: 15px;
  font-weight: 650;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-store-topbar .admin-store-header-profile .admin-store-profile-copy {
  display: none;
}

/* Board header: two big counts, the All / Drop-off switch, the notice. */
html[data-device="phone"] .is-store-home .admin-store-home .admin-phone-board-head {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 -12px;
  padding: 18px 14px 10px;
  background: var(--so-panel);
}

html[data-device="phone"] .admin-phone-board-counts {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 44px;
  padding: 0 60px 0 4px;
}

html[data-device="phone"] .admin-phone-board-count {
  display: flex;
  flex-direction: column;
  gap: 1px;
  animation: so-rise 0.6s var(--so-ease) both;
}

html[data-device="phone"] .admin-phone-board-count + .admin-phone-board-count {
  animation-delay: 60ms;
}

html[data-device="phone"] .admin-phone-board-count b {
  color: var(--so-ink);
  font-size: 28px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.04em;
}

html[data-device="phone"] .admin-phone-board-count.has-critical b {
  color: var(--so-red);
}

html[data-device="phone"] .admin-phone-board-count small {
  color: var(--so-ink3);
  font-size: 11.5px;
  line-height: 1.4;
}

html[data-device="phone"] .admin-phone-dropoff-switch {
  position: relative;
  display: flex;
  height: 40px;
  padding: 4px;
  box-sizing: border-box;
  border-radius: 999px;
  background: var(--so-card);
}

html[data-device="phone"] .admin-phone-dropoff-thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--so-raise);
  box-shadow: var(--so-sh1);
  transition: transform 0.5s var(--so-ease);
}

html[data-device="phone"] .admin-phone-dropoff-switch[data-state="dropoff"] .admin-phone-dropoff-thumb {
  transform: translate3d(100%, 0, 0);
}

html[data-device="phone"] .admin-phone-dropoff-switch button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--so-ink3);
  font-family: var(--so-font);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.3s;
}

html[data-device="phone"] .admin-phone-dropoff-switch button span {
  color: var(--so-ink3);
  font-family: var(--so-mono);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s;
}

html[data-device="phone"] .admin-phone-dropoff-switch button[aria-pressed="true"] {
  color: var(--so-ink);
  font-weight: 600;
}

html[data-device="phone"] .admin-phone-dropoff-switch button[aria-pressed="true"] span {
  color: var(--so-ink2);
}

html[data-device="phone"] .admin-phone-dropoff-switch button[data-phone-dropoff="dropoff"][aria-pressed="true"],
html[data-device="phone"] .admin-phone-dropoff-switch button[data-phone-dropoff="dropoff"][aria-pressed="true"] span {
  color: var(--so-amber);
}

/* The arrangement notice: one line; a tap shows the details. */
html[data-device="phone"] .is-store-home .admin-store-home .admin-queue-notice {
  position: relative;
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr) 16px;
  align-items: center;
  column-gap: 9px;
  min-height: 24px;
  margin: 0;
  padding: 0 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--so-ink);
  animation: none;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-queue-notice[hidden] {
  display: none;
}

html[data-device="phone"] .admin-store-home .admin-queue-notice .admin-queue-notice-icon {
  grid-column: 1;
  grid-row: 1;
  flex: none;
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 50%;
  background: var(--so-amber);
  color: transparent;
  font-size: 0;
  animation: so-breathe 2.4s ease-in-out infinite;
}

html[data-device="phone"] .admin-store-home .admin-queue-notice[data-tone="error"] .admin-queue-notice-icon {
  background: var(--so-red);
}

html[data-device="phone"] .admin-store-home .admin-queue-notice > div {
  display: contents;
}

html[data-device="phone"] .admin-store-home .admin-queue-notice strong {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  color: var(--so-ink);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}

html[data-device="phone"] .admin-store-home .admin-queue-notice .admin-queue-notice-chevron {
  grid-column: 3;
  grid-row: 1;
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--so-ink3);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.45s var(--so-ease);
}

html[data-device="phone"] .admin-store-home .admin-queue-notice.is-expanded .admin-queue-notice-chevron {
  transform: rotate(180deg);
}

html[data-device="phone"] .admin-store-home .admin-queue-notice div > span {
  grid-column: 2 / 4;
  grid-row: 2;
  display: block;
  max-height: 0;
  padding: 0;
  overflow: hidden;
  color: var(--so-ink2);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  opacity: 0;
  transition: max-height 0.45s var(--so-ease), opacity 0.35s, padding 0.45s var(--so-ease);
}

html[data-device="phone"] .admin-store-home .admin-queue-notice.is-expanded div > span {
  max-height: 120px;
  padding: 4px 0 2px;
  opacity: 1;
}

html[data-device="phone"] .admin-store-home .admin-queue-notice-toggle {
  position: absolute;
  inset: -10px 0;
  z-index: 1;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

html[data-device="phone"] .admin-store-home .admin-status-sync-warning {
  margin: 0 0 8px;
  padding: 9px 12px;
  border: 1px solid var(--so-amber);
  border-radius: 14px;
  background: transparent;
  color: var(--so-amber);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

html[data-device="phone"] .admin-store-home .admin-status-sync-warning[hidden] {
  display: none;
}

/* The list: one column of equal 62 px rows. */
html[data-device="phone"] .is-store-home .admin-store-home .admin-order-board {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 2px 0 0;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card {
  --oc-delay: 0ms;
  --oc-border: var(--so-line);
  --oc-tear: var(--so-line);
  position: relative;
  display: grid;
  flex: none;
  grid-template-columns: 92px minmax(0, auto) minmax(0, auto) minmax(0, auto) minmax(8px, 1fr) 1px 102px;
  grid-template-rows: minmax(0, 1fr) 18px 18px minmax(0, 1fr);
  align-items: center;
  gap: 0;
  align-self: stretch;
  width: auto;
  height: 62px;
  min-height: 62px;
  box-sizing: border-box;
  padding: 0;
  border: 1px solid var(--oc-border);
  border-radius: 14px;
  background: var(--so-card);
  box-shadow: none;
  color: var(--so-ink);
  overflow: hidden;
  opacity: 1;
  filter: none;
  animation: none;
  transition: border-color 0.3s, opacity 0.4s, filter 0.4s;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card[data-source-color] {
  --oc-border: color-mix(in srgb, var(--order-source-accent) 65%, transparent);
  --oc-tear: color-mix(in srgb, var(--order-source-accent) 35%, transparent);
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card:hover,
html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card:focus-within {
  transform: none;
  outline: none;
  border-color: var(--oc-border);
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card:has(.admin-order-preview-trigger:focus-visible) {
  outline: 2px solid var(--so-ink2);
  outline-offset: 2px;
}

/* 3 px platform strip on the left, and the one dashed divider. */
html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: transparent;
  pointer-events: none;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card[data-source-color]::before {
  background: var(--order-source-accent);
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card::after {
  content: '';
  grid-column: 6;
  grid-row: 1 / -1;
  align-self: center;
  width: 0;
  height: 34px;
  border-left: 1px dashed var(--oc-tear);
  pointer-events: none;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card.is-instant {
  --oc-border: color-mix(in srgb, var(--so-red) 60%, transparent);
  color: var(--so-ink);
  animation: so-ord-pulse-red 1.3s ease-in-out 0.6s infinite;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card.is-manual-arrangement {
  --oc-border: color-mix(in srgb, var(--so-cyan) 60%, transparent);
  animation: so-ord-pulse-cyan 1.8s ease-in-out 0.6s infinite;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card.is-cancellation-requested {
  --oc-border: var(--so-orange);
  background: var(--so-card);
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card.is-arrangement-failed {
  --oc-border: color-mix(in srgb, var(--so-amber) 70%, transparent);
  box-shadow: none;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card.is-weekend-dependent {
  --oc-border: var(--so-line2);
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card.is-delayed,
html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card.is-started {
  box-shadow: none;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card[data-claim-owner='self'] {
  box-shadow: inset 0 0 0 1px var(--so-line2);
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card.is-locked,
html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card.is-instant.is-locked {
  opacity: 0.5;
  filter: grayscale(0.7);
}

/* Rows rise in once, when the board first fills. */
html[data-device="phone"] .is-store-home .admin-store-home .admin-order-board:not([data-board-entered]) .admin-order-card {
  animation: so-ord-rise 0.6s var(--so-ease) var(--oc-delay) backwards;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-board:not([data-board-entered]) .admin-order-card.is-instant {
  animation:
    so-ord-rise 0.6s var(--so-ease) var(--oc-delay) backwards,
    so-ord-pulse-red 1.3s ease-in-out 0.6s infinite;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-board:not([data-board-entered]) .admin-order-card.is-manual-arrangement {
  animation:
    so-ord-rise 0.6s var(--so-ease) var(--oc-delay) backwards,
    so-ord-pulse-cyan 1.8s ease-in-out 0.6s infinite;
}

html[data-device="phone"] .admin-order-card:nth-child(2) { --oc-delay: 40ms; }
html[data-device="phone"] .admin-order-card:nth-child(3) { --oc-delay: 80ms; }
html[data-device="phone"] .admin-order-card:nth-child(4) { --oc-delay: 120ms; }
html[data-device="phone"] .admin-order-card:nth-child(5) { --oc-delay: 160ms; }
html[data-device="phone"] .admin-order-card:nth-child(6) { --oc-delay: 200ms; }
html[data-device="phone"] .admin-order-card:nth-child(7) { --oc-delay: 240ms; }
html[data-device="phone"] .admin-order-card:nth-child(8) { --oc-delay: 280ms; }
html[data-device="phone"] .admin-order-card:nth-child(9) { --oc-delay: 320ms; }
html[data-device="phone"] .admin-order-card:nth-child(n+10) { --oc-delay: 360ms; }

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-preview-trigger {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 13px;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-preview-trigger:focus-visible {
  outline: none;
}

/* Left: the time, with the deadline label under it. */
html[data-device="phone"] .is-store-home .admin-store-home .admin-order-deadline {
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: center;
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  gap: 0;
  min-width: 0;
  margin: 0;
  padding: 0 0 0 14px;
  border-radius: 0;
  background: transparent;
  color: var(--so-ink);
  font-family: var(--so-font);
  font-size: 17px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-deadline > span {
  display: block;
  margin: 0;
  color: var(--so-ink3);
  font-family: var(--so-font);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-deadline > small,
html[data-device="phone"] .is-store-home .admin-store-home .admin-order-deadline .admin-order-deadline-full {
  display: none;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-deadline .admin-order-deadline-phone {
  display: inline;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card.is-deadline-urgent .admin-order-deadline,
html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card.is-deadline-urgent .admin-order-deadline > span {
  background: transparent;
  color: var(--so-amber);
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card.is-delayed .admin-order-deadline {
  color: var(--so-ink3);
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card.is-fit-phone-deadline .admin-order-deadline {
  font-size: 15px;
}

/* Middle: the ID on line 1 (always in full), badges, source and claim on line 2. */
html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card-top,
html[data-device="phone"] .is-store-home .admin-store-home .admin-order-meta {
  display: contents;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-id {
  grid-column: 2 / 6;
  grid-row: 2;
  align-self: center;
  flex: none;
  min-width: max-content;
  height: 18px;
  margin: 0;
  padding: 0;
  overflow: visible;
  color: var(--so-ink);
  font-family: var(--so-mono);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0;
  text-overflow: clip;
  white-space: nowrap;
  pointer-events: none;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card-top > span.admin-order-badges {
  grid-column: 2;
  grid-row: 3;
  align-self: start;
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  height: 18px;
  margin: 1px 5px 0 0;
  padding: 0;
  overflow: hidden;
  font-size: inherit;
  line-height: 1;
  pointer-events: none;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card-top > span.admin-order-badges:not(:has(.admin-order-badge)) {
  display: none;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card-top .admin-order-badge {
  display: inline-flex;
  flex: none;
  align-items: center;
  width: auto;
  min-width: 0;
  height: 16px;
  min-height: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 0 5px;
  border: 1px solid var(--so-ink);
  border-radius: 5px;
  background: var(--so-ink);
  box-shadow: none;
  color: var(--so-panel);
  font-family: var(--so-font);
  font-size: 9.5px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card-top .admin-instant-badge {
  border-color: var(--so-red);
  background: transparent;
  color: var(--so-red);
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card-top .admin-arrangement-failed-badge {
  border-color: var(--so-amber);
  background: transparent;
  color: var(--so-amber);
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-badge svg {
  display: none;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-badge .admin-instant-badge-label {
  display: inline;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-badge:has(.admin-order-badge-short) .admin-order-badge-label {
  display: none;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-badge .admin-order-badge-short {
  display: inline;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-meta span {
  max-width: none;
  padding: 0;
  border-radius: 0;
  background: transparent;
  text-overflow: clip;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-meta .admin-order-source {
  grid-column: 3;
  grid-row: 3;
  align-self: start;
  display: block;
  min-width: 0;
  height: 18px;
  margin: 1px 5px 0 0;
  overflow: hidden;
  color: var(--so-ink2);
  font-family: var(--so-font);
  font-size: 11.5px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  pointer-events: none;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-meta .admin-order-source::before {
  content: none;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card:is(.is-locked, .is-cancellation-requested, .is-fit-phone-source) .admin-order-meta .admin-order-source {
  display: none;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-meta .admin-order-claim {
  grid-column: 4;
  grid-row: 3;
  align-self: start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  height: 18px;
  margin: 1px 0 0;
  overflow: hidden;
  color: var(--so-ink3);
  font-family: var(--so-font);
  font-size: 11.5px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  pointer-events: none;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-meta .admin-order-claim.is-status {
  display: none;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card:not(.is-locked):not(.is-cancellation-requested):not(.is-fit-phone-source) .admin-order-meta .admin-order-claim::before {
  content: '·';
  margin-right: 1px;
  color: var(--so-ink3);
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-meta .admin-order-claim span {
  flex: none;
  overflow: visible;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-meta .admin-order-claim-full {
  display: none;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-meta .admin-order-claim-short {
  display: inline;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-meta .admin-order-claim-icon {
  display: block;
  flex: none;
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-claim.is-cancellation { color: var(--so-orange); }
html[data-device="phone"] .is-store-home .admin-store-home .admin-order-claim.is-stale { color: var(--so-amber); }
html[data-device="phone"] .is-store-home .admin-store-home .admin-order-claim.is-self { color: var(--so-ink); }
html[data-device="phone"] .is-store-home .admin-store-home .admin-order-claim.is-claimed { color: var(--so-ink2); }
html[data-device="phone"] .is-store-home .admin-store-home .admin-order-claim.is-pickup { color: var(--so-cyan); }
html[data-device="phone"] .is-store-home .admin-store-home .admin-order-claim.is-arranged { color: var(--so-mint); }

/* Right: the action pill (44 px tap area), with the short phone labels. */
html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card .admin-start-order-btn {
  position: relative;
  z-index: 2;
  grid-column: 7;
  grid-row: 1 / -1;
  align-self: center;
  justify-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: auto;
  min-width: 0;
  max-width: none;
  height: 32px;
  min-height: 32px;
  box-sizing: border-box;
  margin: 0 6px;
  padding: 0 6px;
  border: 1px solid var(--so-ink);
  border-radius: 999px;
  background: var(--so-ink);
  box-shadow: none;
  color: var(--so-panel);
  font-family: var(--so-font);
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  opacity: 1;
  cursor: pointer;
  transition: transform 0.35s var(--so-ease), background-color 0.25s, border-color 0.25s, color 0.25s;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card .admin-start-order-btn::after {
  content: '';
  position: absolute;
  inset: -7px -6px;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card .admin-start-order-btn:not(:disabled):active {
  transform: scale(0.97);
  transition-duration: 0.08s;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card .admin-start-order-btn.is-next {
  box-shadow: var(--so-sh1);
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card .admin-start-order-btn.is-resume {
  border-color: var(--so-line2);
  background: transparent;
  color: var(--so-ink);
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card .admin-start-order-btn.is-reclaim,
html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card .admin-start-order-btn.is-arrangement-retry:not(:disabled) {
  border-color: var(--so-amber);
  background: transparent;
  color: var(--so-amber);
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card .admin-start-order-btn.is-instant-action:not(:disabled) {
  border-color: var(--so-red);
  background: transparent;
  color: var(--so-red);
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card .admin-start-order-btn.is-shopee-action:not(:disabled) {
  border-color: var(--so-cyan);
  background: transparent;
  color: var(--so-cyan);
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card .admin-start-order-btn:disabled {
  border-color: var(--so-line);
  background: transparent;
  box-shadow: none;
  color: var(--so-ink3);
  opacity: 1;
  cursor: not-allowed;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card .admin-start-order-btn.is-cancellation:disabled {
  border-color: var(--so-orange);
  color: var(--so-orange);
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card .admin-start-order-btn svg {
  flex: none;
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Start / Start next carry no icon on phones. */
html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card .admin-start-order-btn[data-start-order]:not(.is-resume):not(.is-reclaim):not(.is-locked) > svg {
  display: none;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card .admin-start-order-btn .admin-order-action-spin {
  display: block;
  stroke-width: 2.8;
  animation: so-spin 0.9s linear infinite;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card .admin-start-order-btn span {
  overflow: visible;
  text-overflow: clip;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card .admin-start-order-btn:has(.admin-order-action-phone) :is(.admin-order-action-label, .admin-order-action-short) {
  display: none;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-order-card .admin-start-order-btn .admin-order-action-phone {
  display: inline;
}

/* Loading: seven quiet skeleton rows. */
html[data-device="phone"] .is-store-home .admin-store-home .admin-board-loading {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 6px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-board-loading strong {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-board-loading .admin-loading-worm {
  display: none;
}

html[data-device="phone"] .admin-board-skeletons {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

html[data-device="phone"] .admin-board-skeletons i {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 62px;
  padding: 0 14px;
  box-sizing: border-box;
  border-radius: 14px;
  background: var(--so-card);
  animation: so-breathe 1.6s ease-in-out infinite;
}

html[data-device="phone"] .admin-board-skeletons i:nth-child(2) { animation-delay: 90ms; }
html[data-device="phone"] .admin-board-skeletons i:nth-child(3) { animation-delay: 180ms; }
html[data-device="phone"] .admin-board-skeletons i:nth-child(4) { animation-delay: 270ms; }
html[data-device="phone"] .admin-board-skeletons i:nth-child(5) { animation-delay: 360ms; }
html[data-device="phone"] .admin-board-skeletons i:nth-child(6) { animation-delay: 450ms; }
html[data-device="phone"] .admin-board-skeletons i:nth-child(7) { animation-delay: 540ms; }

html[data-device="phone"] .admin-board-skeletons b {
  flex: none;
  width: 52px;
  height: 14px;
  border-radius: 6px;
  background: var(--so-card2);
}

html[data-device="phone"] .admin-board-skeletons b:nth-child(2) {
  flex: 1;
  height: 10px;
  border-radius: 5px;
}

html[data-device="phone"] .admin-board-skeletons b:nth-child(3) {
  width: 76px;
  height: 30px;
  border-radius: 999px;
}

/* Empty and error. */
html[data-device="phone"] .is-store-home .admin-store-home .admin-board-empty:not(.admin-board-loading):not(.admin-board-alert) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 360px;
  margin: 0;
  padding: 20px;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--so-ink2);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-board-empty > p {
  max-width: 260px;
  margin: 0;
  color: var(--so-ink2);
  font-size: 13.5px;
  text-wrap: balance;
  animation: so-rise 0.8s var(--so-ease) both;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-board-empty-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 22px;
  background: var(--so-card);
  box-shadow: var(--so-sh2);
  color: var(--so-ink2);
  animation: so-rise 0.8s var(--so-ease) both, so-ord-drift 6s ease-in-out 0.8s infinite;
}

html[data-device="phone"] .is-store-home .admin-store-home .admin-board-empty-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* A failed action: one amber line above the rows. */
html[data-device="phone"] .is-store-home .admin-store-home .admin-board-empty.admin-board-alert {
  position: static;
  display: flex;
  align-items: center;
  min-height: 48px;
  margin: 0 0 4px;
  padding: 0 14px;
  box-sizing: border-box;
  border: 1px solid var(--so-amber);
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
  color: var(--so-amber);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  animation: so-rise 0.5s var(--so-ease) both;
}

/* "Instant order" pill when an Instant row has scrolled away. */
html[data-device="phone"] body.is-store-home .admin-instant-jump {
  position: fixed;
  top: 168px;
  left: 50%;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 16px 0 12px;
  box-sizing: border-box;
  border: 1.5px solid var(--so-red);
  border-radius: 999px;
  background: var(--so-panel);
  box-shadow: var(--so-sh2);
  color: var(--so-red);
  font-family: var(--so-font);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  transform: translate3d(-50%, 0, 0);
  opacity: 1;
  cursor: pointer;
  animation: so-ord-pulse-red 1.4s ease-in-out infinite;
  transition: opacity 0.35s var(--so-ease), transform 0.55s var(--so-ease);
}

html[data-device="phone"] body.is-store-home .admin-instant-jump[hidden] {
  display: inline-flex;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -12px, 0);
  animation: none;
}

html[data-device="phone"] body.is-store-home .admin-instant-jump svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* "Install the Store Ops app" row. */
html[data-device="phone"] .is-store-home .admin-app-install-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  margin: 12px 12px 0;
  padding: 4px 2px 4px 10px;
  box-sizing: border-box;
  border: 1px solid var(--so-line2);
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
  color: var(--so-ink);
  animation: so-rise 0.6s var(--so-ease) both;
}

html[data-device="phone"] .is-store-home .admin-app-install-bar img {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

html[data-device="phone"] .is-store-home .admin-app-install-bar > span {
  display: block;
  flex: 1;
  min-width: 0;
}

html[data-device="phone"] .is-store-home .admin-app-install-bar strong {
  display: block;
  color: var(--so-ink);
  font-size: 13px;
  font-weight: 600;
}

html[data-device="phone"] .is-store-home .admin-app-install-bar small {
  display: block;
  color: var(--so-ink2);
  font-size: 11.5px;
  line-height: 1.35;
}

html[data-device="phone"] .is-store-home .admin-app-install-bar .admin-primary-btn {
  flex: none;
  height: 40px;
  min-height: 0;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--so-ink);
  color: var(--so-panel);
  font-size: 13px;
  font-weight: 600;
}

html[data-device="phone"] .is-store-home .admin-app-install-bar .admin-primary-btn[hidden] {
  display: none;
}

html[data-device="phone"] .is-store-home .admin-app-install-bar .admin-app-install-close {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--so-ink3);
  font-size: 20px;
  line-height: 1;
}

/* "Printed · Reprint" toast, just above the dock. */
html[data-device="phone"] .admin-print-toast {
  left: 14px;
  right: 14px;
  bottom: calc(90px + env(safe-area-inset-bottom));
  z-index: 9000;
  gap: 10px;
  width: auto;
  box-sizing: border-box;
  padding: 6px 6px 6px 8px;
  border: 1px solid var(--so-line2);
  border-radius: 22px;
  background: var(--so-card);
  box-shadow: var(--so-sh2);
  color: var(--so-ink);
  font-family: var(--so-font);
  transform: translate3d(0, 24px, 0);
  opacity: 0;
  transition: transform 0.7s var(--so-ease), opacity 0.4s var(--so-ease);
}

html[data-device="phone"] .admin-print-toast.is-visible {
  transform: none;
  opacity: 1;
}

html[data-device="phone"] .admin-print-toast-icon {
  width: 34px;
  height: 34px;
  background: var(--so-mints);
  color: var(--so-mint);
}

html[data-device="phone"] .admin-print-toast[data-tone="info"] .admin-print-toast-icon {
  box-sizing: border-box;
  border: 1.5px solid var(--so-line2);
  background: transparent;
  color: var(--so-cyan);
}

html[data-device="phone"] .admin-print-toast[data-tone="error"] .admin-print-toast-icon {
  background: var(--so-reds);
  color: var(--so-red);
}

html[data-device="phone"] .admin-print-toast-icon svg {
  width: 15px;
  height: 15px;
  stroke-width: 3;
}

html[data-device="phone"] .admin-print-toast-copy strong {
  color: var(--so-ink);
  font-family: var(--so-mono);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
}

html[data-device="phone"] .admin-print-toast-copy small {
  color: var(--so-ink2);
  font-size: 12px;
  line-height: 1.35;
}

html[data-device="phone"] .admin-print-toast-reprint {
  height: 40px;
  min-height: 40px;
  padding: 0 16px;
  background: var(--so-ink);
  color: var(--so-panel);
  font-family: var(--so-font);
  font-size: 13px;
  font-weight: 600;
}

html[data-device="phone"] .admin-print-toast-close {
  width: 40px;
  height: 40px;
  background: transparent;
  color: var(--so-ink2);
}

html[data-device="phone"] .admin-print-toast-close svg {
  width: 13px;
  height: 13px;
  stroke-width: 2.4;
}

/* ------------------------------------------------------------------ */
/* Phone bottom sheets: shared frame                                   */
/* ------------------------------------------------------------------ */
html[data-device="phone"] .admin-store-home :is(.admin-fulfillment-modal, .admin-shopee-arrangement-modal, .admin-remove-order-modal) {
  place-items: end center;
  padding: 8px;
}

html[data-device="phone"] .admin-store-home :is(.admin-fulfillment-modal, .admin-shopee-arrangement-modal, .admin-remove-order-modal) > .admin-modal-backdrop {
  background: var(--so-scrim);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  animation: so-fade 0.5s var(--so-ease) both;
}

html[data-device="phone"] .admin-store-home .admin-modal-card:is(.admin-fulfillment-card, .admin-shopee-arrangement-card, .admin-remove-order-card) {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 0;
  max-height: calc(100dvh - 16px);
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 30px;
  background: var(--so-panel);
  box-shadow: var(--so-sh2);
  color: var(--so-ink);
  font-family: var(--so-font);
  overflow: hidden;
  animation: so-sheet 0.55s var(--so-ease) both;
}

html[data-device="phone"] .admin-store-home .admin-modal-card:is(.admin-fulfillment-card, .admin-shopee-arrangement-card, .admin-remove-order-card)::before {
  content: '';
  flex: none;
  align-self: center;
  width: 36px;
  height: 4px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--so-line2);
}

html[data-device="phone"] .admin-store-home :is(.admin-fulfillment-card, .admin-shopee-arrangement-card, .admin-remove-order-card) .admin-panel-kicker {
  display: none;
}

/* Round 44 px close buttons with a cross. */
html[data-device="phone"] .admin-store-home :is(.admin-fulfillment-card, .admin-remove-order-card) > .admin-modal-head > .admin-ghost-btn,
html[data-device="phone"] .admin-store-home .admin-shopee-close-btn {
  position: absolute;
  top: 0;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 1px solid var(--so-line2);
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  color: var(--so-ink);
  font-size: 0;
  cursor: pointer;
}

html[data-device="phone"] .admin-store-home :is(.admin-fulfillment-card, .admin-remove-order-card) > .admin-modal-head > .admin-ghost-btn::before {
  content: '';
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 6 12 12M18 6 6 18'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 6 12 12M18 6 6 18'/%3E%3C/svg%3E") center / contain no-repeat;
}

html[data-device="phone"] .admin-store-home .admin-shopee-close-btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

/* ------------------------------------------------------------------ */
/* Phone: order preview and pick list (one sheet, two modes)          */
/* ------------------------------------------------------------------ */
html[data-device="phone"] .admin-store-home .admin-modal-card.admin-fulfillment-card {
  gap: 0;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card > .admin-modal-head {
  position: relative;
  display: block;
  flex: none;
  min-height: 44px;
  margin: 6px 0 0;
  padding: 0 72px 0 16px;
  border: 0;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card > .admin-modal-head > div {
  display: block;
  min-width: 0;
  text-align: left;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card > .admin-modal-head h3 {
  margin: 0;
  color: var(--so-ink);
  font-family: var(--so-mono);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-modal-source {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: var(--so-ink2);
  font-size: 12.5px;
  line-height: 1.4;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-modal-source i {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--modal-source-dot, var(--so-ink3));
}

/* Pick mode: "Pick List" is the title; the ID and source sit under it. */
html[data-device="phone"] .admin-store-home .admin-fulfillment-modal[data-mode="pick"] .admin-fulfillment-card > .admin-modal-head .admin-panel-kicker {
  display: block;
  margin: 0;
  color: var(--so-ink);
  font-family: var(--so-font);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-transform: none;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-modal[data-mode="pick"] .admin-fulfillment-card > .admin-modal-head > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 9px;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-modal[data-mode="pick"] .admin-fulfillment-card > .admin-modal-head .admin-panel-kicker {
  flex: 1 0 100%;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-modal[data-mode="pick"] .admin-fulfillment-card > .admin-modal-head h3 {
  color: var(--so-ink3);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-modal[data-mode="pick"] .admin-fulfillment-card .admin-modal-source {
  gap: 6px;
  font-size: 12px;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-modal[data-mode="pick"] .admin-fulfillment-card .admin-modal-source i {
  width: 6px;
  height: 6px;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card > :is(.admin-order-preview, .admin-quiz-stage):not([hidden]) {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  margin: 0;
  padding: 0 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-sheet-body {
  display: block;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-summary {
  display: block;
  margin: 0;
  padding: 18px 0 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: so-rise 0.6s var(--so-ease) 0.08s both;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-big-deadline {
  display: block;
  color: var(--so-ink);
  font-family: var(--so-font);
  font-size: 60px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 0.95;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-big-deadline small {
  margin-left: 1px;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-deadline-label {
  display: block;
  margin-top: 7px;
  color: var(--so-ink3);
  font-size: 13px;
  font-weight: 500;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-summary.is-deadline-urgent :is(.admin-phone-big-deadline, .admin-phone-deadline-label) {
  color: var(--so-red);
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-facts {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-fact {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  margin: 0;
  padding: 9px 0;
  box-sizing: border-box;
  border: 0;
  border-top: 1px solid var(--so-line);
  border-radius: 0;
  background: transparent;
  color: var(--so-ink);
  animation: so-rise 0.5s var(--so-ease) both;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-fact:nth-child(1) { animation-delay: 140ms; }
html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-fact:nth-child(2) { animation-delay: 185ms; }
html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-fact:nth-child(3) { animation-delay: 230ms; }
html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-fact:nth-child(4) { animation-delay: 275ms; }
html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-fact:nth-child(n+5) { animation-delay: 320ms; }

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-fact .admin-phone-icon {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--so-ink3);
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-fact strong {
  flex: 1;
  min-width: 0;
  color: inherit;
  font-family: var(--so-font);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-fact.is-mono strong {
  font-family: var(--so-mono);
  font-size: 12.5px;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-fact.is-alert,
html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-fact.is-alert .admin-phone-icon {
  color: var(--so-red);
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0 6px;
  border-top: 1px solid var(--so-line);
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-section-head .admin-phone-section {
  margin: 0;
  padding: 0;
  color: var(--so-ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-section-head span {
  color: var(--so-ink3);
  font-family: var(--so-mono);
  font-size: 12px;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-items {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0 0 4px;
  list-style: none;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  margin: 0;
  padding: 6px 0;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  background: transparent;
  animation: so-rise 0.5s var(--so-ease) 0.35s both;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-qty {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 30px;
  padding: 0 8px;
  box-sizing: border-box;
  border: 1px solid var(--so-line2);
  border-radius: 9px;
  background: transparent;
  color: var(--so-ink);
  font-family: var(--so-mono);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-item > span {
  display: block;
  flex: 1;
  min-width: 0;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-item strong {
  display: block;
  color: var(--so-ink);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-item small {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 6px;
  color: var(--so-ink3);
  font-family: var(--so-mono);
  font-size: 11.5px;
  line-height: 1.5;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-item .admin-phone-extra {
  color: var(--so-ink2);
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-item .admin-phone-extra::before {
  content: '·';
  margin-right: 6px;
  color: var(--so-ink3);
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-preview-empty {
  margin: 0;
  padding: 14px 0 18px;
  border: 0;
  color: var(--so-ink3);
  font-size: 13px;
}

/* The one main action, at the bottom of the sheet. */
html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-action,
html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-quiz-stage > .admin-modal-actions {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin: auto 0 0;
  padding: 10px 0 16px;
  border: 0;
  background: var(--so-panel);
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-action small {
  margin: 0;
  padding: 0 8px;
  color: var(--so-ink2);
  font-size: 12.5px;
  line-height: 1.4;
  text-align: center;
  text-wrap: balance;
  animation: so-rise 0.45s var(--so-ease) 0.35s both;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-action small.is-cancellation {
  color: var(--so-orange);
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card :is(.admin-preview-start, .admin-next-btn) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  min-height: 52px;
  margin: 0;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--so-ink);
  box-shadow: none;
  color: var(--so-panel);
  font-family: var(--so-font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-next-btn {
  gap: 10px;
  font-size: 15.5px;
  font-weight: 650;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card :is(.admin-preview-start, .admin-next-btn):disabled {
  border: 1px solid var(--so-line);
  background: transparent;
  color: var(--so-ink3);
  opacity: 1;
  cursor: not-allowed;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-preview-start svg {
  flex: none;
  color: inherit;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-preview-start:disabled svg {
  width: 15px;
  height: 15px;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-next-btn:not(:disabled)::after {
  content: '';
  flex: none;
  width: 17px;
  height: 17px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Pick list: units to grab, the deadline, the handover, then product cards. */
html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-order-summary {
  display: block;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-pick-stats {
  display: flex;
  align-items: flex-end;
  gap: 28px;
  padding: 16px 0 14px;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-pick-stats > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
  animation: so-rise 0.6s var(--so-ease) 60ms both;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-pick-stats > span + span {
  animation-delay: 100ms;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-pick-stats b {
  color: var(--so-ink);
  font-size: 30px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-phone-pick-stats small {
  color: var(--so-ink3);
  font-size: 12px;
  white-space: nowrap;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-pick-list {
  display: block;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-pick-list .admin-phone-items {
  gap: 6px;
  padding: 6px 0 4px;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-pick-list .admin-phone-item {
  gap: 14px;
  min-height: 64px;
  padding: 0 14px 0 10px;
  border-radius: 14px;
  background: var(--so-card);
  animation: so-rise 0.55s var(--so-ease) 0.17s both;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-pick-list .admin-phone-item:nth-child(2) { animation-delay: 225ms; }
html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-pick-list .admin-phone-item:nth-child(n+3) { animation-delay: 280ms; }

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-pick-list .admin-phone-qty {
  min-width: 52px;
  height: 44px;
  padding: 0 10px;
  border-radius: 12px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

html[data-device="phone"] .admin-store-home .admin-fulfillment-card .admin-pick-list .admin-phone-item strong {
  font-size: 15.5px;
  letter-spacing: -0.01em;
}

/* ------------------------------------------------------------------ */
/* Phone: arrange shipment and remove order sheets                     */
/* ------------------------------------------------------------------ */
html[data-device="phone"] .admin-store-home .admin-modal-card:is(.admin-shopee-arrangement-card, .admin-remove-order-card) {
  gap: 14px;
  padding: 0 16px 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

html[data-device="phone"] .admin-store-home .admin-shopee-arrangement-head,
html[data-device="phone"] .admin-store-home .admin-remove-order-card > .admin-modal-head {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 44px;
  margin: -4px 0 0;
  padding: 0 60px 0 0;
  border: 0;
}

html[data-device="phone"] .admin-store-home .admin-shopee-arrangement-heading {
  display: block;
  flex: 1;
  min-width: 0;
}

html[data-device="phone"] .admin-store-home .admin-shopee-arrangement-hero-icon,
html[data-device="phone"] .admin-store-home .admin-shopee-arrangement-intro,
html[data-device="phone"] .admin-store-home .admin-shopee-arrangement-group > legend,
html[data-device="phone"] .admin-store-home .admin-shopee-option-type,
html[data-device="phone"] .admin-store-home .admin-shopee-option-meta svg,
html[data-device="phone"] .admin-store-home .admin-shopee-secure-note,
html[data-device="phone"] .admin-store-home .admin-shopee-arrangement-order svg {
  display: none;
}

html[data-device="phone"] .admin-store-home :is(.admin-shopee-arrangement-card, .admin-remove-order-card) h3 {
  margin: 0;
  color: var(--so-ink);
  font-family: var(--so-font);
  font-size: 20px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

html[data-device="phone"] .admin-store-home .admin-shopee-arrangement-order {
  display: block;
  margin: 0;
  color: var(--so-ink2);
  font-size: 0;
}

html[data-device="phone"] .admin-store-home .admin-shopee-arrangement-order strong {
  margin: 0;
  color: var(--so-ink2);
  font-family: var(--so-mono);
  font-size: 12px;
  font-weight: 400;
}

html[data-device="phone"] .admin-store-home .admin-shopee-close-btn {
  top: 0;
  right: 0;
}

html[data-device="phone"] .admin-store-home .admin-remove-order-card > .admin-modal-head > .admin-ghost-btn {
  top: 0;
  right: 0;
}

html[data-device="phone"] .admin-store-home .admin-shopee-arrangement-options {
  display: block;
  margin: 0;
  padding: 0;
}

html[data-device="phone"] .admin-store-home .admin-shopee-arrangement-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

html[data-device="phone"] .admin-store-home .admin-shopee-arrangement-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  box-sizing: border-box;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--so-line);
  border-radius: 20px;
  background: var(--so-card);
  box-shadow: none;
  color: var(--so-ink);
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}

html[data-device="phone"] .admin-store-home .admin-shopee-arrangement-option:has(input:checked) {
  border-color: var(--so-cyan);
  background: var(--so-cyans);
  box-shadow: 0 0 0 3px var(--so-cyans);
}

html[data-device="phone"] .admin-store-home .admin-shopee-arrangement-option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

html[data-device="phone"] .admin-store-home .admin-shopee-option-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: var(--so-card2);
  box-shadow: none;
  color: var(--so-ink2);
}

html[data-device="phone"] .admin-store-home .admin-shopee-option-icon.is-pickup {
  background: var(--so-cyans);
  color: var(--so-cyan);
}

html[data-device="phone"] .admin-store-home .admin-shopee-option-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-device="phone"] .admin-store-home .admin-shopee-option-copy {
  display: block;
  flex: 1;
  min-width: 0;
}

html[data-device="phone"] .admin-store-home .admin-shopee-option-copy strong {
  display: block;
  color: var(--so-ink);
  font-size: 14px;
  font-weight: 600;
}

html[data-device="phone"] .admin-store-home .admin-shopee-option-meta {
  display: block;
  color: var(--so-ink2);
  font-size: 12px;
}

html[data-device="phone"] .admin-store-home .admin-shopee-option-check {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  box-sizing: border-box;
  border: 1.5px solid var(--so-line2);
  border-radius: 50%;
  background: transparent;
  color: #ffffff;
  transition: background-color 0.3s, border-color 0.3s;
}

html[data-device="phone"] .admin-store-home .admin-shopee-option-check svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.25s, transform 0.4s var(--so-spring);
}

html[data-device="phone"] .admin-store-home .admin-shopee-arrangement-option:has(input:checked) .admin-shopee-option-check {
  border-color: var(--so-cyan);
  background: var(--so-cyan);
}

html[data-device="phone"] .admin-store-home .admin-shopee-arrangement-option:has(input:checked) .admin-shopee-option-check svg {
  opacity: 1;
  transform: none;
}

html[data-device="phone"] .admin-store-home .admin-shopee-arrangement-options > .admin-preview-empty {
  margin: 0;
  padding: 24px 12px;
  border-radius: 18px;
  background: var(--so-card);
  color: var(--so-ink3);
  font-size: 13px;
  text-align: center;
}

html[data-device="phone"] .admin-store-home .admin-shopee-arrangement-actions {
  display: flex;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

html[data-device="phone"] .admin-store-home .admin-shopee-arrangement-actions > div {
  display: flex;
  flex: 1;
  gap: 8px;
}

html[data-device="phone"] .admin-store-home :is(.admin-shopee-arrangement-card, .admin-remove-order-card) :is(.admin-ghost-btn, .admin-primary-btn):not(.admin-modal-head > .admin-ghost-btn) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  min-height: 0;
  padding: 0 16px;
  border-radius: 999px;
  box-shadow: none;
  font-family: var(--so-font);
  font-size: 14px;
  cursor: pointer;
}

html[data-device="phone"] .admin-store-home :is(.admin-shopee-arrangement-card, .admin-remove-order-card) .admin-ghost-btn:not(.admin-modal-head > .admin-ghost-btn) {
  flex: 1;
  border: 1px solid var(--so-line2);
  background: transparent;
  color: var(--so-ink);
  font-weight: 500;
}

html[data-device="phone"] .admin-store-home .admin-shopee-arrangement-card .admin-primary-btn.admin-shopee-arrangement-submit {
  flex: 2;
  border: 0;
  background: var(--so-cyan);
  color: #03222a;
  font-weight: 650;
}

html[data-device="phone"][data-admin-theme='light'] .admin-store-home .admin-shopee-arrangement-card .admin-primary-btn.admin-shopee-arrangement-submit {
  color: #ffffff;
}

html[data-device="phone"] .admin-store-home .admin-shopee-arrangement-card .admin-primary-btn.admin-shopee-arrangement-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

html[data-device="phone"] .admin-store-home .admin-shopee-arrangement-submit svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-device="phone"] .admin-store-home :is(.admin-shopee-arrangement-card, .admin-remove-order-card) .admin-form-error {
  margin: 0;
  color: var(--so-red);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

html[data-device="phone"] .admin-store-home :is(.admin-shopee-arrangement-card, .admin-remove-order-card) .admin-form-error[hidden] {
  display: none;
}

/* Remove order on a phone: the same parts, in a sheet. */
html[data-device="phone"] .admin-store-home .admin-remove-order-card > .admin-reprint-intro {
  margin: 0;
  color: var(--so-ink);
  font-size: 13.5px;
  line-height: 1.45;
}

html[data-device="phone"] .admin-store-home .admin-remove-order-card [data-remove-order-stock-audit] {
  color: var(--so-ink2);
  font-size: 12.5px;
}

html[data-device="phone"] .admin-store-home .admin-remove-order-card [data-remove-order-stock-audit]:empty {
  display: none;
}

html[data-device="phone"] .admin-store-home .admin-remove-stock-choice {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

html[data-device="phone"] .admin-store-home .admin-remove-stock-choice legend {
  margin: 0 0 8px;
  padding: 0;
  color: var(--so-ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

html[data-device="phone"] .admin-store-home .admin-remove-stock-option {
  align-items: center;
  padding: 12px;
  border: 1px solid var(--so-line);
  border-radius: 18px;
  background: var(--so-card);
  box-shadow: none;
}

html[data-device="phone"] .admin-store-home .admin-remove-stock-option:has(input:checked) {
  border-color: var(--so-ink2);
  box-shadow: none;
}

html[data-device="phone"] .admin-store-home .admin-remove-stock-option small {
  color: var(--so-ink2);
  font-size: 12px;
  font-weight: 400;
}

html[data-device="phone"] .admin-store-home .admin-remove-order-card .admin-reprint-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

html[data-device="phone"] .admin-store-home .admin-remove-order-card .admin-reprint-field > span {
  color: var(--so-ink2);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

html[data-device="phone"] .admin-store-home .admin-remove-order-card :is(.admin-settings-input, .admin-remove-sku-input) {
  width: 100%;
  height: 48px;
  box-sizing: border-box;
  padding: 0 18px;
  border: 1px solid var(--so-line2);
  border-radius: 999px;
  background: var(--so-card);
  color: var(--so-ink);
  font-size: 15px;
}

html[data-device="phone"] .admin-store-home .admin-remove-order-card > .admin-modal-actions {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 8px;
  margin: 0;
  padding: 0;
}

html[data-device="phone"] .admin-store-home .admin-remove-order-card > .admin-modal-actions > button {
  flex: 1;
  height: 50px;
  min-height: 50px;
}

html[data-device="phone"] .admin-store-home .admin-remove-order-card > .admin-modal-actions > .admin-remove-order-submit {
  flex: 2;
}

html[data-device="phone"] .admin-store-home .admin-remove-order-card :is(.admin-reprint-intro, .admin-remove-sku-mapping-head small, .admin-remove-sku-line small) {
  font-weight: 400;
}

html[data-device="phone"] .admin-store-home .admin-remove-order-card .admin-remove-sku-mapping {
  gap: 10px;
  padding: 14px;
  border: 0;
  border-radius: 20px;
  background: var(--so-card2);
}

html[data-device="phone"] .admin-store-home .admin-remove-order-card .admin-remove-sku-line {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 10px 12px;
  border: 0;
  border-radius: 14px;
  background: var(--so-card);
}

html[data-device="phone"] .admin-store-home .admin-remove-order-card .admin-remove-sku-line > span strong {
  font-family: var(--so-mono);
  font-size: 12.5px;
}

html[data-device="phone"] .admin-store-home .admin-remove-order-card .admin-remove-sku-field span {
  color: var(--so-ink3);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

html[data-device="phone"] .admin-store-home .admin-remove-order-card .admin-remove-sku-input {
  height: 44px;
  background: var(--so-card2);
  font-family: var(--so-mono);
  font-size: 13px;
}

html[data-device="phone"] .admin-store-home .admin-remove-order-card .admin-remove-sku-input::placeholder {
  font-family: var(--so-font);
}

html[data-device="phone"] .admin-store-home .admin-remove-order-card .admin-remove-order-submit {
  flex: 2;
  border: 0;
  background: var(--so-danger-fill);
  color: #ffffff;
  font-weight: 650;
}

/* ------------------------------------------------------------------ */
/* Phone: Reprint is its own page (PhoneReprint); the dock stays above */
/* ------------------------------------------------------------------ */
html[data-device="phone"] .admin-store-home .admin-reprint-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: block;
  padding: 0;
  background: var(--so-panel);
  animation: so-fade 0.3s var(--so-ease) both;
}

html[data-device="phone"] .admin-store-home .admin-reprint-modal[hidden] {
  display: none;
}

html[data-device="phone"] .admin-store-home .admin-reprint-modal > .admin-modal-backdrop {
  display: none;
}

html[data-device="phone"] .admin-store-home .admin-modal-card.admin-reprint-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 0;
  max-height: none;
  box-sizing: border-box;
  margin: 0;
  padding: 18px 14px 158px;
  border: 0;
  border-radius: 0;
  background: var(--so-panel);
  box-shadow: none;
  color: var(--so-ink);
  font-family: var(--so-font);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

html[data-device="phone"] .admin-store-home .admin-reprint-card > .admin-modal-head,
html[data-device="phone"] .admin-store-home .admin-reprint-card > .admin-reprint-intro,
html[data-device="phone"] .admin-store-home .admin-reprint-card .admin-reprint-help,
html[data-device="phone"] .admin-store-home .admin-reprint-result-heading small {
  display: none;
}

html[data-device="phone"] .admin-store-home .admin-reprint-card .admin-reprint-field {
  position: relative;
  display: flex;
  align-items: center;
  flex: none;
  margin: 0;
  animation: so-rise 0.55s var(--so-ease) both;
}

html[data-device="phone"] .admin-store-home .admin-reprint-card .admin-reprint-field > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

html[data-device="phone"] .admin-store-home .admin-reprint-card .admin-reprint-field::after {
  content: '';
  position: absolute;
  top: 17px;
  left: 17px;
  width: 18px;
  height: 18px;
  background: var(--so-ink3);
  pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.5 11a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0zM20 20l-4.2-4.2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.5 11a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0zM20 20l-4.2-4.2'/%3E%3C/svg%3E") center / contain no-repeat;
}

html[data-device="phone"] .admin-store-home .admin-reprint-card .admin-settings-input {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 52px;
  box-sizing: border-box;
  padding: 0 50px 0 46px;
  border: 1px solid var(--so-line2);
  border-radius: 999px;
  background: var(--so-card);
  box-shadow: none;
  color: var(--so-ink);
  font-family: var(--so-font);
  font-size: 15px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

html[data-device="phone"] .admin-store-home .admin-reprint-card .admin-settings-input:focus {
  border-color: var(--so-ink3);
  outline: none;
  box-shadow: 0 0 0 4px var(--so-line);
}

html[data-device="phone"] .admin-store-home .admin-reprint-card .admin-settings-input::placeholder {
  color: var(--so-ink3);
}

html[data-device="phone"] .admin-store-home .admin-reprint-clear {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--so-ink3);
  cursor: pointer;
  animation: so-pop 0.3s var(--so-ease) both;
}

html[data-device="phone"] .admin-store-home .admin-reprint-clear[hidden] {
  display: none;
}

html[data-device="phone"] .admin-store-home .admin-reprint-clear svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}

html[data-device="phone"] .admin-store-home .admin-reprint-card .admin-form-error {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid var(--so-red);
  border-radius: 14px;
  color: var(--so-red);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-wrap: balance;
  animation: so-rise 0.35s var(--so-ease) both;
}

html[data-device="phone"] .admin-store-home .admin-reprint-card .admin-form-error[hidden] {
  display: none;
}

html[data-device="phone"] .admin-store-home .admin-reprint-card .admin-form-error::before {
  content: '!';
  display: grid;
  place-items: center;
  flex: none;
  width: 16px;
  font-weight: 700;
}

html[data-device="phone"] .admin-store-home .admin-reprint-results {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
  max-height: none;
  margin: 2px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

/* Prompt: an icon tile, a lead line and a quieter second line. */
html[data-device="phone"] .admin-store-home .admin-reprint-results > .admin-empty {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-content: center;
  min-height: 300px;
  margin: 0;
  padding: 0 24px;
  border: 0;
  background: transparent;
  text-align: center;
  animation: so-rise 0.6s var(--so-ease) both;
}

html[data-device="phone"] .admin-store-home .admin-reprint-results > .admin-empty::before {
  content: '';
  grid-row: 1;
  grid-column: 1;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border-radius: 22px;
  background: var(--so-card);
  box-shadow: var(--so-sh2);
  animation: so-ord-drift 6s ease-in-out infinite;
}

html[data-device="phone"] .admin-store-home .admin-reprint-results > .admin-empty::after {
  content: '';
  grid-row: 1;
  grid-column: 1;
  align-self: start;
  width: 28px;
  height: 28px;
  margin-top: 18px;
  background: var(--so-ink2);
  pointer-events: none;
  animation: so-ord-drift 6s ease-in-out infinite;
  -webkit-mask: var(--reprint-prompt-icon) center / contain no-repeat;
  mask: var(--reprint-prompt-icon) center / contain no-repeat;
  --reprint-prompt-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 9V5h10v4M7 17H6a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-1M8 14h8v6H8z'/%3E%3C/svg%3E");
}

html[data-device="phone"] .admin-store-home .admin-reprint-results > .admin-empty[data-prompt="none"]::after {
  --reprint-prompt-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.5 11a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0zM20 20l-4.2-4.2'/%3E%3C/svg%3E");
}

html[data-device="phone"] .admin-store-home .admin-reprint-results > .admin-empty[data-prompt="error"]::after {
  --reprint-prompt-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0zM12 7.5v5M12 16.5h.01'/%3E%3C/svg%3E");
}

html[data-device="phone"] .admin-store-home .admin-reprint-results > .admin-empty[data-prompt="searching"]::after {
  width: 26px;
  height: 26px;
  margin-top: 19px;
  --reprint-prompt-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M21 12a9 9 0 1 1-6.2-8.6'/%3E%3C/svg%3E");
  animation: so-spin 0.9s linear infinite;
}

html[data-device="phone"] .admin-store-home .admin-reprint-results > .admin-empty .admin-empty-lead {
  display: block;
  max-width: 280px;
  color: var(--so-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-wrap: balance;
}

html[data-device="phone"] .admin-store-home .admin-reprint-results > .admin-empty .admin-empty-more {
  display: block;
  max-width: 280px;
  margin-top: 3px;
  color: var(--so-ink3);
  font-size: 13px;
  line-height: 1.4;
  text-wrap: balance;
}

/* Matching customers, then the chosen customer's label orders. */
html[data-device="phone"] .admin-store-home .admin-reprint-result-heading {
  display: block;
  margin: 4px 0 4px;
  padding: 0 6px;
  animation: so-rise 0.45s var(--so-ease) both;
}

html[data-device="phone"] .admin-store-home .admin-reprint-result-heading strong {
  color: var(--so-ink3);
  font-family: var(--so-font);
  font-size: 12.5px;
  font-weight: 600;
}

html[data-device="phone"] .admin-store-home :is(.admin-reprint-profile-list, .admin-reprint-order-list) {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

html[data-device="phone"] .admin-store-home .admin-reprint-profile-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 62px;
  min-height: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 0 14px 0 12px;
  border: 0;
  border-radius: 14px;
  background: var(--so-card);
  box-shadow: none;
  color: var(--so-ink);
  text-align: left;
  cursor: pointer;
  animation: so-rise 0.5s var(--so-ease) backwards;
}

html[data-device="phone"] .admin-store-home .admin-reprint-profile-option::after {
  content: '';
  flex: none;
  width: 16px;
  height: 16px;
  background: var(--so-ink3);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

html[data-device="phone"] .admin-store-home :is(.admin-reprint-profile-option, .admin-reprint-order-option):nth-child(2) { animation-delay: 45ms; }
html[data-device="phone"] .admin-store-home :is(.admin-reprint-profile-option, .admin-reprint-order-option):nth-child(3) { animation-delay: 90ms; }
html[data-device="phone"] .admin-store-home :is(.admin-reprint-profile-option, .admin-reprint-order-option):nth-child(n+4) { animation-delay: 135ms; }

html[data-device="phone"] .admin-store-home .admin-reprint-profile-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--so-card2);
  color: var(--so-ink2);
  font-family: var(--so-font);
  font-size: 14px;
  font-weight: 650;
}

html[data-device="phone"] .admin-store-home .admin-reprint-profile-option > span:not(.admin-reprint-profile-avatar),
html[data-device="phone"] .admin-store-home .admin-reprint-selected-head > span {
  display: block;
  flex: 1;
  min-width: 0;
}

html[data-device="phone"] .admin-store-home .admin-reprint-profile-option strong {
  display: block;
  color: var(--so-ink);
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

html[data-device="phone"] .admin-store-home :is(.admin-reprint-profile-option, .admin-reprint-selected-head) small {
  display: block;
  color: var(--so-ink3);
  font-size: 12px;
  font-weight: 400;
  overflow-wrap: anywhere;
}

html[data-device="phone"] .admin-store-home .admin-reprint-profile-option em {
  flex: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--so-ink);
  font-family: var(--so-mono);
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

html[data-device="phone"] .admin-store-home .admin-reprint-selected-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 2px 0 8px;
  animation: so-rise 0.45s var(--so-ease) both;
}

html[data-device="phone"] .admin-store-home .admin-reprint-selected-head .admin-reprint-back {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  min-height: 0;
  padding: 0;
  border: 1px solid var(--so-line2);
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  color: var(--so-ink);
  font-size: 0;
  cursor: pointer;
}

html[data-device="phone"] .admin-store-home .admin-reprint-selected-head .admin-reprint-back::before {
  content: '';
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

html[data-device="phone"] .admin-store-home .admin-reprint-selected-head strong {
  display: block;
  color: var(--so-ink);
  font-family: var(--so-font);
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

html[data-device="phone"] .admin-store-home .admin-reprint-order-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    'id badge'
    'src time';
  align-content: center;
  align-items: center;
  column-gap: 10px;
  row-gap: 3px;
  width: 100%;
  height: 64px;
  min-height: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--so-card);
  box-shadow: none;
  color: var(--so-ink);
  text-align: left;
  cursor: pointer;
  animation: so-rise 0.5s var(--so-ease) backwards;
}

html[data-device="phone"] .admin-store-home .admin-reprint-order-option > span {
  display: contents;
}

html[data-device="phone"] .admin-store-home .admin-reprint-order-option strong {
  grid-area: id;
  min-width: 0;
  color: var(--so-ink);
  font-family: var(--so-mono);
  font-size: 13.5px;
  font-weight: 600;
}

html[data-device="phone"] .admin-store-home .admin-reprint-order-option small {
  grid-area: src;
  min-width: 0;
  margin: 0;
  color: var(--so-ink2);
  font-size: 12px;
  font-weight: 400;
}

html[data-device="phone"] .admin-store-home .admin-reprint-order-option time {
  grid-area: time;
  color: var(--so-ink3);
  font-size: 12px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

html[data-device="phone"] .admin-store-home .admin-reprint-order-option .admin-reprint-available {
  grid-area: badge;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  box-sizing: border-box;
  border: 1px solid var(--so-mint);
  border-radius: 6px;
  background: transparent;
  color: var(--so-mint);
  font-family: var(--so-font);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
}

html[data-device="phone"] .admin-store-home .admin-reprint-order-option.is-unavailable {
  border: 1px dashed var(--so-line2);
  background: transparent;
  opacity: 1;
}

html[data-device="phone"] .admin-store-home .admin-reprint-order-option.is-unavailable > * {
  opacity: 0.5;
}

html[data-device="phone"] .admin-store-home .admin-reprint-order-list > .admin-empty {
  display: grid;
  place-items: center;
  min-height: 200px;
  margin: 0;
  padding: 0 30px;
  color: var(--so-ink2);
  font-size: 13.5px;
  text-align: center;
  text-wrap: balance;
}

html[data-device="phone"] .admin-store-home .admin-reprint-card > .admin-modal-actions {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: calc(90px + env(safe-area-inset-bottom));
  z-index: 2;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  animation: so-rise 0.5s var(--so-ease) both;
}

html[data-device="phone"] .admin-store-home .admin-reprint-card > .admin-modal-actions .admin-primary-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  min-height: 0;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--so-ink);
  box-shadow: var(--so-sh1);
  color: var(--so-panel);
  font-family: var(--so-font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s;
}

html[data-device="phone"] .admin-store-home .admin-reprint-card > .admin-modal-actions .admin-primary-btn:disabled {
  border: 0;
  background: var(--so-ink);
  color: var(--so-panel);
  opacity: 0.6;
}

/* While the Printed toast shows on this page, it takes the button's place. */
html[data-device="phone"]:has(.admin-print-toast.is-visible) .admin-store-home .admin-reprint-card > .admin-modal-actions {
  display: none;
}

html[data-device="phone"] .admin-store-home .admin-reprint-card .admin-reprint-field:has(.admin-reprint-clear[hidden]) .admin-settings-input {
  padding-right: 18px;
}
