:root {
  --step-active: #3b82f6;
  --step-complete: #10b981;
  --step-pending: #e5e7eb;
}
body { padding-top: var(--common-header-offset, 52px); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; display: flex; flex-direction: column; }

/* Progress Bar */

.main-content { padding-top: 56px; background: #fff; min-height: calc(100vh - var(--common-header-offset, 52px)); }

/* Upload Zone */
.upload-zone {
  position: relative;
  border: 2px dashed #cbd5e1;
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}
.upload-zone:hover {
  border-color: #3b82f6;
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59,130,246,0.12);
}
.upload-zone.dragover {
  border-color: #2563eb;
  background: linear-gradient(180deg, #dbeafe 0%, #bfdbfe 100%);
  transform: scale(1.01);
  box-shadow: 0 12px 32px rgba(59,130,246,0.2);
}
.upload-zone-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-radius: 50%;
  transition: all 0.3s;
}
.upload-zone-icon .material-symbols-outlined {
  font-size: 32px;
  color: #3b82f6;
  transition: transform 0.3s;
}
.upload-zone:hover .upload-zone-icon { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.upload-zone:hover .upload-zone-icon .material-symbols-outlined { transform: translateY(-4px); }
.upload-zone-content { margin-bottom: 1rem; }

/* Filter Buttons */
.filter-btns { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-left: auto; }
.filter-btn { padding: 0.5rem 1rem; font-size: 13px; border: 1px solid #e2e8f0; border-radius: 9999px; background: #fff; color: #64748b; cursor: pointer; transition: all 0.2s; font-weight: 500; }
.filter-btn:hover { border-color: #3b82f6; color: #3b82f6; }
.filter-btn.active { background: #3b82f6; border-color: #3b82f6; color: #fff; }

/* File List Container */
.file-list-container { border: 1px solid #000; border-radius: 12px; overflow: hidden; min-height: 100px; background: #fff; }

/* File Chip */
.file-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 1rem;
  background: transparent;
  border-bottom: 1px solid #000;
  transition: background 0.15s;
}
.file-chip:last-child { border-bottom: none; }
.file-chip:hover { background: #f8fafc; }
.file-chip--processing { background: #fffbeb; }

/* File Info */
.file-info { display: flex; align-items: center; gap: 0.75rem; min-width: 0; flex: 1; }
.file-details { min-width: 0; flex: 1; }
.file-name { font-size: 15px; font-weight: 500; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-status { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 13px; color: #64748b; margin-top: 4px; }
.file-status--success { color: #16a34a; }
.file-status--error { color: #dc2626; }
.file-status--processing { color: #ca8a04; }

/* Status Spinner */
.status-spinner { width: 12px; height: 12px; border: 2px solid #e2e8f0; border-top-color: #3b82f6; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse-border { 0%, 100% { border-color: #fde047; } 50% { border-color: #facc15; box-shadow: 0 0 12px rgba(250,204,21,0.3); } }

/* Buttons - Common Base */
.btn-enter { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: #3b82f6; color: #fff; border-radius: 8px; text-decoration: none; transition: all 0.15s; }
.btn-enter:hover { background: #2563eb; transform: scale(1.05); }
.btn-wait { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: #f1f5f9; color: #94a3b8; border-radius: 8px; cursor: not-allowed; }
.btn-delete { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: #fee2e2; color: #dc2626; border-radius: 8px; border: none; cursor: pointer; transition: all 0.15s; }
.btn-delete:hover { background: #fecaca; transform: scale(1.05); }
.btn-delete:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-primary { display: inline-flex; align-items: center; gap: 0.5rem; background: #3b82f6; color: #fff; padding: 0.625rem 1.25rem; border-radius: 8px; font-weight: 600; transition: all 0.2s; text-decoration: none; }
.btn-primary:hover { background: #2563eb; }
.btn-secondary { display: inline-flex; align-items: center; gap: 0.5rem; background: #f1f5f9; color: #475569; padding: 0.625rem 1.25rem; border-radius: 8px; font-weight: 500; transition: all 0.2s; border: 1px solid #e2e8f0; text-decoration: none; }
.btn-secondary:hover { background: #e2e8f0; border-color: #cbd5e1; }

/* Step Navigation Buttons */
.step-nav-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: #f1f5f9; color: #64748b; border-radius: 8px; text-decoration: none; transition: all 0.15s; }
.step-nav-btn:hover { background: #e2e8f0; color: #374151; }
.step-nav-btn--primary { background: #3b82f6; color: #fff; }
.step-nav-btn--primary:hover { background: #2563eb; }
.step-nav-btn .material-symbols-outlined { font-size: 20px; }
.step-nav-btn--text { width: auto; height: 36px; padding: 0 12px; background: transparent; color: #111827; font-weight: 700; white-space: nowrap; }
.step-nav-btn--text:hover { background: transparent; color: #111827; }

/* Empty State */
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2.5rem 1rem; color: #94a3b8; }
.empty-state .material-symbols-outlined { font-size: 40px; margin-bottom: 0.5rem; }
.empty-state p { font-size: 14px; }

/* Upload Notice */
.upload-notice { margin-top: 1.5rem; padding: 1rem 1.25rem; background: #fefce8; border: 1px solid #fde047; border-radius: 12px; }
.upload-notice-title { display: flex; align-items: center; gap: 0.5rem; font-size: 14px; font-weight: 600; color: #a16207; margin-bottom: 0.75rem; }
.upload-notice-list { display: flex; flex-direction: column; gap: 0.5rem; padding-left: 1.5rem; list-style: disc; font-size: 14px; color: #713f12; }
.upload-notice-list strong { font-weight: 600; color: #854d0e; }
.upload-notice-list-inline { display: flex; flex-direction: column; gap: 0.25rem; text-align: left; font-size: 13px; color: #000; list-style: none; margin-top: 1rem; padding: 0; }
.upload-notice-list-inline strong { font-weight: 600; color: #dc2626; }

/* Output Origin Layout */
.output-origin-split { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .output-origin-split { grid-template-columns: 7fr 3fr; height: calc(95vh - var(--common-header-offset, 52px) - 120px); } }
.output-origin-panel { min-height: 200px; border: 1px solid #000; border-radius: 14px; background: #fff; overflow: hidden; }
.output-origin-left-split { display: flex; flex-direction: column; overflow: hidden; min-height: 0; }
.output-origin-left-pane { display: flex; flex-direction: column; border-bottom: 1px solid #000; padding: 0.75rem; overflow: hidden; flex: 1; min-height: 0; }
.output-origin-left-pane:last-child { border-bottom: none; }
.parsed-header { flex-shrink: 0; margin-bottom: 0.5rem; }
.parsed-content-scroll { flex: 1; overflow-y: auto; min-height: 0; }
.output-origin-right-split { display: grid; grid-template-rows: 1fr 1fr; overflow: hidden; }
.output-origin-right-pane { border-bottom: 1px solid #000; padding: 0.75rem; overflow: auto; }
.output-origin-right-pane:last-child { border-bottom: none; }
.output-origin-pane-title { font-size: 0.85rem; font-weight: 700; color: #111827; margin-bottom: 0.5rem; }
.output-origin-pane-header { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.5rem; }
.output-origin-pane-header .output-origin-pane-title { margin-bottom: 0; }

/* Content Panel */
.content-panel { display: none; }
.content-panel.active { display: flex; flex-direction: column; min-height: 0; flex: 1; }

/* Parsed Items */
.parsed-item { padding: 0.75rem 0; position: relative; }
.parsed-item::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: #e2e8f0; }
.parsed-item[data-type="table"]::after { background: #000; }
.parsed-item:last-child::after { display: none; }
.parsed-item.hidden { display: none; }
.parsed-item.selected { background: #ecfdf5; }
.add-problem-btn { position: absolute; bottom: -12px; left: 50%; transform: translateX(-50%); z-index: 10; background: #3b82f6; color: #fff; font-size: 12px; padding: 2px 10px; border-radius: 12px; display: none; cursor: pointer; border: none; }
.add-problem-btn:hover { background: #2563eb; }
.parsed-item:hover .add-problem-btn { display: block; }

/* Tabs */
.parsed-tab { padding: 0.5rem 0; font-size: 14px; color: #6b7280; background: none; border: none; border-bottom: 2px solid transparent; cursor: pointer; transition: all 0.2s; }
.parsed-tab:hover { color: #111; }
.parsed-tab.active { color: #111; font-weight: 600; border-bottom-color: #000; }

/* Table Blank Guide */
.table-blank-guide { display: flex; flex-direction: column; gap: 4px; padding: 8px 10px; margin-top: 8px; border-radius: 10px; background: #fff7ed; border: 1px solid #fed7aa; }
.table-blank-guide__title { font-size: 13px; font-weight: 600; color: #9a3412; }
.table-blank-guide__desc { font-size: 12px; color: #7c2d12; }

/* TOC Item */
.toc-item { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px; padding: 0.75rem 1rem; margin-bottom: 0.5rem; }

/* Editable Content */
.editable-content { min-height: 60px; padding: 0.75rem; border: 1px solid transparent; border-radius: 6px; position: relative; white-space: pre-wrap; line-height: 1.6; }
.editable-content:focus { outline: none; border-color: var(--step-active); background: #fff; }
.editable-content .blank-answer { color: #dc2626; font-weight: 600; }
.delete-tooltip { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); display: none; cursor: pointer; }
.delete-tooltip svg { fill: #ef4444; }
.delete-tooltip:hover svg { fill: #dc2626; }
.editable-content:hover .delete-tooltip { display: block; }

/* Table */
table.parsed-table { width: 100%; border-collapse: collapse; font-size: 14px; }
table.parsed-table th, table.parsed-table td { border: 1px solid #9ca3af; padding: 0.5rem; text-align: left; }
table.parsed-table td { white-space: pre-wrap; }
table.parsed-table th { background: #f9fafb; font-weight: 600; }
table.parsed-table td.is-blank { background: #fff7ed; border-color: #fb923c; position: relative; }

/* Misc */
.merge-check { accent-color: #10b981; cursor: pointer; margin-top: 0; }
.item-check { margin-top: calc(0.75rem + 2px); }
.item-number { font-size: 14px; font-weight: 600; color: #3b82f6; min-width: 20px; padding-top: 0.75rem; line-height: 1.6; }
.table-number { font-size: 14px; font-weight: 600; color: #10b981; min-width: 20px; padding-top: 0.75rem; line-height: 1.6; }

/* Page Nav */
.page-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.page-nav-btn { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 6px; background: #f3f4f6; color: #374151; }
.page-nav-btn:hover { background: #e5e7eb; }
.page-info { font-size: 13px; color: #6b7280; min-width: 60px; text-align: center; }

/* Category Chips */
.category-chip-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.category-chip-controls { display: flex; gap: 8px; margin-bottom: 8px; }
.category-chip-input { flex: 1; border: 1px solid #d1d5db; border-radius: 8px; padding: 0.35rem 0.6rem; font-size: 12px; background: #fff; color: #111827; }
.category-chip-input:focus { outline: none; border-color: #60a5fa; box-shadow: 0 0 0 3px rgba(59,130,246,0.15); }
.category-chip { display: inline-flex; align-items: center; justify-content: center; padding: 0.35rem 0.75rem; border-radius: 9999px; border: 1px solid #d1d5db; background: #fff; color: #374151; font-size: 12px; font-weight: 500; transition: all 0.2s; cursor: pointer; }
.category-chip:hover { border-color: #60a5fa; color: #1d4ed8; }
.category-chip.is-active { border-color: #1d4ed8; background: #e0ecff; color: #1d4ed8; }
.category-chip__delete { margin-left: 6px; border: none; background: transparent; color: #9ca3af; font-size: 14px; line-height: 1; cursor: pointer; }
.category-chip__delete:hover { color: #ef4444; }

/* Category Summary */
.summary-note { font-size: 12px; color: #6b7280; margin-bottom: 8px; }
.summary-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.summary-item { border: 1px solid #000; border-radius: 10px; padding: 0.6rem 0.75rem; background: #f8fafc; }
.summary-title { width: 90%; display: block; cursor: pointer; font-size: 13px; font-weight: 600; color: #1f2937; position: relative; list-style: none; }
.summary-title::marker { content: ''; }
.summary-title::after { content: '▾'; position: absolute; right: 0; top: 0; color: #94a3b8; font-size: 12px; }
.summary-item[open] .summary-title::after { transform: rotate(180deg); }
.summary-title::-webkit-details-marker { display: none; }
.summary-problems { margin-top: 6px; font-size: 12px; color: #4b5563; white-space: nowrap; overflow-x: auto; }

/* Action Buttons */
.btn-action { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.375rem 0.75rem; background: #3b82f6; color: #fff; border-radius: 6px; font-size: 12px; font-weight: 500; border: none; cursor: pointer; transition: all 0.15s; }
.btn-action:hover { background: #2563eb; }
.btn-action .material-symbols-outlined { font-size: 16px; }
.btn-action:disabled,
.btn-action.is-disabled { opacity: 0.5; cursor: not-allowed; }
.btn-action--green { background: #10b981; }
.btn-action--green:hover { background: #059669; }
.btn-action--sm { padding: 0.25rem 0.5rem; font-size: 11px; }
.btn-action.hidden { display: none; }

.preview-modal { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(15, 23, 42, 0.45); z-index: 50; }
.preview-modal.hidden { display: none; }
.preview-modal__content { width: min(90vw, 360px); border-radius: 14px; background: #fff; padding: 20px; box-shadow: 0 16px 40px rgba(15, 23, 42, 0.2); text-align: center; }
.preview-modal__title { font-size: 15px; font-weight: 700; color: #111827; margin-bottom: 6px; }
.preview-modal__desc { font-size: 12px; color: #6b7280; margin-bottom: 14px; }
.preview-modal__bar { width: 100%; height: 8px; background: #e5e7eb; border-radius: 999px; overflow: hidden; }
.preview-modal__bar-fill { width: 0%; height: 100%; background: linear-gradient(90deg, #3b82f6, #1d4ed8); }
.preview-modal__time { margin-top: 10px; font-size: 12px; color: #374151; font-weight: 600; }
.btn-save { padding-right: 0.8rem; }
.btn-save.is-error { background: #ef4444; }
.btn-save.is-error:hover { background: #dc2626; }

/* Select All Header */
.select-all-header { padding: 0.5rem 0; border-bottom: 1px solid #e2e8f0; margin-bottom: 0.5rem; }
.select-all-label { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 13px; color: #64748b; cursor: pointer; }
.select-all-label:hover { color: #374151; }

/* Save Status */

/* Skeleton Loader */
.skeleton-loader { display: flex; flex-direction: column; gap: 0.75rem; padding: 1rem; }
.skeleton-item { height: 60px; background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%); background-size: 200% 100%; border-radius: 8px; animation: skeleton-pulse 1.5s ease-in-out infinite; }
@keyframes skeleton-pulse { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Upload Confirm Modal */
.upload-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 100; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.2s; }
.upload-modal-overlay.active { opacity: 1; visibility: visible; }
.upload-modal { background: #fff; border-radius: 16px; width: 90%; max-width: 420px; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.2); transform: scale(0.95); transition: transform 0.2s; }
.upload-modal-overlay.active .upload-modal { transform: scale(1); }
.upload-modal-header { padding: 1.25rem; border-bottom: 1px solid #e2e8f0; }
.upload-modal-title { font-size: 16px; font-weight: 700; color: #1e293b; }
.upload-modal-body { padding: 1.25rem; }
.upload-modal-section { margin-bottom: 1rem; }
.upload-modal-section:last-child { margin-bottom: 0; }
.upload-modal-label { font-size: 12px; font-weight: 600; color: #64748b; margin-bottom: 0.5rem; }
.upload-meta-grid { display: grid; gap: 0.5rem; }
.upload-meta-item { display: flex; justify-content: space-between; font-size: 13px; padding: 0.5rem 0.75rem; background: #f8fafc; border-radius: 8px; }
.upload-meta-key { color: #64748b; }
.upload-meta-value { color: #1e293b; font-weight: 500; }
.upload-check-list { display: flex; flex-direction: column; gap: 0.375rem; }
.upload-check-item { display: flex; align-items: center; gap: 0.5rem; font-size: 13px; padding: 0.375rem 0.75rem; border-radius: 8px; background: #f0fdf4; color: #16a34a; }
.upload-check-item.fail { background: #fef2f2; color: #dc2626; }
.upload-check-item .material-symbols-outlined { font-size: 16px; }
.upload-category-msg { font-size: 13px; color: #ca8a04; background: #fefce8; padding: 0.75rem; border-radius: 8px; display: flex; align-items: center; gap: 0.5rem; }
.upload-category-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.upload-category-chip { padding: 0.375rem 0.75rem; border: 1px solid #d1d5db; border-radius: 9999px; font-size: 12px; background: #fff; color: #374151; cursor: pointer; transition: all 0.15s; }
.upload-category-chip:hover { border-color: #3b82f6; color: #3b82f6; }
.upload-category-chip.selected { background: #3b82f6; border-color: #3b82f6; color: #fff; }
.upload-category-add { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.upload-category-add input { flex: 1; padding: 0.5rem 0.75rem; border: 1px solid #d1d5db; border-radius: 8px; font-size: 13px; }
.upload-category-add input:focus { outline: none; border-color: #3b82f6; }
.upload-category-add button { padding: 0.5rem 0.75rem; background: #f1f5f9; border: 1px solid #d1d5db; border-radius: 8px; font-size: 13px; cursor: pointer; white-space: nowrap; }
.upload-category-add button:hover { background: #e2e8f0; }
.upload-category-add button:disabled { opacity: 0.5; cursor: not-allowed; }
.upload-progress { height: 6px; background: #e2e8f0; border-radius: 3px; overflow: hidden; margin-top: 0.25rem; }
.upload-progress-bar { height: 100%; background: #3b82f6; transition: width 0.2s; }
.upload-progress-bar.processing-bar { width: 0; animation: processing-fill 10s ease-out forwards; }
@keyframes processing-fill { 0% { width: 0; } 60% { width: 40%; } 100% { width: 70%; } }
.upload-progress-text { font-size: 11px; color: #64748b; margin-top: 0.25rem; }
.file-chip--uploading .file-details { flex: 1; }
.upload-pagination { display: flex; align-items: center; gap: 0.5rem; margin-left: 0.75rem; }
.pagination-btn { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid #d1d5db; border-radius: 8px; background: #fff; cursor: pointer; }
.pagination-btn:hover:not(:disabled) { background: #f1f5f9; }
.pagination-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.pagination-btn .material-symbols-outlined { font-size: 18px; }
.pagination-info { font-size: 13px; color: #64748b; }
.upload-modal-footer { padding: 1rem 1.25rem; border-top: 1px solid #e2e8f0; display: flex; gap: 0.75rem; justify-content: flex-end; }
.upload-modal-btn { padding: 0.5rem 1rem; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.15s; border: none; }
.upload-modal-btn--cancel { background: #f1f5f9; color: #64748b; }
.upload-modal-btn--cancel:hover { background: #e2e8f0; }
.upload-modal-btn--confirm { background: #3b82f6; color: #fff; }
.upload-modal-btn--confirm:hover { background: #2563eb; }
.upload-modal-btn--confirm:disabled { background: #94a3b8; cursor: not-allowed; }

/* Cooldown Modal */
.cooldown-modal-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.45); z-index: 110; display: flex; align-items: center; justify-content: center; padding: 1rem; opacity: 0; visibility: hidden; transition: all 0.2s; }
.cooldown-modal-overlay.active { opacity: 1; visibility: visible; }
.cooldown-modal { width: 100%; max-width: 420px; background: #fff; border-radius: 16px; border: 1px solid #e2e8f0; box-shadow: 0 20px 60px rgba(15, 23, 42, 0.2); transform: scale(0.96); transition: transform 0.2s; overflow: hidden; }
.cooldown-modal-overlay.active .cooldown-modal { transform: scale(1); }
.cooldown-modal-header { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.25rem; background: linear-gradient(135deg, #fef9c3 0%, #fde68a 100%); }
.cooldown-modal-header .material-symbols-outlined { font-size: 28px; color: #b45309; }
.cooldown-modal-title { font-size: 16px; font-weight: 700; color: #7c2d12; }
.cooldown-modal-subtitle { margin-top: 2px; font-size: 12px; color: #92400e; }
.cooldown-modal-body { padding: 1rem 1.25rem; text-align: center; }
.cooldown-timer { font-size: 32px; font-weight: 800; color: #b45309; letter-spacing: 1px; }
.cooldown-desc { margin-top: 0.5rem; font-size: 12px; color: #92400e; }
.cooldown-modal-footer { padding: 0 1.25rem 1.25rem; display: flex; justify-content: center; }
.cooldown-btn { background: #b45309; color: #fff; border: none; border-radius: 10px; padding: 0.6rem 1.6rem; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.15s; }
.cooldown-btn:hover { background: #92400e; }

/* Mobile Responsive */
@media (max-width: 640px) {
  .upload-zone { padding: 2rem 1rem; }
  .upload-zone-icon { width: 56px; height: 56px; }
  .upload-zone-icon .material-symbols-outlined { font-size: 24px; }
  .file-chip { padding: 0.625rem 0.75rem; gap: 0.5rem; }
  .file-name { font-size: 13px; }
  .btn-enter, .btn-wait, .btn-delete { width: 28px; height: 28px; }
  .filter-btns { gap: 0.375rem; }
  .filter-btn { padding: 0.25rem 0.5rem; font-size: 11px; }
  .upload-notice { padding: 0.75rem; }
  .upload-notice-list { font-size: 12px; }
  .parsed-tabs { flex-wrap: wrap; gap: 0.5rem; }
  .page-nav { width: 100%; justify-content: center; margin-top: 0.5rem; }
  .btn-action { font-size: 11px; padding: 0.25rem 0.5rem; }
  .output-origin-pane-title { font-size: 0.75rem; }
  .category-chip { font-size: 11px; padding: 0.25rem 0.5rem; }
}
