/* HealLine language switcher only. Fixed overlay does not take up page layout space. */
#kmc-language-switcher,.kmc-language-switcher{position:fixed;right:max(14px,env(safe-area-inset-right,0px));bottom:max(14px,env(safe-area-inset-bottom,0px));z-index:9990;display:block;width:auto;max-width:calc(100vw - 28px);margin:0;padding:0;color:#172033;font:inherit;line-height:1.25;background:transparent;border:0;box-shadow:none;pointer-events:none}
.kmc-language-toggle,.kmc-language-option{font:inherit;-webkit-tap-highlight-color:transparent;cursor:pointer;pointer-events:auto}
.kmc-language-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;max-width:100%;padding:0 13px;color:#172033;background:rgba(255,255,255,.97);border:1px solid rgba(22,34,54,.13);border-radius:999px;box-shadow:0 4px 18px rgba(20,32,50,.14);font-size:13px;font-weight:600;letter-spacing:.01em;transition:box-shadow .16s ease,border-color .16s ease,transform .16s ease;touch-action:manipulation}
.kmc-language-toggle:hover{border-color:rgba(22,34,54,.28);box-shadow:0 6px 22px rgba(20,32,50,.18)}.kmc-language-toggle:active{transform:translateY(1px)}
.kmc-language-toggle:focus-visible,.kmc-language-option:focus-visible{outline:3px solid #5b9cff;outline-offset:3px}
.kmc-language-globe{width:17px;height:17px;flex:0 0 17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.kmc-language-chevron{width:13px;height:13px;flex:0 0 13px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:transform .16s ease}
.kmc-language-switcher.is-open .kmc-language-chevron{transform:rotate(180deg)}
.kmc-language-menu{position:absolute;right:0;bottom:calc(100% + 9px);min-width:176px;padding:5px;color:#172033;background:#fff;border:1px solid rgba(22,34,54,.10);border-radius:14px;box-shadow:0 12px 34px rgba(20,32,50,.18);pointer-events:auto;transform-origin:bottom right;animation:kmc-language-menu-in .14s ease-out}
.kmc-language-menu[hidden]{display:none!important}
.kmc-language-option{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:42px;padding:9px 11px;color:#253047;text-align:left;background:transparent;border:0;border-radius:9px;font-size:14px;font-weight:500}
.kmc-language-option:hover{background:#f3f6fa}.kmc-language-option[aria-checked="true"]{color:#174ea6;background:#edf4ff;font-weight:650}
.kmc-language-check{width:16px;color:#174ea6;opacity:0;font-size:15px}.kmc-language-option[aria-checked="true"] .kmc-language-check{opacity:1}
@keyframes kmc-language-menu-in{from{opacity:0;transform:translateY(4px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:480px){#kmc-language-switcher,.kmc-language-switcher{right:max(10px,env(safe-area-inset-right,0px));bottom:max(10px,env(safe-area-inset-bottom,0px))}.kmc-language-toggle{min-height:40px;padding:0 11px;gap:7px}}
@media(prefers-reduced-motion:reduce){.kmc-language-toggle,.kmc-language-chevron{transition:none}.kmc-language-menu{animation:none}}
/* App: sit above the fixed bottom tab bar. */
html.kmc-app #kmc-language-switcher,html.kmc-app .kmc-language-switcher{bottom:calc(78px + env(safe-area-inset-bottom,0px))}
html.kmc-app.kmc-kb #kmc-language-switcher{display:none!important}
/* Hide while on a call or inside a chat page, so it never covers the controls. */
body:has(#kmc-room) #kmc-language-switcher,body:has(#kmc-chatpage) #kmc-language-switcher{display:none!important}
/* Ethiopic script reads better with a proper font and a little more line height. */
html[lang="ti"] body,html.kmc-lang-ti body,html[lang="ti"] button,html[lang="ti"] input,html[lang="ti"] textarea,html[lang="ti"] select{font-family:"Noto Sans Ethiopic","Nyala","Abyssinica SIL",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
html[lang="ti"] body{line-height:1.6}

/* No underlines anywhere in HealLine screens. */
[class*="kmc-"] a,a[class*="kmc-"],.kmc-shell a,#kmc-room a,#kmc-chatpage a,[class*="kmc-"] summary,button[class*="kmc-"]{text-decoration:none!important}
[class*="kmc-"] a:hover,a[class*="kmc-"]:hover,.kmc-shell a:hover{text-decoration:none!important}
