@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url(/polices/Poppins-Bold.woff) format('woff'); }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(/polices/Poppins-Medium.woff) format('woff'); }
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/polices/Inter-Regular.woff) format('woff'); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(/polices/Inter-Medium.woff) format('woff'); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/polices/Inter-SemiBold.woff) format('woff'); }

:root {
  --nuit: #0E1B2C; --nuit-2: #16263B; --nuit-3: #22354F;
  --or: #F4A300; --or-fonce: #C98600; --or-pale: #FFF4DC;
  --fond: #F5F6F8; --carte: #FFFFFF; --bord: #E3E6EB; --bord-2: #CDD2DA;
  --texte: #0E1B2C; --texte-2: #4A5668; --texte-3: #7A8596;
  --vert: #1F8A4C; --vert-pale: #E3F4EA; --rouge: #C8372D; --rouge-pale: #FBE7E5; --bleu: #2F6FB5; --bleu-pale: #E5EEF8;
  --r: 10px; --r-s: 7px; --ombre: 0 1px 2px rgba(14,27,44,.06), 0 4px 14px rgba(14,27,44,.05);
  --titre: Poppins, 'Segoe UI', system-ui, sans-serif; --corps: Inter, 'Segoe UI', system-ui, sans-serif;
  --barre: 56px; --nav-bas: 64px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.45 var(--corps); color: var(--texte); background: var(--fond); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--titre); font-weight: 700; margin: 0 0 .4em; line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: 22px; } h2 { font-size: 18px; } h3 { font-size: 16px; } h4 { font-size: 14px; }
p { margin: 0 0 .8em; }
a { color: var(--bleu); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.num, td.n, .montant { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }

/* ---------- Structure ---------- */
#app { min-height: 100vh; }
.coquille { display: grid; grid-template-columns: 1fr; min-height: 100vh; }
.coquille > div { min-width: 0; }
body { overflow-x: hidden; }
.barre { position: sticky; top: 0; z-index: 20; height: var(--barre); background: var(--nuit); color: #fff; display: flex; align-items: center; gap: 10px; padding: 0 14px; }
.barre .logo { height: 24px; display: block; }
.barre .espace { flex: 1; }
.barre select { background: var(--nuit-2); color: #fff; border: 1px solid var(--nuit-3); border-radius: var(--r-s); padding: 6px 8px; width: auto; min-height: 36px; max-width: 42vw; font-size: 14px; }
.etat-sync { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #C9D2DE; padding: 4px 8px; border-radius: 99px; background: var(--nuit-2); cursor: pointer; border: 0; }
.etat-sync i { width: 8px; height: 8px; border-radius: 50%; background: #3CCB7F; }
.etat-sync.hors i { background: var(--or); } .etat-sync.erreur i { background: #FF6B5E; }
.cloche { position: relative; background: none; border: 0; color: #fff; padding: 6px; cursor: pointer; }
.cloche b { position: absolute; top: 0; right: -2px; background: var(--or); color: var(--nuit); font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; border-radius: 8px; display: grid; place-items: center; padding: 0 3px; }
.cote { display: none; }
main#vue { padding: 16px 14px calc(var(--nav-bas) + 24px); max-width: 1180px; width: 100%; margin: 0 auto; }
.nav-bas { position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; height: var(--nav-bas); background: #fff; border-top: 1px solid var(--bord); display: flex; padding-bottom: env(safe-area-inset-bottom); }
.nav-bas a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; color: var(--texte-3); font-weight: 500; }
.nav-bas a svg { width: 22px; height: 22px; }
.nav-bas a.actif { color: var(--nuit); } .nav-bas a.actif svg { color: var(--or-fonce); }
.nav-bas a.vendre { color: var(--nuit); }
.nav-bas a.vendre span.rond { width: 46px; height: 46px; margin-top: -18px; border-radius: 50%; background: var(--or); display: grid; place-items: center; box-shadow: 0 4px 12px rgba(244,163,0,.4); }
.nav-bas a.vendre svg { color: var(--nuit); }

@media (min-width: 960px) {
  .coquille { grid-template-columns: 232px 1fr; }
  .cote { display: flex; flex-direction: column; background: var(--nuit); color: #C9D2DE; position: sticky; top: 0; height: 100vh; padding: 18px 12px; overflow-y: auto; }
  .cote .logo { height: 28px; margin: 4px 8px 22px; }
  .cote a { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: var(--r-s); color: #C9D2DE; font-weight: 500; font-size: 14px; }
  .cote a svg { width: 19px; height: 19px; opacity: .85; }
  .cote a:hover { background: var(--nuit-2); color: #fff; }
  .cote a.actif { background: var(--nuit-3); color: #fff; } .cote a.actif svg { color: var(--or); opacity: 1; }
  .cote .sep { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #6E7E94; margin: 16px 10px 6px; }
  .cote .pied { margin-top: auto; font-size: 12px; color: #6E7E94; padding: 10px; }
  .barre .logo { display: none; }
  .nav-bas { display: none; }
  main#vue { padding: 22px 26px 40px; }
}

/* ---------- Composants ---------- */
.entete { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.entete h1 { margin: 0; flex: 1; min-width: 160px; }
.carte { background: var(--carte); border: 1px solid var(--bord); border-radius: var(--r); padding: 16px; box-shadow: var(--ombre); }
.carte + .carte, .grille + .carte, .carte + .grille { margin-top: 14px; }
.carte h2 { font-size: 16px; }
.grille { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 260px)), 1fr)); }
.kpis { --min: 150px; }
.kpi { background: var(--carte); border: 1px solid var(--bord); border-radius: var(--r); padding: 14px; box-shadow: var(--ombre); }
.kpi .l { font-size: 12px; color: var(--texte-2); font-weight: 500; }
.kpi .v { font: 700 21px/1.2 var(--titre); margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi .s { font-size: 12px; color: var(--texte-3); margin-top: 2px; }
.kpi.or { background: var(--nuit); border-color: var(--nuit); color: #fff; } .kpi.or .l { color: #C9D2DE; } .kpi.or .v { color: var(--or); } .kpi.or .s { color: #8C9AAE; }
.hausse { color: var(--vert); } .baisse { color: var(--rouge); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--bord-2); background: #fff; color: var(--texte); padding: 9px 14px; border-radius: var(--r-s); font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; min-height: 40px; }
.btn:hover { border-color: var(--texte-3); }
.btn svg { width: 17px; height: 17px; }
.btn.p { background: var(--nuit); border-color: var(--nuit); color: #fff; } .btn.p:hover { background: var(--nuit-3); }
.btn.or { background: var(--or); border-color: var(--or); color: var(--nuit); } .btn.or:hover { background: var(--or-fonce); border-color: var(--or-fonce); }
.btn.danger { color: var(--rouge); border-color: #EDBDB8; } .btn.danger:hover { background: var(--rouge-pale); }
.btn.lien { border: 0; background: none; color: var(--bleu); padding: 6px; min-height: 0; }
.btn.petit { padding: 5px 10px; min-height: 32px; font-size: 13px; }
.btn.grand { padding: 13px 18px; font-size: 16px; min-height: 50px; }
.btn.plein { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

label.champ { display: block; margin-bottom: 12px; }
label.champ > span { display: block; font-size: 13px; font-weight: 600; color: var(--texte-2); margin-bottom: 5px; }
label.champ > small { display: block; font-size: 12px; color: var(--texte-3); margin-top: 4px; }
input[type=text], input[type=password], input[type=number], input[type=tel], input[type=email], input[type=search], input[type=date], input[type=time], select, textarea {
  width: 100%; border: 1px solid var(--bord-2); border-radius: var(--r-s); padding: 9px 11px; background: #fff; min-height: 42px; font-size: 15px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--or); outline-offset: -1px; border-color: var(--or); }
textarea { min-height: 80px; resize: vertical; }
.case { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; cursor: pointer; }
.case input { width: 18px; height: 18px; accent-color: var(--nuit); }
.ligne2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ligne3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
@media (max-width: 520px) { .ligne3 { grid-template-columns: 1fr 1fr; } }

.tableau { width: 100%; border-collapse: collapse; font-size: 14px; }
.tableau th { text-align: left; font-size: 12px; font-weight: 600; color: var(--texte-2); padding: 8px 10px; border-bottom: 1px solid var(--bord); white-space: nowrap; background: #FAFBFC; }
.tableau td { padding: 10px; border-bottom: 1px solid var(--bord); vertical-align: middle; }
.tableau td.n, .tableau th.n { text-align: right; white-space: nowrap; }
.tableau tr.clic { cursor: pointer; } .tableau tr.clic:hover td { background: #FAFBFC; }
.defile { overflow-x: auto; margin: 0 -16px; padding: 0 16px; }
.carte > .defile:last-child .tableau tr:last-child td { border-bottom: 0; }
.vide { text-align: center; color: var(--texte-3); padding: 28px 10px; }

.pastille { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: var(--fond); color: var(--texte-2); white-space: nowrap; }
.pastille.vert { background: var(--vert-pale); color: var(--vert); } .pastille.rouge { background: var(--rouge-pale); color: var(--rouge); }
.pastille.or { background: var(--or-pale); color: #8A5C00; } .pastille.bleu { background: var(--bleu-pale); color: var(--bleu); }
.pastille.nuit { background: var(--nuit); color: #fff; }

.alerte { display: flex; gap: 10px; padding: 11px 12px; border-radius: var(--r-s); border: 1px solid var(--bord); background: #fff; margin-bottom: 8px; font-size: 14px; }
.alerte .ic { flex: none; width: 8px; border-radius: 4px; background: var(--bord-2); }
.alerte.haute .ic { background: var(--rouge); } .alerte.moyenne .ic { background: var(--or); } .alerte.info .ic { background: var(--bleu); }
.alerte .m { flex: 1; } .alerte .d { font-size: 12px; color: var(--texte-3); margin-top: 2px; }
.alerte.lu { opacity: .6; }
.bandeau { padding: 10px 14px; border-radius: var(--r-s); margin-bottom: 14px; font-size: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.bandeau.or { background: var(--or-pale); color: #6B4700; border: 1px solid #F6D48A; }
.bandeau.rouge { background: var(--rouge-pale); color: #8A231B; border: 1px solid #F0C2BD; }
.bandeau.nuit { background: var(--nuit); color: #fff; }
.bandeau .espace { flex: 1; }

.onglets { display: flex; gap: 4px; border-bottom: 1px solid var(--bord); margin-bottom: 14px; overflow-x: auto; }
.onglets a, .onglets button { padding: 9px 12px; color: var(--texte-2); font-weight: 600; font-size: 14px; border: 0; background: none; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.onglets .actif { color: var(--nuit); border-bottom-color: var(--or); }
.recherche { position: relative; }
.recherche input { padding-left: 36px; }
.recherche svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--texte-3); }
.puces { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin: 10px 0; scrollbar-width: none; }
.puces button { border: 1px solid var(--bord-2); background: #fff; border-radius: 99px; padding: 6px 12px; font-size: 13px; font-weight: 500; white-space: nowrap; cursor: pointer; }
.puces button.actif { background: var(--nuit); color: #fff; border-color: var(--nuit); }

/* ---------- Modale et toasts ---------- */
.voile { position: fixed; inset: 0; background: rgba(14,27,44,.5); z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.modale { background: #fff; width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; border-radius: 16px 16px 0 0; padding: 18px 18px calc(18px + env(safe-area-inset-bottom)); animation: monte .18s ease-out; }
.modale.large { max-width: 820px; }
.modale header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.modale header h2 { flex: 1; margin: 0; }
.modale header .fermer { border: 0; background: var(--fond); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 20px; line-height: 1; }
.modale footer { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; flex-wrap: wrap; }
@media (min-width: 640px) { .voile { align-items: center; } .modale { border-radius: 14px; } }
@keyframes monte { from { transform: translateY(24px); opacity: 0; } }
#toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--nav-bas) + 14px); z-index: 60; display: flex; flex-direction: column; gap: 8px; width: min(92vw, 420px); }
.toast { background: var(--nuit); color: #fff; padding: 11px 14px; border-radius: var(--r-s); font-size: 14px; box-shadow: 0 6px 20px rgba(0,0,0,.2); animation: monte .2s; }
.toast.erreur { background: var(--rouge); } .toast.ok { background: var(--vert); }
@media (min-width: 960px) { #toasts { bottom: 24px; } }

/* ---------- Écrans publics ---------- */
.public { min-height: 100vh; background: var(--nuit); color: #fff; display: flex; flex-direction: column; }
.public .haut { padding: 22px 20px 0; display: flex; align-items: center; }
.public .haut img { height: 30px; }
.public .centre { flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px 16px 40px; }
.public .boite { background: #fff; color: var(--texte); border-radius: 16px; padding: 24px 20px; width: 100%; max-width: 420px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.public .boite.large { max-width: 640px; }
.public .boite h1 { font-size: 22px; }
.public .boite .sous { color: var(--texte-2); margin-bottom: 18px; font-size: 14px; }
.accueil { max-width: 1040px; margin: 0 auto; padding: 30px 20px 50px; display: grid; gap: 34px; align-items: center; }
@media (min-width: 880px) { .accueil { grid-template-columns: 1.1fr .9fr; padding-top: 60px; } }
.accueil h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.08; letter-spacing: -.02em; }
.accueil h1 em { font-style: normal; color: var(--or); }
.accueil .intro { font-size: 17px; color: #C9D2DE; max-width: 520px; margin: 14px 0 26px; }
.accueil .points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; color: #C9D2DE; font-size: 14px; }
.accueil .points li { display: flex; gap: 10px; } .accueil .points li::before { content: ''; flex: none; width: 10px; height: 10px; margin-top: 5px; border-radius: 2px; background: var(--or); }
.demo-choix { display: grid; gap: 10px; }
.demo-choix button { text-align: left; display: flex; gap: 12px; align-items: center; width: 100%; padding: 14px; border: 1px solid var(--bord); border-radius: var(--r); background: #fff; cursor: pointer; }
.demo-choix button:hover { border-color: var(--or); background: var(--or-pale); }
.demo-choix .ic { width: 42px; height: 42px; border-radius: 10px; background: var(--nuit); color: var(--or); display: grid; place-items: center; flex: none; }
.demo-choix strong { display: block; font-family: var(--titre); } .demo-choix small { color: var(--texte-2); }
.public .pied { text-align: center; font-size: 12px; color: #6E7E94; padding: 16px; }

/* ---------- Caisse ---------- */
.caisse { display: grid; gap: 14px; }
@media (min-width: 960px) { .caisse { grid-template-columns: 1fr 380px; align-items: start; } .caisse .panier { position: sticky; top: calc(var(--barre) + 16px); } }
.produits { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.produit { text-align: left; border: 1px solid var(--bord); background: #fff; border-radius: var(--r); padding: 11px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; min-height: 92px; }
.produit:hover { border-color: var(--or); }
.produit:active { transform: scale(.98); }
.produit .nom { font-weight: 600; font-size: 14px; line-height: 1.25; flex: 1; }
.produit .prix { font: 700 15px var(--titre); color: var(--nuit); }
.produit .st { font-size: 12px; color: var(--texte-3); }
.produit.rupture .st { color: var(--rouge); font-weight: 600; }
.panier { padding: 0; overflow: hidden; }
.panier .tete { padding: 14px 16px; border-bottom: 1px solid var(--bord); display: flex; align-items: center; }
.panier .tete h2 { margin: 0; flex: 1; }
.panier .lignes { max-height: 42vh; overflow-y: auto; }
.pligne { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 10px 16px; border-bottom: 1px solid var(--bord); }
.pligne .n { font-weight: 600; font-size: 14px; }
.pligne .u { font-size: 12px; color: var(--texte-3); }
.pligne .t { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.pligne .ctrl { grid-column: 1 / -1; display: flex; gap: 6px; align-items: center; }
.pligne .ctrl button { width: 34px; height: 34px; border: 1px solid var(--bord-2); background: #fff; border-radius: var(--r-s); cursor: pointer; font-size: 18px; line-height: 1; }
.pligne .ctrl input { width: 70px; text-align: center; min-height: 34px; padding: 4px; }
.pligne .ctrl select { width: auto; min-height: 34px; padding: 4px 6px; font-size: 13px; flex: 1; min-width: 0; }
.panier .total { padding: 14px 16px; background: #FAFBFC; }
.panier .total .gros { display: flex; justify-content: space-between; align-items: baseline; font: 700 26px var(--titre); }
.panier .total .gros small { font: 500 14px var(--corps); color: var(--texte-2); }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 10px 0; }
.modes button { border: 1px solid var(--bord-2); background: #fff; border-radius: var(--r-s); padding: 9px 4px; font-size: 13px; font-weight: 600; cursor: pointer; }
.modes button.actif { background: var(--nuit); color: #fff; border-color: var(--nuit); }
.modes button[data-m=orange_money].actif { background: #FF7900; border-color: #FF7900; }
.modes button[data-m=moov_money].actif { background: #0066B3; border-color: #0066B3; }
.barre-caisse { position: fixed; left: 0; right: 0; bottom: var(--nav-bas); z-index: 15; background: var(--nuit); color: #fff; padding: 10px 14px; display: flex; align-items: center; gap: 10px; }
.barre-caisse .t { flex: 1; font: 700 20px var(--titre); }
.barre-caisse .t small { display: block; font: 500 12px var(--corps); color: #C9D2DE; }
@media (min-width: 960px) { .barre-caisse { display: none; } }

/* Reçu */
.recu { font-family: ui-monospace, 'Courier New', monospace; font-size: 13px; background: #fff; border: 1px dashed var(--bord-2); padding: 14px; max-width: 340px; margin: 0 auto; }
.recu .c { text-align: center; } .recu hr { border: 0; border-top: 1px dashed var(--bord-2); margin: 8px 0; }
.recu .l { display: flex; justify-content: space-between; gap: 8px; }
.recu .grand { font-size: 16px; font-weight: 700; }

/* Graphique */
.histo { display: flex; align-items: flex-end; gap: 4px; height: 140px; padding-top: 10px; }
.histo .b { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; min-width: 0; }
.histo .b i { width: 100%; max-width: 30px; background: var(--nuit-3); border-radius: 4px 4px 0 0; min-height: 2px; }
.histo .b.auj i { background: var(--or); }
.histo .b span { font-size: 10px; color: var(--texte-3); }
.barre-pct { height: 8px; background: var(--fond); border-radius: 4px; overflow: hidden; }
.barre-pct i { display: block; height: 100%; background: var(--or); border-radius: 4px; }

.scan video { width: 100%; border-radius: var(--r); background: #000; max-height: 50vh; object-fit: cover; }
.chargement { display: grid; place-items: center; padding: 60px 0; color: var(--texte-3); }
.chargement::before { content: ''; width: 28px; height: 28px; border: 3px solid var(--bord); border-top-color: var(--or); border-radius: 50%; animation: tourne .8s linear infinite; margin-bottom: 10px; }
@keyframes tourne { to { transform: rotate(360deg); } }
.mdp-provisoire { font: 700 24px ui-monospace, monospace; letter-spacing: .06em; background: var(--or-pale); border: 1px dashed var(--or); padding: 12px; text-align: center; border-radius: var(--r-s); margin: 10px 0; user-select: all; }
.texte-2 { color: var(--texte-2); } .texte-3 { color: var(--texte-3); } .petit { font-size: 13px; }
.droite { text-align: right; } .gras { font-weight: 700; }
.mt { margin-top: 14px; } .mb0 { margin-bottom: 0; }
.liste-cle { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14px; } .liste-cle dt { color: var(--texte-2); } .liste-cle dd { margin: 0; font-weight: 500; }
pre.rapport { white-space: pre-wrap; font: 14px/1.5 var(--corps); background: #ECE5DD; padding: 14px; border-radius: var(--r); margin: 0; }
pre.rapport .bulle { background: #fff; }

@media print {
  body * { visibility: hidden; } .imprimable, .imprimable * { visibility: visible; }
  .imprimable { position: absolute; left: 0; top: 0; border: 0; }
}
@media (max-width: 959px) { .caisse { padding-bottom: 72px; } }
.caisse > *, .grille > *, .entete > * { min-width: 0; }
.barre .espace { min-width: 0; overflow: hidden; }
.nom-ent { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 520px) { .etat-sync span { max-width: 92px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .barre .logo { height: 20px; } }
.bandeau svg { width: 18px; height: 18px; flex: none; }
details.options { border: 1px solid var(--bord); border-radius: var(--r-s); padding: 10px 12px; margin-top: 4px; background: #FAFBFC; }
details.options > summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--bleu); }
details.options[open] > summary { margin-bottom: 4px; }
.guide { display: grid; gap: 10px; }
.guide a { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--bord); border-radius: var(--r-s); color: inherit; background: #fff; }
.guide a:hover { border-color: var(--or); }
.guide b.n { width: 30px; height: 30px; border-radius: 50%; background: var(--nuit); color: var(--or); display: grid; place-items: center; flex: none; font-family: var(--titre); }
.guide a.fait b.n { background: var(--vert); color: #fff; }
/* Accueil : un chiffre principal, deux secondaires */
.jour { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .jour { grid-template-columns: 2fr 1fr 1fr; } }
.jour > * { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--r); min-width: 0; }
.jour-principal { background: var(--nuit); color: #fff; }
.jour-principal .v { font: 700 34px/1.1 var(--titre); color: var(--or); font-variant-numeric: tabular-nums; }
.jour-principal .l { color: #C9D2DE; font-size: 14px; } .jour-principal .s { color: #9AA8BC; font-size: 13px; }
.jour-chiffre { background: var(--carte); border: 1px solid var(--bord); color: inherit; }
.jour-chiffre:hover { border-color: var(--or); }
.jour-chiffre .l { font-size: 13px; color: var(--texte-2); } .jour-chiffre .v { font: 700 22px var(--titre); font-variant-numeric: tabular-nums; } .jour-chiffre .s { font-size: 12px; color: var(--texte-3); }
.cote .sep { text-transform: none; letter-spacing: 0; font-size: 12px; }
@media (max-width: 560px) { .masque-mobile { display: none; } }
.liens-connexion { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; font-size: 14px; }
.liens-connexion a { color: var(--bleu); font-weight: 500; }
