/* NeoVolt — app client (phase 6, 21/10/2026). Même design que le dashboard v2 : clair / sombre automatique. */
:root {
  --bg: #F6F7F9; --surface: #FFFFFF; --surface2: #F2F4F7; --line: #E4E7EC; --line2: #EEF0F3;
  --text: #0E1116; --soft: #3A414D; --muted: #6B7280;
  --accent: #C8F25A; --accent-ink: #4D7A00; --accent-soft: #F2FCD9;
  --inverse: #0E1116; --inverse-text: #FFFFFF;
  --ok: #12B76A; --ok-soft: #E8F8F0; --blue: #2E6BE6; --blue-soft: #EAF1FE;
  --warn: #B54708; --warn-soft: #FEF4E6; --danger: #D92D20; --danger-soft: #FEECEB;
  --shadow: 0 1px 2px rgba(16,24,40,.04), 0 1px 3px rgba(16,24,40,.06);
  --voile: rgba(16,24,40,.45);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B0D11; --surface: #13161C; --surface2: #1A1E26; --line: #262B35; --line2: #1E232C;
    --text: #F3F5F8; --soft: #C7CCD6; --muted: #8B93A3;
    --accent-ink: #C8F25A; --accent-soft: rgba(200,242,90,.10);
    --inverse: #F3F5F8; --inverse-text: #0B0D11;
    --ok: #32D583; --ok-soft: rgba(50,213,131,.12); --blue: #7AA7FF; --blue-soft: rgba(122,167,255,.13);
    --warn: #FDB022; --warn-soft: rgba(253,176,34,.12); --danger: #F97066; --danger-soft: rgba(249,112,102,.13);
    --shadow: 0 0 0 1px rgba(255,255,255,.02); --voile: rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B0D11; --surface: #13161C; --surface2: #1A1E26; --line: #262B35; --line2: #1E232C;
  --text: #F3F5F8; --soft: #C7CCD6; --muted: #8B93A3;
  --accent-ink: #C8F25A; --accent-soft: rgba(200,242,90,.10);
  --inverse: #F3F5F8; --inverse-text: #0B0D11;
  --ok: #32D583; --ok-soft: rgba(50,213,131,.12); --blue: #7AA7FF; --blue-soft: rgba(122,167,255,.13);
  --warn: #FDB022; --warn-soft: rgba(253,176,34,.12); --danger: #F97066; --danger-soft: rgba(249,112,102,.13);
  --shadow: 0 0 0 1px rgba(255,255,255,.02); --voile: rgba(0,0,0,.6);
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--text); font: 15px/1.45 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.num { font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: -.01em; }
.muted { color: var(--muted); }
.petit { font-size: 13px; }
.centre { text-align: center; }

.appli { max-width: 520px; margin: 0 auto; min-height: 100%; display: flex; flex-direction: column; }
.ecran { flex: 1; padding: calc(env(safe-area-inset-top) + 10px) 18px 110px; }
.sans-nav .ecran { padding-bottom: 28px; }

/* Barre du bas */
.nav { position: fixed; bottom: 0; left: 0; right: 0; display: flex; justify-content: center; border-top: 1px solid var(--line); background: var(--surface); padding: 6px 8px calc(env(safe-area-inset-bottom) + 10px); z-index: 500; }
.nav a { flex: 1; max-width: 104px; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: var(--muted); padding: 6px 0; }
.nav a.actif { color: var(--text); font-weight: 600; }
.nav svg { width: 22px; height: 22px; }
.nav .scan { position: relative; top: -18px; }
.nav .rond { width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: #0A0F1C; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(120,160,20,.35); border: 4px solid var(--bg); }

/* Éléments communs */
.entete { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 14px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; }
.logo i { width: 28px; height: 28px; border-radius: 8px; background: var(--accent); display: inline-flex; align-items: center; justify-content: center; color: #0A0F1C; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--surface2); border: 1px solid var(--line); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.titre { font-size: 24px; font-weight: 700; letter-spacing: -.02em; margin: 4px 0 12px; }
.titre-ligne { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 4px 0 10px; }
.titre-ligne .titre { margin: 0; }
.retour { background: none; border: 0; padding: 6px 0; color: var(--muted); font-size: 14px; display: inline-flex; gap: 4px; align-items: center; }
.carte { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); margin-bottom: 12px; }
.carte-bouton { width: 100%; text-align: start; display: block; }
.solde { background: var(--inverse); color: var(--inverse-text); border: 0; }
.solde .muted { color: inherit; opacity: .65; }
.solde .montant { font-size: 36px; font-weight: 700; letter-spacing: -.03em; margin: 2px 0 6px; }
.solde .montant small { font-size: 16px; font-weight: 600; opacity: .7; }
.solde .pastille { background: rgba(255,255,255,.12); color: inherit; }
:root[data-theme="dark"] .solde .pastille { background: rgba(0,0,0,.08); }
.ligne { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ligne > .num, .ligne > b { white-space: nowrap; }
.section { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin: 18px 2px 8px; }
.pastille { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--surface2); color: var(--soft); white-space: nowrap; }
.pastille::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.p-ok { background: var(--ok-soft); color: var(--ok); }
.p-bleu { background: var(--blue-soft); color: var(--blue); }
.p-warn { background: var(--warn-soft); color: var(--warn); }
.p-danger { background: var(--danger-soft); color: var(--danger); }
.p-off { color: var(--muted); }
.pulse { animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .45; } }
.restant { font-size: 12px; color: var(--muted); margin-top: 3px; text-align: end; }
.btn { width: 100%; border: 0; border-radius: 14px; padding: 15px; font-weight: 600; font-size: 16px; display: block; text-align: center; }
.btn + .btn { margin-top: 10px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-accent { background: var(--accent); color: #0A0F1C; }
.btn-noir { background: var(--inverse); color: var(--inverse-text); }
.btn-ligne { background: var(--surface); border: 1px solid var(--line); }
.btn-danger { background: var(--danger-soft); color: var(--danger); }
.btn-rouge { background: var(--danger); color: #fff; }
.btn-gris { background: var(--surface2); color: var(--muted); }
.btn-petit { padding: 10px; font-size: 14px; border-radius: 12px; }
.boutons { display: flex; gap: 8px; margin-top: 12px; }
.boutons .btn { margin: 0; }
.champ { display: block; margin-bottom: 12px; }
.champ span { display: block; font-size: 13px; font-weight: 500; color: var(--soft); margin-bottom: 6px; }
.champ input { width: 100%; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 16px; }
.champ input:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: transparent; }
.erreur { background: var(--danger-soft); color: var(--danger); border-radius: 14px; padding: 12px 14px; font-size: 14px; margin: 0 0 12px; }
.alerte { background: var(--warn-soft); color: var(--warn); border-radius: 14px; padding: 12px 14px; font-size: 13px; font-weight: 500; margin-bottom: 12px; }
.info { background: var(--blue-soft); color: var(--blue); border-radius: 14px; padding: 12px 14px; font-size: 13px; margin-bottom: 12px; }
.astuce { background: var(--accent-soft); color: var(--accent-ink); border-radius: 14px; padding: 12px 14px; font-size: 13px; font-weight: 500; margin-bottom: 12px; }
.note { font-size: 12.5px; margin: 6px 4px 0; }
.borne { display: flex; gap: 12px; align-items: center; min-width: 0; }
.borne .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--surface2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 12px; font-weight: 700; }
.borne .ico.dc { background: var(--accent-soft); color: var(--accent-ink); }
.borne .ico.ac { background: var(--blue-soft); color: var(--blue); }
.borne b { display: block; }
.borne small { display: block; color: var(--muted); font-size: 13px; }
.liste .el { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line2); gap: 12px; width: 100%; background: none; border-left: 0; border-right: 0; border-top: 0; text-align: start; }
.liste .el:last-child { border-bottom: 0; }
.liste .el b { display: block; font-weight: 600; }
.liste .el small { display: block; color: var(--muted); font-size: 12.5px; }
.liste .el .droite { text-align: end; flex-shrink: 0; }
.carte.liste { padding: 4px 16px; }
.vert { color: var(--ok); font-weight: 600; }
.orange { color: var(--warn); font-weight: 600; }
.credit { color: var(--ok); }
.penalite-mention { color: var(--warn); }

/* Connexion */
.plein { min-height: calc(100vh - 60px); display: flex; flex-direction: column; justify-content: center; padding: 10px 4px; }
.plein.centre .champ { text-align: start; }
.grand-logo { width: 68px; height: 68px; border-radius: 20px; background: var(--accent); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; color: #0A0F1C; }
.plein h1 { font-size: 30px; margin: 0; letter-spacing: -.02em; }
.slogan { color: var(--muted); margin: 4px 0 28px; }
.aide { font-size: 13px; color: var(--muted); text-align: center; margin-top: 16px; }

/* Charge en direct */
.anneau { position: relative; width: 220px; height: 220px; margin: 4px auto 12px; }
.anneau svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.anneau .fond { stroke: var(--line); }
.anneau .valeur { stroke: var(--accent); transition: stroke-dashoffset .6s; }
.anneau .milieu { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.anneau .pct { font-size: 52px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.anneau .pct small { font-size: 22px; }
.anneau .type { font-size: 40px; font-weight: 700; color: var(--blue); }
.restants { display: flex; justify-content: space-around; text-align: center; padding: 12px; }
.restants .sep { width: 1px; background: var(--line); }
.restants .num { font-size: 20px; }
.grille { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.grille .carte { margin: 0; padding: 13px 14px; }
.grille .v { font-size: 21px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.grille .v small { font-size: 13px; }
.grille .l { font-size: 12px; color: var(--muted); }
.compteur { text-align: center; padding: 22px 16px; }
.compteur .num { font-size: 44px; letter-spacing: -.03em; margin: 6px 0; display: block; }
.compteur.penalite .num { color: var(--warn); }

/* Démarrage */
.spin { width: 72px; height: 72px; border-radius: 50%; border: 7px solid var(--line); border-top-color: var(--accent); animation: tourne 1s linear infinite; margin: 0 auto 20px; }
@keyframes tourne { to { transform: rotate(360deg); } }
.etapes { text-align: start; margin: 18px auto 0; font-size: 14px; width: fit-content; }
.etapes div { display: flex; gap: 10px; align-items: center; padding: 4px 0; }
.etapes .fait { color: var(--ok); font-weight: 700; width: 16px; }
.etapes .cours { color: var(--accent-ink); width: 16px; }
.etapes .attente { color: var(--muted); width: 16px; }

/* Scanner */
.scanner { background: #000; color: #fff; margin: -10px -18px -28px; min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: calc(env(safe-area-inset-top) + 14px) 22px 30px; text-align: center; }
.scanner .retour { color: #fff; opacity: .75; align-self: flex-start; }
.video { width: 260px; height: 260px; border-radius: 22px; overflow: hidden; margin: 30px 0 22px; border: 4px solid var(--accent); background: #11151c; position: relative; }
.video video { width: 100%; height: 100%; object-fit: cover; }
.video .laser { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: laser 2s ease-in-out infinite; }
@keyframes laser { 0%,100% { top: 18px; } 50% { top: 232px; } }
.scanner .etapes-photo { text-align: start; background: #11151c; border-radius: 16px; padding: 16px; margin: 22px 0; font-size: 14px; width: 100%; }
.scanner .etapes-photo div { display: flex; gap: 10px; padding: 5px 0; }
.scanner .etapes-photo b { color: var(--accent); }
.scanner .btn-ligne { background: #11151c; border-color: #262B35; color: #fff; }

/* Reçu */
.recu .entete-recu { display: flex; justify-content: space-between; align-items: flex-start; }
.recu .bloc { border-top: 1px dashed var(--line); margin-top: 14px; padding-top: 12px; }
.recu h4 { margin: 0 0 8px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.recu .r { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 3px 0; }
.recu .r span:first-child { color: var(--soft); }
.recu .r span:last-child { white-space: nowrap; text-align: end; }
.recu .sous-total span:last-child { font-weight: 600; }
.recu .total { font-size: 18px; font-weight: 700; padding-top: 8px; }
.recu .total span:first-child { color: var(--text); }
.recu .pied { text-align: center; font-size: 12px; color: var(--muted); margin-top: 14px; }

/* Historique */
.filtres { display: flex; gap: 8px; overflow-x: auto; margin: 0 -18px 12px; padding: 0 18px; scrollbar-width: none; }
.filtres::-webkit-scrollbar { display: none; }
.filtres button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 14px; font-size: 13px; white-space: nowrap; }
.filtres button.actif { background: var(--inverse); color: var(--inverse-text); border-color: var(--inverse); }

/* Chargeurs (carte) */
.carte-geo { height: 46vh; min-height: 260px; margin: 0 -18px 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface2); z-index: 1; }
.carte-geo .leaflet-control-attribution { font-size: 9px; }
:root[data-theme="dark"] .carte-geo .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.85) contrast(.9); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .carte-geo .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.85) contrast(.9); } }
.repere { width: 38px; height: 38px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--accent); border: 3px solid #0A0F1C; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,.3); color: #0A0F1C; }
.repere svg { transform: rotate(45deg); }

/* Compte */
.interrupteur { width: 46px; height: 28px; border-radius: 999px; background: var(--line); position: relative; border: 0; flex-shrink: 0; }
.interrupteur::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.interrupteur[aria-pressed="true"] { background: var(--ok); }
.interrupteur[aria-pressed="true"]::after { left: 21px; }

/* Feuille (fenêtre du bas) et message */
.voile { position: fixed; inset: 0; background: var(--voile); z-index: 1000; display: flex; align-items: flex-end; justify-content: center; }
.feuille { background: var(--surface); width: 100%; max-width: 520px; border-radius: 24px 24px 0 0; padding: 22px 18px calc(env(safe-area-inset-bottom) + 18px); animation: monte .2s ease-out; }
@keyframes monte { from { transform: translateY(40px); opacity: 0; } }
.feuille h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -.02em; text-align: center; }
.feuille p { margin: 0 0 14px; color: var(--muted); text-align: center; font-size: 14px; }
.feuille .emoji { font-size: 34px; text-align: center; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(env(safe-area-inset-bottom) + 96px); background: var(--inverse); color: var(--inverse-text); padding: 11px 16px; border-radius: 12px; font-size: 14px; z-index: 1100; max-width: calc(100% - 32px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.chargement { text-align: center; color: var(--muted); padding: 60px 0; }
.scanner .carte { color: var(--text); text-align: start; width: 100%; }

/* ─── Batterie « façon Apple » (maquette demo_batterie_apple.html, validée le 21/10/2026) ─── */
:root { --vert-sys: #34C759; --orange-sys: #FF9500; --rouge-sys: #FF3B30; --bleu-sys: #007AFF; --trait: rgba(60,60,67,.3);
  --rond: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, Inter, system-ui, sans-serif; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --vert-sys: #30D158; --orange-sys: #FF9F0A; --rouge-sys: #FF453A; --bleu-sys: #0A84FF; --trait: rgba(235,235,245,.3); } }
:root[data-theme="dark"] { --vert-sys: #30D158; --orange-sys: #FF9F0A; --rouge-sys: #FF453A; --bleu-sys: #0A84FF; --trait: rgba(235,235,245,.3); }
.batterie { --niv: var(--vert-sys); position: relative; width: 220px; height: 100px; margin: 26px auto 0; }
.batterie.bas { --niv: var(--rouge-sys); } .batterie.moyen { --niv: var(--orange-sys); }
.batterie .corps { position: absolute; inset: 0 14px 0 0; border-radius: 30px; border: 3.5px solid var(--trait); padding: 6px; }
.batterie .borne { position: absolute; right: 2px; top: 32px; width: 8px; height: 36px; border-radius: 0 8px 8px 0; background: var(--trait); }
.batterie .rempli { height: 100%; border-radius: 22px; background: var(--niv); position: relative; overflow: hidden; transition: width .7s cubic-bezier(.2,.8,.2,1); }
.batterie.charge .rempli::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.45) 50%, transparent 80%); animation: reflet 2.6s ease-in-out infinite; }
.batterie.inconnue .rempli { opacity: .28; animation: pulse 2s infinite; }
@keyframes reflet { 0% { transform: translateX(-110%); } 60%, 100% { transform: translateX(110%); } }
.batterie .eclair { position: absolute; inset: 0 14px 0 0; display: flex; align-items: center; justify-content: center; color: var(--text); }
.batterie .eclair svg { width: 40px; height: 40px; filter: drop-shadow(0 0 2px var(--bg)) drop-shadow(0 0 6px var(--bg)); }
.batterie .trait80 { position: absolute; top: -10px; bottom: -10px; width: 2px; border-radius: 2px; background: var(--trait); }
.batterie .trait80 span { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font: 600 11px var(--rond); color: var(--muted); white-space: nowrap; }
.gros-pct { text-align: center; font: 700 64px/1 var(--rond); letter-spacing: -.03em; margin: 16px 0 0; font-variant-numeric: tabular-nums; }
.gros-pct small { font-size: 30px; color: var(--muted); margin-left: 2px; }
.etat-charge { text-align: center; color: var(--vert-sys); font: 600 16px var(--rond); margin-top: 6px; display: flex; gap: 6px; justify-content: center; align-items: center; }
.etat-charge svg { width: 16px; height: 16px; }
.cible { text-align: center; color: var(--muted); font-size: 14px; margin-top: 2px; }
.tuiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0 12px; }
.tuile { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 10px 12px; }
.tuile .l { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; }
.tuile .v { font: 700 22px var(--rond); letter-spacing: -.01em; margin-top: 2px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tuile .v small { font-size: 13px; color: var(--muted); font-weight: 600; }
.tuile .s { font-size: 11.5px; color: var(--muted); }
.mini-batt { display: inline-block; width: 26px; height: 13px; border-radius: 4px; border: 1.5px solid currentColor; padding: 1.5px; position: relative; vertical-align: -2px; color: var(--vert-sys); }
.mini-batt::after { content: ''; position: absolute; right: -4px; top: 3px; width: 2px; height: 5px; border-radius: 0 2px 2px 0; background: currentColor; }
.mini-batt i { display: block; height: 100%; border-radius: 2px; background: currentColor; }
.occupe-b { display: flex; gap: 6px; align-items: center; justify-content: flex-end; font: 600 15px var(--rond); font-variant-numeric: tabular-nums; }
.anneau-attente { position: relative; width: 210px; height: 210px; margin: 18px auto 0; }
.anneau-attente svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.anneau-attente .fond { stroke: var(--surface2); }
.anneau-attente .val { stroke: var(--vert-sys); transition: stroke-dashoffset .7s; }
.anneau-attente .milieu { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.anneau-attente .t { font: 600 11px var(--rond); color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.anneau-attente .p { font: 700 58px/1.05 var(--rond); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.anneau-attente .p small { font-size: 26px; color: var(--muted); }
.anneau-attente .mini-batt { width: 34px; height: 16px; margin-top: 6px; }
.libre-dans { text-align: center; margin-top: 14px; }
.libre-dans .g { color: var(--muted); font-size: 15px; }
.libre-dans .v { font: 700 34px var(--rond); letter-spacing: -.02em; }
.libre-bientot { text-align: center; font: 700 34px var(--rond); letter-spacing: -.02em; margin-top: 22px; }
.btn-prevenir { background: var(--bleu-sys); color: #fff; margin-top: 16px; }
.btn-prevenir.actif { background: var(--surface); color: var(--bleu-sys); border: 1px solid var(--line); }
.note-privee { text-align: center; color: var(--muted); font-size: 12px; margin-top: 10px; }

/* Choix de la langue (connexion, Mon compte) */
.langues { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.langues button { border: 1px solid var(--line); background: var(--surface); color: var(--muted); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; }
.langues button.actif { background: var(--inverse); color: var(--inverse-text); border-color: var(--inverse); }
.liste .el-langue .langues { margin-top: 0; justify-content: flex-end; }

/* Arabe (droite à gauche) : les dessins (batterie, interrupteur, carte) et les chiffres restent dans le même sens. */
[dir="rtl"] .batterie, [dir="rtl"] .mini-batt, [dir="rtl"] .interrupteur, [dir="rtl"] .carte-geo, [dir="rtl"] .video { direction: ltr; }
[dir="rtl"] .num, [dir="rtl"] .gros-pct, [dir="rtl"] .tuile .v, [dir="rtl"] .anneau-attente .p, [dir="rtl"] .occupe-b { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .gros-pct small { margin-left: 2px; }
[dir="rtl"] body { font-family: system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif; }
.btn-waze { background: #33CCFF; color: #0A0F1C; }
