/* Walooma App — installation, notifications, téléconsultation, envoi gérant. Préfixe .wlx- */
:root {
  --wlx-navy: #0f3552;
  --wlx-navy-900: #0b2a40;
  --wlx-teal: #0e8f80;
  --wlx-teal-soft: #eaf7f4;
  --wlx-ink: #0f2233;
  --wlx-muted: #5d6f7c;
  --wlx-line: #dde5e6;
  --wlx-surface: #ffffff;
  --wlx-surface-2: #f7f9f9;
  --wlx-danger: #b7322b;
}

/* ---------- Défilement (correctifs) ---------- */
.wl-app .wl-main { -webkit-overflow-scrolling: touch; overscroll-behavior-y: contain; scroll-behavior: auto; }
.wl-app .wl-side { overscroll-behavior: contain; }
html.wl-v4-html body.wl-v4-body > .wl-app { height: 100vh; height: 100dvh; }
@supports (height: 100svh) { html.wlx-standalone.wl-v4-html body.wl-v4-body > .wl-app { height: 100dvh; } }

/* ---------- Boutons et éléments communs ---------- */
.wlx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .12s ease, background-color .12s ease;
}
.wlx-btn:active { transform: scale(.98); }
.wlx-btn[disabled] { opacity: .6; cursor: progress; }
.wlx-btn--primary { background: var(--wlx-navy); color: #fff; box-shadow: 0 6px 16px rgba(15, 53, 82, .2); }
.wlx-btn--primary:hover { background: #184a6e; color: #fff; }
.wlx-btn--ghost { background: var(--wlx-surface); color: var(--wlx-ink); border-color: #c5d1d3; }
.wlx-btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.wlx-btn--block { width: 100%; }
.wlx-btn[hidden] { display: none !important; }
.wlx-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 12px; background: transparent; color: var(--wlx-muted); cursor: pointer; flex: none; }
.wlx-icon:hover { background: #edf1f1; }
.wlx-icon svg, .wlx-banner__icon svg, .wlx-visio__icon svg, .wlx-step svg, .wlx-note svg, .wlx-lead svg {
  width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none;
}
.wlx-step svg { display: inline-block; width: 18px; height: 18px; vertical-align: -4px; margin: 0 2px; color: var(--wlx-teal); }
.wlx-step svg circle { fill: currentColor; stroke: none; }
.wlx-muted { color: var(--wlx-muted); font-size: 13px; margin: 0; line-height: 1.5; }

/* ---------- Bannières (espaces) ---------- */
.wlx-banner-wrap { padding: 8px 16px 0; }
.wlx-banner {
  display: flex; align-items: center; gap: 14px; max-width: 1180px; margin: 0 auto;
  padding: 12px 10px 12px 16px; border-radius: 16px;
  background: linear-gradient(135deg, #0b2a40, #184a6e); color: #fff; box-shadow: 0 6px 18px rgba(11, 42, 64, .18);
  animation: wlx-rise .25s ease both;
}
.wlx-banner__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(255, 255, 255, .12); flex: none; }
.wlx-banner__text { display: flex; flex-direction: column; flex: 1; min-width: 0; font-size: 13px; line-height: 1.35; }
.wlx-banner__text strong { font-size: 14px; }
.wlx-banner__text span { color: #c4d4de; }
.wlx-banner .wlx-btn--primary { background: #13a592; box-shadow: none; white-space: nowrap; min-height: 42px; padding: 0 22px; margin-left: 4px; letter-spacing: .01em; }
.wlx-banner .wlx-btn--primary:hover { background: #0e8f80; }
.wlx-banner .wlx-icon { margin-left: 2px; }
.wlx-banner .wlx-icon { color: #c4d4de; }
.wlx-banner .wlx-icon:hover { background: rgba(255, 255, 255, .1); }
@media (max-width: 420px) { .wlx-banner__text span { display: none; } }
@keyframes wlx-rise { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Écran d'accueil mobile ---------- */
.wlx-entry-install { margin-top: 4px; background: #0EA5A8 !important; border-color: #0EA5A8 !important; color: #fff !important; padding: 0 24px !important; gap: 10px; box-shadow: 0 10px 22px rgba(14,165,168,.22) !important; }
@media (display-mode: standalone) { .wl-entry-web, .wlx-entry-install { display: none !important; } }

/* ---------- Fiche d'installation ---------- */
.wlx-sheet { position: fixed; inset: 0; z-index: 2147483000; display: grid; align-items: end; justify-items: center; font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color: var(--wlx-ink); }
.wlx-sheet__backdrop { position: absolute; inset: 0; background: rgba(7, 29, 46, .5); animation: wlx-fade .2s ease; }
.wlx-sheet__panel {
  position: relative; width: 100%; max-width: 520px; max-height: calc(100% - 24px); overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 14px; padding: 18px 20px calc(18px + env(safe-area-inset-bottom, 0px));
  background: var(--wlx-surface); border-radius: 24px 24px 0 0; box-shadow: 0 -12px 40px rgba(11, 42, 64, .25); animation: wlx-up .25s ease;
}
@media (min-width: 640px) { .wlx-sheet { align-items: center; } .wlx-sheet__panel { border-radius: 24px; } }
.wlx-sheet__head { display: flex; align-items: center; justify-content: space-between; }
.wlx-sheet__head h2 { margin: 0; font-size: 20px; font-weight: 700; }
@keyframes wlx-fade { from { opacity: 0; } }
@keyframes wlx-up { from { transform: translateY(30px); opacity: 0; } }

.wlx-tabs { display: flex; gap: 4px; padding: 4px; background: #edf1f1; border-radius: 999px; }
.wlx-tabs button { flex: 1; min-height: 38px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-weight: 650; font-size: 14px; color: var(--wlx-muted); cursor: pointer; }
.wlx-tabs button.is-on { background: #fff; color: var(--wlx-ink); box-shadow: 0 1px 3px rgba(11, 42, 64, .12); }
.wlx-lead { margin: 0; color: var(--wlx-muted); font-size: 14px; line-height: 1.5; }
.wlx-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.wlx-step { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--wlx-line); border-radius: 14px; background: var(--wlx-surface-2); font-size: 15px; line-height: 1.45; }
.wlx-step__n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--wlx-navy); color: #fff; font-weight: 800; font-size: 14px; flex: none; }
.wlx-note { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 10px 12px; border-radius: 12px; background: #fcefd7; color: #5a3a00; font-size: 13px; line-height: 1.45; }

/* ---------- Page /application/ ---------- */
.wlx-installpage { max-width: 640px; margin: 24px auto; padding: 24px 20px; display: flex; flex-direction: column; gap: 18px; font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color: var(--wlx-ink); background: #fff; border: 1px solid var(--wlx-line); border-radius: 24px; box-sizing: border-box; }
.wlx-installpage *, .wlx-sheet * { box-sizing: border-box; }
.wlx-installpage__head { display: flex; gap: 16px; align-items: center; }
.wlx-installpage__head img { width: 72px; height: 72px; border-radius: 18px; flex: none; box-shadow: 0 6px 16px rgba(11, 42, 64, .18); }
.wlx-installpage__head h2 { margin: 0 0 6px; font-size: 24px; line-height: 1.2; }
.wlx-installpage__head p { margin: 0; color: var(--wlx-muted); line-height: 1.5; }
.wlx-installpage__cta { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.wlx-installpage__cta .wlx-btn { min-height: 54px; font-size: 17px; padding: 0 28px; }
.wlx-installpage__guide { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 480px) { .wlx-installpage { margin: 12px; padding: 18px 16px; } .wlx-installpage__head { flex-direction: column; align-items: flex-start; } .wlx-installpage__cta .wlx-btn { width: 100%; } }

/* ---------- Toast (hors espaces) ---------- */
.wlx-toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 2147483001; max-width: min(440px, calc(100% - 32px)); padding: 12px 16px; border-radius: 12px; background: #0b2a40; color: #fff; font: 600 14px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; box-shadow: 0 18px 48px rgba(11, 42, 64, .25); border-left: 4px solid #13a592; transition: opacity .25s, transform .25s; }
.wlx-toast--danger { border-left-color: #f07b72; } .wlx-toast--warn { border-left-color: #e89a2c; } .wlx-toast--info { border-left-color: #7fb0f0; }
.wlx-toast.is-out { opacity: 0; transform: translate(-50%, 8px); }

/* ---------- Téléconsultation ---------- */
.wlx-visio { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 14px; background: var(--wlx-teal-soft); border: 1px solid #cfe9e3; }
.wlx-visio__head { display: flex; gap: 12px; align-items: flex-start; }
.wlx-visio__head > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wlx-visio__head strong { font-size: 15px; }
.wlx-visio__head span { color: var(--wlx-muted); font-size: 13px; line-height: 1.45; }
.wlx-visio__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #fff; color: var(--wlx-teal); flex: none; }
.wlx-visio__form { display: flex; flex-direction: column; gap: 10px; }
.wlx-visio__link { margin: 0; font-size: 13px; overflow-wrap: anywhere; }
.wlx-visio__link a { color: #0a7568; font-weight: 650; }
.wlx-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 650; }
.wlx-field small { font-weight: 500; color: var(--wlx-muted); margin-left: 6px; }
.wlx-field input, .wlx-field select, .wlx-field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid #c5d1d3; border-radius: 12px; background: #fff; font: inherit; font-size: 16px; font-weight: 500; color: var(--wlx-ink); box-sizing: border-box; }
.wlx-field textarea { min-height: 84px; resize: vertical; }
.wlx-field input:focus, .wlx-field select:focus, .wlx-field textarea:focus { outline: none; border-color: var(--wlx-teal); box-shadow: 0 0 0 4px rgba(14, 143, 128, .15); }
.wlx-check { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--wlx-ink); }
.wlx-check input { width: 20px; height: 20px; accent-color: var(--wlx-teal); flex: none; }
.wlx-row { display: flex; flex-wrap: wrap; gap: 10px; }
.wlx-visio-default { gap: 12px; }

/* ---------- Envoi gérant ---------- */
.wlx-push-card { gap: 14px; scroll-margin-top: 16px; }
.wlx-preview { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 16px; background: #edf1f1; max-width: 420px; }
.wlx-preview__icon { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, #0b2a40, #13a592); flex: none; }
.wlx-preview > div { display: flex; flex-direction: column; min-width: 0; font-size: 13px; }
.wlx-preview strong { font-size: 14px; overflow-wrap: anywhere; }
.wlx-preview span { color: var(--wlx-muted); overflow-wrap: anywhere; }
.wlx-hist summary { cursor: pointer; font-weight: 650; font-size: 14px; }
.wlx-hist ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wlx-hist li { display: flex; flex-direction: column; font-size: 13px; }
.wlx-hist li span { color: var(--wlx-muted); }

@media (prefers-reduced-motion: reduce) { .wlx-banner, .wlx-sheet__panel, .wlx-sheet__backdrop { animation: none; } }

/* ---------- Fenêtres centrées : notifications après installation, bienvenue après validation ---------- */
.wlx-sheet__panel--center { align-items: center; text-align: center; gap: 12px; padding-top: 26px; }
.wlx-sheet__panel--center h2 { margin: 2px 0 0; font-size: 21px; line-height: 1.25; }
.wlx-sheet__panel--center .wlx-lead { max-width: 36ch; font-size: 15px; }
.wlx-bigicon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: #eaf7f4; color: #0e8f80; }
.wlx-bigicon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wlx-bigicon--ok { background: #e1f3ea; color: #137a55; }
.wlx-btn--lg { min-height: 54px; font-size: 16px; border-radius: 16px; margin-top: 6px; }
.wlx-btn--link { background: transparent; border: 0; color: #5d6f7c; font-weight: 650; min-height: 40px; box-shadow: none; }
.wlx-btn--link:hover { color: #0f2233; }
.wlx-installpage__guide[hidden] { display: none; }

/* ---------- Visio intégrée ---------- */
.wlx-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wlx-alt { border-top: 1px solid #cfe9e3; padding-top: 8px; }
.wlx-alt > summary { cursor: pointer; font-size: 13px; font-weight: 650; color: #0a7568; padding: 6px 0; }
.wlx-alt[open] > summary { margin-bottom: 8px; }

/* ---------- Espace patient : accès santé / téléconsultation ---------- */
.wlx-health { display: grid; gap: 8px; }
.wlx-health__card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; text-decoration: none; color: #fff; background: linear-gradient(135deg, #0f6e66 0%, #13a592 100%); box-shadow: 0 10px 24px rgba(19,165,146,.22); }
.wlx-health__card:hover { color: #fff; filter: brightness(1.04); }
.wlx-health__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.18); }
.wlx-health__icon svg, .wlx-health__more svg, .wlx-health__tip svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wlx-health__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.wlx-health__text strong { font-size: 16px; line-height: 1.25; }
.wlx-health__text span { font-size: 13px; line-height: 1.4; opacity: .92; }
.wlx-health__go { font-size: 28px; line-height: 1; opacity: .85; }
.wlx-health__more, .wlx-health__tip { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid #cfe9e3; background: #f2fbf9; color: #0a6b60; font-size: 14px; line-height: 1.4; text-decoration: none; }
.wlx-health__more:hover, .wlx-health__tip:hover { background: #e6f7f3; color: #08584f; }
.wlx-health__tip { margin: 0 auto 14px; max-width: 520px; }
.wlx-health__tip[hidden] { display: none; }
.wl-app .wlx-health__card, .wl-app .wlx-health__card strong, .wl-app .wlx-health__card span { color: #fff !important; }
.wl-app .wlx-health__more, .wl-app .wlx-health__more span, .wl-app .wlx-health__tip, .wl-app .wlx-health__tip span, .wl-app .wlx-health__tip strong { color: #0a6b60 !important; }

/* ---------- Guide d'autorisation de la position ---------- */
.wlx-geo-steps { margin: 4px 0 16px; padding-left: 22px; text-align: left; display: grid; gap: 8px; font-size: 15px; line-height: 1.45; color: #20323f; }
.wlx-geo-steps b { color: #0f2233; }
.wlx-geo-btn { margin-top: 10px; }

/* ---------- Zone de travail : bouton Fermer ---------- */
.wlx-zone-close { display: inline-flex; align-items: center; gap: 6px; float: right; margin: -4px 0 4px 12px; padding: 8px 12px; border-radius: 999px; background: #eef3f6; color: #0f2233; font-size: 14px; font-weight: 650; text-decoration: none; }
.wlx-zone-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.wl-app .wlx-zone-close, .wl-app .wlx-zone-close span { color: #0f2233 !important; }

/* ---------- Client : demande santé à la place du suivi GPS ---------- */
.wlx-health-view .wl-mapview__map { display: none !important; }
.wlx-hv { display: grid; gap: 12px; padding: 4px 0 12px; }
.wlx-hv__chip { justify-self: start; padding: 6px 12px; border-radius: 999px; background: #e3f6f1; color: #0a6b60; font-size: 13px; font-weight: 700; }
.wlx-hv__chip.is-wait { background: #fff4e0; color: #8a5300; }
.wl-app .wlx-hv__title { margin: 0; font-size: 26px; line-height: 1.15; }
.wlx-hv__ref { margin: 0; color: #5d6f7c; font-size: 14px; }
.wlx-hv__state { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; border: 1px solid #dfe8ec; background: #fff; }
.wlx-hv__state strong { display: block; font-size: 15px; margin-bottom: 2px; }
.wlx-hv__state span { font-size: 14px; color: #5d6f7c; line-height: 1.45; }
.wlx-hv__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: #e3f6f1; color: #0a6b60; }
.wlx-hv__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Recherche de lieux Google ---------- */
.wlx-places { list-style: none; margin: 6px 0 10px; padding: 6px; border: 1px solid #dfe8ec; border-radius: 14px; background: #fff; box-shadow: 0 12px 28px rgba(15,34,51,.12); display: grid; gap: 2px; position: relative; z-index: 20; }
.wlx-places[hidden] { display: none; }
.wlx-places button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; text-align: left; cursor: pointer; font: inherit; color: #0f2233; }
.wlx-places button:hover, .wlx-places button:focus { background: #f0f7f5; }
.wlx-places strong { font-size: 15px; font-weight: 650; }
.wlx-places span { font-size: 13px; color: #5d6f7c; }
.wlx-places__by { padding: 4px 12px 2px; font-size: 11px; color: #8a9aa5; text-align: right; }

/* ---------- Sensation « application » : transitions entre écrans et retour tactile ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .2s; animation-timing-function: cubic-bezier(.2, .7, .3, 1); }
::view-transition-old(root) { animation-name: wlx-vt-out; }
::view-transition-new(root) { animation-name: wlx-vt-in; }
@keyframes wlx-vt-out { to { opacity: 0; } }
@keyframes wlx-vt-in { from { opacity: 0; transform: translateY(6px); } }
.wl-app .wl-tabbar { view-transition-name: wlx-tabbar; }
::view-transition-group(wlx-tabbar) { animation: none; }
.wl-app a, .wl-app button, .wl-app [role="button"], .wl-app label { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.wl-app .wl-btn, .wl-app .wlx-btn, .wl-app .wl-tabbar__item, .wl-app .wl-side__item, .wl-app .wl-services > *, .wlx-health__card { transition: transform .12s ease, background-color .15s ease, box-shadow .15s ease; }
.wl-app .wl-btn:active, .wl-app .wlx-btn:active, .wl-app .wl-tabbar__item:active, .wl-app .wl-services > *:active, .wlx-health__card:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .wl-app .wl-btn:active, .wl-app .wlx-btn:active, .wl-app .wl-tabbar__item:active, .wl-app .wl-services > *:active, .wlx-health__card:active { transform: none; }
}

/* ---------- Profil : suppression du compte ---------- */
.wlx-delete { display: grid; gap: 2px; margin: 28px 0 8px; padding: 16px 0 0; border-top: 1px solid #e3eaee; text-align: center; }
.wl-app .wlx-delete a { color: #c0352b !important; font-weight: 650; font-size: 15px; text-decoration: none; }
.wlx-delete span { font-size: 12px; color: #8a9aa5; }

/* ---------- Continuer avec Apple (charte Apple : bouton noir, logo blanc) ---------- */
.wlx-apple { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; margin-top: 10px; padding: 0 18px; border-radius: 999px; background: #000; color: #fff !important; font-weight: 650; font-size: 15px; text-decoration: none; }
.wlx-apple svg { width: 18px; height: 18px; fill: #fff; flex: none; }
.wlx-apple:active { transform: scale(.98); }
.wlx-apple-error { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: #fde8e6; color: #9b1c13; font-size: 14px; }

/* ---------- Nouvelle demande : services médicaux ---------- */
.wlx-hs { margin: 18px 0 8px; padding: 16px; border-radius: 18px; background: #f2fbf9; border: 1px solid #cfe9e3; display: grid; gap: 12px; }
.wlx-hs[hidden] { display: none; }
.wlx-hs__head { display: flex; gap: 10px; align-items: flex-start; color: #0a6b60; }
.wlx-hs__head svg, .wlx-hs__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wlx-hs__head strong { display: block; font-size: 16px; color: #0f2233; }
.wlx-hs__head span { font-size: 13px; color: #5d6f7c; }
.wlx-hs__list { display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .wlx-hs__list { grid-template-columns: 1fr 1fr; } }
.wl-app .wlx-hs__card { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; background: #fff; border: 1px solid #dfe8ec; text-decoration: none; color: #0f2233 !important; transition: transform .12s ease, box-shadow .15s ease; }
.wl-app .wlx-hs__card:active { transform: scale(.98); }
.wlx-hs__icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: #e3f6f1; color: #0a6b60; }
.wlx-hs__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wlx-hs__text strong { font-size: 15px; }
.wlx-hs__text span { font-size: 13px; color: #5d6f7c !important; line-height: 1.4; }
.wlx-hs__text em { font-style: normal; font-size: 13px; font-weight: 650; color: #0a6b60; }
.wl-app .wlx-hs__more { font-size: 14px; font-weight: 650; color: #0a6b60 !important; text-decoration: none; }
.wlx-hs__on { color: #0a7a3e; font-weight: 700; }
.wlx-hs-warn { display: grid; gap: 4px; margin: 10px 0 14px; padding: 12px 14px; border-radius: 14px; background: #fff4e0; border: 1px solid #f3d9a8; }
.wlx-hs-warn strong { font-size: 15px; color: #7a4b00; }
.wlx-hs-warn span { font-size: 14px; color: #7a4b00; line-height: 1.45; }

/* Bandeau en direct : demande santé mise à jour */
.wlx-hs-live{position:fixed;left:12px;right:12px;bottom:calc(84px + env(safe-area-inset-bottom));z-index:9998;display:flex;gap:12px;align-items:center;padding:14px 16px;border-radius:16px;background:#0f7a55;color:#fff;text-decoration:none;box-shadow:0 10px 30px rgba(0,0,0,.25);animation:wlxSlideUp .3s ease}
.wlx-hs-live svg{width:26px;height:26px;flex:none;fill:none;stroke:currentColor;stroke-width:2}
.wlx-hs-live span{display:flex;flex-direction:column;font-size:14px;line-height:1.3}
.wlx-hs-live strong{font-size:15px}
@keyframes wlxSlideUp{from{transform:translateY(20px);opacity:0}to{transform:none;opacity:1}}

/* Demandes du professionnel : onglets Nouvelles / En cours / Terminées */
.wlx-ptabs{display:flex;gap:6px;padding:4px;margin:4px 0 16px;border-radius:14px;background:rgba(15,40,60,.06)}
.wlx-ptabs button{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;border:0;border-radius:10px;background:transparent;font:inherit;font-weight:600;font-size:15px;color:inherit;opacity:.7;cursor:pointer}
.wlx-ptabs button.is-on{background:#fff;opacity:1;box-shadow:0 1px 4px rgba(0,0,0,.12)}
.wlx-ptabs b{min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:#0f7a55;color:#fff;font-size:12px;line-height:22px}
.wlx-ptabs__empty{margin:8px 0;padding:22px 16px;border-radius:14px;background:rgba(15,40,60,.04);text-align:center;opacity:.8}

/* Application du store (WebView) : Google refuse sa connexion dans une WebView (erreur « disallowed_useragent »).
   On garde la connexion par téléphone (et Apple). */
.wlx-native [data-wl-google]{display:none!important}

/* Nouvelle demande santé : qui l'envoie */
.wlx-who{display:flex;align-items:center;gap:10px;margin:8px 0 4px;padding:10px 12px;border-radius:12px;background:rgba(15,122,85,.08)}
.wlx-who__av{flex:none;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#0f7a55;color:#fff;font-weight:700;font-size:16px}
.wlx-who__txt{display:flex;flex-direction:column;line-height:1.3;min-width:0}
.wlx-who__txt strong{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wlx-who__txt span{font-size:13px;opacity:.75}

/* ===== Connexion / inscription : rendu application mobile ===== */
.wlx-auth .wl-check[for="wl-login-remember"]{display:none!important}
.wlx-auth .wlx-iw{position:relative;display:block}
.wlx-auth .wlx-iw .wl-input{padding-left:46px}
.wlx-auth .wlx-iw--pw .wl-input{padding-right:52px}
.wlx-auth .wlx-iw__ic{position:absolute;left:15px;top:50%;width:20px;height:20px;margin-top:-10px;color:#7b8b92;pointer-events:none}
.wlx-auth .wlx-iw__ic svg,.wlx-auth .wlx-eye svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.wlx-auth .wlx-eye{position:absolute;right:6px;top:50%;margin-top:-22px;width:44px;height:44px;display:grid;place-items:center;border:0;background:none;color:#5b6b73;border-radius:12px;cursor:pointer}
.wlx-auth .wlx-eye:focus-visible{outline:2px solid #0B8F8A}
.wlx-auth .wl-field__toggle.wlx-moved{display:none!important}
.wlx-auth .wl-input:focus{border-color:#0B8F8A!important;box-shadow:0 0 0 4px rgba(11,143,138,.14)!important;outline:0}
.wlx-auth .wlx-iw:focus-within .wlx-iw__ic{color:#0B8F8A}
.wlx-pwmeter{display:flex;gap:4px;margin-top:8px}
.wlx-pwmeter i{flex:1;height:4px;border-radius:2px;background:#e3e9eb;transition:background .2s}
.wlx-pwmeter[data-s="1"] i:nth-child(-n+1){background:#d9534f}
.wlx-pwmeter[data-s="2"] i:nth-child(-n+2){background:#e8a33d}
.wlx-pwmeter[data-s="3"] i:nth-child(-n+3){background:#0B8F8A}
.wlx-pwmeter[data-s="4"] i{background:#0B8F8A}
.wlx-pwhint{display:block;margin-top:6px;font-size:12.5px;color:#5b6b73}
.wlx-pwhint.is-ok{color:#0a7a55}.wlx-pwhint.is-bad{color:#c0392b}
@media (max-width: 767px){
  .wlx-auth{background:#0d2f45}
  .wlx-auth .wl-auth{min-height:100dvh;display:flex;flex-direction:column;background:#0d2f45}
  .wlx-auth .wl-auth__hero{display:block!important;position:relative;min-height:0!important;height:auto!important;padding:calc(20px + env(safe-area-inset-top)) 24px 46px!important;flex:none}
  .wlx-auth .wl-auth__hero-inner{position:static!important;padding:0!important;display:flex;flex-direction:column;gap:12px}
  .wlx-auth .wl-auth__points,.wlx-auth .wl-auth__foot{display:none!important}
  .wlx-auth .wl-auth__claim{font-size:21px!important;line-height:1.25!important;margin:6px 0 0!important;max-width:320px}
  .wlx-auth .wl-auth__hero .wl-logo__img{height:30px!important;width:auto}
  .wlx-auth .wl-auth__brand{display:none!important}
  .wlx-auth .wl-auth__panel{flex:1;position:relative;z-index:2;margin-top:-28px;background:#fff;border-radius:28px 28px 0 0;padding:28px 20px calc(28px + env(safe-area-inset-bottom))!important;box-shadow:0 -8px 30px rgba(0,0,0,.18);max-width:none!important;width:auto!important}
  .wlx-auth .wl-ph__title{font-size:26px!important;letter-spacing:-.3px}
  .wlx-auth .wl-input{min-height:54px;border-radius:14px!important;background:#f4f7f8!important;border:1.5px solid #e2e9eb!important;font-size:16px!important}
  .wlx-auth .wl-field{margin-bottom:2px}
  .wlx-auth .wl-form > .wl-link{align-self:flex-end;margin-top:-6px}
  .wlx-auth .wl-field__label{font-size:14px;margin-bottom:8px}
  .wlx-auth .wl-btn--lg,.wlx-auth .wl-form [type="submit"]{min-height:56px;border-radius:16px!important;font-size:16.5px!important}
  .wlx-auth [data-wl-google],.wlx-auth .wlx-apple{min-height:52px;border-radius:16px!important}
}

/* Boutons principaux posés sur une carte claire : texte toujours blanc (le lien de la carte le rendait illisible). */
a.wlx-btn--primary, .wlx-btn--primary, a.wlx-btn--primary:visited { color:#fff !important; }
a.wlx-btn--primary svg, .wlx-btn--primary svg { stroke:currentColor; }
