:root {
  color-scheme: light;
  --pc-blue: #155eef;
  --pc-blue-dark: #0f46bd;
  --pc-ink: #172033;
  --pc-muted: #667085;
  --pc-line: #e7ecf4;
  --pc-bg: #f3f6fb;
}

* { box-sizing: border-box; }
html { background: var(--pc-bg); }
body {
  min-width: 320px;
  margin: 0;
  color: var(--pc-ink);
  background: radial-gradient(circle at 12% 0%, rgba(21, 94, 239, .10), transparent 27rem), radial-gradient(circle at 88% 8%, rgba(52, 211, 153, .08), transparent 24rem), var(--pc-bg);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.pc-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(222, 229, 240, .86);
  background: rgba(255, 255, 255, .90);
  box-shadow: 0 4px 24px rgba(18, 38, 63, .04);
  backdrop-filter: blur(16px);
}
.pc-brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.pc-brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, #2875ff, #155eef 62%, #0f46bd);
  box-shadow: 0 8px 20px rgba(21, 94, 239, .24);
  font-size: 20px;
  font-weight: 800;
}
.pc-brand-copy { display: grid; line-height: 1.05; }
.pc-brand-copy strong { font-size: 18px; letter-spacing: .06em; }
.pc-brand-copy small { margin-top: 5px; color: #98a2b3; font-size: 9px; letter-spacing: .2em; }
.pc-header-tip { display: flex; align-items: center; gap: 8px; color: var(--pc-muted); font-size: 13px; }
.pc-safe-dot { width: 8px; height: 8px; border-radius: 50%; background: #12b76a; box-shadow: 0 0 0 5px rgba(18, 183, 106, .10); }

.pc-intro {
  display: flex;
  width: min(1180px, calc(100% - 48px));
  margin: 48px auto 24px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.pc-eyebrow { display: inline-block; margin-bottom: 12px; color: var(--pc-blue); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.pc-intro h1 { margin: 0; color: #101828; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.15; letter-spacing: -.04em; }
.pc-intro p { max-width: 650px; margin: 16px 0 0; color: var(--pc-muted); font-size: 15px; line-height: 1.8; }
.pc-steps { display: flex; margin: 0 0 4px; padding: 0; gap: 26px; color: var(--pc-muted); list-style: none; white-space: nowrap; font-size: 13px; }
.pc-steps li { display: flex; align-items: center; gap: 8px; }
.pc-steps span { display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid #cbd7ef; border-radius: 50%; color: var(--pc-blue); background: #fff; font-weight: 700; }

#app {
  width: min(1180px, calc(100% - 48px));
  min-height: 420px;
  margin: 0 auto 48px;
  overflow: hidden;
  border: 1px solid rgba(222, 229, 240, .92);
  border-radius: 22px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 20px 60px rgba(24, 39, 75, .08);
}
#app > uni-app, #app uni-page-body { min-height: 420px; background: transparent !important; }
#app .w90 { width: 100% !important; }
#app .bg_color_white { background: transparent !important; }
#app .border-radius-10 { border-radius: 0 !important; }
#app .mt-30 { margin-top: 0 !important; }
#app .upl-file {
  position: relative;
  min-height: 240px;
  margin: 0 0 28px !important;
  border: 2px dashed #b9c9e8 !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, #f8fbff, #f3f7ff) !important;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}
#app .upl-file:hover { border-color: var(--pc-blue) !important; background: #f7faff !important; box-shadow: inset 0 0 0 4px rgba(21, 94, 239, .04); transform: translateY(-1px); }
#app .upl-file:focus-within { outline: 3px solid rgba(21, 94, 239, .16); }
#app .el-button--primary, #app uni-button[type="primary"] { border-color: var(--pc-blue) !important; background: linear-gradient(135deg, #2875ff, var(--pc-blue)) !important; box-shadow: 0 8px 18px rgba(21, 94, 239, .20); }
#app .el-button--primary:hover { border-color: var(--pc-blue-dark) !important; background: var(--pc-blue-dark) !important; }
#app .el-select__wrapper { min-height: 44px; border-radius: 10px; box-shadow: 0 0 0 1px var(--pc-line) inset; }
#app .file_css { border: 1px solid var(--pc-line); border-radius: 14px !important; }
#app .ok_css { border-top: 1px solid var(--pc-line); background: rgba(255, 255, 255, .96) !important; backdrop-filter: blur(12px); }
.pc-footer { padding: 0 24px 32px; color: #98a2b3; text-align: center; font-size: 12px; }

@media (max-width: 760px) {
  .pc-header { height: 62px; padding: 0 18px; }
  .pc-header-tip { display: none; }
  .pc-brand-mark { width: 36px; height: 36px; border-radius: 10px; font-size: 18px; }
  .pc-intro { width: calc(100% - 28px); margin: 28px auto 18px; display: block; }
  .pc-intro h1 { font-size: 30px; }
  .pc-intro p { font-size: 14px; }
  .pc-steps { margin-top: 20px; gap: 12px; white-space: normal; }
  .pc-steps li { gap: 5px; font-size: 11px; }
  #app { width: calc(100% - 20px); margin-bottom: 28px; border-radius: 16px; }
  #app .upl-file { min-height: 190px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }

/* 2026 product-page refinement: one blue accent, compact workflow, clearer files. */
:root {
  --pc-blue: #165dce;
  --pc-blue-dark: #0f4eae;
  --pc-blue-soft: #edf4ff;
  --pc-ink: #172033;
  --pc-muted: #5f6f86;
  --pc-line: #dfe7f2;
  --pc-bg: #eef3f9;
  --pc-surface: #fbfdff;
  --pc-surface-soft: #f5f8fc;
  --pc-danger: #c43d4b;
  --pc-radius: 14px;
}

body {
  min-height: 100dvh;
  background: var(--pc-bg);
}

.pc-header {
  height: 68px;
  border-bottom-color: rgba(207, 218, 232, .9);
  background: rgba(251, 253, 255, .94);
  box-shadow: none;
}

.pc-brand-mark {
  border-radius: 11px;
  background: var(--pc-blue);
  box-shadow: 0 8px 18px rgba(22, 93, 206, .18);
}

.pc-header-tip {
  padding: 7px 10px;
  border: 1px solid var(--pc-line);
  border-radius: 8px;
  color: #526278;
  background: var(--pc-surface-soft);
  font-size: 12px;
}

.pc-intro {
  margin-top: 32px;
  margin-bottom: 20px;
  align-items: center;
}

.pc-eyebrow {
  margin-bottom: 8px;
  letter-spacing: .04em;
}

.pc-intro h1 {
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.pc-intro p {
  max-width: 620px;
  margin-top: 12px;
  line-height: 1.65;
}

.pc-steps {
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--pc-line);
  border-radius: 12px;
  background: rgba(251, 253, 255, .72);
}

.pc-steps li {
  padding: 5px 9px;
  border-radius: 8px;
}

.pc-steps span {
  width: 21px;
  height: 21px;
  border: 0;
  border-radius: 7px;
  background: var(--pc-blue-soft);
  font-size: 11px;
}

#app {
  margin-bottom: 28px;
  border-color: var(--pc-line);
  border-radius: 18px;
  background: var(--pc-surface);
  box-shadow: 0 16px 44px rgba(31, 55, 86, .09);
}

#app .pa-20 {
  padding: 22px !important;
}

#app .upl-file {
  min-height: 188px;
  margin-bottom: 18px !important;
  border: 1.5px dashed #9db6dd !important;
  border-radius: var(--pc-radius) !important;
  background: var(--pc-surface-soft) !important;
  box-shadow: none;
}

#app .upl-file:hover {
  border-color: var(--pc-blue) !important;
  background: var(--pc-blue-soft) !important;
  box-shadow: inset 0 0 0 1px rgba(22, 93, 206, .08);
}

#app .upl-file:active {
  transform: translateY(1px);
}

#app .upl-file .image-size-80 {
  width: 54px !important;
  height: 54px !important;
}

#app .upl-file .mt-40 {
  margin-top: 12px !important;
}

#app .upl-file .font-size28 {
  color: var(--pc-ink);
  font-size: 15px !important;
  font-weight: 700;
}

#app .upl-file .font-size25 {
  color: #718096 !important;
  font-size: 12px !important;
}

#app .w100.flex.flex-sb.flex-ac {
  display: flex !important;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 0 18px;
  border-bottom: 1px solid var(--pc-line);
}

#app .w100.flex.flex-sb.flex-ac > uni-view,
#app .w100.flex.flex-sb.flex-ac > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

#app .el-select {
  min-width: 190px;
}

#app .el-select__wrapper {
  min-height: 42px;
  border-radius: 10px;
  background: var(--pc-surface);
  box-shadow: 0 0 0 1px #cfd9e8 inset;
  transition: box-shadow .18s ease, background .18s ease, transform .18s ease;
}

#app .el-select__wrapper:hover {
  box-shadow: 0 0 0 1px #91a9ca inset;
}

#app .el-select__wrapper.is-focused {
  box-shadow: 0 0 0 2px var(--pc-blue) inset, 0 0 0 4px rgba(22, 93, 206, .12);
}

#app .el-button {
  min-height: 42px;
  margin: 0 !important;
  padding: 0 17px;
  border-radius: 10px;
  font-weight: 650;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

#app .el-button:active {
  transform: translateY(1px);
}

#app .el-button--primary,
#app uni-button[type="primary"] {
  border-color: var(--pc-blue) !important;
  background: var(--pc-blue) !important;
  box-shadow: 0 5px 12px rgba(22, 93, 206, .17);
}

#app .el-button--danger {
  border-color: #efc9ce !important;
  color: var(--pc-danger) !important;
  background: #fff7f8 !important;
  box-shadow: none !important;
}

#app .el-button--danger:hover {
  border-color: var(--pc-danger) !important;
  color: #a72f3c !important;
  background: #fff0f2 !important;
}

#app .w100.flex.flex-fw.flex-sb {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 4px 0;
}

#app .w100.flex.flex-fw.flex-sb > .w45 {
  width: auto !important;
  min-height: 94px;
  margin: 0 !important;
  padding: 16px !important;
  border: 1px solid var(--pc-line);
  border-radius: var(--pc-radius) !important;
  background: var(--pc-surface-soft) !important;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

#app .w100.flex.flex-fw.flex-sb > .w45:hover {
  border-color: #9eb5d4;
  background: var(--pc-blue-soft) !important;
  transform: translateY(-1px);
}

#app .w100.flex.flex-fw.flex-sb .image-size-120 {
  width: 52px !important;
  height: 52px !important;
}

#app .w100.flex.flex-fw.flex-sb .image-size-60 {
  width: 28px !important;
  height: 28px !important;
  opacity: .72;
}

#app .w100.flex.flex-fw.flex-sb .font-size30 {
  overflow: hidden;
  color: var(--pc-ink);
  font-size: 14px !important;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#app .w100.flex.flex-fw.flex-sb .font-size25 {
  color: var(--pc-muted) !important;
  font-size: 12px !important;
  line-height: 1.55;
}

#app .el-empty {
  padding: 38px 0 46px;
}

#app .el-empty__description p {
  color: var(--pc-muted);
}

#app .el-dialog {
  border-radius: 16px;
}

.pc-printer-toast {
  position: fixed;
  z-index: 3000;
  top: 86px;
  left: 50%;
  max-width: calc(100vw - 32px);
  padding: 11px 16px;
  border: 1px solid #efc9ce;
  border-radius: 10px;
  color: #9d2735;
  background: #fff7f8;
  box-shadow: 0 10px 28px rgba(85, 35, 43, .14);
  font-size: 14px;
  font-weight: 650;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: opacity .18s ease, transform .18s ease;
}

.pc-printer-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

#app .pc-select-attention .el-select__wrapper {
  background: var(--pc-blue-soft);
  box-shadow: 0 0 0 2px var(--pc-blue) inset, 0 0 0 5px rgba(22, 93, 206, .14);
  animation: pc-select-nudge .42s ease both;
}

@keyframes pc-select-nudge {
  0%, 100% { transform: translateX(0); }
  35% { transform: translateX(4px); }
  70% { transform: translateX(-2px); }
}

.pc-footer {
  padding-bottom: 24px;
  color: #7b899c;
}

@media (max-width: 900px) {
  .pc-intro {
    display: block;
  }

  .pc-steps {
    width: max-content;
    max-width: 100%;
    margin-top: 18px;
  }
}

@media (max-width: 760px) {
  .pc-intro {
    margin-top: 24px;
  }

  .pc-intro h1 {
    font-size: 30px;
  }

  .pc-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    gap: 4px;
  }

  .pc-steps li {
    justify-content: center;
    padding-inline: 4px;
  }

  #app .pa-20 {
    padding: 14px !important;
  }

  #app .upl-file {
    min-height: 168px;
  }

  #app .w100.flex.flex-sb.flex-ac,
  #app .w100.flex.flex-sb.flex-ac > uni-view,
  #app .w100.flex.flex-sb.flex-ac > div {
    width: 100%;
  }

  #app .el-select,
  #app .el-button {
    flex: 1 1 145px;
  }

  #app .w100.flex.flex-fw.flex-sb {
    grid-template-columns: 1fr;
  }

  .pc-printer-toast {
    top: 72px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --pc-blue: #6da2f2;
    --pc-blue-dark: #8bb6f5;
    --pc-blue-soft: #172a45;
    --pc-ink: #edf3fb;
    --pc-muted: #a8b5c7;
    --pc-line: #34435a;
    --pc-bg: #111924;
    --pc-surface: #182231;
    --pc-surface-soft: #202c3d;
  }

  body,
  html {
    background: var(--pc-bg);
  }

  .pc-header {
    border-bottom-color: var(--pc-line);
    background: rgba(24, 34, 49, .94);
  }

  .pc-brand-copy strong,
  .pc-intro h1 {
    color: var(--pc-ink);
  }

  .pc-header-tip,
  .pc-steps,
  #app,
  #app .el-select__wrapper {
    color: var(--pc-ink);
    background: var(--pc-surface);
  }

  #app .el-select__placeholder,
  #app .el-select__selected-item,
  #app .el-button {
    color: var(--pc-ink);
  }

  #app .el-button--primary {
    color: #10203a !important;
  }

  #app .el-button--danger,
  .pc-printer-toast {
    border-color: #794550 !important;
    color: #ffadb7 !important;
    background: #3a2229 !important;
  }

  .el-popper,
  .el-select-dropdown,
  .el-dialog {
    color: var(--pc-ink) !important;
    background: var(--pc-surface) !important;
  }
}

/* N-up preview refinement: narrower paper viewport, roomier compact controls. */
.pc-v2-dialog.pc-v2-workbench {
  width: min(1080px, calc(100vw - 32px));
}

.pc-v2-workbench .pc-v2-body {
  grid-template-columns: minmax(0, 1fr) 430px;
}

.pc-v2-preview-feedback {
  overflow: hidden;
  max-width: 190px;
  color: #657b97;
  font-size: 10px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pc-v2-preview-feedback:empty {
  display: none;
}

.pc-v2-preview-feedback.is-loading {
  color: #1559c2;
}

.pc-v2-preview-feedback.is-error {
  color: #b43242;
}

@media (max-width: 1050px) {
  .pc-v2-workbench .pc-v2-body {
    grid-template-columns: minmax(0, 1fr) 390px;
  }
}

@media (max-width: 820px) {
  .pc-v2-workbench .pc-v2-body {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  #app .pc-select-attention .el-select__wrapper {
    animation: none !important;
  }
}

/* V2 file grid and print settings: data-compatible with miniapp update-file1/setup1. */
#app .w100.flex.flex-fw.flex-sb {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 8px 0 2px;
}

#app .w100.flex.flex-fw.flex-sb > .w45 {
  min-height: 112px;
  padding: 18px !important;
  background: #fff !important;
}

#app .w100.flex.flex-fw.flex-sb > .w45 > .w80 {
  min-width: 0;
  cursor: pointer;
}

#app .w100.flex.flex-fw.flex-sb > .w45:hover {
  border-color: #91acd1;
  background: #f8fbff !important;
  box-shadow: 0 8px 20px rgba(31, 62, 104, .07);
}

#app .w100.flex.flex-fw.flex-sb .image-size-120 {
  width: 44px !important;
  height: 44px !important;
}

#app .w100.flex.flex-fw.flex-sb .ml-20.w90 {
  min-width: 0;
  margin-left: 14px !important;
}

#app .w100.flex.flex-fw.flex-sb .w20 {
  flex: 0 0 38px;
}

#app .el-empty {
  display: none;
}

body.pc-v2-modal-open {
  overflow: hidden;
}

#pc-print-settings-v2 {
  position: relative;
  z-index: 4200;
  color: #132238;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, sans-serif;
}

.pc-v2-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 25, 42, .48);
  backdrop-filter: blur(5px);
}

.pc-v2-dialog {
  position: fixed;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: flex;
  width: min(920px, calc(100vw - 40px));
  max-height: calc(100dvh - 48px);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d9e2ef;
  border-radius: 18px;
  background: #f5f8fc;
  box-shadow: 0 28px 80px rgba(12, 32, 61, .24);
  transform: translate(-50%, -50%);
}

.pc-v2-header {
  display: flex;
  min-height: 82px;
  padding: 18px 22px;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #dfe7f1;
  background: #fff;
}

.pc-v2-file-mark {
  display: grid;
  width: 44px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: #e64b5d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
}

.pc-v2-title-wrap {
  min-width: 0;
}

.pc-v2-title-wrap h2 {
  overflow: hidden;
  margin: 0;
  color: #132238;
  font-size: 18px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pc-v2-title-wrap p {
  margin: 5px 0 0;
  color: #6c7c91;
  font-size: 12px;
}

.pc-v2-close {
  display: grid;
  width: 36px;
  height: 36px;
  margin-left: auto;
  place-items: center;
  border: 0;
  border-radius: 10px;
  color: #67778c;
  background: #f1f4f8;
  cursor: pointer;
  font-size: 23px;
  line-height: 1;
}

.pc-v2-close:hover {
  color: #25364d;
  background: #e7ecf3;
}

.pc-v2-body {
  display: grid;
  min-height: 0;
  padding: 18px;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 16px;
  overflow: auto;
}

.pc-v2-main {
  display: grid;
  min-width: 0;
  gap: 14px;
}

.pc-v2-section {
  overflow: hidden;
  border: 1px solid #dce5f0;
  border-radius: 14px;
  background: #fff;
}

.pc-v2-section-head {
  display: flex;
  min-height: 48px;
  padding: 0 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e8edf4;
}

.pc-v2-section-head h3 {
  margin: 0;
  font-size: 14px;
}

.pc-v2-section-head span {
  color: #8290a3;
  font-size: 11px;
}

.pc-v2-setting-row {
  display: grid;
  min-height: 66px;
  padding: 11px 16px;
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.pc-v2-setting-row + .pc-v2-setting-row {
  border-top: 1px solid #eef2f6;
}

.pc-v2-setting-row > div:first-child strong,
.pc-v2-setting-row > div:first-child small {
  display: block;
}

.pc-v2-setting-row > div:first-child strong {
  color: #26364d;
  font-size: 13px;
}

.pc-v2-setting-row > div:first-child small {
  margin-top: 4px;
  color: #8a97a8;
  font-size: 10px;
}

.pc-v2-choices {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.pc-v2-choice {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid #d7e0ec;
  border-radius: 9px;
  color: #47586f;
  background: #f8fafc;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
}

.pc-v2-choice:hover {
  border-color: #8facd5;
  color: #0f4eae;
}

.pc-v2-choice.is-active {
  border-color: #1762d4;
  color: #fff;
  background: #1762d4;
  box-shadow: 0 5px 12px rgba(23, 98, 212, .18);
}

.pc-v2-empty-option {
  color: #a04a55;
  font-size: 12px;
}

.pc-v2-range-row {
  align-items: start;
}

.pc-v2-range {
  min-width: 0;
}

.pc-v2-tabs {
  display: inline-flex;
  padding: 3px;
  border-radius: 9px;
  background: #edf2f8;
}

.pc-v2-tabs button {
  min-height: 31px;
  padding: 0 13px;
  border: 0;
  border-radius: 7px;
  color: #607187;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}

.pc-v2-tabs button.is-active {
  color: #1559c2;
  background: #fff;
  box-shadow: 0 2px 7px rgba(31, 55, 86, .10);
  font-weight: 700;
}

.pc-v2-range-inputs {
  display: flex;
  margin-top: 10px;
  align-items: center;
  gap: 8px;
  color: #6b7a8f;
  font-size: 12px;
}

.pc-v2-range-inputs label {
  white-space: nowrap;
}

.pc-v2-range input {
  height: 34px;
  border: 1px solid #ced9e7;
  border-radius: 8px;
  outline: 0;
  color: #22344b;
  background: #fff;
  font: inherit;
}

.pc-v2-range input:focus {
  border-color: #1762d4;
  box-shadow: 0 0 0 3px rgba(23, 98, 212, .12);
}

.pc-v2-range-inputs input {
  width: 64px;
  padding: 0 8px;
  text-align: center;
}

.pc-v2-page-expression {
  display: grid;
  margin-top: 10px;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  color: #65758a;
  font-size: 12px;
}

.pc-v2-page-expression input {
  width: 100%;
  padding: 0 10px;
}

.pc-v2-page-expression small {
  grid-column: 2;
  color: #8a97a8;
}

.pc-v2-summary {
  position: sticky;
  top: 0;
  align-self: start;
  padding: 20px;
  border: 1px solid #ccdaec;
  border-radius: 14px;
  background: #edf4ff;
}

.pc-v2-summary-kicker {
  color: #50647e;
  font-size: 12px;
  font-weight: 700;
}

.pc-v2-price {
  display: flex;
  margin: 8px 0 18px;
  align-items: baseline;
  color: #d43848;
}

.pc-v2-price span {
  font-size: 17px;
  font-weight: 750;
}

.pc-v2-price strong {
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.04em;
}

.pc-v2-summary dl {
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid #cfdbeb;
  border-bottom: 1px solid #cfdbeb;
}

.pc-v2-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}

.pc-v2-summary dl div + div {
  margin-top: 9px;
}

.pc-v2-summary dt {
  color: #697b91;
}

.pc-v2-summary dd {
  margin: 0;
  color: #283a51;
  font-weight: 700;
}

.pc-v2-copies {
  display: flex;
  margin-top: 16px;
  align-items: center;
  justify-content: space-between;
  color: #3a4d65;
  font-size: 13px;
  font-weight: 700;
}

.pc-v2-copies > div {
  display: grid;
  grid-template-columns: 32px 38px 32px;
  align-items: center;
  text-align: center;
}

.pc-v2-copies button {
  width: 32px;
  height: 32px;
  border: 1px solid #bfd0e5;
  color: #1762d4;
  background: #fff;
  cursor: pointer;
  font-size: 17px;
}

.pc-v2-copies button:first-child {
  border-radius: 8px 0 0 8px;
}

.pc-v2-copies button:last-child {
  border-radius: 0 8px 8px 0;
}

.pc-v2-copies strong {
  height: 32px;
  border-top: 1px solid #bfd0e5;
  border-bottom: 1px solid #bfd0e5;
  background: #fff;
  line-height: 30px;
}

.pc-v2-spec-note {
  margin: 14px 0 0;
  color: #60748d;
  font-size: 11px;
  line-height: 1.6;
}

.pc-v2-footer {
  display: flex;
  min-height: 72px;
  padding: 14px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #dce4ef;
  background: #fff;
}

#pc-v2-message {
  color: #bd3443;
  font-size: 12px;
}

.pc-v2-footer > div {
  display: flex;
  margin-left: auto;
  gap: 10px;
}

.pc-v2-footer button,
.pc-v2-failure button {
  min-height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.pc-v2-cancel {
  border: 1px solid #d5deea;
  color: #52647b;
  background: #fff;
}

.pc-v2-submit,
.pc-v2-failure button {
  border: 1px solid #1762d4;
  color: #fff;
  background: #1762d4;
}

.pc-v2-submit:disabled {
  border-color: #aab8ca;
  background: #aab8ca;
  cursor: not-allowed;
}

.pc-v2-loading,
.pc-v2-failure {
  width: min(420px, calc(100vw - 36px));
  padding: 42px 32px;
  align-items: center;
  text-align: center;
}

.pc-v2-loading strong,
.pc-v2-failure strong {
  margin-top: 16px;
  color: #203249;
  font-size: 17px;
}

.pc-v2-loading p,
.pc-v2-failure p {
  margin: 8px 0 0;
  color: #718197;
  font-size: 12px;
  line-height: 1.7;
}

.pc-v2-failure button {
  margin-top: 20px;
}

.pc-v2-spinner {
  width: 34px;
  height: 34px;
  border: 3px solid #cad8eb;
  border-top-color: #1762d4;
  border-radius: 50%;
  animation: pc-v2-spin .8s linear infinite;
}

@keyframes pc-v2-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 980px) {
  #app .w100.flex.flex-fw.flex-sb {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pc-v2-body {
    grid-template-columns: minmax(0, 1fr) 210px;
  }
}

@media (max-width: 720px) {
  #app .w100.flex.flex-fw.flex-sb {
    grid-template-columns: 1fr;
  }

  .pc-v2-dialog {
    top: auto;
    bottom: 0;
    width: 100%;
    max-height: calc(100dvh - 16px);
    border-radius: 18px 18px 0 0;
    transform: translateX(-50%);
  }

  .pc-v2-body {
    display: block;
    padding: 12px;
  }

  .pc-v2-summary {
    position: static;
    margin-top: 12px;
  }

  .pc-v2-setting-row {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
  }

  .pc-v2-choices {
    justify-content: flex-start;
  }

  .pc-v2-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .pc-v2-footer > div,
  .pc-v2-footer button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pc-v2-spinner { animation: none; }
}

/* 2026-07 structural redesign: a clear workflow, compact controls, visible hierarchy. */
:root {
  --pc-blue: #1762d4;
  --pc-blue-dark: #0d4cae;
  --pc-blue-soft: #e8f0ff;
  --pc-ink: #132238;
  --pc-muted: #5d6c80;
  --pc-line: #d8e1ed;
  --pc-bg: #edf2f8;
  --pc-surface: #ffffff;
  --pc-surface-soft: #f5f8fc;
  --pc-radius: 14px;
}

html,
body {
  background: var(--pc-bg);
}

body {
  background-image: none;
}

.pc-header {
  position: relative;
  z-index: 2;
  height: 72px;
  border-bottom: 1px solid var(--pc-line);
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
}

.pc-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--pc-blue);
  box-shadow: 0 7px 16px rgba(23, 98, 212, .22);
}

.pc-brand-copy strong {
  color: var(--pc-ink);
  font-size: 19px;
  letter-spacing: .04em;
}

.pc-header-tip {
  padding: 0;
  border: 0;
  color: #65758a;
  background: transparent;
  font-weight: 600;
}

.pc-intro {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 226px;
  margin: 0;
  padding: 38px max(24px, calc((100vw - 1180px) / 2));
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 64px;
  overflow: hidden;
  border-bottom: 1px solid #cedbed;
  background: #e7effc;
}

.pc-intro::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(0px, calc((100vw - 1260px) / 2));
  width: 6px;
  background: var(--pc-blue);
  content: "";
}

.pc-eyebrow {
  margin-bottom: 9px;
  color: var(--pc-blue-dark);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .02em;
}

.pc-intro h1 {
  max-width: 760px;
  color: var(--pc-ink);
  font-size: clamp(34px, 3.1vw, 48px);
  line-height: 1.12;
  letter-spacing: -.045em;
}

.pc-intro p {
  max-width: 670px;
  margin-top: 13px;
  color: #586b84;
  font-size: 15px;
  line-height: 1.65;
}

.pc-steps {
  display: grid;
  width: 100%;
  margin: 0;
  padding: 10px;
  gap: 0;
  border: 1px solid #ccd9eb;
  border-radius: 14px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 12px 30px rgba(42, 72, 110, .08);
}

.pc-steps li {
  position: relative;
  min-height: 48px;
  padding: 10px 12px 10px 50px;
  border-radius: 10px;
  color: #3f5067;
  font-size: 14px;
  font-weight: 650;
}

.pc-steps li + li {
  border-top: 1px solid #e1e8f2;
}

.pc-steps span {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: var(--pc-blue);
  font-size: 12px;
}

.pc-workspace {
  width: min(1180px, calc(100% - 48px));
  margin: 28px auto 0;
}

.pc-workspace-head {
  display: flex;
  min-height: 60px;
  padding: 0 4px 14px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.pc-workspace-head h2 {
  margin: 0;
  color: var(--pc-ink);
  font-size: 20px;
  line-height: 1.25;
}

.pc-workspace-head p {
  margin: 6px 0 0;
  color: var(--pc-muted);
  font-size: 13px;
}

.pc-workspace-head > span {
  padding: 7px 10px;
  border: 1px solid #cbd9ec;
  border-radius: 8px;
  color: #4b607a;
  background: #f7faff;
  font-size: 12px;
  white-space: nowrap;
}

#app {
  width: 100%;
  min-height: 360px;
  margin: 0;
  overflow: visible;
  border: 1px solid #d1dce9;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(36, 59, 88, .10);
}

#app .pa-20 {
  padding: 18px !important;
}

#app .upl-file {
  min-height: 164px;
  margin-bottom: 14px !important;
  border: 2px dashed #9db7dc !important;
  border-radius: 12px !important;
  background: #f4f8fe !important;
}

#app .upl-file:hover {
  border-color: var(--pc-blue) !important;
  background: var(--pc-blue-soft) !important;
  box-shadow: inset 0 0 0 1px rgba(23, 98, 212, .10);
}

#app .upl-file .image-size-80 {
  width: 48px !important;
  height: 48px !important;
}

#app .upl-file .mt-40 {
  margin-top: 8px !important;
}

#app .w100.flex.flex-sb.flex-ac {
  display: grid !important;
  padding: 12px !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid #dce5f0;
  border-radius: 12px;
  background: #f7f9fc;
}

#app .w100.flex.flex-sb.flex-ac > uni-view:first-child,
#app .w100.flex.flex-sb.flex-ac > div:first-child {
  display: flex !important;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

#app .w100.flex.flex-sb.flex-ac > uni-view:first-child .el-select,
#app .w100.flex.flex-sb.flex-ac > div:first-child .el-select {
  flex: 0 1 240px;
}

#app .w100.flex.flex-sb.flex-ac > uni-view:first-child .el-button,
#app .w100.flex.flex-sb.flex-ac > div:first-child .el-button {
  flex: 0 0 auto;
}

#app .w100.flex.flex-sb.flex-ac > uni-view:last-child,
#app .w100.flex.flex-sb.flex-ac > div:last-child {
  justify-content: flex-end;
}

#app .el-select {
  min-width: 0;
}

#app .el-select__wrapper,
#app .el-button {
  min-height: 40px;
  border-radius: 9px;
}

#app .el-button {
  padding-inline: 16px;
}

#app .w100.flex.flex-fw.flex-sb {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 12px 0 2px;
}

#app .w100.flex.flex-fw.flex-sb > .w45 {
  display: flex !important;
  width: 100% !important;
  min-height: 68px;
  margin: 0 !important;
  padding: 13px 16px !important;
  align-items: center;
  border: 1px solid #dce5ef;
  border-radius: 11px !important;
  background: #fff !important;
  box-shadow: 0 3px 10px rgba(35, 55, 80, .04);
}

#app .w100.flex.flex-fw.flex-sb > .w45:hover {
  border-color: #9eb6d7;
  background: #f8fbff !important;
  transform: none;
}

#app .file_css {
  margin-top: 14px !important;
  padding: 18px !important;
  border: 1px solid #d9e3ef;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 5px 16px rgba(34, 56, 84, .05);
}

#app .ok_css {
  border-top-color: #d8e1ed;
  background: #fff !important;
  backdrop-filter: none;
}

#app .el-empty {
  padding: 32px 0 38px;
}

.pc-footer {
  padding: 22px 24px 28px;
  color: #728096;
}

@media (max-width: 980px) {
  .pc-intro {
    grid-template-columns: 1fr 300px;
    gap: 32px;
  }

  #app .w100.flex.flex-sb.flex-ac {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .pc-header {
    height: 64px;
  }

  .pc-intro {
    display: grid;
    min-height: 0;
    padding: 28px 18px;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .pc-intro::before {
    left: 0;
    width: 4px;
  }

  .pc-intro h1 {
    font-size: 31px;
  }

  .pc-steps {
    grid-template-columns: repeat(3, 1fr);
    padding: 6px;
  }

  .pc-steps li {
    min-height: 66px;
    padding: 38px 4px 8px;
    text-align: center;
    font-size: 11px;
  }

  .pc-steps li + li {
    border-top: 0;
    border-left: 1px solid #e1e8f2;
  }

  .pc-steps span {
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
  }

  .pc-workspace {
    width: calc(100% - 20px);
    margin-top: 20px;
  }

  .pc-workspace-head {
    display: block;
    padding-inline: 2px;
  }

  .pc-workspace-head > span {
    display: none;
  }

  #app {
    border-radius: 13px;
  }

  #app .pa-20 {
    padding: 12px !important;
  }

  #app .upl-file {
    min-height: 148px;
  }

  #app .w100.flex.flex-sb.flex-ac,
  #app .w100.flex.flex-sb.flex-ac > uni-view:first-child,
  #app .w100.flex.flex-sb.flex-ac > div:first-child {
    width: 100%;
  }

  #app .w100.flex.flex-sb.flex-ac {
    display: grid !important;
    grid-template-columns: 1fr;
  }

  #app .w100.flex.flex-sb.flex-ac > uni-view:first-child,
  #app .w100.flex.flex-sb.flex-ac > div:first-child {
    display: grid !important;
    grid-template-columns: 1fr;
  }

  #app .w100.flex.flex-sb.flex-ac > uni-view:last-child,
  #app .w100.flex.flex-sb.flex-ac > div:last-child {
    display: grid !important;
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  #app .el-select,
  #app .el-button {
    width: 100%;
  }
}

@media (prefers-color-scheme: dark) {
  .pc-intro {
    border-bottom-color: var(--pc-line);
    background: #17263b;
  }

  .pc-workspace-head > span,
  #app .w100.flex.flex-sb.flex-ac,
  #app .upl-file,
  #app .file_css,
  #app .w100.flex.flex-fw.flex-sb > .w45 {
    border-color: var(--pc-line) !important;
    background: var(--pc-surface-soft) !important;
  }
}

/* Final file-grid override: keep after the structural theme rules. */
#app .w100.flex.flex-fw.flex-sb {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 12px;
}

#app .w100.flex.flex-fw.flex-sb > .w45 {
  width: auto !important;
  min-height: 112px;
  padding: 17px !important;
}

#app .el-empty {
  display: none;
}

@media (max-width: 980px) {
  #app .w100.flex.flex-fw.flex-sb {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  #app .w100.flex.flex-fw.flex-sb {
    grid-template-columns: 1fr;
  }
}

/* Preview workbench: document on the left, compact print controls on the right. */
.pc-v2-dialog.pc-v2-workbench {
  width: min(1180px, calc(100vw - 32px));
  height: min(820px, calc(100dvh - 32px));
  max-height: none;
}

.pc-v2-workbench .pc-v2-header {
  min-height: 70px;
  padding: 13px 18px;
}

.pc-v2-workbench .pc-v2-file-mark {
  width: 40px;
  height: 44px;
}

.pc-v2-workbench .pc-v2-body {
  display: grid;
  min-height: 0;
  padding: 12px;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 12px;
  overflow: hidden;
}

.pc-v2-preview {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d6e0ed;
  border-radius: 14px;
  background: #e9eef5;
}

.pc-v2-preview-head {
  display: flex;
  min-height: 46px;
  padding: 0 13px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #d7e0eb;
  background: #f9fbfd;
}

.pc-v2-preview-head > div {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 10px;
}

.pc-v2-preview-head strong {
  color: #203249;
  font-size: 13px;
}

.pc-v2-preview-head span {
  color: #78879a;
  font-size: 11px;
}

.pc-v2-preview-head button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #cbd8e8;
  border-radius: 8px;
  color: #3e5d83;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 650;
}

.pc-v2-preview-head button:hover {
  border-color: #1762d4;
  color: #1559c2;
}

.pc-v2-preview-stage {
  position: relative;
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
  background: #dfe5ed;
}

.pc-v2-preview-frame {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.pc-v2-preview-image {
  object-fit: contain;
  background: #e5eaf1;
}

.pc-v2-preview-loading {
  position: absolute;
  inset: 0;
  display: grid;
  padding: 72px 18%;
  align-content: center;
  gap: 9px;
  background: #edf1f6;
}

.pc-v2-preview-loading span {
  display: block;
  height: 10px;
  border-radius: 5px;
  background: #d5dde8;
}

.pc-v2-preview-loading span:nth-child(2) {
  width: 84%;
}

.pc-v2-preview-loading span:nth-child(3) {
  width: 68%;
}

.pc-v2-preview-loading p {
  margin: 10px 0 0;
  color: #78879a;
  text-align: center;
  font-size: 11px;
}

.pc-v2-preview.is-loaded .pc-v2-preview-loading {
  display: none;
}

.pc-v2-preview-empty {
  display: grid;
  height: 100%;
  padding: 24px;
  place-content: center;
  text-align: center;
}

.pc-v2-preview-empty strong {
  color: #31445d;
  font-size: 14px;
}

.pc-v2-preview-empty p {
  max-width: 280px;
  margin: 7px 0 0;
  color: #7b899b;
  font-size: 11px;
  line-height: 1.7;
}

.pc-v2-controls {
  display: grid;
  min-width: 0;
  min-height: 0;
  align-content: start;
  gap: 10px;
  overflow: auto;
  scrollbar-width: thin;
}

.pc-v2-controls .pc-v2-summary {
  position: static;
  margin: 0;
  padding: 13px 14px;
  border-radius: 13px;
}

.pc-v2-summary-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pc-v2-summary-top > div:first-child > span {
  color: #526780;
  font-size: 11px;
  font-weight: 700;
}

.pc-v2-controls .pc-v2-price {
  margin: 3px 0 0;
}

.pc-v2-controls .pc-v2-price span {
  font-size: 14px;
}

.pc-v2-controls .pc-v2-price strong {
  font-size: 27px;
}

.pc-v2-controls .pc-v2-copies {
  margin: 0;
  gap: 8px;
}

.pc-v2-controls .pc-v2-copies > div {
  grid-template-columns: 29px 34px 29px;
}

.pc-v2-controls .pc-v2-copies button {
  width: 29px;
  height: 30px;
}

.pc-v2-controls .pc-v2-copies strong {
  height: 30px;
  line-height: 28px;
}

.pc-v2-controls .pc-v2-summary dl {
  display: grid;
  margin-top: 11px;
  padding: 10px 0 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border-bottom: 0;
}

.pc-v2-controls .pc-v2-summary dl div {
  display: block;
}

.pc-v2-controls .pc-v2-summary dl div + div {
  margin: 0;
  padding-left: 8px;
  border-left: 1px solid #cfdbeb;
}

.pc-v2-controls .pc-v2-summary dd {
  margin-top: 4px;
  font-size: 12px;
}

.pc-v2-controls .pc-v2-spec-note {
  margin-top: 8px;
}

.pc-v2-compact-section {
  border-radius: 13px;
}

.pc-v2-compact-section .pc-v2-section-head {
  min-height: 39px;
  padding: 0 12px;
}

.pc-v2-compact-section .pc-v2-section-head h3 {
  font-size: 13px;
}

.pc-v2-compact-section .pc-v2-section-head span {
  font-size: 10px;
}

.pc-v2-compact-section .pc-v2-setting-row {
  min-height: 48px;
  padding: 7px 11px;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 8px;
}

.pc-v2-compact-section .pc-v2-setting-row > div:first-child strong {
  font-size: 12px;
}

.pc-v2-compact-section .pc-v2-choices {
  gap: 5px;
}

.pc-v2-compact-section .pc-v2-choice {
  min-height: 30px;
  padding: 0 9px;
  border-radius: 8px;
  font-size: 11px;
}

.pc-v2-compact-section .pc-v2-tabs button {
  min-height: 29px;
  padding: 0 9px;
  font-size: 11px;
}

.pc-v2-compact-section .pc-v2-range-inputs {
  margin-top: 7px;
  gap: 5px;
  font-size: 11px;
}

.pc-v2-compact-section .pc-v2-range-inputs input {
  width: 48px;
  height: 30px;
}

.pc-v2-compact-section .pc-v2-page-expression {
  margin-top: 7px;
  grid-template-columns: 35px minmax(0, 1fr);
  font-size: 11px;
}

.pc-v2-compact-section .pc-v2-page-expression input {
  height: 30px;
}

.pc-v2-workbench .pc-v2-footer {
  min-height: 62px;
  padding: 10px 16px;
}

@media (max-width: 1050px) {
  .pc-v2-workbench .pc-v2-body {
    grid-template-columns: minmax(0, 1fr) 350px;
  }
}

@media (max-width: 820px) {
  .pc-v2-dialog.pc-v2-workbench {
    top: 50%;
    bottom: auto;
    width: calc(100vw - 20px);
    height: calc(100dvh - 20px);
    border-radius: 16px;
    transform: translate(-50%, -50%);
  }

  .pc-v2-workbench .pc-v2-body {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(300px, 48dvh) auto;
    overflow: auto;
  }

  .pc-v2-controls {
    overflow: visible;
  }
}

@media (max-width: 560px) {
  .pc-v2-preview-head span {
    display: none;
  }

  .pc-v2-controls .pc-v2-summary dl {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .pc-v2-compact-section .pc-v2-setting-row {
    grid-template-columns: 58px minmax(0, 1fr);
  }
}

@media (prefers-color-scheme: dark) {
  .pc-v2-preview,
  .pc-v2-preview-stage {
    border-color: var(--pc-line);
    background: #111a27;
  }

  .pc-v2-preview-head,
  .pc-v2-preview-head button,
  .pc-v2-preview-loading {
    border-color: var(--pc-line);
    color: var(--pc-ink);
    background: var(--pc-surface-soft);
  }

  .pc-v2-preview-head strong,
  .pc-v2-preview-empty strong {
    color: var(--pc-ink);
  }
}

/* Final N-up workbench sizing override. */
.pc-v2-dialog.pc-v2-workbench {
  width: min(1080px, calc(100vw - 32px));
}

.pc-v2-workbench .pc-v2-body {
  grid-template-columns: minmax(0, 1fr) 430px;
}

@media (max-width: 1050px) {
  .pc-v2-workbench .pc-v2-body {
    grid-template-columns: minmax(0, 1fr) 390px;
  }
}

@media (max-width: 820px) {
  .pc-v2-workbench .pc-v2-body {
    grid-template-columns: 1fr;
  }
}
.pc-huifu-status {
  display: grid;
  gap: 6px;
  margin: 18px auto 2px;
  color: #475569;
  text-align: center;
}

.pc-huifu-status strong {
  color: #0f172a;
  font-size: 16px;
}

.pc-huifu-status span {
  font-size: 13px;
}

.pc-huifu-status.is-paid strong {
  color: #16a34a;
}

.pc-huifu-status.is-error strong {
  color: #dc2626;
}

.pc-huifu-status.is-loading strong {
  color: #1677ff;
}

.pc-alipay-qr-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 22px 0 8px;
}

.pc-alipay-qr {
  display: block;
  width: 252px;
  height: 252px;
  object-fit: contain;
  image-rendering: pixelated;
  border: 10px solid #fff;
  box-sizing: border-box;
}

.pc-pay-channel-picker {
  width: min(420px, 100%);
  margin: 0 auto 18px;
}

.pc-pay-channel-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.pc-pay-channel-title strong {
  color: #0f172a;
  font-size: 16px;
}

.pc-pay-channel-title span {
  color: #94a3b8;
  font-size: 12px;
}

.pc-pay-channel-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pc-pay-channel-options button {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #dbe4f0;
  border-radius: 13px;
  background: #fff;
  color: #334155;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.pc-pay-channel-options button:hover:not(:disabled) {
  border-color: #94b8ef;
  box-shadow: 0 8px 20px rgba(30, 91, 170, .12);
  transform: translateY(-1px);
}

.pc-pay-channel-options button.is-active {
  border-color: #1677ff;
  background: #f5f9ff;
  box-shadow: 0 0 0 3px rgba(22, 119, 255, .1);
}

.pc-pay-channel-options button:disabled:not(.is-active) {
  opacity: .45;
  cursor: not-allowed;
}

.pc-pay-channel-options i {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  font-style: normal;
  font-weight: 800;
}

.pc-pay-wechat { background: #07c160; }
.pc-pay-alipay { background: #1677ff; }

.pc-pay-channel-options span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.pc-pay-channel-options strong {
  color: #0f172a;
  font-size: 14px;
}

.pc-pay-channel-options small {
  overflow: hidden;
  color: #64748b;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .pc-pay-channel-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .pc-pay-channel-options {
    grid-template-columns: 1fr;
  }
}
