.header { position: sticky; top: 0; z-index: 10; }
.repos-main { padding: 12px 20px; }
.repos-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.repos-heading h1 { font-size: 16px; font-weight: 600; white-space: nowrap; }
.repos-actions { display: flex; align-items: center; gap: 8px; }
.repos-actions button, .repo-table button { min-height: 30px; padding: 4px 10px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-size: 12px; white-space: nowrap; }
.repos-actions .btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.repos-actions button:not(.btn-primary):hover, .repo-table button:hover { background: var(--soft); }
.repos-toolbar { margin-bottom: 8px; }
.repos-toolbar input { width: min(100%, 360px); min-height: 30px; padding: 4px 8px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-size: 12px; }
#repoCount { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; margin-right: 4px; }
#repoNotice { color: var(--muted); font-size: 12px; margin: 8px 0; overflow-wrap: anywhere; }
#repoNotice:empty { display: none; }
#repoNotice.error, #deleteError { color: var(--danger); }
.repo-table { border-block: 1px solid var(--line); }
.repo-table table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; }
.repo-table th { font-size: 12px; color: var(--muted); background: var(--soft); font-weight: 500; }
.repo-table th, .repo-table td { padding: 8px 10px; }
.repo-table td { border-top: 1px solid var(--line); }
.repo-table tbody tr:hover { background: var(--soft); }
.repo-table th:nth-child(2) { width: 190px; }
.repo-table th:last-child { width: 72px; text-align: right; }
.repo-table td:first-child { overflow-wrap: anywhere; }
.repo-table td:nth-child(2) { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.repo-table td:last-child:not([colspan]) { text-align: right; }
.repo-table td:last-child button { color: var(--danger); }
.repo-table td.empty { padding: 24px 10px; }
.repo-dialog { padding: 20px; max-height: calc(100dvh - 32px); overflow-y: auto; }
.repo-dialog h2 { font-size: 16px; margin-bottom: 14px; }
.repo-dialog label { margin-bottom: 6px; }
.repo-dialog input[name=repo] { padding: 7px 9px; }
.repo-dialog p { margin: 6px 0 12px; }
.repo-dialog-actions { gap: 8px; margin-top: 16px; }
.repo-dialog-actions button { min-height: 32px; }
#deleteRepoName { overflow-wrap: anywhere; color: var(--ink); }
.repo-dialog-actions button.danger-button { background: var(--danger); color: #fff; border-color: var(--danger); }
@media (max-width: 600px) {
  .repos-main { padding: 10px 12px; }
  .repos-heading { flex-wrap: wrap; gap: 8px; }
  .repos-actions { margin-left: auto; gap: 6px; }
  .repos-toolbar input { width: 100%; }
  .repo-table th, .repo-table td { padding: 8px 6px; }
  .repo-table th:nth-child(2) { width: 100px; }
  .repo-table th:last-child { width: 56px; }
  .repo-table button { padding-inline: 6px; }
}
