@font-face{font-family:"Inter Tight";font-style:normal;font-weight:400 700;font-display:swap;src:url(/k-fonts/it.woff2?v=1) format("woff2")}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:400 600;font-display:swap;src:url(/k-fonts/jbm.woff2?v=1) format("woff2")}

html.is-embed-chat,
html.is-embed-chat body,
html.is-embed-chat #root {
  --kc-bg: #f3f2ee;
  --kc-ink: #111110;
  --kc-mute: #7a7a74;
  --kc-line: rgba(17, 17, 16, .13);
  --kc-lime: #c6f432;
  --kc-vio: #8b7bff;
  --kc-ease: cubic-bezier(.7, 0, .2, 1);
  background: var(--kc-bg) !important;
  color: var(--kc-ink) !important;
  font-family: "Inter Tight", system-ui, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  color-scheme: light;
}
html.is-embed-chat ::selection { background: var(--kc-lime); color: var(--kc-ink); }
html.is-embed-chat .embed-chat,
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 *:not(svg):not(path),
html.is-embed-chat .embed-chat-state,
html.is-embed-chat .embed-chat-state * { font-family: "Inter Tight", system-ui, sans-serif !important; }

html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235,
html.is-embed-chat .student-floating-chat.embed-chat.user-chat-panel--fullscreen {
  background: var(--kc-bg) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-panel__wallpaper,
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .chat-animated-bg { display: none !important; }

html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-panel__head {
  background: var(--kc-bg) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--kc-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  margin: 0 !important;
  padding: 14px clamp(16px, 3vw, 28px) !important;
  justify-content: flex-start !important;
  text-align: left !important;
  min-height: 0 !important;
}
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-panel__head-info { justify-content: flex-start !important; gap: 12px !important; margin: 0 !important; }
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-panel__head-text { align-items: flex-start !important; text-align: left !important; }
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-panel__head-text strong,
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-panel__head-text h2,
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-panel__head-text h3 {
  font-size: 19px !important; font-weight: 600 !important; letter-spacing: -.035em !important; line-height: 1.1 !important; color: var(--kc-ink) !important;
}
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-panel__head-subtitle {
  font-family: "JetBrains Mono", monospace !important;
  font-size: 10.5px !important; letter-spacing: .06em !important; text-transform: uppercase; color: var(--kc-mute) !important; margin: 3px 0 0 !important;
}
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-panel__head-avatar,
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-message__avatar:not(.user-chat-message__avatar--spacer) {
  background: var(--kc-ink) !important;
  color: var(--kc-lime) !important;
  border: 0 !important;
  box-shadow: none !important;
  font-family: "JetBrains Mono", monospace !important;
  font-weight: 600 !important;
}

html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-panel__messages { padding-left: clamp(12px, 3vw, 28px) !important; padding-right: clamp(12px, 3vw, 28px) !important; }

html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-day span,
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-panel__floating-day {
  background: transparent !important;
  color: var(--kc-mute) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  font-family: "JetBrains Mono", monospace !important;
  font-size: 10.5px !important; font-weight: 500 !important; letter-spacing: .08em !important; text-transform: uppercase;
}
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-panel__floating-day { background: var(--kc-bg) !important; border: 1px solid var(--kc-line) !important; }

html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-message__bubble {
  background: #fff !important;
  color: var(--kc-ink) !important;
  border: 1px solid var(--kc-line) !important;
  box-shadow: none !important;
  border-radius: 20px 20px 20px 6px !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
  letter-spacing: -.005em;
}
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-message--mine .user-chat-message__bubble {
  background: var(--kc-ink) !important;
  color: var(--kc-bg) !important;
  border-color: var(--kc-ink) !important;
  border-radius: 20px 20px 6px 20px !important;
}
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-message__bubble::before,
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-message__bubble::after { display: none !important; }

html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-message__author {
  font-family: "JetBrains Mono", monospace !important;
  font-size: 10.5px !important; font-weight: 600 !important; letter-spacing: .06em !important; text-transform: uppercase;
  color: var(--kc-mute) !important; margin-bottom: 4px !important;
}
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-message__meta,
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-message__time {
  font-family: "JetBrains Mono", monospace !important;
  font-size: 10.5px !important; letter-spacing: .02em; color: var(--kc-mute) !important; opacity: 1 !important;
}
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-message--mine .user-chat-message__meta,
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-message--mine .user-chat-message__time { color: rgba(243, 242, 238, .55) !important; }
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-message--mine .user-chat-message__meta svg { color: var(--kc-lime) !important; }

html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-message__bubble a {
  color: inherit !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 3px;
  border: 0 !important;
  background: none !important;
}
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-message:not(.user-chat-message--mine) .user-chat-message__bubble a { text-decoration-color: var(--kc-vio) !important; }
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-message--mine .user-chat-message__bubble a { text-decoration-color: var(--kc-lime) !important; }

html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-message__quote {
  background: rgba(17, 17, 16, .05) !important;
  border: 0 !important;
  border-left: 3px solid var(--kc-vio) !important;
  border-radius: 4px 12px 12px 4px !important;
}
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-message--mine .user-chat-message__quote {
  background: rgba(243, 242, 238, .1) !important;
  border-left-color: var(--kc-lime) !important;
}
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-message__quote-author {
  font-family: "JetBrains Mono", monospace !important; font-size: 10.5px !important; letter-spacing: .06em; text-transform: uppercase; color: inherit !important; opacity: .7;
}
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-message__quote-text { color: inherit !important; opacity: .8; }

html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-reaction {
  background: #fff !important; border: 1px solid var(--kc-line) !important; box-shadow: none !important; color: var(--kc-ink) !important;
}
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-message--mine .user-chat-reaction { background: rgba(243, 242, 238, .12) !important; border-color: rgba(243, 242, 238, .2) !important; color: var(--kc-bg) !important; }

html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-unread-line {
  color: var(--kc-ink) !important;
  font-family: "JetBrains Mono", monospace !important; font-size: 10.5px !important; letter-spacing: .08em !important;
}
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-unread-line::before,
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-unread-line::after { background: var(--kc-ink) !important; opacity: .25; height: 1px !important; }
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-unread-line span { background: var(--kc-lime) !important; color: var(--kc-ink) !important; border-radius: 999px; padding: 3px 10px !important; }

html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-panel__empty {
  color: var(--kc-mute) !important; background: none !important; border: 0 !important; font-size: 15px !important;
}

html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-panel__composer {
  background: var(--kc-bg) !important;
  border: 0 !important;
  border-top: 1px solid var(--kc-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  margin: 0 !important;
  padding: 12px clamp(12px, 3vw, 28px) calc(12px + env(safe-area-inset-bottom)) !important;
}
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-panel__composer-row {
  background: #fff !important;
  border: 1px solid var(--kc-line) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  padding: 4px 4px 4px 8px !important;
  transition: border-color .2s;
}
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-panel__composer-row:focus-within { border-color: var(--kc-ink) !important; }
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-panel__composer textarea,
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-panel__composer input[type="text"] {
  background: transparent !important; border: 0 !important; box-shadow: none !important; color: var(--kc-ink) !important;
  font-size: 16px !important;
}
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-panel__composer textarea::placeholder { color: var(--kc-mute) !important; }
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-panel__icon-btn { color: var(--kc-ink) !important; background: transparent !important; box-shadow: none !important; opacity: .55; transition: opacity .2s; }
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-panel__icon-btn:hover { opacity: 1; background: rgba(17, 17, 16, .06) !important; }
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-panel__send {
  background: var(--kc-ink) !important;
  color: var(--kc-lime) !important;
  border: 0 !important;
  box-shadow: none !important;
  transition: transform .2s var(--kc-ease), opacity .2s;
}
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-panel__send:disabled { background: rgba(17, 17, 16, .12) !important; color: var(--kc-mute) !important; }
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-panel__send:not(:disabled):active { transform: scale(.94); }

html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-panel__reply-bar {
  background: #fff !important; border: 1px solid var(--kc-line) !important; border-left: 3px solid var(--kc-vio) !important; border-radius: 12px !important; box-shadow: none !important;
}
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-panel__jump {
  background: #fff !important; border: 1px solid var(--kc-line) !important; box-shadow: 0 6px 20px rgba(17, 17, 16, .08) !important; color: var(--kc-ink) !important;
}
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-panel__jump-badge { background: var(--kc-lime) !important; color: var(--kc-ink) !important; }
html.is-embed-chat body .user-chat-menu.user-chat-menu {
  background: #fff !important; border: 1px solid var(--kc-line) !important; border-radius: 16px !important; box-shadow: 0 16px 40px rgba(17, 17, 16, .12) !important; color: var(--kc-ink) !important;
}
html.is-embed-chat body .chat-emoji.chat-emoji { background: #fff !important; border: 1px solid var(--kc-line) !important; box-shadow: 0 16px 40px rgba(17, 17, 16, .12) !important; }

/* вход */
html.is-embed-chat .embed-chat-state { background: var(--kc-bg) !important; padding: 32px clamp(18px, 6vw, 56px) !important; }
html.is-embed-chat .embed-login { max-width: 420px !important; width: 100%; gap: 14px !important; }
html.is-embed-chat .embed-login__title {
  font-size: clamp(32px, 6vw, 44px) !important; font-weight: 600 !important; letter-spacing: -.05em !important; line-height: .98 !important; color: var(--kc-ink) !important;
}
html.is-embed-chat .embed-login__lead { color: #4a4a45 !important; font-size: 16px !important; line-height: 1.5 !important; margin: 4px 0 10px !important; }
html.is-embed-chat .embed-login__note {
  background: #fff !important; border: 1px solid var(--kc-line) !important; border-left: 3px solid var(--kc-lime) !important;
  border-radius: 12px !important; color: var(--kc-ink) !important; font-size: 14.5px !important; line-height: 1.5 !important;
}
html.is-embed-chat .embed-login__field > span {
  font-family: "JetBrains Mono", monospace !important; font-size: 11px !important; font-weight: 500 !important; letter-spacing: .06em; text-transform: uppercase; color: var(--kc-mute) !important;
}
html.is-embed-chat body .embed-login__field input {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--kc-ink) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 8px 0 10px !important;
  height: auto !important;
  font-size: 19px !important;
  color: var(--kc-ink) !important;
  transition: border-color .2s;
}
html.is-embed-chat body .embed-login__field input:focus { border-bottom-color: var(--kc-vio) !important; box-shadow: 0 1px 0 var(--kc-vio) !important; }
html.is-embed-chat .embed-login__error { color: #c0341d !important; font-size: 14px !important; }
html.is-embed-chat body .embed-login__submit {
  height: 56px !important; border-radius: 999px !important; background: var(--kc-ink) !important; color: var(--kc-bg) !important;
  font-size: 16px !important; font-weight: 650 !important; letter-spacing: -.01em; margin-top: 10px !important; border: 0 !important;
  display: inline-flex !important; align-items: center; justify-content: center; text-decoration: none !important;
  transition: transform .2s var(--kc-ease), background .2s;
}
html.is-embed-chat body .embed-login__submit:hover { background: #2a2a28 !important; }
html.is-embed-chat body .embed-login__submit:active { transform: translateY(1px); }
html.is-embed-chat body .embed-login__link { color: var(--kc-mute) !important; font-size: 14px !important; text-underline-offset: 3px; }
html.is-embed-chat body .embed-login__link:hover { color: var(--kc-ink) !important; }
html.is-embed-chat .embed-chat-spinner { border-color: var(--kc-line) !important; border-top-color: var(--kc-ink) !important; }

/* раскладка: панель во всю ширину, шапка и поле ввода от края до края, шапка слева */
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 { padding: 0 !important; }
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-panel__head,
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-panel__composer {
  width: 100% !important; max-width: none !important; left: 0 !important; right: 0 !important; transform: none !important; box-sizing: border-box !important;
}
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-panel__head-info {
  position: static !important; transform: none !important; left: auto !important; margin: 0 auto 0 0 !important;
}
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-panel__stage { left: 0 !important; right: 0 !important; width: 100% !important; }
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .avatar {
  background: var(--kc-ink) !important; color: var(--kc-lime) !important; border: 0 !important; box-shadow: none !important;
  font-family: "JetBrains Mono", monospace !important; font-weight: 600 !important;
}
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-message__avatar--spacer,
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-message__avatar--spacer * { background: none !important; }
html.is-embed-chat .embed-login__title { font-size: clamp(30px, 5.4vw, 40px) !important; }
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .avatar { border-radius: 50% !important; overflow: hidden !important; }
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .avatar * { background: none !important; color: var(--kc-lime) !important; font-family: "JetBrains Mono", monospace !important; }
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-panel__empty {
  max-width: 300px !important; margin: auto !important; text-align: center !important; color: var(--kc-mute) !important; font-size: 15px !important; line-height: 1.5 !important;
}
html.is-embed-chat body .embed-chat.embed-chat.user-chat-panel--tg.user-chat-panel--v235 .user-chat-panel__empty::before {
  content: "Чат с преподавателем"; display: block; margin: 0 auto 10px; color: var(--kc-ink);
  font-size: 26px; font-weight: 600; letter-spacing: -.045em; line-height: 1.05;
}
