:root {
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "Roboto", "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  background: #0f1115;
  color: #e6edf3;
}
#app {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}
.hero {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.hero-title {
  font-size: 32px;
  font-weight: 700;
  margin: 0;
}
.hero-subtitle {
  margin: 0;
  color: #a3b1c2;
}
.converter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
@media (max-width: 900px) {
  .converter-grid {
    grid-template-columns: 1fr;
  }
}
.upload-drop {
  border: 2px dashed #2b3240;
  border-radius: 14px;
  padding: 28px;
  background: #141821;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 100%;
}
.upload-drop.dragging {
  border-color: #7aa2ff;
  box-shadow: 0 0 0 3px rgba(122, 162, 255, 0.2);
}
.files-row {
  margin-top: 20px;
}
.file-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.file-grid {
  display: grid;
  grid-template-columns: repeat(var(--grid-cols, 4), minmax(0, 1fr));
  gap: 12px;
}
.file-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}
.file-tile {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.file-card .n-card__content {
  width: 100%;
}
.file-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.file-name {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-sub {
  color: #9aa7b8;
  font-size: 12px;
}
.file-count {
  color: #9aa7b8;
  font-size: 13px;
}
.actions-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
  align-items: center;
  justify-content: space-between;
}
.actions-left {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.actions-right {
  display: flex;
  align-items: center;
}
.icon-button {
  min-width: 32px;
  padding: 0 6px;
  font-size: 16px;
}
.icon-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.footer-note {
  margin-top: 28px;
  color: #9aa7b8;
  font-size: 13px;
}
