/* Lestha Send 3.111.2 — lisibilité : chaque texte garde sa couleur accordée au fond qu'il a réellement
   (chargé après identite.css ; style.css intact).

   1. Salle de réunion : elle reste sombre même quand le site est en thème clair. Ses panneaux reprennent donc
      tout le jeu de couleurs du thème sombre (texte, gris, champs, indications), au lieu de mélanger un fond
      sombre et des couleurs prévues pour le clair. C'était la cause du texte blanc sur champ blanc. */
body.in-meet .meet, body.in-meet .meet-panel, body.in-meet .meet-more, body.in-meet .meet-react, body.in-meet .meet-bar,
body.in-meet .mt-vote, body.in-meet .mt-qlive {
  --bg: #111413; --bg-2: #161a18;
  --surface: #191d1b; --surface-2: #1f2421; --surface-solid: #191d1b; --elev: #222725;
  --border: #29302d; --border-2: #38403c;
  --text: #e8ece9; --muted: #9ea8a3; --faint: #8f9994;
  --cyan: #4cc3a6; --teal: #4cc3a6; --brand: #4cc3a6; --on-brand: #0d1412; --brand-soft: rgba(76, 195, 166, .12);
  --ok: #4cc3a6; --danger: #ef6f5e; --rose: #ef6f5e; --amber: #e2a54a; --violet: #a99cf0;
  --ring: 0 0 0 3px rgba(76, 195, 166, .28);
  --well: 21 25 23; --well-2: 25 29 27; --modal: #1c201e;
  --t-cyan: #7fd8c2; --t-ok: #7fd8c2; --t-bad: #f4a093; --t-warn: #edc77f; --t-violet: #c9c0f7;
  color-scheme: dark;
}
/* Champs de la salle (question, discussion, sondage, recherche, minuteur…) : fond sombre aussi pendant la saisie */
body.in-meet .meet-panel .input, body.in-meet .meet-more .input, body.in-meet .meet-react .input, body.in-meet .meet .input,
body.in-meet .meet-panel input:not([type=checkbox]):not([type=radio]):not([type=range]), body.in-meet .meet-panel textarea, body.in-meet .meet-panel select {
  background: rgba(255, 255, 255, .06) !important; color: #eef2ef !important; caret-color: #4cc3a6;
  border-color: rgba(255, 255, 255, .14) !important; -webkit-text-fill-color: #eef2ef;
}
body.in-meet .meet-panel .input:focus, body.in-meet .meet-more .input:focus, body.in-meet .meet-react .input:focus, body.in-meet .meet .input:focus,
body.in-meet .meet-panel input:focus, body.in-meet .meet-panel textarea:focus, body.in-meet .meet-panel select:focus {
  background: rgba(255, 255, 255, .09) !important; color: #ffffff !important; -webkit-text-fill-color: #ffffff;
  border-color: #4cc3a6 !important; box-shadow: 0 0 0 3px rgba(76, 195, 166, .28) !important; outline: none;
}
body.in-meet .meet-panel ::placeholder, body.in-meet .meet-more ::placeholder, body.in-meet .meet ::placeholder { color: #8f9994 !important; -webkit-text-fill-color: #8f9994; opacity: 1; }
body.in-meet .meet-panel select option { background: #1c201e; color: #e8ece9; }
body.in-meet .meet-panel input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px #232826 inset !important; -webkit-text-fill-color: #eef2ef !important; }
/* Questions : carte du champ un peu plus présente pour qu'on voie où écrire */
body.in-meet .qa-form { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); }
body.in-meet .qa-anon { color: #b4bdb8; }

/* 2. Carte « Scannez pour… » : quand elle est posée dans une carte du site (page de gestion, fin d'envoi),
      elle prend le fond du thème ; son texte suit donc le thème aussi. */
.qr-card.card { color: var(--text); }
/* Quand elle reste sur fond blanc (invitation, dépôt, à proximité, plein écran), ses textes gris restent foncés. */
.qr-card:not(.card) { --text: #151917; --muted: #56605b; --faint: #616b66; color: #151917; }

/* 3. Indications des champs : jamais plus pâles que le texte « discret » du thème */
:root[data-theme="light"] .input::placeholder { color: #6b746f; }
.input::placeholder { opacity: 1; }
