
.bmpvideo-shell.bmpcenter-theme {
  width: min(100%, var(--bmp-content-width, 100%)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  --bmv-ink: var(--bmp-text);
  --bmv-muted: var(--bmp-text-meta);
  --bmv-line: var(--bmp-border-color);
  --bmv-paper: var(--bmp-surface);
  --bmv-bg: var(--bmp-page);
  --bmv-soft: var(--bmp-surface-soft);
  --bmv-blue: var(--bmp-primary);
  --bmv-deep: var(--bmp-primary);
  --bmv-teal: var(--bmp-secondary);
  --bmv-lime: var(--bmp-tertiary);
  background: transparent !important;
  color: var(--bmp-text);
  font-family: var(--bmp-font) !important;
  font-size: var(--bmp-font-size-body);
}

.bmpvideo-shell .bmv-app { max-width: none; box-sizing:border-box; padding:var(--bmp-space-md, 12px); }
.bmpvideo-shell .bmv-topbar,
.bmpvideo-shell .bmv-card,
.bmpvideo-shell .bmv-palette,
.bmpvideo-shell .bmv-ref-picker,
.bmpvideo-shell .bmv-prompt-editor,
.bmpvideo-shell .bmv-progress-body,
.bmpvideo-shell .bmv-result,
.bmpvideo-shell .bmv-result-empty,
.bmpvideo-shell .bmv-project-menu,
.bmpvideo-shell .bmv-asset-dialog > div,
.bmpvideo-shell .bmv-shot,
.bmpvideo-shell .bmv-advanced-foot {
  background: var(--bmp-surface) !important;
  border: var(--bmp-border-width) solid var(--bmp-border-color) !important;
  border-radius: var(--bmp-panel-radius) !important;
  box-shadow: none !important;
  color: var(--bmp-text) !important;
}
.bmpvideo-shell .bmv-topbar { background: var(--bmp-surface-soft) !important; }
.bmpvideo-shell .bmv-topbar :is(h1,small,span,a),
.bmpvideo-shell .bmv-advanced-top :is(h2,small,span),
.bmpvideo-shell .bmv-advanced-top button { color: var(--bmp-text) !important; }
.bmpvideo-shell .bmv-topbar span,
.bmpvideo-shell .bmv-palette header span,
.bmpvideo-shell .bmv-advanced-top span { color: var(--bmp-primary) !important; }
.bmpvideo-shell .bmv-project-controls input,
.bmpvideo-shell .bmv-app :is(select,input:not([type=checkbox]),textarea),
.bmpvideo-shell .bmv-advanced textarea,
.bmpvideo-shell .bmv-shot header input {
  background: var(--bmp-input, var(--bmp-surface)) !important;
  border: var(--bmp-border-width) solid var(--bmp-border-color) !important;
  border-radius: var(--bmp-input-radius) !important;
  color: var(--bmp-text-input, var(--bmp-text)) !important;
  font-family: inherit !important;
  min-height: var(--bmp-control-height);
}
.bmpvideo-shell .bmv-app button:not(.bmv-inline-tag__remove),
.bmpvideo-shell .bmv-ref-chip,
.bmpvideo-shell .bmv-token,
.bmpvideo-shell .bmv-token-legend span {
  background: var(--bmp-button, var(--bmp-surface-soft)) !important;
  border: var(--bmp-border-width) solid var(--bmp-border-color) !important;
  border-radius: var(--bmp-pill-radius) !important;
  color: var(--bmp-text-button-normal, var(--bmp-text)) !important;
  box-shadow: none !important;
  font-family: inherit !important;
  font-size: var(--bmp-font-size-button) !important;
  font-weight: var(--bmp-font-weight-button) !important;
  min-height: var(--bmp-control-height);
}
.bmpvideo-shell table,
.bmpvideo-shell table th,
.bmpvideo-shell table td { vertical-align: middle !important; }
.bmpvideo-shell .bmv-app button.is-primary,
.bmpvideo-shell .bmv-analyze {
  background: var(--bmp-button-primary, var(--bmp-primary)) !important;
  border-color: var(--bmp-border-color) !important;
  color: var(--bmp-text-button-primary, var(--bmp-text)) !important;
}
.bmpvideo-shell .bmv-token:hover,
.bmpvideo-shell .bmv-token.is-selected,
.bmpvideo-shell .bmv-crew-tab.is-active,
.bmpvideo-shell .bmv-project-menu button:hover,
.bmpvideo-shell .bmv-project-menu button.is-active {
  background: var(--bmp-secondary) !important;
  color: var(--bmp-text) !important;
}
.bmpvideo-shell .bmv-number { background: var(--bmp-primary) !important; color: var(--bmp-text-metric, var(--bmp-text)) !important; border-radius: var(--bmp-corner-radius); }
.bmpvideo-shell .bmv-guidance,
.bmpvideo-shell .bmv-notice:not(:empty) { background: var(--bmp-surface-soft) !important; color: var(--bmp-text-meta) !important; border: var(--bmp-border-width) solid var(--bmp-border-color); border-radius: var(--bmp-corner-radius); }
.bmpvideo-shell .bmv-notice.error { background: var(--bmp-accent) !important; color: var(--bmp-text) !important; }
.bmpvideo-shell .bmv-notice.success { background: var(--bmp-secondary) !important; color: var(--bmp-text) !important; }
.bmpvideo-shell .bmv-status-dot { background: var(--bmp-tertiary); box-shadow: none; }
.bmpvideo-shell .bmv-status-dot.is-failed { background: var(--bmp-accent); box-shadow: none; }
.bmpvideo-shell .bmv-status-dot.is-done { background: var(--bmp-secondary); box-shadow: none; }
.bmpvideo-shell .bmv-meter { background: var(--bmp-lightest); border-radius: var(--bmp-corner-radius); }
.bmpvideo-shell .bmv-meter i { background: var(--bmp-darkest); border-radius: inherit; }
.bmpvideo-shell .bmv-asset-dialog,
.bmpvideo-shell .bmv-advanced { background: var(--bmp-page) !important; color: var(--bmp-text) !important; }
.bmpvideo-shell .bmv-advanced-top { background: var(--bmp-surface-soft) !important; border-bottom: var(--bmp-border-width) solid var(--bmp-border-color); }
.bmpvideo-shell .bmv-advanced-grid > :is(aside,main),
.bmpvideo-shell .bmv-advanced-source section,
.bmpvideo-shell .bmv-prompt-editor footer,
.bmpvideo-shell .bmv-crew-tabs { border-color: var(--bmp-border-color) !important; }
.bmpvideo-shell .bmv-advanced-library pre { background: var(--bmp-surface-soft); color: var(--bmp-text); border-radius: var(--bmp-corner-radius); }
.bmpvideo-shell :is(.bmv-inline-tag,.bmv-inline-tag.is-reference,.bmv-inline-tag.is-portrait,.bmv-inline-tag.is-director,.bmv-inline-tag.is-crew) {
  background: var(--bmp-surface-soft) !important;
  border: var(--bmp-border-width) solid var(--bmp-border-color) !important;
  border-radius: var(--bmp-corner-radius) !important;
  color: var(--bmp-text-label) !important;
}
.bmpvideo-shell .bmv-rich-editor:empty:before { color: var(--bmp-text-meta); }
.bmpvideo-shell .bmv-rich-editor:focus { box-shadow: inset 0 0 0 var(--bmp-focus-outline-width) var(--bmp-primary); }
.bmpvideo-shell .bmv-gate,
.bmpvideo-gate.bmpcenter-theme { background: var(--bmp-surface); border: var(--bmp-border-width) solid var(--bmp-border-color); border-radius: var(--bmp-corner-radius); color: var(--bmp-text); font-family: var(--bmp-font); }


.bmpvideo-shell .bmv-app { padding-left:var(--bmp-space-md, 12px); padding-right:var(--bmp-space-md, 12px); }
.bmpvideo-shell .bmv-topbar { gap:var(--bmp-space-lg, 16px); padding:var(--bmp-space-lg, 16px); }
.bmpvideo-shell .bmv-workspace { gap:var(--bmp-space-md, 12px); margin-top:var(--bmp-space-md, 12px); }
.bmpvideo-shell .bmv-workspace { padding:var(--bmp-space-md, 12px); }
.bmpvideo-shell .bmv-card { padding:var(--bmp-space-md, 12px) var(--bmp-space-lg, 16px); }
.bmpvideo-shell .bmv-section-head { gap:var(--bmp-space-sm, 8px); margin-bottom:var(--bmp-space-sm, 8px); }
.bmpvideo-shell .bmv-param-grid { gap:var(--bmp-space-sm, 8px); }
.bmpvideo-shell .bmv-head-actions,
.bmpvideo-shell .bmv-chip-row,
.bmpvideo-shell .bmv-director-row > div,
.bmpvideo-shell .bmv-crew-members > div,
.bmpvideo-shell .bmv-library-chips { gap:var(--bmp-button-gap, 8px); }


.bmpvideo-shell .bmv-advanced {
  box-sizing:border-box;
  padding:var(--bmp-space-sm, 8px);
  gap:var(--bmp-space-sm, 8px);
}
.bmpvideo-shell .bmv-advanced-top {
  flex:0 0 auto;
  border:var(--bmp-border-width) solid var(--bmp-border-color) !important;
  border-radius:var(--bmp-panel-radius) !important;
}
.bmpvideo-shell .bmv-advanced-grid { min-height:0; }


.bmpvideo-shell.bmpcenter-theme .bmv-app {
  box-sizing:border-box;
  width:min(100%, var(--bmp-content-width, 100%));
  margin:0 auto;
  padding:var(--bmp-space-xl, 32px) var(--bmp-space-lg, 24px);
  color:var(--bmp-text) !important;
  font-family:var(--bmp-font) !important;
}
.bmpvideo-shell.bmpcenter-theme .bmv-topbar {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:var(--bmp-space-lg, 24px);
  align-items:stretch;
  padding:0;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  color:var(--bmp-text) !important;
}
.bmpvideo-shell.bmpcenter-theme .bmv-topbar::before {
  content:none;
  display:none;
}
.bmpvideo-shell.bmpcenter-theme .bmv-topbar > div:first-child {
  box-sizing:border-box;
  min-width:0;
  padding:0;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  color:var(--bmp-text) !important;
}
.bmpvideo-shell.bmpcenter-theme .bmv-topbar > div:first-child a,
.bmpvideo-shell.bmpcenter-theme .bmv-topbar > div:first-child span,
.bmpvideo-shell.bmpcenter-theme .bmv-topbar > div:first-child h1 small { display:none !important; }
.bmpvideo-shell.bmpcenter-theme .bmv-topbar > div:first-child h1 {
  margin:0 !important;
  color:var(--bmp-text-heading) !important;
  font-size:var(--bmp-font-size-h1) !important;
  font-weight:var(--bmp-font-weight-h1) !important;
  line-height:1.15;
}
.bmpvideo-shell.bmpcenter-theme .bmv-topbar > div:first-child a,
.bmpvideo-shell.bmpcenter-theme .bmv-topbar > div:first-child h1,
.bmpvideo-shell.bmpcenter-theme .bmv-topbar > div:first-child h1 small { color:var(--bmp-text-heading) !important; }
.bmpvideo-shell.bmpcenter-theme .bmv-topbar > div:first-child span { color:var(--bmp-primary) !important; }
.bmpvideo-shell.bmpcenter-theme .bmv-project-controls {
  box-sizing:border-box;
  display:grid;
  grid-template-columns:310px auto minmax(40px,1fr) 180px;
  align-items:center;
  justify-content:stretch;
  gap:var(--bmp-button-gap, 8px);
  min-width:0;
  padding:var(--bmp-space-lg, 24px);
  background:var(--bmp-surface-soft) !important;
  border:var(--bmp-border-width) solid var(--bmp-border-color) !important;
  border-radius:var(--bmp-panel-radius) !important;
  color:var(--bmp-text) !important;
}
.bmpvideo-shell.bmpcenter-theme .bmv-project-controls > span { grid-column:1 / -1; width:auto; }
.bmpvideo-shell.bmpcenter-theme .bmv-project-controls > input { grid-column:1; width:310px !important; max-width:100%; }
.bmpvideo-shell.bmpcenter-theme .bmv-project-controls > button[data-action="new-project"] { grid-column:2; grid-row:2; white-space:nowrap; }
.bmpvideo-shell.bmpcenter-theme .bmv-project-controls > button[data-action="toggle-projects"] { grid-column:4; grid-row:2; min-width:180px; white-space:nowrap; }
.bmpvideo-shell.bmpcenter-theme .bmv-topbar > div:first-child h1 { margin-top:var(--bmp-space-xs, 4px); }
.bmpvideo-shell.bmpcenter-theme .bmv-project-controls > span { color:var(--bmp-primary) !important; }
.bmpvideo-shell.bmpcenter-theme .bmv-workspace {
  display:grid;
  gap:var(--bmp-space-lg, 24px);
  margin-top:var(--bmp-space-xl, 32px);
  padding:0;
}
.bmpvideo-shell.bmpcenter-theme .bmv-card {
  box-sizing:border-box;
  margin:0;
  padding:var(--bmp-space-lg, 24px);
  background:var(--bmp-surface) !important;
  border:var(--bmp-border-width) solid var(--bmp-border-color) !important;
  border-radius:var(--bmp-panel-radius) !important;
  box-shadow:none !important;
}
.bmpvideo-shell.bmpcenter-theme .bmv-params,
.bmpvideo-shell.bmpcenter-theme .bmv-prompt,
.bmpvideo-shell.bmpcenter-theme .bmv-progress,
.bmpvideo-shell.bmpcenter-theme .bmv-results { border-top:var(--bmp-border-width) solid var(--bmp-border-color) !important; border-left:var(--bmp-border-width) solid var(--bmp-border-color) !important; }
.bmpvideo-shell.bmpcenter-theme .bmv-section-head { gap:var(--bmp-space-sm, 8px); margin-bottom:var(--bmp-space-md, 16px); }
.bmpvideo-shell.bmpcenter-theme .bmv-param-grid { gap:var(--bmp-space-md, 16px); }
.bmpvideo-shell.bmpcenter-theme .bmv-guidance { margin-top:var(--bmp-space-md, 16px); padding:var(--bmp-space-sm, 8px) var(--bmp-space-md, 16px); }
.bmpvideo-shell.bmpcenter-theme .bmv-palette { margin:var(--bmp-space-md, 16px) 0; padding:var(--bmp-space-md, 16px); }
.bmpvideo-shell.bmpcenter-theme .bmv-authenticated-people,
.bmpvideo-shell.bmpcenter-theme .bmv-resource-tags { background:var(--bmp-surface-soft) !important; border:var(--bmp-border-width) solid var(--bmp-border-color) !important; border-radius:var(--bmp-panel-radius) !important; }
.bmpvideo-shell.bmpcenter-theme .bmv-resource-tags { display:grid; gap:var(--bmp-space-lg, 24px); }
.bmpvideo-shell.bmpcenter-theme .bmv-director-group,
.bmpvideo-shell.bmpcenter-theme .bmv-crew-group { display:grid; gap:var(--bmp-space-sm, 8px); }
.bmpvideo-shell.bmpcenter-theme .bmv-director-tabs { display:flex; flex-wrap:wrap; gap:var(--bmp-button-gap, 8px); }
.bmpvideo-shell.bmpcenter-theme .bmv-director-tabs .bmv-crew-tab,
.bmpvideo-shell.bmpcenter-theme .bmv-crew-tabs .bmv-crew-tab { border:var(--bmp-border-width) solid var(--bmp-border-color) !important; border-radius:var(--bmp-pill-radius) !important; background:var(--bmp-button) !important; color:var(--bmp-text-button-normal) !important; }
.bmpvideo-shell.bmpcenter-theme .bmv-director-tabs .bmv-crew-tab.is-active,
.bmpvideo-shell.bmpcenter-theme .bmv-crew-tabs .bmv-crew-tab.is-active { background:var(--bmp-button-primary) !important; color:var(--bmp-text-button-primary) !important; border-color:var(--bmp-button-primary) !important; }
.bmpvideo-shell.bmpcenter-theme .bmv-inline-tag { display:inline-flex; align-items:center; gap:var(--bmp-space-xs, 4px); user-select:none !important; pointer-events:auto !important; cursor:default !important; position:relative; }
.bmpvideo-shell.bmpcenter-theme .bmv-inline-tag__remove { display:inline-flex !important; align-items:center; justify-content:center; min-width:18px !important; width:18px !important; height:18px !important; min-height:18px !important; padding:0 !important; border:0 !important; border-radius:50% !important; background:transparent !important; color:inherit !important; font-size:14px !important; font-weight:700; line-height:1 !important; pointer-events:auto !important; cursor:pointer !important; position:relative; z-index:4; }
.bmpvideo-shell.bmpcenter-theme .bmv-inline-tag__remove:hover,
.bmpvideo-shell.bmpcenter-theme .bmv-inline-tag__remove:focus-visible { background:color-mix(in srgb,var(--bmp-text) 14%,transparent) !important; }
.bmpvideo-shell.bmpcenter-theme .bmv-storyboard { background:var(--bmp-surface-soft) !important; border:var(--bmp-border-width) solid var(--bmp-border-color) !important; border-radius:var(--bmp-panel-radius) !important; }
.bmpvideo-shell.bmpcenter-theme .bmv-storyboard-gems { display:flex; flex-wrap:wrap; gap:var(--bmp-button-gap,8px); margin-bottom:var(--bmp-space-md,16px); }
.bmpvideo-shell.bmpcenter-theme .bmv-storyboard-option { display:inline-flex; align-items:center; gap:var(--bmp-space-xs,4px); padding:var(--bmp-space-sm,8px) var(--bmp-space-md,16px); background:var(--bmp-button) !important; border:var(--bmp-border-width) solid var(--bmp-border-color) !important; border-radius:var(--bmp-pill-radius) !important; color:var(--bmp-text) !important; }
.bmpvideo-shell.bmpcenter-theme .bmv-storyboard-grid { display:grid !important; grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr)) !important; gap:var(--bmp-space-md,16px) !important; }
.bmpvideo-shell.bmpcenter-theme .bmv-storyboard-card { display:grid !important; grid-template-columns:1fr auto !important; gap:var(--bmp-space-sm,8px) !important; align-items:center !important; min-width:0 !important; padding:var(--bmp-space-sm,8px) !important; text-align:left !important; white-space:normal !important; background:var(--bmp-surface) !important; border:var(--bmp-border-width) solid var(--bmp-border-color) !important; border-radius:var(--bmp-panel-radius) !important; color:var(--bmp-text) !important; }
.bmpvideo-shell.bmpcenter-theme .bmv-storyboard-card.is-selected { border-color:var(--bmp-primary) !important; box-shadow:0 0 0 var(--bmp-focus-outline-width) color-mix(in srgb,var(--bmp-primary) 35%,transparent) !important; }
.bmpvideo-shell.bmpcenter-theme .bmv-storyboard-thumb { grid-column:1 / -1 !important; position:relative !important; display:block !important; width:100% !important; aspect-ratio:16/9 !important; overflow:hidden !important; padding:0 !important; border:0 !important; background:var(--bmp-surface-soft) !important; border-radius:var(--bmp-input-radius) !important; }
.bmpvideo-shell.bmpcenter-theme .bmv-storyboard-thumb img { width:100% !important; height:100% !important; object-fit:cover !important; display:block !important; }

.bmpvideo-shell .bmv-app .bmv-storyboard-thumb,.bmpvideo-shell.bmpcenter-theme .bmv-app .bmv-storyboard-thumb { box-sizing:border-box !important; position:relative !important; display:block !important; width:100% !important; height:auto !important; min-height:0 !important; max-height:none !important; aspect-ratio:16/9 !important; padding:0 !important; border:0 !important; border-radius:var(--bmp-input-radius,8px) !important; overflow:hidden !important; }
.bmpvideo-shell .bmv-app .bmv-storyboard-thumb img,.bmpvideo-shell.bmpcenter-theme .bmv-app .bmv-storyboard-thumb img { position:absolute !important; inset:0 !important; display:block !important; width:100% !important; height:100% !important; min-width:0 !important; min-height:0 !important; max-width:none !important; max-height:none !important; object-fit:cover !important; }
.bmpvideo-shell.bmpcenter-theme .bmv-storyboard-check { position:absolute; top:8px; right:8px; padding:2px 8px; border-radius:999px; background:var(--bmp-button) !important; color:var(--bmp-text-button-normal) !important; font-size:12px; }
.bmpvideo-shell.bmpcenter-theme .bmv-storyboard-card.is-selected .bmv-storyboard-check { background:var(--bmp-button-primary) !important; color:var(--bmp-text-button-primary) !important; }
.bmpvideo-shell.bmpcenter-theme .bmv-storyboard-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px; justify-content:flex-start; grid-column:1 / -1; }
.bmpvideo-shell.bmpcenter-theme .bmv-storyboard-meta { min-width:0; grid-column:1 / -1; }
.bmpvideo-shell.bmpcenter-theme .bmv-storyboard-meta strong,.bmpvideo-shell.bmpcenter-theme .bmv-storyboard-meta small { display:block; }
.bmpvideo-shell.bmpcenter-theme .bmv-storyboard-use { display:flex; align-items:center; gap:6px; white-space:nowrap; font-size:var(--bmp-font-size-meta); }
.bmpvideo-shell.bmpcenter-theme .bmv-storyboard-delete { color:#9d302b !important; border-color:#e3b6b3 !important; background:#fff7f6 !important; }
.bmpvideo-shell.bmpcenter-theme .bmv-storyboard-preview { position:fixed !important; inset:0 !important; z-index:100001 !important; display:grid !important; gap:var(--bmp-space-md,16px) !important; align-content:center !important; justify-items:center !important; padding:var(--bmp-space-xl,32px) !important; background:color-mix(in srgb,var(--bmp-page) 78%,#000 22%) !important; }
.bmpvideo-shell.bmpcenter-theme .bmv-storyboard-preview[hidden] { display:none !important; }
.bmpvideo-shell.bmpcenter-theme .bmv-storyboard-preview figure { max-width:min(1100px,96vw); width:100%; margin:0; }
.bmpvideo-shell.bmpcenter-theme .bmv-storyboard-preview figure img { width:100%; max-height:80vh; object-fit:contain; background:var(--bmp-surface); border-radius:var(--bmp-panel-radius); }
.bmpvideo-shell.bmpcenter-theme .bmv-storyboard-preview h3 { max-width:min(1100px,96vw); width:100%; margin:0; color:var(--bmp-text-heading); }
.bmpvideo-shell.bmpcenter-theme .bmv-storyboard-preview > button { justify-self:end; }
.bmpvideo-shell.bmpcenter-theme .bmv-prompt-actions { display:flex; justify-content:flex-end; gap:var(--bmp-button-gap,8px); margin-top:var(--bmp-space-md,16px); padding-top:var(--bmp-space-sm,8px); }
.bmpvideo-shell.bmpcenter-theme .bmv-prompt-actions button { margin:0 !important; }
@media (max-width:800px) { .bmpvideo-shell.bmpcenter-theme .bmv-prompt-actions { justify-content:flex-start; flex-wrap:wrap; } }
.bmpvideo-shell.bmpcenter-theme .bmv-advanced-source section { border-top:0 !important; padding-top:var(--bmp-space-sm, 8px); }

@media (max-width:800px) {
  .bmpvideo-shell.bmpcenter-theme .bmv-project-controls { display:flex; justify-content:flex-start; flex-wrap:wrap; }
  .bmpvideo-shell.bmpcenter-theme .bmv-project-controls > span { width:100%; }
  .bmpvideo-shell.bmpcenter-theme .bmv-project-controls > input { width:310px !important; }
  .bmpvideo-shell.bmpcenter-theme .bmv-project-controls > button[data-action="new-project"],
  .bmpvideo-shell.bmpcenter-theme .bmv-project-controls > button[data-action="toggle-projects"] { grid-row:auto; }
  .bmpvideo-shell.bmpcenter-theme .bmv-project-controls > button[data-action="toggle-projects"] { min-width:180px; }
  .bmpvideo-shell.bmpcenter-theme .bmv-app { padding:var(--bmp-space-lg, 24px) var(--bmp-space-sm, 8px); }
  .bmpvideo-shell.bmpcenter-theme .bmv-topbar > div:first-child,
  .bmpvideo-shell.bmpcenter-theme .bmv-project-controls,
  .bmpvideo-shell.bmpcenter-theme .bmv-card { padding:var(--bmp-space-md, 16px); }
}

.bmpvideo-shell.bmpcenter-theme .bmv-app :is(button,.button,input[type="button"],input[type="submit"]):not(.bmv-inline-tag__remove):hover:not(:disabled),
.bmpvideo-shell.bmpcenter-theme .bmv-app :is(button,.button,input[type="button"],input[type="submit"]):not(.bmv-inline-tag__remove):focus-visible {
  background:var(--bmp-tertiary, var(--bmp-lightest)) !important;
  border-color:var(--bmp-border-color, var(--bmp-second-darkest)) !important;
  color:var(--bmp-text-button-normal, var(--bmp-darkest)) !important;
}
.bmpvideo-shell.bmpcenter-theme .bmv-storyboard-delete:hover:not(:disabled),
.bmpvideo-shell.bmpcenter-theme .bmv-storyboard-delete:focus-visible {
  background:#fdecec !important;
  border-color:#d98a86 !important;
  color:#8a2420 !important;
}
.bmpvideo-shell.bmpcenter-theme .bmv-inline-tag__remove:hover:not(:disabled),
.bmpvideo-shell.bmpcenter-theme .bmv-inline-tag__remove:focus-visible {
  background:color-mix(in srgb,var(--bmp-text) 14%,transparent) !important;
  border-color:transparent !important;
  color:inherit !important;
}

.bmpvideo-shell.bmpcenter-theme .bmv-ref-chip,
.bmpvideo-shell.bmpcenter-theme .bmv-ref-chip.is-image { display:inline-flex !important; align-items:center !important; gap:0 !important; height:36px !important; min-height:36px !important; max-height:36px !important; padding:0 !important; overflow:hidden !important; border:var(--bmp-border-width) solid var(--bmp-border-color) !important; border-radius:var(--bmp-pill-radius) !important; background:var(--bmp-button, var(--bmp-surface-soft)) !important; }
.bmpvideo-shell.bmpcenter-theme .bmv-ref-chip .bmv-token.is-reference { border:0 !important; background:transparent !important; min-height:36px !important; max-height:36px !important; }
.bmpvideo-shell.bmpcenter-theme .bmv-ref-remove { width:28px !important; min-width:28px !important; height:36px !important; min-height:36px !important; padding:0 !important; border:0 !important; background:transparent !important; color:var(--bmp-text-meta) !important; font-size:16px !important; line-height:1 !important; }

.bmpvideo-shell.bmpcenter-theme .bmv-app button,
.bmpvideo-shell.bmpcenter-theme .bmv-app a.button,
.bmpvideo-shell.bmpcenter-theme .bmv-app input[type="button"],
.bmpvideo-shell.bmpcenter-theme .bmv-app input[type="submit"],
.bmpvideo-shell.bmpcenter-theme .bmv-app select { white-space:nowrap !important; }
.bmpvideo-shell.bmpcenter-theme { position:relative; }
.bmpvideo-shell.bmpcenter-theme .bmv-operation { position:fixed; top:50%; left:50%; transform:translate(-50%,-50%); z-index:100020; pointer-events:none; }
.bmpvideo-shell.bmpcenter-theme .bmv-operation-card { position:relative; display:grid; justify-items:center; gap:var(--bmp-space-md,16px); width:min(30em,calc(100vw - 32px)); max-height:calc(100dvh - 32px); overflow:auto; box-sizing:border-box; padding:var(--bmp-space-xl,32px); text-align:center; overflow-wrap:anywhere; word-break:break-word; pointer-events:auto; background:var(--bmp-surface) !important; border:var(--bmp-border-width) solid var(--bmp-border-color) !important; border-radius:var(--bmp-panel-radius) !important; color:var(--bmp-text) !important; box-shadow:0 12px 30px rgba(0,0,0,.14); }
.bmpvideo-shell.bmpcenter-theme .bmv-operation-close { position:absolute; top:var(--bmp-space-sm,8px); right:var(--bmp-space-sm,8px); width:32px; height:32px; border:0; border-radius:50%; background:transparent; color:var(--bmp-text); font-size:24px; line-height:1; cursor:pointer; }
.bmpvideo-shell.bmpcenter-theme .bmv-operation-title { animation:bmv-operation-blink 1s ease-in-out infinite; color:var(--bmp-text-heading) !important; font-size:var(--bmp-font-size-h2) !important; font-weight:var(--bmp-font-weight-h2) !important; }
.bmpvideo-shell.bmpcenter-theme .bmv-operation-percent { min-height:1.4em; color:var(--bmp-primary); font-size:var(--bmp-font-size-h3) !important; font-weight:var(--bmp-font-weight-h3) !important; }
.bmpvideo-shell.bmpcenter-theme .bmv-operation-meter { width:100%; height:var(--bmp-control-height); overflow:hidden; border:var(--bmp-border-width) solid var(--bmp-border-color); border-radius:var(--bmp-pill-radius); background:var(--bmp-lightest); }
.bmpvideo-shell.bmpcenter-theme .bmv-operation-meter i { position:relative; display:block; height:100%; overflow:hidden; background:var(--bmp-darkest); border-radius:inherit; transition:width .25s ease; }
.bmpvideo-shell.bmpcenter-theme .bmv-operation-meter i::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,transparent,rgba(255,255,255,.48),transparent); animation:bmv-progress-shimmer 1.2s linear infinite; }
.bmpvideo-shell.bmpcenter-theme .bmv-operation-step { width:100%; margin:0; color:var(--bmp-text-meta); font-size:var(--bmp-font-size-body); overflow-wrap:anywhere; word-break:break-word; }
.bmpvideo-shell .bmv-notice[hidden] { display:none !important; }
.bmpvideo-shell .bmv-notice.is-open { position:fixed !important; inset:0 !important; z-index:100100 !important; display:grid !important; place-items:center !important; width:100vw !important; height:100vh !important; height:100dvh !important; margin:0 !important; padding:16px !important; box-sizing:border-box !important; overflow:auto !important; border:0 !important; border-radius:0 !important; box-shadow:none !important; background:rgba(15,23,42,.52) !important; }
.bmpvideo-shell .bmv-notice__backdrop { position:absolute; inset:0; }
.bmpvideo-shell .bmv-notice__dialog { position:relative; z-index:1; width:min(30em,calc(100vw - 32px)); max-height:calc(100vh - 32px); max-height:calc(100dvh - 32px); overflow:auto; box-sizing:border-box; padding:28px 24px 24px; border:var(--bmp-border-width) solid var(--bmp-border-color); border-radius:var(--bmp-panel-radius,12px); background:var(--bmp-surface); color:var(--bmp-text); box-shadow:0 24px 80px rgba(0,0,0,.24); font-size:var(--bmp-font-size-body,16px); line-height:1.6; overflow-wrap:anywhere; word-break:break-word; }
.bmpvideo-shell .bmv-notice__title { margin:0 44px 16px 0; color:var(--bmp-text-heading); font-size:var(--bmp-font-size-h2,22px); }
.bmpvideo-shell .bmv-notice__message { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; word-break:break-word; }
.bmpvideo-shell .bmv-notice__close { position:absolute; top:10px; right:10px; display:grid; place-items:center; width:36px; height:36px; min-height:36px; padding:0; border:var(--bmp-border-width) solid var(--bmp-border-color); border-radius:50%; background:var(--bmp-button); color:var(--bmp-text); font-size:24px; line-height:1; cursor:pointer; }
.bmpvideo-shell .bmv-notice.error .bmv-notice__title { color:#b42318; font-weight:700 !important; }
.bmpvideo-shell .bmv-notice.error .bmv-notice__dialog { border-color:#b42318; }
.bmpvideo-shell .bmv-notice.error .bmv-notice__message { color:#b42318; font-weight:700; }
.bmpvideo-shell .bmv-notice.error { color:#b42318 !important; font-weight:700 !important; }
.bmpvideo-shell .bmv-operation[data-operation-state="error"] .bmv-operation-title,
.bmpvideo-shell .bmv-operation[data-operation-state="error"] .bmv-operation-step { color:#b42318 !important; font-weight:700 !important; }
.bmpvideo-shell .bmv-mode-panel.is-error > :is(strong,p,small),
.bmpvideo-shell .bmv-progress-detail.is-error { color:#b42318 !important; font-weight:700 !important; }
.bmpvideo-shell .bmv-progress-detail.is-error { white-space:pre-wrap; overflow-wrap:anywhere; }
@keyframes bmv-operation-blink { 0%,100% { opacity:1; } 50% { opacity:.35; } }
@keyframes bmv-progress-shimmer { from { transform:translateX(-100%); } to { transform:translateX(100%); } }
.bmpvideo-shell.bmpcenter-theme .bmv-resource-tabs { display:flex; flex-wrap:wrap; gap:var(--bmp-button-gap, 8px); }
.bmpvideo-shell.bmpcenter-theme .bmv-resource-tabs .bmv-crew-tab { border:var(--bmp-border-width) solid var(--bmp-border-color) !important; border-radius:var(--bmp-pill-radius) !important; background:var(--bmp-button) !important; color:var(--bmp-text-button-normal) !important; }
.bmpvideo-shell.bmpcenter-theme .bmv-resource-tabs .bmv-crew-tab.is-active { background:var(--bmp-button-primary) !important; color:var(--bmp-text-button-primary) !important; border-color:var(--bmp-button-primary) !important; }

.bmpvideo-shell.bmpcenter-theme .bmv-token.is-portrait { display:inline-flex !important; align-items:center !important; gap:8px !important; height:36px !important; min-height:36px !important; max-height:36px !important; padding:3px 12px 3px 3px !important; overflow:hidden !important; white-space:nowrap !important; line-height:1 !important; }
.bmpvideo-shell.bmpcenter-theme .bmv-portrait-avatar { display:grid !important; place-items:center !important; width:30px !important; height:30px !important; flex:0 0 30px !important; overflow:hidden !important; border-radius:50% !important; background:var(--bmp-surface-soft) !important; color:var(--bmp-text-meta) !important; font-size:12px !important; font-weight:700 !important; }
.bmpvideo-shell.bmpcenter-theme .bmv-portrait-avatar img { width:30px !important; height:30px !important; max-width:30px !important; max-height:30px !important; object-fit:cover !important; object-position:center top !important; display:block !important; border-radius:50% !important; }
.bmpvideo-shell.bmpcenter-theme .bmv-film-avatar svg { width:16px !important; height:16px !important; fill:none !important; stroke:currentColor !important; stroke-width:1.7 !important; stroke-linecap:round !important; stroke-linejoin:round !important; }
.bmpvideo-shell.bmpcenter-theme .bmv-portrait-name { overflow:hidden; text-overflow:ellipsis; max-width:10em; }

