#file-converter { margin-top: clamp(32px, 4vw, 55px); }
#file-converter [hidden] { display: none !important; }
.fc-drop {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  min-height: clamp(245px, 29vw, 355px);
  padding: 22px;
  border: 1px dashed #535359;
  border-radius: 16px;
  background: #101011;
  text-align: center;
}
.fc-drop p, .fc-drop small, .fc-meta, .fc-note, .fc-status { color: #b4b4bc; }
.fc-drop small, .fc-meta, .fc-note { font-size: .875rem; line-height: 1.5; }
.fc-format-details { width: min(100%, 760px); color: #d2d2d9; font-size: .9rem; }
.fc-format-details summary { width: fit-content; margin-inline: auto; padding: 4px; cursor: pointer; }
.fc-formats {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 8px 18px;
  margin-top: 12px;
  padding: 16px;
  border-top: 1px solid #303035;
  text-align: left;
}
.fc-formats dt { font-weight: 650; }
.fc-formats dd { margin: 0; color: #b4b4bc; line-height: 1.5; }
.fc-extract { display: inline-block; margin-top: 8px; color: var(--white); font-size: .94rem; text-underline-offset: 3px; text-decoration: underline; }
.fc-pick { min-width: 185px; }
.fc-panel {
  min-width: 0;
  padding: clamp(18px, 2.4vw, 32px);
  background: #121214;
  border: 1px solid var(--line, #35353a);
  border-radius: 14px;
}
.fc-dragging :is(.fc-drop,.fc-files) { border-color: var(--accent); background: #211f17; }
.fc-heading, .fc-actions, .fc-controls, .fc-download, .fc-batch {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.fc-heading { justify-content: space-between; margin-bottom: 16px; }
.fc-heading h2 { font: 650 1.27rem/1.3 var(--heading); letter-spacing: -.035em; }
.fc-actions { gap: 4px; }
.fc-row, .fc-download { border-top: 1px solid #303035; }
.fc-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(140px, 230px) auto;
  align-items: center;
  gap: 8px 20px;
  padding: 16px 0;
}
.fc-info { display: grid; gap: 2px; min-width: 0; }
.fc-name, .fc-note, .fc-status, .fc-errors, .fc-issue { overflow-wrap: anywhere; }
.fc-name { font-weight: 550; }
.fc-select-label { display: grid; gap: 5px; font-size: .875rem; color: #d0d0d7; }
#file-converter select {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 8px 36px 8px 12px;
  appearance: none;
  border: 1px solid #44444b;
  border-radius: 7px;
  background: #1b1b1e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23c9c9ce' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: var(--white);
  font: inherit;
}
.fc-batch { justify-content: flex-end; margin-bottom: 14px; color: #d0d0d7; font-size: .94rem; }
.fc-batch select { max-width: 230px; }
.fc-remove { justify-self: end; }
.fc-row :is(.fc-note,.fc-issue) { grid-column: 1 / -1; }
.fc-controls { justify-content: flex-end; margin-top: 10px; }
.fc-controls .work-primary { min-width: 150px; }
.fc-errors, .fc-issue { color: #ffb2a9; }
.fc-errors { margin-top: 16px; padding-left: 20px; }
.fc-status:not(:empty) { margin-top: 16px; }
.fc-progress { width: 100%; height: 8px; margin-top: 10px; accent-color: var(--accent); }
.fc-results { margin-top: 22px; }
.fc-download { justify-content: space-between; padding-block: 12px; }
.fc-download .fc-info { flex: 1; }
#file-converter :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 600px) {
  .fc-row { grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
  .fc-row .fc-info { grid-column: 1 / -1; }
  .fc-remove { align-self: end; }
  .fc-batch { justify-content: flex-start; }
  .fc-batch select { max-width: 100%; }
  .fc-controls { justify-content: flex-start; }
}
