:root {
  --bg: #eef4f3;
  --bg-mist: #dce8e5;
  --panel: #ffffff;
  --panel-soft: #f7fbfa;
  --ink: #152a2b;
  --muted: #5a6d6c;
  --brand: #0e8f77;
  --brand-strong: #0a6f5d;
  --brand-soft: #e0f5ef;
  --danger: #cf4a5d;
  --success: #1f9e5a;
  --warn: #be7e12;
  --border: #d7e5e1;
  --shadow: 0 16px 40px rgba(10, 44, 45, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "HarmonyOS Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(1200px 620px at 14% -16%, #d9f5ee 0%, transparent 66%),
    radial-gradient(900px 520px at 92% -8%, #e6f1ff 0%, transparent 70%),
    linear-gradient(165deg, var(--bg) 0%, var(--bg-mist) 100%);
}

button {
  font: inherit;
  cursor: pointer;
}

.hidden {
  display: none !important;
}

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

.login-card {
  width: min(430px, 100%);
  padding: 34px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(244, 251, 249, 0.9));
  box-shadow: 0 24px 60px rgba(8, 50, 48, 0.14);
  backdrop-filter: blur(8px);
}

.brand {
  font-size: 30px;
  letter-spacing: 0.03em;
  font-weight: 800;
}

.brand-subtitle {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.login-label {
  display: block;
  margin: 14px 0 8px;
  font-size: 13px;
  color: var(--muted);
}

.login-input,
.modal-input,
.modal-textarea,
.search-input,
.role-select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.login-input:focus,
.modal-input:focus,
.modal-textarea:focus,
.search-input:focus,
.role-select:focus {
  outline: none;
  border-color: #88cfc1;
  box-shadow: 0 0 0 4px rgba(14, 143, 119, 0.15);
}

.modal-textarea {
  min-height: 100px;
  resize: vertical;
}

.image-editor {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f9fffd;
  padding: 12px;
}

.image-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.image-editor-status {
  color: var(--muted);
  font-size: 12px;
}

.image-editor-body {
  display: grid;
  gap: 12px;
  grid-template-columns: 320px 1fr;
}

.image-editor-preview-wrap {
  width: 320px;
  height: 320px;
  border: 1px dashed var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}

.image-editor-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-editor-empty {
  color: var(--muted);
  font-size: 13px;
}

.image-editor-actions {
  display: grid;
  gap: 10px;
}

.image-list-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.image-list-frame {
  border: 1px solid #d8e8e3;
  border-radius: 12px;
  background: #fcfffe;
  padding: 10px;
}

.image-list-title {
  font-size: 13px;
  font-weight: 700;
  color: #466863;
  margin-bottom: 8px;
}

.image-upload-zone {
  border: 1px dashed #b9dad2;
  background: #f2fcf8;
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 10px;
}

.image-list {
  display: grid;
  gap: 10px;
  max-height: 350px;
  overflow: auto;
  padding-right: 4px;
}

.image-list-empty {
  border: 1px dashed #c8dfd8;
  border-radius: 12px;
  background: #f7fcfa;
  color: var(--muted);
  padding: 14px;
  font-size: 13px;
}

.image-list-item {
  border: 1px solid #d3e6e0;
  border-radius: 12px;
  background: #fff;
  padding: 10px;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
}

.image-list-item.active {
  border-color: #87ccbf;
  box-shadow: 0 0 0 3px rgba(13, 139, 115, 0.1);
}

.image-list-thumb {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #d9ebe5;
}

.image-list-main {
  min-width: 0;
}

.image-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.image-role-badge {
  display: inline-block;
  border-radius: 999px;
  font-size: 12px;
  padding: 3px 8px;
  border: 1px solid transparent;
}

.image-role-badge.main {
  color: #0c6a58;
  background: #dff7f0;
  border-color: #bde7da;
}

.image-role-badge.detail {
  color: #526a67;
  background: #edf5f2;
  border-color: #dae7e2;
}

.image-list-url {
  margin-top: 6px;
  font-size: 12px;
  color: #607876;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.image-translation-box {
  margin-top: 8px;
  border: 1px solid #dbeae5;
  border-radius: 8px;
  background: #f8fcfa;
  padding: 8px;
  font-size: 12px;
  color: #4f6c68;
  line-height: 1.45;
  white-space: pre-wrap;
}

.product-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

@media (max-width: 860px) {
  .image-editor-body {
    grid-template-columns: 1fr;
  }

  .image-list-split {
    grid-template-columns: 1fr;
  }

  .image-editor-preview-wrap {
    width: 100%;
    max-width: 100%;
    height: 260px;
  }

  .image-list-item {
    grid-template-columns: 1fr;
  }
}

.login-btn,
#syncBtn,
.action-btn {
  border: 0;
  color: #fff;
  background: linear-gradient(140deg, var(--brand), var(--brand-strong));
  border-radius: 12px;
  padding: 11px 16px;
  font-weight: 700;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

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

.login-btn:hover,
#syncBtn:hover,
.action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(10, 111, 93, 0.25);
}

.login-tip {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}

.app-shell {
  min-height: 100vh;
  display: flex;
}

.sidebar {
  position: relative;
  width: 286px;
  padding: 24px 18px;
  color: #eafff9;
  background:
    radial-gradient(420px 220px at 84% -8%, rgba(102, 255, 219, 0.18), transparent 72%),
    linear-gradient(180deg, #0f2e33 0%, #0f2b2f 40%, #102124 100%);
}

.sidebar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 18%);
}

.brand-block {
  margin-bottom: 22px;
}

.nav-item {
  width: 100%;
  border: 0;
  margin-bottom: 9px;
  border-radius: 12px;
  color: #d8f7ef;
  background: transparent;
  text-align: left;
  padding: 11px 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  transition: all 0.2s ease;
}

.nav-item:hover,
.nav-item.active {
  color: #ffffff;
  background: rgba(148, 250, 224, 0.18);
}

.main-panel {
  flex: 1;
  padding: 22px;
}

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

.eyebrow {
  margin: 0 0 5px;
  color: #486463;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.secondary-btn {
  border-radius: 12px;
  border: 1px solid #b7d8d0;
  background: linear-gradient(140deg, #f6fbf9, #ecf8f4);
  color: #1b6559;
  padding: 10px 14px;
  font-weight: 600;
}

.link-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.action-btn.reject-btn {
  background: linear-gradient(145deg, #d85c6d, #bc3f54);
}

.action-btn.resolve-btn {
  background: linear-gradient(145deg, #20a864, #17854f);
}

.status-pill {
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 8px 12px;
  color: #4b6664;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.92);
}

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

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.filter-chip {
  border-radius: 999px;
  border: 1px solid #cce2dc;
  color: #3f6560;
  background: #f3faf7;
  padding: 7px 11px;
  font-size: 12px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-radius: 18px;
  padding: 20px;
  background:
    radial-gradient(440px 220px at 88% -20%, rgba(126, 255, 227, 0.4), transparent 80%),
    linear-gradient(138deg, #f7fffd 0%, #ebfaf5 55%, #e9f8f4 100%);
  border: 1px solid #d3ede6;
  box-shadow: var(--shadow);
}

.hero-panel h2 {
  margin: 4px 0 8px;
  font-size: 21px;
}

.hero-panel p {
  margin: 0;
  color: var(--muted);
}

.hero-badge {
  border-radius: 999px;
  padding: 8px 12px;
  color: #fff;
  background: linear-gradient(145deg, #0f9e81, #0d7f6a);
  font-size: 12px;
  font-weight: 700;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.metric-card,
.panel,
.modal-card {
  border-radius: 16px;
  border: 1px solid rgba(201, 225, 220, 0.95);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.95), rgba(247, 252, 250, 0.95));
  box-shadow: 0 10px 28px rgba(16, 54, 51, 0.08);
}

.metric-card,
.panel {
  padding: 15px;
}

.metric-card h3 {
  margin: 0 0 8px;
  font-size: 13px;
  color: #5a7572;
}

.metric-card .value {
  font-size: 25px;
  font-weight: 800;
  margin-bottom: 6px;
}

.metric-card .delta {
  color: #4e6d69;
  font-size: 12px;
}

.panel {
  margin-bottom: 14px;
}

.panel h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 14px;
}

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

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.table th,
.table td {
  padding: 9px 8px;
  border-bottom: 1px solid #dfebe8;
  text-align: left;
}

.table th {
  color: #496b66;
  font-weight: 700;
}

.badge {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12px;
  background: #e0f6f0;
  color: #106a59;
}

.badge.warn {
  background: #fff2df;
  color: var(--warn);
}

.badge.success {
  background: #e5f8ec;
  color: var(--success);
}

.badge.danger {
  background: #fce8ed;
  color: var(--danger);
}

.list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.list-item,
.mini-card,
.flow-card {
  border-radius: 12px;
  border: 1px solid #dbece7;
  background: #f8fcfa;
}

.list-item,
.mini-card,
.flow-card {
  padding: 11px 12px;
}

.kpi-row {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}

.mini-card h3,
.flow-card h3 {
  margin: 0 0 7px;
  font-size: 14px;
  color: #4b6a66;
}

.mini-card p,
.flow-card p {
  margin: 0;
  font-size: 14px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  height: 140px;
  margin-top: 12px;
}

.chart-bars .bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.chart-bars .bar {
  width: 100%;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #5ccab2, #0d8b73);
}

.chart-bars .bar-label {
  font-size: 12px;
  color: #567370;
}

.chart-line-container {
  position: relative;
  height: 180px;
  padding: 24px 12px 12px;
  border: 1px solid #d7e7e3;
  border-radius: 14px;
  background: #f5fbf9;
  margin-top: 10px;
}

.chart-line {
  position: relative;
  width: 100%;
  height: 100%;
  border-left: 1px solid rgba(36, 79, 74, 0.18);
  border-bottom: 1px solid rgba(36, 79, 74, 0.18);
}

.chart-line::before,
.chart-line::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background: rgba(36, 79, 74, 0.08);
}

.chart-line::before {
  top: 24%;
}

.chart-line::after {
  top: 52%;
}

.chart-line .point {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0d8b73;
  transform: translate(-50%, 50%);
}

.chart-line .point-label {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: #607876;
}

.chart-legend {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  color: #607876;
  font-size: 12px;
}

.modal-root {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8, 30, 33, 0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.modal-root.hidden {
  display: none;
}

.modal-card {
  width: min(660px, 100%);
  padding: 20px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.product-modal-card {
  width: min(1020px, 100%);
}

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

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.modal-label {
  display: block;
  margin-bottom: 8px;
  color: #5f7573;
  font-size: 13px;
}

@media (max-width: 1150px) {
  .grid-2,
  .grid-3,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    width: 220px;
  }

  .toolbar-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  .app-shell {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    padding: 18px;
  }

  .nav-item {
    margin-bottom: 6px;
  }

  .main-panel {
    padding: 14px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-actions {
    width: 100%;
  }

  .status-pill {
    font-size: 12px;
  }

  .modal-grid {
    grid-template-columns: 1fr;
  }
}

/* H1：运营中台设计系统。以下规则覆盖旧演示样式，不改变任何业务交互。 */
:root {
  --bg: #f5f7fb;
  --bg-mist: #eef2f8;
  --panel: #ffffff;
  --panel-soft: #f8fafc;
  --ink: #162033;
  --muted: #68758a;
  --brand: #1664d9;
  --brand-strong: #0f4cac;
  --brand-soft: #eaf2ff;
  --danger: #c43d53;
  --success: #16835d;
  --warn: #af6b08;
  --border: #e3e8f1;
  --shadow: 0 12px 30px rgba(18, 35, 65, 0.06);
}

body {
  background: var(--bg);
  letter-spacing: 0.01em;
}

.app-shell {
  background: var(--bg);
}

.sidebar {
  width: 252px;
  min-height: 100vh;
  padding: 26px 14px;
  background: linear-gradient(180deg, #101a2d 0%, #111c30 54%, #0c1526 100%);
  box-shadow: 8px 0 28px rgba(8, 18, 35, 0.08);
}

.sidebar::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 20%);
}

.brand-block {
  position: relative;
  z-index: 1;
  margin: 0 10px 30px;
  padding-left: 14px;
  border-left: 3px solid #3d8bff;
}

.sidebar .brand {
  color: #f8fbff;
  font-size: 23px;
  font-weight: 760;
  letter-spacing: 0.04em;
}

.sidebar .brand-subtitle {
  margin-top: 7px;
  color: #9baac2;
  font-size: 11px;
  line-height: 1.55;
}

#nav {
  position: relative;
  z-index: 1;
}

.nav-item {
  min-height: 42px;
  margin-bottom: 4px;
  padding: 10px 12px;
  border-radius: 9px;
  color: #aab8ce;
  font-size: 14px;
  font-weight: 560;
}

.nav-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  opacity: 0.92;
}

.nav-item:hover {
  color: #edf4ff;
  background: rgba(94, 140, 211, 0.15);
}

.nav-item.active {
  color: #ffffff;
  background: linear-gradient(90deg, rgba(52, 123, 236, 0.32), rgba(55, 104, 183, 0.12));
  box-shadow: inset 3px 0 0 #4a91ff;
}

.main-panel {
  min-width: 0;
  padding: 26px 32px 48px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 76px;
  margin: -26px -32px 24px;
  padding: 16px 32px;
  background: rgba(245, 247, 251, 0.93);
  border-bottom: 1px solid rgba(227, 232, 241, 0.88);
  backdrop-filter: blur(12px);
}

.topbar h1 {
  margin: 2px 0 0;
  color: #17243a;
  font-size: 25px;
  letter-spacing: 0;
}

.eyebrow {
  color: #7c899e;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.085em;
}

.role-select,
.status-pill {
  min-height: 36px;
  border-color: var(--border);
  background: #fff;
  color: #56647a;
  box-shadow: none;
}

.role-select {
  width: auto;
  padding: 8px 28px 8px 11px;
}

.status-pill {
  padding: 8px 11px;
}

.login-btn,
#syncBtn,
.action-btn {
  border-radius: 8px;
  background: linear-gradient(135deg, #2677eb, #1457bb);
  box-shadow: 0 7px 16px rgba(25, 95, 202, 0.18);
}

.secondary-btn {
  border-radius: 8px;
  border-color: #dce4f0;
  background: #fff;
  color: #3d4d66;
  padding: 9px 12px;
  font-weight: 620;
  box-shadow: none;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}

.secondary-btn:hover {
  border-color: #9ebff4;
  color: #145ac5;
  background: #f7faff;
}

.filter-chip {
  border-color: #dbe5f4;
  color: #54709a;
  background: #f4f8ff;
  padding: 7px 10px;
}

.dashboard-commandbar {
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
}

.hero-panel,
.control-hero {
  min-height: 148px;
  padding: 26px 28px;
  border: 0;
  border-radius: 14px;
  background:
    radial-gradient(430px 190px at 94% 7%, rgba(74, 145, 255, 0.35), transparent 67%),
    linear-gradient(115deg, #14294b 0%, #173d72 58%, #1d5fa9 100%);
  box-shadow: 0 16px 30px rgba(18, 53, 103, 0.17);
}

.hero-panel .eyebrow,
.hero-panel p {
  color: #bfd1eb;
}

.hero-panel h2 {
  color: #fff;
  font-size: 23px;
}

.hero-badge {
  min-width: 48px;
  text-align: center;
  color: #dcecff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.card-grid {
  gap: 12px;
  margin: 16px 0;
}

.metric-card,
.panel,
.modal-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.metric-card,
.panel {
  padding: 18px;
}

.metric-card {
  position: relative;
  overflow: hidden;
}

.metric-card::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #7ba9ef;
  box-shadow: 0 0 0 5px #eff5ff;
}

.metric-card--sales::before { background: #2a9c7e; box-shadow: 0 0 0 5px #e9f8f3; }
.metric-card--inventory::before { background: #d4902d; box-shadow: 0 0 0 5px #fff6e7; }
.metric-card--shops::before { background: #7766c9; box-shadow: 0 0 0 5px #f1effd; }

.metric-card h3 {
  color: #738198;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.metric-card .value {
  color: #1c2a41;
  font-size: 27px;
  letter-spacing: -0.025em;
}

.metric-card .delta {
  color: #8390a5;
}

.panel {
  margin-bottom: 14px;
}

.panel h2 {
  color: #25334a;
  font-size: 16px;
  font-weight: 720;
}

.list-item,
.mini-card,
.flow-card {
  border-color: #e8edf5;
  background: #fbfcfe;
}

.list-item {
  transition: border-color 0.16s ease, background 0.16s ease;
}

.list-item:hover {
  border-color: #c9daf4;
  background: #f7faff;
}

.mini-card h3,
.flow-card h3 {
  color: #3d4c62;
}

.table th,
.table td {
  padding: 11px 10px;
  border-bottom-color: #edf0f5;
}

.table th {
  color: #718097;
  font-size: 12px;
  font-weight: 700;
  background: #fafbfc;
}

.table tbody tr {
  transition: background 0.14s ease;
}

.table tbody tr:hover {
  background: #f7faff;
}

.badge {
  padding: 4px 8px;
  background: #eaf2ff;
  color: #1760c7;
}

.chart-line-container {
  border-color: #e5eaf2;
  background: #fbfcfe;
}

.chart-bars .bar {
  background: linear-gradient(180deg, #74a9ff, #2867c9);
}

.chart-bars .bar-label,
.chart-legend {
  color: #728198;
}

@media (max-width: 1150px) {
  .sidebar { width: 232px; }
  .main-panel { padding-left: 22px; padding-right: 22px; }
  .topbar { margin-left: -22px; margin-right: -22px; padding-left: 22px; padding-right: 22px; }
}

@media (max-width: 900px) {
  .sidebar {
    min-height: auto;
    padding: 14px 12px 10px;
  }

  .brand-block {
    margin: 0 8px 12px;
  }

  #nav {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    padding: 0 2px 4px;
    scrollbar-width: thin;
  }

  .nav-item {
    width: auto;
    min-height: 36px;
    margin: 0;
    padding: 8px 10px;
    flex: 0 0 auto;
    font-size: 12px;
  }

  .nav-icon { width: 16px; height: 16px; flex-basis: 16px; }

  .main-panel { padding: 16px 14px 32px; }
  .topbar { position: static; min-height: 0; margin: -16px -14px 18px; padding: 14px; }
  .topbar h1 { font-size: 22px; }
  .top-actions { gap: 7px; }
  .dashboard-commandbar { align-items: stretch; }
  .toolbar-left { flex-wrap: wrap; }
  .hero-panel { min-height: 132px; padding: 21px; }
  .hero-panel h2 { font-size: 20px; }
}

/* H2：订单履约中心 */
.order-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 2px 0 16px;
}

.order-page-head h2 {
  margin: 3px 0 6px;
  color: #1b2a43;
  font-size: 22px;
  letter-spacing: 0;
}

.order-page-head p,
.panel-title-row p {
  margin: 0;
  color: #7b879a;
  font-size: 13px;
}

.order-head-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #5d6d84;
  font-size: 12px;
  white-space: nowrap;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #20a071;
  box-shadow: 0 0 0 4px #e7f7f0;
}

.order-summary-grid {
  margin: 0 0 14px;
}

.metric-card--pending::before {
  background: #cf8432;
  box-shadow: 0 0 0 5px #fff5e8;
}

.order-commandbar {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.order-commandbar .toolbar-left {
  min-width: 0;
}

.order-commandbar .search-input {
  min-width: 250px;
  max-width: 340px;
  padding: 9px 12px;
  border-radius: 8px;
  border-color: #dfe6f0;
  background: #fbfcfe;
}

.order-filter-group {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid #e4eaf3;
  border-radius: 9px;
  background: #f7f9fc;
}

.order-filter {
  border: 0;
  border-radius: 6px;
  padding: 7px 9px;
  color: #62728a;
  background: transparent;
  font-size: 12px;
  font-weight: 650;
}

.order-filter span {
  display: inline-grid;
  min-width: 16px;
  place-items: center;
  margin-left: 2px;
  color: #71829a;
  font-size: 11px;
}

.order-filter:hover {
  color: #245fac;
}

.order-filter.active {
  color: #1659bd;
  background: #fff;
  box-shadow: 0 1px 3px rgba(26, 43, 72, 0.12);
}

.order-filter.active span {
  color: #1659bd;
}

.order-result-count {
  color: #77849a;
  font-size: 12px;
  white-space: nowrap;
}

.order-table-panel {
  padding: 0;
  overflow: hidden;
}

.panel-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 14px;
}

.panel-title-row h2 {
  margin-bottom: 5px;
}

.order-table-scroll {
  overflow-x: auto;
}

.order-table-panel .table {
  min-width: 990px;
}

.order-table-panel .table th {
  padding-top: 11px;
  padding-bottom: 11px;
  background: #f7f9fc;
}

.order-table-panel .table td {
  vertical-align: middle;
}

.order-id-cell {
  display: grid;
  gap: 4px;
  min-width: 108px;
}

.order-id-cell strong {
  color: #263650;
  font-size: 13px;
}

.order-id-cell span {
  color: #8994a7;
  font-size: 11px;
}

.order-channel-tag,
.order-sku {
  display: inline-block;
  color: #50627c;
  font-size: 12px;
  white-space: nowrap;
}

.order-channel-tag {
  padding: 4px 7px;
  border-radius: 5px;
  color: #3267ad;
  background: #eef5ff;
}

.order-sku {
  color: #4c607b;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.order-amount {
  color: #1f3859;
  font-weight: 720;
  white-space: nowrap;
}

.order-comment {
  max-width: 190px;
  color: #6c798e;
  font-size: 12px;
}

.order-action {
  white-space: nowrap;
}

.order-no-access {
  min-height: auto;
  padding: 6px 8px;
  color: #7e899a;
  font-size: 11px;
}

.order-empty {
  padding: 34px !important;
  color: #8a96a9;
  text-align: center !important;
}

.order-lower-grid {
  align-items: start;
}

.queue-count {
  display: inline-grid;
  min-width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 8px;
  color: #a9660c;
  background: #fff4e5;
  font-size: 12px;
  font-weight: 750;
}

.order-queue-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.order-queue-item > div:first-child {
  display: grid;
  gap: 4px;
}

.order-queue-item span {
  color: #7c899b;
  font-size: 12px;
}

.order-queue-side {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #273956;
  white-space: nowrap;
  font-size: 12px;
}

.order-log-item strong {
  color: #40516a;
  font-size: 13px;
}

.order-empty-list {
  color: #8490a3;
  text-align: center;
}

@media (max-width: 900px) {
  .order-page-head { align-items: flex-start; }
  .order-page-head h2 { font-size: 20px; }
  .order-head-status { display: none; }
  .order-commandbar { align-items: stretch; }
  .order-commandbar .toolbar-left { width: 100%; }
  .order-commandbar .search-input { min-width: 100%; max-width: none; }
  .order-filter-group { width: 100%; overflow-x: auto; }
  .order-filter { flex: 0 0 auto; }
  .order-commandbar .top-actions { justify-content: space-between; }
  .panel-title-row { padding: 16px 14px 12px; }
}

/* H3：商品建档与刊登运营 */
.product-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 2px 0 16px;
}

.product-page-head h2 {
  margin: 3px 0 6px;
  color: #1b2a43;
  font-size: 22px;
  letter-spacing: 0;
}

.product-page-head p {
  margin: 0;
  color: #7b879a;
  font-size: 13px;
}

.product-summary-grid {
  margin: 0 0 14px;
}

.product-commandbar {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.product-commandbar .toolbar-left {
  min-width: 0;
}

.product-commandbar .search-input {
  min-width: 260px;
  max-width: 350px;
  padding: 9px 12px;
  border-radius: 8px;
  border-color: #dfe6f0;
  background: #fbfcfe;
}

.product-filter-group {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  max-width: 100%;
  padding: 3px;
  border: 1px solid #e4eaf3;
  border-radius: 9px;
  background: #f7f9fc;
}

.product-filter {
  border: 0;
  border-radius: 6px;
  padding: 7px 9px;
  color: #62728a;
  background: transparent;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.product-filter span {
  margin-left: 2px;
  color: #7c8ba1;
  font-size: 11px;
}

.product-filter:hover { color: #245fac; }

.product-filter.active {
  color: #1659bd;
  background: #fff;
  box-shadow: 0 1px 3px rgba(26, 43, 72, 0.12);
}

.product-filter.active span { color: #1659bd; }

.product-result-count {
  color: #77849a;
  font-size: 12px;
  white-space: nowrap;
}

.product-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 14px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.product-card:hover {
  border-color: #c9daf4;
  box-shadow: 0 15px 32px rgba(23, 48, 86, 0.1);
  transform: translateY(-2px);
}

.product-card-media {
  position: relative;
  display: grid;
  height: 154px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 16%, rgba(105, 165, 255, 0.4), transparent 32%),
    linear-gradient(135deg, #eaf2ff, #f6f9ff 62%, #e9f7f2);
}

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

.product-card-placeholder {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(54, 113, 197, 0.16);
  border-radius: 17px;
  color: #3971bd;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 18px rgba(51, 106, 184, 0.12);
  font-size: 24px;
  font-weight: 780;
}

.product-channel-label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 6px;
  color: #36536f;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 700;
}

.product-card-body { padding: 15px; }

.product-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-card-title-row .badge { flex: 0 0 auto; }

.product-sku {
  color: #667891;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 650;
}

.product-card h3 {
  display: -webkit-box;
  min-height: 42px;
  margin: 8px 0 6px;
  overflow: hidden;
  color: #263650;
  font-size: 15px;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card-description {
  display: -webkit-box;
  min-height: 36px;
  margin: 0;
  overflow: hidden;
  color: #7b899d;
  font-size: 12px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 15px 0 12px;
  padding: 10px 0;
  border-top: 1px solid #edf0f5;
  border-bottom: 1px solid #edf0f5;
}

.product-card-metrics > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.product-card-metrics span {
  color: #8b97a9;
  font-size: 10px;
}

.product-card-metrics strong {
  overflow: hidden;
  color: #30415d;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card-metrics .badge {
  width: max-content;
  padding: 3px 6px;
  font-size: 10px;
}

.product-stock-line {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 20px;
  color: #6b7b91;
  font-size: 11px;
}

.product-stock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #23a174;
  box-shadow: 0 0 0 3px #e9f7f1;
}

.product-stock-dot.low { background: #d49131; box-shadow: 0 0 0 3px #fff5e8; }
.product-stock-dot.out { background: #c95064; box-shadow: 0 0 0 3px #fcecef; }

.product-upc {
  overflow: hidden;
  margin-left: auto;
  color: #95a0b0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 13px;
}

.product-card-actions .secondary-btn {
  padding: 7px 9px;
  font-size: 12px;
}

.product-no-pricing {
  color: #9aa5b5;
  font-size: 12px;
}

.product-empty-state {
  display: grid;
  min-height: 180px;
  place-content: center;
  gap: 6px;
  grid-column: 1 / -1;
  border: 1px dashed #ced8e7;
  border-radius: 12px;
  color: #7b899d;
  background: #fbfcfe;
  text-align: center;
}

.product-empty-state strong { color: #40516b; }

@media (max-width: 900px) {
  .product-page-head { align-items: flex-start; }
  .product-page-head h2 { font-size: 20px; }
  .product-commandbar { align-items: stretch; }
  .product-commandbar .toolbar-left { width: 100%; }
  .product-commandbar .search-input { min-width: 100%; max-width: none; }
  .product-filter-group { width: 100%; overflow-x: auto; }
  .product-filter { flex: 0 0 auto; }
  .product-result-count { align-self: flex-end; }
  .product-catalog-grid { grid-template-columns: 1fr; }
}

/* H4：库存健康与补货处置 */
.inventory-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 2px 0 16px;
}

.inventory-page-head h2 {
  margin: 3px 0 6px;
  color: #1b2a43;
  font-size: 22px;
  letter-spacing: 0;
}

.inventory-page-head p {
  margin: 0;
  color: #7b879a;
  font-size: 13px;
}

.inventory-sync-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #617188;
  font-size: 12px;
  white-space: nowrap;
}

.inventory-sync-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #20a071;
  box-shadow: 0 0 0 4px #e7f7f0;
}

.inventory-summary-grid { margin: 0 0 14px; }

.inventory-overview-grid { align-items: stretch; }

.inventory-risk-panel,
.inventory-rule-panel { min-height: 188px; }

.inventory-risk-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.inventory-risk-item > div:first-child {
  display: grid;
  gap: 4px;
}

.inventory-risk-item > div:first-child span {
  color: #7c899b;
  font-size: 12px;
}

.inventory-risk-item > div:last-child {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #b36d10;
  font-size: 12px;
  white-space: nowrap;
}

.inventory-risk-item .secondary-btn {
  padding: 6px 9px;
  font-size: 12px;
}

.inventory-no-risk {
  color: #5a846f;
  background: #f4fbf7;
}

.inventory-rule-list {
  display: grid;
  gap: 9px;
  padding: 0 18px 18px;
}

.inventory-rule-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 11px;
  border: 1px solid #e7edf5;
  border-radius: 8px;
  background: #fbfcfe;
}

.inventory-rule-list span {
  color: #78879c;
  font-size: 12px;
}

.inventory-rule-list strong {
  color: #42536d;
  font-size: 12px;
}

.inventory-commandbar {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.inventory-commandbar .toolbar-left { min-width: 0; }

.inventory-commandbar .search-input {
  min-width: 250px;
  max-width: 340px;
  padding: 9px 12px;
  border-radius: 8px;
  border-color: #dfe6f0;
  background: #fbfcfe;
}

.inventory-filter-group {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid #e4eaf3;
  border-radius: 9px;
  background: #f7f9fc;
}

.inventory-filter {
  border: 0;
  border-radius: 6px;
  padding: 7px 9px;
  color: #62728a;
  background: transparent;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.inventory-filter span {
  margin-left: 2px;
  color: #7c8ba1;
  font-size: 11px;
}

.inventory-filter:hover { color: #245fac; }

.inventory-filter.active {
  color: #1659bd;
  background: #fff;
  box-shadow: 0 1px 3px rgba(26, 43, 72, 0.12);
}

.inventory-filter.active span { color: #1659bd; }

.inventory-result-count {
  color: #77849a;
  font-size: 12px;
  white-space: nowrap;
}

.inventory-table-panel {
  padding: 0;
  overflow: hidden;
}

.inventory-table-scroll { overflow-x: auto; }

.inventory-table-panel .table { min-width: 900px; }

.inventory-table-panel .table th {
  padding-top: 11px;
  padding-bottom: 11px;
  background: #f7f9fc;
}

.inventory-table-panel .table td { vertical-align: middle; }

.inventory-warehouse {
  display: grid;
  gap: 4px;
  min-width: 92px;
}

.inventory-warehouse strong {
  color: #34455f;
  font-size: 13px;
}

.inventory-warehouse span {
  color: #8d98a9;
  font-size: 11px;
}

.inventory-sku {
  color: #4c607b;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.inventory-available {
  color: #2f4869;
}

.inventory-available.risk { color: #b66f11; }

.inventory-safety {
  display: grid;
  width: 135px;
  gap: 6px;
}

.inventory-safety > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #718097;
  font-size: 11px;
}

.inventory-safety i {
  display: block;
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: #e8eef6;
}

.inventory-safety b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #4f8be3;
}

.inventory-safety b.risk { background: #d49536; }

.inventory-actions { white-space: nowrap; }

.inventory-actions .secondary-btn {
  margin: 2px 3px 2px 0;
  padding: 7px 8px;
  font-size: 12px;
}

.inventory-empty {
  padding: 34px !important;
  color: #8a96a9;
  text-align: center !important;
}

@media (max-width: 900px) {
  .inventory-page-head { align-items: flex-start; }
  .inventory-page-head h2 { font-size: 20px; }
  .inventory-sync-state { display: none; }
  .inventory-commandbar { align-items: stretch; }
  .inventory-commandbar .toolbar-left { width: 100%; }
  .inventory-commandbar .search-input { min-width: 100%; max-width: none; }
  .inventory-filter-group { width: 100%; overflow-x: auto; }
  .inventory-filter { flex: 0 0 auto; }
  .inventory-result-count { align-self: flex-end; }
  .inventory-rule-list { padding-left: 14px; padding-right: 14px; }
}

/* H5：店铺授权与连接健康度 */
.shop-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 2px 0 16px;
}

.shop-page-head h2 {
  margin: 3px 0 6px;
  color: #1b2a43;
  font-size: 22px;
  letter-spacing: 0;
}

.shop-page-head p {
  margin: 0;
  color: #7b879a;
  font-size: 13px;
}

.shop-summary-grid { margin: 0 0 14px; }

.shop-commandbar {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.shop-commandbar .toolbar-left { min-width: 0; }

.shop-commandbar .search-input {
  min-width: 260px;
  max-width: 350px;
  padding: 9px 12px;
  border-radius: 8px;
  border-color: #dfe6f0;
  background: #fbfcfe;
}

.shop-filter-group {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid #e4eaf3;
  border-radius: 9px;
  background: #f7f9fc;
}

.shop-filter {
  border: 0;
  border-radius: 6px;
  padding: 7px 9px;
  color: #62728a;
  background: transparent;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.shop-filter span { margin-left: 2px; color: #7c8ba1; font-size: 11px; }
.shop-filter:hover { color: #245fac; }
.shop-filter.active { color: #1659bd; background: #fff; box-shadow: 0 1px 3px rgba(26,43,72,.12); }
.shop-filter.active span { color: #1659bd; }

.shop-result-count { color: #77849a; font-size: 12px; white-space: nowrap; }

.shop-connection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 14px;
}

.shop-card {
  display: flex;
  flex-direction: column;
  min-height: 292px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.shop-card-head { display: flex; align-items: center; gap: 11px; }

.shop-avatar {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  flex: 0 0 39px;
  border-radius: 11px;
  color: #2d68be;
  background: #eaf2ff;
  font-size: 17px;
  font-weight: 780;
}

.shop-card-title { min-width: 0; flex: 1; }
.shop-card-title h3 { overflow: hidden; margin: 0 0 4px; color: #2d3e58; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.shop-card-title span { color: #7a889e; font-size: 12px; }
.shop-card-head .badge { flex: 0 0 auto; }

.shop-health {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 17px 0 13px;
  padding: 10px 11px;
  border: 1px solid #e5edf8;
  border-radius: 8px;
  background: #f8fbff;
  color: #4d6281;
  font-size: 11px;
}

.shop-health strong { color: #386197; font-size: 12px; }
.shop-health span:last-child { margin-left: auto; color: #8492a6; text-align: right; }

.shop-health-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #22a175;
  box-shadow: 0 0 0 3px #e8f7f0;
}

.shop-health-dot.attention { background: #d79636; box-shadow: 0 0 0 3px #fff5e7; }

.shop-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
}

.shop-meta > div { padding: 8px 0; border-bottom: 1px solid #edf0f5; }
.shop-meta dt { margin-bottom: 5px; color: #8995a7; font-size: 10px; }
.shop-meta dd { overflow: hidden; margin: 0; color: #43546e; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }

.shop-remark {
  min-height: 34px;
  margin: 11px 0;
  color: #7b899d;
  font-size: 12px;
  line-height: 1.45;
}

.shop-card-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.shop-card-actions .secondary-btn,
.shop-card-actions .action-btn { padding: 7px 9px; font-size: 12px; }
.shop-revoke-btn { color: #a95565; border-color: #f0d6dc; }
.shop-revoke-btn:hover { color: #b33a50; border-color: #e5b9c2; background: #fff8f9; }

.shop-empty-state {
  display: grid;
  min-height: 180px;
  place-content: center;
  gap: 6px;
  grid-column: 1 / -1;
  border: 1px dashed #ced8e7;
  border-radius: 12px;
  color: #7b899d;
  background: #fbfcfe;
  text-align: center;
}

.shop-empty-state strong { color: #40516b; }

@media (max-width: 900px) {
  .shop-page-head { align-items: flex-start; }
  .shop-page-head h2 { font-size: 20px; }
  .shop-commandbar { align-items: stretch; }
  .shop-commandbar .toolbar-left { width: 100%; }
  .shop-commandbar .search-input { min-width: 100%; max-width: none; }
  .shop-filter-group { width: 100%; overflow-x: auto; }
  .shop-filter { flex: 0 0 auto; }
  .shop-result-count { align-self: flex-end; }
  .shop-connection-grid { grid-template-columns: 1fr; }
}

/* H6：利润与结算健康度 */
.finance-page-head { display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin:2px 0 16px; }
.finance-page-head h2 { margin:3px 0 6px; color:#1b2a43; font-size:22px; letter-spacing:0; }
.finance-page-head p { margin:0; color:#7b879a; font-size:13px; }
.finance-health { display:inline-flex; align-items:center; gap:7px; color:#438166; font-size:12px; white-space:nowrap; }
.finance-health i { width:7px; height:7px; border-radius:50%; background:#20a071; box-shadow:0 0 0 4px #e7f7f0; }
.finance-health.attention { color:#aa701f; }
.finance-health.attention i { background:#d79636; box-shadow:0 0 0 4px #fff5e7; }
.finance-summary-grid { margin:0 0 14px; }
.finance-health-grid { align-items:stretch; }
.finance-alert-panel,.finance-rule-panel { min-height:188px; }
.finance-alert-item { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.finance-alert-item > div { display:grid; gap:4px; }
.finance-alert-item span:not(.badge) { color:#7c899b; font-size:12px; }
.finance-no-alert { color:#5a846f; background:#f4fbf7; }
.finance-rule-list { display:grid; gap:9px; padding:0 18px 18px; }
.finance-rule-list > div { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 11px; border:1px solid #e7edf5; border-radius:8px; background:#fbfcfe; }
.finance-rule-list span { color:#78879c; font-size:12px; }
.finance-rule-list strong { color:#42536d; font-size:12px; }
.finance-currency-note { padding:12px 16px; border-color:#e2e9f4; background:#f9fbff; }
.finance-currency-note p { margin:0; color:#60738d; font-size:13px; }
.finance-commandbar { padding:10px 12px; border:1px solid var(--border); border-radius:12px; background:#fff; }
.finance-table-panel { padding:0; overflow:hidden; }
.finance-table-scroll { overflow-x:auto; }
.finance-table-panel .table { min-width:1000px; }
.finance-table-panel .table th { padding-top:11px; padding-bottom:11px; background:#f7f9fc; }
.finance-table-panel .table td { vertical-align:middle; }
@media (max-width:900px) { .finance-page-head { align-items:flex-start; } .finance-page-head h2 { font-size:20px; } .finance-health { display:none; } .finance-rule-list { padding-left:14px; padding-right:14px; } }

/* H7：运单追踪与异常处置 */
.logistics-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:2px 0 16px}.logistics-page-head h2{margin:3px 0 6px;color:#1b2a43;font-size:22px;letter-spacing:0}.logistics-page-head p{margin:0;color:#7b879a;font-size:13px}.logistics-live{display:inline-flex;align-items:center;gap:7px;color:#438166;font-size:12px;white-space:nowrap}.logistics-live i{width:7px;height:7px;border-radius:50%;background:#20a071;box-shadow:0 0 0 4px #e7f7f0}.logistics-summary-grid{margin:0 0 14px}.logistics-table-panel{padding:0;overflow:hidden}.logistics-table-scroll{overflow-x:auto}.logistics-table-panel .table{min-width:700px}.logistics-table-panel .table th{padding-top:11px;padding-bottom:11px;background:#f7f9fc}.shipment-code{display:grid;gap:4px}.shipment-code strong{color:#34455f;font-size:13px}.shipment-code span{color:#8d98a9;font-size:11px}.shipment-action{white-space:nowrap}.shipment-normal{color:#7b899b;font-size:12px}.shipment-empty{padding:34px!important;color:#8a96a9;text-align:center!important}@media(max-width:900px){.logistics-page-head{align-items:flex-start}.logistics-page-head h2{font-size:20px}.logistics-live{display:none}}

/* H8：售后 SLA 处置 */
.after-sales-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:2px 0 16px}.after-sales-page-head h2{margin:3px 0 6px;color:#1b2a43;font-size:22px;letter-spacing:0}.after-sales-page-head p{margin:0;color:#7b879a;font-size:13px}.after-sales-live{display:inline-flex;align-items:center;gap:7px;color:#438166;font-size:12px;white-space:nowrap}.after-sales-live i{width:7px;height:7px;border-radius:50%;background:#20a071;box-shadow:0 0 0 4px #e7f7f0}.after-sales-live.danger{color:#b34b5e}.after-sales-live.danger i{background:#c95064;box-shadow:0 0 0 4px #fcecef}.after-sales-summary-grid{margin:0 0 14px}.after-sales-commandbar{padding:10px 12px;border:1px solid var(--border);border-radius:12px;background:#fff}.after-sales-rule p{margin:0;padding:0 18px 18px;color:#68778c;font-size:13px;line-height:1.6}.after-sales-table-panel{padding:0;overflow:hidden}.after-sales-table-scroll{overflow-x:auto}.after-sales-table-panel .table{min-width:760px}.after-sales-table-panel .table th{padding-top:11px;padding-bottom:11px;background:#f7f9fc}@media(max-width:900px){.after-sales-page-head{align-items:flex-start}.after-sales-page-head h2{font-size:20px}.after-sales-live{display:none}}
