.km-support-inbox {
  --chat-ink:#17243b;
  --chat-muted:#63738f;
  --chat-line:#e8edf5;
  --chat-surface:#fff;
  --chat-header:#101216;
  --chat-history:linear-gradient(145deg,#fff 10%,#f6f9fc 78%,#eff6fc);
  --chat-close:#e8edf7;
  position:fixed;
  right:24px;
  bottom:80px;
  z-index:65;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  width:min(336px,calc(100% - 24px));
  height:min(512px,calc(100dvh - 96px));
  margin:0;
  padding:0;
  border:1px solid var(--chat-line);
  border-radius:24px;
  overflow:hidden;
  background:var(--chat-surface);
  color:var(--chat-ink);
  box-shadow:0 18px 52px #0f23433b;
  font-size:14px;
}
html[data-theme=dark] .km-support-inbox,html.dark .km-support-inbox {
  --chat-ink:#edf3ff;
  --chat-muted:#a8b7d5;
  --chat-line:#333e53;
  --chat-surface:#1d2636;
  --chat-history:linear-gradient(145deg,#1b2535,#182232);
  --chat-close:#303d53;
}
.km-support-inbox[hidden],.km-support-emoji[hidden],.km-support-unread[hidden],.km-support-file[hidden],.km-support-inbox input[type=file][hidden] {display:none;}
.km-support-inbox .km-support-heading {display:flex;align-items:center;gap:10px;flex:none;padding:14px 16px 12px;background:var(--chat-header);color:#f5f4f1;border-bottom:1px solid var(--chat-line);}
.km-support-inbox .km-support-heading h2 {font-size:16px;font-weight:700;line-height:1.25;margin:0;color:inherit;}
.km-support-inbox .km-support-heading > div {min-width:0;overflow-wrap:anywhere;}
.km-support-avatar {display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:50%;background:#f5f4f1;overflow:hidden;}
.km-support-avatar img {width:30px;height:30px;object-fit:contain;}
.km-support-inbox.is-connected:not([hidden]) .km-support-avatar {animation:km-support-breathe 3.2s ease-in-out infinite;}
@keyframes km-support-breathe {
  0%,100% {box-shadow:0 0 0 2px #91a8ff,0 0 8px #6963ffaa;}
  50% {box-shadow:0 0 0 3px #ae96ff,0 0 0 6px #785bff88,0 0 16px #8763ff;}
}
@media (prefers-reduced-motion:reduce) {
  .km-support-inbox.is-connected:not([hidden]) .km-support-avatar {animation:none;box-shadow:0 0 0 2px #ae96ff,0 0 8px #6963ffaa;}
}
.km-support-connection {display:flex;align-items:center;gap:5px;margin:2px 0 0;font-size:11px;color:#b7c2d3;}
.km-support-connection.is-connected {color:#69dbab;}
.km-support-connection.is-connected::before {content:"";width:6px;height:6px;background:currentColor;border-radius:50%;}
.km-support-inbox button {display:inline-grid;place-items:center;flex:none;margin:0;padding:0;border:0;border-radius:999px;background:transparent;color:inherit;cursor:pointer;}
.km-support-inbox button:focus-visible {outline:2px solid #377bf7;outline-offset:2px;}
.km-support-inbox button:disabled {opacity:.46;cursor:default;}
.km-support-inbox button svg {width:20px;height:20px;}
.km-support-inbox .km-support-close {width:32px;height:32px;margin-inline-start:auto;background:#ffffff1a;font-size:19px;line-height:1;}
.km-support-inbox .km-support-close svg {display:block;width:14px;height:14px;}
.km-support-messages {display:flex;flex-direction:column;gap:10px;flex:1;min-height:0;overflow:auto;list-style:none;padding:14px;margin:0;background:var(--chat-history);}
.km-support-messages li {display:flex;gap:7px;align-items:center;align-self:flex-start;max-width:94%;}
.km-support-messages .km-support-greeting {align-self:stretch;max-width:none;padding:9px 12px;border:1px solid var(--chat-line);border-inline-start:3px solid #8871f3;border-radius:10px;background:color-mix(in srgb, #8871f3 9%, var(--chat-surface));font-weight:600;line-height:1.45;}
.km-support-messages .from-visitor {align-self:flex-end;flex-direction:row-reverse;}
.km-support-message-avatar {position:relative;width:28px;height:28px;border-radius:50%;overflow:hidden;display:grid;place-items:center;flex:none;background:var(--chat-close);color:var(--chat-ink);}
.km-support-message-avatar img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.km-support-message-avatar svg {width:16px;height:16px;}
.km-support-bubble {min-width:0;padding:4px 10px;border:1px solid var(--chat-line);border-radius:14px;background:var(--chat-surface);line-height:18px;overflow-wrap:anywhere;}
.from-visitor .km-support-bubble {background:#101216;color:#f5f4f1;border-color:#41464e;}
.km-support-bubble p {margin:0;white-space:pre-wrap;}
.km-support-bubble a {color:inherit;text-decoration:underline;display:block;}
.km-support-bubble :is(img,video) {display:block;max-width:100%;width:180px;border-radius:6px;}
.km-support-bubble img {height:auto;}
.km-support-file {display:flex;justify-content:space-between;align-items:center;gap:8px;padding:4px 8px;background:var(--chat-close);border-radius:6px;font-size:12px;}
.km-support-file span {white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.km-support-inbox .km-support-file button {width:24px;height:24px;}
.km-support-inbox form {flex:none;display:block;margin:0;padding:10px 11px 9px;border-top:1px solid var(--chat-line);background:var(--chat-surface);}
.km-support-inbox textarea {box-sizing:border-box;display:block;width:100%;height:48px;min-height:0;margin:0;padding:4px 0;border:0;border-radius:4px;background:transparent;color:inherit;font:inherit;resize:none;}
.km-support-inbox textarea::placeholder {color:var(--chat-muted);}
.km-support-inbox textarea:focus {outline:0;box-shadow:none;}
.km-support-inbox textarea:focus-visible {box-shadow:0 1px 0 #377bf7;}
.km-support-error {margin:4px 0;color:var(--chat-ink);font-size:12px;}
.km-support-error:empty {display:none;}
.km-support-actions,.km-support-tools {display:flex;align-items:center;gap:8px;}
.km-support-actions {justify-content:space-between;margin-top:3px;}
.km-support-tools {position:relative;}
.km-support-inbox .km-support-tools button {width:34px;height:36px;}
.km-support-inbox .km-support-tools button:not(:disabled):hover {background:var(--chat-close);}
.km-support-inbox button[type=submit] {width:clamp(54px,24vw,93px);height:43px;background:#101216;color:#f5f4f1;border:1px solid #41464e;}
.km-support-inbox button[type=submit] svg {width:16px;height:16px;}
.km-support-emoji {position:absolute;inset-inline-start:0;bottom:calc(100% + 4px);display:grid;grid-template-columns:repeat(6,1fr);width:min(224px,calc(100vw - 58px));max-height:min(176px,33dvh);overflow:auto;padding:4px;border:1px solid var(--chat-line);border-radius:12px;background:var(--chat-surface);box-shadow:0 7px 20px #132e5325;}
.km-support-inbox .km-support-emoji button {width:100%;font-size:18px;}
.km-support-unread {background:#c53642;color:#fff;border-radius:999px;padding:1px 5px;font-size:11px;}
button[data-testid="support-launcher"] {display:none;}
@media(max-width:767px) {
  .km-support-inbox {right:12px;bottom:max(132px,calc(env(safe-area-inset-bottom) + 116px));height:min(512px,calc(100dvh - max(144px,env(safe-area-inset-bottom) + 128px)));}
}

body > button[data-km-support-launcher] {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 64;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px 0 14px;
  border: 0;
  border-radius: 999px;
  background: #101216;
  color: #f5f4f1;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 12px 30px #0003;
  cursor: pointer;
}
:root[data-theme="dark"] body > button[data-km-support-launcher] { background: #f3f2ee; color: #111214; }
button[data-km-support-launcher] svg { width: 16px; height: 16px; }
.km-shared-mobile-nav { display: none; }
:root {
  --km-nav-surface: #fff;
  --km-nav-line: #deded9;
  --km-nav-ink: #16181c;
  --km-nav-control: #fff;
  --km-nav-control-ink: #16181c;
}
:root[data-theme="dark"] {
  --km-nav-surface: #202328;
  --km-nav-line: #41454d;
  --km-nav-ink: #f0f1f3;
  --km-nav-control: #202328;
  --km-nav-control-ink: #f0f1f3;
}
.km-shared-mobile-menu {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; overflow: hidden; background: transparent;
  color: var(--ink, #16181c);
}
.km-shared-mobile-menu::backdrop {
  background: linear-gradient(to bottom, #11141b55 calc(100% - 66px - env(safe-area-inset-bottom)), transparent calc(100% - 66px - env(safe-area-inset-bottom)));
}
.km-explore-sheet {
  position: absolute; inset: auto 0 calc(72px + env(safe-area-inset-bottom));
  width: min(460px, calc(100% - 16px)); max-height: calc(100% - 84px - env(safe-area-inset-bottom));
  margin-inline: auto; overflow: auto; overscroll-behavior: contain;
  border: 1px solid var(--line, #deded9); border-radius: 28px;
  background: var(--bg, #f4f2ee); box-shadow: 0 22px 60px #10141d40;
}
.km-shared-mobile-menu[open] .km-explore-sheet { animation: km-explore-enter 360ms cubic-bezier(.2,.8,.25,1) both; }
@keyframes km-explore-enter { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: translateY(0); } }
.km-explore-handle { width: 34px; height: 4px; margin: 8px auto 0; border-radius: 9px; background: var(--line-strong, #c9c7c2); }
.km-explore-sheet > header { padding: 8px 21px 12px; }
.km-explore-sheet h2 { margin: 0; font-size: 23px; font-weight: 550; letter-spacing: -.3px; }
.km-explore-content { display: grid; gap: 9px; padding: 0 14px 15px; }
.km-explore-content > div:empty { display: none; }
.km-explore-content a {
  min-width: 0; color: inherit; text-decoration: none; overflow-wrap: anywhere;
  transition: transform 220ms cubic-bezier(.2,.8,.25,1);
}
.km-explore-content a:active { transform: scale(.97); }
.km-explore-content strong, .km-explore-content small { display: block; }
.km-explore-content strong { font-size: 16px; line-height: 1.2; font-weight: 680; }
.km-explore-content small { margin-top: 4px; font-size: 12px; line-height: 1.35; opacity: .74; }
.km-explore-hero, .km-explore-pair, .km-explore-business a, .km-explore-services a {
  border: 1px solid var(--line, #deded9); border-radius: 19px; background-color: var(--surface, #fff);
  box-shadow: inset 0 1px #ffffff60;
}
.km-explore-hero { background-image: radial-gradient(85% 120% at 0 100%, #ffac9b80, transparent 76%); }
.km-explore-pair {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  background-image: radial-gradient(55% 125% at 0 100%, #bea5f580, transparent 82%),
    radial-gradient(55% 125% at 100% 100%, #94dacc65, transparent 82%);
}
.km-explore-hero a, .km-explore-pair a {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
  gap: 12px; min-height: 113px; padding: 13px 14px;
}
.km-explore-hero a { flex-direction: column-reverse; min-height: 124px; }
.km-explore-hero a strong { font-size: 19px; }
.km-explore-pair a + a::before {
  position: absolute; content: ''; inset: 13px auto 13px 0; width: 1px; background: var(--line, #deded9);
}
.km-explore-hero svg, .km-explore-pair svg {
  box-sizing: content-box; width: 18px; height: 18px; padding: 7px;
  border: 1px solid var(--line, #deded9); border-radius: 10px; background: var(--surface, #fff);
}
.km-explore-business, .km-explore-services { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.km-explore-business a, .km-explore-services a { display: flex; align-items: center; min-height: 52px; gap: 8px; padding: 9px 11px; }
.km-explore-business svg, .km-explore-services svg { flex: none; width: 18px; height: 18px; }
.km-explore-services strong { font-size: 13px; }
.km-explore-close {
  position: fixed; inset: var(--km-explore-close-y) auto auto var(--km-explore-close-x);
  width: var(--km-explore-close-size, 54px); height: var(--km-explore-close-size, 54px);
  margin: 0; transform: none; translate: none;
}
.km-explore-close, .km-shared-mobile-nav > button {
  display: grid; place-items: center; box-sizing: border-box; padding: 0; border: 1px solid var(--km-nav-line); border-radius: 50%;
  background: var(--km-nav-control); color: var(--km-nav-control-ink); cursor: pointer;
}
.km-explore-close svg, .km-shared-mobile-nav > button svg { display: block; width: 24px; height: 24px; }
.km-explore-close svg { animation: km-explore-close-enter 360ms cubic-bezier(.2,.8,.25,1) both; }
@keyframes km-explore-close-enter { from { opacity: 0; transform: rotate(-90deg) scale(.6); } }
.km-shared-mobile-menu :is(a,button):focus-visible { outline: 2px solid #4583dd; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .km-shared-mobile-menu[open] .km-explore-sheet, .km-explore-close svg { animation: none; }
  .km-explore-content a { transition: none; }
}
@media (max-width: 640px) {
  body:has(nav > .km-mobile-nav-surface) > header:not(.account-mobile-header),
  body:has(nav > .km-mobile-nav-surface) .km-mobile-home-nav,
  body:has(nav > .km-mobile-nav-surface) .km-esim-mobile-header { display: none !important; }
  body:has(nav > .km-mobile-nav-surface) { padding-bottom: max(72px,calc(68px + env(safe-area-inset-bottom))); }
  .km-shared-mobile-nav {
    display: block; position: fixed; inset: auto 0 calc(8px + env(safe-area-inset-bottom)); z-index: 40;
    width: 332px; max-width: calc(100% - 28px); height: 54px; margin: 0 auto; color: var(--km-nav-ink);
  }
  .km-shared-mobile-nav::before {
    content: "";
    position: absolute; inset: 0; border: 1px solid var(--km-nav-line); border-radius: 23px;
    background: var(--km-nav-surface);
    mask:
      linear-gradient(#000 0 0) left / calc(50% - 59px) 100% no-repeat,
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='54'%3E%3Cpath d='M0 0H28.6V.5A6 6 0 0 1 33.62 9.78A31.5 31.5 0 0 0 33.62 44.22A6 6 0 0 1 28.6 53.5V54H0ZM120 0H91.4V.5A6 6 0 0 0 86.38 9.78A31.5 31.5 0 0 1 86.38 44.22A6 6 0 0 0 91.4 53.5V54H120Z'/%3E%3C/svg%3E") center / 120px 54px no-repeat,
      linear-gradient(#000 0 0) right / calc(50% - 59px) 100% no-repeat;
    pointer-events: none;
  }
  .km-shared-mobile-nav > span { display: none; }
  .km-shared-mobile-nav > .km-mobile-nav-edges {
    position: absolute; top: 0; left: 50%; translate: -50% 0;
    width: 120px; height: 54px; color: var(--km-nav-line); pointer-events: none;
  }
  .km-shared-mobile-nav > ul { position: relative; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)) 77px repeat(2,minmax(0,1fr)); margin: 0; padding: 0 5px; list-style: none; }
  .km-shared-mobile-nav li a { display: grid; place-items: center; height: 44px; margin-block: 5px; padding: 0; line-height: 1; color: inherit; text-decoration: none; }
  .km-shared-mobile-nav li a svg { display: block; width: 23px; height: 23px; }
  .km-shared-mobile-nav li a[aria-current="page"] { position: relative; }
  .km-shared-mobile-nav li a[aria-current="page"] svg { translate: 0 -3px; }
  .km-shared-mobile-nav li a[aria-current="page"]::after {
    content: ""; position: absolute; bottom: 4px; left: 50%; translate: -50% 0;
    width: 16px; height: 3px; border-radius: 2px; background: currentColor;
  }
  .km-shared-mobile-nav .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .km-shared-mobile-nav > button {
    position: absolute; left: 50%; top: 50%; z-index: 1; translate: -50% -50%;
    width: 54px; height: 54px; margin: 0;
  }
  .km-shared-mobile-nav :is(a, button):focus-visible {
    outline: 2px solid #4583dd; outline-offset: -3px;
  }
  body:has(nav > .km-mobile-nav-surface) > button[data-km-support-launcher] {
    right: max(8px, calc(50% - 218px)); bottom: calc(14px + env(safe-area-inset-bottom));
    width: 42px; height: 42px; padding: 0; justify-content: center;
  }
  body:has(nav > .km-mobile-nav-surface) > button[data-km-support-launcher] > .km-support-launcher-label { display: none; }
  body:has(nav > .km-mobile-nav-surface) > button[data-km-support-launcher] > .km-support-unread { position: absolute; top: -5px; right: -5px; }
  body:has(nav > .km-mobile-nav-surface) > button[data-km-support-launcher] svg { width: 20px; height: 20px; }
}
@media (max-width: 455px) {
  body .km-shared-mobile-nav { left: 8px; right: auto; width: min(332px, calc(100% - 66px)); margin-inline: 0; }
}
@media (max-width: 767px) {
  body > button[data-km-support-launcher] {
    right: 12px;
    bottom: max(80px, calc(env(safe-area-inset-bottom) + 64px));
  }
}


.km-catalog-switcher { display: none; }
@media (max-width: 640px) {
  body:is([data-km-shop], .course-page, :has(> .km-esim-page)) > footer { display: none; }
  .km-catalog-switcher {
    display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px;
    flex: none; width: min(calc(100% - 32px), 420px); margin: max(12px,env(safe-area-inset-top)) auto 16px; padding: 4px;
    border: 1px solid var(--line, #deded9); border-radius: 999px; background: var(--surface, #fff);
  }
  html:has(.km-catalog-switcher) { scrollbar-gutter: stable; }
  body:has(> .km-catalog-switcher) > :is(header, .km-mobile-home-nav) { display: none !important; }
  .km-catalog-switcher + .course-main { margin-top: 0; }
  .km-catalog-switcher a {
    display: grid; place-items: center; min-height: 38px; padding: 4px; border-radius: 999px;
    color: var(--ink, #171c25); font-size: 13px; font-weight: 650; line-height: 1.2;
    text-align: center; text-decoration: none;
  }
  .km-catalog-switcher a[aria-current="page"] { background: #171c25; color: #fff; }
  :root[data-theme="dark"] .km-catalog-switcher a[aria-current="page"] { background: #e8ebf0; color: #171c25; }
  .km-catalog-switcher a:focus-visible { outline: 2px solid #4583dd; outline-offset: -2px; }
}

.km-content-tags { display:flex; flex-wrap:wrap; gap:4px; margin-block:4px; }
.km-content-tags span { display:inline-block; padding:2px 8px; border-radius:999px; background:#e6edff; color:#173c87; font-size:11px; line-height:1.4; overflow-wrap:anywhere; }

body > button[data-km-support-launcher][hidden] { display:none; }

@media(max-width:640px){
 body:has(>.km-support-inbox:not([hidden])){overflow:hidden}
 body>.km-support-inbox{inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;border:0;border-radius:0;z-index:1000;box-shadow:none}
 body>.km-support-inbox .km-support-heading{padding-top:max(14px,env(safe-area-inset-top))}
 body>.km-support-inbox form{padding-bottom:max(10px,env(safe-area-inset-bottom))}
}

@media(max-width:640px){html:has(body>.km-support-inbox:not([hidden])){overflow:hidden;scrollbar-gutter:auto}}
