/* Direction: buoyant shipping desk — pale lavender-grey paper, pillowy white cards,
   one vivid violet reserved for waiting orders and the main button. */
/* Completed by the platform from the short form: both modes, every
   palette token, each text-on-ground pair at its floor. To restyle, write the
   short form again (the decisions in one :root) and it is completed again. */

:root {
  --canvas: #f0eff8;
  --surface: #ffffff;
  --surface-2: #f8f7fd;
  --border: #e3e1f1;
  --border-strong: #adaab8;
  --ink: #1e1b31;
  --muted: #65617e;
  --accent: #6d3df0;
  --accent-hover: #5d34cc;
  --accent-ink: #ffffff;
  --accent-text: #5a2cd8;
  --accent-strong: #4a21b6;
  --accent-soft: #ece6ff;
  --accent-border: #b59ff4;
  --success: #1d7a58;
  --success-ink: #ffffff;
  --success-soft: #d7e1e5;
  --success-strong: #1b7051;
  --warning: #96600f;
  --warning-ink: #ffffff;
  --warning-soft: #e5dedc;
  --warning-strong: #8a580e;
  --danger: #b0251d;
  --danger-ink: #ffffff;
  --danger-soft: #e8d7de;
  --danger-strong: #b0251d;
  --chart-1: #6d3df0;
  --chart-2: #e621a3;
  --chart-3: #883d0e;
  --chart-4: #8a8509;
  --chart-5: #006348;
  --chart-6: #0991ba;

  --x-ship: #276370;
  --x-ship-soft: #e2eff2;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --display-weight: 700;
  --display-tracking: -0.03em;
  --radius-card: 24px;
  --radius-btn: 999px;
  --radius-input: 14px;
  --card-pad: 1.35rem;
  --shadow-card: 0 22px 44px -28px rgb(30 27 49 / 0.30), 0 2px 6px -2px rgb(30 27 49 / 0.06);
  --font-mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-sans: "Inter", system-ui, sans-serif;
  --eyebrow-tracking: 0.08em;
}

html[data-theme="dark"] {
  --canvas: #090615;
  --surface: #221f2c;
  --surface-2: #151221;
  --border: #2b2936;
  --border-strong: #53515b;
  --ink: #f0eff8;
  --muted: #94929d;
  --accent: #6d3df0;
  --accent-hover: #835af2;
  --accent-ink: #ffffff;
  --accent-text: #9774f4;
  --accent-strong: #9774f4;
  --accent-soft: #1f1245;
  --accent-border: #361f78;
  --success: #1d7a58;
  --success-ink: #ffffff;
  --success-soft: #0d2024;
  --success-strong: #4f987c;
  --warning: #96600f;
  --warning-ink: #ffffff;
  --warning-soft: #281a14;
  --warning-strong: #ad8444;
  --danger: #b0251d;
  --danger-ink: #ffffff;
  --danger-soft: #2e0d17;
  --danger-strong: #c6635d;
  --chart-1: #7245f7;
  --chart-2: #ed2daa;
  --chart-3: #cb5a0b;
  --chart-4: #908b18;
  --chart-5: #1b9671;
  --chart-6: #1a97c0;
}

/* Packwell motion: pages glide in, statuses pop, rows lift. */

@keyframes pw-glide {
  from { transform: translateY(18px); }
  to { transform: translateY(0); }
}

@keyframes pw-pop {
  0% { transform: scale(0.82); }
  60% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

@keyframes pw-slide {
  from { transform: translateX(-10px); }
  to { transform: translateX(0); }
}

.pw-glide {
  animation: pw-glide 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pw-pop {
  animation: pw-pop 0.34s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.pw-slide {
  animation: pw-slide 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pw-row {
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease;
}

.pw-row:hover,
.pw-row:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 30px 50px -28px rgb(30 27 49 / 0.38);
}

.pw-sheen {
  background:
    radial-gradient(1100px 440px at 10% -12%, var(--accent-soft), transparent 70%),
    radial-gradient(900px 400px at 96% -4%, var(--surface), transparent 65%);
}

/* Channel ring: shipped share of this week's orders */
.pw-ring {
  position: relative;
  width: 86px;
  height: 86px;
  flex: none;
  border-radius: 999px;
  background: conic-gradient(
    var(--accent) calc(var(--pw-pct, 0) * 1%),
    var(--accent-soft) 0
  );
  transition: background 0.4s ease;
}

.pw-ring-hole {
  position: absolute;
  inset: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--surface);
  line-height: 1.05;
}

html.reduced-motion .pw-glide,
html.reduced-motion .pw-pop,
html.reduced-motion .pw-slide {
  animation: none;
}

html.reduced-motion .pw-row:hover {
  transform: none;
}
