.fohow-language-native { display: none !important; }
.fohow-language-container { padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
.fohow-language-container > svg { display: none; }
.fohow-language-trigger {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  max-width: 146px; min-width: 0; min-height: 38px; padding: 7px 10px;
  border: 1px solid #dfe7dd; border-radius: 13px;
  color: #345443; background: #fafcf8; font: inherit; font-size: 12px;
  cursor: pointer; box-shadow: 0 2px 6px rgba(35,66,46,.035);
}
.fohow-language-trigger svg { width: 17px; height: 17px; flex: 0 0 auto; }
.fohow-language-trigger span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fohow-language-trigger i { font-style: normal; color: #7a897e; }
.fohow-language-trigger:hover { background: #f1f6ef; border-color: #c4d7c4; }
.fohow-language-dialog {
  box-sizing: border-box; position: fixed; inset: 0; margin: auto; width: min(460px, calc(100% - 32px));
  max-width: 460px; max-height: min(680px, 88dvh); padding: 22px;
  border: 1px solid rgba(214,225,210,.8); border-radius: 26px;
  background: #fcfdf9; color: #263e30; box-shadow: 0 24px 90px rgba(13,40,27,.2);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
  overflow-y: auto; overscroll-behavior: contain;
}
.fohow-language-dialog::backdrop { background: rgba(21,44,31,.26); backdrop-filter: blur(4px); }
.fohow-language-dialog[open] { animation: fohow-language-enter .16s ease-out; }
.fohow-language-handle { display: none; }
.fohow-language-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.fohow-language-heading p { margin: 0 0 6px; font-size: 10px; font-weight: 650; letter-spacing: .15em; color: #8d9b86; }
.fohow-language-heading h2 { margin: 0; font-size: 22px; line-height: 1.3; font-weight: 650; color: #294635; }
.fohow-language-close { flex: 0 0 38px; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; font-size: 25px; color: #5e7563; background: #edf3e9; cursor: pointer; }
.fohow-language-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.fohow-language-option { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 70px; min-width: 0; padding: 12px; border: 1px solid #e6ebdf; border-radius: 15px; background: #fff; color: #304c3a; text-align: left; cursor: pointer; }
.fohow-language-option strong { display: block; font-weight: 550; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.fohow-language-option small { display: block; margin-top: 4px; font-size: 10px; color: #8a9788; line-height: 1.4; }
.fohow-language-option[aria-selected="true"] { background: #edf5e8; border-color: #b6d0ae; box-shadow: inset 0 0 0 1px rgba(182,208,174,.2); }
.fohow-language-option:hover { background: #f4f8ef; }
.fohow-language-check { flex: 0 0 18px; width: 18px; height: 18px; display: grid; place-items: center; font-size: 12px; color: #fff; border-radius: 50%; }
[aria-selected="true"] > .fohow-language-check { background: #608a62; }
.fohow-language-dialog :focus-visible, .fohow-language-trigger:focus-visible { outline: 2px solid #759776; outline-offset: 2px; }
.fohow-language-dialog .fohow-language-option:focus-visible { outline: 2px solid #759776; outline-offset: 1px; }
@media(max-width: 600px) {
  .fohow-language-dialog { inset: auto 0 0; width: 100%; max-width: none; max-height: 88vh; max-height: 88dvh; margin: 0; border-radius: 26px 26px 0 0; padding: 10px 20px calc(22px + env(safe-area-inset-bottom)); }
  .fohow-language-handle { display: block; width: 36px; height: 4px; margin: 0 auto 20px; border-radius: 9px; background: #dce5d6; }
  .fohow-language-heading { margin-bottom: 18px; }
  .fohow-language-heading h2 { font-size: 21px; }
}
@media(max-width: 359px) {
  .fohow-language-trigger { max-width: 114px; padding: 6px; gap: 4px; }
  .fohow-language-dialog { padding-left: 14px; padding-right: 14px; }
  .fohow-language-option { padding: 10px; }
}
@keyframes fohow-language-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media(prefers-reduced-motion: reduce) { .fohow-language-dialog[open] { animation: none; } }
