:root {
  --text: #111111;
  --muted: #5f6368;
  --line: #eeeeee;
  --panel: rgba(255, 255, 255, 0.96);
  --black: #050505;
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  --merchant-reference-sidebar: 260px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: #111c24;
}

button,
input {
  font: inherit;
}

.login-page {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.02) 58%, rgba(0, 0, 0, 0.12)),
    url("../assets/merchant-login-bg.png");
  background-size: cover;
  background-position: center;
}

.auth-card {
  position: absolute;
  top: 80px;
  right: 168px;
  width: 240px;
  border-radius: 10px;
  padding: 16px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 36px;
  border: 1px solid #1f1f1f;
  border-radius: 999px;
  padding: 2px;
  margin-bottom: 22px;
  background: #fff;
}

.tab {
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #111;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: background 0.18s ease, color 0.18s ease;
}

.tab.active {
  background: #262626;
  color: #fff;
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.auth-form-title {
  margin: 0 0 18px;
  font-size: 18px;
}

.agreement {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: -4px 0 16px;
  color: #5f6368;
  cursor: pointer;
  font-size: 11px;
  line-height: 1.45;
}

.agreement input {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: #111;
}

.field {
  min-height: 36px;
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  border: 1px solid var(--line);
  background: #fff;
  margin-bottom: 20px;
}

.field span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  border-right: 1px solid var(--line);
  color: #111;
  font-size: 12px;
}

.field input {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 0 12px;
  color: #1b1d20;
  background: transparent;
  font-size: 12px;
}

.field input::placeholder {
  color: #b4b8bf;
}

.field:focus-within {
  border-color: #d8d8d8;
  box-shadow: none;
}

.code-field {
  grid-template-columns: 54px 1fr 80px;
}

.code-btn {
  height: 100%;
  border: 0;
  border-left: 1px solid var(--line);
  background: #f6f7f9;
  color: #111;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.code-btn:disabled {
  color: #9aa0aa;
  cursor: not-allowed;
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 32px 0 26px;
  color: #30343a;
  font-size: 12px;
}

.link-btn {
  border: 0;
  padding: 0;
  background: transparent;
  color: #30343a;
  cursor: pointer;
}

.link-btn:hover {
  color: #000;
}

.remember {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}

.remember input {
  width: 12px;
  height: 12px;
  accent-color: #111;
}

.primary-btn {
  width: 100%;
  min-height: 32px;
  border: 0;
  border-radius: 3px;
  background: var(--black);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.primary-btn:hover {
  background: #1d1d1d;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

.primary-btn:active {
  transform: translateY(0);
}

.primary-btn:disabled {
  background: #2d2d2d;
  cursor: wait;
  opacity: 0.86;
  transform: none;
  box-shadow: none;
}

.secondary-btn {
  width: 100%;
  min-height: 32px;
  margin-top: 10px;
  border: 1px solid #d8dce3;
  border-radius: 3px;
  color: #30343a;
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 20;
  max-width: min(420px, calc(100vw - 32px));
  padding: 11px 16px;
  border-radius: 8px;
  background: rgba(15, 19, 24, 0.94);
  color: #fff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.24);
  opacity: 0;
  transform: translate(-50%, 14px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  font-size: 13px;
}

.merchant-risk-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 14px;
  padding: 11px 14px;
  border: 1px solid #f3cf7d;
  color: #794d00;
  background: #fff8e8;
  font-size: 13px;
  line-height: 1.5;
}

.merchant-risk-notice strong {
  flex: 0 0 auto;
}

.merchant-risk-notice.is-blocked {
  border-color: #f2b7b7;
  color: #a61b1b;
  background: #fff2f2;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.merchant-body {
  min-width: 1200px;
  min-height: 100vh;
  color: #1f2933;
  background: #f5f7fb;
  font-size: 13px;
}

.app-container {
  min-height: 100vh;
  padding-top: 68px;
  padding-left: 232px;
  background:
    linear-gradient(180deg, rgba(239, 67, 67, 0.07), rgba(245, 247, 251, 0) 260px),
    #f5f7fb;
}

.fixed-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 40;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 28px;
  color: #fff;
  background: linear-gradient(90deg, #101114, #1e2028 62%, #3a2020);
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.22);
}

.merchant-brand {
  min-width: 190px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #ff3d3d, #ff8a3d);
  box-shadow: 0 12px 24px rgba(239, 68, 68, 0.32);
  font-size: 17px;
  font-weight: 800;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-copy strong {
  font-size: 17px;
  line-height: 1;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.header-search {
  width: min(420px, 34vw);
  height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.header-search span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.header-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font-size: 13px;
}

.header-search input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.merchant-user {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  white-space: nowrap;
}

.header-wallet {
  height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
}

.header-wallet span {
  color: rgba(255, 255, 255, 0.58);
}

.header-wallet b {
  color: #fff;
}

.header-wallet button {
  height: 24px;
  border: 0;
  border-radius: 6px;
  padding: 0 9px;
  color: #111827;
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.account-menu {
  position: relative;
}

.account-button {
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 0 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 12px;
}

.account-button::after {
  content: "▾";
  margin-left: 7px;
  color: rgba(255, 255, 255, 0.65);
}

.account-dropdown {
  position: absolute;
  top: 42px;
  right: 0;
  z-index: 60;
  width: 190px;
  padding: 14px;
  border: 1px solid #e4e6eb;
  border-radius: 10px;
  color: #111827;
  background: #fff;
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.18);
}

.account-dropdown strong,
.account-dropdown span {
  display: block;
}

.account-dropdown span {
  margin: 5px 0 12px;
  color: #69707a;
  font-size: 12px;
}

.header-badge {
  height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #b8ffe3;
  background: rgba(16, 185, 129, 0.14);
  font-size: 12px;
}

.logout-link {
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  padding: 0 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 12px;
}

.account-dropdown .logout-link {
  width: 100%;
  color: #fff;
  border-color: transparent;
  background: #111827;
}

.logout-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.14);
}

.app-sidebar-container {
  position: fixed;
  top: 92px;
  left: 20px;
  z-index: 20;
  width: 188px;
  padding: 14px 10px;
  border-radius: 14px;
  border: 1px solid #e5eaf2;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.09);
}

.sidebar-menu {
  width: 100%;
}

.sidebar-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 42px;
  margin-bottom: 6px;
  box-sizing: border-box;
  padding: 0 12px 0 8px;
  border: 0;
  border-left: 4px solid transparent;
  border-radius: 9px;
  color: #344054;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 13px;
  font-weight: 650;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.app-sidebar-container .sidebar-item::before,
.app-sidebar-container .sidebar-item[aria-current="page"]::before,
.app-sidebar-container .sidebar-item.is-active::before {
  content: attr(data-icon);
  position: static;
  inset: auto;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #667085;
  background: transparent;
  font-size: 12px;
}

.sidebar-item:hover {
  color: #1d4ed8;
  background: #f3f7fd;
}

.sidebar-item.is-active,
.sidebar-item[aria-current="page"] {
  border-left-color: #2563eb;
  color: #1d4ed8;
  background: #eaf3ff;
}

.app-sidebar-container .sidebar-item.is-active::before,
.app-sidebar-container .sidebar-item[aria-current="page"]::before {
  color: #2563eb;
  background: transparent;
}

.merchant-publish-hot-badge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  padding: 2px 6px 2px 4px;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  color: #dc2626;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.12);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 16px;
  white-space: nowrap;
}

.merchant-publish-hot-badge span {
  font-size: 14px;
  line-height: 1;
}

.merchant-publish-hot-badge b {
  font: inherit;
}

.app-main {
  min-width: 0;
  padding: 28px 36px 80px 32px;
}

.merchant-panel {
  width: 100%;
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.07);
}

.summary-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 138, 61, 0.16), transparent 260px),
    linear-gradient(135deg, #ffffff, #fffafa 50%, #f7fbff);
}

.summary-panel::after {
  content: "";
  position: absolute;
  right: 32px;
  top: 24px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(239, 68, 68, 0.12);
  border-radius: 999px;
  pointer-events: none;
}

.summary-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.panel-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: #ef4444;
  font-size: 12px;
  font-weight: 800;
}

.summary-panel h1 {
  margin: 0;
  color: #111827;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
}

.summary-panel p {
  margin: 8px 0 0;
  color: #667085;
  font-size: 13px;
}

.summary-actions {
  display: flex;
  gap: 10px;
}

.soft-action {
  min-width: 82px;
  height: 34px;
  border: 1px solid #f1b9b9;
  border-radius: 8px;
  color: #d42626;
  background: #fff7f7;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.soft-action.dark {
  border-color: #1f2937;
  color: #fff;
  background: #111827;
}

.soft-action:hover {
  transform: translateY(-1px);
}

.summary-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 14px;
  border: 0;
}

.summary-cell {
  position: relative;
  min-height: 122px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-content: center;
  column-gap: 13px;
  padding: 18px;
  border: 1px solid #edf0f4;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.05);
}

.summary-cell:last-child {
  border-right: 1px solid #edf0f4;
}

.metric-icon {
  grid-row: span 3;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.metric-label {
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

.summary-cell b {
  margin-top: 7px;
  color: #111827;
  font-size: 28px;
  line-height: 1;
  font-weight: 850;
}

.summary-cell em {
  margin-top: 9px;
  color: #98a2b3;
  font-size: 12px;
  font-style: normal;
}

.tone-gold .metric-icon,
.tone-a {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.tone-green .metric-icon,
.tone-b {
  background: linear-gradient(135deg, #10b981, #0ea5a4);
}

.tone-red .metric-icon,
.tone-c {
  background: linear-gradient(135deg, #ef4444, #f97316);
}

.tone-blue .metric-icon {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
}

.panel-heading {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.panel-heading strong {
  color: #111827;
  font-size: 17px;
  font-weight: 800;
}

.panel-note {
  color: #98a2b3;
  font-size: 12px;
}

.plain-action {
  min-width: 64px;
  height: 32px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #344054;
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.plain-action:hover {
  color: #ef4444;
  border-color: #f3b2b2;
  background: #fff7f7;
}

.simple-table {
  max-width: 100%;
  overflow: hidden;
  border: 1px solid #edf0f4;
  border-radius: 12px;
  background: #fff;
}

.table-row {
  display: grid;
  grid-template-columns: 120px 1fr 120px 120px;
  min-height: 48px;
  align-items: center;
  border-bottom: 1px solid #edf0f4;
}

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

.table-row span {
  min-width: 0;
  padding: 0 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-head {
  min-height: 44px;
  color: #667085;
  background: #f8fafc;
  font-weight: 800;
}

.status {
  color: #ef4444;
  font-weight: 800;
}

.pay-status {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 10px;
  font-style: normal;
  font-size: 12px;
  font-weight: 850;
}

.pay-status.paid {
  color: #067647;
  background: #ecfdf3;
}

.pay-status.unpaid {
  color: #b42318;
  background: #fff1f0;
}

.activity-tabs {
  display: flex;
  gap: 0;
  min-height: 54px;
  align-items: center;
  padding: 0 14px;
  border-bottom: 0;
  background: #f5f7fb;
}

.activity-tabs button {
  min-width: 138px;
  height: 54px;
  border: 0;
  border-radius: 0;
  color: #111827;
  background: transparent;
  font-size: 16px;
  font-weight: 800;
  text-align: left;
}

.activity-tabs button.is-active {
  color: #111827;
  background: transparent;
}

.activity-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  border: 0;
  border-radius: 0;
  padding: 46px 8px 18px 8px;
  background: #fff;
}

.activity-filter-bar label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #222;
  font-size: 15px;
  font-weight: 800;
}

.activity-filter-bar select,
.activity-filter-bar input {
  min-width: 156px;
  height: 40px;
  border: 1px solid #d8dee8;
  border-radius: 0;
  padding: 0 16px;
  color: #667085;
  background: #fff;
  font-size: 13px;
  font-weight: 400;
}

.activity-filter-bar label:nth-child(5) input {
  min-width: 300px;
}

.activity-filter-bar label:nth-child(6) input {
  min-width: 360px;
}

.activity-filter-bar label:nth-child(7) {
  flex-basis: 670px;
}

.activity-filter-bar label:nth-child(7) input {
  min-width: 280px;
}

.activity-alerts {
  display: grid;
  gap: 6px;
  border: 0;
  border-radius: 0;
  padding: 8px 0 24px 28px;
  color: #ff4d4f;
  background: #fff;
  font-size: 15px;
  line-height: 1.6;
}

.activity-alerts p {
  margin: 0;
}

.activity-management-table {
  overflow-x: auto;
  overflow-y: visible;
  background: transparent;
  padding-bottom: 8px;
}

.activity-management-row {
  min-width: 1480px;
  margin-bottom: 18px;
  border: 1px solid #d8dce3;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.activity-management-row:nth-child(odd) {
  background: #fff;
}

.mission-row-head {
  min-height: 52px;
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(720px, auto);
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border-bottom: 1px solid #edf0f5;
}

.mission-shop-line,
.mission-task-line {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #333;
  font-size: 14px;
}

.mission-shop-line strong {
  max-width: 180px;
  color: #666;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mission-shop-line span {
  color: #666;
  font-size: 13px;
}

.mission-shop-line b {
  color: #222;
  font-size: 15px;
}

.mission-shop-line input {
  width: 142px;
  height: 36px;
  border: 1px solid #d8dee8;
  padding: 0 12px;
  color: #333;
  outline: 0;
}

.mission-task-line {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.mission-task-line em {
  color: #2aae48;
  font-style: normal;
  font-weight: 800;
}

.mission-task-line span {
  color: #333;
}

.mission-task-line button {
  border: 0;
  padding: 0;
  color: #2f41cd;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.mission-task-line strong {
  color: #f00;
  font-size: 15px;
}

.mission-task-line strong.payment-status-unpaid {
  border: 1px solid #ffccc7;
  border-radius: 3px;
  padding: 3px 8px;
  color: #f00;
  background: #fff2f0;
  font-weight: 800;
}

.mission-row-body {
  min-height: 104px;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) 880px 72px;
  align-items: stretch;
  padding: 0 12px;
}

.mission-product-block {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 14px 0;
}

.mission-product-block img,
.mission-product-block .order-thumb-placeholder {
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
}

.mission-product-block div {
  min-width: 0;
}

.mission-product-block p {
  max-width: 380px;
  margin: 0 0 18px;
  color: #555;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mission-product-block span {
  color: #666;
  font-size: 14px;
}

.mission-product-block b {
  color: #f00;
  font-weight: 600;
}

.mission-status-block {
  display: grid;
  grid-template-columns: repeat(11, 88px);
  align-items: center;
  padding-top: 20px;
  padding-bottom: 10px;
}

.activity-info-cell p,
.activity-time-cell p {
  margin: 0 0 8px;
  color: #344054;
  line-height: 1.45;
  word-break: break-all;
}

.activity-info-cell b,
.activity-time-cell b {
  color: #111827;
}

.platform-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  border-radius: 7px;
  color: #fff;
  background: #111827;
  font-size: 12px;
  font-weight: 850;
}
.platform-mark svg { width: 22px; height: 22px; fill: currentColor; }
.platform-mark > span { display: block; line-height: 1; }

.platform-mark[data-platform-code="dy"] {
  color: #fff;
  background: #111827;
  box-shadow: inset 3px 0 #22d3ee, inset -3px 0 #fb2c76;
}

.platform-mark[data-platform-code="tb"],
.platform-mark[data-platform-code="tmall"] { background: #ff5a1f; }
.platform-mark[data-platform-code="jd"] { background: #dc2626; }
.platform-mark[data-platform-code="pdd"] { background: #e02d2d; }
.platform-mark[data-platform-code="ks"] { background: #ff4d00; }
.platform-mark[data-platform-code="xhs"] { background: #ff2442; }
.platform-mark[data-platform-code="xianyu"] { color: #17202d; background: #ffda18; }
.platform-mark[data-platform-code="wxshop"],
.platform-mark[data-platform-code="sph"] { background: #07c160; }

.platform-mark[data-platform*="抖音"] {
  background: #111827;
}

.platform-mark[data-platform*="拼多多"] {
  background: #e02d2d;
}

.platform-mark[data-platform*="淘宝"],
.platform-mark[data-platform*="天猫"] {
  background: #ff6a00;
}

.platform-mark[data-platform*="京东"] {
  background: #c81623;
}

.activity-progress-cell {
  display: grid;
  grid-template-columns: repeat(9, minmax(64px, 1fr));
  gap: 0;
  align-content: center;
}

.mission-status-block a {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  border-left: 1px dashed #dfe3ea;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  color: #555;
  background: transparent;
  font-size: 13px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
}

.mission-status-block a:first-child {
  border-left: 0;
}

.mission-status-block a.is-warn,
.mission-status-block a.is-warn b {
  color: #f00;
}

.mission-status-block a.is-current {
  background: #fff5f5;
  box-shadow: inset 0 -2px 0 #f00;
}

.mission-status-block b {
  display: block;
  color: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
}

.mission-extra-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.mission-extra-action button {
  border: 0;
  color: #ef4444;
  background: transparent;
  font-size: 13px;
  font-weight: 800;
}

.activity-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: #667085;
  font-size: 13px;
}

.activity-pagination button,
.activity-pagination select,
.activity-pagination input {
  height: 30px;
  border: 1px solid #d8dee8;
  border-radius: 6px;
  padding: 0 8px;
  background: #fff;
}

.activity-pagination input {
  width: 46px;
  text-align: center;
}

.order-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  gap: 16px;
}

.activity-empty-panel {
  min-height: 220px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #667085;
}

.activity-empty-panel strong {
  color: #111827;
  font-size: 18px;
}

.activity-active-filter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  border: 1px solid #ffd6d6;
  border-radius: 4px;
  padding: 8px 12px;
  color: #f00;
  background: #fffafa;
  font-size: 13px;
}

.activity-active-filter button {
  border: 0;
  color: #2f41cd;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.activity-active-filter em {
  color: #a40000;
  font-style: normal;
  font-weight: 700;
}

.activity-detail-modal {
  width: min(980px, calc(100vw - 48px));
}

.activity-action-modal {
  width: min(560px, calc(100vw - 40px));
}

.activity-payment-lines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.activity-payment-lines div {
  border: 1px solid #e5e7eb;
  padding: 12px;
  background: #fff;
}

.activity-payment-lines span {
  display: block;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.activity-payment-lines b {
  display: block;
  margin-top: 8px;
  color: #111827;
  font-size: 14px;
  line-height: 1.5;
}

.publish-merchant-refund-notice {
  display: grid;
  gap: 13px;
  margin-bottom: 18px;
  padding: 22px 26px;
  border: 3px solid #e12626;
  border-radius: 12px;
  color: #b51616;
  background: #fff1f1;
  box-shadow: 0 10px 28px rgba(205, 28, 28, .14);
}

.publish-merchant-refund-notice[hidden] { display: none; }

.publish-merchant-refund-notice__title {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #d31515;
  font-size: 27px;
  font-weight: 950;
  line-height: 1.25;
}

.publish-merchant-refund-notice__title span {
  display: inline-grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  color: #fff;
  background: #df2020;
  font-size: 25px;
  place-items: center;
}

.publish-merchant-refund-notice p,
.publish-merchant-refund-notice ol,
.publish-merchant-refund-notice em {
  margin: 0;
  font-size: 18px;
  font-style: normal;
  font-weight: 760;
  line-height: 1.75;
}

.publish-merchant-refund-notice p b { color: #d31515; font-weight: 950; }
.publish-merchant-refund-notice ol { padding-left: 28px; }
.publish-merchant-refund-notice em { color: #d31515; font-weight: 950; }

.modal-warning-text {
  margin: 10px 0 18px;
  color: #f00;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  line-height: 1.6;
}

.activity-detail-summary {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  align-items: start;
}

.activity-detail-cover img,
.activity-detail-cover .order-thumb-placeholder {
  width: 104px;
  height: 104px;
}

.modal-status-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.modal-status-strip button {
  min-height: 50px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  color: #333;
  background: #fff;
  cursor: pointer;
}

.modal-status-strip button.is-current {
  color: #f00;
  border-color: #f00;
  background: #fff5f5;
}

.modal-status-strip b {
  display: block;
  font-size: 16px;
}

.activity-modal-orders {
  margin-top: 12px;
}

.append-eval-cols {
  grid-template-columns: 170px minmax(220px, 1fr) 160px 150px 170px 120px 120px;
  min-width: 1120px;
}

.append-eval-table button {
  border: 0;
  color: #2f41cd;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.clickable-row {
  cursor: pointer;
}

.clickable-row:hover {
  background: #f8faff;
}

.activity-pagination button:disabled {
  color: #a5acb8;
  cursor: not-allowed;
  background: #f5f6f8;
}

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

.order-stats div {
  min-height: 76px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 14px 16px;
  background: #fff;
}

.order-stats span,
.order-detail-grid span {
  display: block;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

.order-stats b {
  display: block;
  margin-top: 8px;
  color: #111827;
  font-size: 24px;
}

.order-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #d8dce3;
  background: #fff;
}

.order-query-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: #111827;
  font-size: 20px;
  font-weight: 800;
}

.order-query-title span {
  color: #69707a;
  font-size: 15px;
  font-weight: 400;
}

.order-query-filter {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 14px 18px;
  align-items: end;
  padding: 28px 14px 20px;
  border-bottom: 1px solid #eef0f4;
  background: #fff;
}

.order-query-filter label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: #222;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.order-query-filter input,
.order-query-filter select {
  width: 100%;
  height: 38px;
  border: 1px solid #dfe3ea;
  border-radius: 0;
  padding: 0 12px;
  color: #344054;
  background: #fff;
  font-size: 13px;
  outline: none;
}

.order-query-filter input:focus,
.order-query-filter select:focus {
  border-color: #2f41cd;
  box-shadow: 0 0 0 2px rgba(47, 65, 205, 0.08);
}

.order-query-filter button {
  align-self: center;
}

.blacklist-cols {
  grid-template-columns: 130px 150px 140px minmax(220px, 1fr) 170px 110px 120px;
}

.blacklist-page {
  display: grid;
  gap: 14px;
}

.blacklist-rule-tip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #cfeee8;
  border-radius: 8px;
  color: #475467;
  background: #f3fffc;
  font-size: 13px;
  line-height: 1.6;
}

.blacklist-rule-tip strong {
  flex: 0 0 auto;
  color: #059b8c;
  font-size: 14px;
}

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

.blacklist-summary div {
  min-height: 86px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.blacklist-summary span,
.blacklist-summary em {
  display: block;
  color: #667085;
  font-size: 12px;
  font-style: normal;
}

.blacklist-summary b {
  display: block;
  margin: 8px 0 4px;
  color: #111827;
  font-size: 26px;
  line-height: 1;
}

.blacklist-filter {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px auto auto;
  gap: 12px;
  align-items: end;
  padding: 14px;
  border: 1px solid #edf0f4;
  border-radius: 8px;
  background: #fff;
}

.blacklist-filter label {
  display: grid;
  gap: 6px;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

.blacklist-filter input,
.blacklist-filter select,
.blacklist-pagination select {
  width: 100%;
  height: 38px;
  border: 1px solid #dfe3ea;
  border-radius: 8px;
  padding: 0 12px;
  color: #344054;
  background: #fff;
  font-size: 13px;
  outline: none;
}

.blacklist-table {
  overflow-x: auto;
  border-radius: 8px;
}

.blacklist-table .table-row {
  min-width: 1040px;
}

.blacklist-cols span {
  display: block;
  white-space: normal;
}

.blacklist-cols span strong,
.blacklist-cols span b,
.blacklist-cols span small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.blacklist-cols span small {
  margin-top: 4px;
  color: #98a2b3;
  font-size: 12px;
  font-weight: 500;
}

.blacklist-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 26px;
  border-radius: 999px;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.blacklist-status.is-active {
  color: #b42318;
  background: #fff1f0;
}

.blacklist-status.is-removed {
  color: #027a48;
  background: #ecfdf3;
}

.link-action {
  border: 0;
  padding: 0;
  color: #2f41cd;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.danger-text {
  color: #b42318;
}

.blacklist-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  color: #667085;
  font-size: 13px;
}

.blacklist-pagination label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blacklist-pagination select {
  width: 76px;
  height: 32px;
  padding: 0 8px;
}

.plain-action:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.promotion-cols {
  grid-template-columns: 1.2fr 1fr 120px 180px;
}

.order-query-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #667085;
  font-size: 13px;
}

.order-query-toolbar button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  filter: grayscale(0.2);
}

.order-status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.order-status-list button {
  min-width: 96px;
  min-height: 48px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  color: #333;
  background: #fff;
  cursor: pointer;
}

.order-status-list button.active {
  color: #f00;
  border-color: #f00;
  background: #fff5f5;
}

.order-status-list b {
  display: block;
  font-size: 16px;
}

.order-table-wrap {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #d8dce3;
  background: #fff;
}

.order-management-head,
.order-management-row {
  display: grid;
  grid-template-columns: 40px 126px 148px minmax(320px, 1.35fr) 150px 174px 112px 112px;
  width: max(1260px, 100%);
}

.order-management-head {
  min-height: 42px;
  align-items: center;
  color: #111827;
  background: #fff;
  border-bottom: 1px solid #d8dce3;
  font-size: 13px;
  font-weight: 800;
}

.order-management-head span,
.order-management-row > div {
  min-width: 0;
  padding: 12px 8px;
  border-right: 1px solid #d8dce3;
}

.order-management-head span:last-child,
.order-management-row > div:last-child {
  border-right: 0;
}

.order-management-row {
  min-height: 196px;
  border-bottom: 1px solid #d8dce3;
  background: #f3f6fa;
}

.order-management-row:nth-child(odd) {
  background: #fff;
}

.order-check {
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-product {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.order-product img,
.order-thumb-placeholder {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border: 1px solid #e5e7eb;
  background: #fff;
}

.order-thumb-placeholder {
  display: grid;
  place-items: center;
  padding: 8px;
  color: #344054;
}

.order-thumb-placeholder b {
  font-size: 24px;
}

.order-thumb-placeholder small {
  font-size: 11px;
}

.order-product strong {
  width: 100%;
  color: #344054;
  font-size: 12px;
  line-height: 1.4;
}

.order-time p,
.order-info p,
.buyer-info p,
.order-status p {
  margin: 0 0 6px;
  color: #111827;
  font-size: 13px;
  line-height: 1.35;
  word-break: break-all;
}

.order-time b,
.order-info b {
  font-weight: 500;
}

.order-info a {
  color: #1d4ed8;
  text-decoration: none;
}

.order-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.order-tags em,
.order-status strong,
.buyer-info button,
.order-actions button,
.order-more button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border: 0;
  border-radius: 4px;
  padding: 0 10px;
  color: #fff;
  background: #f59e0b;
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
}

.order-tags .blue,
.order-status strong,
.buyer-info button {
  background: #2f41cd;
}

.order-tags .gray {
  background: #667085;
}

.order-risk-badge {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 10px;
  border: 1px solid #dbeafe;
  border-radius: 6px;
  padding: 8px;
  color: #1d4ed8;
  background: #eff6ff;
  font-size: 12px;
  font-weight: 800;
}

.order-risk-badge.warning {
  border-color: #fde68a;
  color: #92400e;
  background: #fffbeb;
}

.order-risk-badge.danger {
  border-color: #fecaca;
  color: #b42318;
  background: #fff1f2;
}

.order-risk-badge strong,
.order-risk-badge span,
.order-risk-badge em {
  font-style: normal;
}

.order-risk-badge em {
  border-radius: 999px;
  padding: 3px 7px;
  background: rgba(255, 255, 255, 0.72);
}

.buyer-info button {
  min-height: 34px;
  margin-bottom: 8px;
  cursor: pointer;
}

.buyer-info button:hover,
.order-actions button:hover,
.order-more button:hover {
  filter: brightness(0.95);
}

.order-status strong {
  margin-bottom: 10px;
}

.order-proof {
  color: #667085;
  font-size: 13px;
}

.order-proof span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 10px;
  background: #fff;
  border: 1px dashed #cfd6df;
}

.order-actions,
.order-more {
  display: grid;
  align-content: center;
  gap: 10px;
}

.order-actions button {
  background: #f00;
  cursor: pointer;
}

.order-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.order-more button {
  color: #1d4ed8;
  border: 1px solid #2f41cd;
  background: #fff;
  cursor: pointer;
}

.order-empty {
  min-width: 100%;
  padding: 40px;
  color: #667085;
  text-align: center;
}

.order-detail-panel {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.order-detail-panel > p {
  margin: 0;
  color: #667085;
}

.order-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.order-detail-grid div {
  min-height: 70px;
  border: 1px solid #edf0f4;
  padding: 12px;
  background: #f8fafc;
}

.order-detail-grid b {
  display: block;
  margin-top: 8px;
  color: #111827;
  font-size: 14px;
  word-break: break-all;
}

.detail-rule-text {
  margin-top: 12px;
  border: 1px solid #edf0f4;
  padding: 12px;
  background: #fff;
}

.detail-rule-text strong {
  color: #111827;
}

.order-risk-detail {
  border-color: #fde68a;
  color: #92400e;
  background: #fffbeb;
}

.detail-rule-text p {
  margin: 8px 0 0;
  color: #344054;
  line-height: 1.7;
  word-break: break-all;
}

.order-detail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.merchant-modal {
  position: fixed;
  inset: 0;
  z-index: 180;
}

.merchant-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}

.merchant-modal-box {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100vw - 40px));
  max-height: calc(100vh - 56px);
  margin: 28px auto;
  overflow: hidden;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.merchant-modal-box.order-modal-appeal {
  width: 560px;
}

.merchant-modal-box.order-modal-confirm {
  width: 620px;
}

.merchant-modal-box.order-modal-append {
  width: min(760px, calc(100vw - 40px));
}

.merchant-modal-box.order-modal-log,
.merchant-modal-box.order-modal-detail {
  width: min(920px, calc(100vw - 40px));
}

.merchant-modal-head {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 20px;
  border-bottom: 1px solid #ebeef5;
}

.merchant-modal-head span {
  display: block;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.merchant-modal-head strong {
  display: block;
  margin-top: 2px;
  color: #303133;
  font-size: 17px;
  font-weight: 500;
}

.merchant-modal-head button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 0;
  color: #909399;
  background: #fff;
  font-size: 20px;
  cursor: pointer;
}

.merchant-modal-body {
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding: 18px;
}

.modal-tip-line {
  margin-bottom: 12px;
  color: #f00;
  font-size: 13px;
  line-height: 1.6;
}

.confirm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.confirm-grid div {
  min-height: 68px;
  border: 1px solid #edf0f4;
  padding: 12px;
  background: #f8fafc;
}

.order-confirm-grid div,
.order-detail-modal-grid div {
  border-color: #e4e7ed;
  background: #fff;
}

.confirm-grid span,
.modal-field span,
.modal-form span {
  display: block;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.confirm-grid b {
  display: block;
  margin-top: 8px;
  color: #111827;
  word-break: break-all;
}

.confirm-grid b.match-ok {
  color: #2f41cd;
}

.confirm-grid b.match-warn {
  color: #f00;
}

.modal-field,
.modal-form label {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.modal-field textarea,
.modal-form textarea,
.modal-form select,
.modal-form input {
  width: 100%;
  border: 1px solid #d8dee8;
  border-radius: 0;
  padding: 10px;
  outline: 0;
  color: #303133;
  background: #fff;
}

.modal-form input,
.modal-form select {
  height: 36px;
  padding: 0 10px;
}

.modal-form input:disabled {
  color: #909399;
  background: #f5f7fa;
}

.merchant-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.blue-action {
  background: #2f41cd;
  box-shadow: none;
}

.modal-log-table {
  border-radius: 0;
}

.order-link-block p {
  color: #2f41cd;
  word-break: break-all;
}

.publish-pay-detail {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.publish-pay-detail div {
  border: 1px solid #e5e7eb;
  padding: 12px;
  background: #fff;
}

.publish-pay-detail span {
  display: block;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.publish-pay-detail b {
  display: block;
  margin-top: 8px;
  color: #111827;
  font-size: 14px;
}

.upload-proof-field {
  min-height: 104px;
  justify-content: center;
  border: 1px dashed #cfd6df;
  border-radius: 8px;
  padding: 14px;
  background: #f8fafc;
  cursor: pointer;
}

.upload-proof-field input[type="file"] {
  min-height: 0;
  border: 0;
  padding: 0;
  background: transparent;
}

.upload-proof-field em {
  color: #667085;
  font-size: 12px;
  font-style: normal;
}

.upload-proof-field.has-upload,
.upload-proof-field.is-uploading,
.upload-proof-field.upload-failed {
  border-color: #2f45d9;
}

.upload-status-line {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
  color: #667085;
  font-size: 12px;
  line-height: 1.3;
}

.upload-status-line span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-status-line b {
  color: #2f45d9;
  font-weight: 800;
}

.upload-status-line i {
  grid-column: 1 / -1;
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: #e8ecf4;
}

.upload-status-line i em {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #2f45d9;
  transition: width 0.16s ease;
}

.upload-view-btn {
  min-height: 24px;
  border: 1px solid #2f45d9;
  border-radius: 4px;
  padding: 0 9px;
  color: #2f45d9;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.upload-failed .upload-status-line span {
  color: #d92d20;
}

.upload-inline-preview {
  width: 128px;
  height: 92px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #d8dee8;
  border-radius: 6px;
  padding: 0;
  background: #fff;
  cursor: pointer;
}

.upload-inline-preview img,
.upload-inline-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-inline-preview.video-preview {
  position: relative;
}

.upload-inline-preview.video-preview span {
  position: absolute;
  right: 6px;
  bottom: 6px;
  border-radius: 4px;
  padding: 2px 6px;
  color: #fff;
  background: rgba(17, 24, 39, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.upload-proof-field .upload-inline-preview {
  margin-top: 8px;
}

.recharge-proof-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  overflow: visible !important;
}

.recharge-proof-cell em {
  min-width: 0;
  overflow: hidden;
  color: #344054;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recharge-proof-thumb {
  width: 92px;
  min-height: 72px;
  display: grid;
  place-items: center;
  gap: 4px;
  flex: 0 0 auto;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  padding: 6px;
  color: #2f45d9;
  background: #fff;
  cursor: pointer;
}

.recharge-proof-thumb img {
  width: 78px;
  height: 44px;
  display: block;
  border-radius: 5px;
  object-fit: cover;
  background: #f8fafc;
}

.recharge-proof-thumb b {
  font-size: 12px;
  line-height: 1;
}

.danger-action {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  padding: 0 16px;
  color: #fff;
  background: #dc2626;
  font-weight: 800;
  cursor: pointer;
}

.workspace-panel {
  min-height: 320px;
  background: #fff;
}

.reference-page-mode {
  min-width: 0;
  color: #212526;
  background: #fff;
  overflow-x: hidden;
}

.reference-page-mode .app-container {
  padding-top: 64px;
  padding-left: 0;
  background: #fff;
}

.reference-page-mode .fixed-header {
  height: 64px;
  padding: 0 34px;
  background: #000;
  box-shadow: none;
}

.reference-page-mode .brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, #7c3cff, #2f41cd, #7c3cff);
  box-shadow: none;
}

.reference-page-mode .brand-copy strong {
  font-size: 18px;
}

.reference-page-mode .brand-copy small,
.reference-page-mode .header-search,
.reference-page-mode .header-badge,
.reference-page-mode .summary-panel {
  display: none;
}

.reference-page-mode .app-sidebar-container {
  display: block;
  top: 76px;
  bottom: 0;
  left: 0;
  width: var(--merchant-reference-sidebar);
  overflow-y: auto;
  padding: 14px 0 26px;
  border-radius: 0;
  background: #fff;
  box-shadow: 2px 0 12px rgba(15, 23, 42, 0.12);
}

.reference-page-mode .sidebar-item {
  height: 62px;
  width: calc(100% - 16px);
  margin: 0 8px;
  padding: 0 18px 0 14px;
  border-left: 4px solid transparent;
  border-radius: 8px;
  color: #344054;
  font-size: 16px;
  font-weight: 700;
}

.reference-page-mode .app-sidebar-container .sidebar-item::before {
  position: static;
  color: #9298a3;
  background: transparent;
  font-size: 13px;
}

.reference-page-mode .sidebar-item:hover {
  color: #1d4ed8;
  background: #f3f7fd;
}

.reference-page-mode .sidebar-item.is-active,
.reference-page-mode .sidebar-item[aria-current="page"] {
  border-left-color: #2563eb;
  color: #1d4ed8;
  background: #eaf3ff;
}

.reference-page-mode .app-sidebar-container .sidebar-item.is-active::before,
.reference-page-mode .app-sidebar-container .sidebar-item[aria-current="page"]::before {
  color: #2563eb;
  background: transparent;
}

.reference-page-mode .app-main {
  width: calc(100vw - var(--merchant-reference-sidebar));
  max-width: calc(100vw - var(--merchant-reference-sidebar));
  box-sizing: border-box;
  overflow-x: hidden;
  margin-left: var(--merchant-reference-sidebar);
  padding: 0 50px 48px;
}

.reference-page-mode .order-query-filter {
  grid-template-columns: repeat(4, minmax(210px, 1fr));
  padding: 24px 16px 18px;
}

.reference-page-mode .order-status-list {
  gap: 10px;
  padding: 0 16px 16px;
}

.reference-page-mode .order-status-list button {
  min-width: 112px;
  border: 0;
  background: #f5f6f9;
}

.reference-page-mode .order-status-list button.active {
  color: #fff;
  border-color: #242424;
  background: #242424;
}

.reference-page-mode .order-status-list button.active b,
.reference-page-mode .order-status-list button.active span {
  color: inherit;
}

.reference-page-mode .order-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

.reference-page-mode .order-detail-panel {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 980px) {
  .reference-page-mode .app-sidebar-container {
    top: 64px;
    right: 0;
    bottom: auto;
    width: auto;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.1);
  }

  .reference-page-mode .sidebar-menu {
    display: flex;
    overflow-x: auto;
  }

  .reference-page-mode .sidebar-item {
    flex: 0 0 116px;
    height: 42px;
    padding: 0 12px;
    font-size: 13px;
  }

  .reference-page-mode .app-main {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    padding-left: 20px;
    padding-top: 80px;
  }

  .reference-page-mode .order-query-filter {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

.reference-page-mode .merchant-user {
  margin-left: auto;
}

.reference-page-mode .header-wallet {
  height: 28px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  font-size: 14px;
}

.reference-page-mode .header-wallet span {
  color: #fff;
}

.reference-page-mode .header-wallet b {
  color: #eeb075;
  font-weight: 400;
}

.reference-page-mode .header-wallet button {
  height: 24px;
  border: 1px solid #fff;
  border-radius: 16px;
  color: #fff;
  background: transparent;
  line-height: 1;
}

.reference-page-mode .account-button {
  border: 0;
  background: transparent;
}

.reference-page-mode .merchant-panel {
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  background: #fff;
}

.reference-page-mode .workspace-panel {
  min-height: calc(100vh - 64px);
  max-width: 100%;
  overflow-x: hidden;
}

.title_box {
  height: 66px;
  display: flex;
  align-items: center;
  padding-left: 20px;
  color: #222;
  background: #f5f7fb;
  font-size: 18px;
  font-weight: 800;
}

.reference-page-mode .order-page {
  max-width: none;
  padding: 0;
  background: #fff;
}

.reference-page-mode .activity-tabs {
  height: 58px;
  min-height: 58px;
  padding: 0 8px;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
}

.reference-page-mode .activity-tabs button {
  width: 110px;
  min-width: 110px;
  height: 58px;
  color: #333;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

.reference-page-mode .activity-tabs button.is-active {
  color: #111;
  position: relative;
}

.reference-page-mode .activity-tabs button.is-active::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 0;
  left: 24px;
  height: 3px;
  background: #2f41cd;
}

.reference-page-mode .activity-filter-bar {
  padding: 18px 14px 14px;
}

.reference-page-mode .activity-alerts {
  padding: 8px 14px 18px;
  font-size: 15px;
}

.reference-page-mode .activity-management-row {
  margin: 0 0 18px;
  border-color: rgba(170, 171, 173, 0.6);
  border-radius: 8px;
  box-shadow: none;
}

.reference-page-mode .mission-row-head {
  min-height: 52px;
  padding: 0 10px;
}

.reference-page-mode .mission-row-body {
  min-height: 110px;
}

.reference-page-mode.publish-route-mode .app-main {
  width: calc(100vw - var(--merchant-reference-sidebar));
  max-width: calc(100vw - var(--merchant-reference-sidebar));
  margin-left: var(--merchant-reference-sidebar);
  padding: 0 30px 48px;
}

.reference-page-mode.publish-route-mode .workspace-panel {
  padding-top: 20px;
}

.publish-route-mode .publish-page {
  max-width: none;
  padding: 0;
  background: #fff;
}

.publish-route-mode .publish-titlebar {
  height: 40px;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #d9d9d9;
}

.publish-route-mode .publish-titlebar strong {
  color: #000;
  font-size: 20px;
  font-weight: 800;
}

.publish-route-mode .tutorial-link {
  color: #2f41cd;
  font-size: 13px;
  font-weight: 400;
}

.publish-route-mode .publish-step-list {
  width: min(980px, 100%);
  height: 46px;
  min-height: 46px;
  gap: 6px;
  margin: 14px 0 20px;
  border: 0;
  background: transparent;
}

.publish-route-mode .publish-step-list li {
  flex: 1;
  justify-content: center;
  gap: 8px;
  padding: 0;
  color: #1f2937;
  background: #edeff4;
  font-size: 15px;
  font-weight: 850;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 14px 50%);
}

.publish-route-mode .publish-step-list li:first-child {
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
}

.publish-route-mode .publish-step-list li.active {
  color: #fff;
  background: #0d6efd;
}

.publish-route-mode .publish-step-list li.done {
  color: #0f766e;
  background: #e7f8f4;
}

.publish-route-mode .publish-step-list li span {
  width: auto;
  height: auto;
  border-radius: 0;
  color: inherit;
  background: transparent;
  font-size: 15px;
}

.publish-route-mode .publish-ref-section {
  margin: 0 10px 30px;
  border-bottom: 1px solid #e1e4e8;
  padding-bottom: 28px;
}

.publish-route-mode .publish-dark-title {
  min-height: 42px;
  padding: 0 48px;
  background: #2d2d2d;
  font-size: 18px;
  font-weight: 700;
}

.publish-route-mode .publish-ref-body {
  gap: 18px;
  padding: 24px 20px 0;
}

.publish-route-mode .ref-row > label:first-child {
  width: 210px;
}

.publish-route-mode .ref-row input,
.publish-route-mode .ref-row select,
.publish-route-mode .remark-field textarea,
.publish-route-mode .task-rule-body input,
.publish-route-mode .task-rule-body select {
  border-color: #d8dee8;
  border-radius: 0;
}

.publish-route-mode .inline-radios,
.publish-route-mode .tight-radios {
  gap: 24px;
}

.publish-route-mode .inline-radios label,
.publish-route-mode .tight-radios label {
  gap: 6px;
}

.publish-reference-notice {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 14px;
  padding: 12px 18px;
  color: #1f2937;
  background: #d9ecff;
}

.publish-reference-notice strong {
  flex: 1;
  font-size: 16px;
  line-height: 1.5;
}

.publish-reference-notice span {
  color: #6b7280;
  font-size: 13px;
  white-space: nowrap;
}

.publish-reference-notice b {
  color: #111827;
}

.publish-light-title {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0 48px;
  color: #0d6efd;
  background: #f1f3f7;
  font-size: 20px;
  font-weight: 900;
}

.publish-light-title > em { margin-left: auto; color: #ef4444; font-size: 12px; font-style: normal; font-weight: 800; }
.publish-route-mode .publish-gift-section { margin-top: 18px; overflow: hidden; border: 2px solid #f59e0b; box-shadow: 0 10px 28px rgba(245, 158, 11, .12); }
.publish-gift-warning { padding: 14px 16px; border-left: 5px solid #ef4444; color: #b91c1c; background: #fff7ed; }
.publish-gift-warning strong { display: block; margin-bottom: 5px; font-size: 15px; }
.publish-gift-warning p { margin: 0; line-height: 1.65; }
.publish-gift-mode { align-items: flex-start; }
.publish-gift-mode-controls { display: grid; width: 100%; gap: 12px; }
.publish-gift-mode-line { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.publish-gift-mode-line > .req { margin-right: 0; padding: 3px 9px; border-radius: 6px; color: #fff; background: #0d6efd; font-size: 13px; font-style: normal; font-weight: 850; }
.publish-gift-radio { display: inline-flex; align-items: center; gap: 7px; color: #172033; cursor: pointer; font-size: 15px; font-weight: 800; white-space: nowrap; }
.publish-gift-tutorial-link + .publish-gift-radio { margin-left: 30px; }
.publish-gift-mode .publish-gift-radio input[type="radio"] { width: 16px !important; height: 16px !important; min-width: 16px; flex: 0 0 16px; margin: 0; padding: 0; border-radius: 50%; accent-color: #1677ff; box-shadow: none; }
.publish-gift-tutorial-link { margin: 0; padding: 0; border: 0; color: #1677ff; background: transparent; cursor: pointer; font-size: 14px; font-weight: 700; }
.publish-gift-tutorial-link:hover { text-decoration: underline; }
.publish-gift-platform-panel { display: block; width: 100%; padding-left: 98px; }
.publish-gift-platform-panel[hidden] { display: none; }
.publish-gift-platform-panel .lx-button { min-height: 42px; padding: 0 22px; }
.publish-gift-selected { display: grid; width: min(770px, 100%); min-height: 132px; padding: 12px 20px 12px 12px; grid-template-columns: 112px minmax(0, 1fr) auto; align-items: center; gap: 20px; border: 1px solid #edf0f5; background: #fff; box-shadow: 0 8px 22px rgba(15, 23, 42, .1); }
.publish-gift-selected-image { width: 112px; height: 112px; overflow: hidden; border: 1px solid #dbe3ef; border-radius: 8px; background: #fff; }
.publish-gift-selected-image img { width: 100%; height: 100%; object-fit: cover; }
.publish-gift-selected-content { min-width: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.publish-gift-selected span, .publish-gift-selected strong, .publish-gift-selected small { display: block; }
.publish-gift-selected strong { overflow: hidden; color: #172033; font-size: 18px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.publish-gift-selected span { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: #27364d; font-size: 15px; font-weight: 700; }
.publish-gift-selected span i { width: 16px; height: 16px; flex: 0 0 16px; border: 5px solid #fff; border-radius: 50%; background: #1677ff; box-shadow: 0 0 0 2px #1677ff; }
.publish-gift-selected small { margin-top: 6px; color: #64748b; font-size: 12px; }
.publish-gift-selected .publish-gift-change { min-width: 150px; min-height: 58px; padding: 0 26px; font-size: 17px; }
.publish-gift-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.publish-gift-card { position: relative; display: flex; min-width: 0; padding: 12px; flex-direction: column; gap: 7px; border: 2px solid transparent; border-radius: 10px; text-align: left; background: #fff; cursor: pointer; box-shadow: 0 6px 18px rgba(120, 53, 15, .08); }
.publish-gift-card:hover, .publish-gift-card.is-selected { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.publish-gift-visual { position: relative; display: grid; min-height: 108px; place-items: center; overflow: hidden; border-radius: 8px; background: linear-gradient(145deg, #fef3c7, #fed7aa); }
.publish-gift-card.is-blue .publish-gift-visual { background: linear-gradient(145deg, #dbeafe, #bfdbfe); }
.publish-gift-card.is-rose .publish-gift-visual { background: linear-gradient(145deg, #ffe4e6, #fecdd3); }
.publish-gift-card.is-green .publish-gift-visual { background: linear-gradient(145deg, #dcfce7, #bbf7d0); }
.publish-gift-visual img { width: 100%; height: 190px; object-fit: cover; }
.publish-gift-visual em { position: absolute; top: 7px; left: 7px; padding: 3px 6px; border-radius: 999px; color: #fff; background: rgba(15, 23, 42, .72); font-size: 10px; font-style: normal; }
.publish-gift-card > strong { color: #172033; font-size: 14px; }
.publish-gift-card > small { color: #64748b; }
.publish-gift-card > i { align-self: flex-end; padding: 5px 11px; border-radius: 6px; color: #fff; background: #2563eb; font-style: normal; font-weight: 800; }
.publish-gift-flow { padding: 18px; border: 1px solid #dbeafe; border-radius: 10px; background: #f8fbff; }
.publish-gift-flow > strong { display: block; margin-bottom: 14px; font-size: 17px; }
.publish-gift-flow ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0 0 14px; padding: 0; gap: 8px; list-style: none; }
.publish-gift-flow li { position: relative; padding: 12px 10px 10px 44px; border-radius: 8px; background: #fff; }
.publish-gift-flow li > b { position: absolute; top: 12px; left: 10px; display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; color: #fff; background: #2563eb; }
.publish-gift-flow li span, .publish-gift-flow li small { display: block; }
.publish-gift-flow li span { font-weight: 850; }
.publish-gift-flow li small { margin-top: 4px; color: #64748b; line-height: 1.45; }
.publish-gift-flow > button { padding: 0; border: 0; color: #1d4ed8; background: transparent; cursor: pointer; font-size: 14px; font-weight: 800; text-decoration: underline; }
.gift-picker-modal .merchant-modal-box { width: min(1040px, calc(100vw - 40px)); max-height: calc(100vh - 52px); }
.gift-picker-modal .merchant-modal-body { overflow: auto; background: linear-gradient(135deg, #fffaf5, #f4f8ff); }
.gift-picker-tip { margin: 0 0 16px; color: #64748b; }
.gift-picker-modal .publish-gift-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gift-picker-modal .publish-gift-card { min-height: 315px; }
.gift-tutorial-modal .merchant-modal-box { width: min(1120px, calc(100vw - 40px)); max-height: calc(100vh - 36px); }
.gift-tutorial-modal .merchant-modal-body { overflow: auto; }
.gift-tutorial-modal .merchant-modal-body > p { margin: 0 0 12px; color: #64748b; }
.gift-tutorial-player { height: min(70vh, 720px); overflow: hidden; border-radius: 10px; background: #0f172a; }
.gift-tutorial-player iframe, .gift-tutorial-player video { width: 100%; height: 100%; border: 0; object-fit: contain; }
@media (max-width: 1100px) { .publish-gift-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .publish-gift-flow ol { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .gift-picker-modal .publish-gift-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .publish-gift-mode-line { align-items: flex-start; } .publish-gift-tutorial-link + .publish-gift-radio { width: 100%; margin-left: 53px; } .publish-gift-platform-panel { padding-left: 0; } .publish-gift-selected { width: 100%; min-height: 0; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 10px; } .publish-gift-selected-image { width: 84px; height: 84px; } .publish-gift-selected .publish-gift-change { min-height: 44px; grid-column: 1 / -1; } .publish-gift-visual img { height: 140px; } }

.publish-first-step {
  margin-bottom: 0;
  padding-bottom: 0;
  border: 1px solid #e4e6eb;
}

.publish-first-body {
  gap: 20px;
  padding: 24px 36px 34px;
}

.publish-required-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  min-height: 42px;
}

.publish-required-row > strong {
  min-width: 86px;
  color: #111827;
  font-size: 14px;
  font-weight: 900;
}

.publish-required-row > small {
  color: #0d6efd;
  font-size: 13px;
  line-height: 1.6;
}

.publish-platform-row {
  align-items: flex-start;
}

.publish-platform-line {
  flex: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 22px;
  min-width: 280px;
}

.publish-platform-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  color: #2b3038;
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
}

.publish-platform-option input {
  position: absolute;
  opacity: 0;
}

.publish-platform-dot {
  width: 14px;
  height: 14px;
  border: 1px solid #d1d5db;
  border-radius: 50%;
  background: #fff;
}

.publish-platform-option input:checked + .publish-platform-dot {
  border: 4px solid #0d6efd;
}

.publish-platform-option i {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 5px;
  color: #fff;
  background: #ef4444;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.publish-platform-option[data-platform="jd"] i {
  background: #d71920;
}

.publish-platform-option[data-platform="pdd"] i {
  background: #e02f2f;
}

.publish-platform-option[data-platform="dy"] i {
  background: #111827;
}

.publish-platform-option[data-platform="ks"] i {
  background: #ff6a00;
}

.publish-platform-option[data-platform="xhs"] i {
  background: #ff2442;
}

.publish-platform-option[data-platform="wxshop"] i {
  background: #16a34a;
}

.publish-platform-option[data-platform="1688"] i,
.publish-platform-option[data-platform="xianyu"] i {
  color: #111827;
  background: #ffd54a;
}

.publish-store-select {
  width: 260px;
  height: 38px;
  border: 1px solid #d8dee8;
  border-radius: 0;
  padding: 0 12px;
  color: #111827;
  background: #fff;
  outline: none;
}

.publish-store-picker {
  flex: 1;
  display: grid;
  gap: 10px;
  min-width: 420px;
}

.publish-store-picker-head {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 3px 10px;
  border-radius: 999px;
  color: #0f766e;
  background: #ecfdf5;
  border: 1px solid #bde8df;
  font-size: 13px;
  font-weight: 850;
}

.publish-store-choice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.publish-store-choice {
  position: relative;
  min-width: 240px;
  max-width: 340px;
  min-height: 48px;
  flex: 1 1 240px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  color: #111827;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.publish-store-choice:hover {
  border-color: #9adfdc;
  background: #f7fffe;
}

.publish-store-choice:has(input:checked) {
  border-color: #0d6efd;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, .12);
  background: #f8fbff;
}

.publish-store-choice input {
  position: absolute;
  opacity: 0;
}

.publish-store-choice > span:last-child {
  display: grid;
  gap: 2px;
  line-height: 1.3;
}

.publish-store-choice b {
  font-size: 15px;
  font-weight: 900;
}

.publish-store-choice small {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.publish-store-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: #ef4444;
  font-size: 13px;
  font-weight: 950;
  font-style: normal;
}

.publish-store-icon[data-platform="dy"] {
  background: #111827;
  text-shadow: -1px 0 #25f4ee, 1px 0 #fe2c55;
}

.publish-store-icon[data-platform="jd"] {
  background: #d71920;
}

.publish-store-icon[data-platform="pdd"] {
  background: #e02f2f;
}

.publish-store-icon[data-platform="ks"] {
  background: #ff6a00;
}

.publish-store-icon[data-platform="xhs"] {
  background: #ff2442;
}

.publish-store-icon[data-platform="wxshop"] {
  background: #16a34a;
}

.publish-store-icon[data-platform="1688"],
.publish-store-icon[data-platform="xianyu"] {
  color: #111827;
  background: #ffd54a;
}

.publish-store-empty {
  min-width: 260px;
  width: fit-content;
  padding: 10px 14px;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  color: #ef4444;
  background: #fff8f8;
  font-size: 14px;
  font-weight: 800;
}

.publish-selected-store-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.publish-selected-store-chip b {
  color: #111827;
  font-weight: 900;
}

.publish-selected-store-chip em {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.publish-bind-warning {
  margin: -4px 0 0 116px;
  color: #f00;
  font-size: 14px;
}

.publish-inline-radios,
.publish-mode-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.publish-inline-radios label,
.publish-mode-list label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.publish-inline-radios input,
.publish-mode-list input {
  width: 14px;
  height: 14px;
}

.publish-inline-radios span {
  color: #374151;
  font-weight: 850;
}

.publish-mode-list {
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
}

.publish-mode-list label {
  align-items: flex-start;
}

.publish-mode-list span {
  display: grid;
  gap: 3px;
  color: #374151;
}

.publish-mode-list b {
  color: #111827;
  font-size: 15px;
}

.publish-feature-tag,
.publish-free-service-tag {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin-left: 6px;
  padding: 0 7px;
  border-radius: 999px;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  line-height: 20px;
  vertical-align: middle;
  white-space: nowrap;
}

.publish-feature-tag {
  color: #1d4ed8;
  background: #dbeafe;
}

.publish-free-service-tag {
  border: 1px solid #bbf7d0;
  color: #15803d;
  background: #f0fdf4;
}

.publish-mode-list small {
  color: #0d6efd;
  font-size: 13px;
  line-height: 1.5;
}

.publish-first-actions {
  border-top: 0;
}

.publish-selected-store {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #d8dee8;
  color: #111827;
  background: #f8fafc;
  font-weight: 850;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 16px;
}

.dashboard-layout > *,
.work-grid > * {
  min-width: 0;
}

.hero-card,
.quick-panel,
.sub-panel {
  border: 1px solid #edf0f4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.05);
}

.hero-card {
  min-height: 166px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(60, 22, 22, 0.96)),
    #111827;
}

.hero-card h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.1;
}

.hero-card p {
  max-width: 460px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.health-ring {
  flex: 0 0 auto;
  width: 112px;
  height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, #111827 58%, transparent 60%),
    conic-gradient(#22c55e var(--score), rgba(255, 255, 255, 0.16) 0);
}

.health-ring strong {
  color: #fff;
  font-size: 24px;
}

.health-ring span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

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

.quick-panel button {
  min-height: 72px;
  border: 1px solid #edf0f4;
  border-radius: 12px;
  background: #fbfcfe;
  cursor: pointer;
  text-align: left;
  padding: 13px 14px;
}

.quick-panel button:hover {
  border-color: #f4b0b0;
  background: #fff7f7;
}

.quick-panel span {
  display: block;
  margin-bottom: 8px;
  color: #98a2b3;
  font-size: 12px;
}

.quick-panel b {
  color: #111827;
  font-size: 16px;
}

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

.mini-box {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 18px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: #fff;
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.08);
}

.mini-box span {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

.mini-box b {
  font-size: 26px;
}

.mini-box small {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
}

.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 16px;
}

.sub-panel {
  padding: 18px;
}

.progress-list {
  display: grid;
  gap: 18px;
}

.progress-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  color: #344054;
}

.progress-list span {
  font-weight: 700;
}

.progress-list b {
  color: #667085;
}

.progress-list em {
  grid-column: span 2;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef2f6;
}

.progress-list em::before {
  content: "";
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ef4444, #f59e0b);
}

.mt-16 {
  margin-top: 16px;
}

.panel-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 18px;
  padding: 18px;
  border: 1px solid #edf0f4;
  border-radius: 14px;
  background: #fbfcfe;
}

.compact-form {
  grid-template-columns: repeat(3, minmax(180px, 260px));
  align-items: end;
}

.panel-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #344054;
  font-size: 13px;
}

.panel-form label span {
  font-weight: 700;
}

.panel-form input,
.panel-form select,
.panel-form textarea {
  width: 100%;
  min-height: 38px;
  border: 1px solid #d8dee8;
  border-radius: 9px;
  padding: 0 12px;
  color: #111827;
  background: #fff;
  outline: 0;
  font-size: 13px;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.03);
}

.panel-form textarea {
  padding: 9px 10px;
  resize: vertical;
}

.panel-form input:focus,
.panel-form select:focus,
.panel-form textarea:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

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

.form-actions {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.primary-small {
  min-width: 92px;
  height: 38px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #ef4444, #f97316);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 12px 22px rgba(239, 68, 68, 0.22);
}

.primary-small:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.cols-4 {
  grid-template-columns: 120px 1fr 120px 160px;
}

.cols-5 {
  grid-template-columns: 160px 120px 1fr 120px 140px;
}

.cols-6 {
  grid-template-columns: 1fr 160px 120px 120px 110px 180px;
}

.store-cols {
  grid-template-columns: minmax(130px, 1fr) 88px minmax(150px, 1.25fr) 112px 112px minmax(150px, 1.2fr) 112px;
}

.data-row {
  color: #344054;
  background: #fff;
}

.data-row:hover {
  background: #fffafa;
}

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

.row-actions button {
  min-width: 46px;
  height: 28px;
  border: 1px solid #e5e7eb;
  border-radius: 7px;
  color: #344054;
  background: #fff;
  cursor: pointer;
  font-size: 12px;
}

.row-actions button:hover {
  color: #ef4444;
  border-color: #f2c5c5;
  background: #fff7f7;
}

.row-actions button:disabled {
  cursor: not-allowed;
  color: #98a2b3;
  background: #f5f7fa;
  border-color: #eaecf0;
}

.publish-page,
.recharge-page {
  color: #120d09;
}

.publish-step-list {
  display: flex;
  align-items: stretch;
  min-height: 42px;
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid #dadde3;
  background: #ebecee;
}

.publish-step-list li {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 700;
  color: #343434;
}

.publish-step-list li + li {
  border-left: 1px solid #d3d6db;
}

.publish-step-list li span {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #343434;
  background: #fff;
  font-size: 12px;
}

.publish-step-list li.active {
  color: #fff;
  background: #2e2e2e;
}

.publish-step-list li.active span {
  color: #2e2e2e;
}

.publish-step-list li.done {
  color: #120d09;
  background: #fff;
}

.publish-step-list li.done span {
  color: #fff;
  background: #198754;
}

.publish-form,
.pay-submit-form {
  display: grid;
  gap: 16px;
}

.publish-pane {
  display: none;
  gap: 16px;
}

.publish-pane.is-active {
  display: grid;
}

.xx-panel {
  border: 1px solid #e4e6eb;
  background: #fff;
}

.xx-title {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  color: #fff;
  background: #2e2e2e;
}

.xx-title strong {
  font-size: 15px;
  font-weight: 700;
}

.xx-title small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.xx-body {
  padding: 18px;
}

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

.platform-wheel {
  display: grid;
  grid-template-columns: repeat(6, minmax(112px, 1fr));
  gap: 10px;
}

.platform-card,
.choice-card,
.mode-list label {
  position: relative;
  display: flex;
  gap: 12px;
  cursor: pointer;
}

.platform-card input,
.choice-card input,
.mode-list input {
  position: absolute;
  opacity: 0;
}

.platform-card span,
.choice-card span,
.mode-list span {
  width: 100%;
  min-height: 74px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid #dcdfe6;
  color: #69707a;
  background: #fff;
}

.platform-card span {
  min-height: 92px;
  align-items: center;
  text-align: center;
  border-radius: 8px;
}

.platform-card input:checked + span,
.choice-card input:checked + span,
.mode-list input:checked + span {
  color: #120d09;
  border-color: #59544f;
  background: #fbf6f6;
  box-shadow: inset 4px 0 0 #ef4444;
}

.platform-card input:checked + span {
  background: #111827;
  color: #fff;
  box-shadow: inset 0 -4px 0 #ef4444;
}

.platform-card input:checked + span b,
.platform-card input:checked + span em {
  color: #fff;
}

.platform-card b,
.choice-card b,
.mode-list b {
  font-size: 14px;
  color: #120d09;
}

.platform-card em,
.choice-card em,
.mode-list em {
  font-style: normal;
  font-size: 12px;
  line-height: 1.55;
  color: #69707a;
}

.store-form {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.store-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid #edf0f4;
  border-radius: 12px;
  background: #fbfcfe;
}

.store-page-head strong {
  display: block;
  margin-bottom: 6px;
  color: #120d09;
  font-size: 17px;
}

.store-page-head span {
  color: #69707a;
  font-size: 13px;
}

.store-status-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  white-space: normal !important;
  line-height: 1.45;
}

.store-status-cell b {
  font-size: 13px;
}

.store-status-cell small {
  color: #f00;
  font-size: 12px;
}

.store-management-v2 {
  min-width: 0;
}

.store-management-v2 .simple-table {
  overflow-x: auto;
}

.store-management-v2 .table-row {
  min-width: 900px;
}

.store-management-v2 .table-row > span {
  padding: 10px 12px;
}

.store-link-cell a,
.store-detail-grid a {
  color: #2563eb;
  text-decoration: none;
}

.store-link-cell a:hover,
.store-detail-grid a:hover {
  text-decoration: underline;
}

.store-friendly-empty,
.store-proof-empty {
  color: #98a2b3;
  font-size: 12px;
}

.store-platform-note {
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: normal !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.store-review-tag {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.store-review-tag--pending {
  border-color: #fed7aa;
  color: #9a5700;
  background: #fff7ed;
}

.store-review-tag--success {
  border-color: #b7e4d4;
  color: #087d5f;
  background: #eefaf5;
}

.store-review-tag--danger {
  border-color: #fecaca;
  color: #b42318;
  background: #fff1f0;
}

.store-proof-cell {
  display: flex;
  align-items: center;
}

.store-proof-preview {
  position: relative;
  width: 96px;
  height: 54px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  padding: 0;
  background: #f8fafc;
  color: #667085;
  cursor: zoom-in;
}

.store-proof-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-proof-preview:hover {
  border-color: #2563eb;
}

.store-proof-error {
  position: relative;
  z-index: 1;
  padding: 4px;
  color: #b42318;
  font-size: 12px;
  line-height: 1.3;
  background: #fff1f0;
}

.store-detail-modal .merchant-modal-box {
  width: min(720px, calc(100vw - 32px));
}

.store-detail-content {
  display: grid;
  gap: 20px;
}

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

.store-detail-grid > div {
  min-width: 0;
  padding: 12px;
  border: 1px solid #e5eaf2;
  border-radius: 8px;
  background: #f8fafc;
}

.store-detail-grid .store-detail-wide {
  grid-column: 1 / -1;
}

.store-detail-grid span,
.store-detail-grid strong {
  display: block;
}

.store-detail-grid span {
  margin-bottom: 5px;
  color: #667085;
  font-size: 12px;
}

.store-detail-grid strong {
  overflow-wrap: anywhere;
  color: #1d2939;
  font-size: 14px;
}

.store-detail-proof-section h3 {
  margin: 0 0 10px;
  font-size: 15px;
}

.store-detail-proof {
  display: flex;
  align-items: center;
  gap: 12px;
}

.store-detail-proof .store-proof-preview {
  width: 160px;
  height: 108px;
}

.store-detail-proof > span,
.store-detail-proof-empty {
  color: #667085;
  font-size: 13px;
}

.store-detail-proof-empty {
  display: grid;
  min-height: 96px;
  place-items: center;
  border: 1px dashed #d0d5dd;
  border-radius: 8px;
  background: #f8fafc;
}

.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(17, 24, 39, 0.48);
}

.store-bind-dialog {
  width: min(720px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(17, 24, 39, 0.24);
}

.store-modal-head {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  color: #fff;
  background: #2e2e2e;
}

.store-modal-head strong,
.store-modal-head span {
  display: block;
}

.store-modal-head span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.store-modal-head button {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 20px;
}

.store-bind-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 18px;
}

.store-bind-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.store-bind-field > label,
.store-bind-field .field-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}

.store-bind-form input,
.store-bind-form select {
  width: 100%;
  min-height: 38px;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  padding: 0 11px;
  color: #111827;
  background: #fff;
  outline: 0;
}

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

.upload-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  align-items: stretch;
}

.upload-tile {
  position: relative;
  min-height: 122px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px !important;
  overflow: hidden;
  border: 1px dashed #c8d0dc;
  border-radius: 8px;
  color: #69707a;
  background: #f8fafc;
  background-position: center;
  background-size: cover;
  text-align: center;
  cursor: pointer;
}

.upload-tile.has-upload,
.upload-tile.is-uploading {
  border-color: #2f45d9;
  background-color: #f4f6ff;
}

.upload-tile.upload-failed {
  border-color: #d92d20;
  background: #fff8f7;
}

.upload-tile input {
  display: none;
}

.upload-tile b {
  position: relative;
  z-index: 2;
  color: #ef4444;
  font-size: 30px;
  line-height: 1;
}

.upload-tile em {
  position: relative;
  z-index: 2;
  font-style: normal;
  font-size: 12px;
}

.upload-tile .upload-thumb-preview {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  pointer-events: none;
  background: #eef1f6;
}

.upload-tile.has-inline-upload-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.52));
  pointer-events: none;
}

.upload-tile.has-inline-upload-preview b {
  display: none;
}

.upload-tile.has-inline-upload-preview em {
  max-width: calc(100% - 12px);
  border-radius: 4px;
  padding: 2px 6px;
  color: #fff;
  background: rgba(17, 24, 39, 0.66);
}

.upload-tile .upload-status-line {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 7px;
  z-index: 3;
  width: auto;
  margin-top: 0;
  grid-template-columns: 1fr auto;
  color: #667085;
}

.upload-tile .upload-status-line span {
  color: inherit;
}

.upload-tile .upload-status-line b {
  display: inline;
  color: #2f45d9;
  font-size: 12px;
}

.upload-tile.has-inline-upload-preview .upload-status-line {
  color: #fff;
}

.upload-tile.has-inline-upload-preview .upload-status-line b {
  color: #fff;
}

.upload-tile .upload-view-btn {
  border-color: rgba(255, 255, 255, 0.86);
  color: #fff;
  background: rgba(17, 24, 39, 0.74);
}

.example-shot {
  position: relative;
  display: block;
  width: min(240px, 100%);
  height: 134px;
  min-width: 0;
  min-height: 0;
  justify-self: start;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e4e6eb;
  border-radius: 8px;
  background: #eef2f7;
  box-shadow: none;
  cursor: zoom-in;
}

.example-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #fff;
}

.example-shot:hover,
.example-shot:focus-visible {
  border-color: #2563eb;
  outline: 2px solid rgba(37, 99, 235, 0.18);
  outline-offset: 2px;
}

.upload-tip {
  color: #f00;
  font-size: 12px;
}

.store-modal-actions {
  grid-column: span 2;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 4px;
}

.commission-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  min-width: 0;
  color: #120d09;
  background: #fff;
}

.commission-page > * {
  min-width: 0;
}

.commission-title-box {
  padding: 0 0 18px;
  border-bottom: 1px solid #e6e6e6;
  font-size: 24px;
  font-weight: 800;
}

.commission-note {
  padding: 8px 0 4px;
  border: 0;
}

.commission-note p {
  margin: 6px 0;
  color: #120d09;
  font-size: 15px;
  line-height: 1.9;
}

.commission-note b {
  color: #f00;
}

.commission-tab-shell {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  background: #fff;
}

.commission-arrow {
  width: 24px;
  height: 56px;
  border: 0;
  color: #b5b8bf;
  background: transparent;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.commission-tabs {
  flex: 1;
  display: flex;
  min-width: 0;
  overflow-x: auto;
  background: #f5f6fa;
  scrollbar-width: thin;
}

.commission-tab {
  flex: 0 0 auto;
  min-height: 56px;
  border: 0;
  border-radius: 0;
  padding: 0 22px;
  color: #343434;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.commission-tab.is-active {
  color: #111;
  background: #eceff5;
}

.commission-table-card {
  min-width: 0;
  background: #fff;
}

.commission-table {
  width: 100%;
  min-width: 0;
  border: 1px solid #dadde2;
  border-radius: 0;
  overflow: visible;
}

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

.commission-table .table-row {
  min-height: 58px;
  border-bottom-color: #dadde2;
}

.commission-table .table-head {
  min-height: 56px;
  background: #f2f2f2;
}

.commission-table .table-row span {
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #dadde2;
  text-align: center;
}

.commission-table .table-row span:last-child {
  border-right: 0;
}

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

.publish-grid.compact {
  grid-template-columns: repeat(3, minmax(180px, 260px));
}

.publish-grid label,
.pay-submit-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: #69707a;
  font-weight: 700;
}

.publish-grid input,
.publish-grid select,
.publish-grid textarea,
.pay-submit-form input {
  width: 100%;
  min-height: 38px;
  border: 1px solid #dcdfe6;
  border-radius: 0;
  padding: 0 11px;
  color: #120d09;
  background: #fff;
  font-size: 13px;
  outline: none;
}

.publish-grid textarea {
  padding: 10px 11px;
  resize: vertical;
}

.publish-grid input:focus,
.publish-grid select:focus,
.publish-grid textarea:focus,
.pay-submit-form input:focus {
  border-color: #2f41cd;
  box-shadow: 0 0 0 3px rgba(47, 65, 205, 0.08);
}

.mode-list {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #e4e6eb;
  background: #f8f8f8;
}

.mode-list span {
  min-height: 62px;
}

.goods-rule-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 40px;
  margin-bottom: 14px;
  align-items: center;
  padding: 0 18px;
  color: #fff;
  background: #2e2e2e;
  font-weight: 700;
}

.textarea-grid {
  grid-template-columns: repeat(2, minmax(240px, 1fr));
}

.publish-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid #e4e6eb;
  background: #fff;
}

.publish-footer div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.publish-footer b {
  color: #120d09;
  font-size: 14px;
}

.publish-footer span {
  color: #69707a;
  font-size: 12px;
}

.publish-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-height: 58px;
  padding: 12px 16px;
  border: 1px solid #e4e6eb;
  background: #fff;
}

.publish-actions span {
  flex: 1;
  color: #69707a;
  font-size: 13px;
  line-height: 1.6;
}

.pay-confirm-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(320px, 1fr);
  gap: 16px;
}

.payment-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 180px;
  padding: 22px;
  color: #fff;
  background: linear-gradient(135deg, #111827, #263238);
}

.payment-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.payment-card strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 34px;
}

.payment-card em {
  font-style: normal;
}

.payment-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

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

.pay-breakdown div {
  min-height: 112px;
  padding: 16px;
  border: 1px solid #e4e6eb;
  background: #fbfcfe;
}

.pay-breakdown span {
  display: block;
  margin-bottom: 12px;
  color: #69707a;
  font-size: 12px;
  font-weight: 700;
}

.pay-breakdown b {
  color: #120d09;
  font-size: 20px;
}

.publish-complete {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 42px;
  border: 1px solid #e4e6eb;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.04), rgba(239, 68, 68, 0.06)),
    #fff;
}

.publish-complete > span {
  width: fit-content;
  padding: 6px 10px;
  color: #fff;
  background: #198754;
  font-size: 12px;
  font-weight: 800;
}

.publish-complete h2 {
  margin: 0;
  font-size: 28px;
}

.publish-complete p {
  max-width: 560px;
  margin: 0;
  color: #69707a;
  line-height: 1.8;
}

.publish-complete div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.publish-complete a {
  text-decoration: none;
}

.publish-reference-page {
  background: #fff;
}

.publish-titlebar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 14px;
  margin-bottom: 10px;
  border-bottom: 1px solid #dadde2;
}

.publish-titlebar strong {
  font-size: 20px;
  color: #000;
}

.tutorial-link {
  border: 0;
  color: #2f41cd;
  background: transparent;
  font-size: 13px;
}

.publish-long-pane {
  gap: 24px;
}

.publish-ref-section {
  border-bottom: 1px solid #e4e6eb;
  padding-bottom: 20px;
}

.publish-dark-title {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 46px;
  color: #fff;
  background: #2d2d2d;
  font-size: 18px;
  font-weight: 700;
}

.publish-ref-body {
  display: grid;
  gap: 18px;
  padding: 24px 30px 0;
}

.ref-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 32px;
}

.ref-row > label:first-child {
  width: 230px;
  display: inline-flex;
  justify-content: flex-end;
  gap: 6px;
  color: #120d09;
  font-weight: 800;
}

.ref-row input,
.ref-row select,
.remark-field textarea,
.task-rule-body input,
.task-rule-body select {
  height: 32px;
  border: 1px solid #d8dee8;
  border-radius: 0;
  padding: 0 12px;
  color: #120d09;
  background: #fff;
  outline: 0;
}

.ref-row input:not(.short-input):not(.mid-input):not(.mini-input):not(.long-input) {
  width: 400px;
}

.ref-row.publish-gift-mode .publish-gift-radio input[type="radio"] {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  flex-basis: 16px;
  padding: 0;
}

.short-input {
  width: 90px;
}

.mini-input {
  width: 72px;
}

.mid-input {
  width: 180px;
}

.long-input {
  width: 320px;
}

.ref-row small,
.ref-actions span,
.task-rule-card small,
.value-service-list small {
  color: #8a93a1;
  line-height: 1.6;
}

.ref-row b {
  color: #f00;
}

.req,
.opt {
  display: inline-flex;
  align-items: center;
  height: 18px;
  border: 1px solid currentColor;
  border-radius: 4px;
  padding: 0 3px;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.req {
  color: #f00;
}

.opt {
  color: #667085;
}

.ref-upload-row {
  align-items: flex-start;
}

.ref-upload {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex !important;
  align-items: center;
  justify-content: center !important;
  border: 1px solid #d8dee8;
  color: #8792a2;
  cursor: pointer;
}

.ref-upload.has-upload,
.ref-upload.is-uploading {
  border-color: #2f45d9;
  background: #f4f6ff;
}

.ref-upload.has-inline-upload-preview,
.feedback-upload-tile.has-inline-upload-preview {
  background-position: center;
  background-size: cover;
}

.ref-upload .upload-thumb-preview,
.feedback-upload-tile .upload-thumb-preview {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  pointer-events: none;
  background: #eef1f6;
}

.ref-upload.has-inline-video-preview .upload-thumb-preview,
.feedback-upload-tile.has-inline-video-preview .upload-thumb-preview {
  background: #111827;
}

.upload-video-badge {
  position: absolute;
  left: 6px;
  top: 6px;
  z-index: 2;
  border-radius: 4px;
  padding: 2px 6px;
  color: #fff;
  background: rgba(17, 24, 39, 0.72);
  font-size: 12px;
  font-weight: 800;
  pointer-events: none;
}

.ref-upload.has-inline-upload-preview::before,
.feedback-upload-tile.has-inline-upload-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.48));
  pointer-events: none;
}

.ref-upload.has-inline-upload-preview b,
.feedback-upload-tile.has-inline-upload-preview b {
  display: none;
}

.ref-upload.upload-failed {
  border-color: #d92d20;
  background: #fff8f7;
}

.ref-upload input {
  display: none;
}

.ref-upload b {
  position: relative;
  z-index: 2;
  color: #8792a2;
  font-size: 36px;
  font-weight: 300;
}

.ref-upload em {
  position: relative;
  z-index: 2;
  color: #8792a2;
  font-style: normal;
  font-size: 12px;
}

.ref-upload.has-inline-upload-preview em,
.feedback-upload-tile.has-inline-upload-preview em {
  max-width: calc(100% - 10px);
  border-radius: 4px;
  padding: 2px 6px;
  color: #fff;
  background: rgba(17, 24, 39, 0.62);
}

.ref-upload .upload-status-line {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 5px;
  z-index: 3;
  width: auto;
  margin-top: 0;
  grid-template-columns: 1fr;
}

.ref-upload .upload-status-line span,
.ref-upload .upload-status-line b {
  display: none;
}

.product-image-uploader {
  position: relative;
  width: 144px;
  height: 144px;
  flex: 0 0 144px;
}

.product-image-uploader .product-image-select {
  position: relative;
  width: 144px;
  height: 144px;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--lx-color-border, #d8dee8);
  border-radius: 6px;
  background: #fff;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.product-image-uploader .product-image-select:hover,
.product-image-uploader .product-image-select:focus-within {
  border-color: var(--lx-color-primary, #2563eb);
  box-shadow: 0 0 0 3px var(--lx-color-focus-ring, rgba(37, 99, 235, 0.16));
}

.product-image-uploader .product-image-empty {
  display: grid;
  place-items: center;
  gap: 8px;
  color: var(--lx-color-text-tertiary, #667085);
}

.product-image-uploader .product-image-empty .lx-upload__icon {
  width: 36px;
  height: 36px;
  color: var(--lx-color-primary, #2563eb);
  font-size: 24px;
}

.product-image-uploader .product-image-empty em {
  color: var(--lx-color-text-secondary, #475467);
  font-size: 13px;
  font-weight: 500;
}

.product-image-uploader.has-image .product-image-empty {
  display: none;
}

.product-image-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.product-image-thumb[hidden] {
  display: none;
}

.publish-image-actions {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  background: rgba(17, 24, 39, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease;
}

.publish-image-actions[hidden] {
  display: none;
}

.product-image-uploader.has-image:not(.is-uploading):hover .publish-image-actions,
.product-image-uploader.has-image:not(.is-uploading):focus-within .publish-image-actions {
  opacity: 1;
}

.publish-image-action {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: #fff;
  background: rgba(17, 24, 39, 0.18);
  cursor: pointer;
  pointer-events: auto;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.publish-image-action:hover,
.publish-image-action:focus-visible {
  border-color: #fff;
  outline: none;
  background: rgba(37, 99, 235, 0.9);
}

.publish-image-action.is-danger:hover,
.publish-image-action.is-danger:focus-visible {
  background: var(--lx-color-danger, #dc2626);
}

.publish-image-action svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-image-uploader .product-image-select.is-uploading {
  border-color: var(--lx-color-primary, #2563eb);
  background: #fff;
}

.product-image-uploader .product-image-select.is-uploading .product-image-thumb {
  opacity: 0.72;
}

.product-image-uploader .product-image-select .upload-status-line {
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 8px;
  align-items: center;
  padding: 7px 9px;
  border-radius: 5px;
  color: #fff;
  background: rgba(17, 24, 39, 0.76);
  backdrop-filter: blur(2px);
}

.product-image-uploader .product-image-select .upload-status-line span,
.product-image-uploader .product-image-select .upload-status-line b {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-size: 11px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-image-uploader .product-image-select .upload-status-line b {
  font-weight: 700;
}

.product-image-uploader .product-image-select .upload-status-line i {
  grid-column: 1 / -1;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
}

.product-image-uploader .product-image-select .upload-status-line i em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #fff;
}

.product-image-uploader .product-image-select.upload-failed .upload-status-line {
  background: rgba(185, 28, 28, 0.9);
}

@media (hover: none), (pointer: coarse) {
  .product-image-uploader.has-image:not(.is-uploading) .publish-image-actions {
    inset: auto 6px 6px auto;
    gap: 5px;
    width: auto;
    padding: 4px;
    border-radius: 999px;
    opacity: 1;
    background: rgba(17, 24, 39, 0.64);
  }

  .publish-image-action {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 767px) {
  .product-image-uploader,
  .product-image-uploader .product-image-select {
    width: 132px;
    height: 132px;
  }

  .product-image-uploader {
    flex-basis: 132px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-image-uploader .product-image-select,
  .publish-image-actions,
  .publish-image-action {
    transition: none;
  }
}

.product-image-box {
  position: relative;
  width: 118px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8dee8;
  color: #8792a2;
  background: #f8fafc;
  background-position: center;
  background-size: cover;
  text-align: center;
  font-size: 12px;
}

.product-image-box .upload-view-btn {
  position: absolute;
  right: 6px;
  bottom: 6px;
  border-color: rgba(255, 255, 255, 0.82);
  color: #fff;
  background: rgba(17, 24, 39, 0.72);
}

.product-image-box.has-image span {
  padding: 3px 6px;
  color: #fff;
  background: rgba(0, 0, 0, 0.52);
}

.ref-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-left: 30px;
  margin-top: 4px;
}

.extra-products-box,
.task-entry-rows {
  display: grid;
  gap: 8px;
}

.extra-product-row {
  display: grid;
  gap: 0;
  margin: 16px 0 0 78px;
  padding: 22px 0 18px;
  border-top: 1px dashed #d8dee8;
  background: #fff;
}

.extra-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 900px;
  margin-bottom: 8px;
}

.extra-row-top strong {
  color: #344054;
  font-size: 15px;
}

.extra-row-top button {
  width: 80px;
  height: 38px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: #f00;
  font-size: 16px;
  cursor: pointer;
}

.extra-product-row .ref-row {
  padding-left: 0;
}

.extra-product-row .ref-row > label:first-child {
  width: 160px;
}

.extra-product-row .ref-row input:not([type="hidden"]):not([type="file"]) {
  min-width: 0;
}

.extra-product-image-box {
  width: 118px;
  height: 90px;
}

.publish-help-modal {
  width: min(560px, calc(100vw - 40px));
}

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

.upload-preview-list figure {
  margin: 0;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f8fafc;
}

.upload-preview-list img,
.upload-preview-list video {
  display: block;
  width: 100%;
  max-height: 62vh;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.upload-preview-list figcaption {
  margin-top: 8px;
  color: #667085;
  font-size: 13px;
  word-break: break-all;
}

.publish-help-list {
  display: grid;
  gap: 10px;
  color: #344054;
  line-height: 1.8;
}

.publish-help-list p {
  margin: 0;
}

.publish-help-list b {
  color: #2f41cd;
}

.inline-radios,
.entry-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.tight-radios {
  gap: 18px;
}

.inline-radios label,
.entry-tabs label {
  width: auto !important;
  justify-content: flex-start !important;
  gap: 6px;
  font-weight: 500 !important;
}

.tight-radios label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.tight-radios input[type="radio"] {
  width: 14px !important;
  height: 14px;
  margin: 0;
  padding: 0;
}

.tight-radios span {
  display: inline-flex;
  align-items: center;
}

.entry-tabs span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  height: 34px;
  border: 1px solid #d8dee8;
  background: #fff;
}

.entry-tabs input {
  display: none;
}

.entry-tabs input:checked + span {
  color: #fff;
  background: #595959;
}

.task-rule-card {
  margin-left: 78px;
  border: 1px solid #aeb4c0;
}

.task-rule-head {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: #eef2ff;
}

.task-rule-body {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
  padding: 20px;
}

.task-rule-body label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.task-entry-row {
  position: relative;
  border-top: 1px solid #e5e7ef;
}

.task-entry-main {
  border-top: 0;
}

.task-entry-extra {
  padding-right: 86px;
}

.task-entry-row input,
.task-entry-row select {
  height: 34px;
  min-width: 0;
  border: 1px solid #d8dee8;
  border-radius: 0;
  padding: 0 10px;
  background: #fff;
}

.task-entry-row label:first-child input {
  width: min(360px, 42vw);
}

.task-entry-row select {
  width: 74px;
}

.task-entry-row label:last-of-type input {
  width: 160px;
}

.task-row-remove {
  position: absolute;
  right: 18px;
  top: 20px;
  height: 32px;
  border: 1px solid #ffd1d1;
  color: #f00;
  background: #fff;
}

.task-row-actions {
  display: flex;
  gap: 18px;
  padding: 12px;
  border-top: 1px solid #d8dee8;
}

.task-row-actions button {
  border: 0;
  color: #2f41cd;
  background: transparent;
}

.task-row-actions button + button {
  color: #f00;
}

.feedback-options,
.value-service-list {
  display: grid;
  gap: 0;
  padding-top: 10px;
}

.value-service-hint {
  margin-bottom: 8px;
  padding: 10px 12px;
  border: 1px solid #edf0f5;
  color: #667085;
  background: #fbfcff;
  font-size: 13px;
}

.feedback-option-row {
  display: grid;
  border-top: 1px solid #d8dee8;
  border-left: 1px solid #a9afbd;
  border-right: 1px solid #a9afbd;
  background: #fff;
}

.feedback-option-row:last-child {
  border-bottom: 1px solid #a9afbd;
}

.feedback-option-main,
.value-service-main {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: #eef2ff;
}

.feedback-option-main input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0 8px 0 0;
}

.feedback-option-main span {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: #30343b;
  font-size: 16px;
  font-weight: 800;
}

.feedback-option-main em {
  color: #8a93a3;
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
}

.feedback-option-main em b,
.feedback-option-main em strong {
  color: #f00;
}

.feedback-option-detail {
  display: grid;
  gap: 0;
  background: #fff;
}

.feedback-option-detail[hidden] {
  display: none;
}

.feedback-entry-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  min-height: 96px;
  padding: 22px 32px;
  background: #fafafa;
  border-top: 1px solid #d8dee8;
}

.feedback-entry-line label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #30343b;
  font-size: 16px;
  font-weight: 800;
}

.feedback-entry-line input,
.feedback-entry-line select {
  width: 220px;
  height: 38px;
  border: 1px solid #d8dee8;
  border-radius: 0;
  padding: 0 12px;
  background: #fff;
}

.feedback-entry-line select {
  width: 88px;
}

.feedback-content-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 0 32px;
  color: #667085;
  font-size: 16px;
  font-weight: 800;
}

.feedback-content-box {
  display: grid;
  grid-template-columns: 64px minmax(320px, 1fr);
  gap: 28px;
  padding: 28px 32px 34px;
  background: #f8f9ff;
}

.feedback-content-box > b {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #3241dc;
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.feedback-content-fields {
  display: grid;
  gap: 18px;
  max-width: 860px;
}

.feedback-text-field {
  display: grid;
  grid-template-columns: 200px minmax(320px, 1fr);
  gap: 16px;
  align-items: start;
}

.feedback-content-fields > span,
.feedback-text-field > span {
  color: #667085;
  font-size: 17px;
  font-weight: 800;
}

.feedback-text-field textarea,
.feedback-spec-field input {
  width: 100%;
  border: 1px solid #d8dee8;
  border-radius: 4px;
  padding: 10px 12px;
  background: #fff;
}

.feedback-text-field textarea {
  min-height: 96px;
  resize: vertical;
}

.feedback-spec-field {
  display: grid;
  grid-template-columns: 260px minmax(360px, 1fr);
  gap: 10px 18px;
  align-items: center;
  color: #667085;
  font-size: 16px;
  font-weight: 800;
}

.feedback-spec-field em {
  grid-column: 2;
  color: #8a93a3;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
}

.feedback-media-row {
  display: grid;
  grid-template-columns: 120px minmax(320px, 1fr);
  gap: 12px 18px;
  align-items: start;
}

.feedback-media-row > span {
  padding-top: 14px;
  color: #30343b;
  font-size: 16px;
  font-weight: 800;
}

.feedback-upload-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
}

.feedback-upload-row small,
.feedback-media-row > small {
  width: 100%;
  color: #8a93a3;
  font-size: 14px;
}

.feedback-upload-tile {
  position: relative;
  width: 96px;
  height: 96px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  border: 1px solid #d8dee8;
  border-radius: 4px;
  background: #fbfcff;
  color: #8a93a3;
  cursor: pointer;
}

.feedback-upload-tile.has-upload {
  border-color: #2f45d9;
  background: #f4f6ff;
}

.feedback-upload-tile.is-uploading {
  border-color: #2f45d9;
}

.feedback-upload-tile.upload-failed {
  border-color: #d92d20;
  background: #fff8f7;
}

.feedback-upload-tile input[type="file"],
.feedback-upload-tile input[type="hidden"] {
  display: none;
}

.feedback-upload-tile b {
  position: relative;
  z-index: 2;
  color: #d0d5dd;
  font-size: 38px;
  font-weight: 300;
  line-height: 1;
}

.feedback-upload-tile em {
  position: relative;
  z-index: 2;
  max-width: 82px;
  overflow: hidden;
  color: #8a93a3;
  font-size: 13px;
  font-style: normal;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feedback-upload-tile .upload-status-line {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 5px;
  z-index: 3;
  width: auto;
  margin-top: 0;
  grid-template-columns: 1fr;
}

.feedback-upload-tile .upload-status-line span,
.feedback-upload-tile .upload-status-line b {
  display: none;
}

.feedback-upload-tile .upload-view-btn {
  position: absolute;
  right: 5px;
  bottom: 5px;
  z-index: 4;
  min-height: 22px;
  padding: 0 7px;
}

.feedback-video-row .feedback-upload-tile {
  width: 104px;
  height: 104px;
}

.value-service-list .value-service-row {
  display: grid;
  min-height: 44px;
  border-bottom: 1px dashed #d8dee8;
  background: #fff;
}

.value-service-main {
  min-height: 44px;
  flex-wrap: wrap;
  background: #fff;
}

.value-service-main input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0 10px 0 0;
}

.value-service-main > span {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-width: 270px;
  color: #30343b;
  font-size: 16px;
  font-weight: 800;
}

.value-service-main > span em {
  color: #6b7280;
  font-style: normal;
  font-size: 14px;
}

.value-service-main > span .publish-free-service-tag {
  min-width: auto;
  color: #15803d;
  font-style: normal;
  font-size: 11px;
}

.value-service-main small {
  color: #f00;
  font-size: 13px;
  line-height: 1.6;
}

.value-service-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px 38px;
  padding: 10px 12px;
  border-left: 3px solid #2f41cd;
  background: #f7f8ff;
}

.value-service-detail[hidden] {
  display: none;
}

.value-service-detail span {
  color: #30343b;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.value-service-detail input,
.value-service-detail select {
  width: 260px;
  height: 32px;
  margin: 0;
  border: 1px solid #d8dee8;
  border-radius: 0;
  padding: 0 10px;
  background: #fff;
}

.publish-schedule {
  display: grid;
  gap: 12px;
  padding-top: 18px;
}

.remark-field {
  display: grid;
  gap: 10px;
}

.remark-field span {
  font-size: 16px;
  font-weight: 800;
}

.remark-field textarea {
  min-height: 88px;
  padding: 12px;
  resize: vertical;
}

.contact-float {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 120;
  display: grid;
  grid-auto-flow: column;
  gap: 10px;
  align-items: end;
  pointer-events: none;
}

.support-modal {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.48);
}

.support-modal[hidden] { display: none; }

.support-dialog {
  width: min(860px, 100%);
  overflow: hidden;
  border: 1px solid #dce5ed;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 72px rgba(15, 23, 42, 0.24);
}

.support-dialog-title { min-height: 54px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px dashed #d8dee8; padding: 0 22px; color: #172026; background: #fff; }
.support-dialog-title strong { font-size: 18px; }
.support-dialog-title button { width: 32px; height: 32px; border: 0; color: #344054; background: transparent; font-size: 25px; line-height: 1; }

.support-dialog-body { display: grid; grid-template-columns: minmax(0, 1fr) 190px; min-width: 0; }
.support-chat-column { min-width: 0; }
.support-self-profile { min-width: 0; border-left: 1px solid #e4e8ef; padding: 20px 14px; color: #344054; background: #fff; text-align: center; }
.support-self-avatar { width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid #c9d8f5; border-radius: 50%; color: #2f41cd; background: #eef4ff; font-size: 18px; font-weight: 850; }
.support-self-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.support-self-kicker { display: block; margin-top: 12px; color: #2f41cd; font-size: 11px; font-weight: 850; }
.support-self-profile h3 { margin: 7px 0 3px; overflow: hidden; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.support-self-profile p { margin: 0; color: #667085; font-size: 11px; }
.support-self-profile dl { margin: 18px 0 0; border-top: 1px solid #eef1f4; text-align: left; }
.support-self-profile dl div { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px solid #eef1f4; padding: 9px 0; }
.support-self-profile dt, .support-self-profile dd { margin: 0; font-size: 11px; }
.support-self-profile dt { color: #98a2b3; }
.support-self-profile dd { overflow: hidden; color: #344054; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.support-self-profile > small { display: block; margin-top: 16px; color: #98a2b3; font-size: 10px; line-height: 1.6; text-align: left; }

.support-dialog-head {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  color: #fff;
  background: #082b3a;
}

.support-agent { display: flex; align-items: center; gap: 12px; }

.support-avatar {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  background: linear-gradient(145deg, #ffe0e7, #ffc1d2 48%, #8fd5e2);
  font-size: 28px;
}

.support-avatar-small { width: 42px; height: 42px; flex: 0 0 auto; border-color: #ccebe8; font-size: 25px; }
.support-avatar img, .support-message.is-agent .support-message-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.support-agent div { display: grid; gap: 2px; }
.support-agent strong { font-size: 17px; }
.support-agent small { color: #b7d7df; font-size: 12px; }
.support-agent-hint { color: #b7d7df; font-size: 12px; }

.support-dialog-head > button {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  color: #fff;
  background: transparent;
  font-size: 25px;
}

.support-status { min-height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 18px; border-bottom: 1px solid #edf1f5; color: #267b72; background: #f3fcfa; font-size: 12px; font-weight: 800; }
.support-status i { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12); }
.support-status span { margin-left: auto; color: #667085; font-weight: 500; }
.support-status .support-live { display: inline-flex; align-items: center; gap: 7px; margin-left: 0; color: #267b72; font-weight: 800; }
.support-status .support-live b { font-size: 12px; }
.support-status .support-service-hours { margin-left: auto; }
.support-end { min-height: 26px; border: 1px solid #c8ddd9; border-radius: 6px; padding: 0 8px; color: #267b72; background: #fff; font-size: 11px; font-weight: 800; }
.support-end:hover { border-color: #2f41cd; color: #2f41cd; }
.support-messages { height: min(420px, 50vh); overflow: auto; display: grid; align-content: start; gap: 16px; padding: 18px; background: #f7f9fb; }
.support-loading, .support-empty { min-height: 170px; display: flex; align-items: center; justify-content: center; gap: 10px; color: #667085; text-align: center; }
.support-empty p { max-width: 380px; margin: 0; line-height: 1.7; }
.support-error { margin: auto; color: #b42318; }
.support-message { max-width: 86%; display: flex; align-items: flex-start; gap: 9px; }
.support-message.is-mine { justify-self: end; flex-direction: row-reverse; }
.support-message-avatar { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; border-radius: 4px; color: #fff; background: #2f41cd; font-size: 12px; font-weight: 850; }
.support-message.is-agent .support-message-avatar { border: 1px solid #f5becf; background: #ffd7e2; font-size: 21px; overflow: hidden; padding: 0; }
.support-message-body { min-width: 0; }
.support-message-body > strong { display: block; margin-bottom: 4px; color: #667085; font-size: 11px; }
.support-message.is-mine .support-message-body > strong, .support-message.is-mine .support-message-body > small { text-align: right; }
.support-bubble { width: fit-content; max-width: 100%; border: 1px solid #e1e7ee; border-radius: 4px 12px 12px 12px; padding: 10px 12px; color: #344054; background: #fff; overflow-wrap: anywhere; }
.support-message.is-mine .support-bubble { margin-left: auto; border-color: #95ec69; border-radius: 4px; color: #1f2329; background: #95ec69; }
.support-bubble p { margin: 0; line-height: 1.6; }
.support-message-body > small { display: block; margin-top: 4px; color: #98a2b3; font-size: 10px; }
.support-date-divider { justify-self: center; margin: 2px 0; color: #9aa0a8; font-size: 12px; text-align: center; }
.support-delivery { display: inline-block !important; margin-left: 6px; color: #0f9f8f !important; }
.support-system-message { justify-self: center; max-width: 80%; padding: 6px 10px; border-radius: 6px; color: #98a2b3; background: #edf1f5; font-size: 11px; text-align: center; }
.support-system-message small { display: block; margin-top: 3px; font-size: 10px; }
.support-typing { padding: 0 18px 8px; color: #0f9f8f; background: #f7f9fb; font-size: 11px; }
.support-image-link { display: block; margin-top: 6px; }
.support-image-link img { display: block; max-width: min(300px, 100%); max-height: 220px; border-radius: 6px; object-fit: contain; }
.support-composer-wrap { border-top: 1px solid #e8edf2; background: #fff; }
.support-tools { min-height: 38px; display: flex; align-items: center; gap: 8px; padding: 8px 14px 0; }
.support-tools button, .support-emoji-row button { border: 1px solid #dce3ea; border-radius: 6px; color: #475467; background: #fff; font-size: 12px; }
.support-tools button { min-height: 28px; padding: 0 9px; }
.support-tools button:hover, .support-emoji-row button:hover { border-color: #2f41cd; color: #2f41cd; }
.support-tools span { max-width: 220px; overflow: hidden; color: #667085; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.support-tools button[data-support-sound] { min-width: 42px; }
.support-emoji-row { display: flex; gap: 6px; padding: 8px 14px 0; }
.support-emoji-row[hidden] { display: none; }
.support-emoji-row button { width: 32px; height: 30px; font-size: 17px; }
.support-composer { display: flex; align-items: flex-end; gap: 10px; padding: 8px 14px 14px; }
.support-composer.is-closed textarea { color: #98a2b3; background: #f8fafc; }

@media (max-width: 560px) {
  .support-modal { padding: 8px; }
  .support-dialog-body { grid-template-columns: 1fr; }
  .support-self-profile { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 0 10px; border-top: 1px solid #e4e8ef; border-left: 0; padding: 10px 12px; text-align: left; }
  .support-self-avatar { grid-row: span 3; width: 44px; height: 44px; }
  .support-self-kicker { margin-top: 0; }
  .support-self-profile h3 { margin: 2px 0; }
  .support-self-profile p { margin: 0; }
  .support-self-profile dl, .support-self-profile > small { display: none; }
  .support-status { flex-wrap: wrap; min-height: 48px; padding: 6px 12px; }
  .support-dialog-title { min-height: 48px; padding: 0 14px; }
  .support-dialog-title strong { font-size: 16px; }
  .support-agent-hint { display: none; }
  .support-status .support-service-hours { margin-left: auto; }
  .support-messages { height: min(52vh, 420px); padding: 12px; }
  .support-composer { gap: 7px; padding: 8px 10px 10px; }
  .support-send { min-width: 54px; padding: 0 10px; }
}
.support-composer textarea { width: 100%; min-height: 46px; resize: none; border: 1px solid #dce3ea; border-radius: 8px; padding: 10px; outline: 0; color: #344054; background: #fff; }
.support-composer textarea:focus { border-color: #2f41cd; box-shadow: 0 0 0 3px rgba(47, 65, 205, 0.12); }
.support-send { min-width: 70px; min-height: 46px; border: 0; border-radius: 8px; color: #fff; background: #2f41cd; font-weight: 850; }
.support-send:disabled { opacity: 0.58; cursor: wait; }

.reference-page-mode .contact-float {
  top: auto;
  right: 12px;
  bottom: 12px;
  transform: none;
  gap: 10px;
}

.reference-page-mode.publish-route-mode .contact-float {
  bottom: 92px;
}

.contact-square {
  width: 64px;
  min-height: 56px;
  display: grid;
  place-items: center;
  gap: 3px;
  border: 1px solid #d4d8df;
  border-radius: 4px;
  color: #2f41cd;
  background: #fff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
  font-size: 12px;
  font-weight: 800;
  position: relative;
  pointer-events: auto;
}

.support-unread-badge { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; padding: 0 4px; color: #fff; background: #ef4444; font-size: 10px; font-style: normal; }

.contact-square span {
  font-size: 24px;
  line-height: 1;
}

.contact-square .support-entry-avatar {
  width: 30px;
  height: 30px;
  display: block;
  overflow: hidden;
  border: 1px solid #f2b9ca;
  border-radius: 50%;
  background: #fff0f4;
  font-size: 0;
}

.contact-square .support-entry-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.contact-square b {
  line-height: 1.25;
}

.contact-square.urgent {
  color: #c1121f;
}

.contact-popover {
  position: absolute;
  right: 0;
  bottom: 68px;
  width: 260px;
  border: 1px solid #d4d8df;
  background: #fff;
  box-shadow: 0 22px 52px rgba(17, 24, 39, 0.18);
  pointer-events: auto;
}

.contact-popover-head {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  color: #fff;
  background: #092331;
}

.contact-popover-head button {
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 20px;
}

.contact-popover-body {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.contact-popover-body p {
  margin: 0 0 4px;
  color: #667085;
}

.contact-popover-body button {
  height: 34px;
  border: 1px solid #d8dee8;
  background: #fff;
  text-align: left;
  padding: 0 10px;
}

.recharge-summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  margin-bottom: 16px;
  border: 1px solid #e4e6eb;
  background: #fff;
}

.recharge-summary span {
  color: #ef4444;
  font-size: 12px;
  font-weight: 700;
}

.recharge-summary h2 {
  margin: 6px 0;
  font-size: 22px;
}

.recharge-summary p,
.recharge-note {
  color: #69707a;
  line-height: 1.7;
}

.wallet-mini {
  min-width: 180px;
  padding: 14px;
  color: #fff;
  background: #2e2e2e;
}

.wallet-mini small,
.wallet-mini em {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
}

.wallet-mini b {
  display: block;
  margin: 6px 0;
  font-size: 28px;
}

.recharge-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(360px, 1.05fr);
  gap: 16px;
}

.step-line {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  color: #120d09;
  font-weight: 700;
}

.step-line b {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #656d80;
  border-radius: 50%;
  color: #656d80;
}

.pay-target {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  align-items: center;
  margin: 12px 0 18px 44px;
}

.pay-target--qr-only {
  display: block;
  width: min(176px, calc(100% - 44px));
}

.recharge-payment-qr-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid #dce4ef;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  cursor: zoom-in;
}

.recharge-payment-qr-button:hover,
.recharge-payment-qr-button:focus-visible {
  border-color: #2563eb;
  outline: 2px solid rgba(37, 99, 235, 0.18);
  outline-offset: 2px;
}

.recharge-payment-qr {
  display: block;
  width: 100%;
  height: auto;
}

.pay-submit-form {
  padding: 18px;
}

.danger-tip {
  margin: 0;
  color: #f00;
  font-size: 13px;
  line-height: 1.7;
}

.recharge-table {
  padding: 0;
  border: 0;
  overflow-x: auto;
}

.recharge-record-row {
  min-width: 800px;
  grid-template-columns: minmax(180px, 1.3fr) 80px 90px 90px 150px minmax(180px, 1.2fr);
}

.recharge-record-row > span {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  line-height: 1.45;
}

.recharge-record-row > span:first-child b,
.recharge-record-row > span:first-child small {
  display: block;
}

.recharge-record-row > span:first-child b {
  overflow-wrap: anywhere;
}

.recharge-review-time {
  color: #667085;
  font-variant-numeric: tabular-nums;
}

.merchant-withdraw-table {
  overflow-x: auto;
}

.merchant-withdraw-row {
  min-width: 1120px;
  grid-template-columns: minmax(205px, 1.1fr) 190px 120px minmax(250px, 1.25fr) 120px 190px;
}

.merchant-withdraw-row > span {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  line-height: 1.45;
}

.merchant-withdraw-id b,
.merchant-withdraw-receiver b,
.merchant-withdraw-receiver small {
  display: block;
}

.merchant-withdraw-id b {
  overflow-wrap: anywhere;
}

.merchant-withdraw-receiver small {
  margin-top: 4px;
  color: #667085;
  overflow-wrap: anywhere;
}

.merchant-withdraw-time {
  font-variant-numeric: tabular-nums;
}

.table-empty {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #98a2b3;
  border-bottom: 0;
}

@media (max-width: 900px) {
  .reference-page-mode {
    min-width: 0;
  }

  .reference-page-mode .fixed-header {
    padding: 0 16px;
  }

  .reference-page-mode .app-main,
  .reference-page-mode.publish-route-mode .app-main {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    padding: 80px 12px 36px;
    overflow-x: visible;
  }

  .reference-page-mode .activity-tabs {
    overflow-x: auto;
    padding: 0;
  }

  .reference-page-mode .activity-tabs button {
    flex: 0 0 110px;
  }

  .reference-page-mode .activity-filter-bar {
    gap: 12px;
    padding: 24px 0 14px;
  }

  .reference-page-mode .activity-filter-bar label,
  .reference-page-mode .activity-filter-bar label:nth-child(7) {
    flex: 1 1 100%;
  }

  .reference-page-mode .activity-filter-bar input,
  .reference-page-mode .activity-filter-bar select,
  .reference-page-mode .activity-filter-bar label:nth-child(5) input,
  .reference-page-mode .activity-filter-bar label:nth-child(6) input,
  .reference-page-mode .activity-filter-bar label:nth-child(7) input {
    min-width: 0;
    width: 100%;
  }

  .reference-page-mode .activity-alerts {
    padding: 8px 0 18px;
    font-size: 13px;
  }

  .reference-page-mode .activity-management-row {
    min-width: 0;
  }

  .reference-page-mode .mission-row-head,
  .reference-page-mode .mission-row-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
  }

  .reference-page-mode .mission-shop-line,
  .reference-page-mode .mission-task-line {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .reference-page-mode .mission-status-block {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 0;
  }

  .reference-page-mode .mission-status-block a {
    min-height: 52px;
    font-size: 12px;
  }

  .reference-page-mode .mission-extra-action {
    justify-content: flex-start;
  }

  .reference-page-mode .contact-float {
    right: 8px;
    bottom: 8px;
    transform: scale(0.84);
    transform-origin: right bottom;
  }

  .reference-page-mode.publish-route-mode .contact-float {
    bottom: 8px;
  }

  .login-page {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 72px;
  }

  .auth-card {
    position: static;
    width: min(240px, calc(100vw - 36px));
  }

  .merchant-body {
    min-width: 0;
    overflow-x: hidden;
  }

  .app-container {
    padding-top: 128px;
    padding-left: 0;
  }

  .fixed-header {
    height: 64px;
    padding: 0 16px;
    gap: 12px;
  }

  .merchant-brand {
    min-width: auto;
  }

  .brand-copy small,
  .header-search {
    display: none;
  }

  .merchant-user {
    gap: 8px;
    font-size: 12px;
  }

  .app-sidebar-container {
    top: 64px;
    left: 0;
    right: 0;
    width: 100%;
    padding: 8px 10px;
    overflow: hidden;
    border-radius: 0;
    background: #fff;
    border-bottom: 1px solid #e5eaf2;
    box-shadow: 0 12px 22px rgba(17, 24, 39, 0.14);
  }

  .sidebar-menu {
    width: 100%;
    max-width: 100%;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .sidebar-menu::-webkit-scrollbar {
    display: none;
  }

  .sidebar-item {
    width: 118px;
    height: 40px;
    margin-bottom: 0;
    flex: 0 0 auto;
    font-size: 13px;
    padding: 0 10px;
  }

  .app-main {
    min-width: 0;
    padding: 16px;
  }

  .summary-heading {
    flex-direction: column;
  }

  .summary-panel h1 {
    font-size: 22px;
  }

  .summary-actions {
    width: 100%;
  }

  .soft-action {
    flex: 1;
  }

  .home-grid,
  .insight-grid,
  .dashboard-layout,
  .work-grid,
  .panel-form,
  .compact-form,
  .store-form,
  .store-bind-form,
  .upload-row,
  .platform-wheel,
  .choice-grid,
  .publish-grid,
  .publish-grid.compact,
  .textarea-grid,
  .pay-confirm-layout,
  .pay-breakdown,
  .recharge-layout {
    grid-template-columns: 1fr;
  }

  .header-principal {
    display: none;
  }

  .store-bind-form .form-wide,
  .store-modal-actions {
    grid-column: span 1;
  }

  .store-page-head,
  .commission-hero,
  .publish-reference-notice,
  .publish-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .commission-rate-card {
    min-width: 0;
  }

  .publish-step-list {
    flex-direction: column;
  }

  .publish-step-list li {
    min-height: 42px;
  }

  .publish-route-mode .publish-step-list {
    width: 100%;
    height: auto;
  }

  .publish-route-mode .publish-step-list li,
  .publish-route-mode .publish-step-list li:first-child {
    clip-path: none;
  }

  .publish-light-title,
  .publish-route-mode .publish-dark-title {
    padding: 10px 14px;
    font-size: 17px;
  }

  .publish-first-body {
    padding: 18px 14px 24px;
  }

  .publish-required-row {
    align-items: flex-start;
  }

  .publish-required-row > strong {
    min-width: 74px;
  }

  .publish-platform-line,
  .publish-mode-list,
  .publish-store-picker,
  .publish-store-choice-list {
    min-width: 0;
    width: 100%;
  }

  .publish-store-picker-head {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .publish-bind-warning {
    margin-left: 0;
  }

  .publish-store-select {
    width: 100%;
  }

  .publish-store-choice {
    width: 100%;
    min-width: 0;
  }

  .publish-step-list li + li {
    border-left: 0;
    border-top: 1px solid #d3d6db;
  }

  .goods-rule-head {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 14px;
  }

  .publish-footer,
  .recharge-summary {
    align-items: stretch;
    flex-direction: column;
  }

  .pay-target {
    grid-template-columns: 1fr;
    margin-left: 0;
  }

  .pay-target--qr-only {
    width: min(176px, 100%);
  }

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

  .summary-cell {
    min-height: 112px;
    grid-template-columns: 36px 1fr;
    column-gap: 10px;
    padding: 14px;
    border-right: 0;
  }

  .metric-icon {
    width: 36px;
    height: 36px;
  }

  .summary-cell b {
    font-size: 22px;
  }

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

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

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

  .simple-table {
    overflow-x: auto;
  }

  .table-row {
    min-width: 680px;
  }

  .commission-cols,
  .store-cols {
    min-width: 760px;
  }
}

@media (max-width: 430px) {
  .login-page {
    padding-top: 58px;
  }

  .auth-card {
    padding: 16px;
  }

  .fixed-header {
    padding: 0 12px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .header-badge {
    display: none;
  }

  .merchant-user {
    gap: 6px;
  }

  .header-wallet {
    display: none;
  }

  .account-button {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .quick-panel {
    grid-template-columns: 1fr;
  }

  .field {
    grid-template-columns: 54px 1fr;
  }

  .code-field {
    grid-template-columns: 54px 1fr;
  }

  .code-btn {
    grid-column: 2;
    height: 38px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

.publish-draft-mark {
  margin-left: 10px;
  color: #7b8494;
  font-size: 12px;
  font-weight: 400;
}

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

.task-rule-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.task-rule-head small {
  color: #6b7280;
  font-size: 12px;
  font-weight: 400;
}

[data-schedule-extra][hidden] {
  display: none !important;
}

@media (max-width: 760px) {
  .refund-mode-grid {
    grid-template-columns: 1fr;
  }
}

.support-emoji-row {
  display: grid;
  grid-template-columns: repeat(8, 34px);
  gap: 6px;
  width: min(338px, calc(100vw - 54px));
  max-height: 142px;
  overflow-y: auto;
  padding: 10px 14px;
  border: 1px solid #dce3ea;
  background: #fff;
  box-shadow: 0 8px 20px rgba(16, 24, 40, .12);
}
.support-emoji-row[hidden] { display: none; }
.support-emoji-row button { width: 34px; height: 34px; padding: 0; font-size: 20px; }
.support-attachment-preview { display: flex; align-items: center; gap: 8px; width: 100%; padding-top: 8px; overflow-x: auto; }
.support-attachment-preview[hidden] { display: none; }
.support-attachment-preview > em { flex: 0 0 auto; color: #667085; font-size: 12px; font-style: normal; }
.support-preview-item { position: relative; display: grid; flex: 0 0 70px; gap: 3px; }
.support-preview-item img { width: 66px; height: 52px; border-radius: 4px; object-fit: cover; }
.support-preview-item small { overflow: hidden; color: #667085; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.support-preview-item button { position: absolute; top: -5px; right: 0; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%; color: #fff; background: #e5484d; }
.support-message-avatar img { width: 100%; height: 100%; border-radius: 4px; object-fit: cover; }
.merchant-repayment-app { color: #17222e; }
.merchant-repayment-app button, .merchant-repayment-app input, .merchant-repayment-app select, .merchant-repayment-app textarea { font: inherit; letter-spacing: 0; }
.merchant-repayment-title { display: flex; gap: 20px; padding: 21px 23px; align-items: center; justify-content: space-between; border: 1px solid #dde5e9; border-radius: 8px; background: #fff; }
.merchant-repayment-title span { color: #0a8e80; font-size: 12px; font-weight: 850; }
.merchant-repayment-title h2 { margin: 4px 0; font-size: 24px; }
.merchant-repayment-title p { margin: 0; color: #74808e; font-size: 13px; }
.merchant-repayment-deadline-alert { margin-top: 13px; padding: 20px 23px; border: 3px solid #dc2626; border-radius: 9px; color: #b91c1c; background: #fff0f0; box-shadow: 0 8px 24px rgba(185, 28, 28, .12); }
.merchant-repayment-deadline-alert strong { display: block; font-size: 28px; font-weight: 950; line-height: 1.25; }
.merchant-repayment-deadline-alert p { margin: 9px 0 0; font-size: 17px; font-weight: 800; line-height: 1.7; }
.merchant-repayment-app button { min-height: 35px; padding: 0 12px; border: 1px solid #d3dde3; border-radius: 6px; color: #33404e; background: #fff; cursor: pointer; }
.merchant-repayment-app button:hover { color: #08796e; border-color: #0f9f8f; }
.merchant-repayment-app button:disabled { color: #9aa4ad; cursor: not-allowed; background: #f0f3f5; }
.merchant-repayment-app .merchant-primary { color: #fff; border-color: #0f9f8f; background: #0f9f8f; font-weight: 800; }
.merchant-repayment-app .merchant-primary:hover { color: #fff; background: #087c70; }
.merchant-repayment-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 11px; margin-top: 13px; }
.merchant-repayment-metrics div { min-width: 0; padding: 17px; border: 1px solid #dfe6ea; border-radius: 7px; border-left-width: 4px; background: #fff; }
.merchant-repayment-metrics b, .merchant-repayment-metrics span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.merchant-repayment-metrics b { font-size: 22px; }
.merchant-repayment-metrics span { margin-top: 5px; color: #7a8592; font-size: 12px; }
.merchant-repayment-metrics .tone-waiting { border-left-color: #df942e; }
.merchant-repayment-metrics .tone-amount { border-left-color: #2d76c9; }
.merchant-repayment-metrics .tone-paid { border-left-color: #26965f; }
.merchant-repayment-metrics .tone-confirm { border-left-color: #0f9f8f; }
.merchant-repayment-metrics .tone-risk { border-left-color: #d34848; }
.merchant-repayment-toolbar { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin-top: 13px; padding: 12px 14px; align-items: center; border: 1px solid #dfe6ea; border-radius: 7px; background: #fff; }
.merchant-repayment-tabs { display: flex; gap: 5px; overflow-x: auto; }
.merchant-repayment-tabs button { white-space: nowrap; }
.merchant-repayment-tabs button.is-active { color: #087d71; border-color: #9cd7cc; background: #e8f7f4; font-weight: 800; }
#merchantRepaymentSearch { display: flex; gap: 6px; }
#merchantRepaymentSearch input { width: 270px; height: 36px; padding: 0 10px; border: 1px solid #d5dee4; border-radius: 5px; }
.merchant-repayment-table { margin-top: 13px; overflow: hidden; border: 1px solid #dce4e9; border-radius: 7px; background: #fff; }
.merchant-repayment-head, .merchant-repayment-row { display: grid; grid-template-columns: 1.25fr 1.35fr .9fr .8fr 1fr .75fr 1.15fr; gap: 10px; align-items: center; }
.merchant-repayment-head { min-height: 45px; padding: 0 15px; color: #697685; background: #f2f5f7; font-size: 12px; font-weight: 800; }
.merchant-repayment-row { min-height: 92px; padding: 13px 15px; border-top: 1px solid #e4e9ec; }
.merchant-repayment-row > div { min-width: 0; }
.merchant-repayment-row b, .merchant-repayment-row strong, .merchant-repayment-row span, .merchant-repayment-row small, .merchant-repayment-row time { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.merchant-repayment-task b { color: #24313e; font-size: 12px; }
.merchant-repayment-task span, .merchant-repayment-product span, .merchant-repayment-collection span { margin-top: 5px; color: #687686; font-size: 12px; }
.merchant-repayment-row small { margin-top: 4px; color: #929ba4; font-size: 10px; }
.merchant-repayment-product strong { color: #202c38; font-size: 13px; }
.merchant-repayment-money span { color: #657281; font-size: 12px; }
.merchant-repayment-money b { margin-top: 6px; color: #ce4a38; font-size: 14px; }
.merchant-repayment-deadline time { color: #5f6b78; font-size: 11px; }
.merchant-repayment-deadline span { margin-top: 5px; color: #cb7525; font-size: 11px; }
.merchant-repayment-deadline span.is-overdue { color: #c73838; }
.repayment-status { display: inline-flex !important; padding: 5px 8px; border-radius: 4px; color: #2a6f63; background: #e4f3f0; font-size: 11px; font-style: normal; }
.repayment-status.status-overdue, .repayment-status.status-disputed { color: #b83434; background: #ffebeb; }
.repayment-status.status-waiting_user_confirm { color: #8d5c19; background: #fff2d9; }
.merchant-repayment-row > footer { display: flex; flex-wrap: wrap; gap: 5px; }
.merchant-repayment-row footer button { min-height: 30px; padding: 0 8px; font-size: 11px; }
.merchant-repayment-empty, .merchant-repayment-loading { min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; margin-top: 13px; border: 1px dashed #cad5dc; border-radius: 7px; color: #788491; background: #fff; }
.merchant-repayment-empty strong { color: #2a3643; font-size: 16px; }
.merchant-repayment-modal { position: fixed; z-index: 1900; inset: 0; display: grid; padding: 26px; place-items: center; background: rgba(12, 22, 31, .62); }
.merchant-repayment-dialog { width: min(820px, 100%); max-height: calc(100vh - 52px); overflow: auto; border-radius: 8px; background: #fff; box-shadow: 0 28px 80px rgba(0, 0, 0, .3); }
.merchant-repayment-dialog > header { position: sticky; top: 0; z-index: 3; display: flex; padding: 18px 21px; align-items: center; justify-content: space-between; border-bottom: 1px solid #e1e7ea; background: #fff; }
.merchant-repayment-dialog header span { color: #0c8d7f; font-size: 11px; font-weight: 850; }
.merchant-repayment-dialog header h2 { margin: 4px 0 0; font-size: 19px; }
.merchant-repayment-dialog header > button { width: 36px; min-height: 36px; padding: 0; font-size: 23px; }
.merchant-repayment-detail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 19px 21px; }
.merchant-repayment-detail div { min-width: 0; padding: 11px; border: 1px solid #e1e7ea; border-radius: 5px; background: #f9fbfc; }
.merchant-repayment-detail span, .merchant-repayment-detail b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.merchant-repayment-detail span { color: #89939d; font-size: 10px; }
.merchant-repayment-detail b { margin-top: 4px; font-size: 13px; }
.merchant-repayment-timeline { margin: 0 21px 19px; padding: 14px; border: 1px solid #e1e7ea; border-radius: 6px; background: #fafcfc; }
#merchantRepaymentTimeline { margin-top: 10px; }
#merchantRepaymentTimeline > div { display: grid; grid-template-columns: 10px 1fr auto; gap: 9px; padding: 8px 0; border-bottom: 1px solid #e4e9ec; }
#merchantRepaymentTimeline i { width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: #0f9f8f; }
#merchantRepaymentTimeline span b, #merchantRepaymentTimeline span small { display: block; }
#merchantRepaymentTimeline span small, #merchantRepaymentTimeline time { color: #8b95a0; font-size: 10px; }
.merchant-repayment-dialog > footer { display: flex; justify-content: flex-end; gap: 7px; padding: 13px 21px 19px; border-top: 1px solid #e3e8eb; }
.merchant-qr-layout { display: grid; grid-template-columns: minmax(260px, .85fr) 1.15fr; gap: 18px; padding: 21px; }
.merchant-qr-image { display: grid; min-height: 330px; padding: 15px; place-items: center; border: 1px solid #dce5e9; border-radius: 6px; background: #f3f6f7; }
.merchant-qr-image img { max-width: 100%; max-height: 330px; object-fit: contain; }
.merchant-qr-info { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.merchant-qr-info div { min-width: 0; padding: 10px; border: 1px solid #e0e6ea; border-radius: 5px; }
.merchant-qr-info span, .merchant-qr-info b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.merchant-qr-info span { color: #8a949e; font-size: 10px; }
.merchant-qr-info b { margin-top: 4px; font-size: 13px; }
.merchant-qr-info b.danger { color: #cc4435; font-size: 16px; }
.merchant-sensitive-warning { margin: 0 21px 18px; padding: 11px; border-left: 3px solid #e49a30; color: #85591f; background: #fff7e8; line-height: 1.6; }
.merchant-repayment-form { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; padding: 20px 21px; }
.merchant-repayment-form label { display: grid; gap: 6px; color: #5d6977; font-size: 12px; }
.merchant-repayment-form .form-wide { grid-column: 1 / -1; }
.merchant-repayment-form input, .merchant-repayment-form select, .merchant-repayment-form textarea { width: 100%; min-width: 0; padding: 10px; border: 1px solid #d2dce2; border-radius: 5px; }
.merchant-repayment-form input[readonly] { color: #b43d30; background: #f7f9fa; font-weight: 850; }
.merchant-repayment-confirm { display: flex !important; grid-template-columns: auto 1fr; align-items: flex-start; padding: 11px; border-left: 3px solid #0f9f8f; background: #edf8f6; }
.merchant-repayment-confirm input { width: 18px; height: 18px; flex: 0 0 auto; }
.merchant-repayment-form footer { display: flex; justify-content: flex-end; gap: 7px; }
[data-merchant-preview] { display: flex; gap: 8px; align-items: center; }
[data-merchant-preview] img { width: 74px; height: 62px; object-fit: cover; border: 1px solid #dce4e8; border-radius: 4px; }

@media (max-width: 1180px) {
  .merchant-repayment-metrics { grid-template-columns: repeat(3, 1fr); }
  .merchant-repayment-toolbar { grid-template-columns: 1fr; }
  .merchant-repayment-head { display: none; }
  .merchant-repayment-table { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 12px; border: 0; background: transparent; }
  .merchant-repayment-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; border: 1px solid #dce4e9; border-radius: 7px; background: #fff; }
  .merchant-repayment-row > footer { grid-column: 1 / -1; padding-top: 9px; border-top: 1px solid #e5eaed; }
}

@media (max-width: 760px) {
  .store-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .store-detail-grid .store-detail-wide {
    grid-column: auto;
  }

  .store-detail-proof {
    align-items: flex-start;
    flex-direction: column;
  }

  .merchant-repayment-title { padding: 16px; }
  .merchant-repayment-metrics { grid-template-columns: repeat(2, 1fr); }
  #merchantRepaymentSearch { display: grid; grid-template-columns: 1fr auto auto; }
  #merchantRepaymentSearch input { width: 100%; }
  .merchant-repayment-table { grid-template-columns: 1fr; padding: 0; }
  .merchant-repayment-row { grid-template-columns: 1fr 1fr; }
  .merchant-repayment-row > footer { position: sticky; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
  .merchant-repayment-modal { padding: 0; place-items: end center; }
  .merchant-repayment-dialog { width: 100%; max-height: 92vh; border-radius: 8px 8px 0 0; }
  .merchant-repayment-detail { grid-template-columns: repeat(2, 1fr); padding: 14px; }
  .merchant-qr-layout { grid-template-columns: 1fr; padding: 14px; }
  .merchant-qr-image { min-height: 260px; }
  .merchant-qr-image img { max-height: 260px; }
  .merchant-repayment-form { grid-template-columns: 1fr; padding: 16px 14px; }
  .merchant-repayment-form .form-wide { grid-column: auto; }
}

.merchant-ticket-unread { margin-left: auto; display: inline-flex; min-width: 24px; min-height: 22px; padding: 0 7px; align-items: center; justify-content: center; border-radius: 11px; color: #fff; background: #e5484d; font-size: 10px; font-style: normal; font-weight: 850; }
.merchant-ticket-unread[hidden] { display: none; }
.merchant-ticket-hint { flex-basis: 100%; margin: -2px 0 0 30px; color: #b9383f; font-size: 10px; font-style: normal; line-height: 1.35; text-align: left; }
.merchant-ticket-hint[hidden] { display: none; }
.merchant-feedback-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0; }
.merchant-feedback-summary > div { padding: 13px 15px; border: 1px solid #e0e7ec; border-radius: 7px; background: #fff; }
.merchant-feedback-summary span, .merchant-feedback-summary b { display: block; }
.merchant-feedback-summary span { color: #7b8794; font-size: 11px; }
.merchant-feedback-summary b { margin-top: 4px; font-size: 20px; }
.merchant-feedback-summary b.danger { color: #dc3f45; }
.merchant-feedback-table .table-row { grid-template-columns: minmax(120px, .85fr) minmax(160px, 1.15fr) minmax(220px, 1.5fr) 105px 130px 105px; }
.merchant-feedback-row { min-height: 74px; }
.merchant-feedback-row > span { display: grid; gap: 4px; }
.merchant-feedback-row span b, .merchant-feedback-row span small, .merchant-feedback-row span time { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.merchant-feedback-row span b { color: #283441; font-size: 12px; }
.merchant-feedback-row span small, .merchant-feedback-row span time { color: #84909d; font-size: 10px; }
.feedback-ticket-status { display: inline-flex; width: fit-content; min-height: 25px; padding: 0 8px; align-items: center; border-radius: 4px; color: #286e61; background: #e6f4f0; font-size: 10px; font-style: normal; font-weight: 800; }
.feedback-ticket-status.status-resolved, .feedback-ticket-status.status-closed { color: #687482; background: #edf1f3; }
.merchant-feedback-unread { display: inline-flex !important; width: fit-content; min-width: 25px; min-height: 22px; padding: 0 7px; align-items: center; justify-content: center; border-radius: 11px; color: #fff !important; background: #e5484d; font-size: 10px !important; }
.merchant-feedback-detail { margin-top: 16px; overflow: hidden; border: 1px solid #dce5ea; border-radius: 7px; background: #fff; }
.merchant-feedback-detail > header { display: flex; padding: 15px 17px; justify-content: space-between; gap: 14px; border-bottom: 1px solid #e5eaed; }
.merchant-feedback-detail header span { color: #2563eb; font-size: 10px; font-weight: 800; }
.merchant-feedback-detail header h3 { margin: 4px 0; font-size: 17px; }
.merchant-feedback-detail header p { margin: 0; color: #7b8794; font-size: 11px; }
.merchant-feedback-detail header button { width: 34px; height: 34px; border: 0; border-radius: 5px; background: #f1f4f6; font-size: 22px; }
.merchant-feedback-thread { display: grid; gap: 10px; max-height: 380px; overflow-y: auto; padding: 17px; background: #f5f7f8; }
.merchant-feedback-message { display: grid; max-width: min(72%, 650px); gap: 4px; }
.merchant-feedback-message.is-self { margin-left: auto; justify-items: end; }
.merchant-feedback-message > span, .merchant-feedback-message time { color: #8994a0; font-size: 10px; }
.merchant-feedback-message p { margin: 0; padding: 9px 12px; border-radius: 5px; background: #fff; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.merchant-feedback-message.is-self p { background: #d9f5c7; }
.merchant-feedback-message a { display: grid; gap: 4px; color: #147a70; font-size: 11px; }
.merchant-feedback-message img { width: min(180px, 100%); max-height: 180px; object-fit: cover; border-radius: 5px; }
.merchant-feedback-reply-form { display: grid; grid-template-columns: minmax(0, 1fr) 220px auto; gap: 11px; padding: 15px 17px; align-items: end; border-top: 1px solid #e3e9ec; }
.merchant-feedback-reply-form label { display: grid; gap: 5px; color: #687584; font-size: 11px; }
.merchant-feedback-reply-form textarea, .merchant-feedback-reply-form input { width: 100%; min-width: 0; padding: 9px 10px; border: 1px solid #d3dde3; border-radius: 5px; }
.merchant-feedback-reply-form .merchant-feedback-resolve { display: flex; align-items: center; gap: 6px; }
.merchant-feedback-reply-form .merchant-feedback-resolve input { width: 16px; height: 16px; }

@media (max-width: 1100px) {
  .merchant-feedback-table { overflow-x: auto; }
  .merchant-feedback-table .table-row { min-width: 900px; }
  .merchant-feedback-reply-form { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .merchant-feedback-summary { grid-template-columns: 1fr 1fr 1fr; }
  .merchant-feedback-summary > div { padding: 10px; }
  .merchant-feedback-table { overflow: visible; border: 0; background: transparent; }
  .merchant-feedback-table .table-head { display: none; }
  .merchant-feedback-table .table-row { min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; padding: 13px; border: 1px solid #dce5ea; border-radius: 7px; background: #fff; }
  .merchant-feedback-table .table-row > span { padding: 0; }
  .merchant-feedback-table .table-row > span:nth-child(3), .merchant-feedback-table .table-row > span:last-child { grid-column: 1 / -1; }
  .merchant-feedback-message { max-width: 88%; }
  .merchant-feedback-reply-form { padding: 13px; }
}
