.bm-stage-choice .bm-form-actions { margin-top: 20px; flex-wrap: wrap; }
.bm-stage-source-label { display: grid; gap: 8px; font-weight: 600; max-width: 720px; }
.bm-stage-source-label select { width: 100%; min-height: 48px; }
.bm-stage-choice .bm-stage-source-label select { padding-left: 12px; }
.bm-stage-source-status { display: block; margin-top: 8px; color: var(--bm-muted); }
.bm-stage-setup { background: var(--bm-surface, #fffaf0); color: var(--bm-ink, #302238); border: 1px solid var(--bm-border, #c7bba4); border-radius: 16px; width: min(860px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 24px; box-shadow: 0 20px 80px #0004; overscroll-behavior: contain; }
.bm-stage-setup::backdrop { background: #211a2766; }
.bm-stage-setup header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.bm-stage-setup h2,.bm-stage-setup h3 { margin: 0 0 12px; }
.bm-stage-setup .bm-form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0; }
.bm-stage-setup label:not(.bm-upload-button) { display: grid; gap: 8px; margin: 12px 0; }
.bm-stage-setup input:not([type=file]),.bm-stage-setup select { width: 100%; min-height: 48px; padding: 10px; border: 1px solid var(--bm-border, #c7bba4); border-radius: 8px; background: var(--bm-surface, #fffaf0); color: inherit; font: inherit; }
.bm-stage-setup button { min-height: 44px; }
body.bandmission-app-page .bm-stage-setup :is(.bm-button,.bm-link-button) { min-height: 44px; }
.bm-stage-setup { font: 400 16px/1.5 var(--bm-reading, sans-serif); }
.bm-stage-setup header h2 { margin: 0; font-size: 28px; line-height: 1.2; }
.bm-stage-setup .bm-stage-title { margin: 0 0 16px; font-size: 20px; line-height: 1.35; overflow-wrap: anywhere; }
.bm-stage-setup .bm-stage-source-label { max-width: none; font-size: 14px; }
.bm-stage-setup .bm-stage-help,.bm-stage-setup .bm-stage-source-status,.bm-stage-setup [data-stage-modal-status] { color: var(--bm-muted); font-size: 13px; line-height: 1.5; }
.bm-stage-setup .bm-stage-help { margin: 8px 0 0; }
.bm-stage-setup .bm-stage-primary-action { margin: 24px 0; }
.bm-stage-offline-options { border-top: 1px solid var(--bm-border, #c7bba4); padding-top: 16px; }
.bm-stage-offline-options > summary { width: fit-content; max-width: 100%; min-height: 44px; padding: 10px 0; color: var(--bm-ink); font-size: 14px; font-weight: 600; cursor: pointer; }
.bm-stage-offline-options > summary:focus-visible { outline: 2px solid var(--bm-accent); outline-offset: 3px; border-radius: 3px; }
.bm-stage-setup .bm-stage-offline-options .bm-form-actions { align-items: center; margin: 12px 0; }
.bm-stage-setup .bm-stage-offline-options [data-stage-packs] { border: 0; padding: 8px 0; border-radius: 0; color: var(--bm-muted); background: transparent; box-shadow: none; font-size: 14px; text-align: left; text-decoration: none; }
.bm-stage-setup .bm-stage-offline-options [data-stage-packs]:hover { color: var(--bm-ink); }
.bm-stage-setup [data-stage-modal-status]:empty { display: none; }
.bm-stage-preflight { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 16px; }
.bm-stage-preflight > li { padding: 16px; border: 1px solid var(--bm-border, #c7bba4); border-radius: 12px; }
.bm-stage-files { list-style: none; padding: 0; display: grid; gap: 8px; }
.bm-stage-files li { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px solid var(--bm-border, #c7bba4); }
.bm-stage-files li span { flex: 1; min-width: 120px; overflow-wrap: anywhere; }
.bm-stage-files li button { padding: 8px 12px; }
.bm-stage-setup [data-stage-modal-status],.bm-stage-choice [data-stage-status] { overflow-wrap: anywhere; }
@media(max-width:600px){.bm-stage-setup { width: calc(100% - 16px); padding: 16px; max-height: calc(100dvh - 16px); }.bm-stage-setup h2{font-size:28px}.bm-stage-setup .bm-form-actions .bm-button { width: 100%; }.bm-stage-choice .bm-editor-heading { align-items: flex-start; flex-wrap: wrap; }}
@media(forced-colors:active){.bm-stage-setup,.bm-stage-preflight > li { border: 1px solid CanvasText; }}
