/* ===================================================================== YOCOLO CI — couche « téléphone » (chargée après app.css) Cartes compactes,listes qui défilent à l'horizontale, formulaires en
   fenêtre du bas, pied de page repliable, encadré WhatsApp, mode sombre.
   ===================================================================== */

/* ---------- Encadré « Rejoignez-nous sur WhatsApp » ---------- */
.wa-invite { position: fixed; z-index: 70; left: 16px; bottom: 16px; max-width: 360px; display: flex; gap: 12px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(20, 18, 58, .18); }
.wa-invite[hidden] { display: none; }
.wa-invite-i { flex: 0 0 44px; height: 44px; border-radius: 12px; background: #25d366; color: #fff; display: grid; place-items: center; }
.wa-invite-t { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }
.wa-invite-t b { color: var(--indigo-d); font-size: 15px; }
.wa-invite-a { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.wa-invite-v { font: inherit; font-size: 13px; padding: 6px 8px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.wa-invite-x { position: absolute; top: 6px; right: 8px; border: 0; background: none; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px; }
.socials a svg { display: block; }

/* ---------- Fenêtre du bas (formulaires de réservation, commande…) ---------- */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(20, 18, 58, .45); z-index: 95; opacity: 0; pointer-events: none; transition: opacity .2s; }
.sheet-backdrop.open { opacity: 1; pointer-events: auto; }
.sheet-grip { display: none; }

@media (max-width: 760px) {
  /* Espacements plus serrés : plus de contenu visible sans faire défiler */
  .section { padding: 28px 0; }
  .hp-sec { padding: 40px 0; }
  .sec-head { margin-bottom: 14px; }
  .sec-head h2, .hp-head h2 { font-size: 22px; line-height: 1.2; }

  /* Listes de cartes → défilement horizontal (on glisse avec le doigt) */
  .m-rail { display: grid !important; grid-auto-flow: column; grid-template-columns: none !important; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding: 2px 16px 12px; margin: 0 -16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .m-rail::-webkit-scrollbar { display: none; }
  .m-rail > * { scroll-snap-align: start; min-width: 0; }
  .m-rail.m-rail-s { grid-auto-columns: 62%; }

  /* Pied de page court : chaque rubrique s'ouvre d'un toucher */
  .footer { padding-top: 28px; }
  .fgrid { grid-template-columns: 1fr !important; gap: 0 !important; }
  .fgrid > div:first-child { padding-bottom: 14px; }
  .fcol { border-top: 1px solid rgba(255, 255, 255, .1); }
  .fcol h4 { margin: 0 !important; padding: 14px 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
  .fcol h4::after { content: "+"; font-size: 20px; font-weight: 700; transition: transform .2s; }
  .fcol.open h4::after { transform: rotate(45deg); }
  .fcol > a { display: none !important; }
  .fcol.open > a { display: block !important; padding: 8px 0; }
  .fcol.open { padding-bottom: 10px; }
  .fbottom { flex-direction: column; gap: 6px; padding-bottom: 90px; }

  /* Encadré WhatsApp au-dessus de la barre du bas */
  .wa-invite { left: 10px; right: 10px; max-width: none; bottom: calc(72px + env(safe-area-inset-bottom)); }

  /* Fiche établissement : le formulaire de réservation devient une fenêtre du bas */
  .dx-book.m-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 96; margin: 0; border-radius: 22px 22px 0 0; max-height: 88vh; overflow-y: auto; transform: translateY(110%); transition: transform .25s ease; box-shadow: 0 -10px 40px rgba(20, 18, 58, .25); padding-bottom: env(safe-area-inset-bottom); }
  .dx-book.m-sheet.open { transform: none; }
  .dx-book.m-sheet .sheet-grip { display: block; width: 44px; height: 5px; border-radius: 3px; background: #d4d6e8; margin: 8px auto; }
  .dx-book.m-sheet .dx-book-h { position: relative; padding-right: 54px; }
  .sheet-x { display: none; }
  .m-sheet .sheet-x { display: grid; place-items: center; position: absolute; right: 10px; top: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .2); color: #fff; font-size: 20px; cursor: pointer; }
  .dx-2 { grid-template-columns: 1fr 1fr; }
  .dx-2 input { min-width: 0; width: 100%; }

  /* Formulaires : une seule colonne, champs confortables au doigt */
  .form .row, .form .grid.g2, .grid.g2.form-2 { grid-template-columns: 1fr !important; }
  input, select, textarea { font-size: 16px; } /* évite le zoom automatique de l'iPhone */}@media (max-width: 380px){.dx-2{grid-template-columns: 1fr}}body.sheet-lock{overflow: hidden}.tx-login-note{display: flex;gap: 8px;align-items: flex-start;margin: 12px 0 0;padding: 10px 12px;border-radius: 12px;background: var(--indigo-l);color: var(--indigo-d);font-size: 14px;font-weight: 600}.lock-screen{min-height: calc(100vh - 140px);display: grid;place-items: center;padding: 30px 16px 100px;background: radial-gradient(circle at 50% 0,var(--indigo-l),transparent 60%)}.lock-card{width: 100%;max-width: 360px;text-align: center}.lock-av{display: inline-block;border-radius: 50%;overflow: hidden;margin-bottom: 10px;box-shadow: var(--shadow-h)}.lock-card h1{font-size: 26px;margin-bottom: 4px}.lock-err{color: var(--red);font-weight: 700;margin: 10px 0 0}.lock-input{position: absolute;opacity: 0;width: 1px;height: 1px}.lock-dots{display: flex;justify-content: center;gap: 14px;margin: 22px 0}.lock-dots i{width: 16px;height: 16px;border-radius: 50%;border: 2px solid var(--indigo);transition: background .15s}.lock-dots i.on{background: var(--indigo)}.lock-pad{display: grid;grid-template-columns: repeat(3,1fr);gap: 12px;max-width: 280px;margin: 0 auto}.lock-pad button{height: 62px;border-radius: 18px;border: 1px solid var(--line);background: var(--card);font: inherit;font-size: 24px;font-weight: 800;color: var(--indigo-d);cursor: pointer}.lock-pad button:active{transform: scale(.96);background: var(--indigo-l)}.lock-pad .lock-ok{background: var(--green);border-color: var(--green);color: #fff;font-size: 18px}.lock-forgot{margin-top: 18px}.btn-link{border: 0;background: none;color: var(--green-d);font: inherit;font-weight: 700;cursor: pointer;text-decoration: underline}.pin-row select{max-width: 320px}body:has(.lock-screen) .bottom-nav,body:has(.lock-screen) .ia-fab,body:has(.lock-screen) .top-right .dropdown{display: none !important}.adm-gal{display: flex;flex-wrap: wrap;gap: 8px;margin: 6px 0}.adm-gal-i{display: flex;flex-direction: column;align-items: center;gap: 4px;font-size: 12px;font-weight: 600}.adm-gal-i img{width: 86px;height: 64px;object-fit: cover;border-radius: 8px}/* ---------- Réservation : une colonne sur téléphone,disponibilités,pièce d'identité ---------- */
.resa-split { grid-template-columns: 1.4fr 1fr; }
@media (max-width: 860px) { .resa-split { grid-template-columns: 1fr !important; } .resa-split > aside { order: -1; } }
@media (max-width: 560px) { .row3, .row2 { grid-template-columns: 1fr 1fr !important; } .row3 > :last-child { grid-column: 1 / -1; } }
.resa-dispo { margin: 4px 0 12px; padding: 10px 12px; border-radius: 12px; font-weight: 700; font-size: 14px; }
.resa-dispo.ok { background: var(--green-l); color: var(--green-d); }
.resa-dispo.ko { background: var(--red-l); color: var(--red); }
.resa-id { border: 1.5px dashed var(--line); border-radius: 14px; padding: 12px 14px; margin: 6px 0 14px; }
.resa-id legend { font-weight: 800; color: var(--indigo-d); padding: 0 6px; display: flex; gap: 6px; align-items: center; }

/* ---------- Panier ---------- */
.hdr-cart { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--green-l); color: var(--green-d); flex-shrink: 0; }
.hdr-cart[hidden] { display: none; }
.hdr-cart-n { position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.hdr-cart-n[hidden] { display: none; }
@media (max-width: 560px) { .hdr-cart { width: 36px; height: 36px; } }
.cart-toast { position: fixed; z-index: 120; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); transform: translate(-50%, 30px); opacity: 0; pointer-events: none; transition: .25s; display: flex; gap: 14px; align-items: center; background: #14123a; color: #fff; padding: 12px 16px; border-radius: 14px; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); font-weight: 700; max-width: calc(100vw - 24px); }
.cart-toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.cart-toast a { color: #7ee2a8; white-space: nowrap; }
.cart-h1 { display: flex; gap: 10px; align-items: center; font-size: clamp(24px, 4vw, 32px); }
.cart-list { display: grid; gap: 14px; margin: 16px 0; }
.cart-shop { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.cart-shop header, .cart-shop footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; }
.cart-shop header { border-bottom: 1px solid var(--line); }
.cart-shop footer { border-top: 1px solid var(--line); background: var(--bg); }
.cart-shop ul { list-style: none; margin: 0; padding: 0; }
.cart-li { display: flex; gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.cart-li:last-child { border-bottom: 0; }
.cart-li.off { opacity: .55; }
.cart-li img, .cart-noimg { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: var(--bg); }
.cart-li-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cart-li-t small { color: var(--muted); }
.cart-warn { color: var(--red) !important; font-weight: 700; }
.cart-errs { margin: 0 14px 10px; padding: 10px 12px; border-radius: 10px; background: var(--red-l); color: var(--red); font-size: 14px; font-weight: 600; }
.cart-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.cart-qty button { width: 36px; height: 36px; border: 0; background: var(--card); font-size: 20px; font-weight: 700; cursor: pointer; color: var(--indigo-d); }
.cart-qty b { min-width: 30px; text-align: center; }
.cart-safe { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--yellow-l); color: var(--text); font-size: 14px; }
.btn[aria-disabled=true] { opacity: .5; pointer-events: none; }
/* Fenêtre produit */
.pd-sheet { position: fixed; inset: 0; z-index: 110; }
.pd-bd { position: absolute; inset: 0; background: rgba(20, 18, 58, .5); opacity: 0; transition: opacity .2s; }
.pd-card { position: absolute; left: 50%; top: 50%; width: min(520px, 94vw); max-height: 90vh; overflow-y: auto; transform: translate(-50%, -46%); opacity: 0; transition: .25s; background: var(--card); border-radius: 22px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.pd-sheet.open .pd-bd { opacity: 1; }
.pd-sheet.open .pd-card { opacity: 1; transform: translate(-50%, -50%); }
.pd-x { position: absolute; z-index: 2; right: 10px; top: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); font-size: 22px; cursor: pointer; box-shadow: var(--shadow); }
.pd-photos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--bg); }
.pd-photos::-webkit-scrollbar { display: none; }
.pd-photos img { flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: start; }
.pd-swipe { margin: 4px 0 0; text-align: center; font-size: 12px; color: var(--muted); }
.pd-body { padding: 14px 18px 18px; }
.pd-brand { font-size: 13px; font-weight: 800; color: var(--muted); }
.pd-body h3 { margin: 2px 0 4px; font-size: 21px; }
.pd-price { margin: 0 0 8px; font-size: 20px; } .pd-price s { color: var(--muted); font-size: 15px; }
.pd-desc { color: var(--muted); font-size: 15px; }
.pd-l { margin: 12px 0 6px; font-weight: 800; font-size: 14px; }
.pd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-chips button { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); font: inherit; font-weight: 700; cursor: pointer; color: var(--text); }
.pd-chips button.on { border-color: var(--green); background: var(--green-l); color: var(--green-d); }
.pd-chips button.na { opacity: .4; text-decoration: line-through; }
.pd-stock { min-height: 20px; margin: 12px 0 8px; font-weight: 700; color: var(--green-d); font-size: 14px; }
.pd-stock.out { color: var(--red); }
.pd-row { display: flex; gap: 10px; align-items: center; }
.pd-add { flex: 1; min-height: 48px; }
.pd-add:disabled { opacity: .5; }
.pd-shop { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
@media (max-width: 760px) {
  .pd-card { left: 0; right: 0; top: auto; bottom: 0; width: 100%; max-height: 92vh; border-radius: 22px 22px 0 0; transform: translateY(100%); opacity: 1; padding-bottom: env(safe-area-inset-bottom); }
  .pd-sheet.open .pd-card { transform: none; }
  .pd-card .sheet-grip { display: block; position: absolute; z-index: 2; left: 50%; top: 6px; margin-left: -22px; width: 44px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .85); }
}
/* Commande */
.co-items { list-style: none; margin: 8px 0; padding: 0; }
.co-items li { display: flex; gap: 6px; align-items: baseline; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.co-items li span { margin-left: auto; font-weight: 700; white-space: nowrap; }
.co-total { margin: 8px 0 14px; }
.co-modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-bottom: 12px; }
.co-mode input { position: absolute; opacity: 0; }
.co-mode span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 10px; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; text-align: center; }
.co-mode input:checked + span { border-color: var(--green); background: var(--green-l); color: var(--green-d); }
.co-mode input:focus-visible + span { outline: 3px solid var(--indigo); }
.co-map { height: 240px; border-radius: 14px; margin: 8px 0; border: 1px solid var(--line); }
.co-ok { text-align: center; } .co-ok h1 { font-size: 26px; }
.co-head { display: flex; justify-content: space-between; align-items: center; }
.co-code { display: block; font-size: 24px; font-weight: 900; letter-spacing: 1px; }
.co-steps { list-style: none; display: flex; justify-content: space-between; gap: 4px; margin: 18px 0 4px; padding: 0; counter-reset: s; }
.co-steps li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); text-align: center; position: relative; }
.co-steps li span { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line); background: var(--card); z-index: 1; }
.co-steps li::before { content: ""; position: absolute; top: 10px; left: -50%; width: 100%; height: 3px; background: var(--line); }
.co-steps li:first-child::before { display: none; }
.co-steps li.on { color: var(--green-d); } .co-steps li.on span { border-color: var(--green); background: var(--green); } .co-steps li.on::before { background: var(--green); }
.co-motif { margin: 10px 0 0; color: var(--red); font-weight: 700; }
.co-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.ord-list { list-style: none; margin: 0; padding: 0; }
.ord-list a { display: flex; gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--line); color: inherit; }
.ord-list small { display: block; color: var(--muted); }
.ord-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--green-l); color: var(--green-d); flex-shrink: 0; }
.ord-r { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.ord-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.ord-card header { display: flex; justify-content: space-between; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.ord-body { padding: 10px 14px; }
.ord-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); }
.ord-no-f { display: flex; gap: 6px; margin-top: 8px; width: 100%; }
.ord-no[open] { flex-basis: 100%; }
.pro-links { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.mini-list { list-style: none; padding: 0; margin: 12px 0 0; }
.mini-list li { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.dispo-tbl th, .dispo-tbl td { text-align: center; padding: 6px 4px; font-size: 13px; }
.dispo-tbl tbody th { text-align: left; min-width: 140px; }
.dispo-tbl .we { background: var(--bg); }
.dispo-tbl td.ok { color: var(--green-d); font-weight: 800; } .dispo-tbl td.low { color: var(--orange-d); font-weight: 800; background: var(--orange-l); } .dispo-tbl td.full { color: #fff; background: var(--red); font-weight: 800; }
/* Offres : chambres détaillées, menu commandable, cuisines */
.of-gal { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; height: 100%; scrollbar-width: none; }
.of-gal::-webkit-scrollbar { display: none; }
.of-gal img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.of-thumbs { display: flex; gap: 6px; overflow-x: auto; padding: 8px 0 0; scrollbar-width: thin; }
.of-thumbs img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.of-eq { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 8px 0; padding: 0; }
.of-eq li { padding: 3px 9px; border-radius: 999px; background: var(--indigo-l); color: var(--indigo-d); font-size: 12.5px; font-weight: 700; }
.of-pdj { margin: 4px 0; font-size: 14px; font-weight: 700; color: var(--orange-d); }
.of-cond summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--muted); }
.of-cuis { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; scrollbar-width: none; }
.of-cuis button { flex-shrink: 0; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--text); }
.of-cuis button.on { background: var(--indigo-d); border-color: var(--indigo-d); color: #fff; }
.of-dish .of-add { margin-left: 8px; flex-shrink: 0; }
.of-dish[hidden] { display: none !important; }
.of-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.of-out { display: inline-block; margin-top: 2px; padding: 2px 8px; border-radius: 999px; background: var(--red-l); color: var(--red); font-size: 12px; font-weight: 800; }
@media (max-width: 440px) {
  .hdr-live { font-size: 0 !important; width: 34px; height: 34px; padding: 0 !important; justify-content: center; }
  .hdr-live i { margin: 0 !important; width: 10px !important; height: 10px !important; }
  .top-right { gap: 4px; }
  .btn-sos { padding: 7px 8px !important; font-size: 13px; }
}
.resa-split > *, .row2 > *, .row3 > * { min-width: 0; }
.row2 .in, .row3 .in, .resa-split .in { width: 100%; max-width: 100%; box-sizing: border-box; }
.resa-id input[type=file] { font-size: 13px; }
.of-meta span { white-space: nowrap; }
.resa-pj { margin-top: 6px; } .resa-pj .pj-img img { width: 70px; height: 50px; object-fit: cover; border-radius: 6px; }

/* ---------- Écoles ---------- */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 14px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.kpi b { font-size: 22px; color: var(--indigo-d); } .kpi small { color: var(--muted); font-weight: 600; }
.kpi-ic { color: var(--green-d); }
.setup-list { list-style: none; margin: 0; padding: 0; }
.setup-list li a { display: flex; gap: 8px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--text); font-weight: 700; }
.setup-list li.done a { color: var(--green-d); }
.setup-list .dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); }
.aff-tbl select { min-width: 130px; }
.notes-tbl td.low { color: var(--red); font-weight: 700; }
.t-cards, .kid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.t-card header, .kid-card header { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.t-card header small, .kid-card header small { display: block; color: var(--muted); }
.t-card ul { list-style: none; margin: 0; padding: 4px 14px 10px; }
.t-card li { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); flex-wrap: wrap; }
.t-acts { display: flex; gap: 6px; }
.appel-list { list-style: none; margin: 10px 0 16px; padding: 0; }
.appel-list li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.appel-st { display: flex; gap: 6px; }
.appel-st input { position: absolute; opacity: 0; }
.appel-st span { display: inline-block; padding: 8px 12px; border-radius: 10px; border: 1.5px solid var(--line); font-weight: 700; font-size: 14px; cursor: pointer; }
.ap-present input:checked + span { background: var(--green-l); border-color: var(--green); color: var(--green-d); }
.ap-absent input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.ap-retard input:checked + span { background: var(--orange); border-color: var(--orange); color: #fff; }
.appel-st input:focus-visible + span { outline: 3px solid var(--indigo); }
.note-in .in { min-width: 0; }
.kid-card { display: block; color: inherit; text-decoration: none; transition: box-shadow .15s; }
.kid-card:hover { box-shadow: var(--shadow-h); }
.kid-av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--indigo-l); color: var(--indigo-d); font-weight: 900; font-size: 20px; flex-shrink: 0; }
.kid-card header { justify-content: flex-start; }
.kid-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 14px; }
.kid-kpis > div { background: var(--bg); border-radius: 12px; padding: 8px 10px; display: flex; flex-direction: column; }
.kid-kpis b { font-size: 18px; } .kid-kpis small { color: var(--muted); font-size: 12px; }
.kid-alert { margin: 8px 14px 0; padding: 8px 10px; border-radius: 10px; background: var(--red-l); color: var(--red); font-weight: 700; display: flex; gap: 6px; align-items: center; }
.kid-card > p { padding: 0 14px 12px; margin: 0; }
.kid-head { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; } .kid-head a { margin-left: auto; }
.paid { color: var(--green-d) !important; } .due { color: var(--red) !important; }
@media (max-width: 520px) { .kid-kpis { grid-template-columns: 1fr 1fr; } }

/* ---------- Messagerie en temps réel ---------- */
.cvs-live { display: flex; gap: 8px; align-items: center; min-height: 22px; font-size: 13px; font-weight: 700; color: var(--green-d); margin-bottom: 6px; }
.cvs-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-l); }
.cvs-dot[hidden] { display: none; }
.cvs-typing { color: var(--muted); font-style: italic; }
.cvs-typing i { animation: cvsdot 1.2s infinite; font-style: normal; } .cvs-typing i:nth-child(2) { animation-delay: .2s; } .cvs-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes cvsdot { 0%, 60%, 100% { opacity: .2; } 30% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cvs-typing i { animation: none; } }
.cvs-msg { position: relative; }
.cvs-tick { display: block; text-align: right; font-size: 12px; font-weight: 800; color: var(--muted); margin-top: 2px; }
.cvs-tick.read { color: #34b7f1; }
.dm-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-bottom: 14px; }
.dm-types .co-mode span { flex-direction: row; justify-content: flex-start; text-align: left; }
.dm-time { list-style: none; margin: 0 0 14px; padding: 0; border-left: 3px solid var(--line); }
.dm-time li { display: flex; gap: 10px; padding: 0 0 14px 14px; position: relative; }
.dm-dot { position: absolute; left: -8px; top: 3px; width: 13px; height: 13px; border-radius: 50%; background: var(--indigo); border: 2px solid var(--card); }
.dm-time .by-citoyen .dm-dot { background: var(--green); } .dm-time .by-systeme .dm-dot { background: var(--muted); }
.dm-time p { margin: 4px 0 0; }

/* iPhone : les champs date/heure débordaient de l'écran (la barre du bas se retrouvait au milieu) */ input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance: none;appearance: none;min-width: 0;max-width: 100%;width: 100%;box-sizing: border-box;display: block;text-align: left}input::-webkit-date-and-time-value{text-align: left}html,body{max-width: 100%;overflow-x: clip}@media (max-width: 760px){body.kb-open .bottom-nav,body.kb-open .dx-mbar,body.kb-open .ia-fab,body.kb-open .wa-invite{display: none !important}body.kb-open{padding-bottom: 0 !important}}/* Menu des tableaux de bord : choix de l'espace (Personnel ⇄ Professionnel…) */
.side-switch { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 5px; border-radius: 14px; background: rgba(255, 255, 255, .08); }
.side-switch a { flex: 1 1 auto; display: flex; gap: 6px; align-items: center; justify-content: center; padding: 8px 10px; border-radius: 10px; color: rgba(255, 255, 255, .8); font-weight: 800; font-size: 13.5px; text-decoration: none; white-space: nowrap; }
.side-switch a.on { background: #fff; color: var(--green-d); }
/* Autorisations (téléphone) */
.perm-sheet { position: fixed; inset: 0; z-index: 115; background: rgba(20, 18, 58, .45); display: flex; align-items: flex-end; opacity: 0; transition: opacity .2s; }
.perm-sheet.open { opacity: 1; }
.perm-card { width: 100%; background: var(--card); border-radius: 22px 22px 0 0; padding: 20px 18px calc(18px + env(safe-area-inset-bottom)); transform: translateY(30px); transition: transform .25s; }
.perm-sheet.open .perm-card { transform: none; }
.perm-card h3 { margin: 0 0 10px; font-size: 19px; }
.perm-card ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.perm-card li { display: flex; flex-direction: column; } .perm-card li span { color: var(--muted); font-size: 14px; }
.perm-acts { display: flex; gap: 10px; } .perm-acts .btn { flex: 1; min-height: 48px; }
/* Formulaires en étapes */
.fs-hide { display: none !important; }
.fs-bar { margin: 0 0 14px; }
.fs-prog { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.fs-prog span { display: block; height: 100%; background: var(--green); transition: width .25s; }
.fs-lbl { margin: 8px 0 0; font-weight: 800; color: var(--indigo-d); font-size: 14px; }
.fs-nav { display: flex; gap: 10px; margin: 14px 0; } .fs-nav .btn { flex: 1; min-height: 50px; } .fs-nav [hidden] { display: none; }
/* Grand slider de l'accueil */ .hs-wrap{padding-top: 22px}.hs{position: relative;border-radius: 22px;overflow: hidden;background: var(--indigo-d);aspect-ratio: 16 / 7;box-shadow: var(--shadow-h)}.hs-track,.hs-slide{position: absolute;inset: 0}.hs-slide{opacity: 0;transition: opacity .7s ease;pointer-events: none}.hs-slide.on{opacity: 1;pointer-events: auto}.hs-slide img{width: 100%;height: 100%;object-fit: cover}.hs-slide::after{content: "";position: absolute;inset: 0;background: linear-gradient(90deg,rgba(20,18,58,.78),rgba(20,18,58,.15) 65%,transparent)}.hs-txt{position: absolute;z-index: 1;left: 0;bottom: 0;top: 0;display: flex;flex-direction: column;justify-content: center;gap: 10px;padding: 24px 40px;max-width: 560px;color: #fff}.hs-txt h2{color: #fff;font-size: clamp(22px,3.2vw,38px);margin: 0}.hs-txt p{margin: 0;font-size: clamp(14px,1.5vw,18px);opacity: .95}.hs-txt .btn{align-self: flex-start}.hs-arr{position: absolute;z-index: 2;top: 50%;transform: translateY(-50%);width: 42px;height: 42px;border-radius: 50%;border: 0;background: rgba(255,255,255,.9);color: var(--indigo-d);font-size: 26px;line-height: 1;cursor: pointer;box-shadow: var(--shadow)}.hs-prev{left: 12px}.hs-next{right: 12px}.hs-dots{position: absolute;z-index: 2;left: 0;right: 0;bottom: 12px;display: flex;justify-content: center;gap: 7px}.hs-dots button{width: 9px;height: 9px;padding: 0;border-radius: 6px;border: 0;background: rgba(255,255,255,.55);cursor: pointer;transition: width .2s}.hs-dots button.on{width: 24px;background: #fff}@media (max-width: 760px){.hs-wrap{padding-top: 16px}.hs{aspect-ratio: 4 / 3.4;border-radius: 18px}.hs-slide::after{background: linear-gradient(0deg,rgba(20,18,58,.85),rgba(20,18,58,.1) 70%)}.hs-txt{top: auto;padding: 18px 18px 36px;max-width: none}.hs-arr{width: 34px;height: 34px;font-size: 22px}}.side-switch{flex-wrap: nowrap}.side-switch a{flex: 1 1 0;min-width: 0;padding: 8px 6px;font-size: 12.5px;overflow: hidden;text-overflow: ellipsis}@media (max-width: 760px){.hs-arr{display: none}.hs-txt h2{font-size: 21px;line-height: 1.2}.hs-txt p{font-size: 14px}.hs-txt{gap: 8px}}.rp summary{cursor: pointer;color: var(--muted);font-size: 13px;font-weight: 700;list-style: none}.rp summary::-webkit-details-marker{display: none}.rp-form{display: grid;gap: 8px;margin-top: 8px}.lf-acts{display: flex;flex-direction: column;gap: 6px;align-items: flex-end}.eco-on{display: none}html.eco .eco-on{display: inline}html.eco .eco-off{display: none}html.eco .pb-slides .pb-slide:not(:first-child),html.eco .hp-hero-img,html.eco .hs-slide:not(.on) img{display: none !important}html.eco .hs-slide img{filter: none}.med-grid{display: grid;grid-template-columns: minmax(0,1fr) minmax(0,1fr);gap: 18px;align-items: start;margin-top: 14px}@media (max-width: 860px){.med-grid{grid-template-columns: minmax(0,1fr)}}.med-d{padding: 14px;margin-bottom: 12px}.med-d header{display: flex;flex-wrap: wrap;gap: 6px;align-items: center}.med-d header small{flex-basis: 100%}.med-r{display: flex;justify-content: space-between;gap: 10px;align-items: center;border-top: 1px solid var(--line);padding: 10px 0}.med-r.ok b:first-child{color: var(--green-d)}.med-r.no{opacity: .75}.med-close{display: flex;gap: 8px;margin-top: 8px}.med-ph{list-style: none;margin: 8px 0 0;padding: 0;display: grid;gap: 6px}.rdv-days{display: flex;gap: 8px;overflow-x: auto;padding: 4px 0 12px}.rdv-days a{flex: 0 0 auto;min-width: 64px;text-align: center;border: 1.5px solid var(--line);border-radius: 14px;padding: 8px;text-decoration: none;color: var(--ink);background: var(--card);display: flex;flex-direction: column}.rdv-days a b{font-size: 20px}.rdv-days a.on{border-color: var(--green);background: var(--green);color: #fff}.rdv-slots{display: grid;grid-template-columns: repeat(auto-fill,minmax(78px,1fr));gap: 8px}.rdv-slots label{position: relative}.rdv-slots input{position: absolute;opacity: 0}.rdv-slots span{display: block;text-align: center;padding: 11px 4px;border: 1.5px solid var(--line);border-radius: 12px;font-weight: 800;cursor: pointer}.rdv-slots input:checked + span{background: var(--green);border-color: var(--green);color: #fff}.rdv-slots .off span{opacity: .35;text-decoration: line-through;cursor: not-allowed}.rdv-jours{display: flex;flex-wrap: wrap;gap: 10px;margin-top: 6px}.rdv-li{display: flex;align-items: center;gap: 12px;padding: 12px 14px}.rdv-li>span:nth-child(2){flex: 1;min-width: 0;display: flex;flex-direction: column}.cp-search{display: grid;grid-template-columns: 1fr 1fr 160px auto;gap: 8px}@media (max-width: 760px){.cp-search{grid-template-columns: 1fr 1fr}.cp-search .btn{grid-column: span 2}}.cp-list{display: grid;gap: 10px}.cp-card{display: grid;grid-template-columns: 70px minmax(0,1fr) auto;gap: 12px;align-items: center;padding: 14px;text-decoration: none;color: var(--ink)}.cp-time,.cp-price{display: flex;flex-direction: column}.cp-time b{font-size: 20px}.cp-price{text-align: right}.cp-price b{color: var(--green-d)}.cp-route{display: flex;flex-direction: column;min-width: 0}.cp-route span{color: var(--muted);line-height: 1}.cp-route small{color: var(--muted);margin-top: 4px}.cp-dem{display: flex;justify-content: space-between;align-items: center;gap: 10px;padding: 12px 14px;margin-bottom: 8px;flex-wrap: wrap}.pr-row{border-top: 1px solid var(--line);padding: 10px 0}.pr-score{display: grid;grid-template-columns: minmax(0,1fr) 56px auto 56px minmax(0,1fr);gap: 8px;align-items: center;margin-top: 4px}.pr-score b:last-child{text-align: right}.pr-score input{text-align: center;font-weight: 800;font-size: 18px;padding: 8px 4px}.pr-rank{list-style: none;margin: 8px 0 0;padding: 0}.pr-rank li{display: grid;grid-template-columns: 32px 1fr auto;gap: 8px;padding: 7px 0;border-top: 1px solid var(--line)}.pr-rank li.me{background: rgba(18,160,92,.08);border-radius: 8px}.top-list{list-style: none;margin: 0;padding: 0;display: grid;gap: 10px}.top-list a{display: grid;grid-template-columns: 40px 64px minmax(0,1fr) auto;gap: 12px;align-items: center;padding: 10px 14px;text-decoration: none;color: var(--ink)}.top-list img{width: 64px;height: 64px;object-fit: cover;border-radius: 12px}.top-list a:not(:has(img)){grid-template-columns: 40px minmax(0,1fr) auto}.top-n{width: 36px;height: 36px;border-radius: 50%;display: grid;place-items: center;font-weight: 900;background: var(--line)}.top-1{background: #F5C542}.top-2{background: #C9CED6}.top-3{background: #D99A5B;color: #fff}.top-t,.top-s{display: flex;flex-direction: column;min-width: 0}.top-s{text-align: right}.top-s b{color: #b45309}.etab-badges{display: flex;flex-wrap: wrap;gap: 6px;margin: 6px 0 0}.eb{display: inline-flex;align-items: center;gap: 4px;font-size: 12.5px;font-weight: 800;padding: 3px 9px;border-radius: 20px;text-decoration: none;background: var(--line);color: var(--ink)}.eb-gold{background: #FEF3C7;color: #92400E}.eb-green{background: #DCFCE7;color: #166534}.eb-orange{background: #FFEDD5;color: #9A3412}.eb-indigo{background: #E0E7FF;color: #3730A3}html[data-theme=dark] .eb-gold,html[data-theme=dark] .eb-green,html[data-theme=dark] .eb-orange,html[data-theme=dark] .eb-indigo{background: rgba(255,255,255,.1);color: #fff}.notif-toast{position: fixed;z-index: 120;left: 50%;top: 12px;transform: translate(-50%,-140%);width: min(92vw,420px);background: var(--card);color: var(--ink);border-radius: 16px;padding: 12px 16px;box-shadow: 0 10px 30px rgba(0,0,0,.25);display: flex;flex-direction: column;gap: 2px;text-decoration: none;transition: transform .3s;border-left: 5px solid var(--green)}.notif-toast.on{transform: translate(-50%,0)}.notif-toast span{color: var(--muted);font-size: 14px}/* ---- Cartes d'établissements (nouveau modèle) ---- */
.pf-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.pc2 { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 6px 22px rgba(20, 18, 58, .06); transition: box-shadow .2s, transform .2s; min-width: 0; }
.pc2:hover { box-shadow: 0 12px 30px rgba(20, 18, 58, .12); transform: translateY(-2px); }
.pc2 .pc-photo { position: relative; display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--c), #1e1b4b); overflow: hidden; }
.pc2 .pc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pc2:hover .pc-photo img { transform: scale(1.04); }
.pc2 .pc-photo img.pc-generic { filter: saturate(.85) brightness(.92); }
.pc2 .pc-ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .85); }
.pc2 .pc-rate { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 255, 255, .95); color: #1d1b3a; border-radius: 20px; padding: 4px 10px; font-weight: 800; font-size: 14px; display: inline-flex; gap: 4px; align-items: center; }
.pc2 .pc-tag { position: absolute; left: 12px; top: 12px; border-radius: 20px; padding: 4px 10px; font-weight: 900; font-size: 13px; background: var(--orange, #F28C28); color: #fff; }
.pc2 .pc-vid { position: absolute; right: 12px; bottom: 12px; width: 28px; height: 28px; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; display: grid; place-items: center; }
.pc2 > .hp-fav { position: absolute; top: 10px; right: 10px; z-index: 2; }
.pc2 .pc-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; min-width: 0; }
.pc2 .pc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pc2 .pc-kind { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc2 .pc-pill { font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 20px; background: var(--line); color: var(--ink); white-space: nowrap; }
.pc2 .pc-sp { background: #DCFCE7; color: #166534; }
.pc2 .pc-title { margin: 0; font-size: 19px; line-height: 1.25; display: flex; align-items: center; gap: 6px; min-width: 0; }
.pc2 .pc-title a { color: var(--ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pc2 .pc-ok { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; background: #1d9bf0; color: #fff; display: inline-grid; place-items: center; }
.pc2 .pc-where { margin: 0; display: flex; gap: 5px; align-items: center; color: var(--muted); font-size: 14.5px; min-width: 0; }
.pc2 .pc-where span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc2 .pc-where svg { flex: 0 0 auto; }
.pc2 .pc-desc { margin: 2px 0 0; color: var(--ink); opacity: .85; font-size: 14.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc2 .pc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.pc2 .pc-chip { font-size: 12.5px; font-weight: 700; padding: 3px 9px; border-radius: 8px; background: var(--hp-grey, #F1F2F7); color: var(--muted); }
.pc2 .pc-chip-g { background: #e7f5ec; color: var(--green-d, #0c7d3d); } .pc2 .pc-chip-m { opacity: .8; }
.pc2 .pc-src { font-size: 12px; color: var(--muted); display: flex; gap: 4px; align-items: center; }
.pc2 .pc-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pc2 .pc-price { color: var(--ink); white-space: nowrap; } .pc2 .pc-price b { font-size: 18px; color: var(--green-d, #0c7d3d); } .pc2 .pc-price small { color: var(--muted); }
.pc2 .pc-more { font-weight: 800; color: var(--green-d, #0c7d3d); text-decoration: none; }
.pc2 .pc-acts2 { display: flex; gap: 6px; align-items: center; margin-left: auto; }
.pc2 .pc-ic { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink) !important; background: var(--card); }
.pc2 .pc-go { min-height: 42px; padding: 0 16px; border-radius: 12px; background: var(--green, #12A05C); color: #fff !important; font-weight: 800; display: inline-flex; align-items: center; text-decoration: none !important; white-space: nowrap; }
.hp-track > .pc2 { height: 100%; }
@media (max-width: 760px) { .pc2 .pc-title { font-size: 18px; } }
html[data-theme=dark] .pc2 .pc-rate { background: rgba(20, 18, 58, .9); color: #fff; }
html[data-theme=dark] .pc2 .pc-sp, html[data-theme=dark] .pc2 .pc-chip-g { background: rgba(18, 160, 92, .2); color: #7ee2a8; }
/* Bandeau des résultats */
.sv-banner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 14px 18px; margin: 12px 0 16px; box-shadow: 0 6px 20px rgba(20, 18, 58, .05); }
.sv-b-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); flex: 0 0 auto; }
.sv-b-t { flex: 1; min-width: 200px; } .sv-b-t h2 { margin: 0; font-size: 22px; line-height: 1.2; } .sv-b-t h2 b { color: var(--green-d, #0c7d3d); font-size: 28px; } .sv-b-t h2 span { color: var(--muted); font-weight: 700; }
.sv-b-t p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.sv-b-more { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; flex-basis: 100%; padding-top: 10px; border-top: 1px dashed var(--line); }
.sv-b-more small { color: var(--muted); font-weight: 700; } .sv-b-more a { font-weight: 800; font-size: 14px; padding: 5px 12px; border-radius: 20px; background: var(--hp-grey, #F1F2F7); color: var(--ink); text-decoration: none; }
.pf-active { display: flex; flex-wrap: wrap; gap: 6px; } .pf-active a:not(.hp-link) { border-radius: 20px; padding: 5px 12px; background: #e7f5ec; color: var(--green-d, #0c7d3d); font-weight: 800; font-size: 13.5px; text-decoration: none; }
/* ---- Sections encadrées : chaque bloc de contenu dans un cadre soigné ---- */
.hp-sec:not(.hp-dark):not(.hp-app) { padding: 28px 0 !important; }
.hp-sec:not(.hp-dark):not(.hp-app) > .wrap { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 30px 32px; box-shadow: 0 10px 30px rgba(20, 18, 58, .06); }
.hp-sec.hp-grey:not(.hp-dark) > .wrap, .hp-sec.hp-warm > .wrap { background: linear-gradient(180deg, var(--card), color-mix(in srgb, var(--card) 92%, #12A05C)); }
.hp-sec .hp-head h2, .hp-sec .hp-h2 { display: flex; align-items: center; gap: 10px; }
.hp-sec .hp-head h2::before, .hp-sec .hp-h2::before { content: ""; width: 6px; height: 26px; border-radius: 4px; background: linear-gradient(180deg, #12A05C, #F28C28); flex: 0 0 auto; }
.pf-bottom .pf-faq details { border: 1px solid var(--line); border-radius: 14px; padding: 0 16px; margin-bottom: 10px; background: var(--card); }
.pf-bottom .pf-faq summary { padding: 14px 0; font-size: 16px; }
.pf-box { box-shadow: 0 6px 20px rgba(20, 18, 58, .05); background: var(--card) !important; }
@media (max-width: 760px) {
  .hp-sec:not(.hp-dark):not(.hp-app) { padding: 14px 0 !important; }
  .hp-sec:not(.hp-dark):not(.hp-app) > .wrap { border-radius: 22px; padding: 20px 16px; margin: 0 10px; width: auto; }
}
/* ---- Pied de page plus court sur ordinateur ---- */
@media (min-width: 761px) {
  .footer { padding-top: 34px !important; }
  .footer .fgrid { grid-template-columns: minmax(200px, 1.2fr) minmax(0, .9fr) minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, .9fr) !important; gap: 22px 28px !important; align-items: start; }
  .footer .fcol h4 { margin: 0 0 8px !important; font-size: 13px; letter-spacing: .04em; }
  .footer .fcol a { padding: 3px 0 !important; font-size: 14px; line-height: 1.35; display: block; }
  /* « Explorer » est la plus longue : sur deux colonnes */
  .footer .fcol:nth-child(3) { columns: 2; column-gap: 18px; }
  .footer .fcol:nth-child(3) h4 { column-span: all; }
  .footer .fcol:nth-child(3) a { break-inside: avoid; }
  .footer .fbottom { margin-top: 20px !important; padding: 14px 0 !important; }
  .footer .fgrid > div:first-child p { font-size: 14px; line-height: 1.5; }
}
/* Listes longues avec recherche */
.cb-src { position: absolute !important; opacity: 0 !important; pointer-events: none !important; width: 1px !important; height: 1px !important; }
.cb-btn { text-align: left; cursor: pointer; width: 100%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='m13 13 4 4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 38px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-btn.cb-empty { color: var(--muted); }
.cb-sheet { position: fixed; inset: 0; z-index: 130; background: rgba(20, 18, 58, .45); display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 761px) { .cb-sheet { align-items: center; } }
.cb-card { width: min(100%, 520px); max-height: 80vh; background: var(--card); border-radius: 22px 22px 0 0; display: flex; flex-direction: column; overflow: hidden; }
@media (min-width: 761px) { .cb-card { border-radius: 22px; } }
.cb-h { display: flex; gap: 8px; padding: 14px; border-bottom: 1px solid var(--line); } .cb-h .in { flex: 1; font-size: 16px; }
.cb-x { width: 44px; border: 0; background: var(--hp-grey, #F1F2F7); border-radius: 12px; font-size: 24px; cursor: pointer; color: var(--ink); }
.cb-list { list-style: none; margin: 0; padding: 6px 0 calc(10px + env(safe-area-inset-bottom)); overflow-y: auto; }
.cb-g { padding: 10px 16px 4px; font-size: 12px; font-weight: 900; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.cb-o { padding: 12px 16px; cursor: pointer; display: flex; justify-content: space-between; gap: 10px; } .cb-o:hover, .cb-o.on { background: #e7f5ec; color: var(--green-d, #0c7d3d); font-weight: 800; }
.cb-o small { color: var(--muted); font-weight: 600; } .cb-none { padding: 14px 16px; color: var(--muted); }
body.cb-open { overflow: hidden; }

/* ---- Icônes dans les champs des formulaires (ajoutées automatiquement selon le type de champ) ---- */
.form input.in, .card-pad input.in, .panel-box input.in, form input.in { background-repeat: no-repeat; background-position: 12px center; background-size: 18px 18px; }
input.in[type=tel]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]), input.in[name*=telephone]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]), input.in[name*=tel_]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238a8fa3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); padding-left: 40px !important; }
input.in[type=email]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]), input.in[name*=email]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238a8fa3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E"); padding-left: 40px !important; }
input.in[type=date]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]), input.in[type=datetime-local]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238a8fa3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E"); padding-left: 40px !important; }
input.in[type=time]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238a8fa3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E"); padding-left: 40px !important; }
input.in[type=password]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238a8fa3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E"); padding-left: 40px !important; }
input.in[name=nom]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]), input.in[name=prenom]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]), input.in[name=patient]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]), input.in[name$=_nom]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]), input.in[name=organisateur]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238a8fa3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); padding-left: 40px !important; }
input.in[name*=adresse]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]), input.in[name=lieu]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]), input.in[name=quartier]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]), input.in[name=depart]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]), input.in[name=arrivee]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]), input.in[name=rdv_lieu]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]), input.in[name=zone]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]), input.in[name=repere]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238a8fa3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s7-6.2 7-12a7 7 0 0 0-14 0c0 5.8 7 12 7 12z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); padding-left: 40px !important; }
input.in[name*=prix]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]), input.in[name=montant]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]), input.in[name*=budget]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]), input.in[name=max]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238a8fa3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='6' width='20' height='12' rx='2'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3C/svg%3E"); padding-left: 40px !important; }
input.in[type=url]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]), input.in[name*=url]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]), input.in[name*=lien]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]), input.in[name=site_web]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]), input.in[name=facebook]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238a8fa3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7 0l3-3a5 5 0 0 0-7-7l-1 1'/%3E%3Cpath d='M14 11a5 5 0 0 0-7 0l-3 3a5 5 0 0 0 7 7l1-1'/%3E%3C/svg%3E"); padding-left: 40px !important; }
input.in[name=titre]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]), input.in[name=sujet]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238a8fa3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4 13.4 20.6a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E"); padding-left: 40px !important; }
input.in[name*=code]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]), input.in[name*=numero]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]), input.in[name=imei]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]), input.in[name=immatriculation]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238a8fa3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9h16M4 15h16M10 3 8 21M16 3l-2 18'/%3E%3C/svg%3E"); padding-left: 40px !important; }
input.in[name=vehicule]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238a8fa3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 17h14v-5l-2-5H7l-2 5zM5 12h14'/%3E%3Ccircle cx='8' cy='15' r='1'/%3E%3Ccircle cx='16' cy='15' r='1'/%3E%3C/svg%3E"); padding-left: 40px !important; }
input.in[name=personnes]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]), input.in[name=places]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238a8fa3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2 21a7 7 0 0 1 14 0M16 4a3.5 3.5 0 0 1 0 7M22 21a6 6 0 0 0-4-5.7'/%3E%3C/svg%3E"); padding-left: 40px !important; }
input.in[type=search]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238a8fa3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); padding-left: 40px !important; }
select.in, .cb-btn { padding-left: 14px; }
select.in[name*=commune], select.in[name=ville_id], .cb-btn.in { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238a8fa3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s7-6.2 7-12a7 7 0 0 0-14 0c0 5.8 7 12 7 12z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a8fa3' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat, no-repeat; background-position: 12px center, right 14px center; background-size: 18px, 12px; padding-left: 40px !important; }
.fx-in input, .fx-in select, input.in[type=search].cb-skip { background-image: none !important; padding-left: inherit; }
/* Titres de blocs de formulaires avec une pastille de couleur */
form.card h3, form.panel-box h3, .form > h3 { display: flex; align-items: center; gap: 8px; } form.card h3::before, form.panel-box h3::before, .form > h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #12A05C; box-shadow: 0 0 0 4px #e7f5ec; flex: 0 0 auto; }
select.in[name*=commune], select.in[name=ville_id] { -webkit-appearance: none; appearance: none; padding-right: 34px; }
.pf-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)) !important; gap: 18px !important; }
.pc2 .pc-price { display: block !important; text-align: left; line-height: 1.2; } .pc2 .pc-price small { display: inline !important; font-size: 12.5px; }
@media (max-width: 420px) { .pc2 .pc-go { padding: 0 12px; } .pc2 .pc-ic { width: 40px; height: 40px; } }
/* Messages de localisation */
.loc-toast { position: fixed; z-index: 125; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); transform: translate(-50%, 30px); opacity: 0; pointer-events: none; width: min(92vw, 460px); background: #1d1b3a; color: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: .25s; font-size: 14.5px; line-height: 1.45; }
.loc-toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; } .loc-toast.ok { background: #0c7d3d; } .loc-toast.err { background: #7c2d12; }
.loc-toast .btn { margin-left: 6px; vertical-align: middle; }
@media (min-width: 761px) { .loc-toast { bottom: 24px; } }
/* Barre de progression du profil */
.pf-progress { padding: 16px 18px; margin-bottom: 14px; border-left: 5px solid #F28C28; } .pf-progress.done { border-left-color: #12A05C; }
.pfp-h { display: flex; justify-content: space-between; gap: 10px; align-items: center; } .pfp-h span { font-weight: 900; font-size: 20px; color: #F28C28; } .pf-progress.done .pfp-h span { color: #12A05C; }
.pfp-bar { height: 10px; border-radius: 6px; background: var(--line); overflow: hidden; margin-top: 10px; } .pfp-bar span { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #F28C28, #12A05C); transition: width .6s; }
/* Demandes de discussion */
.dm-req { background: #FFF7ED; border: 1px solid #FED7AA; border-radius: 14px; padding: 12px 14px; margin-bottom: 12px; } .dm-req p { margin: 6px 0 10px; }
.dm-req.dm-wait { background: var(--hp-grey, #F1F2F7); border-color: var(--line); }
html[data-theme=dark] .dm-req { background: rgba(242, 140, 40, .12); }
/* Pop-ups */
.ypop { position: fixed; inset: 0; z-index: 140; background: rgba(15, 14, 40, .6); display: flex; align-items: center; justify-content: center; padding: 18px; opacity: 0; transition: opacity .25s; }
.ypop.on { opacity: 1; }
.ypop-card { position: relative; width: min(100%, 440px); max-height: 90vh; overflow: auto; background: var(--card); border-radius: 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); transform: translateY(18px) scale(.97); transition: transform .3s; }
.ypop.on .ypop-card { transform: none; }
.ypop-img { width: 100%; max-height: 52vh; object-fit: cover; display: block; }
.ypop-b { padding: 18px 20px 20px; } .ypop-b h2 { margin: 6px 0 6px; font-size: 22px; line-height: 1.2; } .ypop-b p { margin: 0 0 14px; color: var(--muted); }
.ypop-kind { font-size: 12.5px; font-weight: 900; color: #F28C28; }
.ypop-acts { display: flex; gap: 10px; flex-wrap: wrap; } .ypop-acts .btn { flex: 1; min-height: 48px; }
.ypop-x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: #1d1b3a; font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .2); }
.ypop-full .ypop-card { width: min(100%, 560px); } .ypop-full .ypop-img { max-height: 66vh; }
body.ypop-open { overflow: hidden; }
/* Bandeau rouge des demandes en attente (espace pro) */
.pend-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: #DC2626; color: #fff; border-radius: 14px; padding: 10px 14px; margin: 0 0 14px; animation: pendPulse 2s ease-in-out infinite; }
.pend-bar .btn { background: #fff; color: #DC2626; font-weight: 900; border: 0; }
@keyframes pendPulse { 50% { box-shadow: 0 0 0 6px rgba(220, 38, 38, .2); } }
@media (prefers-reduced-motion: reduce) { .pend-bar { animation: none; } }
.tr-acts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; margin-top: 14px; } .tr-acts .panel-box { padding: 16px; display: flex; flex-direction: column; gap: 8px; } .tr-acts h3 { margin: 0; font-size: 17px; }
.agent-dispo { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 16px; margin-bottom: 14px; border-left: 5px solid #94a3b8; } .agent-dispo.on { border-left-color: #12A05C; } .agent-dispo > span { flex: 1; min-width: 200px; }
.pay-keys { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; gap: 8px; } .pay-keys legend { font-weight: 900; padding: 0 6px; }
.pay-switch { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px; }
/* Taxi : options, offres, course pour un proche */
.tx-extra { border: 1px dashed var(--line); border-radius: 14px; padding: 10px 12px; margin: 10px 0; } .tx-extra summary { cursor: pointer; font-weight: 800; display: flex; gap: 6px; align-items: center; }
.tx-extra[open] { display: grid; gap: 8px; }
.trk-ben, .trk-offres { padding: 14px 16px; margin-bottom: 12px; border-left: 5px solid #F28C28; } .trk-offres { border-left-color: #12A05C; }
.trk-offre { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding: 10px 0; } .trk-offre span { display: flex; flex-direction: column; } .trk-offre small { color: var(--muted); }
.drv-prop { display: block; color: #9a3412; font-weight: 700; margin-top: 4px; }
.drv-req-acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 8px; } .drv-co { display: flex; gap: 6px; } .drv-co .in { width: 110px; }
.drv-docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 10px; } .drv-doc { border: 1px dashed var(--line); border-radius: 12px; padding: 10px; } .drv-doc.ok { border-style: solid; border-color: #12A05C; background: #f0fbf4; }
html[data-theme=dark] .drv-doc.ok { background: rgba(18, 160, 92, .12); }
form.card h3, form.panel-box h3, .form > h3 { justify-content: flex-start !important; }
/* Pop-ups : vidéo */
.ypop-media { position: relative; background: #000; aspect-ratio: 16 / 9; } .ypop-full .ypop-media { aspect-ratio: 9 / 12; max-height: 66vh; }
.ypop-vid, .ypop-media iframe, .ypop-media .ypop-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; max-height: none; }
.ypop-snd { position: absolute; left: 10px; bottom: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; font-size: 18px; cursor: pointer; }
.ypop-play { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); border: 0; border-radius: 30px; padding: 12px 20px; background: rgba(255, 255, 255, .95); color: #1d1b3a; font-weight: 900; cursor: pointer; box-shadow: 0 6px 20px rgba(0, 0, 0, .3); }
/* Écran de verrouillage : pas de zoom quand on tape vite (double-tap iPhone) ni quand le champ prend le focus (police < 16 px) */
.lock-screen, .lock-screen * { touch-action: manipulation; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.lock-input { font-size: 16px !important; }
.lock-av img, .lock-av svg { width: 72px; height: 72px; max-width: 72px; object-fit: cover; display: block; }
/* Pas de zoom sur le site (double appui, champs), sauf sur les cartes qui gardent leur propre zoom */
html, body { touch-action: manipulation; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (max-width: 900px) { input, select, textarea, .in { font-size: 16px !important; } }
.leaflet-container { touch-action: none; }
/* Débordements : les cadres (fieldset), les grilles et les longues adresses doivent rétrécir avec l'écran */ fieldset{min-width: 0;max-width: 100%}.form,.panel-box,.pay-keys,.pay-switch,.pay-switch>*,.dash-main,.dash-content{min-width: 0;max-width: 100%;box-sizing: border-box}.url-break,.form .small,.panel-box .small{overflow-wrap: anywhere;word-break: break-word}.pay-keys .in{min-width: 0;width: 100%}.pay-switch{display: grid;grid-template-columns: repeat(auto-fill,minmax(min(100%,170px),1fr));gap: 8px}.ck-line{min-width: 0;flex-wrap: wrap}.push-panel{display: flex;gap: 12px;align-items: flex-start;padding: 14px 16px;margin-bottom: 12px;border-left: 5px solid #F28C28}.push-panel.ok{border-left-color: #12A05C}.push-panel small{display: block;color: var(--muted);margin-top: 2px}/* Écrans d'introduction (onboarding) : plein écran, on fait glisser */
.onb { position: fixed; inset: 0; z-index: 9999; display: flex; flex-direction: column; background: var(--c0, #12A150); color: #fff; transition: background .35s, opacity .3s; padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); }
.onb.out { opacity: 0; pointer-events: none; }
html.onb-open, html.onb-open body { overflow: hidden; }
.onb-skip { position: absolute; top: calc(14px + env(safe-area-inset-top)); right: 16px; z-index: 2; background: rgba(255, 255, 255, .18); color: #fff; border: 0; border-radius: 20px; padding: 8px 16px; font: inherit; font-weight: 800; cursor: pointer; }
.onb-track { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; touch-action: pan-x; }
.onb-track::-webkit-scrollbar { display: none; }
.onb-slide { flex: 0 0 100%; scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 70px 30px 20px; box-sizing: border-box; }
.onb-art { width: min(70vw, 300px); aspect-ratio: 1; margin-bottom: 26px; } .onb-art svg, .onb-art img { width: 100%; height: 100%; object-fit: contain; border-radius: 28px; }
.onb-slide h2 { font-size: clamp(26px, 7vw, 34px); line-height: 1.15; margin: 0 0 12px; color: #fff; max-width: 420px; }
.onb-slide p { font-size: 17px; line-height: 1.5; margin: 0; opacity: .92; max-width: 420px; }
.onb-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px 26px; }
.onb-dots { display: flex; gap: 8px; } .onb-dots i { width: 9px; height: 9px; border-radius: 9px; background: rgba(255, 255, 255, .45); transition: width .25s, background .25s; } .onb-dots i.on { width: 26px; background: #fff; }
.onb-next { background: #fff; color: #1E1B4B; border: 0; min-width: 140px; min-height: 52px; border-radius: 16px; font-weight: 900; font-size: 17px; }
@media (min-width: 900px) { .onb { inset: 4vh calc(50% - 230px); border-radius: 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); } }
@media (prefers-reduced-motion: reduce) { .onb, .onb-dots i { transition: none; } }
/* Application Android / iPhone */
html.is-app #push-invite, html.is-app .pwa-install, html.is-app [data-web-only] { display: none !important; }
html.is-app body { padding-top: env(safe-area-inset-top); }
.app-toast { position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; z-index: 10001; background: #1E1B4B; color: #fff; padding: 10px 18px; border-radius: 14px; font-weight: 700; max-width: 88vw; text-align: center; transition: .25s; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.app-toast.on { opacity: 1; transform: translate(-50%, 0); }
.app-sheet { position: fixed; inset: 0; z-index: 10000; background: rgba(15, 14, 40, .5); display: flex; align-items: flex-end; }
.app-sheet-b { width: 100%; background: var(--card, #fff); border-radius: 22px 22px 0 0; padding: 10px 12px calc(14px + env(safe-area-inset-bottom)); display: grid; gap: 8px; }
.app-sheet-b button { min-height: 54px; border-radius: 14px; border: 1px solid var(--line); background: var(--card, #fff); color: var(--text, #1E1B4B); font: inherit; font-weight: 800; font-size: 17px; }
.app-sheet-b .x { border: 0; color: var(--muted); }
.app-offline { position: fixed; top: env(safe-area-inset-top); left: 0; right: 0; z-index: 10002; background: #b91c1c; color: #fff; text-align: center; font-weight: 700; padding: 8px 12px; font-size: 14px; }
.app-update { position: fixed; inset: auto 12px calc(80px + env(safe-area-inset-bottom)); z-index: 10002; background: #1E1B4B; color: #fff; border-radius: 18px; padding: 14px 16px; display: grid; gap: 6px; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
.lock-bio { margin-top: 12px; }
.bio-box { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; }
/* Bouton flottant « Pharmacies de garde » */
.garde-fab { position: fixed; right: 18px; bottom: 84px; z-index: 72; display: inline-flex; align-items: center; gap: 6px; background: #12A150; color: #fff; text-decoration: none; font-weight: 900; font-size: 14px; padding: 11px 16px 11px 12px; border-radius: 99px; box-shadow: 0 8px 24px rgba(18, 161, 80, .45); animation: gardeFloat 3s ease-in-out infinite; }
.garde-fab:hover, .garde-fab:focus-visible { background: #0E8743; color: #fff; }
.garde-fab::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid rgba(18, 161, 80, .45); animation: gardePulse 2.4s ease-out infinite; pointer-events: none; }
@keyframes gardeFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes gardePulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.25); } }
@media (max-width: 900px) { .garde-fab { right: 12px; bottom: calc(136px + env(safe-area-inset-bottom)); padding: 10px 13px 10px 10px; font-size: 13px; } body:has(.dx-mbar) .garde-fab { bottom: 200px; } }
body:has(.lock-screen) .garde-fab, body:has(#onb) .garde-fab, body.kb-open .garde-fab, body.ypop-open .garde-fab { display: none !important; }
@media (prefers-reduced-motion: reduce) { .garde-fab, .garde-fab::after { animation: none; } }
@media print { .garde-fab { display: none; } }
.gd-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; } .gd-head h1 { margin: 0; font-size: clamp(24px, 6vw, 32px); } .gd-head p { margin: 4px 0 0; }
.gd-ico { width: 54px; height: 54px; flex: none; display: grid; place-items: center; border-radius: 16px; background: #12A150; color: #fff; font-size: 30px; font-weight: 900; }
.gd-search { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; } .gd-search .in { flex: 1 1 240px; }
.gd-zone { font-size: 19px; margin: 18px 0 8px; display: flex; gap: 8px; align-items: center; } .gd-zone small { background: #e7f6ee; color: #0B6B37; border-radius: 20px; padding: 2px 10px; font-size: 13px; }
.gd-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.gd-card { background: var(--card, #fff); border: 1px solid var(--line); border-left: 5px solid #12A150; border-radius: 14px; padding: 12px 14px; }
.gd-name { font-weight: 900; font-size: 17px; color: inherit; text-decoration: none; } .gd-acts { display: flex; gap: 6px; flex-wrap: wrap; }
/* Géographie (administration) */
.geo-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; } .geo-nav a { padding: 8px 14px; border-radius: 20px; border: 1px solid var(--line); text-decoration: none; color: inherit; font-weight: 700; font-size: 14px; } .geo-nav a.on { background: #1E1B4B; color: #fff; border-color: #1E1B4B; }
.geo-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-bottom: 12px; } .geo-stats div { background: var(--card, #fff); border: 1px solid var(--line); border-radius: 14px; padding: 12px; text-align: center; } .geo-stats b { display: block; font-size: 24px; } .geo-stats span { color: var(--muted); font-size: 13px; }
.geo-warn { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 12px 14px; margin-bottom: 12px; border-left: 5px solid #F28C28; }
.geo-search { display: flex; gap: 8px; margin-bottom: 12px; } .geo-search .in { flex: 1; min-width: 0; }
.geo-found { padding: 10px 14px; margin-bottom: 12px; display: grid; gap: 6px; } .geo-found a { text-decoration: none; color: inherit; }
.geo-tree { display: grid; grid-template-columns: minmax(220px, 280px) 1fr; gap: 12px; align-items: start; } @media (max-width: 900px) { .geo-tree { grid-template-columns: 1fr; } .geo-tree .geo-col:first-child { max-height: 260px; overflow-y: auto; } }
.geo-col { background: var(--card, #fff); border: 1px solid var(--line); border-radius: 14px; padding: 8px; min-width: 0; } .geo-root { font-weight: 900; padding: 8px; }
.geo-reg { display: flex; justify-content: space-between; gap: 6px; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: inherit; font-size: 14px; } .geo-reg small { color: var(--muted); white-space: nowrap; } .geo-reg.on, .geo-reg:hover { background: #eef7f1; } html[data-theme=dark] .geo-reg.on, html[data-theme=dark] .geo-reg:hover { background: rgba(18, 161, 80, .15); }
.geo-main { padding: 12px; } .geo-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; } .geo-h h2 { margin: 0; }
.geo-filt { display: flex; gap: 4px; } .geo-filt a { font-size: 13px; padding: 5px 10px; border-radius: 14px; border: 1px solid var(--line); text-decoration: none; color: inherit; } .geo-filt a.on { background: #12A150; color: #fff; border-color: #12A150; }
.geo-list { display: grid; gap: 8px; margin-top: 10px; }
.geo-item { display: grid; grid-template-columns: 1fr auto 120px; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: inherit; background: var(--card, #fff); } @media (max-width: 640px) { .geo-item { grid-template-columns: 1fr; } }
.geo-name { display: flex; flex-direction: column; min-width: 0; } .geo-name small, .geo-cnt { color: var(--muted); font-size: 13px; }
.geo-pct { position: relative; height: 22px; background: #eef0f4; border-radius: 12px; overflow: hidden; } .geo-pct i { position: absolute; inset: 0 auto 0 0; } .geo-pct i.g { background: #12A150; } .geo-pct i.o { background: #F28C28; } .geo-pct i.r { background: #dc2626; } .geo-pct em { position: relative; font-style: normal; font-size: 12px; font-weight: 800; display: block; text-align: center; line-height: 22px; mix-blend-mode: difference; color: #fff; }
.geo-crumb { margin-bottom: 8px; } .geo-crumb a { color: inherit; }
.geo-fhead { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; } .geo-comp { min-width: 220px; display: grid; gap: 4px; } .geo-comp small { color: var(--muted); }
.geo-tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 2px solid var(--line); margin-bottom: 12px; scrollbar-width: none; } .geo-tabs a { padding: 10px 14px; white-space: nowrap; text-decoration: none; color: var(--muted); font-weight: 800; border-bottom: 3px solid transparent; margin-bottom: -2px; } .geo-tabs a.on { color: inherit; border-bottom-color: #12A150; }
.geo-pane { padding: 16px; } .geo-map { height: 260px; border-radius: 12px; border: 1px solid var(--line); margin-top: 6px; z-index: 0; }
.geo-mairie { border-bottom: 1px dashed var(--line); padding-bottom: 14px; margin-bottom: 14px; }
.geo-rows { display: grid; gap: 6px; margin-bottom: 12px; } .geo-rows > div { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }
.geo-add { border: 1px dashed var(--line); border-radius: 12px; padding: 12px; margin-bottom: 12px; }
.geo-chips { display: flex; flex-wrap: wrap; gap: 6px; } .geo-chips h4 { width: 100%; margin: 10px 0 2px; }
.geo-chip summary { list-style: none; cursor: pointer; padding: 6px 12px; border-radius: 16px; background: #eef7f1; font-size: 14px; } html[data-theme=dark] .geo-chip summary { background: rgba(18, 161, 80, .15); } .geo-chip[open] { width: 100%; } .geo-chip-f { display: flex; gap: 6px; flex-wrap: wrap; padding: 8px 0; } .geo-chip-f .in { flex: 1 1 180px; }
.geo-hist { padding-left: 18px; } .geo-hist li { margin-bottom: 6px; }
.geo-2col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 12px; align-items: start; }
.geo-res { border: 1px solid var(--line); border-left: 5px solid #12A150; border-radius: 12px; padding: 12px; margin-top: 12px; } .geo-res.ko { border-left-color: #dc2626; } .geo-res pre { white-space: pre-wrap; max-height: 260px; overflow: auto; }
.geo-dup { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.geo-prop { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; padding: 12px 14px; } .geo-prop.refusee, .geo-prop.acceptee { opacity: .7; }
.dbm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 8px; }
.dbm-t { display: flex; flex-direction: column; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: inherit; background: var(--card, #fff); } .dbm-t.main { border-left: 4px solid #12A150; } .dbm-t small { color: var(--muted); font-size: 12px; }
.db-param { display: grid; grid-template-columns: minmax(140px, 220px) 1fr auto; gap: 8px; align-items: center; padding: 10px 12px; } .db-param code { overflow-wrap: anywhere; } @media (max-width: 700px) { .db-param { grid-template-columns: 1fr; } }
.geo-pbar { height: 8px; background: #eef0f4; border-radius: 8px; overflow: hidden; margin: 8px 0; } .geo-pbar i { display: block; height: 100%; width: 0; background: #12A150; transition: width .6s; }

/* Aperçus (administration, pro) : toute la largeur sur ordinateur, 2 colonnes même sur écran moyen */
@media (min-width: 861px) and (max-width: 1180px) { .db-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; } }
@media (max-width: 860px) { .db-grid { grid-template-columns: 1fr !important; } }
.garde-fab { touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; cursor: grab; }
.garde-fab.dragging { animation: none; cursor: grabbing; transform: scale(1.08); box-shadow: 0 14px 34px rgba(18, 161, 80, .55); transition: none; }
.garde-fab.dragging::after { display: none; }
/* Choix de la ville (accueil) : une case ; la 2e (communes d'Abidjan) n'apparaît que si besoin */
@media (min-width: 701px) { .pp:not(.pp-two) .pp-f-v { grid-column: span 2; } }
.pp-f-c[hidden] { display: none !important; }
.pp-recent { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pp-recent .chip { display: inline-flex; padding: 5px 12px; border-radius: 16px; background: #eef7f1; color: #0B6B37; font-weight: 700; font-size: 13px; text-decoration: none; }
html[data-theme=dark] .pp-recent .chip { background: rgba(18, 161, 80, .15); color: #6ee7a0; }
.pp-f-c { animation: ppIn .25s ease-out; } @keyframes ppIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
/* Notification qui sonne jusqu'à ce qu'on l'ouvre */ .notif-toast>a.nt-open{display: grid;gap: 2px;color: inherit;text-decoration: none}.notif-toast .nt-act{display: flex;gap: 8px;margin-top: 10px}.notif-toast.ringing{border: 2px solid #12a150;animation: ntShake 1.2s ease-in-out infinite}@keyframes ntShake{0%,100%{margin-left: 0}10%,30%{margin-left: -4px}20%,40%{margin-left: 4px}50%{margin-left: 0}}@media (prefers-reduced-motion: reduce){.notif-toast.ringing{animation: none}}.yc-upd{display: grid;gap: 4px}.yc-upd span{opacity: .85;font-size: 14px}.yc-upd-b{display: flex;gap: 8px;margin-top: 8px}/* Cartes d'établissement « VIP » (toutes les rubriques) : cadre soigné, étiquette de prix sur la photo, boutons alignés */
.pc2{border-radius:22px;border:1px solid rgba(20,18,58,.07);box-shadow:0 1px 2px rgba(20,18,58,.04),0 10px 28px rgba(20,18,58,.07);position:relative;isolation:isolate}
.pc2::before{content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;background:linear-gradient(135deg,rgba(212,175,55,.0),rgba(212,175,55,.0));-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;transition:background .3s;z-index:3}
.pc2:hover::before{background:linear-gradient(135deg,#d4af37,#f5d77a 40%,#12a05c)}
.pc2:hover{box-shadow:0 2px 4px rgba(20,18,58,.05),0 18px 40px rgba(20,18,58,.14);transform:translateY(-3px)}
.pc2 .pc-photo{aspect-ratio:16/10}
.pc2 .pc-photo::after{content:"";position:absolute;inset:auto 0 0 0;height:45%;background:linear-gradient(to top,rgba(10,10,30,.55),transparent);pointer-events:none}
.pc2 .pc-rate{z-index:1;box-shadow:0 4px 12px rgba(0,0,0,.18)}
.pc2 .pc-pricetag{position:absolute;right:12px;bottom:12px;z-index:1;display:flex;flex-direction:column;align-items:flex-end;line-height:1.05;padding:7px 12px 8px;border-radius:14px;background:linear-gradient(135deg,#0c7d3d,#0a5f2f);color:#fff;box-shadow:0 6px 16px rgba(0,0,0,.25);border:1px solid rgba(245,215,122,.65)}
.pc2 .pc-pricetag small{font-size:10.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#f5d77a}
.pc2 .pc-pricetag b{font-size:19px;font-weight:900;letter-spacing:-.01em;white-space:nowrap}
.pc2 .pc-pricetag b i{font-style:normal;font-size:13px;font-weight:800;opacity:.9}
.pc2 .pc-pricetag em{font-style:normal;font-size:11.5px;font-weight:600;opacity:.9}
.pc2 .pc-vid{right:auto;left:auto;bottom:auto;top:12px;right:58px}
.pc2 .pc-title{font-size:18.5px;letter-spacing:-.01em}
.pc2 .pc-chip{border-radius:999px;padding:3px 10px;font-size:12px}
.pc2 .pc-foot{display:grid;grid-template-columns:1fr;gap:10px;padding-top:12px}
.pc2 .pc-acts2{display:grid;grid-auto-flow:column;grid-template-columns:auto auto 1fr;gap:8px;width:100%;margin-left:0}
.pc2 .pc-ic{width:44px;height:44px;border-radius:14px;transition:background .2s,border-color .2s}
.pc2 .pc-ic:hover{border-color:var(--green,#12A05C);background:#e7f5ec}
.pc2 .pc-go{min-height:44px;border-radius:14px;justify-content:center;min-width:0;padding:0 14px;background:linear-gradient(135deg,#12A05C,#0c7d3d);box-shadow:0 4px 12px rgba(18,160,92,.28)}
.pc2 .pc-go span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pc2 .pc-go-light{background:var(--card);color:var(--green-d,#0c7d3d)!important;border:1.5px solid var(--green,#12A05C);box-shadow:none}
.pc2 .pc-more{justify-self:end}
html[data-theme=dark] .pc2{border-color:rgba(255,255,255,.08)}
html[data-theme=dark] .pc2 .pc-ic:hover{background:rgba(18,160,92,.2)}
.pc2 .pc-tag{right:auto;width:auto;display:inline-flex;max-width:calc(100% - 80px)}
/* Prix « À partir de » en étiquette (autres cartes) */
.price.price-pill{display:inline-flex;align-items:baseline;gap:5px;padding:4px 11px;border-radius:999px;background:linear-gradient(135deg,#0c7d3d,#0a5f2f);color:#fff;border:1px solid rgba(245,215,122,.6);white-space:nowrap}
.price.price-pill small{color:#f5d77a;font-size:11px;font-weight:700}
.price.price-pill b{color:#fff;font-weight:900}

/* ============ Tableaux de bord sur téléphone : listes en cartes (toutes les rubriques) ============ */
@media (max-width: 760px) {
  .dash .tbl-wrap, .dash .panel-box[style*="overflow"] { overflow: visible !important; }
  table.m-cards { border: 0 !important; background: transparent !important; min-width: 0 !important; width: 100% !important; }
  table.m-cards, table.m-cards tbody, table.m-cards tr, table.m-cards td { display: block; width: 100%; box-sizing: border-box; }
  table.m-cards thead { display: none; }
  table.m-cards tr { position: relative; margin: 0 0 12px; padding: 12px 14px 10px; border: 1px solid var(--line, #e5e7eb); border-radius: 16px; background: var(--card, #fff);
    box-shadow: 0 1px 2px rgba(20,18,58,.04), 0 6px 16px rgba(20,18,58,.06); text-align: left; }
  table.m-cards tr:hover { background: var(--card, #fff); }
  table.m-cards td { border: 0 !important; padding: 0 !important; white-space: normal !important; max-width: none !important; min-width: 0 !important; text-align: left !important; overflow-wrap: anywhere; word-break: normal; }
  table.m-cards td.m-empty { display: none; }
  table.m-cards td.m-title { font-size: 16px; font-weight: 800; color: var(--ink); line-height: 1.3; padding: 0 0 8px !important; margin-bottom: 4px; border-bottom: 1px solid var(--line, #eef0f3) !important; }
  table.m-cards td.m-title small, table.m-cards td.m-title .muted { font-weight: 500; font-size: 12.5px; }
  table.m-cards td[data-label]:not(.m-title):not(.acts), table.m-cards td.m-nolabel { display: grid; grid-template-columns: minmax(84px, 36%) 1fr; gap: 10px; align-items: baseline; padding: 6px 0 !important; border-bottom: 1px dashed var(--line, #eef0f3) !important; font-size: 14px; }
  table.m-cards td.m-nolabel { grid-template-columns: 1fr; }
  table.m-cards td.m-title::before, table.m-cards td.acts::before { display: none !important; content: none !important; }
  table.m-cards td[data-label]:not(.m-title):not(.acts)::before { content: attr(data-label); display: block !important; margin: 0 !important; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted, #6b7280); opacity: 1 !important; line-height: 1.3; }
  table.m-cards td .m-v { min-width: 0; }
  table.m-cards td .m-v .badge, table.m-cards td .m-v .st { white-space: nowrap; }
  table.m-cards td.acts { display: flex !important; flex-wrap: wrap; gap: 6px; align-items: center; padding: 10px 0 0 !important; margin-top: 4px; border-top: 0 !important; }
  table.m-cards td.acts form { display: inline-flex; flex-wrap: wrap; gap: 6px; margin: 0; }
  table.m-cards td.acts .btn { min-height: 36px; }
  table.m-cards td.m-full { padding: 6px 0 !important; }
  table.m-cards tr > td:last-child[data-label] { border-bottom: 0 !important; }
  table.m-cards input.in, table.m-cards select.in { max-width: 100%; }
  html[data-theme=dark] table.m-cards tr { border-color: rgba(255,255,255,.09); box-shadow: none; }
}
/* Notifications : une carte par notification */
.nt-list { display: grid; gap: 10px; }
.nt-card { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line, #e5e7eb); border-radius: 16px; background: var(--card, #fff); color: var(--ink); text-decoration: none; box-shadow: 0 1px 2px rgba(20,18,58,.04); transition: box-shadow .15s, transform .15s; min-width: 0; }
.nt-card:hover { box-shadow: 0 8px 20px rgba(20,18,58,.08); transform: translateY(-1px); }
.nt-card.unread { border-color: rgba(18,160,92,.45); background: linear-gradient(0deg, rgba(18,160,92,.05), rgba(18,160,92,.05)), var(--card, #fff); }
.nt-ic { flex: 0 0 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; font-size: 20px; background: #f1f2f6; }
.nt-red { background: #fde8e8; } .nt-indigo { background: #eceafe; } .nt-orange { background: #fff1e3; } .nt-green { background: #e6f6ec; } .nt-gold { background: #fff7d6; }
.nt-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; padding-right: 14px; }
.nt-t { font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.nt-m { font-size: 13.5px; color: var(--muted, #6b7280); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.nt-d { font-size: 12px; color: var(--muted, #6b7280); font-weight: 600; }
.nt-dot { position: absolute; top: 14px; right: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--green, #12a05c); box-shadow: 0 0 0 3px rgba(18,160,92,.18); }
html[data-theme=dark] .nt-ic { background: rgba(255,255,255,.08); }
/* Petits défauts : liens d'en-tête de carte jamais coupés (« Statistiques »),aucune page plus large que l'écran (ex. Sport) */
.db-h { gap: 10px; }
.db-h > a, .db-h > .db-link { white-space: nowrap; flex-shrink: 0; }
.db-h h3 { min-width: 0; }
html, body { overflow-x: clip; }
/* En-tête du site : cloche de notifications à côté de la photo de profil */
.hdr-bell { position: relative; flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #f2f4f3; color: var(--hp-ink, #14123a) !important; text-decoration: none; }
.hdr-bell:hover { background: #e7f5ec; }
.hdr-bell span { position: absolute; top: -4px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: #dc2626; color: #fff; font-size: 11px; font-weight: 900; display: grid; place-items: center; border: 2px solid #fff; line-height: 1; }
html[data-theme=dark] .hdr-bell { background: var(--dk-soft, #24224f); color: #fff !important; }
html[data-theme=dark] .hdr-bell span { border-color: var(--dk-bg, #14123a); }
@media (max-width: 420px) { .hdr-bell { width: 38px; height: 38px; } .top-right { gap: 6px !important; } .btn-sos { padding-left: 12px !important; padding-right: 12px !important; } }
/* Panneau latéral fermé (assistant…) : n'agrandit plus la page vers la droite (la page Sport glissait de côté sur téléphone) */ .panel:not(.open){visibility: hidden;transition: transform .25s,visibility 0s .25s}.panel.open{visibility: visible;transition: transform .25s,visibility 0s}@media (max-width: 760px){.panel:not(.open){transform: translateX(105%);clip-path: inset(0 0 0 100%)}}/* Textes « lecteur d'écran » (.sr) : ancrés à gauche, ils n'agrandissent plus la page (barre du Sport sur téléphone) */ .sr{left: 0;white-space: nowrap;margin: -1px}.sp-bar-in{position: relative}.sos-yc{margin: 14px 0;padding: 14px;border-radius: 16px;background: rgba(255,255,255,.06);border: 1px solid rgba(255,255,255,.14)}.sos-yc-lead{font-size: 13.5px;opacity: .9;margin: 0 0 10px}.sos-yc-3{display: grid;grid-template-columns: repeat(3,1fr);gap: 8px}.sos-yc-b{display: flex;flex-direction: column;align-items: center;gap: 2px;padding: 12px 6px;border-radius: 14px;border: 2px solid rgba(255,255,255,.18);background: #fff;color: #14123a;font-size: 24px;cursor: pointer;text-align: center}.sos-yc-b b{font-size: 13px;line-height: 1.2}.sos-yc-b small{font-size: 11px;opacity: .7;line-height: 1.2}.sos-yc-b.on{border-color: #dc2626;box-shadow: 0 0 0 3px rgba(220,38,38,.3)}.sos-yc-f{margin-top: 12px;display: grid;gap: 8px;background: #fff;color: #14123a;padding: 12px;border-radius: 14px}.sos-yc-f[hidden]{display: none}@media (max-width: 380px){.sos-yc-3{grid-template-columns: 1fr}.sos-yc-b{flex-direction: row;justify-content: flex-start;gap: 10px}}.ur-head{display: flex;gap: 8px;flex-wrap: wrap;align-items: center;margin-bottom: 10px}.ur-badge{font-weight: 800;padding: 6px 12px;border-radius: 999px;background: #14123a;color: #fff}.ur-garde{padding: 6px 12px;border-radius: 999px;background: #e6f6ec;color: #0a5f2f;font-size: 13.5px;text-decoration: none}.ur-garde.off{background: #f1f2f6;color: #555}.ur-card{text-decoration: none;color: inherit;display: block}.ur-card.ur-hot{border-left-color: #dc2626 !important;box-shadow: 0 0 0 2px rgba(220,38,38,.18)}.ur-bar{display: grid;grid-template-columns: minmax(110px,40%) 1fr auto;gap: 8px;align-items: center;margin: 6px 0;font-size: 14px}.ur-bar i{display: block;height: 10px;border-radius: 99px;background: linear-gradient(90deg,#f28c28,#dc2626)}/* Institutions de l'État (police, gendarmerie, pompiers, SAMU, administrations, mairies) : badges « service public »
   aux couleurs nationales (orange, blanc, vert) — distincts du bleu des commerces et restaurants */
.pc2 .pc-ok.etat, .dx-verif.etat { background: #0b5d3b !important; color: #f5c518 !important; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #F77F00; }
.pc2 .pc-kind.etat { color: #0b5d3b !important; font-weight: 800; }
.dx-badge.etat { background: linear-gradient(90deg, #F77F00 0%, #F77F00 6px, #ffffff 6px, #ffffff 10px, #009E60 10px, #0b5d3b 100%) !important; color: #fff !important; padding-left: 18px !important; }
.badge.b-etat { background: #0b5d3b; color: #fff; border: 0; font-weight: 800; box-shadow: inset 4px 0 0 #F77F00; padding-left: 12px; }
.badge.b-officiel { background: #0b5d3b !important; color: #fff !important; box-shadow: inset 4px 0 0 #F77F00; padding-left: 12px; }
.pc2.pc-etat { box-shadow: 0 1px 2px rgba(20,18,58,.04), 0 10px 28px rgba(11,93,59,.10); }
.ur-pub { border: 1px solid rgba(11,93,59,.25); border-radius: 18px; padding: 14px; background: linear-gradient(180deg, rgba(0,158,96,.05), transparent 60%); }
.ur-pub-nums { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.ur-pub-list { display: grid; gap: 8px; }
html[data-theme=dark] .pc2 .pc-kind.etat { color: #46d18f !important; }

/* ===================== Paiement YOCOLO (choix du moyen, numéro, validation) ===================== */
.ypay{padding:22px 18px}
.ypay-head{text-align:center;padding:6px 0 14px;border-bottom:1px dashed var(--line);margin-bottom:14px}
.ypay-to{display:inline-flex;gap:10px;align-items:center;text-align:left;background:#f8fafc;border:1px solid var(--line);border-radius:999px;padding:5px 14px 5px 5px;margin-bottom:8px}
.ypay-to img,.ypay-to>span{width:38px;height:38px;border-radius:50%;object-fit:cover;background:var(--green);color:#fff;display:grid;place-items:center;font-weight:900}
.ypay-to small{display:block;font-size:11px;color:var(--muted)}
.ypay-amt{font-size:42px;font-weight:900;letter-spacing:-.02em;line-height:1.1}
.ypay-desc{margin:4px 0 8px;color:var(--muted);font-weight:600}
.ypay-ref{display:inline-flex;gap:5px;align-items:center;font-size:12px;color:#047857;background:#ecfdf5;border-radius:999px;padding:4px 10px;font-weight:700}
.ypay-step{display:flex;gap:8px;align-items:center;font-weight:800;margin:12px 0 8px}
.ypay-step b{width:22px;height:22px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;font-size:12px}
.ypay-ops{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.ypay-op{position:relative}
.ypay-op input{position:absolute;opacity:0}
.ypay-op span{display:flex;gap:10px;align-items:center;padding:11px 12px;border:2px solid var(--line);border-radius:14px;font-weight:800;cursor:pointer;background:#fff;transition:.15s}
.ypay-op span i{font-style:normal;min-width:34px;height:34px;padding:0 4px;border-radius:10px;background:var(--c);color:#fff;display:grid;place-items:center;font-size:11px;font-weight:900;box-sizing:border-box}
.ypay-op input:checked+span{border-color:var(--green);background:var(--green-l,#ecfdf5);box-shadow:0 0 0 3px rgba(16,185,129,.15)}
.ypay-op input:focus-visible+span{outline:2px solid var(--green);outline-offset:2px}
.ypay-in{display:flex;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}
.ypay-in span{padding:0 12px;display:grid;place-items:center;background:#f8fafc;font-weight:800;color:var(--muted);border-right:1px solid var(--line)}
.ypay-in .in{border:0;border-radius:0;font-size:18px;font-weight:700;letter-spacing:.04em;min-width:0}
.ypay-otp .in{font-size:20px;letter-spacing:.3em;text-align:center;font-weight:800}
.ypay-hint{margin:8px 0 0}
.ypay-go{min-height:54px;font-size:18px;margin-top:14px;border-radius:14px}
.ypay-alt{display:flex;justify-content:center;flex-wrap:wrap;gap:6px;margin-top:6px}
.ypay-wait{display:flex;gap:12px;align-items:center;background:#eff6ff;border:1px solid #bfdbfe;border-radius:14px;padding:12px;margin-bottom:12px}
.ypay-wait small{display:block;color:var(--muted);font-weight:500}
.ypay-spin{width:26px;height:26px;border-radius:50%;border:3px solid #bfdbfe;border-top-color:#2563eb;animation:yspin 1s linear infinite;flex:none}
@keyframes yspin{to{transform:rotate(360deg)}}
.ypay-credit{display:flex;gap:10px;align-items:center;justify-content:space-between;background:linear-gradient(135deg,#fef9c3,#fde68a);border:1px solid #facc15;border-radius:16px;padding:12px 14px}
.ypay-credit small{display:block;color:#713f12;font-weight:600}
.ypay-or{text-align:center;margin:14px 0 0;position:relative;color:var(--muted);font-size:13px;font-weight:700}
.ypay-or:before{content:"";position:absolute;left:0;right:0;top:50%;border-top:1px solid var(--line)}
.ypay-or span{position:relative;background:#fff;padding:0 10px}
html[data-theme=dark] .ypay-op span,html[data-theme=dark] .ypay-in,html[data-theme=dark] .ypay-or span{background:var(--card)}
html[data-theme=dark] .ypay-to,html[data-theme=dark] .ypay-in span{background:var(--dk-soft)}
.sp-logo img,.sp-logo span{width:76px;height:76px;border-radius:22px;object-fit:cover;display:grid;place-items:center;margin:0 auto 8px;background:var(--green);color:#fff;font-size:32px;font-weight:900;box-shadow:0 8px 24px rgba(0,0,0,.12)}
.sp-name{font-size:24px;margin:0;display:flex;gap:6px;align-items:center;justify-content:center}
.sp-name svg{color:var(--green)}
.sp-amt{display:flex;align-items:baseline;justify-content:center;gap:8px;border:2px solid var(--line);border-radius:18px;padding:10px 14px}
.sp-amt:focus-within{border-color:var(--green)}
.sp-amt input{border:0;outline:0;font-size:40px;font-weight:900;width:100%;min-width:0;text-align:right;background:transparent;color:inherit}
.sp-amt span{font-weight:800;color:var(--muted)}
.sp-quick{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:10px 0}
.sp-ok{text-align:center;display:grid;gap:4px;padding:10px 0 16px}
.sp-ok-i{width:72px;height:72px;border-radius:50%;background:#dcfce7;color:#16a34a;display:grid;place-items:center;margin:0 auto 6px}
.sp-ok b{font-size:30px}

/* ===================== Mon solde (espace pro) ===================== */
.wl-top{display:grid;grid-template-columns:1.25fr 1fr;gap:14px}
.wl-card{position:relative;overflow:hidden;border-radius:24px;padding:20px 20px 18px;color:#fff;box-shadow:0 14px 34px rgba(4,120,87,.25)}
.wl-main{background:radial-gradient(120% 140% at 100% 0%,#34d399 0%,#059669 38%,#064e3b 100%)}
.wl-gold{background:radial-gradient(120% 140% at 100% 0%,#fde68a 0%,#f59e0b 42%,#92400e 100%);box-shadow:0 14px 34px rgba(146,64,14,.22)}
.wl-card-h{display:flex;justify-content:space-between;align-items:center;gap:8px;font-weight:800;opacity:.95}
.wl-card-h span{display:inline-flex;gap:6px;align-items:center}
.wl-tag{font-size:11px;background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.35);border-radius:999px;padding:3px 9px;letter-spacing:.02em}
.wl-amt{font-size:40px;font-weight:900;letter-spacing:-.02em;margin:12px 0 2px;line-height:1.1;transition:filter .2s}
.wl-blur{filter:blur(10px)}
.wl-sub{font-size:13px;opacity:.9;display:flex;gap:5px;align-items:center;min-height:18px}
.wl-acts{display:flex;gap:8px;margin-top:16px;flex-wrap:wrap;position:relative;z-index:1}
.wl-btn{background:#fff;color:#064e3b;font-weight:800;border:0;border-radius:12px}
.wl-gold .wl-btn{color:#78350f}
.wl-btn[disabled]{opacity:.6}
.wl-ghost{background:rgba(255,255,255,.18);color:#fff}
.wl-deco{position:absolute;right:-40px;bottom:-60px;width:200px;height:200px;border-radius:50%;border:28px solid rgba(255,255,255,.08)}
.wl-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:14px 0}
.wl-kpis div{background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px 14px}
.wl-kpis small{display:block;color:var(--muted);font-weight:700;font-size:12px}
.wl-kpis b{font-size:20px}
.wl-grid{display:grid;grid-template-columns:320px 1fr;gap:14px;align-items:start}
.wl-qr-box{display:grid;place-items:center;gap:6px;background:linear-gradient(180deg,#ecfdf5,#fff);border:1px dashed #6ee7b7;border-radius:18px;padding:14px}
.wl-qr-box>div{background:#fff;padding:8px;border-radius:12px}
.wl-qr-box b{letter-spacing:.1em}
.wl-h{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.wl-h .chip.on{background:var(--green);color:#fff;border-color:var(--green)}
.wl-list{list-style:none;margin:0;padding:0}
.wl-list li{display:flex;gap:12px;align-items:center;padding:11px 0;border-top:1px solid var(--line)}
.wl-list li:first-child{border-top:0}
.wl-list li>div{flex:1;min-width:0}
.wl-list small{display:block;color:var(--muted);font-size:12px;overflow:hidden;text-overflow:ellipsis}
.wl-ic{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;flex:none}
.wl-ic.in{background:#dcfce7;color:#16a34a}.wl-ic.out{background:#fee2e2;color:#dc2626}
.wl-ic.wl-commission{background:#f1f5f9;color:#475569}.wl-ic.wl-recharge{background:#fef3c7;color:#b45309}
.wl-plus{color:#16a34a;white-space:nowrap}.wl-minus{color:#dc2626;white-space:nowrap}
.wl-pill{font-size:10px;background:#fef3c7;color:#92400e;border-radius:999px;padding:1px 7px;font-weight:800}
dialog.modal{border:0;border-radius:22px;padding:20px;width:min(460px,94vw);box-shadow:0 30px 80px rgba(0,0,0,.3)}
dialog.modal::backdrop{background:rgba(15,23,42,.55)}
.wl-mini{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;border-radius:20px;padding:14px 16px;color:#fff;background:radial-gradient(120% 140% at 100% 0%,#34d399 0%,#059669 40%,#064e3b 100%);margin-bottom:14px;box-shadow:0 10px 26px rgba(4,120,87,.2)}
.wl-mini small{display:block;opacity:.85;font-weight:700}
.wl-mini b{font-size:26px}
.wl-mini .wl-btn{padding:8px 14px}
.pl-gauges{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px;margin:14px 0}
.pl-g{background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px}
.pl-g small{display:block;font-weight:700;color:var(--muted);font-size:12px;min-height:30px}
.pl-g b{font-size:18px}
.pl-bar{height:8px;border-radius:99px;background:#f1f5f9;overflow:hidden;margin-top:6px}
.pl-bar i{display:block;height:100%;background:var(--green);border-radius:99px}
.pl-g.full .pl-bar i{background:#dc2626}.pl-g.warn .pl-bar i{background:#f59e0b}
.pl-dur{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;margin:10px 0}
.pl-dur label{position:relative}.pl-dur input{position:absolute;opacity:0}
.pl-dur span{display:block;padding:7px 12px;border:2px solid var(--line);border-radius:12px;font-weight:800;cursor:pointer;font-size:13px}
.pl-dur input:checked+span{border-color:var(--green);background:#ecfdf5}
.pl-end{display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:16px;padding:12px 14px;margin-bottom:14px}
.pl-end.soon{background:#fffbeb;border-color:#fde68a}
@media (max-width:860px){.wl-top,.wl-grid{grid-template-columns:1fr}.wl-kpis{grid-template-columns:repeat(2,1fr)}.wl-amt{font-size:34px}}
html[data-theme=dark] .wl-kpis div,html[data-theme=dark] .pl-g,html[data-theme=dark] dialog.modal{background:var(--card)}
html[data-theme=dark] .wl-qr-box{background:var(--dk-soft)}
.wl-ret{display:grid;gap:10px}
.inline-f{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.in-sm{padding:6px 10px;min-height:34px;width:150px;max-width:100%}
.pl-tbl td,.pl-tbl th{vertical-align:middle}.pl-tbl .in{min-width:90px}
body:has(.ypay) .garde-fab,body:has(.ypay) .ia-fab{display:none!important}
.pay-card.scan-pay h1.sp-name{font-size:24px;line-height:1.2;margin:0}
.sp-name svg{flex:none}
.sp-amt span{white-space:nowrap}
.wl-acts{flex-wrap:nowrap}.wl-acts .wl-btn:first-child{flex:1;min-width:0;justify-content:center}
.ypay-ref{max-width:100%;flex-wrap:wrap;justify-content:center}
.wl-state-g{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.wl-state-g div{background:#f8fafc;border:1px solid var(--line);border-radius:14px;padding:10px 12px}
.wl-state-g small{display:block;color:var(--muted);font-weight:700;font-size:12px}
@media (max-width:700px){.wl-state-g{grid-template-columns:1fr}}
html[data-theme=dark] .wl-state-g div{background:var(--dk-soft)}

/* ===================== Promotions (prix barré, badge) ===================== */
.of-old{color:var(--muted);font-weight:700;font-size:13px}
.of-deal{display:inline-flex;gap:5px;align-items:center;background:linear-gradient(135deg,#f97316,#ef4444);color:#fff;font-weight:900;font-size:12px;border-radius:999px;padding:3px 9px;white-space:nowrap}
.of-deal small{font-weight:700;opacity:.9;font-size:11px}
.of-deal.sm{padding:1px 7px;font-size:11px}
.promo-row{margin:6px 0 22px}
.promo-row h2{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap;font-size:20px;margin:0 0 10px}
.promo-track{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(220px,250px);gap:12px;overflow-x:auto;padding-bottom:6px;scroll-snap-type:x mandatory}
.promo-card{scroll-snap-align:start;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;text-decoration:none;color:inherit;display:flex;flex-direction:column;box-shadow:0 6px 18px rgba(0,0,0,.05)}
.promo-card .pc-ph{position:relative;height:140px;background:#f1f5f9}
.promo-card .pc-ph img{width:100%;height:100%;object-fit:cover}
.promo-card .pc-ph .of-deal{position:absolute;left:10px;top:10px}
.promo-card .pc-b{padding:10px 12px 12px;display:grid;gap:3px}
.promo-card .pc-b small{color:var(--muted);font-weight:600}
.promo-card .pc-p{font-size:18px;font-weight:900;color:#dc2626}
html[data-theme=dark] .promo-card{background:var(--card)}

/* ===================== Sponsorisation (pro) ===================== */
.sp-hero{display:flex;gap:14px;align-items:center;background:linear-gradient(135deg,#fff7ed,#ffedd5);border:1px solid #fed7aa;border-radius:20px;padding:14px;margin:10px 0 16px}
.sp-hero-ph{width:86px;height:86px;border-radius:16px;overflow:hidden;flex:none;background:#fff;display:grid;place-items:center;font-size:36px}
.sp-hero-ph img{width:100%;height:100%;object-fit:cover}
.sp-hero small{color:#9a3412;font-weight:800}.sp-hero h2{margin:2px 0;font-size:20px}
.sp-step{display:flex;gap:8px;align-items:center;margin:18px 0 10px;font-size:17px}
.sp-step b{width:26px;height:26px;border-radius:50%;background:#f97316;color:#fff;display:grid;place-items:center;font-size:13px}
.sp-step small{color:var(--muted);font-weight:600;font-size:13px}
.sp-grid{display:grid;gap:12px}
.sp-empl{border:1px solid var(--line);border-radius:18px;padding:12px;background:#fff}
.sp-empl-h b{display:block;font-size:16px}.sp-empl-h small{color:var(--muted)}
.sp-tarifs{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px;margin-top:10px}
.sp-tarif{position:relative}.sp-tarif input{position:absolute;opacity:0}
.sp-tarif span{display:grid;gap:2px;text-align:center;border:2px solid var(--line);border-radius:14px;padding:10px 8px;cursor:pointer;transition:.15s}
.sp-tarif small{font-weight:800;color:var(--muted)}.sp-tarif b{font-size:18px}.sp-tarif i{font-style:normal;font-size:11px;color:var(--muted)}
.sp-tarif input:checked+span{border-color:#f97316;background:#fff7ed;box-shadow:0 0 0 3px rgba(249,115,22,.15)}
.sp-pubs{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:8px}
.sp-pub{display:flex;gap:10px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:8px;text-decoration:none;color:inherit;background:#fff;transition:.15s}
.sp-pub:hover{border-color:#f97316;box-shadow:0 4px 14px rgba(249,115,22,.15)}
.sp-pub-ph{width:46px;height:46px;border-radius:12px;overflow:hidden;flex:none;display:grid;place-items:center;background:#fff7ed;font-size:22px}
.sp-pub-ph img{width:100%;height:100%;object-fit:cover}
.sp-pub b{display:block;font-size:14px}.sp-pub small{color:var(--muted)}
.sp-list{display:grid;gap:10px}
.sp-item{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px}
.sp-item-h{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.sp-item-h small{display:block;color:var(--muted)}
.sp-st{font-size:12px;font-weight:900;border-radius:999px;padding:4px 10px;white-space:nowrap;background:#f1f5f9;color:#475569}
.sp-st-active{background:#dcfce7;color:#166534}.sp-st-demande,.sp-st-wait{background:#fef3c7;color:#92400e}.sp-st-a_valider{background:#dbeafe;color:#1e40af}
.sp-st-arrete,.sp-st-refusee{background:#fee2e2;color:#991b1b}
.sp-prog{height:8px;background:#f1f5f9;border-radius:99px;overflow:hidden;margin:10px 0 4px}.sp-prog i{display:block;height:100%;background:linear-gradient(90deg,#f97316,#ef4444)}
.sp-kpi{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:8px;font-size:13px;color:var(--muted)}.sp-kpi b{color:var(--text,#0f172a)}
.pub-acts{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.btn-sponso{background:linear-gradient(135deg,#f97316,#ef4444);color:#fff!important;border:0}
.sp-lbl{display:inline-block;font-size:11px;font-weight:900;color:#9a3412;background:#ffedd5;border-radius:999px;padding:2px 8px}
html[data-theme=dark] .sp-empl,html[data-theme=dark] .sp-pub,html[data-theme=dark] .sp-item{background:var(--card)}
.pc-spl{margin:2px 0 4px;font-size:13px;display:grid;gap:1px}.pc-spl b{color:#9a3412}.pc-spl span{color:var(--muted)}

/* ===================== Administration › Sponsorisations ===================== */
.spa-bar{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;align-items:center;margin:4px 0 14px}
.spa-bar .chip.on{background:var(--green);color:#fff;border-color:var(--green)}
.spa-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.spa-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;text-decoration:none;color:inherit;display:flex;flex-direction:column;transition:.15s;box-shadow:0 4px 14px rgba(0,0,0,.04)}
.spa-card:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(0,0,0,.09)}
.spa-ph{position:relative;height:120px;background:linear-gradient(135deg,#fff7ed,#ffedd5);display:grid;place-items:center;font-size:38px}
.spa-ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.spa-ph .sp-st{position:absolute;right:10px;top:10px}
.spa-b{padding:12px;display:grid;gap:3px}.spa-b small{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.spa-f{display:flex;justify-content:space-between;align-items:center;margin-top:6px;font-size:13px;color:var(--muted)}.spa-f b{color:var(--text,#0f172a);font-size:15px}
.sp-st-end{background:#f1f5f9;color:#475569}
.spa-modal{position:fixed;inset:0;z-index:300;display:grid;place-items:center;padding:16px}
.spa-back{position:absolute;inset:0;background:rgba(15,23,42,.55);backdrop-filter:blur(2px)}
.spa-sheet{position:relative;width:min(640px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:24px;box-shadow:0 30px 80px rgba(0,0,0,.35)}
.spa-head{position:relative;min-height:170px;display:flex;align-items:flex-end;color:#fff;background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.72)),var(--bg,linear-gradient(135deg,#f97316,#be123c));background-size:cover;background-position:center}
.spa-head-in{padding:18px 20px}.spa-head h2{margin:6px 0 2px;font-size:24px;color:#fff}.spa-head p{margin:0;font-weight:700}.spa-head small{opacity:.85}
.spa-x{position:absolute;right:12px;top:12px;width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.9);color:#0f172a;display:grid;place-items:center}
.spa-body{padding:16px 20px 20px;display:grid;gap:12px}
.spa-crumbs{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.spa-crumbs span{background:#f1f5f9;border-radius:999px;padding:4px 10px;font-weight:700;font-size:13px}.spa-crumbs i{color:var(--muted);font-style:normal}
.spa-quote{margin:0;font-style:italic;color:#9a3412;background:#fff7ed;border-left:4px solid #f97316;border-radius:8px;padding:8px 12px}
.spa-period{display:flex;justify-content:space-between;gap:10px}.spa-period small{display:block;color:var(--muted);font-weight:700;font-size:12px}
.spa-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.spa-kpis div{background:#f8fafc;border:1px solid var(--line);border-radius:14px;padding:10px;text-align:center;display:grid}.spa-kpis span{font-size:18px}.spa-kpis b{font-size:20px}.spa-kpis small{color:var(--muted);font-weight:700}
.spa-pay{display:flex;gap:10px;flex-wrap:wrap;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:16px;padding:12px}.spa-pay div{flex:1;min-width:140px;display:grid}.spa-pay small{color:var(--muted);font-weight:700;font-size:12px}
.spa-acts{display:flex;gap:8px;flex-wrap:wrap}
.spa-stop summary{cursor:pointer;color:var(--red);font-weight:800}
.spa-mods{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:4px 12px}
.spa-tar{margin-top:12px}.spa-tar-h{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:8px}
.spa-tar .in{min-width:80px}.spa-new td{background:#f8fafc}
html[data-theme=dark] .spa-card,html[data-theme=dark] .spa-sheet{background:var(--card)}
html[data-theme=dark] .spa-kpis div,html[data-theme=dark] .spa-crumbs span{background:var(--dk-soft)}

/* ===================== Fenêtre « Voir » de l'administration,plus soignée ===================== */ .cv-head{background:linear-gradient(180deg,#f8fafc,#fff)}.cv-ttl{display:flex;gap:12px;align-items:center;min-width:0}.cv-ttl small{display:block;color:var(--muted);font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:46vw}.cv-av{width:48px;height:48px;border-radius:14px;object-fit:cover;flex:none;box-shadow:0 4px 12px rgba(0,0,0,.12)}.cv-dl{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:16px 18px}.cv-f{background:#f8fafc;border:1px solid #eef2f7;border-radius:14px;padding:10px 12px;min-width:0}.cv-f dt{font-size:11.5px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-weight:800;margin-bottom:3px}.cv-f dd{margin:0;font-weight:600;overflow-wrap:anywhere}.cv-f.cv-wide{grid-column:1/-1}.cv-pill{display:inline-block;background:#e0f2fe;color:#075985;border-radius:999px;padding:2px 10px;font-weight:800;font-size:13px}@media(max-width:640px){.cv-dl{grid-template-columns:1fr}.cv-ttl small{max-width:60vw}}html[data-theme=dark] .cv-f{background:var(--dk-soft);border-color:transparent}html[data-theme=dark] .cv-head{background:var(--card)}.osz-cta{display:flex;gap:12px;align-items:center;text-decoration:none;color:inherit;background:linear-gradient(135deg,#ecfdf5,#fff);border:1px solid #a7f3d0}.osz-cta>span{font-size:30px}.osz-cta div{flex:1}.osz-cta small{display:block;color:var(--muted)}.osz-head{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;align-items:center;position:sticky;top:64px;z-index:5}.osz-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:14px;align-items:start}.osz-map{position:sticky;top:150px;height:70vh}.osz-list{display:grid;gap:10px}.osz-g{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}.osz-gh{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:#f8fafc;border-bottom:1px solid var(--line)}.osz-it{display:flex;gap:10px;align-items:center;padding:9px 12px;border-top:1px solid #f1f5f9;cursor:pointer}.osz-it:first-of-type{border-top:0}.osz-it span{flex:1;min-width:0}.osz-it small{display:block;color:var(--muted);font-size:12px}.osz-it.ex{opacity:.7}.osz-tag{font-size:11px;font-weight:800;border-radius:999px;padding:2px 8px;background:#e0f2fe;color:#075985;white-space:nowrap;text-decoration:none}.osz-tag.new{background:#dcfce7;color:#166534}.osz-done{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:10px 0}.osz-done div{background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px;text-align:center}.osz-done b{font-size:24px;display:block}.osz-done small{color:var(--muted);font-weight:700}@media(max-width:900px){.osz-grid{grid-template-columns:1fr}.osz-map{position:static;height:300px}.osz-done{grid-template-columns:repeat(2,1fr)}.osz-head{position:static}}html[data-theme=dark] .osz-g,html[data-theme=dark] .osz-done div{background:var(--card)}html[data-theme=dark] .osz-gh{background:var(--dk-soft)}.osz-mapbox{min-height:420px}@media(max-width:900px){.osz-mapbox{min-height:280px}}.pf-bands{display:grid;gap:6px}.pf-bands label{position:relative}.pf-bands input{position:absolute;opacity:0}.pf-bands span{display:block;border:1px solid var(--line);border-radius:10px;padding:7px 10px;font-weight:700;font-size:13px;cursor:pointer}.pf-bands input:checked+span{border-color:var(--green);background:#ecfdf5;color:#065f46}.pf-dates{display:grid;grid-template-columns:1fr 1fr;gap:6px}.pf-dates label,.pf-dates-p{display:grid;gap:2px;font-size:12px;font-weight:700;color:var(--muted)}.pf-dates input,.pf-dates-p input{border:1px solid var(--line);border-radius:10px;padding:7px;font:inherit;color:var(--text,#0f172a);min-width:0}.pf-dates-p{margin-top:6px}.nv-badge{display:inline-block;vertical-align:middle;font-size:10px;font-weight:900;letter-spacing:.03em;text-transform:uppercase;color:#fff;background:linear-gradient(135deg,#ef4444,#f97316);border-radius:999px;padding:2px 7px;margin-left:4px;line-height:1.4;box-shadow:0 2px 6px rgba(239,68,68,.35)}/* ===================== Bandeau « Télécharge l'application » ===================== */
.apb-m{display:none}
.apb-d{position:fixed;right:18px;bottom:18px;z-index:250;width:300px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:16px;box-shadow:0 18px 50px rgba(0,0,0,.18);display:grid;gap:8px;animation:apbIn .35s ease}
.apb-d small{color:var(--muted)}
.apb-qr{display:flex;gap:10px;align-items:center;background:#f8fafc;border-radius:14px;padding:8px}.apb-qr span{font-size:12px;font-weight:700;color:var(--muted)}
.apb-stores{display:flex;gap:6px;flex-wrap:wrap}
.store-b{display:inline-flex;align-items:center;gap:6px;background:#0f172a;color:#fff!important;border:0;border-radius:10px;padding:8px 12px;font-weight:800;font-size:13px;text-decoration:none;cursor:pointer}
.apb-x{position:absolute;right:8px;top:6px;border:0;background:transparent;font-size:22px;line-height:1;color:var(--muted);cursor:pointer;padding:4px 8px}
.apb-m .apb-x{position:static}
@keyframes apbIn{from{transform:translateY(20px);opacity:0}to{transform:none;opacity:1}}
@media (max-width:899px){
  .apb-d{display:none}
  .apb-m{display:flex;gap:10px;align-items:center;position:sticky;top:0;z-index:260;background:linear-gradient(135deg,#065f46,#059669);color:#fff;padding:8px 10px 8px 12px;box-shadow:0 4px 14px rgba(0,0,0,.15)}
  .apb-ic{width:38px;height:38px;border-radius:10px;overflow:hidden;background:#fff;display:grid;place-items:center;flex:none;color:#059669;font-weight:900}
  .apb-ic img{width:100%;height:100%;object-fit:cover}
  .apb-t{flex:1;min-width:0;display:grid}.apb-t b{font-size:14px}.apb-t small{font-size:11.5px;opacity:.92;line-height:1.25;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  .apb-go{background:#fff;color:#065f46!important;font-weight:900;border-radius:999px;padding:7px 12px;font-size:13px;text-decoration:none;white-space:nowrap;cursor:pointer}
  .apb-m .apb-x{color:#fff}
}
.f-stores{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;border-top:1px solid rgba(255,255,255,.12);padding:14px 0 6px;margin-top:10px}
.f-stores span{display:flex;gap:8px;flex-wrap:wrap}
.f-stores .store-b{background:#fff;color:#0f172a!important}
html[data-theme=dark] .apb-d{background:var(--card)}html[data-theme=dark] .apb-qr{background:var(--dk-soft)}
.store-b-l{background:#eef2ff;color:#3730a3!important}

/* Accueil : illustration dans les blocs colorés sans photo (Rencontres, « Tu as un commerce ? ») */
.hp-rc-photo::before, .hp-pro-photo::before { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-size: clamp(38px, 5vw, 64px); line-height: 1.35; letter-spacing: 8px; filter: drop-shadow(0 8px 18px rgba(0,0,0,.25)); opacity: .95; animation: hpFloat 6s ease-in-out infinite; }
.hp-rc-photo::before { content: "🤝 🎉\A ⚽ ☕ 🎶"; white-space: pre; }
.hp-pro-photo::before { content: "🏪 🍽️\A 🏨 💇\A 🛠️ 💊"; white-space: pre; }
.hp-rc-photo::after, .hp-pro-photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.35), transparent 55%); pointer-events: none; }
@keyframes hpFloat { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .hp-rc-photo::before, .hp-pro-photo::before { animation: none; } }

/* ===== Espace rencontre (migration 052) : photos des membres, invitation, journal, réglages du propriétaire ===== */
/* Page du groupe : photos des membres, invitation, journal, réglages du propriétaire */
.gm-ph { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; vertical-align: middle; margin-right: 4px; }
.g-invite { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.g-invite summary { cursor: pointer; font-weight: 800; color: var(--indigo-d); }
.g-inv-row { display: flex; gap: 6px; margin: 6px 0; }
.g-inv-row .in { font-size: 13px; }
.g-qr { display: flex; justify-content: center; margin-top: 8px; }
.g-qr svg { width: 150px; height: 150px; }
.g-sw { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; font-weight: 700; cursor: pointer; }
.g-sw input { margin-top: 3px; accent-color: var(--green); }
.gj-list { list-style: none; padding: 0; margin: 10px 0 0; max-height: 360px; overflow-y: auto; }
.gj-list li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
/* Le bouton « Garde » devient une simple pastille sur les pages des groupes et des sorties (il cachait « Inviter sur WhatsApp ») */
@media (max-width: 900px) { body:has(.rc-aside) .garde-fab span { display: none; } body:has(.rc-aside) .garde-fab { padding: 12px; } }

/* v58 : pop-ups remis à leur présentation d'origine (demande de l'administratrice) */ .sp-logo img,.ypay-to img{object-fit: contain;background: #fff}