/* 电商上新包 v2 布局：左侧三步编辑，右侧固定预览 + 成品缩略图 + 导出 */
.lp2 .launch-heading { display: none; }
.lp2-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 18px; }
.lp2-head h1 { margin: 0; font-size: clamp(36px, 4.4vw, 58px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; }
.lp2-head p { margin: 8px 0 0; font-size: 16px; color: var(--muted); }
.lp2-drafts { display: flex; align-items: flex-end; gap: 10px; margin: 0 !important; }
.lp2-drafts .launch-project-picker { display: grid; gap: 4px; min-width: 200px; font-size: 13px; font-weight: 700; color: var(--ink); }
.lp2-drafts .launch-project-picker select { min-height: 44px !important; font-size: 14px !important; }
.lp2 .launch-storage-status { min-height: 0; margin: -8px 0 10px; }
.lp2 .launch-storage-status:empty { display: none; }

.lp2 .lp2-layout { display: grid !important; grid-template-columns: minmax(340px, 430px) minmax(0, 1fr) !important; gap: 22px !important; align-items: start; }
.lp2 .lp2-steps { display: grid !important; gap: 16px; min-width: 0; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; }
.lp2 .lp2-step { min-width: 0; padding: 20px 20px 22px !important; border: 2px solid var(--ink) !important; border-radius: 24px !important; background: var(--card) !important; }
.lp2 .lp2-step h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 19px; font-weight: 900; line-height: 1.3; }
.lp2-num { display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 15px; font-weight: 900; }
.lp2-step-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lp2 .lp2-step-head h2 { margin: 0; }
.lp2-lead { margin: 8px 0 14px !important; font-size: 13px; }
.lp2-row { display: flex !important; flex-wrap: wrap; gap: 10px !important; margin-top: 12px !important; }
.lp2-row .launch-button { flex: 1 1 auto; }
.lp2 .launch-upload-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 13px; }
.lp2 .launch-materials { margin-top: 16px; padding-top: 14px; border-top: 2px solid var(--line, #e4ddd0); }

.lp2 .launch-fields { display: grid !important; gap: 14px !important; }
.lp2 .launch-fields label { display: grid; gap: 6px; font-size: 14px; font-weight: 800; color: var(--ink); }
.lp2 .launch-fields label small { font-weight: 500; color: var(--muted); font-size: 12px; }
.lp2 .lp-check, .lp2 .lp-listing { margin-top: 14px; }

.lp2 .launch-options { min-width: 0; margin: 0 0 18px !important; padding: 0 !important; border: 0 !important; }
.lp2 .launch-options legend { margin-bottom: 9px; padding: 0; font-size: 14px; font-weight: 800; }
.lp2 .launch-options .launch-hint { margin: 8px 0 0; font-size: 12.5px; }
.lp2 .lp-badge-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.lp2 .lp-badge-row label { display: grid; gap: 5px; font-size: 13px; font-weight: 700; }
.lp2 .launch-brand-settings { margin-top: 0; padding-top: 14px; border-top: 2px solid var(--line, #e4ddd0); }
.lp2 .launch-brand-settings summary { font-size: 14px; font-weight: 800; }

/* 预览区 */
.lp2 .lp2-preview { position: sticky; top: 84px; min-width: 0; padding: 20px !important; border: 2px solid var(--ink) !important; border-radius: 26px !important; background: var(--card) !important; }
.lp2-preview-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.lp2-preview-head h2 { margin: 0; font-size: 19px; font-weight: 900; }
.lp2-preview-head .launch-hint { font-size: 13px; }
.lp2-shots { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.lp2-shots button { display: grid; gap: 5px; min-width: 0; padding: 5px 5px 7px; border: 2px solid transparent; border-radius: 14px; background: var(--soft, #ede7db); color: var(--ink); font: inherit; font-size: 12px; font-weight: 700; line-height: 1.2; cursor: pointer; }
.lp2-shots button canvas { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 9px; background: #ffffff; }
.lp2-shots button:hover { border-color: var(--muted); }
.lp2-shots button[aria-pressed="true"] { border-color: var(--ink); background: #ffc531; }
.lp2-shots button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.lp2 .launch-stage { height: clamp(300px, 52vh, 600px) !important; }
.lp2-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 12px 0; }
.lp2-ratio { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; }
.lp2-ratio[hidden] { display: none; }
.lp2 .lp2-ratio .launch-ratios { display: flex !important; gap: 6px; margin: 0; }
.lp2 .lp2-ratio .launch-ratios button { min-height: 36px; padding: 0 12px; font-size: 13px; }
.lp2 .launch-white-main { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; font-weight: 700; }
.lp2 .launch-white-main[hidden] { display: none; }
.lp2 .launch-compose { margin: 0 0 12px; }
.lp2-actions { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 10px; }
.lp2-actions .launch-button { width: 100%; min-height: 50px !important; font-size: 15px; }
.lp2-note { margin: 10px 0 0; font-size: 12.5px; line-height: 1.6; }
.lp2-note .launch-text-action { margin-left: 6px; padding: 0; border: 0; background: none; font: inherit; font-size: 12.5px; cursor: pointer; }
.lp2-note .launch-text-action:disabled { opacity: .45; cursor: default; }

@media (max-width: 1180px) and (min-width: 761px) {
  .lp2 .lp2-layout { grid-template-columns: minmax(300px, 360px) minmax(0, 1fr) !important; gap: 16px !important; }
  .lp2-shots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lp2 .lp2-preview { top: 76px; }
}

@media (max-width: 760px) {
  .lp2-head { display: grid; gap: 14px; }
  .lp2-head h1 { font-size: 34px; }
  .lp2-head p { font-size: 14px; }
  .lp2-drafts { flex-wrap: wrap; }
  .lp2-drafts .launch-project-picker { flex: 1 1 100%; min-width: 0; }
  .lp2-drafts .launch-button { flex: 1 1 0; }
  .lp2 .lp2-layout { display: flex !important; flex-direction: column !important; gap: 14px !important; }
  .lp2 .lp2-steps { display: contents !important; }
  .lp2 .launch-upload-panel { order: 0; }
  .lp2 .lp2-preview { order: 1; position: static; padding: 16px !important; }
  .lp2 .launch-settings { order: 2; }
  .lp2 #lp2-style { order: 3; }
  .lp2 .lp2-step { padding: 16px !important; }
  .lp2-shots { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 76px; overflow-x: auto; padding-bottom: 4px; }
  .lp2 .launch-stage { height: min(92vw, 440px) !important; min-height: 260px; }
  .lp2-actions { grid-template-columns: 1fr 1fr; }
  .lp2-actions .launch-primary { grid-column: 1 / -1; }
  .lp2-step-head { flex-wrap: wrap; }
}
.lp2 .launch-material-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lp2 .launch-material-upload { display: inline-flex !important; align-items: center; justify-content: center; line-height: 1; cursor: pointer; }

/* ===== 电脑紧凑尺寸（自动生成，只对鼠标设备、宽屏生效）===== */
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
.lp2-head { gap: 13px 19px; }
.lp2-head h1 { font-size: clamp(29.52px,  3.52vw,  45.24px); }
.lp2-head p { font-size: 15px; }
.lp2-drafts .launch-project-picker select { min-height: 35px !important; }
.lp2 .lp2-layout { gap: 18px !important; }
.lp2 .lp2-steps { gap: 13px; }
.lp2 .lp2-step { padding: 17px 17px 19px !important; border-radius: 20px !important; }
.lp2 .lp2-step h2 { font-size: 18px; }
.lp2-num { font-size: 14px; }
.lp2 .lp2-preview { padding: 17px !important; border-radius: 22px !important; }
.lp2-preview-head h2 { font-size: 18px; }
.lp2-tools { gap: 10px 13px; }
.lp2-actions .launch-button { min-height: 40px !important; font-size: 14px; }

}
