/* 电商商品图MAX — 简洁创作流 */
html body.ecom-sop-page {
  height: 100%;
  min-height: 100%;
  max-height: none;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  overscroll-behavior-y: contain;
}

.ecom-sop-page {
  --es-accent: #e85d3f;
  --es-accent-deep: #bd3c25;
  --es-bg: #f7f8fa;
  --es-card: #fff;
  --es-line: rgba(15, 23, 42, 0.08);
  --es-muted: #7b8794;
  --es-text: #1f2933;
  min-height: 100vh;
  background:
    radial-gradient(circle at 100% 0, rgba(232, 93, 63, .10), transparent 30rem),
    linear-gradient(180deg, #fefcfb 0%, var(--es-bg) 40%, #fff 100%);
  color: var(--es-text);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

.ecom-sop-page .es-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 8px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 252, 250, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--es-line);
}

.ecom-sop-page .es-nav-mid {
  font-weight: 800;
  font-size: 17px;
  color: #bd3c25;
}

.ecom-sop-page .es-nav a {
  text-decoration: none;
  color: var(--es-accent);
  display: inline-flex;
  align-items: center;
}

.ecom-sop-page .es-nav__back,
.ecom-sop-page .es-nav__help {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(232, 93, 63, .16);
  border-radius: 12px;
  background: rgba(255,255,255,.82);
  color: #bd3c25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(31, 41, 51, .04);
}

.ecom-sop-page .es-nav__help {
  padding: 0;
  font-size: 14px;
  font-weight: 800;
}

.ecom-sop-page .es-nav-mid {
  font-weight: 800;
  font-size: 17px;
  color: #bd3c25;
}

.ecom-sop-page .es-tab {
  flex: 1;
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.75);
  color: var(--es-muted);
  cursor: pointer;
}

.ecom-sop-page .es-tab.active {
  background: #fff;
  color: var(--es-accent-deep);
  box-shadow: 0 4px 14px rgba(31, 41, 51, .05);
}

.ecom-sop-page .es-main {
  padding: 10px 16px max(36px, calc(28px + env(safe-area-inset-bottom, 0px)));
  max-width: 840px;
  margin: 0 auto;
}

.ecom-sop-page .es-panel[hidden] { display: none !important; }

.ecom-sop-page .es-section {
  background: var(--es-card);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
  border: 1px solid var(--es-line);
  box-shadow: 0 8px 24px rgba(31, 41, 51, 0.04);
}

.ecom-sop-page .es-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #bd3c25;
}

.ecom-sop-page .es-label .sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--es-muted);
}

.ecom-sop-page .es-qmark {
  width: 20px;
  height: 20px;
  border: 1px solid rgba(232, 93, 63, .16);
  border-radius: 50%;
  background: #fff;
  color: #bd3c25;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: none;
}

.ecom-sop-page .es-qmark--sm {
  width: 18px;
  height: 18px;
  font-size: 11px;
}

.ecom-sop-page .es-help-pop {
  max-width: 840px;
  margin: 8px auto 0;
  padding: 0 16px;
}

.ecom-sop-page .es-help-pop__inner {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(232, 93, 63, .12);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(31, 41, 51, .05);
  padding: 10px 14px;
}

.ecom-sop-page .es-help-pop__inner p {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 7px 0;
  color: #5c463f;
  font-size: 11px;
  line-height: 1.55;
}

.ecom-sop-page .es-help-pop__inner p + p {
  border-top: 1px solid rgba(232, 93, 63, .08);
}

.ecom-sop-page .es-help-pop__inner b {
  flex: none;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e85d3f;
  color: #fff;
  font-size: 10px;
}

.ecom-sop-page .es-help-pop__inner strong {
  color: #bd3c25;
}

.ecom-sop-page .es-dual--control {
  margin-bottom: 10px;
}

.ecom-sop-page .es-qa-panel {
  padding: 12px 13px;
  background: linear-gradient(180deg, rgba(232, 93, 63, 0.08), rgba(232, 93, 63, 0.03));
  border: 1px solid rgba(232, 93, 63, 0.16);
  border-radius: 14px;
}

.ecom-sop-page .es-qa-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 0;
}

.ecom-sop-page .es-qa-panel__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--es-muted);
  font-size: 10px;
  font-weight: 600;
}

.ecom-sop-page .es-qa-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  color: #bd3c25;
  background: rgba(232, 93, 63, .1);
  border: 1px solid rgba(232, 93, 63, .2);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.ecom-sop-page .es-qa-pop {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(232, 93, 63, .16);
}

.ecom-sop-page .es-qa-panel__head strong {
  font-size: 13px;
  color: #bd3c25;
}

.ecom-sop-page .es-qa-panel__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--es-muted);
  font-size: 10px;
  font-weight: 600;
}

.ecom-sop-page .es-qa-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  color: #bd3c25;
  background: rgba(232, 93, 63, .1);
  border: 1px solid rgba(232, 93, 63, .2);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.ecom-sop-page .es-qa-pop {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(232, 93, 63, .16);
}

.ecom-sop-page .es-qa-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.ecom-sop-page .es-qa-chip {
  padding: 4px 8px;
  color: #bd3c25;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(232, 93, 63, 0.16);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.ecom-sop-page .es-qa-chip.is-hard {
  color: #a0343b;
  background: rgba(255, 235, 235, .8);
  border-color: rgba(160, 52, 59, .22);
}

.ecom-sop-page .es-qa-chip.is-must {
  color: #7c5a12;
  background: rgba(255, 248, 225, .8);
  border-color: rgba(176, 132, 24, .2);
}

.ecom-sop-page .es-qa-detail {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.ecom-sop-page .es-qa-block {
  padding: 9px 11px;
  background: rgba(255,255,255,.6);
  border-radius: 10px;
}

.ecom-sop-page .es-qa-block__title {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 700;
  color: #a03a22;
}

.ecom-sop-page .es-qa-block .es-qa-chip-row { margin-bottom: 0; }

.ecom-sop-page .es-qa-list {
  margin: 0;
  padding-left: 18px;
  color: #5c463f;
  font-size: 11px;
  line-height: 1.6;
}

.ecom-sop-page .es-qa-list li + li { margin-top: 5px; }

.ecom-sop-page .es-qa-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px dashed rgba(232, 93, 63, .16);
}

.ecom-sop-page .es-qa-switch {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  color: #5c463f;
  user-select: none;
}

.ecom-sop-page .es-qa-switch input {
  display: none;
}

.ecom-sop-page .es-qa-switch__track {
  position: relative;
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: #d8c9c2;
  transition: background .18s;
  flex: none;
}

.ecom-sop-page .es-qa-switch__track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .25);
  transition: left .18s;
}

.ecom-sop-page .es-qa-switch input:checked + .es-qa-switch__track {
  background: #e85d3f;
}

.ecom-sop-page .es-qa-switch input:checked + .es-qa-switch__track::after {
  left: 16px;
}

.ecom-sop-page .es-qa-switch i {
  font-style: normal;
  font-weight: 500;
  font-size: 10px;
  color: var(--es-muted);
}

.ecom-sop-page .es-qa-report-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border: 1px solid rgba(232, 93, 63, .22);
  background: rgba(255,255,255,.7);
  color: #bd3c25;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.ecom-sop-page .es-qa-report-btn span {
  min-width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e85d3f;
  color: #fff;
  font-size: 9px;
  padding: 0 4px;
}

.ecom-sop-page .es-qa-report {
  margin-top: 10px;
}

.ecom-sop-page .es-qa-report__empty {
  padding: 14px;
  color: var(--es-muted);
  font-size: 11px;
  text-align: center;
  background: rgba(255,255,255,.5);
  border-radius: 10px;
}

.ecom-sop-page .es-qa-report__list {
  display: grid;
  gap: 6px;
  max-height: 260px;
  overflow-y: auto;
}

.ecom-sop-page .es-qa-report__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: 10px;
}

.ecom-sop-page .es-qa-report__badge {
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.ecom-sop-page .es-qa-report__badge.is-passed { color: #0f766e; background: #dcf7ec; }
.ecom-sop-page .es-qa-report__badge.is-warned { color: #a16207; background: #fdf0d3; }
.ecom-sop-page .es-qa-report__badge.is-blocked { color: #b91c1c; background: #ffe2e2; }

.ecom-sop-page .es-qa-report__main {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.ecom-sop-page .es-qa-report__main strong {
  font-size: 11px;
  color: var(--es-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ecom-sop-page .es-qa-report__main span {
  font-size: 10px;
  color: var(--es-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ecom-sop-page .es-qa-report__item time {
  font-size: 9px;
  color: var(--es-muted);
  white-space: nowrap;
}

.ecom-sop-page .es-qa-panel.is-flash {
  animation: es-qa-flash 0.9s ease;
}
@keyframes es-qa-flash {
  0%, 100% { box-shadow: 0 0 0 0 rgba(185, 28, 28, 0); }
  30% { box-shadow: 0 0 0 4px rgba(185, 28, 28, .25); }
}

.ecom-sop-page .es-qa-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px dashed rgba(15, 118, 110, .16);
}

.ecom-sop-page .es-qa-switch {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  color: #35534d;
  user-select: none;
}

.ecom-sop-page .es-qa-switch input {
  display: none;
}

.ecom-sop-page .es-qa-switch__track {
  position: relative;
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: #cbd5d1;
  transition: background .18s;
  flex: none;
}

.ecom-sop-page .es-qa-switch__track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .25);
  transition: left .18s;
}

.ecom-sop-page .es-qa-switch input:checked + .es-qa-switch__track {
  background: #0f766e;
}

.ecom-sop-page .es-qa-switch input:checked + .es-qa-switch__track::after {
  left: 16px;
}

.ecom-sop-page .es-qa-switch i {
  font-style: normal;
  font-weight: 500;
  font-size: 10px;
  color: var(--es-muted);
}

.ecom-sop-page .es-qa-report-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border: 1px solid rgba(15, 118, 110, .18);
  background: rgba(255,255,255,.7);
  color: #0f766e;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.ecom-sop-page .es-qa-report-btn span {
  min-width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #0f766e;
  color: #fff;
  font-size: 9px;
  padding: 0 4px;
}

.ecom-sop-page .es-qa-report {
  margin-top: 10px;
}

.ecom-sop-page .es-qa-report__empty {
  padding: 14px;
  color: var(--es-muted);
  font-size: 11px;
  text-align: center;
  background: rgba(255,255,255,.5);
  border-radius: 10px;
}

.ecom-sop-page .es-qa-report__list {
  display: grid;
  gap: 6px;
  max-height: 260px;
  overflow-y: auto;
}

.ecom-sop-page .es-qa-report__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: 10px;
}

.ecom-sop-page .es-qa-report__badge {
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.ecom-sop-page .es-qa-report__badge.is-passed { color: #0f766e; background: #dcf7ec; }
.ecom-sop-page .es-qa-report__badge.is-warned { color: #a16207; background: #fdf0d3; }
.ecom-sop-page .es-qa-report__badge.is-blocked { color: #b91c1c; background: #ffe2e2; }

.ecom-sop-page .es-qa-report__main {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.ecom-sop-page .es-qa-report__main strong {
  font-size: 11px;
  color: var(--es-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ecom-sop-page .es-qa-report__main span {
  font-size: 10px;
  color: var(--es-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ecom-sop-page .es-qa-report__item time {
  font-size: 9px;
  color: var(--es-muted);
  white-space: nowrap;
}

/* —— QA 面板紧凑化：橙色主题统一 —— */
.ecom-sop-page .es-qa-panel {
  background: linear-gradient(180deg, rgba(232, 93, 63, .07), rgba(232, 93, 63, .03));
  border-color: rgba(232, 93, 63, .16);
}

.ecom-sop-page .es-qa-panel__head strong {
  color: #bd3c25;
}

.ecom-sop-page .es-qa-panel__head {
  margin-bottom: 0;
}

.ecom-sop-page .es-qa-panel__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--es-muted);
  font-size: 10px;
  font-weight: 600;
}

.ecom-sop-page .es-qa-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  color: #bd3c25;
  background: rgba(232, 93, 63, .1);
  border: 1px solid rgba(232, 93, 63, .2);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s, transform .15s;
}

.ecom-sop-page .es-qa-info:hover {
  background: rgba(232, 93, 63, .18);
}

.ecom-sop-page .es-qa-pop {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(232, 93, 63, .16);
}

.ecom-sop-page .es-qa-chip {
  color: #bd3c25;
  background: rgba(255,255,255,.72);
  border-color: rgba(232, 93, 63, .16);
}

.ecom-sop-page .es-qa-list {
  color: #5c463f;
}

.ecom-sop-page .es-qa-block__title {
  color: #a03a22;
}

.ecom-sop-page .es-qa-foot {
  border-top-color: rgba(232, 93, 63, .16);
}

.ecom-sop-page .es-qa-switch {
  color: #5c463f;
}

.ecom-sop-page .es-qa-switch input:checked + .es-qa-switch__track {
  background: #e85d3f;
}

.ecom-sop-page .es-qa-report-btn {
  color: #bd3c25;
  border-color: rgba(232, 93, 63, .22);
}

.ecom-sop-page .es-qa-report-btn span {
  background: #e85d3f;
}

.ecom-sop-page .es-qa-summary strong {
  color: #bd3c25;
}

.ecom-sop-page .es-qa-block {
  background: rgba(255,255,255,.55);
}

.ecom-sop-page .es-qa-switch__track {
  background: #d8c9c2;
}

/* —— 配色统一：残留绿色旧样式全部切到橙色主题 —— */
.ecom-sop-page .es-upload {
  border-color: rgba(232, 93, 63, 0.32);
}

.ecom-sop-page .es-upload-t1 {
  color: #bd3c25;
}

.ecom-sop-page .es-select:focus,
.ecom-sop-page .es-input:focus,
.ecom-sop-page .es-ta:focus {
  border-color: rgba(232, 93, 63, 0.45);
  box-shadow: 0 0 0 3px rgba(232, 93, 63, 0.1);
}

.ecom-sop-page .es-mode.active {
  border-color: rgba(232, 93, 63, 0.45);
  background: rgba(232, 93, 63, 0.1);
  color: #bd3c25;
}

.ecom-sop-page .es-hint {
  background: rgba(232, 93, 63, 0.07);
}

.ecom-sop-page .es-hint strong {
  color: #bd3c25;
}

.ecom-sop-page .es-nine-list b {
  color: #bd3c25;
}

.ecom-sop-page .es-nine-list {
  background: #fdf8f6;
}

.ecom-sop-page .es-preview-cell {
  background: #fdf1ed;
  border-color: rgba(232, 93, 63, 0.12);
}



.ecom-sop-page .es-upload {
  display: block;
  border: 1.5px dashed rgba(15, 118, 110, 0.35);
  border-radius: 14px;
  padding: 28px 16px;
  text-align: center;
  cursor: pointer;
  background: #f8fbfa;
}

.ecom-sop-page .es-upload input { display: none; }

.ecom-sop-page .es-upload-ico {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.18), rgba(15, 118, 110, 0.05)),
    #fff;
  border: 1px solid rgba(15, 118, 110, 0.15);
  position: relative;
}
.ecom-sop-page .es-upload-ico::before,
.ecom-sop-page .es-upload-ico::after {
  content: "";
  position: absolute;
  background: var(--es-accent);
  border-radius: 2px;
}
.ecom-sop-page .es-upload-ico::before {
  width: 16px;
  height: 2px;
  left: 12px;
  top: 19px;
}
.ecom-sop-page .es-upload-ico::after {
  width: 2px;
  height: 16px;
  left: 19px;
  top: 12px;
}

.ecom-sop-page .es-upload-t1 {
  font-size: 15px;
  font-weight: 700;
  color: #134e4a;
}

.ecom-sop-page .es-upload-t2 {
  margin-top: 4px;
  font-size: 12px;
  color: var(--es-muted);
}

.ecom-sop-page .es-preview-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
}

.ecom-sop-page .es-preview-cell {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--es-line);
  background: #f1f5f9;
  aspect-ratio: 1;
}

.ecom-sop-page .es-preview-cell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ecom-sop-page .es-preview-tag {
  position: absolute;
  left: 6px;
  bottom: 6px;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  background: rgba(15, 23, 42, 0.72);
  padding: 2px 6px;
  border-radius: 999px;
}

.ecom-sop-page .es-preview-rm {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.ecom-sop-page .es-reroll {
  border: 0;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  cursor: pointer;
}

.ecom-sop-page .es-reroll--block {
  display: inline-block;
  margin-top: 10px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid var(--es-line);
}

.ecom-sop-page .es-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ecom-sop-page .es-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--es-muted);
  font-weight: 600;
}

.ecom-sop-page .es-select,
.ecom-sop-page .es-input,
.ecom-sop-page .es-ta {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--es-line);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 14px;
  color: var(--es-text);
  background: #fff;
  outline: none;
  font-family: inherit;
}

.ecom-sop-page .es-select:focus,
.ecom-sop-page .es-input:focus,
.ecom-sop-page .es-ta:focus {
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.ecom-sop-page .es-ta {
  margin-top: 10px;
  resize: vertical;
  min-height: 64px;
}

.ecom-sop-page .es-type-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ecom-sop-page .es-type {
  border: 1px solid var(--es-line);
  background: #fff;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
}

.ecom-sop-page .es-type.active {
  background: #fff7f4;
  border-color: rgba(232, 93, 63, 0.28);
  color: var(--es-accent-deep);
}

.ecom-sop-page .es-hint {
  margin: 4px 2px 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(15, 118, 110, 0.07);
  color: #334155;
  font-size: 13px;
  line-height: 1.55;
}

.ecom-sop-page .es-hint strong {
  color: #115e59;
  font-weight: 700;
}

.ecom-sop-page .es-submit {
  width: 100%;
  border: 0;
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: #18181b;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.ecom-sop-page .es-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.ecom-sop-page .es-foot {
  margin-top: 12px;
  font-size: 12px;
  color: var(--es-muted);
  line-height: 1.5;
  text-align: center;
}

.ecom-sop-page .es-hist-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ecom-sop-page .es-hist-empty {
  grid-column: 1 / -1;
  padding: 40px 16px;
  text-align: center;
  color: var(--es-muted);
  font-size: 14px;
}

.ecom-sop-page .es-hist-card {
  display: flex;
  flex-direction: column;
  background: var(--es-card);
  border: 1px solid var(--es-line);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  min-width: 0;
}

.ecom-sop-page .es-hist-card__thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #e8eef0;
  overflow: hidden;
}

.ecom-sop-page .es-hist-card__thumb img,
.ecom-sop-page .es-hist-card__ph {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ecom-sop-page .es-hist-card__ph {
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(15, 23, 42, 0.06)),
    #e8eef0;
}

.ecom-sop-page .es-hist-card__meta {
  padding: 8px 10px 10px;
}

.ecom-sop-page .es-hist-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--es-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}

.ecom-sop-page .es-hist-sub {
  margin-top: 3px;
  font-size: 11px;
  color: var(--es-muted);
}

.ecom-sop-page .es-hist-producing {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 14px;
  gap: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.42));
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  z-index: 2;
  pointer-events: none;
}

.ecom-sop-page .es-hist-producing__scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 36%;
  background: linear-gradient(180deg, transparent, rgba(94, 234, 212, 0.22), transparent);
  animation: es-scan-y 2.4s ease-in-out infinite;
  pointer-events: none;
}

.ecom-sop-page .es-hist-producing__pulse {
  display: none;
}

.ecom-sop-page .es-hist-done,
.ecom-sop-page .es-hist-fail {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 999px;
  color: #fff;
}

.ecom-sop-page .es-hist-done { background: rgba(15, 118, 110, 0.88); }
.ecom-sop-page .es-hist-fail { background: rgba(185, 28, 28, 0.9); }

.ecom-sop-page .es-hist-id {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 23, 42, 0.72);
  letter-spacing: 0.02em;
}

.ecom-sop-page .es-hist-card--nine {
  grid-column: 1 / -1;
}

.ecom-sop-page .es-hist-nine {
  position: relative;
  padding: 10px 10px 4px;
  background:
    linear-gradient(160deg, rgba(15, 118, 110, 0.1), rgba(15, 23, 42, 0.04)),
    #eef4f5;
}

.ecom-sop-page .es-hist-nine__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  min-height: 22px;
}

.ecom-sop-page .es-hist-nine__head .es-hist-done,
.ecom-sop-page .es-hist-nine__head .es-hist-fail,
.ecom-sop-page .es-hist-nine__head .es-hist-partial,
.ecom-sop-page .es-hist-nine__head .es-hist-run {
  position: static;
  display: inline-flex;
}

.ecom-sop-page .es-hist-nine__head .es-hist-id {
  position: static;
}

.ecom-sop-page .es-hist-partial {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 999px;
  color: #fff;
  background: rgba(180, 83, 9, 0.9);
}

.ecom-sop-page .es-hist-run {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 23, 42, 0.72);
}

.ecom-sop-page .es-hist-nine__cells {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.ecom-sop-page .es-hist-nine__cell {
  position: relative;
  aspect-ratio: 1;
  border: 0;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #0d1f1d;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.ecom-sop-page .es-hist-nine__cell img,
.ecom-sop-page .es-hist-nine__ph {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ecom-sop-page .es-hist-nine__ph {
  background:
    radial-gradient(120% 90% at 20% 15%, rgba(45, 212, 191, 0.22), transparent 55%),
    radial-gradient(100% 80% at 85% 90%, rgba(15, 118, 110, 0.35), transparent 50%),
    linear-gradient(145deg, #1a2f2d 0%, #0f1c1b 48%, #16302c 100%);
}

.ecom-sop-page .es-hist-nine__n {
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 3;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  color: #f4fffd;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.ecom-sop-page .es-hist-nine__lab {
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 5px;
  z-index: 3;
  padding: 3px 5px;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 750;
  color: #f7fffc;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgba(8, 20, 18, 0.42);
  backdrop-filter: blur(5px);
}

.ecom-sop-page .es-hist-nine__fail {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 3;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 999px;
  color: #fff;
  background: rgba(185, 28, 28, 0.92);
}

/* 旧转圈弃用：出图中用高级渲染动效 */
.ecom-sop-page .es-hist-nine__spin {
  display: none !important;
}

.ecom-sop-page .es-hist-nine__wait {
  --es-wait-delay: 0s;
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.ecom-sop-page .es-hist-nine__mesh,
.ecom-sop-page .es-hist-nine__scan,
.ecom-sop-page .es-hist-nine__ring,
.ecom-sop-page .es-hist-nine__render {
  display: block;
  font-style: normal;
}

.ecom-sop-page .es-hist-nine__mesh {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 14px 14px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 14px 14px;
  opacity: 0.55;
  animation: es-mesh-drift 3.6s linear infinite;
  animation-delay: var(--es-wait-delay);
}

.ecom-sop-page .es-hist-nine__scan {
  position: absolute;
  left: -20%;
  right: -20%;
  height: 38%;
  top: -40%;
  background: linear-gradient(
    180deg,
    rgba(94, 234, 212, 0) 0%,
    rgba(94, 234, 212, 0.18) 45%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(94, 234, 212, 0.12) 58%,
    rgba(94, 234, 212, 0) 100%
  );
  animation: es-render-scan 2.2s ease-in-out infinite;
  animation-delay: var(--es-wait-delay);
}

.ecom-sop-page .es-hist-nine__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34%;
  aspect-ratio: 1;
  margin: -17% 0 0 -17%;
  border-radius: 50%;
  border: 1.5px solid rgba(94, 234, 212, 0.35);
  box-shadow:
    0 0 0 4px rgba(15, 118, 110, 0.08),
    inset 0 0 12px rgba(45, 212, 191, 0.18);
  animation: es-ring-pulse 1.8s ease-in-out infinite;
  animation-delay: var(--es-wait-delay);
}

.ecom-sop-page .es-hist-nine__ring::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: rgba(167, 243, 208, 0.9);
  border-right-color: rgba(45, 212, 191, 0.35);
  animation: es-ring-spin 1.25s linear infinite;
  animation-delay: var(--es-wait-delay);
}

.ecom-sop-page .es-hist-nine__render {
  position: absolute;
  left: 50%;
  top: calc(50% + 18%);
  transform: translateX(-50%);
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #dffcf5;
  background: rgba(8, 28, 26, 0.55);
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  animation: es-render-blink 1.6s ease-in-out infinite;
  animation-delay: var(--es-wait-delay);
}

.ecom-sop-page .es-hist-nine__cell.is-run {
  background: #0d1f1d;
}

.ecom-sop-page .es-hist-nine__cell.is-run .es-hist-nine__ph {
  background:
    radial-gradient(120% 90% at 18% 12%, rgba(52, 211, 153, 0.28), transparent 52%),
    radial-gradient(110% 90% at 88% 88%, rgba(13, 148, 136, 0.4), transparent 48%),
    linear-gradient(150deg, #173330 0%, #0d1c1a 46%, #1a3833 100%);
  background-size: 180% 180%;
  animation: es-ph-breathe 2.8s ease-in-out infinite;
  animation-delay: var(--es-wait-delay, 0s);
}

.ecom-sop-page .es-hist-nine__cell.is-run .es-hist-nine__lab {
  color: rgba(236, 253, 245, 0.92);
}

.ecom-sop-page .es-hist-nine__cell.is-orphan .es-hist-nine__ph {
  background: linear-gradient(145deg, #e7eef0, #f1f5f6);
  opacity: 0.85;
}

.ecom-sop-page .es-hist-nine__cell.is-orphan .es-hist-nine__n {
  background: rgba(15, 23, 42, 0.35);
}

.ecom-sop-page .es-hist-nine__cell.is-orphan .es-hist-nine__lab {
  background: rgba(15, 23, 42, 0.28);
  color: #fff;
}

.ecom-sop-page .es-hist-nine__cell.is-run::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(94, 234, 212, 0.22);
  border-radius: inherit;
}

.ecom-sop-page .es-hist-nine__cell.is-done img {
  animation: es-fade-in 0.35s ease-out;
}

.ecom-sop-page .es-hist-nine__cell.is-failed {
  outline: 1px solid rgba(185, 28, 28, 0.35);
}

@keyframes es-shimmer-x {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}

@keyframes es-ph-breathe {
  0%, 100% { background-position: 0% 40%; filter: brightness(1); }
  50% { background-position: 70% 60%; filter: brightness(1.08); }
}

@keyframes es-fade-in {
  from { opacity: 0.35; }
  to { opacity: 1; }
}

@keyframes es-scan-y {
  0% { top: -30%; }
  100% { top: 100%; }
}

@keyframes es-render-scan {
  0% { top: -42%; opacity: 0.2; }
  35% { opacity: 0.95; }
  100% { top: 108%; opacity: 0.15; }
}

@keyframes es-ring-pulse {
  0%, 100% { transform: scale(0.92); opacity: 0.7; }
  50% { transform: scale(1.05); opacity: 1; }
}

@keyframes es-ring-spin {
  to { transform: rotate(360deg); }
}

@keyframes es-render-blink {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@keyframes es-mesh-drift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 14px 14px, 14px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .ecom-sop-page .es-hist-nine__mesh,
  .ecom-sop-page .es-hist-nine__scan,
  .ecom-sop-page .es-hist-nine__ring,
  .ecom-sop-page .es-hist-nine__ring::before,
  .ecom-sop-page .es-hist-nine__render,
  .ecom-sop-page .es-hist-nine__cell.is-run .es-hist-nine__ph {
    animation: none !important;
  }
}

.ecom-sop-page .es-mode-row--wrap {
  flex-wrap: wrap;
}

.ecom-sop-page .es-hist-nine__cells--3 {
  grid-template-columns: repeat(3, 1fr);
}

.ecom-sop-page .es-mode-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 8px;
}

.ecom-sop-page .es-mode {
  border: 1px solid var(--es-line);
  background: #fff;
  border-radius: 12px;
  padding: 12px 10px;
  font-size: 13px;
  font-weight: 800;
  color: #334155;
  cursor: pointer;
}

.ecom-sop-page .es-mode.active {
  border-color: rgba(15, 118, 110, 0.45);
  background: rgba(15, 118, 110, 0.1);
  color: #0f766e;
}

.ecom-sop-page .es-mode-tip {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--es-muted);
}

.ecom-sop-page .es-nine-list {
  margin: 0;
  padding: 10px 12px 10px 28px;
  border: 1px solid var(--es-line);
  border-radius: 12px;
  background: #f8fafc;
  font-size: 12px;
  color: #334155;
  line-height: 1.7;
}

.ecom-sop-page .es-nine-list b {
  color: #0f766e;
  margin-right: 4px;
}

.ecom-sop-page .es-adv-tip {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--es-muted);
}

.ecom-sop-page .es-adv-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
}

.ecom-sop-page .es-adv-check input {
  width: 15px;
  height: 15px;
}

.ecom-sop-page .es-slider:disabled {
  opacity: 0.45;
}

.ecom-sop-page .es-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
}

.ecom-sop-page .es-modal[hidden] { display: none !important; }

.ecom-sop-page .es-modal-sheet {
  width: min(520px, 100%);
  max-height: min(92vh, 860px);
  overflow: auto;
  background: #fff;
  border-radius: 18px 18px 14px 14px;
  padding: 14px 16px 22px;
}

.ecom-sop-page .es-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 10px;
}

.ecom-sop-page .es-modal-head__titles {
  min-width: 0;
}

.ecom-sop-page .es-modal-head h2 {
  margin: 0;
  font-size: 17px;
}

.ecom-sop-page .es-detail-id {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--es-muted);
  word-break: break-all;
}

.ecom-sop-page .es-modal-close {
  border: 0;
  background: #f1f5f9;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: #475569;
  flex-shrink: 0;
}

.ecom-sop-page .es-detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.ecom-sop-page .es-detail-strip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #3f6b66;
}

.ecom-sop-page .es-detail-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px 2px 6px;
  touch-action: pan-x;
}

.ecom-sop-page .es-detail-strip::-webkit-scrollbar {
  display: none;
}

.ecom-sop-page .es-detail-slide {
  flex: 0 0 min(78%, 280px);
  scroll-snap-align: center;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--es-line);
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ecom-sop-page .es-detail-slide.is-ref {
  flex-basis: min(58%, 200px);
  opacity: 0.96;
}

.ecom-sop-page .es-detail-slide.is-current {
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow: 0 0 0 1px rgba(15, 118, 110, 0.18);
}

.ecom-sop-page .es-img-zoom,
.ecom-sop-page .es-detail-slide__zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #f1f5f9;
  cursor: zoom-in;
  position: relative;
  flex: 1;
}

.ecom-sop-page .es-detail-slide__zoom img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: min(48vh, 440px);
  object-fit: contain;
  background: #f1f5f9;
}

.ecom-sop-page .es-detail-slide__ph {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 4;
  max-height: min(48vh, 440px);
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  background:
    linear-gradient(105deg, #e8eef0 0%, #f4f8f7 45%, #e8eef0 90%);
  background-size: 200% 100%;
  animation: es-shimmer-x 1.8s ease-in-out infinite;
}

.ecom-sop-page .es-img-zoom__hint {
  position: absolute;
  right: 8px;
  bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: rgba(15, 23, 42, 0.62);
  padding: 4px 8px;
  border-radius: 999px;
  pointer-events: none;
}

.ecom-sop-page .es-detail-slide figcaption {
  padding: 7px 8px;
  font-size: 11px;
  color: var(--es-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ecom-sop-page .es-detail-slide__id {
  color: #94a3b8;
  font-size: 10px;
}

.ecom-sop-page .es-detail-slide__dl {
  margin-left: auto;
  border: 0;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  cursor: pointer;
}

.ecom-sop-page .es-detail-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  min-height: 10px;
}

.ecom-sop-page .es-detail-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.22);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}

.ecom-sop-page .es-detail-dot.is-on {
  width: 16px;
  background: linear-gradient(90deg, #0f766e, #14b8a6);
}

.ecom-sop-page .es-badge-num {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  color: #0f766e;
  background: rgba(15, 118, 110, 0.12);
  padding: 2px 7px;
  border-radius: 999px;
}

.ecom-sop-page .es-detail-empty {
  margin: 8px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 12px;
  line-height: 1.45;
}

.ecom-sop-page .es-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(2, 6, 23, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 16px 24px;
}

.ecom-sop-page .es-lightbox[hidden] { display: none !important; }

.ecom-sop-page .es-lightbox img {
  max-width: 100%;
  max-height: min(82vh, 900px);
  object-fit: contain;
  border-radius: 8px;
}

.ecom-sop-page .es-lightbox__cap {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.ecom-sop-page .es-lightbox__dl {
  position: absolute;
  top: 14px;
  left: 12px;
  z-index: 2;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.ecom-sop-page .es-lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.ecom-sop-page .es-copy-panel {
  margin-top: 16px;
  padding: 4px 0 8px;
}

.ecom-sop-page .es-copy-guide {
  margin: 0 0 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(212, 175, 120, 0.18), transparent 55%),
    linear-gradient(145deg, #0b3d3a 0%, #134e4a 48%, #0f766e 100%);
  border: 1px solid rgba(212, 175, 120, 0.28);
  box-shadow: 0 10px 28px rgba(11, 61, 58, 0.22);
  color: #ecfdf8;
}

.ecom-sop-page .es-copy-guide strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff8ef;
  margin-bottom: 5px;
}

.ecom-sop-page .es-copy-guide span {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(236, 253, 248, 0.82);
  font-weight: 500;
}

.ecom-sop-page .es-dual--copy {
  margin-top: 0;
  gap: 10px;
}

.ecom-sop-page .es-dual--copy .es-field span {
  color: #5b6b68;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: none;
}

.ecom-sop-page .es-dual--copy .es-select {
  appearance: none;
  -webkit-appearance: none;
  border-radius: 14px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230f766e' d='M1.1 1.2L6 6.1l4.9-4.9 1.1 1.1L6 8.3.0 2.3z'/%3E%3C/svg%3E") no-repeat right 12px center / 10px,
    linear-gradient(180deg, #ffffff, #f4faf8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 6px 16px rgba(15, 118, 110, 0.06);
  font-weight: 700;
  color: #0b3d3a;
  padding: 11px 34px 11px 12px;
  min-height: 44px;
}

.ecom-sop-page .es-dual--copy .es-select:focus {
  outline: none;
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 0 3px rgba(20, 184, 166, 0.16);
}

.ecom-sop-page .es-copy-plat-tip {
  margin: 10px 0 0;
  padding: 9px 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, #f3fbf9, #eaf7f4);
  border: 1px solid rgba(15, 118, 110, 0.14);
  font-size: 11px;
  font-weight: 700;
  color: #0f766e;
  line-height: 1.45;
}

.ecom-sop-page .es-copy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 8px;
}

.ecom-sop-page .es-copy-sec {
  margin: 14px 0;
  padding: 16px 14px 14px;
  border-radius: 18px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 251, 250, 0.98) 100%);
  border: 1px solid rgba(15, 118, 110, 0.12);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 12px 32px rgba(15, 55, 52, 0.07);
  position: relative;
  overflow: hidden;
}

.ecom-sop-page .es-copy-sec::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #d4af78, #0f766e);
}

.ecom-sop-page .es-copy-sec--listing::before {
  background: linear-gradient(180deg, #94a3b8, #475569);
}

.ecom-sop-page .es-copy-sec--listing {
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
  border-color: rgba(100, 116, 139, 0.16);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 10px 28px rgba(15, 23, 42, 0.05);
}

.ecom-sop-page .es-copy-sec__head {
  margin: 0 0 12px 6px;
}

.ecom-sop-page .es-copy-sec__head strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #0b3d3a;
  margin-bottom: 4px;
}

.ecom-sop-page .es-copy-sec--listing .es-copy-sec__head strong {
  color: #1e293b;
}

.ecom-sop-page .es-copy-sec__head span {
  display: block;
  font-size: 11.5px;
  line-height: 1.5;
  color: #6b7f7c;
  font-weight: 550;
}

.ecom-sop-page .es-copy-sec .es-copy-chips {
  margin: 0 0 10px 4px;
}

/* 主 CTA：种草生成（修复原先未套上渐变，看起来像系统默认按钮） */
.ecom-sop-page .es-copy-sec .es-copy-all,
.ecom-sop-page .es-copy-actions .es-copy-all,
.ecom-sop-page #esCopyGenSocial {
  width: 100%;
  margin-top: 4px;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fffaf3;
  cursor: pointer;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 42%),
    linear-gradient(135deg, #0b3d3a 0%, #0f766e 48%, #14b8a6 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 12px 28px rgba(15, 118, 110, 0.32),
    0 2px 0 rgba(11, 61, 58, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.ecom-sop-page .es-copy-sec .es-copy-all:active,
.ecom-sop-page #esCopyGenSocial:active {
  transform: translateY(1px) scale(0.992);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 6px 16px rgba(15, 118, 110, 0.28);
}

.ecom-sop-page .es-copy-sec .es-copy-all:disabled,
.ecom-sop-page #esCopyGenSocial:disabled,
.ecom-sop-page #esCopyGenListing:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  filter: grayscale(0.15);
  box-shadow: none;
  transform: none;
}

.ecom-sop-page .es-copy-sec .es-copy-all--soft,
.ecom-sop-page #esCopyGenListing {
  background:
    linear-gradient(180deg, #ffffff, #f8fafc);
  color: #0f766e;
  border: 1px solid rgba(15, 118, 110, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 8px 20px rgba(15, 118, 110, 0.08);
  font-weight: 750;
}

.ecom-sop-page .es-copy-sec--listing .es-copy-all--soft,
.ecom-sop-page #esCopyGenListing {
  color: #334155;
  border-color: rgba(100, 116, 139, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 8px 18px rgba(15, 23, 42, 0.06);
}

.ecom-sop-page .es-copy-results-banner {
  margin: 4px 0 0;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
  color: #0f766e;
  border-radius: 10px;
  background: #e6f7f4;
}

.ecom-sop-page .es-copy-results-banner--listing {
  color: #334155;
  background: #f1f5f9;
}

.ecom-sop-page .es-copy-actions__hint {
  flex: 1 1 100%;
  margin: 0 0 2px;
  font-size: 11px;
  font-weight: 700;
  color: #5b7c78;
}

.ecom-sop-page .es-copy-chips {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ecom-sop-page .es-copy-chips[hidden] {
  display: none !important;
}

.ecom-sop-page .es-copy-link[hidden],
.ecom-sop-page .es-copy-all[hidden],
.ecom-sop-page .es-copy-actions[hidden],
.ecom-sop-page .es-copy-actions__bar[hidden] {
  display: none !important;
}

.ecom-sop-page .es-copy-chip {
  border: 1px solid rgba(100, 116, 139, 0.18);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 4px 10px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.ecom-sop-page .es-copy-chip:active {
  transform: scale(0.98);
}

.ecom-sop-page .es-copy-chip.is-selected {
  border-color: transparent;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 50%),
    linear-gradient(135deg, #0f766e, #14b8a6);
  color: #fffaf5;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 8px 16px rgba(15, 118, 110, 0.22);
}

.ecom-sop-page .es-copy-actions__bar {
  flex: 1 1 100%;
  display: flex;
  gap: 12px;
  margin-top: 2px;
}

.ecom-sop-page .es-copy-link {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  color: #0f766e;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ecom-sop-page .es-copy-actions button:disabled,
.ecom-sop-page .es-copy-chip:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.ecom-sop-page .es-copy-actions .es-copy-all {
  flex: 1 1 100%;
  margin-top: 4px;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  border: 0;
  color: #fff;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 800;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.22);
  cursor: pointer;
}

.ecom-sop-page .es-copy-actions .es-copy-all--soft {
  background: #fff;
  color: #0f766e;
  border: 1px solid #99d5cc;
  box-shadow: none;
  font-weight: 700;
}

.ecom-sop-page .es-copy-stream-status {
  margin: 4px 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: #0f766e;
}

.ecom-sop-page .es-copy-stream-status[hidden] {
  display: none !important;
}

.ecom-sop-page .es-copy-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 10px 0 6px;
}

.ecom-sop-page .es-copy-toolbar[hidden] {
  display: none !important;
}

.ecom-sop-page .es-copy-toolbar .es-copy-all {
  flex: 0 1 auto;
  margin: 0;
  padding: 10px 14px;
  font-size: 13px;
}

.ecom-sop-page .es-copy-toolbar__tip {
  font-size: 11px;
  font-weight: 700;
  color: #5b7c78;
}

.ecom-sop-page .es-copy-results {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.ecom-sop-page .es-copy-group {
  padding: 10px 0 4px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--es-line);
  overflow: hidden;
}

.ecom-sop-page .es-copy-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px 8px;
}

.ecom-sop-page .es-copy-group__head h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  color: #134e4a;
}

.ecom-sop-page .es-copy-group__meta {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  margin-left: 6px;
}

.ecom-sop-page .es-copy-group__actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.ecom-sop-page .es-copy-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding: 2px 12px 12px;
  scrollbar-width: thin;
}

.ecom-sop-page .es-copy-rail--titles {
  flex-wrap: nowrap;
}

.ecom-sop-page .es-copy-item {
  flex: 0 0 auto;
  width: min(72vw, 220px);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 96px;
}

.ecom-sop-page .es-copy-item__idx {
  font-size: 10px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.02em;
}

.ecom-sop-page .es-copy-item__text {
  margin: 0;
  flex: 1;
  font-size: 12.5px;
  line-height: 1.5;
  color: #1e293b;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
}

.ecom-sop-page .es-copy-item__btn {
  align-self: flex-end;
  border: 0;
  background: rgba(15, 118, 110, 0.12);
  color: #0f766e;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.ecom-sop-page .es-copy-item__btn.is-ok {
  background: #0f766e;
  color: #fff;
}

.ecom-sop-page .es-copy-block {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--es-line);
}

.ecom-sop-page .es-copy-block[hidden] { display: none !important; }

.ecom-sop-page .es-copy-block.is-streaming {
  border-color: rgba(15, 118, 110, 0.35);
  box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.12);
}

.ecom-sop-page .es-copy-block.is-streaming pre::after {
  content: '▍
  display: inline-block;
  width: 0.55em;
  margin-left: 1px;
  color: #0f766e;
  animation: es-caret-blink 0.9s step-end infinite;
}

@keyframes es-caret-blink {
  50% { opacity: 0; }
}

.ecom-sop-page .es-copy-block h3 {
  margin: 0 0 8px;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ecom-sop-page .es-copy-block pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.55;
  color: #1e293b;
}

.ecom-sop-page .es-mini-btn {
  border: 0;
  background: rgba(15, 118, 110, 0.12);
  color: #0f766e;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

body.es-launch-playing {
  overflow: hidden;
}

.ecom-sop-page .es-launch {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.ecom-sop-page .es-launch[hidden] { display: none !important; }

.ecom-sop-page .es-launch.es-launch--active {
  opacity: 1;
  pointer-events: auto;
}

.ecom-sop-page .es-launch.es-launch--exit {
  opacity: 0;
}

.ecom-sop-page .es-launch__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 50% 40%, rgba(15, 118, 110, 0.35), transparent 70%),
    rgba(6, 18, 22, 0.88);
}

.ecom-sop-page .es-launch__aurora {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(40% 30% at 30% 40%, rgba(45, 212, 191, 0.28), transparent 70%),
    radial-gradient(35% 28% at 70% 55%, rgba(245, 158, 11, 0.18), transparent 70%);
  filter: blur(8px);
  animation: es-aurora 4s ease-in-out infinite alternate;
}

.ecom-sop-page .es-launch__particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(94, 234, 212, 0.5) 0 1px, transparent 1.5px);
  background-size: 120px 120px, 180px 180px;
  background-position: 0 0, 40px 60px;
  opacity: 0.35;
  animation: es-particles 12s linear infinite;
}

.ecom-sop-page .es-launch__vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.ecom-sop-page .es-launch__frame {
  position: relative;
  z-index: 2;
  width: min(340px, 92vw);
  text-align: center;
  color: #fff;
  padding: 28px 20px 24px;
}

.ecom-sop-page .es-launch__glow {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 180px;
  height: 180px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.35), transparent 68%);
  filter: blur(6px);
  pointer-events: none;
}

.ecom-sop-page .es-launch__orbit {
  position: absolute;
  left: 50%;
  top: 42%;
  border: 1px solid rgba(94, 234, 212, 0.35);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.ecom-sop-page .es-launch__orbit--a {
  width: 150px;
  height: 150px;
  animation: es-orbit 6s linear infinite;
}
.ecom-sop-page .es-launch__orbit--b {
  width: 210px;
  height: 210px;
  border-color: rgba(245, 158, 11, 0.28);
  animation: es-orbit 9s linear infinite reverse;
}

.ecom-sop-page .es-launch__scan {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 18%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(94, 234, 212, 0.85), transparent);
  animation: es-scan-frame 2.2s ease-in-out infinite;
  pointer-events: none;
}

.ecom-sop-page .es-launch__ring {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-top-color: #5eead4;
  border-right-color: rgba(245, 158, 11, 0.7);
  animation: es-spin 0.9s linear infinite;
}

.ecom-sop-page .es-launch__eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.28em;
  font-weight: 700;
  color: rgba(153, 246, 228, 0.9);
}

.ecom-sop-page .es-launch__title {
  margin: 0 0 14px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.ecom-sop-page .es-launch__title-m { color: #fff; }
.ecom-sop-page .es-launch__title-s {
  margin-left: 4px;
  color: #fbbf24;
}

.ecom-sop-page .es-launch__line {
  margin: 0 0 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ecom-sop-page .es-launch__en {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.ecom-sop-page .es-launch__zh {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.ecom-sop-page .es-launch__bar {
  margin: 16px auto 0;
  width: min(220px, 70%);
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.ecom-sop-page .es-launch__bar i {
  display: block;
  height: 100%;
  width: 42%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2dd4bf, #fbbf24);
  animation: es-bar 1.15s ease-in-out infinite;
}

@keyframes es-spin { to { transform: rotate(360deg); } }
@keyframes es-bar {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}
@keyframes es-aurora {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(2%, 2%, 0) scale(1.05); }
}
@keyframes es-particles {
  from { background-position: 0 0, 40px 60px; }
  to { background-position: 0 -240px, 40px -180px; }
}
@keyframes es-orbit {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes es-scan-frame {
  0%, 100% { transform: translateY(0); opacity: 0.35; }
  50% { transform: translateY(120px); opacity: 1; }
}

.ecom-sop-page .es-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  z-index: 100;
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.88);
  color: #fff;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

.ecom-sop-page .es-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.ecom-sop-page .es-adv-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 15px;
  font-weight: 700;
  color: #134e4a;
  cursor: pointer;
}

.ecom-sop-page .es-adv-toggle__hint {
  font-size: 12px;
  font-weight: 600;
  color: var(--es-muted);
}

.ecom-sop-page .es-adv-body {
  margin-top: 12px;
  padding-top: 4px;
}

.ecom-sop-page .es-adv-body[hidden] { display: none !important; }

.ecom-sop-page .es-field-label {
  margin: 12px 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--es-muted);
}

.ecom-sop-page .es-input--gap {
  margin-top: 8px;
}

.ecom-sop-page .es-label--sub {
  margin-top: 12px;
}

.ecom-sop-page .es-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.ecom-sop-page .es-chip {
  border: 1px solid var(--es-line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
}

.ecom-sop-page .es-chip--sm {
  padding: 6px 10px;
  font-size: 11px;
}

.ecom-sop-page .es-chip.active {
  background: #e4e4e7;
  border-color: #52525b;
  color: #0a0a0a;
}

.ecom-sop-page .es-slider-block {
  margin-top: 12px;
}

.ecom-sop-page .es-slider-head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.ecom-sop-page .es-slider {
  width: 100%;
  accent-color: #0f766e;
}

.ecom-sop-page .es-render-group {
  margin-top: 8px;
}

.ecom-sop-page .es-render-group__label {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 6px;
}

.ecom-sop-page .es-publish {
  margin-top: 16px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.08), rgba(15, 118, 110, 0.03));
  border: 1px solid rgba(15, 118, 110, 0.16);
}

.ecom-sop-page .es-publish[hidden] { display: none !important; }

.ecom-sop-page .es-publish.is-reveal {
  animation: es-publish-in 0.45s ease-out;
}

@keyframes es-publish-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.ecom-sop-page .es-publish__title {
  font-size: 14px;
  font-weight: 800;
  color: #134e4a;
  margin-bottom: 10px;
}

.ecom-sop-page .es-publish__btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ecom-sop-page .es-publish-btn {
  border: 0;
  border-radius: 12px;
  padding: 12px 10px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
}

.ecom-sop-page .es-publish-btn--xhs {
  background: linear-gradient(180deg, #ff4d6d, #e11d48);
}

.ecom-sop-page .es-publish-btn--dy {
  background: linear-gradient(180deg, #334155, #0f172a);
}

.ecom-sop-page .es-publish__tip {
  margin: 8px 0 0;
  font-size: 11px;
  color: var(--es-muted);
  line-height: 1.4;
}

/* —— 种草流式结果（对齐配套文案排版） —— */
.ecom-sop-page .es-cw-stream {
  margin-top: 14px;
}
.ecom-sop-page .es-cw-stream[hidden] { display: none !important; }
.ecom-sop-page .es-cw-loading {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #eefbf8;
  border: 1px solid #cce8e3;
  font-size: 13px;
  font-weight: 700;
  color: #0f766e;
}
.ecom-sop-page .es-cw-loading[hidden] { display: none !important; }
.ecom-sop-page .es-cw-block {
  margin-bottom: 16px;
}
.ecom-sop-page .es-cw-block[hidden] { display: none !important; }
.ecom-sop-page .es-cw-block__h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 800;
  color: #0b3d3a;
  letter-spacing: 0.01em;
}
.ecom-sop-page .es-cw-block__h small {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  margin-left: 4px;
}
.ecom-sop-page .es-cw-titles {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 6px 8px;
  max-height: 280px;
  overflow-y: auto;
}
.ecom-sop-page .es-cw-title-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 6px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13px;
  line-height: 1.5;
  color: #1e293b;
}
.ecom-sop-page .es-cw-title-row:last-child { border-bottom: 0; }
.ecom-sop-page .es-cw-title-row__n {
  flex: 0 0 auto;
  min-width: 1.4em;
  font-weight: 800;
  color: #94a3b8;
  font-size: 12px;
}
.ecom-sop-page .es-cw-title-row__t { flex: 1; }
.ecom-sop-page .es-cw-title-row__btn {
  flex: 0 0 auto;
  border: 0;
  background: rgba(15, 118, 110, 0.1);
  color: #0f766e;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.ecom-sop-page .es-cw-titles-live {
  margin: 0;
  padding: 12px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
  color: #334155;
  min-height: 80px;
}
.ecom-sop-page .es-cw-titles-live[hidden] { display: none !important; }
.ecom-sop-page .es-cw-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.ecom-sop-page .es-cw-tab {
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
}
.ecom-sop-page .es-cw-tab.is-on {
  border-color: #0f766e;
  background: #e6f7f4;
  color: #0f766e;
  box-shadow: inset 0 0 0 1px #0f766e;
}
.ecom-sop-page .es-cw-panel {
  display: none;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13.5px;
  line-height: 1.65;
  color: #1e293b;
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 96px;
}
.ecom-sop-page .es-cw-panel.is-on { display: block; }
.ecom-sop-page .es-cw-panel.is-typing::after {
  content: '▍
  color: #0f766e;
  animation: es-caret-blink 0.9s step-end infinite;
}

