.tfj-language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 36px;
  padding: 3px;
  border: 1px solid rgba(107, 118, 132, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

html[lang="en"] body {
  word-break: normal;
  overflow-wrap: anywhere;
}

html[lang="en"] .audit-day-group > summary::after {
  content: "Expand";
}

html[lang="en"] .audit-day-group[open] > summary::after {
  content: "Collapse";
}

html[lang="en"] .word-fallback-editor:empty::before {
  content: "Start writing your document.";
}

.tfj-language-switch button {
  min-width: 62px;
  min-height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #6b7684;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
}

.tfj-language-switch button:hover {
  color: #0b6cff;
}

.tfj-language-switch button.is-active,
.tfj-language-switch button[aria-pressed="true"] {
  background: #418efe;
  color: #fff;
}

.tfj-language-switch button:focus-visible {
  outline: 3px solid rgba(65, 142, 254, 0.32);
  outline-offset: 2px;
}

.tfj-language-switch--floating {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 10020;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.tfj-translation-notice {
  width: min(100%, 1080px);
  margin: 0 auto 18px;
  padding: 12px 14px;
  border: 1px solid rgba(65, 142, 254, 0.24);
  border-radius: 12px;
  background: rgba(65, 142, 254, 0.07);
  color: #334155;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .tfj-language-switch button {
    min-width: 56px;
  }
}
