.repos-app {
  container-type: inline-size;
  box-sizing: border-box;
  height: 100%;
  overflow: auto;
  padding: 14px;
  background: var(--bg-base, #000);
  color: var(--text-primary, #1aff80);
  font-family: var(--font-mono, monospace);
  font-size: 0.85rem;
  line-height: 1.45;
}
.repos-title { margin: 0; font-size: 1rem; letter-spacing: 0.06em; font-weight: 600; }
.repos-subtitle { margin: 0 0 8px; font-size: 0.9rem; overflow-wrap: anywhere; }
.repos-muted { color: var(--text-muted, rgba(26, 255, 128, 0.55)); }
.repos-error { margin: 6px 0 0; color: #ff6b6b; }
.repos-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.repos-install, .repos-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.repos-note { margin: 0 0 10px; padding: 6px 10px; border: 1px solid var(--border, rgba(26, 255, 128, 0.3)); background: var(--bg-surface, #0a0a0a); }
.repos-note:empty { display: none; }
.repos-btn {
  min-height: 32px;
  padding: 4px 12px;
  background: var(--bg-surface, #0a0a0a);
  border: 1px solid var(--border, rgba(26, 255, 128, 0.3));
  border-radius: var(--border-radius-sm, 0);
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.repos-btn:hover:not(:disabled) { border-color: var(--accent, #1aff80); }
.repos-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.repos-btn:focus-visible, .repos-open:focus-visible, .repos-toggle input:focus-visible { outline: 2px solid var(--accent, #1aff80); outline-offset: 2px; }
.repos-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@container (min-width: 640px) {
  .repos-body { grid-template-columns: minmax(220px, 1fr) minmax(280px, 1.2fr); align-items: start; }
}
.repos-rows { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.repos-row { border: 1px solid var(--border, rgba(26, 255, 128, 0.3)); background: var(--bg-surface, #0a0a0a); }
.repos-open {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 6px 10px;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.repos-open[aria-pressed="true"] { border-left: 3px solid var(--accent, #1aff80); }
.repos-name { overflow-wrap: anywhere; }
.repos-state { flex: none; font-size: 0.78rem; color: var(--text-muted, rgba(26, 255, 128, 0.55)); }
.repos-readonly { margin: 0; padding: 0 10px 8px; font-size: 0.78rem; }
.repos-toggle { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 10px; }
.repos-toggle input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent, #1aff80); }
.repos-toggle span { display: flex; flex-direction: column; }
.repos-confirm { margin: 0 0 10px; padding: 8px 10px; border: 1px solid #ff6b6b; }
.repos-actions { margin-top: 8px; }
.repos-allow { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--border, rgba(26, 255, 128, 0.3)); }
.repos-allow-head { margin: 10px 0 4px; font-size: 0.85rem; }
.repos-allow-list { margin: 0 0 8px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.repos-allow-entry { display: flex; flex-direction: column; gap: 2px; padding: 4px 8px; border: 1px solid var(--border, rgba(26, 255, 128, 0.3)); overflow-wrap: anywhere; }
.repos-allow-kind { font-size: 0.78rem; color: var(--text-muted, rgba(26, 255, 128, 0.55)); }
.repos-allow-file, .repos-allow-name { box-sizing: border-box; max-width: 100%; min-height: 32px; color: inherit; font: inherit; }
.repos-allow-name { width: 100%; padding: 4px 8px; background: var(--bg-surface, #0a0a0a); border: 1px solid var(--border, rgba(26, 255, 128, 0.3)); }
.repos-allow-confirm { display: flex; flex-direction: column; gap: 4px; margin: 8px 0; overflow-wrap: anywhere; }
.repos-runners { margin-top: 18px; }
.repos-runner { padding: 8px 10px; border: 1px solid var(--border, rgba(26, 255, 128, 0.3)); background: var(--bg-surface, #0a0a0a); }
.repos-runner-head, .repos-runner-line { margin: 0 0 4px; overflow-wrap: anywhere; }
.repos-switch-input:focus-visible, .repos-dial input:focus-visible { outline: 2px solid var(--accent, #1aff80); outline-offset: 2px; }
.repos-dial { margin: 0 0 10px; padding: 0; border: 0; min-width: 0; }
.repos-dial legend { padding: 0; }
.repos-dialog { box-sizing: border-box; width: min(92vw, 420px); max-height: 90vh; overflow: auto; padding: 0; background: var(--bg-surface, #0a0a0a); border: 1px solid var(--accent, #1aff80); color: var(--text-primary, #1aff80); font-family: var(--font-mono, monospace); font-size: 0.85rem; }
.repos-dialog::backdrop { background: rgba(0, 0, 0, 0.6); }
.repos-dialog-body { padding: 14px; }
.repos-error:empty { display: none; }
.repos-mode { margin: 0 0 10px; padding: 0; border: 0; min-width: 0; }
.repos-mode legend { padding: 0; }
.repos-mode input[type="radio"]:focus-visible, .repos-mode .repos-allow-name:focus-visible, .repos-mode [tabindex="-1"]:focus-visible { outline: 2px solid var(--accent, #1aff80); outline-offset: 2px; }
.repos-mode .repos-confirm { overflow-wrap: anywhere; }
.repos-mode .repos-btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.repos-dialog .repos-btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.repos-check-argv { margin: 0 0 8px; padding: 0 0 0 1.6em; display: flex; flex-direction: column; gap: 4px; }
.repos-check-arg { overflow-wrap: anywhere; white-space: pre-wrap; }
.repos-check-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.repos-check-input, .repos-check input[type="number"] { box-sizing: border-box; min-height: 32px; max-width: 100%; padding: 4px 8px; background: var(--bg-surface, #0a0a0a); border: 1px solid var(--border, rgba(26, 255, 128, 0.3)); color: inherit; font: inherit; }
.repos-check-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 6px 0; }
.repos-check [data-testid="repos-check-problem"]:empty { display: none; }
.repos-check input:focus-visible { outline: 2px solid var(--accent, #1aff80); outline-offset: 2px; }
.repos-queue { margin: 0 0 10px; }
.repos-queue-line { margin: 0; }
.repos-link { padding: 0; background: none; border: 0; color: var(--accent, #1aff80); font: inherit; text-decoration: underline; cursor: pointer; }
.repos-link:focus-visible { outline: 2px solid var(--accent, #1aff80); outline-offset: 2px; }
.repos-queue-help { margin-top: 6px; padding: 6px 10px; border: 1px solid var(--border, rgba(26, 255, 128, 0.3)); }
.repos-queue-heading { margin: 8px 0 2px; font-size: 0.85rem; }
.repos-queue-help p { margin: 0; }
.repos-removal { margin: 0; padding: 0 10px 8px; font-size: 0.78rem; overflow-wrap: anywhere; }
.repos-removal[data-state="failed"] { color: #ff6b6b; }
.repos-dialog a { color: var(--accent, #1aff80); }
.repos-dialog a:focus-visible { outline: 2px solid var(--accent, #1aff80); outline-offset: 2px; }
.repos-dialog-body p { overflow-wrap: anywhere; }
.repos-twin { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--border, #1a3a2a); }
.repos-twin, .repos-twin li { overflow-wrap: anywhere; }
.repos-label { display: block; margin: 8px 0 3px; }
.repos-input { box-sizing: border-box; width: 100%; max-width: 100%; font: inherit; color: inherit; background: transparent; border: 1px solid var(--accent, #1aff80); padding: 6px; }
.repos-input:focus-visible { outline: 2px solid var(--accent, #1aff80); outline-offset: 2px; }
