/* A passive, compact language suggestion; never a blocking dialog. */
.language-prompt[hidden] { display: none !important; }
.language-prompt {
  position: fixed;
  z-index: 70;
  left: 16px;
  bottom: 16px;
  width: 300px;
  max-width: calc(100vw - 32px);
  padding: 14px 16px;
  border: 1px solid var(--line, #d2e8dc);
  border-radius: 14px;
  background: var(--card, #fff);
  color: var(--ink, #0b2117);
  box-shadow: 0 8px 28px rgba(11, 33, 23, .13);
  font-family: inherit;
  line-height: 1.4;
  text-align: left;
}
.language-prompt-copy { display: flex; align-items: center; gap: 10px; min-width: 0; }
.language-prompt-icon { width: 22px; height: 22px; flex: 0 0 22px; color: var(--brand, #0b7d4c); }
.language-prompt-copy > div { min-width: 0; }
.language-prompt h2 { margin: 0 0 2px; color: inherit; font-size: 14px; font-weight: 700; line-height: 1.4; }
.language-prompt p { margin: 0; color: var(--ink-soft, #496c5b); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.language-prompt strong { color: var(--ink, #0b2117); font-weight: 700; }
.language-prompt-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.language-prompt button {
  min-width: 54px;
  min-height: 34px;
  margin: 0;
  padding: 6px 14px;
  border: 1px solid var(--line, #d2e8dc);
  border-radius: 8px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
}
.language-prompt-no { background: transparent; color: var(--ink-soft, #496c5b); }
.language-prompt-yes { background: var(--brand, #0b7d4c); color: #fff; }
.language-prompt-no:hover { background: var(--surface, #dff4e9); }
.language-prompt-yes:hover { filter: brightness(1.06); }
.language-prompt button:focus-visible { outline: 2px solid var(--brand, #0b7d4c); outline-offset: 3px; }
.language-prompt button:disabled { opacity: .65; cursor: wait; }
.language-prompt .language-prompt-error { margin-top: 8px; color: #914813; }
@media (max-width: 520px) {
  .language-prompt { left: 12px; right: 12px; width: auto; max-width: 340px; padding: 12px 14px; }
  .language-prompt button { min-height: 36px; }
}
