@layer components {
  /* « Inviter un client »: the shared form classes, plus the pair of fields and the bordered channel lists. */
  .guest-invitation-form .field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
  .guest-invitation-form .hint { margin: 0; }
  .guest-invitation-form select.input { width: 100%; }
  .guest-invitation-form [hidden] { display: none; }
  .guest-block { display: flex; flex-direction: column; gap: 16px; }
  .guest-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .guest-channels { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
  .guest-channels:not(:has(.guest-channel:not([hidden]))) { display: none; }
  .guest-channel {
    display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--border);
    font-size: 14px; cursor: pointer;
  }
  .guest-channel:last-child, .guest-channel:has(~ .guest-channel[hidden]):not(:has(~ .guest-channel:not([hidden]))) { border-bottom: 0; }
  .guest-channel input { margin: 0; flex: none; accent-color: var(--primary); }
  .guest-channel:has(input:focus-visible) { box-shadow: inset 0 0 0 3px var(--jx-accent); }
  .guest-channel svg { flex: none; color: var(--muted-foreground); }
  .guest-channel-name { min-width: 0; overflow-wrap: anywhere; }
  .guest-channel-end { margin-left: auto; padding-left: 8px; color: var(--muted-foreground); font-size: 13px; text-align: right; }
  @media (max-width: 767px) {
    .guest-pair { grid-template-columns: 1fr; }
    .guest-invitation-form .input { min-height: var(--tap); }
    .guest-channel { min-height: var(--tap); }
  }
}
