/* =====================================================================
   LE COMPTOIR EN DIRECT (accueil du site, 18/11/2026)
   ---------------------------------------------------------------------
   Jonathan : « en mockup réel de Clever POS, avec une imprimante Epson
   TM-T30, un vrai terminal Clever ». Une scène de comptoir :
     - au centre, le moniteur de la caisse : l'écran de « Lancer ma
       caisse » REPRODUIT (bande de cases, catégories, touches photo,
       ticket, « Envoyer | Action », rectangle « Encaisser »), jouable ;
       sous 600 px de large, la disposition téléphone de la caisse ;
     - la tablette du passe (écran cuisine), le téléphone du patron
       (tableau de bord), l'imprimante (dessin vectoriel d'une Epson
       TM-T30, le vrai ticket sort de la fente), le Clever PRO (photo,
       son écran posé en perspective par une homographie).
   Chaque écran est dessiné à sa taille réelle puis mis à l'échelle
   (public/site/comptoir.js) : rien ne se déforme d'un écran à l'autre.
   Les couleurs des écrans sont celles de la caisse (nathan.css).
   ===================================================================== */
.comptoir { position: relative; margin: 54px auto 0; text-align: left; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 18px; align-items: end; }
.dev { margin: 0; position: relative; min-width: 0; }
.dev figcaption { margin-top: 12px; text-align: center; font: 700 11px/1.3 var(--tech); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.dev figcaption span { display: block; margin-top: 3px; font: 500 12.5px/1.3 var(--corps); letter-spacing: 0; text-transform: none; color: var(--doux); }
.vue { position: relative; overflow: hidden; width: 100%; }
.ui { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.dev .lueur-r { position: absolute; inset: -6px; border-radius: 22px; pointer-events: none; opacity: 0; box-shadow: 0 0 0 2px rgba(61,224,255,.8), 0 0 46px rgba(61,224,255,.55); transition: opacity .35s; }
.dev.recoit .lueur-r { opacity: 1; }

/* ---- le moniteur du comptoir ---- */
.comptoir .d-caisse { grid-column: 1 / -1; }
.moniteur { position: relative; background: linear-gradient(180deg, #171922, #0C0E14); border-radius: 16px; padding: 10px 10px 24px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), 0 60px 90px -40px rgba(0,0,0,.95), 0 0 140px -40px rgba(91,82,255,.55); }
.moniteur::after { content: ''; position: absolute; left: 50%; bottom: 9px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #2EE59D; box-shadow: 0 0 8px #2EE59D; opacity: .85; }
.moniteur .vue { border-radius: 6px; background: #F5F6FA; }
.pied { position: relative; height: 56px; }
.pied::before { content: ''; position: absolute; left: 44%; right: 44%; top: 0; height: 46px; background: linear-gradient(90deg, #10121A, #2C2F3B 50%, #10121A); }
.pied::after { content: ''; position: absolute; left: 33%; right: 33%; bottom: 0; height: 12px; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, #2C2F3B, #0C0E14); box-shadow: 0 18px 30px -8px rgba(0,0,0,.9); }

/* ---- la tablette de la cuisine ---- */
.tablette { position: relative; background: #0E1016; border-radius: 18px; padding: 11px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 40px 60px -30px rgba(0,0,0,.9); }
.tablette::before { content: ''; position: absolute; left: 5px; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: #2A2D38; }
.tablette .vue { border-radius: 7px; background: #F5F6FA; }

/* ---- le téléphone ---- */
.telephone { position: relative; background: #0E1016; border-radius: 30px; padding: 7px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.1), 0 40px 60px -30px rgba(0,0,0,.9); max-width: 210px; margin: 0 auto; }
.telephone .vue { border-radius: 24px; background: #F5F6FA; }
.telephone .ile { position: absolute; z-index: 3; left: 50%; top: 13px; width: 30%; height: 13px; margin-left: -15%; border-radius: 10px; background: #05060A; }

/* ---- le terminal : la photo et sa dalle en perspective ---- */
.photo-tpe { position: relative; width: 100%; max-width: 280px; margin: 0 auto; aspect-ratio: 1; }
.photo-tpe img { width: 100%; height: 100%; display: block; filter: drop-shadow(0 30px 30px rgba(0,0,0,.55)); }
.dalle { position: absolute; left: 0; top: 0; width: 300px; height: 534px; transform-origin: 0 0; overflow: hidden; border-radius: 16px; background: #fff; }

/* ---- l'imprimante Epson TM-T30 ---- */
.epson { position: relative; width: 100%; max-width: 230px; margin: 0 auto; padding-top: 70%; }
.epson svg.corps { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; display: block; overflow: visible; }
.rouleau { position: absolute; left: 26%; width: 48%; bottom: 60.5%; height: 0; overflow: hidden; z-index: 2; transform-origin: 50% 100%; transform: perspective(500px) rotateX(-6deg); transition: opacity .5s, transform .6s; }
.rouleau .tk { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.rouleau.arrache { opacity: 0; transform: perspective(500px) rotateX(-6deg) translateY(-30px) rotate(-4deg); }
.tk { width: 230px; background: #FDFDFB; color: #262626; font: 10.5px/1.5 ui-monospace, 'SFMono-Regular', 'Cascadia Mono', Menlo, Consolas, monospace; padding: 12px 11px 16px; box-shadow: inset 0 -26px 22px -22px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.04); }
.tk .c { text-align: center; }
.tk .g { font-weight: 700; }
.tk .gros { font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.tk .l { display: flex; justify-content: space-between; gap: 8px; }
.tk .l span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk .sep { border-top: 1px dashed #9A9A9A; margin: 6px 0; }
.tk .tot { font-size: 12.5px; font-weight: 700; }
.tk .pw { margin-top: 8px; font-size: 8.5px; color: #6E6E6E; text-align: center; }

/* ---- les fils et les paquets (grand écran) ---- */
.comptoir .fils { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; display: none; z-index: 0; }
.comptoir .fils path { fill: none; stroke: var(--trait-2); stroke-width: 1.5; stroke-dasharray: 3 6; }
.comptoir .fils path.vif { stroke: var(--cyan); stroke-width: 2.2; stroke-dasharray: none; filter: drop-shadow(0 0 6px rgba(61,224,255,.8)); }
.comptoir .paquet { fill: #fff; filter: drop-shadow(0 0 6px var(--cyan)) drop-shadow(0 0 14px var(--cyan)); }
.comptoir .dev { z-index: 1; }


/* ---- le bouton « Back office » sous le téléphone (20/11/2026) : il remplace
   « Votre téléphone / Le tableau de bord », qui touchaient presque le terminal ---- */
.bo-lance { margin-top: 16px; display: flex; justify-content: center; }
.bo-bouton { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--trait-2); background: rgba(255,255,255,.05); color: var(--blanc); font: 700 13px/1 var(--corps); white-space: nowrap; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.bo-bouton svg { width: 16px; height: 16px; flex: none; color: var(--cyan); }
.bo-bouton:hover { border-color: var(--cyan); background: rgba(61,224,255,.08); }
.bo-bouton:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.bo-bouton[aria-pressed="true"] { border-color: var(--cyan); background: rgba(61,224,255,.14); box-shadow: 0 0 26px -6px rgba(61,224,255,.75); }

@media (min-width: 1100px) {
  .comptoir { display: block; aspect-ratio: 1240 / 700; }
  .comptoir .fils { display: block; }
  .comptoir .dev { position: absolute; }
  .comptoir .d-caisse { left: 22.5%; top: 0; width: 55%; }
  .comptoir .d-cuisine { left: 0; top: 4%; width: 18%; }
  .comptoir .d-imp { left: 1.5%; top: 47%; width: 15%; }
  /* Le téléphone un peu plus étroit et le terminal un peu plus bas : le bouton
     « Back office » garde de l'air avant le Clever PRO, à toutes les largeurs. */
  .comptoir .d-tel { right: 2%; top: 0; width: 11.5%; }
  .comptoir .d-tpe { right: 0; top: 55%; width: 17.5%; }
}
@media (max-width: 1099px) {
  .comptoir .d-tel .telephone { max-width: 190px; }
}

/* =====================================================================
   L'ÉCRAN DE LA CAISSE (reproduit d'après app/pos/caisse.html et nathan.css)
   ===================================================================== */
.cx { --i: #4F46E5; --e: #14162B; --g: #6B6F86; --t: #E6E8EF; font-family: 'Manrope', system-ui, sans-serif; color: var(--e); background: #F5F6FA; display: flex; flex-direction: column; overflow: hidden; -webkit-font-smoothing: antialiased; position: absolute; }
:where(.cx, .px) button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
.cx-bande { height: 66px; flex: none; background: #fff; border-bottom: 1px solid var(--t); display: flex; }
.cx-nom { flex: 1; min-width: 0; padding: 13px 16px 0; }
.cx-nom b { display: flex; align-items: center; gap: 8px; font: 800 17px/1.2 'Sora', sans-serif; letter-spacing: -.02em; white-space: nowrap; }
.cx-pill { font: 700 10.5px/1 'Manrope', sans-serif; color: #15803D; background: #DCFCE7; border-radius: 99px; padding: 4px 8px; display: inline-flex; align-items: center; gap: 4px; letter-spacing: 0; }
.cx-pill::before, .cx-ouv::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #22C55E; }
.cx-ouv { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 11px; color: var(--g); }
.cx-case { width: 80px; flex: none; border-left: 1px solid var(--t); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; font: 600 11px/1 'Manrope', sans-serif; position: relative; }
.cx-case svg { width: 20px; height: 20px; }
.cx-case.actif { background: #F97316; color: #fff; border-color: #F97316; }
.cx-case.menu { background: var(--i); color: #fff; border-color: var(--i); width: 86px; }
.cx-pastille { position: absolute; top: 9px; left: 50%; margin-left: 4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: var(--i); color: #fff; font: 800 9.5px/16px 'Manrope', sans-serif; text-align: center; }
.cx-case.actif .cx-pastille { background: #fff; color: #F97316; }
.cx-pastille[hidden] { display: none; }
.cx-tete-c { display: none; height: 52px; flex: none; background: #fff; border-bottom: 1px solid var(--t); align-items: center; padding: 0 14px; gap: 10px; }
.cx-tete-c .m { display: flex; align-items: center; gap: 8px; font: 700 15px 'Manrope', sans-serif; color: #142966; }
.cx-tete-c b { flex: 1; text-align: center; font: 700 15px 'Sora', sans-serif; color: #142966; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-tete-c .av { width: 32px; height: 32px; border-radius: 50%; background: #E9EAF0; display: grid; place-items: center; font: 800 11px 'Manrope', sans-serif; color: #142966; }
.cx-corps { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 292px; }
.cx-gauche { min-height: 0; overflow: hidden; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.cx-cherche { flex: none; height: 34px; border-radius: 10px; border: 1px solid var(--t); background: #fff; display: flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 12px; color: #9CA0B4; }
.cx-cats { flex: none; display: flex; gap: 6px; overflow: hidden; }
.cx-cat { flex: none; height: 28px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--t) !important; background: #fff !important; font: 700 11.5px/1 'Manrope', sans-serif !important; display: inline-flex; align-items: center; gap: 6px; }
.cx-cat i { width: 8px; height: 8px; border-radius: 50%; }
.cx-cat.on { background: var(--i) !important; border-color: var(--i) !important; color: #fff !important; }
.cx-grille { flex: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-content: start; }
.cx-touche { position: relative; display: block; background: #fff !important; border: 1px solid var(--t) !important; border-radius: 12px; overflow: hidden; text-align: left; transition: transform .12s, box-shadow .2s; }
.cx-touche .ph { position: relative; display: block; aspect-ratio: 1.22; overflow: hidden; background: #ddd; }
.cx-touche .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cx-touche .ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 52%, rgba(10,10,20,.62)); }
.cx-touche .pr { position: absolute; z-index: 1; left: 8px; bottom: 6px; color: #fff; font: 800 12px 'Manrope', sans-serif; }
.cx-touche .nm { display: block; padding: 7px 9px 8px; font: 700 11.5px/1.25 'Manrope', sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-touche .pl { position: absolute; z-index: 1; top: 6px; right: 6px; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.4); color: #fff; display: grid; place-items: center; font: 800 13px/1 'Manrope', sans-serif; }
.cx-touche .pl.q { background: var(--i); font-size: 11px; }
.cx-touche.tape { transform: scale(.95); box-shadow: 0 0 0 3px rgba(79,70,229,.4); }
.cx-ticket { background: #fff; border-left: 1px solid var(--t); display: flex; flex-direction: column; min-height: 0; }
.cx-th { flex: none; display: flex; align-items: center; gap: 8px; padding: 13px 14px 8px; }
.cx-th b { flex: 1; font: 800 15px 'Sora', sans-serif; }
.cx-th .tb { font: 700 10.5px 'Manrope', sans-serif; color: #C2410C; background: #FFEDD5; border-radius: 99px; padding: 3px 8px; }
.cx-th .vi { color: #DC2626; font: 700 12px 'Manrope', sans-serif; }
.cx-th .nb { font: 700 10.5px 'Manrope', sans-serif; color: var(--g); background: #F1F2F7; border-radius: 99px; padding: 3px 8px; }
.cx-lignes { flex: 1; min-height: 0; overflow: hidden; padding: 0 14px; }
.cx-ligne { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; padding: 8px 0; border-bottom: 1px solid #EEF0F5; }
.cx-ligne.neuf { animation: cxNeuf .7s ease; }
@keyframes cxNeuf { from { background: #EEF0FF; } }
.cx-ligne .n { font: 700 12px/1.3 'Manrope', sans-serif; min-width: 0; }
.cx-ligne .p { font: 800 12px 'Manrope', sans-serif; text-align: right; }
.cx-ligne .st { display: flex; align-items: center; gap: 9px; font: 700 11px 'Manrope', sans-serif; }
.cx-ligne .st i { width: 20px; height: 20px; border-radius: 6px; border: 1px solid var(--t); display: grid; place-items: center; font-style: normal; color: var(--g); }
.cx-ligne .en { justify-self: start; font: 700 9.5px 'Manrope', sans-serif; color: #15803D; background: #DCFCE7; border-radius: 99px; padding: 2px 7px; }
.cx-ligne .re { font-size: 10px; color: #9CA0B4; text-align: right; align-self: center; }
.cx-vide { margin: 34px 12px 0; text-align: center; font-size: 11.5px; line-height: 1.5; color: #9CA0B4; }
.cx-vide svg { display: block; margin: 0 auto 8px; color: #C9CCDA; }
.cx-sommes { flex: none; padding: 8px 14px; display: grid; gap: 3px; font-size: 11px; color: var(--g); }
.cx-sommes div { display: flex; justify-content: space-between; }
.cx-barre { flex: none; display: grid; grid-template-columns: 1fr 1fr; height: 40px; }
.cx-barre button { display: flex; align-items: center; justify-content: center; gap: 7px; font: 700 12px 'Manrope', sans-serif; }
.cx-barre .ev { background: #E9EAF0 !important; color: var(--e) !important; }
.cx-barre .ac { background: var(--i) !important; color: #fff !important; }
.cx-barre svg { width: 14px; height: 14px; }
.cx-enc { flex: none; height: 54px; display: flex !important; align-items: center; justify-content: space-between; padding: 0 18px !important; background: var(--i) !important; color: #fff !important; font: 800 14px 'Manrope', sans-serif !important; }
.cx-enc b { font: 800 19px 'Sora', sans-serif; letter-spacing: -.02em; }
.cx-enc.zero { background: #A5A1F8 !important; }
.cx-bas { display: none !important; flex: none; height: 58px; background: var(--i) !important; color: #fff !important; align-items: center; justify-content: center; gap: 10px; font: 800 19px 'Sora', sans-serif !important; letter-spacing: -.02em; }
.cx-bas small { font: 700 12px 'Manrope', sans-serif; opacity: .8; letter-spacing: 0; }

/* la disposition téléphone de la caisse */
.cx.compact .cx-bande { display: none; }
.cx.compact .cx-tete-c { display: flex; }
.cx.compact .cx-corps { grid-template-columns: 1fr; }
.cx.compact .cx-ticket { display: none; }
.cx.compact .cx-grille { grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cx.compact .cx-touche .nm { font-size: 13px; padding: 8px 10px 10px; }
.cx.compact .cx-touche .pr { font-size: 14px; }
.cx.compact .cx-gauche { padding: 14px; gap: 12px; }
.cx.compact .cx-cherche { height: 40px; font-size: 13.5px; }
.cx.compact .cx-cat { height: 34px; font-size: 13px !important; padding: 0 14px; }
.cx.compact .cx-bas { display: flex !important; }

/* les fenêtres de la caisse */
.cx-voile { position: absolute; inset: 0; z-index: 5; background: rgba(20,22,43,.38); display: flex; align-items: center; justify-content: center; padding: 18px; animation: cxVoile .25s ease both; }
.cx-voile[hidden] { display: none; }
@keyframes cxVoile { from { opacity: 0; } }
.cx-fen { background: #fff; border-radius: 18px; width: 560px; max-width: 100%; padding: 22px 22px 18px; box-shadow: 0 30px 60px -20px rgba(20,22,43,.5); animation: cxFen .3s cubic-bezier(.2,.9,.3,1.1) both; position: relative; }
@keyframes cxFen { from { transform: translateY(14px) scale(.97); opacity: 0; } }
.cx-fen .lb { font: 800 10px/1 'Manrope', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--g); }
.cx-fen .mt { font: 800 34px/1.1 'Sora', sans-serif; letter-spacing: -.03em; margin: 6px 0 4px; }
.cx-fen .q { font-size: 12.5px; color: var(--g); }
.cx-fen .x { position: absolute; top: 14px; right: 14px; width: 28px; height: 28px; border-radius: 50%; background: #F1F2F7 !important; display: grid; place-items: center; color: var(--g) !important; font-size: 15px !important; }
.cx-moyens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.cx-moyen { position: relative; border: 1px solid var(--t) !important; border-radius: 16px; padding: 16px 10px 14px !important; text-align: center; display: flex !important; flex-direction: column; align-items: center; gap: 8px; transition: border-color .2s, background .2s, transform .15s; }
.cx-moyen .nu { position: absolute; top: 8px; left: 8px; width: 18px; height: 18px; border-radius: 5px; border: 1px solid var(--t); font: 700 9.5px/16px 'Manrope', sans-serif; color: var(--g); }
.cx-moyen .ok { position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px #DCFCE7; }
.cx-moyen .ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; }
.cx-moyen .ic svg { width: 24px; height: 24px; }
.cx-moyen b { font: 800 14px 'Manrope', sans-serif; }
.cx-moyen span { font-size: 10.5px; line-height: 1.35; color: var(--g); }
.cx-moyen.choisi { border-color: var(--i) !important; background: #F5F5FF !important; transform: scale(.97); }
.v-vert { background: #DCFCE7; color: #15803D; } .v-indigo { background: #EEF0FF; color: var(--i); } .v-ambre { background: #FEF3C7; color: #B45309; }
.cx-attente { text-align: center; padding: 6px 0 2px; }
.cx-attente .tour { width: 38px; height: 38px; margin: 14px auto 10px; border-radius: 50%; border: 3px solid #E0E1F5; border-top-color: var(--i); animation: cxTour .9s linear infinite; }
@keyframes cxTour { to { transform: rotate(360deg); } }
.cx-attente p { font-size: 12.5px; color: var(--g); }
.cx-attente .an { margin-top: 14px; height: 36px; padding: 0 16px !important; border-radius: 10px; border: 1px solid var(--t) !important; font: 700 12px 'Manrope', sans-serif !important; }
.cx-rendu { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.cx-rendu div { border-radius: 14px; background: #F5F6FA; padding: 12px 14px; }
.cx-rendu small { display: block; font: 700 10px 'Manrope', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--g); }
.cx-rendu b { font: 800 22px 'Sora', sans-serif; letter-spacing: -.02em; }
.cx-rendu .vert b { color: #15803D; }
/* l'animation de paiement de la caisse (fond clair, comme la vraie) */
.cx-anim { position: absolute; inset: 0; z-index: 6; background: radial-gradient(60% 50% at 50% 45%, #EEEDFF, #fff 70%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; animation: cxVoile .3s ease both; }
.cx-anim[hidden] { display: none; }
.cx-anim img { width: 40%; max-width: 300px; }
.cx-anim hr { width: 46%; border: 0; border-top: 1px solid #E3E4EE; margin: 6px 0; }
.cx-anim .ac { display: flex; align-items: center; gap: 8px; font: 600 16px 'Manrope', sans-serif; color: #142966; }
.cx-anim .ac i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #22C55E; display: grid; place-items: center; color: #22C55E; font-style: normal; font-size: 11px; font-weight: 800; }
.cx-anim .mt { font: 500 46px/1 'Sora', sans-serif; color: #142966; letter-spacing: -.03em; }
.cx-anim small { font-size: 12px; color: #8A8EA6; letter-spacing: .04em; }

/* =====================================================================
   LE PASSE (écran cuisine, d'après app/pos/passe.html)
   ===================================================================== */
.px { font-family: 'Manrope', system-ui, sans-serif; color: #14162B; background: #F5F6FA; position: absolute; display: flex; flex-direction: column; gap: 8px; padding: 8px; }
.px-tete { flex: none; height: 42px; border-radius: 10px; background: #fff; border: 1px solid #E6E8EF; display: flex; align-items: center; gap: 8px; padding: 0 12px; }
.px-tete b { font: 800 16px 'Sora', sans-serif; letter-spacing: -.02em; }
.px-tete span { font-size: 11px; color: #6B6F86; flex: 1; white-space: nowrap; }
.px-tete span em { font-style: normal; font-weight: 800; color: #14162B; }
.px-tete time { font: 800 17px 'Sora', sans-serif; }
.px-rangs { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 6px; }
.px-rang { flex: none; display: grid; grid-template-columns: 94px 1fr 86px; align-items: center; gap: 8px; background: #fff; border: 1px solid #E6E8EF; border-radius: 10px; padding: 8px 10px; animation: pxEntre .4s ease both; transition: opacity .5s, transform .5s; }
@keyframes pxEntre { from { opacity: 0; transform: translateY(-8px); } }
.px-rang.part { opacity: 0; transform: translateX(30px); }
.px-rang b { display: block; font: 800 16px/1.1 'Sora', sans-serif; letter-spacing: -.02em; }
.px-rang small { display: block; font-size: 10px; color: #6B6F86; margin-top: 2px; }
.px-rang em { display: block; font-style: normal; font-size: 9.5px; font-weight: 700; color: #C2410C; margin-top: 2px; }
.px-assiettes { display: flex; flex-wrap: wrap; gap: 6px; }
.px-a { width: 52px; height: 52px; border-radius: 50%; border: 3px solid #D8DAE6; background: #F5F6FA; display: grid; place-items: center; text-align: center; font: 700 6.5px/1.15 'Manrope', sans-serif; padding: 2px; overflow-wrap: anywhere; position: relative; transition: border-color .3s, background .3s; }
.px-a.pret { border-color: #16A34A; background: #E9F9EF; color: #166534; }
.px-a.pret::after { content: '✓'; position: absolute; top: -4px; right: -4px; width: 16px; height: 16px; border-radius: 50%; background: #16A34A; color: #fff; font-size: 9px; display: grid; place-items: center; }
.px-etat { min-height: 52px; padding: 6px 4px; text-align: center; border-radius: 10px; background: #F1F2F7; display: flex; flex-direction: column; align-items: center; justify-content: center; font: 800 16px/1 'Sora', sans-serif; }
.px-etat small { font: 600 9px/1.15 'Manrope', sans-serif; color: #6B6F86; margin-top: 3px; }
.px-etat.go { background: #16A34A; color: #fff; font-size: 13px; }
.px-etat.go small { color: rgba(255,255,255,.85); }
.px-vide { margin: auto; font-size: 11px; color: #9CA0B4; text-align: center; }

/* =====================================================================
   LE TÉLÉPHONE DU PATRON (d'après le tableau de bord sur téléphone)
   ===================================================================== */
.tx { font-family: 'Manrope', system-ui, sans-serif; color: #142966; background: #F5F6FA; position: absolute; display: flex; flex-direction: column; overflow: hidden; }
.tx-statut { flex: none; height: 34px; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 22px 4px; font: 700 12px 'Manrope', sans-serif; }
.tx-tete { flex: none; height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; background: #fff; border-bottom: 1px solid #E6E8EF; font: 700 14px 'Manrope', sans-serif; }
.tx-tete img { width: 26px; }
.tx-tete .av { width: 28px; height: 28px; border-radius: 50%; background: #E9EAF0; display: grid; place-items: center; font: 800 10px 'Manrope', sans-serif; }
.tx-carte { margin: 14px 12px 0; background: #fff; border: 2px solid #4F46E5; border-radius: 20px; padding: 16px 15px 14px; }
.tx-carte h5 { margin: 0; font: 800 19px/1.15 'Sora', sans-serif; letter-spacing: -.02em; color: #142966; }
.tx-ouv { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 10.5px; color: #4A5578; }
.tx-ouv::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #22C55E; }
.tx-lancer { margin-top: 14px; height: 40px; border-radius: 12px; background: #4F46E5; color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font: 700 12.5px 'Manrope', sans-serif; box-shadow: 0 10px 20px -10px rgba(79,70,229,.8); }
.tx-lb { margin-top: 16px; font: 800 8.5px/1 'Manrope', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #8A8EA6; }
.tx-mt { margin-top: 6px; font: 800 30px/1 'Sora', sans-serif; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tx-ve { margin-top: 6px; font-size: 10.5px; color: #4A5578; }
.tx-barres { margin-top: 14px; height: 54px; display: flex; align-items: flex-end; gap: 6px; }
.tx-barres i { flex: 1; border-radius: 5px; background: #DCDBFB; transition: height .8s cubic-bezier(.2,.8,.2,1); }
.tx-barres i:last-child { background: #4F46E5; }
.tx-jours { display: flex; gap: 6px; margin-top: 5px; }
.tx-jours span { flex: 1; text-align: center; font: 700 7.5px 'Manrope', sans-serif; color: #8A8EA6; }
.tx-jours span:last-child { color: #4F46E5; }
.tx-sem { margin-top: 10px; display: flex; justify-content: space-between; font-size: 10px; color: #8A8EA6; }
.tx-sem b { color: #142966; font-size: 11.5px; }
.tx-notif { position: absolute; z-index: 4; left: 8px; right: 8px; top: 38px; border-radius: 16px; background: rgba(255,255,255,.96); box-shadow: 0 12px 30px -10px rgba(20,22,43,.45); padding: 10px 11px; display: flex; gap: 9px; align-items: flex-start; transform: translateY(-220%); transition: transform .5s cubic-bezier(.2,.9,.3,1.15); }
.tx-notif.vue { transform: translateY(0); }
.tx-notif img { width: 30px; height: 30px; border-radius: 8px; flex: none; }
.tx-notif small { display: block; font: 700 8.5px 'Manrope', sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #8A8EA6; }
.tx-notif b { display: block; font: 800 11.5px/1.3 'Manrope', sans-serif; color: #14162B; margin-top: 1px; }
.tx-notif span { display: block; font-size: 10.5px; color: #4A5578; }

/* =====================================================================
   L'ÉCRAN DU TERMINAL CLEVER (posé sur la photo par homographie)
   ===================================================================== */
.ex { position: absolute; inset: 0; font-family: 'Manrope', system-ui, sans-serif; color: #142966; background: radial-gradient(70% 45% at 50% 42%, #ECEBFF, #fff 72%); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; }
.ex > div { display: flex; flex-direction: column; align-items: center; width: 100%; animation: cxVoile .3s ease both; }
.ex img.logo { width: 82%; }
.ex .pret { margin-top: 18px; font: 600 16px 'Manrope', sans-serif; color: #8A8EA6; }
.ex .lb { font: 600 17px 'Manrope', sans-serif; color: #4A5578; }
.ex .mt { font: 600 54px/1.1 'Sora', sans-serif; letter-spacing: -.03em; margin: 8px 0 22px; }
.ex .sc { width: 130px; height: 130px; position: relative; display: grid; place-items: center; }
.ex .sc::before, .ex .sc::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 3px solid #4F46E5; opacity: 0; animation: exOnde 1.8s ease-out infinite; }
.ex .sc::after { animation-delay: .9s; }
@keyframes exOnde { 0% { transform: scale(.55); opacity: .7; } 100% { transform: scale(1.15); opacity: 0; } }
.ex .sc svg { width: 64px; height: 64px; color: #4F46E5; }
.ex .ind { margin-top: 18px; font: 600 18px 'Manrope', sans-serif; }
.ex .tour { width: 64px; height: 64px; border-radius: 50%; border: 5px solid #E0E1F5; border-top-color: #4F46E5; animation: cxTour .8s linear infinite; margin-bottom: 18px; }
.ex hr { width: 86%; border: 0; border-top: 1.5px solid #E3E4EE; margin: 26px 0 22px; }
.ex .ac { display: flex; align-items: center; gap: 9px; font: 600 21px 'Manrope', sans-serif; }
.ex .ac i { width: 24px; height: 24px; border-radius: 50%; border: 2.5px solid #22C55E; color: #22C55E; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 800; }
.ex .ok .mt { font-weight: 500; margin: 14px 0 6px; }
.ex small { font-size: 15px; color: #8A8EA6; letter-spacing: .04em; }

/* =====================================================================
   LE BACK OFFICE SUR LE MONITEUR (20/11/2026, d'après le vrai : le menu à
   gauche et sa grande case « Lancer ma caisse », la barre du haut, le
   tableau de bord, Mes ventes, Mes articles — app/pos/*.html, nathan.css).
   Dessiné à la taille de l'écran de la caisse (960 × 600), et dans sa
   disposition téléphone (420 × 640) quand le moniteur est étroit.
   ===================================================================== */
.bo { position: absolute; inset: 0; z-index: 8; display: grid; grid-template-columns: 172px 1fr; background: #F5F6FA; color: #142966; font-family: 'Manrope', system-ui, sans-serif; animation: cxVoile .3s ease both; }
.bo[hidden] { display: none; }
.bo button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; text-align: left; }
.bo-side { background: #fff; border-right: 1px solid #E6E8EF; padding: 12px 10px; display: flex; flex-direction: column; gap: 2px; overflow: hidden; }
.bo .bo-hero { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; height: 82px; margin-bottom: 10px; border-radius: 14px; background: #4F46E5; color: #fff; text-align: center; font: 700 12px 'Manrope', sans-serif; box-shadow: 0 12px 22px -12px rgba(79,70,229,.95); transition: filter .2s; }
.bo .bo-hero:hover { filter: brightness(1.08); }
.bo-hero svg { width: 30px; height: 30px; }
.bo .bo-nav { display: flex; align-items: center; gap: 10px; height: 31px; padding: 0 10px; border-radius: 9px; font: 500 11.5px/1 'Manrope', sans-serif; color: #142966; white-space: nowrap; }
.bo .bo-nav svg { width: 16px; height: 16px; flex: none; }
.bo button.bo-nav:hover { background: #F1F2F7; }
.bo .bo-nav.on { background: #4F46E5; color: #fff; font-weight: 700; }
.bo .bo-nav.muet { cursor: default; }
.bo-main { min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; overflow: hidden; }
.bo-top { flex: none; height: 46px; border-radius: 12px; background: #fff; display: flex; align-items: center; gap: 10px; padding: 0 14px; }
.bo-top > b { flex: 1; min-width: 0; font: 800 15px 'Sora', sans-serif; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bo-menu { display: none; align-items: center; gap: 6px; font: 700 12.5px 'Manrope', sans-serif; }
.bo-menu svg { width: 18px; height: 18px; }
.bo-date { font: 700 10px 'Manrope', sans-serif; border: 1px solid #E6E8EF; border-radius: 8px; padding: 6px 9px; white-space: nowrap; }
.bo-cl svg { width: 16px; height: 16px; display: block; }
.bo-av { width: 28px; height: 28px; flex: none; border-radius: 50%; background: #E9EAF0; display: grid; place-items: center; font: 800 10px 'Manrope', sans-serif; }
.bo-qui { font: 700 10.5px/1.25 'Manrope', sans-serif; white-space: nowrap; }
.bo-qui small { display: block; font-weight: 500; font-size: 9.5px; color: #8A8EA6; }
.bo-onglets { display: none; }
.bo-bas { display: none !important; }
.bo-vue { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; animation: boEntre .28s ease both; }
@keyframes boEntre { from { opacity: 0; transform: translateY(6px); } }
.bo-carte { background: #fff; border: 1px solid #E6E8EF; border-radius: 14px; padding: 12px 14px; min-width: 0; }
.bo-ct { display: flex; align-items: center; gap: 10px; }
.bo-ct b { display: block; font: 800 13px 'Sora', sans-serif; letter-spacing: -.01em; }
.bo-ct small { display: block; font-size: 10px; color: #6B6F86; margin-top: 2px; }
.bo-ic { width: 30px; height: 30px; flex: none; border-radius: 9px; background: #EEF0FF; color: #4F46E5; display: grid; place-items: center; }
.bo-ic svg { width: 16px; height: 16px; }
.bo-h { display: block; font: 800 12px 'Sora', sans-serif; letter-spacing: -.01em; margin-bottom: 8px; }
.bo-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; min-height: 0; }
.bo-duo.b2 { grid-template-columns: 1.55fr 1fr; }

/* le tableau de bord */
.bo-band { flex: none; display: flex; gap: 16px; background: #fff; border: 2px solid #4F46E5; border-radius: 18px; padding: 16px 18px; position: relative; overflow: hidden; }
.bo-band::after { content: ''; position: absolute; right: -50px; bottom: -70px; width: 190px; height: 190px; border-radius: 50%; background: #F1F0FF; z-index: 0; }
.bo-band-g { flex: 1; min-width: 0; position: relative; z-index: 1; }
.bo-band h5 { margin: 0; font: 800 22px/1.1 'Sora', sans-serif; letter-spacing: -.02em; color: #142966; }
.bo-ouv { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 11px; color: #4A5578; }
.bo-ouv::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #22C55E; }
.bo-lb { margin-top: 16px; font: 800 9px/1 'Manrope', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #8A8EA6; }
.bo-mt { margin-top: 5px; font: 800 38px/1 'Sora', sans-serif; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bo-ve { margin-top: 7px; font-size: 11px; color: #4A5578; }
.bo-band-d { width: 230px; flex: none; position: relative; z-index: 1; display: flex; flex-direction: column; align-items: stretch; }
.bo .bo-lancer { align-self: flex-end; display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 12px; background: #4F46E5; color: #fff; font: 700 12px 'Manrope', sans-serif; box-shadow: 0 10px 20px -10px rgba(79,70,229,.9); white-space: nowrap; }
.bo-lancer svg { width: 16px; height: 16px; }
.bo-barres { margin-top: auto; height: 52px; display: flex; align-items: flex-end; gap: 6px; }
.bo-barres i { flex: 1; border-radius: 5px; background: #DCDBFB; }
.bo-barres i:last-child { background: #4F46E5; }
.bo-jours { display: flex; gap: 6px; margin-top: 5px; }
.bo-jours span { flex: 1; text-align: center; font: 700 7.5px 'Manrope', sans-serif; color: #8A8EA6; }
.bo-jours span:last-child { color: #4F46E5; }
.bo-sem { margin-top: 9px; display: flex; justify-content: space-between; font-size: 10px; color: #8A8EA6; }
.bo-sem b { color: #142966; font-size: 11.5px; }
.bo-tdb .bo-duo { flex: 1; }
.bo-tdb .bo-carte { display: flex; flex-direction: column; min-height: 0; }
.bo-tdb .bo-courbe { flex: 1; min-height: 56px; height: auto; }
.bo-tables { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 12px; }
.bo-tables span { height: 24px; border-radius: 7px; border: 1px solid #E6E8EF; background: #F5F6FA; display: grid; place-items: center; font: 700 9.5px 'Manrope', sans-serif; color: #8A8EA6; }
.bo-tables span.pris { background: #4F46E5; border-color: #4F46E5; color: #fff; }
.bo-tables span.resa { border: 1.5px dashed #8B5CF6; color: #7C3AED; background: #F5F3FF; }
.bo-tdb .bo-proch { margin-top: auto; }
.bo-2, .bo-3 { display: grid; grid-template-columns: 1fr 1fr; margin-top: 12px; }
.bo-3 { grid-template-columns: repeat(3, 1fr); }
.bo-2 > div, .bo-3 > div { padding-right: 10px; }
.bo-2 > div + div, .bo-3 > div + div { border-left: 1px solid #EEF0F5; padding-left: 12px; }
.bo-2 b, .bo-3 b { display: block; font: 800 19px/1.1 'Sora', sans-serif; letter-spacing: -.02em; }
.bo-3 b span { font-size: 12px; color: #8A8EA6; }
.bo-2 small, .bo-3 small { display: block; margin-top: 3px; font-size: 9.5px; line-height: 1.3; color: #6B6F86; }
.bo-courbe { display: block; width: 100%; height: 62px; margin-top: 10px; }
.bo-axe { display: flex; justify-content: space-between; font: 700 8px 'Manrope', sans-serif; color: #8A8EA6; margin-top: 3px; }
.bo-proch { display: flex; align-items: center; gap: 8px; margin-top: 12px; flex: none; border-radius: 10px; background: #F5F6FA; padding: 8px 10px; font-size: 9.5px; color: #6B6F86; }
.bo-proch b { flex: 1; font: 700 10px 'Manrope', sans-serif; color: #4F46E5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bo-proch span:last-child { color: #4F46E5; }

/* Mes ventes */
.bo-pills { flex: none; display: flex; gap: 2px; align-self: flex-start; background: #fff; border: 1px solid #E6E8EF; border-radius: 10px; padding: 3px; }
.bo-pills span { padding: 6px 11px; border-radius: 7px; font: 700 10.5px 'Manrope', sans-serif; color: #6B6F86; }
.bo-pills span.on { background: #EEF0FF; color: #4F46E5; }
.bo-kpis { flex: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; background: #fff; border: 1px solid #E6E8EF; border-radius: 14px; padding: 10px; }
.bo-kpis div { background: #F5F6FA; border-radius: 10px; padding: 10px 11px; min-width: 0; }
.bo-kpis b { display: block; font: 800 16px/1.1 'Sora', sans-serif; letter-spacing: -.02em; white-space: nowrap; }
.bo-kpis .un b { color: #4F46E5; font-size: 18px; }
.bo-kpis small { display: block; margin-top: 4px; font-size: 9.5px; color: #6B6F86; }
.bo-heures { height: 104px; display: flex; align-items: flex-end; gap: 5px; }
.bo-heures div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.bo-heures i { width: 100%; border-radius: 4px 4px 2px 2px; background: #DCDBFB; }
.bo-heures div:nth-child(3) i, .bo-heures div:nth-child(10) i { background: #4F46E5; }
.bo-heures span { font: 700 7.5px 'Manrope', sans-serif; color: #8A8EA6; white-space: nowrap; }
.bo-rep { display: flex; align-items: center; gap: 14px; }
.bo-donut { width: 84px; height: 84px; flex: none; border-radius: 50%; position: relative; }
.bo-donut::after { content: ''; position: absolute; inset: 22px; border-radius: 50%; background: #fff; }
.bo-rep div { flex: 1; min-width: 0; }
.bo-rep p { display: flex; align-items: center; gap: 7px; margin: 0 0 8px; font-size: 11px; }
.bo-rep p b { margin-left: auto; font: 800 12px 'Sora', sans-serif; }
.bo-rep i { width: 9px; height: 9px; border-radius: 50%; }
.bo-rep .c1 { background: #4F46E5; } .bo-rep .c2 { background: #F59E0B; }
.bo-top4 p { display: grid; grid-template-columns: 150px 1fr 24px; align-items: center; gap: 10px; margin: 0 0 7px; font-size: 11px; }
.bo-top4 p span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bo-top4 i { height: 7px; border-radius: 99px; background: #EEF0F5; overflow: hidden; }
.bo-top4 em { display: block; height: 100%; border-radius: 99px; background: #4F46E5; }
.bo-top4 b { text-align: right; font: 800 11px 'Manrope', sans-serif; }

/* Mes articles */
.bo-outils { flex: none; display: flex; gap: 8px; }
.bo-cherche { flex: 1; height: 32px; border-radius: 10px; border: 1px solid #E6E8EF; background: #fff; display: flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 11px; color: #9CA0B4; }
.bo-cherche svg { width: 13px; height: 13px; }
.bo-nouv { height: 32px; border-radius: 10px; background: #4F46E5; color: #fff; display: flex; align-items: center; padding: 0 14px; font: 700 11px 'Manrope', sans-serif; white-space: nowrap; }
.bo-art { flex: 1; min-height: 0; display: grid; grid-template-columns: 128px 1fr; gap: 10px; }
.bo-cats { align-self: start; background: #fff; border: 1px solid #E6E8EF; border-radius: 14px; padding: 11px 9px; }
.bo-cats b { display: block; font: 800 12px 'Sora', sans-serif; margin: 0 4px 6px; }
.bo-cats p { display: flex; justify-content: space-between; margin: 0; padding: 6px 7px; border-radius: 8px; font-size: 10.5px; }
.bo-cats p.on { background: #EEF0FF; color: #4F46E5; font-weight: 700; }
.bo-cats em { font-style: normal; color: #8A8EA6; font-size: 10px; }
.bo-grille { min-height: 0; overflow: hidden; display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; align-content: start; }
.bo-fiche { background: #fff; border: 1px solid #E6E8EF; border-radius: 11px; overflow: hidden; }
.bo-fiche .ph { position: relative; display: block; aspect-ratio: 1.55; background: #ddd; }
.bo-fiche img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bo-fiche .ph b { position: absolute; left: 6px; bottom: 6px; background: #fff; color: #4F46E5; border-radius: 99px; padding: 3px 7px; font: 800 10px 'Manrope', sans-serif; }
.bo-fiche .ph em { position: absolute; left: 6px; top: 6px; background: #fff; color: #15803D; border-radius: 99px; padding: 3px 7px; font: 700 8.5px 'Manrope', sans-serif; font-style: normal; }
.bo-fiche .nm { display: block; padding: 7px 8px 8px; font: 700 10.5px/1.25 'Manrope', sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* la disposition téléphone du back office (moniteur étroit : 420 × 640) */
.cx.compact .bo { grid-template-columns: 1fr; }
.cx.compact .bo-side, .cx.compact .bo-date, .cx.compact .bo-cl, .cx.compact .bo-qui { display: none; }
.cx.compact .bo-main { padding: 0 0 62px; gap: 0; }
.cx.compact .bo-top { height: 52px; border-radius: 0; border-bottom: 1px solid #E6E8EF; padding: 0 14px; }
.cx.compact .bo-top > b { text-align: center; }
.cx.compact .bo-menu { display: flex; }
.cx.compact .bo-av { width: 32px; height: 32px; font-size: 11px; }
.cx.compact .bo-onglets { display: flex; flex: none; gap: 6px; padding: 10px 12px 0; }
.cx.compact .bo-onglets button { flex: 1; height: 34px; border-radius: 99px; border: 1px solid #E6E8EF; background: #fff; text-align: center; font: 700 11.5px 'Manrope', sans-serif; white-space: nowrap; }
.cx.compact .bo-onglets button.on { background: #4F46E5; border-color: #4F46E5; color: #fff; }
.cx.compact .bo-vue { padding: 10px 12px 0; overflow: hidden; }
.cx.compact .bo-bas { display: flex !important; position: absolute; left: 0; right: 0; bottom: 0; height: 58px; align-items: center; justify-content: center; gap: 10px; background: #4F46E5; color: #fff; text-align: center; font: 800 17px 'Sora', sans-serif; letter-spacing: -.02em; }
.cx.compact .bo-bas svg { width: 22px; height: 22px; }
.cx.compact .bo-band { flex-direction: column; gap: 12px; padding: 14px 15px; }
.cx.compact .bo-band-d { width: auto; }
.cx.compact .bo-lancer { display: none; }
.cx.compact .bo-mt { font-size: 32px; }
.cx.compact .bo-barres { margin-top: 0; }
.cx.compact .bo-duo, .cx.compact .bo-duo.b2 { grid-template-columns: 1fr; }
.cx.compact .bo-tdb .bo-duo > .bo-carte:first-child { display: none; }
.cx.compact .bo-kpis { grid-template-columns: 1fr 1fr; }
.cx.compact .bo-kpis .un { grid-column: 1 / -1; }
.cx.compact .bo-kpis .un b { font-size: 24px; }
.cx.compact .bo-art { grid-template-columns: 1fr; }
.cx.compact .bo-cats { display: none; }
.cx.compact .bo-grille { grid-template-columns: 1fr 1fr; }
.cx.compact .bo-top4 p { grid-template-columns: 1fr 70px 20px; }
/* rien ne se tasse : chaque bloc garde sa hauteur, et ce qui ne tient pas dans
   l'écran du téléphone est retiré plutôt que coupé */
.cx.compact .bo-vue > * { flex: none; }
.cx.compact .bo-proch { display: none; }
.cx.compact .bo-kpis div:nth-child(n+4) { display: none; }
.cx.compact .bo-ventes > .bo-carte:last-child { display: none; }
.cx.compact .bo-heures { height: 84px; }
/* le back office ouvert : la barre « Créer ma caisse » du site s'efface (elle couvrait le moniteur) */
.bo-ouvert .barre-appel.levee { transform: translateY(calc(100% + 28px)); visibility: hidden; }

@media (prefers-reduced-motion: reduce) { .ex .sc::before, .ex .sc::after { animation: none; } .bo, .bo-vue { animation: none; } }
