/* Atelia · console · App.BoutiquesUber (screens/restaurants-uber.js) : cartes grises des boutiques Uber Eats pas encore dans
   Atelia (fin de la grille des Restaurants), leur confirmation, et le bloc « Boutique Uber Eats » de l'onglet Configuration. */
.bu-grises { margin-top: 30px; }
.bu-titre { margin: 0 0 14px; font-size: 16px; font-weight: 700; color: var(--muted); }
.bu-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px 18px; }
.bu-carte { position: relative; display: flex; flex-direction: column; text-align: left; padding: 0; border: 0; background: none; font: inherit; color: var(--muted); cursor: pointer; border-radius: var(--r-sm, 10px); min-width: 0; }
.bu-carte:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.bu-photo { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-sm, 10px); overflow: hidden; background: var(--surface-3, #e5e7eb); display: grid; place-items: center; filter: grayscale(1); opacity: .55; }
.bu-photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.bu-photo:not(.bu-sans-photo) .bu-init { visibility: hidden; }
.bu-init { font-size: 34px; font-weight: 800; letter-spacing: 1px; color: var(--muted); }
.bu-corps { display: flex; flex-direction: column; gap: 3px; padding: 10px 2px 0; min-width: 0; }
.bu-nom { font-size: 16px; font-weight: 700; color: var(--muted); overflow-wrap: anywhere; }
.bu-ville { font-size: 14px; color: var(--muted); }
.bu-etiquette { align-self: flex-start; margin-top: 4px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--muted); background: var(--surface-3, #e5e7eb); }
.bu-carte:hover .bu-photo { opacity: .7; }

.bu-voile { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(15, 23, 42, .45); }
.bu-dialogue { width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow: auto; box-sizing: border-box; padding: 22px; border-radius: 14px; background: var(--surface, #fff); color: var(--navy); box-shadow: 0 20px 50px rgba(15, 23, 42, .25); outline: none; }
.bu-dialogue h2 { margin: 0 0 8px; font-size: 19px; }
.bu-dialogue p { margin: 8px 0; line-height: 1.45; overflow-wrap: anywhere; }
.bu-sur { color: var(--muted); }
.bu-choix { margin: 12px 0; padding: 10px 12px; border: 1px solid var(--line, #e5e7eb); border-radius: 10px; display: flex; flex-direction: column; gap: 10px; }
.bu-choix legend { padding: 0 4px; font-size: 13px; color: var(--muted); }
.bu-choix label { display: flex; gap: 8px; align-items: flex-start; overflow-wrap: anywhere; }
.bu-form { display: flex; flex-direction: column; gap: 10px; margin: 10px 0; }
.bu-champ { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.bu-champ span { color: var(--muted); }
.bu-champ input, .bu-champ select, .bu-champ textarea { width: 100%; box-sizing: border-box; min-width: 0; padding: 9px 10px; font: inherit; border: 1px solid var(--line, #d1d5db); border-radius: 8px; background: var(--surface, #fff); color: inherit; }
.bu-note { font-size: 13px; color: var(--muted); }
/* 21/10 : ligne « Réseau » de la fenêtre d'ajout (Aucun | Réseau existant | Nouveau réseau). */
.bu-reseau { margin: 0; padding: 10px 12px; border: 1px solid var(--line, #e5e7eb); border-radius: 10px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.bu-reseau legend { padding: 0 4px; font-size: 14px; color: var(--muted); }
.bu-reseau-choix { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.bu-reseau-choix label, .bu-case { display: flex; gap: 8px; align-items: center; overflow-wrap: anywhere; min-height: 32px; }
.bu-erreur { padding: 8px 10px; border-radius: 8px; background: var(--red-bg, #fdecec); color: var(--red, #b42318); }
.bu-fait { padding: 8px 10px; border-radius: 8px; background: var(--green-bg, #e7f6ec); color: var(--green, #1f7a3d); }
.bu-boutons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.bu-boutons .btn { max-width: 100%; white-space: normal; }

.bu-bloc-titre { margin: 0 0 10px; font-size: 16px; }
.bu-lignes { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.bu-lignes > div { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.bu-lignes dt { min-width: 150px; color: var(--muted); }
.bu-lignes dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.bu-uuid { font-size: 13px; color: var(--muted); }
.bu-delier { margin-top: 12px; }

@media (max-width: 600px) {
  .bu-grille { grid-template-columns: 1fr; gap: 18px; }
  .bu-dialogue { padding: 18px; }
  .bu-boutons .btn { flex: 1 1 100%; }
}
