/* Paramètres → Dépôts : règles propres à la page (les composants viennent d’atk-ui). */

/* Ajout : champ + bouton sur la ligne du champ (pas du libellé ni de l’aide).
   `display: contents` verse libellé, aide, champ et erreur dans la grille du formulaire. */
.repo-add { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-3); align-items: start; }
.repo-add > .field { display: contents; }
.repo-add > .field > label { grid-column: 1; grid-row: 1; margin-bottom: var(--space-2); }
.repo-add > .field > .field-hint { grid-column: 1; grid-row: 2; margin-bottom: var(--space-2); }
.repo-add > .field > input { grid-column: 1; grid-row: 3; min-width: 0; }
.repo-add > .field > .field-error { grid-column: 1; grid-row: 4; margin-top: var(--space-2); }
.repo-add > .button { grid-column: 2; grid-row: 3; }

/* Ligne de dépôt : pictogramme carré, lignes secondaires. */
.repo-icon {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px;
  border-radius: var(--radius-small); background: var(--surface-2); color: var(--text-muted);
}
.repo-row .repo-notice .notice { padding: var(--space-2) var(--space-3); }

@media (max-width: 860px) { .repo-icon { width: 32px; height: 32px; } }
@media (max-width: 640px) {
  .repo-add { grid-template-columns: minmax(0, 1fr); }
  .repo-add > .field > .field-error { grid-row: 4; }
  .repo-add > .button { grid-column: 1; grid-row: 5; margin-top: var(--space-3); justify-self: start; }
}
