:root {
  --bg: #f6f8f7;
  --surface: #ffffff;
  --text: #111827;
  --muted: #8b9490;
  --line: #add4b6;
  --soft-line: #e5e7eb;
  --green: #00a13a;
  --green-soft: #e5f5ec;
  --panel: #f9f9fb;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  font-variant-numeric: proportional-nums;
  font-feature-settings: "pnum" 1;
}

.app-shell {
  width: min(1440px, 100vw);
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

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

button {
  cursor: pointer;
  white-space: nowrap;
}

.topbar {
  position: relative;
  z-index: 100;
  height: 98px;
  display: flex;
  align-items: center;
  padding: 0 45px;
  background: transparent;
  box-shadow: none;
}

.topbar::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #fff;
}

.brand-home {
  appearance: none;
  border: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 58px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.topbar img {
  width: 183px;
  height: auto;
  display: block;
}

.topbar strong {
  font-size: 18px;
  font-weight: 700;
  color: #14211a;
}

.top-upgrade-btn {
  margin-left: auto;
}

.account-entry {
  position: relative;
  margin-left: auto;
}

.account-entry .top-upgrade-btn {
  margin-left: 0;
}

.account-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 120;
  min-width: 286px;
  padding: 12px;
  border: 1px solid #d7dfda;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(17, 35, 26, 0.12);
}

.account-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-email {
  flex: 1;
  min-width: 0;
  margin: 0;
  color: #17231c;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  word-break: break-all;
}

.account-menu .account-logout {
  flex: 0 0 auto;
  width: auto;
  height: 28px;
  padding: 0 10px;
  border: 1px solid #d7dfda;
  border-radius: 999px;
  color: #75879a;
  font-size: 12px;
  font-weight: 400;
  text-align: center;
}

.account-status {
  margin: 4px 0 10px;
  color: #75879a;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.account-menu button {
  width: 100%;
  height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #24332b;
  font-size: 14px;
  text-align: left;
  padding: 0 10px;
  cursor: pointer;
}

.account-menu #accountOpenVipBtn {
  color: #00a13a;
  font-weight: 700;
}

.account-menu #accountRedeemVipBtn {
  color: #24332b;
  font-weight: 600;
}

.account-menu button:hover {
  background: #f3f6f4;
}

main {
  width: min(1440px, 100vw);
  margin: 0 auto;
  flex: 1 0 auto;
}

.page {
  display: none;
  min-height: calc(100vh - 98px);
  padding: 76px 0 80px;
}

.page.active {
  display: block;
}

.hidden {
  display: none !important;
}

.page-style,
.page-preview {
  height: calc(100vh - 98px);
  padding-top: 22px;
  padding-bottom: 0;
  overflow: hidden;
}

.hero {
  text-align: center;
  margin-bottom: 28px;
}

.hero h1 {
  margin: 0;
  font-size: 48px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: 0;
}

.hero p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
}

.import-card,
.import-box,
.spec-card,
.side-panel,
.sheet-board {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.import-box {
  position: relative;
  width: 800px;
  height: 182px;
  margin: 0 auto;
  padding: 22px 28px 18px;
}

textarea {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 98px;
  resize: none;
  border: 0;
  outline: 0;
  color: transparent;
  caret-color: #9aa3ad;
  background: transparent;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 700;
  letter-spacing: 0;
  word-spacing: 0;
  white-space: pre;
  overflow: hidden;
}

textarea:focus {
  color: transparent;
}

.import-box.editing textarea {
  color: #aeb5bd;
  font-weight: 300;
  line-height: 25.2px;
}

.import-preview {
  position: absolute;
  left: 29px;
  top: 22px;
  z-index: 1;
  width: 281px;
  height: 160px;
  overflow: hidden;
  pointer-events: none;
  color: #c6c6c6;
  background: transparent;
  font-size: 14px;
  line-height: 25px;
  font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif;
  font-weight: 300;
  letter-spacing: 0;
  word-spacing: 0;
  white-space: pre;
  -webkit-mask-image: none;
  mask-image: none;
}

.import-box.editing .import-preview {
  opacity: 0;
}

.import-preview-line {
  position: absolute;
  left: 0;
  display: block;
  height: 25.2px;
  margin: 0;
  padding: 0;
  line-height: 25.2px;
}

.import-preview-line:nth-child(1) { top: 0; }
.import-preview-line:nth-child(2) { top: 25.2px; }
.import-preview-line:nth-child(3) { top: 50.4px; }
.import-preview-line:nth-child(4) { top: 75.6px; }
.import-preview-line:nth-child(5) { top: 100.8px; }

.import-preview-line:nth-child(1) { color: #c6c6c6; }
.import-preview-line:nth-child(2) { color: rgba(198, 198, 198, 0.76); }
.import-preview-line:nth-child(3) { color: rgba(198, 198, 198, 0.48); }
.import-preview-line:nth-child(4) { color: rgba(198, 198, 198, 0.24); }
.import-preview-line:nth-child(5) { color: rgba(198, 198, 198, 0.1); }

.drop-hint {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  height: 48px;
  min-width: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid rgba(0, 161, 58, 0.24);
  border-radius: 999px;
  color: #00a13a;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.96);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.drop-hint svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.import-box.drag-over {
  border-color: var(--green);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 0 0 4px rgba(0, 161, 58, 0.08);
}

.import-box.drag-over .drop-hint {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.import-box.drag-over .import-preview {
  opacity: 0.24;
}

.import-preview .name {
  display: inline;
}

.import-preview .role {
  display: inline;
  margin-left: 8px;
}

.import-actions {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}

.upload-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 14px;
  cursor: pointer;
}

.upload-text svg,
.upload-arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.upload-text input,
.file-option input {
  display: none;
}

.green-btn,
.outline-btn {
  height: 36px;
  min-width: 98px;
  padding: 0 28px;
  border-radius: var(--radius);
  font-weight: 700;
  border: 1px solid var(--line);
}

.green-btn {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}

.green-btn.large {
  width: 190px;
}

.outline-btn {
  color: var(--green);
  background: transparent;
}

.privacy-note {
  width: 1120px;
  max-width: calc(100vw - 48px);
  margin: 18px auto 0;
  color: #9aa4a0;
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.trusted {
  width: 1120px;
  max-width: calc(100vw - 48px);
  margin: 150px auto 0;
  text-align: center;
}

.trusted p {
  margin: 0 0 44px;
  color: #9ca3a0;
  font-size: 16px;
  font-weight: 700;
}

.logo-marquee {
  position: relative;
  width: 100%;
  height: 131px;
  margin: 0 auto;
  overflow: hidden;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%),
    linear-gradient(180deg, #000 0, #000 58%, rgba(0, 0, 0, 0.42) 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%),
    linear-gradient(180deg, #000 0, #000 58%, rgba(0, 0, 0, 0.42) 78%, transparent 100%);
  mask-composite: intersect;
}

.logo-row {
  height: 58px;
  overflow: hidden;
}

.logo-row + .logo-row {
  margin-top: 11px;
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  animation: logoMarquee 46s linear infinite;
}

.logo-track.reverse {
  animation-name: logoMarqueeReverse;
}

.logo-track img {
  max-width: 170px;
  height: 46px;
  flex: 0 0 auto;
  object-fit: contain;
  opacity: 0.74;
  mix-blend-mode: multiply;
}

@keyframes logoMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes logoMarqueeReverse {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.trusted p {
  margin-bottom: 28px;
}

.page-spec .hero {
  margin-bottom: 30px;
}

.page-spec {
  padding-bottom: 28px;
}

.spec-card {
  position: relative;
  width: 800px;
  margin: 0 auto 20px;
  padding: 20px 36px 24px;
}

.page-spec .spec-card:not(.bg-card) {
  height: 282px;
  min-height: 282px;
  padding-top: 25px;
  padding-bottom: 18px;
}

.bg-card {
  height: 171px;
  min-height: 171px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.bg-card .size-option {
  height: 80px;
  gap: 0;
}

.card-caption {
  position: absolute;
  left: 10px;
  top: 8px;
  color: #64748b;
  font-size: 14px;
}

.pill-tabs {
  width: 280px;
  height: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 auto 28px;
  border: 1px solid #d4ecdc;
  border-radius: 101px;
  overflow: hidden;
  background: var(--green-soft);
}

.pill-tabs button {
  appearance: none;
  border: 0;
  border-radius: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  background: transparent;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  padding: 0;
  transition: background 0.16s ease, color 0.16s ease;
}

.pill-tabs button.active {
  color: #fff;
  background: var(--green);
  font-weight: 700;
}

.pill-tabs button:first-child.active {
  border-radius: 101px 0 0 101px;
}

.pill-tabs button:last-child.active {
  border-radius: 0 101px 101px 0;
}

.size-options {
  display: flex;
  justify-content: center;
  gap: 140px;
}

.page-spec .spec-card:not(.bg-card) .size-options {
  margin-top: 14px;
}

.size-option {
  position: relative;
  width: 142px;
  height: 139px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0;
  border: 1px solid #dde6e1;
  border-radius: var(--radius);
  color: var(--text);
  background: #fff;
  text-align: center;
  overflow: hidden;
}

.size-options .size-option.active {
  border: 2px solid #00a13a !important;
  background: #e5f5ed !important;
  background-color: #e5f5ed !important;
  box-shadow: none !important;
}

.size-option strong {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.size-preview-img {
  width: 86px;
  height: 58px;
  margin-top: -18px;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.stand-icon {
  position: relative;
  width: 93px;
  height: 50px;
  margin-top: -22px;
  display: block;
  background: linear-gradient(100deg, #fff 0 72%, #f2f2f2 73%);
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.06));
}

.stand-icon.faint {
  opacity: 0.24;
}

.stand-icon.fold-horizontal {
  width: 97px;
  height: 42px;
  background: linear-gradient(180deg, #fff 0 48%, #f4f4f4 49% 100%);
}

.stand-icon.fold-vertical {
  width: 73px;
  height: 55px;
  background: linear-gradient(90deg, #fff 0 50%, #f4f4f4 51% 100%);
}

.white-bg {
  width: 109px;
  height: 51px;
  margin: 0 auto;
  display: block;
  object-fit: contain;
}

.upload-arrow {
  position: relative;
  width: 109px;
  height: 51px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #6b7280;
  margin-top: 0;
  border-radius: 0;
  background: transparent;
}

.upload-arrow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  object-fit: cover;
}

.file-option.has-preview .upload-arrow img {
  display: block;
}

.file-option.has-preview .upload-arrow svg {
  display: none;
}

.upload-arrow svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.5;
}

.file-option.has-preview {
  border: 2px solid #00a13a !important;
  background: #e5f5ed !important;
}

.file-option.has-preview .upload-arrow {
  border-radius: 0;
  background: transparent;
}

.remove-btn {
  width: 16px;
  height: 16px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.2 1.2L8.8 8.8M8.8 1.2L1.2 8.8' stroke='%23111827' stroke-width='1.35' stroke-linecap='round'/%3E%3C/svg%3E") center / 10px 10px no-repeat;
  cursor: pointer;
}

.background-remove {
  position: absolute;
  right: 6px;
  top: 6px;
  z-index: 3;
  display: none;
  width: 20px;
  height: 20px;
  box-shadow: 0 1px 4px rgba(17, 24, 39, 0.14);
}

.file-option.has-preview .background-remove {
  display: block;
}

.spec-card p {
  position: absolute;
  left: calc(50% - 376px);
  width: 470px;
  bottom: 14px;
  margin: 0;
  color: var(--muted);
  text-align: center;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  font-weight: 300;
  opacity: 0;
  pointer-events: none;
}

.bg-card p {
  left: calc(50% - 94px);
  bottom: 18px;
}

.spec-card.spec-align-right p {
  left: calc(50% - 94px);
}

.spec-card p.visible {
  opacity: 1;
}

.bg-card .size-option strong {
  top: calc(100% + 10px);
  bottom: auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
}

.bg-card button.size-option strong {
  color: #111827 !important;
  font-weight: 500 !important;
}

.bg-card .file-option strong {
  color: #111827 !important;
  font-weight: 500 !important;
}

.bg-card #uploadLabel {
  color: #111827 !important;
  font-weight: 500 !important;
}

.bg-card .size-option {
  overflow: visible;
}

.page-actions {
  width: 800px;
  margin: 18px auto 0;
  display: flex;
  justify-content: space-between;
}

.work-layout {
  display: grid;
  grid-template-columns: 840px 390px;
  gap: 36px;
  justify-content: center;
  align-items: start;
  min-height: 770px;
}

.stage-scene {
  position: relative;
  height: 770px;
  overflow: visible;
}

.stage-scene::after {
  display: none;
}

.stage-scene img {
  position: absolute;
  left: -230px;
  top: -56px;
  width: 1340px;
  height: 776px;
  object-fit: cover;
  object-position: center center;
}

.floating-title {
  position: absolute;
  top: 24px;
  left: 370px;
  z-index: 2;
  width: 140px;
  height: 36px;
  border: 0;
  border-radius: 68px;
  color: #fff;
  background: var(--green);
  font-weight: 400;
  box-shadow: 0 18px 32px rgba(17, 24, 39, 0.12);
}

.live-nameplate {
  position: absolute;
  left: 440px;
  top: 524px;
  z-index: 2;
  width: var(--plate-shell-w, 420px);
  height: var(--plate-shell-h, 190px);
  transform: translateX(-50%);
  pointer-events: auto;
  overflow: visible;
}

.nameplate-shadow {
  pointer-events: none;
}

.nameplate-shadow {
  position: absolute;
  left: 50%;
  top: calc(var(--plate-h, 120px) - 2px);
  width: calc(var(--plate-w, 297px) + 150px);
  height: 92px;
  border-radius: 0 0 42% 42%;
  clip-path: polygon(75px 0, calc(100% - 75px) 0, 100% 100%, 0 100%);
  background:
    linear-gradient(180deg, rgba(35, 39, 46, 0.28) 0%, rgba(82, 91, 105, 0.12) 38%, rgba(255, 255, 255, 0) 86%);
  filter: blur(14px);
  opacity: 0.74;
  transform: translateX(-50%);
  overflow: visible;
}

.nameplate-shadow::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: -44px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(77, 86, 100, 0.105) 0%, rgba(112, 120, 132, 0.045) 42%, rgba(255, 255, 255, 0) 88%);
  filter: blur(52px);
}

.nameplate-model {
  position: absolute;
  inset: 0;
  transform: none;
}

.nameplate-front,
.nameplate-back,
.nameplate-base {
  position: absolute;
  left: 50%;
  width: var(--plate-w, 297px);
  border: 0;
  background: linear-gradient(180deg, #ffffff 0, #f8faf9 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: translateX(-50%);
}

.nameplate-front {
  top: 0;
  height: var(--plate-h, 120px);
  display: grid;
  place-items: center;
  align-content: center;
  box-shadow: 0 18px 26px rgba(27, 32, 38, 0.12);
}

.nameplate-back {
  display: none;
  top: -14px;
  height: var(--plate-h, 120px);
  transform-origin: bottom center;
  transform: rotateX(118deg);
  background: linear-gradient(180deg, #f6f8f7 0, #ffffff 72%);
  opacity: 0.92;
}

.nameplate-base {
  display: none;
  left: 50%;
  top: calc(var(--plate-h, 120px) + 22px);
  width: calc(var(--plate-w, 297px) - 32px);
  height: 16px;
  transform-origin: center;
  transform: rotateX(8deg);
  background: linear-gradient(180deg, #f2f5f3 0, #ffffff 100%);
}

.fold-line {
  display: none;
}

.preview-name {
  display: inline-flex;
  justify-content: center;
  font-size: 50.6px;
  line-height: 1;
  font-weight: 600;
  pointer-events: auto;
  user-select: text;
}

.preview-role {
  display: inline-flex;
  justify-content: center;
  margin-top: 12px;
  font-size: 15.8px;
  font-weight: 400;
  pointer-events: auto;
  user-select: text;
}

.side-panel {
  position: relative;
  z-index: 2;
  height: 860px;
  min-height: 860px;
  padding: 28px 32px 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
}

.side-step {
  position: relative;
  padding-left: 0;
  margin-bottom: 42px;
}

.side-step.current {
  margin-bottom: 0;
}

.side-step b {
  position: static;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 17px;
  font-weight: 700;
}

.side-step h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
}

.side-step {
  display: grid;
  grid-template-columns: 1fr;
}

.side-step > b,
.side-step > h2 {
  grid-row: 1;
}

.side-step > b {
  grid-column: 1;
}

.side-step > h2 {
  grid-column: 1;
  margin-left: 42px;
  align-self: center;
}

.side-step > p,
.inline-status {
  min-height: 36px;
  display: flex;
  align-items: center;
  margin: 18px 0 0 42px;
  padding: 0 11px;
  border: 1px solid #eef2f0;
  border-radius: var(--radius);
  color: #64748b;
  background: #fbfbfc;
  font-size: 14px;
  white-space: nowrap;
}

.inline-status {
  gap: 6px;
  font-weight: 300;
}

.inline-status i {
  width: 12px;
  height: 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-size: 9px;
  font-style: normal;
}

.inline-status strong,
.check-card strong {
  color: #64748b;
  font-weight: 300;
}

.status-muted {
  color: #64748b;
  font-weight: 300;
  white-space: nowrap;
}

.dot-sep {
  color: #6b7280;
  margin: 0 4px;
}

.detail-link {
  border: 0;
  padding: 0;
  color: #3f3f3f;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
}

.check-card {
  min-height: 74px;
  margin: 18px 0 0 42px;
  padding: 11px 12px;
  border: 1px solid #eef2f0;
  border-radius: var(--radius);
  color: #64748b;
  background: #fbfbfc;
  font-size: 14px;
}

.check-card p {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 22px;
  margin: 0;
  white-space: nowrap;
}

.check-card i {
  width: 12px;
  height: 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-size: 9px;
  font-style: normal;
  line-height: 1;
}

.check-icon {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  display: block;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px !important;
  padding-left: 29px;
  color: #9aa3a0;
  cursor: pointer;
  white-space: nowrap;
}

.toggle-row em {
  position: relative;
  width: 24px;
  height: 12px;
  display: inline-block;
  border-radius: 999px;
  background: #eceff1;
}

.toggle-row em::after {
  content: "";
  position: absolute;
  left: 1px;
  top: 1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s ease;
}

.toggle-row input {
  display: none;
}

.toggle-row input:checked + em {
  background: rgba(0, 161, 58, 0.24);
}

.toggle-row input:checked + em::after {
  transform: translateX(12px);
  background: var(--green);
}

.style-panel {
  margin: 24px 0 0 42px;
  padding: 22px 26px 24px;
  border: 1px solid #eef2f0;
  border-radius: var(--radius);
  background: #fbfbfc;
}

.style-panel.compact {
  padding-top: 24px;
  padding-bottom: 28px;
}

.field-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 15px;
}

.field-row button {
  border: 0;
  padding: 0;
  color: #94a3b8;
  background: transparent;
  font-weight: 200;
}

.field-row button.active {
  color: var(--green);
  font-weight: 700;
}

.field-row span {
  color: #94a3b8;
  font-weight: 400;
}

.style-panel label,
.style-row {
  display: grid;
  grid-template-columns: 80px 1fr 48px;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  color: #3f3f3f;
  font-size: 14px;
  font-weight: 700;
}

.style-panel label > span:first-child,
.style-row > span:first-child {
  color: #3f3f3f;
  letter-spacing: 0.2em;
  white-space: nowrap;
}

.style-panel label em,
.style-row em {
  color: #3f3f3f;
  font-style: normal;
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}

.style-panel select,
.style-panel input[type="color"] {
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: #e8e8ec;
}

.style-panel select {
  width: 100%;
  padding: 0 10px;
  color: #111827;
  font-weight: 700;
}

.style-panel input[type="range"] {
  appearance: none;
  width: 100%;
  height: 14px;
  background: transparent;
  accent-color: var(--green);
}

.style-panel input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #00a13a var(--range-pct, 50%), #e7e7eb var(--range-pct, 50%));
}

.style-panel input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -5px;
  border: 1px solid #e7e7eb;
  border-radius: 50%;
  background: #00a13a;
}

.color-row {
  grid-template-columns: 80px 34px 1fr 52px;
  gap: 0;
  min-height: 44px;
}

.style-panel input[type="color"] {
  width: 21px;
  height: 21px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #e8e8ec;
}

.color-row input[type="color"],
.color-row .color-dot {
  justify-self: start;
  border-radius: 5px;
  box-shadow: 0 0 0 8px #e8e8ec;
}

.color-row em {
  height: 30px;
  display: flex;
  align-items: center;
  padding-left: 10px;
  background: #e8e8ec;
  white-space: nowrap;
  text-align: left;
}

.color-row em:last-child {
  justify-content: center;
  padding: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 0 7px 7px 0;
  text-align: center;
}

.color-row input[type="range"] {
  display: none;
}

.opacity-cell {
  display: none;
}

.color-dot {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: #000;
}

.side-actions {
  position: static;
  width: calc(100% - 74px);
  margin: 26px 0 0 42px;
  display: grid;
  grid-template-columns: 106px 1fr;
  gap: 24px;
}

.side-actions .green-btn {
  padding: 0 18px;
  height: 42px;
  font-size: 18px;
  font-weight: 800;
}

.side-actions .outline-btn {
  height: 42px;
  font-size: 18px;
  font-weight: 800;
}

.side-footer {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 44px;
  margin: 0;
  color: #64748b;
  text-align: center;
  font-size: 16px;
}

.page-style .work-layout {
  grid-template-columns: 880px 330px;
}

.page-style .side-panel {
  width: 330px;
  height: 770px;
  min-height: 770px;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  border-color: #add4b6;
  border-radius: 8px;
  box-shadow: 0 18px 32px rgba(17, 24, 39, 0.12);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-variant-numeric: proportional-nums;
  font-feature-settings: "pnum" 1;
}

.page-style .side-step {
  position: static;
  display: contents;
  margin: 0;
  padding: 0;
}

.page-style .side-step b {
  position: absolute;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  font-variant-numeric: proportional-nums;
  font-feature-settings: "pnum" 1;
}

.page-style .side-step h2 {
  position: absolute;
  margin: 0;
  color: #14211a;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.page-style .side-step:nth-of-type(1) b { left: 18px; top: 19px; }
.page-style .side-step:nth-of-type(1) h2 { left: 49px; top: 19px; }
.page-style .side-step:nth-of-type(2) b { left: 18px; top: 170px; }
.page-style .side-step:nth-of-type(2) h2 { left: 49px; top: 170px; }
.page-style .side-step:nth-of-type(3) b { left: 18px; top: 294px; }
.page-style .side-step:nth-of-type(3) h2 { left: 49px; top: 294px; }

.page-style .check-card {
  position: absolute;
  left: 18px;
  top: 56px;
  width: 293px;
  height: 92px;
  min-height: 92px;
  margin: 0;
  padding: 0;
  border-color: #e5f5ed;
  background: #fbfbfc;
  border-radius: 8px;
}

.page-style .check-card p {
  position: absolute;
  left: 14px;
  top: 20px;
  width: 258px;
  max-width: none;
  min-height: 21px;
  gap: 6px;
  color: #64748b;
  font-size: 13px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.page-style .check-icon {
  width: 11px;
  height: 11px;
  flex-basis: 11px;
}

.page-style .toggle-row {
  position: absolute;
  left: 31px;
  top: 51px;
  width: 224px;
  max-width: none;
  margin: 0 !important;
  padding: 0;
  justify-content: flex-start;
  gap: 12px;
  color: #64748b;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.page-style .toggle-row em {
  width: 22px;
  height: 12px;
  background: #e7e7eb;
}

.page-style .toggle-row em::after {
  width: 10px;
  height: 10px;
}

.page-style .inline-status {
  position: absolute;
  left: 18px;
  top: 206px;
  width: 293px;
  min-height: 62px;
  margin: 0;
  padding: 0 14px;
  gap: 6px;
  justify-content: flex-start;
  border-color: #e5f5ed;
  background: #fbfbfc;
  border-radius: 8px;
  color: #64748b;
  font-size: 13px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.page-style .detail-link {
  color: #3f3f3f;
  font-size: 13px;
  font-weight: 700;
}

.page-style .inline-status strong {
  color: #64748b;
  font-weight: 300;
}

.page-style .check-card strong,
.page-style .status-muted,
.page-style .dot-sep {
  color: #64748b;
  font-weight: 300;
}

.page-style .style-panel {
  position: absolute;
  left: 18px;
  top: 331px;
  width: 293px;
  height: 268px;
  margin: 0;
  padding: 0;
  border-color: #e5f5ed;
  border-radius: 8px;
  background: #fbfbfc;
}

.page-style.single-field .style-panel,
.page-preview.single-field .style-panel {
  height: 238px;
}

.page-style .field-row {
  position: absolute;
  left: 30px;
  top: 56px;
  margin: 0;
  height: 28px;
  gap: 7px;
  font-size: 14px;
}

.style-vip-note {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 8px;
  margin: 0;
  padding: 4px 8px;
  border-radius: 6px;
  color: #00a63c;
  background: #e8f7ee;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  white-space: normal;
}

.page-style .style-panel label,
.page-style .style-panel .style-row {
  position: absolute;
  left: 30px;
  width: 232px;
  min-height: 22px;
  display: grid;
  grid-template-columns: 58px 108px 34px;
  gap: 16px;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
}

.page-style .style-panel label:nth-of-type(1) { top: 90px; }
.page-style .style-panel label:nth-of-type(2) { top: 126px; }
.page-style .style-panel .color-row { top: 162px; }
.page-style .style-panel label:nth-of-type(3) { top: 198px; }
.page-style .style-panel label:nth-of-type(4) { top: 232px; }

.page-style.single-field .style-panel label:nth-of-type(1),
.page-preview.single-field .style-panel label:nth-of-type(1) { top: 54px; }
.page-style.single-field .style-panel label:nth-of-type(2),
.page-preview.single-field .style-panel label:nth-of-type(2) { top: 92px; }
.page-style.single-field .style-panel .color-row,
.page-preview.single-field .style-panel .color-row { top: 130px; }
.page-style.single-field .style-panel label:nth-of-type(3),
.page-preview.single-field .style-panel label:nth-of-type(3) { top: 168px; }
.page-style.single-field .style-panel label:nth-of-type(4),
.page-preview.single-field .style-panel label:nth-of-type(4) { top: 206px; }

.page-style .style-panel label > span:first-child,
.page-style .style-panel .style-row > span:first-child {
  letter-spacing: 0;
  color: #3f3f3f;
  width: 58px;
  display: block;
  text-align: justify;
  text-align-last: justify;
  white-space: nowrap;
}

.page-style .style-panel label:nth-of-type(1) > span:first-child,
.page-style .style-panel label:nth-of-type(2) > span:first-child,
.page-style .style-panel .color-row > span:first-child {
  letter-spacing: 0;
}

.page-style .style-panel label:nth-of-type(3) > span:first-child {
  letter-spacing: 0;
}

.page-style .style-panel select {
  appearance: none;
  grid-column: 2 / 4;
  width: 158px;
  height: 28px;
  padding: 0 24px 0 6px;
  border-radius: 8px;
  background-color: #e7e7eb;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='7' viewBox='0 0 10 7' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L5 5.5L9 1.5' stroke='%23111827' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 10px 7px;
  font-size: 12px;
  font-weight: 500;
}

.page-style .style-panel select:focus {
  outline: none;
  box-shadow: none;
}

.page-style .style-panel input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
}

.page-style .style-panel input[type="range"]::-webkit-slider-thumb {
  width: 8px;
  height: 8px;
  margin-top: -3px;
}

.page-style .style-panel label em,
.page-style .style-panel .style-row em,
.page-style .style-panel .percent-value-input {
  color: #3f3f3f;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
}

.page-style .style-panel .percent-value-input,
.page-preview .style-panel .percent-value-input {
  width: 34px;
  height: 22px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #3f3f3f;
  font-size: 13px;
  font-weight: 500;
  line-height: 22px;
  text-align: left;
}

.page-style .color-row {
  display: block;
  height: 28px;
  min-height: 28px;
  max-height: 28px;
  overflow: visible;
  position: absolute;
}

.page-style .color-row > span:first-child {
  position: absolute;
  left: 0;
  top: 3px;
  width: 58px;
  line-height: 20px;
}

.page-style .color-swatch {
  position: absolute;
  left: 74px;
  top: 0;
  z-index: 1;
  width: 26px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px 0 0 8px;
  background: #e7e7eb;
}

.page-style .color-swatch::before {
  content: "";
  width: 14px;
  height: 14px;
  display: block;
  border-radius: 4px;
  background: var(--swatch-color, #000000);
}

.page-style .color-row input[type="color"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  justify-self: center;
  opacity: 0;
  cursor: pointer;
  border: 0;
  box-shadow: none;
  outline: none;
}

.page-style .color-row em {
  position: absolute;
  top: 0;
  height: 28px;
  min-width: 0;
  background: #e7e7eb;
  color: #3f3f3f;
  font-size: 12px;
  font-weight: 500;
  line-height: 28px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-style .color-row .color-value-input,
.page-style .color-row .opacity-value-input,
.page-preview .color-row .color-value-input,
.page-preview .color-row .opacity-value-input {
  position: absolute;
  top: 0;
  height: 28px;
  border: 0;
  outline: 0;
  background: #e7e7eb;
  color: #3f3f3f;
  font-size: 12px;
  font-weight: 500;
  line-height: 28px;
  box-sizing: border-box;
}

.page-style .color-row #colorValue {
  left: 100px;
  width: 82px;
  padding-left: 8px;
  white-space: nowrap;
  border-radius: 0;
}

.page-style .color-row #opacityText {
  left: 182px;
  width: 50px;
  padding: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 0 8px 8px 0;
  text-align: center;
}

.page-style .side-actions {
  position: absolute;
  left: 18px;
  top: 618px;
  width: 293px;
  margin: 0;
  display: grid;
  grid-template-columns: 98px 174px;
  gap: 21px;
}

.page-style.single-field .side-actions,
.page-preview.single-field .side-actions {
  top: 574px;
}

.page-style .side-actions .outline-btn,
.page-style .side-actions .green-btn {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 36px;
}

.page-style .side-footer {
  left: 47px;
  right: auto;
  bottom: auto;
  top: 732px;
  width: 236px;
  color: #64748b;
  font-size: 13px;
  font-weight: 300;
  line-height: 21px;
  letter-spacing: 0.1em;
}

.page-style .side-footer strong {
  color: inherit;
  font-weight: 700;
}

.page-preview {
  position: relative;
  overflow: hidden;
}

.page-preview::before {
  display: none;
}

.page-preview .work-layout {
  position: relative;
  z-index: 1;
  grid-template-columns: 880px 330px;
}

.page-preview .side-panel {
  width: 330px;
  height: 770px;
  min-height: 770px;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  border-color: #add4b6;
  border-radius: 8px;
  box-shadow: 0 18px 32px rgba(17, 24, 39, 0.12);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-variant-numeric: proportional-nums;
  font-feature-settings: "pnum" 1;
}

.page-preview .side-step {
  position: static;
  display: contents;
  margin: 0;
  padding: 0;
}

.page-preview .side-step b {
  position: absolute;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  font-variant-numeric: proportional-nums;
  font-feature-settings: "pnum" 1;
}

.page-preview .side-step h2 {
  position: absolute;
  margin: 0;
  color: #14211a;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.page-preview .side-step:nth-of-type(1) b { left: 18px; top: 19px; }
.page-preview .side-step:nth-of-type(1) h2 { left: 49px; top: 19px; }
.page-preview .side-step:nth-of-type(2) b { left: 18px; top: 170px; }
.page-preview .side-step:nth-of-type(2) h2 { left: 49px; top: 170px; }
.page-preview .side-step:nth-of-type(3) b { left: 18px; top: 294px; }
.page-preview .side-step:nth-of-type(3) h2 { left: 49px; top: 294px; }

.page-preview .check-card {
  position: absolute;
  left: 18px;
  top: 56px;
  width: 293px;
  height: 92px;
  min-height: 92px;
  margin: 0;
  padding: 0;
  border-color: #e5f5ed;
  background: #fbfbfc;
  border-radius: 8px;
}

.page-preview .check-card p {
  position: absolute;
  left: 14px;
  top: 20px;
  width: 258px;
  max-width: none;
  min-height: 21px;
  gap: 6px;
  color: #64748b;
  font-size: 13px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.page-preview .check-icon {
  width: 11px;
  height: 11px;
  flex-basis: 11px;
}

.page-preview .toggle-row {
  position: absolute;
  left: 31px;
  top: 51px;
  width: 224px;
  max-width: none;
  margin: 0 !important;
  padding: 0;
  justify-content: flex-start;
  gap: 12px;
  color: #64748b;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.page-preview .toggle-row em {
  width: 22px;
  height: 12px;
  background: #e7e7eb;
}

.page-preview .toggle-row em::after {
  width: 10px;
  height: 10px;
}

.page-preview .inline-status {
  position: absolute;
  left: 18px;
  top: 206px;
  width: 293px;
  min-height: 62px;
  margin: 0;
  padding: 0 14px;
  gap: 6px;
  justify-content: flex-start;
  border-color: #e5f5ed;
  background: #fbfbfc;
  border-radius: 8px;
  color: #64748b;
  font-size: 13px;
  letter-spacing: 0.1em;
  font-weight: 300;
  white-space: nowrap;
}

.page-preview .detail-link {
  color: #3f3f3f;
  font-size: 13px;
  font-weight: 700;
}

.page-preview .inline-status strong {
  color: #64748b;
  font-weight: 300;
}

.page-preview .check-card strong,
.page-preview .status-muted,
.page-preview .dot-sep {
  color: #64748b;
  font-weight: 300;
}

.page-preview .style-panel {
  position: absolute;
  left: 18px;
  top: 331px;
  width: 293px;
  height: 268px;
  margin: 0;
  padding: 0;
  border-color: #e5f5ed;
  border-radius: 8px;
  background: #fbfbfc;
}

.page-preview .field-row {
  position: absolute;
  left: 30px;
  top: 56px;
  margin: 0;
  height: 28px;
  gap: 7px;
  font-size: 14px;
}

.page-preview .style-panel label,
.page-preview .style-panel .style-row {
  position: absolute;
  left: 30px;
  width: 232px;
  min-height: 22px;
  display: grid;
  grid-template-columns: 58px 108px 34px;
  gap: 16px;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
}

.page-preview .style-panel label:nth-of-type(1) { top: 90px; }
.page-preview .style-panel label:nth-of-type(2) { top: 126px; }
.page-preview .style-panel .color-row { top: 162px; }
.page-preview .style-panel label:nth-of-type(3) { top: 198px; }
.page-preview .style-panel label:nth-of-type(4) { top: 232px; }

.page-preview .style-panel label > span:first-child,
.page-preview .style-panel .style-row > span:first-child {
  letter-spacing: 0;
  color: #3f3f3f;
  width: 58px;
  display: block;
  text-align: justify;
  text-align-last: justify;
  white-space: nowrap;
}

.page-preview .style-panel label:nth-of-type(1) > span:first-child,
.page-preview .style-panel label:nth-of-type(2) > span:first-child,
.page-preview .style-panel .color-row > span:first-child {
  letter-spacing: 0;
}

.page-preview .style-panel label:nth-of-type(3) > span:first-child {
  letter-spacing: 0;
}

.page-preview .style-panel select {
  appearance: none;
  grid-column: 2 / 4;
  width: 158px;
  height: 28px;
  padding: 0 24px 0 6px;
  border-radius: 8px;
  background-color: #e7e7eb;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='7' viewBox='0 0 10 7' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L5 5.5L9 1.5' stroke='%23111827' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 10px 7px;
  font-size: 12px;
  font-weight: 500;
}

.page-preview .style-panel input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
}

.page-preview .style-panel input[type="range"]::-webkit-slider-thumb {
  width: 8px;
  height: 8px;
  margin-top: -3px;
}

.page-preview .style-panel label em,
.page-preview .style-panel .style-row em,
.page-preview .style-panel .percent-value-input {
  color: #3f3f3f;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
}

.page-preview .color-row {
  display: block;
  height: 28px;
  min-height: 28px;
  max-height: 28px;
  overflow: visible;
}

.page-preview .color-row > span:first-child {
  position: absolute;
  left: 0;
  top: 3px;
  width: 58px;
  line-height: 20px;
}

.page-preview .color-row .color-dot {
  position: absolute;
  left: 74px;
  top: 0;
  z-index: 1;
  width: 26px;
  height: 28px;
  display: grid;
  place-items: center;
  margin: 0;
  border-radius: 8px 0 0 8px;
  box-shadow: none;
  background: #e7e7eb !important;
  outline: 0;
}

.page-preview .color-row .color-dot::before {
  content: "";
  width: 14px;
  height: 14px;
  display: block;
  border-radius: 4px;
  background: var(--swatch-color, #000000);
}

.page-preview .color-row em {
  position: absolute;
  top: 0;
  height: 28px;
  background: #e7e7eb;
  font-size: 12px;
  overflow: hidden;
}

.page-preview .color-row em:nth-of-type(1) {
  left: 100px;
  width: 82px;
  padding-left: 8px;
  white-space: nowrap;
  border-radius: 0;
}

.page-preview .color-row em:nth-of-type(2) {
  left: 182px;
  width: 50px;
  padding: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 0 8px 8px 0;
  text-align: center;
  line-height: 28px;
}

.page-preview .color-row #previewColorValue {
  left: 100px;
  width: 82px;
  padding-left: 8px;
  white-space: nowrap;
  border-radius: 0;
}

.page-preview .color-row #previewOpacityText {
  left: 182px;
  width: 50px;
  padding: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 0 8px 8px 0;
  text-align: center;
}

.page-preview .side-actions {
  position: absolute;
  left: 18px;
  top: 618px;
  width: 293px;
  margin: 0;
  display: grid;
  grid-template-columns: 98px 174px;
  gap: 21px;
}

.page-preview .side-actions .outline-btn,
.page-preview .side-actions .green-btn {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 36px;
}

.page-preview .side-footer {
  left: 47px;
  right: auto;
  bottom: auto;
  top: 732px;
  width: 236px;
  color: #64748b;
  font-size: 13px;
  font-weight: 300;
  line-height: 21px;
  letter-spacing: 0.1em;
}

.page-style #peopleCount,
.page-style #specStatus,
.page-style #styleFooter strong,
.page-preview #previewPeopleCount,
.page-preview #previewSpecStatus,
.page-preview #previewFooter strong {
  color: #64748b;
  font-weight: 700;
}

.preview-stage {
  position: relative;
  height: 770px;
  overflow: visible;
}

.preview-stage::before {
  content: "";
  position: absolute;
  left: -230px;
  top: -29px;
  width: 1340px;
  height: 776px;
  background: url("./assets/背景图.png") center center / cover no-repeat;
  pointer-events: none;
}

.preview-stage::after {
  display: none;
}

.preview-stage .floating-title {
  top: 24px;
}

.sheet-board {
  position: absolute;
  left: 0;
  right: 0;
  top: 82px;
  bottom: 0;
  z-index: 1;
  padding: 30px 32px 36px;
  background: #e8e8ec;
  box-shadow: 0 18px 32px rgba(17, 24, 39, 0.12);
  overflow: hidden;
}

.page-preview .sheet-board {
  height: auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
}

.detail-board {
  position: absolute;
  left: 0;
  right: 0;
  top: 82px;
  bottom: 0;
  z-index: 2;
  display: none;
  padding: 50px 44px 40px 52px;
  border: 1px solid #a7d8b8;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 32px rgba(17, 24, 39, 0.12);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
}

.page-preview.detail-mode .sheet-board {
  display: none;
}

.page-preview.detail-mode .detail-board {
  display: block;
}

.detail-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 34px;
  padding-right: 8px;
}

.detail-board h3 {
  margin: 0;
  color: #111827;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.detail-board h3 strong {
  font-weight: 700;
}

.detail-limit-warning {
  margin: 0 0 0 auto;
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid #ffc9c9;
  border-radius: 8px;
  color: #c03636;
  background: #fff5f5;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.detail-reupload {
  width: 140px;
  height: 38px;
  border: 1px solid #00a13a;
  border-radius: 8px;
  color: #00a13a;
  background: #fff;
  font-size: 15px;
  font-weight: 700;
}

.detail-table {
  width: 100%;
  border: 1px solid #edf0ef;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.detail-head,
.detail-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1.45fr) 44px;
  align-items: center;
}

.page-preview.detail-no-role .detail-head,
.page-preview.detail-no-role .detail-row {
  grid-template-columns: 48px minmax(0, 1fr) 44px;
}

.page-preview.detail-no-role .detail-head span:nth-child(3),
.page-preview.detail-no-role .detail-row .detail-role {
  display: none;
}

.detail-head {
  height: 34px;
  background: #fbfbfc;
  border-bottom: 1px solid #edf0ef;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
}

.detail-row {
  height: 32px;
  border-bottom: 1px solid #edf0ef;
  color: #111827;
  font-size: 14px;
}

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

.detail-index {
  text-align: center;
  color: #111827;
}

.detail-head span:nth-child(2),
.detail-head span:nth-child(3) {
  padding: 0 10px;
}

.detail-row input {
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0 10px;
  box-sizing: border-box;
  color: #111827;
  background: transparent;
  font: inherit;
  outline: none;
}

.detail-row input:focus {
  background: #f7fbf9;
  box-shadow: inset 0 0 0 1px #d8f0e3;
}

.detail-delete {
  justify-self: center;
  align-self: center;
}

.detail-delete:hover {
  opacity: 0.72;
}

.sheet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
  align-content: start;
  gap: 18px 14px;
  min-height: 100%;
  overflow: visible;
}

.custom-scrollbar,
.page-preview .sheet-board {
  scrollbar-width: thin;
  scrollbar-color: #c9d1ce transparent;
}

.custom-scrollbar::-webkit-scrollbar,
.page-preview .sheet-board::-webkit-scrollbar {
  width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track,
.page-preview .sheet-board::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb,
.page-preview .sheet-board::-webkit-scrollbar-thumb {
  min-height: 80px;
  border-radius: 999px;
  background: #c9d1ce;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover,
.page-preview .sheet-board::-webkit-scrollbar-thumb:hover {
  background: #aeb8b4;
}

.sheet {
  text-align: center;
}

.sheet-paper {
  position: relative;
  background: #fff;
  border: 0;
  box-shadow:
    0 3px 7px rgba(24, 31, 42, 0.16),
    0 1px 2px rgba(24, 31, 42, 0.1);
  overflow: hidden;
}

.sheet-guide {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px dashed rgba(229, 231, 235, 0.95);
  filter: drop-shadow(0 0 1px rgba(17, 24, 39, 0.28));
  z-index: 5;
  pointer-events: none;
}

.sheet-face {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  z-index: 2;
}

.sheet-face-back {
  transform: translateY(-50%) rotate(180deg);
}

.sheet-text-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.text-chars {
  display: inline-flex;
  justify-content: center;
  white-space: pre;
}

.preview-name > span,
.preview-role > span,
.text-chars > span {
  margin-inline: calc(var(--char-gap, 0px) / 2);
}

.sheet-name {
  line-height: 1;
  font-weight: 600;
}

.sheet-role {
  margin-top: 5px;
  font-weight: 400;
}

.sheet-number {
  display: block;
  margin-top: 8px;
  font-size: 14px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  padding: 12px 18px;
  border-radius: var(--radius);
  color: #fff;
  background: #111827;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

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

.vip-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17, 24, 39, 0.26);
  overflow: auto;
}

.vip-modal-card {
  position: relative;
  width: min(600px, calc(100vw - 56px));
  padding: 28px 34px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 28px 80px rgba(17, 24, 39, 0.18);
}

.vip-close {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 3;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: #f3f5f4 url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2L10 10M10 2L2 10' stroke='%23111827' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 13px 13px no-repeat;
  cursor: pointer;
}

.vip-close:focus-visible {
  outline: 2px solid rgba(0, 166, 70, 0.28);
  outline-offset: 3px;
}

.vip-modal-head {
  position: relative;
  padding-top: 2px;
}

.vip-modal-head h2 {
  margin: 0;
  color: #14231a;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
}

.vip-modal-head p,
.free-open-box p,
.pay-status {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.free-open-box {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #d4ecdc;
  border-radius: var(--radius);
  color: #113c21;
  background: var(--green-soft);
}

.free-open-box strong {
  display: block;
  font-size: 16px;
}

.vip-modal.feature-gate .vip-modal-card {
  width: min(480px, calc(100vw - 48px));
  padding: 24px 28px 26px;
  border-color: rgba(0, 166, 70, 0.28);
  box-shadow: 0 18px 52px rgba(31, 41, 55, 0.16);
}

.vip-modal.text-export-mode .vip-modal-card {
  width: min(540px, calc(100vw - 48px));
  padding: 24px 28px 26px;
  border-color: rgba(0, 166, 70, 0.28);
  box-shadow: 0 18px 52px rgba(31, 41, 55, 0.16);
}

.vip-modal.feature-gate .vip-close {
  right: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  background-color: #f5f7f6;
}

.vip-modal.text-export-mode .vip-close {
  right: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  background-color: #f5f7f6;
}

.vip-modal.feature-gate .vip-modal-head {
  padding-right: 34px;
}

.vip-modal.text-export-mode .vip-modal-head {
  padding-right: 34px;
}

.vip-modal.feature-gate .vip-modal-head h2 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
}

.vip-modal.text-export-mode .vip-modal-head h2 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
}

.vip-modal.feature-gate .vip-modal-head p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.55;
}

.vip-modal.text-export-mode .vip-modal-head p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.55;
}

.vip-feature-content {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.vip-text-export-content {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.vip-feature-content p {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #dcefe3;
  border-radius: 8px;
  color: #415160;
  background: #fbfcfb;
  font-size: 14px;
  line-height: 1.65;
}

.vip-text-export-content p {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #dcefe3;
  border-radius: 8px;
  color: #415160;
  background: #fbfcfb;
  font-size: 14px;
  line-height: 1.65;
}

.vip-feature-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.vip-text-export-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.vip-feature-actions .outline-btn,
.vip-feature-actions .green-btn {
  width: 100%;
  min-width: 0;
  height: 40px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
}

.vip-text-export-actions .outline-btn,
.vip-text-export-actions .green-btn {
  width: 100%;
  min-width: 0;
  height: 40px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
}

.vip-feature-actions .text-btn {
  grid-column: 1 / -1;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #7b8794;
  font-size: 13px;
  font-weight: 500;
}

.vip-text-export-actions .text-btn {
  grid-column: 1 / -1;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #7b8794;
  font-size: 13px;
  font-weight: 500;
}

.vip-redeem-content {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.redeem-account,
.redeem-code-field {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid #d4ecdc;
  border-radius: var(--radius);
  background: var(--green-soft);
}

.redeem-account span,
.redeem-code-field span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.redeem-account strong {
  color: #1f3d2d;
  font-size: 16px;
  word-break: break-all;
}

.redeem-code-field {
  background: #fff;
}

.redeem-code-field input {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  color: #111827;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  outline: 0;
}

.vip-redeem-content .green-btn {
  height: 48px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 800;
}

.vip-payment-content {
  margin-top: 18px;
}

.vip-modal.login-only .vip-modal-card {
  width: min(560px, 100%);
}

.vip-modal.login-only .vip-plans,
.vip-modal.login-only .qr-card,
.vip-modal.login-only .pay-note,
.vip-modal.login-only .confirm-row,
.vip-modal.login-only #submitPaymentBtn {
  display: none !important;
}

.vip-modal.login-only .pay-grid {
  grid-template-columns: 1fr;
}

.vip-modal.logged-pay .vip-email-field,
.vip-modal.logged-pay .verify-row,
.vip-modal.logged-pay .confirm-row,
.vip-modal.logged-pay .logged-account-box {
  display: none !important;
}

.vip-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.vip-plan {
  min-height: 78px;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  background: #fff;
  color: #14231a;
  text-align: center;
}

.vip-plan.active {
  border-color: var(--green);
  background: var(--green-soft);
}

.vip-price {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  font-family: "DIN Condensed", "DIN Alternate", "DIN 2014 Condensed", "Bahnschrift Condensed", "Arial Narrow", "HelveticaNeue-CondensedBold", Arial, sans-serif;
  font-stretch: condensed;
}

.vip-price em {
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
}

.vip-price strong {
  font-family: "DIN Condensed", "DIN Alternate", "DIN 2014 Condensed", "Bahnschrift Condensed", "Arial Narrow", "HelveticaNeue-CondensedBold", Arial, sans-serif;
  font-size: 38px;
  font-weight: 900;
  line-height: 0.95;
}

.vip-price small {
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
}

.pay-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 20px;
}

.qr-card,
.pay-form {
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  background: var(--panel);
}

.qr-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 178px;
  padding: 18px 20px;
  text-align: center;
}

.mock-qr {
  width: 124px;
  height: 124px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 11px;
  border: 6px solid #fff;
  background:
    linear-gradient(90deg, #111827 0 18%, transparent 18% 34%, #111827 34% 45%, transparent 45% 62%, #111827 62% 100%),
    linear-gradient(180deg, transparent 0 20%, #111827 20% 32%, transparent 32% 52%, #111827 52% 64%, transparent 64% 100%),
    #fff;
  box-shadow: 0 0 0 1px var(--soft-line);
}

.mock-qr i {
  display: block;
  background: #111827;
}

.payment-qr-img {
  display: block;
  width: 136px;
  height: 136px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 0 0 1px var(--soft-line);
}

.qr-payment-line {
  margin: 0;
  color: #14231a;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.qr-payment-line span {
  margin-left: 10px;
  color: var(--green);
  font-family: "DIN Condensed", "DIN Alternate", "DIN 2014 Condensed", "Bahnschrift Condensed", "Arial Narrow", "HelveticaNeue-CondensedBold", Arial, sans-serif;
  font-weight: 900;
}

.pay-form {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.vip-modal.logged-pay .pay-form {
  justify-items: center;
  padding: 0;
  border: 0;
  background: transparent;
}

.vip-modal.logged-pay #submitPaymentBtn {
  width: min(380px, 74%);
  height: 46px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 800;
}

.logged-account-box {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid #d4ecdc;
  border-radius: var(--radius);
  background: var(--green-soft);
}

.logged-account-box span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.logged-account-box strong {
  color: #1f3d2d;
  font-size: 16px;
  line-height: 1.4;
  word-break: break-all;
}

.pay-form label {
  display: grid;
  gap: 8px;
  color: #374151;
  font-size: 14px;
  font-weight: 700;
}

.pay-form input[type="email"] {
  height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  outline: 0;
}

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

.code-field {
  position: relative;
  min-width: 0;
}

.verify-row input {
  width: 100%;
  min-width: 0;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 100px 0 10px;
  outline: 0;
}

.code-field button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  height: 24px;
  border: 0;
  padding: 0 4px;
  color: #00a13a;
  background: transparent;
  font-size: 13px;
  font-weight: 400;
}

.verify-row .green-btn {
  height: 36px;
  min-width: 88px;
  padding: 0 12px;
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}

.pay-note {
  margin: 10px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #14231a;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.pay-note i {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  border: 2px solid #ff3b3b;
  border-radius: 50%;
  color: #ff3b3b;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 1;
}

.pay-note strong {
  margin-left: 8px;
  color: #ff3b3b;
  font-size: 17px;
  font-weight: 800;
}

.confirm-row {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 8px !important;
  color: #4b5563 !important;
  font-weight: 500 !important;
}

.confirm-row input {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
}

.pay-status.success {
  color: var(--green);
  font-weight: 700;
}

.pay-status.warning {
  color: #b7791f;
  font-weight: 700;
}

.vip-benefits-card {
  display: none;
}

.vip-modal.logged-pay .vip-modal-card {
  width: min(860px, calc(100vw - 56px));
  max-height: calc(100vh - 54px);
  overflow: auto;
  padding: 34px 42px 38px;
  border-color: rgba(0, 166, 70, 0.46);
  box-shadow: 0 30px 90px rgba(17, 24, 39, 0.18);
}

.vip-modal.logged-pay .vip-close {
  right: 18px;
  top: 18px;
}

.vip-modal.logged-pay .vip-modal-head h2 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
}

.vip-modal.logged-pay .vip-modal-head p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.45;
}

.vip-modal.logged-pay .vip-payment-content {
  margin-top: 28px;
}

.vip-modal.logged-pay .vip-plans {
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.vip-modal.logged-pay .vip-plan {
  min-height: 104px;
  border-color: #dfe4e2;
  border-radius: 8px;
  background: #fff;
}

.vip-modal.logged-pay .vip-plan.active {
  border-color: var(--green);
  background: #e8f7ee;
}

.vip-modal.logged-pay .vip-price {
  gap: 9px;
}

.vip-modal.logged-pay .vip-price em {
  font-size: 24px;
  font-weight: 800;
}

.vip-modal.logged-pay .vip-price strong {
  font-size: 52px;
  line-height: 0.86;
}

.vip-modal.logged-pay .vip-price small {
  color: #a3aaa7;
  font-size: 22px;
  font-weight: 500;
}

.vip-modal.logged-pay .pay-grid {
  grid-template-columns: 1fr 1fr;
  gap: 28px 36px;
  margin-top: 30px;
}

.vip-modal.logged-pay .vip-benefits-card {
  display: block;
  min-height: 262px;
  padding: 28px 26px;
  border: 1px solid #dcefe3;
  border-radius: 8px;
  background: #fbfbfb;
}

.vip-benefits-card h3 {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 18px;
  font-weight: 800;
}

.vip-benefits-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vip-benefits-card li {
  position: relative;
  min-height: 24px;
  padding-left: 38px;
  color: #26312d;
  font-size: 16px;
  line-height: 1.4;
}

.vip-benefits-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg width='14' height='10' viewBox='0 0 14 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 5L5.2 8.4L12.5 1.6' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 9px no-repeat;
}

.vip-modal.logged-pay .qr-card {
  min-height: 262px;
  padding: 26px 24px 24px;
  border-color: #dcefe3;
  border-radius: 8px;
  background: #fbfbfb;
}

.vip-modal.logged-pay .payment-qr-img {
  width: 160px;
  height: 160px;
  box-shadow: none;
}

.vip-modal.logged-pay .qr-payment-line {
  margin-top: 18px;
  font-size: 21px;
  font-weight: 800;
}

.vip-modal.logged-pay .qr-payment-line span {
  margin-left: 9px;
  font-size: 22px;
}

.vip-modal.logged-pay .pay-form {
  grid-column: 1 / -1;
  display: grid;
  justify-items: stretch;
  padding: 0;
  border: 0;
  background: transparent;
}

.vip-modal.logged-pay .pay-note {
  display: none;
}

.vip-modal.logged-pay #submitPaymentBtn {
  width: 100%;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 8px;
  color: #fff;
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
}

.vip-modal.logged-pay #submitPaymentBtn strong {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  text-decoration: underline;
  text-underline-offset: 7px;
}

.vip-modal.logged-pay .pay-status {
  justify-self: center;
  margin-top: 14px;
}

@media (max-width: 900px) {
  main {
    width: 100%;
  }

  .topbar {
    height: 76px;
    padding: 0 20px;
    gap: 18px;
  }

  .topbar img {
    width: 132px;
  }

  .page {
    padding: 44px 20px 60px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .import-box,
  .spec-card,
  .page-actions {
    width: 100%;
  }

  .size-options,
  .page-actions,
  .side-actions {
    gap: 16px;
  }

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

  .stage-scene,
  .sheet-board,
  .side-panel {
    width: 100%;
  }

  .sheet-grid {
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
  }

  .vip-modal-card {
    width: min(100%, calc(100vw - 28px));
    padding: 28px 20px;
  }

  .vip-modal.logged-pay .vip-modal-card {
    width: min(100%, calc(100vw - 28px));
    padding: 34px 20px 38px;
  }

  .vip-modal.logged-pay .vip-close {
    right: 14px;
    top: 14px;
  }

  .vip-modal.logged-pay .vip-modal-head h2 {
    font-size: 34px;
  }

  .vip-modal.logged-pay .vip-modal-head p {
    margin-top: 10px;
    font-size: 15px;
  }

  .vip-plans,
  .pay-grid,
  .verify-row {
    grid-template-columns: 1fr;
  }

  .vip-modal.logged-pay .vip-plans,
  .vip-modal.logged-pay .pay-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .vip-modal.logged-pay .vip-payment-content {
    margin-top: 26px;
  }

  .vip-modal.logged-pay .vip-plan {
    min-height: 102px;
  }

  .vip-modal.logged-pay .vip-price strong {
    font-size: 50px;
  }

  .vip-modal.logged-pay .vip-price em,
  .vip-modal.logged-pay .vip-price small {
    font-size: 22px;
  }

  .vip-modal.logged-pay .pay-grid {
    margin-top: 20px;
  }

  .vip-modal.logged-pay .vip-benefits-card,
  .vip-modal.logged-pay .qr-card {
    min-height: 0;
    padding: 24px 20px;
  }

  .vip-benefits-card h3 {
    margin-bottom: 18px;
    font-size: 19px;
  }

  .vip-benefits-card ul {
    gap: 14px;
  }

  .vip-benefits-card li {
    min-height: 24px;
    padding-left: 34px;
    font-size: 16px;
  }

  .vip-benefits-card li::before {
    width: 22px;
    height: 22px;
    background-size: 13px 9px;
  }

  .vip-plans {
    gap: 14px;
  }

  .vip-plan {
    min-height: 78px;
  }

  .vip-price strong {
    font-size: 34px;
  }

  .vip-price em,
  .vip-price small {
    font-size: 18px;
  }

  .pay-grid {
    margin-top: 24px;
  }

  .qr-card {
    min-height: 260px;
  }

  .mock-qr {
    width: 132px;
    height: 132px;
  }

  .payment-qr-img {
    width: 132px;
    height: 132px;
  }

  .vip-modal.logged-pay .payment-qr-img {
    width: 180px;
    height: 180px;
  }

  .qr-payment-line {
    font-size: 18px;
  }

  .vip-modal.logged-pay .qr-payment-line {
    margin-top: 18px;
    font-size: 22px;
  }

  .vip-modal.logged-pay .qr-payment-line span {
    font-size: 23px;
  }

  .vip-modal.logged-pay #submitPaymentBtn {
    width: 100%;
    height: auto;
    min-height: 58px;
    flex-wrap: wrap;
    padding: 13px 14px;
    font-size: 18px;
  }

  .vip-modal.logged-pay #submitPaymentBtn strong {
    font-size: 19px;
    text-underline-offset: 5px;
  }

  .pay-note {
    font-size: 17px;
  }

  .pay-note strong {
    display: block;
    margin: 8px 0 0 42px;
    font-size: 19px;
  }

  .site-footer {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .site-footer-actions,
  .site-footer-records {
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 12px;
  }

  .feedback-card {
    width: min(100%, calc(100vw - 28px));
    padding: 26px 20px 28px;
  }

  .feedback-head h2 {
    font-size: 26px;
  }
}

.brand-home {
  text-decoration: none;
}

.seo-links {
  width: min(800px, 100%);
  margin: 46px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  opacity: 0.58;
}

.seo-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #75879a;
  background: transparent;
  text-decoration: none;
  font-size: 12px;
  font-weight: 300;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.seo-links a:hover {
  color: var(--green);
  opacity: 1;
}

.site-footer {
  position: relative;
  width: 1120px;
  max-width: calc(100vw - 48px);
  margin: 10px auto 28px;
  color: #75879a;
  text-align: right;
  flex: 0 0 auto;
}

.site-footer-actions,
.site-footer-records {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
}

.site-footer-actions {
  min-height: 30px;
  margin-bottom: 0;
}

.site-footer-records {
  min-height: 27px;
}

.footer-link,
.site-footer-records a,
.site-footer-records span {
  font-size: 10px;
  text-decoration: none;
}

.footer-link {
  appearance: none;
  padding: 0;
  border: 0;
  color: #adbfd2;
  background: transparent;
  cursor: pointer;
  line-height: 30px;
}

.footer-strong {
  font-weight: 400;
}

.site-footer-records a,
.site-footer-records span {
  color: #b3c1d0;
  font-weight: 300;
  line-height: 27px;
}

.footer-link:hover,
.site-footer-records a:hover {
  color: var(--green);
}

.footer-contact-wrap {
  position: relative;
  display: inline-flex;
}

.contact-popover {
  position: absolute;
  right: 50%;
  bottom: calc(100% + 8px);
  z-index: 20;
  transform: translateX(50%) translateY(4px);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  padding: 7px 10px;
  border: 1px solid rgba(159, 160, 160, 0.25);
  border-radius: 8px;
  color: #49534f;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.12);
  font-size: 11px;
  font-weight: 500;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.footer-contact-wrap:hover .contact-popover,
.contact-popover.show {
  opacity: 1;
  transform: translateX(50%) translateY(0);
}

.feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 230;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17, 24, 39, 0.26);
  overflow: auto;
}

.feedback-card {
  position: relative;
  width: min(460px, calc(100vw - 48px));
  padding: 28px 30px 30px;
  border: 1px solid rgba(0, 166, 70, 0.22);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.16);
}

.feedback-head h2 {
  margin: 0;
  color: #14231a;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
}

.feedback-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.feedback-form {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.feedback-field {
  display: grid;
  gap: 7px;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.feedback-field input,
.feedback-field textarea {
  width: 100%;
  border: 1px solid #cfe4d6;
  border-radius: 10px;
  padding: 12px 14px;
  color: #111827;
  background: #fff;
  font: inherit;
  font-weight: 500;
  outline: none;
  resize: vertical;
}

.feedback-field input:focus,
.feedback-field textarea:focus {
  border-color: rgba(0, 166, 70, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 166, 70, 0.08);
}

.feedback-form .green-btn {
  width: 100%;
  min-height: 46px;
  margin-top: 2px;
}

body[data-page="import"] .site-footer {
  margin-top: -112px;
}

body[data-page="preview"] .site-footer,
body[data-page="style"] .site-footer {
  width: min(1210px, calc(100vw - 72px));
  margin-top: -40px;
  margin-bottom: 14px;
  padding-right: 0;
  text-align: right;
}

.seo-page-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 161, 58, 0.08), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f6f8f7 58%, #eef5f1 100%);
}

.seo-shell {
  min-height: 100vh;
}

.seo-topbar {
  box-shadow: 0 0 0 100vmax #fff, 0 16px 36px rgba(17, 24, 39, 0.04);
}

.seo-main {
  width: min(920px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 70px 0 88px;
}

.seo-hero-card {
  min-height: 360px;
  padding: 58px 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 28px 80px rgba(17, 24, 39, 0.08);
}

.seo-hero-card h1 {
  margin: 20px 0 18px;
  color: var(--text);
  font-size: 48px;
  line-height: 1.12;
  letter-spacing: 0;
}

.seo-hero-card p {
  max-width: 690px;
  margin: 0;
  color: #5f6e7e;
  font-size: 18px;
  line-height: 1.8;
}

.seo-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.seo-primary,
.seo-secondary {
  width: auto;
  min-width: 150px;
  height: 46px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.seo-content-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.seo-content-grid article {
  min-height: 160px;
  padding: 28px 30px;
  border: 1px solid #d6e8db;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.seo-content-grid h2 {
  margin: 0 0 12px;
  color: #17231c;
  font-size: 22px;
  line-height: 1.3;
}

.seo-content-grid p {
  margin: 0;
  color: #667587;
  font-size: 15px;
  line-height: 1.85;
}

@media (max-width: 900px) {
  .seo-main {
    width: calc(100vw - 32px);
    padding: 44px 0 64px;
  }

  .seo-hero-card {
    min-height: auto;
    padding: 34px 24px;
  }

  .seo-hero-card h1 {
    font-size: 34px;
  }

  .seo-hero-card p {
    font-size: 16px;
  }

  .seo-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .site-footer,
  body[data-page="preview"] .site-footer,
  body[data-page="style"] .site-footer {
    width: 100%;
    max-width: calc(100vw - 32px);
    margin: 12px auto 22px;
    text-align: center;
  }

  .site-footer-actions,
  .site-footer-records {
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 12px;
  }

  .feedback-card {
    width: min(100%, calc(100vw - 28px));
    padding: 26px 20px 28px;
  }

  .feedback-head h2 {
    font-size: 26px;
  }
}
