/* Spanish site — the English/Español toggle injected on every page by SpanishSite middleware.
   Fixed bottom-right (bottom-left is taken by the CaseFile AI demo dock). Below modals (1000+). */
.tg-lang-claude {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 900;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.tg-lang-claude__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #ffffff;
  color: #0a3f3f;
  border: 1px solid rgba(10, 63, 63, 0.18);
  box-shadow: 0 4px 14px rgba(7, 44, 44, 0.14);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}
.tg-lang-claude__link:hover,
.tg-lang-claude__link:focus-visible {
  background: #0a3f3f;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(7, 44, 44, 0.22);
}
.tg-lang-claude__link:focus-visible {
  outline: 2px solid #0a3f3f;
  outline-offset: 2px;
}
.tg-lang-claude__icon {
  flex: none;
}
@media print {
  .tg-lang-claude { display: none; }
}
/* Pages with the master header carry their own toggle (.mh-lang / .mh-lang-chip); the pill shows there
   only on 1024–1059px desktops, where the header has no room for it (master-header-claude.css). */
.tg-lang-claude--nav .tg-lang-claude__link { display: none; }
@media (min-width: 1024px) and (max-width: 1059px) {
  .tg-lang-claude--nav .tg-lang-claude__link { display: inline-flex; }
}
