/* The existing data panel, with only file-specific selections added. */
.sp-upload { max-width: 560px; margin-inline: auto; color: var(--sp-text, #f2efe9); }
.sp-upload-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sp-upload-heading h2 { margin: 0; font: 700 26px/1.2 var(--sp-font-display); }
.sp-upload-heading button { margin: 0; min-height: 44px; }
.sp-upload-filename { overflow-wrap: anywhere; color: var(--sp-text-2, #b8b4ac); margin: 12px 0 24px; }
.sp-upload [hidden] { display: none !important; }
.sp-upload #editor-upload-status:not(:empty) { margin: 0 0 20px; line-height: 1.5; }
.sp-upload #editor-upload-status[aria-busy='true'] { color: var(--sp-accent); }
.sp-upload #editor-upload-fields { display: grid; gap: 20px; }
.sp-upload label { font: 500 14px/1.5 var(--sp-font-ui); margin-bottom: 6px; }
.sp-upload input { min-height: 44px; font-size: 16px; background: var(--sp-surface, #15161c); color: var(--sp-text, #f2efe9); border-color: var(--sp-border, #2a2c33); }
.sp-upload summary { min-height: 44px; cursor: pointer; padding: 12px 0; color: var(--sp-text-2, #b8b4ac); }
.sp-upload details > div { margin-top: 16px; }
.sp-upload :is(button, summary, input):focus-visible { outline: 2px solid var(--sp-accent); outline-offset: 3px; }
.sp-upload :is(.sp-upload-samples, #editor-upload-issues) { white-space: pre-line; overflow-wrap: anywhere; font: 400 13px/1.6 var(--sp-font-ui); color: var(--sp-text-2, #b8b4ac); }
.sp-upload #editor-upload-apply { min-height: 48px; border: 0; border-radius: 12px; padding: 12px 24px; background: var(--sp-accent); color: #0d0e12; font: 600 16px/24px var(--sp-font-ui); cursor: pointer; }
.sp-upload #editor-upload-apply:disabled { opacity: .55; cursor: wait; }
.sp-upload #editor-upload-exclude { min-height: auto; }
.sp-data-shell:not([data-source-form='upload']) .sp-upload { display: none; }
.sp-data-shell[data-source-form='upload'] #editor-intake-root[data-automatic-upload='true'] > :is(#editor-intake-tabs, #editor-intake-status) { display: none; }
@media (max-width: 599px), (max-width: 767px) and (max-aspect-ratio: 10/13) {
  .sp-upload { width: 100%; }
  .sp-upload-heading h2 { font-size: 24px; }
  .sp-upload #editor-upload-fields { gap: 16px; }
}
