:root {
  --bg: #f4f7fb;
  --panel: #ffffff;
  --text: #172033;
  --muted: #64748b;
  --line: #dbe3ef;
  --primary: #1f6fff;
  --primary-dark: #1655c8;
  --soft-primary: #eaf1ff;
  --danger: #d14343;
  --success: #14804a;
  --warning: #a15c00;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei UI", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

body.login-page {
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: #c8e8fa;
}

.login-page .bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(135deg,
    #c8e8fa,
    #b8d4ff,
    #90c8f0,
    #b8f0e8,
    #c4eeff,
    #d0d8ff,
    #a8c8ff,
    #c8f0f8,
    #c8e8fa
  );
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, 50px); }
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.login-page .ambient-light {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
}

.login-page .light-1 {
  top: -100px;
  left: -100px;
  background: radial-gradient(circle, rgba(95, 175, 239, 0.35), rgba(255, 255, 255, 0) 70%);
  animation: float 10s ease-in-out infinite;
}

.login-page .light-2 {
  right: -100px;
  bottom: -100px;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.3), rgba(255, 255, 255, 0) 70%);
  animation: float 14s ease-in-out infinite reverse;
}

.login-page .light-3 {
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(79, 197, 212, 0.3), rgba(255, 255, 255, 0) 70%);
  opacity: 0.6;
  animation: pulse 8s ease-in-out infinite;
}

.login-page .bg-circle {
  position: fixed;
  border-radius: 50%;
  border: 1px solid rgba(160, 180, 240, 0.25);
  z-index: 0;
  animation: bgCirclePulse 8s ease-in-out infinite;
}

.login-page .bg-circle-1 {
  width: 700px;
  height: 700px;
  top: -200px;
  right: -150px;
  background: radial-gradient(circle, rgba(180, 200, 255, 0.12) 0%, transparent 70%);
}

.login-page .bg-circle-2 {
  width: 500px;
  height: 500px;
  bottom: -180px;
  left: -120px;
  border-color: rgba(160, 150, 240, 0.2);
  background: radial-gradient(circle, rgba(200, 180, 255, 0.1) 0%, transparent 70%);
  animation-delay: -3s;
}

.login-page .bg-circle-3 {
  width: 320px;
  height: 320px;
  top: 10%;
  left: 5%;
  border-color: rgba(140, 170, 255, 0.15);
  background: radial-gradient(circle, rgba(160, 190, 255, 0.08) 0%, transparent 70%);
  animation-delay: -5s;
}

@keyframes bgCirclePulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.04); opacity: 1; }
}

.login-page .bg-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.login-page .bg-blob-1 {
  width: 300px;
  height: 300px;
  top: 5%;
  left: 8%;
  background: rgba(140, 180, 255, 0.2);
  animation: blobFloat 10s ease-in-out infinite;
}

.login-page .bg-blob-2 {
  width: 200px;
  height: 200px;
  right: 8%;
  bottom: 10%;
  background: rgba(180, 140, 255, 0.18);
  animation: blobFloat 13s ease-in-out infinite reverse;
}

.login-page .bg-blob-3 {
  width: 150px;
  height: 150px;
  top: 50%;
  right: 20%;
  background: rgba(100, 160, 255, 0.15);
  animation: blobFloat 9s ease-in-out infinite;
  animation-delay: -4s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(20px, -15px); }
  66% { transform: translate(-10px, 20px); }
}

.login-page .page {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  padding: 24px;
}

.login-page .login-card {
  display: flex;
  width: 960px;
  max-width: 100%;
  height: 560px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow:
    0 20px 60px rgba(80, 100, 200, 0.2),
    0 4px 16px rgba(80, 100, 200, 0.12);
  opacity: 0;
  animation: cardIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardIn {
  0% { opacity: 0; transform: translateY(24px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.login-page .left-panel {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  overflow: hidden;
  padding: 40px 32px;
  background: linear-gradient(340deg, #0080ff 0%, #5FAFEF 55%, #00c8ff 100%);
}

.login-page .orbit-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 180px;
  height: 180px;
}

.login-page .orbit {
  position: absolute;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

.login-page .orbit-1 {
  width: 180px;
  height: 180px;
  animation: orbitRotate 8s linear infinite;
}

.login-page .orbit-2 {
  width: 128px;
  height: 128px;
  border-color: rgba(255, 255, 255, 0.18);
  animation: orbitRotate 6s linear infinite reverse;
}

.login-page .orbit-1::before,
.login-page .orbit-2::before {
  content: "";
  position: absolute;
  left: 50%;
  border-radius: 50%;
  transform: translateX(-50%);
}

.login-page .orbit-1::before {
  width: 8px;
  height: 8px;
  top: -4px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.login-page .orbit-2::before {
  width: 6px;
  height: 6px;
  top: -3px;
  background: rgba(180, 220, 255, 0.95);
  box-shadow: 0 0 6px rgba(180, 220, 255, 0.8);
}

@keyframes orbitRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.login-page .ai-icon {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border: 1.5px solid rgba(255, 255, 255, 0.38);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.1) 100%);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  animation: aiFloat 5s ease-in-out infinite;
}

@keyframes aiFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.login-page .left-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-align: center;
}

.login-page .left-brand-name {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.login-page .left-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 10px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.login-page .left-divider::before,
.login-page .left-divider::after {
  content: "";
  flex: 1;
  max-width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.login-page .right-panel {
  display: flex;
  align-items: center;
  flex: 1.4;
  padding: 56px 64px;
  background: #fff;
}

.login-page .form-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.login-page .form-title {
  margin: 0 0 8px;
  color: #1a1a2e;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.login-page .title-bar {
  width: 44px;
  height: 4px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0080ff, #00c8ff);
}

.login-page .form-sub {
  margin: 0 0 22px;
  color: #8a95a8;
  font-size: 14px;
}

.login-page .device-box {
  display: flex;
  align-items: center;
  min-height: 48px;
  gap: 10px;
  margin-bottom: 16px;
  padding: 0 16px;
  border: 1px solid #eef1f7;
  border-radius: 12px;
  color: #7b8798;
  background: #f8faff;
  font-size: 13px;
}

.login-page .input-shell {
  display: flex;
  align-items: center;
  height: 52px;
  gap: 10px;
  margin-bottom: 8px;
  padding: 0 14px 0 16px;
  border: 1.5px solid #eaecf2;
  border-radius: 12px;
  background: #f7f8fc;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.login-page .input-shell:focus-within {
  border-color: #4a7fff;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(74, 127, 255, 0.1);
}

.login-page .field-icon {
  display: inline-flex;
  flex: 0 0 auto;
  color: #b0bac8;
}

.login-page .input-shell input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #1a1a2e;
  font-family: inherit;
  font-size: 14px;
}

.login-page .input-shell input::placeholder {
  color: #c0c8d8;
}

.login-page .login-form {
  display: grid;
  gap: 14px;
}

.login-page .check-row {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #7b8798;
  font-size: 14px;
}

.login-page .check-row input {
  width: 15px;
  height: 15px;
  accent-color: #0080ff;
}

.login-page .form-message {
  min-height: 22px;
  font-size: 14px;
  color: #8a95a8;
}

.login-page .form-message.error {
  color: var(--danger);
}

.login-page .form-message.success {
  color: var(--success);
}

.login-page .form-message.info {
  color: var(--warning);
}

.login-page .login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  gap: 10px;
  margin-top: 2px;
  margin-bottom: 20px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(90deg, #0080ff 0%, #5FAFEF 50%, #00c8ff 100%);
  box-shadow: 0 6px 20px rgba(100, 100, 240, 0.3);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 0.18s, box-shadow 0.18s, filter 0.18s, opacity 0.18s;
}

.login-page .login-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(100, 100, 240, 0.4);
  filter: brightness(1.05);
}

.login-page .login-btn:active {
  transform: translateY(0);
  filter: brightness(0.97);
}

.login-page .login-btn:disabled {
  opacity: 0.72;
  box-shadow: 0 6px 20px rgba(100, 100, 240, 0.18);
}

.login-page .footer-tag {
  color: #b0bac8;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  body.login-page {
    overflow: auto;
  }

  .login-page .page {
    align-items: flex-start;
    padding: 18px;
  }

  .login-page .login-card {
    min-height: auto;
    height: auto;
    flex-direction: column;
  }

  .login-page .left-panel {
    min-height: 260px;
  }

  .login-page .right-panel {
    padding: 36px 28px;
  }
}

/* PC original workbench UI extracted from RC3 agent_workbench_page.py */
:root {
    --wb-font: "Microsoft YaHei UI", "Segoe UI", system-ui, -apple-system, sans-serif;
    --wb-bg0: #f0f4fa;
    --wb-panel: #ffffff;
    --wb-panel-border: 1px solid rgba(160, 175, 200, 0.14);
    --wb-panel-shadow: 0 10px 24px rgba(90, 110, 150, 0.06);
    --wb-blue: #4d84e6;
    --wb-blue-hi: #5f92eb;
    --wb-blue-deep: #3d72dc;
    --wb-input-bg: #f8fafc;
    --wb-input-border: rgba(160, 175, 200, 0.32);
    --wb-text: #252b38;
    --wb-text-sec: #5b6475;
    --wb-muted: #8892a4;
    --wb-placeholder: #9aa4b5;
    --wb-focus-ring: rgba(110, 155, 220, 0.14);
    --wb-green: #22c55e;
    --wb-radius-panel: 20px;
    --wb-radius-ctl: 14px;
  }
  body.pc-original-workbench * { box-sizing: border-box; margin: 0; padding: 0; }
  html, body.pc-original-workbench { height: 100%; }
  body.pc-original-workbench {
    font-family: var(--wb-font);
    color: var(--wb-text);
    -webkit-font-smoothing: antialiased;
    min-height: 100%;
    background: #ece8f5;
  }
  .wb-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: #ece8f5;
  }
  .wb-app {
    position: relative;
    z-index: 1;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    padding-left: 0;
  }
  .wb-nav {
    flex-shrink: 0;
    min-height: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 0 28px;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(160, 175, 200, 0.1);
    box-shadow: 0 2px 8px rgba(20, 40, 80, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
  .wb-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 0.015em;
    color: #11161f;
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .wb-logo {
    width: 60px;
    height: 60px;
    max-width: 100%;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    transform: translateY(1px);
  }
  .wb-nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 14px;
    font-size: 0.86rem;
    color: var(--wb-text-sec);
    white-space: nowrap;
    flex: 0 0 auto;
  }
  .wb-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    min-height: 34px;
    border-radius: 999px;
    background: #fafbfd;
    border: 1px solid rgba(160, 175, 200, 0.2);
    color: var(--wb-text-sec);
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  }
  .wb-nav-audio-stack {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
  }
  .wb-nav-audio-hint {
    display: none;
    position: absolute;
    left: 0;
    top: calc(100% + 3px);
    color: #D48806;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    white-space: nowrap;
    pointer-events: none;
    z-index: 3;
  }
  .wb-nav-audio-hint.is-visible {
    display: block;
  }
  .wb-status-ok { color: #15803d; font-weight: 600; }
  .wb-status-starting { color: #D97706; font-weight: 600; }
  .wb-status-waiting { color: #64748b; font-weight: 600; }
  .wb-status-off { color: #dc2626; font-weight: 600; }
  .wb-logout {
    color: #6b7385;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 500;
    padding: 6px 14px;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 999px;
    border: 1px solid rgba(160, 175, 200, 0.18);
    background: #fafbfd;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  }
  .wb-logout-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .wb-logout:hover {
    color: #3f4656;
    background: #ffffff;
    border-color: rgba(160, 175, 200, 0.28);
  }
  .wb-body { flex: 1; display: flex; min-height: 0; }
  .wb-rail { display: none; }
  .wb-main-wrap {
    flex: 1;
    width: 100%;
    max-width: 1680px;
    margin-inline: auto;
    padding: 4px clamp(7px, 1.2vw, 10px) 5px;
    overflow-x: auto;
    overflow-y: auto;
    min-height: 0;
  }
  .wb-grid {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(240px, 1fr) minmax(480px, 2fr);
    grid-template-rows: auto auto;
    grid-template-areas:
      "left mid-top right-top"
      "left mid-bot right-bot";
    gap: clamp(5px, 0.55vw, 7px);
    align-items: stretch;
    min-height: clamp(620px, calc(100vh - 108px), 780px);
    height: auto;
  }
  .wb-col-span-l { grid-area: left; min-height: clamp(500px, calc(100vh - 176px), 680px); }
  .wb-mid-top { grid-area: mid-top; min-height: 158px; }
  .wb-mid-bot { grid-area: mid-bot; min-height: 176px; }
  .wb-right-top { grid-area: right-top; min-height: 214px; }
  .wb-right-bot { grid-area: right-bot; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(5px, 0.55vw, 7px); min-height: 196px; }
  .wb-right-bot > .wb-panel { min-height: 196px; }
  .wb-panel {
    background: var(--wb-panel);
    border: var(--wb-panel-border);
    border-radius: 16px;
    box-shadow: var(--wb-panel-shadow);
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
  }
  .wb-panel-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1a1f2a;
    text-align: center;
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(160, 175, 200, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }
  .wb-panel-title::before,
  .wb-panel-title::after {
    content: "";
    flex: 1;
    max-width: 28px;
    height: 1px;
    border-radius: 1px;
    background: linear-gradient(90deg, transparent, rgba(130, 155, 195, 0.38) 50%, transparent);
    opacity: 0.85;
  }
  .wb-mid-top .wb-topic-body,
  .wb-mid-top .wb-topic-body *,
  .wb-mid-bot .wb-media-body,
  .wb-mid-bot .wb-media-body * {
    box-sizing: border-box;
  }
  .wb-mid-top {
    min-height: 0;
  }
  .wb-mid-top .wb-topic-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
  }
  .wb-mid-top .wb-topic-subtitle {
    font-size: 13px;
    font-weight: 600;
    color: #3a4254;
    line-height: 1.2;
  }
  .wb-mid-top .wb-topic-title-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    align-items: center;
    min-width: 0;
  }
  .wb-mid-bot .wb-media-label {
    color: var(--wb-text-sec);
    font-size: 12px;
    font-weight: normal;
    line-height: 1.2;
    white-space: nowrap;
  }
  .wb-mid-top .wb-topic-action-row {
    display: flex;
    justify-content: flex-start;
  }
  .wb-mid-top .wb-topic-generate {
    width: 108px;
    min-height: 30px;
    white-space: nowrap;
  }
  .wb-mid-bot .wb-media-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
  }
  .wb-mid-bot .wb-media-refresh-row {
    display: flex;
    justify-content: flex-end;
    min-width: 0;
  }
  .wb-mid-bot .wb-media-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
    padding: 0 0 7px;
    border: 0;
    border-bottom: 1px solid rgba(160, 175, 200, 0.16);
    border-radius: 0;
    background: transparent;
  }
  .wb-mid-bot .wb-media-group-title {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--wb-blue-deep);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
  }
  .wb-mid-bot .wb-media-group-title::before {
    content: "";
    width: 2px;
    height: 10px;
    border-radius: 999px;
    background: rgba(77, 132, 230, 0.78);
    flex: 0 0 auto;
  }
  .wb-mid-bot .wb-media-param-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
  }
  .wb-mid-bot .wb-media-param {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
  }
  .wb-mid-bot .wb-media-main-btn {
    width: 100%;
    min-height: 34px;
  }
  .wb-mid-bot .wb-media-mini-btn {
    min-width: 78px;
    min-height: 28px;
  }
  .wb-mid-bot .wb-media-avatar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    min-width: 0;
  }
  .wb-mid-bot .wb-media-section-title {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #3a4254;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
  }
  .wb-mid-bot .wb-media-section-title::before {
    content: "";
    width: 3px;
    height: 12px;
    border-radius: 999px;
    background: var(--wb-blue);
    flex: 0 0 auto;
  }
  .wb-mid-bot .wb-media-check {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--wb-text-sec);
    font-size: 16px;
    line-height: 1.2;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 2;
  }
  .wb-mid-bot .wb-media-check input {
    width: 13px;
    height: 13px;
    margin: 0;
    accent-color: var(--wb-blue);
    cursor: pointer;
    pointer-events: auto;
  }
  .wb-mid-bot .wb-media-player {
    width: 100%;
    min-height: 34px;
    border: 1px solid var(--wb-input-border);
    border-radius: 12px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 8px;
    color: #64748b;
    font-size: 12px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
  }
  .wb-mid-bot .wb-media-play {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--wb-blue);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    line-height: 1;
    flex: 0 0 auto;
  }
  .wb-mid-bot .wb-media-time {
    flex: 0 0 auto;
    font-size: 11px;
    color: #64748b;
  }
  .wb-mid-bot .wb-media-progress {
    flex: 1 1 auto;
    min-width: 28px;
    height: 4px;
    border-radius: 999px;
    background: rgba(77, 132, 230, 0.14);
    overflow: hidden;
  }
  .wb-mid-bot .wb-media-progress span {
    display: block;
    width: 18%;
    height: 100%;
    border-radius: inherit;
    background: #00c8ff;
  }
  .wb-mid-bot .wb-media-volume {
    flex: 0 0 auto;
    color: var(--wb-blue);
    font-size: 12px;
  }
  .wb-mid-bot .wb-media-video-result {
    width: 100%;
    min-height: 34px;
    border: 1px dashed rgba(77, 132, 230, 0.32);
    border-radius: 12px;
    background: rgba(77, 132, 230, 0.06);
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1.2;
  }
  @media (max-width: 1100px) {
    .wb-mid-bot .wb-media-param-grid {
      grid-template-columns: minmax(0, 1fr);
    }
  }
  #wb-workbench-page {
    width: calc(100vw - 86px - 32px);
    min-width: 1810px;
    max-width: none;
    padding: 34px 6px 20px 42px;
    background: transparent;
    display: grid;
    grid-template-columns: minmax(430px, 1.05fr) minmax(430px, 1.05fr) minmax(920px, 1.9fr);
    grid-template-rows: 277px 308px 459px;
    grid-template-areas:
      "left mid-top right-top"
      "left mid-bot right-top"
      "left mid-bot right-bot";
    gap: 20px;
    align-items: stretch;
    min-height: 0;
    box-sizing: border-box;
    position: relative;
  }
  #wb-workbench-page > .wb-col-span-l {
    grid-area: left;
    min-height: 0;
    height: 100%;
  }
  #wb-workbench-page > .wb-panel.wb-mid-top,
  #wb-workbench-page > .wb-mid-top {
    grid-area: mid-top;
    min-height: 0;
    align-self: start;
  }
  #wb-workbench-page > .wb-mid-bot {
    grid-area: mid-bot;
    min-height: 0;
    height: 100%;
    margin-top: -6px;
    padding-bottom: 22px;
  }
  #wb-workbench-page > .wb-right-top {
    grid-area: right-top;
    min-height: 0;
    height: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }
  #wb-workbench-page > .wb-right-bot {
    grid-area: right-bot;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    min-height: 0;
    height: 100%;
  }
  #wb-workbench-page > .wb-right-bot > .wb-panel {
    min-width: 0;
    min-height: 0;
    height: 100%;
  }
  #wb-workbench-page .wb-panel {
    padding: 0 20px 20px;
    gap: 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: rgba(0,0,0,0.1) 0px 4px 16px, rgba(255,255,255,0.6) 0px 1px 0px inset;
  }
  #wb-workbench-page > .wb-panel.wb-mid-bot {
    align-self: stretch;
    height: auto;
    box-sizing: border-box;
    padding-bottom: 40px;
  }
  #wb-workbench-page .wb-panel-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;
    height: 56px;
    padding: 12px 0;
    margin-bottom: 20px;
    gap: 10px;
    box-sizing: border-box;
    position: relative;
    border-bottom: 0;
    background: radial-gradient(ellipse at center bottom, rgba(61, 182, 214, 0.34) 0%, rgba(61, 182, 214, 0.18) 36%, transparent 72%) center calc(100% - 2px) / 138px 12px no-repeat;
  }
  #wb-workbench-page .wb-panel-title::before,
  #wb-workbench-page .wb-panel-title::after {
    max-width: 92px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(78, 178, 214, 0.72) 50%, transparent);
    opacity: 1;
  }
  #wb-workbench-page .wb-subtitle,
  #wb-workbench-page .wb-topic-subtitle,
  #wb-workbench-page .wb-media-group-title,
  #wb-workbench-page .wb-media-section-title,
  #wb-workbench-page .wb-vclip-step-title,
  #wb-workbench-page .wb-media-label {
    font-size: 16px;
    line-height: 1.2;
  }
  #wb-workbench-page .wb-subtitle,
  #wb-workbench-page .wb-topic-subtitle,
  #wb-workbench-page .wb-media-group-title,
  #wb-workbench-page .wb-media-section-title,
  #wb-workbench-page .wb-vclip-step-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #26364f;
    font-weight: 700;
  }
  #wb-workbench-page .wb-subtitle::before,
  #wb-workbench-page .wb-topic-subtitle::before,
  #wb-workbench-page .wb-media-group-title::before,
  #wb-workbench-page .wb-media-section-title::before,
  #wb-workbench-page .wb-vclip-step-title::before {
    content: "";
    width: 4px;
    height: 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, #44d2d7 0%, #3d8bf2 100%);
    box-shadow: 0 0 8px rgba(61, 182, 214, 0.28);
    flex: 0 0 auto;
  }
  #wb-workbench-page .wb-input,
  #wb-workbench-page .wb-select,
  #wb-workbench-page .wb-textarea {
    min-height: 36px;
    height: 36px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 36px;
    padding: 0 12px;
    background: rgb(247,244,249);
  }
  #wb-workbench-page .wb-select {
    background-color: rgb(247,244,249);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237c8699' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 11px center;
    background-size: 12px;
    padding-right: 38px;
  }
  #wb-workbench-page .wb-textarea {
    line-height: 1.5;
    padding: 12px;
  }
  #wb-workbench-page .wb-btn {
    min-height: 48px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    padding: 0 18px;
    background: linear-gradient(180deg, #7db5ff 0%, #4f8df2 100%);
    box-shadow: 0 6px 14px rgba(79, 141, 242, 0.18);
  }
  #wb-workbench-page .wb-publish-main-btn {
    background: #5FAFEF;
    border-color: #5FAFEF;
    box-shadow: 0 4px 12px rgba(95, 175, 239, 0.18);
  }
  #wb-workbench-page .wb-btn-sm {
    min-height: 36px;
    border-radius: 18px;
    font-size: 13px;
    padding: 0 14px;
  }
  #wb-workbench-page .wb-row {
    gap: 12px;
  }
  #wb-workbench-page .wb-copy-toolbar {
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 14px;
  }
  #wb-workbench-page #wb-auto-mode {
    margin-left: auto;
  }
  #wb-workbench-page .wb-copy-chip,
  #wb-workbench-page .wb-auto-toggle {
    min-height: 28px;
    font-size: 14px;
    padding: 0 14px;
  }
  #wb-workbench-page .wb-rewrite-main-btn,
  #wb-workbench-page .wb-vclip-main-btn,
  #wb-workbench-page .wb-media-main-btn {
    min-height: 48px;
    font-size: 15px;
    border-radius: 24px;
  }
  #wb-workbench-page .wb-media-main-btn {
    background: #5FAFEF;
  }
  #wb-workbench-page #wb-copy-gen-result {
    min-height: 266px;
    height: 266px;
  }
  #wb-workbench-page #wb-copy-rewrite-result {
    min-height: 335px;
    height: 335px;
  }
  #wb-workbench-page #wb-copy-gen-result,
  #wb-workbench-page #wb-copy-rewrite-result {
    font-size: 15px;
    line-height: 1.55;
    padding: 12px 14px;
  }
  #wb-workbench-page > .wb-col-span-l {
    border-color: rgba(220, 231, 247, 0.95);
    box-shadow: rgba(47, 107, 255, 0.08) 0px 4px 16px, rgba(255, 255, 255, 0.72) 0px 1px 0px inset;
    padding-bottom: 14px;
  }
  #wb-workbench-page .wb-copy-chip {
    border: 2px solid #00c8ff;
    background: #00c8ff;
    color: #fff;
    box-shadow: 0 5px 12px rgba(0, 200, 255, 0.22);
  }
  #wb-workbench-page .wb-copy-chip::before {
    color: #fff;
  }
  #wb-workbench-page .wb-copy-chip:hover,
  #wb-workbench-page .wb-copy-chip:focus,
  #wb-workbench-page .wb-copy-chip:active {
    border-color: #00b8eb;
    background: #00b8eb;
    color: #fff;
    box-shadow: 0 6px 14px rgba(0, 200, 255, 0.28);
  }
  #wb-workbench-page .wb-auto-toggle {
    height: 34px;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 6px;
    gap: 8px;
    border: 1px solid #00c8ff;
    background: #00c8ff;
    color: #fff;
    box-shadow: 0 5px 12px rgba(0, 200, 255, 0.22);
  }
  #wb-workbench-page .wb-auto-toggle:hover,
  #wb-workbench-page .wb-auto-toggle:focus,
  #wb-workbench-page .wb-auto-toggle:active {
    border-color: #00b8eb;
    background: #00b8eb;
    color: #fff;
    box-shadow: 0 6px 14px rgba(0, 200, 255, 0.28);
  }
  #wb-workbench-page .wb-auto-dot {
    width: 13px;
    height: 13px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(29, 43, 79, 0.18);
  }
  #wb-workbench-page #wb-copy-extract-btn,
  #wb-workbench-page #wb-copy-rewrite-btn {
    background: #5FAFEF;
    box-shadow: 0 5px 12px rgba(95, 175, 239, 0.2);
    color: #fff;
  }
  #wb-workbench-page #wb-copy-rewrite-config-btn {
    background: #00c8ff;
    border: 1px solid #00c8ff;
    border-radius: 8px;
    color: #fff;
    box-shadow: 0 3px 8px rgba(0, 200, 255, 0.18);
  }
  #wb-workbench-page #wb-copy-rewrite-config-btn:hover,
  #wb-workbench-page #wb-copy-rewrite-config-btn:focus,
  #wb-workbench-page #wb-copy-rewrite-config-btn:active {
    background: #00b8eb;
    border-color: #00b8eb;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 200, 255, 0.26);
  }
  #wb-workbench-page #wb-copy-gen-result,
  #wb-workbench-page #wb-copy-rewrite-result {
    background: #F7F5FA;
    border: 1px solid #D8E3F0;
    color: #1D2B4F;
  }
  #wb-workbench-page .wb-rewrite-radio input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    margin: 0;
    border-radius: 50%;
    border: 1.5px solid #8A93A8;
    background: #FFFFFF;
    box-sizing: border-box;
    flex: 0 0 auto;
  }
  #wb-workbench-page .wb-rewrite-radio input[type="radio"]:checked {
    border-color: #5FAFEF;
    background: #FFFFFF;
    box-shadow: inset 0 0 0 3.5px #FFFFFF, inset 0 0 0 8px #5FAFEF;
  }
  #wb-workbench-page .wb-rewrite-note {
    color: #6F7F99;
  }
  #wb-workbench-page > .wb-col-span-l .wb-copy-toolbar {
    padding-bottom: 8px;
    margin-bottom: 12px;
  }
  #wb-workbench-page > .wb-col-span-l .wb-copy-toolbar + .wb-subtitle {
    margin-top: 0;
    margin-bottom: 18px;
  }
  #wb-workbench-page > .wb-col-span-l #wb-copy-link {
    margin-bottom: 24px;
  }
  #wb-workbench-page > .wb-col-span-l #wb-copy-link + .wb-row {
    margin-bottom: 14px;
  }
  #wb-workbench-page > .wb-col-span-l #wb-copy-gen-result {
    margin-bottom: 20px;
  }
  #wb-workbench-page > .wb-col-span-l .wb-rewrite-head {
    align-items: center;
    padding: 4px 0;
    margin-top: 0;
    margin-bottom: 14px;
  }
  #wb-workbench-page > .wb-col-span-l .wb-rewrite-controls {
    align-items: center;
    gap: 16px;
  }
  #wb-workbench-page > .wb-col-span-l .wb-rewrite-radio {
    align-items: center;
    gap: 6px;
    font-size: 13px;
  }
  #wb-workbench-page > .wb-col-span-l .wb-rewrite-head + .wb-row {
    margin-bottom: 12px;
  }
  #wb-workbench-page > .wb-col-span-l .wb-rewrite-note {
    font-size: 13px;
    margin: 4px 0 10px;
  }
  #wb-workbench-page .wb-mid-top.wb-panel {
    padding-bottom: 24px;
  }
  #wb-workbench-page .wb-topic-body {
    height: auto;
    justify-content: flex-start;
    gap: 21px;
  }
  #wb-workbench-page .wb-mid-top .wb-panel-title {
    margin-bottom: 6px;
  }
  #wb-workbench-page .wb-topic-title-row {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 104px;
    gap: 10px;
    align-items: center;
  }
  #wb-workbench-page .wb-mid-top .wb-topic-generate,
  #wb-workbench-page .wb-topic-title-row > .wb-topic-generate,
  #wb-workbench-page button.wb-topic-generate,
  #wb-workbench-page .wb-btn.wb-topic-generate {
    width: 104px;
    min-height: 48px;
    border-radius: 24px;
    padding: 0 12px;
    font-size: 15px;
    font-weight: 600;
    background: #5FAFEF;
    color: #fff;
    box-shadow: 0 6px 14px rgba(95, 175, 239, 0.22);
  }
  #wb-workbench-page .wb-mid-top .wb-topic-generate:hover,
  #wb-workbench-page .wb-mid-top .wb-topic-generate:focus,
  #wb-workbench-page .wb-mid-top .wb-topic-generate:active,
  #wb-workbench-page .wb-topic-title-row > .wb-topic-generate:hover,
  #wb-workbench-page .wb-topic-title-row > .wb-topic-generate:focus,
  #wb-workbench-page .wb-topic-title-row > .wb-topic-generate:active,
  #wb-workbench-page button.wb-topic-generate:hover,
  #wb-workbench-page button.wb-topic-generate:focus,
  #wb-workbench-page button.wb-topic-generate:active,
  #wb-workbench-page .wb-btn.wb-topic-generate:hover,
  #wb-workbench-page .wb-btn.wb-topic-generate:focus,
  #wb-workbench-page .wb-btn.wb-topic-generate:active {
    background: #5FAFEF;
    color: #fff;
    box-shadow: 0 7px 16px rgba(95, 175, 239, 0.3);
  }
  #wb-workbench-page .wb-mid-top .wb-topic-field,
  #wb-workbench-page .wb-topic-body .wb-topic-field,
  #wb-workbench-page .wb-topic-field {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
  }
  #wb-workbench-page .wb-mid-top .wb-topic-field .wb-input,
  #wb-workbench-page .wb-topic-body .wb-topic-field .wb-input,
  #wb-workbench-page .wb-topic-field > .wb-input {
    height: 52px;
    min-height: 52px;
    line-height: 1.4;
    padding-top: 6px;
    padding-bottom: 6px;
  }
  #wb-workbench-page .wb-topic-select {
    display: flex;
    align-items: center;
    position: relative;
    min-height: 52px;
    width: 100%;
    background: #f8f5fb;
    border: 1px solid rgba(210, 220, 235, 0.9);
    border-radius: 8px;
    padding: 8px 36px 8px 10px;
    box-shadow: 0 2px 8px rgba(20, 40, 80, 0.05);
    overflow: visible;
  }
  #wb-workbench-page .wb-topic-chip-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    row-gap: 6px;
    column-gap: 6px;
    min-height: 28px;
    min-width: 0;
    max-height: 50px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  #wb-workbench-page .wb-topic-chip-list::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }
  #wb-workbench-page .wb-topic-inline-input {
    border: none;
    outline: none;
    background: transparent;
    min-width: 80px;
    flex: 1 0 80px;
    height: 24px;
    line-height: 24px;
    font-size: 14px;
    color: #333;
    padding: 0 4px;
  }
  #wb-workbench-page .wb-topic-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #e5e5e5;
    color: #4b5563;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
  }
  #wb-workbench-page .wb-topic-chip-remove {
    border: none;
    background: transparent;
    color: #777;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
  }
  #wb-workbench-page .wb-topic-dropdown-toggle {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #9ca3af;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
  }
  #wb-workbench-page .wb-topic-dropdown {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid rgba(210, 220, 235, 0.9);
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(20, 40, 80, 0.12);
    z-index: 20;
    overflow: hidden;
  }
  #wb-workbench-page .wb-topic-dropdown.is-open {
    display: block;
  }
  #wb-workbench-page .wb-topic-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 18px;
    border: 0;
    color: #168cff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    background: #fff;
    text-align: left;
  }
  #wb-workbench-page .wb-topic-option:hover {
    background: #f3f8ff;
  }
  #wb-workbench-page .wb-topic-check {
    color: #2997ff;
    font-size: 16px;
  }
  #wb-workbench-page .wb-topic-empty {
    padding: 12px 18px;
    color: #9ca3af;
    font-size: 14px;
    background: #fff;
  }
  #wb-workbench-page .wb-topic-label {
    color: #42526b;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
  }
  #wb-workbench-page .wb-media-body {
    gap: 14px;
  }
  #wb-workbench-page .wb-media-head {
    position: relative;
  }
  #wb-workbench-page .wb-media-head .wb-panel-title {
    margin-bottom: 8px;
  }
  #wb-workbench-page .wb-media-head .wb-media-refresh-row {
    position: static;
    display: flex;
    justify-content: flex-end;
    margin-top: -4px;
    margin-bottom: 2px;
  }
  #wb-workbench-page .wb-media-tone-row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: nowrap;
  }
  #wb-workbench-page .wb-media-voice-picker-wrap {
    position: relative;
    flex: 0 0 144px;
    width: 144px;
    min-width: 134px;
    max-width: 153px;
  }
  #wb-workbench-page #wb-media-voice-select {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
  }
  #wb-workbench-page #wb-media-voice-picker {
    width: 100%;
    min-height: 36px;
    border: 1px solid var(--wb-input-border);
    border-radius: 10px;
    background: var(--wb-input-bg);
    color: var(--wb-text-sec);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 10px 0 12px;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    box-sizing: border-box;
  }
  #wb-workbench-page #wb-media-voice-picker-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  #wb-workbench-page #wb-media-voice-picker-arrow {
    color: #9ca3af;
    font-size: 12px;
    line-height: 1;
    flex: 0 0 auto;
  }
  #wb-workbench-page #wb-media-voice-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    display: none;
    max-height: 260px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid rgba(210, 220, 235, 0.9);
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(20, 40, 80, 0.12);
    z-index: 90;
    padding: 4px 0;
    box-sizing: border-box;
  }
  #wb-workbench-page #wb-media-voice-dropdown.is-open {
    display: block;
  }
  #wb-workbench-page .wb-media-voice-option {
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.25;
    color: #4b5563;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #wb-workbench-page .wb-media-voice-option:hover,
  #wb-workbench-page .wb-media-voice-option:focus {
    background: rgba(95, 175, 239, 0.10);
  }
  #wb-workbench-page .wb-media-voice-option.is-selected {
    color: #5FAFEF;
    font-weight: 600;
  }
  #wb-workbench-page .wb-media-voice-empty {
    padding: 10px 12px;
    font-size: 14px;
    color: #9ca3af;
  }
  #wb-workbench-page .wb-media-tone-row .wb-media-player {
    flex: 1 1 130%;
    width: auto;
    min-width: 0;
  }
  #wb-workbench-page .wb-media-body.wb-media-minimax-mode .wb-media-tone-row {
    display: block;
  }
  #wb-workbench-page .wb-media-body.wb-media-minimax-mode .wb-media-voice-picker-wrap {
    flex: none;
    width: 100%;
    min-width: 0;
    max-width: none;
  }
  #wb-workbench-page .wb-media-body.wb-media-minimax-mode .wb-media-tone-row .wb-media-player {
    display: none;
  }
  #wb-workbench-page .wb-media-result-row,
  #wb-workbench-page .wb-media-video-file-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 82px;
    gap: 12px;
    align-items: stretch;
  }
  #wb-workbench-page .wb-media-side-actions {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
  }
  #wb-workbench-page .wb-media-avatar-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: center;
  }
#wb-workbench-page .wb-media-avatar-group {
    margin-top: 24px;
  }
  #wb-workbench-page .wb-media-group {
    gap: 10px;
    padding: 0 0 7px;
    margin-bottom: 0;
    border: 0;
    border-bottom: 0;
    border-radius: 0;
    background: transparent;
  }
  #wb-workbench-page .wb-media-group:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }
  #wb-workbench-page .wb-media-group-title {
    font-size: 13px;
    line-height: 1.2;
    gap: 6px;
    margin-bottom: 4px;
  }
  #wb-workbench-page .wb-media-section-title {
    font-size: 13px;
    line-height: 1.2;
    margin-bottom: 4px;
  }
  #wb-workbench-page .wb-media-avatar-head .wb-media-section-title {
    font-size: 16px;
    font-weight: normal;
    gap: 0;
  }
  #wb-workbench-page .wb-media-avatar-head .wb-media-section-title::before {
    display: none;
  }
  #wb-workbench-page .wb-media-param-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  #wb-workbench-page .wb-media-body.wb-media-minimax-mode .wb-media-param-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
  }
  #wb-workbench-page .wb-media-body.wb-media-minimax-mode #wb-media-minimax-model-wrap {
    grid-column: 1;
    grid-row: 1;
  }
  #wb-workbench-page .wb-media-body.wb-media-minimax-mode #wb-media-minimax-emotion-wrap {
    grid-column: 2;
    grid-row: 1;
  }
  #wb-workbench-page .wb-media-body.wb-media-minimax-mode #wb-media-minimax-speed-wrap {
    grid-column: 1;
    grid-row: 2;
  }
  #wb-workbench-page .wb-media-body.wb-media-minimax-mode #wb-media-minimax-volume-wrap {
    grid-column: 2;
    grid-row: 2;
  }
  #wb-workbench-page .wb-media-param {
    gap: 5px;
  }
  #wb-workbench-page .wb-media-stepper {
    min-height: 36px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 30px;
    align-items: stretch;
    border: 1px solid var(--wb-input-border);
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
  }
  #wb-workbench-page .wb-media-stepper-value {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: none;
    outline: none;
    text-align: center;
    background: transparent;
    color: var(--wb-text);
    font-size: 14px;
    font-family: inherit;
    padding: 0 4px;
    -moz-appearance: textfield;
  }
  #wb-workbench-page .wb-media-stepper-value::-webkit-outer-spin-button,
  #wb-workbench-page .wb-media-stepper-value::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
  #wb-workbench-page .wb-media-stepper-arrows {
    display: grid;
    grid-template-rows: 1fr 1fr;
    border-left: 1px solid var(--wb-input-border);
  }
  #wb-workbench-page .wb-media-stepper-btn {
    border: 0;
    background: #f8fbff;
    color: #5FAFEF;
    font-size: 10px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
  }
  #wb-workbench-page .wb-media-stepper-btn:first-child {
    border-bottom: 1px solid var(--wb-input-border);
  }
  #wb-workbench-page .wb-media-stepper-btn.is-disabled {
    cursor: not-allowed;
    opacity: 0.4;
  }
  #wb-workbench-page .wb-media-mini-btn {
    min-height: 36px;
    min-width: 82px;
    padding: 0 12px;
    background: #00c8ff;
    border-color: #00c8ff;
    border-radius: 8px;
  }
  #wb-workbench-page .wb-media-refresh-row .wb-media-mini-btn,
  #wb-workbench-page .wb-media-avatar-head .wb-media-mini-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 200, 255, 0.35);
    color: #00c8ff;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 200, 255, 0.12);
  }
  #wb-workbench-page .wb-media-refresh-row .wb-media-mini-btn::before,
  #wb-workbench-page .wb-media-avatar-head .wb-media-mini-btn::before {
    content: "↻";
    color: #00c8ff;
    font-size: 14px;
    line-height: 1;
  }
  #wb-workbench-page .wb-media-refresh-row .wb-media-mini-btn:hover,
  #wb-workbench-page .wb-media-refresh-row .wb-media-mini-btn:focus,
  #wb-workbench-page .wb-media-refresh-row .wb-media-mini-btn:active,
  #wb-workbench-page .wb-media-avatar-head .wb-media-mini-btn:hover,
  #wb-workbench-page .wb-media-avatar-head .wb-media-mini-btn:focus,
  #wb-workbench-page .wb-media-avatar-head .wb-media-mini-btn:active {
    background: rgba(0, 200, 255, 0.08);
    border-color: rgba(0, 200, 255, 0.55);
    color: #00c8ff;
    box-shadow: 0 5px 14px rgba(0, 200, 255, 0.16);
  }
  #wb-workbench-page .wb-media-refresh-row .wb-media-mini-btn:disabled,
  #wb-workbench-page .wb-media-refresh-row .wb-media-mini-btn.is-refreshing,
  #wb-workbench-page .wb-media-avatar-head .wb-media-mini-btn:disabled,
  #wb-workbench-page .wb-media-avatar-head .wb-media-mini-btn.is-refreshing {
    opacity: 0.76;
    transform: none;
    filter: none;
    cursor: pointer !important;
  }
  #wb-workbench-page .wb-media-result-row > .wb-media-mini-btn,
  #wb-workbench-page .wb-media-result-row + div > .wb-media-mini-btn,
  #wb-workbench-page .wb-media-video-file-row > .wb-media-mini-btn {
    min-height: 36px;
    min-width: 0;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 600;
    background: #00c8ff;
    border: 1px solid #00c8ff;
    border-radius: 8px;
    color: #fff;
    box-shadow: 0 3px 8px rgba(0, 200, 255, 0.18);
  }
  #wb-workbench-page .wb-media-result-row > .wb-media-mini-btn:hover,
  #wb-workbench-page .wb-media-result-row > .wb-media-mini-btn:focus,
  #wb-workbench-page .wb-media-result-row > .wb-media-mini-btn:active,
  #wb-workbench-page .wb-media-result-row + div > .wb-media-mini-btn:hover,
  #wb-workbench-page .wb-media-result-row + div > .wb-media-mini-btn:focus,
  #wb-workbench-page .wb-media-result-row + div > .wb-media-mini-btn:active,
  #wb-workbench-page .wb-media-video-file-row > .wb-media-mini-btn:hover,
  #wb-workbench-page .wb-media-video-file-row > .wb-media-mini-btn:focus,
  #wb-workbench-page .wb-media-video-file-row > .wb-media-mini-btn:active {
    background: #00b8eb;
    border-color: #00b8eb;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 200, 255, 0.26);
  }
  #wb-workbench-page .wb-media-tone-group > .wb-media-group-title,
  #wb-workbench-page .wb-media-tone-group + .wb-media-group > .wb-media-group-title {
    display: none;
  }
  #wb-workbench-page .wb-media-player {
    min-height: 36px;
    border-radius: 6px;
    gap: 7px;
    padding: 0 10px;
    font-size: 14px;
  }
  #wb-workbench-page .wb-media-play {
    width: 22px;
    height: 22px;
    font-size: 10px;
    background: #00c8ff;
    color: #fff;
  }
  #wb-workbench-page .wb-media-time {
    font-size: 12px;
  }
  #wb-workbench-page .wb-media-video-result {
    min-height: 36px;
    border-radius: 6px;
    font-size: 14px;
    justify-content: flex-start;
    padding: 0 12px;
  }
  #wb-workbench-page .wb-vclip-layout,
  #wb-workbench-page .wb-vclip-step,
  #wb-workbench-page .wb-vclip-list,
  #wb-workbench-page .wb-vclip-col {
    gap: 12px;
  }
  #wb-workbench-page .wb-right-top {
    overflow-x: visible;
  }
  #wb-workbench-page .wb-right-top .wb-vclip-layout {
    grid-template-columns: minmax(420px, 1fr) minmax(420px, 1fr);
    gap: 20px;
  }
  #wb-workbench-page .wb-right-top > .wb-panel-title:not(.wb-vclip-new-title),
  #wb-workbench-page .wb-right-top > .wb-vclip-layout:not(.wb-vclip-new-layout) {
    display: none;
  }
  #wb-workbench-page .wb-vclip-new-layout {
    display: grid;
    grid-template-columns: minmax(420px, 1fr) minmax(420px, 1fr);
    min-width: 880px;
  }
  #wb-workbench-page .wb-vclip-new-layout > .wb-vclip-col:first-child {
    min-width: 420px;
    transform: translateY(6px);
  }
  #wb-workbench-page .wb-vclip-col {
    gap: 10px;
    padding: 4px 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  #wb-workbench-page .wb-vclip-step {
    gap: 10px;
    padding: 0;
    border: 0;
    border-bottom: 0;
    border-radius: 0;
    background: transparent;
  }
  #wb-workbench-page .wb-vclip-step:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }
  #wb-workbench-page .wb-vclip-bgm-step {
    gap: 18px;
  }
  #wb-workbench-page .wb-vclip-bgm-step .wb-vclip-step-head {
    margin-bottom: -10px;
  }
  #wb-workbench-page .wb-vclip-step-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  #wb-workbench-page .wb-vclip-status {
    display: none;
  }
  #wb-workbench-page .wb-vclip-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
  }
  #wb-workbench-page .wb-vclip-check input {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: var(--wb-blue);
  }
  #wb-workbench-page .wb-vclip-refresh {
    min-height: 36px;
    min-width: 74px;
    padding: 0 12px;
    background: #00c8ff;
    background-image: none;
    border-color: #00c8ff;
    color: #fff;
    box-shadow: 0 3px 8px rgba(0, 200, 255, 0.16);
    border-radius: 8px;
  }
  #wb-workbench-page .wb-vclip-player {
    width: 100%;
    min-height: 36px;
  }
  #wb-workbench-page .wb-vclip-native-audio {
    width: 100%;
    height: 42px;
    border-radius: 22px;
    background: #f3f5f7;
    display: block;
  }
  #wb-workbench-page .wb-vclip-new-layout .wb-slider-row {
    font-size: 14px;
    font-weight: 500;
  }
  #wb-workbench-page .wb-vclip-new-layout .wb-slider-track {
    height: 5px;
    border-radius: 5px;
  }
  #wb-workbench-page .wb-vclip-new-layout .wb-slider-track::after {
    width: 16px;
    height: 16px;
  }
  #wb-workbench-page .wb-vclip-result-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 74px;
    gap: 10px;
    align-items: stretch;
  }
  #wb-workbench-page .wb-preview {
    min-height: 320px;
    max-width: none;
    width: 100%;
  }
  #wb-workbench-page .wb-vclip-preview-col {
    min-width: 420px;
    align-items: stretch;
    gap: 14px;
    padding: 8px 0 0;
  }
  #wb-workbench-page .wb-vclip-quality-row {
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
  }
  #wb-workbench-page .wb-vclip-quality-row span {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
  }
  #wb-workbench-page .wb-vclip-quality-row .wb-select {
    flex: 0 0 auto;
    width: 110px;
  }
  #wb-workbench-page .wb-vclip-main-btn {
    min-height: 48px;
    border-radius: 24px;
    background: #5FAFEF;
    background-image: none;
    border-color: #5FAFEF;
    color: #fff;
    box-shadow: 0 3px 8px rgba(95, 175, 239, 0.16);
  }
  #wb-workbench-page .wb-vclip-main-btn:hover,
  #wb-workbench-page .wb-vclip-main-btn:focus,
  #wb-workbench-page .wb-vclip-main-btn:active {
    background: #5FAFEF;
    border-color: #5FAFEF;
    color: #fff;
  }
  #wb-workbench-page .wb-vclip-player .wb-media-play,
  #wb-workbench-page .wb-vclip-preview-col .wb-preview-play {
    background: #00c8ff;
    color: #fff;
  }
#wb-workbench-page .wb-vclip-new-layout .wb-vclip-preview-col .wb-preview-play {
  width: 63px;
  height: 63px;
  font-size: 1.6rem;
}
  #wb-workbench-page .wb-vclip-preview-col .wb-preview {
    min-width: 420px;
    min-height: 280px;
    height: 280px;
    width: 100%;
    background: #F1FAFF;
    background-image: none;
    border: 1px solid rgba(160, 175, 200, 0.18);
  }
  #wb-workbench-page .wb-vclip-preview-col .wb-preview-inner {
    gap: 12px;
    background: #F1FAFF;
    background-image: none;
  }
  #wb-workbench-page .wb-vclip-preview-col .wb-preview-inner.is-loaded {
    padding: 0;
    background: #000;
  }
  #wb-workbench-page .wb-vclip-preview-video {
    width: 100%;
    height: 100%;
    min-height: 100%;
    border-radius: 10px;
    object-fit: contain;
    background: #000;
  }
  .wb-copy-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding-bottom: 3px;
  }
  .wb-copy-chip {
    min-height: 22px;
    padding: 0 9px;
    border-radius: 999px;
    border: 1px solid rgba(77, 132, 230, 0.28);
    background: #f4f8fe;
    color: #4a5f82;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }
  .wb-copy-chip::before {
    content: "✦";
    font-size: 0.65rem;
    color: #5a78ad;
    line-height: 1;
  }
  .wb-auto-toggle {
    min-height: 22px;
    padding: 0 9px;
    border-radius: 999px;
    border: 1px solid rgba(77, 132, 230, 0.95);
    background: linear-gradient(180deg, var(--wb-blue-hi) 0%, var(--wb-blue-deep) 100%);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    transition: filter 0.15s ease, transform 0.15s ease;
  }
  .wb-auto-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.92);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.46rem;
    font-weight: 600;
    line-height: 1;
    color: var(--wb-blue-deep);
    flex-shrink: 0;
  }
  .wb-auto-dot::before {
    content: "✓";
    opacity: 0;
    transition: opacity 0.12s ease;
  }
  .wb-auto-label {
    color: #ffffff;
    line-height: 1;
  }
  .wb-auto-toggle:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
  }
  .wb-auto-toggle[aria-pressed="true"] .wb-auto-dot::before {
    opacity: 1;
  }
  .wb-subtitle {
    font-size: 0.74rem;
    font-weight: 600;
    color: #3a4254;
    margin-top: 2px;
  }
  .wb-input,
  .wb-select,
  .wb-textarea {
    width: 100%;
    min-height: 27px;
    border: 1px solid var(--wb-input-border);
    border-radius: 10px;
    background: var(--wb-input-bg);
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--wb-text-sec);
    padding: 0 8px;
    line-height: 27px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  }
  .wb-textarea {
    min-height: 52px;
    line-height: 1.5;
    padding: 5px 8px;
    resize: vertical;
  }
  .wb-textarea-lg { min-height: 56px; }
  .wb-textarea.wb-copy-result {
    min-height: 175px;
    height: 175px;
    font-size: 16px;
    line-height: 1.55;
  }
  #wb-copy-gen-result,
  #wb-copy-rewrite-result {
    font-size: 13px;
    line-height: 1.45;
    color: #4b5563;
    padding: 10px 12px;
    overflow: auto;
  }
  #wb-copy-gen-result::placeholder,
  #wb-copy-rewrite-result::placeholder {
    font-size: 13px;
    line-height: 1.45;
  }
  .wb-input::placeholder,
  .wb-textarea::placeholder {
    color: var(--wb-placeholder);
  }
  .wb-input:focus,
  .wb-select:focus,
  .wb-textarea:focus {
    outline: none;
    border-color: rgba(120, 165, 225, 0.65);
    background: #ffffff;
    box-shadow: 0 0 0 3px var(--wb-focus-ring);
  }
  .wb-select {
    appearance: none;
    cursor: pointer;
    padding-right: 38px;
    color: var(--wb-text-sec);
    background-color: var(--wb-input-bg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237c8699' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 11px center;
    background-size: 12px;
  }
  .wb-input:disabled,
  .wb-select:disabled,
  .wb-textarea:disabled,
  .wb-input[readonly],
  .wb-textarea[readonly] {
    opacity: 0.92;
    cursor: default;
  }
  .wb-row { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
  .wb-row-sp { justify-content: space-between; }
  .wb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 27px;
    padding: 0 8px;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 500;
    color: #ffffff;
    background: linear-gradient(180deg, var(--wb-blue-hi) 0%, var(--wb-blue-deep) 100%);
    box-shadow: 0 4px 10px rgba(77, 132, 230, 0.2);
    cursor: pointer;
    transition: filter 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  }
  .wb-btn:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(77, 132, 230, 0.26);
  }
  .wb-btn-sm {
    min-height: 24px;
    padding: 0 7px;
    font-size: 0.74rem;
    border-radius: 10px;
  }
  .wb-btn-outline {
    min-height: 24px;
    background: #ffffff;
    color: var(--wb-blue);
    border: 1px solid rgba(77, 132, 230, 0.42);
    box-shadow: none;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
    cursor: pointer;
  }
  .wb-btn-outline:hover {
    background: rgba(77, 132, 230, 0.07);
    border-color: rgba(77, 132, 230, 0.55);
    transform: translateY(-1px);
  }
  .wb-radio {
    font-size: 0.74rem;
    color: var(--wb-text-sec);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
  }
  .wb-radio label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    line-height: 1.2;
  }
  .wb-radio input[type="radio"] {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: var(--wb-blue);
    flex-shrink: 0;
  }
  .wb-rewrite-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 2px;
  }
  .wb-rewrite-head .wb-subtitle {
    margin-top: 0;
    flex: 0 0 auto;
  }
  .wb-rewrite-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
  }
  .wb-rewrite-radio {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: var(--wb-text-sec);
    white-space: nowrap;
    cursor: pointer;
  }
  .wb-rewrite-radio input {
    width: 13px;
    height: 13px;
    margin: 0;
    accent-color: var(--wb-blue);
  }
  .wb-rewrite-main-btn {
    width: 100%;
    min-height: 32px;
    font-size: 0.82rem;
    font-weight: 600;
  }
  .wb-rewrite-note {
    font-size: 0.72rem;
    color: var(--wb-muted);
    line-height: 1.35;
  }
  .wb-audio-bar {
    height: 27px;
    min-height: 27px;
    border-radius: 10px;
    background: var(--wb-input-bg);
    border: 1px solid var(--wb-input-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    color: var(--wb-muted);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
  }
  .wb-slider-row {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    color: var(--wb-text-sec);
  }
  .wb-slider-track {
    flex: 1;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(77, 132, 230, 0.22), rgba(77, 132, 230, 0.06));
    position: relative;
  }
  .wb-slider-track::after {
    content: "";
    position: absolute;
    right: 30%;
    top: 50%;
    transform: translateY(-50%);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid rgba(77, 132, 230, 0.78);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9), 0 1px 4px rgba(60, 90, 140, 0.18);
  }
  .wb-vclip-layout { display: grid; gap: 8px; flex: 1; min-height: 0; align-items: stretch; grid-template-columns: minmax(210px, 0.9fr) minmax(280px, 1.1fr); }
  .wb-right-top .wb-vclip-layout { gap: clamp(5px, 0.55vw, 7px); }
  .wb-vclip-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 5px 6px 6px;
    border-radius: 10px;
    background: #f9fbfd;
    border: 1px solid rgba(160, 175, 200, 0.16);
    min-height: 0;
    flex: 1;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset;
  }
  .wb-vclip-step {
    border: 1px solid rgba(160, 175, 200, 0.2);
    border-radius: 9px;
    background: #ffffff;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .wb-vclip-step-title {
    font-size: 0.72rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.2;
  }
  .wb-vclip-duo-btn {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }
  .wb-vclip-subtitle-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 0;
    line-height: 1.2;
  }
  .wb-vclip-subtitle-status {
    display: inline-flex;
    align-items: center;
    font-size: 0.88rem;
    line-height: 1.2;
    font-weight: 400;
    color: #2f8fe8;
    white-space: nowrap;
  }
  .wb-vclip-main-btn {
    min-height: 28px;
    width: 100%;
    padding: 0 9px;
  }
  .wb-vclip-music-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: #475569;
  }
  .wb-vclip-music-row .wb-select {
    flex: 1;
    min-height: 26px;
    line-height: 26px;
  }
  .wb-vclip-volume-range {
    flex: 1;
    width: 100%;
    accent-color: #00c8ff;
    cursor: pointer;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(0, 200, 255, 0.15);
    border-radius: 4px;
    outline: none;
    transition: background 0.2s;
  }
  .wb-vclip-volume-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #00c8ff;
    box-shadow: 0 1px 4px rgba(0, 200, 255, 0.25);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }
  .wb-vclip-volume-range::-webkit-slider-thumb:hover {
    box-shadow: 0 2px 8px rgba(0, 200, 255, 0.45);
    transform: scale(1.12);
  }
  .wb-vclip-volume-range:active::-webkit-slider-thumb {
    transform: scale(1.18);
    box-shadow: 0 3px 10px rgba(0, 200, 255, 0.55);
    background: #e0faff;
  }
  .wb-vclip-volume-range::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #00c8ff;
    box-shadow: 0 1px 4px rgba(0, 200, 255, 0.25);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }
  .wb-vclip-volume-range::-moz-range-track {
    background: rgba(0, 200, 255, 0.15);
    border-radius: 4px;
    height: 4px;
  }
  .wb-vclip-volume-wrap {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
  }
  .wb-vclip-volume-wrap .wb-vclip-volume-range {
    width: 100%;
  }
  .wb-vclip-volume-bubble {
    position: absolute;
    top: -28px;
    transform: translateX(-50%);
    background: #00c8ff;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    padding: 3px 7px;
    border-radius: 7px;
    box-shadow: 0 2px 6px rgba(0, 200, 255, 0.35);
    pointer-events: none;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.18s ease;
    z-index: 10;
  }
  .wb-vclip-volume-bubble.is-visible {
    opacity: 1;
  }
  .wb-vclip-output {
    min-height: 26px;
    border-radius: 8px;
    border: 1px solid rgba(160, 175, 200, 0.2);
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    color: #64748b;
  }
  .wb-vclip-preview-col {
    display: flex;
    flex-direction: column;
    min-height: 0;
    gap: 6px;
  }
  .wb-vclip-quality-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    font-size: 0.7rem;
    color: #475569;
  }
  .wb-vclip-quality-row .wb-select {
    width: 118px;
    min-height: 26px;
    line-height: 26px;
  }
  .wb-vclip-preview-col .wb-preview {
    flex: 1;
    min-height: 152px;
  }
  .wb-copy-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.36);
    pointer-events: none;
  }
  .wb-copy-modal:not(.is-open) {
    pointer-events: none;
  }
  .wb-copy-modal.is-open {
    display: flex;
  }
  .wb-copy-modal-card {
    position: relative;
    width: min(392px, calc(100vw - 72px));
    min-height: 188px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(160, 175, 200, 0.24);
    box-shadow: 0 28px 68px rgba(15, 23, 42, 0.2);
    padding: 32px 28px 28px;
    text-align: center;
    pointer-events: auto;
  }
  .wb-copy-loading-dot {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    border: 6px solid rgba(77, 132, 230, 0.2);
    border-top-color: var(--wb-blue-deep);
    animation: wbCopySpin 0.8s linear infinite;
  }
  .wb-loading-dots {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    filter: drop-shadow(0 8px 16px rgba(34, 142, 230, 0.14));
  }
  .wb-loading-dots span {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    animation: dot-pulse 1.2s ease-in-out infinite;
  }
  .wb-loading-dots span:nth-child(1) {
    background: #00c8ff;
    animation-delay: 0s;
  }
  .wb-loading-dots span:nth-child(2) {
    background: #5FAFEF;
    animation-delay: 0.2s;
  }
  .wb-loading-dots span:nth-child(3) {
    background: #0080ff;
    animation-delay: 0.4s;
  }
  @keyframes dot-pulse {
    0%, 100% {
      transform: scale(0.55);
      opacity: 0.5;
    }
    50% {
      transform: scale(1);
      opacity: 1;
    }
  }
  .wb-copy-loading-title {
    font-size: 16px;
    font-weight: 700;
    color: #18233a;
    letter-spacing: 0.3px;
    line-height: 1.2;
  }
  #wb-copy-modal .wb-copy-loading-title,
  #wb-tts-loading-modal .wb-copy-loading-title,
  #wb-vclip-loading-modal .wb-copy-loading-title,
  #wb-audio-engine-loading-modal .wb-copy-loading-title,
  #wb-copy-rewrite-loading-modal .wb-copy-loading-title,
  #wb-topic-generate-loading-modal .wb-copy-loading-title,
  #wb-mm-clone-loading-modal .wb-copy-loading-title,
  #wb-video-loading-modal .wb-copy-loading-title {
    font-weight: 500;
  }
  .wb-copy-loading-sub {
    margin-top: 8px;
    font-size: 16px;
    color: #64748b;
    line-height: 1.2;
  }
  .wb-wait-progress-track {
    position: relative;
    width: min(260px, 78%);
    height: 9px;
    margin: 14px auto 0;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(226, 232, 240, 0.92);
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08), 0 8px 18px rgba(79, 140, 255, 0.12);
  }
  .wb-wait-progress-fill {
    position: relative;
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #22c6ff 0%, #4f8cff 56%, #7c5cff 100%);
    box-shadow: 0 0 14px rgba(79, 140, 255, 0.45);
    transition: width 0.35s ease;
  }
  .wb-wait-progress-dot {
    position: absolute;
    top: 50%;
    right: 0;
    width: 13px;
    height: 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 0 10px rgba(34, 198, 255, 0.85), 0 0 18px rgba(124, 92, 255, 0.5);
    transform: translate(50%, -50%);
    pointer-events: none;
  }
  .wb-wait-progress-fill[style*="width: 0%"] .wb-wait-progress-dot,
  .wb-wait-progress-fill[style*="width:0%"] .wb-wait-progress-dot {
    opacity: 0;
  }
  .wb-loading-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
    color: #64748b;
    font-size: 20px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  }
  .wb-loading-modal-close:hover {
    background: rgba(15, 23, 42, 0.08);
    color: #2f80c8;
    transform: scale(1.08);
  }
  .wb-loading-modal-close:active {
    transform: scale(0.96);
  }
  .wb-publish-loading-modal {
    position: fixed;
    inset: 0;
    z-index: 1800;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.46);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: modalFadeIn 0.18s ease-out;
  }
  .wb-publish-loading-modal.is-open {
    display: flex;
  }
  #wb-copy-modal,
  #wb-tts-loading-modal,
  #wb-vclip-loading-modal,
  #wb-publish-loading-modal,
  #wb-audio-engine-loading-modal,
  #wb-copy-rewrite-loading-modal,
  #wb-topic-generate-loading-modal,
  #wb-mm-clone-loading-modal,
  #wb-video-loading-modal {
    position: fixed;
    inset: 0;
    z-index: 9990;
    background: rgba(15, 23, 42, 0.38);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    pointer-events: none;
  }
  #wb-copy-modal.is-open,
  #wb-tts-loading-modal.is-open,
  #wb-vclip-loading-modal.is-open,
  #wb-publish-loading-modal.is-open,
  #wb-audio-engine-loading-modal.is-open,
  #wb-copy-rewrite-loading-modal.is-open,
  #wb-topic-generate-loading-modal.is-open,
  #wb-mm-clone-loading-modal.is-open,
  #wb-video-loading-modal.is-open {
    display: flex;
    pointer-events: auto;
  }
  #wb-copy-modal .wb-copy-modal-card,
  #wb-tts-loading-modal .wb-copy-modal-card,
  #wb-vclip-loading-modal .wb-copy-modal-card,
  #wb-publish-loading-modal .wb-publish-loading-card,
  #wb-audio-engine-loading-modal .wb-copy-modal-card,
  #wb-copy-rewrite-loading-modal .wb-copy-modal-card,
  #wb-topic-generate-loading-modal .wb-copy-modal-card,
  #wb-mm-clone-loading-modal .wb-copy-modal-card,
  #wb-video-loading-modal .wb-copy-modal-card {
    position: relative;
    z-index: 10000;
    pointer-events: auto;
  }
  #wb-copy-modal .wb-copy-modal-card,
  #wb-tts-loading-modal .wb-copy-modal-card,
  #wb-vclip-loading-modal .wb-copy-modal-card,
  #wb-audio-engine-loading-modal .wb-copy-modal-card,
  #wb-copy-rewrite-loading-modal .wb-copy-modal-card,
  #wb-topic-generate-loading-modal .wb-copy-modal-card,
  #wb-mm-clone-loading-modal .wb-copy-modal-card,
  #wb-video-loading-modal .wb-copy-modal-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.55);
  }
  #wb-copy-modal .wb-loading-modal-close,
  #wb-tts-loading-modal .wb-loading-modal-close,
  #wb-vclip-loading-modal .wb-loading-modal-close,
  #wb-publish-loading-modal .wb-loading-modal-close,
  #wb-audio-engine-loading-modal .wb-loading-modal-close,
  #wb-copy-rewrite-loading-modal .wb-loading-modal-close,
  #wb-topic-generate-loading-modal .wb-loading-modal-close,
  #wb-mm-clone-loading-modal .wb-loading-modal-close,
  #wb-video-loading-modal .wb-loading-modal-close {
    z-index: 10001;
    pointer-events: auto;
  }
  body:has(#wb-copy-modal.is-open) .wb-app,
  body:has(#wb-tts-loading-modal.is-open) .wb-app,
  body:has(#wb-vclip-loading-modal.is-open) .wb-app,
  body:has(#wb-publish-loading-modal.is-open) .wb-app,
  body:has(#wb-audio-engine-loading-modal.is-open) .wb-app,
  body:has(#wb-copy-rewrite-loading-modal.is-open) .wb-app,
  body:has(#wb-topic-generate-loading-modal.is-open) .wb-app,
  body:has(#wb-mm-clone-loading-modal.is-open) .wb-app,
  body:has(#wb-video-loading-modal.is-open) .wb-app {
    z-index: auto;
  }
  body:has(#wb-copy-modal.is-open) .wb-menu-trigger,
  body:has(#wb-tts-loading-modal.is-open) .wb-menu-trigger,
  body:has(#wb-vclip-loading-modal.is-open) .wb-menu-trigger,
  body:has(#wb-publish-loading-modal.is-open) .wb-menu-trigger,
  body:has(#wb-audio-engine-loading-modal.is-open) .wb-menu-trigger,
  body:has(#wb-copy-rewrite-loading-modal.is-open) .wb-menu-trigger,
  body:has(#wb-topic-generate-loading-modal.is-open) .wb-menu-trigger,
  body:has(#wb-mm-clone-loading-modal.is-open) .wb-menu-trigger,
  body:has(#wb-video-loading-modal.is-open) .wb-menu-trigger {
    z-index: 9999 !important;
    pointer-events: auto !important;
  }
  body:has(#wb-copy-modal.is-open) .wb-clone-sidebar.is-open,
  body:has(#wb-tts-loading-modal.is-open) .wb-clone-sidebar.is-open,
  body:has(#wb-vclip-loading-modal.is-open) .wb-clone-sidebar.is-open,
  body:has(#wb-publish-loading-modal.is-open) .wb-clone-sidebar.is-open,
  body:has(#wb-audio-engine-loading-modal.is-open) .wb-clone-sidebar.is-open,
  body:has(#wb-copy-rewrite-loading-modal.is-open) .wb-clone-sidebar.is-open,
  body:has(#wb-topic-generate-loading-modal.is-open) .wb-clone-sidebar.is-open,
  body:has(#wb-mm-clone-loading-modal.is-open) .wb-clone-sidebar.is-open,
  body:has(#wb-video-loading-modal.is-open) .wb-clone-sidebar.is-open {
    z-index: 9998 !important;
    pointer-events: auto !important;
  }
  #wb-vclip-subtitle-modal,
  #wb-vclip-pip-picker-modal,
  #wb-vclip-subtitle-overwrite-modal,
  #wb-vclip-title-setting-modal,
  #wb-cover-preview-modal,
  #wb-cover-template-modal,
  #wb-tts-not-started-modal,
  #wb-avatar-rename-modal,
  #wb-avatar-delete-confirm-modal,
  #wb-pip-import-modal,
  #wb-avatar-import-modal,
  #wb-delete-voice-modal,
  #wb-workbench-alert-modal,
  #wb-copy-rewrite-config-modal,
  #wb-upload-voice-modal,
  #wb-mm-clone-modal,
  #wb-edit-voice-modal {
    position: fixed;
    inset: 0;
    z-index: 9990 !important;
    background: rgba(15, 23, 42, 0.38) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    pointer-events: auto !important;
  }
  #wb-vclip-subtitle-modal .wb-copy-modal-card,
  #wb-vclip-pip-picker-modal .wb-copy-modal-card,
  #wb-vclip-subtitle-overwrite-modal .wb-copy-modal-card,
  #wb-vclip-title-setting-modal .wb-copy-modal-card,
  #wb-cover-preview-modal > div,
  #wb-cover-template-modal .wb-cover-template-card-modal,
  #wb-tts-not-started-modal .wb-copy-modal-card,
  #wb-avatar-rename-modal > div,
  #wb-avatar-delete-confirm-modal .wb-avatar-delete-confirm-card,
  #wb-pip-import-modal > div,
  #wb-avatar-import-modal > div,
  #wb-delete-voice-modal .wb-delete-modal-card,
  #wb-workbench-alert-modal .wb-alert-modal-card,
  #wb-copy-rewrite-config-modal .wb-rewrite-config-card,
  #wb-upload-voice-modal .wb-upload-card,
  #wb-mm-clone-modal .wb-mm-clone-card,
  #wb-edit-voice-modal .wb-edit-card {
    position: relative;
    z-index: 10000;
    pointer-events: auto;
  }
  body.wb-business-modal-open .wb-app {
    z-index: auto;
  }
  body.wb-business-modal-open #wb-menu-trigger {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(-50%) !important;
    z-index: 10001 !important;
  }
  body.wb-business-modal-open #wb-clone-sidebar.is-open {
    z-index: 10001 !important;
    pointer-events: auto !important;
  }
  .wb-publish-loading-card {
    position: relative;
    width: min(420px, calc(100vw - 56px));
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 30px 78px rgba(15, 23, 42, 0.24);
    padding: 34px 30px 28px;
    text-align: center;
    overflow: hidden;
    animation: cardPop 0.22s ease-out;
  }
  .publish-animation-wrap {
    position: relative;
    width: 92px;
    height: 92px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .publish-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 4px solid rgba(95, 175, 239, 0.2);
    border-top-color: #5FAFEF;
    border-right-color: #41C7D7;
    animation: spin 0.95s linear infinite;
  }
  .publish-ring.second {
    inset: 12px;
    border-width: 3px;
    border-color: rgba(65, 199, 215, 0.18);
    border-bottom-color: #41C7D7;
    border-left-color: #5FAFEF;
    animation-duration: 1.35s;
    animation-direction: reverse;
  }
  .publish-icon {
    position: relative;
    z-index: 1;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, #5FAFEF 0%, #41C7D7 100%);
    box-shadow: 0 10px 24px rgba(65, 199, 215, 0.28);
    animation: floatIcon 1.5s ease-in-out infinite;
  }
  .publish-icon svg {
    width: 23px;
    height: 23px;
    display: block;
  }
  .wb-publish-loading-title {
    font-size: 20px;
    font-weight: 700;
    color: #172033;
    line-height: 1.3;
    margin-bottom: 10px;
  }
  .wb-publish-loading-desc {
    max-width: 330px;
    margin: 0 auto;
    font-size: 14px;
    color: #5f6f86;
    line-height: 1.7;
  }
  .publish-progress-line {
    position: relative;
    height: 6px;
    margin: 24px auto 16px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(95, 175, 239, 0.16);
  }
  .publish-progress-line::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -42%;
    width: 42%;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent 0%, #5FAFEF 35%, #41C7D7 100%);
    animation: progressMove 1.2s ease-in-out infinite;
  }
  .publish-small-tip {
    font-size: 12px;
    color: #7a879a;
    line-height: 1.6;
  }
  @keyframes spin {
    to { transform: rotate(360deg); }
  }
  @keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
  }
  @keyframes progressMove {
    0% { left: -42%; }
    100% { left: 100%; }
  }
  @keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  @keyframes cardPop {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
  .wb-rewrite-config-modal {
    position: fixed;
    inset: 0;
    z-index: 1210;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.38);
  }
  .wb-rewrite-config-modal.is-open {
    display: flex;
  }
  .wb-rewrite-config-card {
    width: min(900px, calc(100vw - 36px));
    max-height: calc(100vh - 44px);
    overflow: auto;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(160, 175, 200, 0.24);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
    padding: 12px;
  }
  .wb-rewrite-config-title {
    font-size: 1rem;
    font-weight: 650;
    color: #1f2937;
    margin-bottom: 14px;
  }
  .wb-rewrite-config-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .wb-rewrite-config-grid label {
    display: block;
    margin-bottom: 7px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #374151;
  }
  .wb-rewrite-config-grid textarea {
    min-height: 300px;
  }
  .wb-rewrite-config-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 14px;
  }
  #wb-copy-rewrite-config-modal {
    padding: 24px !important;
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }
  #wb-copy-rewrite-config-modal .wb-rewrite-config-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(1554px, 76vw);
    min-width: min(1100px, calc(100vw - 48px));
    height: min(867px, 80vh);
    max-height: calc(100vh - 48px);
    overflow: hidden;
    border-radius: 12px;
    background: #ffffff;
    border: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    padding: 16px;
    box-sizing: border-box;
  }
  #wb-copy-rewrite-config-modal .wb-rewrite-config-title {
    flex: 0 0 auto;
    min-height: 48px;
    margin: 0;
    padding: 0 56px 14px 0;
    border-bottom: 1px solid #e5e7eb;
    color: #1f2937;
    font-size: 15px;
    font-weight: 600;
    line-height: 34px;
  }
  #wb-copy-rewrite-config-modal .wb-rewrite-config-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    color: #8a96a8;
    border-radius: 8px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  #wb-copy-rewrite-config-modal .wb-rewrite-config-close:hover,
  #wb-copy-rewrite-config-modal .wb-rewrite-config-close:focus {
    color: #374151;
    background: rgba(15, 23, 42, 0.04);
  }
  #wb-copy-rewrite-config-modal .wb-rewrite-config-grid {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
    min-height: 0;
    padding: 24px 24px 0;
    box-sizing: border-box;
  }
  #wb-copy-rewrite-config-modal .wb-rewrite-config-grid > div {
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  #wb-copy-rewrite-config-modal .wb-rewrite-config-grid label {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
  }
  #wb-copy-rewrite-config-modal .wb-rewrite-config-grid label::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 16px;
    border-radius: 2px;
    background: linear-gradient(180deg, #5FAFEF, #3a8fd4);
    flex: 0 0 auto;
  }
  #wb-copy-rewrite-config-modal .wb-rewrite-config-grid textarea {
    flex: 0 0 auto;
    width: 100%;
    min-height: min(585px, calc(80vh - 282px));
    height: min(585px, calc(80vh - 282px));
    max-height: none;
    resize: none;
    overflow-y: auto;
    background: rgb(250, 250, 250);
    border: 1px solid rgb(224, 224, 224);
    border-radius: 8px;
    padding: 16px;
    color: #111827;
    font-size: 14px;
    line-height: 22.4px;
    box-sizing: border-box;
    box-shadow: none;
  }
  #wb-copy-rewrite-config-modal .wb-rewrite-config-grid textarea::-webkit-scrollbar {
    width: 8px;
  }
  #wb-copy-rewrite-config-modal .wb-rewrite-config-grid textarea::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.45);
    border-radius: 999px;
  }
  #wb-copy-rewrite-config-modal .wb-rewrite-config-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    margin: 0;
    padding: 24px;
    box-sizing: border-box;
  }
  #wb-copy-rewrite-config-modal .wb-rewrite-config-actions .wb-btn {
    width: 92px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    border-radius: 8px;
    box-shadow: none;
    font-size: 14px;
    font-weight: 600;
  }
  #wb-copy-rewrite-config-modal #wb-copy-rewrite-config-confirm {
    background: #5FAFEF;
    border-color: #5FAFEF;
    color: #ffffff;
  }
  #wb-copy-rewrite-config-modal #wb-copy-rewrite-config-confirm:hover,
  #wb-copy-rewrite-config-modal #wb-copy-rewrite-config-confirm:focus {
    background: #4b9dde;
    border-color: #4b9dde;
  }
  #wb-copy-rewrite-config-modal #wb-copy-rewrite-config-cancel {
    width: 94px;
    background: #f8fafc;
    border: 1px solid rgb(224, 224, 224);
    color: #4b5563;
  }
  @keyframes wbCopySpin {
    to { transform: rotate(360deg); }
  }
  .wb-preview {
    border-radius: 12px;
    background:
      radial-gradient(ellipse 78% 70% at 50% 38%, rgba(94, 128, 176, 0.2) 0%, transparent 58%),
      linear-gradient(180deg, #1b2430 0%, #202a38 54%, #263244 100%);
    border: 1px solid rgba(84, 108, 140, 0.5);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.04),
      0 12px 28px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    align-self: start;
    overflow: hidden;
    min-height: 138px;
    padding: 5px;
    color: rgba(226, 232, 240, 0.78);
    font-size: 0.74rem;
  }
  .wb-preview-inner {
    flex: 0 0 auto;
    min-height: 100%;
    height: 100%;
    width: 100%;
    border-radius: 10px;
    background: rgba(8, 11, 16, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5px 5px;
    gap: 5px;
  }
  .wb-preview-play {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 1.2rem;
    padding-left: 3px;
    cursor: pointer;
  }
  .wb-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
  .wb-thumb {
    aspect-ratio: 16/10;
    border-radius: 10px;
    background: linear-gradient(135deg, #fbfcfe, #f1f4f9);
    border: 1px solid rgba(160, 175, 200, 0.16);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  }
  #wb-workbench-page .wb-cover-panel {
    gap: 10px;
    padding: 10px;
  }
  #wb-workbench-page .wb-cover-title-row {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(92px, 1fr);
    gap: 8px;
    align-items: stretch;
  }
  #wb-workbench-page .wb-cover-title-input {
    min-height: 42px;
    height: 42px;
    line-height: 42px;
  }
  #wb-workbench-page .wb-cover-title-btn {
    width: 100%;
    min-height: 42px;
    height: 42px;
    border-radius: 999px;
    font-size: 14px;
    background: #5FAFEF;
    box-shadow: 0 4px 10px rgba(95, 175, 239, 0.22);
  }
  #wb-workbench-page .wb-cover-template-edit {
    width: 100%;
    min-height: 44px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    background: #5FAFEF;
    border-color: #5FAFEF;
    color: #ffffff;
  }
  #wb-workbench-page .wb-cover-action-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  #wb-workbench-page .wb-cover-action-btn {
    width: 100%;
    min-height: 44px;
    border-radius: 999px;
    font-size: 15px;
    background: #5FAFEF;
    border-color: #5FAFEF;
    color: #ffffff;
  }
  #wb-workbench-page .wb-btn-outline.wb-cover-action-btn {
    font-weight: 700;
  }
  #wb-workbench-page .wb-cover-template-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: flex-start;
    gap: 0;
    overflow: hidden;
  }
  #wb-workbench-page .wb-cover-template-card {
    width: 98px;
    min-width: 98px;
    flex-shrink: 0;
    border: 1px solid rgba(160, 175, 200, 0.22);
    border-radius: 12px;
    background: #ffffff;
    padding: 4px 4px 6px;
    box-shadow: 0 6px 14px rgba(90, 110, 150, 0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: default;
    font-family: inherit;
  }
  #wb-workbench-page .wb-cover-template-card.is-selected {
    border-color: rgba(160, 175, 200, 0.22);
    box-shadow: 0 6px 14px rgba(90, 110, 150, 0.07);
  }
  #wb-workbench-page .wb-cover-template-card img {
    width: 100%;
    aspect-ratio: 267 / 306;
    border-radius: 9px;
    display: block;
    object-fit: cover;
    background: #eef4fb;
  }
  #wb-workbench-page .wb-cover-template-card span {
    max-width: none;
    color: #26364f;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    text-align: center;
  }
  }
  #wb-workbench-page .wb-cover-preview-title {
    display: none;
  }
  #wb-workbench-page .wb-cover-preview-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 82px;
    gap: 8px;
    align-items: center;
  }
  #wb-workbench-page .wb-cover-preview-box {
    min-height: 36px;
    border: 1px dashed rgba(77, 132, 230, 0.32);
    border-radius: 6px;
    background: rgba(77, 132, 230, 0.06);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 0 12px;
    color: #64748b;
    font-size: 14px;
  }
  #wb-workbench-page .wb-cover-preview-box strong {
    display: none;
  }
  #wb-workbench-page .wb-cover-preview-box span {
    display: none;
  }
  #wb-workbench-page #wb-vclip-output-status,
  #wb-workbench-page #wb-video-result-text,
  #wb-workbench-page #wb-cover-preview-box {
    background: #F7F4F9;
  }
  #wb-workbench-page .wb-cover-preview-btn {
    min-height: 36px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 600;
    background: #00c8ff;
    border: 1px solid #00c8ff;
    border-radius: 8px;
    color: #fff;
    box-shadow: none;
  }
  #wb-workbench-page .wb-cover-template-modal { position: fixed; inset: 0; z-index: 260; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(15, 23, 42, 0.36); }
  #wb-workbench-page .wb-cover-template-modal.is-open { display: flex; }
  #wb-workbench-page .wb-cover-template-card-modal { width: min(1120px, 94vw); max-height: 92vh; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24); display: flex; flex-direction: column; }
  #wb-workbench-page .wb-cover-template-header, #wb-workbench-page .wb-cover-template-footer { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid rgba(226, 232, 240, 0.9); }
  #wb-workbench-page .wb-cover-template-footer { justify-content: flex-end; border-top: 1px solid rgba(226, 232, 240, 0.9); border-bottom: 0; }
  #wb-workbench-page .wb-cover-template-title { font-size: 18px; font-weight: 700; color: #1f2937; }
  #wb-workbench-page .wb-cover-template-close { border: 0; background: transparent; color: #94a3b8; font-size: 24px; line-height: 1; cursor: pointer; padding: 2px 6px; }
  #wb-workbench-page .wb-cover-template-body { min-height: 0; overflow: auto; display: grid; grid-template-columns: minmax(300px, 35%) minmax(0, 65%); gap: 18px; padding: 18px 20px; background: #f8fafc; }
  #wb-workbench-page .wb-cover-template-left, #wb-workbench-page .wb-cover-template-right { min-width: 0; border: 1px solid rgba(226, 232, 240, 0.95); border-radius: 14px; background: #fff; padding: 16px; }
  #wb-workbench-page .wb-cover-template-section-title { margin: 0 0 10px; color: #26364f; font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
  #wb-workbench-page .wb-cover-template-section-title::before { content: ""; display: inline-block; width: 4px; height: 16px; border-radius: 2px; background: linear-gradient(180deg, #5FAFEF, #3a8fd4); flex-shrink: 0; }
  #wb-workbench-page .wb-cover-template-select-row-inline { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; position: relative; }
  #wb-workbench-page .wb-cover-template-select-label-plain { font-size: 14px; font-weight: 400; color: #475569; white-space: nowrap; flex-shrink: 0; }
  #wb-workbench-page .wb-cover-template-select-row-inline .wb-cover-template-select { flex: 1; width: auto; margin-bottom: 0; position: relative; padding-right: 32px; }
  #wb-workbench-page .wb-cover-template-preview-heading { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: #1f2937; text-align: center; }
  #wb-workbench-page .wb-cover-template-select, #wb-workbench-page .wb-cover-template-input, #wb-workbench-page .wb-cover-template-textarea { width: 100%; border: 1px solid #dbe4f0; border-radius: 10px; background: #f1f5f9; color: #1f2937; font-family: inherit; font-size: 14px; outline: none; appearance: none; -webkit-appearance: none; }
  #wb-workbench-page .wb-cover-template-select, #wb-workbench-page .wb-cover-template-input { height: 38px; padding: 0 10px; }
  #wb-workbench-page .wb-cover-template-select:focus,
  #wb-workbench-page .wb-cover-template-input:focus { border-color: #5FAFEF; box-shadow: 0 0 0 2px rgba(95,175,239,0.15); }
  #wb-workbench-page .wb-cover-template-textarea { min-height: 72px; resize: vertical; padding: 9px 10px; line-height: 1.45; }
  #wb-workbench-page .wb-cover-template-preview-wrap { width: min(305px, 100%); margin: 0 auto; }
  #wb-workbench-page .wb-cover-template-preview { position: relative; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 14px; background: linear-gradient(160deg, #dcecff 0%, #f7d6e8 48%, #fef3c7 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55), 0 12px 30px rgba(30, 41, 59, 0.18); }
  #wb-workbench-page .wb-cover-template-bg { position: absolute; inset: 0; background-position: center; background-size: cover; background-repeat: no-repeat; }
  #wb-workbench-page .wb-cover-template-mask { position: absolute; inset: 0; pointer-events: none; }
  #wb-workbench-page .wb-cover-template-preview-text { position: absolute; z-index: 2; max-width: 94%; white-space: pre-wrap; word-break: break-word; font-weight: 900; line-height: 1.08; font-family: var(--wb-font); cursor: move; user-select: none; touch-action: none; outline: 1px dashed transparent; outline-offset: 3px; }
  #wb-workbench-page .wb-cover-template-preview-text:hover, #wb-workbench-page .wb-cover-template-preview-text.is-active, #wb-workbench-page .wb-cover-template-preview-text.is-dragging { outline-color: rgba(64, 158, 255, 0.8); }
  #wb-workbench-page .wb-cover-template-resize-handle { position: absolute; right: -12px; bottom: -12px; width: 12px; height: 12px; border: 2px solid #409eff; border-radius: 3px; background: #fff; box-shadow: 0 2px 8px rgba(15, 23, 42, 0.22); cursor: nwse-resize; opacity: 0; pointer-events: none; z-index: 5; }
  #wb-workbench-page .wb-cover-template-preview-text:hover .wb-cover-template-resize-handle, #wb-workbench-page .wb-cover-template-preview-text.is-active .wb-cover-template-resize-handle, #wb-workbench-page .wb-cover-template-preview-text.is-dragging .wb-cover-template-resize-handle { opacity: 1; pointer-events: auto; }
  #wb-workbench-page .wb-cover-template-tips { margin-top: 12px; color: #64748b; font-size: 15px; line-height: 1.8; padding-left: 40px; }
  #wb-workbench-page .wb-cover-template-block { margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(226, 232, 240, 0.85); }
  #wb-workbench-page .wb-cover-template-left .wb-cover-template-block:first-child { margin-bottom: 8px; padding-bottom: 8px; border-bottom: none !important; }
  #wb-workbench-page .wb-cover-template-right > .wb-cover-template-block { margin-bottom: 22px; padding-bottom: 18px; }
  #wb-workbench-page .wb-cover-template-block:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
  #wb-workbench-page .wb-cover-template-right > .wb-cover-template-block:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
  #wb-workbench-page .wb-cover-template-radio-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 38px; color: #475569; font-size: 14px; background: #f7f7f7; border-radius: 10px; padding: 22px 20px; min-height: 64px; }
  #wb-workbench-page .wb-cover-template-bg-source-label { color: #4b5870; font-size: 14px; white-space: nowrap; margin-right: 4px; }
  #wb-workbench-page .wb-cover-template-video-empty-tip { display: none; color: #fa8c16; font-size: 13px; line-height: 20px; margin-top: 8px; padding-left: 20px; }
  #wb-workbench-page .wb-cover-template-video-empty-tip.is-open { display: block; }
  #wb-workbench-page .wb-cover-template-frame-picker { display: none; margin-top: 10px; background: #f7f7f7; border-radius: 10px; padding: 12px 14px; }
  #wb-workbench-page .wb-cover-template-frame-picker.is-open { display: block; }
  #wb-workbench-page .wb-cover-template-custom-panel { display: none; margin-top: 0; background: #f7f7f7; border-radius: 0 0 10px 10px; padding: 12px 14px; }
  #wb-workbench-page .wb-cover-template-custom-panel.is-open { display: block; }
  #wb-workbench-page .wb-cover-template-block:has(.wb-cover-template-custom-panel.is-open) .wb-cover-template-radio-row { border-radius: 10px 10px 0 0; }
  #wb-workbench-page .wb-cover-template-custom-row { display: flex; align-items: center; gap: 12px; min-height: 34px; }
  #wb-workbench-page .wb-cover-template-custom-label { color: #475569; font-size: 13px; font-weight: 600; white-space: nowrap; }
  #wb-workbench-page .wb-cover-template-custom-upload-btn { height: 29px; border: none; border-radius: 8px; background: #5FAFEF; color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; padding: 0 14px; }
  #wb-workbench-page .wb-cover-template-custom-upload-btn:hover { background: #4aa3ee; }
  #wb-workbench-page .wb-cover-template-custom-upload-btn:disabled { cursor: not-allowed; opacity: .65; }
  #wb-workbench-page .wb-cover-template-custom-tip { margin-top: 8px; color: #94a3b8; font-size: 12px; line-height: 1.4; }
  #wb-workbench-page .wb-cover-template-frame-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 10px; margin-bottom: 10px; }
  #wb-workbench-page .wb-cover-template-frame-row:last-child { margin-bottom: 0; }
  #wb-workbench-page .wb-cover-template-frame-label { color: #475569; font-size: 13px; font-weight: 600; white-space: nowrap; }
  #wb-workbench-page .wb-cover-template-frame-video { width: 96px; aspect-ratio: 9 / 16; background: #0f172a; border-radius: 8px; object-fit: cover; display: block; }
  #wb-workbench-page .wb-cover-template-frame-range { width: 100%; accent-color: #5FAFEF; cursor: pointer; }
  #wb-workbench-page .wb-cover-template-frame-range-wrap { position: relative; width: 100%; }
  #wb-workbench-page .wb-cover-template-frame-time-bubble { position: absolute; top: -30px; left: 0; transform: translateX(-50%); display: none; background: rgba(0,0,0,.78); color: #fff; font-size: 12px; line-height: 18px; padding: 2px 7px; border-radius: 4px; white-space: nowrap; pointer-events: none; z-index: 5; }
  #wb-workbench-page #wb-cover-template-frame-range::-webkit-slider-thumb { cursor: grab; }
  #wb-workbench-page #wb-cover-template-frame-range:active::-webkit-slider-thumb { cursor: grabbing; }
  #wb-workbench-page #wb-cover-template-frame-range::-moz-range-thumb { cursor: grab; }
  #wb-workbench-page #wb-cover-template-frame-range:active::-moz-range-thumb { cursor: grabbing; }
  #wb-workbench-page .wb-cover-template-frame-time { display: block; margin-top: 4px; color: #64748b; font-size: 14px; }
  #wb-workbench-page .wb-cover-template-frame-capture { width: 30%; min-width: 220px; height: 29px; margin: 0 auto; display: block; border: none; border-radius: 8px; background: #5FAFEF; color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; padding: 0 14px; white-space: nowrap; }
  #wb-workbench-page .wb-cover-template-frame-capture:hover { background: #4aa3ee; }
  #wb-workbench-page .wb-cover-template-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  #wb-workbench-page .wb-cover-template-form-grid:has(#wb-cover-template-mask-color) { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: nowrap; background: #f7f7f7; border-radius: 10px; padding: 16px 14px; min-height: 60px; }
  #wb-workbench-page .wb-cover-template-form-grid:has(#wb-cover-template-mask-color) > div { display: flex; align-items: center; gap: 10px; min-width: 0; white-space: nowrap; }
  #wb-workbench-page .wb-cover-template-form-grid:has(#wb-cover-template-mask-color) .wb-cover-template-label { display: inline-flex; align-items: center; margin: 0; }
  #wb-workbench-page .wb-cover-template-form-grid:has(#wb-cover-template-mask-color) .wb-cover-template-color-picker { flex: 0 0 auto; }
  #wb-workbench-page .wb-cover-template-form-grid:has(#wb-cover-template-mask-color) #wb-cover-template-mask-opacity { width: 92px; height: 32px; }
  #wb-workbench-page .wb-cover-template-mask-color-field { gap: 28px !important; margin-left: 16px; }
  #wb-workbench-page .wb-cover-template-mask-opacity-field { gap: 22px !important; transform: translateX(-66px); }
  #wb-workbench-page .wb-cover-template-opacity-stepper { position: relative; display: flex; align-items: stretch; width: 100px; height: 38px; background: #fff; border: 1px solid #dcdfe6; border-radius: 4px; overflow: hidden; max-width: 100px; }
  #wb-workbench-page .wb-cover-template-opacity-stepper input { width: 78px !important; height: 100% !important; border: none; outline: none; text-align: center; background: #fff; border-radius: 0; padding: 0; -moz-appearance: textfield; }
  #wb-workbench-page .wb-cover-template-opacity-stepper input::-webkit-outer-spin-button, #wb-workbench-page .wb-cover-template-opacity-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
  #wb-workbench-page .wb-cover-template-opacity-stepper-buttons { width: 20px; border-left: 1px solid #d8e1ee; display: flex; flex-direction: column; }
  #wb-workbench-page .wb-cover-template-opacity-stepper-buttons button { flex: 1; border: none; border-left: 1px solid #dcdfe6; background: #f5f7fa; color: #666; cursor: pointer; line-height: 1; padding: 0; font-size: 12px; display: flex; align-items: center; justify-content: center; user-select: none; box-sizing: border-box; }
  #wb-workbench-page .wb-cover-template-opacity-stepper-buttons button + button { border-top: 1px solid #d8e1ee; }
  #wb-workbench-page .wb-cover-template-opacity-stepper-buttons button:hover { color: #5FAFEF; background: #ecf5ff; }
#wb-workbench-page .wb-cover-template-opacity-stepper-buttons button.is-disabled {
  cursor: not-allowed;
  opacity: 0.4;
  pointer-events: auto;
}
  #wb-workbench-page .wb-cover-template-num-stepper {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 100px;
  max-width: 100px;
  height: 32px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}
#wb-workbench-page .wb-cover-template-num-stepper input {
  flex: 1;
  min-width: 0;
  height: 100% !important;
  border: none !important;
  outline: none;
  text-align: center !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 26px 0 6px !important;
  font-size: 13px;
  color: #333;
  -moz-appearance: textfield;
  box-shadow: none !important;
}
#wb-workbench-page .wb-cover-template-num-stepper input::-webkit-outer-spin-button,
#wb-workbench-page .wb-cover-template-num-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
#wb-workbench-page .wb-cover-template-num-stepper .wb-cover-template-input {
  text-align: center !important;
  padding: 0 26px 0 6px !important;
  box-sizing: border-box !important;
}
#wb-workbench-page .wb-cover-template-num-stepper-btns {
  position: absolute;
  right: 0;
  top: 0;
  width: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
#wb-workbench-page .wb-cover-template-num-stepper-btns button {
  flex: 1;
  border: none;
  border-left: 1px solid #dcdfe6;
  background: #f5f7fa;
  color: #666;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  box-sizing: border-box;
}
#wb-workbench-page .wb-cover-template-num-stepper-btns button:first-child {
  border-bottom: 1px solid #dcdfe6;
}
#wb-workbench-page .wb-cover-template-num-stepper-btns button:hover {
  color: #5FAFEF;
  background: #ecf5ff;
}
#wb-workbench-page .wb-cover-template-num-stepper-btns button.is-disabled {
  cursor: not-allowed;
  opacity: 0.4;
  pointer-events: auto;
}
#wb-workbench-page .wb-cover-template-num-stepper.is-disabled {
  background: #f5f7fa;
  border-color: #e4e7ed;
  cursor: not-allowed;
  opacity: 0.72;
}
#wb-workbench-page .wb-cover-template-num-stepper.is-disabled input {
  background: #f5f7fa !important;
  color: #a8abb2;
  cursor: not-allowed;
  pointer-events: none;
}
#wb-workbench-page .wb-cover-template-num-stepper.is-disabled .wb-cover-template-num-stepper-btns,
#wb-workbench-page .wb-cover-template-num-stepper.is-disabled button {
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.55;
}
#wb-workbench-page .wb-cover-template-num-stepper-btns,
#wb-workbench-page .wb-cover-template-opacity-stepper-btns {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
}
#wb-workbench-page .wb-cover-template-num-limit-icon {
  position: absolute;
  right: 0;
  width: 100%;
  height: 50%;
  font-size: 13px;
  line-height: 1;
  color: #cf1322;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 3;
  background: #f5f7fa;
}
#wb-workbench-page .wb-cover-template-num-limit-icon-up {
  top: 0;
}
#wb-workbench-page .wb-cover-template-num-limit-icon-down {
  bottom: 0;
}
#wb-workbench-page .wb-cover-template-num-stepper-btns.is-limit-up .wb-cover-template-num-limit-icon-up,
#wb-workbench-page .wb-cover-template-opacity-stepper-btns.is-limit-up .wb-cover-template-num-limit-icon-up,
#wb-workbench-page .wb-cover-template-num-stepper-btns.is-limit-down .wb-cover-template-num-limit-icon-down,
#wb-workbench-page .wb-cover-template-opacity-stepper-btns.is-limit-down .wb-cover-template-num-limit-icon-down {
  display: flex;
}
  #wb-workbench-page .wb-cover-template-tabs:has(+ .wb-cover-template-form-grid #wb-cover-template-text) { margin-bottom: 8px; }
  #wb-workbench-page .wb-cover-template-form-grid:has(#wb-cover-template-text) { grid-template-columns: repeat(2, minmax(0, 220px)); gap: 18px 18px; align-items: center; background: #f7f7f7; border-radius: 10px; padding: 22px 14px; }
  #wb-workbench-page .wb-cover-template-form-grid:has(#wb-cover-template-text) > div:not(.is-wide) { display: grid; grid-template-columns: 82px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 34px; }
  #wb-workbench-page .wb-cover-template-text-right-group { transform: translateX(24px); }
  #wb-workbench-page .wb-cover-template-form-grid:has(#wb-cover-template-text) .wb-cover-template-label { margin: 0; white-space: nowrap; }
  #wb-workbench-page .wb-cover-template-form-grid:has(#wb-cover-template-text) .wb-cover-template-field.is-wide { display: grid; grid-template-columns: 82px minmax(0, 1fr); align-items: start; column-gap: 10px; row-gap: 4px; }
  #wb-workbench-page .wb-cover-template-form-grid:has(#wb-cover-template-text) .wb-cover-template-field.is-wide .wb-cover-template-label { padding-top: 8px; }
  #wb-workbench-page .wb-cover-template-form-grid:has(#wb-cover-template-text) #wb-cover-template-text { width: 115%; min-height: 38px; height: 38px; resize: none; overflow: hidden; padding: 8px 10px; border-radius: 8px; background: #fff; }
  #wb-workbench-page .wb-cover-template-form-grid:has(#wb-cover-template-text) .wb-cover-template-hint { grid-column: 2; margin-top: 0; }
  #wb-workbench-page .wb-cover-template-form-grid:has(#wb-cover-template-text) .wb-cover-template-select, #wb-workbench-page .wb-cover-template-form-grid:has(#wb-cover-template-text) .wb-cover-template-input { height: 34px; border-radius: 8px; min-width: 0; background: #fff; }
  #wb-workbench-page .wb-cover-template-form-grid:has(#wb-cover-template-text) .wb-cover-template-input.is-centered { background: #f1f5f9; }
  #wb-workbench-page .wb-cover-template-form-grid:has(#wb-cover-template-text) #wb-cover-template-font { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 166px; max-width: none; padding-right: 28px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238da0b6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
  #wb-workbench-page .wb-cover-template-form-grid:has(#wb-cover-template-text) #wb-cover-template-x { width: 100%; }
  #wb-workbench-page .wb-cover-template-form-grid:has(#wb-cover-template-text) .wb-cover-template-check { min-height: 0; margin: 0; white-space: nowrap; }
  #wb-workbench-page .wb-cover-template-form-grid:has(#wb-cover-template-text) .wb-cover-template-color-picker { flex: 0 0 auto; }
  #wb-workbench-page .wb-cover-template-field { min-width: 0; }
  #wb-workbench-page .wb-cover-template-field.is-wide { grid-column: 1 / -1; }
  #wb-workbench-page .wb-cover-template-label { display: block; margin-bottom: 6px; color: #475569; font-size: 13px; font-weight: 600; }
  #wb-workbench-page .wb-cover-template-hint { margin-top: 5px; color: #94a3b8; font-size: 12px; }
  #wb-workbench-page .wb-cover-template-input[type=color] { width: 34px; height: 34px; padding: 2px; border-radius: 6px; border: 1px solid #dbe4f0; cursor: pointer; background: #fff; }
  #wb-workbench-page .wb-cover-template-tabs { display: flex; gap: 0; padding: 0; margin-bottom: 0; border-radius: 0; background: transparent; border-bottom: 1px solid #e2e8f0; }
  #wb-workbench-page .wb-cover-template-tab { border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: #475569; cursor: pointer; padding: 8px 18px; font-family: inherit; font-size: 14px; font-weight: 400; margin-bottom: -1px; transition: color 0.18s; }
  #wb-workbench-page .wb-cover-template-tab:hover { color: #5FAFEF; }
  #wb-workbench-page .wb-cover-template-tab.is-active { color: #5FAFEF; border-bottom-color: #5FAFEF; background: transparent; box-shadow: none; font-weight: 700; }
  #wb-workbench-page .wb-cover-template-check { display: flex; align-items: center; gap: 8px; min-height: 38px; color: #475569; font-size: 14px; }
  #wb-workbench-page .wb-cover-template-confirm { min-width: 100px; height: 36px; border-radius: 4px; background: #5FAFEF; border: none; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; padding: 0 20px; transition: background-color 0.18s ease, box-shadow 0.18s ease; }
  #wb-workbench-page .wb-cover-template-confirm:hover { background: #4aa3ee; box-shadow: 0 6px 16px rgba(74,163,238,.22); }
  #wb-workbench-page .wb-cover-template-color-picker { position: relative; display: inline-block; width: 32px; height: 32px; }
  #wb-workbench-page .wb-cover-template-color-trigger { width: 100%; height: 100%; border: 1px solid #dcdfe6; border-radius: 4px; padding: 3px; box-sizing: border-box; cursor: pointer; overflow: hidden; position: relative; transition: border-color 0.25s ease, box-shadow 0.25s ease; }
  #wb-workbench-page .wb-cover-template-color-trigger.is-active { border-color: #5FAFEF; box-shadow: 0 0 0 3px rgba(95,175,239,0.2); }
  #wb-workbench-page .wb-cover-template-color-swatch { display: block; width: 100%; height: 100%; border-radius: 2px; }
  #wb-workbench-page .wb-cover-template-color-arrow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 5px solid #fff; pointer-events: none; }
  #wb-workbench-page .wb-cover-template-color-hidden { opacity: 0; position: absolute; inset: 0; cursor: pointer; border: none; padding: 0; width: 100%; height: 100%; }
  @media (max-width: 900px) { #wb-workbench-page .wb-cover-template-body { grid-template-columns: 1fr; } }
  #wb-vclip-pip-picker-close:hover { background: #dbeafe !important; color: #1d4ed8 !important; }
  #wb-vclip-pip-picker-cancel:hover { border-color: #5FAFEF !important; background: #eff8ff !important; color: #2563eb !important; }
  #wb-vclip-pip-picker-confirm:hover { background: #4aa3ee !important; box-shadow: 0 6px 16px rgba(74,163,238,.28) !important; }
  .wb-publish-panel {
    gap: 0;
    justify-content: flex-start;
    padding-bottom: 10px;
  }
  .wb-publish-hint {
    margin: 14px 0 0;
    text-align: center;
    font-size: 15px;
    white-space: nowrap;
    line-height: 1.7;
    color: #7c8699;
  }
  .wb-publish-mode {
    justify-content: flex-start;
    gap: 20px;
    padding: 0 4px;
    margin-top: 30px;
    font-size: 15px;
  }
  #wb-workbench-page .wb-publish-option {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    color: #4b5870;
    line-height: 1.2;
    user-select: none;
  }
  #wb-workbench-page .wb-publish-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }
  #wb-workbench-page .wb-publish-checkmark {
    width: 18px;
    height: 18px;
    border: 1px solid #bfc7d8;
    border-radius: 50%;
    background: #fff;
    box-sizing: border-box;
    position: relative;
    flex: 0 0 auto;
    transition: background .16s ease, border-color .16s ease, box-shadow .16s ease;
  }
  #wb-workbench-page .wb-publish-option input[type="checkbox"]:checked + .wb-publish-checkmark {
    background: #5FAFEF;
    border-color: #5FAFEF;
    box-shadow: 0 2px 6px rgba(95,175,239,.22);
  }
  #wb-workbench-page .wb-publish-option input[type="checkbox"]:checked + .wb-publish-checkmark::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }
  #wb-workbench-page .wb-publish-main-btn {
    width: calc(100% - 20px);
    min-height: 48px;
    margin: 32px auto 0;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    background: #5FAFEF !important;
    border-color: #5FAFEF !important;
    box-shadow: 0 4px 12px rgba(95, 175, 239, 0.18);
    color: #fff;
  }
  .wb-platform-title {
    margin-top: 16px;
    margin-bottom: 8px;
    text-align: center;
    color: #26364f;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    padding: 0 2px;
  }
  .wb-platform-icons {
    display: flex;
    gap: 0;
    justify-content: space-evenly;
    align-items: flex-start;
    flex-wrap: nowrap;
    margin-top: 16px;
  }
  .wb-pf {
    width: 76px;
    min-width: 0;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 6px 4px 7px;
    border: 1.5px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: #26364f;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.15;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .wb-pf input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #ccc;
    background: #fff;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
    position: relative;
  }
  .wb-pf input[type="checkbox"]:checked {
    background: #5FAFEF;
    border-color: #5FAFEF;
  }
  .wb-pf input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 1px;
    width: 5px;
    height: 8px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
  }
  .wb-pf img {
    width: 64px;
    height: 64px;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(30, 41, 59, 0.1);
  }
  .wb-pf:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  }
  .wb-pf:has(input:checked) {
    border-color: rgba(95, 175, 239, 0.5);
    background: rgba(95, 175, 239, 0.07);
  }  .wb-hint { font-size: 0.72rem; color: var(--wb-text-sec); line-height: 1.45; opacity: 0.95; }
  .wb-menu-trigger {
    position: fixed;
    left: -10px;
    top: calc(90px + (100vh - 90px) / 2);
    z-index: 1305;
    width: 42px;
    height: 108px;
    border: 0;
    padding: 0 0 0 10px;
    border-radius: 0 18px 18px 0;
    background: linear-gradient(180deg, #0080ff 0%, #5FAFEF 50%, #00c8ff 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    writing-mode: vertical-rl;
    text-orientation: upright;
    text-align: center;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 10px 24px rgba(45, 190, 210, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
  }
  .wb-menu-trigger:hover,
  .wb-menu-trigger:focus,
  .wb-menu-trigger:active {
    background: linear-gradient(180deg, #0080ff 0%, #5FAFEF 50%, #00c8ff 100%);
    transform: translateY(-50%) translateX(4px);
    filter: brightness(1.04);
    box-shadow: 0 12px 28px rgba(45, 190, 210, 0.34);
  }
  .wb-menu-trigger.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) translateX(-42px);
  }
  .wb-settings-page {
    width: 90%;
    margin: 0 auto;
    min-height: calc(100vh - 116px);
    padding: 26px clamp(24px, 3vw, 42px) 38px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(160, 175, 200, 0.16);
    border-radius: 18px;
    box-shadow: var(--wb-panel-shadow);
    box-sizing: border-box;
  }
  .wb-settings-shell {
    width: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .wb-settings-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 4px 2px 22px;
  }
  .wb-settings-kicker {
    color: #5FAFEF;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
  }
  .wb-settings-head h1 {
    margin: 4px 0 8px;
    color: #1D2B4F;
    font-size: 30px;
    line-height: 1.15;
  }
  .wb-settings-head p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
  }
  .wb-settings-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    color: #5FAFEF;
    background: rgba(95, 175, 239, 0.1);
    border: 1px solid rgba(95, 175, 239, 0.22);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
  }
  .wb-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .wb-settings-card {
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(210, 224, 244, 0.88);
    box-shadow: 0 8px 22px rgba(90, 120, 160, 0.07);
  }
  .wb-settings-card-wide {
    grid-column: 1 / -1;
  }
  .wb-settings-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    color: #1D2B4F;
    font-size: 16px;
    font-weight: 800;
  }
  .wb-settings-title::before {
    content: "";
    width: 4px;
    height: 18px;
    border-radius: 999px;
    background: #5FAFEF;
    box-shadow: 0 0 10px rgba(95, 175, 239, 0.32);
  }
  .wb-settings-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 38px;
    color: #334155;
    font-size: 14px;
  }
  .wb-settings-row + .wb-settings-row,
  .wb-settings-row + .wb-settings-radio-group,
  .wb-settings-radio-group + .wb-settings-actions,
  .wb-settings-toggle + .wb-settings-actions,
  .wb-settings-row + .wb-settings-toggle {
    margin-top: 12px;
  }
  .wb-settings-row.is-stack {
    align-items: flex-start;
    flex-direction: column;
  }
  .wb-settings-radio-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
  }
  .wb-settings-radio-group label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 11px;
    border-radius: 999px;
    background: #f3f8fe;
    border: 1px solid rgba(95, 175, 239, 0.16);
    color: #475569;
    font-size: 13px;
    cursor: pointer;
  }
  .wb-settings-radio-group input,
  .wb-settings-toggle input {
    accent-color: #5FAFEF;
  }
  .wb-settings-radio-group label:has(input:checked) {
    color: #238bd0;
    background: rgba(95, 175, 239, 0.14);
    border-color: rgba(95, 175, 239, 0.42);
    box-shadow: 0 4px 12px rgba(95, 175, 239, 0.12);
  }
  .wb-settings-status {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
  }
  .wb-settings-status.is-ok {
    color: #15803d;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
  }
  .wb-settings-status.is-starting {
    color: #D97706;
    background: #FEF3C7;
    border: 1px solid #FBBF24;
  }
  .wb-settings-btn {
    min-height: 34px;
    border: 1px solid #5FAFEF;
    border-radius: 10px;
    padding: 0 14px;
    background: #5FAFEF;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 5px 13px rgba(95, 175, 239, 0.2);
    transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
  }
  .wb-settings-btn:hover,
  .wb-settings-btn:focus,
  .wb-settings-btn:active {
    background: #4fa4e4;
    border-color: #4fa4e4;
    box-shadow: 0 7px 16px rgba(95, 175, 239, 0.28);
    transform: translateY(-1px);
  }
  .wb-settings-btn-outline {
    background: #fff;
    color: #5FAFEF;
    box-shadow: none;
  }
  .wb-settings-btn-outline:hover,
  .wb-settings-btn-outline:focus,
  .wb-settings-btn-outline:active {
    background: rgba(95, 175, 239, 0.08);
    color: #4fa4e4;
  }
  .wb-settings-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .wb-settings-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #475569;
    font-size: 13px;
    cursor: pointer;
  }
  .wb-settings-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }
  .wb-settings-toggle span {
    position: relative;
    width: 42px;
    height: 23px;
    border-radius: 999px;
    background: #dbe7f4;
    transition: background 0.16s ease;
  }
  .wb-settings-toggle span::after {
    content: "";
    position: absolute;
    left: 3px;
    top: 3px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(30, 50, 80, 0.18);
    transition: transform 0.16s ease;
  }
  .wb-settings-toggle input:checked + span {
    background: #5FAFEF;
  }
  .wb-settings-toggle input:checked + span::after {
    transform: translateX(19px);
  }
  .wb-number-stepper {
    display: inline-flex;
    align-items: center;
    height: 34px;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid rgba(95, 175, 239, 0.38);
    background: #fff;
  }
  .wb-number-stepper button {
    width: 34px;
    height: 34px;
    border: 0;
    background: rgba(95, 175, 239, 0.1);
    color: #5FAFEF;
    font-weight: 900;
    cursor: pointer;
  }
  .wb-number-stepper input {
    width: 54px;
    height: 34px;
    border: 0;
    text-align: center;
    color: #1D2B4F;
    font-weight: 800;
    background: transparent;
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
  }
  .wb-number-stepper input::-webkit-outer-spin-button,
  .wb-number-stepper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
  .wb-settings-page {
    width: 100%;
    margin: 0;
    min-height: calc(100vh - 96px);
    padding: 14px 18px 20px 28px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
    display: flex;
  }
  .wb-settings-shell {
    width: 100%;
    min-height: 100%;
    padding: 34px clamp(34px, 4vw, 64px) 42px;
    border-radius: 28px;
    background: #FFFFFF;
    border: 1px solid rgba(210, 224, 244, 0.95);
    box-shadow: 0 12px 32px rgba(90, 120, 160, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.86);
    box-sizing: border-box;
  }
  .wb-settings-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .wb-settings-card,
  .wb-settings-card-wide,
  .wb-ai-settings-card {
    grid-column: auto;
    padding: 0 0 36px;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .wb-settings-card + .wb-settings-card {
    padding-top: 36px;
    border-top: 1px solid rgba(95, 175, 239, 0.16);
  }
  .wb-settings-card:last-child {
    padding-bottom: 0;
  }
  .wb-settings-title {
    gap: 10px;
    margin-bottom: 18px;
    color: #1D2B4F;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
  }
  .wb-settings-title::before {
    width: 4px;
    height: 19px;
    background: linear-gradient(180deg, #00C8FF 0%, #0080FF 100%);
    box-shadow: 0 0 10px rgba(0, 200, 255, 0.26);
    flex: 0 0 auto;
  }
  .wb-settings-row {
    justify-content: flex-start;
    gap: 24px;
    min-height: 42px;
    color: #334155;
    font-size: 15px;
    line-height: 1.35;
  }
  .wb-settings-row > span:first-child {
    flex: 0 0 120px;
    color: #26364F;
    font-weight: 400;
    white-space: nowrap;
    padding-left: 40px;
  }
  #wb-settings-page .wb-settings-row:not(.wb-settings-service-row) > span:first-child {
    padding-left: 80px;
    box-sizing: border-box;
    font-weight: 400;
  }
  .wb-settings-row + .wb-settings-row,
  .wb-settings-row + .wb-settings-radio-group,
  .wb-settings-radio-group + .wb-settings-actions,
  .wb-settings-toggle + .wb-settings-actions,
  .wb-settings-row + .wb-settings-toggle {
    margin-top: 18px;
  }
  .wb-settings-radio-group {
    gap: 12px;
  }
  .wb-settings-radio-group label {
    min-height: 38px;
    padding: 0 17px;
    border-radius: 19px;
    background: #F7FBFF;
    border: 1px solid rgba(95, 175, 239, 0.20);
    color: #475569;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(90, 120, 160, 0.05);
    transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
  }
  .wb-settings-radio-group label:hover {
    border-color: rgba(0, 200, 255, 0.36);
    box-shadow: 0 6px 15px rgba(95, 175, 239, 0.12);
    transform: translateY(-1px);
  }
  .wb-settings-radio-group label:has(input:checked) {
    color: #0080FF;
    background: linear-gradient(180deg, rgba(0, 200, 255, 0.14) 0%, rgba(95, 175, 239, 0.12) 100%);
    border-color: rgba(0, 200, 255, 0.46);
    box-shadow: 0 7px 18px rgba(95, 175, 239, 0.18);
  }
  .wb-settings-service-row {
    width: fit-content;
    padding-left: 80px;
    gap: 10px;
    margin-top: 16px;
  }
  .wb-settings-service-row > span:first-child {
    flex: 0 0 auto;
    margin-right: 2px;
  }
  .wb-settings-status {
    min-height: 32px;
    padding: 0 14px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 5px 12px rgba(22, 163, 74, 0.12);
  }
  .wb-settings-status.is-ok {
    color: #15803d;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
  }
  .wb-settings-status.is-starting {
    color: #D97706;
    background: #FEF3C7;
    border: 1px solid #FBBF24;
    box-shadow: 0 5px 12px rgba(217, 119, 6, 0.12);
  }
  .wb-settings-btn {
    min-height: 38px;
    border-radius: 19px;
    padding: 0 20px;
    background: #5FAFEF;
    border-color: rgba(0, 200, 255, 0.56);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(95, 175, 239, 0.24);
  }
  .wb-settings-btn:hover,
  .wb-settings-btn:focus,
  .wb-settings-btn:active {
    background: linear-gradient(135deg, #00BDF2 0%, #55A8EA 58%, #0078F0 100%);
    border-color: rgba(0, 200, 255, 0.68);
    color: #FFFFFF;
    box-shadow: 0 10px 22px rgba(95, 175, 239, 0.30);
    transform: translateY(-1px);
  }
  .wb-settings-btn-outline {
    background: linear-gradient(135deg, #26364F 0%, #1D2B4F 100%);
    border-color: #26364F;
    color: #FFFFFF;
    box-shadow: 0 8px 18px rgba(38, 54, 79, 0.18);
  }
  .wb-settings-btn-outline:hover,
  .wb-settings-btn-outline:focus,
  .wb-settings-btn-outline:active {
    background: linear-gradient(135deg, #1F2E46 0%, #17243D 100%);
    border-color: #1D2B4F;
    color: #FFFFFF;
    box-shadow: 0 10px 22px rgba(38, 54, 79, 0.24);
    transform: translateY(-1px);
  }
  .wb-number-stepper {
    height: 38px;
    border-radius: 19px;
    border-color: rgba(95, 175, 239, 0.28);
    background: #F8FBFF;
    box-shadow: 0 4px 12px rgba(90, 120, 160, 0.06);
  }
  .wb-number-stepper button {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.16) 0%, rgba(95, 175, 239, 0.14) 100%);
    color: #0080FF;
    font-size: 16px;
    font-weight: 900;
    transition: background 0.16s ease, color 0.16s ease;
  }
  .wb-number-stepper button:hover,
  .wb-number-stepper button:focus,
  .wb-number-stepper button:active {
    background: linear-gradient(135deg, #00C8FF 0%, #5FAFEF 100%);
    color: #FFFFFF;
  }
  .wb-number-stepper input {
    width: 64px;
    height: 38px;
    font-size: 15px;
  }
  .wb-settings-note {
    margin-top: 12px;
    color: #8A98AD;
    font-size: 13px;
    line-height: 1.6;
  }
  .wb-settings-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 640px;
  }
  .wb-settings-field {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    color: #26364F;
    font-size: 15px;
    font-weight: 400;
    padding-left: 40px;
    padding-right: 120px;
  }
  .wb-settings-field .wb-input {
    height: 42px;
    min-height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(210, 224, 244, 0.95);
    background: #F8FBFF;
    box-shadow: 0 3px 10px rgba(90, 120, 160, 0.04);
  }
  #wb-settings-page .wb-minimax-key-row {
    display: none;
    align-items: center;
    gap: 14px;
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 104px;
    color: #26364F;
    font-size: 15px;
  }
  #wb-settings-page .wb-minimax-key-row.is-visible {
    display: flex;
  }
  #wb-settings-page .wb-minimax-key-divider {
    width: 4px;
    height: 34px;
    border-radius: 999px;
    background: #5FAFEF;
    box-shadow: 0 0 8px rgba(95, 175, 239, 0.24);
    flex: 0 0 auto;
  }
  #wb-settings-page .wb-minimax-key-row label {
    width: 76px;
    color: #26364F;
    font-weight: 600;
    white-space: nowrap;
  }
  #wb-settings-page #wb-minimax-api-key {
    width: 1104px;
    max-width: min(100%, calc(100vw - 420px));
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(210, 224, 244, 0.95);
    background: #F8FBFF;
    padding: 0 13px;
    color: #26364F;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
  }
  #wb-settings-page #wb-minimax-api-key:focus {
    border-color: #5FAFEF;
    box-shadow: 0 0 0 2px rgba(95, 175, 239, 0.14);
  }
  #wb-settings-page .wb-audio-model-detail-slot {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 42px;
    margin-top: 16px;
  }
  #wb-settings-page .wb-audio-model-detail-slot .wb-settings-service-row {
    margin-top: 0;
  }
  .wb-settings-personal-btn {
    align-self: flex-start;
    margin-top: 2px;
    min-width: 132px;
  }
  #wb-settings-page .wb-settings-radio-group input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    margin: 0;
    border-radius: 50%;
    border: 1.6px solid rgba(95, 175, 239, 0.42);
    background: #FFFFFF;
    box-sizing: border-box;
    flex: 0 0 auto;
    box-shadow: inset 0 0 0 3.5px #FFFFFF;
  }
  #wb-settings-page .wb-settings-radio-group input[type="radio"]:checked {
    border-color: #00c8ff;
    background: #00c8ff;
    box-shadow: inset 0 0 0 3.5px #FFFFFF;
  }
  #wb-settings-page .wb-settings-radio-group label {
    background: #FFFFFF;
    border-color: rgba(210, 224, 244, 0.95);
    color: #475569;
  }
  #wb-settings-page .wb-settings-radio-group label:hover {
    background: rgba(0, 200, 255, 0.08);
    border-color: #00c8ff;
    color: #00aee0;
  }
  #wb-settings-page .wb-settings-radio-group label:has(input:checked) {
    background: rgba(0, 200, 255, 0.10);
    border-color: #00c8ff;
    color: #00c8ff;
    box-shadow: 0 7px 18px rgba(0, 200, 255, 0.16);
  }
  #wb-settings-page .wb-number-stepper {
    border-color: rgba(0, 200, 255, 0.32);
    background: #FFFFFF;
  }
  #wb-settings-page .wb-number-stepper button {
    background: rgba(0, 200, 255, 0.10);
    color: #00c8ff;
  }
  #wb-settings-page .wb-number-stepper button:hover,
  #wb-settings-page .wb-number-stepper button:focus,
  #wb-settings-page .wb-number-stepper button:active {
    background: #00c8ff;
    color: #FFFFFF;
  }
  #wb-settings-page .wb-number-stepper input {
    color: #1D2B4F;
    border-left: 1px solid rgba(0, 200, 255, 0.18);
    border-right: 1px solid rgba(0, 200, 255, 0.18);
  }
  #wb-settings-page #wb-batch-size-input:focus {
    outline: none;
    box-shadow: none;
    border-left-color: rgba(0, 200, 255, 0.18);
    border-right-color: rgba(0, 200, 255, 0.18);
  }
  #wb-settings-page .wb-batch-size-stepper {
    position: relative;
  }
  #wb-settings-page .wb-batch-limit-tip {
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 22px;
    transform: translate(-50%, -50%);
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    line-height: 1;
    pointer-events: none;
    z-index: 3;
  }
  #wb-settings-page .wb-batch-limit-tip.is-visible {
    display: flex;
  }
  .wb-clone-sidebar {
    position: fixed;
    left: 0;
    top: 90px;
    bottom: 0;
    height: auto;
    z-index: 1304;
    width: 66px;
    padding: 18px 3px 0;
    border-radius: 0;
    background: #fff;
    border-right: 1px solid rgba(160, 175, 200, 0.16);
    box-shadow: 6px 0 18px rgba(90, 110, 150, 0.055);
    opacity: 0;
    pointer-events: none;
    transform: translateX(-76px);
    transition: transform 0.18s ease, opacity 0.18s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .wb-clone-sidebar.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }
  .wb-menu-list {
    flex: 1;
    min-height: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
  }
  .wb-menu-item {
    width: 60px;
    min-height: 56px;
    border: 0;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    padding: 0;
    background: transparent;
    color: #5c5c5c;
    font-size: 10px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    line-height: 1.25;
  }
  .wb-menu-item:hover { color: #1da8cf; }
  .wb-menu-item.is-active {
    background: transparent;
    color: #1aa9cf;
    font-weight: 500;
  }
  .wb-menu-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #3f3f3f;
    font-size: 0;
    flex-shrink: 0;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.92) inset;
    transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
  }
  .wb-menu-item:hover .wb-menu-icon {
    background: #eef9fc;
    color: #1da8cf;
  }
  .wb-menu-item.is-active .wb-menu-icon {
    background: linear-gradient(180deg, #5fd2df 0%, #31b6d0 100%);
    color: #fff;
    box-shadow: 0 6px 12px rgba(49, 182, 208, 0.14), 0 0 9px rgba(95, 210, 223, 0.12);
    transform: translateY(-1px);
  }
  .wb-menu-svg {
    width: 18px;
    height: 18px;
    display: block;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
  }
  .wb-menu-text {
    display: block;
    min-height: 16px;
    white-space: normal;
    letter-spacing: 0;
    line-height: 1.12;
  }
  .wb-menu-collapse {
    margin-top: auto;
    flex-shrink: 0;
    width: 100%;
    min-height: 48px;
    height: 48px;
    position: sticky;
    bottom: 0;
    z-index: 8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    background: rgba(250, 250, 250, 0.28);
    border-top: 1px solid rgba(240, 240, 240, 0.42);
    border-left: none;
    border-right: none;
    border-bottom: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .wb-menu-collapse:hover {
    background: rgba(245, 245, 245, 0.38);
  }
  .wb-menu-collapse-btn {
    width: 30px;
    height: 26px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #a7adb5;
    font-size: 0;
    line-height: 1;
    cursor: pointer;
  }
  .wb-menu-collapse-btn::before,
  .wb-menu-collapse-btn::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-left: 1.2px solid currentColor;
    border-bottom: 1.2px solid currentColor;
    transform: rotate(45deg);
    margin: 0 -1px;
  }
  #wb-menu-collapse {
    width: auto;
    height: auto;
    min-width: 0;
    min-height: 0;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #wb-menu-collapse:hover,
  #wb-menu-collapse:active,
  #wb-menu-collapse:focus {
    background: transparent;
    box-shadow: none;
    border: none;
  }
  .wb-clone-sidebar .wb-menu-icon,
  .wb-clone-sidebar .wb-menu-item:hover .wb-menu-icon,
  .wb-clone-sidebar .wb-menu-item:focus .wb-menu-icon,
  .wb-clone-sidebar .wb-menu-item:active .wb-menu-icon {
    color: #00c8ff;
  }
  .wb-clone-sidebar .wb-menu-item:hover .wb-menu-icon,
  .wb-clone-sidebar .wb-menu-item:focus .wb-menu-icon,
  .wb-clone-sidebar .wb-menu-item:active .wb-menu-icon {
    background: rgba(0, 200, 255, 0.10);
    border: 1px solid rgba(0, 200, 255, 0.18);
    box-sizing: border-box;
    box-shadow: 0 4px 10px rgba(0, 200, 255, 0.08);
  }
  .wb-clone-sidebar .wb-menu-item.is-active {
    color: #00c8ff;
  }
  .wb-clone-sidebar .wb-menu-item.is-active .wb-menu-icon {
    background: linear-gradient(135deg, #00c8ff 0%, #5FAFEF 100%);
    border: 1px solid rgba(0, 200, 255, 0.36);
    box-sizing: border-box;
    box-shadow: 0 10px 22px rgba(0, 200, 255, 0.28);
    color: #ffffff;
  }
  .wb-clone-sidebar .wb-menu-svg,
  .wb-clone-sidebar .wb-menu-item:hover .wb-menu-svg,
  .wb-clone-sidebar .wb-menu-item:focus .wb-menu-svg,
  .wb-clone-sidebar .wb-menu-item:active .wb-menu-svg {
    color: #00c8ff;
    stroke: #00c8ff;
  }
  .wb-clone-sidebar .wb-menu-item.is-active .wb-menu-svg {
    color: #ffffff;
    stroke: #ffffff;
  }
  .wb-clone-sidebar .wb-menu-collapse-btn,
  .wb-clone-sidebar .wb-menu-collapse-btn:hover,
  .wb-clone-sidebar .wb-menu-collapse-btn:focus,
  .wb-clone-sidebar .wb-menu-collapse-btn:active {
    color: #00c8ff;
  }
  .wb-clone-sidebar .wb-menu-collapse-btn::before,
  .wb-clone-sidebar .wb-menu-collapse-btn::after,
  .wb-clone-sidebar .wb-menu-collapse-btn:hover::before,
  .wb-clone-sidebar .wb-menu-collapse-btn:hover::after,
  .wb-clone-sidebar .wb-menu-collapse-btn:focus::before,
  .wb-clone-sidebar .wb-menu-collapse-btn:focus::after,
  .wb-clone-sidebar .wb-menu-collapse-btn:active::before,
  .wb-clone-sidebar .wb-menu-collapse-btn:active::after {
    border-color: #00c8ff;
  }
  .wb-body:has(#wb-workbench-page:not(.wb-page-hidden)) {
    align-items: stretch;
    position: relative;
    height: calc(100vh - 90px);
    overflow: hidden;
  }
  .wb-body:has(#wb-workbench-page:not(.wb-page-hidden)) .wb-menu-trigger {
    display: flex;
    width: 62px;
    height: 144px;
    left: -12px;
    padding-left: 12px;
    border-radius: 0 22px 22px 0;
    font-size: 16px;
  }
  .wb-body:has(#wb-workbench-page:not(.wb-page-hidden)) .wb-clone-sidebar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    z-index: 90;
    flex: 0 0 auto;
    width: 108px;
    min-height: 0;
    max-height: none;
    padding: 10px 10px 4px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-122px);
    background: rgba(255, 255, 255, 0.96);
    border-right: 1px solid rgba(160, 175, 200, 0.18);
    box-shadow: 8px 0 22px rgba(83, 105, 145, 0.07);
  }
  .wb-body:has(#wb-workbench-page:not(.wb-page-hidden)) .wb-clone-sidebar.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }
  .wb-body:has(#wb-workbench-page:not(.wb-page-hidden)) .wb-menu-list {
    flex: 1 1 auto;
    gap: 12px;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .wb-body:has(#wb-workbench-page:not(.wb-page-hidden)) .wb-menu-list::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
  .wb-body:has(#wb-workbench-page:not(.wb-page-hidden)) .wb-menu-item {
    width: 88px;
    min-height: 82px;
    border-radius: 20px;
    font-size: 13px;
    justify-content: center;
    gap: 7px;
  }
  .wb-body:has(#wb-workbench-page:not(.wb-page-hidden)) .wb-menu-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }
  .wb-body:has(#wb-workbench-page:not(.wb-page-hidden)) .wb-menu-svg {
    width: 25px;
    height: 25px;
  }
  .wb-body:has(#wb-workbench-page:not(.wb-page-hidden)) .wb-menu-collapse {
    display: flex;
    flex: 0 0 auto;
    min-height: 48px;
    position: static;
    background: transparent;
    border-top: 0;
  }
  .wb-body:has(#wb-workbench-page:not(.wb-page-hidden)) .wb-menu-collapse-btn {
    width: 38px;
    height: 34px;
  }
  .wb-body:has(#wb-workbench-page:not(.wb-page-hidden)) .wb-menu-collapse-btn::before,
  .wb-body:has(#wb-workbench-page:not(.wb-page-hidden)) .wb-menu-collapse-btn::after {
    width: 9px;
    height: 9px;
  }
  .wb-body:has(#wb-workbench-page:not(.wb-page-hidden)) .wb-main-wrap {
    max-width: none;
    margin-inline: 0;
    height: 100%;
    min-height: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: auto;
  }
  .wb-body:has(#wb-voice-page:not(.wb-page-hidden)),
  .wb-body:has(#wb-settings-page:not(.wb-page-hidden)),
  .wb-body:has(#wb-avatar-page:not(.wb-page-hidden)),
  .wb-body:has(#wb-pip-page:not(.wb-page-hidden)) {
    align-items: stretch;
  }
  body:has(#wb-settings-page:not(.wb-page-hidden)) {
    height: 100vh;
    overflow: hidden;
  }
  body:has(#wb-settings-page:not(.wb-page-hidden)) .wb-app,
  body:has(#wb-settings-page:not(.wb-page-hidden)) .wb-body {
    overflow: hidden;
  }
  body:has(#wb-settings-page:not(.wb-page-hidden)) .wb-app {
    height: 100vh;
    max-height: 100vh;
  }
  body:has(#wb-settings-page:not(.wb-page-hidden)) .wb-body {
    height: calc(100vh - 90px);
    max-height: calc(100vh - 90px);
  }
  .wb-body:has(#wb-voice-page:not(.wb-page-hidden)) .wb-main-wrap,
  .wb-body:has(#wb-settings-page:not(.wb-page-hidden)) .wb-main-wrap,
  .wb-body:has(#wb-avatar-page:not(.wb-page-hidden)) .wb-main-wrap,
  .wb-body:has(#wb-pip-page:not(.wb-page-hidden)) .wb-main-wrap {
    max-width: none;
    margin-inline: 0;
    padding: 8px 18px 18px 28px;
    overflow-x: auto;
    overflow-y: auto;
  }
  .wb-body:has(#wb-settings-page:not(.wb-page-hidden)) .wb-main-wrap {
    height: calc(100vh - 90px);
    max-height: calc(100vh - 90px);
    overflow-x: hidden;
    overflow-y: hidden;
  }
  #wb-settings-page {
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .wb-body:has(#wb-voice-page:not(.wb-page-hidden)) .wb-menu-trigger,
  .wb-body:has(#wb-settings-page:not(.wb-page-hidden)) .wb-menu-trigger,
  .wb-body:has(#wb-avatar-page:not(.wb-page-hidden)) .wb-menu-trigger,
  .wb-body:has(#wb-pip-page:not(.wb-page-hidden)) .wb-menu-trigger {
    display: flex;
    width: 62px;
    height: 144px;
    left: -12px;
    padding-left: 12px;
    border-radius: 0 22px 22px 0;
    font-size: 16px;
  }
  .wb-body:has(#wb-voice-page:not(.wb-page-hidden)) .wb-clone-sidebar,
  .wb-body:has(#wb-settings-page:not(.wb-page-hidden)) .wb-clone-sidebar,
  .wb-body:has(#wb-avatar-page:not(.wb-page-hidden)) .wb-clone-sidebar,
  .wb-body:has(#wb-pip-page:not(.wb-page-hidden)) .wb-clone-sidebar {
    position: fixed;
    top: 90px;
    bottom: 0;
    height: auto;
    z-index: 45;
    flex: 0 0 auto;
    width: 108px;
    height: auto;
    min-height: 0;
    padding: 22px 10px 14px;
    transform: translateX(-122px);
  }
  .wb-body:has(#wb-voice-page:not(.wb-page-hidden)) .wb-clone-sidebar.is-open,
  .wb-body:has(#wb-settings-page:not(.wb-page-hidden)) .wb-clone-sidebar.is-open,
  .wb-body:has(#wb-avatar-page:not(.wb-page-hidden)) .wb-clone-sidebar.is-open,
  .wb-body:has(#wb-pip-page:not(.wb-page-hidden)) .wb-clone-sidebar.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }
  .wb-body:has(#wb-voice-page:not(.wb-page-hidden)) .wb-menu-list,
  .wb-body:has(#wb-settings-page:not(.wb-page-hidden)) .wb-menu-list,
  .wb-body:has(#wb-avatar-page:not(.wb-page-hidden)) .wb-menu-list,
  .wb-body:has(#wb-pip-page:not(.wb-page-hidden)) .wb-menu-list {
    gap: 12px;
  }
  .wb-body:has(#wb-voice-page:not(.wb-page-hidden)) .wb-menu-item,
  .wb-body:has(#wb-settings-page:not(.wb-page-hidden)) .wb-menu-item,
  .wb-body:has(#wb-avatar-page:not(.wb-page-hidden)) .wb-menu-item,
  .wb-body:has(#wb-pip-page:not(.wb-page-hidden)) .wb-menu-item {
    width: 88px;
    min-height: 82px;
    border-radius: 20px;
    font-size: 13px;
    justify-content: center;
    gap: 7px;
  }
  .wb-body:has(#wb-voice-page:not(.wb-page-hidden)) .wb-menu-icon,
  .wb-body:has(#wb-settings-page:not(.wb-page-hidden)) .wb-menu-icon,
  .wb-body:has(#wb-avatar-page:not(.wb-page-hidden)) .wb-menu-icon,
  .wb-body:has(#wb-pip-page:not(.wb-page-hidden)) .wb-menu-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }
  .wb-body:has(#wb-voice-page:not(.wb-page-hidden)) .wb-menu-svg,
  .wb-body:has(#wb-settings-page:not(.wb-page-hidden)) .wb-menu-svg,
  .wb-body:has(#wb-avatar-page:not(.wb-page-hidden)) .wb-menu-svg,
  .wb-body:has(#wb-pip-page:not(.wb-page-hidden)) .wb-menu-svg {
    width: 25px;
    height: 25px;
  }
  .wb-body:has(#wb-voice-page:not(.wb-page-hidden)) .wb-menu-collapse,
  .wb-body:has(#wb-settings-page:not(.wb-page-hidden)) .wb-menu-collapse,
  .wb-body:has(#wb-avatar-page:not(.wb-page-hidden)) .wb-menu-collapse,
  .wb-body:has(#wb-pip-page:not(.wb-page-hidden)) .wb-menu-collapse {
    display: flex;
    min-height: 48px;
  }
  .wb-body:has(#wb-voice-page:not(.wb-page-hidden)) .wb-menu-collapse-btn,
  .wb-body:has(#wb-settings-page:not(.wb-page-hidden)) .wb-menu-collapse-btn,
  .wb-body:has(#wb-avatar-page:not(.wb-page-hidden)) .wb-menu-collapse-btn,
  .wb-body:has(#wb-pip-page:not(.wb-page-hidden)) .wb-menu-collapse-btn {
    width: 38px;
    height: 34px;
  }
  .wb-body:has(#wb-voice-page:not(.wb-page-hidden)) .wb-menu-collapse-btn::before,
  .wb-body:has(#wb-voice-page:not(.wb-page-hidden)) .wb-menu-collapse-btn::after,
  .wb-body:has(#wb-settings-page:not(.wb-page-hidden)) .wb-menu-collapse-btn::before,
  .wb-body:has(#wb-settings-page:not(.wb-page-hidden)) .wb-menu-collapse-btn::after,
  .wb-body:has(#wb-pip-page:not(.wb-page-hidden)) .wb-menu-collapse-btn::before,
  .wb-body:has(#wb-pip-page:not(.wb-page-hidden)) .wb-menu-collapse-btn::after {
    width: 9px;
    height: 9px;
  }
  .wb-body:has(#wb-avatar-page:not(.wb-page-hidden)) .wb-menu-collapse-btn::before,
  .wb-body:has(#wb-pip-page:not(.wb-page-hidden)) .wb-menu-collapse-btn::before,
  .wb-body:has(#wb-avatar-page:not(.wb-page-hidden)) .wb-menu-collapse-btn::after,
  .wb-body:has(#wb-pip-page:not(.wb-page-hidden)) .wb-menu-collapse-btn::after {
    width: 9px;
    height: 9px;
  }
  .wb-page-hidden { display: none !important; }
  .wb-avatar-page {
    width: 90%;
    margin: 0 auto;
    min-height: calc(100vh - 116px);
    padding: 26px clamp(24px, 3vw, 42px) 38px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(160, 175, 200, 0.16);
    border-radius: 18px;
    box-shadow: var(--wb-panel-shadow);
    box-sizing: border-box;
  }
  .wb-pip-page {
    width: 90%;
    margin: 0 auto;
    min-height: calc(100vh - 116px);
    padding: 26px clamp(24px, 3vw, 42px) 38px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(160, 175, 200, 0.16);
    border-radius: 18px;
    box-shadow: var(--wb-panel-shadow);
    box-sizing: border-box;
  }

  .wb-avatar-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
  }
  .wb-avatar-clone-btn {
    height: 52px;
    border-radius: 16px;
    margin-left: 32px;
    border: 1.5px solid rgba(95, 175, 239, 0.35);
    background: linear-gradient(135deg, rgba(235, 251, 255, 0.96) 0%, rgba(248, 253, 255, 0.98) 100%);
    color: #2f91e8;
    padding: 0 24px 0 18px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 8px rgba(95, 175, 239, 0.10);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: default;
    pointer-events: none;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .wb-avatar-clone-btn::before {
    content: "";
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='9' cy='7' r='3.5' stroke='%235FAFEF' stroke-width='1.8'/%3E%3Cpath d='M3 20c0-3.5 2.5-6 6-6s6 2.5 6 6' stroke='%235FAFEF' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='18' cy='8' r='2.8' stroke='%2300c8ff' stroke-width='1.5' stroke-dasharray='2 1.5'/%3E%3Cpath d='M14.5 20c0-2.8 1.5-4.5 3.5-4.5s3.5 1.7 3.5 4.5' stroke='%2300c8ff' stroke-width='1.5' stroke-linecap='round' stroke-dasharray='2 1.5'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .wb-pip-clone-btn::before {
    display: none !important;
  }

  .wb-avatar-action-btn {
    min-height: 52px;
    border-radius: 16px;
    border: 1px solid #5FAFEF;
    background: #fff;
    color: #5FAFEF;
    padding: 0 26px;
    font-size: 1.08rem;
    font-weight: 700;
    box-shadow: 0 5px 14px rgba(0, 200, 255, 0.12);
  }
  .wb-avatar-action-btn {
    transition: filter 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
    cursor: pointer;
  }
  .wb-avatar-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(95, 175, 239, 0.3);
    filter: brightness(1.06);
  }
  .wb-avatar-action-btn.is-primary:hover {
    background: #4fa4e4;
    border-color: #4fa4e4;
    box-shadow: 0 10px 22px rgba(95, 175, 239, 0.3);
  }
  .wb-avatar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .wb-avatar-action-btn.is-primary {
    background: #5FAFEF;
    color: #fff;
    border-color: #5FAFEF;
    box-shadow: 0 8px 18px rgba(95, 175, 239, 0.22);
  }
  .wb-avatar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(234px, 272px));
    gap: 20px;
    align-items: start;
    padding: 4px 0 8px 10px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .wb-avatar-card {
    min-width: 0;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(160, 175, 200, 0.16);
    box-shadow: 0 14px 30px rgba(83, 105, 145, 0.10);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
  }
  .wb-avatar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(95, 175, 239, 0.18);
    border-color: rgba(95, 175, 239, 0.3);
  }
  .wb-avatar-preview {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(180deg, #eaf8ff 0%, #f8fbff 100%);
    border: 1px solid rgba(95, 175, 239, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.68);
  }
  .wb-avatar-preview img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }
  .wb-avatar-person-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
      radial-gradient(circle at 50% 25%, rgba(255, 255, 255, 0.92) 0 10%, transparent 11%),
      radial-gradient(circle at 50% 31%, rgba(95, 175, 239, 0.26) 0 17%, transparent 18%),
      radial-gradient(ellipse at 50% 69%, rgba(95, 175, 239, 0.22) 0 28%, transparent 29%),
      linear-gradient(180deg, #e9faff 0%, #f7fbff 54%, #eef7ff 100%);
  }
  .wb-avatar-person-placeholder::before {
    content: "";
    width: 34%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(95, 175, 239, 0.32) 0%, rgba(95, 175, 239, 0.24) 100%);
    box-shadow: 0 92px 0 42px rgba(95, 175, 239, 0.18);
  }
  .wb-avatar-preview-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5FAFEF;
    font-size: 46px;
    font-weight: 300;
  }
  .wb-avatar-name {
    margin-top: 16px;
    color: #26364F;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .wb-avatar-card-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
  }
  .wb-avatar-card-btn {
    min-height: 34px;
    min-width: 66px;
    border-radius: 10px;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
  }
  .wb-avatar-card-btn.is-edit {
    border: 1px solid #5FAFEF;
    color: #5FAFEF;
  }
  .wb-avatar-card-btn.is-delete {
    border: 1px solid #ef4444;
    color: #ef4444;
  }
  .wb-avatar-card-btn {
    transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s, transform 0.15s;
  }
  .wb-avatar-card-btn.is-edit:hover {
    background: #5FAFEF;
    color: #fff;
    border-color: #5FAFEF;
    box-shadow: 0 4px 12px rgba(95,175,239,0.28);
    transform: translateY(-1px);
  }
  .wb-avatar-card-btn.is-delete:hover {
    background: #ef4444;
    color: #fff;
    border-color: #ef4444;
    box-shadow: 0 4px 12px rgba(239,68,68,0.28);
    transform: translateY(-1px);
  }
  .wb-avatar-delete-confirm-mask {
    position: fixed;
    inset: 0;
    z-index: 260;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.45);
    padding: 24px;
    box-sizing: border-box;
  }
  .wb-avatar-delete-confirm-mask.is-open { display: flex; }
  .wb-avatar-delete-confirm-card {
    width: 468px;
    min-height: 216px;
    max-width: calc(100vw - 48px);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    box-sizing: border-box;
  }
  .wb-avatar-delete-confirm-header {
    padding: 22px 25px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }
  .wb-avatar-delete-confirm-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2d3d;
    line-height: 1.3;
  }
  .wb-avatar-delete-confirm-close {
    border: none;
    background: transparent;
    color: #8f96a3;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    padding: 0 2px;
    transition: color 0.16s ease;
  }
  .wb-avatar-delete-confirm-close:hover { color: #4b5563; }
  .wb-avatar-delete-confirm-body {
    margin: 0;
    padding: 38px 36px 32px;
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
    color: #303133;
    word-break: break-word;
  }
  .wb-avatar-delete-confirm-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 65px;
    padding: 0 25px 38px;
  }
  .wb-avatar-delete-confirm-ok,
  .wb-avatar-delete-confirm-cancel {
    width: 126px;
    height: 40px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
  }
  .wb-avatar-delete-confirm-ok {
    border: none;
    background: #5FAFEF;
    color: #fff;
  }
  .wb-avatar-delete-confirm-ok:hover {
    background: #4aa3ee;
    box-shadow: 0 6px 16px rgba(74, 163, 238, 0.24);
  }
  .wb-avatar-delete-confirm-cancel {
    border: 1px solid #dcdfe6;
    background: #eeeeee;
    color: #606266;
  }
  .wb-avatar-delete-confirm-cancel:hover {
    background: #e5e7eb;
    border-color: #cfd5df;
  }
  .wb-avatar-add-card .wb-avatar-preview {
    border-style: dashed;
    background: rgba(255, 255, 255, 0.86);
  }
  .wb-avatar-add-card .wb-avatar-name {
    color: #5FAFEF;
  }
  .wb-avatar-add-card .wb-avatar-card-actions {
    visibility: hidden;
  }
  .wb-voice-page {
    width: 90%;
    margin: 0 auto;
    min-height: calc(100vh - 116px);
    padding: 26px clamp(24px, 3vw, 42px) 38px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(160, 175, 200, 0.16);
    border-radius: 18px;
    box-shadow: var(--wb-panel-shadow);
    box-sizing: border-box;
  }
  .wb-voice-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
  }
  .wb-voice-tabs { display: inline-flex; gap: 12px; padding: 7px; border-radius: 18px; background: #eef3fb; }
  .wb-voice-tab {
    border: 0;
    min-width: 140px;
    height: 52px;
    border-radius: 14px;
    background: transparent;
    color: #5b6475;
    font-size: 1.12rem;
    font-weight: 700;
    cursor: pointer;
  }
  .wb-voice-tab.is-active { background: #fff; color: var(--wb-blue-deep); box-shadow: 0 4px 12px rgba(90, 110, 150, 0.12); }
  .wb-voice-actions {
    display: flex;
    align-items: center;
    align-self: flex-start;
    gap: 16px;
    margin-top: 0;
    margin-right: -14px;
  }
  .wb-voice-actions .wb-btn {
    height: 52px;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 16px;
    font-size: 1.08rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-sizing: border-box;
    white-space: nowrap;
  }
  .wb-voice-actions .wb-btn:not(.wb-btn-outline) {
    box-shadow: 0 8px 18px rgba(77, 132, 230, 0.22);
  }
  .wb-voice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(256px, 1fr));
    gap: 22px 24px;
    align-items: stretch;
  }
  .wb-voice-card {
    min-height: 242px;
    padding: 22px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(160, 175, 200, 0.16);
    box-shadow: 0 10px 24px rgba(90, 110, 150, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    will-change: transform;
  }
  .wb-voice-card:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(77, 132, 230, 0.36);
    box-shadow: 0 16px 34px rgba(77, 132, 230, 0.16), 0 10px 26px rgba(90, 110, 150, 0.1);
  }
  .wb-voice-avatar {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: linear-gradient(180deg, #edf4ff 0%, #dce9ff 100%);
    color: var(--wb-blue-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.04rem;
    box-shadow: inset 0 0 0 1px rgba(77, 132, 230, 0.12);
  }
  .wb-voice-name {
    width: 100%;
    min-height: 42px;
    text-align: center;
    font-size: 1.16rem;
    font-weight: 700;
    color: #202736;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .wb-voice-card-actions { display: flex; width: 100%; gap: 14px; justify-content: center; }
  .wb-voice-card-actions.is-minimax-only-delete {
    justify-content: center;
  }
  .wb-voice-card-actions .wb-btn {
    flex: 1;
    min-width: 0;
    min-height: 42px;
    border-radius: 13px;
    font-size: 0.86rem;
    font-weight: 700;
  }
  .wb-voice-card-actions.is-minimax-only-delete .wb-btn {
    flex: 0 0 86px;
    width: 86px;
    min-width: 86px;
    padding: 0 18px;
    margin: 0 auto;
  }
  .wb-delete-modal-mask {
    position: fixed;
    inset: 0;
    z-index: 74;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 14px;
    background: rgba(15, 23, 42, 0.32);
  }
  .wb-delete-modal-mask.is-open { display: flex; }
  .wb-delete-modal-card {
    width: min(360px, calc(100vw - 36px));
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.2);
    padding: 18px 20px 16px;
  }
  .wb-delete-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
  }
  .wb-delete-modal-title {
    font-size: 16px;
    font-weight: 800;
    color: #1f2937;
  }
  .wb-delete-modal-close {
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #98a2b3;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
  }
  .wb-delete-modal-close:hover {
    background: #f3f4f6;
    color: #475467;
  }
  .wb-delete-modal-body {
    margin: 0 0 18px;
    color: #344054;
    font-size: 14px;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .wb-delete-modal-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
  }
  .wb-delete-modal-cancel,
  .wb-delete-modal-confirm {
    min-width: 70px;
    height: 32px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
  }
  .wb-delete-modal-cancel {
    border: 1px solid #d0d5dd;
    background: #ffffff;
    color: #344054;
  }
  .wb-delete-modal-confirm {
    border: 1px solid var(--wb-blue-deep);
    background: linear-gradient(180deg, var(--wb-blue-hi) 0%, var(--wb-blue-deep) 100%);
    color: #ffffff;
  }
  .wb-delete-modal-confirm:disabled {
    cursor: not-allowed;
    opacity: 0.72;
  }
  .wb-alert-modal-mask {
    position: fixed;
    inset: 0;
    z-index: 76;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(15, 23, 42, 0.32);
  }
  .wb-alert-modal-mask:not(.is-open) { pointer-events: none; }
  .wb-alert-modal-mask.is-open { display: flex; }
  .wb-alert-modal-card {
    width: 360px;
    max-width: calc(100vw - 36px);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.2);
    padding: 18px 20px 16px;
  }
  .wb-alert-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
  }
  .wb-alert-modal-title {
    font-size: 16px;
    font-weight: 800;
    color: #1f2937;
  }
  .wb-alert-modal-close {
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #98a2b3;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
  }
  .wb-alert-modal-close:hover {
    background: #f3f4f6;
    color: #475467;
  }
  .wb-alert-modal-body {
    margin: 0 0 18px;
    color: #344054;
    font-size: 14px;
    line-height: 1.5;
  }
  .wb-alert-modal-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  .wb-alert-modal-ok {
    min-width: 70px;
    height: 32px;
    border: 1px solid var(--wb-blue-deep);
    border-radius: 7px;
    background: linear-gradient(180deg, var(--wb-blue-hi) 0%, var(--wb-blue-deep) 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
  }
  .wb-upload-modal {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: none;
    overflow-x: auto;
    overflow-y: auto;
    padding: 0;
    margin: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: rgba(15, 23, 42, 0.38);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .wb-upload-modal.is-open { display: block; }
  .wb-upload-modal::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }
  .wb-upload-card {
    width: min(600px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    height: auto;
    max-height: none;
    overflow: visible;
    margin: 15vh auto 50px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 20px 56px rgba(15, 23, 42, 0.22);
    padding: 18px 21px;
  }
  .wb-upload-card::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }
  .wb-upload-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    margin-bottom: 26px;
  }
  .wb-upload-title {
    font-size: 21px;
    font-weight: 800;
    color: #1f2937;
  }
  .wb-upload-close {
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #98a2b3;
    font-size: 21px;
    line-height: 1;
    cursor: pointer;
  }
  .wb-upload-close:hover {
    background: #f3f4f6;
    color: #475467;
  }
  .wb-upload-grid { display: grid; gap: 16px; width: 100%; max-width: 100%; }
  .wb-upload-section {
    width: 100%;
    max-width: 100%;
    border: 1px solid rgba(160, 175, 200, 0.18);
    border-radius: 12px;
    background: #fbfdff;
  }
  .wb-upload-section.is-audio { padding: 16px 18px; }
  .wb-upload-section.is-name { padding: 16px 18px; transition: border-color .2s ease, box-shadow .2s ease; }
  .wb-upload-section.is-text { padding: 16px 18px; }
  .wb-upload-section.is-name:hover { border-color: #409eff; box-shadow: 0 0 0 3px rgba(64,158,255,.15); }
  .wb-upload-label { font-size: 15px; font-weight: 700; color: #1f2937; display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
  .wb-upload-section.is-audio .wb-upload-label { justify-content: flex-start; gap: 10px; }
  .wb-upload-danger { color: #e11d48; font-size: 13px; font-weight: 700; }
  .wb-upload-box {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 145px;
    border: 1.5px dashed #8db9ff;
    border-radius: 10px;
    background: #f7faff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #64748b;
    cursor: pointer;
    text-align: center;
    padding: 16px;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
  }
  .wb-upload-box:hover { border-color: var(--wb-blue-deep); background: #f3f7ff; box-shadow: 0 0 0 3px rgba(64,158,255,.15); }
  .wb-upload-box input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
  .wb-upload-icon { display: none; }
  .wb-upload-file-name { color: #1f2937; font-size: 0; font-weight: 800; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .wb-upload-file-name::before { font-size: 15px; }
  .wb-upload-file-name::before { content: "将音频拖到此处或点击上传"; font-size: 13px; }
  .wb-upload-file-name::before { font-size: 15px; }
  .wb-upload-format { font-size: 13px; color: #8a94a6; }
  .wb-upload-text-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
  .wb-upload-text-head .wb-upload-label { margin-bottom: 0; }
  .wb-upload-tip { width: 100%; max-width: 100%; min-height: 32px; display: flex; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-radius: 8px; background: #fffaf0; color: #8a6a1f; font-size: 12.5px; line-height: 1; padding: 0 10px; margin: 0 0 10px; }
  .wb-upload-actions { display: flex; justify-content: center; gap: 0; margin-top: 16px; padding-bottom: 12px; }
  .wb-upload-actions .wb-btn { width: 220px; max-width: 100%; height: 43px; min-height: 43px; border-radius: 10px; padding: 0 15px; font-size: 16px; font-weight: 600; }
  .wb-upload-card .wb-btn-sm,
  .wb-edit-card .wb-btn-sm {
    min-height: 30px;
    height: 30px;
    padding: 0 10px;
    border-radius: 14px;
    font-size: 0.72rem;
  }
  .wb-upload-preview-file {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 14px 0 12px;
    padding: 9px 12px;
    border-radius: 9px;
    background: #f8fbff;
    color: #387ee8;
    font-size: 0.86rem;
    font-weight: 700;
    transition: color .16s ease, background-color .16s ease, box-shadow .16s ease;
  }
  .wb-upload-preview-file.is-visible { display: flex; }
  .wb-upload-preview-file.is-visible:hover {
    color: #1d6fe8;
    background: #eef6ff;
    box-shadow: 0 6px 16px rgba(95, 175, 239, 0.12);
  }
  .wb-upload-preview-check {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #22c55e;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
  }
  .wb-upload-audio { display: none; width: 100%; height: 30px; }
  .wb-upload-audio.is-visible { display: block; }
  .wb-upload-card .wb-input {
    width: 100%;
    max-width: 100%;
    height: 40px;
    min-height: 40px;
    border-radius: 10px;
    font-size: 14px;
  }
  .wb-upload-card .wb-textarea {
    width: 100%;
    max-width: 100%;
    height: 150px;
    min-height: 150px;
    max-height: 150px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.45;
    resize: none;
  }
  .wb-upload-card #wb-auto-recognize-btn {
    width: 70px;
    height: 33px;
    min-height: 33px;
    border-radius: 9px;
    padding: 0;
    font-size: 13px;
    background: linear-gradient(180deg, var(--wb-blue-hi) 0%, var(--wb-blue-deep) 100%);
    color: #ffffff;
    border: 0;
    box-shadow: 0 4px 10px rgba(77, 132, 230, 0.2);
  }
  .wb-upload-card #wb-upload-voice-save {
    width: 220px;
    max-width: 100%;
    height: 43px;
    min-height: 43px;
    border-radius: 10px;
    padding: 0 15px;
    font-size: 16px;
    font-weight: 600;
  }
  .wb-edit-card .wb-input {
    width: 100%;
    max-width: 100%;
    height: 40px;
    min-height: 40px;
    border-radius: 10px;
    font-size: 14px;
  }
  .wb-edit-card .wb-textarea {
    width: 100%;
    max-width: 100%;
    height: 150px;
    min-height: 150px;
    max-height: 150px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.45;
    resize: none;
  }
  .wb-edit-modal {
    position: fixed;
    inset: 0;
    z-index: 72;
    display: none;
    overflow-x: auto;
    overflow-y: auto;
    padding: 0;
    margin: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }
  .wb-edit-modal.is-open { display: block; }
  .wb-edit-modal::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }
  .wb-edit-card {
    width: min(600px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    height: auto;
    max-height: none;
    overflow: visible;
    margin: 15vh auto 50px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 20px 56px rgba(15, 23, 42, 0.22);
    padding: 18px 21px;
  }
  .wb-edit-card::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }
  .wb-edit-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    margin-bottom: 26px;
  }
  .wb-edit-title { font-size: 21px; font-weight: 800; color: #1f2937; }
  .wb-edit-close {
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #98a2b3;
    font-size: 21px;
    cursor: pointer;
  }
  .wb-edit-close:hover { background: #f3f4f6; color: #475467; }
  .wb-edit-section {
    width: 100%;
    max-width: 100%;
    border: 1px solid rgba(160, 175, 200, 0.18);
    border-radius: 12px;
    background: #fbfdff;
    padding: 16px 18px;
    margin-bottom: 16px;
  }
  .wb-edit-section.is-upload { border-color: rgba(160, 175, 200, 0.18); }
  .wb-edit-card .wb-edit-section:not(.is-upload) { transition: border-color .2s ease, box-shadow .2s ease; }
  .wb-edit-card .wb-edit-section:not(.is-upload):hover { border-color: #409eff; box-shadow: 0 0 0 3px rgba(64,158,255,.15); }
  .wb-edit-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
  }
  .wb-edit-section.is-upload .wb-edit-label { justify-content: flex-start; gap: 10px; }
  .wb-edit-danger { color: #e11d48; font-size: 13px; font-weight: 700; }
  .wb-edit-drop {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 145px;
    border: 1.5px dashed #8db9ff;
    border-radius: 10px;
    background: #f7faff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    color: #667085;
    cursor: pointer;
    padding: 16px;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
  }
  .wb-edit-drop:hover { border-color: var(--wb-blue-deep); background: #f3f7ff; box-shadow: 0 0 0 3px rgba(64,158,255,.15); }
  .wb-edit-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
  .wb-edit-drop-main { font-size: 15px; color: #1f2937; font-weight: 800; }
  .wb-edit-drop-sub { font-size: 13px; color: #8a94a6; }
  .wb-edit-file-row {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 10px 0 8px;
    padding: 7px 10px;
    border-radius: 8px;
    background: #f8fbff;
    font-size: 14px;
    font-weight: 700;
    color: #387ee8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .wb-edit-file-row.is-visible { display: flex; }
  .wb-edit-file-row .wb-edit-file-check {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #22c55e;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
  }
  .wb-edit-audio { display: none; width: 100%; height: 30px; margin-top: 5px; }
  .wb-edit-audio.is-visible { display: block; }
  .wb-edit-audio-empty {
    display: none;
    padding: 7px 9px;
    border-radius: 8px;
    background: #f8fafc;
    color: #98a2b3;
    font-size: 12.5px;
    text-align: center;
  }
  .wb-edit-audio-empty.is-visible { display: block; }
  .wb-edit-text-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
  .wb-edit-warning {
    width: 100%;
    max-width: 100%;
    min-height: 32px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 8px;
    background: #fffaf0;
    color: #8a6a1f;
    font-size: 12.5px;
    line-height: 1;
    padding: 0 10px;
    margin: 0 0 10px;
  }
  .wb-edit-actions { display: flex; justify-content: center; padding-top: 16px; padding-bottom: 12px; }
  .wb-edit-save { width: 220px; max-width: 100%; height: 43px; min-height: 43px; border-radius: 10px; padding: 0 15px; font-size: 16px; font-weight: 600; }
  .wb-edit-card #wb-edit-voice-save {
    width: 220px;
    max-width: 100%;
    height: 43px;
    min-height: 43px;
    border-radius: 10px;
    padding: 0 15px;
    font-size: 16px;
    font-weight: 600;
  }
  .wb-edit-card #wb-edit-auto-recognize-btn {
    width: 70px;
    height: 33px;
    min-height: 33px;
    border-radius: 9px;
    padding: 0;
    font-size: 13px;
    background: linear-gradient(180deg, var(--wb-blue-hi) 0%, var(--wb-blue-deep) 100%);
    color: #ffffff;
    border: 0;
    box-shadow: 0 4px 10px rgba(77, 132, 230, 0.2);
  }
  .wb-voice-page .wb-voice-tab.is-active {
    color: #5FAFEF;
    box-shadow: 0 4px 12px rgba(95, 175, 239, 0.16);
  }
  .wb-voice-page .wb-voice-tab.is-active:hover,
  .wb-voice-page .wb-voice-tab.is-active:focus,
  .wb-voice-page .wb-voice-tab.is-active:active {
    color: #5FAFEF;
    box-shadow: 0 5px 14px rgba(95, 175, 239, 0.2);
  }
  .wb-voice-page .wb-voice-actions .wb-btn:not(.wb-btn-outline),
  .wb-voice-page .wb-voice-card-actions .wb-btn:not(.wb-btn-outline),
  .wb-upload-card #wb-auto-recognize-btn,
  .wb-upload-card #wb-upload-voice-save,
  .wb-edit-card #wb-edit-auto-recognize-btn,
  .wb-edit-card #wb-edit-voice-save,
  #wb-delete-voice-modal .wb-delete-modal-confirm,
  body:has(#wb-voice-page:not(.wb-page-hidden)) #wb-workbench-alert-modal .wb-alert-modal-ok {
    background: #5FAFEF;
    border-color: #5FAFEF;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(95, 175, 239, 0.25);
  }
  .wb-voice-page .wb-voice-actions .wb-btn:not(.wb-btn-outline):hover,
  .wb-voice-page .wb-voice-actions .wb-btn:not(.wb-btn-outline):focus,
  .wb-voice-page .wb-voice-actions .wb-btn:not(.wb-btn-outline):active,
  .wb-voice-page .wb-voice-card-actions .wb-btn:not(.wb-btn-outline):hover,
  .wb-voice-page .wb-voice-card-actions .wb-btn:not(.wb-btn-outline):focus,
  .wb-voice-page .wb-voice-card-actions .wb-btn:not(.wb-btn-outline):active,
  .wb-upload-card #wb-auto-recognize-btn:hover,
  .wb-upload-card #wb-auto-recognize-btn:focus,
  .wb-upload-card #wb-auto-recognize-btn:active,
  .wb-upload-card #wb-upload-voice-save:hover,
  .wb-upload-card #wb-upload-voice-save:focus,
  .wb-upload-card #wb-upload-voice-save:active,
  .wb-edit-card #wb-edit-auto-recognize-btn:hover,
  .wb-edit-card #wb-edit-auto-recognize-btn:focus,
  .wb-edit-card #wb-edit-auto-recognize-btn:active,
  .wb-edit-card #wb-edit-voice-save:hover,
  .wb-edit-card #wb-edit-voice-save:focus,
  .wb-edit-card #wb-edit-voice-save:active,
  #wb-delete-voice-modal .wb-delete-modal-confirm:hover,
  #wb-delete-voice-modal .wb-delete-modal-confirm:focus,
  #wb-delete-voice-modal .wb-delete-modal-confirm:active,
  body:has(#wb-voice-page:not(.wb-page-hidden)) #wb-workbench-alert-modal .wb-alert-modal-ok:hover,
  body:has(#wb-voice-page:not(.wb-page-hidden)) #wb-workbench-alert-modal .wb-alert-modal-ok:focus,
  body:has(#wb-voice-page:not(.wb-page-hidden)) #wb-workbench-alert-modal .wb-alert-modal-ok:active {
    background: #4fa4e4;
    border-color: #4fa4e4;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(95, 175, 239, 0.3);
  }
  .wb-voice-page .wb-voice-actions .wb-btn.wb-btn-outline,
  .wb-voice-page .wb-voice-card-actions .wb-btn.wb-btn-outline {
    background: #ffffff;
    border-color: rgba(95, 175, 239, 0.55);
    color: #5FAFEF;
    box-shadow: 0 5px 12px rgba(95, 175, 239, 0.12);
  }
  .wb-voice-page .wb-voice-actions .wb-btn.wb-btn-outline:hover,
  .wb-voice-page .wb-voice-actions .wb-btn.wb-btn-outline:focus,
  .wb-voice-page .wb-voice-actions .wb-btn.wb-btn-outline:active,
  .wb-voice-page .wb-voice-card-actions .wb-btn.wb-btn-outline:hover,
  .wb-voice-page .wb-voice-card-actions .wb-btn.wb-btn-outline:focus,
  .wb-voice-page .wb-voice-card-actions .wb-btn.wb-btn-outline:active {
    background: rgba(95, 175, 239, 0.08);
    border-color: #5FAFEF;
    color: #5FAFEF;
    box-shadow: 0 7px 16px rgba(95, 175, 239, 0.16);
  }
  .wb-voice-page .wb-voice-card:hover {
    border-color: rgba(95, 175, 239, 0.36);
    box-shadow: 0 16px 34px rgba(95, 175, 239, 0.16), 0 10px 26px rgba(90, 110, 150, 0.1);
  }
  .wb-voice-page .wb-voice-avatar {
    color: #5FAFEF;
    box-shadow: inset 0 0 0 1px rgba(95, 175, 239, 0.16);
  }
  .wb-upload-card .wb-upload-box,
  .wb-edit-card .wb-edit-drop {
    border-color: rgba(95, 175, 239, 0.55);
  }
  .wb-upload-card .wb-upload-box:hover,
  .wb-edit-card .wb-edit-drop:hover {
    border-color: #5FAFEF;
    background: rgba(95, 175, 239, 0.08);
  }
  .wb-upload-card .wb-upload-preview-file,
  .wb-edit-card .wb-edit-file-row {
    color: #5FAFEF;
  }

  @media (min-width: 1040px) {
    .wb-nav {
      flex-wrap: nowrap;
      height: 90px;
      row-gap: 0;
    }
  }

  @media (min-width: 1280px) {
    .wb-panel.wb-col-span-l { min-width: 250px; }
    .wb-panel.wb-mid-top,
    .wb-panel.wb-mid-bot { min-width: 300px; }
    .wb-panel.wb-right-top { min-width: 360px; }
    .wb-panel.wb-right-bot > .wb-panel { min-width: 260px; }
  }

  @media (max-width: 1279px) and (min-width: 961px) {
    .wb-main-wrap {
      max-width: none;
      padding-inline: clamp(7px, 1.25vw, 11px);
    }
    .wb-grid {
      grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) minmax(360px, 2fr);
      grid-template-rows: auto auto;
      grid-template-areas:
        "left mid-top right-top"
        "left mid-bot right-bot";
      gap: clamp(5px, 0.9vw, 8px);
      min-height: clamp(580px, calc(100vh - 104px), 720px);
    }
    .wb-right-top .wb-vclip-layout {
      grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
      gap: 16px;
    }
    .wb-right-top .wb-preview {
      min-height: 136px;
    }
  }

  @media (max-width: 900px) and (min-width: 821px) {
    .wb-main-wrap {
      max-width: none;
      padding: 5px 8px 8px;
    }
    .wb-grid {
      grid-template-columns: minmax(200px, 1fr) minmax(200px, 1fr) minmax(320px, 2fr);
      grid-template-rows: auto auto;
      grid-template-areas:
        "left mid-top right-top"
        "left mid-bot right-bot";
      gap: clamp(5px, 0.9vw, 8px);
      min-height: clamp(540px, calc(100vh - 98px), 680px);
    }
    .wb-col-span-l { min-width: 0; }
    .wb-mid-top, .wb-mid-bot, .wb-right-top, .wb-right-bot { min-width: 0; }
    .wb-mid-top { min-height: 148px; }
    .wb-mid-bot { min-height: 166px; }
    .wb-right-bot {
      grid-template-columns: repeat(2, minmax(240px, 1fr));
      gap: clamp(5px, 0.9vw, 8px);
      min-height: 184px;
    }
    .wb-right-top .wb-vclip-layout {
      grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr);
      gap: 14px;
    }
    .wb-right-top .wb-vclip-col { min-width: 150px; }
    .wb-right-top { min-height: 202px; }
    .wb-right-top .wb-preview { min-height: 142px; }
    .wb-vclip-duo-btn { grid-template-columns: 1fr; }
  }

  @media (max-width: 820px) {
    .wb-app { padding-left: 0; }
    .wb-clone-sidebar { width: 66px; padding: 18px 3px 0; }
    .wb-menu-list { gap: 7px; }
    .wb-menu-item { width: 60px; min-height: 56px; font-size: 10px; }
    .wb-menu-icon { width: 36px; height: 36px; border-radius: 10px; }
    .wb-main-wrap {
      max-width: none;
      padding: 5px 8px 9px;
    }
    .wb-grid {
      grid-template-columns: minmax(0, 1fr);
      grid-template-areas:
        "left"
        "mid-top"
        "mid-bot"
        "right-top"
        "right-bot";
      grid-template-rows: none;
      grid-auto-rows: auto;
      gap: 6px;
      height: auto;
    }
    .wb-col-span-l,
    .wb-mid-top,
    .wb-mid-bot,
    .wb-right-top,
    .wb-right-bot { min-width: 0; }
    .wb-right-bot {
      grid-template-columns: minmax(0, 1fr);
      gap: 6px;
    }
    .wb-rewrite-config-grid {
      grid-template-columns: minmax(0, 1fr);
    }
    .wb-mid-bot {
      min-height: 0;
    }
    .wb-right-top .wb-vclip-layout {
      display: flex;
      flex-direction: column;
      grid-template-columns: none;
      gap: 7px;
    }
    .wb-right-top .wb-vclip-col {
      width: 100%;
      min-width: 0;
      flex: 0 0 auto;
    }
    .wb-right-top .wb-preview {
      width: 100%;
      min-height: 142px;
      flex: 0 0 auto;
    }
    .wb-right-top .wb-preview-inner {
      min-height: 112px;
    }
    .wb-thumbs {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 1279px) {
    #wb-workbench-page .wb-right-top .wb-vclip-new-layout {
      display: grid;
      grid-template-columns: minmax(420px, 1fr) minmax(420px, 1fr);
      min-width: 880px;
      gap: 20px;
    }
    #wb-workbench-page .wb-vclip-new-layout > .wb-vclip-col:first-child,
    #wb-workbench-page .wb-vclip-new-layout > .wb-vclip-preview-col,
    #wb-workbench-page .wb-vclip-new-layout .wb-vclip-preview-col .wb-preview {
      min-width: 420px;
    }
  }
  @media (max-width: 900px) {
    .wb-nav {
      padding: 0 14px;
    }
    .wb-brand span:last-child {
      white-space: nowrap;
    }
    .wb-nav-right {
      flex: 0 0 auto;
      justify-content: flex-end;
    }
  }
  .wb-mm-clone-modal {
    position: fixed;
    inset: 0;
    z-index: 71;
    display: none;
    overflow-x: auto;
    overflow-y: auto;
    padding: 0;
    margin: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: rgba(15, 23, 42, 0.38);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .wb-mm-clone-modal.is-open { display: block; }
  .wb-mm-clone-modal::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }
  .wb-mm-clone-card {
    width: min(600px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    height: auto;
    max-height: none;
    overflow: visible;
    margin: 15vh auto 50px;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 20px 56px rgba(15, 23, 42, 0.22);
    padding: 18px 21px;
    box-sizing: border-box;
  }
  .wb-mm-clone-card::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }
  .wb-mm-clone-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    margin-bottom: 26px;
  }
  .wb-mm-clone-title {
    font-size: 21px;
    font-weight: 800;
    color: #1f2937;
  }
  .wb-mm-clone-close {
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #98a2b3;
    font-size: 21px;
    line-height: 1;
    cursor: pointer;
  }
  .wb-mm-clone-close:hover {
    background: #f3f4f6;
    color: #475467;
  }
  .wb-mm-clone-blocks {
    display: grid;
    gap: 16px;
    width: 100%;
    max-width: 100%;
  }
  .wb-mm-clone-block {
    width: 100%;
    max-width: 100%;
    border: 1px solid rgba(160, 175, 200, 0.18);
    border-radius: 12px;
    background: #fbfdff;
    padding: 16px 18px;
    box-sizing: border-box;
  }
  .wb-mm-block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
  }
  .wb-mm-block-title {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    line-height: 22px;
  }
  .wb-mm-block-tip {
    font-size: 12.5px;
    color: #8a94a6;
    line-height: 20px;
    text-align: right;
    flex: 1 1 auto;
  }
  .wb-mm-method-options {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
  }
  .wb-mm-method-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #1f2937;
    cursor: pointer;
    user-select: none;
    margin: 0;
    position: relative;
  }
  .wb-mm-clone-modal .wb-mm-method-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }
  .wb-mm-radio-dot {
    width: 16px;
    height: 16px;
    border: 1.5px solid #c9d3e1;
    border-radius: 50%;
    background: #fff;
    box-sizing: border-box;
    position: relative;
    flex: 0 0 16px;
    transition: border-color .15s ease, background .15s ease;
  }
  .wb-mm-radio-dot::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
  }
  .wb-mm-method-option input[type="radio"]:checked + .wb-mm-radio-dot {
    border-color: #5FAFEF;
    background: #5FAFEF;
  }
  .wb-mm-method-option input[type="radio"]:checked + .wb-mm-radio-dot::after {
    opacity: 1;
  }
  .wb-mm-method-option input[type="radio"]:checked ~ .wb-mm-radio-text {
    color: #5FAFEF;
  }
  .wb-mm-upload-box {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 145px;
    border: 1.5px dashed rgba(95, 175, 239, 0.55);
    border-radius: 10px;
    background: #f7faff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #64748b;
    cursor: pointer;
    text-align: center;
    padding: 16px;
    box-sizing: border-box;
  }
  .wb-mm-upload-box:hover {
    border-color: #5FAFEF;
    background: rgba(95, 175, 239, 0.08);
  }
  .wb-mm-upload-box input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
  }
  .wb-mm-upload-main {
    font-size: 15px;
    color: #1f2937;
    font-weight: 700;
    line-height: 22px;
  }
  .wb-mm-upload-sub {
    font-size: 13px;
    color: #8a94a6;
    line-height: 20px;
  }
  .wb-mm-upload-file-name {
    margin-top: 12px;
    font-size: 13px;
    color: #387ee8;
    word-break: break-all;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 8px;
    background: #f8fbff;
    transition: color .16s ease, background-color .16s ease, box-shadow .16s ease;
  }
  .wb-mm-upload-file-name.is-visible { display: flex; }
  .wb-mm-upload-file-name.is-visible:hover {
    color: #1d6fe8;
    background: #eef6ff;
    box-shadow: 0 6px 16px rgba(95, 175, 239, 0.12);
  }
  .wb-mm-upload-check {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    display: block;
  }
  .wb-mm-upload-check circle {
    fill: #22C55E;
  }
  .wb-mm-upload-check path {
    fill: none;
    stroke: #FFFFFF;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .wb-mm-upload-file-name:not(.is-visible) .wb-mm-upload-check {
    display: none;
  }
  .wb-mm-upload-file-name.is-visible::after {
    content: "";
    display: none;
  }
  .wb-mm-upload-filename-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .wb-mm-upload-check-fallback {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #22c55e;
  }
  .wb-mm-upload-preview,
  .wb-mm-clone-result {
    margin-top: 12px;
    border: 1px solid rgba(160, 175, 200, 0.22);
    border-radius: 10px;
    background: #ffffff;
    padding: 12px;
    box-sizing: border-box;
  }
  .wb-mm-upload-preview[hidden],
  .wb-mm-clone-result[hidden] {
    display: none !important;
  }
  .wb-mm-upload-preview-title,
  .wb-mm-clone-result-title {
    font-size: 13px;
    font-weight: 700;
    color: #1f2937;
    line-height: 20px;
    margin-bottom: 8px;
  }
  .wb-mm-upload-preview audio,
  .wb-mm-clone-result audio {
    display: block;
    width: 100%;
    height: 34px;
  }
  .wb-mm-clone-result-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
  }
  .wb-mm-clone-result-tip,
  .wb-mm-clone-result-empty {
    font-size: 12.5px;
    color: #8a94a6;
    line-height: 20px;
  }
  .wb-mm-clone-result-empty {
    margin-top: 6px;
  }
  .wb-mm-id-input {
    width: 100%;
    max-width: 100%;
    height: 40px;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(160, 175, 200, 0.4);
    border-radius: 10px;
    background: #ffffff;
    font-size: 14px;
    color: #1f2937;
    outline: none;
    box-sizing: border-box;
  }
  .wb-mm-id-input:focus {
    border-color: #5FAFEF;
    box-shadow: 0 0 0 3px rgba(95, 175, 239, 0.15);
  }
  .wb-mm-clone-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    padding-bottom: 12px;
    flex-wrap: wrap;
  }
  .wb-mm-clone-submit {
    width: 220px;
    max-width: 100%;
    height: 43px;
    min-height: 43px;
    border-radius: 10px;
    padding: 0 15px;
    font-size: 16px;
    font-weight: 600;
    background: #5FAFEF;
    border: 1px solid #5FAFEF;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(95, 175, 239, 0.25);
    cursor: pointer;
  }
  .wb-mm-clone-submit:hover,
  .wb-mm-clone-submit:focus,
  .wb-mm-clone-submit:active {
    background: #4fa4e4;
    border-color: #4fa4e4;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(95, 175, 239, 0.3);
  }
  #wb-mm-clone-add-cloned {
    background: #22c55e;
    border-color: #22c55e;
    box-shadow: 0 8px 18px rgba(34, 197, 94, 0.25);
  }
  #wb-mm-clone-add-cloned:hover,
  #wb-mm-clone-add-cloned:focus,
  #wb-mm-clone-add-cloned:active {
    background: #16a34a;
    border-color: #16a34a;
    box-shadow: 0 10px 22px rgba(34, 197, 94, 0.3);
  }
  .wb-mm-clone-card[data-mode="copy"] .wb-mm-mode-id-only { display: none !important; }
  .wb-mm-clone-card[data-mode="id"] .wb-mm-mode-copy-only { display: none !important; }

/* PC cloud static workbench compatibility */
body.pc-original-workbench .pc-cloud-toast {
  position: fixed;
  left: 50%;
  top: 104px;
  z-index: 9999;
  transform: translateX(-50%) translateY(-8px);
  max-width: min(520px, calc(100vw - 40px));
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(31, 41, 55, 0.94);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.24);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
body.pc-original-workbench .pc-cloud-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
body.pc-original-workbench .pc-cloud-menu-collapsed .wb-clone-sidebar {
  display: none;
}
body.pc-original-workbench .pc-cloud-menu-collapsed .wb-main-wrap {
  margin-left: 0;
}
body.pc-original-workbench #wb-copy-gen-result,
body.pc-original-workbench #wb-copy-rewrite-result {
  white-space: pre-wrap;
}
body.pc-original-workbench .pc-cloud-disabled-hint {
  opacity: 0.78;
}
