[v-cloak] {
  display: none;
}

* {
  box-sizing: border-box;
}

html,
body,
#admin-app {
  width: 100%;
  min-width: 0;
  min-height: 100%;
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: #242737;
  background: #f5f7fb;
}

button,
input,
textarea {
  font: inherit;
}

.login-page {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 111, 174, 0.2), transparent 28%),
    radial-gradient(circle at 80% 12%, rgba(83, 207, 224, 0.18), transparent 24%),
    linear-gradient(135deg, #fff6fb, #f3f8ff);
}

.login-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.login-visual span {
  position: absolute;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 18px 48px rgba(86, 90, 135, 0.1);
  transform: rotate(16deg);
}

.login-visual span:nth-child(1) {
  left: 11%;
  top: 16%;
  width: 140px;
  height: 140px;
}

.login-visual span:nth-child(2) {
  right: 13%;
  top: 18%;
  width: 180px;
  height: 180px;
}

.login-visual span:nth-child(3) {
  right: 24%;
  bottom: 14%;
  width: 110px;
  height: 110px;
}

.login-card {
  width: 432px;
  border: 1px solid rgba(255, 111, 174, 0.16);
  border-radius: 18px;
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.login-brand > span,
.aside-brand > span,
.admin-avatar > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: linear-gradient(135deg, #ff6fb2, #8b7cf6);
  color: #ffffff;
  font-weight: 950;
  box-shadow: 0 12px 28px rgba(255, 79, 156, 0.18);
}

.login-brand > span {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  font-size: 24px;
}

.login-brand h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.login-brand p {
  margin: 6px 0 0;
  color: #7a8195;
  font-size: 13px;
}

.login-button {
  width: 100%;
}

.login-tips {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.admin-shell {
  width: 100%;
  min-height: 100vh;
}

.admin-shell,
.admin-shell > .el-container,
.admin-main,
.page-stack,
.section-card,
.nested-card {
  min-width: 0;
}

.admin-aside {
  position: relative;
  border-right: 1px solid #e7eaf3;
  background: #ffffff;
}

.aside-brand {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 22px;
  border-bottom: 1px solid #f0f2f7;
}

.aside-brand > span {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  font-size: 20px;
}

.aside-brand strong,
.aside-brand small {
  display: block;
}

.aside-brand strong {
  font-size: 18px;
}

.aside-brand small,
.aside-status span {
  color: #8a90a3;
  font-size: 12px;
}

.admin-menu {
  max-height: calc(100vh - 202px);
  overflow-y: auto;
  padding: 12px;
  padding-bottom: 20px;
  border-right: 0;
}

.admin-menu::-webkit-scrollbar {
  width: 6px;
}

.admin-menu::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #dfe3ef;
}

.admin-menu .el-sub-menu {
  margin-bottom: 6px;
}

.admin-menu .el-sub-menu__title,
.admin-menu .el-menu-item {
  position: relative;
  height: 46px;
  margin-bottom: 6px;
  border-radius: 12px;
}

.admin-menu .el-sub-menu__title:hover,
.admin-menu .el-menu-item:hover {
  background: #f8f5ff;
}

.admin-menu .el-menu-item.is-active {
  background: linear-gradient(90deg, rgba(255, 111, 174, 0.14), rgba(139, 124, 246, 0.1));
}

.admin-menu .el-sub-menu .el-menu {
  padding-left: 10px;
  background: transparent;
}

.admin-menu .el-sub-menu .el-menu-item {
  height: 40px;
  padding-left: 38px !important;
  color: #5f6678;
  font-size: 13px;
}

.admin-menu .el-sub-menu .el-menu-item.is-active {
  color: #ff4f9c;
}

.menu-badge {
  position: absolute;
  top: 3px;
  right: 10px;
  z-index: 2;
  margin: 0;
  pointer-events: none;
  line-height: 1;
}

.parent-menu-badge {
  right: 34px;
}

.menu-badge .el-badge__content {
  position: static !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border: 0;
  background: #ff5f7f;
  box-shadow: 0 4px 10px rgba(255, 95, 127, 0.2);
  font-size: 11px;
  line-height: 18px;
  transform: none !important;
}

.admin-menu .el-sub-menu__icon-arrow {
  right: 12px;
}

.aside-status {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 14px;
  border-radius: 12px;
  background: #f8f9fd;
}

.aside-status strong {
  display: block;
  margin-top: 4px;
  font-size: 13px;
}

.admin-header {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 22px;
  border-bottom: 1px solid #e7eaf3;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.admin-header > div:first-child {
  min-width: 0;
}

.admin-header h2 {
  margin: 8px 0 0;
  font-size: 22px;
  line-height: 1.1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.header-actions .el-input {
  width: 280px;
}

.admin-refresh-button {
  flex: 0 0 auto;
}

.current-role-tag {
  max-width: 190px;
  flex: 0 0 auto;
}

.current-role-tag .el-tag__content {
  max-width: 168px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-avatar {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.admin-avatar > span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.admin-avatar strong,
.admin-avatar small {
  display: block;
  line-height: 1.2;
}

.admin-avatar small {
  margin-top: 3px;
  color: #8a90a3;
  font-size: 12px;
}

.admin-main {
  height: calc(100vh - 78px);
  overflow-y: auto;
  padding: 18px;
}

.page-stack {
  display: grid;
  gap: 16px;
}

.admin-welcome-page {
  min-height: calc(100vh - 136px);
  align-content: center;
}

.admin-welcome-card {
  max-width: 560px;
  margin: 0 auto;
}

.admin-welcome-card .el-card__body {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px;
}

.admin-welcome-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff6fae, #8b7cf6);
}

.admin-welcome-card h3 {
  margin: 0 0 8px;
  color: #222433;
  font-size: 18px;
}

.admin-welcome-card p {
  margin: 0;
  color: #6d7084;
  line-height: 1.7;
}

.mini-stat,
.section-card,
.nested-card {
  border: 1px solid #e9ecf4;
  border-radius: 14px;
}

.metric-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
}

.metric-icon.pink {
  background: linear-gradient(135deg, #ff6fb2, #ff9ac8);
}

.metric-icon.violet {
  background: linear-gradient(135deg, #8b7cf6, #b7a8ff);
}

.metric-icon.cyan {
  background: linear-gradient(135deg, #35bdd1, #86e0eb);
}

.metric-icon.gold {
  background: linear-gradient(135deg, #f0b429, #ffd36e);
}

.metric-icon.dark {
  background: linear-gradient(135deg, #6f7588, #a7adbf);
}

.mini-stat span,
.mini-stat small {
  color: #7b8194;
  font-size: 13px;
}

.mini-stat strong {
  color: #232638;
  font-size: 28px;
  line-height: 1.1;
}

.mini-stat .el-card__body {
  display: grid;
  gap: 6px;
}

.card-header,
.crud-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-header > span,
.crud-toolbar h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
}

.card-title-stack {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.card-title-stack span {
  color: #242737;
  font-size: 17px;
  font-weight: 900;
}

.card-title-stack small {
  color: #8a90a3;
  font-size: 12px;
}

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

.crud-toolbar {
  margin-bottom: 14px;
}

.crud-title {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.crud-title h3 {
  margin: 0;
}

.crud-title small {
  color: #8a90a3;
  font-size: 12px;
}

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

.crud-actions .el-input {
  width: 220px;
}

.new-user-activity-stat-btn {
  border-color: #ffd5df;
  color: #d93f67;
  background: #fff7f9;
  font-weight: 800;
}

.new-user-activity-stat-btn:hover,
.new-user-activity-stat-btn:focus {
  border-color: #ff8bac;
  color: #c72f58;
  background: #fff0f5;
}

.new-user-activity-dialog .el-dialog__body {
  padding-top: 6px;
}

.new-user-activity-body {
  display: grid;
  gap: 16px;
}

.activity-stats-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid #ffe1e7;
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.8), transparent 28%),
    linear-gradient(135deg, #fff7f9 0%, #ffffff 54%, #f7f4ff 100%);
}

.activity-stats-hero span {
  display: block;
  color: #242737;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.25;
}

.activity-stats-hero p {
  max-width: 560px;
  margin: 7px 0 0;
  color: #6f7587;
  font-size: 13px;
  line-height: 1.6;
}

.activity-cleanup-alert {
  border-radius: 12px;
}

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

.activity-metric-grid article {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #edf0f6;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(45, 52, 76, 0.05);
}

.activity-metric-grid span,
.activity-funnel-head span,
.activity-panel-title span {
  color: #818798;
  font-size: 12px;
  font-weight: 700;
}

.activity-metric-grid strong {
  color: #ef4268;
  font-size: 27px;
  font-weight: 950;
  line-height: 1.12;
}

.activity-metric-grid small {
  color: #6f7587;
  font-size: 12px;
}

.activity-funnel-panel,
.activity-conversion-panel {
  padding: 16px;
  border: 1px solid #edf0f6;
  border-radius: 16px;
  background: #ffffff;
}

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

.activity-panel-title strong {
  color: #242737;
  font-size: 16px;
  font-weight: 950;
}

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

.activity-funnel-list article {
  min-width: 0;
  padding: 12px;
  border-radius: 14px;
  background: #f8f9fd;
}

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

.activity-funnel-head b {
  color: #242737;
  font-size: 18px;
  font-weight: 950;
}

.activity-funnel-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9edf5;
}

.activity-funnel-track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f43f5e, #ff85ad);
}

.activity-funnel-list small {
  display: block;
  margin-top: 7px;
  color: #8a90a3;
  font-size: 12px;
}

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

.activity-conversion-table th,
.activity-conversion-table td {
  padding: 12px 10px;
  border-top: 1px solid #eef1f7;
  text-align: left;
  vertical-align: middle;
}

.activity-conversion-table th {
  color: #697084;
  background: #f8f9fd;
  font-size: 12px;
  font-weight: 900;
}

.activity-conversion-table td {
  color: #242737;
}

.activity-conversion-table td strong,
.activity-conversion-table td small {
  display: block;
}

.activity-conversion-table td small {
  margin-top: 4px;
  color: #8a90a3;
  font-size: 12px;
}

.activity-empty-row {
  color: #8a90a3 !important;
  text-align: center !important;
}

.activity-dialog-updated {
  float: left;
  color: #8a90a3;
  font-size: 12px;
  line-height: 32px;
}

.table-cell-strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: #242737;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-cell-muted {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #8a90a3;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-stack {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.table-stack span {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.table-stack em {
  color: #9aa0b2;
  font-size: 12px;
  font-style: normal;
}

.table-stack b {
  min-width: 0;
  overflow: hidden;
  color: #4f5870;
  font-size: 12px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.price-text {
  color: #ff4f9c;
  font-weight: 900;
}

.danger-text {
  color: #e65353;
  font-weight: 900;
}

.table-thumb {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #edf0f6;
  border-radius: 10px;
  background: #f8f9fd;
}

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

.table-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.pagination-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

.sticky-card {
  position: sticky;
  top: 0;
}

.wide-button {
  width: 100%;
  margin-top: 14px;
}

.avatar-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.avatar-dot {
  width: 30px;
  height: 30px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #e8ebf3;
}

.avatar-dot.pink { background: linear-gradient(135deg, #ffd9ec, #ff7bb7); }
.avatar-dot.blue { background: linear-gradient(135deg, #dff7ff, #8bc7ff); }
.avatar-dot.violet { background: linear-gradient(135deg, #eee4ff, #8b7cf6); }
.avatar-dot.gold { background: linear-gradient(135deg, #fff1bf, #ffc66f); }
.avatar-dot.dark { background: linear-gradient(135deg, #d9deea, #4a516c); }

.user-config-card .el-card__body {
  display: grid;
  gap: 4px;
}

.config-block {
  display: grid;
  gap: 10px;
}

.config-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.config-block-head strong {
  font-size: 15px;
}

.config-block p {
  margin: 0;
  color: #7b8194;
  font-size: 12px;
  line-height: 1.55;
}

.avatar-config-list {
  display: grid;
  gap: 8px;
}

.avatar-config-list button {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #edf0f6;
  border-radius: 10px;
  background: #fbfcff;
  color: #242737;
  cursor: pointer;
}

.avatar-config-list em,
.avatar-config-list small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.avatar-config-list em {
  font-style: normal;
  font-weight: 800;
}

.avatar-config-list small {
  color: #8a90a3;
  font-size: 12px;
}

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

.config-rule-list article {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid #edf0f6;
  border-radius: 10px;
  background: #ffffff;
}

.config-rule-list span {
  color: #ff4f9c;
  font-size: 12px;
  font-weight: 900;
}

.config-rule-list strong {
  color: #242737;
  font-size: 14px;
}

.config-rule-list small {
  color: #7b8194;
  font-size: 12px;
  line-height: 1.45;
}

.user-summary-row {
  row-gap: 12px;
  margin-bottom: 16px;
}

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

.order-summary-card .el-card__body {
  min-height: 136px;
}

.order-summary-details {
  display: grid;
  gap: 4px;
}

.order-summary-details small {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.order-summary-details b,
.order-summary-details em {
  min-width: 0;
  overflow: hidden;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-summary-details em {
  color: #242737;
  font-weight: 900;
}

.user-stat-card .el-card__body {
  min-height: 132px;
  display: grid;
  align-content: start;
  gap: 7px;
}

.user-stat-card span,
.user-stat-card small {
  color: #7b8194;
  font-size: 12px;
}

.user-stat-card strong {
  color: #242737;
  font-size: 26px;
  line-height: 1;
}

.user-filter-card,
.order-filter-card {
  margin-bottom: 16px;
}

.user-asset-stat-card {
  overflow: hidden;
}

.asset-stat-layout {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.asset-stat-layout article {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid #edf0f6;
  border-radius: 10px;
  background: #ffffff;
}

.asset-stat-layout span,
.asset-stat-layout small {
  min-width: 0;
  overflow: hidden;
  color: #7b8194;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-stat-layout strong {
  min-width: 0;
  overflow: hidden;
  color: #ff4f9c;
  font-size: 19px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-data-stat-card .asset-stat-layout {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

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

.user-filter-form .el-form-item,
.order-filter-form .el-form-item {
  margin-bottom: 0;
}

.user-filter-form .wide-filter,
.order-filter-form .wide-filter {
  grid-column: span 2;
}

.user-filter-form .el-select,
.user-filter-form .el-date-editor,
.user-filter-form .el-input-number,
.user-filter-form .el-input,
.order-filter-form .el-select,
.order-filter-form .el-date-editor,
.order-filter-form .el-input-number,
.order-filter-form .el-input {
  width: 100%;
}

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

.order-list-header {
  align-items: center;
  gap: 12px;
}

.order-sort-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.order-sort-toggle .el-button + .el-button {
  margin-left: 0;
}

.order-data-actions,
.order-capacity-dialog-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.order-data-actions .el-button + .el-button,
.order-capacity-dialog-actions .el-button + .el-button {
  margin-left: 0;
}

.order-capacity-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid #edf0f6;
  border-radius: 12px;
  background: #fbfcff;
}

.order-capacity-dialog-head strong {
  display: block;
  color: #252a3a;
  font-size: 15px;
  line-height: 1.35;
}

.order-capacity-dialog-head p,
.order-capacity-default small,
.order-capacity-summary,
.order-capacity-dialog-actions span {
  color: #7b8194;
  font-size: 12px;
}

.order-capacity-dialog-head p {
  margin: 4px 0 0;
}

.order-capacity-dialog {
  position: relative;
}

.order-capacity-dialog .el-dialog__body {
  position: relative;
}

.order-capacity-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.order-capacity-default {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px auto;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #ffe1ef;
  border-radius: 12px;
  background: #fff8fc;
}

.order-capacity-default strong,
.order-capacity-default small {
  display: block;
}

.order-capacity-default strong {
  color: #252a3a;
  font-size: 14px;
  line-height: 1.35;
}

.order-capacity-default small {
  margin-top: 4px;
}

.order-capacity-default .el-input-number {
  width: 100%;
}

.order-capacity-dialog-actions {
  justify-content: space-between;
  margin-bottom: 12px;
}

.order-capacity-section {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #edf0f6;
}

.order-capacity-pill-board {
  min-height: 66px;
  display: flex;
  align-items: flex-start;
  align-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
  border: 1px dashed #dbe2ee;
  border-radius: 16px;
  background: #fbfcff;
}

.order-capacity-empty-note,
.order-capacity-pill-tip,
.order-capacity-mini-note,
.order-capacity-selected-line {
  color: #7b8194;
  font-size: 12px;
  line-height: 1.55;
}

.order-capacity-empty-note {
  align-self: center;
}

.order-capacity-pill-tip {
  margin: 8px 0 0;
}

.order-capacity-pill {
  height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 0 7px 0 12px;
  border: 1px solid #dce8ff;
  border-radius: 999px;
  color: #355274;
  background: #f6faff;
  box-shadow: 0 8px 18px rgba(56, 90, 134, 0.07);
  font-size: 13px;
  white-space: nowrap;
}

.order-capacity-pill.is-range {
  border-color: #e6defe;
  color: #55439a;
  background: #faf7ff;
}

.order-capacity-pill.is-covered {
  border-color: #e3e6ed;
  color: #8b94a8;
  background: #f5f6fa;
  box-shadow: none;
}

.order-capacity-pill.is-stop {
  border-color: #ffd5df;
  color: #b4435e;
  background: #fff7f9;
}

.order-capacity-pill > span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.order-capacity-pill small {
  height: 22px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0 8px;
  border-radius: 999px;
  color: #fff;
  background: #a5adbc;
  font-size: 11px;
}

.order-capacity-pill.is-range small {
  background: #8b7cf6;
}

.order-capacity-pill.is-stop small {
  background: #f05c7a;
}

.order-capacity-pill button {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  color: currentColor;
  background: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1;
}

.order-capacity-pill button:hover {
  color: #fff;
  background: #f05c7a;
}

.order-capacity-mini-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 24px;
  border-radius: 0 0 12px 12px;
  background: rgba(19, 23, 34, 0.34);
}

.order-capacity-mini-modal {
  width: min(520px, 100%);
  overflow: hidden;
  border: 1px solid #e7eaf3;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 72px rgba(28, 36, 62, 0.24);
}

.order-capacity-mini-head,
.order-capacity-mini-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
}

.order-capacity-mini-head {
  border-bottom: 1px solid #edf0f6;
}

.order-capacity-mini-head strong {
  color: #252a3a;
  font-size: 16px;
}

.order-capacity-mini-head button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  color: #8a92a5;
  background: transparent;
  font-size: 21px;
}

.order-capacity-mini-head button:hover {
  color: #4b5469;
  background: #f5f7fb;
}

.order-capacity-mini-body {
  display: grid;
  gap: 14px;
  padding: 16px 18px 18px;
}

.order-capacity-calendar {
  padding: 12px;
  border: 1px solid #edf0f6;
  border-radius: 16px;
  background: #fbfcff;
}

.order-capacity-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.order-capacity-calendar-head strong {
  color: #252a3a;
  font-size: 16px;
}

.order-capacity-calendar-head button {
  width: 32px;
  height: 32px;
  border: 1px solid #dce2ee;
  border-radius: 10px;
  color: #526079;
  background: #fff;
}

.order-capacity-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.order-capacity-weekday,
.order-capacity-day {
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 12px;
}

.order-capacity-weekday {
  color: #9aa2b4;
}

.order-capacity-day {
  border: 1px solid transparent;
  color: #3f475b;
  background: #fff;
}

.order-capacity-day:hover:not(:disabled) {
  border-color: rgba(79, 156, 255, 0.42);
  color: #4f9cff;
}

.order-capacity-day.is-muted {
  color: #c0c6d2;
  background: #f6f7fb;
}

.order-capacity-day.is-selected {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #58a4ff, #8b7cf6);
  box-shadow: 0 8px 16px rgba(86, 139, 246, 0.22);
}

.order-capacity-day.is-range {
  color: #55439a;
  border-color: #ded4ff;
  background: #f0ebff;
}

.order-capacity-day.is-disabled {
  color: #c6ccd8;
  cursor: not-allowed;
  background: #f3f5f9;
}

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

.order-capacity-picker-grid label {
  display: grid;
  gap: 6px;
}

.order-capacity-picker-grid label > span {
  color: #5d667b;
  font-size: 13px;
  font-weight: 700;
}

.order-capacity-picker-grid .el-input-number,
.order-capacity-picker-grid .el-input {
  width: 100%;
}

.order-capacity-picker-wide {
  grid-column: 1 / -1;
}

.order-capacity-selected-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.order-capacity-selected-line strong {
  color: #ff4f9c;
}

.order-capacity-mini-note {
  margin: 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f7f9fd;
}

.order-capacity-mini-foot {
  border-top: 1px solid #edf0f6;
  justify-content: flex-end;
}

.range-field {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.refund-filter-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid #edf0f6;
  border-radius: 14px;
  background: #fbfcff;
}

.refund-filter-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) minmax(150px, 0.7fr) minmax(210px, 0.9fr) minmax(260px, 1.08fr) auto;
  align-items: end;
  gap: 12px;
}

.refund-filter-grid label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.refund-filter-grid label > span {
  color: #4f5870;
  font-size: 13px;
  font-weight: 900;
}

.refund-filter-grid .el-input,
.refund-filter-grid .el-select,
.refund-filter-grid .el-date-editor {
  width: 100%;
}

.refund-filter-actions {
  justify-content: flex-end;
  min-width: 170px;
}

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

.refund-summary-grid article {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid #edf0f6;
  border-radius: 12px;
  background: #ffffff;
}

.refund-summary-grid span,
.refund-summary-grid small {
  min-width: 0;
  overflow: hidden;
  color: #7b8194;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.refund-summary-grid strong {
  min-width: 0;
  overflow: hidden;
  color: #ff4f9c;
  font-size: 22px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-account-cell {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.user-basic-cell {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.native-user-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #ebeef5;
  border-radius: 8px;
  background: #ffffff;
}

.native-user-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  table-layout: fixed;
  color: #242737;
  font-size: 13px;
}

.native-user-table th,
.native-user-table td {
  padding: 12px 10px;
  border-right: 1px solid #ebeef5;
  border-bottom: 1px solid #ebeef5;
  text-align: left;
  vertical-align: top;
}

.native-user-table th {
  background: #f8f9fd;
  color: #555d73;
  font-weight: 900;
  white-space: nowrap;
}

.native-user-table tr:nth-child(even) td {
  background: #fbfcff;
}

.native-user-table th:nth-child(1),
.native-user-table td:nth-child(1) {
  width: 210px;
}

.native-user-table th:nth-child(2),
.native-user-table td:nth-child(2) {
  width: 180px;
}

.native-user-table th:nth-child(3),
.native-user-table td:nth-child(3) {
  width: 230px;
}

.native-user-table th:nth-child(4),
.native-user-table td:nth-child(4) {
  width: 170px;
}

.native-user-table th:nth-child(5),
.native-user-table td:nth-child(5) {
  width: 120px;
}

.native-user-table th:nth-child(6),
.native-user-table td:nth-child(6) {
  width: 140px;
}

.native-user-table th:nth-child(7),
.native-user-table td:nth-child(7) {
  width: 220px;
  border-right: 0;
}

.mini-avatar,
.detail-avatar {
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(87, 89, 134, 0.13);
}

.mini-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 16px;
}

.mini-avatar.pink,
.detail-avatar.pink { background: linear-gradient(135deg, #ff87c0, #b48cff); }
.mini-avatar.violet,
.detail-avatar.violet { background: linear-gradient(135deg, #8b7cf6, #69c8ff); }
.mini-avatar.blue,
.detail-avatar.blue { background: linear-gradient(135deg, #57c8f3, #79a7ff); }
.mini-avatar.gold,
.detail-avatar.gold { background: linear-gradient(135deg, #ffbf62, #ff7ba9); }
.mini-avatar.dark,
.detail-avatar.dark { background: linear-gradient(135deg, #56607d, #ad7cf6); }

.user-account-cell b,
.user-basic-cell b,
.user-account-cell small,
.user-basic-cell small,
.identity-cell span,
.identity-cell small,
.asset-cell span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-account-cell b {
  color: #242737;
  font-size: 14px;
}

.user-contact-cell,
.user-time-cell,
.user-order-cell {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.user-contact-cell b,
.user-time-cell b {
  min-width: 0;
  overflow: hidden;
  color: #242737;
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-contact-cell small,
.user-time-cell small,
.user-order-cell small {
  min-width: 0;
  overflow: hidden;
  color: #8a90a3;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-time-cell span {
  display: grid;
  gap: 3px;
}

.user-time-cell em {
  color: #9aa0b2;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.user-time-cell .el-button {
  justify-content: flex-start;
  min-height: auto;
  padding: 0;
  font-weight: 900;
}

.user-account-cell small,
.user-basic-cell small,
.identity-cell small {
  margin-top: 3px;
  color: #8a90a3;
  font-size: 12px;
}

.user-basic-cell b {
  color: #242737;
  font-size: 14px;
  font-weight: 900;
}

.user-public-id {
  width: fit-content;
  max-width: 100%;
  padding: 2px 7px;
  border-radius: 999px;
  background: #fff0f7;
  color: #ff4f9c;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.45;
}

.admin-id-line {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin-top: 4px;
}

.identity-under-id {
  width: fit-content;
  max-width: 100%;
  padding: 2px 7px;
  border: 1px solid #e6eaf4;
  border-radius: 999px;
  background: #f7f9fd;
  color: #7b8194;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.4;
}

.identity-under-id.is-real {
  border-color: #bde9cf;
  background: #f1fff6;
  color: #28a35d;
}

.identity-under-id.is-pending {
  border-color: #ffdca8;
  background: #fff9ef;
  color: #d78116;
}

.identity-under-id.is-empty {
  border-color: #e2e6ef;
  background: #f8f9fc;
  color: #8a90a3;
}

.identity-real-meta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin-top: 3px;
  color: #72798c;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.35;
}

.identity-sex-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.identity-sex-icon.is-female {
  background: linear-gradient(135deg, #ff7eb6, #ff4f9c);
}

.identity-sex-icon.is-male {
  background: linear-gradient(135deg, #6aa8ff, #4f7cff);
}

.copy-id-button,
.phone-history-link {
  width: fit-content;
  border: 0;
  background: transparent;
  color: #6f6ae8;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
}

.copy-id-button {
  padding: 2px 0;
}

.phone-history-link {
  padding: 0;
  text-align: left;
}

.copy-id-button:hover,
.phone-history-link:hover {
  color: #ff4f9c;
}

.identity-cell,
.asset-cell {
  display: grid;
  gap: 4px;
}

.identity-cell {
  justify-items: start;
}

.asset-cell b {
  color: #ff4f9c;
}

.user-asset-cell span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.asset-link-button {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.asset-link-button span,
.asset-link-button b {
  display: inline;
  min-width: 0;
}

.asset-link-button b {
  color: #ff4f9c;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.asset-link-button:hover b {
  color: #6f6ae8;
}

.native-user-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  align-items: center;
}

.native-user-actions .el-button + .el-button {
  margin-left: 0;
}

.order-count-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff0f7;
  color: #ff4f9c;
  font-weight: 900;
}

.order-total-amount {
  color: #242737 !important;
  font-weight: 900;
}

.order-no-cell,
.order-product-cell {
  min-width: 0;
}

.order-no-cell,
.order-product-cell > div {
  display: grid;
  gap: 4px;
}

.order-no-line,
.description-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.order-no-line b,
.description-inline span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-no-line .el-button,
.description-inline .el-button {
  height: 22px;
  padding: 0;
  font-weight: 800;
}

.order-product-cell {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.order-source-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin-top: 1px;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.order-source-badge.custom {
  color: #ff4f9a;
  background: #fff0f7;
  border: 1px solid #ffd2e7;
}

.order-product-link {
  padding: 6px;
  margin: -6px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.order-product-link:hover,
.order-product-link:focus {
  outline: 0;
  background: #fff7fb;
  box-shadow: inset 0 0 0 1px rgba(255, 111, 174, 0.18);
}

.order-no-cell b,
.order-no-cell small,
.order-product-cell b,
.order-product-cell small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-no-cell b,
.order-product-cell b {
  color: #242737;
  font-weight: 900;
}

.order-no-cell small,
.order-product-cell small {
  color: #8a90a3;
  font-size: 12px;
}

.order-list-table .order-no-cell,
.order-list-table .order-product-cell > div,
.amount-overview-cell {
  gap: 5px;
}

.native-order-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #ebeef5;
  border-radius: 8px;
  background: #ffffff;
}

.native-order-table {
  width: 100%;
  min-width: 1540px;
  border-collapse: collapse;
  table-layout: fixed;
  color: #242737;
  font-size: 13px;
}

.native-order-table th,
.native-order-table td {
  padding: 12px 10px;
  border-right: 1px solid #ebeef5;
  border-bottom: 1px solid #ebeef5;
  text-align: left;
  vertical-align: top;
}

.native-order-table th {
  background: #f8f9fd;
  color: #555d73;
  font-weight: 900;
  white-space: nowrap;
}

.native-order-table tr:nth-child(even) td {
  background: #fbfcff;
}

.native-order-table th:nth-child(1),
.native-order-table td:nth-child(1) {
  width: 190px;
}

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

.native-order-table th:nth-child(3),
.native-order-table td:nth-child(3) {
  width: 250px;
}

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

.native-order-table th:nth-child(5),
.native-order-table td:nth-child(5) {
  width: 150px;
}

.native-order-table th:nth-child(6),
.native-order-table td:nth-child(6) {
  width: 120px;
}

.native-order-table th:nth-child(7),
.native-order-table td:nth-child(7) {
  width: 210px;
}

.native-order-table th:nth-child(8),
.native-order-table td:nth-child(8) {
  width: 128px;
}

.native-order-table th:nth-child(9),
.native-order-table td:nth-child(9) {
  width: 190px;
  border-right: 0;
}

.native-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  align-items: center;
}

.native-order-actions .el-button + .el-button {
  margin-left: 0;
}

.custom-product-record-card {
  overflow: hidden;
}

.custom-product-stat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.custom-product-stat-card {
  min-width: 0;
  display: grid;
  gap: 6px;
  min-height: 94px;
  padding: 12px;
  border: 1px solid #eef1f7;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.custom-product-stat-card span,
.custom-product-stat-card small {
  min-width: 0;
  overflow: hidden;
  color: #7b8194;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-product-stat-card strong {
  min-width: 0;
  overflow: hidden;
  color: #242737;
  font-size: 22px;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-product-stat-card.warning {
  border-color: #ffe0a3;
  background: #fffaf0;
}

.custom-product-stat-card.success {
  border-color: #bdebd6;
  background: #f3fff9;
}

.custom-product-stat-card.danger {
  border-color: #ffd0dd;
  background: #fff6f9;
}

.custom-product-stat-card.primary {
  border-color: #cfe0ff;
  background: #f6f9ff;
}

.custom-product-stat-card.urgent {
  border-color: #ffd5c6;
  background: #fff8f4;
}

.custom-product-stat-card.warning strong,
.custom-product-stat-card.urgent strong {
  color: #d98600;
}

.custom-product-stat-card.success strong {
  color: #189763;
}

.custom-product-stat-card.danger strong {
  color: #ff4f7f;
}

.custom-product-stat-card.primary strong {
  color: #2f6eff;
}

.custom-product-record-tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 12px;
}

.custom-product-record-table {
  min-width: 1260px;
}

.native-order-table.custom-product-record-table th:nth-child(1),
.native-order-table.custom-product-record-table td:nth-child(1) {
  width: 190px;
}

.native-order-table.custom-product-record-table th:nth-child(2),
.native-order-table.custom-product-record-table td:nth-child(2) {
  width: 250px;
}

.native-order-table.custom-product-record-table th:nth-child(3),
.native-order-table.custom-product-record-table td:nth-child(3) {
  width: 170px;
}

.native-order-table.custom-product-record-table th:nth-child(4),
.native-order-table.custom-product-record-table td:nth-child(4) {
  width: 150px;
}

.native-order-table.custom-product-record-table th:nth-child(5),
.native-order-table.custom-product-record-table td:nth-child(5) {
  width: 150px;
}

.native-order-table.custom-product-record-table th:nth-child(6),
.native-order-table.custom-product-record-table td:nth-child(6) {
  width: 180px;
}

.native-order-table.custom-product-record-table th:nth-child(7),
.native-order-table.custom-product-record-table td:nth-child(7) {
  width: 160px;
}

.native-order-table.custom-product-record-table th:nth-child(8),
.native-order-table.custom-product-record-table td:nth-child(8) {
  width: 120px;
  border-right: 0;
}

.custom-product-countdown {
  display: inline-flex;
  max-width: 130px;
  color: #ff4f7f;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.custom-product-time-cell {
  display: grid;
  gap: 5px;
  color: #596078;
  font-size: 12px;
  line-height: 1.35;
}

.native-table-empty {
  height: 96px;
  color: #8a90a3;
  text-align: center !important;
  vertical-align: middle !important;
}

.order-remark-text {
  display: block;
  max-width: 180px;
  overflow: hidden;
  color: #596078;
  font-size: 12px;
  line-height: 1.55;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.head-info-cell {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.head-info-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.head-info-title b {
  min-width: 0;
  overflow: hidden;
  color: #242737;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.head-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}

.head-chip-grid span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  max-width: 100%;
  min-height: 22px;
  padding: 3px 7px;
  border: 1px solid #eef0fb;
  border-radius: 999px;
  background: #fbfcff;
  color: #6f7689;
  font-size: 11px;
  line-height: 1.25;
}

.head-chip-grid b {
  color: #242737;
  font-weight: 900;
}

.detail-head-info .head-chip-grid span {
  min-height: 26px;
  padding: 4px 9px;
  font-size: 12px;
}

.order-list-table .order-no-cell small,
.order-list-table .order-product-cell small,
.amount-overview-cell span {
  white-space: normal;
  line-height: 1.35;
}

.time-cell-plain {
  display: inline-block;
  color: #565d73;
  line-height: 1.35;
}

.status-action-button {
  height: 28px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

.status-action-warning {
  border-color: #f5d39c;
  background: #fff8ec;
  color: #c9791d;
}

.status-action-primary {
  border-color: #b9d7ff;
  background: #eff6ff;
  color: #2f74d0;
}

.status-cell-stack {
  display: grid;
  gap: 5px;
  justify-items: start;
}

.receipt-countdown {
  display: inline-flex;
  max-width: 116px;
  color: #ff4f7f;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 800;
}

.refund-status-reason {
  display: -webkit-box;
  max-width: 132px;
  overflow: hidden;
  color: #f0447f;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 800;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.after-sale-record-card {
  overflow: hidden;
}

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

.after-sale-tabs button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 10px;
  min-height: 72px;
  padding: 14px 18px;
  border: 1px solid #e8ecf7;
  border-radius: 14px;
  background: #ffffff;
  color: #242737;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.after-sale-tabs button:hover,
.after-sale-tabs button.active {
  border-color: rgba(255, 111, 174, 0.55);
  box-shadow: 0 10px 26px rgba(255, 111, 174, 0.12);
  transform: translateY(-1px);
}

.after-sale-tabs button.active {
  background: linear-gradient(135deg, rgba(255, 111, 174, 0.12), rgba(139, 124, 246, 0.1)), #ffffff;
}

.after-sale-tabs span {
  min-width: 0;
  font-size: 17px;
  font-weight: 900;
}

.after-sale-tabs b {
  color: #ff4f9c;
  font-size: 22px;
  line-height: 1;
}

.after-sale-tabs small {
  grid-column: 1 / -1;
  color: #8a90a3;
  font-size: 12px;
}

.after-sale-record-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.after-sale-record-copy strong {
  color: #242737;
  font-weight: 900;
}

.after-sale-record-copy p {
  margin: 0;
  color: #7b8194;
  font-size: 12px;
  line-height: 1.45;
}

.after-sale-reason-card small {
  display: block;
  margin-top: 8px;
  color: #8a90a3;
  font-size: 12px;
}

.login-cell,
.time-cell {
  display: grid;
  justify-items: start;
  gap: 2px;
}

.login-cell .el-button {
  height: auto;
  padding: 0;
  font-weight: 800;
}

.login-cell small {
  color: #8a90a3;
  font-size: 12px;
}

.time-cell strong {
  color: #242737;
  font-size: 13px;
}

.time-cell small {
  color: #8a90a3;
  font-size: 12px;
}

.risk-text {
  color: #ff6f86;
  font-weight: 800;
}

.risk-text.normal {
  color: #7b8194;
  font-weight: 500;
}

.content-tabs-card > .el-card__body {
  padding-top: 6px;
}

.content-finder-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  align-items: center;
  gap: 16px;
  margin: 4px 0 16px;
  padding: 16px 18px;
  border: 1px solid #edf0f6;
  border-radius: 16px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 111, 174, 0.1), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f9fbff 100%);
}

.content-finder-bar strong,
.content-finder-bar span {
  display: block;
}

.content-finder-bar strong {
  color: #242737;
  font-size: 16px;
}

.content-finder-bar span {
  margin-top: 5px;
  color: #7b8194;
  font-size: 12px;
  line-height: 1.5;
}

.content-rule-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 0 18px;
}

.content-rule-summary article {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid #edf0f6;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #fbf8ff 100%);
}

.content-rule-summary span,
.content-rule-summary small {
  display: block;
  color: #7b8194;
  font-size: 12px;
  line-height: 1.45;
}

.content-rule-summary strong {
  display: block;
  margin: 5px 0;
  color: #242737;
  font-size: 24px;
  line-height: 1;
}

.copy-asset-layout,
.catalog-management-stack {
  display: grid;
  gap: 18px;
}

.copy-asset-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.copy-asset-panel {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.config-section-head {
  padding: 18px 18px 16px;
  border: 1px solid #edf0f6;
  border-radius: 16px;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 111, 174, 0.12), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #fbf8ff 55%, #f8fcff 100%);
}

.config-section-head small {
  color: #ff4f9c;
  font-size: 12px;
  font-weight: 900;
}

.config-section-head h3 {
  margin: 6px 0 6px;
  color: #242737;
  font-size: 18px;
  line-height: 1.25;
}

.config-section-head p {
  max-width: 560px;
  margin: 0;
  color: #7b8194;
  font-size: 12px;
  line-height: 1.6;
}

.content-config-workbench {
  display: grid;
  gap: 18px;
}

.content-page-tabs .el-tabs__item {
  font-weight: 800;
}

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

.content-page-card {
  min-height: 150px;
  padding: 16px;
  border: 1px solid #edf0f6;
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(139, 124, 246, 0.08), transparent 34%),
    #ffffff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.content-page-card:hover {
  border-color: rgba(255, 111, 174, 0.34);
  box-shadow: 0 14px 30px rgba(68, 72, 97, 0.08);
  transform: translateY(-1px);
}

.content-page-card span,
.content-page-card strong,
.content-page-card p,
.content-page-card small {
  display: block;
}

.content-page-card span {
  color: #ff4f9c;
  font-size: 12px;
  font-weight: 900;
}

.content-page-card strong {
  margin: 9px 0 8px;
  color: #242737;
  font-size: 28px;
  line-height: 1;
}

.content-page-card p {
  min-height: 38px;
  margin: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.45;
}

.content-page-card small {
  margin-top: 10px;
  color: #8a90a3;
  font-size: 12px;
  line-height: 1.4;
}

.content-rule-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.content-rule-cards article {
  min-width: 0;
  padding: 14px;
  border: 1px solid #edf0f6;
  border-radius: 14px;
  background: #fbfcff;
}

.content-rule-cards strong {
  display: block;
  color: #242737;
  font-size: 15px;
}

.content-rule-cards span {
  display: block;
  margin-top: 7px;
  color: #7b8194;
  font-size: 12px;
  line-height: 1.55;
}

.config-group-panel {
  padding: 18px;
  border: 1px solid #e9ecf4;
  border-radius: 16px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 111, 174, 0.08), transparent 32%),
    #ffffff;
}

.config-group-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f2f7;
}

.config-group-head small {
  color: #ff4f9c;
  font-size: 12px;
  font-weight: 900;
}

.config-group-head h3 {
  margin: 5px 0 6px;
  color: #242737;
  font-size: 18px;
}

.config-group-head p {
  max-width: 720px;
  margin: 0;
  color: #7b8194;
  font-size: 12px;
  line-height: 1.55;
}

.config-head-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  min-width: 320px;
}

.config-head-actions .el-input {
  width: 240px;
}

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

.config-card-grid.compact {
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}

.copy-config-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.config-combo-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid #edf0f6;
  border-radius: 14px;
  background: #fbfcff;
}

.config-combo-card.text-config-card {
  display: block;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 111, 174, 0.07), transparent 34%),
    #ffffff;
}

.config-combo-card.text-config-card .config-card-body {
  gap: 10px;
}

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

.fixed-content-card {
  border-color: #e6eaf4;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.98)),
    radial-gradient(circle at 100% 0%, rgba(139, 124, 246, 0.08), transparent 36%);
}

.fixed-content-card .config-card-actions .el-button--danger {
  display: none;
}

.config-combo-card.text-config-card p {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8faff;
  -webkit-line-clamp: 3;
}

.config-card-media {
  width: 116px;
  height: 92px;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: #f1f4fb;
  color: #9aa1b5;
  font-size: 12px;
  cursor: pointer;
}

.config-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.config-card-media.empty,
.config-card-media.text-only {
  display: grid;
  place-items: center;
  padding: 10px;
  text-align: center;
  line-height: 1.4;
}

.config-card-media.text-only {
  color: #ff4f9c;
  font-weight: 900;
  background: linear-gradient(135deg, #fff3f9, #f7fbff);
}

.service-question-workbench {
  padding-bottom: 20px;
}

.service-question-layout {
  display: grid;
  grid-template-columns: 210px minmax(360px, 1fr) 300px;
  gap: 14px;
  align-items: start;
  margin-top: 16px;
}

.service-type-sidebar,
.service-question-list-panel,
.service-question-preview-panel {
  min-width: 0;
  border: 1px solid #e7ecf6;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
}

.service-type-sidebar {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.service-type-title {
  display: grid;
  gap: 4px;
  padding: 3px 4px 5px;
}

.service-type-title strong,
.service-question-list-head strong,
.service-preview-head strong {
  color: #242737;
  font-size: 15px;
}

.service-type-title span,
.service-question-list-head span,
.service-preview-head small,
.service-preview-head span {
  color: #7b8194;
  font-size: 12px;
  line-height: 1.45;
}

.service-type-card {
  display: grid;
  gap: 6px;
  min-height: 86px;
  padding: 13px;
  border: 1px solid #e2e8f4;
  border-radius: 14px;
  background: #fbfcff;
  color: #242737;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.service-type-card.active {
  border-color: #409eff;
  background: linear-gradient(135deg, #eef7ff, #fff6fb);
  box-shadow: 0 12px 28px rgba(64, 158, 255, 0.14);
}

.service-type-card.create {
  border-style: dashed;
  color: #ff4f9c;
}

.service-type-card span {
  font-size: 15px;
  font-weight: 900;
}

.service-type-card small {
  color: #7b8194;
  font-size: 12px;
}

.service-type-card b {
  justify-self: start;
  padding: 3px 9px;
  border-radius: 999px;
  background: #eef5ff;
  color: #1684ff;
  font-size: 12px;
}

.service-question-list-panel {
  padding: 14px;
}

.service-question-list-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f2f7;
}

.service-question-list-head strong,
.service-question-list-head span {
  display: block;
}

.service-question-grid {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.service-question-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid #e8edf6;
  border-radius: 14px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.service-question-card:hover,
.service-question-card.active {
  border-color: rgba(64, 158, 255, 0.55);
  box-shadow: 0 12px 28px rgba(68, 72, 97, 0.08);
}

.service-question-card.active {
  transform: translateY(-1px);
}

.service-question-thumb {
  width: 116px;
  height: 92px;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: #f1f4fb;
  color: #9aa1b5;
  cursor: zoom-in;
}

.service-question-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-question-thumb.text-only {
  display: grid;
  place-items: center;
  padding: 10px;
  text-align: center;
  cursor: default;
  background: linear-gradient(135deg, #fff6fb, #f4f9ff);
}

.service-question-thumb.text-only span,
.service-question-thumb.text-only small {
  display: block;
}

.service-question-thumb.text-only span {
  color: #ff4f9c;
  font-weight: 900;
}

.service-question-thumb.text-only small {
  color: #8a90a3;
  font-size: 12px;
}

.service-question-card-body {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.service-question-card-body h4,
.service-question-card-body p,
.service-question-card-body span {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-question-card-body h4 {
  color: #242737;
  font-size: 15px;
  line-height: 1.35;
  white-space: nowrap;
}

.service-question-card-body p {
  display: -webkit-box;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8faff;
  color: #667085;
  font-size: 12px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.service-question-card-body > span {
  color: #8a90a3;
  font-size: 12px;
  white-space: nowrap;
}

.service-question-empty {
  margin-top: 12px;
  border-radius: 14px;
  background: #f8fbff;
}

.service-question-preview-panel {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.service-question-preview-panel.empty {
  min-height: 220px;
  place-content: center;
  text-align: center;
}

.service-question-preview-panel.empty strong,
.service-question-preview-panel.empty span,
.service-preview-head span,
.service-preview-head strong,
.service-preview-head small {
  display: block;
}

.service-preview-head {
  display: grid;
  gap: 5px;
}

.service-phone-preview {
  overflow: hidden;
  border: 1px solid #edf0f6;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(79, 88, 120, 0.1);
}

.service-phone-status {
  height: 22px;
  background: linear-gradient(90deg, #fff3f8, #eef7ff);
}

.service-phone-image {
  width: 100%;
  max-height: 190px;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #f1f4fb;
  cursor: zoom-in;
}

.service-phone-image img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.service-phone-text-only {
  margin: 16px 16px 0;
  padding: 14px;
  border-radius: 14px;
  background: #f8faff;
  color: #7b8194;
  font-size: 12px;
  line-height: 1.55;
}

.service-phone-preview h4 {
  margin: 16px 16px 8px;
  color: #242737;
  font-size: 17px;
  line-height: 1.4;
}

.service-phone-preview p {
  margin: 0 16px 12px;
  color: #596174;
  font-size: 13px;
  line-height: 1.75;
}

.service-preview-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.asset-repository-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 16px;
}

.asset-repository-summary span {
  border: 1px solid #e5edf8;
  border-radius: 999px;
  background: #f8fbff;
  color: #66728a;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
}

.asset-folder-board {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}

.asset-folder-chip {
  display: grid;
  gap: 4px;
  min-height: 64px;
  border: 1px solid #e3ebf7;
  border-radius: 16px;
  background: #ffffff;
  color: #252a3a;
  cursor: pointer;
  padding: 10px 12px;
  text-align: left;
  box-shadow: 0 8px 22px rgba(104, 116, 150, 0.08);
}

.asset-folder-chip.active {
  border-color: #409eff;
  background: linear-gradient(135deg, #f2f8ff, #fff7fb);
  box-shadow: 0 10px 26px rgba(64, 158, 255, 0.16);
}

.asset-folder-chip.create {
  border-style: dashed;
  color: #ff4f9c;
}

.asset-folder-chip span {
  font-size: 14px;
  font-weight: 900;
}

.asset-folder-chip small {
  color: #7d8598;
  font-size: 12px;
  font-weight: 800;
}

.asset-repository-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.asset-repository-card .config-card-media {
  width: 100%;
  height: 148px;
  cursor: zoom-in;
}

.asset-repository-card[draggable="true"] {
  cursor: grab;
}

.asset-repository-card .config-card-body span {
  display: block;
  max-width: 100%;
  color: #8a91a5;
  font-size: 12px;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.config-card-body {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.config-card-tags,
.config-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.config-card-body h4,
.config-card-body p,
.config-card-body span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.config-card-body h4 {
  margin: 0;
  color: #242737;
  font-size: 15px;
  white-space: nowrap;
}

.config-card-body p {
  display: -webkit-box;
  margin: 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.config-card-body > span {
  color: #8a90a3;
  font-size: 12px;
  white-space: nowrap;
}

.config-mini-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.config-mini-list span {
  min-width: 0;
  padding: 6px 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 112, 171, 0.14);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 246, 250, 0.96), rgba(244, 249, 255, 0.96));
  color: #646b82;
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-management-stack .section-card {
  border-radius: 16px;
}

.ip-library-table .el-table,
.maker-library-table .el-table {
  --el-table-header-bg-color: #f7f8fc;
}

.native-admin-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  overflow: hidden;
  border: 1px solid #e9edf5;
  border-radius: 10px;
  background: #fff;
}

.native-admin-table th,
.native-admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #eef1f7;
  min-height: 46px;
  color: #4d5568;
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
  vertical-align: middle;
  word-break: break-word;
}

.native-admin-table th {
  color: #4f5b75;
  background: #f7f8fc;
  font-weight: 850;
}

.native-admin-table tbody tr:nth-child(even) td {
  background: #fbfcff;
}

.native-admin-table tbody tr:last-child td {
  border-bottom: 0;
}

.native-admin-table strong {
  display: inline-block;
  max-width: 100%;
  color: #252b3a;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
  white-space: nowrap;
}

.maker-native-table th:nth-child(3),
.maker-native-table td:nth-child(3),
.maker-native-table th:nth-child(4),
.maker-native-table td:nth-child(4) {
  width: 90px;
}

.maker-native-table th:nth-child(5),
.maker-native-table td:nth-child(5) {
  width: 136px;
}

.native-table-ellipsis {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.native-link-button {
  appearance: none;
  margin: 0 10px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.native-link-button.primary {
  color: #2f8cff;
}

.native-link-button.danger {
  color: #ff5f72;
}

.native-empty-cell {
  height: 92px;
  color: #98a2b5;
  text-align: center !important;
}

.front-config-page {
  display: grid;
  gap: 18px;
}

.front-config-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 22px;
  border: 1px solid #edf0f6;
  border-radius: 16px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 111, 174, 0.12), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f9f7ff 52%, #f5fbff 100%);
}

.front-config-hero small {
  color: #ff4f9c;
  font-size: 13px;
  font-weight: 900;
}

.front-config-hero h2 {
  margin: 6px 0 8px;
  color: #242737;
  font-size: 22px;
  line-height: 1.25;
}

.front-config-hero p {
  max-width: 760px;
  margin: 0;
  color: #6f768a;
  font-size: 13px;
  line-height: 1.65;
}

.front-config-metrics {
  display: grid;
  grid-template-columns: repeat(5, 88px);
  gap: 10px;
}

.front-config-metrics article {
  display: grid;
  gap: 4px;
  min-height: 72px;
  align-content: center;
  padding: 10px;
  border: 1px solid rgba(255, 111, 174, 0.16);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 26px rgba(68, 72, 97, 0.05);
}

.front-config-metrics strong {
  color: #ff4f9c;
  font-size: 22px;
  line-height: 1;
}

.front-config-metrics span {
  color: #7b8194;
  font-size: 12px;
}

.front-config-shell {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.front-config-sidebar,
.front-config-main,
.front-config-side-stack {
  min-width: 0;
}

.front-config-sidebar {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e9ecf4;
  border-radius: 16px;
  background: #ffffff;
}

.front-config-sidebar-head {
  display: grid;
  gap: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f2f7;
}

.front-config-sidebar-head strong {
  color: #242737;
  font-size: 16px;
}

.front-config-sidebar-head span {
  color: #8a90a3;
  font-size: 12px;
}

.front-config-overview {
  display: grid;
  gap: 9px;
}

.front-config-overview article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #edf0f6;
  border-radius: 12px;
  background: #fbfcff;
}

.front-config-overview strong {
  display: block;
  color: #242737;
  font-size: 15px;
}

.front-config-overview span {
  display: block;
  margin-top: 3px;
  color: #7b8194;
  font-size: 12px;
  line-height: 1.35;
}

.front-config-overview small {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff1f7;
  color: #ff4f9c;
  font-size: 11px;
  white-space: nowrap;
}

.front-config-module-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 16px;
  align-items: start;
}

.front-config-side-stack {
  display: grid;
  gap: 16px;
}

.config-table-card {
  border-radius: 16px;
}

.banner-config-card .el-table,
.module-config-card .el-table,
.quick-entry-card .el-table {
  --el-table-header-bg-color: #f7f8fc;
}

.config-note-card p {
  min-width: 0;
  margin: 0;
  color: #7b8194;
  font-size: 12px;
  line-height: 1.55;
}

.config-note-card .el-card__body {
  display: grid;
  gap: 10px;
}

.content-tabs-card .el-row + .el-row {
  margin-top: 16px;
}

.product-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  gap: 12px;
}

.product-stat-card {
  border: 1px solid #e9ecf4;
  border-radius: 14px;
}

.product-stat-card .el-card__body {
  min-height: 146px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.product-stat-card span {
  color: #6f768a;
  font-size: 13px;
}

.product-stat-card strong {
  color: #232638;
  font-size: 24px;
  line-height: 1.1;
}

.product-stat-card small {
  color: #8a90a3;
  font-size: 12px;
  line-height: 1.4;
}

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

.product-filter-form .el-form-item {
  margin-bottom: 0;
}

.product-filter-form .el-select,
.product-filter-form .el-date-editor {
  width: 100%;
}

.product-filter-form .wide-filter,
.product-filter-form .price-range-filter {
  grid-column: span 2;
}

.price-range-filter .el-form-item__content,
.range-inputs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  align-items: center;
}

.product-info-cell {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.product-info-cell img {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border: 1px solid #edf0f6;
  border-radius: 12px;
  background: #f8f9fd;
}

.product-info-cell strong,
.product-info-cell span,
.product-info-cell small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-info-cell strong {
  color: #242737;
  font-size: 14px;
  font-weight: 900;
}

.product-info-cell span {
  margin-top: 5px;
  color: #7b8194;
  font-size: 12px;
  font-weight: 800;
}

.product-info-cell small {
  margin-top: 4px;
  color: #8a90a3;
  font-size: 12px;
}

.product-list-table .el-table__cell {
  vertical-align: middle;
}

.product-ip-role-cell {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.product-ip-role-cell span,
.product-ip-role-cell strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-ip-role-cell span {
  color: #536fc6;
  font-size: 12px;
  font-weight: 900;
}

.product-ip-role-cell strong {
  color: #242737;
  font-size: 14px;
  font-weight: 950;
}

.product-list-table .price-text {
  display: block;
  margin-top: 3px;
}

.product-completeness-cell {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.product-completeness-cell strong,
.product-completeness-cell small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-completeness-cell strong {
  color: #242737;
  font-size: 13px;
  font-weight: 900;
}

.product-completeness-cell small {
  color: #8a90a3;
  font-size: 12px;
}

.selected-maker-tags {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
}

.selected-maker-tags .el-tag {
  border-color: #ffd2e7;
  background: #fff4fa;
  color: #ff4f9c;
  font-weight: 800;
}

.product-row-actions {
  display: grid;
  justify-items: start;
  gap: 2px;
}

.product-row-actions .el-button {
  margin-left: 0;
  padding: 0;
}

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

.asset-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid #e9ecf4;
  border-radius: 12px;
  background: #ffffff;
}

.asset-preview {
  width: 112px;
  height: 84px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: #f8f9fd;
}

.asset-preview img,
.drawer-product img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.order-detail-drawer .drawer-product img {
  object-fit: cover;
}

.asset-card small,
.asset-card span,
.asset-card p {
  color: #7b8194;
  font-size: 12px;
}

.asset-card strong {
  display: block;
  margin: 4px 0;
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-card p {
  display: -webkit-box;
  margin: 7px 0 0;
  overflow: hidden;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.asset-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nested-card {
  height: 100%;
  background: #fbfcff;
}

.rule-list > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #edf0f6;
  border-radius: 10px;
  background: #ffffff;
}

.rule-list span {
  min-width: 0;
  overflow: hidden;
  color: #6f768b;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settings-form {
  max-width: 760px;
}

.settings-real-form {
  max-width: 920px;
}

.settings-group {
  margin-bottom: 18px;
  padding: 16px 18px 4px;
  border: 1px solid #e9ecf4;
  border-radius: 12px;
  background: #fbfcff;
}

.settings-group-head {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
}

.settings-group-head strong {
  color: var(--ink);
  font-size: 15px;
}

.settings-group-head span {
  color: #8a90a3;
  font-size: 12px;
  line-height: 1.5;
}

.settings-field-hint {
  margin-top: 6px;
  color: #8a90a3;
  font-size: 12px;
  line-height: 1.4;
}

.settings-actions {
  margin-top: 4px;
}

.head-guide-config {
  display: grid;
  gap: 12px;
  width: 100%;
}

.head-guide-type {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.head-guide-type span {
  color: #8a90a3;
  font-size: 12px;
}

.head-guide-preview {
  position: relative;
  width: 360px;
  max-width: 100%;
  aspect-ratio: 347 / 250;
  overflow: hidden;
  border: 1px solid #ffd0e3;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff6fb, #f7fbff);
}

.head-guide-preview img,
.head-guide-preview video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.head-guide-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(30, 28, 44, 0.58);
  font-size: 22px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.head-guide-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #ff5c98;
  cursor: pointer;
}

.head-guide-remove.small {
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
}

.head-guide-upload {
  width: fit-content;
  padding: 9px 16px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #f062b7, #8b7cf6);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.head-guide-upload.ghost {
  color: #ff4f9c;
  border: 1px solid #ffd0e3;
  background: #fff7fb;
}

.head-guide-upload input {
  display: none;
}

.head-guide-cover-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.head-guide-cover {
  position: relative;
  width: 140px;
  height: 92px;
  overflow: hidden;
  border: 1px solid #e9ecf4;
  border-radius: 14px;
  background: #f7f8fc;
}

.head-guide-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.data-health-card {
  margin-top: 16px;
}

.data-health-card .el-alert {
  margin-bottom: 14px;
}

.data-health-summary {
  row-gap: 12px;
  margin-bottom: 14px;
}

.data-health-stat {
  display: grid;
  gap: 5px;
  min-height: 112px;
  padding: 14px;
  border: 1px solid #edf0f6;
  border-radius: 12px;
  background: #ffffff;
}

.data-health-stat span {
  color: #747b90;
  font-size: 12px;
  font-weight: 800;
}

.data-health-stat strong {
  color: #222433;
  font-size: 22px;
  line-height: 1.15;
}

.data-health-stat small {
  color: #8a90a3;
  font-size: 12px;
  line-height: 1.35;
}

.data-health-stat.success strong {
  color: #29a36a;
}

.data-health-stat.warning strong,
.data-health-stat.gold strong {
  color: #c8891f;
}

.data-health-stat.danger strong {
  color: #f05c7a;
}

.data-health-stat.violet strong {
  color: #7b6bea;
}

.data-health-table {
  margin-top: 4px;
}

.data-health-plan {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.data-health-plan section {
  padding: 14px;
  border: 1px solid #edf0f6;
  border-radius: 12px;
  background: #fbfcff;
}

.data-health-plan strong {
  display: block;
  margin-bottom: 8px;
  color: #232638;
}

.data-health-plan p {
  margin: 6px 0 0;
  color: #677086;
  font-size: 13px;
  line-height: 1.55;
}

.access-control-page {
  gap: 16px;
}

.access-summary-row {
  row-gap: 12px;
}

.access-stat-card {
  min-height: 136px;
}

.access-stat-card .el-card__body {
  display: grid;
  gap: 7px;
  min-height: 136px;
}

.access-stat-card span,
.access-stat-card small {
  color: #747b90;
}

.access-stat-card strong {
  color: #222433;
  font-size: 24px;
  line-height: 1.1;
}

.access-toolbar-card .card-header {
  align-items: center;
}

.access-toolbar-card .filter-actions {
  min-width: min(100%, 620px);
}

.access-toolbar-card .filter-actions .el-input {
  min-width: 260px;
}

.access-card .el-card__body {
  padding-top: 0;
}

.access-table .el-table__cell {
  vertical-align: top;
}

.access-role-cell,
.access-admin-cell,
.access-scope-cell {
  display: grid;
  min-width: 0;
}

.access-role-cell {
  gap: 4px;
}

.access-role-cell strong,
.access-admin-cell strong,
.access-scope-cell strong {
  min-width: 0;
  overflow: hidden;
  color: #242737;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.access-role-cell small,
.access-admin-cell small,
.access-scope-cell small {
  min-width: 0;
  overflow: hidden;
  color: #8a90a3;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.access-admin-cell {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.access-admin-cell > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 111, 174, 0.16), rgba(139, 124, 246, 0.14));
  color: #ff4f9c;
  font-weight: 900;
}

.permission-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.access-scope-cell {
  gap: 5px;
}

.drawer-product {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 111, 174, 0.18);
  border-radius: 16px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 111, 174, 0.14), transparent 36%),
    linear-gradient(135deg, #fffafd 0%, #f7fbff 100%);
}

.drawer-product img {
  width: 132px;
  height: 132px;
  border: 1px solid #edf0f6;
  border-radius: 12px;
  background: #f8f9fd;
  object-fit: cover;
}

.drawer-product h3 {
  margin: 10px 0 7px;
  color: #202335;
  font-size: 20px;
  font-weight: 900;
}

.drawer-product p {
  margin: 0;
  color: #4667c8;
  font-weight: 800;
}

.drawer-product small {
  display: block;
  margin-top: 6px;
  color: #9aa0b2;
  font-size: 12px;
}

.drawer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.order-detail-actions {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  margin-bottom: 14px;
  border: 1px solid #edf0f6;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.order-detail-drawer .el-drawer__body {
  padding: 18px;
  background: #f6f8fd;
}

.order-detail-drawer .el-descriptions {
  overflow: hidden;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(61, 66, 92, 0.05);
}

.order-detail-drawer .asset-summary-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 14px;
}

.order-detail-drawer .asset-summary-grid div {
  min-height: 82px;
  border-color: rgba(255, 111, 174, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 111, 174, 0.08), rgba(139, 124, 246, 0.05)),
    #ffffff;
}

.order-detail-drawer .asset-summary-grid strong {
  color: #ff4f9c;
}

.fulfillment-summary,
.tail-payment-summary,
.after-sale-summary {
  display: grid;
  gap: 4px;
  padding: 12px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 111, 174, 0.18);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 111, 174, 0.08), rgba(139, 124, 246, 0.06));
}

.fulfillment-summary strong,
.tail-payment-summary strong,
.after-sale-summary strong {
  color: #242737;
  font-size: 15px;
}

.fulfillment-summary span,
.tail-payment-summary span,
.after-sale-summary span {
  color: #7b8194;
  font-size: 12px;
}

.fulfillment-form .el-alert {
  margin-top: 6px;
}

.after-sale-reason-card {
  display: grid;
  gap: 6px;
  padding: 12px;
  margin-bottom: 14px;
  border: 1px solid #ffe1ef;
  border-radius: 12px;
  background: #fff7fb;
}

.after-sale-reason-card span {
  color: #ff4f9c;
  font-size: 12px;
  font-weight: 900;
}

.after-sale-reason-card strong {
  color: #242737;
  font-size: 15px;
}

.after-sale-reason-card p {
  margin: 0;
  color: #7b8194;
  line-height: 1.55;
}

.logistics-head {
  display: grid;
  gap: 6px;
  padding: 14px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 111, 174, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 111, 174, 0.1), rgba(105, 200, 255, 0.08)),
    #ffffff;
}

.logistics-head h3 {
  margin: 0;
  color: #242737;
  font-size: 18px;
}

.logistics-head p {
  margin: 0;
  color: #7b8194;
  font-size: 12px;
}

.logistics-api-note {
  padding: 10px 12px;
  margin: 14px 0;
  border-radius: 10px;
  background: #f7f9ff;
  color: #7b8194;
  font-size: 12px;
  line-height: 1.55;
}

.logistics-timeline {
  padding: 4px 0 0;
}

.logistics-timeline strong {
  color: #242737;
  font-size: 14px;
}

.logistics-timeline p {
  margin: 6px 0 0;
  color: #7b8194;
  line-height: 1.55;
}

.editor-dialog .el-dialog,
.editor-dialog.el-dialog {
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
}

.editor-dialog .el-dialog__header {
  padding: 20px 24px 14px;
  border-bottom: 1px solid #f0f2f7;
}

.editor-dialog .el-dialog__title {
  color: #242737;
  font-size: 18px;
  font-weight: 900;
}

.editor-dialog .el-dialog__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 24px 0;
  background: #f7f8fc;
}

.editor-dialog .el-dialog__footer {
  position: sticky;
  bottom: 0;
  z-index: 2;
  padding: 14px 24px 18px;
  background: #ffffff;
  border-top: 1px solid #edf0f6;
}

.el-select__popper,
.el-picker__popper,
.el-popper.is-pure {
  z-index: 10000 !important;
}

.editor-dialog-product.el-dialog,
.editor-dialog-order.el-dialog {
  width: min(1120px, calc(100vw - 40px));
}

.editor-dialog-product .editor-context-card,
.editor-dialog-order .editor-context-card {
  border-color: rgba(255, 111, 174, 0.2);
  box-shadow: 0 18px 34px rgba(68, 72, 97, 0.06);
}

.editor-dialog-product .editor-form,
.editor-dialog-order .editor-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.editor-dialog-product .editor-section,
.editor-dialog-order .editor-section {
  min-height: 100%;
  border-color: rgba(222, 227, 240, 0.92);
}

.editor-dialog-product .editor-section:has(.product-media-editor),
.editor-dialog-product .editor-section:has(.product-spec-editor) {
  grid-column: 1 / -1;
}

.product-editor-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 14px;
  margin: 14px 0;
}

.product-editor-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-self: start;
}

.product-editor-steps button {
  min-height: 66px;
  padding: 11px 12px;
  border: 1px solid #e7e9f2;
  border-radius: 14px;
  background: #ffffff;
  color: #242737;
  text-align: left;
  cursor: pointer;
}

.product-editor-steps button.active {
  border-color: rgba(255, 111, 174, 0.44);
  background: linear-gradient(135deg, #fff7fb, #f8fbff);
  box-shadow: 0 14px 28px rgba(68, 72, 97, 0.08);
}

.product-editor-steps strong,
.product-editor-steps small {
  display: block;
}

.product-editor-steps strong {
  font-size: 13px;
  font-weight: 950;
}

.product-editor-steps small {
  margin-top: 5px;
  color: #7d8496;
  font-size: 12px;
}

.product-publish-check-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #e8ebf3;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(68, 72, 97, 0.06);
}

.product-publish-check-card > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.product-publish-check-card small {
  color: #8b91a4;
  font-size: 12px;
}

.product-publish-check-card strong {
  color: #242737;
  font-size: 14px;
  font-weight: 950;
}

.product-publish-check-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-publish-check-card li {
  display: grid;
  grid-template-columns: 44px minmax(72px, auto) minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 30px;
  padding: 6px 8px;
  border-radius: 10px;
  background: #fff8fb;
}

.product-publish-check-card li.ok {
  background: #f2fbf7;
}

.product-publish-check-card li span {
  display: inline-grid;
  place-items: center;
  height: 20px;
  border-radius: 999px;
  background: #ffe1ec;
  color: #f05c7a;
  font-size: 11px;
  font-weight: 900;
}

.product-publish-check-card li.ok span {
  background: #dff6ea;
  color: #168653;
}

.product-publish-check-card li b {
  color: #242737;
  font-size: 12px;
}

.product-publish-check-card li em {
  min-width: 0;
  overflow: hidden;
  color: #7d8496;
  font-size: 12px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.editor-dialog-order .editor-section:has(.head-info-cell),
.editor-dialog-order .editor-section:has(textarea) {
  grid-column: 1 / -1;
}

.editor-context-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid #edf0f6;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 111, 174, 0.08), rgba(139, 124, 246, 0.08)),
    #ffffff;
}

.editor-context-card div {
  min-width: 0;
}

.editor-context-card small {
  color: #ff4f9c;
  font-size: 12px;
  font-weight: 900;
}

.editor-context-card strong {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: #242737;
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.editor-context-card p {
  margin: 6px 0 0;
  overflow: hidden;
  color: #7b8194;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.editor-preview-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: stretch;
  gap: 14px;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid rgba(255, 111, 174, 0.18);
  border-radius: 14px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 111, 174, 0.12), transparent 34%),
    linear-gradient(135deg, #fffafd 0%, #f7fbff 100%);
}

.editor-preview-card:has(.preview-product-publish) {
  grid-template-columns: minmax(260px, 0.72fr) minmax(460px, 1.28fr);
}

.editor-preview-copy {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 6px;
}

.editor-preview-copy small {
  color: #ff4f9c;
  font-size: 12px;
  font-weight: 900;
}

.editor-preview-copy strong {
  overflow: hidden;
  color: #232638;
  font-size: 18px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.editor-preview-copy p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #626b80;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-line;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.editor-preview-copy span {
  color: #8a90a3;
  font-size: 12px;
}

.editor-preview-copy em {
  color: #ff4f9c;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.editor-miniapp-preview {
  width: 280px;
  min-height: 210px;
  padding: 12px;
  border: 1px solid #edf0f6;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 246, 252, 0.9), rgba(241, 249, 255, 0.95)),
    #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.editor-miniapp-preview.preview-product-publish {
  width: 100%;
  min-height: 0;
  padding: 10px;
}

.editor-miniapp-preview.preview-product-publish > .miniapp-preview-bar {
  display: none;
}

.miniapp-preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #232638;
  font-size: 13px;
  font-weight: 900;
}

.miniapp-preview-bar i {
  width: 42px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e3e7f1;
}

.miniapp-product-publish-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 10px;
}

.publish-preview-screen {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(226, 231, 243, 0.96);
  border-radius: 18px;
  background: #f8faff;
  box-shadow: 0 12px 28px rgba(93, 104, 139, 0.1);
}

.publish-preview-screen-head {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  color: #25293a;
  background: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 950;
}

.publish-preview-screen-head i {
  width: 42px;
  height: 18px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #dfe5f1;
}

.publish-preview-search {
  height: 30px;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 10px 10px 8px;
  padding: 0 10px;
  border-radius: 15px;
  color: #8b93a8;
  background: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

.publish-preview-search span {
  width: 12px;
  height: 12px;
  border: 2px solid #ff7ab7;
  border-radius: 50%;
  position: relative;
}

.publish-preview-search span::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 6px;
  height: 2px;
  border-radius: 2px;
  background: #ff7ab7;
  transform: rotate(45deg);
}

.publish-preview-search em {
  overflow: hidden;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.publish-preview-sort b {
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #6a7287;
  background: #ffffff;
  font-size: 10px;
  font-weight: 900;
}

.publish-mall-card {
  overflow: hidden;
  margin: 0 10px 12px;
  border: 1px solid rgba(231, 232, 241, 0.94);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(78, 86, 128, 0.12);
}

.publish-mall-cover,
.publish-detail-media {
  position: relative;
  overflow: hidden;
  background: #050509;
}

.publish-mall-cover {
  height: 150px;
}

.publish-mall-cover span {
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 3;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 111, 174, 0.42);
  border-radius: 50%;
  color: #ff4f9c;
  background: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  font-weight: 950;
  line-height: 22px;
  text-align: center;
}

.publish-mall-copy {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  padding: 9px 10px 10px;
}

.publish-mall-copy strong {
  overflow: hidden;
  color: #5e8add;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.16;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.publish-mall-copy p {
  min-height: 34px;
  display: -webkit-box;
  margin: 4px 0 8px;
  overflow: hidden;
  color: #30354a;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.publish-mall-copy small {
  height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding: 0 8px;
  border: 1px solid rgba(255, 111, 174, 0.2);
  border-radius: 12px;
  color: #8f5a75;
  background: #fff7fb;
  font-size: 11px;
  font-weight: 900;
}

.publish-mall-copy small i {
  width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: #ff6fae;
  font-size: 10px;
  font-style: normal;
}

.publish-mall-copy em {
  margin-top: 8px;
  color: #ff4f9c;
  font-size: 19px;
  font-style: normal;
  font-weight: 950;
}

.publish-detail-media {
  height: 172px;
}

.publish-detail-media b {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 11px;
  color: #ffffff;
  background: rgba(28, 30, 43, 0.52);
  font-size: 11px;
}

.publish-detail-card {
  margin: 10px;
  padding: 12px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(123, 134, 166, 0.12);
}

.publish-detail-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.publish-detail-price strong {
  color: #ff4f9c;
  font-size: 22px;
  font-weight: 950;
}

.publish-detail-price span {
  color: #8a91a5;
  font-size: 11px;
  font-weight: 900;
}

.publish-detail-card h4 {
  margin: 7px 0 6px;
  color: #25293a;
  font-size: 15px;
  line-height: 1.25;
}

.publish-detail-card p {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
}

.publish-detail-card p span {
  padding: 3px 7px;
  border-radius: 999px;
  color: #667189;
  background: #f5f7fb;
  font-size: 11px;
  font-weight: 800;
}

.publish-detail-buyer-show {
  margin: 0 10px 12px;
  padding: 10px;
  border-radius: 12px;
  background: #ffffff;
}

.publish-detail-buyer-show b {
  display: block;
  margin-bottom: 8px;
  color: #25293a;
  font-size: 13px;
  font-weight: 950;
}

.publish-detail-buyer-show div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.publish-detail-buyer-show span {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 9px;
  background: #050509;
}

.publish-detail-buyer-show img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.publish-detail-buyer-show .admin-fit-bg {
  display: none;
}

.publish-detail-buyer-show .admin-fit-main {
  object-fit: contain;
}

.publish-mall-cover .admin-fit-bg {
  display: none;
}

.publish-mall-cover .admin-fit-main {
  object-fit: cover;
}

.publish-detail-media .admin-fit-bg {
  display: none;
}

.publish-detail-media .admin-fit-main {
  object-fit: contain;
}

.miniapp-preview-banner {
  position: relative;
  height: 118px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #f7d7ee, #d8f2ff);
}

.miniapp-preview-banner img,
.miniapp-preview-image-block img,
.miniapp-preview-product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.miniapp-preview-banner-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  max-width: 160px;
  height: 24px;
  padding: 0 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  background: rgba(55, 48, 77, 0.28);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 6px 16px rgba(55, 48, 77, 0.14);
  font-size: 12px;
  font-weight: 700;
  line-height: 24px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.miniapp-preview-module span,
.miniapp-preview-image-block span,
.miniapp-preview-product-card span {
  color: inherit;
  font-size: 11px;
  line-height: 1.45;
}

.miniapp-preview-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.miniapp-preview-product-card {
  min-height: 176px;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(123, 134, 166, 0.16);
}

.miniapp-preview-product-card img {
  height: 98px;
  display: block;
}

.miniapp-preview-product-card b,
.miniapp-preview-product-card span,
.miniapp-preview-product-card strong {
  display: block;
  padding: 0 9px;
}

.miniapp-preview-product-card b {
  margin-top: 8px;
  color: #202436;
  font-size: 13px;
  line-height: 1.25;
}

.miniapp-preview-product-card span {
  margin-top: 4px;
  color: #667189;
}

.miniapp-preview-product-card strong {
  margin-top: 4px;
  color: #ff4f9c;
  font-size: 16px;
}

.miniapp-preview-product-card.ghost {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.55)),
    repeating-linear-gradient(135deg, #f7eff8 0 8px, #eef8ff 8px 16px);
}

.miniapp-preview-image-block,
.miniapp-preview-module {
  min-height: 156px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(123, 134, 166, 0.13);
}

.miniapp-preview-image-block img {
  height: 112px;
  border-radius: 10px;
}

.miniapp-preview-image-block b,
.miniapp-preview-module b {
  color: #202436;
  font-size: 14px;
}

.miniapp-preview-image-block span,
.miniapp-preview-module span {
  color: #667189;
}

.product-media-editor {
  display: grid;
  gap: 12px;
  width: 100%;
}

.media-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  clip-path: inset(50%);
}

.media-drop-zone {
  position: relative;
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 150px;
  padding: 18px;
  border: 1px dashed rgba(255, 79, 156, 0.46);
  border-radius: 14px;
  background: linear-gradient(135deg, #fff7fb, #f8fbff);
  color: #242737;
  cursor: pointer;
  text-align: center;
}

.media-drop-zone strong {
  font-size: 15px;
}

.media-drop-zone span {
  color: #7b8194;
  font-size: 12px;
}

.media-upload-button {
  height: 30px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #ff5f9d;
  color: #ffffff;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(255, 95, 157, 0.2);
}

.media-upload-button.ghost {
  background: #ffffff;
  border: 1px solid #b9d8ff;
  color: #3188f2;
  box-shadow: 0 8px 20px rgba(49, 136, 242, 0.1);
}

.asset-pick-button {
  margin-top: 10px;
}

.asset-picker-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.asset-picker-toolbar .el-input {
  flex: 1;
}

.asset-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  max-height: 58vh;
  overflow: auto;
  padding: 2px;
}

.asset-picker-card {
  border: 1px solid #e3ebf7;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(104, 116, 150, 0.08);
  overflow: hidden;
}

.asset-picker-card.selected {
  border-color: #409eff;
  box-shadow: 0 12px 30px rgba(64, 158, 255, 0.18);
}

.asset-picker-thumb {
  display: block;
  width: 100%;
  height: 132px;
  border: 0;
  background: #f7f9fd;
  cursor: zoom-in;
  padding: 0;
}

.asset-picker-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.asset-picker-card-body {
  padding: 10px 12px 12px;
}

.asset-picker-card-body strong,
.asset-picker-card-body span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-picker-card-body strong {
  color: #252a3a;
  font-size: 14px;
}

.asset-picker-card-body span {
  margin-top: 4px;
  color: #7d8598;
  font-size: 12px;
}

.asset-picker-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.upload-size-hint {
  display: block;
  max-width: 100%;
  color: #ff4f9c;
  font-size: 12px;
  line-height: 1.45;
  font-style: normal;
  font-weight: 700;
  text-align: center;
}

.upload-size-hint-left {
  margin-top: 6px;
  color: #8a90a3;
  text-align: left;
}

.asset-toolbar-hint {
  flex: 1 1 100%;
  margin-top: -2px;
  color: #8a90a3;
  text-align: left;
}

.single-image-editor > .upload-size-hint {
  width: 100%;
  max-width: 360px;
  text-align: left;
}

.media-sort-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.media-sort-item {
  position: relative;
  width: 148px;
  display: grid;
  gap: 7px;
  padding: 8px;
  border: 1px solid #edf0f6;
  border-radius: 12px;
  background: #fbfcff;
  cursor: grab;
}

.media-sort-item:first-child {
  border-color: #ff6fac;
  background: #fff7fb;
  box-shadow: 0 12px 24px rgba(255, 95, 143, 0.12);
}

.media-position-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(40px, 1fr));
  gap: 6px;
}

.media-position-actions button {
  height: 26px;
  border: 1px solid #e1e7f2;
  border-radius: 7px;
  background: #ffffff;
  color: #667189;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.media-position-actions button:not(:disabled):hover {
  border-color: rgba(255, 79, 156, 0.42);
  color: #ff4f9c;
  background: #fff3fa;
}

.media-position-actions button:disabled {
  color: #c4cad6;
  cursor: not-allowed;
  background: #f7f9fd;
}

.media-preview-thumb {
  position: relative;
  display: block;
  width: 100%;
  height: 98px;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: #f1f4fa;
  cursor: pointer;
  user-select: none;
  -webkit-user-drag: none;
}

.media-preview-thumb img,
.buyer-show-mini-media img,
.buyer-show-draft-media img {
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.admin-fit-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: none;
  filter: none;
  -webkit-filter: none;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.admin-fit-main {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: transparent;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.media-preview-thumb img,
.media-preview-thumb video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.media-preview-thumb .admin-fit-bg,
.single-image-preview .admin-fit-bg,
.buyer-show-cover .admin-fit-bg,
.buyer-show-mini-media .admin-fit-bg,
.buyer-show-draft-media .admin-fit-bg,
.admin-fit-dialog .admin-fit-bg {
  display: none;
}

.single-image-preview .admin-fit-main,
.admin-fit-dialog .admin-fit-main {
  object-fit: contain;
}

.media-preview-thumb .admin-fit-main {
  object-fit: cover;
}

.buyer-show-cover .admin-fit-main,
.buyer-show-mini-media .admin-fit-main,
.buyer-show-draft-media .admin-fit-main {
  object-fit: contain;
}

.media-play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: rgba(20, 22, 32, 0.58);
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 18px rgba(20, 22, 32, 0.18);
  z-index: 4;
  pointer-events: none;
}

.media-play-badge::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #ffffff;
}

.publish-detail-buyer-show .media-play-badge,
.buyer-show-mini-media .media-play-badge {
  width: 24px;
  height: 24px;
}

.publish-detail-buyer-show .media-play-badge::after,
.buyer-show-mini-media .media-play-badge::after {
  margin-left: 2px;
  border-top-width: 5px;
  border-bottom-width: 5px;
  border-left-width: 8px;
}

.buyer-show-cover .media-play-badge,
.buyer-show-draft-media .media-play-badge {
  width: 30px;
  height: 30px;
}

.buyer-show-cover .media-play-badge::after,
.buyer-show-draft-media .media-play-badge::after {
  border-top-width: 6px;
  border-bottom-width: 6px;
  border-left-width: 10px;
}

.media-remove-x {
  position: absolute;
  right: -7px;
  top: -7px;
  z-index: 6;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: #ff5f8f;
  color: #ffffff;
  font-size: 16px;
  line-height: 20px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(255, 95, 143, 0.25);
}

.product-spec-editor {
  display: grid;
  gap: 10px;
  width: 100%;
}

.product-spec-row {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 128px 128px 158px 38px;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid #edf0f6;
  border-radius: 12px;
  background: #fbfcff;
}

.product-spec-advice {
  grid-column: 1 / -1;
  color: #7c8193;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.maker-recommend-text {
  display: inline-block;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
  white-space: nowrap;
}

.role-list-editor,
.tag-list-editor,
.single-image-editor {
  display: grid;
  gap: 10px;
  width: 100%;
}

.role-chip-list,
.tag-chip-list {
  min-height: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 9px;
  border: 1px solid #edf0f6;
  border-radius: 10px;
  background: #fbfcff;
}

.role-chip-list > span,
.tag-chip-list > span {
  color: #9aa1b5;
  font-size: 12px;
}

.role-add-row,
.tag-add-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.field-helper-text {
  display: block;
  color: #9aa0b2;
  font-size: 12px;
  line-height: 1.4;
}

.single-image-drop {
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 124px;
  padding: 18px;
  border: 1px dashed rgba(255, 79, 156, 0.46);
  border-radius: 14px;
  background: linear-gradient(135deg, #fff7fb, #f8fbff);
  color: #242737;
  cursor: pointer;
}

.single-image-drop span {
  color: #7b8194;
  font-size: 12px;
}

.single-image-preview {
  position: relative;
  width: 180px;
}

.single-image-preview button:first-child {
  position: relative;
  width: 180px;
  height: 116px;
  overflow: hidden;
  padding: 0;
  border: 1px solid #edf0f6;
  border-radius: 12px;
  background: #f7f9ff;
  cursor: pointer;
}

.single-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.single-image-remove-x {
  position: absolute;
  right: -8px;
  top: -8px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: #ff5f8f;
  color: #ffffff;
  font-size: 18px;
  line-height: 22px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(255, 95, 143, 0.28);
}

.editor-radio-group {
  width: 100%;
}

.editor-native-select {
  width: 100%;
  height: 32px;
  padding: 0 32px 0 10px;
  border: 1px solid #d8dee9;
  border-radius: 6px;
  background: #ffffff;
  color: #242737;
  font-size: 13px;
  font-weight: 700;
  outline: none;
  cursor: pointer;
}

.editor-native-input,
.editor-native-textarea {
  width: 100%;
  border: 1px solid #d8dee9;
  border-radius: 6px;
  background: #ffffff;
  color: #242737;
  font-size: 13px;
  font-weight: 700;
  outline: none;
  box-sizing: border-box;
}

.editor-native-input {
  height: 32px;
  padding: 0 10px;
}

.editor-native-number {
  padding-right: 6px;
}

.editor-native-textarea {
  min-height: 92px;
  padding: 8px 10px;
  line-height: 1.5;
  resize: vertical;
}

.editor-native-select:focus,
.editor-native-input:focus,
.editor-native-textarea:focus {
  border-color: #409eff;
  box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.12);
}

.editor-native-select:disabled {
  background: #f7f9fd;
  color: #9aa0b2;
  cursor: not-allowed;
}

.product-dictionary-combobox {
  position: relative;
  width: 100%;
}

.product-dictionary-combobox.disabled {
  cursor: not-allowed;
}

.product-dictionary-input {
  padding-right: 34px;
}

.product-dictionary-caret {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #8d96aa;
  border-bottom: 2px solid #8d96aa;
  transform: rotate(45deg);
  pointer-events: none;
}

.product-dictionary-combobox.open .product-dictionary-input {
  border-color: #409eff;
  box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.12);
}

.product-dictionary-panel {
  position: absolute;
  z-index: 3300;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  display: grid;
  gap: 6px;
  max-height: 238px;
  overflow: auto;
  padding: 8px;
  border: 1px solid #e3e8f2;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(35, 39, 55, 0.16);
}

.product-dictionary-panel button,
.product-dictionary-empty {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 850;
}

.product-dictionary-panel button {
  justify-content: flex-start;
  border: 1px solid #edf0f6;
  background: #f8faff;
  color: #586176;
  cursor: pointer;
}

.product-dictionary-panel button:hover,
.product-dictionary-panel button.active {
  border-color: rgba(64, 158, 255, 0.22);
  background: #edf6ff;
  color: #2278d8;
}

.product-dictionary-panel button b {
  color: #8b93a7;
  font-size: 11px;
  font-weight: 850;
}

.product-dictionary-panel button.product-dictionary-add {
  justify-content: flex-start;
  border-color: rgba(255, 79, 156, 0.35);
  border-style: dashed;
  background: #fff0f7;
  color: #ff4f9c;
}

.product-dictionary-panel button.product-dictionary-add:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.product-dictionary-empty {
  color: #9aa0b2;
  background: #fafbfe;
}

.editor-chip-multi-select {
  min-height: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 6px;
  border: 1px solid #d8dee9;
  border-radius: 6px;
  background: #ffffff;
}

.editor-chip-multi-select button {
  height: 26px;
  padding: 0 10px;
  border: 1px solid #edf0f6;
  border-radius: 999px;
  background: #f7f9fd;
  color: #667189;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.editor-chip-multi-select button.active {
  border-color: rgba(255, 79, 156, 0.44);
  background: #fff0f7;
  color: #ff4f9c;
}

.editor-chip-multi-select span {
  color: #9aa0b2;
  font-size: 12px;
}

.editor-chip-dropdown {
  position: relative;
  width: 100%;
}

.editor-chip-dropdown-trigger {
  width: 100%;
  min-height: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 5px 10px;
  border: 1px solid #d8dee9;
  border-radius: 6px;
  background: #ffffff;
  color: #242737;
  cursor: pointer;
  text-align: left;
}

.editor-chip-dropdown.open .editor-chip-dropdown-trigger {
  border-color: #409eff;
  box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.12);
}

.editor-chip-dropdown-trigger > b {
  color: #9aa0b2;
  font-size: 14px;
  line-height: 1;
}

.editor-chip-placeholder {
  color: #9aa0b2;
  font-size: 13px;
  font-weight: 700;
}

.editor-chip-selected-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.editor-chip-selected-list i {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(255, 79, 156, 0.36);
  border-radius: 999px;
  background: #fff3fa;
  color: #ff4f9c;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.editor-chip-selected-list em {
  color: #ff6aa6;
  font-style: normal;
  font-weight: 950;
  cursor: pointer;
}

.editor-chip-dropdown-panel {
  position: absolute;
  z-index: 3200;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  display: grid;
  gap: 6px;
  max-height: 220px;
  overflow: auto;
  padding: 8px;
  border: 1px solid #e3e8f2;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(35, 39, 55, 0.14);
}

.editor-chip-dropdown-panel button {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 10px;
  border: 1px solid #edf0f6;
  border-radius: 7px;
  background: #f8faff;
  color: #586176;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.editor-chip-dropdown-panel button.active {
  border-color: rgba(255, 79, 156, 0.42);
  background: #fff0f7;
  color: #ff4f9c;
}

.editor-chip-dropdown-panel button b {
  color: #ff4f9c;
  font-size: 11px;
}

.editor-chip-dropdown-panel > span {
  color: #9aa0b2;
  font-size: 12px;
}

.product-spec-remove {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #ff5f8f;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  line-height: 28px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(255, 95, 143, 0.22);
}

.product-spec-add {
  justify-self: start;
  height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(64, 158, 255, 0.36);
  border-radius: 6px;
  background: #ffffff;
  color: #409eff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.product-spec-remove:hover,
.product-spec-add:hover {
  filter: brightness(0.98);
}

.editor-color-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.media-preview-dialog img,
.media-preview-dialog video {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 12px;
  background: #0f1118;
}

.admin-fit-dialog {
  position: relative;
  width: 100%;
  height: min(70vh, 640px);
  overflow: hidden;
  border-radius: 12px;
  background: #0f1118;
}

.admin-fit-dialog .admin-fit-bg {
  display: none;
  opacity: 0;
  transform: none;
  filter: none;
  -webkit-filter: none;
}

.media-preview-dialog .admin-fit-dialog img {
  max-height: none;
  border-radius: 0;
  background: transparent;
}

.buyer-show-dialog .el-dialog__body {
  display: grid;
  gap: 14px;
  background: #f7f8fc;
}

.buyer-show-dialog-head,
.buyer-show-row,
.buyer-show-create-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.buyer-show-dialog-head {
  padding: 14px;
  border: 1px solid #edf0f6;
  border-radius: 12px;
  background: #ffffff;
}

.buyer-show-dialog-head small,
.buyer-show-row-copy span {
  display: block;
  color: #7b8194;
  font-size: 12px;
  font-weight: 700;
}

.buyer-show-row-copy .buyer-show-spec {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 8px;
  color: #5d6478;
  background: #f5f7fb;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
}

.buyer-show-dialog-head strong,
.buyer-show-row-copy strong,
.buyer-show-create-head strong {
  color: #242737;
  font-size: 15px;
  font-weight: 900;
}

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

.buyer-show-row {
  align-items: stretch;
  padding: 12px;
  border: 1px solid #edf0f6;
  border-radius: 12px;
  background: #ffffff;
}

.buyer-show-cover,
.buyer-show-mini-media [role="button"],
.buyer-show-draft-media [role="button"] {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #050509;
}

.buyer-show-cover {
  width: 86px;
  height: 86px;
  flex: 0 0 auto;
}

.buyer-show-cover img,
.buyer-show-cover video,
.buyer-show-mini-media img,
.buyer-show-mini-media video,
.buyer-show-draft-media img,
.buyer-show-draft-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.buyer-show-cover em,
.buyer-show-mini-media em,
.buyer-show-draft-media em {
  position: absolute;
  left: 5px;
  top: 5px;
  z-index: 2;
  height: 18px;
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.52);
  color: #ffffff;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.buyer-show-row-copy {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 7px;
}

.buyer-show-mini-media,
.buyer-show-draft-media {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.buyer-show-mini-media [role="button"] {
  width: 48px;
  height: 48px;
  cursor: grab;
}

.buyer-show-create-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 111, 174, 0.22);
  border-radius: 12px;
  background: #ffffff;
}

.buyer-show-create-field {
  display: grid;
  gap: 7px;
  color: #4f5870;
  font-size: 13px;
  font-weight: 800;
}

.buyer-show-uploader {
  display: grid;
  gap: 10px;
}

.buyer-show-draft-media article {
  position: relative;
  width: 88px;
  height: 88px;
  cursor: grab;
}

.buyer-show-draft-media [role="button"] {
  display: block;
  width: 100%;
  height: 100%;
}

.editor-form {
  display: grid;
  gap: 16px;
}

.editor-section {
  padding: 16px;
  border: 1px solid #edf0f6;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(68, 72, 97, 0.04);
}

.editor-section-head {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.editor-section-head h3 {
  margin: 0;
  color: #242737;
  font-size: 16px;
  font-weight: 900;
}

.editor-section-head p {
  margin: 0;
  color: #7b8194;
  font-size: 12px;
  line-height: 1.45;
}

.editor-section .el-form-item {
  margin-bottom: 15px;
}

.editor-section .el-form-item__label {
  margin-bottom: 7px;
  color: #4f5870;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.readonly-field-display {
  min-height: 32px;
  display: flex;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid #e4e8f1;
  border-radius: 7px;
  background: #f7f9fd;
  color: #242737;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  word-break: break-word;
}

.readonly-field-display-textarea {
  min-height: 78px;
  align-items: flex-start;
  white-space: pre-wrap;
}

.field-helper {
  display: block;
  margin-top: 5px;
  color: #9aa0b2;
  font-size: 12px;
  line-height: 1.4;
}

.user-detail-head {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 16px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 111, 174, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 111, 174, 0.1), rgba(139, 124, 246, 0.08)),
    #ffffff;
}

.detail-avatar {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  font-size: 24px;
}

.user-detail-head h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.user-detail-head p {
  margin: 0 0 8px;
  color: #7b8194;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.user-manage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid #edf0f6;
  border-radius: 12px;
  background: #fbfcff;
}

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

.user-detail-overview > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #edf0f6;
  border-radius: 8px;
  background: #ffffff;
}

.user-detail-overview span {
  color: #7b8194;
  font-size: 12px;
}

.user-detail-overview strong {
  min-width: 0;
  overflow: hidden;
  color: #242737;
  font-size: 18px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-detail-overview small {
  color: #ff4f9c;
  font-size: 12px;
  font-weight: 800;
}

.custom-product-dialog .el-dialog,
.custom-product-dialog.el-dialog {
  border-radius: 18px;
  overflow: hidden;
}

.custom-product-target {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px;
  margin-bottom: 14px;
  border: 1px solid #ffe1ef;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff5fb, #f6fbff);
}

.custom-product-target strong,
.custom-product-target p {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-product-target strong {
  color: #242737;
  font-size: 16px;
}

.custom-product-target p {
  margin: 4px 0 0;
  color: #7b8194;
  font-size: 13px;
}

.custom-product-form {
  padding: 14px;
  border: 1px solid #edf0f6;
  border-radius: 14px;
  background: #ffffff;
}

.custom-product-preview {
  display: grid;
  gap: 7px;
  padding: 14px;
  margin-top: 14px;
  border: 1px solid #ffe1ef;
  border-radius: 14px;
  background: #fff8fc;
}

.custom-product-preview small {
  color: #ff4f9c;
  font-size: 12px;
  font-weight: 900;
}

.custom-product-preview strong {
  color: #242737;
  font-size: 16px;
}

.custom-product-preview p,
.custom-product-preview span {
  margin: 0;
  color: #697084;
  font-size: 13px;
  line-height: 1.55;
}

.user-detail-tabs {
  margin-top: 4px;
}

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

.asset-summary-grid > div {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid #edf0f6;
  border-radius: 12px;
  background: #ffffff;
}

.asset-summary-grid span {
  color: #7b8194;
  font-size: 12px;
}

.asset-summary-grid strong {
  color: #ff4f9c;
  font-size: 20px;
}

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

.coupon-summary-grid > div {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid #edf0f6;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 111, 174, 0.08), rgba(111, 201, 255, 0.08)),
    #ffffff;
}

.coupon-summary-grid span {
  color: #7b8194;
  font-size: 12px;
}

.coupon-summary-grid strong {
  color: #ff4f9c;
  font-size: 20px;
}

.coupon-name-cell {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.coupon-name-cell strong {
  color: #242737;
  font-size: 14px;
}

.coupon-name-cell span {
  color: #7b8194;
  font-size: 12px;
}

.benefit-page-card {
  border-color: #edf0f6;
}

.benefit-page-card .el-card__body {
  padding: 18px;
}

.benefit-page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf0f6;
}

.benefit-page-head p {
  margin: 0 0 4px;
  color: #ff4f9c;
  font-size: 12px;
  font-weight: 900;
}

.benefit-page-head h2 {
  margin: 0;
  color: #202332;
  font-size: 22px;
  line-height: 1.25;
}

.benefit-page-head span,
.benefit-section-head span {
  color: #7b8194;
  font-size: 13px;
  line-height: 1.45;
}

.benefit-head-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.benefit-summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 0 2px;
}

.benefit-summary-card {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #edf0f6;
  border-radius: 8px;
  background: #ffffff;
}

.benefit-summary-card.pink {
  border-color: #ffd9ea;
  background: #fff8fb;
}

.benefit-summary-card.violet {
  border-color: #e9ddff;
  background: #fbf8ff;
}

.benefit-summary-card.cyan {
  border-color: #d8efff;
  background: #f7fcff;
}

.benefit-summary-card span {
  color: #7b8194;
  font-size: 12px;
  font-weight: 800;
}

.benefit-summary-card strong {
  color: #202332;
  font-size: 22px;
  line-height: 1.15;
}

.benefit-summary-card small {
  min-width: 0;
  overflow: hidden;
  color: #8f96a8;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.benefit-tabs {
  margin-top: 10px;
}

.benefit-tabs > .el-tabs__header {
  margin-bottom: 14px;
}

.benefit-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.benefit-section-head > div {
  display: grid;
  gap: 4px;
}

.benefit-section-head strong {
  color: #202332;
  font-size: 17px;
}

.benefit-section-head .el-tag {
  flex: none;
}

.benefit-filter-panel {
  display: grid;
  align-items: center;
  gap: 10px;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid #edf0f6;
  border-radius: 8px;
  background: #fbfcff;
}

.benefit-filter-panel-coupon {
  grid-template-columns: minmax(240px, 1.2fr) minmax(180px, 0.8fr) minmax(180px, 0.8fr) auto;
}

.benefit-filter-panel-redpacket {
  grid-template-columns: minmax(260px, 1.2fr) minmax(180px, 0.8fr) auto;
  max-width: 780px;
}

.benefit-filter-title {
  display: grid;
  gap: 5px;
}

.benefit-filter-title strong {
  color: #242737;
  font-size: 16px;
}

.benefit-filter-title span {
  color: #7b8194;
  font-size: 12px;
}

.benefit-filter-panel .el-input__wrapper,
.benefit-filter-panel .el-select__wrapper {
  min-height: 38px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px #e6eaf2 inset;
}

.benefit-filter-panel .el-button {
  min-height: 38px;
  border-radius: 8px;
  font-weight: 800;
}

.benefit-toolbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  gap: 16px;
  padding: 12px 0 18px;
}

.benefit-toolbar > div {
  display: grid;
  gap: 5px;
}

.benefit-toolbar strong {
  color: #242737;
  font-size: 16px;
}

.benefit-toolbar span {
  color: #7b8194;
  font-size: 13px;
  font-weight: 500;
}

.benefit-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 92px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid #ffb9d5;
  border-radius: 8px;
  color: #ff3f91;
  font-size: 13px;
  font-weight: 900;
  background: #fff4fa;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.benefit-primary-btn.redpacket {
  border-color: #dcd7ff;
  color: #705df2;
  background: #f7f5ff;
}

.benefit-primary-btn:hover,
.benefit-primary-btn:focus {
  border-color: #ff6faf;
  color: #ffffff;
  background: #ff5aa5;
}

.benefit-primary-btn.redpacket:hover,
.benefit-primary-btn.redpacket:focus {
  border-color: #8b7cf6;
  color: #ffffff;
  background: #8b7cf6;
}

.benefit-grid-table {
  overflow: hidden;
  border: 1px solid #edf0f6;
  border-radius: 8px;
  background: #ffffff;
}

.benefit-grid-head,
.benefit-grid-row {
  display: grid;
  align-items: center;
}

.benefit-grid-table-coupon .benefit-grid-head,
.benefit-grid-table-coupon .benefit-grid-row {
  grid-template-columns: minmax(190px, 1.18fr) minmax(150px, 0.78fr) minmax(140px, 0.72fr) minmax(96px, 0.48fr) minmax(170px, 1fr) minmax(80px, 0.42fr) minmax(96px, 0.48fr);
}

.benefit-grid-table-redpacket .benefit-grid-head,
.benefit-grid-table-redpacket .benefit-grid-row {
  grid-template-columns: minmax(190px, 1.18fr) minmax(150px, 0.78fr) minmax(110px, 0.5fr) minmax(96px, 0.48fr) minmax(190px, 1fr) minmax(96px, 0.48fr);
}

.benefit-grid-head {
  min-height: 42px;
  padding: 0;
  border-bottom: 1px solid #edf0f6;
  background: #f8f9fc;
}

.benefit-grid-head span {
  padding: 0 14px;
  color: #697084;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.benefit-grid-row {
  min-height: 64px;
  padding: 0;
  border-bottom: 1px solid #edf0f6;
  background: #ffffff;
  transition: background 0.16s ease;
}

.benefit-grid-row:hover {
  background: #fff9fc;
}

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

.benefit-grid-row > * {
  min-width: 0;
  padding: 0 14px;
}

.benefit-grid-row > strong,
.benefit-type-cell strong {
  color: #202332;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.25;
}

.benefit-reason-text {
  color: #ff4f9c !important;
}

.benefit-remark-text {
  overflow: hidden;
  padding: 0 14px;
  color: #697084;
  font-size: 12px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.benefit-user-cell {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.benefit-user-cell strong {
  color: #202332;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
}

.benefit-user-cell span {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: #7b8194;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.benefit-user-cell button {
  padding: 2px 6px;
  border: 1px solid #e6eaf2;
  border-radius: 999px;
  color: #ff4f9c;
  font-size: 12px;
  font-weight: 800;
  background: #ffffff;
  cursor: pointer;
}

.benefit-discount-text {
  color: #ff4f9c;
  font-weight: 950;
}

.benefit-type-cell {
  display: grid;
  gap: 4px;
}

.benefit-discount-cell strong {
  color: #202332;
}

.benefit-type-cell small {
  color: #8f96a8;
  font-size: 12px;
  font-weight: 700;
}

.benefit-money-text {
  color: #ff4f9c !important;
  font-size: 16px !important;
}

.benefit-empty-state {
  padding: 22px;
  color: #8f96a8;
  font-size: 13px;
  text-align: center;
  background: #ffffff;
}

.feedback-summary-row {
  row-gap: 12px;
}

.feedback-tabs {
  margin-bottom: 12px;
}

.feedback-stat-card {
  border-color: #edf0f6;
}

.feedback-stat-card .el-card__body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  align-items: center;
}

.feedback-stat-card span {
  color: #7b8194;
  font-size: 13px;
  font-weight: 700;
}

.feedback-stat-card strong {
  color: #232638;
  font-size: 28px;
  font-weight: 950;
}

.feedback-card .filter-actions {
  display: grid;
  grid-template-columns: minmax(260px, 360px) auto;
  align-items: center;
  gap: 12px;
}

.feedback-table .cell {
  line-height: 1.45;
}

.feedback-status-cell,
.feedback-user-cell,
.feedback-result-cell {
  display: grid;
  gap: 8px;
}

.feedback-user-cell strong,
.feedback-result-cell strong {
  color: #242737;
  font-size: 14px;
  font-weight: 900;
}

.feedback-user-cell small,
.feedback-result-cell p,
.feedback-copy-cell p {
  margin: 0;
  color: #677086;
  font-size: 13px;
}

.feedback-copy-cell {
  display: grid;
  gap: 10px;
}

.feedback-thumb-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feedback-thumb-row button {
  overflow: hidden;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid #edf0f6;
  border-radius: 12px;
  background: #f8faff;
  cursor: pointer;
}

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

.finance-summary-row {
  row-gap: 12px;
}

.finance-stat-card {
  height: 100%;
}

.finance-stat-card .el-card__body {
  display: grid;
  gap: 8px;
  min-height: 150px;
}

.finance-stat-card span {
  color: #697084;
  font-size: 13px;
}

.finance-stat-card strong {
  color: #242737;
  font-size: 24px;
  line-height: 1.1;
}

.finance-stat-card small {
  color: #7b8194;
  font-size: 12px;
  line-height: 1.45;
}

.finance-filter-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(170px, 0.72fr) minmax(170px, 0.72fr) minmax(260px, 1.08fr) minmax(320px, 1.1fr);
  gap: 14px;
  align-items: end;
}

.other-finance-filter-grid {
  grid-template-columns: minmax(240px, 1.1fr) minmax(150px, 0.7fr) minmax(150px, 0.7fr) minmax(160px, 0.75fr) minmax(250px, 1fr) minmax(300px, 1.1fr);
}

.finance-filter-grid label {
  display: grid;
  gap: 7px;
}

.finance-filter-grid label > span {
  color: #4f5870;
  font-size: 13px;
  font-weight: 900;
}

.finance-filter-grid .el-input__wrapper,
.finance-filter-grid .el-select__wrapper {
  min-height: 40px;
  border-radius: 12px;
}

.finance-filter-grid .el-date-editor {
  width: 100%;
}

.finance-filter-panel-in-card {
  padding: 16px;
  margin-bottom: 16px;
  border: 1px solid #edf0f6;
  border-radius: 14px;
  background: #fbfcff;
}

.finance-amount-range {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 18px minmax(120px, 1fr);
  align-items: center;
  gap: 8px;
}

.finance-amount-range .el-input-number {
  width: 100%;
}

.finance-amount-range em {
  color: #9aa0b2;
  font-style: normal;
  text-align: center;
}

.finance-ledger-list {
  overflow: hidden;
  border: 1px solid #edf0f6;
  border-radius: 16px;
  background: #ffffff;
}

.finance-ledger-head,
.finance-ledger-row {
  display: grid;
  grid-template-columns: minmax(300px, 1.45fr) minmax(190px, 0.9fr) minmax(140px, 0.62fr) minmax(120px, 0.55fr) minmax(220px, 1fr);
  align-items: center;
}

.other-ledger-list .finance-ledger-head,
.other-ledger-list .finance-ledger-row {
  grid-template-columns: minmax(240px, 1.05fr) minmax(180px, 0.8fr) minmax(150px, 0.7fr) minmax(150px, 0.7fr) minmax(280px, 1.25fr);
}

.finance-ledger-head {
  min-height: 58px;
  border-bottom: 1px solid #edf0f6;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
}

.finance-ledger-head span {
  padding: 0 18px;
  color: #4f5870;
  font-size: 14px;
  font-weight: 950;
}

.finance-ledger-row {
  min-height: 82px;
  border-bottom: 1px solid #edf0f6;
  transition: background 0.16s ease;
}

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

.finance-ledger-row:hover {
  background: #fff9fc;
}

.finance-ledger-row > * {
  min-width: 0;
  padding: 0 18px;
}

.finance-reason-cell,
.finance-user-cell {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.finance-reason-cell strong,
.finance-user-cell strong {
  color: #242737;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.finance-reason-cell span,
.finance-user-cell span {
  color: #7b8194;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.finance-amount-text {
  font-size: 15px;
  font-weight: 950;
  white-space: nowrap;
}

.finance-amount-text.income {
  color: #ff4f9c;
}

.finance-amount-text.expense {
  color: #28a66f;
}

.finance-remark-text {
  color: #697084;
  font-size: 13px;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.benefit-dialog .el-dialog,
.benefit-dialog.el-dialog {
  border-radius: 18px;
  overflow: hidden;
}

.issue-target-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 11px 13px;
  border: 1px solid #e3e9f5;
  border-radius: 8px;
  background: #f7faff;
  color: #273047;
}

.issue-target-card strong {
  color: #202538;
  font-size: 14px;
  font-weight: 900;
}

.issue-target-card span {
  color: #778299;
  font-size: 12px;
}

.valid-days-field {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.valid-days-field .el-input-number {
  width: 150px;
}

.user-note-cell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  align-items: start;
  gap: 12px;
  min-height: 78px;
  padding: 10px 0;
}

.user-note-cell p {
  margin: 0;
  color: #4f5870;
  font-size: 14px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.address-mini-list,
.log-list {
  display: grid;
  gap: 10px;
}

.address-mini-list article,
.log-list article {
  position: relative;
  padding: 14px;
  border: 1px solid #edf0f6;
  border-radius: 12px;
  background: #ffffff;
}

.address-mini-list strong,
.log-list strong {
  display: block;
  margin-bottom: 5px;
}

.address-mini-list small {
  display: block;
  margin-bottom: 6px;
  color: #9aa0b2;
  font-size: 12px;
}

.address-mini-list p,
.log-list p,
.log-list span {
  margin: 0;
  color: #7b8194;
  font-size: 13px;
  line-height: 1.55;
}

.address-mini-list .el-tag {
  position: absolute;
  right: 12px;
  top: 12px;
}

.head-profile-mini-list .head-chip-grid {
  max-width: calc(100% - 86px);
  margin-top: 8px;
}

.head-profile-mini-list .head-chip-grid span {
  padding: 2px 8px;
  border-radius: 999px;
  background: #f8f7ff;
  color: #596176;
}

.head-profile-mini-list .head-chip-grid b {
  margin-left: 4px;
  color: #ff4f9c;
}

.login-history-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 14px;
  margin-bottom: 14px;
  border: 1px solid #edf0f6;
  border-radius: 12px;
  background: #fbfcff;
}

.login-history-head strong,
.login-history-head p {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.login-history-head p {
  margin: 4px 0 0;
  color: #7b8194;
  font-size: 13px;
}

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

.login-history-list article {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid #edf0f6;
  border-radius: 12px;
  background: #ffffff;
}

.login-history-list strong {
  color: #242737;
}

.login-history-list span {
  color: #ff4f9c;
  font-weight: 800;
}

.login-history-list p {
  margin: 0;
  color: #7b8194;
  font-size: 13px;
}

.el-table {
  --el-table-header-bg-color: #f8f9fd;
}

.el-table th.el-table__cell {
  color: #555d73;
  font-weight: 900;
}

.el-card__header {
  padding: 15px 18px;
}

.el-card__body {
  padding: 18px;
}

.el-tabs__content {
  overflow: visible;
}

@media (max-width: 1100px) {
  .admin-aside {
    width: 82px !important;
    flex: 0 0 82px !important;
  }

  .aside-brand {
    justify-content: center;
    padding: 0;
  }

  .aside-brand div,
  .admin-menu .el-menu-item span,
  .aside-status,
  .admin-avatar div,
  .header-actions .el-input,
  .current-role-tag {
    display: none;
  }

  .admin-menu {
    padding: 10px;
  }

  .admin-menu .el-menu-item {
    justify-content: center;
    padding: 0;
  }

  .admin-header {
    gap: 12px;
    padding: 0 14px;
  }

  .admin-header h2 {
    font-size: 19px;
  }

  .header-actions {
    flex: 0 0 auto;
    gap: 8px;
  }

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

  .front-config-hero,
  .front-config-shell,
  .front-config-module-grid,
  .copy-asset-layout,
  .content-finder-bar,
  .content-rule-cards {
    grid-template-columns: 1fr;
  }

  .front-config-metrics {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

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

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

  .refund-filter-keyword,
  .refund-filter-range {
    grid-column: span 2;
  }

  .refund-filter-actions {
    justify-content: flex-start;
  }

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

  .user-filter-form,
  .order-filter-form,
  .product-filter-form {
    grid-template-columns: 1fr;
  }

  .user-filter-form .wide-filter,
  .order-filter-form .wide-filter,
  .product-filter-form .wide-filter,
  .product-filter-form .price-range-filter {
    grid-column: auto;
  }

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

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

  .activity-metric-grid,
  .activity-funnel-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-data-stat-card .asset-stat-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .access-toolbar-card .card-header,
  .access-toolbar-card .filter-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .access-toolbar-card .filter-actions .el-input {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .asset-board {
    grid-template-columns: 1fr;
  }

  .front-config-metrics {
    grid-template-columns: 1fr;
  }

  .product-stat-grid {
    grid-template-columns: 1fr;
  }

  .refund-filter-grid,
  .refund-summary-grid {
    grid-template-columns: 1fr;
  }

  .refund-filter-keyword,
  .refund-filter-range {
    grid-column: auto;
  }

  .front-config-overview article,
  .editor-context-card,
  .editor-preview-card {
    align-items: flex-start;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .editor-preview-media {
    width: 100%;
  }

  .miniapp-product-publish-preview {
    grid-template-columns: 1fr;
  }

  .admin-header .el-breadcrumb {
    display: none;
  }

  .admin-main {
    padding: 12px;
  }

  .user-detail-head {
    grid-template-columns: 1fr;
  }

  .asset-summary-grid {
    grid-template-columns: 1fr;
  }

  .asset-stat-layout {
    grid-template-columns: 1fr;
  }

  .activity-stats-hero,
  .activity-panel-title,
  .crud-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .activity-metric-grid,
  .activity-funnel-list {
    grid-template-columns: 1fr;
  }

  .order-data-stat-card .asset-stat-layout {
    grid-template-columns: 1fr;
  }

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

.promotion-admin-page .section-card {
  border-color: rgba(255, 111, 174, 0.14);
}

.promotion-summary-row {
  row-gap: 12px;
}

.promotion-filter-card .el-card__body {
  padding-bottom: 8px;
}

.promotion-filter-form {
  grid-template-columns: minmax(260px, 1.2fr) minmax(160px, 0.7fr) minmax(240px, 1fr);
}

.promotion-admin-table strong {
  color: #242737;
  font-weight: 900;
}

.promotion-person-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.promotion-person-cell > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff6fb2, #8b7cf6 58%, #68d8df);
  box-shadow: 0 12px 26px rgba(255, 111, 174, 0.16);
  font-size: 14px;
  font-weight: 900;
}

.promotion-person-cell div,
.promotion-code-cell {
  min-width: 0;
}

.promotion-person-cell small,
.promotion-table-sub,
.promotion-code-cell small {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: #7a8195;
  font-size: 12px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.promotion-code-cell strong {
  color: #ff4f9c;
}

.pink-text {
  color: #ff4f9c !important;
}

.table-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
}

.promotion-dialog-note {
  padding: 12px 14px;
  border: 1px dashed rgba(255, 111, 174, 0.28);
  border-radius: 12px;
  color: #7a8195;
  background: #fff8fb;
  font-size: 13px;
  line-height: 1.7;
}

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

.promotion-detail-panel article {
  min-width: 0;
  padding: 14px;
  border: 1px solid #ece8f1;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffffff, #fff8fb);
}

.promotion-detail-panel span {
  display: block;
  margin-bottom: 6px;
  color: #8a90a3;
  font-size: 12px;
  font-weight: 700;
}

.promotion-detail-panel strong {
  display: block;
  overflow-wrap: anywhere;
  color: #242737;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 900;
}

@media (max-width: 960px) {
  .promotion-filter-form,
  .promotion-detail-panel,
  .service-question-layout {
    grid-template-columns: 1fr;
  }

  .service-question-preview-panel {
    position: static;
  }
}

.order-review-table .review-stars {
  color: #d8a648;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 1px;
  white-space: nowrap;
}

.order-review-no-cell {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.order-review-no-cell strong {
  color: #252839;
  font-size: 13px;
  font-weight: 900;
}

.order-review-no-cell small,
.review-product-cell small {
  overflow: hidden;
  color: #7a8195;
  font-size: 12px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-product-cell b {
  display: block;
  overflow: hidden;
  color: #252839;
  font-size: 13px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}
