/* Video Workshop — clone of aipaiai.cn AI 视频工坊 */
.vw-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #f3f0fb 0%, #eef1fa 40%, #f7f5fc 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #2b2340;
}
.vw-hero {
  text-align: center;
  padding: 48px 20px 18px;
}
.vw-hero h1 {
  margin: 0 0 10px;
  font-size: 38px;
  letter-spacing: 6px;
  font-weight: 700;
  color: #2a1f4e;
}
.vw-hero h1 .vw-star { color: #7c5cd6; font-size: 26px; margin: 0 10px; vertical-align: middle; }
.vw-hero .vw-sub {
  color: #7a6f96;
  font-size: 14px;
  letter-spacing: 2px;
}
.vw-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 26px 0 22px;
}
.vw-tab {
  border: 1px solid #ddd6f0;
  background: rgba(255,255,255,0.75);
  color: #6b5f8c;
  padding: 11px 26px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .18s;
}
.vw-tab:hover { background: #fff; color: #4b3b88; }
.vw-tab.active {
  background: #1c1233;
  color: #fff;
  border-color: #1c1233;
  box-shadow: 0 6px 18px rgba(28,18,51,0.25);
}

/* ===== main card ===== */
.vw-card {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 12px 44px rgba(90,70,160,0.12);
  padding: 26px 28px 22px;
}
.vw-prompt {
  width: 100%;
  min-height: 110px;
  border: 1px solid #e6e0f4;
  border-radius: 16px;
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.6;
  resize: vertical;
  outline: none;
  box-sizing: border-box;
  transition: border .15s;
}
.vw-prompt:focus { border-color: #a892e8; box-shadow: 0 0 0 3px rgba(168,146,232,0.15); }
.vw-prompt::placeholder { color: #b0a6c8; }

/* ===== ref mode tabs ===== */
.vw-refmodes {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 12px;
  flex-wrap: wrap;
}
.vw-refmode {
  border: 1px solid #e2dcf2;
  background: #fff;
  color: #6c5f91;
  padding: 8px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13.5px;
  transition: all .15s;
}
.vw-refmode.active {
  background: #241842;
  color: #fff;
  border-color: #241842;
}
.vw-refmode-hint {
  color: #9b8fc0;
  font-size: 12px;
  margin-left: 4px;
}

/* ===== upload areas ===== */
.vw-uploads {
  display: flex;
  gap: 18px;
  align-items: flex-end;
  margin: 8px 0 18px;
  min-height: 120px;
}
.vw-upload-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.vw-upload-label { font-size: 12px; color: #8a7cc0; font-weight: 600; }
.vw-upload {
  width: 84px;
  height: 84px;
  border: 1.5px dashed #c9bce8;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #a992e8;
  font-size: 28px;
  background: #faf8ff;
  overflow: hidden;
  transition: all .15s;
  position: relative;
}
.vw-upload:hover { border-color: #7c5cd6; background: #f3eeff; }
.vw-upload.has-img { border-style: solid; border-color: #c9bce8; }
.vw-upload img { width: 100%; height: 100%; object-fit: cover; }
.vw-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.vw-swap {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid #ddd4f5;
  background: #fff;
  cursor: pointer;
  color: #7c5cd6;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.vw-swap:hover { background: #f3eeff; }

/* multi ref grid */
.vw-multiref {
  display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 18px;
}
.vw-multiref .vw-upload { width: 96px; height: 96px; }
.vw-multiref .vw-upload .vw-remove {
  position: absolute; top: 4px; right: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(0,0,0,0.55); color: #fff;
  border: 0; cursor: pointer; font-size: 12px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}

/* ===== bottom controls ===== */
.vw-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 0 4px;
  border-top: 1px solid #f0ebfa;
}
.vw-ctl {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #e6e0f4;
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  color: #4c3d80;
  cursor: pointer;
  white-space: nowrap;
}
.vw-ctl:hover { border-color: #b9a4ec; }
.vw-ctl select, .vw-ctl .vw-select-val {
  border: 0; outline: 0; background: transparent;
  font-size: 13px; color: #4c3d80; cursor: pointer;
  font-weight: 600;
}
.vw-model-icon {
  width: 22px; height: 22px; border-radius: 6px;
  background: linear-gradient(135deg,#7c5cd6,#4b7cf6);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 11px; font-weight: 700;
}
.vw-params-pill {
  background: #f4f0fd;
  border: 1px solid #e6e0f4;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12.5px;
  color: #6a5c99;
  cursor: pointer;
}
.vw-params-pill:hover { background: #ece4ff; }
.vw-spacer { flex: 1; }
.vw-price {
  color: #d97012;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}
.vw-generate {
  background: #1c1233;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 12px 30px;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .15s;
}
.vw-generate:hover { background: #2c1f4f; transform: translateY(-1px); }
.vw-generate:disabled { background: #b0a6c8; cursor: not-allowed; transform: none; }
.vw-note {
  margin-top: 12px;
  font-size: 13px;
  color: #7a6f96;
  min-height: 20px;
}
.vw-note.error { color: #d94a4a; }
.vw-note.ok { color: #1a9f60; }

/* ===== gallery ===== */
.vw-gallery-wrap {
  max-width: 900px;
  margin: 32px auto 60px;
  padding: 0 8px;
}
.vw-gallery-tabs {
  display: flex;
  gap: 26px;
  border-bottom: 1px solid #e6e0f4;
  margin-bottom: 20px;
}
.vw-gallery-tab {
  padding: 10px 2px 12px;
  cursor: pointer;
  color: #8a7cc0;
  font-size: 14px;
  border-bottom: 2px solid transparent;
}
.vw-gallery-tab.active {
  color: #2a1f4e;
  border-bottom-color: #2a1f4e;
  font-weight: 600;
}
.vw-empty {
  text-align: center;
  padding: 50px 20px;
  color: #9b8fc0;
}
.vw-empty .vw-empty-icon { font-size: 42px; margin-bottom: 12px; }
.vw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.vw-item {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(90,70,160,0.1);
}
.vw-item video, .vw-item img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #eee;
  display: block;
}
.vw-item-body { padding: 12px 14px; }
.vw-item-prompt {
  font-size: 12.5px; color: #5c4d85;
  overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap;
}
.vw-item-meta {
  display: flex; justify-content: space-between;
  margin-top: 8px; font-size: 11px; color: #a094c2;
}
.vw-item-status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
}
.vw-item-status.generating { background: #fff3e0; color: #d97012; }
.vw-item-status.complete { background: #e3f8f1; color: #0e9f6e; }
.vw-item-status.failed { background: #fdecec; color: #d94a4a; }

/* ===== more settings popover ===== */
.vw-more {
  margin-top: 12px;
  padding: 14px 16px;
  background: #faf8ff;
  border-radius: 14px;
  border: 1px solid #eee7fa;
  display: flex; flex-wrap: wrap; gap: 12px;
}
.vw-more label {
  display: flex; flex-direction: column; gap: 5px;
  font-size: 12px; color: #8a7cc0; font-weight: 600;
}
.vw-more select, .vw-more input {
  border: 1px solid #e6e0f4; border-radius: 8px;
  padding: 7px 10px; font-size: 13px; outline: none;
  min-width: 110px;
}

/* admin model config panel */
.vw-admin-cfg {
  margin-top: 10px;
  padding: 12px 14px;
  background: #f7f3ff;
  border-radius: 12px;
  border: 1px dashed #cbb8f5;
  font-size: 12.5px;
  color: #6a5c99;
}
.vw-admin-cfg textarea {
  width: 100%; min-height: 60px; margin-top: 8px;
  border: 1px solid #ddd4f5; border-radius: 8px;
  padding: 8px 10px; font-size: 12px; font-family: monospace;
  box-sizing: border-box;
}

@media (max-width: 720px) {
  .vw-hero h1 { font-size: 26px; letter-spacing: 3px; }
  .vw-card { margin: 0 12px; padding: 18px 16px; }
  .vw-controls { gap: 8px; }
  .vw-ctl { padding: 7px 11px; font-size: 12px; }
}

/* model picker list */
.vw-body{max-width:900px;margin:0 auto;padding:10px 12px 40px;}
.vw-model-list{max-height:220px;overflow-y:auto;border:1px solid #e6e0f4;border-radius:10px;padding:8px;margin-top:8px;background:#fff;}
.vw-model-item{display:flex;align-items:center;gap:8px;padding:5px 8px;border-radius:6px;cursor:pointer;font-size:12.5px;color:#4c3d80;}
.vw-model-item:hover{background:#f4f0fd;}

/* ===== redesigned customer toolbar ===== */
.vw-body-wide { max-width: 1200px; width: 100%; }
.vw-card-lg {
  max-width: none;
  width: 100%;
  padding: 28px 36px 24px;
  border-radius: 24px;
}
.vw-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #2a1f4e;
  margin-bottom: 14px;
}
.vw-prompt { min-height: 140px; font-size: 16px; padding: 18px 20px; }

.vw-toolbar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  align-items: end;
  margin: 18px 0 16px;
  padding: 16px;
  background: #f8f6fd;
  border: 1px solid #ebe4fb;
  border-radius: 16px;
}
.vw-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  margin: 0;
}
.vw-field > span,
.vw-field-head span {
  font-size: 12px;
  font-weight: 650;
  color: #7a6f96;
}
.vw-field select {
  width: 100%;
  border: 1px solid #e2dcf2;
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 14px;
  background: #fff;
  color: #2b2340;
  outline: none;
  box-sizing: border-box;
}
.vw-field select:focus { border-color: #a892e8; box-shadow: 0 0 0 3px rgba(168,146,232,.15); }

.vw-duration { grid-column: span 2; }
.vw-field-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.vw-field-head strong {
  color: #5b4bb8;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.vw-range {
  width: 100%;
  accent-color: #6c5ce7;
  height: 28px;
  cursor: pointer;
}
.vw-range-scale {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #9b8fc0;
}

.vw-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.vw-price {
  font-size: 14px;
  font-weight: 650;
  color: #c27a00;
}
.vw-generate {
  min-width: 180px;
  min-height: 50px;
  padding: 0 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 999px;
  border: 0;
  background: #1c1233;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(28,18,51,.28);
}
.vw-generate:hover:not(:disabled) { background: #2e1f55; transform: translateY(-1px); }
.vw-generate:disabled { opacity: .45; cursor: not-allowed; }
.vw-more-btn { align-self: end; }

.vw-upload { width: 100px; height: 100px; font-size: 32px; }
.vw-upload-wrap { min-width: 100px; }

/* mode switch: never show image tab on video page; honor [hidden] */
.wk-mode-switch[hidden] { display: none !important; }
.wk-mode-switch .wk-mode { pointer-events: none; }
.wk-mode-switch .wk-mode.active { cursor: default; }

/* ===== 为什么用Hypit ===== */
.why-hypit { color: #2b2340; }

.why-score {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 24px;
}
@media (max-width: 720px) { .why-score { grid-template-columns: 1fr; } }
.why-side {
  background: #fff;
  border-radius: 20px;
  padding: 22px 16px;
  text-align: center;
  border: 2px solid #e6e0f4;
  box-shadow: 0 10px 30px rgba(90,70,160,.08);
}
.why-side-lose { border-color: #f0d0d0; background: linear-gradient(180deg,#fff8f8,#fff); }
.why-side-win {
  border-color: #7c5cd6;
  background: linear-gradient(160deg,#f3eeff 0%,#fff 55%);
  box-shadow: 0 14px 36px rgba(124,92,214,.22);
  transform: scale(1.03);
}
.why-emoji { font-size: 42px; line-height: 1; margin-bottom: 8px; }
.why-side-name { font-weight: 800; font-size: 15px; color: #3d2a68; }
.why-side-lose .why-side-name { color: #8a6a6a; }
.why-side-score {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.1;
  margin: 6px 0 2px;
  font-variant-numeric: tabular-nums;
}
.why-side-lose .why-side-score { color: #d94a4a; }
.why-side-win .why-side-score { color: #6c5ce7; }
.why-side-score span { font-size: 20px; font-weight: 700; opacity: .55; }
.why-side-sub { font-size: 12.5px; color: #8a7cc0; }
.why-vs {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 72px;
}
.why-vs-badge {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #1c1233;
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(28,18,51,.35);
}
.why-vs-tip { font-size: 11px; color: #8a7cc0; text-align: center; max-width: 90px; }

.why-bars {
  background: #fff;
  border: 1px solid #ebe4fb;
  border-radius: 18px;
  padding: 16px 18px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(90,70,160,.06);
}
.why-bar-row {
  display: grid;
  grid-template-columns: 72px 1fr 28px 1fr 28px;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}
@media (max-width: 640px) {
  .why-bar-row { grid-template-columns: 64px 1fr 24px 1fr 24px; }
}
.why-bar-label { font-size: 12.5px; font-weight: 700; color: #5a5175; }
.why-bar-track {
  height: 10px;
  background: #eee9f8;
  border-radius: 99px;
  overflow: hidden;
}
.why-bar { height: 100%; border-radius: 99px; }
.why-bar.lose { background: linear-gradient(90deg,#f5a6a6,#e07070); }
.why-bar.win { background: linear-gradient(90deg,#8b7cf7,#6c5ce7); }
.why-bar-num { font-size: 13px; font-variant-numeric: tabular-nums; }
.why-bar-num.lose-num { color: #d94a4a; }
.why-bar-num.win-num { color: #6c5ce7; }
.why-legend {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  font-size: 12px;
  color: #7a6f96;
  margin-top: 4px;
}
.why-legend .dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
}
.why-legend .dot.lose { background: #e07070; }
.why-legend .dot.win { background: #6c5ce7; }

.why-metaphor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 720px) { .why-metaphor { grid-template-columns: 1fr; } }
.why-meta-card {
  background: #fff;
  border: 1px solid #e6e0f4;
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 8px 24px rgba(90,70,160,.06);
}
.why-meta-card h4 { margin: 8px 0 6px; font-size: 15px; color: #3d2a68; }
.why-meta-card p { margin: 0; font-size: 13px; color: #6a618a; line-height: 1.65; }
.why-meta-icon { font-size: 32px; }
.why-meta-hot {
  border-color: #7c5cd6;
  background: linear-gradient(145deg,#f6f2ff,#fff);
  box-shadow: 0 12px 30px rgba(124,92,214,.18);
}
.why-meta-hot h4 { color: #5b4bb8; }

.why-cta .wk-submit {
  background: #1c1233;
  color: #fff;
  border-radius: 999px;
  padding: 12px 28px;
  font-weight: 650;
  border: 0;
}
/* keep old class names if still referenced */
.why-cards, .why-compare, .why-steps { display: none; }

/* ===== 视频高清超分 · 参考图高保真 ===== */
.up-page {
  --up-blue: #2563eb;
  --up-blue2: #1d4ed8;
  --up-ink: #0f172a;
  --up-muted: #64748b;
  --up-line: #e2e8f0;
  --up-card: #ffffff;
  color: var(--up-ink);
  max-width: min(1280px, 100%);
  width: 100%;
  margin: 0 auto;
  padding: 0 0 28px;
  margin-top: -6px;
}

/* —— 顶部宣传卡 —— */
.up-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.95fr) auto;
  gap: 20px;
  align-items: center;
  background: linear-gradient(120deg, #e8f1ff 0%, #f3f7ff 48%, #eaf3ff 100%);
  border: 1px solid #dbe7fb;
  border-radius: 20px;
  padding: 16px 20px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.06);
}
.up-hero-main { min-width: 0; }
.up-hero-title {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--up-ink);
  line-height: 1.25;
}
.up-hero-title span { color: var(--up-blue); }
.up-hero-desc {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--up-muted);
  line-height: 1.6;
}
.up-fchips { display: flex; flex-wrap: wrap; gap: 10px; }
.up-fchip {
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  border: 1px solid #e5edf8;
  border-radius: 14px;
  padding: 10px 14px;
  min-width: 148px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.up-fchip-ic {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(145deg, #dbeafe, #eff6ff);
  color: var(--up-blue);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 800;
  flex-shrink: 0;
}
.up-fchip b { display: block; font-size: 12.5px; color: var(--up-ink); }
.up-fchip small { display: block; font-size: 11px; color: #94a3b8; margin-top: 1px; }

/* hero before/after drag */
.up-hero-cmp {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #c7d7f0;
  aspect-ratio: 16 / 10;
  min-height: 150px;
  background: #0f172a;
  user-select: none;
  touch-action: none;
  --pos: 52%;
}
.up-hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.up-hero-after-wrap {
  position: absolute;
  inset: 0;
  width: var(--pos);
  overflow: hidden;
}
.up-hero-after {
  width: 100%;
  max-width: none;
  /* keep full image width relative to container */
  height: 100%;
  object-fit: cover;
  object-position: left center;
  /* scale so after image aligns with full frame */
  position: absolute;
  left: 0; top: 0;
}
/* Use clip-path approach for proper alignment */
.up-hero-cmp .up-hero-after-wrap {
  width: 100%;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.up-hero-cmp .up-hero-after {
  width: 100%;
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}
.up-hero-tag {
  position: absolute;
  z-index: 3;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  letter-spacing: 0.02em;
}
.up-hero-tag-l { left: 10px; top: 10px; }
.up-hero-tag-r { right: 10px; bottom: 10px; background: rgba(37, 99, 235, 0.9); }
.up-hero-tag-r em { font-style: normal; }
.up-hero-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 28px;
  margin-left: -14px;
  z-index: 4;
  display: grid;
  place-items: center;
  cursor: ew-resize;
  color: #fff;
}
.up-hero-handle::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 8px rgba(0,0,0,.25);
}
.up-hero-handle span {
  position: relative;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #fff;
  color: var(--up-blue);
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.up-hero-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
  margin: 0;
}
.up-hero-note {
  display: none;
  flex-direction: column;
  gap: 6px;
  color: #3b82f6;
  font-weight: 700;
  font-size: 13px;
  transform: rotate(-8deg);
  opacity: 0.85;
  white-space: nowrap;
}
@media (min-width: 1100px) {
  .up-hero-note { display: flex; }
}
.up-hero-connect {
  position: absolute;
  right: 14px; top: 12px;
  z-index: 6;
  border: 1px solid #93c5fd;
  background: #fff;
  color: #1d4ed8;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* —— 双栏 —— */
.up-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.95fr);
  gap: 16px;
  align-items: start;
}
@media (max-width: 980px) {
  .up-hero { grid-template-columns: 1fr; }
  .up-layout { grid-template-columns: 1fr; }
  .up-hero-note { display: none; }
}

.up-step, .up-rpanel {
  background: var(--up-card);
  border: 1px solid var(--up-line);
  border-radius: 18px;
  padding: 14px 16px 12px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  margin-bottom: 12px;
}
.up-step-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 4px;
}
.up-step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(145deg, #3b82f6, #2563eb);
  color: #fff; font-size: 13px; font-weight: 800;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.up-step-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--up-ink);
}
.up-step-desc {
  margin: 6px 0 14px;
  font-size: 12.5px;
  color: var(--up-muted);
  letter-spacing: 0.04em;
}

/* upload */
.up-drop {
  border: 1.5px dashed #93c5fd;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
  min-height: 200px;
  display: grid;
  place-items: center;
  padding: 18px;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.up-drop.drag {
  border-color: var(--up-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.up-drop-inner { text-align: center; width: 100%; }
.up-cloud {
  width: 64px; height: 64px;
  margin: 0 auto 12px;
  border-radius: 18px;
  background: linear-gradient(145deg, #3b82f6, #2563eb);
  display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}
.up-upload-btn {
  border: 0;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  padding: 11px 28px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25);
}
.up-upload-btn:hover { filter: brightness(1.05); }
.up-drop-sub { margin-top: 10px; font-size: 12px; color: #94a3b8; }
.up-drop-meta {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: #64748b;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 6px 14px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.up-preview {
  width: min(100%, 420px);
  height: 220px;
  object-fit: contain;
  border-radius: 12px;
  background: #0f172a;
  margin: 0 auto;
  display: block;
}
.up-file-row {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
}
.up-file-thumb {
  width: 64px; height: 40px;
  border-radius: 8px;
  overflow: hidden;
  background: #0f172a;
  flex-shrink: 0;
}
.up-file-thumb video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.up-file-info { flex: 1; min-width: 0; }
.up-file-info b {
  display: block;
  font-size: 13px;
  color: var(--up-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.up-file-info small { color: #94a3b8; font-size: 11.5px; }
.up-file-x {
  border: 0; background: #fee2e2; color: #b91c1c;
  width: 28px; height: 28px; border-radius: 50%;
  cursor: pointer; font-size: 16px; line-height: 1;
}

/* resolution cards */
.up-rcards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 720px) {
  .up-rcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.up-rcard {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.up-rcard:hover { border-color: #93c5fd; }
.up-rcard.active {
  border-color: var(--up-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.up-rcard.rec .up-rcard-badge {
  position: absolute;
  top: -8px; right: 8px;
  background: #f59e0b;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
}
.up-rcard-thumb {
  width: 64px; height: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.up-rcard-body { min-width: 0; flex: 1; }
.up-rcard-name { font-size: 15px; font-weight: 800; color: var(--up-ink); }
.up-rcard-label { font-size: 11px; color: var(--up-blue); font-weight: 600; }
.up-rcard-px { font-size: 11px; color: #94a3b8; }
.up-rcard-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #e2e8f0;
  color: transparent;
  display: grid; place-items: center;
  font-size: 11px;
  flex-shrink: 0;
}
.up-rcard.active .up-rcard-check {
  background: var(--up-blue);
  color: #fff;
}

.up-auto-bar {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12.5px;
  color: #166534;
}
.up-auto-left { display: flex; align-items: center; gap: 8px; }
.up-auto-left b { font-weight: 600; color: #14532d; }
.up-auto-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
}
.up-auto-model {
  margin-top: 8px;
  font-size: 12px;
  color: #64748b;
}
.up-auto-model code {
  background: #f1f5f9;
  border-radius: 6px;
  padding: 2px 8px;
  color: #0f172a;
  font-size: 12px;
}
.up-price {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12.5px;
  color: #1e3a5f;
}
.up-price-label { font-weight: 700; }
.up-price-model {
  background: #fff;
  border: 1px solid #dbeafe;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 12px;
  color: #1d4ed8;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.up-price-val {
  font-weight: 800;
  color: #2563eb;
}

.up-ghost-btn {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.up-ghost-btn:hover { background: #f8fafc; }

/* CTA */
.up-cta {
  width: 100%;
  border: 0;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 55%, #1d4ed8 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  border-radius: 999px;
  padding: 14px 20px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.28);
  letter-spacing: 0.02em;
}
.up-cta small { font-weight: 600; opacity: 0.9; font-size: 12px; }
.up-cta:hover:not(:disabled) { filter: brightness(1.05); }
.up-cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}
.up-cta-sm {
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 13px;
}
.up-status-line {
  margin-top: 10px;
  text-align: center;
  font-size: 12.5px;
  color: #64748b;
}
.up-note { margin-top: 8px; font-size: 12.5px; text-align: center; min-height: 1.2em; }
.up-note.ok { color: #15803d; }
.up-note.error { color: #b91c1c; }

/* right panel */
.up-rpanel { margin-bottom: 0; }
.up-rpanel-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.up-rpanel-ic {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: linear-gradient(145deg, #3b82f6, #2563eb);
  display: grid; place-items: center;
}
.up-rpanel-title { font-size: 16px; font-weight: 800; color: var(--up-ink); }
.up-rpanel-sub { font-size: 11.5px; color: #94a3b8; }

.up-rtabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 14px;
}
.up-rtab {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 8px 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
}
.up-rtab em {
  font-style: normal;
  font-size: 10px;
  background: var(--up-blue);
  color: #fff;
  border-radius: 999px;
  padding: 1px 5px;
  margin-left: 2px;
}
.up-rtab.active {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.up-rframes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.up-rframe-media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0f172a;
  border: 1px solid #e2e8f0;
}
.up-rframe-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.up-rframe-play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  display: grid; place-items: center;
  font-size: 12px;
  backdrop-filter: blur(2px);
}
.up-rframe-tag {
  position: absolute;
  left: 8px; top: 8px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}
.up-rframe-tag-hi { background: rgba(37, 99, 235, 0.9); left: auto; right: 8px; }
.up-rframe-meta {
  margin-top: 6px;
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
}
.up-rframe-meta-hi { color: var(--up-blue); font-weight: 700; }

.up-ibox {
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 10px;
  border: 1px solid transparent;
}
.up-ibox-rec {
  background: #eff6ff;
  border-color: #bfdbfe;
}
.up-ibox-tip {
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.up-ibox-title {
  font-size: 13px;
  font-weight: 800;
  color: #1e3a5f;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.up-ibox-tip .up-ibox-title { color: #14532d; }
.up-ibox ul {
  margin: 0;
  padding-left: 18px;
  font-size: 12px;
  color: #334155;
  line-height: 1.7;
}
.up-ibox li::marker { color: var(--up-blue); }

.up-rlinks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 4px;
}
.up-rlink {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 8px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  text-align: left;
}
.up-rlink:hover { border-color: #93c5fd; background: #f8fafc; }
.up-rlink-ic {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #dbeafe;
  color: var(--up-blue);
  display: grid; place-items: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.up-rlink b { display: block; font-size: 12px; color: var(--up-ink); }
.up-rlink small { display: block; font-size: 10.5px; color: #94a3b8; }

/* result */
.up-result {
  margin-top: 16px;
  background: #fff;
  border: 1px solid var(--up-line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}
.up-result-title { font-size: 15px; font-weight: 800; margin-bottom: 10px; }
.up-result video {
  width: 100%;
  max-height: 420px;
  border-radius: 12px;
  background: #0f172a;
}
.up-result-actions { margin-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; }

/* admin */
.up-admin {
  margin-top: 12px;
  border: 1px dashed #c4b5fd;
  background: #f8f5ff;
  border-radius: 14px;
  padding: 14px;
}
.up-admin-title { font-size: 13px; font-weight: 800; color: #5b21b6; margin-bottom: 10px; }
.up-admin-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 12.5px;
  color: #4c1d95;
}
.up-admin-row span { width: 92px; flex-shrink: 0; }
.up-hint { font-size: 11.5px; color: #7c3aed; margin-top: 6px; line-height: 1.5; }
.up-save-msg { font-size: 12px; font-weight: 600; }
.up-save-msg.ok { color: #15803d; }
.up-save-msg.err { color: #b91c1c; }

/* ===== 无限画布 AI generate-node canvas ===== */
.ai-canvas {
  --ac-bg: #eef2f7;
  --ac-card: #ffffff;
  --ac-line: #d7e0ea;
  --ac-ink: #1e293b;
  --ac-muted: #64748b;
  --ac-blue: #2563eb;
  color: var(--ac-ink);
  max-width: none !important;
  padding: 0 !important;
}
.ai-canvas .ac-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.ai-canvas .ac-toolbar .wk-mini-btn { flex-shrink: 0; }
.ai-canvas .ac-viewport {
  position: relative;
  height: min(82vh, 860px);
  min-height: 560px;
  border: 1px solid var(--ac-line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 1px 1px, #c9d4e3 1px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(180deg, #f8fafc 0%, var(--ac-bg) 100%);
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
}
.ai-canvas .ac-viewport.ac-panning { cursor: grabbing; }
.ai-canvas .ac-world {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  transform-origin: 0 0;
}
.ai-canvas .ac-edges {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}
.ai-canvas .ac-edges path {
  fill: none;
  stroke: #60a5fa;
  stroke-width: 2.5;
  stroke-linecap: round;
  filter: drop-shadow(0 1px 2px rgba(37,99,235,.25));
}
.ai-canvas .ac-edges path.ac-edge-live {
  stroke: #2563eb;
  stroke-dasharray: 6 5;
}
.ai-canvas .ac-hint {
  position: absolute;
  left: 12px; bottom: 10px;
  z-index: 5;
  background: rgba(15,23,42,.72);
  color: #fff;
  font-size: 11.5px;
  padding: 6px 12px;
  border-radius: 999px;
  pointer-events: none;
  backdrop-filter: blur(4px);
  max-width: calc(100% - 24px);
}
.ai-canvas .ac-node {
  position: absolute;
  width: 300px;
  background: var(--ac-card);
  border: 1px solid var(--ac-line);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(15,23,42,.1);
  z-index: 2;
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.ai-canvas .ac-node-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #eef2f7;
  cursor: move;
  background: linear-gradient(180deg, #f8fafc, #fff);
  border-radius: 16px 16px 0 0;
  user-select: none;
}
.ai-canvas .ac-kind {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ac-ink);
}
.ai-canvas .ac-link-badge {
  display: inline-block;
  margin-left: 6px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 7px;
  vertical-align: middle;
}
.ai-canvas .ac-del {
  border: 0;
  background: #fee2e2;
  color: #b91c1c;
  width: 24px; height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}
.ai-canvas .ac-ports {
  position: absolute;
  top: 36px;
  left: 0; right: 0;
  height: 0;
  z-index: 4;
  pointer-events: none;
}
.ai-canvas .ac-port {
  position: absolute;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #94a3b8;
  box-shadow: 0 2px 8px rgba(15,23,42,.25);
  padding: 0;
  cursor: crosshair;
  pointer-events: auto;
  top: -8px;
}
.ai-canvas .ac-port-in { left: -8px; background: #38bdf8; }
.ai-canvas .ac-port-out { right: -8px; background: #2563eb; }
.ai-canvas .ac-port:hover,
.ai-canvas .ac-port.ac-port-hot {
  transform: scale(1.25);
  background: #f59e0b;
}
.ai-canvas .ac-prompt {
  margin: 12px 12px 0;
  min-height: 72px;
  resize: vertical;
  border: 1px solid var(--ac-line);
  border-radius: 10px;
  padding: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  font-family: inherit;
  color: var(--ac-ink);
  background: #fff;
}
.ai-canvas .ac-refs {
  margin: 10px 12px 0;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 8px;
  background: #f8fafc;
}
.ai-canvas .ac-refs-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.ai-canvas .ac-lbl {
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
}
.ai-canvas .ac-refs-hint {
  font-size: 10.5px;
  color: #94a3b8;
}
.ai-canvas .ac-refs-body {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-height: 42px;
}
.ai-canvas .ac-ref-thumb {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--ac-line);
  background: #fff;
}
.ai-canvas .ac-ref-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.ai-canvas .ac-ref-thumb button {
  position: absolute;
  right: 0; top: 0;
  width: 16px; height: 16px;
  border: 0;
  background: rgba(15,23,42,.7);
  color: #fff;
  font-size: 11px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.ai-canvas .ac-ref-add {
  width: 44px; height: 44px;
  border-radius: 8px;
  border: 1px dashed #94a3b8;
  background: #fff;
  color: #64748b;
  font-size: 18px;
  cursor: pointer;
}
.ai-canvas .ac-dur-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 12px 0;
}
.ai-canvas .ac-dur {
  flex: 1;
  accent-color: var(--ac-blue);
}
.ai-canvas .ac-dur-val {
  font-size: 12px;
  font-weight: 700;
  color: var(--ac-blue);
  min-width: 32px;
  text-align: right;
}
.ai-canvas .ac-row {
  display: flex;
  gap: 8px;
  margin: 10px 12px 12px;
  align-items: center;
}
.ai-canvas .ac-model,
.ai-canvas .ac-ratio {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--ac-line);
  border-radius: 10px;
  padding: 7px 8px;
  font-size: 12px;
  background: #fff;
  color: var(--ac-ink);
  color-scheme: dark;
}
.ai-canvas .ac-ratio { flex: 0 0 78px; }
.ai-canvas .ac-gen {
  border: 0;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  white-space: nowrap;
}
.ai-canvas .ac-gen:disabled { opacity: 0.5; cursor: not-allowed; }
.ai-canvas .ac-media {
  margin: 10px 12px 12px;
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
  min-height: 120px;
  display: grid;
  place-items: center;
  color: #94a3b8;
  font-size: 12px;
}
.ai-canvas .ac-media img,
.ai-canvas .ac-media video {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  display: block;
  background: #0f172a;
}
.ai-canvas .ac-media.ac-running { color: #60a5fa; background: #eff6ff; min-height: 100px; }
.ai-canvas .ac-media.ac-error { color: #b91c1c; background: #fef2f2; min-height: 80px; padding: 12px; }
.ai-canvas .ac-media.ac-empty { background: #f1f5f9; color: #94a3b8; }

/* ===== feature explainer panels ===== */
.fp-root {
  color: #1e293b;
  max-width: 920px;
  margin: 0 auto;
  padding: 8px 4px 48px !important;
}
.fp-hero {
  text-align: center;
  padding: 18px 10px 8px;
}
.fp-emoji {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 10px;
}
.fp-hero h2 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
}
.fp-hero p {
  margin: 0 auto;
  max-width: 560px;
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.7;
}
.fp-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px 18px;
  margin-top: 14px;
  box-shadow: 0 6px 18px rgba(15,23,42,.04);
}
.fp-card h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}
.fp-steps {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.fp-steps li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: #334155;
  line-height: 1.6;
  background: #f8fafc;
  border-radius: 10px;
  padding: 10px 12px;
}
.fp-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.fp-tips ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: #475569;
  line-height: 1.75;
}
.fp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  justify-content: center;
}
.fp-actions .wk-submit,
.fp-actions a.wk-submit {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 11px 22px;
}

/* small helpers used by panels */
.wk-note { font-size: 12.5px; }
.wk-progress { margin-top: 10px; }
