/* ETHNOS R640 — traduction M2M100 + drapeau d'origine dans les messages. */
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR640AuthorFlag{
  width:18px;height:12px;object-fit:cover;flex:0 0 auto;border-radius:2px;
  border:1px solid rgba(255,255,255,.28);box-shadow:0 1px 2px rgba(0,0,0,.28);
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR640PublishedTranslation{
  display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:5px;padding-top:5px;
  border-top:1px solid var(--salon-line);color:rgba(255,255,255,.62);
  font:600 7.5px/1.35 Inter,Arial,sans-serif;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR640PublishedTranslation small{font:inherit;color:inherit}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR640OriginalToggle,
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR640TranslateMessage{
  appearance:none;border:0;padding:0;background:transparent;color:var(--salon-orange);cursor:pointer;
  font:800 7.5px/1.25 Inter,Arial,sans-serif;text-decoration:none;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR640OriginalToggle:hover,
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR640TranslateMessage:hover{text-decoration:underline}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR640OriginalText{
  flex-basis:100%;margin:1px 0 0;padding-left:7px;border-left:2px solid var(--salon-orange);
  color:rgba(255,255,255,.76);font:500 8px/1.38 Inter,Arial,sans-serif;overflow-wrap:anywhere;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR640TranslateMessage{display:inline-flex;margin-top:5px}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR640ReadingTranslation{
  margin-top:5px;padding:6px 8px;border:1px solid var(--salon-line);border-radius:8px;
  background:rgba(255,255,255,.035);color:#fff;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR640ReadingTranslation small{
  display:block;margin-bottom:3px;color:var(--salon-orange);font:800 7px/1.2 Inter,Arial,sans-serif;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR640ReadingTranslation p{
  margin:0;color:#fff;font:500 9px/1.38 Inter,Arial,sans-serif;overflow-wrap:anywhere;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR640ReadingTranslation.isLoading,
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR640ReadingTranslation.isError{
  color:rgba(255,255,255,.58);font:600 7.5px/1.3 Inter,Arial,sans-serif;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR640TranslationPanel{gap:9px}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR640TranslationProfileHint,
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR640TranslationExplain{
  margin:0;color:rgba(7,26,57,.66);font:600 9px/1.35 Inter,Arial,sans-serif;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR640TranslationExplain{
  padding:7px 8px;border:1px solid rgba(7,26,57,.12);border-radius:8px;background:rgba(255,255,255,.42);
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR573ComposerRow button.isTranslating{opacity:.58;cursor:wait}

/* ========================================================================== */
/* ETHNOS R641 — Traduction signature : mise en valeur marketing + UX claire. */
/* Source : moteur R640 inchangé ; cette couche ne modifie que l'interface.    */
/* ========================================================================== */

/* 1. Le drapeau décrit la personne : sans cadre, sans pastille, sans ombre. */
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR640AuthorFlag{
  width:20px !important;
  height:14px !important;
  object-fit:contain !important;
  margin-left:2px !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  background:transparent !important;
}

/* 2. La traduction devient une fonction signature, séparée des petits outils. */
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR573ComposerRow{
  grid-template-columns:32px minmax(220px,1fr) auto 124px 72px !important;
  align-items:center !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR641TranslationLaunch{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:8px !important;
  width:124px !important;
  min-width:124px !important;
  height:40px !important;
  min-height:40px !important;
  padding:0 11px !important;
  border:1px solid rgba(244,127,60,.72) !important;
  border-radius:11px !important;
  background:linear-gradient(135deg,rgba(244,127,60,.24) 0%,rgba(15,63,78,.96) 72%) !important;
  color:#fff !important;
  box-shadow:0 6px 18px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.08) !important;
  cursor:pointer !important;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR641TranslationLaunch:hover{
  transform:translateY(-1px) !important;
  border-color:var(--salon-orange) !important;
  box-shadow:0 8px 22px rgba(0,0,0,.25),0 0 0 1px rgba(244,127,60,.12) !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR641TranslationLaunch.isActive{
  background:linear-gradient(135deg,var(--salon-orange) 0%,#e86f2d 100%) !important;
  color:#071A39 !important;
  border-color:#f7b184 !important;
  box-shadow:0 7px 22px rgba(244,127,60,.28) !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR641TranslationLaunchIcon{
  display:grid !important;
  place-items:center !important;
  width:27px !important;
  height:27px !important;
  flex:0 0 27px !important;
  border-radius:50% !important;
  background:rgba(255,255,255,.10) !important;
  font-size:17px !important;
  line-height:1 !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR641TranslationLaunch.isActive .ethnosSalonR641TranslationLaunchIcon{
  background:rgba(7,26,57,.10) !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR641TranslationLaunchCopy{
  display:flex !important;
  min-width:0 !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  gap:1px !important;
  text-align:left !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR641TranslationLaunchCopy strong{
  color:inherit !important;
  font:800 9px/1.1 Inter,Arial,sans-serif !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR641TranslationLaunchCopy small{
  color:rgba(255,255,255,.68) !important;
  font:700 6.7px/1.1 Inter,Arial,sans-serif !important;
  letter-spacing:.02em !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR641TranslationLaunch.isActive .ethnosSalonR641TranslationLaunchCopy small{
  color:rgba(7,26,57,.62) !important;
}

/* 3. Panneau traduction : plus éditorial, plus compact, sans case redondante. */
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR641TranslationPanel{
  gap:12px !important;
  padding-top:4px !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR641TranslationHead{
  align-items:flex-start !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR641TranslationHeadCopy{
  display:flex !important;
  flex-direction:column !important;
  gap:3px !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR641TranslationHeadCopy strong{
  color:#071A39 !important;
  font:900 15px/1.15 Inter,Arial,sans-serif !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR641TranslationHeadCopy span{
  color:rgba(7,26,57,.58) !important;
  font:700 8px/1.25 Inter,Arial,sans-serif !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR641TranslationProfileHint{
  padding:7px 9px !important;
  border-radius:9px !important;
  background:rgba(244,127,60,.08) !important;
  color:rgba(7,26,57,.72) !important;
  font-size:8.5px !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR641TranslationLanguage{
  width:min(430px,100%) !important;
  max-width:430px !important;
  gap:6px !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR641TranslationLanguage>span:first-child{
  font:800 9.5px/1.25 Inter,Arial,sans-serif !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR641TranslationSelectWrap{
  width:min(420px,100%) !important;
  max-width:420px !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR641TranslationSelect{
  -webkit-appearance:none !important;
  appearance:none !important;
  width:100% !important;
  min-height:42px !important;
  padding:8px 50px 8px 12px !important;
  border:1px solid rgba(7,26,57,.18) !important;
  border-radius:11px !important;
  background-color:#fff !important;
  /* Flèche standard Ethnos : même chevron et même pad que les filtres Événements. */
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.25 6 6.25 11 1.25' fill='none' stroke='%23f7f2e9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),linear-gradient(180deg,#0b3143 0%,#082536 100%) !important;
  background-repeat:no-repeat,no-repeat !important;
  background-position:right 14px center,right center !important;
  background-size:12px 8px,40px 100% !important;
  color:#071A39 !important;
  font:700 10px/1.25 Inter,Arial,sans-serif !important;
  cursor:pointer !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR641TranslationSelect:focus{
  outline:0 !important;
  border-color:rgba(244,127,60,.78) !important;
  box-shadow:0 0 0 3px rgba(244,127,60,.12) !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR641TranslationExplain{
  width:min(560px,100%) !important;
  padding:8px 10px !important;
  border-color:rgba(7,26,57,.10) !important;
  background:rgba(255,255,255,.48) !important;
  font-size:8.3px !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR641TranslationStatus{
  font-size:7.8px !important;
  color:rgba(7,26,57,.48) !important;
}

/* 4. Traduction dans le fil : prolongement du texte, sans trait séparateur. */
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR640PublishedTranslation{
  display:inline-flex !important;
  align-items:center !important;
  vertical-align:baseline !important;
  width:auto !important;
  max-width:100% !important;
  gap:7px !important;
  flex-wrap:wrap !important;
  margin:8px 0 0 !important;
  padding:4px 8px !important;
  border:0 !important;
  border-radius:999px !important;
  background:rgba(244,127,60,.075) !important;
  color:rgba(255,255,255,.64) !important;
  font:700 7.8px/1.25 Inter,Arial,sans-serif !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR640PublishedTranslation small{
  color:rgba(255,255,255,.68) !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR640OriginalToggle,
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR640TranslateMessage{
  display:inline-flex !important;
  align-items:center !important;
  min-height:22px !important;
  padding:3px 8px !important;
  border:1px solid rgba(244,127,60,.26) !important;
  border-radius:999px !important;
  background:rgba(244,127,60,.08) !important;
  color:var(--salon-orange) !important;
  font:800 7.7px/1.2 Inter,Arial,sans-serif !important;
  text-decoration:none !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR640OriginalToggle:hover,
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR640TranslateMessage:hover{
  background:rgba(244,127,60,.16) !important;
  text-decoration:none !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR640TranslateMessage{
  margin-top:8px !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR640OriginalText{
  flex-basis:100% !important;
  width:100% !important;
  margin:4px 0 0 !important;
  padding:0 !important;
  border:0 !important;
  color:rgba(255,255,255,.76) !important;
  font:500 8px/1.4 Inter,Arial,sans-serif !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR640ReadingTranslation{
  width:min(680px,100%) !important;
  margin-top:8px !important;
  padding:8px 10px !important;
  border:0 !important;
  border-radius:10px !important;
  background:linear-gradient(90deg,rgba(244,127,60,.085),rgba(255,255,255,.025)) !important;
  color:#fff !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR640ReadingTranslation small{
  margin-bottom:4px !important;
  color:var(--salon-orange) !important;
  font:800 7.5px/1.2 Inter,Arial,sans-serif !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR640ReadingTranslation p{
  font:500 9px/1.42 Inter,Arial,sans-serif !important;
}

@media (max-width:1100px){
  html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR573ComposerRow{
    grid-template-columns:32px minmax(160px,1fr) auto 112px 68px !important;
  }
  html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR641TranslationLaunch{
    width:112px !important;min-width:112px !important;padding:0 8px !important;gap:6px !important;
  }
}
@media (max-width:900px){
  html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR573ComposerRow{
    grid-template-columns:32px minmax(0,1fr) auto 104px 62px !important;
  }
  html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR641TranslationLaunch{
    width:104px !important;min-width:104px !important;
  }
}
@media (max-width:700px){
  html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR573ComposerRow{
    grid-template-columns:30px minmax(0,1fr) auto 44px 58px !important;
  }
  html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR641TranslationLaunch{
    width:44px !important;min-width:44px !important;padding:0 !important;justify-content:center !important;
  }
  html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR641TranslationLaunchCopy{display:none !important}
  html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR641TranslationLanguage,
  html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR641TranslationSelectWrap{width:100% !important;max-width:none !important}
}

/* ========================================================================== */
/* ETHNOS R642 — polish traduction : barre, drapeaux réels, fil de messages.  */
/* ========================================================================== */

/* 1. La barre retrouve la proportion R640 : champ moins envahissant sur grand écran. */
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR573ComposerRow{
  grid-template-columns:32px minmax(220px,3fr) auto 62px minmax(0,1fr) !important;
  align-items:center !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR642ComposerActions{
  display:flex !important;
  align-items:center !important;
  gap:7px !important;
  min-width:0 !important;
  white-space:nowrap !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR642TranslationDivider{
  display:block !important;
  width:1px !important;
  height:28px !important;
  flex:0 0 1px !important;
  margin:0 1px !important;
  background:rgba(243,234,217,.20) !important;
  border-radius:999px !important;
}
/* Traduction en premier dans le groupe d'actions, puis séparateur, puis outils. */
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR642ComposerActions .ethnosSalonR641TranslationLaunch{
  order:1 !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR642ComposerActions .ethnosSalonR642TranslationDivider{
  order:2 !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR642ComposerActions .ethnosSalonR573ComposerTools{
  order:3 !important;
}

/* 2. Vrais drapeaux : images locales, y compris dans les listes de langues. */
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR642LanguageFlag{
  width:22px !important;
  height:15px !important;
  flex:0 0 22px !important;
  object-fit:cover !important;
  border:0 !important;
  border-radius:2px !important;
  box-shadow:none !important;
  background:transparent !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR642InlineLanguageFlag{
  width:13px !important;
  height:9px !important;
  flex:0 0 13px !important;
  object-fit:cover !important;
  border:0 !important;
  border-radius:1px !important;
  box-shadow:none !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR642TranslationNativeSelect{
  display:none !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR642TranslationSelectWrap{
  position:relative !important;
  width:min(340px,100%) !important;
  max-width:340px !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR642TranslationLanguage{
  width:min(350px,100%) !important;
  max-width:350px !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR642TranslationTrigger{
  -webkit-appearance:none !important;
  appearance:none !important;
  display:flex !important;
  align-items:center !important;
  gap:9px !important;
  width:100% !important;
  min-height:42px !important;
  padding:8px 48px 8px 12px !important;
  border:1px solid rgba(7,26,57,.18) !important;
  border-radius:11px !important;
  background-color:#fff !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.25 6 6.25 11 1.25' fill='none' stroke='%23f7f2e9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),linear-gradient(180deg,#0b3143 0%,#082536 100%) !important;
  background-repeat:no-repeat,no-repeat !important;
  background-position:right 14px center,right center !important;
  background-size:12px 8px,40px 100% !important;
  color:#071A39 !important;
  cursor:pointer !important;
  text-align:left !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR642TranslationTrigger:focus-visible{
  outline:0 !important;
  border-color:rgba(244,127,60,.78) !important;
  box-shadow:0 0 0 3px rgba(244,127,60,.12) !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR642TranslationTrigger:disabled{
  opacity:.55 !important;
  cursor:not-allowed !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR642TranslationTriggerText{
  min-width:0 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
  font:700 10px/1.25 Inter,Arial,sans-serif !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR642LanguageGlobe{
  display:grid !important;
  place-items:center !important;
  width:22px !important;
  height:15px !important;
  flex:0 0 22px !important;
  font-size:13px !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR642TranslationMenu{
  position:absolute !important;
  z-index:60 !important;
  top:calc(100% + 5px) !important;
  left:0 !important;
  width:100% !important;
  max-height:250px !important;
  overflow:auto !important;
  padding:5px !important;
  border:1px solid rgba(7,26,57,.16) !important;
  border-radius:11px !important;
  background:#fff !important;
  box-shadow:0 16px 34px rgba(7,26,57,.22) !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR642TranslationMenu[hidden]{display:none !important}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR642TranslationOption{
  -webkit-appearance:none !important;
  appearance:none !important;
  display:flex !important;
  align-items:center !important;
  gap:9px !important;
  width:100% !important;
  min-height:34px !important;
  padding:7px 9px !important;
  border:0 !important;
  border-radius:7px !important;
  background:transparent !important;
  color:#071A39 !important;
  cursor:pointer !important;
  text-align:left !important;
  font:700 9.5px/1.2 Inter,Arial,sans-serif !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR642TranslationOption:hover,
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR642TranslationOption[aria-selected="true"]{
  background:rgba(244,127,60,.12) !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR642TranslationProfileHint{
  display:flex !important;
  align-items:center !important;
  gap:6px !important;
  flex-wrap:wrap !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR642ProfileLanguage{
  display:inline-flex !important;
  align-items:center !important;
  gap:5px !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR642ProfileLanguage .ethnosSalonR642LanguageFlag{
  width:18px !important;
  height:12px !important;
  flex-basis:18px !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR642ProfileLanguageSep{
  opacity:.45 !important;
}

/* 3. Mention de traduction collée au flux du message, jamais repoussée au centre. */
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR642PublishedTranslation,
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR640PublishedTranslation{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  justify-self:start !important;
  align-self:flex-start !important;
  width:max-content !important;
  max-width:100% !important;
  gap:7px !important;
  flex-wrap:wrap !important;
  margin:5px 0 0 0 !important;
  padding:3px 7px !important;
  border:0 !important;
  border-radius:999px !important;
  background:rgba(244,127,60,.075) !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR642PublishedTranslationMeta,
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR642ReadingTranslationMeta{
  display:inline-flex !important;
  align-items:center !important;
  gap:4px !important;
  flex-wrap:wrap !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR642TranslationArrow{
  margin:0 1px !important;
  opacity:.7 !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR640OriginalToggle{
  min-height:21px !important;
  padding:3px 8px !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR640OriginalText{
  flex-basis:100% !important;
  width:100% !important;
  margin:2px 0 0 !important;
}

@media (max-width:1100px){
  html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR573ComposerRow{
    grid-template-columns:32px minmax(180px,3fr) auto 62px minmax(0,.6fr) !important;
  }
  html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR642ComposerActions{gap:5px !important}
}
@media (max-width:900px){
  html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR573ComposerRow{
    grid-template-columns:32px minmax(0,1fr) auto 62px !important;
  }
}
@media (max-width:700px){
  html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR573ComposerRow{
    grid-template-columns:30px minmax(0,1fr) auto 58px !important;
  }
  html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR642TranslationDivider{height:24px !important}
  html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR642TranslationLanguage,
  html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR642TranslationSelectWrap{width:100% !important;max-width:none !important}
}

/* ========================================================================== */
/* ETHNOS R643 — mention traduction en prolongement + genre public facultatif. */
/* ========================================================================== */
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR573Text>.ethnosSalonR643PublishedTranslation{
  margin-left:14px !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR643PublishedTranslation{
  display:inline-flex !important;
  align-items:center !important;
  gap:7px !important;
  width:auto !important;
  max-width:100% !important;
  margin-top:0 !important;
  margin-right:0 !important;
  margin-bottom:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:rgba(255,255,255,.62) !important;
  font:700 7.8px/1.25 Inter,Arial,sans-serif !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR643PublishedTranslationMeta{
  display:inline-flex !important;
  align-items:center !important;
  gap:4px !important;
  flex-wrap:nowrap !important;
  white-space:nowrap !important;
  color:inherit !important;
  font:inherit !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR643OriginalToggle{
  display:inline !important;
  min-height:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:var(--salon-orange) !important;
  font:800 7.8px/1.25 Inter,Arial,sans-serif !important;
  white-space:nowrap !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR643OriginalToggle:hover{
  background:transparent !important;
  text-decoration:underline !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR643OriginalText{
  width:100% !important;
  margin:5px 0 0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  color:rgba(255,255,255,.76) !important;
  font:500 8px/1.4 Inter,Arial,sans-serif !important;
}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR643OriginalText[hidden]{display:none !important}

/* Le genre affiché colore uniquement le pseudonyme du Tchat public. */
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR573Meta>strong[data-author-gender="male"]{color:#fff !important}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR573Meta>strong[data-author-gender="female"]{color:#e85c91 !important}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR573Meta>strong[data-author-gender="non_binary"]{color:#b596ff !important}
html[data-ethnos-ui] body.ethnosSalonR573Active .ethnosSalonR573Meta>strong[data-author-gender="hidden"]{color:#b8c1c7 !important}
