.workspace { max-width: 1120px; margin-inline: auto; }
.workspace-card { overflow: hidden; }
.upload-layout { display: grid; grid-template-columns: 1.08fr 1fr; }
.source-panel, .settings-panel { padding: 2rem; min-width: 0; }
.settings-panel { border-left: 1px dashed var(--cf-border); }
.panel-heading { display: flex; gap: .75rem; align-items: center; margin-bottom: 1.75rem; }
.panel-heading h2 { font-size: 1rem; margin: 0; letter-spacing: -.025em; }
.step-number { font-size: .65rem; color: var(--cf-primary); background: var(--cf-primary-soft); border-radius: 8px; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.dropzone { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 255px; padding: 2rem 1rem; border: 1px dashed rgba(17, 17, 17, .25); border-radius: 20px; background: #fdfdfd; text-align: center; transition: border-color .16s, background .16s; }
.dropzone:hover, .dropzone:focus-within { border-color: var(--cf-primary); background: var(--cf-primary-soft); }
.dropzone:focus-within { outline: 3px solid var(--cf-primary); outline-offset: 4px; }
.dropzone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload-icon { display: flex; justify-content: center; align-items: center; width: 60px; height: 60px; color: var(--cf-primary); background: white; border: 1px solid rgba(17, 17, 17, .08); border-radius: 18px; box-shadow: 0 4px 10px rgba(17, 17, 17, .04); font-size: 1.8rem; margin-bottom: 1.25rem; }
.upload-label { font-size: .9375rem; font-weight: 700; }
.upload-hint { font-size: .8125rem; color: var(--cf-muted); margin: .3rem 0 1.1rem; }
.file-help { font-size: .6875rem; color: var(--cf-muted); margin: 0; }
.selected-file { color: var(--cf-primary); font-size: .75rem; font-weight: 600; overflow-wrap: anywhere; margin-top: .65rem; }
.selected-file:empty { display: none; }
.source-divider { display: flex; gap: .85rem; align-items: center; color: var(--cf-muted); font-size: .6875rem; margin: 1.35rem 0; }
.source-divider::before, .source-divider::after { content: ''; flex: 1; border-top: 1px dashed var(--cf-border); }
.settings-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.settings-row > div { min-width: 0; }
.optional-label { font-size: .6875rem; font-weight: 500; color: var(--cf-muted); margin-left: .35rem; }
.workspace-actions { border-top: 1px dashed var(--cf-border); padding: 1.5rem 2rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.workspace-actions .btn { min-width: 240px; }
.output-format { display: inline-flex; gap: .6rem; align-items: center; color: var(--cf-muted); font-size: .75rem; }
.output-format i { font-size: 1rem; }
.processing-panel, .result-panel { border-top: 1px dashed var(--cf-border); padding: 2rem; }
.progress-steps { justify-content: center; align-items: center; gap: 2rem; margin-top: 1.5rem; }
.progress-step { display: flex; flex-direction: column; gap: .6rem; align-items: center; font-size: .75rem; color: var(--cf-muted); }
.dot { display: block; width: 8px; height: 8px; border-radius: 50%; background: #dedede; }
#progressSteps [data-active="true"] { color: var(--cf-primary); font-weight: 700; }
#progressSteps [data-active="true"] .dot { background: var(--cf-primary); }
#progressSteps [data-done="true"] { color: var(--cf-success); }
#progressSteps [data-done="true"] .dot { background: var(--cf-success); }
/* Existing upload behavior uses these state classes; their visual treatment is Falcon red. */
#dropzone[class*="border-blue"] { border-color: var(--cf-primary); background: var(--cf-primary-soft); }
.transcript-container { background: #fafafa; border: 1px dashed var(--cf-border); border-radius: 16px; padding: 1.5rem; }
.transcript-text { white-space: pre-wrap; font-size: .875rem; line-height: 1.8; max-height: 400px; overflow-y: auto; margin: 0; }
.custom-scrollbar { scrollbar-width: thin; scrollbar-color: #ccc transparent; }
.landing { max-width: 1060px; margin-inline: auto; }
.landing-intro { text-align: center; padding: 2rem 0 4rem; }
.landing-intro h1 { font-size: clamp(3.5rem, 7vw, 6rem); line-height: 1.02; letter-spacing: -.065em; font-weight: 800; margin: 1rem 0 1.75rem; }
.landing-description { color: var(--cf-muted); max-width: 440px; margin: 0 auto 2rem; font-size: 1rem; line-height: 1.7; }
.landing-intro .btn { min-width: 150px; }
.plugin-card { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem; }
.plugin-description { display: flex; align-items: center; gap: 1.25rem; }
.plugin-card h2 { font-size: 1.2rem; margin: 0 0 .5rem; }
.plugin-card p:not(.eyebrow) { font-size: .8125rem; }
.plugin-card .btn { flex-shrink: 0; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in-up { animation: fadeInUp .25s ease-out; }
@media (max-width: 767px) {
  .upload-layout { grid-template-columns: 1fr; }
  .source-panel, .settings-panel { padding: 1.5rem; }
  .settings-panel { border-left: 0; border-top: 1px dashed var(--cf-border); }
  .panel-heading { margin-bottom: 1.25rem; }
  .dropzone { min-height: 225px; }
  .workspace-actions { padding: 1.5rem; flex-direction: column-reverse; gap: 1rem; }
  .workspace-actions .btn { width: 100%; min-width: 0; }
  .processing-panel, .result-panel { padding: 1.5rem; }
  .landing-intro { padding: 1rem 0 3rem; }
  .plugin-card { align-items: stretch; flex-direction: column; padding: 1.5rem; gap: 1.5rem; }
  .plugin-description { align-items: flex-start; gap: 1rem; }
  .plugin-description .section-icon { width: 40px; height: 40px; border-radius: 12px; }
}
@media (max-width: 380px) { .settings-row { grid-template-columns: 1fr; } }
