:root {
  --bg: #f4f6f8;
  --panel: #ffffff;
  --ink: #1f2933;
  --muted: #667085;
  --line: #d9e0e7;
  --brand: #2166a7;
  --brand-dark: #164e81;
  --green: #157f5b;
  --orange: #b76118;
  --red: #bb2d3b;
  --cyan: #0f7897;
  --shadow: 0 12px 30px rgba(26, 43, 64, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 1120px;
  color: var(--ink);
  background: var(--bg);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 14px;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background:
    linear-gradient(135deg, rgba(33, 102, 167, 0.94), rgba(15, 120, 151, 0.9)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='360' viewBox='0 0 560 360'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.16'%3E%3Cpath d='M30 78h500M30 156h500M30 234h500M30 312h500M72 26v308M176 26v308M280 26v308M384 26v308M488 26v308'/%3E%3C/g%3E%3Cg fill='%23ffffff' fill-opacity='.18'%3E%3Crect x='74' y='82' width='84' height='44' rx='5'/%3E%3Crect x='196' y='160' width='132' height='44' rx='5'/%3E%3Crect x='354' y='238' width='104' height='44' rx='5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
}

.login-copy {
  padding: 72px 84px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.system-name {
  margin: 0 0 18px;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0;
}

.system-subtitle {
  width: 520px;
  max-width: 100%;
  margin: 0;
  line-height: 1.9;
  font-size: 16px;
  opacity: 0.92;
}

.login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}

.login-card {
  width: 420px;
  padding: 36px;
  background: var(--panel);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.login-card h2 {
  margin: 0 0 6px;
  font-size: 24px;
}

.login-card p {
  margin: 0 0 28px;
  color: var(--muted);
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.field label {
  color: #344054;
  font-weight: 600;
}

.field input,
.field select,
.field textarea,
.toolbar input,
.toolbar select {
  width: 100%;
  height: 38px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  outline: none;
}

.field textarea {
  height: 84px;
  padding-top: 10px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.toolbar input:focus,
.toolbar select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(33, 102, 167, 0.12);
}

.primary,
.secondary,
.ghost,
.danger {
  min-height: 36px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
}

.primary {
  background: var(--brand);
  color: #fff;
}

.primary:hover {
  background: var(--brand-dark);
}

.secondary {
  background: #eef4fb;
  color: var(--brand-dark);
  border-color: #c8d9eb;
}

.ghost {
  background: #fff;
  color: #344054;
  border-color: var(--line);
}

.danger {
  background: #fff5f5;
  color: var(--red);
  border-color: #f0b8bd;
}

button:disabled,
.locked-paid {
  cursor: not-allowed;
  opacity: 0.62;
}

.locked-paid.primary,
.locked-paid.secondary,
.locked-paid.ghost {
  background: #eef2f6;
  color: #667085;
  border-color: #d8e0e8;
}

.ai-locked-notice {
  min-height: 62px;
  margin-bottom: 14px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid #f0d49b;
  border-radius: 8px;
  background: #fffaf0;
}

.ai-locked-notice strong {
  color: #9a5b12;
}

.ai-locked-notice span {
  color: #7a5a2a;
  line-height: 1.55;
}

.error-text {
  min-height: 20px;
  margin-top: 12px;
  color: var(--red);
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 216px 1fr;
  grid-template-rows: 56px 1fr;
}

.topbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: #1f3246;
  color: #fff;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: #2f80c7;
  color: #fff;
  font-weight: 800;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pill {
  padding: 5px 9px;
  border-radius: 999px;
  color: #eaf3fb;
  background: rgba(255, 255, 255, 0.11);
}

.api-indicator {
  min-height: 30px;
  padding: 5px 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #eaf3fb;
}

.api-indicator i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f5b64a;
}

.api-indicator.online i {
  background: #4bd39b;
  box-shadow: 0 0 0 3px rgba(75, 211, 155, 0.16);
}

.lang-toggle {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
}

.sidebar {
  background: #26384a;
  color: #dbe5ef;
  padding: 14px 10px 18px;
}

.workspace-label {
  margin: 0 4px 14px;
  padding: 11px 10px;
  display: grid;
  gap: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.workspace-label strong {
  color: #fff;
  font-size: 13px;
}

.workspace-label span {
  color: #9fb2c5;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-section + .nav-section {
  margin-top: 14px;
}

.nav-section-label {
  display: block;
  padding: 0 10px 6px;
  color: #879daf;
  font-size: 11px;
  font-weight: 700;
}

.nav-button {
  width: 100%;
  height: 40px;
  margin: 2px 0;
  padding: 0 10px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.nav-button:hover,
.nav-button.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.nav-button.active {
  box-shadow: inset 3px 0 0 #4ba3df;
}

.nav-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 11px;
  font-weight: 800;
}

.content {
  min-width: 0;
  padding: 18px 22px 28px;
}

.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.page-title {
  margin: 0 0 6px;
  font-size: 22px;
}

.page-subtitle {
  margin: 0;
  color: var(--muted);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px;
}

.stat-label {
  color: var(--muted);
  margin-bottom: 9px;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
}

.stat-note {
  margin-top: 8px;
  color: var(--green);
  font-size: 12px;
}

.workspace-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 14px;
}

.ops-hero {
  min-height: 150px;
  margin-bottom: 14px;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  border: 1px solid #c6d8e9;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(235, 246, 250, 0.96)),
    linear-gradient(90deg, rgba(33, 102, 167, 0.18), rgba(21, 127, 91, 0.14));
}

.hero-kicker {
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
}

.ops-hero h2 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.25;
}

.ops-hero p {
  width: 720px;
  max-width: 100%;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.quick-action {
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.quick-action strong {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-dark);
  font-size: 16px;
}

.quick-action span {
  color: var(--muted);
  line-height: 1.5;
}

.section-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
}

.operations-command {
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: 6px;
  background: #fff;
}

.operations-command-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.operations-command h2,
.section-intro h2 {
  margin: 0 0 6px;
  font-size: 23px;
  line-height: 1.35;
}

.operations-command p,
.section-intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.operations-metric-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
}

.operations-metric {
  min-width: 0;
  min-height: 92px;
  padding: 12px 14px;
  display: grid;
  align-content: center;
  gap: 4px;
  border: 0;
  border-right: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.operations-metric:last-child {
  border-right: 0;
}

.operations-metric:hover {
  background: #f7fafc;
}

.operations-metric span {
  color: var(--muted);
  font-size: 12px;
}

.operations-metric strong {
  font-size: 28px;
  line-height: 1.1;
}

.operations-metric small {
  color: #748191;
  line-height: 1.35;
}

.operations-metric.danger strong {
  color: var(--red);
}

.task-queue-panel,
.recent-orders-panel,
.dashboard-core-grid {
  margin-bottom: 14px;
}

.panel-caption {
  margin-left: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.dashboard-core-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 14px;
}

.dashboard-core-grid > .panel {
  margin-bottom: 0;
}

.status-overview-list {
  display: grid;
  gap: 6px;
}

.status-overview-item {
  min-height: 54px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.status-overview-item:hover {
  border-color: #9ebbd1;
  background: #f7fafc;
}

.status-overview-item span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.status-overview-item small {
  color: var(--muted);
  font-weight: 400;
}

.status-overview-item b {
  min-width: 36px;
  color: var(--brand-dark);
  font-size: 22px;
  text-align: right;
}

.status-overview-item.bad b {
  color: var(--red);
}

.section-intro {
  margin-bottom: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  background: #fff;
}

.tool-drawer {
  margin: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.tool-drawer > summary {
  min-height: 52px;
  padding: 10px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.tool-drawer > summary::-webkit-details-marker {
  display: none;
}

.tool-drawer > summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--brand);
  font-size: 20px;
}

.tool-drawer[open] > summary::after {
  content: "−";
}

.tool-drawer > summary span {
  font-weight: 700;
}

.tool-drawer > summary small {
  margin-left: auto;
  color: var(--muted);
}

.tool-drawer > .panel,
.tool-drawer-content > .panel {
  margin-bottom: 12px;
}

.tool-drawer-content {
  padding-top: 2px;
}

.client-command-hero {
  position: relative;
  min-height: 250px;
  margin-bottom: 14px;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(33, 102, 167, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(11, 28, 43, 0.96), rgba(22, 63, 67, 0.94) 52%, rgba(43, 54, 40, 0.94)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 96px);
  color: #f8fbfd;
  box-shadow: 0 22px 48px rgba(17, 36, 52, 0.22);
}

.client-command-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(45, 212, 191, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 34%);
  pointer-events: none;
}

.command-copy,
.command-panel {
  position: relative;
  z-index: 1;
}

.command-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.command-copy .hero-kicker {
  color: #7dd3fc;
}

.command-copy h2 {
  width: 760px;
  max-width: 100%;
  margin: 0 0 12px;
  font-size: 38px;
  line-height: 1.18;
  color: #fff;
}

.command-copy p {
  width: 760px;
  max-width: 100%;
  margin: 0;
  color: rgba(242, 248, 252, 0.8);
  line-height: 1.85;
}

.command-badges {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.command-badges span {
  min-height: 38px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(248, 251, 253, 0.82);
}

.command-badges strong {
  color: #f7d070;
  font-size: 18px;
}

.command-panel {
  padding: 18px;
  display: grid;
  place-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.radar-ring {
  position: relative;
  width: 154px;
  height: 154px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(125, 211, 252, 0.32);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(125, 211, 252, 0.22) 0 34%, transparent 35%),
    conic-gradient(from 18deg, rgba(125, 211, 252, 0.72), rgba(21, 127, 91, 0.2), rgba(247, 208, 112, 0.7), rgba(125, 211, 252, 0.72));
  box-shadow: inset 0 0 28px rgba(3, 14, 25, 0.34);
  animation: radarBreath 3.2s ease-in-out infinite;
}

.radar-ring span {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  animation: radarInnerPulse 2.4s ease-in-out infinite;
}

.radar-ring::before,
.radar-ring::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(125, 211, 252, 0.3);
  border-radius: 50%;
  opacity: 0;
  animation: radarWave 2.8s ease-out infinite;
}

.radar-ring::after {
  animation-delay: 1.4s;
}

.radar-ring strong {
  position: relative;
  z-index: 1;
  font-size: 42px;
  color: #fff;
}

.radar-ring em {
  position: absolute;
  bottom: 34px;
  color: #bcf5e7;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  animation: liveBlink 1.7s ease-in-out infinite;
}

@keyframes radarBreath {
  0%,
  100% {
    transform: scale(0.98);
    filter: brightness(0.96) saturate(1);
    box-shadow: inset 0 0 26px rgba(3, 14, 25, 0.34), 0 0 0 rgba(125, 211, 252, 0);
  }
  50% {
    transform: scale(1.04);
    filter: brightness(1.18) saturate(1.16);
    box-shadow: inset 0 0 34px rgba(3, 14, 25, 0.28), 0 0 34px rgba(125, 211, 252, 0.26);
  }
}

@keyframes radarInnerPulse {
  0%,
  100% {
    inset: 18px;
    opacity: 0.54;
  }
  50% {
    inset: 10px;
    opacity: 0.9;
  }
}

@keyframes radarWave {
  0% {
    transform: scale(0.78);
    opacity: 0;
  }
  20% {
    opacity: 0.54;
  }
  100% {
    transform: scale(1.28);
    opacity: 0;
  }
}

@keyframes liveBlink {
  0%,
  100% {
    opacity: 0.62;
    letter-spacing: 0;
  }
  50% {
    opacity: 1;
    letter-spacing: 1px;
  }
}

.radar-copy {
  display: grid;
  gap: 4px;
  text-align: center;
}

.radar-copy strong {
  color: #fff;
  font-size: 18px;
}

.radar-copy span {
  color: rgba(242, 248, 252, 0.72);
}

.executive-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.today-command-center {
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid rgba(33, 102, 167, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 252, 0.98));
  box-shadow: 0 16px 34px rgba(22, 43, 61, 0.07);
}

.today-command-head {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.today-command-head div {
  display: grid;
  gap: 3px;
}

.today-command-head span {
  color: #2166a7;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.today-command-head strong {
  color: #172331;
  font-size: 20px;
}

.today-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.today-action-card {
  min-height: 138px;
  padding: 14px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  border: 1px solid #dbe7ed;
  border-radius: 8px;
  background: #fff;
}

.today-action-card.active {
  border-color: rgba(21, 127, 91, 0.34);
  box-shadow: inset 0 3px 0 #157f5b;
}

.today-action-card span {
  color: #526274;
  font-size: 13px;
  font-weight: 800;
}

.today-action-card strong {
  display: block;
  margin: 8px 0 4px;
  color: #172331;
  font-size: 34px;
  line-height: 1;
}

.today-action-card small {
  min-height: 34px;
  display: block;
  color: #667085;
  line-height: 1.45;
}

.today-action-card button {
  width: 100%;
}

.premium-metric {
  min-height: 116px;
  padding: 16px;
  display: grid;
  align-content: center;
  gap: 8px;
  border: 1px solid #d8e2e7;
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff, #f7fbfb);
  box-shadow: 0 14px 28px rgba(28, 45, 61, 0.06);
}

.premium-metric span {
  color: #667085;
  font-weight: 700;
}

.premium-metric strong {
  font-size: 28px;
  color: #172331;
}

.premium-metric small {
  color: #157f5b;
}

.premium-metric.warn small {
  color: var(--orange);
}

.live-command-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 14px;
  margin-bottom: 14px;
}

.live-card,
.premium-panel {
  border: 1px solid #d4e1e6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(25, 48, 70, 0.06);
  overflow: hidden;
}

.live-card {
  padding: 16px;
}

.live-card-head {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.live-card-head span {
  color: #132b3f;
  font-size: 16px;
  font-weight: 800;
}

.live-card-head strong {
  padding: 5px 8px;
  border-radius: 999px;
  background: #e7fbf4;
  color: #157f5b;
  font-size: 11px;
}

.live-feed {
  display: grid;
  gap: 10px;
}

.live-feed-item {
  min-height: 66px;
  padding: 10px;
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid #e4ecf1;
  border-radius: 7px;
  background: #fbfdfe;
}

.live-feed-item i {
  width: 10px;
  height: 34px;
  border-radius: 999px;
  background: #2166a7;
}

.live-feed-item i.ok {
  background: #157f5b;
}

.live-feed-item i.ship {
  background: #b9892a;
}

.live-feed-item strong,
.platform-pulse strong {
  display: block;
  margin-bottom: 4px;
  color: #172331;
}

.live-feed-item span,
.platform-pulse small,
.journey-step small {
  color: #667085;
  line-height: 1.45;
}

.live-feed-item em {
  color: #157f5b;
  font-style: normal;
  font-size: 12px;
}

.journey-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.journey-step {
  min-height: 154px;
  padding: 14px;
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid #dce8ed;
  border-radius: 8px;
  background: #f8fbfc;
}

.journey-step.active {
  border-color: rgba(21, 127, 91, 0.35);
  background: linear-gradient(180deg, #f3fffb, #ffffff);
}

.journey-step b {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e7eff6;
  color: #2166a7;
}

.journey-step.active b {
  background: #157f5b;
  color: #fff;
}

.journey-step strong {
  color: #172331;
  font-size: 16px;
}

.journey-step span {
  color: #2166a7;
  font-size: 20px;
  font-weight: 800;
}

.premium-actions .quick-action {
  min-height: 86px;
  border-radius: 8px;
  border-color: #d4e1e6;
  box-shadow: 0 10px 22px rgba(28, 45, 61, 0.05);
}

.consult-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.consult-card {
  min-height: 150px;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid #d4e1e6;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 251, 252, 0.96));
  box-shadow: 0 14px 28px rgba(25, 48, 70, 0.06);
}

.warehouse-consult {
  border-color: rgba(21, 127, 91, 0.24);
}

.express-consult {
  border-color: rgba(33, 102, 167, 0.24);
}

.consult-label {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef7f3;
  color: #157f5b;
  font-size: 12px;
  font-weight: 800;
}

.express-consult .consult-label {
  background: #eef4fb;
  color: #2166a7;
}

.consult-card h3 {
  margin: 0 0 8px;
  color: #172331;
  font-size: 20px;
}

.consult-card p {
  margin: 0;
  color: #667085;
  line-height: 1.7;
}

.consult-status {
  min-width: 150px;
  padding: 12px;
  display: grid;
  justify-items: center;
  gap: 5px;
  border: 1px solid #e1eaee;
  border-radius: 8px;
  background: #fbfdfe;
}

.consult-status i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #157f5b;
  box-shadow: 0 0 0 6px rgba(21, 127, 91, 0.12);
  animation: consultPulse 1.8s ease-in-out infinite;
}

.consult-status strong {
  color: #172331;
}

.consult-status span {
  color: #667085;
  font-size: 12px;
}

.consult-card button {
  grid-column: 1 / -1;
  justify-self: start;
}

.consult-drawer .drawer-body {
  display: grid;
  gap: 14px;
}

.consult-chat-head {
  min-height: 76px;
  padding: 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid #dce8ed;
  border-radius: 8px;
  background: linear-gradient(135deg, #f5fffb, #f7fbff);
}

.consult-avatar {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #157f5b;
  color: #fff;
  font-weight: 800;
}

.consult-chat-head strong {
  display: block;
  margin-bottom: 4px;
  color: #172331;
}

.consult-chat-head small {
  color: #667085;
}

.consult-chat-head em {
  padding: 5px 9px;
  border-radius: 999px;
  background: #e7fbf4;
  color: #157f5b;
  font-style: normal;
  font-weight: 800;
  font-size: 12px;
}

.consult-chat-list {
  display: grid;
  gap: 9px;
}

.consult-message {
  padding: 11px;
  display: grid;
  gap: 5px;
  border: 1px solid #e2ebef;
  border-radius: 8px;
  background: #fbfdfe;
}

.consult-message.system {
  background: #f6fbff;
}

.consult-message strong {
  color: #172331;
}

.consult-message span,
.consult-message small {
  color: #667085;
}

@keyframes consultPulse {
  0%,
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 5px rgba(21, 127, 91, 0.12);
  }
  50% {
    transform: scale(1.12);
    box-shadow: 0 0 0 10px rgba(21, 127, 91, 0.04);
  }
}

.client-workspace {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 14px;
}

.platform-pulse-list {
  display: grid;
  gap: 10px;
}

.platform-pulse {
  min-height: 62px;
  padding: 10px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  border: 1px solid #e2ebef;
  border-radius: 7px;
  background: #fbfdfe;
}

.platform-pulse em {
  color: #172331;
  font-style: normal;
  font-weight: 800;
}

.platform-pulse i {
  min-width: 62px;
  padding: 5px 8px;
  border-radius: 999px;
  text-align: center;
  font-style: normal;
  font-size: 12px;
}

.platform-pulse i.ok {
  background: #e7fbf4;
  color: #157f5b;
}

.platform-pulse i.warn {
  background: #fff7e8;
  color: #b76118;
}

.platform-pulse i.bad {
  background: #f3f4f6;
  color: #667085;
}

.latest-order-panel {
  margin-top: 0;
}

.inventory-hero {
  margin-bottom: 14px;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.inventory-hero h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.inventory-hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.inventory-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(118px, 1fr));
  gap: 8px;
}

.inventory-menu button {
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: #344054;
  font-weight: 700;
}

.inventory-menu button.active {
  border-color: var(--brand);
  background: #eef6ff;
  color: var(--brand-dark);
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.panel-head {
  height: 46px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-title {
  font-weight: 700;
}

.panel-body {
  padding: 14px;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) 160px 160px auto auto;
  gap: 10px;
  margin-bottom: 12px;
}

.check-line {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #475467;
  font-weight: 600;
}

.check-line input {
  width: 16px;
  height: 16px;
}

.procurement-panel {
  margin-bottom: 14px;
}

.transport-filter,
.purchase-actions,
.purchase-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.transport-filter {
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f8fafc;
}

.transport-filter label,
.purchase-footer label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #475467;
  font-weight: 600;
}

.procurement-toolbar {
  grid-template-columns: 150px 150px 150px minmax(260px, 1fr) auto auto;
}

.purchase-actions {
  margin-bottom: 12px;
}

.source-login-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.source-login-strip div {
  min-height: 58px;
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafc;
}

.source-login-strip strong {
  color: var(--brand-dark);
}

.source-login-strip span {
  color: var(--muted);
  font-size: 12px;
}

.source-login-strip .mini-btn {
  grid-row: span 2;
}

.purchase-account-form {
  grid-template-columns: 130px minmax(160px, 1fr) minmax(160px, 1fr) 170px minmax(180px, 1fr) auto;
  align-items: end;
}

.purchase-account-form select,
.purchase-account-form input {
  width: 100%;
}

.purchase-account-table table {
  min-width: 880px;
}

.purchase-account-table th:last-child,
.purchase-account-table td:last-child {
  width: 96px;
  min-width: 96px;
}

.account-row-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  align-items: center;
}

.account-row-actions .mini-btn {
  width: 100%;
  min-width: 0;
  padding: 0 8px;
  white-space: nowrap;
}

.auto1688-panel {
  margin-bottom: 14px;
}

.auto1688-form {
  display: grid;
  grid-template-columns: 1.4fr repeat(5, minmax(130px, 1fr));
  gap: 10px;
}

.auto1688-form .field {
  margin-bottom: 0;
}

.simple-buy-hero {
  border-color: rgba(34, 197, 94, 0.24);
  background: linear-gradient(135deg, #f8fffb 0%, #eef8ff 100%);
}

.simple-buy-panel .panel-head {
  align-items: center;
}

.simple-buy-panel .auto1688-form {
  grid-template-columns: 150px minmax(280px, 2fr) repeat(5, minmax(120px, 1fr));
}

.simple-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.simple-flow span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.simple-flow span.active {
  border-color: rgba(37, 99, 235, 0.3);
  background: #eff6ff;
  color: var(--brand);
}

.simple-buy-table th:first-child,
.simple-buy-table td:first-child {
  width: 44px;
  min-width: 44px;
  text-align: center;
}

.preparing-purchase-toolbar {
  position: sticky;
  top: 0;
  z-index: 4;
  min-height: 46px;
  margin: 0 0 10px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f8fafc;
}

.preparing-purchase-toolbar label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #344054;
}

.preparing-purchase-toolbar input {
  width: 16px;
  height: 16px;
}

.internal-settings-panel {
  border-style: dashed;
}

.auto1688-form .wide {
  grid-column: span 2;
}

.auto1688-actions {
  flex-wrap: nowrap;
}

.scan-inbound-box {
  margin-bottom: 12px;
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 170px 150px auto;
  gap: 10px;
  align-items: end;
  border: 1px solid #b7d5ee;
  border-radius: 6px;
  background: #f2f8fd;
}

.scan-inbound-box label {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-dark);
  font-weight: 800;
}

.scan-inbound-box input,
.scan-inbound-box select {
  width: 100%;
  height: 38px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.inspection-box {
  grid-template-columns: minmax(280px, 1fr) 130px 170px auto;
}

.inspection-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.inspection-summary div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.inspection-summary strong {
  display: block;
  margin-bottom: 5px;
  color: var(--brand-dark);
}

.inspection-summary span {
  color: var(--muted);
  line-height: 1.5;
}

.route-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.route-tabs button {
  min-height: 46px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #344054;
  font-weight: 800;
}

.route-tabs button.active {
  border-color: var(--brand);
  background: #eef6ff;
  color: var(--brand-dark);
}

.route-tabs span {
  min-width: 24px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #e6eef7;
  font-size: 12px;
}

.international-box {
  grid-template-columns: minmax(280px, 1fr) 170px 150px auto;
}

.notice-banner {
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid #f2d092;
  border-radius: 6px;
  background: #fff8e6;
  color: #7a4f01;
  font-weight: 700;
}

.purchase-footer {
  margin-top: 12px;
  justify-content: flex-end;
}

.image-chip {
  width: 38px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #d0d5dd;
  border-radius: 4px;
  background: #eef6ff;
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 800;
}

.table-wrap {
  width: 100%;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

th {
  background: #f8fafc;
  color: #475467;
  font-weight: 700;
}

tr:last-child td {
  border-bottom: 0;
}

.status {
  display: inline-flex;
  min-width: 64px;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.status.ok {
  color: var(--green);
  background: #e7f6ef;
}

.status.warn {
  color: var(--orange);
  background: #fff1df;
}

.status.info {
  color: var(--cyan);
  background: #e5f6fb;
}

.status.bad {
  color: var(--red);
  background: #fff0f2;
}

.actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-btn {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: #344054;
}

.row-action {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: #344054;
  white-space: nowrap;
}

.row-action.danger-soft,
.text-danger-action {
  color: #9f2430;
  border-color: #efc1c6;
  background: #fff7f8;
}

.row-action.bind-sku-action {
  color: #164e81;
  border-color: #b7cfe8;
  background: #eef6ff;
  font-weight: 700;
}

.text-danger-action {
  min-height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

.flow-list,
.notice-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-item,
.notice-item {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.notice-item {
  grid-template-columns: 1fr auto;
}

.muted {
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-grid .wide {
  grid-column: 1 / -1;
}

.permission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.permission-check {
  min-height: 74px;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fbfe;
}

.permission-check input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

.permission-check span {
  display: grid;
  gap: 4px;
}

.permission-check strong {
  color: #19324d;
}

.permission-check em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.45;
}

.drawer-mask {
  position: fixed;
  inset: 0;
  background: rgba(20, 28, 38, 0.42);
  display: flex;
  justify-content: flex-end;
  z-index: 10;
}

.drawer {
  width: 520px;
  height: 100%;
  background: #fff;
  box-shadow: -18px 0 30px rgba(26, 43, 64, 0.16);
  display: grid;
  grid-template-rows: 56px 1fr 58px;
}

.drawer-head,
.drawer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.drawer-foot {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  justify-content: flex-end;
}

.drawer-body {
  padding: 18px;
  overflow: auto;
}

.chart {
  height: 260px;
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 18px 8px 4px;
}

.bar {
  flex: 1;
  min-width: 42px;
  display: grid;
  align-items: end;
  gap: 8px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

.bar-fill {
  width: 100%;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #2f80c7, #0f7897);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.module-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px;
  background: #fff;
}

.module-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.module-card p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.7;
}

.integration-note {
  margin-top: 4px;
  padding: 10px 12px;
  border: 1px solid #c8d9eb;
  border-radius: 4px;
  background: #f3f8fd;
  color: #35536f;
  line-height: 1.7;
}

.compliance-hero {
  border-color: #e6c5c8;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(255, 247, 242, 0.95)),
    linear-gradient(90deg, rgba(187, 45, 59, 0.12), rgba(183, 97, 24, 0.12));
}

.compliance-rules-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.compliance-rules-strip article {
  min-height: 118px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.compliance-rules-strip strong {
  display: block;
  margin: 8px 0 6px;
}

.compliance-rules-strip p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.compliance-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
}

.compliance-table td {
  vertical-align: top;
}

.publish-hero {
  border-color: #bdd8d1;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(239, 250, 246, 0.96)),
    linear-gradient(90deg, rgba(21, 127, 91, 0.14), rgba(33, 102, 167, 0.12));
}

.publish-store-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.publish-store-card {
  min-height: 92px;
  padding: 12px;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.publish-store-card.ready {
  border-color: #acd8c9;
  background: #f4fbf8;
}

.publish-store-card.need-config {
  border-color: #f0d49b;
  background: #fffaf0;
}

.publish-store-card strong,
.publish-store-card small,
.publish-store-card em {
  display: block;
}

.publish-store-card small {
  margin: 4px 0;
  color: var(--muted);
}

.publish-store-card em {
  color: var(--brand-dark);
  font-style: normal;
  font-weight: 700;
}

.platform-listing-defaults {
  margin-top: 12px;
  padding: 12px;
  border: 1px dashed #c8d9eb;
  border-radius: 6px;
  background: #f8fbfe;
}

.platform-listing-defaults > strong {
  display: block;
  margin-bottom: 10px;
}

.publish-table td,
.publish-result-table td {
  vertical-align: top;
}

.platform-config-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.platform-card .panel-head {
  height: 50px;
}

.platform-badge {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 8px;
  border-radius: 5px;
  background: #e8f1f8;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
}

.platform-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
}

.compact-form {
  gap: 10px;
}

.compact-form .field {
  margin-bottom: 0;
}

.platform-actions {
  justify-content: flex-end;
  margin-top: 12px;
}

.platform-workspace {
  margin-top: 2px;
}

.platform-panel {
  margin-top: 14px;
}

.fulfillment-toolbar {
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.segment-control {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.segment-control button {
  height: 32px;
  border: 0;
  border-radius: 4px;
  padding: 0 12px;
  background: transparent;
  color: #475467;
}

.segment-control button.active {
  background: var(--brand);
  color: #fff;
}

.fulfillment-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.coupang-stage-panel {
  margin-bottom: 14px;
}

.coupang-stage-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 0 14px 14px;
}

.coupang-stage-card {
  min-height: 92px;
  padding: 12px;
  display: grid;
  align-content: start;
  gap: 4px;
  border: 1px solid #dbe7ed;
  border-radius: 8px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.coupang-stage-card strong {
  color: #111827;
  font-size: 30px;
  line-height: 1;
}

.coupang-stage-card span {
  color: #344054;
  font-size: 14px;
  font-weight: 900;
}

.coupang-stage-card small {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coupang-stage-card.danger {
  border-color: rgba(220, 38, 38, 0.32);
  background: #fff8f6;
}

.coupang-stage-card.danger strong {
  color: #dc2626;
}

.fulfillment-progress-panel {
  margin-bottom: 14px;
}

.fulfillment-progress-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.fulfillment-progress-step {
  position: relative;
  min-height: 150px;
  padding: 14px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  border: 1px solid #dbe7ed;
  border-radius: 8px;
  background: #fbfdfe;
}

.fulfillment-progress-step.active {
  border-color: rgba(21, 127, 91, 0.34);
  background: linear-gradient(180deg, #f3fffb, #fff);
}

.fulfillment-progress-step b {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e7eff6;
  color: #2166a7;
}

.fulfillment-progress-step.active b {
  background: #157f5b;
  color: #fff;
}

.fulfillment-progress-step div {
  display: grid;
  align-content: start;
  gap: 5px;
}

.fulfillment-progress-step strong {
  color: #172331;
  font-size: 15px;
}

.fulfillment-progress-step span {
  color: #2166a7;
  font-size: 24px;
  font-weight: 900;
}

.fulfillment-progress-step small {
  color: #667085;
  line-height: 1.45;
}

.exception-center-panel {
  margin-bottom: 14px;
}

.exception-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.exception-action-card {
  min-height: 166px;
  padding: 14px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  border: 1px solid #dbe7ed;
  border-radius: 8px;
  background: #fff;
}

.exception-action-card.active {
  box-shadow: inset 0 3px 0 #2166a7;
}

.exception-action-card.warn.active {
  border-color: rgba(245, 158, 11, 0.38);
  box-shadow: inset 0 3px 0 #f59e0b;
}

.exception-action-card.bad.active {
  border-color: rgba(239, 68, 68, 0.34);
  box-shadow: inset 0 3px 0 #ef4444;
}

.exception-action-card.info.active {
  border-color: rgba(33, 102, 167, 0.34);
}

.exception-action-card span {
  color: #526274;
  font-size: 13px;
  font-weight: 900;
}

.exception-action-card strong {
  display: block;
  margin: 8px 0 4px;
  color: #172331;
  font-size: 32px;
  line-height: 1;
}

.exception-action-card small {
  min-height: 42px;
  display: block;
  color: #667085;
  line-height: 1.45;
}

.exception-action-card button {
  width: 100%;
}

.exception-actions {
  display: grid;
  gap: 8px;
}

.ai-guide-drawer .drawer-body {
  display: grid;
  gap: 14px;
}

.ai-guide-hero,
.ai-guide-block,
.ai-guide-tip {
  padding: 14px;
  border: 1px solid #dbe7ed;
  border-radius: 8px;
  background: #fbfdfe;
}

.ai-guide-hero {
  background:
    linear-gradient(135deg, #f4fbff, #f7fff9);
}

.ai-guide-hero span {
  color: #2166a7;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
}

.ai-guide-hero h3 {
  margin: 8px 0;
  color: #172331;
  font-size: 22px;
}

.ai-guide-hero p,
.ai-guide-tip span,
.ai-guide-block li {
  color: #526274;
  line-height: 1.65;
}

.ai-guide-block strong,
.ai-guide-tip strong {
  display: block;
  margin-bottom: 8px;
  color: #172331;
}

.ai-guide-block ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.ai-guide-tip {
  border-color: rgba(21, 127, 91, 0.24);
  background: #f4fffa;
}

.fulfillment-column {
  min-height: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.fulfillment-column-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.fulfillment-column-head strong {
  font-size: 16px;
}

.fulfillment-column-head span {
  min-width: 28px;
  height: 24px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #eef4fb;
  color: var(--brand-dark);
  font-weight: 800;
}

.local-shipment-panel {
  margin-bottom: 14px;
}

.shipment-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.shipment-steps button {
  min-height: 62px;
  padding: 9px;
  display: grid;
  gap: 4px;
  justify-items: start;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #344054;
  text-align: left;
  font-weight: 800;
}

.shipment-steps button span {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #eef4fb;
  color: var(--brand-dark);
  font-size: 12px;
}

.shipment-steps button small {
  color: var(--muted);
  font-weight: 700;
}

.shipment-steps button.active {
  border-color: var(--brand);
  background: #eef6ff;
}

.shipment-steps.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.workflow-panel {
  margin-bottom: 14px;
}

.workflow-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.workflow-tabs button {
  min-height: 42px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #344054;
  font-weight: 800;
}

.workflow-tabs button.active {
  border-color: var(--brand);
  background: #eef6ff;
  color: var(--brand-dark);
}

.workflow-tabs span {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #e6eef7;
  font-size: 12px;
}

.shipment-toolbar {
  grid-template-columns: 180px minmax(280px, 1fr) 150px 150px auto auto;
}

.shipment-actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.fulfillment-column > p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.35;
  font-size: 12px;
}

.compact-order-table {
  max-height: 430px;
  overflow: auto;
  border: 1px solid #e4ebf2;
  border-radius: 6px;
}

.compact-order-table table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 12px;
}

.compact-order-table th,
.compact-order-table td {
  padding: 7px 8px;
  border-bottom: 1px solid #edf2f6;
  text-align: left;
  vertical-align: top;
}

.compact-order-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f6f9fc;
  color: #526274;
  font-weight: 900;
}

.compact-order-table th:nth-child(1),
.compact-order-table td:nth-child(1) {
  width: 42%;
}

.compact-order-table th:nth-child(2),
.compact-order-table td:nth-child(2) {
  width: 82px;
}

.compact-order-table th:nth-child(4),
.compact-order-table td:nth-child(4) {
  width: 78px;
}

.compact-order-table td small,
.compact-reason {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-more {
  padding: 7px 8px;
  color: #526274;
  font-size: 12px;
  background: #fbfdff;
}

.compact-empty {
  min-height: 80px;
}

.fulfillment-cards {
  display: grid;
  gap: 10px;
}

.order-mini-card {
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfd;
  display: grid;
  gap: 8px;
}

.order-mini-card.needs-match {
  border-color: #f0d49b;
  background: #fffdf7;
}

.order-card-head,
.order-mini-card div.order-card-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.order-mini-card p {
  margin: 0;
  color: #344054;
}

.order-mini-card small {
  display: block;
  color: var(--muted);
  line-height: 1.6;
}

.sku-line {
  min-height: 34px;
  padding: 7px 9px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid #e1e8ef;
  border-radius: 4px;
  background: #fff;
}

.sku-line span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.sku-line strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #23364a;
}

.order-card-actions {
  min-height: 30px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding-top: 2px;
}

.match-hint {
  color: #9a5b12;
  font-size: 12px;
  line-height: 1.4;
}

.match-hint.ok {
  color: var(--green);
}

.sku-bind-summary {
  margin-bottom: 16px;
  padding: 14px;
  display: grid;
  gap: 6px;
  border: 1px solid #d7e4ef;
  border-radius: 6px;
  background: #f8fbfe;
}

.sku-bind-summary strong {
  color: #172331;
  font-size: 18px;
}

.sku-bind-summary span,
.sku-bind-summary p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.detail-drawer {
  width: 620px;
}

.detail-hero {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid #d7e4ef;
  border-radius: 6px;
  background: linear-gradient(135deg, #f7fbff, #eef7f4);
}

.detail-hero span {
  color: #00759b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.detail-hero h3 {
  margin: 0;
  font-size: 22px;
  color: #162436;
}

.detail-hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.detail-hero div {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.detail-hero em {
  font-style: normal;
}

.detail-kv-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.detail-kv-grid div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  display: grid;
  gap: 6px;
}

.detail-kv-grid span {
  color: var(--muted);
  font-size: 12px;
}

.detail-kv-grid strong {
  color: #172331;
  word-break: break-word;
}

.detail-command-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.detail-command-card {
  padding: 13px;
  border: 1px solid #d6e1eb;
  border-radius: 6px;
  background: #ffffff;
  display: grid;
  gap: 6px;
}

.detail-command-card span {
  color: #00759b;
  font-size: 12px;
  font-weight: 800;
}

.detail-command-card strong {
  color: #172331;
  font-size: 18px;
}

.detail-command-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 13px;
}

.detail-command-card.risk.warn {
  border-color: #f0c98c;
  background: #fff8ec;
}

.detail-command-card.risk.info {
  border-color: #b9d8ee;
  background: #f4faff;
}

.detail-command-card.risk.ok {
  border-color: #b8decf;
  background: #f2fbf6;
}

.detail-flow {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.detail-flow article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.detail-flow article.done {
  border-color: #b8decf;
  background: #f2fbf6;
}

.detail-flow b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e9f2fb;
  color: #2166a7;
}

.detail-flow article.done b {
  background: #008a62;
  color: #fff;
}

.detail-flow div {
  display: grid;
  gap: 4px;
}

.detail-flow span {
  color: var(--muted);
  line-height: 1.45;
}

.detail-next-card {
  margin-top: 16px;
  padding: 14px;
  border-radius: 6px;
  border: 1px solid #c8d8e8;
  background: #f7fbff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}

.detail-next-card.ok {
  border-color: #b8decf;
  background: #f3fbf7;
}

.detail-next-card.warn {
  border-color: #f2d0a4;
  background: #fff9ef;
}

.detail-next-card.info {
  border-color: #b9d8ee;
  background: #f4faff;
}

.detail-next-card div {
  display: grid;
  gap: 5px;
}

.detail-next-card span {
  color: #00759b;
  font-size: 12px;
  font-weight: 800;
}

.detail-next-card strong {
  color: #172331;
  font-size: 17px;
}

.detail-next-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.detail-action-panel {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.empty-state {
  min-height: 92px;
  border: 1px dashed #c7d2de;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: #fafcff;
}

.fulfillment-lower {
  margin-top: 14px;
}

.batch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.batch-action {
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--brand-dark);
  font-weight: 700;
}

.label-panel {
  margin-top: 14px;
}

.label-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.label-preview {
  margin-top: 8px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.waybill-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 8px 0 12px;
}

.waybill-card {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfd;
  display: grid;
  gap: 5px;
}

.waybill-card strong {
  color: var(--brand-dark);
}

.waybill-card span {
  font-weight: 800;
}

.waybill-card small {
  color: var(--muted);
}

.shipping-label {
  width: 150mm;
  min-height: 100mm;
  margin: 0 auto 12px;
  padding: 5mm 7mm;
  border: 1px solid #111827;
  background: #fff;
  color: #000;
  box-sizing: border-box;
}

.cj-label {
  display: grid;
  grid-template-columns: 38mm 31mm 1fr;
  gap: 5mm;
  font-family: Arial, "Noto Sans KR", sans-serif;
  page-break-after: always;
}

.cj-waybill,
.cj-bottom-no,
.cj-right-no {
  display: block;
  text-align: center;
  font-size: 14px;
}

.cj-barcode,
.cj-bottom-barcode,
.cj-right-barcode {
  height: 18mm;
  margin: 1mm 0;
  background: repeating-linear-gradient(90deg, #000 0 1px, transparent 1px 3px, #000 3px 5px, transparent 5px 7px);
}

.cj-bottom-barcode {
  height: 14mm;
  margin-top: 20mm;
}

.cj-right-barcode {
  width: 45mm;
  height: 16mm;
  margin: 9mm 0 0 auto;
}

.cj-mini-code {
  display: block;
  text-align: center;
  font-weight: 800;
  font-size: 10px;
}

.cj-meta {
  margin-top: 4mm;
  display: grid;
  gap: 1mm;
  font-size: 10px;
  line-height: 1.25;
}

.cj-center {
  position: relative;
  text-align: center;
}

.cj-sort {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1mm;
  margin-top: 2mm;
}

.cj-sort strong {
  font-size: 36px;
  line-height: 1;
}

.cj-sort span {
  font-size: 22px;
  font-weight: 800;
}

.cj-ship-icon {
  margin-top: 40mm;
  font-size: 34px;
  line-height: 1;
}

.cj-r {
  position: absolute;
  right: 0;
  bottom: 21mm;
  font-size: 40px;
}

.cj-right-head {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.cj-right h3 {
  margin: 5mm 0 7mm;
  font-size: 18px;
  line-height: 1.15;
}

.cj-receiver {
  display: grid;
  gap: 1mm;
  font-size: 12px;
}

.cj-piece {
  display: block;
  margin-top: 2mm;
  text-align: right;
  font-size: 22px;
}

.cj-return {
  display: block;
  margin-top: 8mm;
  text-align: right;
  font-weight: 800;
  font-size: 10px;
}

.trend-hero {
  border-color: #cce0d6;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 248, 242, 0.96)),
    linear-gradient(90deg, rgba(21, 127, 91, 0.2), rgba(183, 97, 24, 0.1));
}

.trend-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 14px;
}

.mini-select {
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: #344054;
}

.trend-table th,
.trend-table td {
  vertical-align: middle;
}

.radar-empty-state {
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 28px;
  text-align: center;
  border: 1px dashed #bfd0da;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fbfc, #ffffff);
}

.radar-empty-state strong {
  color: #172331;
  font-size: 20px;
}

.radar-empty-state span {
  width: 560px;
  max-width: 100%;
  color: #667085;
  line-height: 1.8;
}

.score-cell {
  min-width: 86px;
  display: grid;
  gap: 5px;
}

.score-cell span {
  font-weight: 800;
  color: #344054;
}

.score-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf2f7;
}

.score-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.score-track .hot {
  background: linear-gradient(90deg, #157f5b, #2f80c7);
}

.score-track .compete {
  background: linear-gradient(90deg, #e5a044, #bb2d3b);
}

.margin-score {
  color: var(--green);
  font-weight: 900;
}

.listing-hero {
  border-color: #d6dce8;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(241, 246, 250, 0.96)),
    linear-gradient(90deg, rgba(47, 128, 199, 0.18), rgba(21, 127, 91, 0.12));
}

.listing-workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.listing-command-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.listing-command-strip article {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid #dce7f2;
  border-radius: 8px;
  background: #fff;
}

.listing-command-strip b {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #17324d;
  color: #fff;
}

.listing-command-strip strong,
.listing-command-strip span {
  display: block;
}

.listing-command-strip span {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.5;
}

.listing-actions {
  min-width: 250px;
  flex-wrap: wrap;
}

.link-import-panel {
  margin-bottom: 14px;
}

.image-studio-panel {
  margin-bottom: 14px;
}

.advanced-image-panel {
  margin-bottom: 14px;
  border-color: #c9d8e8;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(244,248,252,.98)),
    linear-gradient(90deg, rgba(23,50,77,.12), rgba(31,122,104,.10));
}

.zero-cost-pack-panel {
  margin-bottom: 14px;
  border-color: #cfe1d6;
}

.template-library {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.template-library article {
  min-height: 112px;
  padding: 14px;
  border: 1px solid #dbe8df;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(244,250,246,.96));
}

.template-library span,
.template-library strong,
.template-library p {
  display: block;
}

.template-library span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.template-library strong {
  margin: 8px 0;
  font-size: 17px;
}

.template-library p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.platform-pack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.platform-pack-grid > div {
  padding: 12px;
  border: 1px solid #dce7f2;
  border-radius: 8px;
  background: #fff;
}

.platform-pack-grid strong {
  display: block;
  margin-bottom: 10px;
}

.platform-pack-grid canvas {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  background: #f8fafc;
}

.image-studio-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(360px, 1fr);
  gap: 16px;
  align-items: start;
}

.image-studio-controls {
  display: grid;
  gap: 12px;
}

.image-studio-preview {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid #dce7f2;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(244,248,251,.94)),
    repeating-linear-gradient(135deg, #eef3f7, #eef3f7 10px, #f8fafc 10px, #f8fafc 20px);
}

.image-studio-preview canvas {
  width: min(100%, 360px);
  height: auto;
  border: 1px solid #d2deea;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 35, 55, 0.16);
}

#freeListingImageHint {
  color: var(--muted);
  font-size: 13px;
}

.advanced-studio-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1fr) 260px;
  gap: 16px;
  align-items: start;
}

.advanced-control-stack {
  display: grid;
  gap: 12px;
}

.advanced-cost-card {
  padding: 14px;
  border: 1px solid #c9d8e8;
  border-radius: 8px;
  background: #f7fbff;
}

.advanced-cost-card strong,
.advanced-cost-card span {
  display: block;
}

.advanced-cost-card span {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.6;
}

.advanced-preview-stage {
  padding: 16px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #101a2b, #1d4b61 58%, #e9f1ed);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}

.advanced-preview-stage canvas {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,.28);
}

.advanced-preview-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  color: #fff;
}

.advanced-preview-meta strong {
  white-space: nowrap;
}

.advanced-preview-meta span {
  color: rgba(255,255,255,.74);
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
}

.advanced-output-list {
  padding: 14px;
  border: 1px solid #d9e4ef;
  border-radius: 8px;
  background: #fff;
}

.advanced-output-list > strong {
  display: block;
  margin-bottom: 10px;
}

.advanced-queue-item {
  padding: 12px 0;
  border-top: 1px solid #edf2f7;
}

.advanced-queue-item.is-done {
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid #d9e9df;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(243,250,246,.98));
}

.advanced-queue-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid #dce7f3;
  border-radius: 8px;
  background: #f6f8fb;
}

.advanced-queue-thumb.placeholder {
  display: grid;
  place-items: center;
  color: var(--brand);
  font-size: 22px;
  font-weight: 900;
}

.advanced-queue-item:first-child {
  border-top: 0;
}

.advanced-queue-item span,
.advanced-queue-item strong,
.advanced-queue-item small {
  display: block;
}

.advanced-queue-item span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.advanced-queue-item strong {
  margin: 5px 0;
  overflow-wrap: anywhere;
}

.advanced-queue-item small {
  color: var(--muted);
}

.advanced-queue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.advanced-queue-actions a,
.advanced-queue-actions .mini-btn {
  min-height: 30px;
  padding: 6px 9px;
  border: 1px solid #d5e1ee;
  border-radius: 6px;
  background: #fff;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.listing-generated-strip {
  display: flex;
  gap: 10px;
  margin: 12px 0;
  overflow-x: auto;
}

.listing-generated-strip a {
  position: relative;
  flex: 0 0 112px;
  height: 88px;
  border: 1px solid #d7e5ef;
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
  text-decoration: none;
}

.listing-generated-strip img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.listing-generated-strip span {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  padding: 4px 6px;
  border-radius: 5px;
  background: rgba(10, 24, 38, .78);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.link-import-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.link-import-grid .wide {
  grid-column: 1 / -1;
}

.listing-task-stack {
  display: grid;
  gap: 14px;
}

.listing-task-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 18px;
  padding: 18px;
  border: 1px solid #dbe6f2;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 12px 28px rgba(15, 35, 58, 0.06);
}

.listing-task-topline,
.listing-task-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.listing-task-topline small {
  color: var(--muted);
  font-weight: 800;
}

.listing-task-main h3 {
  margin: 12px 0 6px;
  color: #0e2238;
  font-size: 20px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.listing-task-main p {
  margin: 0 0 12px;
  color: var(--muted);
}

.listing-task-meta span {
  padding: 7px 10px;
  border-radius: 6px;
  background: #eef6ff;
  color: #12314f;
  font-size: 12px;
  font-weight: 900;
}

.listing-progress-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.listing-next-actions {
  display: grid;
  gap: 8px;
  align-content: start;
}

.listing-next-actions button {
  width: 100%;
  justify-content: center;
}

.listing-next-actions .danger {
  border-color: #f1c3c3;
  color: #a42b2b;
  background: #fff5f5;
}

.listing-next-actions .danger:hover {
  border-color: #dc8f8f;
  background: #ffecec;
}

.listing-step {
  min-height: 116px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.listing-step span {
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}

.listing-step strong {
  display: block;
  margin-bottom: 7px;
  font-size: 16px;
}

.listing-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.listing-grid {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.free-ai-note {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 1px solid #b9d9c9;
  border-radius: 8px;
  background: #f1fbf6;
  color: #173f32;
}

.free-ai-note strong {
  font-size: 16px;
}

.free-ai-note span {
  line-height: 1.7;
}

.free-tier-list {
  display: grid;
  gap: 10px;
}

.free-tier-list div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.free-tier-list strong,
.free-tier-list span {
  display: block;
}

.free-tier-list span {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.6;
}

.listing-preview-drawer {
  width: min(920px, 94vw);
}

.korean-detail-page {
  overflow: hidden;
  border: 1px solid #dce5ef;
  border-radius: 8px;
  background: #fff;
}

.korean-detail-hero {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(18, 43, 64, 0.94), rgba(25, 116, 98, 0.92)),
    linear-gradient(90deg, #f3f7fb, #eef6f2);
  color: #fff;
}

.korean-hero-visual {
  min-width: 0;
}

.preview-product-scene {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(255,255,255,.94), rgba(238,247,244,.82)),
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.95), transparent 42%);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.24);
}

.preview-product-scene::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(19, 44, 65, 0.12);
  border-radius: 8px;
}

.preview-product-scene::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -46px;
  top: -46px;
  border-radius: 50%;
  background: rgba(31, 122, 104, 0.15);
}

.preview-product-object {
  position: absolute;
  left: 50%;
  top: 45%;
  display: grid;
  place-items: center;
  width: 150px;
  height: 180px;
  transform: translate(-50%, -50%);
  border-radius: 28px;
  background: linear-gradient(160deg, #ffffff, #dfeaf1);
  color: #17324d;
  font-size: 54px;
  font-weight: 950;
  box-shadow: inset 0 0 0 1px rgba(20, 44, 66, .08), 0 22px 38px rgba(25, 46, 68, .2);
}

.preview-product-shadow {
  position: absolute;
  left: 50%;
  bottom: 62px;
  width: 170px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(16, 31, 46, .18);
  filter: blur(4px);
}

.preview-source-main {
  position: absolute;
  inset: 26px;
  width: calc(100% - 52px);
  height: calc(100% - 92px);
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(25, 46, 68, .16);
}

.preview-product-scene > span {
  position: absolute;
  left: 26px;
  bottom: 24px;
  padding: 8px 11px;
  border-radius: 6px;
  background: rgba(19, 43, 64, .9);
  color: #fff;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .08em;
}

.preview-product-scene.fashion .preview-product-object { border-radius: 40px 40px 24px 24px; background: linear-gradient(160deg, #f7fbff, #c8def1); }
.preview-product-scene.pet .preview-product-object { background: linear-gradient(160deg, #fff7ea, #eacfa2); }
.preview-product-scene.appliance .preview-product-object { background: linear-gradient(160deg, #ffffff, #d9e5ec); }
.preview-product-scene.auto .preview-product-object { background: linear-gradient(160deg, #eef7ff, #9fc4e4); }
.preview-product-scene.beauty .preview-product-object { background: linear-gradient(160deg, #fff5f8, #e9bdd0); }

.preview-hero-tags {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.preview-hero-tags em {
  display: block;
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 6px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.86);
  font-style: normal;
  line-height: 1.45;
}

.korean-detail-hero span {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.korean-detail-hero h2 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.22;
}

.korean-detail-hero p {
  max-width: 640px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.korean-detail-hero strong {
  font-size: 30px;
}

.korean-detail-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid #e5edf5;
}

.korean-detail-strip div {
  min-height: 92px;
  padding: 18px;
  border-right: 1px solid #e5edf5;
}

.korean-detail-strip div:last-child {
  border-right: 0;
}

.korean-detail-strip b,
.korean-detail-strip span {
  display: block;
}

.korean-detail-strip b {
  margin-bottom: 8px;
  color: var(--brand);
}

.korean-detail-strip span {
  color: #2a3a4d;
  line-height: 1.55;
}

.source-material-note {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid #dbe8f5;
  border-radius: 6px;
  background: #f5f9fd;
  color: #38516a;
  font-size: 13px;
  line-height: 1.5;
}

.source-material-note.warn {
  border-color: #f4d7a1;
  background: #fff8e8;
  color: #805600;
}

.source-image-preview {
  padding: 28px 34px;
  border-bottom: 1px solid #e5edf5;
  background: #fbfcfe;
}

.source-image-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
  margin-bottom: 16px;
}

.source-image-head h3 {
  margin: 0;
  font-size: 23px;
}

.source-image-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.6;
}

.source-image-head span {
  color: var(--muted);
  font-weight: 800;
}

.source-image-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px;
  margin-bottom: 14px;
  border: 1px solid #dce7f3;
  border-radius: 8px;
  background: #fff;
}

.source-image-toolbar small {
  color: var(--muted);
  font-weight: 800;
}

.source-image-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.source-image-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid #dbe5f0;
  border-radius: 8px;
  background: #fff;
}

.source-image-grid figure.is-main {
  border-color: #1264a3;
  box-shadow: 0 0 0 2px rgba(18, 100, 163, .12);
}

.source-image-grid figure.is-main::before {
  content: "MAIN";
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 5px 8px;
  border-radius: 999px;
  background: #1264a3;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.source-image-check {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid #dbe5f0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #24364b;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(15, 35, 55, .12);
  cursor: pointer;
}

.source-image-check input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #1264a3;
}

.source-image-check:has(input:checked) {
  border-color: #1264a3;
  background: #e9f5ff;
  color: #1264a3;
}

.source-image-check:has(input:disabled) {
  opacity: .72;
  cursor: not-allowed;
}

.source-image-frame {
  background: #fff;
}

.source-image-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
}

.source-image-grid figcaption {
  display: grid;
  gap: 3px;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.source-image-grid figcaption strong {
  color: #132033;
  font-size: 12px;
}

.source-image-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 0 10px 10px;
}

.source-image-actions .mini-btn {
  width: 100%;
  justify-content: center;
}

.source-image-actions .mini-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.source-login-needed {
  padding: 18px;
  border: 1px dashed #e5b96b;
  border-radius: 8px;
  background: #fff8e8;
}

.source-login-needed strong,
.source-login-needed p {
  display: block;
  margin: 0;
}

.source-login-needed strong {
  color: #7a5200;
  font-size: 16px;
}

.source-login-needed p {
  margin-top: 8px;
  color: #705b35;
  line-height: 1.7;
}

.collector-bookmark-card {
  margin: 14px 0;
  padding: 18px;
  border: 1px solid #cfe0f3;
  border-radius: 8px;
  background: #f5f9ff;
}

.collector-bookmark-card > span {
  display: block;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 950;
}

.collector-bookmarklet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  background: #1264a3;
  color: #fff;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(18, 100, 163, .18);
  cursor: grab;
}

.collector-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-right: 10px;
  padding: 0 16px;
  border: 1px solid #1264a3;
  border-radius: 6px;
  background: #fff;
  color: #1264a3;
  font-weight: 950;
  text-decoration: none;
}

.procurement-download {
  margin-right: 0;
  white-space: nowrap;
}

.collector-bookmark-card p {
  margin: 12px 0 0;
  color: #3c5169;
  line-height: 1.65;
}

.collector-fallback {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #dce7f3;
  border-radius: 8px;
  background: #fbfdff;
}

.collector-fallback summary {
  cursor: pointer;
  color: var(--muted);
  font-weight: 900;
}

.collector-fallback textarea {
  width: 100%;
  margin-top: 10px;
}

.korean-detail-section {
  padding: 28px 34px;
  border-bottom: 1px solid #e5edf5;
}

.korean-detail-section h3 {
  margin: 0 0 14px;
  font-size: 23px;
}

.korean-detail-section p {
  margin: 8px 0;
  color: #3a4a5e;
  line-height: 1.75;
}

.korean-visual-template {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 28px 34px;
  background: #f5f8fb;
}

.korean-visual-template div {
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  border: 1px solid #d8e2ec;
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(255,255,255,.2), rgba(255,255,255,.88)),
    repeating-linear-gradient(135deg, #e8eef5, #e8eef5 10px, #f8fafc 10px, #f8fafc 20px);
}

.korean-visual-template i {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-bottom: auto;
  border-radius: 22px;
  background: #fff;
  color: #17324d;
  font-style: normal;
  font-size: 28px;
  font-weight: 950;
  box-shadow: 0 14px 30px rgba(19, 43, 64, .12);
}

.korean-visual-template .lifestyle i {
  background: #e7f7ef;
  color: #117a56;
}

.korean-visual-template .point i {
  background: #fff2d9;
  color: #b76800;
}

.korean-visual-template span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.korean-visual-template strong {
  margin: 8px 0;
  font-size: 20px;
}

.korean-visual-template small {
  color: var(--muted);
  line-height: 1.5;
}

.korean-attrs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 28px 34px;
}

.korean-attrs div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid #e1e9f2;
  border-radius: 8px;
  background: #fbfcfe;
}

.korean-attrs span {
  color: var(--muted);
}

.korean-detail-footer {
  padding: 20px 34px 28px;
  color: var(--muted);
  text-align: center;
}

.platform-field-pack {
  padding: 28px 34px;
  border-top: 1px solid #e5edf5;
  background: #fbfcfe;
}

.platform-field-pack h3 {
  margin: 0 0 14px;
  font-size: 22px;
}

.platform-field-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) minmax(180px, 0.6fr) 110px;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid #e5edf5;
}

.platform-field-card strong {
  color: var(--brand);
}

.platform-field-card span,
.platform-field-card small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.platform-field-card small {
  color: var(--muted);
}

.platform-field-card em {
  justify-self: end;
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

.recharge-panel {
  margin-bottom: 14px;
}

.credit-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ai-usage-grid {
  grid-template-columns: minmax(0, 1fr) 390px;
}

.ai-log-panel {
  margin-top: 14px;
}

.credit-hero {
  border-color: #d2dbea;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 245, 249, 0.96)),
    linear-gradient(90deg, rgba(33, 102, 167, 0.18), rgba(15, 120, 151, 0.12));
}

.service-tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.service-tier {
  position: relative;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.tier-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.tier-head span {
  min-width: 42px;
  height: 28px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #eef4fb;
  color: var(--brand-dark);
  font-weight: 800;
}

.tier-head strong {
  font-size: 18px;
}

.service-tier p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.6;
}

.tier-points {
  margin-bottom: 12px;
  color: var(--green);
  font-size: 24px;
  font-weight: 900;
}

.service-tier ul {
  min-height: 116px;
  margin: 0 0 14px;
  padding-left: 18px;
  color: #344054;
  line-height: 1.8;
}

.service-tier em {
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--orange);
  font-style: normal;
  font-weight: 800;
}

@media (max-width: 900px) {
  body {
    min-width: 0;
    overflow-x: hidden;
  }

  .login-shell,
  .app-shell,
  .workspace-grid,
  .ops-hero,
  .fulfillment-board,
  .trend-layout,
  .listing-workflow,
  .link-import-grid,
  .credit-form,
  .ai-usage-grid,
  .service-tiers,
  .label-grid,
  .waybill-summary,
  .listing-grid,
  .listing-task-card,
  .korean-detail-hero,
  .source-image-grid {
    grid-template-columns: 1fr;
  }

  .preview-product-scene {
    min-height: 260px;
  }

  .app-shell {
    grid-template-rows: auto auto 1fr;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .topbar {
    min-height: 56px;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 14px;
  }

  .brand {
    width: 100%;
    min-width: 0;
    font-size: 14px;
    line-height: 1.4;
  }

  .top-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    width: 100%;
    gap: 6px;
  }

  .top-tenant {
    display: none;
  }

  .top-health {
    width: 34px;
    justify-content: center;
  }

  .top-health > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .pill,
  .api-indicator,
  .lang-toggle,
  .top-actions .ghost {
    min-width: 0;
    height: auto;
    min-height: 34px;
    padding: 5px 6px;
    font-size: 11px;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .sidebar {
    display: flex;
    overflow-x: auto;
    padding: 0;
  }

  .workspace-label,
  .nav-section-label {
    display: none;
  }

  .nav-section,
  .nav-section + .nav-section {
    margin: 0;
    display: flex;
  }

  .nav-button {
    flex: 0 0 auto;
    width: auto;
    min-width: 104px;
    padding: 0 12px;
    white-space: nowrap;
  }

  .content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 14px;
  }

  .content > *,
  .panel,
  .panel-body,
  .workspace-grid > * {
    min-width: 0;
    max-width: 100%;
  }

  .stats-grid,
  .fulfillment-progress-track,
  .exception-action-grid,
  .detail-command-grid,
  .module-grid,
  .platform-config-grid,
  .quick-strip,
  .form-grid,
  .toolbar {
    grid-template-columns: 1fr;
  }

  .operations-command-head {
    align-items: stretch;
    flex-direction: column;
  }

  .operations-command-head .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .operations-metric-grid {
    display: flex;
    overflow-x: auto;
  }

  .operations-metric {
    flex: 0 0 148px;
    border-right: 1px solid var(--line);
  }

  .dashboard-core-grid {
    grid-template-columns: 1fr;
  }

  .today-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .today-action-card {
    min-height: 148px;
  }

  .tool-drawer > summary {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .tool-drawer > summary small {
    width: calc(100% - 44px);
    margin-left: 0;
  }

  .fulfillment-toolbar,
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ops-hero {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    padding: 20px;
  }

  .ops-hero > div,
  .hero-actions {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .hero-actions button,
  .preparing-purchase-toolbar button {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .auto1688-form,
  .simple-buy-panel .auto1688-form {
    grid-template-columns: 1fr;
  }

  .auto1688-form .wide {
    grid-column: auto;
  }

  .panel-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .ops-hero h2 {
    width: 100%;
    max-width: 100%;
    font-size: 24px;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .ops-hero p {
    width: 100%;
    max-width: 100%;
    word-break: break-word;
  }

  .segment-control {
    overflow-x: auto;
  }

  .coupang-stage-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .coupang-stage-card {
    flex: 0 0 148px;
    min-width: 148px;
    scroll-snap-align: start;
  }

  .coupang-stage-card small {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .login-copy {
    padding: 38px 26px;
  }

  .login-panel {
    padding: 22px;
  }

  .login-card,
  .drawer {
    width: 100%;
  }
}

@media print {
  @page {
    size: 150mm 100mm;
    margin: 0;
  }

  body {
    min-width: 0;
    background: #fff;
  }

  body * {
    visibility: hidden;
  }

  .label-preview,
  .label-preview * {
    visibility: visible;
  }

  .label-preview {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
  }

  .shipping-label {
    width: 150mm;
    min-height: 100mm;
    margin: 0;
    border: 1px solid #000;
    page-break-after: always;
  }
}

.product-source-toolbar {
  grid-template-columns: minmax(140px, 180px) minmax(180px, 1fr) minmax(260px, 2fr) auto;
}

.product-thumb {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.wide-input {
  min-width: 260px;
}

.inline-source-url {
  min-width: 240px;
}

.mini-link {
  display: inline-flex;
  margin-left: 8px;
  color: var(--brand);
  font-size: 12px;
  text-decoration: none;
}

.sourcing-dropzone {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  margin-top: 12px;
  padding: 14px;
  border: 1px dashed #9bb7e0;
  border-radius: 8px;
  background: #f7fbff;
  color: var(--text);
  outline: none;
}

.sourcing-dropzone.drag-over,
.sourcing-dropzone:focus {
  border-color: var(--brand);
  background: #edf5ff;
}

.sourcing-dropzone strong {
  display: block;
  margin-bottom: 6px;
}

.sourcing-dropzone span {
  color: var(--muted);
}

.sourcing-preview {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}
