﻿* {
  box-sizing: border-box;
}

:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #fafcff;
  --surface-muted: #f2f5fb;
  --line: #e2e8f0;
  --line-strong: #d7dfeb;
  --text: #1f2937;
  --muted: #667085;
  --navy: #1f3fb7;
  --navy-soft: #2847c7;
  --brand: #2b63f6;
  --brand-strong: #165dff;
  --brand-soft: #e8f0ff;
  --brand-wash: #f5f8ff;
  --danger: #dc2626;
  --shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  --shadow-soft: 0 10px 22px rgba(15, 23, 42, 0.04);
  --radius-xxl: 24px;
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 10px;
}

html,
body {
  margin: 0;
  height: 100%;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  background: linear-gradient(180deg, #eef4fb 0%, #f7f9fc 100%);
  color: var(--text);
  overflow: hidden;
}

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

button {
  cursor: pointer;
  border: 0;
}

img {
  max-width: 100%;
  display: block;
}

.is-hidden {
  display: none !important;
}

.eyebrow,
.panel-eyebrow {
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fffaf6 0%, #f7f2eb 100%);
  border: 1px solid rgba(216, 195, 181, 0.82);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #876956;
}

.muted-text {
  color: var(--muted);
  line-height: 1.6;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.login-card {
  width: min(460px, 100%);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(221, 229, 242, 0.9);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.login-card h1,
.brand-block h2,
.shell-header h1,
.view-headline h3,
.panel-header h3,
.panel-subheader h4 {
  margin: 0;
}

.notice-box {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #eef4ff;
  color: #44648f;
}

.muted-box {
  background: #f8fafc;
  border: 1px dashed var(--line);
}

.inline-note {
  margin-top: 6px;
  margin-bottom: 2px;
}

.field-label {
  display: block;
  margin: 16px 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: #52627c;
}

.text-input,
.textarea-input,
select.text-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  background: #fff;
  color: var(--text);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.text-input:focus,
.textarea-input:focus,
select.text-input:focus {
  border-color: #9bb7ef;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.textarea-input {
  min-height: 120px;
  resize: vertical;
}

.compact-textarea {
  min-height: 96px;
}

.primary-btn,
.ghost-btn,
.quick-link,
.nav-item,
.file-trigger,
.upload-dropzone,
.icon-btn {
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.primary-btn {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-strong) 100%);
  color: #fff;
  min-height: 46px;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 30px rgba(255, 102, 72, 0.24);
}

.hero-primary-btn {
  min-width: 136px;
  border-radius: var(--radius-md);
}

.primary-btn:hover,
.ghost-btn:hover,
.quick-link:hover,
.nav-item:hover,
.file-trigger:hover,
.icon-btn:hover {
  transform: translateY(-1px);
}

.ghost-btn,
.quick-link,
.nav-item,
.icon-btn {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  color: var(--navy-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  min-height: 44px;
  padding: 12px 16px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(17, 28, 53, 0.04);
}

.subtle-action-btn {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  border-color: #d8e2f2;
  color: #30415f;
}

.danger-action-btn {
  background: #fff5f5;
  border-color: #fecaca;
  color: #b91c1c;
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.08);
}

.danger-action-btn:disabled {
  background: #f8fafc;
  border-color: #e5e7eb;
  color: #9ca3af;
  box-shadow: none;
}

.icon-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  font-size: 20px;
}

.small-btn {
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 12px;
}

.catalog-config-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.catalog-config-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.catalog-config-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.catalog-config-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.catalog-config-card.is-dragging {
  opacity: 0.72;
  transform: rotate(-1deg);
  box-shadow: 0 20px 44px rgba(33, 48, 81, 0.14);
}

.catalog-config-card.is-drop-target {
  border-color: #ffb29b;
  box-shadow: 0 0 0 3px rgba(255, 122, 89, 0.12);
}

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

.catalog-config-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.catalog-config-visual-row {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 16px;
}

.catalog-config-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  min-height: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.06);
  background: linear-gradient(180deg, #f7f2eb 0%, #efe6d8 100%);
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.03), 0 18px 36px rgba(17, 24, 39, 0.06);
}

.catalog-config-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.catalog-config-cover-empty {
  min-height: 100%;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 18px;
  text-align: center;
  color: #6f7f98;
}

.catalog-config-cover-empty strong {
  color: #34455f;
}

.catalog-config-cover-empty em {
  font-style: normal;
  font-size: 12px;
  color: #8a98ac;
}

.catalog-config-cover-meta {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.92);
}

.catalog-config-cover-meta span {
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(17, 28, 53, 0.58);
  backdrop-filter: blur(8px);
}

.catalog-config-visual-copy {
  display: grid;
  gap: 10px;
  align-content: center;
}

.catalog-config-visual-copy strong,
.publish-stage-card h4 {
  margin: 0;
}

.catalog-config-visual-copy p {
  margin: 0;
  color: #6b7a91;
  line-height: 1.7;
}

.catalog-config-ratio-hint {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #7c8ba2;
  font-size: 12px;
}

.catalog-config-ratio-hint span {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(238, 244, 255, 0.95);
  border: 1px solid #dde8f7;
}

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

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

.toggle-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid #e0e8f5;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 244, 240, 0.96) 100%);
}

.toggle-card input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--brand-strong);
}

.toggle-card span {
  display: grid;
  gap: 6px;
}

.toggle-card strong,
.order-insight-card strong {
  margin: 0;
}

.toggle-card small {
  color: #6f7f98;
  line-height: 1.6;
}

.order-insight-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: auto;
}

.wrap-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 1200px) {
  .catalog-config-layout,
  .catalog-config-grid,
  .home-visibility-grid,
  .order-insight-grid {
    grid-template-columns: 1fr;
  }

  .catalog-config-visual-row {
    grid-template-columns: 1fr;
  }
}

.wide-btn {
  width: 100%;
  margin-top: 18px;
}

.danger-lite {
  color: var(--danger);
}

.admin-shell {
  height: 100vh;
  display: grid;
  grid-template-columns: 220px 240px minmax(0, 1fr);
  background: #f5f7fb;
  overflow: hidden;
}

.sidebar {
  background: #fff;
  color: var(--text);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-right: 1px solid var(--line);
  box-shadow: none;
  min-height: 0;
  overflow-y: auto;
}

.brand-block {
  padding: 12px 8px 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.brand-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1d4ed8 0%, #60a5fa 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-block .muted-text,
.network-card .muted-text {
  color: #7b8798;
}

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

.nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: #fff;
  border-color: transparent;
  color: #344054;
  position: relative;
  overflow: hidden;
  box-shadow: none;
}

.nav-item.is-active {
  background: #eef4ff;
  border-color: #c9d9ff;
  color: #1d4ed8;
}

.nav-item.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #4f7cff 0%, #2b63f6 100%);
}

.nav-icon {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  border: 1px solid #d9e4f6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #2f4670;
  flex: 0 0 36px;
}

.nav-item:hover .nav-icon {
  border-color: #c9d9ff;
  background: linear-gradient(180deg, #f5f9ff 0%, #e7efff 100%);
}

.nav-item.is-active .nav-icon {
  background: linear-gradient(180deg, #e8f1ff 0%, #d9e7ff 100%);
  border-color: #b8ccff;
  color: #1d4ed8;
  box-shadow: 0 8px 18px rgba(59, 130, 246, 0.12);
}

.nav-text {
  flex: 1;
  font-weight: 700;
}

.network-card {
  margin-top: auto;
  padding: 18px;
  border-radius: 14px;
  background: #f7f9fc;
  border: 1px solid var(--line);
}

.network-url {
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  font-weight: 700;
  word-break: break-all;
}

.access-guide-card {
  display: grid;
  gap: 16px;
}

.access-row {
  display: grid;
  gap: 8px;
}

.access-url {
  font-size: 18px;
  line-height: 1.5;
  word-break: break-all;
  color: var(--navy-soft);
}

.module-sidebar {
  background: #f8fafc;
  border-right: 1px solid var(--line);
  padding: 28px 20px;
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 0;
  overflow-y: auto;
}

.module-sidebar-head {
  display: grid;
  gap: 8px;
}

.secondary-nav-list {
  display: grid;
  gap: 8px;
}

.secondary-nav-item {
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 14px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  color: #475467;
}

.secondary-nav-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-height: 36px;
  border-radius: 12px;
  background: #f3f6fb;
  border: 1px solid #e2e8f0;
  color: #7b8798;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.secondary-nav-copy {
  display: grid;
  gap: 4px;
}

.secondary-nav-copy span {
  font-weight: 700;
}

.secondary-nav-copy em {
  font-style: normal;
  font-size: 12px;
  color: #98a2b3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.secondary-nav-item:hover {
  background: #eef4ff;
  border-color: #d6e4ff;
}

.secondary-nav-item.is-active {
  background: #eaf2ff;
  border-color: #c7d8ff;
  color: #1d4ed8;
}

.secondary-nav-item.is-active .secondary-nav-index {
  background: linear-gradient(180deg, #4f7cff 0%, #2b63f6 100%);
  border-color: #2b63f6;
  color: #fff;
}

.shell-main {
  height: 100vh;
  padding: 28px 30px 34px;
  overflow-y: auto;
  min-height: 0;
}

.shell-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding: 18px 20px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(79, 124, 255, 0.08), transparent 24%),
    #fff;
  border: 1px solid #dfe5ef;
  box-shadow: none;
  position: sticky;
  top: 0;
  z-index: 12;
}

.header-actions,
.toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy-soft);
  font-weight: 700;
}

.chip-muted {
  color: #667085;
}

.chip-accent {
  background: var(--brand-soft);
  border: 0;
  color: var(--brand-strong);
}

.save-status-chip {
  min-height: 44px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border-color: #dbe5f4;
  color: #30415f;
}

.save-status-chip.is-dirty {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #c2410c;
}

.save-status-chip.is-saved {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #0f766e;
}

.save-status-chip.is-pending {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.view-stack {
  display: grid;
  min-height: 0;
}

.view-panel {
  display: none;
  gap: 20px;
}

.view-panel.is-active {
  display: grid;
}

#view-products {
  gap: 12px;
}

#view-product-detail {
  gap: 24px;
}

#view-product-detail .view-headline {
  align-items: flex-start;
}

.view-headline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
  border: 1px solid #dfe5ef;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

.view-headline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #4f7cff 0%, #2b63f6 100%);
}

.view-headline > div:first-child {
  display: grid;
  gap: 8px;
}

.view-toolbar-stack {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.workspace-intro-card {
  display: grid;
  gap: 6px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid #dbe5ff;
  background: #f7faff;
}

.workspace-intro-card strong {
  color: #1d4ed8;
  font-size: 15px;
}

#view-products .view-headline {
  gap: 14px;
  padding: 14px 18px;
  border-radius: 14px;
}

#view-products .view-headline > div:first-child {
  gap: 4px;
}

#view-products .view-headline h3 {
  font-size: 17px;
}

#view-products .view-headline p.muted-text {
  font-size: 12px;
  line-height: 1.5;
}

#view-products .product-command-deck {
  gap: 10px;
}

#view-products .workspace-intro-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
}

#view-products .workspace-intro-card strong {
  font-size: 14px;
}

#view-products .workspace-intro-card .muted-text {
  font-size: 12px;
  line-height: 1.45;
}

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

.security-card {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid #dfe5f1;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.security-card strong {
  font-size: 18px;
  color: var(--navy-soft);
}

.security-card.tone-warn {
  border-color: #ecd8b3;
  background: linear-gradient(180deg, #fffaf1 0%, #fffdf8 100%);
}

.view-workspace-panel {
  display: none;
  gap: 20px;
}

.view-workspace-panel.is-active {
  display: grid;
}

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

.view-meta-strip-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.view-meta-card {
  display: grid;
  gap: 8px;
  min-height: 104px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid #dfe6f3;
  background:
    radial-gradient(circle at top right, rgba(79, 124, 255, 0.08), transparent 22%),
    #fff;
  box-shadow: none;
}

.view-meta-kicker {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.view-meta-strip-compact .view-meta-card {
  min-height: auto;
  padding: 12px 14px;
  border-radius: 12px;
  gap: 5px;
  background: #fff;
}

.view-meta-strip-compact .view-meta-kicker {
  font-size: 11px;
  letter-spacing: 0.04em;
}

.view-meta-strip-compact .view-meta-card strong {
  font-size: 16px;
  line-height: 1.25;
}

.view-meta-strip-compact .subtle-copy {
  font-size: 12px;
  line-height: 1.55;
}

#orderViewMetaBar.view-meta-strip-compact .view-meta-card,
#inventoryViewMetaBar.view-meta-strip-compact .view-meta-card {
  min-height: auto;
  padding: 10px 12px;
  gap: 4px;
}

#orderViewMetaBar.view-meta-strip-compact .view-meta-card strong,
#inventoryViewMetaBar.view-meta-strip-compact .view-meta-card strong {
  font-size: 15px;
}

.view-meta-card strong {
  font-size: 20px;
  color: #1f2530;
  line-height: 1.3;
}

.panel-grid {
  display: grid;
  gap: 20px;
}

.panel-grid.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
}

.panel-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: none;
}

.panel-header,
.panel-subheader {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(221, 229, 242, 0.72);
}

.panel-header > div:first-child,
.panel-subheader > div:first-child {
  display: grid;
  gap: 6px;
}

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

.order-stats-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.inventory-stats-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.order-status-tabs,
.order-scenario-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.order-status-tab,
.order-scenario-chip {
  min-height: 58px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid #dbe3f1;
  background: #fff;
  display: grid;
  gap: 4px;
  justify-items: start;
  text-align: left;
  color: #475467;
}

.order-status-tab strong,
.order-scenario-chip strong {
  font-size: 15px;
  color: var(--navy-soft);
}

.order-status-tab span,
.order-scenario-chip span {
  font-size: 18px;
  font-weight: 800;
}

.order-status-tab em,
.order-scenario-chip em {
  font-style: normal;
  font-size: 12px;
  color: #7a889a;
}

.order-status-tab.is-active,
.order-scenario-chip.is-active {
  border-color: #bed0ff;
  background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.08);
}

.order-view-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.order-view-switch .step-chip {
  margin-bottom: 0;
}

.order-filter-grid {
  align-items: end;
}

.order-list-stats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.order-list-stats-bar span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f7faff;
  border: 1px solid #dbe5ff;
  color: #5e6e84;
  font-size: 12px;
  font-weight: 700;
}

.inventory-list-row {
  gap: 16px;
}

.inventory-detail-shell {
  display: grid;
  gap: 18px;
}

.inventory-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.9fr);
  gap: 18px;
  align-items: start;
}

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

.inventory-detail-main,
.inventory-detail-side {
  display: grid;
  gap: 18px;
}

.inventory-detail-table {
  gap: 12px;
}

.inventory-detail-sku-row {
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(120px, 1fr)) minmax(120px, 0.9fr) auto;
}

.stat-card {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  border: 1px solid rgba(219, 229, 244, 0.96);
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(17, 28, 53, 0.05);
}

.stat-card::after {
  content: "";
  position: absolute;
  right: -14px;
  top: -20px;
  width: 84px;
  height: 84px;
  border-radius: 999px;
  background: rgba(184, 121, 99, 0.08);
}

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

.stat-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--navy-soft);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(219, 229, 244, 0.92);
}

.stat-label {
  font-size: 13px;
  color: #7a8ba2;
  font-weight: 700;
}

.stat-value {
  margin-top: 6px;
  font-size: 30px;
  font-weight: 800;
  color: var(--navy-soft);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-card.tone-urgent {
  background: linear-gradient(180deg, #fff7f3 0%, #fffaf7 100%);
  border-color: #f2d1c3;
  box-shadow: 0 16px 32px rgba(205, 92, 47, 0.08);
}

.stat-card.tone-urgent::after {
  background: rgba(205, 92, 47, 0.08);
}

.stat-card.tone-warn {
  background: linear-gradient(180deg, #fffbf2 0%, #fffdf8 100%);
  border-color: #ecd9b6;
  box-shadow: 0 16px 32px rgba(201, 138, 35, 0.08);
}

.stat-card.tone-warn::after {
  background: rgba(201, 138, 35, 0.08);
}

.stat-card.tone-soft {
  background: linear-gradient(180deg, #f7fbff 0%, #fbfdff 100%);
}

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

.quick-link {
  min-height: 96px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 12px 26px rgba(17, 28, 53, 0.05);
}

.quick-link-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff1ec 0%, #ffe2d9 100%);
  color: var(--brand-strong);
  font-weight: 800;
  flex: 0 0 42px;
}

.quick-link-copy {
  display: grid;
  gap: 6px;
}

.quick-link-copy strong {
  color: var(--navy-soft);
}

.quick-link-copy span {
  color: #6b7b94;
  line-height: 1.5;
  font-size: 13px;
}

.priority-grid {
  display: grid;
  gap: 14px;
}

.priority-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.priority-card.is-clear {
  grid-template-columns: minmax(0, 1fr);
  background: linear-gradient(180deg, #f7fff8 0%, #f0fbf4 100%);
  border-color: #cce8d5;
}

.priority-card.tone-urgent {
  background: linear-gradient(180deg, #fff6f3 0%, #fffaf7 100%);
  border-color: #f4d0c0;
}

.priority-card.tone-warn {
  background: linear-gradient(180deg, #fffaf1 0%, #fffdf8 100%);
  border-color: #ecd8b3;
}

.priority-card.tone-soft {
  background: linear-gradient(180deg, #f7faff 0%, #fbfdff 100%);
  border-color: #dbe5f4;
}

.priority-rank {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff1ec 0%, #ffe2d9 100%);
  color: var(--brand-strong);
  font-size: 18px;
  font-weight: 800;
}

.priority-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.priority-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.priority-severity {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #8a5b2b;
}

.priority-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.priority-top {
  display: grid;
  gap: 8px;
}

.priority-top strong {
  color: var(--navy-soft);
  font-size: 18px;
}

.priority-count {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(219, 229, 244, 0.92);
  color: var(--navy-soft);
  font-weight: 800;
}

.priority-card.tone-urgent .priority-count {
  border-color: #f2d1c3;
  color: #b45309;
}

.priority-card.tone-warn .priority-count {
  border-color: #ecd9b6;
  color: #a16207;
}

.priority-action-btn {
  white-space: nowrap;
}

.timeline-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 12px;
}

.timeline-list li {
  display: grid;
  gap: 6px;
  color: #516178;
}

.simple-list,
.log-table,
.table-wrap,
.invite-list,
.banner-list,
.featured-list,
.product-list,
.inventory-list,
.sku-editor-list {
  display: grid;
  gap: 12px;
}

.order-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-radius: 22px;
}

.focus-hint {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid #ead7c8;
  background:
    radial-gradient(circle at top right, rgba(184, 121, 99, 0.12), transparent 22%),
    linear-gradient(180deg, #fffaf5 0%, #fffdf9 100%);
  box-shadow: 0 12px 28px rgba(58, 38, 23, 0.06);
}

.focus-hint-copy {
  display: grid;
  gap: 6px;
}

.focus-hint-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.focus-hint-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(216, 195, 181, 0.72);
  color: #75594b;
  font-size: 12px;
  font-weight: 700;
}

.focus-hint-copy strong {
  color: #5f3f2f;
  font-size: 15px;
}

.focus-hint-copy .subtle-copy {
  color: #8a6f60;
}

.focus-hint-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.focus-hint-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(95, 63, 47, 0.08);
  color: #6a4a3a;
  font-size: 12px;
  font-weight: 700;
}

.is-home-target {
  animation: homeTargetPulse 1.2s ease;
}

@keyframes homeTargetPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(79, 124, 255, 0);
  }
  25% {
    box-shadow: 0 0 0 4px rgba(79, 124, 255, 0.16);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(79, 124, 255, 0);
  }
}

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

.home-action-card {
  min-height: 176px;
}

.home-action-card.is-clear {
  grid-column: 1 / -1;
  background: linear-gradient(180deg, #f7fff8 0%, #f0fbf4 100%);
  border-color: #cce8d5;
}

.home-action-card.tone-warn {
  background: linear-gradient(180deg, #fffaf1 0%, #fffdf8 100%);
  border-color: #ecd8b3;
}

.home-action-card.tone-soft {
  background: linear-gradient(180deg, #f7faff 0%, #fbfdff 100%);
  border-color: #dbe5f4;
}

.home-action-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: auto;
}

.order-card.is-target,
.inventory-card.is-target,
.invite-card.is-target {
  position: relative;
  border-color: #d8b59d;
  box-shadow: 0 0 0 4px rgba(184, 121, 99, 0.10), 0 18px 34px rgba(58, 38, 23, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #fffaf4 100%);
}

.order-card.is-target::before,
.inventory-card.is-target::before,
.invite-card.is-target::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 16px;
  bottom: 16px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #b87963 0%, #1f2432 100%);
}

.order-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.order-card-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.order-card-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy-soft);
}

.order-card-meta {
  margin-top: 6px;
  color: #64748b;
  font-size: 14px;
}

.order-card-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.order-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.order-table-wrap {
  margin-top: 2px;
}

.order-card.is-collapsed .order-table-wrap {
  display: none;
}

.order-card.is-expanded .order-table-wrap {
  display: block;
}

.order-detail-shell {
  display: grid;
  gap: 18px;
}

.order-detail-top-actions {
  align-items: center;
}

.order-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.9fr);
  gap: 18px;
  align-items: start;
}

.order-detail-main,
.order-detail-side {
  display: grid;
  gap: 18px;
}

.order-detail-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.order-info-item {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #e4eaf3;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.order-info-item span {
  font-size: 12px;
  font-weight: 700;
  color: #7a889a;
}

.order-info-item strong {
  color: var(--navy-soft);
  line-height: 1.5;
}

.order-side-panel,
.detail-side-panel {
  display: grid;
  gap: 12px;
}

.detail-side-panel {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid #e7edf5;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  box-shadow: 0 10px 24px rgba(17, 28, 53, 0.04);
}

.detail-side-panel .panel-subheader {
  align-items: flex-start;
  padding-bottom: 10px;
  border-bottom: 1px solid #eef2f7;
}

.detail-side-panel .panel-subheader h4 {
  font-size: 15px;
}

.detail-side-panel .panel-subheader .muted-text {
  font-size: 12px;
  line-height: 1.7;
}

.order-side-actions {
  display: grid;
  gap: 10px;
}

.order-side-readout {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e6ebf3;
  background: #f7f9fc;
  color: #556477;
  font-size: 13px;
  font-weight: 700;
}

.order-alert-list {
  display: grid;
  gap: 10px;
}

.order-alert-card {
  display: grid;
  gap: 4px;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid #e7edf5;
  background: #f8fafc;
}

.order-alert-card strong {
  color: var(--navy-soft);
  font-size: 13px;
}

.order-alert-card p {
  margin: 0;
  color: #617186;
  font-size: 12px;
  line-height: 1.7;
}

.order-alert-card.tone-urgent {
  border-left: 3px solid #d79273;
  background: #fff9f6;
}

.order-alert-card.tone-warn {
  border-left: 3px solid #d7bb73;
  background: #fffdf7;
}

.order-side-checklist {
  display: grid;
  gap: 8px;
  color: #617186;
  font-size: 12px;
  line-height: 1.7;
}

.order-detail-table-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.order-detail-table-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 10px;
  background: #f4f7fb;
  color: #66768b;
  font-size: 11px;
  font-weight: 700;
}

.inventory-detail-log-meta {
  margin-bottom: 10px;
}

.order-detail-table td strong,
.inventory-log-table td strong {
  color: var(--navy);
  font-size: 13px;
}

.order-detail-item-row td:last-child,
.inventory-log-row td:last-child {
  min-width: 120px;
}

.order-aggregate-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.order-aggregate-meta .product-card-mini {
  min-height: 30px;
}

.list-item,
.log-row,
.banner-card,
.featured-item,
.product-card,
.inventory-card,
.sku-row,
.invite-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
}

.list-item,
.log-row,
.featured-item,
.invite-card {
  padding: 16px;
}

.advisory-item {
  background: linear-gradient(180deg, #fff8ef 0%, #fffbf5 100%);
  border-color: #f5d7b8;
}

.home-preview {
  display: grid;
  gap: 14px;
}

.preview-device {
  width: min(100%, 380px);
  margin: 0 auto;
  padding: 14px 12px 16px;
  border-radius: 36px;
  background: linear-gradient(180deg, #101a31 0%, #172440 100%);
  box-shadow: 0 30px 60px rgba(17, 28, 53, 0.24);
}

.preview-device-notch {
  width: 132px;
  height: 24px;
  margin: 0 auto 12px;
  border-radius: 0 0 18px 18px;
  background: #060b16;
}

.preview-device-screen {
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, #eef5ff 0%, #f8fbff 100%);
  min-height: 680px;
}

.preview-topbar,
.preview-banner-card,
.preview-product-card {
  display: flex;
  gap: 12px;
  align-items: center;
}

.preview-topbar {
  justify-content: space-between;
  padding: 18px;
  border-radius: 0;
  background: linear-gradient(180deg, #111c35 0%, #162542 100%);
  color: #fff;
}

.preview-tag,
.metric-pill,
.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.preview-tag {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy-soft);
}

.metric-pill {
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-strong);
}

.badge {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.preview-search {
  margin: 0 16px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  color: #748198;
}

.preview-banner-large {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  margin: 0 16px;
  border-radius: 26px;
  background: linear-gradient(180deg, #dde9fb 0%, #bed5f6 100%);
  display: grid;
  align-items: end;
}

.preview-banner-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-banner-copy {
  position: absolute;
  inset: 0;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.42));
  color: #fff;
}

.preview-banner-copy h4 {
  margin: 12px 0 8px;
  font-size: 30px;
}

.preview-banner-dots {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 12px;
}

.preview-banner-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
}

.preview-banner-dots span.active {
  width: 28px;
  background: #fff;
}

.preview-banner-list {
  display: grid;
  gap: 12px;
  margin: 0 16px 16px;
}

.preview-banner-card,
.preview-product-card {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.preview-banner-card img,
.preview-product-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 16px;
  background: var(--surface-muted);
}

.dashboard-preview-nav {
  padding: 18px 16px 14px;
  background: linear-gradient(180deg, #111c35 0%, #162542 100%);
  color: #fff;
  text-align: center;
}

.dashboard-preview-nav-title {
  font-size: 18px;
  font-weight: 700;
}

.dashboard-preview-content {
  display: grid;
  gap: 14px;
  padding: 14px;
}

.dashboard-preview-brand-row,
.dashboard-preview-search-card,
.dashboard-preview-section-head,
.dashboard-preview-hero-top,
.dashboard-preview-hero-footer,
.dashboard-preview-region-top,
.dashboard-preview-featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dashboard-preview-brand {
  font-size: 26px;
  font-weight: 800;
  color: #111827;
}

.dashboard-preview-search-card,
.dashboard-preview-section,
.dashboard-preview-ranking-entry,
.dashboard-preview-hero-card,
.dashboard-preview-region-card,
.dashboard-preview-featured-card {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.dashboard-preview-search-card,
.dashboard-preview-section,
.dashboard-preview-hero-card,
.dashboard-preview-region-card,
.dashboard-preview-featured-card {
  border-radius: 20px;
}

.dashboard-preview-search-card {
  padding: 14px;
}

.dashboard-preview-search {
  flex: 1;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: #94a3b8;
  background: #fff;
}

.dashboard-preview-search-btn {
  flex-shrink: 0;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7a5c 0%, #ff6247 100%);
  color: #fff;
  font-weight: 700;
}

.dashboard-preview-banner {
  margin: 0;
  min-height: 260px;
}

.dashboard-preview-ranking-grid,
.dashboard-preview-featured-grid {
  display: grid;
  gap: 12px;
}

.dashboard-preview-ranking-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-preview-ranking-entry {
  padding: 14px;
  border-radius: 20px;
}

.dashboard-preview-ranking-thumb {
  height: 88px;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 10px;
  background: #eef4ff;
}

.dashboard-preview-ranking-thumb img,
.dashboard-preview-hero-image img,
.dashboard-preview-region-image img,
.dashboard-preview-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dashboard-preview-ranking-peach {
  background: linear-gradient(180deg, #fff1eb 0%, #ffe1d7 100%);
}

.dashboard-preview-ranking-blue {
  background: linear-gradient(180deg, #edf6ff 0%, #dbeafe 100%);
}

.dashboard-preview-ranking-purple {
  background: linear-gradient(180deg, #f5efff 0%, #ebe1ff 100%);
}

.dashboard-preview-ranking-title,
.dashboard-preview-featured-title,
.dashboard-preview-hero-title {
  color: #0f172a;
  font-weight: 800;
}

.dashboard-preview-ranking-title {
  font-size: 16px;
}

.dashboard-preview-ranking-subtitle,
.dashboard-preview-hero-meta,
.dashboard-preview-featured-meta {
  margin-top: 6px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.dashboard-preview-ranking-metric {
  display: inline-flex;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.dashboard-preview-ranking-metric-peach {
  background: #ffefe7;
  color: #f97316;
}

.dashboard-preview-ranking-metric-blue {
  background: #e8f0ff;
  color: #2563eb;
}

.dashboard-preview-ranking-metric-purple {
  background: #efe8ff;
  color: #7c3aed;
}

.dashboard-preview-section {
  padding: 14px;
}

.dashboard-preview-section-head {
  margin-bottom: 12px;
}

.dashboard-preview-section-head strong {
  color: #0f172a;
  font-size: 16px;
}

.dashboard-preview-more,
.dashboard-preview-action {
  color: #2563eb;
  font-weight: 700;
}

.dashboard-preview-hero-card,
.dashboard-preview-region-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
}

.dashboard-preview-hero-image,
.dashboard-preview-region-image {
  height: 112px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-muted);
}

.dashboard-preview-hero-body,
.dashboard-preview-region-body {
  display: grid;
  gap: 8px;
}

.dashboard-preview-rank-badge,
.dashboard-preview-region-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.dashboard-preview-rank-badge {
  background: #ffefe7;
  color: #f97316;
}

.dashboard-preview-region-tag {
  background: #eef2ff;
  color: #4f46e5;
}

.dashboard-preview-price {
  color: #f59e0b;
  font-size: 16px;
  font-weight: 800;
}

.dashboard-preview-featured-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-preview-sku-row {
  display: grid;
  gap: 10px;
}

.dashboard-preview-sku-pill {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfdff 0%, #f3f7ff 100%);
  border: 1px solid #dce6f5;
}

.dashboard-preview-sku-pill strong {
  color: #1d4ed8;
}

.dashboard-preview-featured-card {
  padding: 12px;
}

.dashboard-preview-featured-image {
  height: 128px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-muted);
  margin-bottom: 10px;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-grid.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.span-two {
  grid-column: span 2;
}

.editor-split,
.product-layout {
  display: grid;
  gap: 20px;
}

.product-layout {
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
}

.editor-hero {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  margin-bottom: 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #f8fbff 0%, #eff5ff 100%);
}

.editor-hero-cover {
  width: 112px;
  height: 112px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface-muted);
  display: grid;
  place-items: center;
  color: #8da0bc;
  font-weight: 700;
}

.editor-hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editor-hero-meta {
  display: grid;
  gap: 8px;
}

.editor-hero-meta h4 {
  margin: 0;
  font-size: 24px;
}

.editor-hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.editor-health {
  display: grid;
  justify-items: end;
  gap: 8px;
  min-width: 118px;
}

.health-ring {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--brand) calc(var(--score, 0) * 1%), #edf2fa 0);
  padding: 7px;
}

.health-ring::after {
  content: attr(data-score) "%";
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--navy-soft);
}

.stepper-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.editor-sticky-shell {
  position: sticky;
  top: 14px;
  z-index: 10;
  margin: 18px 0 20px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(201, 214, 235, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 38px rgba(17, 28, 53, 0.08);
}

.editor-sticky-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.editor-sticky-copy {
  display: grid;
  gap: 4px;
}

.editor-sticky-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.editor-sticky-copy strong {
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
}

.sticky-summary-chip {
  min-height: 30px;
  font-size: 12px;
  font-weight: 800;
}

.sticky-summary-chip.pending {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: #bfdbfe;
}

.sticky-summary-chip.live {
  color: #0f766e;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.sticky-summary-chip.draft {
  color: #9a3412;
  background: #fff7ed;
  border-color: #fed7aa;
}

.sticky-summary-chip.score {
  color: #315ea8;
  background: #eef4ff;
  border-color: #d7e4ff;
}

.editor-sticky-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.editor-stepper-row {
  margin-bottom: 0;
}

.step-chip {
  border: 1px solid rgba(216, 226, 242, 0.92);
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  color: #5b6c84;
  border-radius: 999px;
  min-height: 42px;
  padding: 10px 16px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.36);
}

.step-chip.is-active {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff;
  border-color: transparent;
}

.step-panel {
  display: none;
  padding-top: 6px;
}

.step-panel.is-active {
  display: block;
}

.workspace-switch {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px;
  border-radius: 12px;
  background: #f4f6fb;
  border: 1px solid var(--line);
}

.workspace-chip {
  border: 1px solid transparent;
  background: transparent;
  color: #475467;
  font-weight: 700;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 10px;
}

.workspace-chip.is-active {
  background: #fff;
  color: #1d4ed8;
  border-color: #c9d9ff;
  box-shadow: none;
}

.product-workspace {
  display: none;
  gap: 20px;
}

.product-workspace.is-active {
  display: grid;
}

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

.import-guide-card {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.import-guide-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy-soft);
}

.field-map-card {
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 18px;
  border: 1px dashed var(--line);
  background: linear-gradient(180deg, #fdfefe 0%, #f7fbff 100%);
}

.field-map-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  color: #53657f;
  font-weight: 600;
}

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

.invite-top-grid {
  align-items: start;
}

.invite-stats-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 16px;
}

.invite-summary-card .stat-value {
  font-size: 30px;
}

.invite-filter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 12px;
}

.invite-card-strong {
  padding: 18px;
  box-shadow: 0 12px 28px rgba(17, 28, 53, 0.06);
}

.invite-code-stack {
  display: grid;
  gap: 8px;
}

.invite-code-input {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.invite-card-grid-strong {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.invite-card-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.invite-import-meta {
  display: grid;
  gap: 12px;
}

.chip-warn {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #c2410c;
}

.editor-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e7eef8;
}

.editor-footer-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.publish-summary {
  display: grid;
  gap: 14px;
}

.publish-stage-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 248, 240, 0.96) 0%, rgba(248, 251, 255, 0.98) 100%);
  border: 1px solid #ead8c9;
}

.publish-stage-card p {
  margin: 8px 0 0;
}

.publish-stage-score {
  min-width: 136px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #dfe7f4;
  text-align: center;
}

.publish-stage-score strong {
  display: block;
  font-size: 28px;
  color: var(--navy-soft);
}

.publish-stage-score span {
  display: block;
  margin-top: 6px;
  color: #6f7f98;
  font-size: 12px;
}

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

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

.publish-summary-card {
  padding: 16px;
  border-radius: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.publish-impact-card {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 244, 240, 0.96) 100%);
  border: 1px solid rgba(223, 228, 238, 0.96);
}

.publish-impact-card.warn {
  background: linear-gradient(180deg, #fff8ef 0%, #fffbf5 100%);
  border-color: #f5d7b8;
}

.publish-impact-card strong {
  display: block;
  font-size: 16px;
  color: #1f2530;
}

.publish-impact-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: auto;
}

.publish-summary-card strong {
  display: block;
  margin-top: 10px;
  font-size: 24px;
  color: var(--navy-soft);
}

.publish-risk-list {
  display: grid;
  gap: 10px;
}

.publish-risk-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
}

.batch-sku-card {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fcfdff 0%, #f4f8ff 100%);
  margin-bottom: 16px;
}

.publish-checklist {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.publish-checklist li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}

.publish-check-detail {
  margin-top: 6px;
  color: #72829a;
  font-size: 12px;
  line-height: 1.6;
}

.status-ok {
  color: #0f766e;
  font-weight: 700;
}

.status-info {
  color: #2754a6;
  font-weight: 700;
}

.status-pending {
  color: #b45309;
  font-weight: 700;
}

.publish-advice-list {
  display: grid;
  gap: 10px;
}

.publish-advice-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
}

.filter-stack {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.product-list {
  max-height: 880px;
  overflow: auto;
  padding-right: 4px;
}

.product-card {
  padding: 14px;
  display: grid;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: #c8d8f4;
  box-shadow: 0 14px 30px rgba(17, 28, 53, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.product-card.is-selected {
  border-color: #94b4ef;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08), 0 18px 34px rgba(37, 99, 235, 0.10);
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  position: relative;
}

.product-card.is-selected::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff7a59 0%, #325caa 100%);
}

.product-card-top,
.product-card-meta,
.banner-card-top,
.inventory-card-head,
.invite-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.product-card-copy {
  min-width: 0;
  flex: 1 1 auto;
  display: grid;
  gap: 4px;
}

.product-card-top {
  align-items: flex-start;
}

.product-card-top strong,
.inventory-card-head strong,
.invite-card-head strong {
  font-size: 16px;
}

.product-card-top strong {
  line-height: 1.3;
  font-size: 17px;
  font-weight: 800;
}

.product-card-thumb {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface-muted);
  display: grid;
  place-items: center;
  color: #8da0bc;
  font-size: 12px;
  flex: 0 0 68px;
}

.product-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-meta,
.banner-card-top,
.inventory-card-head,
.invite-card-head {
  align-items: center;
}

.product-card-meta {
  margin-top: 2px;
}

.product-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 2px;
}

.product-publish-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 72px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.product-publish-badge.draft {
  color: #9a3412;
  background: #fff7ed;
  border-color: #fed7aa;
}

.product-publish-badge.pending {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: #bfdbfe;
}

.product-publish-badge.live {
  color: #0f766e;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.product-publish-badge.draft,
.product-publish-badge.pending,
.product-publish-badge.live {
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.product-card-code,
.subtle-copy {
  color: #6b7b94;
  font-size: 13px;
}

.product-card-code {
  color: #45556f;
  font-size: 12px;
  font-weight: 700;
}

.product-card-highlights {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.product-card-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef4ff;
  border: 1px solid #d7e4ff;
  color: #315ea8;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.product-card-tag.muted {
  background: #f7f9fc;
  border-color: #e1e8f2;
  color: #6f8099;
}

.product-card-tags {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.product-card-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f7f9fc;
  border: 1px solid var(--line);
  color: #60718a;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.product-card-price {
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.editor-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.file-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  padding: 12px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-strong) 100%);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(255, 102, 72, 0.22);
  border: 1px solid transparent;
}

.file-trigger::before {
  content: "+";
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
}

.file-trigger.small-btn {
  padding: 10px 14px;
  border-radius: 12px;
}

.file-trigger.ghost-btn {
  background: #fff7f2;
  color: var(--brand-strong);
  border-color: #ffd6ca;
  box-shadow: none;
}

.accent-action-btn {
  background: #fff7f2;
  color: var(--brand-strong);
  border-color: #ffd6ca;
  box-shadow: 0 10px 24px rgba(255, 122, 89, 0.12);
}

.accent-action-btn:hover {
  background: #ffefe8;
  border-color: #ffb9a4;
}

.file-trigger input,
.upload-dropzone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.gallery-item {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-soft);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gallery-item button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(17, 28, 53, 0.68);
  color: #fff;
}

.gallery-item-badge {
  position: absolute;
  left: 8px;
  top: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 122, 89, 0.92);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.gallery-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px;
}

.link-btn {
  background: transparent;
  border: 0;
  color: var(--brand-strong);
  font-weight: 700;
  padding: 0;
}

.sku-row {
  padding: 14px;
  display: grid;
  gap: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.sku-row-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr 0.9fr 1fr auto;
  gap: 10px;
  align-items: center;
}

.sku-row-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.sku-table-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr 0.9fr 1fr auto;
  gap: 10px;
  padding: 0 6px 10px;
  color: #71829d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.sku-head-cell {
  padding: 0 6px;
}

.banner-card {
  padding: 16px;
  display: grid;
  gap: 16px;
}

.banner-card-body {
  display: grid;
  grid-template-columns: minmax(320px, 360px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.banner-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 375 / 624;
  border-radius: 24px;
  overflow: hidden;
  min-height: 0;
  background: linear-gradient(180deg, #f7f2eb 0%, #efe6d8 100%);
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.06), 0 18px 36px rgba(17, 24, 39, 0.08);
  justify-self: start;
}

.banner-cover-media,
.banner-video-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--banner-focus-x, 50%) var(--banner-focus-y, 50%);
  display: block;
}

.banner-cover-contain .banner-cover-media,
.banner-cover-contain .banner-video-shell img {
  object-fit: contain;
}

.banner-cover-focusable {
  cursor: crosshair;
  user-select: none;
}

.banner-focus-indicator {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  background: rgba(17, 17, 17, 0.18);
  box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.14);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.banner-focus-indicator::before,
.banner-focus-indicator::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.banner-focus-indicator::before {
  width: 10px;
  height: 2px;
}

.banner-focus-indicator::after {
  width: 2px;
  height: 10px;
}

.banner-form {
  display: grid;
  gap: 12px;
}

.banner-focus-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.media-preview-hint {
  margin-top: 10px;
}

.cropper-modal-card {
  width: min(1040px, calc(100vw - 28px));
  padding: 24px 24px 22px;
  border-radius: 28px;
  border: 1px solid rgba(214, 223, 237, 0.9);
  background:
    radial-gradient(circle at top left, rgba(250, 246, 240, 0.92) 0%, rgba(255, 255, 255, 0) 28%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.cropper-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.cropper-modal-copy {
  min-width: 0;
}

.cropper-modal-copy h3 {
  margin: 0;
  color: #1d2736;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.cropper-modal-copy .muted-text {
  margin: 6px 0 0;
  max-width: 220px;
  color: #7a869a;
  line-height: 1.4;
  font-size: 11px;
}

.cropper-close-btn {
  width: 40px;
  min-width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
  border: 1px solid rgba(212, 221, 236, 0.96);
  color: #2f4da3;
  box-shadow: none;
}

.cropper-modal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.cropper-stage-panel {
  min-width: 0;
}

.cropper-stage-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.cropper-stage-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: #f5f7fb;
  color: #6a7689;
  font-size: 10px;
  font-weight: 700;
}

.cropper-stage-note {
  display: none;
}

.cropper-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cropper-stage-shell {
  position: relative;
  border-radius: 26px;
  padding: 16px;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at bottom left, rgba(88, 108, 154, 0.16) 0%, rgba(88, 108, 154, 0) 38%),
    linear-gradient(180deg, #10141c 0%, #1b2330 52%, #222b38 100%);
  border: 1px solid rgba(52, 64, 86, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -1px 0 rgba(255, 255, 255, 0.03),
    0 22px 42px rgba(10, 15, 24, 0.22);
}

.cropper-stage-shell::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 20px;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.035) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.035) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.035) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.035) 75%);
  background-size: 24px 24px;
  background-position: 0 0, 0 12px, 12px -12px, -12px 0;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 18px 30px rgba(255, 255, 255, 0.02);
  pointer-events: none;
}

.cropper-stage-shell::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 20%),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 58%);
  pointer-events: none;
}

.cropper-viewport {
  position: relative;
  width: min(100%, 720px);
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: grab;
  touch-action: none;
}

.cropper-viewport:active {
  cursor: grabbing;
}

.cropper-viewport::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
}

.cropper-viewport::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      transparent calc(50% - 0.5px),
      rgba(255, 255, 255, 0.16) calc(50% - 0.5px),
      rgba(255, 255, 255, 0.16) calc(50% + 0.5px),
      transparent calc(50% + 0.5px)
    ),
    linear-gradient(
      180deg,
      transparent calc(50% - 0.5px),
      rgba(255, 255, 255, 0.16) calc(50% - 0.5px),
      rgba(255, 255, 255, 0.16) calc(50% + 0.5px),
      transparent calc(50% + 0.5px)
    );
  pointer-events: none;
  z-index: 2;
}

.cropper-preview-image {
  position: absolute;
  max-width: none;
  user-select: none;
  -webkit-user-drag: none;
  transform: translate3d(0, 0, 0);
}

.cropper-side-panel {
  display: grid;
  grid-template-columns: auto minmax(220px, 280px) auto;
  align-items: center;
  gap: 10px 14px;
  padding: 0;
  border: 0;
  background: transparent;
}

.cropper-control-block {
  display: grid;
  gap: 5px;
}

.cropper-control-block .field-label {
  margin: 0;
  font-size: 11px;
  color: #7d889c;
}

.cropper-zoom-range {
  width: 100%;
  accent-color: var(--brand-strong);
}

.cropper-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
  justify-content: flex-end;
}

.cropper-modal-actions .ghost-btn,
.cropper-modal-actions .primary-btn {
  width: auto;
  min-width: 0;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  box-shadow: none;
}

.cropper-modal-actions .ghost-btn {
  background: #ffffff;
  border-color: rgba(214, 223, 237, 0.96);
  color: #536179;
}

.cropper-modal-actions .primary-btn {
  padding-inline: 14px;
  box-shadow: 0 10px 24px rgba(22, 93, 255, 0.18);
}

.cropper-side-panel .focus-hint-pill {
  min-height: 24px;
  padding: 0 8px;
  background: rgba(95, 63, 47, 0.06);
  color: #7a665c;
  font-size: 10px;
}

.cropper-side-panel .cropper-meta-row {
  align-self: center;
}

.banner-sort-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--surface-soft);
  border: 1px dashed #c6d3eb;
  color: #66748c;
  font-weight: 700;
}

.banner-card.dragging {
  opacity: 0.55;
}

.banner-card.is-drop-target,
.ranking-config-card.is-drop-target,
.featured-selected-card.is-drop-target {
  border-color: #8cb0ff;
  box-shadow: 0 0 0 3px rgba(79, 124, 255, 0.14);
}

.featured-list {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.featured-selection-shell {
  display: grid;
  gap: 14px;
}

.featured-selected-list {
  display: grid;
  gap: 12px;
}

.featured-selected-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  display: grid;
  gap: 12px;
}

.featured-selected-card.is-dragging,
.ranking-config-card.is-dragging {
  opacity: 0.58;
}

.featured-selected-card-head,
.drag-feedback-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.featured-item-selected {
  border: 1px solid #d8e4fb;
  background: linear-gradient(180deg, #fbfdff 0%, #f5f9ff 100%);
}

.featured-catalog-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.ranking-config-list {
  display: grid;
  gap: 14px;
}

.ranking-config-card {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  gap: 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.ranking-config-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  min-height: 0;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #f7f2eb 0%, #efe6d8 100%);
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.06), 0 18px 36px rgba(17, 24, 39, 0.06);
}

.ranking-config-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ranking-sort-handle {
  width: 42px;
  min-width: 42px;
}

.ranking-config-body {
  display: grid;
  gap: 12px;
}

.banner-video-shell {
  position: relative;
  width: 100%;
  height: 100%;
}

.preview-video-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.78);
  color: #fff8f2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.dashboard-preview-stage {
  min-height: 400px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(160deg, #efe3d4 0%, #dbc4aa 48%, #b89c7f 100%);
}

.dashboard-preview-banner-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dashboard-preview-stage-copy {
  position: absolute;
  inset: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(18, 14, 12, 0.16) 0%, rgba(18, 14, 12, 0.74) 100%);
  color: #fff9f3;
}

.dashboard-preview-brand-row {
  align-items: flex-start;
}

.dashboard-preview-brand {
  color: #fff8ef;
  font-size: 30px;
  font-family: Baskerville, "Times New Roman", serif;
}

.preview-tag {
  background: rgba(255, 249, 241, 0.92);
  color: #5f4b3a;
  border-color: rgba(255, 255, 255, 0.3);
}

.dashboard-preview-slogan-cn {
  margin-top: 18px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.4;
}

.dashboard-preview-slogan-en {
  margin-top: 10px;
  color: rgba(255, 243, 229, 0.8);
  font-size: 13px;
  line-height: 1.7;
}

.dashboard-preview-note {
  margin-top: 10px;
  max-width: 72%;
  color: rgba(255, 243, 229, 0.72);
  font-size: 12px;
  line-height: 1.8;
}

.dashboard-preview-stage-copy .preview-badges {
  margin-top: 18px;
}

.dashboard-preview-stage-copy h4 {
  margin: 14px 0 8px;
  font-size: 34px;
}

.dashboard-preview-search-overlay {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  padding: 12px;
  background: rgba(255, 251, 246, 0.92);
  backdrop-filter: blur(14px);
}

.dashboard-preview-content {
  gap: 18px;
  padding: 16px;
  background: linear-gradient(180deg, #fbf6ef 0%, #f3eadf 100%);
}

.featured-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.featured-item-media {
  width: 88px;
  min-width: 88px;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #f7f2eb 0%, #efe6d8 100%);
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.06);
}

.featured-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.inventory-card {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.inventory-sku-table {
  display: grid;
  gap: 10px;
}

.inventory-sku-row {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.8fr 0.8fr 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: var(--surface-soft);
  border: 1px solid #e3ebf8;
}

.upload-dropzone {
  display: grid;
  gap: 10px;
  justify-items: center;
  position: relative;
  overflow: hidden;
  padding: 36px 24px;
  text-align: center;
  border-style: dashed;
  border-radius: 22px;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f8ff 100%);
}

.table-wrap {
  overflow: auto;
  border-radius: 20px;
  border: 1px solid #dde5f2;
  background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
}

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

.table-wrap thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f8fafc;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.table-wrap th,
.table-wrap td {
  padding: 14px 16px;
  border-bottom: 1px solid #edf2fa;
  text-align: left;
  font-size: 13px;
}

.table-wrap tbody tr:hover td {
  background: #fbfdff;
}

.pagination-shell {
  margin-top: 16px;
}

.pagination-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #e4ebf5;
  border-radius: 16px;
  background: #fbfcfe;
}

.pagination-summary {
  color: #76859a;
  font-size: 12px;
}

.pagination-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pagination-page-btn {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 12px;
  border: 1px solid #d8e1ef;
  background: #fff;
  color: #3f4c62;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.pagination-page-btn.is-active {
  background: #111827;
  color: #fff;
  border-color: #111827;
}

.home-save-history-list {
  display: grid;
  gap: 12px;
}

.home-save-history-card {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid #e2e8f3;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  display: grid;
  gap: 10px;
}

.home-save-history-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.home-save-history-head strong {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #314154;
}

.empty-state,
.small-empty {
  display: grid;
  place-items: center;
  min-height: 120px;
  border-radius: 18px;
  border: 1px dashed var(--line);
  color: #8a97ab;
  background: var(--surface-soft);
  text-align: center;
  padding: 16px;
}

.empty-state::before,
.small-empty::before {
  content: "◇";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0 auto 8px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #dde5f1;
  color: #7b8ba2;
  font-size: 18px;
  font-weight: 800;
}

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

@media (max-width: 960px) {
  .pagination-bar,
  .home-save-history-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .pagination-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

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

.invite-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 50;
}

.modal-card {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 24px 60px rgba(17, 28, 53, 0.2);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(17, 28, 53, 0.94);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 60;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1280px) {
  .panel-grid.two-up,
  .home-grid,
  .product-layout,
  .editor-split,
  .dashboard-preview-ranking-grid,
  .dashboard-preview-featured-grid,
  .ranking-config-card {
    grid-template-columns: 1fr;
  }

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

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

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

  .inventory-detail-layout {
    grid-template-columns: 1fr;
  }

  .inventory-list-table-head,
  .inventory-row {
    grid-template-columns: minmax(240px, 2fr) repeat(4, minmax(70px, 0.7fr)) minmax(88px, 0.8fr) minmax(120px, 1fr) minmax(150px, 1.1fr);
  }
}

@media (max-width: 960px) {
  html,
  body {
    height: auto;
    overflow: auto;
  }

  .admin-shell {
    grid-template-columns: 1fr;
    height: auto;
    overflow: visible;
  }

  .sidebar {
    position: sticky;
    top: 0;
    z-index: 20;
    gap: 16px;
    padding: 18px 16px;
  }

  .nav-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .module-sidebar {
    display: none;
  }

  .shell-main {
    padding: 18px 16px 30px;
    height: auto;
    overflow: visible;
  }

  .shell-header,
  .view-headline,
  .panel-header,
  .panel-subheader,
  .editor-footer,
  .editor-footer-right,
  .banner-card-top,
  .inventory-card-head,
  .invite-card-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .header-actions,
  .toolbar-actions,
  .view-toolbar-stack {
    width: 100%;
  }

  .stats-grid,
  .order-stats-grid,
  .view-meta-strip,
  .home-action-grid,
  .quick-grid,
  .publish-summary-grid,
  .publish-impact-grid,
  .publish-stage-card,
  .editor-hero,
  .form-grid.two-col,
  .form-grid.three-col,
  .invite-card-grid,
  .sku-row-grid,
  .inventory-sku-row,
  .inventory-row,
  .banner-card-body,
  .ranking-config-card,
  .catalog-config-visual-row,
  .dashboard-preview-hero-card,
  .dashboard-preview-region-card {
      grid-template-columns: 1fr;
    }

    .inventory-list-table-head {
      display: none;
    }

    .order-filter-grid {
      grid-template-columns: 1fr;
    }

    .span-two {
      grid-column: span 1;
    }

    .publish-stage-card {
      align-items: flex-start;
    }
  }


.product-card-copy > strong,
.product-card-copy > .product-card-code,
.product-card-copy > .subtle-copy {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card-copy > .subtle-copy {
  margin-top: 0;
  font-size: 12px;
}


.panel-card {
  backdrop-filter: blur(14px);
}

.quick-grid {
  gap: 16px;
}

.quick-link {
  min-height: 112px;
  padding: 18px;
  border-radius: 22px;
  border-color: rgba(220, 226, 238, 0.95);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 246, 242, 0.96) 100%);
}

.quick-link-copy strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  color: #1d2433;
}

.quick-link-copy span {
  color: #697285;
  line-height: 1.6;
}

.quick-link-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8e7df 0%, #efe6df 100%);
  color: #9a5c46;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(201, 152, 130, 0.18);
}

.timeline-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  gap: 14px;
}

.timeline-list li {
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start;
  gap: 12px 14px;
  padding: 14px 0 0;
  position: relative;
}

.timeline-list li::before {
  content: counter(list-item, decimal-leading-zero);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1c2432 0%, #3a3240 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(28, 36, 50, 0.16);
}

.timeline-list li::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 52px;
  bottom: -10px;
  width: 2px;
  background: linear-gradient(180deg, rgba(201, 123, 99, 0.28) 0%, rgba(221, 229, 242, 0) 100%);
}

.timeline-list li:last-child::after {
  display: none;
}

.timeline-list li strong,
.timeline-list li span {
  grid-column: 2;
}

.timeline-list li strong {
  color: #1d2433;
}

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

.control-card,
.workspace-stat-card {
  display: grid;
  gap: 12px;
  min-height: 152px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(223, 228, 238, 0.96);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 244, 240, 0.96) 100%);
  box-shadow: 0 16px 30px rgba(17, 28, 53, 0.05);
}

.control-card-head,
.workspace-stat-card strong {
  display: grid;
  gap: 4px;
}

.control-card-head strong,
.workspace-stat-card strong {
  font-size: 18px;
  color: #1f2530;
}

.control-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.control-pill {
  min-height: 28px;
}

.workspace-stat-label {
  color: #8a7368;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workspace-stat-card.emphasis {
  background: linear-gradient(135deg, #1b1b23 0%, #2c2430 100%);
  color: #fff;
  border-color: transparent;
}

.workspace-stat-card.emphasis strong,
.workspace-stat-card.emphasis .subtle-copy,
.workspace-stat-card.emphasis .workspace-stat-label {
  color: rgba(255, 255, 255, 0.92);
}

.access-guide-card,
.network-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.access-guide-card {
  padding: 6px 0 0;
}

.view-headline {
  align-items: center;
}

.product-command-deck {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  align-items: center;
}

.product-top-actions {
  padding: 8px;
  border-radius: 20px;
  border: 1px solid rgba(219, 229, 244, 0.96);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 249, 255, 0.94) 100%);
  box-shadow: 0 12px 24px rgba(17, 28, 53, 0.05);
}

.product-top-actions .ghost-btn,
.product-top-actions .primary-btn {
  min-height: 44px;
}

.product-command-panel {
  padding-top: 18px;
  padding-bottom: 18px;
}

#view-products .product-command-panel {
  padding: 12px 14px;
  border-radius: 14px;
}

.compact-header {
  margin-bottom: 14px;
}

#view-products .compact-header {
  margin-bottom: 8px;
}

.product-list-shell,
.product-editor-shell {
  display: grid;
  gap: 18px;
}

#view-products .product-list-shell {
  gap: 12px;
}

#view-product-detail .product-editor-shell {
  max-width: 1280px;
}

.product-status-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 4px 0 2px;
}

.product-status-tab {
  min-height: 52px;
  min-width: 128px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid #dbe3f1;
  background: #fff;
  display: grid;
  gap: 4px;
  justify-items: start;
  color: #475467;
}

.product-status-tab strong {
  font-size: 15px;
}

.product-status-tab span {
  font-size: 13px;
  color: #6b7280;
}

.product-status-tab.is-active {
  border-color: #bed0ff;
  background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.08);
}

.product-layout {
  grid-template-columns: minmax(320px, 372px) minmax(0, 1fr);
  align-items: start;
}

.product-workspace[data-product-workspace-panel="manage"] .product-list-card,
.product-workspace[data-product-workspace-panel="catalog"] .panel-card,
.product-workspace[data-product-workspace-panel="import"] .panel-card {
  border-radius: 24px;
}

.product-list-card {
  position: sticky;
  top: 20px;
  align-self: start;
}

.product-list-card,
.product-editor-card {
  border-radius: 28px;
}

.product-card {
  padding: 16px;
  border-radius: 22px;
}

.product-list-wide {
  display: grid;
  gap: 0;
}

.product-workspace[data-product-workspace-panel="manage"] .product-list-card {
  position: static;
}

.product-filter-actions {
  justify-content: flex-start;
  margin-top: 10px;
}

#view-products .product-list-card {
  padding: 14px 16px;
  border-radius: 14px;
}

#view-products .product-list-card .panel-subheader {
  margin-bottom: 10px;
  padding-bottom: 10px;
}

#view-products .product-list-card .panel-subheader h4 {
  font-size: 15px;
}

#view-products .product-list-card .panel-subheader .muted-text {
  font-size: 12px;
  line-height: 1.45;
}

#view-products .filter-stack {
  grid-template-columns: minmax(260px, 1.5fr) minmax(160px, 0.8fr) minmax(160px, 0.8fr);
  gap: 10px;
  margin-bottom: 10px;
}

#view-products .product-list-card .text-input,
#view-products .product-list-card select.text-input {
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 10px;
}

#view-products .product-filter-actions {
  gap: 8px;
  margin-top: 0;
}

#view-products .product-filter-actions .ghost-btn,
#view-products .product-filter-actions .primary-btn {
  min-height: 34px;
  padding: 8px 12px;
}

.product-bulk-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 4px 0;
}

.product-bulk-summary {
  display: grid;
  gap: 4px;
}

.product-list-table {
  border: 1px solid #dfe5f2;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.product-list-table-head,
.product-row {
  display: grid;
  grid-template-columns: 32px minmax(300px, 2.1fr) minmax(92px, 0.7fr) minmax(92px, 0.7fr) minmax(120px, 0.8fr) minmax(150px, 0.95fr) minmax(150px, 0.95fr);
  gap: 12px;
  align-items: center;
}

.product-list-table-head {
  padding: 14px 18px;
  background: #f8fafc;
  border-bottom: 1px solid #e5eaf4;
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

.product-list-table-head > *,
.product-row > * {
  position: relative;
  min-width: 0;
}

.product-list-table-head > *:not(:first-child)::before,
.product-row > *:not(:first-child)::before {
  content: "";
  position: absolute;
  left: -6px;
  top: -10px;
  bottom: -10px;
  width: 1px;
  background: #e7edf5;
}

.product-list-table-body {
  display: grid;
}

.inventory-list-table {
  border: 1px solid #dfe5f2;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.inventory-log-table th,
.inventory-log-table td,
.order-detail-table th,
.order-detail-table td {
  white-space: nowrap;
  vertical-align: top;
}

.inventory-log-table td:nth-child(2),
.inventory-log-table td:nth-child(6),
.order-detail-table td:nth-child(1) {
  white-space: normal;
}

.inventory-detail-log-table td:nth-child(2) {
  min-width: 96px;
}

.inventory-detail-log-table td:nth-child(3) {
  min-width: 170px;
}

.inventory-detail-log-table td:nth-child(5) {
  min-width: 180px;
}

.order-list-table {
  border: 1px solid #dfe5f2;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.inventory-list-table-head,
.order-list-table-head,
.inventory-row {
  display: grid;
  grid-template-columns: minmax(280px, 2.2fr) 92px 78px 88px 88px 88px 98px 148px 180px;
  gap: 12px;
  align-items: center;
}

.inventory-list-table-head {
  padding: 14px 18px;
  background: #f8fafc;
  border-bottom: 1px solid #e5eaf4;
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

.order-list-table-head {
  grid-template-columns: minmax(260px, 2.2fr) 120px 98px 120px minmax(180px, 1.4fr) 120px;
  padding: 14px 18px;
  background: #f8fafc;
  border-bottom: 1px solid #e5eaf4;
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

.inventory-list-table-head > *,
.order-list-table-head > *,
.inventory-row > *,
.order-list-row > * {
  position: relative;
  min-width: 0;
}

.inventory-list-table-head > *:not(:first-child)::before,
.order-list-table-head > *:not(:first-child)::before,
.inventory-row > *:not(:first-child)::before,
.order-list-row > *:not(:first-child)::before {
  content: "";
  position: absolute;
  left: -6px;
  top: -10px;
  bottom: -10px;
  width: 1px;
  background: #e7edf5;
}

.inventory-list-table-body {
  display: grid;
}

.order-list-table-body {
  display: grid;
}

.inventory-row {
  padding: 16px 18px;
  border-bottom: 1px solid #eef2f7;
  background: #fff;
}

.order-list-row {
  display: grid;
  grid-template-columns: minmax(260px, 2.2fr) 120px 98px 120px minmax(180px, 1.4fr) 120px;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid #eef2f7;
  background: #fff;
}

.product-list-table-body .product-row:nth-child(even),
.inventory-list-table-body .inventory-row:nth-child(even),
.order-list-table-body .order-list-row:nth-child(even) {
  background: #fafcff;
}

.inventory-row:last-child {
  border-bottom: 0;
}

.order-list-row:last-child {
  border-bottom: 0;
}

.inventory-row:hover {
  background: #f8fbff;
}

.order-list-row:hover {
  background: #f8fbff;
}

.inventory-row.is-target {
  background: #f2f7ff;
  box-shadow: inset 3px 0 0 #2b63f6;
}

.order-list-row.is-target {
  background: #f2f7ff;
  box-shadow: inset 3px 0 0 #2b63f6;
}

.inventory-row-main {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.order-list-main,
.order-list-cell,
.order-list-actions {
  display: grid;
  gap: 6px;
}

.inventory-row-copy,
.inventory-row-metric,
.inventory-row-updated,
.inventory-row-actions {
  display: grid;
  gap: 6px;
}

.inventory-row-copy strong,
.inventory-row-updated strong,
.inventory-row-metric strong,
.order-list-main strong,
.order-list-cell strong {
  color: var(--navy);
}

.inventory-row-metric span,
.inventory-row-updated span,
.order-list-cell span {
  color: #7b8798;
  font-size: 12px;
}

.inventory-row-actions {
  justify-items: start;
}

.order-list-actions {
  justify-items: start;
}

.inventory-row-actions .ghost-btn,
.inventory-row-actions .primary-btn {
  min-width: 92px;
}

.inventory-log-table thead th,
.order-detail-table thead th {
  background: #f7f9fc;
}

.inventory-log-table th,
.inventory-log-table td,
.order-detail-table th,
.order-detail-table td {
  border-right: 1px solid #ebeef5;
}

.inventory-log-table th:last-child,
.inventory-log-table td:last-child,
.order-detail-table th:last-child,
.order-detail-table td:last-child {
  border-right: 0;
}

.inventory-log-table tbody tr:nth-child(even) td,
.order-detail-table tbody tr:nth-child(even) td {
  background: #fafcff;
}

.inventory-log-row:hover td,
.order-detail-item-row:hover td {
  background: #f8fbff;
}

#inventoryDetailLogsSection .panel-subheader {
  align-items: flex-start;
}

#inventoryDetailLogsSection .muted-text {
  font-size: 12px;
  line-height: 1.7;
}

.order-list-actions .ghost-btn {
  min-width: 92px;
}

.order-list-audit-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.order-list-audit-cell span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 10px;
  background: #f4f7fb;
  color: #5f6e84;
  font-size: 11px;
  font-weight: 600;
}

.order-summary-table-head,
.order-summary-row {
  grid-template-columns: minmax(280px, 2.3fr) 96px 120px 96px 96px minmax(220px, 1.5fr);
}

.product-row {
  padding: 18px;
  border-bottom: 1px solid #eef2f7;
  background: #fff;
  cursor: pointer;
}

.product-row:last-child {
  border-bottom: 0;
}

.product-row:hover {
  background: #f8fbff;
}

.product-row.is-selected {
  background: #f2f7ff;
}

.product-row-main {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.table-check {
  display: inline-grid;
  place-items: center;
}

.table-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.table-check span {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #fff;
  display: inline-grid;
  place-items: center;
}

.table-check input:checked + span {
  background: #2563eb;
  border-color: #2563eb;
}

.table-check input:checked + span::after {
  content: "";
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}

.product-row-thumb {
  width: 72px;
  height: 92px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f5f8;
  display: grid;
  place-items: center;
  color: #98a2b3;
  font-size: 12px;
  font-weight: 700;
}

.product-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-row-copy,
.product-row-price,
.product-row-stock,
.product-row-stage,
.product-row-updated,
.product-row-actions {
  display: grid;
  gap: 6px;
}

.product-row-copy strong,
.product-row-updated strong,
.product-row-stock strong {
  color: var(--navy);
}

.product-row-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-row-code {
  color: #667085;
  font-size: 13px;
}

.product-row-actions {
  justify-items: start;
}

.product-row-actions .ghost-btn {
  min-width: 86px;
}

.text-link-btn {
  border: 0;
  background: transparent;
  padding: 0;
  color: #2563eb;
  font-weight: 600;
}

.product-list-footer {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  color: #667085;
  font-size: 13px;
}

.product-card.is-selected::before {
  background: linear-gradient(180deg, #b87963 0%, #1f2432 100%);
}

.editor-sticky-shell {
  top: 18px;
  padding: 16px;
  border-radius: 24px;
}

.editor-sticky-top {
  align-items: flex-start;
}

.editor-sticky-actions {
  align-self: center;
  gap: 8px;
}

.workspace-switch {
  padding: 4px;
  border-radius: 12px;
  background: #f4f6fb;
  border-color: var(--line);
}

.workspace-chip {
  min-width: 108px;
}

.workspace-chip.is-active {
  background: #fff;
  color: #1d4ed8;
  box-shadow: none;
}

.sticky-preview {
  display: grid;
  align-content: start;
  gap: 14px;
}

.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.preview-device {
  width: min(100%, 360px);
  padding: 14px 12px 18px;
  border-radius: 40px;
  border: 1px solid rgba(13, 18, 29, 0.08);
  background:
    linear-gradient(180deg, #0f1727 0%, #1b2232 100%);
  box-shadow:
    0 32px 70px rgba(17, 28, 53, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.preview-device-screen {
  display: flex;
  flex-direction: column;
  height: min(78vh, 820px);
  min-height: 0;
  border-radius: 30px;
  background: linear-gradient(180deg, #f8f2ec 0%, #fcfbf9 100%);
}

.home-preview {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(28, 36, 50, 0.22) transparent;
}

.home-preview::-webkit-scrollbar {
  width: 6px;
}

.home-preview::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(28, 36, 50, 0.22);
}

.dashboard-preview-content {
  gap: 16px;
  padding: 16px;
}

.dashboard-preview-nav {
  position: sticky;
  top: 0;
  z-index: 2;
  background: linear-gradient(180deg, #161922 0%, #221f2a 100%);
}

.dashboard-preview-brand {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.dashboard-preview-slogan-cn {
  font-size: 24px;
  line-height: 1.24;
}

.dashboard-preview-slogan-en {
  max-width: 260px;
}

.dashboard-preview-search-card,
.dashboard-preview-section,
.dashboard-preview-hero-card,
.dashboard-preview-region-card,
.dashboard-preview-featured-card,
.dashboard-preview-ranking-entry {
  border-radius: 24px;
  box-shadow: 0 14px 28px rgba(25, 30, 40, 0.05);
}

.dashboard-preview-stage {
  min-height: 480px;
  border-radius: 30px;
  overflow: hidden;
}

.dashboard-preview-stage-copy {
  padding: 28px;
  background: linear-gradient(180deg, rgba(13, 18, 29, 0.08) 0%, rgba(13, 18, 29, 0.48) 55%, rgba(13, 18, 29, 0.7) 100%);
}

.dashboard-preview-stage-copy .dashboard-preview-brand,
.dashboard-preview-stage-copy .dashboard-preview-slogan-cn,
.dashboard-preview-stage-copy .dashboard-preview-slogan-en {
  color: #fff;
}

.dashboard-preview-stage-copy .dashboard-preview-slogan-cn {
  margin-top: 18px;
}

.dashboard-preview-stage-copy .dashboard-preview-slogan-en {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
}

.dashboard-preview-stage-copy .primary-btn {
  background: rgba(255, 255, 255, 0.94);
  color: #1d2433;
  box-shadow: none;
}

/* Refined visual pass */
body {
  font-size: 14px;
  line-height: 1.5;
}

.shell-header h1 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.view-headline h3 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.panel-header h3,
.panel-subheader h4 {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}

.muted-text,
.subtle-copy,
.inline-note,
.secondary-nav-copy em,
.quick-link-copy span,
.panel-header p,
.panel-subheader p,
.view-headline p,
.shell-header p {
  font-size: 13px;
  line-height: 1.55;
}

.eyebrow,
.panel-eyebrow {
  min-height: 24px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.field-label {
  margin: 14px 0 7px;
  font-size: 12px;
  letter-spacing: 0.01em;
}

.text-input,
.textarea-input,
select.text-input {
  border-radius: 12px;
  padding: 12px 14px;
}

.primary-btn {
  min-height: 42px;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(43, 99, 246, 0.18);
}

.ghost-btn,
.quick-link,
.nav-item,
.icon-btn {
  min-height: 40px;
  padding: 10px 14px;
  box-shadow: 0 4px 12px rgba(17, 28, 53, 0.04);
}

.small-btn {
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 10px;
}

.chip,
.save-status-chip,
.step-chip,
.stat-badge,
.priority-count,
.order-list-stats-bar span {
  border-radius: 12px;
}

.chip {
  padding: 8px 12px;
  font-size: 12px;
}

.save-status-chip {
  min-height: 38px;
}

.step-chip {
  min-height: 38px;
  padding: 8px 14px;
}

.nav-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  flex-basis: 34px;
  font-size: 10px;
}

.secondary-nav-list {
  gap: 6px;
}

.secondary-nav-item {
  border-radius: 12px;
  padding: 10px 12px;
  grid-template-columns: 32px minmax(0, 1fr);
}

.secondary-nav-index {
  width: 32px;
  min-height: 32px;
  border-radius: 10px;
  font-size: 10px;
}

.secondary-nav-copy {
  gap: 3px;
}

.secondary-nav-copy span {
  font-size: 13px;
}

.secondary-nav-copy em {
  font-size: 11px;
  letter-spacing: 0.04em;
}

.shell-main {
  position: relative;
  padding: 24px 26px 30px;
  background: linear-gradient(180deg, #f5f7fb 0%, #f7f9fc 100%);
  scroll-padding-top: 116px;
  overscroll-behavior: contain;
}

.shell-header {
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(16px) saturate(1.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
  overflow: hidden;
  isolation: isolate;
  z-index: 20;
}

.shell-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 251, 255, 0.95) 100%);
  z-index: -1;
}

.shell-header::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 1px;
  background: rgba(217, 225, 238, 0.9);
}

.view-headline {
  gap: 16px;
  padding: 18px 20px;
  border-radius: 16px;
}

.view-headline::before {
  width: 3px;
}

.view-meta-strip {
  gap: 12px;
}

.view-meta-card {
  min-height: 92px;
  padding: 14px 16px;
  border-radius: 14px;
}

.create-readiness-panel {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #dfe5f2;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.create-readiness-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.create-readiness-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  background: #f2f5fb;
  color: #35506f;
  font-size: 13px;
  font-weight: 800;
}

.create-readiness-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.product-create-section-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.product-create-section-chip {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #dee6f3;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  color: #334155;
  text-align: left;
}

.product-create-section-chip.is-active {
  border-color: #cddafe;
  background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.08);
}

.product-create-section-index {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: #f4f7fc;
  color: #718198;
  font-size: 11px;
  font-weight: 800;
}

.product-create-section-chip.is-active .product-create-section-index {
  background: #1d4ed8;
  color: #fff;
}

.product-create-section-copy {
  display: grid;
  gap: 3px;
}

.product-create-section-copy strong {
  font-size: 14px;
  color: #1f2937;
}

.product-create-section-copy em {
  font-style: normal;
  font-size: 11px;
  color: #718198;
}

.create-readiness-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e3e9f4;
  background: #fbfcfe;
}

.create-readiness-item strong {
  display: block;
  font-size: 12px;
  color: var(--navy-soft);
}

.create-readiness-item span:last-child {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: #6b7b94;
}

.create-readiness-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  background: #fff7ed;
  color: #c2410c;
}

.create-readiness-item.is-done .create-readiness-dot {
  background: #ecfdf5;
  color: #0f766e;
}

.inventory-log-filter-grid {
  align-items: end;
}

.inventory-log-filter-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.view-meta-card strong {
  font-size: 18px;
}

#productPulseSection {
  padding-top: 14px;
  padding-bottom: 14px;
}

#productPulseSection .panel-header {
  margin-bottom: 10px;
  padding-bottom: 10px;
}

#productPulseSection .panel-eyebrow {
  min-height: 22px;
  padding: 0 9px;
}

#productPulseSection .workspace-stat-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

#productPulseSection .workspace-stat-card {
  min-height: auto;
  padding: 12px 14px;
  border-radius: 14px;
  gap: 6px;
  box-shadow: none;
}

#productPulseSection .workspace-stat-card strong {
  font-size: 16px;
}

#productPulseSection .workspace-stat-label,
#productPulseSection .workspace-stat-card .subtle-copy {
  font-size: 11px;
  line-height: 1.45;
}

#productPulseSection .workspace-stat-card.emphasis {
  background: linear-gradient(180deg, #2b2e37 0%, #353744 100%);
}

#view-products #productPulseSection .panel-header h3 {
  font-size: 16px;
}

#view-products #productPulseSection .panel-header {
  margin-bottom: 8px;
  padding-bottom: 8px;
}

#view-products #productPulseSection .workspace-stat-row {
  gap: 8px;
}

#view-products #productPulseSection .workspace-stat-card {
  padding: 10px 12px;
  border-radius: 12px;
  gap: 4px;
}

#view-products #productPulseSection .workspace-stat-card strong {
  font-size: 15px;
}

#view-products #productPulseSection .workspace-stat-label,
#view-products #productPulseSection .workspace-stat-card .subtle-copy {
  font-size: 10px;
  line-height: 1.35;
}

#view-products .product-workspace {
  gap: 12px;
}

#view-products .panel-card {
  padding: 16px 18px;
}

.create-readiness-panel.detail-side-panel {
  box-shadow: none;
}

.create-readiness-panel.detail-side-panel .panel-subheader {
  border-bottom: 0;
  padding-bottom: 0;
}

.panel-card {
  padding: 20px;
  border-radius: 16px;
}

.panel-header,
.panel-subheader {
  margin-bottom: 16px;
  padding-bottom: 14px;
}

.stat-card {
  min-height: 126px;
  padding: 16px 18px;
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(17, 28, 53, 0.04);
}

.stat-card::after {
  right: -10px;
  top: -14px;
  width: 68px;
  height: 68px;
}

.stat-badge {
  padding: 5px 9px;
  font-size: 10px;
}

.stat-value,
.invite-summary-card .stat-value {
  font-size: 26px;
}

.quick-grid {
  gap: 12px;
}

.quick-link {
  min-height: 88px;
  padding: 14px 16px;
  border-radius: 16px;
}

.quick-link-copy strong {
  margin-bottom: 4px;
  font-size: 15px;
}

.quick-link-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.priority-card {
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
}

.priority-top {
  gap: 6px;
}

.priority-top strong,
.workspace-stat-card strong,
.control-card-head strong {
  font-size: 16px;
}

.priority-count {
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  font-size: 12px;
}

.workspace-stat-card {
  min-height: 128px;
  padding: 16px 18px;
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(17, 28, 53, 0.04);
}

.order-status-tabs,
.order-scenario-chips {
  gap: 10px;
  margin-bottom: 16px;
}

.order-status-tab,
.order-scenario-chip {
  min-height: 52px;
  padding: 10px 14px;
  border-radius: 14px;
}

.order-status-tab strong,
.order-scenario-chip strong {
  font-size: 14px;
}

.order-status-tab span,
.order-scenario-chip span {
  font-size: 16px;
}

.order-list-stats-bar span {
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
}

.table-wrap {
  border-radius: 16px;
}

.table-wrap thead th {
  font-size: 11px;
  letter-spacing: 0.04em;
  background: #f7f9fc;
}

.table-wrap th,
.table-wrap td {
  padding: 12px 14px;
  font-size: 13px;
}

.empty-state,
.small-empty {
  min-height: 108px;
  border-radius: 14px;
  padding: 18px;
}

.empty-state::before,
.small-empty::before {
  width: 30px;
  height: 30px;
  margin-bottom: 6px;
  border-radius: 10px;
}

.panel-eyebrow,
.chip,
.save-status-chip,
.step-chip,
.stat-badge,
.priority-count,
.order-list-stats-bar span,
.focus-hint-pill,
.focus-hint-tag,
.product-card-mini,
.product-publish-badge,
.preview-tag,
.metric-pill,
.badge {
  border-radius: 10px;
}

.chip,
.focus-hint-tag,
.product-card-mini,
.product-publish-badge,
.order-list-stats-bar span,
.preview-tag,
.metric-pill,
.badge {
  min-height: 26px;
  padding: 4px 9px;
  font-size: 11px;
}

.save-status-chip,
.step-chip {
  min-height: 34px;
  padding: 6px 10px;
}

.toolbar-actions .ghost-btn,
.toolbar-actions .primary-btn,
.toolbar-actions .small-btn {
  min-height: 34px;
  padding: 8px 12px;
}

.view-headline {
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.view-headline h3,
.panel-header h3,
.panel-subheader h4 {
  font-size: 20px;
  line-height: 1.3;
}

.workspace-intro-card {
  padding: 14px 16px;
  border-radius: 14px;
}

.workspace-stat-card,
.panel-card,
.control-card,
.product-list-card {
  border-radius: 16px;
}

.invite-manage-table {
  border: 1px solid #dde5f2;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.invite-manage-head,
.invite-manage-summary {
  display: grid;
  grid-template-columns: minmax(260px, 2.1fr) minmax(180px, 1.2fr) minmax(200px, 1.2fr) minmax(200px, 1.2fr);
  gap: 12px;
  align-items: center;
}

.invite-manage-head > *,
.invite-manage-summary > * {
  position: relative;
  min-width: 0;
}

.invite-manage-head > *:not(:first-child)::before,
.invite-manage-summary > *:not(:first-child)::before {
  content: "";
  position: absolute;
  left: -6px;
  top: -10px;
  bottom: -10px;
  width: 1px;
  background: #e7edf5;
}

.invite-manage-head {
  padding: 12px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #e6edf6;
  color: #667085;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.invite-manage-row {
  border-bottom: 1px solid #edf2fa;
  background: #fff;
}

.invite-manage-row:last-child {
  border-bottom: 0;
}

.invite-manage-row[open] {
  background: #fbfdff;
}

.invite-manage-table .invite-manage-row:nth-of-type(even):not([open]) {
  background: #fafcff;
}

.invite-manage-summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
}

.invite-manage-summary::-webkit-details-marker {
  display: none;
}

.invite-manage-main,
.invite-manage-cell {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.invite-manage-main strong,
.invite-manage-cell strong {
  font-size: 14px;
  color: #243246;
}

.invite-manage-status-row,
.invite-manage-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.invite-manage-detail {
  padding: 0 16px 16px;
  border-top: 1px solid #eef3fa;
}

.invite-manage-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 14px;
  padding-top: 14px;
}

.invite-manage-form-grid .field-label {
  margin-top: 0;
}

.invite-manage-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #edf2fa;
}

.invite-code-input {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

@media (max-width: 1280px) {
  .security-grid,
  .create-readiness-list,
  .product-create-section-strip,
  .control-grid,
  .workspace-stat-row {
    grid-template-columns: 1fr;
  }

  #view-products .filter-stack {
    grid-template-columns: 1fr;
  }

  .invite-manage-head,
  .invite-manage-summary {
    grid-template-columns: minmax(220px, 2fr) repeat(3, minmax(0, 1fr));
  }

  .invite-manage-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inventory-detail-overview-grid {
    grid-template-columns: 1fr;
  }

  .inventory-list-table-head,
  .inventory-row,
  .order-list-table-head,
  .order-list-row,
  .order-summary-table-head,
  .order-summary-row {
    grid-template-columns: minmax(220px, 2fr) repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .product-command-deck {
    width: 100%;
    justify-content: flex-start;
  }

  .product-top-actions,
  .preview-toolbar {
    width: 100%;
    justify-content: flex-start;
  }

  .inventory-log-filter-actions,
  .create-readiness-head {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .product-list-card {
    position: static;
  }

  .preview-device-screen {
    height: 720px;
  }

  .control-grid,
  .workspace-stat-row {
    grid-template-columns: 1fr;
  }

  .invite-manage-head {
    display: none;
  }

  .invite-manage-summary,
  .invite-manage-form-grid,
  .invite-manage-foot {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .inventory-list-table-head,
  .order-list-table-head,
  .order-summary-table-head {
    display: none;
  }

  .inventory-row,
  .order-list-row,
  .order-summary-row {
    grid-template-columns: 1fr;
  }

  .product-list-table-head > *:not(:first-child)::before,
  .product-row > *:not(:first-child)::before,
  .inventory-list-table-head > *:not(:first-child)::before,
  .order-list-table-head > *:not(:first-child)::before,
  .invite-manage-head > *:not(:first-child)::before,
  .invite-manage-summary > *:not(:first-child)::before,
  .inventory-row > *:not(:first-child)::before,
  .order-list-row > *:not(:first-child)::before {
    content: none;
  }
}

.preview-device-screen {
  background: #ffffff;
}

.mini-home-preview {
  min-height: 100%;
  background: #ffffff;
}

.mini-home-preview-nav {
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 18px 16px 14px;
  background: linear-gradient(180deg, #111c35 0%, #162542 100%);
  color: #ffffff;
  text-align: center;
}

.mini-home-preview-nav-title {
  font-size: 18px;
  font-weight: 700;
}

.mini-home-preview-body {
  display: grid;
  gap: 18px;
  padding: 0 16px 22px;
  background: #ffffff;
}

.mini-home-topbar {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
}

.mini-home-topbar-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 3;
}

.mini-home-topbar-plain {
  padding-top: 10px;
}

.mini-home-search-trigger,
.mini-home-topbar-spacer {
  width: 32px;
  height: 32px;
}

.mini-home-search-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-home-search-icon {
  position: relative;
  width: 14px;
  height: 14px;
  border: 2px solid #ffffff;
  border-radius: 999px;
}

.mini-home-search-icon::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  transform: rotate(45deg);
}

.mini-home-search-icon-dark {
  border-color: #111111;
}

.mini-home-search-icon-dark::after {
  background: #111111;
}

.mini-home-topbar-title {
  text-align: center;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-family: Baskerville, "Times New Roman", serif;
}

.mini-home-topbar-title-dark {
  color: #111111;
}

.mini-home-hero {
  position: relative;
  margin-top: 10px;
}

.mini-home-hero-media {
  position: relative;
  aspect-ratio: 375 / 624;
  min-height: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #f7f2eb 0%, #efe6d8 100%);
}

.mini-home-hero-image,
.mini-home-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mini-home-hero-media-contain .mini-home-hero-image,
.mini-home-hero-media-contain .mini-home-hero-video {
  object-fit: contain;
}

.mini-home-hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.13) 34%, rgba(0, 0, 0, 0.36) 100%);
}

.mini-home-hero-copy {
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 17px;
  color: #ffffff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.12);
}

.mini-home-hero-kicker-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}

.mini-home-hero-kicker,
.mini-home-hero-rank {
  min-height: 17px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.mini-home-hero-kicker {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.mini-home-hero-rank {
  background: rgba(255, 255, 255, 0.92);
  color: #111111;
}

.mini-home-hero-title {
  max-width: 72%;
  font-size: 30px;
  line-height: 1.06;
  font-weight: 700;
  font-family: Baskerville, "Times New Roman", serif;
}

.mini-home-hero-subtitle {
  max-width: 72%;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  line-height: 1.65;
}

.mini-home-hero-action {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.94);
  color: #111111;
  font-size: 12px;
  font-weight: 700;
}

.mini-home-manifesto {
  padding: 5px 0 9px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.mini-home-manifesto-kicker,
.mini-home-section-kicker {
  color: #8d8d8d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.mini-home-manifesto-title,
.mini-home-section-title,
.mini-home-ranking-title,
.mini-home-list-title,
.mini-home-featured-title,
.mini-home-callout-title {
  color: #111111;
  font-family: Baskerville, "Times New Roman", serif;
}

.mini-home-manifesto-title {
  margin-top: 5px;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 700;
}

.mini-home-manifesto-text,
.mini-home-callout-text,
.mini-home-featured-note {
  margin-top: 5px;
  color: #727272;
  font-size: 12px;
  line-height: 1.55;
}

.mini-home-manifesto-text {
  max-width: 92%;
}

.mini-home-ranking-entry-grid,
.mini-home-featured-grid,
.mini-home-stats-grid {
  display: grid;
  gap: 6px;
}

.mini-home-ranking-entry-grid,
.mini-home-featured-grid,
.mini-home-stats-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-home-ranking-entry.is-lead,
.mini-home-featured-card.is-lead {
  grid-column: 1 / -1;
}

.mini-home-ranking-thumb-wrap {
  position: relative;
  height: 140px;
  overflow: hidden;
  background: #f2f2f2;
}

.mini-home-ranking-entry.is-lead .mini-home-ranking-thumb-wrap {
  height: 180px;
}

.mini-home-ranking-thumb,
.mini-home-featured-image,
.mini-home-list-image,
.mini-home-sku-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mini-home-ranking-entry.is-lead .mini-home-ranking-thumb {
  object-position: 50% 36%;
  transform: scale(1.03);
  transform-origin: center;
}

.mini-home-ranking-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.03) 10%, rgba(0, 0, 0, 0.44) 100%);
}

.mini-home-ranking-copy {
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 9px;
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.14);
}

.mini-home-ranking-head,
.mini-home-section-head,
.mini-home-list-topline,
.mini-home-list-footer,
.mini-home-sku-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

.mini-home-ranking-label {
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.mini-home-ranking-arrow,
.mini-home-section-more,
.mini-home-list-action,
.mini-home-featured-action {
  color: #111111;
  font-size: 12px;
  font-weight: 700;
}

.mini-home-ranking-arrow {
  color: #ffffff;
}

.mini-home-section-title {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.mini-home-ranking-title {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.32;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.mini-home-list-meta,
.mini-home-featured-meta,
.mini-home-stats-summary,
.mini-home-sku-subtitle {
  margin-top: 3px;
  color: #8a8a8a;
  font-size: 11px;
  line-height: 1.45;
}

.mini-home-ranking-subtitle {
  margin-top: 3px;
  min-height: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  line-height: 1.45;
}

.mini-home-ranking-metric,
.mini-home-list-badge {
  margin-top: 5px;
  display: inline-flex;
  align-items: center;
  min-height: 16px;
  padding: 0 5px;
  background: #111111;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
}

.mini-home-region-badge {
  background: #111111;
}

.mini-home-callout {
  padding: 22px 20px 20px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  text-align: center;
}

.mini-home-callout-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.mini-home-callout-button {
  margin-top: 16px;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111111;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.mini-home-section {
  padding: 18px 0 0;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.mini-home-list-card {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.mini-home-list-card.is-lead {
  display: grid;
  grid-template-columns: minmax(132px, 148px) minmax(0, 1fr);
}

.mini-home-list-image-wrap {
  width: 124px;
  height: 124px;
  background: #efefef;
  flex-shrink: 0;
  overflow: hidden;
}

.mini-home-list-card.is-lead .mini-home-list-image-wrap {
  width: 100%;
  height: 180px;
}

.mini-home-list-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mini-home-list-title,
.mini-home-featured-title {
  margin-top: 10px;
  font-size: 22px;
  line-height: 1.28;
  font-weight: 700;
}

.mini-home-list-pieces,
.mini-home-sku-bottom,
.mini-home-featured-price,
.mini-home-list-price {
  color: #111111;
  font-size: 12px;
  font-weight: 700;
}

.mini-home-list-price,
.mini-home-featured-price,
.mini-home-stat-value {
  font-family: Baskerville, "Times New Roman", serif;
}

.mini-home-sku-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.mini-home-sku-track::-webkit-scrollbar {
  display: none;
}

.mini-home-sku-card {
  width: 150px;
  flex: 0 0 auto;
}

.mini-home-sku-card.is-lead {
  width: 180px;
}

.mini-home-sku-image-wrap {
  height: 124px;
  overflow: hidden;
  background: #efefef;
}

.mini-home-sku-card.is-lead .mini-home-sku-image-wrap {
  height: 160px;
}

.mini-home-sku-title,
.mini-home-featured-kicker {
  margin-top: 12px;
  color: #9a9a9a;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.mini-home-featured-card {
  display: block;
}

.mini-home-featured-image-wrap {
  height: 158px;
  background: #efefef;
  overflow: hidden;
}

.mini-home-featured-card.is-lead .mini-home-featured-image-wrap {
  height: 220px;
}

.mini-home-featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.mini-home-stat-card {
  padding: 16px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: #ffffff;
}

.mini-home-stat-label {
  color: #8d8d8d;
  font-size: 11px;
}

.mini-home-stat-value {
  margin-top: 10px;
  color: #111111;
  font-size: 28px;
  font-weight: 700;
}

.mini-home-empty-panel,
.mini-home-ranking-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  background: #f7f7f7;
  color: #999999;
  font-size: 12px;
  text-align: center;
}

.mini-home-ranking-empty {
  height: 100%;
}

@media (max-width: 900px) {
  .cropper-modal-card {
    width: min(100vw - 24px, 760px);
    padding: 20px;
  }

  .cropper-modal-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cropper-modal-head {
    margin-bottom: 16px;
  }

  .cropper-stage-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .cropper-stage-shell {
    padding: 14px;
  }

  .cropper-stage-shell::before {
    inset: 14px;
  }

  .cropper-viewport {
    width: min(100%, 420px);
  }

  .cropper-side-panel {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cropper-modal-actions {
    grid-template-columns: 1fr;
  }

  .cropper-modal-actions .ghost-btn,
  .cropper-modal-actions .primary-btn {
    min-width: 0;
  }
}

.site-footer {
  padding: 18px 16px 26px;
  text-align: center;
  color: #9a9a9a;
  font-size: 12px;
}

.site-footer-link {
  color: inherit;
  text-decoration: none;
}

.site-footer-link:hover {
  color: #111111;
}

/* Target-style shell refresh */

.admin-shell {
  grid-template-columns: 176px 188px minmax(0, 1fr);
  background: #f5f6f8;
  transition: grid-template-columns 0.22s ease;
}

.admin-shell.is-module-sidebar-collapsed {
  grid-template-columns: 176px 0 minmax(0, 1fr);
}

.sidebar {
  padding: 0;
  gap: 0;
  background: #2f3d4d;
  color: #ffffff;
  border-right: 0;
  box-shadow: none;
}

.brand-block-target {
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 12px;
  padding: 18px 18px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  align-items: center;
}

.brand-mark {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 18px;
  background: radial-gradient(circle at 30% 28%, #ffd861 0%, #ffa114 44%, #ff7a00 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark-flame {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.brand-mark::before {
  left: 13px;
  top: 7px;
  width: 23px;
  height: 34px;
  background: linear-gradient(180deg, #38cf6f 0%, #0f8f52 100%);
  transform: rotate(18deg);
}

.brand-mark::after {
  left: 18px;
  top: 12px;
  width: 14px;
  height: 23px;
  background: linear-gradient(180deg, #ffef9e 0%, #ffd031 100%);
  transform: rotate(18deg);
}

.brand-mark-flame {
  right: 6px;
  top: 9px;
  width: 18px;
  height: 28px;
  background: linear-gradient(180deg, #2e6cff 0%, #1c55d8 100%);
  transform: rotate(32deg);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.1;
}

.brand-copy span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.nav-list {
  gap: 6px;
  padding: 12px 0;
}

.nav-item {
  min-height: 58px;
  padding: 0 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.nav-item::before {
  display: none;
}

.nav-item:hover,
.nav-item:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.nav-item.is-active {
  background: rgba(255, 255, 255, 0.1);
  border-color: transparent;
  color: #ffffff;
}

.nav-item.is-active .nav-text {
  color: #ffffff;
}

.nav-item.is-active::after {
  display: none;
}

.nav-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font-size: 0;
}

.nav-icon::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  font-size: 18px;
  line-height: 1;
}

.nav-item[data-view-target="workbench"] .nav-icon::before {
  content: "⌂";
}

.nav-item[data-view-target="orders"] .nav-icon::before {
  content: "≣";
}

.nav-item[data-view-target="products"] .nav-icon::before {
  content: "▦";
}

.nav-item[data-view-target="inventory"] .nav-icon::before {
  content: "◎";
}

.nav-item[data-view-target="home"] .nav-icon::before {
  content: "✦";
}

.nav-item[data-view-target="invites"] .nav-icon::before {
  content: "⌁";
}

.nav-item:hover .nav-icon,
.nav-item.is-active .nav-icon {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.nav-text {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav-access-card {
  display: none !important;
}

.sidebar-footer {
  margin-top: auto;
  padding: 18px 8px 16px;
}

.sidebar-footer-brand {
  display: block;
  padding: 0 10px 12px;
  color: #ff8b10;
  font-size: 16px;
  font-weight: 800;
}

.sidebar-search-btn {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.sidebar-search-arrow {
  width: 10px;
  height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.module-sidebar {
  padding: 0;
  gap: 0;
  background: #ffffff;
  border-right: 1px solid #eceff3;
  overflow: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.admin-shell.is-module-sidebar-collapsed .module-sidebar {
  opacity: 0;
  transform: translateX(-16px);
  pointer-events: none;
  border-right-color: transparent;
}

.module-sidebar-head {
  display: none;
}

.module-sidebar-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  color: #98a2b3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.module-sidebar-head h3 {
  font-size: 15px;
  font-weight: 700;
  color: #2d3138;
}

.module-sidebar-head .muted-text {
  font-size: 12px;
  line-height: 1.55;
  color: #9aa2af;
}

.secondary-nav-list {
  gap: 18px;
  padding: 18px 0 22px;
}

.secondary-nav-group {
  display: grid;
  gap: 8px;
}

.secondary-nav-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  color: #4d5560;
  font-size: 14px;
  font-weight: 700;
}

.secondary-nav-group-title-bar {
  display: none;
}

.secondary-nav-group-arrow {
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #8d95a3;
  border-bottom: 1.5px solid #8d95a3;
  transform: rotate(45deg) translateY(-1px);
}

.secondary-nav-group-items {
  display: grid;
  gap: 2px;
}

.secondary-nav-item {
  padding: 10px 16px 10px 20px;
  grid-template-columns: 1fr;
  border: 0;
  border-radius: 0;
  color: #6a717d;
}

.secondary-nav-item:hover {
  background: #faf6ef;
  border-color: transparent;
}

.secondary-nav-item.is-active {
  background: #fff7ef;
  border-color: transparent;
  color: #1f2329;
}

.secondary-nav-item.is-active::before {
  display: none;
}

.secondary-nav-index {
  display: none;
}

.secondary-nav-copy {
  display: grid;
  gap: 2px;
}

.secondary-nav-copy > span {
  font-size: 15px;
  font-weight: 500;
}

.secondary-nav-item.is-active .secondary-nav-copy > span {
  font-weight: 700;
}

.secondary-nav-copy em {
  display: none;
}

.shell-main {
  height: 100vh;
  padding: 0 18px 24px;
  background: #f7f7f8;
}

.shell-header {
  position: sticky;
  top: 0;
  z-index: 24;
  margin: 0 -18px 18px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #eceff4;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
  isolation: auto;
}

.shell-header::before,
.shell-header::after {
  display: none;
}

.shell-topbar {
  min-height: 70px;
  padding: 0 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.shell-topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
}

.shell-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 0;
}

.collapse-hint-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 6px;
  border: 0;
  background: transparent;
  color: #7d8692;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.collapse-hint-btn:hover {
  color: #4b5563;
}

.collapse-hint-icon {
  width: 13px;
  height: 13px;
  border-left: 1.8px solid currentColor;
  border-top: 1.8px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
}

.collapse-hint-btn.is-collapsed .collapse-hint-icon {
  transform: rotate(135deg);
}

.top-nav-list {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex: 0 0 auto;
  overflow: visible;
}

.top-nav-list::-webkit-scrollbar {
  display: none;
}

.top-nav-item {
  position: relative;
  min-height: 72px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: #7c828c;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.top-nav-item::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: transparent;
}

.top-nav-item:hover {
  color: #454b54;
}

.top-nav-item.is-active {
  color: #ff8200;
}

.top-nav-item.is-active::after {
  background: linear-gradient(180deg, #ffa236 0%, #ff8200 100%);
}

.header-actions {
  gap: 10px;
  flex-wrap: nowrap;
  flex: 0 0 auto;
}

.header-icon-chip {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e7eaf0;
  border-radius: 12px;
  background: #ffffff;
  color: #7f8793;
  font-size: 0;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.header-icon-chip:hover,
.header-icon-chip.is-active {
  border-color: #ffd1a2;
  background: #fff7ef;
  color: #ff8200;
}

.header-icon-chip::before {
  font-size: 16px;
}

.header-icon-chip::before {
  content: "⛶";
}

.header-icon-chip-language {
  font-size: 14px;
  font-weight: 700;
}

.header-icon-chip-language::before {
  display: none;
}

.header-user-pill {
  position: relative;
  min-height: 40px;
  padding: 0 18px 0 0;
  display: inline-flex;
  align-items: center;
  color: #7d848f;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.header-user-pill::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #a0a6af;
  border-bottom: 1.5px solid #a0a6af;
  transform: translateY(-65%) rotate(45deg);
}

.header-user-menu {
  position: relative;
}

.header-user-pill {
  border: 0;
  background: transparent;
}

.header-user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  padding: 10px 0;
  border: 1px solid #eceff4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.header-user-dropdown-item {
  width: 100%;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  background: transparent;
  text-align: left;
  color: #5b626e;
  font-size: 15px;
}

.header-user-dropdown-item:hover {
  background: #f8fafc;
  color: #1f2530;
}

.header-user-dropdown-divider {
  height: 1px;
  margin: 8px 0;
  background: #eef1f5;
}

.header-user-dropdown-item.is-danger {
  color: #d92d20;
}

.shell-subbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 20px 18px;
  border-top: 1px solid #f4f5f7;
  background: #ffffff;
}

.shell-subbar-main {
  display: flex;
  align-items: center;
  gap: 16px;
}

.content-kicker {
  display: none;
}

.shell-refresh-btn {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: #8b919c;
  font-size: 14px;
  font-weight: 500;
}

.shell-refresh-btn:hover {
  color: #ff8200;
}

.shell-subbar-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8d95a1;
  font-size: 13px;
  white-space: nowrap;
}

.shell-subbar-meta-value {
  color: #7a828d;
}

.shell-header h1 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.view-panel {
  gap: 18px;
}

.panel-card,
.view-headline {
  border-radius: 8px;
  border-color: #eceef2;
  box-shadow: none;
}

.view-headline::before {
  display: none;
}

.panel-header,
.panel-subheader {
  border-bottom-color: #eef1f5;
}

@media (max-width: 1180px) {
  .admin-shell {
    grid-template-columns: 156px 176px minmax(0, 1fr);
  }

  .shell-topbar {
    padding: 0 16px;
  }

  .shell-subbar {
    padding: 14px 16px 18px;
  }

  .top-nav-item {
    padding: 0 14px;
  }
}

@media (max-width: 960px) {
  .admin-shell {
    grid-template-columns: 1fr;
    height: auto;
    overflow: visible;
  }

  .sidebar {
    position: static;
  }

  .module-sidebar {
    display: none;
  }

  .shell-main {
    height: auto;
    padding: 0 12px 24px;
    overflow: visible;
  }

  .shell-header {
    position: static;
    margin: 0 -12px 16px;
  }

  .shell-topbar,
  .shell-subbar {
    flex-direction: column;
    align-items: stretch;
  }

  .header-actions {
    flex-wrap: wrap;
  }
}

.dashboard-view {
  gap: 18px;
}

.dashboard-progress-strip {
  height: 6px;
  border-radius: 999px;
  background: #f1f1f1;
  overflow: hidden;
  width: 100%;
  max-width: none;
  margin-top: -2px;
}

.dashboard-progress-strip-track {
  display: block;
  width: 58%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f2f2f2 0%, #ececec 100%);
}

.dashboard-overview-card,
.dashboard-table-card {
  padding: 18px 18px 16px;
  border-radius: 4px;
  border-color: #eceef2;
  background: #fff;
}

.dashboard-section-head,
.dashboard-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.dashboard-section-title-row {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.dashboard-section-head h3,
.dashboard-table-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #1d2129;
}

.dashboard-inline-link,
.dashboard-more-link {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8d95a3;
  font-size: 13px;
  font-weight: 500;
  box-shadow: none;
}

.dashboard-inline-link::after {
  content: "↻";
  margin-left: 4px;
  font-size: 13px;
}

.dashboard-more-link::after {
  content: "›";
  margin-left: 4px;
  font-size: 15px;
}

.dashboard-section-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8f97a4;
  font-size: 12px;
}

.dashboard-section-meta strong {
  color: #8f97a4;
  font-weight: 500;
}

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

.dashboard-stat-card {
  min-height: 150px;
  padding: 34px 20px 28px;
  border-radius: 10px;
  display: grid;
  align-content: center;
  gap: 14px;
  color: #3a3f47;
}

.dashboard-stat-card.tone-peach {
  background: #ffe0af;
}

.dashboard-stat-card.tone-blue {
  background: #b9d8f8;
}

.dashboard-stat-card.tone-yellow {
  background: #fff2b5;
}

.dashboard-stat-card.tone-pink {
  background: #fbe4d8;
}

.dashboard-stat-card.tone-mint {
  background: #e5f6e6;
}

.dashboard-stat-label {
  font-size: 14px;
  color: #575d66;
}

.dashboard-stat-value {
  font-size: 28px;
  line-height: 1;
  color: #33373d;
  letter-spacing: 0.01em;
}

.dashboard-table-wrap {
  overflow-x: auto;
}

.dashboard-data-table {
  min-width: 100%;
}

.dashboard-data-head,
.dashboard-data-row {
  display: grid;
  align-items: center;
  gap: 12px;
}

.dashboard-agent-grid {
  grid-template-columns: 108px minmax(150px, 1.2fr) repeat(5, minmax(110px, 0.9fr)) minmax(180px, 1fr);
}

.dashboard-shop-grid {
  grid-template-columns: 108px minmax(220px, 1.5fr) repeat(2, minmax(110px, 0.85fr)) minmax(180px, 1fr) minmax(180px, 1fr) minmax(120px, 0.8fr);
}

.dashboard-product-grid {
  grid-template-columns: 108px 90px 140px minmax(220px, 1.5fr) minmax(120px, 0.9fr) minmax(110px, 0.8fr) minmax(120px, 0.8fr);
}

.dashboard-product-table-wrap {
  overflow-x: auto;
}

.dashboard-product-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
}

.dashboard-product-table thead th {
  height: 58px;
  padding: 0 18px;
  border: 1px solid #efefef;
  background: #f8f8f8;
  color: #a29b95;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.dashboard-product-table tbody td {
  padding: 14px 18px;
  border: 1px solid #efefef;
  color: #5e6470;
  font-size: 13px;
  background: #fff;
  vertical-align: middle;
}

.dashboard-product-table tbody tr.is-alt td {
  background: #fff6e8;
}

.dashboard-product-table tbody tr:hover td {
  background: #fffdf7;
}

.dashboard-product-table tbody tr.is-alt:hover td {
  background: #fff4e1;
}

.dashboard-product-rank-cell,
.dashboard-product-main-cell,
.dashboard-product-qty-cell {
  white-space: nowrap;
}

.dashboard-product-rank-cell {
  width: 108px;
  text-align: center;
}

.dashboard-product-color-cell {
  color: #5b616d;
}

.dashboard-product-image-cell {
  width: 118px;
  text-align: center;
}

.dashboard-product-serial-cell,
.dashboard-product-total-cell,
.dashboard-product-price-cell,
.dashboard-product-qty-cell {
  text-align: center;
}

.dashboard-product-style-cell {
  color: #4a4f57;
  font-weight: 600;
}

.dashboard-product-category-cell {
  color: #6d7480;
}

.dashboard-product-thumb {
  display: inline-block;
  width: 44px;
  height: 44px;
  border: 1px solid #ebeef2;
  border-radius: 6px;
  background: #fff;
  object-fit: cover;
}

.dashboard-product-thumb-empty {
  position: relative;
  border: 1px dashed #d8dde6;
  border-radius: 6px;
  background: #fafbfc;
}

.dashboard-product-thumb-empty::before,
.dashboard-product-thumb-empty::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.dashboard-product-thumb-empty::before {
  width: 16px;
  height: 12px;
  border: 1.5px solid #bfc7d3;
  border-radius: 2px;
  margin-top: 2px;
}

.dashboard-product-thumb-empty::after {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #bfc7d3;
  margin-left: 4px;
  margin-top: -4px;
}

.dashboard-product-price-cell {
  color: #6b625c;
  font-weight: 600;
}

.dashboard-data-head {
  min-height: 58px;
  padding: 0 18px;
  background: #f8f8f8;
  border: 1px solid #efefef;
  border-bottom: 0;
  color: #a29b95;
  font-size: 13px;
  font-weight: 700;
}

.dashboard-data-row {
  min-height: 66px;
  padding: 0 18px;
  border: 1px solid #efefef;
  border-top: 0;
  color: #5e6470;
  font-size: 13px;
  background: #fff;
}

.dashboard-data-table > .dashboard-data-row:nth-child(odd) {
  background: #fcfcfc;
}

.dashboard-data-table > .dashboard-data-row:hover {
  background: #fffdf7;
}

.dashboard-rank-badge {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #6b625c;
  background: #eceff3;
}

.dashboard-rank-badge.tone-mint {
  background: #ecfbef;
}

.dashboard-rank-badge.tone-pink {
  background: #fbe6dc;
}

.dashboard-rank-badge.tone-yellow {
  background: #fff0b8;
}

.dashboard-rank-badge.tone-blue {
  background: #c9e2ff;
}

.dashboard-rank-badge.tone-peach {
  background: #ffe1ad;
}

.dashboard-main-text {
  display: block;
  color: #4a4f57;
  font-weight: 500;
}

.dashboard-sub-text {
  display: block;
  margin-top: 4px;
  color: #9aa1ab;
  font-size: 12px;
}

.dashboard-progress-value {
  display: grid;
  gap: 8px;
}

.dashboard-progress-text {
  color: #353941;
}

.dashboard-progress-bar {
  display: block;
  width: 100%;
  height: 28px;
  border-radius: 999px;
  background: #efefef;
  overflow: hidden;
}

.dashboard-progress-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d6d6d6 0%, #c9c9c9 100%);
}

.dashboard-empty-state {
  min-height: 120px;
  display: grid;
  place-items: center;
  color: #98a2b3;
  border: 1px solid #efefef;
  border-radius: 4px;
  background: #fff;
}

@media (max-width: 1360px) {
  .dashboard-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .dashboard-stats-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-agent-grid,
  .dashboard-shop-grid,
  .dashboard-product-grid {
    min-width: 960px;
  }

  .dashboard-product-table {
    min-width: 1120px;
  }
}

.content-tab-strip {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: 0;
  min-height: 72px;
  padding: 0;
  flex: 0 1 auto;
  max-width: min(48vw, 100%);
  overflow-x: auto;
  background: transparent;
  border-bottom: 0;
}

.content-tab-strip:empty {
  display: none;
  max-width: 0;
}

.content-tab-strip::-webkit-scrollbar {
  display: none;
}

.content-tab-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 0 0 auto;
  min-height: 72px;
  min-width: 0;
  max-width: none;
  padding: 0 10px 0 18px;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: #7c828c;
  font-size: 15px;
  font-weight: 600;
  box-shadow: none;
}

.content-tab-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: transparent;
}

.content-tab-item.is-active {
  color: #ff8200;
}

.content-tab-item.is-active::after {
  background: #ff8f1f;
}

.content-tab-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  white-space: nowrap;
  text-align: center;
  line-height: 1.25;
}

.content-tab-main:hover {
  color: #4b5563;
}

.content-tab-item.is-active .content-tab-main:hover {
  color: #ff8200;
}

.content-tab-label {
  display: block;
  white-space: nowrap;
}

.content-tab-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  position: static;
  border: 0;
  background: transparent;
  color: #b6bbc4;
  transition: color 0.2s ease;
}

.content-tab-close::before {
  content: "\00d7";
  font-size: 18px;
  line-height: 1;
}

.content-tab-close:hover {
  color: #ff8200;
}

.header-task-modal-card {
  width: min(560px, calc(100vw - 32px));
}

.header-task-modal-body {
  display: grid;
  gap: 14px;
  padding: 0 24px 12px;
}

.header-task-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid #edf1f5;
  border-radius: 16px;
  background: #ffffff;
}

.header-task-copy {
  display: grid;
  gap: 6px;
}

.header-task-copy strong {
  color: #1f2937;
  font-size: 16px;
}

.header-task-copy p {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.6;
}

.header-task-modal-actions {
  padding-top: 0;
}

.admin-shell.is-target-list-shell .shell-subbar {
  display: none;
}

.admin-shell.is-target-list-shell .shell-header {
  margin-bottom: 12px;
}

.admin-shell.is-target-list-shell .view-stack {
  padding-top: 0;
}

.admin-shell[data-current-view="workbench"] .shell-subbar {
  display: none;
}

.admin-shell[data-current-view="workbench"] .shell-header {
  margin-bottom: 12px;
}

.admin-shell[data-current-view="workbench"] .view-stack {
  padding-top: 0;
}

.target-list-view .view-headline,
.target-search-panel,
.target-list-page,
.target-list-view .workspace-intro-card,
.target-list-view .view-meta-strip .view-meta-card {
  border-radius: 4px;
  border-color: #eceef2;
  box-shadow: none;
}

.target-list-view .view-headline {
  padding: 14px 16px;
  background: #fff;
}

.target-list-view .view-headline::before {
  display: none;
}

.target-list-view .workspace-intro-card {
  padding: 12px 14px;
  background: #fffdf6;
  border-color: #f2e7cc;
}

.target-list-view .workspace-intro-card strong {
  color: #7c5a2f;
}

.target-list-view .view-meta-strip-compact {
  gap: 10px;
}

.target-list-view .view-meta-strip-compact .view-meta-card {
  min-height: 72px;
  padding: 12px 14px;
  background: #fff;
}

.target-search-panel,
.target-list-page {
  background: #fff;
}

.target-search-panel .panel-header,
.target-list-page .panel-header,
.target-list-page .panel-subheader {
  padding: 14px 16px;
}

.target-search-panel .panel-header,
.target-list-page .panel-header {
  border-bottom: 1px solid #f1f2f5;
}

.target-search-panel .panel-subheader {
  padding: 0 0 10px;
  border-bottom: 0;
}

.target-search-panel .panel-eyebrow,
.target-list-page .panel-eyebrow {
  display: none;
}

.target-list-view .muted-text {
  color: #8a9099;
}

.target-search-panel .filter-stack,
.target-search-panel .invite-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.target-search-panel .filter-stack > *,
.target-search-panel .invite-filter-row > * {
  flex: 0 1 auto;
}

.target-search-panel .filter-stack .text-input:first-child,
.target-search-panel .invite-filter-row .text-input:first-child {
  min-width: 260px;
}

.target-search-panel .form-grid {
  gap: 10px 12px;
}

.target-list-view .text-input,
.target-list-view .textarea-input,
.target-list-view select.text-input {
  min-height: 32px;
  padding: 8px 12px;
  border-radius: 4px;
  border-color: #dcdfe6;
  box-shadow: none;
}

.target-list-view .text-input:focus,
.target-list-view .textarea-input:focus,
.target-list-view select.text-input:focus {
  border-color: #ffb56c;
  box-shadow: 0 0 0 2px rgba(255, 143, 31, 0.08);
}

.target-list-view .ghost-btn,
.target-list-view .quick-link,
.target-list-view .icon-btn,
.target-list-view .primary-btn {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 4px;
  box-shadow: none;
  transform: none;
  font-weight: 600;
}

.target-list-view .ghost-btn,
.target-list-view .quick-link,
.target-list-view .icon-btn {
  background: #fff;
  border-color: #dcdfe6;
  color: #606266;
}

.target-list-view .primary-btn {
  background: #ff9f43;
  color: #fff;
  border: 1px solid #ff9f43;
}

.target-list-view .hero-primary-btn {
  min-width: auto;
}

.target-list-view .toolbar-actions {
  gap: 8px;
}

.target-list-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 0 0 12px;
}

.target-list-toolbar-left,
.target-list-toolbar-right {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.target-toolbar-primary {
  background: #ff9f43;
  border-color: #ff9f43;
}

.target-list-view .order-status-tabs,
.target-list-view .order-scenario-chips,
.target-list-view .product-status-tabs {
  gap: 8px;
  margin-bottom: 12px;
}

.target-list-view .order-status-tab,
.target-list-view .order-scenario-chip,
.target-list-view .product-status-tab {
  min-height: 38px;
  min-width: 112px;
  padding: 7px 10px;
  border-radius: 4px;
  box-shadow: none;
}

.target-list-view .order-status-tab strong,
.target-list-view .order-scenario-chip strong,
.target-list-view .product-status-tab strong {
  font-size: 13px;
  color: #606266;
}

.target-list-view .order-status-tab span,
.target-list-view .order-scenario-chip span,
.target-list-view .product-status-tab span {
  font-size: 12px;
  color: #909399;
}

.target-list-view .order-status-tab em,
.target-list-view .order-scenario-chip em {
  font-size: 11px;
  color: #b0b5be;
}

.target-list-view .order-status-tab.is-active,
.target-list-view .order-scenario-chip.is-active,
.target-list-view .product-status-tab.is-active {
  border-color: #ffd2a1;
  background: #fff7ed;
}

.target-list-view .product-bulk-toolbar {
  padding: 10px 12px;
  border: 1px solid #eceef2;
  border-radius: 4px;
  background: #fafafa;
}

.target-list-view .product-list-table,
.target-list-view .inventory-list-table,
.target-list-view .order-list-table,
.target-list-view .invite-manage-table,
.target-list-view .table-wrap {
  border-radius: 4px;
  border-color: #ebeef5;
  background: #fff;
}

.target-list-view .product-list-table-head,
.target-list-view .inventory-list-table-head,
.target-list-view .order-list-table-head,
.target-list-view .invite-manage-head,
.target-list-view .table-wrap thead th {
  padding: 12px 16px;
  background: #f5f7fa;
  border-bottom-color: #ebeef5;
  color: #909399;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.target-list-view .product-row,
.target-list-view .inventory-row,
.target-list-view .order-list-row,
.target-list-view .invite-manage-summary,
.target-list-view .invite-manage-detail,
.target-list-view .table-wrap tbody td {
  padding-top: 12px;
  padding-bottom: 12px;
}

.target-list-view .product-row,
.target-list-view .inventory-row,
.target-list-view .order-list-row,
.target-list-view .invite-manage-row {
  border-bottom-color: #f0f2f5;
}

.target-list-view .product-row:hover,
.target-list-view .inventory-row:hover,
.target-list-view .order-list-row:hover,
.target-list-view .invite-manage-row:hover,
.target-list-view .table-wrap tbody tr:hover td {
  background: #fffdf5;
}

.target-list-view .product-row.is-selected,
.target-list-view .inventory-row.is-target,
.target-list-view .order-list-row.is-target,
.target-list-view .invite-manage-row.is-target,
.target-list-view .invite-manage-row[open] {
  background: #fffaf0;
  box-shadow: inset 3px 0 0 #ff9f43;
}

.target-list-view .order-list-stats-bar span {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 4px;
  background: #fafafa;
  border: 1px solid #ebeef5;
}

.target-list-view .pagination-shell {
  padding-top: 6px;
}

.target-list-view [data-column-key].is-column-hidden,
.product-list-table-head .is-column-hidden,
.inventory-list-table-head .is-column-hidden,
.order-list-table-head .is-column-hidden,
.invite-manage-head .is-column-hidden {
  display: none !important;
}

.route-page-stats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.route-page-view .view-headline {
  display: none;
}

.route-page-view .target-search-panel .panel-header,
.route-page-view .target-list-page .panel-header,
.route-page-view .target-list-toolbar {
  display: none;
}

.route-page-view .target-search-panel,
.route-page-view .target-list-page {
  border-radius: 0;
  padding: 14px 18px;
  box-shadow: none;
}

.route-page-view .target-search-panel {
  padding-bottom: 8px;
}

.route-page-search-fields.is-client-manage {
  grid-template-columns: minmax(240px, 2fr) minmax(180px, 1.1fr) minmax(160px, 0.9fr) minmax(160px, 0.9fr) auto;
  gap: 14px 16px;
  align-items: center;
}

.route-page-view .target-search-panel.is-client-manage {
  padding: 16px 18px 10px;
}

.route-page-view .target-search-panel.is-client-manage .field-label {
  display: none;
}

.route-page-view .target-search-panel.is-client-manage .route-page-search-field {
  min-width: 0;
}

.route-page-view .target-search-panel.is-client-manage .text-input,
.route-page-view .target-search-panel.is-client-manage .select-input {
  height: 42px;
  border-radius: 6px;
  font-size: 15px;
}

.route-page-view .target-search-panel.is-client-manage .route-page-filter-actions {
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 12px;
}

.route-page-view .target-search-panel.is-client-manage .route-page-filter-actions .primary-btn.small-btn,
.route-page-view .target-search-panel.is-client-manage .route-page-filter-actions .ghost-btn.small-btn {
  min-width: 72px;
  height: 42px;
  border-radius: 6px;
  font-size: 16px;
}

.route-page-view .target-search-panel.is-client-manage + .target-list-page {
  padding-top: 8px;
}

.route-page-view .target-search-panel.is-pairing-manage {
  padding: 16px 18px 10px;
}

.route-page-view .target-search-panel.is-display-manage {
  padding: 16px 18px 10px;
}

.route-page-custom-search {
  display: block;
}

.route-pairing-search {
  display: grid;
  gap: 10px;
}

.route-pairing-search-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(4, minmax(160px, 1fr));
  gap: 14px 16px;
  align-items: center;
}

.route-pairing-search-row.is-second {
  grid-template-columns: minmax(180px, 0.8fr) auto auto 1fr;
}

.route-pairing-search-input,
.route-pairing-search-select {
  height: 42px;
  border-radius: 6px;
  font-size: 15px;
}

.route-pairing-search-row.is-second .primary-btn.small-btn,
.route-pairing-search-row.is-second .ghost-btn.small-btn {
  min-width: 72px;
  height: 42px;
  border-radius: 6px;
  font-size: 16px;
}

.route-display-search-row {
  grid-template-columns: minmax(240px, 1.3fr) minmax(180px, 1fr) minmax(180px, 1fr) minmax(180px, 1fr) auto auto;
}

.route-page-view .target-search-panel.is-psd-manage {
  padding: 16px 18px 10px;
}

.route-page-view .target-search-panel.is-match-manage {
  padding: 16px 18px 10px;
}

.route-page-view .target-search-panel.is-circle-manage {
  padding: 16px 18px 10px;
}

.route-page-view .target-search-panel.is-order-center-manage {
  padding: 16px 18px 10px;
}

.route-page-view .target-search-panel.is-print-center-manage {
  padding: 16px 18px 10px;
}

.route-page-view .target-search-panel.is-deposit-manage {
  padding: 16px 18px 10px;
}

.route-page-view .target-search-panel.is-recycle-manage {
  padding: 16px 18px 10px;
}

.route-psd-search-row {
  grid-template-columns: minmax(240px, 1.3fr) minmax(180px, 1fr) minmax(180px, 1fr) auto auto;
}

.route-match-search-row {
  grid-template-columns: minmax(240px, 0.9fr) auto auto 1fr;
}

.route-circle-search-row {
  grid-template-columns: minmax(240px, 0.9fr) auto auto 1fr;
}

.route-order-center-search-row {
  grid-template-columns: repeat(5, max-content);
  justify-content: start;
}

.route-order-center-search-row.is-second {
  grid-template-columns: max-content auto auto 1fr;
}

.route-order-center-search-row .route-pairing-search-select {
  width: auto;
  min-width: 88px;
  max-width: 220px;
  justify-self: start;
}

.route-order-center-search-row .route-pairing-search-select[data-order-center-search-field="store"],
.route-order-center-search-row .route-pairing-search-select[data-order-center-search-field="brand"] {
  min-width: 108px;
}

.route-order-center-search-row .route-pairing-search-select[data-order-center-search-field="sort"] {
  min-width: 128px;
  max-width: 172px;
}

.route-match-search-row .primary-btn.small-btn,
.route-match-search-row .ghost-btn.small-btn,
.route-circle-search-row .primary-btn.small-btn,
.route-circle-search-row .ghost-btn.small-btn {
  min-width: 72px;
  height: 42px;
  border-radius: 6px;
  font-size: 16px;
}

.route-order-center-search-row .primary-btn.small-btn,
.route-order-center-search-row .ghost-btn.small-btn {
  min-width: 72px;
  height: 42px;
  border-radius: 6px;
  font-size: 16px;
}

.route-print-center-search-row {
  grid-template-columns: minmax(360px, 1.15fr) minmax(320px, 1.2fr) minmax(220px, 0.8fr) minmax(220px, 0.8fr);
}

.route-print-center-search-row.is-second {
  grid-template-columns: minmax(240px, 0.7fr) auto 1fr;
}

.route-print-center-scope-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #ebeef5;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.route-print-center-scope-tab {
  min-height: 42px;
  background: #fff;
  color: #5b6472;
  border: 0;
  border-right: 1px solid #ebeef5;
  font-size: 15px;
  font-weight: 600;
}

.route-print-center-scope-tab:last-child {
  border-right: 0;
}

.route-print-center-scope-tab.is-active {
  background: #ff8a00;
  color: #fff;
}

.route-print-center-combo {
  position: relative;
}

.route-print-center-combo-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #c0c4cc;
  border-bottom: 2px solid #c0c4cc;
  transform: translateY(-60%) rotate(45deg);
  pointer-events: none;
}

.route-print-center-search-row .primary-btn.small-btn {
  min-width: 88px;
  height: 42px;
  border-radius: 6px;
  font-size: 16px;
}

.route-deposit-search-row {
  grid-template-columns: minmax(260px, 0.9fr) minmax(220px, 0.8fr) auto auto 1fr;
}

.route-deposit-search-row .primary-btn.small-btn,
.route-deposit-search-row .ghost-btn.small-btn {
  min-width: 72px;
  height: 42px;
  border-radius: 6px;
  font-size: 16px;
}

.route-recycle-search-row {
  grid-template-columns: minmax(240px, 0.7fr) auto auto 1fr;
}

.route-recycle-search-row .primary-btn.small-btn,
.route-recycle-search-row .ghost-btn.small-btn {
  min-width: 72px;
  height: 42px;
  border-radius: 6px;
  font-size: 16px;
}

.route-page-view .target-list-page {
  padding-top: 6px;
}

.route-order-export-page {
  display: grid;
  gap: 18px;
}

.route-order-export-card {
  border: 1px solid #ebeef5;
  border-radius: 8px;
  background: #fff;
  padding: 0 16px 18px;
}

.route-order-export-card-title {
  position: relative;
  top: -13px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  background: #fff;
  color: #606266;
  font-size: 18px;
  font-weight: 700;
}

.route-order-export-filter-row {
  display: grid;
  grid-template-columns: auto auto auto minmax(260px, 1fr);
  align-items: center;
  gap: 18px;
  margin-top: -2px;
  padding: 0 10px 6px;
}

.route-order-export-filter-label {
  color: #606266;
  font-size: 16px;
  white-space: nowrap;
}

.route-order-export-summary-tabs {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #e5e8ef;
  border-radius: 8px;
  overflow: hidden;
}

.route-order-export-summary-tab {
  min-width: 92px;
  height: 54px;
  border: 0;
  border-right: 1px solid #e5e8ef;
  background: #fff;
  color: #606266;
  font-size: 18px;
  cursor: pointer;
}

.route-order-export-summary-tab:last-child {
  border-right: 0;
}

.route-order-export-summary-tab.is-active {
  background: #ff8a00;
  color: #fff;
}

.route-order-export-store-wrap {
  position: relative;
}

.route-order-export-store-wrap::after {
  content: "⌄";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #c0c4cc;
  font-size: 18px;
  pointer-events: none;
}

.route-order-export-store-wrap.is-disabled {
  opacity: 0.7;
}

.route-order-export-store-input {
  height: 54px;
  border-radius: 8px;
  padding-right: 42px;
  font-size: 16px;
}

.route-order-export-format-wrap {
  margin-top: -2px;
  border: 1px solid #ebeef5;
  background: #f5f8fd;
}

.route-order-export-format-tabs {
  display: flex;
  align-items: stretch;
}

.route-order-export-format-tab {
  min-width: 176px;
  height: 62px;
  border: 0;
  border-right: 1px solid #e5e8ef;
  background: #fff;
  color: #909399;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.route-order-export-format-tab.is-active {
  color: #ff8a00;
}

.route-order-export-format-panel {
  min-height: 520px;
  background: #fff;
  border-top: 1px solid #ebeef5;
  padding: 22px 22px 28px;
}

.route-order-export-erp-body,
.route-order-export-custom-body {
  display: grid;
  gap: 34px;
}

.route-order-export-required-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #606266;
  font-size: 18px;
  white-space: nowrap;
}

.route-order-export-required-label span {
  color: #f56c6c;
}

.route-order-export-erp-template-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}

.route-order-export-template-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}

.route-order-export-template-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #e3e7ee;
  border-radius: 8px;
  background: #fff;
  color: #606266;
  font-size: 16px;
  cursor: pointer;
}

.route-order-export-template-chip.is-active {
  border-color: #ffb469;
  background: #fff7ef;
  color: #ff8a00;
}

.route-order-export-radio-dot {
  width: 20px;
  height: 20px;
  border: 1px solid #d6dbe5;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 4px #fff;
}

.route-order-export-template-chip.is-active .route-order-export-radio-dot {
  border-color: #ff8a00;
  background: #ff8a00;
}

.route-order-export-erp-controls {
  display: grid;
  gap: 34px;
  padding-left: 40px;
}

.route-order-export-stepper-row,
.route-order-export-switch-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.route-order-export-inline-title {
  min-width: 98px;
  color: #606266;
  font-size: 18px;
}

.route-order-export-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e3e7ee;
  border-radius: 8px;
  overflow: hidden;
}

.route-order-export-stepper-btn {
  width: 46px;
  height: 44px;
  border: 0;
  background: #f7f9fc;
  color: #909399;
  font-size: 26px;
  cursor: pointer;
}

.route-order-export-stepper-value {
  min-width: 116px;
  height: 44px;
  display: grid;
  place-items: center;
  border-left: 1px solid #e3e7ee;
  border-right: 1px solid #e3e7ee;
  color: #606266;
  font-size: 18px;
  background: #fff;
}

.route-order-export-switch {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 40px;
  padding: 0 8px 0 0;
  border: 0;
  background: transparent;
  color: #606266;
  font-size: 18px;
  cursor: pointer;
}

.route-order-export-switch-knob {
  position: relative;
  width: 66px;
  height: 34px;
  border-radius: 999px;
  background: #e5e7eb;
}

.route-order-export-switch-knob::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.16);
  transition: transform 0.18s ease;
}

.route-order-export-switch.is-active .route-order-export-switch-knob {
  background: #ffb469;
}

.route-order-export-switch.is-active .route-order-export-switch-knob::after {
  transform: translateX(32px);
}

.route-order-export-custom-selected {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}

.route-order-export-selected-board {
  min-height: 146px;
  border: 1px solid #ebeef5;
  background: #fff;
  padding: 18px;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 12px;
  overflow-y: auto;
}

.route-order-export-selected-empty {
  align-self: center;
  color: #c0c4cc;
  font-size: 18px;
}

.route-order-export-selected-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid #ffb469;
  border-radius: 8px;
  background: #fff7ef;
  color: #ff8a00;
  cursor: pointer;
}

.route-order-export-selected-chip strong {
  font-size: 18px;
  line-height: 1;
}

.route-order-export-custom-tip {
  margin: -12px 0 6px 56px;
  color: #ff6b00;
  font-size: 18px;
}

.route-order-export-field-group {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
}

.route-order-export-field-group-label {
  padding-top: 10px;
  color: #606266;
  font-size: 18px;
}

.route-order-export-field-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
}

.route-order-export-field-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #e3e7ee;
  border-radius: 8px;
  background: #fff;
  color: #606266;
  font-size: 16px;
  cursor: pointer;
}

.route-order-export-field-chip input {
  width: 22px;
  height: 22px;
}

.route-order-export-field-chip.is-checked {
  border-color: #ffb469;
  background: #fffaf4;
}

.route-order-export-submit-card {
  min-height: 210px;
}

.route-order-export-summary-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  min-height: 112px;
  padding: 8px 8px 22px;
  color: #606266;
  font-size: 16px;
}

.route-order-export-summary-grid strong {
  color: #ff8a00;
}

.route-order-export-submit-wrap {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.route-order-export-submit-btn {
  min-width: 128px;
  height: 54px;
  border-radius: 8px;
  font-size: 18px;
}

.route-order-import-page {
  display: grid;
  gap: 18px;
}

.route-order-import-card {
  border: 1px solid #ebeef5;
  border-radius: 8px;
  background: #fff;
  padding: 18px 22px 16px;
}

.route-order-import-card-title {
  position: relative;
  margin-bottom: 18px;
  padding-left: 14px;
  color: #606266;
  font-size: 18px;
  font-weight: 700;
}

.route-order-import-card-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 2px;
  border-radius: 999px;
  background: #f08a24;
}

.route-order-import-export-row,
.route-order-import-upload-row {
  display: grid;
  grid-template-columns: auto minmax(220px, 280px) minmax(320px, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.route-order-import-upload-row {
  grid-template-columns: auto auto 1fr;
  margin-bottom: 16px;
}

.route-order-import-inline-label {
  color: #606266;
  font-size: 16px;
  white-space: nowrap;
}

.route-order-import-field-group {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.route-order-import-field-group label,
.route-order-import-result-label {
  color: #606266;
  font-size: 16px;
}

.route-order-import-field-group.is-wide {
  min-width: 0;
}

.route-order-import-select,
.route-order-import-input {
  height: 46px;
  border-radius: 6px;
  border-color: #dcdfe6;
  box-shadow: none;
  font-size: 15px;
}

.route-order-import-primary-btn,
.route-order-import-upload-btn {
  min-width: 128px;
  height: 46px;
  border-radius: 6px;
  font-size: 16px;
  box-shadow: none;
}

.route-order-import-upload-btn {
  border-color: #f4b16e;
  color: #f08a24;
  background: #fff8f1;
}

.route-order-import-file-input {
  display: none;
}

.route-order-import-result-board {
  min-height: 380px;
  margin-top: 12px;
  border: 1px solid #f3e9df;
  background: #fffaf5;
  padding: 20px;
}

.route-order-import-empty {
  min-height: 338px;
  display: grid;
  place-content: center;
  gap: 10px;
  text-align: center;
  color: #909399;
}

.route-order-import-empty strong {
  color: #606266;
  font-size: 18px;
}

.route-order-import-result-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-bottom: 16px;
  color: #606266;
  font-size: 14px;
}

.route-order-import-result-summary strong {
  color: #f08a24;
}

.route-order-import-preview-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid #ebeef5;
}

.route-order-import-preview-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.route-order-import-preview-table th,
.route-order-import-preview-table td {
  padding: 14px 16px;
  border-right: 1px solid #ebeef5;
  border-bottom: 1px solid #eef2f7;
  text-align: left;
  color: #606266;
  font-size: 14px;
}

.route-order-import-preview-table th:last-child,
.route-order-import-preview-table td:last-child {
  border-right: 0;
}

.route-order-import-preview-table th {
  background: #f5f7fa;
  color: #909399;
  font-weight: 700;
}

.route-order-import-preview-table tbody tr:nth-child(even) td {
  background: #fafcff;
}

.route-order-perspective-page {
  display: grid;
  gap: 18px;
}

.route-order-perspective-controls,
.route-order-perspective-sheet-card {
  border: 1px solid #ebeef5;
  border-radius: 8px;
  background: #fff;
}

.route-order-perspective-controls {
  padding: 18px;
}

.route-order-perspective-query-row,
.route-order-perspective-toolbar-row {
  display: grid;
  align-items: center;
  gap: 14px;
}

.route-order-perspective-query-row {
  grid-template-columns: minmax(220px, 280px) minmax(320px, 1fr) auto;
}

.route-order-perspective-toolbar-row {
  grid-template-columns: minmax(220px, 280px) repeat(6, auto);
  margin-top: 16px;
}

.route-order-perspective-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.route-order-perspective-field label {
  color: #606266;
  font-size: 16px;
}

.route-order-perspective-select,
.route-order-perspective-input,
.route-order-perspective-template-select {
  height: 46px;
  border-radius: 6px;
}

.route-order-perspective-primary-btn,
.route-order-perspective-solid-btn,
.route-order-perspective-toolbar-btn {
  min-width: 110px;
  height: 46px;
}

.route-order-perspective-solid-btn {
  background: #ff8a00;
  border-color: #ff8a00;
  color: #fff;
}

.route-order-perspective-toolbar-btn {
  border-color: #f4b16e;
  color: #f08a24;
}

.route-order-perspective-statebar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.route-order-perspective-statebar span {
  min-width: 152px;
  padding: 10px 12px;
  border: 1px solid #ebeef5;
  border-radius: 6px;
  background: #fafcff;
  color: #606266;
}

.route-order-perspective-statebar strong {
  color: #303133;
}

.route-order-perspective-sheet-card {
  padding: 0;
  overflow: hidden;
}

.route-order-perspective-sheet-wrap {
  overflow: auto;
  max-height: 820px;
}

.route-order-perspective-sheet-table {
  width: 100%;
  min-width: 1260px;
  border-collapse: collapse;
  table-layout: fixed;
}

.route-order-perspective-sheet-table th,
.route-order-perspective-sheet-table td {
  height: 48px;
  padding: 0 10px;
  border-right: 1px solid #ebeef5;
  border-bottom: 1px solid #ebeef5;
  color: #303133;
  font-size: 15px;
  white-space: nowrap;
}

.route-order-perspective-sheet-table thead th {
  background: #fff;
  color: #909399;
  font-weight: 500;
  text-align: center;
}

.route-order-perspective-corner,
.route-order-perspective-row-index {
  width: 42px;
  min-width: 42px;
  max-width: 42px;
  background: #fff;
  color: #909399;
  text-align: center;
  font-weight: 500;
}

.route-order-perspective-sheet-table td {
  background: #fff;
}

.route-order-perspective-sheet-table td.is-header.is-dimension,
.route-order-perspective-sheet-table td.is-dimension {
  background: #fff5e8;
}

.route-order-perspective-sheet-table td.is-header.is-metric,
.route-order-perspective-sheet-table td.is-metric-value {
  text-align: right;
}

.route-order-perspective-sheet-table td.is-header {
  font-weight: 700;
}

.route-order-perspective-empty {
  min-height: 360px;
  display: grid;
  place-items: center;
  color: #909399;
  font-size: 16px;
}

.route-page-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  position: relative;
  overflow: visible;
  z-index: 3;
}

.route-page-action-bar-left,
.route-page-action-bar-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  position: relative;
  overflow: visible;
}

.route-page-text-btn {
  border: 0;
  background: transparent;
  color: #f08a24;
  font-size: 12px;
  padding: 4px 0;
  cursor: pointer;
}

.route-page-view .route-page-filter-actions .primary-btn.small-btn,
.route-page-view .route-page-filter-actions .ghost-btn.small-btn,
.route-page-action-bar .accent-action-btn.small-btn,
.route-page-action-bar .primary-btn.small-btn {
  min-width: 46px;
  height: 26px;
  padding: 0 10px;
  border-radius: 2px;
  font-size: 12px;
  line-height: 24px;
}

.route-page-view .route-page-filter-actions .primary-btn.small-btn {
  background: #ff8a00;
  border-color: #ff8a00;
}

.route-page-view .route-page-filter-actions .ghost-btn.small-btn,
.route-page-action-bar .accent-action-btn.small-btn {
  border-color: #f4b16e;
  color: #f08a24;
  background: #fff8f1;
}

.route-page-stats-bar span {
  min-width: 148px;
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid #ebeef5;
  background: #fafafa;
  display: grid;
  gap: 4px;
}

.route-page-stats-bar strong {
  font-size: 18px;
  color: #303133;
}

.route-page-stats-bar em,
.route-page-stats-bar small {
  font-style: normal;
  color: #909399;
}

.route-page-toolbar-label {
  color: #909399;
  font-size: 12px;
  font-weight: 600;
}

.route-page-table {
  width: 100%;
  border-collapse: collapse;
}

.route-page-table thead th {
  padding: 12px 16px;
  background: #f5f7fa;
  border-bottom: 1px solid #ebeef5;
  color: #909399;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  border-right: 1px solid #e5eaf3;
}

.route-page-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid #f0f2f5;
  vertical-align: middle;
  color: #606266;
  border-right: 1px solid #eef2f7;
}

.route-page-table thead th:last-child,
.route-page-table tbody td:last-child {
  border-right: 0;
}

.route-page-table tbody tr:nth-child(even) {
  background: #fafcff;
}

.route-page-table tbody tr:hover td {
  background: #fffdf5;
}

.route-page-filter-actions {
  align-items: flex-end;
  justify-content: flex-start;
}

.route-page-total-count {
  padding: 14px 4px 0;
  text-align: right;
  color: #606266;
  font-size: 12px;
}

.route-switch {
  position: relative;
  width: 52px;
  height: 24px;
  border-radius: 999px;
  background: #dcdfe6;
  display: inline-flex;
  align-items: center;
  padding: 0 2px;
  box-sizing: border-box;
}

.route-switch i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  display: block;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.route-switch.is-on {
  background: #f6a34a;
  justify-content: flex-end;
}

.route-page-inline-action {
  border: 0;
  background: transparent;
  color: #606266;
  font-size: 12px;
  padding: 0;
  margin-right: 10px;
  cursor: pointer;
}

.route-page-inline-action:hover {
  color: #f08a24;
}

.route-page-inline-action.is-danger {
  color: #d9485f;
}

.route-page-inline-action.is-danger:hover {
  color: #bf3b51;
}

.route-page-inline-action.is-client-inline-action {
  margin-right: 14px;
  white-space: nowrap;
}

.route-page-inline-action.is-pairing-inline-action {
  margin-right: 14px;
  white-space: nowrap;
}

.route-page-inline-action.is-pairing-resource-action {
  color: #ff8a00;
  font-weight: 600;
}

.route-client-code {
  color: #11b94d;
  font-weight: 700;
}

.route-client-checkbox {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.route-client-checkbox input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.route-client-checkbox span {
  width: 18px;
  height: 18px;
  border: 1px solid #d7dce5;
  border-radius: 3px;
  background: #fff;
  display: block;
  position: relative;
}

.route-client-checkbox.is-header span {
  background: #fafbfc;
}

.route-client-checkbox input:checked + span {
  border-color: #ff8a00;
  background: #ff8a00;
}

.route-client-checkbox input:checked + span::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.route-client-bulk-wrap {
  position: relative;
  display: inline-flex;
}

.route-client-bulk-trigger {
  min-width: 124px;
  gap: 8px;
  background: #ff8a00 !important;
  color: #fff !important;
  border-color: #ff8a00 !important;
}

.route-client-bulk-caret {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.route-client-bulk-menu,
.route-client-bulk-submenu {
  position: absolute;
  min-width: 172px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(31, 35, 41, 0.12);
  padding: 8px 0;
  z-index: 40;
}

.route-client-bulk-menu {
  top: calc(100% + 10px);
  left: 0;
}

.route-client-bulk-item {
  position: relative;
}

.route-client-bulk-link {
  width: 100%;
  height: 48px;
  border: 0;
  background: #fff;
  color: #5b5f66;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

.route-client-bulk-item:hover > .route-client-bulk-link {
  background: #fff5ea;
  color: #4f4335;
}

.route-client-bulk-submenu {
  display: none;
  top: 0;
  left: calc(100% - 10px);
}

.route-client-bulk-item.has-children:hover > .route-client-bulk-submenu {
  display: block;
}

.route-client-bulk-next {
  color: #a6acb5;
  font-size: 18px;
  line-height: 1;
}

.route-sortable-head {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.route-sortable-head:hover {
  color: #f08a24;
}

.route-sortable-head:focus-visible {
  outline: 2px solid rgba(240, 138, 36, 0.28);
  outline-offset: 2px;
  border-radius: 4px;
}

.route-sortable-head.is-asc,
.route-sortable-head.is-desc {
  color: #f08a24;
}

.route-sortable-head i {
  width: 10px;
  height: 14px;
  position: relative;
  display: inline-block;
}

.route-sortable-head i::before,
.route-sortable-head i::after {
  content: "";
  position: absolute;
  left: 2px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
}

.route-sortable-head i::before {
  top: 0;
  border-bottom: 5px solid #c7ccd5;
}

.route-sortable-head i::after {
  bottom: 0;
  border-top: 5px solid #c7ccd5;
}

.route-sortable-head.is-asc i::before {
  border-bottom-color: #f08a24;
}

.route-sortable-head.is-asc i::after {
  border-top-color: #d8dde6;
}

.route-sortable-head.is-desc i::before {
  border-bottom-color: #d8dde6;
}

.route-sortable-head.is-desc i::after {
  border-top-color: #f08a24;
}

.route-page-table.is-client-manage thead th,
.route-page-table.is-client-manage tbody td {
  white-space: nowrap;
}

.route-page-table.is-client-manage thead th {
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 14px;
}

.route-page-table.is-client-manage tbody td {
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 14px;
}

.route-page-table.is-pairing-manage thead th,
.route-page-table.is-pairing-manage tbody td {
  white-space: nowrap;
}

.route-page-table.is-pairing-manage thead th {
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 14px;
}

.route-page-table.is-pairing-manage tbody td {
  padding-top: 14px;
  padding-bottom: 14px;
  font-size: 14px;
}

.route-page-table.is-pairing-manage tbody tr.is-selected td {
  background: #fff8ee;
}

.route-page-table.is-psd-manage thead th,
.route-page-table.is-psd-manage tbody td {
  white-space: nowrap;
}

.route-page-table.is-psd-manage thead th {
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 14px;
}

.route-page-table.is-psd-manage tbody td {
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 14px;
}

.route-page-table.is-psd-manage tbody tr.is-selected td {
  background: #fff8ee;
}

.route-psd-image-placeholder {
  color: #909399;
  font-size: 18px;
}

.route-pairing-thumb {
  width: 38px;
  height: 56px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.route-pairing-image-placeholder,
.route-pairing-main-text {
  color: #606266;
}

.route-pairing-members {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.route-pairing-member-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.route-pairing-member-thumb,
.route-pairing-member-table-thumb {
  width: 34px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.route-pairing-member-thumb.is-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f5f7fa;
  color: #c0c4cc;
}

.route-pairing-member-copy {
  display: grid;
  gap: 4px;
}

.route-pairing-member-copy strong {
  color: #606266;
  font-size: 13px;
  font-weight: 500;
}

.route-pairing-member-copy span {
  color: #606266;
  font-size: 13px;
}

.route-pairing-member-sep {
  color: #909399;
  font-size: 18px;
}

.route-pairing-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  flex-wrap: wrap;
}

.route-pairing-pagination-summary {
  color: #606266;
  font-size: 14px;
}

.route-pairing-pagination-controls {
  padding-top: 0;
}

.route-psd-pagination {
  justify-content: flex-end;
}

.route-pairing-split-btn {
  display: inline-flex;
  align-items: stretch;
  position: relative;
}

.route-pairing-split-btn .small-btn {
  border-radius: 2px 0 0 2px;
  min-width: auto;
  padding: 0 10px;
}

.route-pairing-split-btn .small-btn.is-caret {
  min-width: 34px;
  border-left: 0;
  border-radius: 0 2px 2px 0;
  padding: 0 8px;
}

.route-toolbar-menu-wrap {
  position: relative;
  display: inline-flex;
  z-index: 6;
}

.route-toolbar-menu-wrap.is-open {
  z-index: 18;
}

.route-toolbar-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 132px;
  background: #fff;
  border: 1px solid #ebeef5;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(31, 35, 41, 0.12);
  padding: 6px 0;
  z-index: 80;
}

.route-toolbar-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 26px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-top: 1px solid #ebeef5;
  border-left: 1px solid #ebeef5;
  transform: rotate(45deg);
}

.route-toolbar-dropdown-item {
  width: 100%;
  height: 40px;
  border: 0;
  background: #fff;
  color: #5b5f66;
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.route-toolbar-dropdown-item:hover {
  background: #fff5ea;
  color: #f08a24;
}

.route-psd-tabs {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 14px 0 18px;
  border-bottom: 1px solid #ebeef5;
}

.route-psd-tab {
  border: 0;
  background: transparent;
  color: #303133;
  font-size: 16px;
  font-weight: 500;
  padding: 0;
  cursor: default;
}

.route-psd-tab.is-active {
  color: #ff8a00;
  font-weight: 600;
}

.route-match-tabs {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 14px 0 18px;
  border-bottom: 1px solid #ebeef5;
}

.route-match-tab {
  border: 0;
  background: transparent;
  color: #303133;
  font-size: 16px;
  font-weight: 500;
  padding: 0;
  cursor: default;
}

.route-match-tab.is-active {
  color: #ff8a00;
  font-weight: 600;
}

.route-circle-tabs {
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 14px 0 18px;
  border-bottom: 1px solid #ebeef5;
}

.route-circle-tab {
  border: 0;
  background: transparent;
  color: #303133;
  font-size: 16px;
  font-weight: 500;
  padding: 0;
  cursor: default;
}

.route-circle-tab.is-active {
  color: #ff8a00;
  font-weight: 600;
}

.route-page-table.is-circle-manage thead th,
.route-page-table.is-circle-manage tbody td {
  white-space: nowrap;
}

.route-page-table.is-circle-manage thead th {
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 14px;
}

.route-page-table.is-circle-manage tbody td {
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 14px;
}

.route-page-table.is-order-center-manage thead th,
.route-page-table.is-order-center-manage tbody td {
  white-space: nowrap;
}

.route-page-table.is-order-center-manage thead th {
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 14px;
}

.route-page-table.is-order-center-manage tbody td {
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 14px;
}

.route-page-table.is-order-center-manage tbody tr.is-selected td {
  background: #fff8ee;
}

.route-page-table.is-print-center-manage thead th,
.route-page-table.is-print-center-manage tbody td {
  white-space: nowrap;
}

.route-page-table.is-print-center-manage thead th {
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 14px;
}

.route-page-table.is-print-center-manage tbody td {
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 14px;
}

.route-page-table.is-print-center-manage tbody tr.is-selected td {
  background: #fff8ee;
}

.route-page-table.is-deposit-manage thead th,
.route-page-table.is-deposit-manage tbody td {
  white-space: nowrap;
}

.route-page-table.is-deposit-manage thead th {
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 14px;
}

.route-page-table.is-deposit-manage tbody td {
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 14px;
}

.route-page-table.is-recycle-manage thead th,
.route-page-table.is-recycle-manage tbody td {
  white-space: nowrap;
}

.route-page-table.is-recycle-manage thead th {
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 14px;
}

.route-page-table.is-recycle-manage tbody td {
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 14px;
}

.route-pairing-search.route-report-center-search {
  gap: 0;
}

.route-report-center-search-row {
  grid-template-columns: minmax(180px, 0.85fr) repeat(3, minmax(180px, 0.9fr)) minmax(180px, 1fr) auto auto;
}

.route-report-center-search-row .route-pairing-search-input,
.route-report-center-search-row .route-pairing-search-select {
  height: 42px;
}

.route-report-center-search-row .primary-btn.small-btn,
.route-report-center-search-row .ghost-btn.small-btn {
  min-width: 88px;
  height: 42px;
}

.is-report-center-manage.route-page-search-card {
  padding-bottom: 14px;
}

.report-center-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 16px;
  min-height: 520px;
}

.report-center-sidebar {
  border-right: 1px solid #ebeef5;
  padding-right: 16px;
  min-width: 0;
}

.report-center-tree-search {
  padding-right: 8px;
}

.report-center-tree-search-input {
  height: 48px;
  border-radius: 8px;
}

.report-center-tree-scroll {
  margin-top: 14px;
  max-height: 720px;
  overflow: auto;
  padding-right: 8px;
}

.report-center-tree-node {
  display: grid;
  gap: 2px;
}

.report-center-tree-children {
  padding-left: 18px;
}

.report-center-tree-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: none;
  background: transparent;
  color: #606266;
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
  padding: 7px 0;
  cursor: pointer;
}

.report-center-tree-row.is-group {
  font-size: 18px;
  color: #303133;
}

.report-center-tree-row.is-item {
  font-size: 16px;
}

.report-center-tree-row.is-selected .report-center-tree-label {
  color: #ff8a00;
}

.report-center-tree-caret {
  width: 14px;
  color: #c0c4cc;
  flex: 0 0 14px;
}

.report-center-tree-caret.is-placeholder {
  opacity: 0;
}

.report-center-content {
  border-left: 1px solid #ebeef5;
  padding-left: 18px;
}

.report-center-empty {
  min-height: 96px;
  border: 1px solid #ebeef5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #909399;
  font-size: 16px;
  background: #fff;
}

.report-center-tree-empty {
  padding: 32px 12px;
  color: #909399;
  text-align: center;
}

.route-pairing-search.route-single-product-search {
  gap: 0;
}

.route-single-product-search-row {
  grid-template-columns: auto minmax(220px, 1fr) minmax(220px, 0.9fr) auto auto;
}

.route-single-product-tabs {
  display: inline-flex;
  align-items: center;
  border: 1px solid #f4b56f;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.route-single-product-tab {
  min-width: 88px;
  height: 42px;
  border: none;
  background: #fff;
  color: #606266;
  font-size: 15px;
  cursor: pointer;
}

.route-single-product-tab + .route-single-product-tab {
  border-left: 1px solid #f4b56f;
}

.route-single-product-tab.is-active {
  background: #ff9d1b;
  color: #fff;
}

.route-page-view .target-search-panel.is-single-product-report {
  padding: 16px 18px 10px;
}

.route-page-table.is-single-product-report th,
.route-page-table.is-single-product-report td {
  text-align: left;
}

.route-page-table.is-single-product-report tbody tr:nth-child(even) {
  background: #fff7ed;
}

.route-page-table.is-single-product-report td[data-column-key="image"] {
  text-align: center;
}

.route-single-product-thumb {
  width: 56px;
  height: 74px;
  object-fit: cover;
  border-radius: 2px;
  display: inline-block;
}

.route-single-product-image-loading {
  color: #909399;
  font-size: 14px;
}

.route-single-product-pagination {
  align-items: flex-start;
}

.route-single-product-summary {
  color: #ff8a00;
  font-size: 15px;
  line-height: 1.5;
  max-width: 540px;
}

.route-single-product-summary strong {
  font-weight: 600;
}

.route-page-view .target-search-panel.is-shop-status-report {
  padding-bottom: 14px;
}

.route-page-view .target-search-panel.is-shop-unordered-report {
  padding-bottom: 14px;
}

.route-page-view .target-search-panel.is-distribution-report {
  padding-bottom: 14px;
}

.route-page-view .target-search-panel.is-quantity-report {
  padding-bottom: 14px;
}

.route-page-view .target-search-panel.is-login-report {
  padding-bottom: 14px;
}

.route-page-view .target-search-panel.is-order-status-report {
  padding-bottom: 14px;
}

.route-page-view .target-search-panel.is-device-report {
  padding-bottom: 14px;
}

.route-pairing-search.route-shop-status-search {
  max-width: 480px;
}

.route-shop-status-search-row {
  grid-template-columns: minmax(240px, 1fr) auto auto;
}

.route-pairing-search.route-shop-unordered-search {
  max-width: 480px;
}

.route-shop-unordered-search-row {
  grid-template-columns: minmax(240px, 1fr) auto auto;
}

.route-pairing-search.route-distribution-search {
  max-width: 480px;
}

.route-distribution-search-row {
  grid-template-columns: minmax(240px, 1fr) auto auto;
}

.route-pairing-search.route-quantity-search {
  max-width: 100%;
}

.route-quantity-search-row {
  grid-template-columns: minmax(240px, 1.2fr) repeat(5, minmax(150px, 1fr));
}

.route-quantity-search-row--secondary {
  grid-template-columns: minmax(240px, 1fr) minmax(240px, 1fr) auto auto;
}

.route-pairing-search.route-login-report-search {
  max-width: 720px;
}

.route-login-report-search-row {
  grid-template-columns: minmax(240px, 1fr) minmax(240px, 1fr) auto auto;
}

.route-pairing-search.route-order-status-report-search {
  max-width: 720px;
}

.route-order-status-report-search-row {
  grid-template-columns: minmax(240px, 1fr) minmax(240px, 1fr) auto auto;
}

.route-pairing-search.route-device-report-search {
  max-width: 720px;
}

.route-device-report-search-row {
  grid-template-columns: minmax(240px, 1fr) minmax(240px, 1fr) auto auto;
}

.route-page-table.is-shop-status-report th,
.route-page-table.is-shop-status-report td {
  text-align: left;
  font-size: 14px;
}

.route-page-table.is-shop-status-report tbody tr:last-child td {
  background: #fcf7ef;
}

.route-page-table.is-shop-unordered-report th,
.route-page-table.is-shop-unordered-report td {
  text-align: left;
  font-size: 14px;
}

.route-page-table.is-distribution-report th,
.route-page-table.is-distribution-report td {
  text-align: left;
  font-size: 14px;
}

.route-page-table.is-distribution-report tbody tr.is-selected td {
  background: #fcf7ef;
}

.route-page-table.is-quantity-report th,
.route-page-table.is-quantity-report td {
  text-align: left;
  font-size: 14px;
  vertical-align: middle;
}

.route-page-table.is-quantity-report td[data-column-key="pairImage"],
.route-page-table.is-quantity-report td[data-column-key="memberImage"] {
  text-align: center;
}

.route-page-table.is-login-report th,
.route-page-table.is-login-report td {
  text-align: left;
  font-size: 14px;
}

.route-page-table.is-order-status-report th,
.route-page-table.is-order-status-report td {
  text-align: left;
  font-size: 14px;
}

.route-page-table.is-device-report th,
.route-page-table.is-device-report td {
  text-align: left;
  font-size: 14px;
}

.route-quantity-thumb {
  width: 28px;
  height: 44px;
  object-fit: cover;
}

.route-quantity-member-thumb {
  width: 28px;
  height: 44px;
  object-fit: cover;
}

.route-shop-status-count {
  color: #3b82f6;
  font-weight: 600;
}

.route-shop-status-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 22px;
}

.route-shop-status-summary {
  color: #7c8087;
  font-size: 14px;
}

.route-shop-status-summary strong {
  color: #f08c00;
  font-weight: 700;
}

.route-distribution-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 22px;
}

.route-distribution-summary strong {
  color: #f08c00;
  font-weight: 700;
}

.route-quantity-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 22px;
}

.route-quantity-summary strong {
  color: #f08c00;
  font-weight: 700;
}

.route-login-report-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 22px;
}

.route-login-report-summary strong {
  color: #f08c00;
  font-weight: 700;
}

.route-order-status-report-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 22px;
}

.route-order-status-report-summary strong {
  color: #f08c00;
  font-weight: 700;
}

.route-device-report-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 22px;
}

.route-device-report-summary strong {
  color: #f08c00;
  font-weight: 700;
}

.route-circle-pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-top: 18px;
}

.route-circle-pagination-summary {
  color: #606266;
  font-size: 14px;
}

.route-order-center-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
  flex-wrap: wrap;
}

.route-order-center-summary {
  color: #606266;
  font-size: 14px;
}

.route-order-center-summary strong {
  color: #ff8a00;
  font-weight: 600;
}

.route-print-center-summary {
  font-size: 16px;
}

.route-recycle-summary {
  font-size: 16px;
}

.route-match-empty-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  margin-top: 20px;
  border: 1px solid #ebeef5;
  background: #fff;
  color: #909399;
  font-size: 16px;
}

.route-client-pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  padding: 18px 0 0;
  color: #606266;
  font-size: 14px;
  flex-wrap: wrap;
}

.route-client-page-size,
.route-client-page-nav {
  height: 40px;
  padding: 0 14px;
  border: 1px solid #e1e6ef;
  background: #fff;
  color: #606266;
  border-radius: 6px;
}

.route-client-page-size[disabled],
.route-client-page-nav[disabled] {
  opacity: 0.55;
}

.route-client-pagination-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.route-client-pagination .pagination-page-btn {
  min-width: 40px;
  height: 40px;
  border-radius: 6px;
}

.route-client-pagination-goto {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.route-client-pagination-goto input {
  width: 72px;
  height: 40px;
  border: 1px solid #e1e6ef;
  border-radius: 6px;
  text-align: center;
  font-size: 14px;
}

.route-page-editor-panel {
  padding-top: 16px;
}

.route-editor-surface {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(240px, 0.6fr);
  gap: 18px;
}

.route-editor-stage,
.route-editor-aside-card {
  border: 1px solid #ebeef5;
  background: #fff;
}

.route-editor-stage {
  min-height: 520px;
  display: grid;
  grid-template-rows: auto 1fr;
}

.route-editor-stage-copy {
  padding: 18px 20px 12px;
  border-bottom: 1px solid #f0f2f5;
}

.route-editor-stage-copy strong {
  display: block;
  font-size: 16px;
  color: #303133;
  margin-bottom: 6px;
}

.route-editor-stage-copy p,
.route-editor-aside-card p {
  margin: 0;
  color: #909399;
  line-height: 1.7;
}

.route-editor-canvas {
  display: grid;
  place-items: center;
  padding: 20px;
}

.route-editor-canvas-inner {
  width: 100%;
  min-height: 360px;
  border: 1px dashed #e4e7ed;
  background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
  display: grid;
  place-items: center;
  text-align: center;
  color: #b8bfc9;
}

.route-editor-canvas-inner span {
  display: block;
  font-size: 20px;
  color: #606266;
  margin-bottom: 8px;
}

.route-editor-canvas-inner em {
  font-style: normal;
  color: #c0c4cc;
}

.route-editor-surface.is-visual .route-editor-canvas-inner {
  background: linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
}

.route-editor-aside {
  display: grid;
  gap: 14px;
}

.route-editor-aside-card {
  padding: 16px;
}

.route-editor-aside-card h4 {
  margin: 0 0 8px;
  font-size: 13px;
  color: #606266;
}

.column-settings-modal-card {
  width: min(460px, calc(100vw - 32px));
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
}

.column-settings-modal-head {
  padding: 18px 20px 14px;
  border-bottom: 1px solid #ebeef5;
}

.column-settings-list {
  display: grid;
  gap: 0;
  padding: 10px 0;
  max-height: min(58vh, 520px);
  overflow: auto;
}

.column-settings-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.18s ease;
}

.column-settings-option:hover {
  background: #fafafa;
}

.column-settings-option-copy {
  display: grid;
  gap: 4px;
}

.column-settings-option-copy strong {
  font-size: 14px;
  color: #303133;
}

.column-settings-option-copy span {
  font-size: 12px;
  color: #909399;
}

.column-settings-option input {
  width: 16px;
  height: 16px;
  accent-color: #ff8a27;
}

.column-settings-modal-actions {
  padding: 14px 20px 18px;
  border-top: 1px solid #ebeef5;
  justify-content: flex-end;
}

.admin-shell.is-target-list-shell[data-current-view="orders"] #view-orders .view-headline,
.admin-shell.is-target-list-shell[data-current-view="orders"] #view-orders #orderSummarySection,
.admin-shell.is-target-list-shell[data-current-view="orders"] #view-orders #orderViewMetaBar,
.admin-shell.is-target-list-shell[data-current-view="orders"] #view-orders #orderFocusHint,
.admin-shell.is-target-list-shell[data-current-view="orders"] #view-orders #orderStatusTabList,
.admin-shell.is-target-list-shell[data-current-view="orders"] #view-orders #orderScenarioChipList,
.admin-shell.is-target-list-shell[data-current-view="products"][data-product-workspace="manage"] #view-products .view-headline,
.admin-shell.is-target-list-shell[data-current-view="products"][data-product-workspace="manage"] #view-products .workspace-intro-card,
.admin-shell.is-target-list-shell[data-current-view="products"][data-product-workspace="manage"] #view-products #productPulseSection,
.admin-shell.is-target-list-shell[data-current-view="products"][data-product-workspace="manage"] #view-products #productViewMetaBar,
.admin-shell.is-target-list-shell[data-current-view="products"][data-product-workspace="manage"] #view-products #productStatusTabList,
.admin-shell.is-target-list-shell[data-current-view="inventory"][data-inventory-workspace="manage"] #view-inventory .view-headline,
.admin-shell.is-target-list-shell[data-current-view="inventory"][data-inventory-workspace="manage"] #view-inventory .workspace-intro-card,
.admin-shell.is-target-list-shell[data-current-view="inventory"][data-inventory-workspace="manage"] #view-inventory #inventoryViewMetaBar,
.admin-shell.is-target-list-shell[data-current-view="inventory"][data-inventory-workspace="manage"] #view-inventory #inventoryOverviewSection,
.admin-shell.is-target-list-shell[data-current-view="inventory"][data-inventory-workspace="manage"] #view-inventory #inventoryFocusHint,
.admin-shell.is-target-list-shell[data-current-view="inventory"][data-inventory-workspace="manage"] #view-inventory #inventoryStatusTabList,
.admin-shell.is-target-list-shell[data-current-view="inventory"][data-inventory-workspace="logs"] #view-inventory .view-headline,
.admin-shell.is-target-list-shell[data-current-view="inventory"][data-inventory-workspace="logs"] #view-inventory .workspace-intro-card,
.admin-shell.is-target-list-shell[data-current-view="inventory"][data-inventory-workspace="logs"] #view-inventory #inventoryViewMetaBar,
.admin-shell.is-target-list-shell[data-current-view="inventory"][data-inventory-workspace="logs"] #view-inventory #inventoryFocusHint,
.admin-shell.is-target-list-shell[data-current-view="invites"][data-invite-workspace="manage"] #view-invites .view-headline,
.admin-shell.is-target-list-shell[data-current-view="invites"][data-invite-workspace="manage"] #view-invites .workspace-intro-card,
.admin-shell.is-target-list-shell[data-current-view="invites"][data-invite-workspace="manage"] #view-invites #inviteFocusHint {
  display: none !important;
}

.admin-shell.is-target-list-shell[data-current-view="orders"] #view-orders,
.admin-shell.is-target-list-shell[data-current-view="products"][data-product-workspace="manage"] #view-products,
.admin-shell.is-target-list-shell[data-current-view="inventory"] #view-inventory,
.admin-shell.is-target-list-shell[data-current-view="invites"][data-invite-workspace="manage"] #view-invites {
  gap: 12px;
}

.admin-shell.is-target-list-shell[data-current-view="orders"] #view-orders #orderFilterSection,
.admin-shell.is-target-list-shell[data-current-view="products"][data-product-workspace="manage"] #view-products #productManageSection > .panel-card,
.admin-shell.is-target-list-shell[data-current-view="inventory"][data-inventory-workspace="manage"] #view-inventory #inventoryFilterSection,
.admin-shell.is-target-list-shell[data-current-view="inventory"][data-inventory-workspace="logs"] #view-inventory #inventoryLogsSection > .panel-card,
.admin-shell.is-target-list-shell[data-current-view="invites"][data-invite-workspace="manage"] #view-invites #inviteManageSection > .panel-card {
  margin-top: 0;
}

.target-detail-view {
  gap: 12px;
}

.target-detail-view .view-headline,
.target-detail-view .workspace-intro-card,
.target-detail-view .panel-card,
.target-detail-view .detail-side-panel,
.target-detail-view .create-readiness-panel,
.target-detail-view .view-meta-card {
  border-radius: 4px;
  border-color: #ebeef5;
  box-shadow: none;
}

.target-detail-view .view-headline {
  padding: 14px 16px;
  background: #fff;
}

.target-detail-view .view-headline::before {
  display: none;
}

.target-detail-view .panel-eyebrow,
.target-detail-view #productFocusHint,
.target-detail-view #orderDetailFocusHint,
.target-detail-view #inventoryDetailFocusHint,
.target-detail-view #productViewMetaBar,
.target-detail-view #productCreateChecklist,
.target-detail-view #productCreateSectionStrip,
.target-detail-view .workspace-intro-card {
  display: none !important;
}

.target-detail-view .panel-card,
.target-detail-view .detail-side-panel {
  background: #fff;
}

.target-detail-view .panel-header,
.target-detail-view .panel-subheader {
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid #f0f2f5;
}

.target-detail-view .panel-header h3,
.target-detail-view .panel-subheader h4,
.target-detail-view .view-headline h3 {
  font-size: 16px;
  font-weight: 700;
  color: #303133;
}

.target-detail-view .muted-text,
.target-detail-view .subtle-copy {
  color: #909399;
}

.target-detail-view .toolbar-actions {
  gap: 8px;
}

.target-detail-view .ghost-btn,
.target-detail-view .primary-btn {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 4px;
  box-shadow: none;
}

.target-detail-view .ghost-btn {
  background: #fff;
  color: #606266;
  border-color: #dcdfe6;
}

.target-detail-view .primary-btn {
  background: #ff9f43;
  border: 1px solid #ff9f43;
  color: #fff;
}

.target-detail-view .text-input,
.target-detail-view .textarea-input,
.target-detail-view select.text-input {
  min-height: 32px;
  padding: 8px 12px;
  border-radius: 4px;
  border-color: #dcdfe6;
  box-shadow: none;
}

.target-detail-view .text-input:focus,
.target-detail-view .textarea-input:focus,
.target-detail-view select.text-input:focus {
  border-color: #ffb56c;
  box-shadow: 0 0 0 2px rgba(255, 143, 31, 0.08);
}

.target-detail-view .product-editor-shell,
.target-detail-view .order-detail-shell,
.target-detail-view .inventory-detail-shell {
  margin-left: auto;
}

.target-detail-view .product-editor-shell {
  max-width: 760px;
}

.target-detail-view .order-detail-shell,
.target-detail-view .inventory-detail-shell {
  max-width: 980px;
}

.target-detail-view .editor-hero,
.target-detail-view .editor-sticky-shell,
.target-detail-view .inventory-detail-overview-grid,
.target-detail-view .order-card-summary,
.target-detail-view .order-alert-list,
.target-detail-view .order-side-checklist {
  border-radius: 4px;
}

.target-detail-view .editor-hero {
  display: none;
}

.target-detail-view .editor-sticky-shell {
  position: static;
  padding: 10px 0 12px;
  border: 0;
  background: transparent;
}

.target-detail-view .editor-sticky-top {
  gap: 10px;
  padding: 0 0 10px;
  border-bottom: 1px solid #f0f2f5;
}

.target-detail-view .editor-sticky-copy strong {
  font-size: 14px;
  color: #303133;
}

.target-detail-view .editor-sticky-summary {
  gap: 6px;
}

.target-detail-view .step-chip {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 4px;
  box-shadow: none;
}

.target-detail-view .step-chip.is-active {
  border-color: #ffd2a1;
  background: #fff7ed;
}

.target-detail-view .inventory-detail-layout,
.target-detail-view .order-detail-layout {
  grid-template-columns: 1fr;
  gap: 14px;
}

.target-detail-view .order-info-item,
.target-detail-view .workspace-stat-card,
.target-detail-view .product-card-mini,
.target-detail-view .order-side-readout {
  border-radius: 4px;
  box-shadow: none;
}

.target-detail-view .table-wrap,
.target-detail-view .inventory-sku-table,
.target-detail-view .order-detail-table {
  border-radius: 4px;
}

.target-detail-view .inventory-log-table thead th,
.target-detail-view .order-detail-table thead th {
  background: #f5f7fa;
  color: #909399;
}

.target-detail-view .editor-footer {
  padding-top: 8px;
  border-top: 1px solid #f0f2f5;
}

.target-detail-view .order-detail-side,
.target-detail-view .inventory-detail-side {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.target-detail-view .order-detail-main,
.target-detail-view .inventory-detail-main,
.target-detail-view .order-detail-side,
.target-detail-view .inventory-detail-side {
  gap: 12px;
}

.target-detail-view .order-card,
.target-detail-view .order-info-item,
.target-detail-view .workspace-stat-card,
.target-detail-view .order-side-panel {
  box-shadow: none;
}

.target-detail-view .order-card-summary,
.target-detail-view .inventory-detail-overview-grid {
  display: grid;
  gap: 10px;
}

.target-detail-view .order-detail-top-actions,
.target-detail-view #productDetailActionGroup {
  align-items: center;
}

.target-detail-view .editor-footer-right {
  gap: 10px;
}

@media (max-width: 960px) {
  .target-detail-view .order-detail-side,
  .target-detail-view .inventory-detail-side {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .content-tab-strip {
    overflow-x: auto;
    white-space: nowrap;
  }

  .target-search-panel .filter-stack,
  .target-search-panel .invite-filter-row,
  .target-list-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .target-list-toolbar-left,
  .target-list-toolbar-right {
    justify-content: flex-start;
  }

  .route-order-import-export-row,
  .route-order-import-upload-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .route-order-perspective-query-row,
  .route-order-perspective-toolbar-row {
    grid-template-columns: 1fr;
  }

  .route-order-import-primary-btn,
  .route-order-import-upload-btn,
  .route-order-perspective-primary-btn,
  .route-order-perspective-solid-btn,
  .route-order-perspective-toolbar-btn {
    width: 100%;
  }

  .route-order-import-result-board {
    min-height: 280px;
  }

  .route-order-perspective-statebar span {
    min-width: 0;
    width: 100%;
  }
}

.cancel-hub-card {
  min-height: 320px;
}

.cancel-hub-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.route-operation-modal-card {
  width: min(980px, calc(100vw - 48px));
  max-height: calc(100vh - 64px);
  overflow: auto;
}

.route-operation-modal-head {
  align-items: flex-start;
}

.route-operation-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.route-operation-meta-card {
  padding: 12px 14px;
  border: 1px solid #eef2f7;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.route-operation-meta-card strong {
  display: block;
  margin-bottom: 6px;
  color: #374151;
  font-size: 14px;
}

.route-operation-meta-card span {
  color: #6b7280;
  font-size: 13px;
}

.route-operation-form {
  display: grid;
  gap: 14px;
}

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

.route-operation-field {
  display: grid;
  gap: 8px;
}

.route-operation-field.is-span-2 {
  grid-column: span 2;
}

.route-base-drawer-grid {
  gap: 22px 20px;
}

.route-operation-field label {
  color: #4b5563;
  font-size: 13px;
  font-weight: 600;
}

.route-operation-control {
  position: relative;
}

.route-operation-control.is-with-meta .text-input,
.route-operation-control.is-with-meta .text-area {
  padding-right: 64px;
}

.route-operation-field .text-input,
.route-operation-field .text-area,
.route-operation-field .select-input {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  background: #fff;
  color: #1f2937;
  font-size: 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.route-operation-field .text-area {
  min-height: 112px;
  resize: vertical;
  font-family: inherit;
}

.route-operation-counter {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #c0c4cc;
  font-size: 14px;
  line-height: 1;
  pointer-events: none;
}

.route-operation-control .text-area ~ .route-operation-counter {
  top: 14px;
  transform: none;
}

.route-operation-field .text-input:focus,
.route-operation-field .text-area:focus,
.route-operation-field .select-input:focus {
  outline: none;
  border-color: #ff9f43;
  box-shadow: 0 0 0 3px rgba(255, 159, 67, 0.12);
}

.route-operation-notice {
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff8ef;
  border: 1px solid #ffe3bf;
  color: #9a6700;
  font-size: 13px;
  line-height: 1.7;
}

.route-operation-empty {
  padding: 16px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px dashed #d8e1ec;
  color: #64748b;
}

.modal.is-route-drawer {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  padding: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: none;
}

.route-operation-modal-card.is-route-drawer-card {
  width: min(960px, 46vw);
  min-width: 840px;
  max-width: 960px;
  height: 100vh;
  max-height: none;
  margin-left: auto;
  border-radius: 0;
  padding: 28px 40px 24px;
  overflow: auto;
  box-shadow: none;
}

.route-operation-modal-card.is-client-route-drawer-card {
  width: min(1280px, 64vw);
  min-width: 1120px;
  max-width: 1280px;
}

.route-operation-modal-card.is-pairing-route-drawer-card {
  width: min(1360px, 68vw);
  min-width: 1180px;
  max-width: 1360px;
}

.route-operation-modal-card.is-pairing-batch-drawer-card {
  width: min(1080px, 54vw);
  min-width: 920px;
  max-width: 1080px;
  padding: 22px 28px 18px;
}

.route-operation-modal-card.is-print-type-route-drawer-card {
  width: min(1320px, 64vw);
  min-width: 1080px;
  max-width: 1320px;
  padding: 22px 30px 20px;
}

.route-operation-modal-card.is-print-template-route-drawer-card {
  width: min(1640px, 82vw);
  min-width: 1320px;
  max-width: 1640px;
  padding: 0;
  overflow: hidden;
}

.pairing-batch-drawer {
  display: grid;
  gap: 20px;
  min-height: calc(100vh - 96px);
}

.pairing-batch-steps {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #f5f7fb;
  border: 1px solid #edf1f7;
}

.pairing-batch-step {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #98a2b3;
  font-size: 15px;
  font-weight: 600;
}

.pairing-batch-step.is-active,
.pairing-batch-step.is-done {
  color: #1f2937;
}

.pairing-batch-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  border: 1px solid #d9e1ec;
  background: #fff;
  color: #98a2b3;
  font-size: 14px;
}

.pairing-batch-step.is-active .pairing-batch-step-icon,
.pairing-batch-step.is-done .pairing-batch-step-icon {
  border-color: rgba(255, 152, 0, 0.18);
  background: rgba(255, 152, 0, 0.08);
  color: #ff9800;
}

.pairing-batch-step-sep {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, rgba(217, 225, 236, 0.25) 0%, #d9e1ec 50%, rgba(217, 225, 236, 0.25) 100%);
}

.pairing-batch-panel,
.pairing-batch-check-shell,
.pairing-batch-finish-shell {
  padding: 4px 0 0;
}

.pairing-batch-row {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: #4b5563;
  font-size: 16px;
}

.pairing-batch-row.is-upload {
  align-items: start;
}

.pairing-batch-row-index {
  color: #475467;
  font-weight: 600;
}

.pairing-batch-row-label {
  color: #475467;
  font-weight: 500;
}

.pairing-batch-template-link {
  justify-self: start;
  padding: 0;
  color: #ff9800;
  font-size: 15px;
  font-weight: 700;
}

.pairing-batch-upload-shell {
  display: grid;
  gap: 12px;
}

.pairing-batch-hidden-input {
  display: none;
}

.pairing-batch-upload-zone {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 220px;
  padding: 24px;
  border: 1px dashed #d9e1ec;
  border-radius: 18px;
  background: #fff;
  color: #667085;
  text-align: center;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.pairing-batch-upload-zone:hover,
.pairing-batch-upload-zone.is-dragover {
  border-color: #ffb86a;
  background: #fffaf3;
  box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.08);
}

.pairing-batch-upload-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: #f5f7fb;
  color: #c6ccd7;
  font-size: 34px;
  font-weight: 700;
}

.pairing-batch-upload-copy {
  color: #667085;
  font-size: 16px;
}

.pairing-batch-upload-copy em {
  color: #ff9800;
  font-style: normal;
  font-weight: 700;
}

.pairing-batch-upload-zone small {
  color: #98a2b3;
  font-size: 13px;
}

.pairing-batch-file-meta {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #edf1f7;
  color: #475467;
}

.pairing-batch-file-meta strong {
  color: #1f2937;
  font-size: 14px;
}

.pairing-batch-file-meta span,
.pairing-batch-file-meta.is-empty {
  color: #667085;
  font-size: 13px;
}

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

.pairing-batch-summary-grid article {
  display: grid;
  gap: 6px;
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #edf1f7;
}

.pairing-batch-summary-grid strong {
  color: #1f2937;
  font-size: 28px;
  font-weight: 700;
}

.pairing-batch-summary-grid span {
  color: #667085;
  font-size: 13px;
}

.pairing-batch-summary-grid article.is-warn {
  border-color: #ffd9aa;
  background: #fff8ef;
}

.pairing-batch-summary-grid.is-finish strong {
  font-size: 22px;
}

.pairing-batch-preview-table-wrap {
  border: 1px solid #edf1f7;
  border-radius: 18px;
  overflow: auto;
  background: #fff;
}

.pairing-batch-preview-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.pairing-batch-preview-table th,
.pairing-batch-preview-table td {
  padding: 13px 14px;
  border-bottom: 1px solid #edf1f7;
  text-align: left;
  color: #475467;
  font-size: 14px;
  vertical-align: top;
}

.pairing-batch-preview-table th {
  background: #f8fafc;
  color: #667085;
  font-weight: 700;
}

.pairing-batch-preview-table tr.is-error td {
  background: #fff7f7;
  color: #c2410c;
}

.pairing-batch-empty-cell {
  text-align: center !important;
  color: #98a2b3 !important;
}

.pairing-batch-finish-shell {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 40px 18px 18px;
  text-align: center;
}

.pairing-batch-finish-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: rgba(255, 152, 0, 0.12);
  color: #ff9800;
  font-size: 32px;
  font-weight: 800;
}

.pairing-batch-finish-shell h3 {
  margin: 0;
  color: #1f2937;
  font-size: 28px;
}

.pairing-batch-finish-shell p {
  margin: 0;
  color: #667085;
  font-size: 15px;
}

.pairing-batch-footer {
  position: sticky;
  bottom: -18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding: 16px 0 4px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 18%, #fff 100%);
}

.pairing-batch-footer-left {
  color: #667085;
  font-size: 13px;
}

.pairing-batch-footer-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.route-tool-drawer {
  display: grid;
  gap: 20px;
  min-height: calc(100vh - 96px);
}

.route-tool-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.route-tool-summary-card {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid #edf1f7;
  background: #fff;
}

.route-tool-summary-card strong {
  color: #344054;
  font-size: 15px;
  font-weight: 700;
}

.route-tool-summary-card span {
  color: #667085;
  font-size: 20px;
  font-weight: 600;
}

.route-tool-panel-body {
  display: grid;
  gap: 14px;
  padding: 4px 0 0;
}

.route-tool-panel-body h3 {
  margin: 0;
  color: #1f2937;
  font-size: 28px;
  font-weight: 700;
}

.route-tool-panel-body p {
  margin: 0;
  color: #667085;
  font-size: 15px;
  line-height: 1.7;
}

.route-tool-affected-shell {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid #edf1f7;
  border-radius: 18px;
  background: #fff;
}

.route-tool-affected-shell.is-empty {
  place-items: center;
  min-height: 180px;
  color: #98a2b3;
}

.route-tool-affected-item {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #edf1f7;
}

.route-tool-affected-item strong {
  color: #1f2937;
  font-size: 15px;
}

.route-tool-affected-item span,
.route-tool-empty-copy {
  color: #667085;
  font-size: 14px;
}

.route-tool-footer {
  margin-top: auto;
}

.modal.is-order-center-dialog {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.4);
}

.route-operation-modal-card.is-order-center-dialog-card {
  width: min(1980px, calc(100vw - 32px));
  max-width: none;
  height: calc(100vh - 24px);
  max-height: calc(100vh - 24px);
  border-radius: 0;
  padding: 24px 24px 18px;
  overflow: hidden;
  box-shadow: none;
}

.modal.is-order-center-dialog .route-operation-modal-head {
  padding: 0 0 12px;
  margin-bottom: 0;
  border-bottom: 0;
}

.modal.is-order-center-print-preview {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.5);
}

.route-operation-modal-card.is-order-center-print-preview-card {
  width: min(1520px, calc(100vw - 32px));
  max-width: none;
  height: calc(100vh - 32px);
  max-height: calc(100vh - 32px);
  border-radius: 0;
  padding: 18px 18px 16px;
  overflow: hidden;
  box-shadow: none;
}

.modal.is-order-center-print-preview .route-operation-modal-head {
  padding: 0 12px 14px;
  margin-bottom: 0;
  border-bottom: 0;
}

.order-print-preview-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
  min-height: calc(100vh - 120px);
}

.order-print-preview-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 12px;
}

.order-print-preview-toolbar .primary-btn,
.order-print-preview-toolbar .ghost-btn,
.order-print-preview-footer .ghost-btn {
  min-width: 110px;
  min-height: 56px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
  box-shadow: none;
}

.order-print-preview-scroll {
  min-height: 0;
  overflow: auto;
  padding: 18px;
  border-radius: 10px;
  background: #f5f5f5;
}

.order-print-preview-page {
  width: 1160px;
  min-height: 1480px;
  margin: 0 auto 24px;
  padding: 28px 42px 36px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.order-print-preview-page:last-child {
  margin-bottom: 0;
}

.order-print-preview-title {
  margin-bottom: 12px;
  text-align: center;
  color: #111827;
  font-family: "SimSun", "Songti SC", serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.order-print-preview-meta {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  gap: 18px;
  margin-bottom: 8px;
  color: #1f2937;
  font-family: "SimSun", "Songti SC", serif;
  font-size: 15px;
}

.order-print-preview-meta span:last-child {
  text-align: right;
}

.order-print-preview-table-wrap {
  overflow-x: auto;
}

.order-print-preview-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
}

.order-print-preview-table th,
.order-print-preview-table td {
  padding: 8px 6px;
  border: 1px solid #1f2937;
  color: #111827;
  text-align: center;
  vertical-align: middle;
  font-family: "SimSun", "Songti SC", serif;
  font-size: 15px;
  line-height: 1.35;
  background: #fff;
}

.order-print-preview-table thead th {
  font-weight: 500;
}

.order-print-preview-total-row td {
  font-weight: 700;
}

.order-print-preview-empty {
  display: grid;
  place-items: center;
  min-height: 420px;
  border: 1px dashed #d6dde8;
  border-radius: 10px;
  background: #fff;
  color: #7c889a;
  font-size: 16px;
}

.order-print-preview-footer {
  display: flex;
  justify-content: flex-end;
  padding: 0 12px;
}

.route-order-dialog {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 12px;
  min-height: calc(100vh - 120px);
}

.route-order-dialog-headline {
  display: flex;
  align-items: center;
  gap: 36px;
  color: #606266;
  font-size: 18px;
  flex-wrap: wrap;
}

.route-order-dialog-headline strong {
  color: #4b5563;
  font-size: 24px;
  font-weight: 800;
}

.route-order-dialog-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.route-order-dialog-inline-text {
  color: #606266;
  font-size: 15px;
}

.route-order-dialog-input,
.route-order-dialog-select {
  min-width: 200px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #dcdfe6;
  border-radius: 6px;
  background: #fff;
  color: #606266;
  font-size: 15px;
}

.route-order-dialog-columns {
  margin-left: auto;
}

.route-order-dialog-table-wrap {
  min-height: 0;
  overflow: auto;
  border: 1px solid #ebeef5;
}

.route-order-dialog-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1600px;
}

.route-order-dialog-table th,
.route-order-dialog-table td {
  border-bottom: 1px solid #ebeef5;
  border-right: 1px solid #ebeef5;
  padding: 10px 14px;
  text-align: left;
  vertical-align: middle;
  color: #606266;
  font-size: 14px;
  white-space: nowrap;
}

.route-order-dialog-table th {
  color: #909399;
  font-size: 15px;
  font-weight: 600;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1;
}

.route-order-dialog-thumb {
  width: 60px;
  height: 86px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.route-order-dialog-size-input,
.route-order-dialog-size-cell {
  width: 76px;
  height: 54px;
  border: 1px solid #dcdfe6;
  border-radius: 8px;
  background: #fff;
}

.route-order-dialog-size-input {
  padding: 0 10px;
  color: #606266;
  font-size: 15px;
}

.route-order-dialog-total-row td {
  background: #fafafa;
}

.route-order-dialog-pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

#view-order-detail.is-flat-order-detail .view-headline,
#view-order-detail.is-flat-order-detail .workspace-intro-card,
#view-order-detail.is-flat-order-detail #orderDetailFocusHint {
  display: none;
}

#view-order-detail.is-flat-order-detail .panel-card.is-flat-order-detail-shell {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#view-order-detail.is-flat-order-detail .order-detail-shell {
  max-width: none;
}

#view-order-detail.is-flat-order-detail .route-order-dialog {
  min-height: auto;
  gap: 14px;
}

#view-order-detail.is-flat-order-detail .route-order-dialog-headline {
  gap: 26px;
  font-size: 15px;
}

#view-order-detail.is-flat-order-detail .route-order-dialog-headline strong {
  font-size: 22px;
}

#view-order-detail.is-flat-order-detail .route-order-dialog-toolbar {
  gap: 14px;
}

#view-order-detail.is-flat-order-detail .route-order-dialog-columns {
  margin-left: auto;
}

#view-order-detail.is-flat-order-detail .route-order-dialog-table-wrap {
  max-height: none;
}

#view-order-detail.is-flat-order-detail .route-order-dialog-table th {
  position: static;
}

.modal.is-route-drawer .route-operation-modal-head {
  padding: 0 0 24px;
  margin-bottom: 0;
  border-bottom: 0;
}

.modal.is-route-drawer .cropper-modal-copy h3 {
  color: #4b5563;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}

.modal.is-route-drawer .route-operation-form {
  min-height: calc(100vh - 160px);
}

.modal.is-route-drawer .route-operation-modal-actions {
  position: sticky;
  bottom: 0;
  margin-top: 0;
  padding-top: 22px;
  padding-bottom: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 18%);
}

.modal.is-route-drawer .route-operation-modal-actions .ghost-btn,
.modal.is-route-drawer .route-operation-modal-actions .primary-btn {
  min-width: 90px;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: none;
}

.modal.is-route-drawer .route-operation-modal-actions .ghost-btn {
  background: #ffffff;
  border-color: #dcdfe6;
  color: #606266;
}

.modal.is-route-drawer .route-operation-modal-actions .primary-btn {
  background: #ff8a00;
  border-color: #ff8a00;
}

.print-type-drawer {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  gap: 14px;
  min-height: calc(100vh - 82px);
}

.print-type-drawer-toolbar,
.print-type-drawer-action-row,
.print-type-drawer-footer {
  display: flex;
  align-items: center;
  gap: 14px;
}

.print-type-drawer-toolbar {
  justify-content: space-between;
}

.print-type-drawer-search-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.print-type-drawer-search-input {
  width: 230px;
  min-width: 230px;
  height: 44px;
  border-radius: 8px;
}

.print-type-drawer-action-row {
  justify-content: flex-start;
}

.print-type-drawer-editor {
  border: 1px solid #f2d3ad;
  border-radius: 10px;
  background: linear-gradient(180deg, #fffaf4 0%, #fff 100%);
  padding: 18px 20px;
  display: grid;
  gap: 16px;
}

.print-type-drawer-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.print-type-drawer-editor-head strong {
  color: #4b5563;
  font-size: 20px;
  font-weight: 800;
}

.print-type-drawer-editor-head span {
  color: #8a94a6;
  font-size: 13px;
}

.print-type-drawer-editor-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.print-type-drawer-field {
  display: grid;
  gap: 8px;
}

.print-type-drawer-field span {
  color: #606266;
  font-size: 13px;
  font-weight: 600;
}

.print-type-drawer-field .text-input,
.print-type-drawer-field .select-input {
  min-height: 42px;
  border-radius: 8px;
}

.print-type-drawer-field .text-input[readonly] {
  background: #f5f7fa;
  color: #8a94a6;
}

.print-type-drawer-editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.print-type-drawer-table-shell {
  min-height: 0;
  border: 1px solid #ebeef5;
  background: #fff;
}

.print-type-drawer-table-wrap {
  min-height: 0;
  max-height: calc(100vh - 360px);
  overflow: auto;
}

.print-type-drawer-table {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
  table-layout: fixed;
}

.print-type-drawer-table th,
.print-type-drawer-table td {
  padding: 16px 16px;
  border-bottom: 1px solid #ebeef5;
  border-right: 1px solid #ebeef5;
  color: #606266;
  font-size: 14px;
  text-align: left;
  vertical-align: middle;
  background: #fff;
}

.print-type-drawer-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: #909399;
  font-size: 15px;
  font-weight: 700;
  background: #f5f7fb;
}

.print-type-drawer-table tbody tr:nth-child(even) td {
  background: #fff7ec;
}

.print-type-drawer-table tbody tr:hover td {
  background: #ffefd9;
}

.print-type-drawer-checkbox {
  width: 22px;
  height: 22px;
}

.print-type-drawer-checkbox span {
  width: 22px;
  height: 22px;
  border-radius: 4px;
}

.print-type-drawer-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.print-type-drawer-empty {
  padding: 48px 16px !important;
  text-align: center !important;
  color: #98a2b3 !important;
  background: #fff !important;
}

.print-type-drawer-footer {
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
}

.print-type-drawer-footer-count {
  color: #606266;
  font-size: 18px;
}

.print-type-drawer-pagination {
  padding-top: 0;
  flex: 1;
  justify-content: center;
}

.print-type-drawer-footer-actions {
  display: flex;
  justify-content: flex-end;
}

.print-template-drawer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 100vh;
  position: relative;
  isolation: isolate;
}

.print-template-drawer-shell.has-editor {
  grid-template-columns: minmax(0, 1fr) 840px;
}

.print-template-drawer {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  gap: 14px;
  min-height: 100vh;
  padding: 22px 30px 20px;
  background: #fff;
  position: relative;
  z-index: 1;
}

.print-template-drawer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: #606266;
  font-size: 14px;
}

.print-template-drawer-left-count,
.print-template-drawer-total {
  color: #606266;
  font-size: 16px;
}

.print-template-drawer-total {
  margin-left: auto;
}

.print-template-drawer-close-row {
  display: flex;
  justify-content: flex-end;
}

.print-template-drawer-table .print-template-table-switch,
.print-template-editor-switch {
  width: 54px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: #d9dfe8;
  padding: 0 3px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  transition: background 0.18s ease;
}

.print-template-editor-switch {
  width: 62px;
  height: 34px;
  padding: 0 4px;
}

.print-template-drawer-table .print-template-table-switch i,
.print-template-editor-switch i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  display: block;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.18);
}

.print-template-drawer-table .print-template-table-switch.is-on,
.print-template-editor-switch.is-on {
  justify-content: flex-end;
  background: #ffb860;
}

.print-template-editor-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 100vh;
  padding: 22px 30px 20px;
  background: #fff;
  border-left: 1px solid #ebeef5;
  box-shadow: -18px 0 32px rgba(15, 23, 42, 0.08);
  position: relative;
  z-index: 8;
  isolation: isolate;
  overflow: visible;
}

.print-template-editor-head {
  padding: 2px 0 22px;
}

.print-template-editor-head strong {
  color: #4b5563;
  font-size: 24px;
  font-weight: 800;
}

.print-template-editor-body {
  display: grid;
  align-content: start;
  gap: 34px;
  position: relative;
  overflow: visible;
}

.print-template-editor-row {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.print-template-editor-row:has(.print-template-editor-select-trigger.is-open) {
  z-index: 18;
}

.print-template-editor-label {
  color: #606266;
  font-size: 17px;
  line-height: 1.5;
  text-align: right;
}

.print-template-editor-label.is-required::before {
  content: "*";
  margin-right: 6px;
  color: #f56c6c;
}

.print-template-editor-control {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.print-template-editor-control.is-select-stack {
  z-index: 12;
}

.print-template-editor-input {
  width: 100%;
  min-height: 46px;
  padding: 0 52px 0 18px;
  border-radius: 8px;
  font-size: 16px;
}

.print-template-editor-counter {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #a0a8b5;
  font-size: 15px;
}

.print-template-editor-select-trigger {
  width: 100%;
  min-height: 46px;
  padding: 0 52px 0 12px;
  border: 1px solid #dcdfe6;
  border-radius: 8px;
  background: #fff;
  color: #606266;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  cursor: pointer;
}

.print-template-editor-select-trigger.is-open {
  border-color: #ff8a00;
  box-shadow: 0 0 0 2px rgba(255, 138, 0, 0.08);
}

.print-template-editor-select-trigger i {
  position: absolute;
  right: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #c0c6d4;
  border-bottom: 2px solid #c0c6d4;
  transform: translateY(-60%) rotate(45deg);
}

.print-template-editor-select-trigger.is-open i {
  transform: translateY(-35%) rotate(-135deg);
}

.print-template-editor-select-trigger span {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-height: 28px;
}

.print-template-editor-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 6px;
  background: #ff8a00;
  color: #fff;
  font-style: normal;
  font-size: 15px;
}

.print-template-editor-tag small {
  font-size: 16px;
  line-height: 1;
  opacity: 0.9;
}

.print-template-editor-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  border: 1px solid #ebeef5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  z-index: 30;
}

.print-template-editor-menu.is-hidden {
  display: none;
}

.print-template-editor-menu-item {
  width: 100%;
  border: 0;
  background: #fff;
  color: #606266;
  font-size: 16px;
  text-align: left;
  padding: 18px 18px;
  cursor: pointer;
}

.print-template-editor-menu-item:hover,
.print-template-editor-menu-item.is-active {
  background: #f4f7fb;
  color: #ff8a00;
  font-weight: 700;
}

.print-template-editor-footer {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  padding-top: 18px;
}

.route-topic-drawer {
  display: grid;
  gap: 26px;
  padding-top: 2px;
}

.route-topic-drawer-section {
  display: grid;
  gap: 28px;
  width: 100%;
}

.route-topic-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.route-topic-label {
  color: #606266;
  font-size: 16px;
  line-height: 1.4;
  text-align: right;
  white-space: nowrap;
}

.route-topic-label.is-required::before {
  content: "*";
  margin-right: 6px;
  color: #f56c6c;
}

.route-topic-control {
  min-width: 0;
}

.route-topic-control-with-meta {
  position: relative;
}

.route-topic-input {
  width: 100%;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid #dcdfe6;
  border-radius: 6px;
  background: #ffffff;
  color: #606266;
  font-size: 16px;
  line-height: 44px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.route-topic-input:focus,
.route-topic-select:focus {
  outline: none;
  border-color: #ffb56c;
  box-shadow: 0 0 0 2px rgba(255, 143, 31, 0.08);
}

.route-topic-input.is-readonly {
  background: #f5f7fa;
  color: #c0c4cc;
}

.route-topic-counter {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #c0c4cc;
  font-size: 16px;
  pointer-events: none;
}

.route-topic-select-wrap {
  position: relative;
}

.route-topic-select {
  appearance: none;
  padding-right: 48px;
  background-image:
    linear-gradient(45deg, transparent 50%, #c0c4cc 50%),
    linear-gradient(135deg, #c0c4cc 50%, transparent 50%);
  background-position:
    calc(100% - 26px) calc(50% - 3px),
    calc(100% - 18px) calc(50% - 3px);
  background-size: 8px 8px, 8px 8px;
  background-repeat: no-repeat;
}

.route-topic-date-range {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.route-topic-date-wrap {
  position: relative;
}

.route-topic-date-trigger-shell {
  min-height: 40px;
  padding: 0;
  border: 1px solid #dcdfe6;
  border-radius: 6px;
  background: #ffffff;
  overflow: hidden;
}

.route-topic-date-trigger-shell.is-open {
  border-color: #ff8a00;
}

.route-topic-date-trigger {
  min-height: 38px;
  border: 0;
  background: transparent;
  color: #606266;
  font-size: 14px;
  text-align: center;
  padding: 0 12px;
}

.route-topic-date-trigger.is-active {
  color: #303133;
}

.route-topic-date-sep {
  color: #606266;
  font-size: 14px;
  text-align: center;
}

.route-topic-date-picker-popup {
  position: absolute;
  top: calc(100% + 12px);
  left: -164px;
  z-index: 20;
  width: 860px;
  padding: 12px 14px 12px;
  border-radius: 8px;
  border: 1px solid #ebeef5;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
}

.route-topic-date-picker-popup::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 206px;
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-top: 1px solid #ebeef5;
  border-left: 1px solid #ebeef5;
  transform: rotate(45deg);
}

.route-topic-date-picker-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.route-topic-date-panel + .route-topic-date-panel {
  border-left: 1px solid #ebeef5;
  padding-left: 18px;
}

.route-topic-date-panel-head {
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  align-items: center;
  margin-bottom: 12px;
}

.route-topic-date-panel-head strong {
  color: #606266;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.route-topic-date-nav-group {
  display: inline-flex;
  gap: 4px;
}

.route-topic-date-nav-group-right {
  justify-content: flex-end;
}

.route-topic-date-nav-group.is-placeholder {
  visibility: hidden;
}

.route-topic-date-nav-btn {
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  color: #606266;
  font-size: 18px;
  line-height: 1;
  border-radius: 6px;
}

.route-topic-date-nav-btn:hover {
  background: #f5f7fa;
}

.route-topic-date-weekdays,
.route-topic-date-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.route-topic-date-weekdays {
  margin-bottom: 4px;
}

.route-topic-date-weekdays span {
  padding: 4px 0 8px;
  color: #606266;
  font-size: 13px;
  text-align: center;
}

.route-topic-date-grid {
  gap: 4px 0;
}

.route-topic-date-day {
  position: relative;
  min-height: 30px;
  border: 0;
  background: transparent;
  color: #606266;
  font-size: 13px;
  border-radius: 999px;
}

.route-topic-date-day.is-muted {
  color: #c0c4cc;
}

.route-topic-date-day.is-in-range {
  border-radius: 0;
  background: #fdf6ec;
}

.route-topic-date-day.is-start,
.route-topic-date-day.is-end {
  background: #ff8a00;
  color: #ffffff;
}

.route-topic-switch {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.route-topic-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.route-topic-switch-track {
  position: relative;
  width: 62px;
  height: 32px;
  border-radius: 999px;
  background: #dcdfe6;
  transition: background 0.18s ease;
}

.route-topic-switch-track i {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.14);
  transition: transform 0.18s ease;
}

.route-topic-switch.is-on .route-topic-switch-track {
  background: #ff8a00;
}

.route-topic-switch.is-on .route-topic-switch-track i {
  transform: translateX(30px);
}

.route-client-drawer {
  display: grid;
  gap: 28px;
  padding-top: 2px;
}

.route-client-section {
  display: grid;
  gap: 22px;
  padding-top: 2px;
}

.route-pairing-drawer {
  display: grid;
  gap: 26px;
  padding-top: 2px;
}

.route-pairing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 26px;
}

.route-pairing-field,
.route-pairing-member-search {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.route-pairing-label {
  color: #606266;
  font-size: 16px;
  line-height: 1.4;
  text-align: right;
  white-space: nowrap;
}

.route-pairing-label.is-required::before {
  content: "*";
  margin-right: 6px;
  color: #f56c6c;
}

.route-pairing-control {
  min-width: 0;
}

.route-pairing-input {
  width: 100%;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid #dcdfe6;
  border-radius: 6px;
  background: #ffffff;
  color: #606266;
  font-size: 16px;
  line-height: 48px;
}

.route-pairing-input.is-readonly {
  background: #f5f7fa;
  color: #c0c4cc;
}

.route-pairing-input.is-search {
  padding-right: 46px;
  background-image: linear-gradient(transparent, transparent), url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23c0c4cc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E\");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
}

.route-pairing-member-table-wrap {
  border: 1px solid #ebeef5;
  background: #fff;
}

.route-pairing-member-table {
  width: 100%;
  border-collapse: collapse;
}

.route-pairing-member-table th,
.route-pairing-member-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f0f2f5;
  text-align: left;
  color: #606266;
  font-size: 14px;
  border-right: 1px solid #ebeef5;
}

.route-pairing-member-table th {
  background: #f5f7fa;
  color: #909399;
  font-weight: 700;
}

.route-pairing-member-table th:last-child,
.route-pairing-member-table td:last-child {
  border-right: 0;
}

.route-pairing-member-table tbody tr:nth-child(even) td {
  background: #fafcff;
}

.route-client-section + .route-client-section {
  border-top: 1px solid #ebeef5;
  padding-top: 26px;
}

.route-client-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #303133;
}

.route-client-section-head strong {
  font-size: 18px;
  font-weight: 700;
}

.route-client-section-head.is-accent strong {
  color: #ff8a00;
}

.route-client-section-head i {
  width: 12px;
  height: 12px;
  border-right: 1.5px solid #7b8794;
  border-bottom: 1.5px solid #7b8794;
  transform: rotate(45deg);
  margin-right: 6px;
}

.route-client-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 42px;
}

.route-client-field {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.route-client-field.is-span-2 {
  grid-column: span 2;
}

.route-client-label {
  color: #606266;
  font-size: 16px;
  line-height: 1.4;
  text-align: right;
  white-space: nowrap;
}

.route-client-label.is-required::before {
  content: "*";
  margin-right: 6px;
  color: #f56c6c;
}

.route-client-control {
  min-width: 0;
}

.route-client-control-with-meta,
.route-client-select-wrap {
  position: relative;
}

.route-client-input {
  width: 100%;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid #dcdfe6;
  border-radius: 6px;
  background: #ffffff;
  color: #606266;
  font-size: 16px;
  line-height: 44px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.route-client-input:focus,
.route-client-select:focus {
  outline: none;
  border-color: #ffb56c;
  box-shadow: 0 0 0 2px rgba(255, 143, 31, 0.08);
}

.route-client-input.is-readonly {
  background: #f5f7fa;
  color: #c0c4cc;
}

.route-client-select {
  appearance: none;
  padding-right: 48px;
  background-image:
    linear-gradient(45deg, transparent 50%, #c0c4cc 50%),
    linear-gradient(135deg, #c0c4cc 50%, transparent 50%);
  background-position:
    calc(100% - 26px) calc(50% - 3px),
    calc(100% - 18px) calc(50% - 3px);
  background-size: 8px 8px, 8px 8px;
  background-repeat: no-repeat;
}

.route-client-counter {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #c0c4cc;
  font-size: 16px;
  pointer-events: none;
}

.route-client-note {
  grid-column: 2;
  margin-top: 8px;
  color: #ff5a00;
  font-size: 14px;
  line-height: 1.4;
}

.route-client-alert-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: #ff5a00;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  margin-right: 6px;
}

.route-client-switch {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.route-client-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.route-client-switch-track {
  position: relative;
  width: 62px;
  height: 32px;
  border-radius: 999px;
  background: #dcdfe6;
  transition: background 0.18s ease;
}

.route-client-switch-track i {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.14);
  transition: transform 0.18s ease;
}

.route-client-switch.is-on .route-client-switch-track {
  background: #ff8a00;
}

.route-client-switch.is-on .route-client-switch-track i {
  transform: translateX(30px);
}

.route-page-view .target-search-panel.is-shop-total-report {
  padding-bottom: 14px;
}

.route-pairing-search.route-shop-total-search {
  max-width: 100%;
}

.route-shop-total-search-row {
  grid-template-columns: repeat(5, minmax(190px, 1fr));
}

.route-shop-total-search-row--secondary {
  grid-template-columns: minmax(240px, 1fr) auto auto;
}

.route-page-table.is-shop-total-report th,
.route-page-table.is-shop-total-report td {
  text-align: left;
  font-size: 14px;
}

.route-shop-total-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 22px;
}

.route-shop-total-summary strong {
  color: #f08c00;
  font-weight: 700;
}

.route-page-view .target-search-panel.is-shop-rank-report {
  padding-bottom: 14px;
}

.route-pairing-search.route-shop-rank-search {
  max-width: 100%;
}

.route-shop-rank-search-row {
  grid-template-columns: repeat(3, minmax(220px, 1fr)) auto auto;
}

.route-page-table.is-shop-rank-report {
  min-width: 2480px;
}

.route-page-table.is-shop-rank-report th,
.route-page-table.is-shop-rank-report td {
  text-align: left;
  font-size: 15px;
  padding: 16px 18px;
  white-space: nowrap;
}

.route-page-table.is-shop-rank-report tbody tr:nth-child(odd) td {
  background: #ffffff;
}

.route-page-table.is-shop-rank-report tbody tr:nth-child(even) td {
  background: #fff7ec;
}

.route-page-table.is-shop-rank-report tbody tr:hover td {
  background: #ffefd9;
}

.route-page-table.is-shop-rank-report th[data-column-key="storeName"],
.route-page-table.is-shop-rank-report td[data-column-key="storeName"],
.route-page-table.is-shop-rank-report th[data-column-key="dealer"],
.route-page-table.is-shop-rank-report td[data-column-key="dealer"],
.route-page-table.is-shop-rank-report th[data-column-key="agent"],
.route-page-table.is-shop-rank-report td[data-column-key="agent"],
.route-page-table.is-shop-rank-report th[data-column-key="region"],
.route-page-table.is-shop-rank-report td[data-column-key="region"] {
  min-width: 160px;
}

.route-page-table.is-shop-rank-report th[data-column-key="amountCompletion"],
.route-page-table.is-shop-rank-report td[data-column-key="amountCompletion"],
.route-page-table.is-shop-rank-report th[data-column-key="quantityCompletion"],
.route-page-table.is-shop-rank-report td[data-column-key="quantityCompletion"],
.route-page-table.is-shop-rank-report th[data-column-key="styleCompletion"],
.route-page-table.is-shop-rank-report td[data-column-key="styleCompletion"],
.route-page-table.is-shop-rank-report th[data-column-key="colorCompletion"],
.route-page-table.is-shop-rank-report td[data-column-key="colorCompletion"] {
  min-width: 150px;
}

.route-shop-rank-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 22px;
}

.route-shop-rank-summary strong {
  color: #f08c00;
  font-weight: 700;
}

.route-page-view .target-search-panel.is-product-rank-report {
  padding-bottom: 14px;
}

.route-pairing-search.route-product-rank-search {
  max-width: 100%;
}

.route-product-rank-search-row {
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr) minmax(180px, 1fr) minmax(180px, 1fr) minmax(220px, 1.15fr);
}

.route-product-rank-search-row--secondary {
  grid-template-columns: minmax(180px, 1fr) 120px 120px 120px auto auto;
}

.route-product-rank-tabs {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #f4b56f;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.route-product-rank-tab {
  min-width: 92px;
  height: 42px;
  border: none;
  background: #fff;
  color: #606266;
  font-size: 15px;
  cursor: pointer;
}

.route-product-rank-tab + .route-product-rank-tab {
  border-left: 1px solid #f4b56f;
}

.route-product-rank-tab.is-active {
  background: #ff9d1b;
  color: #fff;
}

.route-product-rank-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #606266;
  font-size: 15px;
}

.route-product-rank-mini-input {
  max-width: 120px;
}

.route-page-table.is-product-rank-report th,
.route-page-table.is-product-rank-report td {
  text-align: left;
  font-size: 14px;
}

.route-page-table.is-product-rank-report td[data-column-key="image"] {
  text-align: center;
}

.route-product-rank-thumb {
  width: 38px;
  height: 52px;
  object-fit: cover;
  border-radius: 2px;
  display: inline-block;
}

.route-product-rank-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 22px;
}

.route-product-rank-summary strong {
  color: #f08c00;
  font-weight: 700;
}

.route-single-analysis-page {
  display: grid;
  gap: 18px;
}

.route-single-analysis-controls,
.route-single-analysis-list-card {
  border: 1px solid #ebeef5;
  border-radius: 8px;
  background: #fff;
}

.route-single-analysis-controls {
  padding: 18px 18px 16px;
}

.route-single-analysis-query-row,
.route-single-analysis-toolbar-row {
  display: grid;
  align-items: center;
  gap: 14px;
}

.route-single-analysis-query-row {
  grid-template-columns: auto minmax(240px, 0.95fr) minmax(220px, 0.8fr) auto auto;
}

.route-single-analysis-keyword,
.route-single-analysis-store,
.route-single-analysis-primary-btn,
.route-single-analysis-reset-btn,
.route-single-analysis-toolbar-btn {
  height: 42px;
  border-radius: 6px;
}

.route-single-analysis-keyword,
.route-single-analysis-store {
  min-width: 0;
}

.route-single-analysis-primary-btn,
.route-single-analysis-reset-btn {
  min-width: 88px;
}

.route-single-analysis-toolbar-row {
  grid-template-columns: 1fr auto;
  margin-top: 16px;
}

.route-single-analysis-toolbar-left {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.route-single-analysis-toolbar-btn {
  min-width: 118px;
  color: #f08a24;
  border-color: #f4b16e;
  background: #fff;
}

.route-single-analysis-columns-btn {
  justify-self: end;
  color: #f08a24;
}

.route-single-analysis-list-card {
  overflow: hidden;
}

.route-single-analysis-table-wrap {
  overflow: auto;
}

.route-single-analysis-table {
  min-width: 1460px;
  margin: 0;
  border: 0;
  border-radius: 0;
}

.route-single-analysis-table thead th,
.route-single-analysis-table tbody td {
  min-width: 90px;
  padding: 18px 16px;
  border-right: 1px solid #eef2f7;
  border-bottom: 1px solid #eef2f7;
  text-align: left;
  white-space: nowrap;
}

.route-single-analysis-table thead th:last-child,
.route-single-analysis-table tbody td:last-child {
  border-right: 0;
}

.route-single-analysis-table thead th {
  background: #f5f7fa;
  color: #909399;
  font-size: 16px;
  font-weight: 700;
}

.route-single-analysis-table tbody td {
  color: #606266;
  font-size: 16px;
}

.route-single-analysis-table tbody tr:nth-child(even) td {
  background: #fff8ef;
}

.route-single-analysis-table tbody tr:hover td {
  background: #fff4e3;
}

.route-single-analysis-table td[data-column-key="quantity"],
.route-single-analysis-table td[data-column-key="tagAmount"],
.route-single-analysis-table td[data-column-key="image"] {
  text-align: center;
}

.route-single-analysis-table td[data-column-key="image"] {
  min-width: 112px;
}

.route-single-analysis-table .route-single-product-thumb {
  width: 58px;
  height: 58px;
  border-radius: 2px;
}

.route-single-analysis-table .route-single-product-image-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 1px dashed #d7dde7;
  border-radius: 4px;
  background: #fafbfd;
  color: #bcc4cf;
  font-size: 12px;
  text-transform: uppercase;
}

.route-single-analysis-empty {
  min-height: 160px;
  display: grid;
  place-items: center;
  color: #909399;
  font-size: 16px;
}

.route-single-analysis-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: #606266;
  font-size: 14px;
  flex-wrap: wrap;
}

.route-single-analysis-summary {
  color: #606266;
  font-size: 14px;
}

.route-single-analysis-summary strong {
  color: #f08c00;
  font-weight: 700;
}

.route-single-analysis-pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  color: #606266;
  font-size: 14px;
  flex-wrap: wrap;
}

.route-shop-status-analysis-page {
  display: grid;
  gap: 18px;
}

.route-shop-status-analysis-controls,
.route-shop-status-analysis-list-card {
  border: 1px solid #ebeef5;
  border-radius: 8px;
  background: #fff;
}

.route-shop-status-analysis-controls {
  padding: 18px 18px 16px;
}

.route-shop-status-analysis-query-row,
.route-shop-status-analysis-toolbar-row {
  display: grid;
  align-items: center;
  gap: 14px;
}

.route-shop-status-analysis-query-row {
  grid-template-columns: minmax(240px, 0.9fr) auto auto 1fr;
}

.route-shop-status-analysis-select,
.route-shop-status-analysis-primary-btn,
.route-shop-status-analysis-reset-btn,
.route-shop-status-analysis-toolbar-btn {
  height: 42px;
  border-radius: 6px;
}

.route-shop-status-analysis-primary-btn,
.route-shop-status-analysis-reset-btn {
  min-width: 88px;
}

.route-shop-status-analysis-toolbar-row {
  grid-template-columns: 1fr auto;
  margin-top: 16px;
}

.route-shop-status-analysis-toolbar-left {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.route-shop-status-analysis-toolbar-btn {
  min-width: 118px;
  color: #f08a24;
  border-color: #f4b16e;
  background: #fff;
}

.route-shop-status-analysis-columns-btn {
  justify-self: end;
  color: #f08a24;
}

.route-shop-status-analysis-list-card {
  overflow: hidden;
}

.route-shop-status-analysis-table-wrap {
  overflow: auto;
}

.route-shop-status-analysis-table {
  min-width: 1400px;
  margin: 0;
  border: 0;
  border-radius: 0;
}

.route-shop-status-analysis-table thead th,
.route-shop-status-analysis-table tbody td {
  padding: 18px 16px;
  border-right: 1px solid #eef2f7;
  border-bottom: 1px solid #eef2f7;
  text-align: left;
  white-space: nowrap;
}

.route-shop-status-analysis-table thead th:last-child,
.route-shop-status-analysis-table tbody td:last-child {
  border-right: 0;
}

.route-shop-status-analysis-table thead th {
  background: #f5f7fa;
  color: #909399;
  font-size: 16px;
  font-weight: 700;
}

.route-shop-status-analysis-table tbody td {
  color: #606266;
  font-size: 16px;
}

.route-shop-status-analysis-table tbody tr:nth-child(even) td {
  background: #fff8ef;
}

.route-shop-status-analysis-table tbody tr:hover td {
  background: #fff4e3;
}

.route-shop-status-analysis-table tbody tr.is-summary td {
  background: #fff7ec;
}

.route-shop-status-analysis-table td[data-column-key="accountCount"],
.route-shop-status-analysis-table td[data-column-key="orderCount"],
.route-shop-status-analysis-table td[data-column-key="orderLow"],
.route-shop-status-analysis-table td[data-column-key="orderHigh"],
.route-shop-status-analysis-table td[data-column-key="unorderedUser"],
.route-shop-status-analysis-table td[data-column-key="unloginUser"] {
  text-align: center;
}

.route-shop-status-analysis-empty {
  min-height: 160px;
  display: grid;
  place-items: center;
  color: #909399;
  font-size: 16px;
}

.route-shop-status-analysis-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: #606266;
  font-size: 14px;
  flex-wrap: wrap;
}

.route-shop-status-analysis-summary {
  color: #606266;
  font-size: 14px;
}

.route-shop-status-analysis-summary strong {
  color: #f08c00;
  font-weight: 700;
}

.route-shop-status-analysis-pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  color: #606266;
  font-size: 14px;
  flex-wrap: wrap;
}

.route-shop-unordered-analysis-page {
  display: grid;
  gap: 18px;
}

.route-shop-unordered-analysis-controls,
.route-shop-unordered-analysis-list-card {
  border: 1px solid #ebeef5;
  border-radius: 8px;
  background: #fff;
}

.route-shop-unordered-analysis-controls {
  padding: 18px 18px 16px;
}

.route-shop-unordered-analysis-query-row,
.route-shop-unordered-analysis-toolbar-row {
  display: grid;
  align-items: center;
  gap: 14px;
}

.route-shop-unordered-analysis-query-row {
  grid-template-columns: minmax(240px, 0.9fr) auto auto 1fr;
}

.route-shop-unordered-analysis-select,
.route-shop-unordered-analysis-primary-btn,
.route-shop-unordered-analysis-reset-btn,
.route-shop-unordered-analysis-toolbar-btn {
  height: 42px;
  border-radius: 6px;
}

.route-shop-unordered-analysis-primary-btn,
.route-shop-unordered-analysis-reset-btn {
  min-width: 88px;
}

.route-shop-unordered-analysis-toolbar-row {
  grid-template-columns: 1fr auto;
  margin-top: 16px;
}

.route-shop-unordered-analysis-toolbar-left {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.route-shop-unordered-analysis-toolbar-btn {
  min-width: 118px;
  color: #f08a24;
  border-color: #f4b16e;
  background: #fff;
}

.route-shop-unordered-analysis-columns-btn {
  justify-self: end;
  color: #f08a24;
}

.route-shop-unordered-analysis-list-card {
  overflow: hidden;
}

.route-shop-unordered-analysis-table-wrap {
  overflow: auto;
}

.route-shop-unordered-analysis-table {
  min-width: 1180px;
  margin: 0;
  border: 0;
  border-radius: 0;
}

.route-shop-unordered-analysis-table thead th,
.route-shop-unordered-analysis-table tbody td {
  padding: 18px 16px;
  border-right: 1px solid #eef2f7;
  border-bottom: 1px solid #eef2f7;
  text-align: left;
  white-space: nowrap;
}

.route-shop-unordered-analysis-table thead th:last-child,
.route-shop-unordered-analysis-table tbody td:last-child {
  border-right: 0;
}

.route-shop-unordered-analysis-table thead th {
  background: #f5f7fa;
  color: #909399;
  font-size: 16px;
  font-weight: 700;
}

.route-shop-unordered-analysis-table tbody td {
  color: #606266;
  font-size: 16px;
}

.route-shop-unordered-analysis-table tbody tr:nth-child(even) td {
  background: #fff8ef;
}

.route-shop-unordered-analysis-table tbody tr:hover td {
  background: #fff4e3;
}

.route-shop-unordered-analysis-table th[data-column-key="selector"],
.route-shop-unordered-analysis-table td[data-column-key="selector"],
.route-shop-unordered-analysis-table td[data-column-key="serial"] {
  text-align: center;
}

.route-shop-unordered-analysis-empty {
  min-height: 160px;
  display: grid;
  place-items: center;
  color: #909399;
  font-size: 16px;
}

.route-shop-unordered-analysis-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: #606266;
  font-size: 14px;
  flex-wrap: wrap;
}

.route-shop-unordered-analysis-summary {
  color: #606266;
  font-size: 14px;
}

.route-shop-unordered-analysis-summary strong {
  color: #f08c00;
  font-weight: 700;
}

.route-shop-unordered-analysis-pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  color: #606266;
  font-size: 14px;
  flex-wrap: wrap;
}

.route-login-analysis-page {
  display: grid;
  gap: 18px;
}

.route-login-analysis-controls,
.route-login-analysis-list-card {
  border: 1px solid #ebeef5;
  border-radius: 8px;
  background: #fff;
}

.route-login-analysis-controls {
  padding: 18px 18px 16px;
}

.route-login-analysis-query-row,
.route-login-analysis-toolbar-row {
  display: grid;
  align-items: center;
  gap: 14px;
}

.route-login-analysis-query-row {
  grid-template-columns: minmax(220px, 0.8fr) minmax(220px, 0.8fr) auto auto 1fr;
}

.route-login-analysis-select,
.route-login-analysis-primary-btn,
.route-login-analysis-reset-btn,
.route-login-analysis-toolbar-btn {
  height: 42px;
  border-radius: 6px;
}

.route-login-analysis-primary-btn,
.route-login-analysis-reset-btn {
  min-width: 88px;
}

.route-login-analysis-toolbar-row {
  grid-template-columns: 1fr auto;
  margin-top: 16px;
}

.route-login-analysis-toolbar-left {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.route-login-analysis-toolbar-btn {
  min-width: 118px;
  color: #f08a24;
  border-color: #f4b16e;
  background: #fff;
}

.route-login-analysis-columns-btn {
  justify-self: end;
  color: #f08a24;
}

.route-login-analysis-list-card {
  overflow: hidden;
}

.route-login-analysis-table-wrap {
  overflow: auto;
}

.route-login-analysis-table {
  min-width: 1520px;
  margin: 0;
  border: 0;
  border-radius: 0;
}

.route-login-analysis-table thead th,
.route-login-analysis-table tbody td {
  padding: 18px 16px;
  border-right: 1px solid #eef2f7;
  border-bottom: 1px solid #eef2f7;
  text-align: left;
  white-space: nowrap;
}

.route-login-analysis-table thead th:last-child,
.route-login-analysis-table tbody td:last-child {
  border-right: 0;
}

.route-login-analysis-table thead th {
  background: #f5f7fa;
  color: #909399;
  font-size: 16px;
  font-weight: 700;
}

.route-login-analysis-table tbody td {
  color: #606266;
  font-size: 16px;
}

.route-login-analysis-table tbody tr:nth-child(even) td {
  background: #fff8ef;
}

.route-login-analysis-table tbody tr:hover td {
  background: #fff4e3;
}

.route-login-analysis-empty {
  min-height: 160px;
  display: grid;
  place-items: center;
  color: #909399;
  font-size: 16px;
}

.route-login-analysis-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: #606266;
  font-size: 14px;
  flex-wrap: wrap;
}

.route-login-analysis-summary {
  color: #606266;
  font-size: 14px;
}

.route-login-analysis-summary strong {
  color: #f08c00;
  font-weight: 700;
}

.route-login-analysis-pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  color: #606266;
  font-size: 14px;
  flex-wrap: wrap;
}

.route-alias-settings-page {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.route-alias-settings-controls,
.route-alias-settings-list-card {
  background: #fff;
  border: 1px solid #ebeef5;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.route-alias-settings-controls {
  padding: 22px 24px 10px;
}

.route-alias-settings-query-row,
.route-alias-settings-toolbar-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.route-alias-settings-toolbar-row {
  justify-content: space-between;
  margin-top: 18px;
}

.route-alias-settings-toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.route-alias-settings-search {
  width: min(520px, 100%);
  min-height: 48px;
}

.route-alias-settings-primary-btn,
.route-alias-settings-reset-btn,
.route-alias-settings-toolbar-btn {
  min-width: 88px;
  min-height: 48px;
  border-radius: 12px;
}

.route-alias-settings-toolbar-btn {
  border-color: #f5c48c;
  color: #f08c00;
  background: #fff;
}

.route-alias-settings-tabs {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  margin-top: 18px;
  border-bottom: 1px solid #ebeef5;
  padding-bottom: 2px;
  overflow-x: auto;
}

.route-alias-settings-tab {
  position: relative;
  border: none;
  background: transparent;
  color: #303133;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 0 14px;
  cursor: pointer;
  white-space: nowrap;
}

.route-alias-settings-tab.is-active {
  color: #f08c00;
}

.route-alias-settings-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 3px;
  border-radius: 999px;
  background: #f08c00;
}

.route-alias-settings-columns-btn {
  margin-left: auto;
  padding-bottom: 14px;
  white-space: nowrap;
}

.route-alias-settings-list-card {
  padding: 0;
  overflow: hidden;
}

.route-alias-settings-table-wrap {
  overflow: auto;
}

.route-alias-settings-table {
  width: 100%;
  min-width: 980px;
  border-collapse: separate;
  border-spacing: 0;
}

.route-alias-settings-table thead th,
.route-alias-settings-table tbody td {
  border-right: 1px solid #ebeef5;
  border-bottom: 1px solid #ebeef5;
  padding: 18px 16px;
  text-align: left;
  font-size: 15px;
  color: #606266;
  background: #fff;
}

.route-alias-settings-table thead th:last-child,
.route-alias-settings-table tbody td:last-child {
  border-right: none;
}

.route-alias-settings-table thead th {
  background: #f7f9fc;
  color: #909399;
  font-size: 16px;
  font-weight: 700;
}

.route-alias-settings-table tbody tr:nth-child(even) td {
  background: #fff9f0;
}

.route-alias-settings-table tbody tr:hover td {
  background: #fff4e5;
}

.route-alias-settings-inline-btn {
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.route-alias-settings-inline-btn:hover {
  color: #f08c00;
}

.route-alias-settings-empty {
  padding: 72px 24px;
  text-align: center;
  color: #909399;
  font-size: 15px;
}

.route-alias-settings-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: #606266;
  font-size: 14px;
  flex-wrap: wrap;
}

.route-alias-settings-summary {
  color: #606266;
  font-size: 14px;
}

.route-alias-settings-pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.route-alias-settings-editor-mask {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.36);
  z-index: 72;
}

.route-alias-settings-editor {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(620px, 100vw);
  background: #fff;
  box-shadow: -12px 0 40px rgba(15, 23, 42, 0.16);
  z-index: 73;
  display: flex;
  flex-direction: column;
}

.route-alias-settings-editor-head {
  padding: 28px 30px 18px;
  border-bottom: 1px solid #ebeef5;
}

.route-alias-settings-editor-head h3 {
  margin: 0;
  font-size: 18px;
  color: #303133;
}

.route-alias-settings-editor-head p {
  margin: 8px 0 0;
  color: #909399;
  font-size: 14px;
}

.route-alias-settings-editor-body {
  flex: 1;
  overflow: auto;
  padding: 24px 30px;
}

.route-alias-settings-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.route-alias-settings-editor-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 18px 30px 24px;
  border-top: 1px solid #ebeef5;
}

.system-option-page,
.user-setting-page,
.system-log-page {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.system-option-panel {
  background: #fff;
  border: 1px solid #ebeef5;
  border-radius: 4px;
  box-shadow: none;
  padding: 20px 24px;
}

.system-option-toolbar-row,
.user-setting-toolbar-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.system-option-search-group,
.user-setting-search-group,
.system-option-toolbar-actions,
.user-setting-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.system-option-content-panel,
.user-setting-table-card {
  padding: 0;
  overflow: hidden;
}

.system-option-overview-query-label {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #606266;
  font-size: 14px;
  font-weight: 600;
}

.system-option-search-input,
.system-option-detail-search-input {
  min-width: 320px;
  min-height: 42px;
}

.system-option-overview-toolbar,
.system-option-detail-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 24px 0;
}

.system-option-detail-toolbar {
  padding-bottom: 0;
}

.system-option-overview-toolbar-left,
.system-option-detail-toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.system-option-overview-columns-btn {
  margin-left: auto;
  border-color: transparent;
  color: #f08c00;
  background: transparent;
  padding-left: 0;
  padding-right: 0;
}

.system-option-detail-toolbar-right {
  margin-left: auto;
}

.system-option-detail-btn,
.system-option-overview-action-btn,
.system-option-inline-action {
  border-color: #f5c48c;
  color: #f08c00;
}

.system-option-import-shell {
  position: relative;
}

.system-option-import-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 196px;
  padding: 8px;
  border: 1px solid #ebeef5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  z-index: 8;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.system-option-import-option {
  border: none;
  background: #fff;
  color: #606266;
  text-align: left;
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
}

.system-option-import-option:hover {
  background: #fff7ed;
  color: #f08c00;
}

.system-option-tabs {
  margin-top: 14px;
}

.system-option-overview-table-wrap {
  padding: 16px 24px 0;
  overflow: auto;
}

.system-option-overview-table,
.system-option-menu-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

.system-option-overview-table th,
.system-option-overview-table td,
.system-option-menu-table th,
.system-option-menu-table td {
  border: 1px solid #ebeef5;
  padding: 14px 12px;
  text-align: left;
  background: #fff;
}

.system-option-overview-table th,
.system-option-menu-table th {
  background: #f7f9fc;
  color: #909399;
  font-size: 14px;
  font-weight: 600;
}

.system-option-overview-table tbody tr:nth-child(odd) td,
.system-option-menu-table tbody tr:nth-child(odd) td {
  background: #fffaf3;
}

.system-option-overview-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.system-option-overview-main strong {
  color: #303133;
  font-size: 16px;
  font-weight: 600;
}

.system-option-overview-main span {
  color: #909399;
  font-size: 13px;
}

.system-option-overview-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 0 12px;
  min-height: 28px;
  border-radius: 999px;
  background: #e8f0ff;
  color: #2563eb;
  font-size: 13px;
  font-weight: 600;
}

.system-option-overview-status.is-warning {
  background: #fff7ed;
  color: #f08c00;
}

.system-option-overview-footer {
  padding: 18px 24px 20px;
  color: #606266;
  font-size: 14px;
  text-align: right;
}

.system-option-form-shell {
  padding: 18px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.system-option-form-row {
  display: grid;
  grid-template-columns: 220px minmax(280px, 300px) minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.system-option-form-row.is-textarea {
  align-items: flex-start;
}

.system-option-form-label {
  justify-self: end;
  color: #606266;
  font-size: 14px;
  line-height: 1.5;
}

.system-option-form-control {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.system-option-form-control .text-input,
.system-option-form-control .select-input,
.system-option-form-control .textarea-input {
  flex: 1;
  width: 100%;
  min-height: 42px;
  border-radius: 8px;
}

.system-option-form-control .system-option-multiselect {
  flex: 1;
}

.system-option-form-control .textarea-input {
  min-height: 72px;
  resize: vertical;
}

.system-option-form-control .text-input.is-color {
  padding: 4px 6px;
  min-height: 42px;
}

.system-option-form-hint {
  min-height: 20px;
  color: #909399;
  font-size: 13px;
  line-height: 1.6;
}

.system-option-form-hint.has-text::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  border: 1px solid #f5c48c;
  border-radius: 50%;
  color: #f08c00;
  font-size: 10px;
  line-height: 1;
}

.system-option-toggle {
  position: relative;
  width: 52px;
  min-width: 52px;
  height: 28px;
  padding: 3px;
  border: 1px solid #dcdfe6;
  border-radius: 999px;
  background: #e5e7eb;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  transition: all .2s ease;
}

.system-option-toggle span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.system-option-toggle i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.14);
  transition: transform .2s ease;
}

.system-option-toggle.is-on {
  background: #ff9f1a;
  border-color: #ff9f1a;
}

.system-option-toggle.is-on i {
  transform: translateX(24px);
}

.system-option-toggle.is-compact {
  width: 46px;
  min-width: 46px;
  height: 26px;
}

.system-option-toggle.is-compact i {
  width: 18px;
  height: 18px;
}

.system-option-multiselect {
  position: relative;
  width: 100%;
}

.system-option-multiselect-trigger {
  width: 100%;
  min-height: 42px;
  border: 1px solid #dcdfe6;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 36px 4px 8px;
  color: #606266;
  cursor: pointer;
  position: relative;
}

.system-option-multiselect-trigger::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1px solid #c0c4cc;
  border-bottom: 1px solid #c0c4cc;
  transform: translateY(-70%) rotate(45deg);
}

.system-option-multiselect-value {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.system-option-multiselect-value em {
  font-style: normal;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  background: #ff9f1a;
  color: #fff;
  font-size: 13px;
}

.system-option-multiselect-placeholder {
  color: #c0c4cc;
}

.system-option-multiselect-trigger strong {
  margin-left: auto;
  color: #909399;
  font-size: 12px;
}

.system-option-multiselect-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  min-width: 280px;
  max-width: 420px;
  padding: 10px;
  border: 1px solid #ebeef5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  z-index: 7;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.system-option-multiselect-option {
  border: 1px solid #ebeef5;
  border-radius: 999px;
  background: #fff;
  color: #606266;
  padding: 8px 14px;
  cursor: pointer;
}

.system-option-multiselect-option.is-active {
  border-color: #f5c48c;
  background: #fff2e3;
  color: #f08c00;
}

.system-option-menu-shell {
  padding: 18px 24px 24px;
}

.system-option-menu-table-wrap {
  overflow: auto;
}

.system-option-menu-table .text-input {
  width: 100%;
  min-height: 38px;
  border-radius: 6px;
}

.system-option-dialog-mask,
.user-setting-drawer-mask {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.36);
  z-index: 72;
}

.system-option-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(760px, calc(100vw - 32px));
  max-height: min(82vh, 900px);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
  z-index: 73;
  display: flex;
  flex-direction: column;
}

.system-option-dialog-head,
.user-setting-drawer-head {
  padding: 26px 30px 18px;
  border-bottom: 1px solid #ebeef5;
}

.system-option-dialog-head h3,
.user-setting-drawer-head h3 {
  margin: 0;
  color: #303133;
  font-size: 20px;
}

.system-option-dialog-head p,
.user-setting-drawer-head p {
  margin: 8px 0 0;
  color: #909399;
  font-size: 14px;
}

.system-option-dialog-body {
  padding: 22px 30px;
  overflow: auto;
}

.system-option-dialog-grid,
.user-setting-drawer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.system-option-dialog-field.is-span-2,
.user-setting-drawer-note {
  grid-column: span 2;
}

.system-option-dialog-field.is-toggle {
  border: 1px solid #ebeef5;
  border-radius: 12px;
  background: #fffaf3;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.system-option-dialog-footer,
.user-setting-drawer-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 18px 30px 24px;
  border-top: 1px solid #ebeef5;
}

.user-setting-content {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 22px;
}

.user-setting-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.user-setting-tree-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.user-setting-tree-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.user-setting-tree-card-head h3,
.user-setting-editor-tree-card h4 {
  margin: 0;
  color: #303133;
  font-size: 16px;
}

.user-setting-tree-list,
.user-setting-editor-tree-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 320px;
  overflow: auto;
}

.user-setting-tree-node,
.user-setting-editor-tree-node {
  border: 1px solid #ebeef5;
  border-radius: 10px;
  background: #fff;
  color: #606266;
  text-align: left;
  padding: 10px 14px;
  cursor: pointer;
}

.user-setting-tree-node {
  padding-left: calc(14px + var(--depth, 0) * 18px);
}

.user-setting-tree-node.is-active {
  border-color: #f5c48c;
  background: #fff2e3;
  color: #f08c00;
}

.user-setting-editor-tree-node {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: calc(14px + var(--depth, 0) * 18px);
}

.user-setting-inline-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.user-setting-table td {
  vertical-align: top;
}

.system-log-panel,
.system-log-table-card {
  padding: 0;
  overflow: hidden;
}

.system-log-query-row,
.system-log-action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 24px 0;
}

.system-log-search-group,
.system-log-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.system-log-search-input {
  min-width: 240px;
  min-height: 44px;
}

.system-log-date-range {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.system-log-date-input {
  min-width: 220px;
  min-height: 44px;
}

.system-log-date-separator {
  color: #606266;
  font-size: 16px;
  font-weight: 600;
}

.system-log-primary-btn,
.system-log-reset-btn,
.system-log-toolbar-btn {
  min-width: 88px;
  min-height: 44px;
  border-radius: 12px;
}

.system-log-toolbar-btn {
  border-color: #f5c48c;
  color: #f08c00;
  background: #fff;
}

.system-log-columns-btn {
  margin-left: auto;
  color: #f08c00;
}

.system-log-tabs {
  margin: 18px 24px 0;
}

.system-log-table-wrap {
  max-height: 680px;
}

.system-log-table {
  min-width: 1320px;
}

.system-log-table tbody tr:nth-child(odd) td {
  background: #fff9f0;
}

.system-log-table tbody tr:nth-child(even) td {
  background: #fff;
}

.system-log-table tbody tr:hover td {
  background: #fff2e3;
}

.system-log-value {
  color: #606266;
}

.system-log-value.is-after {
  color: #303133;
  font-weight: 600;
}

.system-log-action-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #ebeef5;
  background: #f4f4f5;
  color: #606266;
}

.system-log-action-tag.is-create {
  border-color: #f5c48c;
  background: #fff2e3;
  color: #f08c00;
}

.system-log-action-tag.is-login {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #2563eb;
}

.system-log-action-tag.is-review {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #c2410c;
}

.system-log-footer {
  padding: 0 8px;
}

.system-log-pagination {
  gap: 12px;
}

.system-log-page-size {
  min-width: 104px;
  cursor: pointer;
}

.user-setting-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(720px, 100vw);
  background: #fff;
  box-shadow: -12px 0 40px rgba(15, 23, 42, 0.16);
  z-index: 73;
  display: flex;
  flex-direction: column;
}

.user-setting-drawer-body {
  flex: 1;
  overflow: auto;
  padding: 22px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.user-setting-drawer-switches {
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.user-setting-editor-tree-card {
  border: 1px solid #ebeef5;
  border-radius: 14px;
  background: #fffaf3;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.user-setting-auth-page {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.user-setting-auth-shell {
  background: #fff;
  border: 1px solid #f5efeb;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.user-setting-auth-tabs {
  display: flex;
  border-bottom: 1px solid #f5efeb;
}

.user-setting-auth-tab {
  min-width: 154px;
  min-height: 62px;
  border: none;
  border-right: 1px solid #f5efeb;
  background: #fff;
  color: #8d97aa;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}

.user-setting-auth-tab.is-active {
  color: #f08c00;
}

.user-setting-auth-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 22px;
}

.user-setting-auth-pane {
  position: relative;
  min-height: 760px;
  border: 1px solid #f5efeb;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.user-setting-auth-toolbar {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 16px 18px;
  border-bottom: 1px solid #f5efeb;
}

.user-setting-auth-title {
  color: #303133;
  font-size: 20px;
  font-weight: 500;
}

.user-setting-auth-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.user-setting-auth-table-shell {
  flex: 1;
  overflow: auto;
}

.user-setting-auth-table-shell.is-plain {
  padding: 0;
}

.user-setting-grid-table {
  width: 100%;
  border-collapse: collapse;
}

.user-setting-grid-table th,
.user-setting-grid-table td {
  border-right: 1px solid #f1ebe7;
  border-bottom: 1px solid #f1ebe7;
  padding: 16px 14px;
  text-align: left;
  vertical-align: top;
  background: #fff;
}

.user-setting-grid-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f7f8fb;
  color: #9ba3b2;
  font-size: 14px;
  font-weight: 600;
}

.user-setting-grid-table td {
  color: #606266;
  font-size: 15px;
}

.user-setting-grid-table tr.is-current td {
  background: #fff8ef;
}

.user-setting-grid-table th:last-child,
.user-setting-grid-table td:last-child {
  border-right: none;
}

.user-setting-cell-check {
  width: 52px;
  text-align: center;
}

.user-setting-link-btn {
  padding: 0;
  border: none;
  background: transparent;
  color: #606266;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.user-setting-link-btn:hover {
  color: #f08c00;
}

.user-setting-inline-input {
  min-height: 36px;
}

.user-setting-mini-popover {
  position: absolute;
  top: calc(100% - 12px);
  right: 18px;
  width: 340px;
  padding: 16px;
  border: 1px solid #f5efeb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
  z-index: 12;
}

.user-setting-mini-popover-foot {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 12px;
}

.user-setting-function-tree-shell {
  flex: 1;
  overflow: auto;
  padding: 12px 14px 16px;
}

.user-setting-permission-node {
  margin-left: calc(var(--depth, 0) * 18px);
}

.user-setting-permission-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 8px;
}

.user-setting-permission-row.is-active {
  background: #f5f7fb;
}

.user-setting-tree-arrow,
.user-setting-tree-check,
.user-setting-tree-label {
  border: none;
  background: transparent;
  cursor: pointer;
}

.user-setting-tree-arrow {
  width: 20px;
  color: #c0c4cc;
  font-size: 14px;
  transition: transform .2s ease;
}

.user-setting-tree-arrow.is-expanded {
  transform: rotate(90deg);
}

.user-setting-tree-arrow.is-empty {
  cursor: default;
}

.user-setting-tree-check {
  position: relative;
  width: 18px;
  height: 18px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
}

.user-setting-tree-check.is-checked,
.user-setting-tree-check.is-partial {
  border-color: #f08c00;
  background: #f08c00;
}

.user-setting-tree-check.is-checked::after,
.user-setting-tree-check.is-partial::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: #fff;
}

.user-setting-tree-check.is-checked::after {
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
  background: transparent;
}

.user-setting-tree-check.is-partial::after {
  width: 8px;
  height: 2px;
}

.user-setting-tree-label {
  color: #606266;
  font-size: 16px;
  text-align: left;
}

.user-setting-permission-children {
  padding-bottom: 4px;
}

.user-setting-function-filter {
  min-width: 240px;
}

.user-setting-split-wrap {
  position: relative;
  display: inline-flex;
}

.user-setting-split-trigger {
  min-width: 38px;
  padding: 0 10px;
}

.user-setting-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 132px;
  padding: 6px;
  border: 1px solid #f5efeb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  z-index: 20;
}

.user-setting-dropdown-item {
  width: 100%;
  border: none;
  background: transparent;
  color: #606266;
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
}

.user-setting-dropdown-item:hover {
  background: #fff6ea;
  color: #f08c00;
}

.user-setting-select-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #606266;
  font-size: 15px;
}

.user-setting-select-box .select-input {
  min-width: 160px;
}

.user-setting-hidden-input {
  display: none;
}

.user-setting-inline-actions.is-stack {
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
}

.user-setting-drawer-span-2 {
  grid-column: span 2;
}

.user-setting-multi-select {
  min-height: 120px;
}

.user-setting-batch-section {
  border: 1px solid #f5efeb;
  border-radius: 14px;
  padding: 16px 18px;
  background: #fffaf3;
}

.user-setting-batch-section + .user-setting-batch-section {
  margin-top: 14px;
}

.user-setting-batch-head {
  margin-bottom: 12px;
}

.user-setting-batch-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #303133;
  font-size: 16px;
  font-weight: 600;
}

.user-setting-limit-table td,
.user-setting-user-table td {
  white-space: nowrap;
}

@media (max-width: 960px) {
  .cancel-hub-grid,
  .route-operation-meta,
  .route-operation-form-grid,
  .print-type-drawer-editor-grid,
  .route-alias-settings-editor-grid,
  .system-option-dialog-grid,
  .user-setting-drawer-grid,
  .user-setting-content {
    grid-template-columns: 1fr;
  }

  .system-option-dialog-field.is-span-2,
  .user-setting-drawer-note,
  .user-setting-drawer-switches {
    grid-column: span 1;
  }

  .system-option-toolbar-row,
  .user-setting-toolbar-row,
  .system-option-search-group,
  .system-option-overview-toolbar,
  .system-option-overview-toolbar-left,
  .system-option-detail-toolbar,
  .system-option-detail-toolbar-left,
  .user-setting-search-group,
  .user-setting-toolbar-actions,
  .system-log-query-row,
  .system-log-action-row,
  .system-log-search-group,
  .system-log-toolbar-actions,
  .system-log-date-range {
    align-items: stretch;
    flex-direction: column;
  }

  .system-option-search-input,
  .system-option-detail-search-input,
  .system-log-search-input,
  .system-log-date-input {
    min-width: 0;
    width: 100%;
  }

  .system-option-form-row {
    grid-template-columns: 1fr;
  }

  .system-option-form-label {
    justify-self: start;
  }

  .system-option-form-hint {
    padding-left: 0;
  }

  .system-log-columns-btn {
    margin-left: 0;
  }

  .user-setting-drawer {
    width: 100vw;
  }

  .route-operation-field.is-span-2 {
    grid-column: span 1;
  }

  .route-operation-modal-card.is-route-drawer-card {
    width: 100vw;
    min-width: 0;
    padding: 22px 18px 18px;
  }

  .route-operation-modal-card.is-client-route-drawer-card {
    width: 100vw;
    min-width: 0;
  }

  .route-operation-modal-card.is-pairing-batch-drawer-card {
    width: 100vw;
    min-width: 0;
    padding: 22px 18px 18px;
  }

  .route-operation-modal-card.is-print-type-route-drawer-card {
    width: 100vw;
    min-width: 0;
  }

  .route-operation-modal-card.is-print-template-route-drawer-card {
    width: 100vw;
    min-width: 0;
  }

  .user-setting-auth-content {
    grid-template-columns: 1fr;
  }

  .user-setting-auth-toolbar,
  .user-setting-auth-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .user-setting-auth-tab {
    flex: 1;
    min-width: 0;
  }

  .user-setting-function-filter,
  .user-setting-select-box .select-input {
    width: 100%;
    min-width: 0;
  }

  .user-setting-select-box {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .user-setting-mini-popover {
    left: 18px;
    right: 18px;
    width: auto;
  }

  .route-operation-modal-card.is-order-center-print-preview-card {
    width: 100vw;
    height: 100vh;
    max-height: none;
    min-width: 0;
    padding: 14px 14px 12px;
  }

  .pairing-batch-steps,
  .pairing-batch-summary-grid,
  .pairing-batch-footer {
    grid-template-columns: 1fr;
  }

  .pairing-batch-row {
    grid-template-columns: 1fr;
  }

  .pairing-batch-footer {
    justify-content: stretch;
  }

  .pairing-batch-footer-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .print-type-drawer-toolbar,
  .print-type-drawer-action-row,
  .print-type-drawer-footer,
  .print-type-drawer-search-group {
    align-items: stretch;
    flex-direction: column;
  }

  .print-type-drawer-search-input {
    width: 100%;
    min-width: 0;
  }

  .print-type-drawer-pagination {
    justify-content: flex-start;
  }

  .print-template-drawer-shell,
  .print-template-drawer-shell.has-editor {
    grid-template-columns: 1fr;
  }

  .print-template-drawer {
    min-height: auto;
    padding: 22px 18px 18px;
  }

  .print-template-editor-panel {
    min-height: auto;
    padding: 22px 18px 18px;
    border-left: 0;
    border-top: 1px solid #ebeef5;
    box-shadow: none;
  }

  .order-print-preview-toolbar {
    flex-wrap: wrap;
    padding: 0;
  }

  .order-print-preview-scroll {
    padding: 12px;
  }

  .order-print-preview-page {
    width: 100%;
    min-height: auto;
    padding: 18px 16px 20px;
  }

  .order-print-preview-meta {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .order-print-preview-meta span:last-child {
    text-align: left;
  }

  .order-print-preview-table {
    min-width: 860px;
  }

  .order-print-preview-footer {
    padding: 0;
  }

  .print-template-editor-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .print-template-editor-label {
    text-align: left;
  }

  .route-topic-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .route-client-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .route-client-field,
  .route-client-field.is-span-2 {
    grid-template-columns: 1fr;
    gap: 10px;
    grid-column: span 1;
  }

  .route-client-label {
    text-align: left;
  }

  .route-client-note {
    grid-column: 1;
  }

  .route-topic-label {
    text-align: left;
  }

  .route-topic-date-range {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .route-topic-date-picker-popup {
    position: static;
    width: 100%;
    margin-top: 12px;
    left: auto;
    padding: 14px;
  }

  .route-topic-date-picker-popup::before {
    display: none;
  }

  .route-topic-date-picker-panels {
    grid-template-columns: 1fr;
  }

  .route-topic-date-panel + .route-topic-date-panel {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid #ebeef5;
    padding-top: 16px;
  }

  .route-topic-date-panel-head {
    grid-template-columns: 74px 1fr 74px;
  }

  .route-single-analysis-query-row {
    grid-template-columns: 1fr;
  }

  .route-single-analysis-toolbar-row {
    grid-template-columns: 1fr;
  }

  .route-single-analysis-toolbar-left {
    flex-wrap: wrap;
  }

  .route-single-analysis-columns-btn {
    justify-self: start;
  }

  .route-single-analysis-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .route-shop-status-analysis-query-row {
    grid-template-columns: 1fr;
  }

  .route-shop-status-analysis-toolbar-row {
    grid-template-columns: 1fr;
  }

  .route-shop-status-analysis-toolbar-left {
    flex-wrap: wrap;
  }

  .route-shop-status-analysis-columns-btn {
    justify-self: start;
  }

  .route-shop-status-analysis-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}


