/* Atelia · console · page « Restaurants » en cartes (screens/restaurants-cartes.js).
   Une carte par restaurant, comme les tuiles de l'app Uber Eats (photo de couverture, logo rond, nom, note), et la
   fenêtre du restaurant (fond assombri). Palette inchangée : var(--…) seulement. Console : 1280 px seulement. */

.rc { display: flex; flex-direction: column; gap: 14px; }
.rc .h-row { margin-bottom: 0; }
.rc-segments { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.rc-segment { font: inherit; font-size: 13.5px; font-weight: 600; padding: 7px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2, var(--navy)); cursor: pointer; }
.rc-segment.actif { background: var(--navy); color: #fff; }
.rc-segment-nb { font-weight: 500; opacity: .75; margin-left: 2px; }
/* Ligne « Données : … » de la fiche (12/10) : même bord gauche et droit que les blocs (.rc-f-blocs, 24px) ; les choix passent à la
   ligne plutôt que de déborder sur un écran étroit. */
.rc-donnees { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 24px 0; }
.rc-donnees .rc-segments { margin: 0; flex-wrap: wrap; border-radius: 20px; max-width: 100%; }
/* 22/10 (points 2 et 10) : le choix à gauche ; à droite, les puces des plateformes avec leur voyant, puis (Configuration) les
   boutons « Comptes » et « Paramètres du restaurant ». Sous une puce, au survol ou au focus seulement, la dernière donnée reçue
   (position absolue : aucune place prise). */
.rc-donnees { justify-content: space-between; }
.rc-donnees-droite { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; margin-left: auto; max-width: 100%; }
.rc-puces-pf { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.rc-puce-pf { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 13px; font-weight: 600; color: var(--navy); }
.rc-puce { outline-offset: 3px; border-radius: 999px; cursor: default; white-space: nowrap; }
.rc-voyant { display: inline-block; width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; flex: none; background: #A0A7B4; box-shadow: 0 0 0 2px rgba(0,0,0,.04); }
.rc-voyant-vert { background: var(--brand-green, #2FBE6E); box-shadow: 0 0 0 3px rgba(47,190,110,.18); }
.rc-voyant-rouge { background: #D93025; box-shadow: 0 0 0 3px rgba(217,48,37,.18); cursor: pointer; }
button.rc-voyant-rouge { width: 12px; height: 12px; }
button.rc-voyant-rouge::before { content: ''; position: absolute; inset: -8px; }
button.rc-voyant-rouge { position: relative; }
.rc-voyant-rouge:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.rc-puce-date { display: none; position: absolute; top: calc(100% + 6px); right: 0; z-index: 20; width: max-content; max-width: min(320px, calc(100vw - 32px)); padding: 6px 10px; border-radius: 8px; background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 500; white-space: normal; box-shadow: 0 4px 14px rgba(0,0,0,.14); pointer-events: none; }
/* 22/10 : la dernière donnée reçue au survol (ou au focus) du voyant de la collecte seulement, plus de la puce. */
.rc-col-pf { position: relative; display: inline-flex; align-items: center; }
.rc-col-pf:hover .rc-puce-date, .rc-col-pf:focus-within .rc-puce-date { display: block; }
.rc-col { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; margin-left: 6px; border-radius: 50%; font-size: 11px; font-weight: 700; line-height: 1; cursor: default; }
.rc-col-frais { background: var(--green-bg, #e6f4ec); color: var(--green, #1d7a46); border: 1px solid currentColor; }
.rc-col-ancien { background: var(--red, #c0392b); }
.rc-col-nonlu { background: var(--gray-300, #c4c9d0); }
.rc-col-cours { background: transparent; cursor: pointer; }
.rc-col-cours .col-roue { width: 14px; height: 14px; }
/* Fenêtre « Comptes » ou « Paramètres du restaurant » (#modal de la console). */
.rc-fen-box { width: min(920px, calc(100vw - 32px)); max-width: calc(100vw - 32px); max-height: calc(100vh - 48px); overflow: auto; box-sizing: border-box; }
/* 22/10 (Saleh) : « Paramètres du restaurant » 30 % plus large (.mbox.wide fait 640 px) ; sur téléphone, toute la largeur (responsive.css). */
/* 23/10 (Saleh) : encore 20 % plus large (998 px) ; hauteur réduite de 10 % par le haut seulement (le bas ne bouge pas), puis
   ragrandie de 5 % par le haut (0,9 × 1,05 = 0,945 de la hauteur d'origine). */
@media (min-width: 901px) { .modal .mbox.wide.rc-fen-param { width: min(998px, calc(100vw - 32px)); max-height: calc((100vh - 48px) * 0.945); margin-top: calc((100vh - 48px) * 0.055); } }
.rc-fen-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.rc-fen-tete h3 { margin: 0; }
.rc-fen-corps { min-width: 0; }
/* Commande d'un avis Uber (22/10) : le montant en lien, la commande dans une fenêtre étroite. */
.rc-cmd-lien { font: inherit; font-weight: 600; color: var(--blue); background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.rc-cmd-lien:hover { text-decoration-thickness: 2px; }
.rc-cmd-lien:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 2px; }
.modal .mbox.rc-cmd-box { width: min(520px, calc(100vw - 32px)); }
.rc-cmd-resto { margin: 0 0 8px; }
.rc-cmd-fen .rc-ligne { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.rc-cmd-fen .rc-ligne span { color: var(--muted); min-width: 0; }
.rc-cmd-fen .rc-ligne b { text-align: right; min-width: 0; overflow-wrap: anywhere; }
.rc-historique { margin: 0 24px 24px; min-width: 0; }
.rc-historique:empty { display: none; }
.rc-seg { font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #EAECF2; color: var(--navy); }
.rc-seg-seryz { background: #F3E8FF; color: #6B21A8; }
.rc-outils { display: flex; gap: 10px; align-items: center; }
.rc-champ { font: inherit; font-size: 13.5px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-xs); background: var(--surface); color: var(--navy); }
.rc-champ#rc-q { flex: 1; max-width: 420px; }
.rc-select { min-width: 200px; }
.rc-compte { font-size: 12px; margin: 0 0 10px; }
/* Restaurants retirés (05/10) : un petit lien sous la recherche, puis la liste grisée avec « Rétablir ». */
.rc-lien-retires { margin-left: auto; font: inherit; font-size: 12.5px; color: var(--muted); background: none; border: 0; padding: 4px 2px; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.rc-lien-retires:hover { color: var(--navy); }
.rc-retires { margin-top: 10px; border: 1px dashed var(--line); border-radius: var(--r-sm); padding: 14px; background: var(--surface-2, var(--surface)); }
.rc-retires-tete { font-size: 12.5px; margin: 0 0 12px; }
.rc-carte.rc-retire { cursor: default; opacity: .6; filter: grayscale(1); }
.rc-carte.rc-retire:hover .rc-photo-img { transform: none; }
.rc-carte.rc-retire .rc-ligne3 .btn { filter: none; }

/* ---- Grille de cartes ---- */
.rc-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px 18px; }
.rc-carte { position: relative; display: flex; flex-direction: column; text-align: left; padding: 0; border: 0; background: none; font: inherit; color: var(--navy); cursor: pointer; border-radius: var(--r-sm); }
.rc-carte:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.rc-photo { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-3); display: grid; place-items: center; }
.rc-photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.rc-carte:hover .rc-photo-img { transform: scale(1.03); }
.rc-init { font-size: 34px; font-weight: 800; letter-spacing: 1px; color: var(--muted); }
.rc-photo:not(.rc-img-ko) .rc-init { visibility: hidden; }
.rc-logo { position: absolute; left: 10px; top: 10px; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--surface); box-shadow: 0 1px 6px rgba(22,36,63,.25); border: 2px solid var(--surface); }
.rc-logo.rc-img-ko { display: none; }
.rc-logo-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rc-corps { padding: 9px 2px 0; display: flex; flex-direction: column; gap: 3px; }
.rc-ligne1 { display: flex; align-items: center; gap: 8px; }
.rc-nom { flex: 1; min-width: 0; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-notes { display: inline-flex; align-items: center; gap: 4px; flex: none; }
.rc-note { font-size: 12.5px; font-weight: 700; padding: 3px 8px; border-radius: var(--r-pill); background: var(--surface-3); color: var(--navy); white-space: nowrap; }
.rc-note-na { color: var(--na); font-weight: 600; }
.rc-nb { font-size: 12px; color: var(--muted); }
.rc-ligne2 { display: block; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-ligne3 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; margin-top: 2px; }
.rc-pf { font-size: 12px; color: var(--muted); }
.rc-pf + .rc-pf::before { content: '· '; }
.rc-ligne3 .st { font-size: 11px; padding: 2px 8px; }

/* ---- Fenêtre du restaurant ---- */
.modal.open:has(> .mbox.rc-mbox) { background: rgba(12,19,34,.62); }
/* Fenêtre ouverte : la page derrière le fond assombri ne défile pas (molette, clavier) ; la marge remplace sa barre de
   défilement (--rc-barre, posée à l'ouverture) pour que rien ne bouge. Fenêtre fermée : la règle ne s'applique plus. */
html:has(#modal.open > .mbox.rc-mbox) { overflow: hidden; padding-right: var(--rc-barre, 0px); }
.modal .mbox.rc-mbox { width: 900px; max-width: 92vw; max-height: 90vh; overflow-y: auto; overscroll-behavior: contain; padding: 0; position: relative; }
.rc-fiche { position: relative; }
/* ---- Page du restaurant (20/10 : la fiche n'est plus une fenêtre, on « entre » dans le restaurant) ---- */
.rc-page-haut { margin-bottom: 12px; }
.rc-page .rc-fiche { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
/* ---- Barre d'onglets de la page du restaurant (Tab bar, 20/10 : pivot de la console) : sous l'en-tête, dix onglets ; sur un
   écran étroit, elle défile de côté dans son cadre (la page, elle, ne défile pas de côté). L'onglet actif : trait et gras. */
.rc-onglets { position: relative; display: flex; gap: 2px; margin: 16px 24px 0; border-bottom: 1px solid var(--line); overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.rc-onglet { flex: none; font: inherit; font-size: 13px; font-weight: 600; padding: 10px 9px 11px; border: 0; border-radius: 6px 6px 0 0; background: none; color: var(--muted); cursor: pointer; white-space: nowrap; box-shadow: inset 0 -3px 0 transparent; }
.rc-onglet:hover { color: var(--navy); background: var(--surface-2); }
.rc-onglet.actif { color: var(--navy); font-weight: 800; box-shadow: inset 0 -3px 0 var(--navy); }
.rc-onglet:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.rc-panneau:focus { outline: none; }
/* Zone des réglages d'un processus (screens/restaurant-processus.js) et note de fraîcheur : même bord que les blocs. */
.rc-rp-zone { margin: 14px 24px 0; }
.rc-rp-zone:empty { display: none; }
.rc-fraicheur { margin: 14px 24px 0; }
.rc-f-blocs > [data-rc-pf-blocs] > .rc-pf-vide { grid-column: 1 / -1; margin: 0; }
@media (max-width: 700px) {
  .rc-page .rc-f-photo { height: 160px; }
  .rc-page .rc-f-tete { padding: 0 14px; flex-wrap: wrap; }
  .rc-page .rc-f-titre { padding-top: 8px; flex-basis: 100%; }
  .rc-page .rc-f-pfs { padding: 12px 14px 4px; }
  .rc-page .rc-f-blocs { grid-template-columns: minmax(0, 1fr); padding: 12px 14px 16px; }
  .rc-page .rc-donnees { margin: 10px 14px 0; }   /* même bord que les blocs (14px) sur un écran étroit (20/10) */
  .rc-page .rc-onglets { margin: 12px 14px 0; }
  .rc-page .rc-rp-zone, .rc-page .rc-fraicheur { margin: 12px 14px 0; }
  .rc-page .rc-historique { margin: 0 14px 16px; }
  .rc-page .rc-chiffres, .rc-page .rc-tunnel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.rc-f-photo { position: relative; height: 230px; background: var(--surface-3); display: grid; place-items: center; overflow: hidden; border-radius: var(--r) var(--r) 0 0; }
.rc-f-photo:not(.rc-img-ko) .rc-init { visibility: hidden; }
.rc-f-photo .rc-init { font-size: 56px; }
.rc-fermer { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--surface); color: var(--navy); font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(22,36,63,.25); z-index: 2; }
.rc-fermer:hover { background: var(--surface-2); }
.rc-fermer:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.rc-f-tete { display: flex; align-items: flex-end; gap: 16px; padding: 0 24px; margin-top: -38px; position: relative; }
.rc-f-logo { position: relative; flex: none; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: var(--surface-3); border: 4px solid var(--surface); box-shadow: 0 2px 10px rgba(22,36,63,.2); display: grid; place-items: center; }
.rc-f-logo .rc-logo-img { position: absolute; inset: 0; }
.rc-f-logo:has(> .rc-logo-img) { background: var(--surface); }
.rc-f-logo:has(> .rc-logo-img) .rc-init-logo { visibility: hidden; }   /* un logo PNG transparent ne laisse pas voir les initiales */
.rc-init-logo { font-size: 24px; font-weight: 800; color: var(--muted); }
.rc-f-titre { flex: 1; min-width: 0; padding-top: 46px; padding-bottom: 4px; }   /* le nom commence sous la photo (le logo, lui, la chevauche) */
.rc-f-titre h3 { margin: 0; font-size: 24px; font-weight: 800; color: var(--navy); }
.rc-f-sous { font-size: 13px; color: var(--ink-2); margin-top: 3px; }
.rc-f-etat { display: flex; gap: 6px; flex-wrap: wrap; padding-bottom: 6px; }
.rc-f-pfs { display: flex; flex-direction: column; gap: 6px; padding: 14px 24px 4px; }
.rc-pf-ligne { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 13px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-xs); background: var(--surface-2); }
.rc-pf-ligne .rc-lien { margin-left: auto; }
.rc-lien { font: inherit; font-size: 13px; color: var(--blue); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; font-weight: 600; }
.rc-lien:hover { text-decoration: underline; }
.rc-f-blocs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 14px 24px 24px; }
.rc-bloc { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; background: var(--surface); min-width: 0; }
.rc-bloc.rc-large { grid-column: 1 / -1; }
.rc-bloc h4 { margin: 0 0 10px; font-size: 14px; font-weight: 800; color: var(--navy); display: flex; align-items: baseline; gap: 10px; }
.rc-aside { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--muted); }
.rc-chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.rc-chiffres.rc-ch3 { grid-template-columns: repeat(3, 1fr); }
.rc-chiffre, .rc-etape { background: var(--surface-2); border-radius: var(--r-xs); padding: 9px 11px; min-width: 0; }
.rc-ch-l { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.rc-ch-v { font-size: 18px; font-weight: 800; color: var(--navy); margin-top: 2px; }
.rc-ch-s { font-size: 11.5px; color: var(--ink-2); margin-top: 2px; }
.rc-repartition { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.rc-rep { display: grid; grid-template-columns: 34px 1fr 52px; align-items: center; gap: 8px; font-size: 12px; }
.rc-rep b { text-align: right; font-weight: 600; }
.rc-barre { height: 7px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.rc-barre i { display: block; height: 100%; background: var(--blue-fill); }
.rc-avis { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.rc-avi { border-top: 1px solid var(--line-2); padding-top: 8px; font-size: 12.5px; }
.rc-avi-t { display: flex; gap: 8px; align-items: center; }
.rc-avi-t .st { font-size: 11px; padding: 1px 7px; }
.rc-avi-x { color: var(--ink-2); margin-top: 3px; }
.rc-sous { font-size: 12.5px; font-weight: 700; color: var(--navy); margin: 12px 0 6px; }
.rc-liste { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; }
.rc-liste .st { font-size: 11px; padding: 1px 7px; }
.rc-ol { list-style: decimal; padding-left: 20px; }
.rc-tunnel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.rc-vide { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
.rc-texte { margin: 0 0 10px; font-size: 12.5px; color: var(--ink-2); }
.rc-note-bas { margin: 10px 0 0; font-size: 11.5px; color: var(--muted); }
.rc-bandeau { margin-bottom: 10px; }
.rc-tbl { width: 100%; font-size: 12.5px; }
.rc-tbl th, .rc-tbl td { padding: 6px 8px; }
.rc-tbl .r { text-align: right; }

/* ---- « Go » du 21/10 : zones des modules (tous facultatifs) ---- */
/* En-tête de la liste : « Nouveau client » (zone d'App.accesConsole) puis la puce du navigateur ; passe à la ligne si étroit. */
.rc-entete-actions { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; max-width: 100%; }
.rc-zone-acces:empty { display: none; }
/* Ligne de total d'un réseau (filtre réseau posé) : population et période dites en tête. */
.rc-total { margin: 0 0 14px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.rc-total-tete { font-size: 12.5px; font-weight: 600; color: var(--muted); margin: 0 0 6px; }
.rc-total-l { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 13.5px; color: var(--navy); }
.rc-total-l > span { min-width: 0; overflow-wrap: anywhere; }
/* Cartes grises (App.BoutiquesUber) : après la grille, jamais plus larges que la page. */
.rc-grises { min-width: 0; max-width: 100%; }
.rc-grises:empty { display: none; }
/* Bandeau « À faire » en tête du bloc Comptes. */
.rc-afaire { margin: 0 0 12px; padding: 10px 12px; border-radius: var(--r-xs); background: var(--surface-2, var(--surface)); border: 1px solid var(--line); }
.rc-afaire-titre { margin: 0 0 6px; }
.rc-afaire .rc-liste { margin: 0; }
@media (max-width: 600px) {
  /* 21/10 : à 390 px, le choix du réseau et le lien des restaurants retirés débordaient de 98 px (déjà le cas avant) : à la ligne. */
  .rc-outils { flex-wrap: wrap; }
  .rc-champ#rc-q { flex: 1 1 100%; max-width: none; min-width: 0; }
  .rc-select { min-width: 0; flex: 1 1 auto; max-width: 100%; }
  .rc-lien-retires { margin-left: 0; }
  .rc-total-l { flex-direction: column; gap: 4px; }
}

/* 22/10 : en-tête de la page d'un restaurant : « Fetch data » et le choix « Manuel | Automatique » de la collecte à gauche de « À jour » ;
   de la barre de collecte (js/collecte-console.js) ne reste ici que ce choix et son message. */
.rc-cc { display: inline-flex; }
.rc-cc .cc-barre { width: auto; padding: 0; flex-wrap: nowrap; }
.rc-cc [data-cc-fetch], .rc-cc .cc-heures, .rc-cc .cc-planning, .rc-cc .cc-file { display: none; }
/* 22/10, 11 h 08 : « Fetch data » de ce restaurant seulement en mode « Manuel » (attribut hidden posé par restaurants-cartes.js). */
.rc-f-etat .rc-cc-fetch[hidden] { display: none; }
.rc-ligne3 .rc-col { margin-left: 4px; margin-right: 4px; }

/* ---- Page Clients, 11/11/2026 (retours de l'équipe : cartes 5c30f700, a9c5690a, a9ff31c8, 6f5eedc6) ----
   Règles limitées à la page Clients : toutes commencent par .nc-clients (les vignettes .nc-ccarte et leurs lignes .nc-cpf servent aussi
   à la page Collectes, qui ne change pas) ; la règle .nc-st commune ne change pas. */
.nc-clients [data-clients-indicateurs]:empty, .nc-clients .nc-clients-haut:empty { display: none; }
/* Ligne d'une plateforme (5c30f700) : elle passe à la ligne au lieu de déborder ; l'état et le voyant restent ensemble, à droite. */
.nc-clients .nc-ccarte .nc-cpf { flex-wrap: wrap; row-gap: 4px; }
.nc-clients .nc-ccarte .nc-cpf > .nc-pf { flex: none; }
.nc-clients .nc-ccarte .rc-cetat { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; margin-left: auto; min-width: 0; max-width: 100%; }
.nc-clients .nc-ccarte .rc-cetat .nc-led { flex: none; }
/* Indicateurs de la ligne (a9ff31c8) : libellé court au-dessus, montant dessous, 3 au plus ; ils passent à la ligne si la place manque.
   Toujours sur leur propre rangée, sous le logo (le logo, l'état et le voyant au-dessus) : une seule mise en page, quels que soient les
   montants. */
.nc-clients .nc-ccarte .rc-cinds { order: 1; flex: 1 0 100%; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 2px 12px; min-width: 0; }
.nc-clients .nc-ccarte .rc-cind { display: inline-flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.nc-clients .nc-ccarte .rc-cind-l { font-size: 10.5px; font-weight: 700; color: var(--c-gris); white-space: nowrap; word-spacing: 2px; }
.nc-clients .nc-ccarte .rc-cind-v { font-size: 13px; font-weight: 800; color: var(--c-encre); white-space: nowrap; font-variant-numeric: tabular-nums; }
.nc-clients .nc-ccarte .rc-cind-p { font-size: 10.5px; color: var(--c-gris); white-space: nowrap; }
/* Vignette (6f5eedc6, tentative 2, 13/11/2026) : une enveloppe et deux boutons côte à côte, jamais l'un dans l'autre : la vignette
   (.nc-ccarte, qui ouvre le restaurant) et la cloche rouge de ses notifications à lire (Icon button + Badge), posée en haut à droite de
   la photo, sur un fond blanc qui la garde lisible sur toutes les photos ; 32 px de haut : assez grande pour un doigt. */
.nc-clients .rc-vig { position: relative; display: flex; flex-direction: column; min-width: 0; }
.nc-clients .rc-vig > .nc-ccarte { flex: 1 1 auto; width: 100%; }
.nc-clients .rc-cloche { position: absolute; top: 8px; right: 8px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; gap: 3px; min-width: 32px; height: 32px; padding: 0 9px 0 7px; box-sizing: border-box; border: 0; border-radius: 16px; background: #fff; color: var(--c-rouge); font: inherit; font-size: 13px; font-weight: 800; line-height: 1; white-space: nowrap; cursor: pointer; box-shadow: 0 2px 8px rgba(22,36,63,.28); }
.nc-clients .rc-cloche svg { display: block; flex: none; fill: currentColor; }
.nc-clients .rc-cloche:hover { background: var(--c-rouge-doux); }
.nc-clients .rc-cloche:focus-visible { outline: 3px solid var(--c-bleu-bord); outline-offset: 2px; }
/* Chiffre d'affaires hors offres (6a7ce10c, tentative 2) : son libellé en rouge, sur un montant hors offres seulement. */
.nc-clients .nc-ccarte .rc-cind-l.rc-cind-ho { color: var(--c-rouge-texte); }
/* Rangée d'affichage : « Indicateurs », « Trier par » (boutons qui ouvrent un volet, Popover), la période, le nombre de restaurants. */
.nc-clients .rc-affichage { gap: 8px; }
.nc-clients .rc-affichage .rc-compte { margin: 0; }
.nc-clients .rc-menu { position: relative; display: inline-flex; }
.nc-clients .rc-menu-btn b { font-weight: 800; }
.nc-clients .rc-fleche { display: inline-block; width: 6px; height: 6px; margin: 0 2px 0 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .7; flex: none; }
.nc-clients [aria-expanded="true"] > .rc-fleche { transform: translateY(1px) rotate(-135deg); }
.nc-clients .rc-menu-panneau, .nc-clients .rc-comptes-liste { position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; display: flex; flex-direction: column; gap: 2px; min-width: 230px; max-width: min(360px, calc(100vw - 32px)); padding: 8px; box-sizing: border-box; background: var(--c-carte); border: 1px solid #CBD3E0; border-radius: 14px; box-shadow: 0 18px 40px rgba(22,36,63,.14); }
.nc-clients .rc-menu-panneau[hidden], .nc-clients .rc-comptes-liste[hidden] { display: none; }
.nc-clients .rc-menu-tete { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--c-gris); padding: 2px 8px 4px; }
.nc-clients .rc-menu-choix { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--c-encre); cursor: pointer; }
.nc-clients .rc-menu-choix:hover { background: var(--c-zone); }
.nc-clients .rc-menu-choix input { margin: 0; flex: none; accent-color: var(--c-vert); }
.nc-clients .rc-menu-choix:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.nc-clients .rc-periode { flex: none; }
/* Comptes de collecte (a9c5690a) : liste déroulante (Dropdown) à droite du réseau ; ouverte, une ligne par compte. */
.nc-clients .rc-comptes { position: relative; display: inline-flex; min-width: 0; max-width: 100%; }
.nc-clients .rc-comptes-btn { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 34px; box-sizing: border-box; cursor: pointer; text-align: left; font: inherit; font-weight: 600; }
.nc-clients .rc-comptes-btn:focus-visible, .nc-clients .rc-menu-btn:focus-visible { outline: 3px solid var(--c-bleu-bord); outline-offset: 2px; }
.nc-clients .rc-comptes-titre { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nc-clients .rc-comptes-liste { min-width: 280px; max-height: min(420px, 70vh); overflow-y: auto; }
.nc-clients .rc-comptes-liste .nc-navchip { display: flex; width: 100%; box-sizing: border-box; justify-content: flex-start; gap: 8px; border: 0; border-radius: 9px; padding: 8px; white-space: normal; text-align: left; font-size: 13px; background: none; }
.nc-clients .rc-comptes-liste .nc-navchip:hover { background: var(--c-zone); }
.nc-clients .rc-comptes-liste .rc-compte-nom { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  /* Téléphone : les volets prennent la largeur de leur rangée, jamais plus large que l'écran. */
  .nc-clients .rc-affichage { position: relative; }
  .nc-clients .rc-affichage .rc-menu { position: static; }
  .nc-clients .rc-affichage .rc-menu-panneau { left: 0; right: 0; min-width: 0; max-width: none; }
  .nc-clients .rc-comptes { flex: 1 1 100%; }
  .nc-clients .rc-comptes-btn { width: 100%; }
  .nc-clients .rc-comptes-liste { left: 0; right: 0; min-width: 0; max-width: none; }
}
