.video-studio-dialog {
  box-sizing: border-box;
  width: min(780px, calc(100vw - 24px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 24px;
  border: 1px solid #e5e3dd;
  border-radius: 16px;
  background: #fff;
  color: #202c27;
  font: inherit;
  overflow: auto;
}
.video-studio-dialog::backdrop {
  background: #14201980;
}
.video-studio-dialog [hidden] {
  display: none !important;
}
.video-studio-dialog header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.video-studio-dialog h2 {
  font-size: 22px;
  margin: 0 0 16px;
}
.video-studio-dialog h3 {
  font-size: 16px;
}
.video-studio-dialog button,
.video-studio-dialog a.vs-primary {
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #d8dcd6;
  border-radius: 8px;
  background: #fff;
  color: #202c27;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  text-decoration: none;
}
.video-studio-dialog button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.video-studio-dialog .vs-primary {
  background: #223d31;
  color: #fff;
  border-color: #223d31;
}
.video-studio-dialog .vs-danger {
  color: #a33329;
  border-color: #a33329;
}
.video-studio-dialog [data-close] {
  font-size: 24px;
  border: 0;
}
.video-studio-dialog form {
  display: grid;
  gap: 16px;
}
[data-video-inputs] { display: grid; gap: 16px; }
.vs-video-options,
.vs-video-materials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  min-width: 0;
}
.vs-video-materials label {
  min-width: 0;
  padding: 12px;
  border: 1px solid #d8dcd6;
  border-radius: 8px;
  background: #f2f5f1;
}
.vs-video-materials small,
.vs-video-file small {
  color: #71766e;
  font-size: 12px;
  line-height: 1.5;
}
.video-studio-dialog .vs-video-materials input {
  min-width: 0;
  padding: 6px 0;
  border: 0;
  background: transparent;
  font-size: 13px;
}
.vs-video-files { display: grid; gap: 10px; }
.vs-video-file { display: grid; gap: 8px; padding: 10px; border: 1px solid #d8dcd6; border-radius: 8px; overflow-wrap: anywhere; }
.vs-video-file img { display: block; width: 100%; height: 160px; object-fit: contain; background: #f2f5f1; border-radius: 6px; }
.vs-video-file audio { width: 100%; min-width: 0; }
.vs-video-file button { justify-self: start; }
.vs-profile-management { margin: 20px 0; }
.vs-profile-management summary { cursor: pointer; min-height: 32px; }
[data-direct-progress] { padding: 12px; border: 1px solid #d8dcd6; border-radius: 8px; background: #f2f5f1; margin: 12px 0; }
.video-studio-dialog label {
  display: grid;
  gap: 8px;
  font-size: 14px;
}
.video-studio-dialog .vs-creation-modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0;
}
.video-studio-dialog .vs-creation-modes:has(label[hidden]) {
  grid-template-columns: minmax(0, 1fr);
}
.vs-creation-modes legend {
  margin-bottom: 10px;
  font-size: 14px;
}
.video-studio-dialog .vs-creation-modes label {
  display: flex;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid #d8dcd6;
  border-radius: 8px;
  cursor: pointer;
}
.video-studio-dialog .vs-creation-modes label:has(:checked) {
  border-color: #456c5a;
  background: #f2f5f1;
}
.video-studio-dialog .vs-creation-modes input {
  width: 18px;
  min-height: 18px;
  flex: none;
  padding: 0;
  margin: 2px 0 0;
  accent-color: #223d31;
}
.vs-creation-modes small {
  display: block;
  margin-top: 6px;
  color: #71766e;
  line-height: 1.6;
}
.video-studio-dialog .vs-profile-fields {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.video-studio-dialog .vs-profile-fields[hidden] {
  display: none;
}
.video-studio-dialog input:not([type="checkbox"]):not([type="radio"]),
.video-studio-dialog select,
.video-studio-dialog textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d8dcd6;
  border-radius: 8px;
  background: #fff;
  color: #202c27;
  font: inherit;
  font-size: 16px;
}
.video-studio-dialog textarea {
  resize: vertical;
}
.video-studio-dialog .vs-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.video-studio-dialog .vs-check input {
  min-width: 20px;
  min-height: 20px;
}
.video-studio-dialog :focus-visible {
  outline: 2px solid #456c5a;
  outline-offset: 2px;
}
.vs-help,
.vs-empty {
  color: #71766e;
  font-size: 13px;
  line-height: 1.8;
}
.vs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.vs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.vs-profile {
  padding: 14px;
  border: 1px solid #e5e3dd;
  border-radius: 12px;
  min-width: 0;
}
.vs-profile img,
.vs-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  background: #f2f5f1;
}
.video-studio-dialog .vs-image-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #f2f5f1;
}
.vs-image-button img {
  display: block;
}
.vs-image-button span {
  display: block;
  padding: 8px;
  font-size: 13px;
}
.vs-image-error {
  display: grid;
  gap: 8px;
  padding: 16px;
  color: #71766e;
  font-size: 14px;
  line-height: 1.8;
}
.vs-image-dialog {
  width: min(920px, calc(100vw - 24px));
}
.vs-image-dialog img {
  display: block;
  width: 100%;
  height: min(680px, calc(100dvh - 180px));
  min-height: 100px;
  object-fit: contain;
  background: #f2f5f1;
  border-radius: 8px;
}
.vs-model-dialog {
  width: min(920px, calc(100vw - 24px));
}
.vs-model-dialog [data-model-stage] {
  height: min(560px, calc(100dvh - 260px));
  min-height: 160px;
  background: #f2f5f1;
  border-radius: 12px;
}
.vs-model-dialog model-viewer {
  display: block;
  width: 100%;
  height: 100%;
  --progress-bar-height: 0;
}
.vs-actions:empty {
  display: none;
}
.vs-placeholder {
  display: grid;
  place-items: center;
  color: #71766e;
}
.vs-job {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e5e3dd;
  padding: 16px 0;
  overflow-wrap: anywhere;
}
.vs-job p {
  font-size: 13px;
  line-height: 1.7;
  margin: 6px 0;
}
.vs-job > div:first-child { min-width: 0; }
.vs-job .vs-actions { flex-wrap: wrap; flex-shrink: 0; }
.vs-video-player { display:block; width:100%; max-height:65vh; object-fit:contain; background:#1f2924; border-radius:12px; }
.vs-recorder audio { width:100%; margin:12px 0; }
.vs-recorder .vs-actions { flex-wrap:wrap; }
.video-studio-dialog [data-status] {
  line-height: 1.8;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.video-studio-dialog [data-status]:empty {
  display: none;
}
#privateVideoLibrary {
  margin: 20px 0;
  padding: 20px;
  border: 1px solid #e5e3dd;
  border-radius: 12px;
}
#privateVideoLibrary button {
  min-height: 44px;
}
#privateVideoLibrary h3 {
  margin-top: 0;
}
[data-video-packages] {
  display: grid;
  gap: 12px;
}
[data-video-packages] label {
  display: flex;
  align-items: center;
  padding: 14px;
  border: 1px solid #e5e3dd;
  border-radius: 8px;
}
[data-video-packages] input {
  width: 20px;
  min-height: 20px;
  margin: 0 10px 0 0;
}
@media (max-width: 520px) {
  .video-studio-dialog {
    padding: 18px;
  }
  .vs-grid {
    grid-template-columns: 1fr;
  }
  .vs-job {
    align-items: flex-start;
    flex-direction: column;
  }
  .vs-actions > button {
    flex: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .video-studio-dialog * {
    scroll-behavior: auto;
    animation: none;
    transition: none;
  }
}
.video-studio-dialog form p {
  margin: 0;
}
.video-studio-dialog [data-quote]:empty {
  display: none;
}
@media (max-width: 520px) {
  .video-studio-dialog form > .vs-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .video-studio-dialog form > .vs-actions > [data-estimate] {
    grid-column: 1/-1;
  }
}
.vs-composer-profile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 6px 10px;
  border: 1px solid var(--line, #d8dfd9);
  border-radius: 8px;
  overflow-wrap: anywhere;
  color: var(--ink, #263b30);
}
.vs-composer-profile button {
  flex: none;
  min-width: 32px;
  min-height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.vs-composer-profile button:focus-visible {
  outline: 2px solid var(--accent, #496e5a);
  outline-offset: 2px;
}

/* The studio is a bounded workspace; only its active panel scrolls. Secondary
   dialogs keep their existing, narrower sizing. */
.video-studio-dialog.vs-workspace-dialog {
  width: min(1280px, calc(100vw - 48px));
  max-width: calc(100vw - 48px);
  height: min(800px, calc(100dvh - 40px));
  max-height: calc(100dvh - 40px);
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 24px 80px #14201926;
  font-family: var(--app-font-sans, "PingFang SC", "Microsoft YaHei", sans-serif);
}
.vs-workspace-dialog[open] { display: flex; flex-direction: column; }
.vs-workspace-dialog > header { flex: none; padding: 24px 32px 16px; align-items: flex-start; }
.vs-workspace-dialog .vs-studio-title { min-width: 0; }
.vs-workspace-dialog h2 { margin: 0; font-size: 26px; line-height: 1.35; }
.vs-studio-title > p { margin: 6px 0 0; color: #71766e; font-size: 14px; line-height: 1.6; }
.vs-header-actions { display: flex; align-items: center; gap: 20px; flex: none; }
.vs-wallet-badge { padding: 7px 13px; border-radius: 24px; background: #f2f5f1; font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.vs-workspace-dialog [data-close] { width: 40px; min-height: 40px; padding: 0; line-height: 1; }
.vs-workspace-dialog > [data-body] { display: flex; flex-direction: column; flex: 1; min-height: 0; min-width: 0; }
.vs-studio-navigation { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex: none; padding: 0 32px; border-bottom: 1px solid #e5e3dd; }
.vs-studio-tabs { display: flex; gap: 24px; min-width: 0; }
.vs-workspace-dialog .vs-studio-tabs > button { position: relative; flex: none; padding: 13px 4px; border: 0; border-radius: 0; background: transparent; color: #71766e; font-size: 15px; white-space: nowrap; }
.vs-workspace-dialog .vs-studio-tabs > button[aria-selected="true"] { color: #223d31; font-weight: 650; }
.vs-studio-tabs > button[aria-selected="true"]::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 3px; border-radius: 3px 3px 0 0; background: #456c5a; }
.vs-workspace-dialog .vs-text-button { border: 0; background: transparent; padding: 6px 0; min-height: 36px; color: #657368; font-size: 13px; }
.vs-workspace-dialog .vs-text-button:hover { color: #223d31; }
.vs-workspace-dialog [data-studio-panel] { flex: 1; min-height: 0; min-width: 0; overflow: auto; padding: 24px 32px; scrollbar-gutter: stable; overscroll-behavior: contain; }
.vs-workspace-dialog [data-studio-panel="create"] { display: flex; padding: 0; overflow: hidden; scrollbar-gutter: auto; }
.vs-workspace-dialog form[data-direct-video] { display: flex; flex-direction: column; gap: 0; flex: 1; min-height: 0; min-width: 0; }
.vs-direct-scroll { flex: 1; min-height: 0; padding: 22px 32px; overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.vs-workspace-dialog [data-video-inputs] { display: grid; grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); align-items: start; gap: 36px; }
.vs-workspace-dialog .vs-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.vs-workspace-dialog h3 { margin: 0; line-height: 1.5; font-size: 16px; }
.vs-workspace-dialog .vs-section-heading .vs-help { margin: 6px 0 0; }
.vs-workspace-dialog .vs-section-heading .vs-actions { margin: 0; }
.vs-casting { min-width: 0; }
.vs-workspace-dialog .vs-selected-profile { padding: 14px 14px 0; background: #f2f5f1; border: 0; border-radius: 12px; }
.vs-workspace-dialog .vs-selected-profile .vs-image-button { background: transparent; }
.vs-workspace-dialog .vs-selected-profile img { width: 100%; height: 304px; aspect-ratio: auto; object-fit: contain; border-radius: 8px; }
.vs-workspace-dialog .vs-profile-picker select { min-width: 0; border: 0; background-color: transparent; font-weight: 600; padding: 12px 8px; min-height: 48px; text-overflow: ellipsis; }
.vs-workspace-dialog .vs-create-profile { width: 100%; margin: 14px 0 8px; background: #fff; }
.vs-create-profile > span { font-size: 20px; margin-right: 6px; }
.vs-casting > .vs-help { text-align: center; margin: 0; font-size: 12px; }
.vs-casting-empty { min-height: 304px; padding: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.vs-casting-empty svg { width: 36px; height: 36px; color: #87988b; }
.vs-casting-empty strong { font-size: 16px; font-weight: 550; }
.vs-casting-empty p { color: #71766e; font-size: 13px; line-height: 1.8; }
.vs-video-fields { display: grid; gap: 12px; min-width: 0; }
.vs-workspace-dialog .vs-type-switch { display: inline-flex; justify-self: start; min-width: 0; width: min(360px, 100%); padding: 3px; margin: 0; border: 0; background: #f2f4f1; border-radius: 8px; }
.vs-workspace-dialog .vs-type-switch label { display: block; flex: 1; position: relative; min-width: 0; cursor: pointer; }
.vs-type-switch span { display: block; padding: 7px 14px; border: 1px solid transparent; border-radius: 6px; text-align: center; white-space: nowrap; line-height: 1.35; }
.vs-type-switch input:checked + span { background: #fff; color: #223d31; border-color: #becfc2; font-weight: 600; box-shadow: 0 1px 3px #223d310a; }
.vs-sr-only,
.vs-type-switch input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; border: 0; }
.vs-type-switch input:focus-visible + span { outline: 2px solid #456c5a; outline-offset: 2px; }
.vs-workspace-dialog .vs-video-fields > label { gap: 6px; font-size: 14px; font-weight: 550; }
.vs-video-fields > label small { margin-left: 6px; color: #71766e; font-size: 12px; font-weight: 400; }
.vs-workspace-dialog .vs-video-fields textarea { line-height: 1.7; font-size: 14px; font-weight: 400; resize: vertical; padding: 10px 12px; }
.vs-workspace-dialog textarea[name="videoPrompt"] { height: 76px; min-height: 76px; }
.vs-workspace-dialog textarea[name="videoNarration"] { height: 58px; min-height: 58px; }
.vs-workspace-dialog .vs-video-materials { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.vs-workspace-dialog .vs-video-materials .vs-upload-card { display: flex; position: relative; align-items: center; justify-content: center; gap: 14px; min-height: 74px; padding: 14px; border: 1px dashed #cfd8cf; border-radius: 10px; background: #fafbf9; cursor: pointer; }
.vs-upload-card svg { flex: none; width: 28px; height: 28px; color: #657368; }
.vs-upload-card strong { font-weight: 550; font-size: 14px; }
.vs-upload-card small { display: block; margin-top: 4px; }
.vs-workspace-dialog .vs-upload-card .vs-file-input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.vs-upload-card:focus-within { outline: 2px solid #456c5a; outline-offset: 2px; }
.vs-workspace-dialog .vs-upload-card:hover { border-color: #7c9b85; background: #f2f5f1; }
.vs-upload-card:has(:disabled) { opacity: .55; cursor: not-allowed; }
.vs-workspace-dialog .vs-video-options { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.vs-workspace-dialog .vs-video-options label { min-width: 0; gap: 6px; }
.vs-workspace-dialog .vs-video-options input,
.vs-workspace-dialog .vs-video-options select { min-width: 0; min-height: 40px; padding: 8px 10px; font-size: 14px; }
.vs-workspace-dialog .vs-material-help { justify-self: end; color: #71766e; font-size: 12px; line-height: 1.6; }
.vs-material-help summary { cursor: pointer; padding: 2px; min-height: 24px; }
.vs-material-help[open] { justify-self: stretch; }
.vs-material-help[open] summary { text-align: right; }
.vs-material-help .vs-help { padding-top: 6px; }
.vs-workspace-dialog .vs-video-files { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vs-workspace-dialog .vs-video-files:empty { display: none; }
.vs-workspace-dialog .vs-video-file { min-width: 0; font-size: 12px; gap: 6px; }
.vs-workspace-dialog .vs-video-file img { height: 90px; }
.vs-workspace-dialog .vs-video-file button { min-height: 32px; padding: 4px 8px; font-size: 12px; }
.vs-workspace-dialog .vs-direct-footer { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 32px; margin: 0; border-top: 1px solid #e5e3dd; background: #fff; }
.vs-direct-footer > div:first-child { min-width: 0; }
.vs-workspace-dialog [data-video-estimate] { font-size: 15px; line-height: 1.5; font-weight: 600; overflow-wrap: anywhere; }
.vs-workspace-dialog .vs-direct-footer .vs-help { margin-top: 4px; font-size: 12px; }
.vs-workspace-dialog .vs-direct-footer .vs-actions { flex: none; margin: 0; }
.vs-workspace-dialog .vs-direct-footer button { min-width: 176px; min-height: 46px; font-weight: 600; }
.vs-workspace-dialog .vs-direct-footer button:not(:disabled):hover { background: #315440; color: #fff; }
.vs-workspace-dialog .vs-profile-management { margin: 0; }
.vs-workspace-dialog .vs-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.vs-workspace-dialog [data-profiles] .vs-profile { max-width: 350px; }
.vs-workspace-dialog [data-profiles] .vs-image-button img { width: min(100%, 180px); height: 240px; margin: 0 auto; object-fit: contain; }
.vs-workspace-dialog [data-profiles] .vs-profile h3 { margin-top: 12px; }
.vs-workspace-dialog [data-profiles] .vs-profile p { color: #71766e; line-height: 1.7; font-size: 12px; }
.vs-workspace-dialog > [data-status]:not(:empty) { flex: none; margin: 0; padding: 10px 32px; border-top: 1px solid #e5e3dd; background: #f8faf7; max-height: 84px; overflow: auto; font-size: 13px; }
.vs-usage-dialog [data-body] p { margin: 12px 0; line-height: 1.8; font-size: 14px; }
@media (max-width: 1100px) {
  .vs-workspace-dialog [data-video-inputs] { grid-template-columns: minmax(210px, 270px) minmax(0, 1fr); gap: 24px; }
  .vs-workspace-dialog .vs-selected-profile img { height: 288px; }
  .vs-workspace-dialog .vs-upload-card { gap: 8px; }
}
@media (max-width: 760px) {
  .video-studio-dialog.vs-workspace-dialog { width: calc(100vw - 24px); max-width: calc(100vw - 24px); height: calc(100dvh - 24px); max-height: calc(100dvh - 24px); border-radius: 14px; }
  .vs-workspace-dialog > header { padding: 16px 16px 8px; gap: 8px; }
  .vs-workspace-dialog h2 { font-size: 21px; }
  .vs-studio-title > p { font-size: 12px; max-width: 16em; line-height: 1.5; }
  .vs-header-actions { gap: 6px; flex-direction: column-reverse; align-items: flex-end; }
  .vs-wallet-badge { padding: 3px 8px; font-size: 11px; }
  .vs-workspace-dialog [data-close] { width: 32px; min-height: 32px; }
  .vs-studio-navigation { padding: 0 16px; gap: 8px; flex-wrap: wrap; }
  .vs-studio-tabs { gap: 16px; flex: 1; }
  .vs-workspace-dialog .vs-studio-tabs > button { font-size: 13px; padding: 12px 0; }
  .vs-workspace-dialog [data-show-usage] { font-size: 11px; min-height: 32px; }
  .vs-workspace-dialog [data-studio-panel] { padding: 16px; }
  .vs-workspace-dialog [data-studio-panel="create"] { padding: 0; }
  .vs-direct-scroll { padding: 16px; }
  .vs-workspace-dialog [data-video-inputs] { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .vs-casting { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; }
  .vs-casting .vs-section-heading { grid-column: 1/-1; margin: 0; }
  .vs-workspace-dialog .vs-selected-profile { display: flex; align-items: center; gap: 10px; grid-column: 1/-1; padding: 10px; }
  .vs-selected-profile [data-selected-image] { flex: none; width: 66px; }
  .vs-workspace-dialog .vs-selected-profile img { height: 88px; }
  .vs-workspace-dialog .vs-profile-picker { flex: 1; min-width: 0; }
  .vs-workspace-dialog .vs-profile-picker select { font-size: 13px; padding: 8px 0; }
  .vs-casting-empty { padding: 0; min-height: 88px; }
  .vs-casting-empty strong, .vs-casting-empty p { display: none; }
  .vs-workspace-dialog .vs-create-profile { grid-column: 2; grid-row: 3; width: auto; min-height: 36px; margin: 0; padding: 4px 8px; font-size: 12px; }
  .vs-casting > .vs-help { grid-column: 1; grid-row: 3; text-align: left; align-self: center; font-size: 11px; }
  .vs-create-profile > span { font-size: 16px; margin: 0; }
  .vs-workspace-dialog .vs-upload-card svg { width: 22px; height: 22px; }
  .vs-workspace-dialog .vs-video-materials .vs-upload-card { min-height: 70px; padding: 10px 8px; gap: 8px; }
  .vs-upload-card strong { font-size: 12px; }
  .vs-upload-card small { font-size: 10px; }
  .vs-workspace-dialog .vs-video-fields textarea { font-size: 16px; }
  .vs-workspace-dialog .vs-video-options { gap: 8px; }
  .vs-workspace-dialog .vs-video-options input,
  .vs-workspace-dialog .vs-video-options select { font-size: 16px; padding: 8px 5px; }
  .vs-workspace-dialog .vs-direct-footer { gap: 12px; padding: 12px 16px; }
  .vs-workspace-dialog .vs-direct-footer button { min-width: 108px; max-width: 132px; padding: 8px 12px; font-size: 13px; }
  .vs-workspace-dialog [data-video-estimate] { font-size: 12px; }
  .vs-workspace-dialog .vs-direct-footer .vs-help { font-size: 10px; }
  .vs-workspace-dialog .vs-section-heading { flex-wrap: wrap; }
  .vs-workspace-dialog .vs-grid { grid-template-columns: minmax(0, 1fr); }
  .vs-workspace-dialog > [data-status]:not(:empty) { padding: 8px 16px; font-size: 12px; max-height: 70px; }
  .vs-workspace-dialog .vs-video-files { grid-template-columns: minmax(0, 1fr); }
}
@media (max-height: 500px) {
  .vs-workspace-dialog > header { padding-top: 10px; padding-bottom: 8px; }
  .vs-workspace-dialog .vs-studio-title > p { display: none; }
  .vs-workspace-dialog .vs-direct-footer { padding-top: 10px; padding-bottom: 10px; }
}
