.catalog-hero { padding-bottom: 24px; }
.doc-page .catalog-section { padding-top: 0; border-top: 0; }
.catalog-nav { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.folder-table { width: 100%; border-collapse: collapse; }
.folder-table th, .folder-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); font-weight: 500; }
.folder-table thead { background: var(--surface-alt); }
.folder-table td, .folder-table thead th:last-child { width: 90px; text-align: right; color: var(--muted); }
.folder-table tbody tr:last-child > * { border-bottom: 0; }
.folder-table tbody tr:hover { background: var(--surface-alt); }
.folder-table a { display: flex; align-items: center; gap: 12px; min-height: 32px; }
.folder-icon { width: 24px; height: 24px; flex-shrink: 0; color: var(--muted); }
.catalog-controls { display: flex; gap: 16px; align-items: end; margin-bottom: 20px; }
.catalog-controls[hidden] { display: none; }
.catalog-controls label { display: grid; gap: 8px; font-size: .9rem; color: var(--muted); }
.catalog-search { flex: 1; }
.catalog-controls input { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font: inherit; color: var(--ink); background: var(--surface); }
.file-table { width: 100%; min-width: 0; table-layout: fixed; border-collapse: collapse; font-size: .95rem; }
.file-table thead th:nth-child(2) { width: 150px; }
.file-table thead th:last-child { width: 125px; }
.file-table th, .file-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.file-table thead { background: var(--surface-alt); }
.file-table thead th { font-weight: 500; white-space: nowrap; }
.file-table thead button { border: 0; padding: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; min-height: 28px; }
.file-table button:disabled { cursor: default; }
.sort-arrow { color: var(--muted); margin-left: 6px; }
.file-table tbody th { font-weight: 500; overflow-wrap: anywhere; }
.file-table tbody tr:last-child > * { border-bottom: 0; }
.file-table tbody tr:hover { background: var(--surface-alt); }
.file-table td { white-space: nowrap; color: var(--muted); font-variant-numeric: tabular-nums; }
.file-table td:last-child, .file-table thead th:last-child { text-align: right; }
.file-kind { display: block; font-size: .78rem; font-weight: 400; color: var(--muted); margin-top: 4px; }
.file-current { display: inline-block; margin-left: 8px; font-size: .74rem; font-weight: 400; color: var(--muted); }
.catalog-footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; color: var(--muted); margin-top: 16px; }
.catalog-empty { padding: 24px 18px; color: var(--muted); margin: 0; }
@media (max-width: 600px) {
  .catalog-controls { gap: 12px; flex-direction: column; align-items: stretch; }
  .file-table { font-size: .8rem; }
  .file-table thead th:nth-child(2) { width: 80px; }
  .file-table thead th:last-child { width: 70px; }
  .file-table th, .file-table td { padding: 12px 8px; }
  .file-table thead th { font-size: .78rem; }
  .file-current { display: block; margin-left: 0; }
  .file-table td { font-size: .73rem; }
  .sort-arrow { margin-left: 2px; }
}
