/* Atelia · console · page « Restaurants ↔ Deliveroo » (screens/liaison-deliveroo.js, 08/10/2026) : les sites Deliveroo lus par
   les robots, la proposition de restaurant en face, et les gestes de l'équipe (relier, délier, montrer aux clients). Mêmes
   jetons et même allure que « Vérification des chiffres » : fond blanc, couleurs d'état sobres (réservées à l'état), liens
   bleus. Console : 1280 px seulement (pas de mise en page téléphone, décision de Saleh du 03/10). */

.lv-racine { display: flex; flex-direction: column; }
.lv-note { margin: 0 0 12px; }
.lv-note.warn { color: var(--orange); background: var(--orange-bg); border: 1px solid var(--orange-bd); }
.lv-na { color: var(--na); }
.lv-sous { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 500; color: var(--muted); line-height: 1.4; }
.lv-alerte { color: var(--orange); font-weight: 600; }
.lv-vide { margin: 0; padding: 14px 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.lv-h2 { margin: 0 0 10px; font-size: 15px; font-weight: 800; color: var(--navy); }
.lv-sous-h { margin-left: 8px; font-size: 12px; font-weight: 600; color: var(--muted); }

/* ------------------------------------------------------------ résumé */
.lv-resume { margin: 0 0 16px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--navy); border-radius: var(--r-sm); box-shadow: var(--shadow-sm); }
.lv-resume.vert { border-left-color: var(--vert); }
.lv-resume.orange { border-color: var(--orange-bd); border-left-color: var(--orange); background: var(--orange-bg); }
.lv-l1 { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.5; color: var(--navy); }
.lv-l1 b { font-weight: 800; }
.lv-s { margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-2); }

/* ------------------------------------------------------------ vues */
.lv-vues { display: flex; align-items: center; gap: 4px; margin: 0 0 14px; }
.lv-vue { border: 1px solid var(--line); background: var(--surface); padding: 7px 14px; font: inherit; font-size: 13px; font-weight: 700; color: var(--ink-2); cursor: pointer; border-radius: var(--r-xs); }
.lv-vue.actif { background: var(--navy); border-color: var(--navy); color: #fff; }
.lv-vue:hover:not(.actif) { background: var(--surface-2); }
.lv-vue:focus-visible, .lv-filtre:focus-visible, .lv-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.lv-filtres { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.lv-filtre { border: 1px solid var(--line); background: var(--surface); padding: 4px 12px; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--ink-2); cursor: pointer; border-radius: var(--r-pill); }
.lv-filtre b { margin-left: 4px; color: var(--navy); }
.lv-filtre.actif { background: var(--blue-soft); border-color: var(--blue-bd); color: var(--blue); }
.lv-filtre:hover:not(.actif) { background: var(--surface-2); }

/* ------------------------------------------------------------ tableaux */
.lv-compte { margin: 0 0 24px; }
.lv-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 13px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow-sm); }
.lv-table th { padding: 8px 12px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; text-align: left; color: var(--muted); background: var(--surface-2); border-bottom: 1px solid var(--line); }
.lv-table td { padding: 10px 12px; vertical-align: top; border-bottom: 1px solid var(--line-2); color: var(--navy); overflow-wrap: anywhere; }
.lv-table tbody tr:last-child td { border-bottom: 0; }
.lv-table tr.relie td { background: var(--surface-2); }
.lv-sites th:nth-child(1) { width: 26%; } .lv-sites th:nth-child(2) { width: 23%; } .lv-sites th:nth-child(3) { width: 31%; } .lv-sites th:nth-child(4) { width: 20%; }
.lv-restos th:nth-child(1) { width: 20%; } .lv-restos th:nth-child(2) { width: 22%; } .lv-restos th:nth-child(3) { width: 22%; } .lv-restos th:nth-child(4) { width: 12%; } .lv-restos th:nth-child(5) { width: 24%; }
.lv-journal th:nth-child(1) { width: 9%; } .lv-journal th:nth-child(2) { width: 21%; } .lv-journal th:nth-child(3) { width: 13%; }
.lv-journal th:nth-child(4) { width: 24%; } .lv-journal th:nth-child(5) { width: 33%; }
.lv-act { text-align: right; white-space: nowrap; }
.lv-act .lv-btn { margin-left: 6px; }
.lv-raison { margin-top: 6px; }
/* A12 (16/10) : « Relire les sites » en tête de chaque instance ; « Créer le restaurant » sous « Relier » quand la place manque. */
.lv-tete-compte { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 16px; margin: 0 0 10px; }
.lv-tete-compte .lv-h2 { margin: 0; }
.lv-relecture { display: flex; flex-direction: column; align-items: flex-end; text-align: right; max-width: 100%; }
.lv-relecture .lv-sous { max-width: 340px; }
.lv-sites .lv-act { white-space: normal; }
.lv-sites .lv-act .lv-btn { white-space: nowrap; margin: 0 0 6px 6px; }

.lv-pastille { display: inline-block; padding: 2px 9px; border-radius: var(--r-pill); font-size: 11.5px; font-weight: 800; white-space: nowrap; background: var(--chip-2); color: var(--ink-2); }
.lv-pastille.ok { background: var(--vert-bg); color: var(--vert); }
.lv-pastille.explique { background: var(--blue-soft); color: var(--blue); }
.lv-pastille.regarder { background: var(--orange-bg); color: var(--orange); }
.lv-pastille.verif { background: var(--navy); color: #fff; }

.lv-btn { border: 1px solid var(--line); background: var(--surface); padding: 5px 12px; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--navy); cursor: pointer; border-radius: var(--r-xs); }
.lv-btn:hover:not(:disabled) { background: var(--surface-2); }
.lv-btn:disabled { color: var(--na); cursor: not-allowed; }
.lv-btn.primaire { background: var(--navy); border-color: var(--navy); color: #fff; }
.lv-btn.primaire:hover:not(:disabled) { background: var(--navy-2); }
.lv-btn.primaire:disabled { background: var(--chip-2); border-color: var(--line); color: var(--na); }

/* ------------------------------------------------------------ confirmation */
.lv-voile { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-start; justify-content: center; padding: 64px 24px; background: rgba(22, 36, 63, .55); overflow: auto; }
.lv-modale { width: min(620px, 100%); background: var(--surface); border-radius: var(--r-sm); box-shadow: var(--shadow-2); }
.lv-mh { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.lv-mt { margin: 0; font-size: 16px; font-weight: 800; color: var(--navy); }
.lv-mc { padding: 16px 18px 18px; }
.lv-faits { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0 0 14px; font-size: 13px; color: var(--navy); }
.lv-faits dt { font-weight: 800; color: var(--muted); }
.lv-faits dd { margin: 0; }
.lv-liste { margin: 0 0 14px; padding-left: 18px; font-size: 12.5px; line-height: 1.6; color: var(--ink-2); }
.lv-champ { display: block; margin: 0 0 12px; font-size: 12px; font-weight: 700; color: var(--muted); }
.lv-champ input, .lv-champ select { display: block; width: 100%; margin-top: 4px; padding: 8px 10px; font: inherit; font-size: 13px; color: var(--navy); border: 1px solid var(--line); border-radius: var(--r-xs); background: var(--surface-2); }
.lv-champ input:focus-visible, .lv-champ select:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.lv-case { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 12px; font-size: 13px; font-weight: 700; color: var(--navy); }
.lv-case input { margin-top: 3px; }
.lv-verdict { margin: 0 0 14px; font-size: 12.5px; line-height: 1.6; color: var(--ink-2); }
.lv-perr { margin: 0 0 10px; font-size: 12.5px; font-weight: 700; color: var(--rouge); }
.lv-pb { display: flex; gap: 8px; }
