/* Local Inter WOFF2 font files. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/fonts/Inter-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./assets/fonts/Inter-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./assets/fonts/Inter-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./assets/fonts/Inter-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("./assets/fonts/Inter-ExtraBold.woff2") format("woff2");
}

/* Accessible visually-hidden content for live announcements */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

picture.vc-image { display: contents; }

/* ============================================================
   Source block: index.html only
   Scope: html[data-vc-page="index"]
   ============================================================ */
/* =========================================================
   1. БАЗОВА ТЕМА TELEGRAM І НОРМАЛІЗАЦІЯ
   ========================================================= */
html[data-vc-page="index"] {color-scheme: dark;
  --tg-bg: #0e1621;
  --tg-sidebar: #17212b;
  --tg-header: #17212b;
  --tg-panel: #17212b;
  --tg-message-in: #182533;
  --tg-message-out: #2b5278;
  --tg-message-out-hover: #315f8a;
  --tg-active: #2b5278;
  --tg-hover: #202b36;
  --tg-border: #0e1621;
  --tg-divider: rgba(255,255,255,.08);
  --tg-text: #f5f7fa;
  --tg-muted: #8ea2b5;
  --tg-accent: #54a9eb;
  --tg-accent-2: #6ab7ff;
  --tg-green: #63c37d;
  --tg-danger: #ef6a70;
  --sidebar-width: clamp(20rem, 24vw, 22.5rem);
  --header-height: 4rem;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);}
html[data-vc-page="index"] * {box-sizing: border-box;}
html[data-vc-page="index"], html[data-vc-page="index"] body {width: 100%; height: 100%;}
html[data-vc-page="index"] {overflow: hidden; -webkit-text-size-adjust: 100%;}
html[data-vc-page="index"] body {margin: 0;
  overflow: hidden;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--tg-text);
  background: var(--tg-bg);}
html[data-vc-page="index"] button, html[data-vc-page="index"] input {font: inherit;}
html[data-vc-page="index"] button {-webkit-tap-highlight-color: transparent;}
html[data-vc-page="index"] .hidden {display: none !important;}
/* =========================================================
   2. КАРКАС TELEGRAM WEB / DESKTOP
   Ліворуч — список чатів, праворуч — активний чат.
   ========================================================= */
html[data-vc-page="index"] .app {width: 100%;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  overflow: hidden;
  background: var(--tg-bg);}
html[data-vc-page="index"] .sidebar, html[data-vc-page="index"] .main {min-width: 0;
  min-height: 0;
  height: 100%;}
@media (min-width: 1800px) {
html[data-vc-page="index"] .app {max-width: 112rem;
  margin-inline: auto;
  box-shadow: 0 0 4rem rgba(0,0,0,.35);}
}
/* =========================================================
   3. ЛІВА ПАНЕЛЬ: ПОШУК, МЕНЮ ТА СПИСОК ЧАТІВ
   ========================================================= */
html[data-vc-page="index"] .sidebar {position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  background: var(--tg-sidebar);
  border-right: 1px solid var(--tg-border);
  overflow: hidden;}
html[data-vc-page="index"] .sidebar-header {flex: 0 0 auto;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: calc(.55rem + var(--safe-top)) .75rem .55rem calc(.65rem + var(--safe-left));
  border-bottom: 1px solid var(--tg-divider);
  background: var(--tg-header);}
html[data-vc-page="index"] .icon-btn, html[data-vc-page="index"] .back-btn {width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--tg-muted);
  background: transparent;
  cursor: pointer;}
html[data-vc-page="index"] .icon-btn:hover, html[data-vc-page="index"] .back-btn:hover {color: var(--tg-text); background: rgba(255,255,255,.07);}
html[data-vc-page="index"] .icon-btn:focus-visible, html[data-vc-page="index"] .back-btn:focus-visible, html[data-vc-page="index"] .chat-item:focus-visible, html[data-vc-page="index"] .pill:focus-visible, html[data-vc-page="index"] .menu-item:focus-visible, html[data-vc-page="index"] .lang-btn:focus-visible {outline: 2px solid var(--tg-accent);
  outline-offset: -2px;}
html[data-vc-page="index"] .icon-btn svg, html[data-vc-page="index"] .back-btn svg, html[data-vc-page="index"] .search-box svg {width: 1.35rem; height: 1.35rem; fill: currentColor;}
html[data-vc-page="index"] .search-box {min-width: 0;
  flex: 1 1 auto;
  height: 2.5rem;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: 0 .8rem;
  border-radius: 1.25rem;
  color: var(--tg-muted);
  background: #242f3d;
  transition: box-shadow .15s ease, background .15s ease;}
html[data-vc-page="index"] .search-box:focus-within {color: var(--tg-accent);
  background: #202b36;
  box-shadow: inset 0 0 0 1px var(--tg-accent);}
html[data-vc-page="index"] .search-input {min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--tg-text);
  background: transparent;
  font-size: 1rem;}
html[data-vc-page="index"] .search-input::placeholder {color: var(--tg-muted);}
/* Випадаюче меню з профілем, мовою та додатковими діями */
html[data-vc-page="index"] .side-menu {position: absolute;
  top: calc(var(--header-height) + var(--safe-top) - .25rem);
  left: calc(.5rem + var(--safe-left));
  z-index: 50;
  width: min(19rem, calc(100% - 1rem - var(--safe-left)));
  padding: .45rem;
  border: 1px solid var(--tg-divider);
  border-radius: .75rem;
  background: #202b36;
  box-shadow: 0 .75rem 2rem rgba(0,0,0,.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-.4rem) scale(.98);
  transform-origin: top left;
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;}
html[data-vc-page="index"] .side-menu.open {opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);}
html[data-vc-page="index"] .menu-profile {display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: .75rem;
  align-items: center;
  padding: .7rem .65rem .85rem;
  border-bottom: 1px solid var(--tg-divider);}
html[data-vc-page="index"] .avatar-preview, html[data-vc-page="index"] .menu-avatar {width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.25rem;
  background: linear-gradient(145deg, #3f8fc9, #6ab7ff);
  color: #fff;}
html[data-vc-page="index"] .menu-profile-copy {min-width: 0;}
html[data-vc-page="index"] .menu-profile-name {overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
  font-size: .95rem;}
html[data-vc-page="index"] .menu-profile-status {margin-top: .15rem; color: var(--tg-muted); font-size: .78rem;}
html[data-vc-page="index"] .menu-label {padding: .65rem .75rem .3rem;
  color: var(--tg-muted);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;}
html[data-vc-page="index"] .menu-item {width: 100%;
  min-height: 2.65rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  border: 0;
  border-radius: .55rem;
  padding: .55rem .7rem;
  color: var(--tg-text);
  background: transparent;
  text-align: left;
  cursor: pointer;}
html[data-vc-page="index"] .menu-item:hover {background: rgba(255,255,255,.07);}
html[data-vc-page="index"] .menu-item-icon {width: 1.55rem;
  flex: 0 0 1.55rem;
  display: inline-grid;
  place-items: center;
  color: var(--tg-muted);}
html[data-vc-page="index"] .lang-switch {display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .35rem;
  padding: .25rem .45rem .5rem;}
html[data-vc-page="index"] .lang-btn {min-height: 2.25rem;
  border: 0;
  border-radius: .5rem;
  color: var(--tg-muted);
  background: rgba(255,255,255,.05);
  cursor: pointer;
  font-size: .78rem;
  font-weight: 700;}
html[data-vc-page="index"] .lang-btn.active {color: #fff; background: var(--tg-active);}
html[data-vc-page="index"] .chat-list {flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.17) transparent;
  padding-bottom: var(--safe-bottom);}
html[data-vc-page="index"] .chat-list::-webkit-scrollbar, html[data-vc-page="index"] .messages::-webkit-scrollbar, html[data-vc-page="index"] .action-pills::-webkit-scrollbar {width: .35rem; height: .35rem;}
html[data-vc-page="index"] .chat-list::-webkit-scrollbar-thumb, html[data-vc-page="index"] .messages::-webkit-scrollbar-thumb, html[data-vc-page="index"] .action-pills::-webkit-scrollbar-thumb {border-radius: 999px;
  background: rgba(255,255,255,.18);}
/* Один рядок у списку чатів — як у Telegram Desktop */
html[data-vc-page="index"] .chat-item {width: 100%;
  min-height: 4.5rem;
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr) auto;
  gap: .7rem;
  align-items: center;
  border: 0;
  padding: .55rem .65rem;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease;}
html[data-vc-page="index"] .chat-item:hover {background: var(--tg-hover);}
html[data-vc-page="index"] .chat-item.active {background: var(--tg-active);}
html[data-vc-page="index"] .chat-avatar {width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  background: linear-gradient(145deg, #3a8ac3, #62b4ee);}
html[data-vc-page="index"] .chat-avatar.is-photo, html[data-vc-page="index"] .chat-icon.is-photo, html[data-vc-page="index"] .msg-avatar.is-photo, html[data-vc-page="index"] .avatar-preview.is-photo {padding: 0;
  overflow: hidden;
  background: #506070;}
html[data-vc-page="index"] .chat-avatar img, html[data-vc-page="index"] .chat-icon img, html[data-vc-page="index"] .msg-avatar img, html[data-vc-page="index"] .avatar-preview img, html[data-vc-page="index"] .avatar-opt img {width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;}
html[data-vc-page="index"] .chat-item:nth-child(2n) .chat-avatar {background: linear-gradient(145deg, #6a78d1, #9b86e5);}
html[data-vc-page="index"] .chat-item:nth-child(3n) .chat-avatar {background: linear-gradient(145deg, #2e9c8c, #66c7a8);}
html[data-vc-page="index"] .chat-item:nth-child(4n) .chat-avatar {background: linear-gradient(145deg, #c47a43, #e8aa5f);}
html[data-vc-page="index"] .chat-copy {min-width: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: center;}
html[data-vc-page="index"] .chat-title-line {min-width: 0; display: flex; align-items: center; gap: .35rem;}
html[data-vc-page="index"] .chat-title {min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .92rem;
  font-weight: 700;}
html[data-vc-page="index"] .chat-type-mark {flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  min-width: 1.05rem;
  height: 1.05rem;
  color: var(--tg-accent-2);
  font-size: .69rem;
  line-height: 1;}
html[data-vc-page="index"] .chat-preview {margin-top: .28rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--tg-muted);
  font-size: .8rem;}
html[data-vc-page="index"] .chat-item.active .chat-preview, html[data-vc-page="index"] .chat-item.active .chat-time {color: rgba(255,255,255,.72);}
html[data-vc-page="index"] .chat-meta {min-width: 2.25rem;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: .42rem;}
html[data-vc-page="index"] .chat-time {color: var(--tg-muted); font-size: .68rem;}
html[data-vc-page="index"] .unread-badge {min-width: 1.25rem;
  height: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 .35rem;
  border-radius: 999px;
  color: #fff;
  background: var(--tg-accent);
  font-size: .68rem;
  font-weight: 700;}
html[data-vc-page="index"] .chat-item.active .unread-badge {background: rgba(255,255,255,.28);}
html[data-vc-page="index"] .empty-list {padding: 2rem 1rem; color: var(--tg-muted); text-align: center; font-size: .88rem;}
/* =========================================================
   4. ПРАВА ПАНЕЛЬ: ШАПКА АКТИВНОГО ЧАТУ
   ========================================================= */
html[data-vc-page="index"] .main {display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  background: var(--tg-bg);}
html[data-vc-page="index"] .chat-top {min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: calc(.5rem + var(--safe-top)) calc(1rem + var(--safe-right)) .5rem 1rem;
  border-bottom: 1px solid var(--tg-divider);
  background: var(--tg-header);}
html[data-vc-page="index"] .back-btn {display: none;}
html[data-vc-page="index"] .chat-top-left {min-width: 0; display: flex; align-items: center; gap: .72rem;}
html[data-vc-page="index"] .chat-icon {width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #3a8ac3, #62b4ee);
  font-size: 1.05rem;
  font-weight: 700;}
html[data-vc-page="index"] .chat-heading {min-width: 0;}
html[data-vc-page="index"] .chat-name-line {display: flex; align-items: center; gap: .35rem; min-width: 0;}
html[data-vc-page="index"] .chat-top .name {min-width: 0;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .98rem;
  line-height: 1.2;
  font-weight: 700;}
html[data-vc-page="index"] .chat-top .status {margin-top: .15rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--tg-muted);
  font-size: .75rem;}
html[data-vc-page="index"] .top-type-mark {color: var(--tg-accent-2); font-size: .78rem;}
/* =========================================================
   5. СТРІЧКА ПОВІДОМЛЕНЬ І БУЛЬБАШКИ TELEGRAM
   Скролиться тільки ця центральна область.
   ========================================================= */
html[data-vc-page="index"] .messages {min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  display: flex;
  flex-direction: column;
  gap: .38rem;
  padding: clamp(.75rem, 2vw, 1.25rem) clamp(.75rem, 6vw, 5rem) 1rem;
  background-color: var(--tg-bg);
  background-image:
    radial-gradient(circle at 15% 20%, rgba(84,169,235,.035) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,.025) 0 1px, transparent 1px);
  background-size: 3.5rem 3.5rem, 4.5rem 4.5rem;}
html[data-vc-page="index"] .date-sep {align-self: center;
  margin: .2rem 0 .65rem;
  padding: .3rem .62rem;
  border-radius: .8rem;
  color: rgba(255,255,255,.78);
  background: rgba(31,45,58,.88);
  font-size: .68rem;
  font-weight: 600;}
html[data-vc-page="index"] .msg-row {position: relative;
  align-self: flex-start;
  display: flex;
  align-items: flex-end;
  gap: .42rem;
  width: fit-content;
  max-width: min(78%, 48rem);
  animation: vc-index-messageIn 250ms cubic-bezier(.16, 1, .3, 1) both;}
html[data-vc-page="index"] .msg-row.user {align-self: flex-end; flex-direction: row-reverse;}
html[data-vc-page="index"] .msg-avatar {width: 1.85rem;
  height: 1.85rem;
  flex: 0 0 1.85rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #3a8ac3, #62b4ee);
  font-size: .73rem;
  font-weight: 700;}
html[data-vc-page="index"] .msg-row.user .msg-avatar {background: linear-gradient(145deg, #476d91, #5d89b0);}
html[data-vc-page="index"] .bubble {position: relative;
  min-width: 5rem;
  max-width: 100%;
  padding: .55rem .65rem .38rem;
  border-radius: 1rem 1rem 1rem .32rem;
  color: var(--tg-text);
  background: var(--tg-message-in);
  line-height: 1.45;}
html[data-vc-page="index"] .bubble::before {content: "";
  position: absolute;
  left: -.34rem;
  bottom: 0;
  width: .68rem;
  height: .72rem;
  background: var(--tg-message-in);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);}
html[data-vc-page="index"] .msg-row.user .bubble {border-radius: 1rem 1rem .32rem 1rem;
  background: var(--tg-message-out);}
html[data-vc-page="index"] .msg-row.user .bubble::before {left: auto;
  right: -.34rem;
  background: var(--tg-message-out);
  clip-path: polygon(0 0, 100% 100%, 0 100%);}
html[data-vc-page="index"] .bubble .sender {margin-bottom: .2rem;
  color: var(--tg-accent-2);
  font-size: .72rem;
  font-weight: 700;}
html[data-vc-page="index"] .msg-row.user .bubble .sender {color: rgba(255,255,255,.82);}
html[data-vc-page="index"] .bubble .text {min-width: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  font-size: .875rem;}
html[data-vc-page="index"] .bubble .time {float: right;
  margin: .28rem 0 0 .75rem;
  color: #aebdca;
  font-size: .625rem;
  line-height: 1;
  white-space: nowrap;}
html[data-vc-page="index"] .msg-row.user .bubble .time::after {content: " ✓✓"; color: #78c6ff;}
@keyframes vc-index-messageIn {
from {opacity: 0; transform: translateY(.4rem) scale(.99);}
to {opacity: 1; transform: translateY(0) scale(1);}
}
/* Typing-індикатор: три крапки перед появою повідомлення */
html[data-vc-page="index"] .typing {min-width: 2.9rem;
  height: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .22rem;}
html[data-vc-page="index"] .typing span {width: .34rem;
  height: .34rem;
  border-radius: 50%;
  background: var(--tg-muted);
  animation: vc-index-typingPulse 1.05s infinite ease-in-out;}
html[data-vc-page="index"] .typing span:nth-child(2) {animation-delay: .14s;}
html[data-vc-page="index"] .typing span:nth-child(3) {animation-delay: .28s;}
@keyframes vc-index-typingPulse {
0%, 65%, 100% {opacity: .35; transform: translateY(0);}
32% {opacity: 1; transform: translateY(-.22rem);}
}
/* Rich-card, таблиці та метрики всередині повідомлень */
html[data-vc-page="index"] .rich-card {margin-top: .55rem;
  padding: .75rem;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: .8rem;
  background: rgba(255,255,255,.035);
  overflow: hidden;}
html[data-vc-page="index"] .rich-title {margin-bottom: .35rem; font-weight: 700;}
html[data-vc-page="index"] .grid-2, html[data-vc-page="index"] .grid-3 {display: grid; gap: .45rem; margin-top: .55rem;}
html[data-vc-page="index"] .grid-2 {grid-template-columns: repeat(2, minmax(0, 1fr));}
html[data-vc-page="index"] .grid-3 {grid-template-columns: repeat(3, minmax(0, 1fr));}
html[data-vc-page="index"] .stat {min-width: 0;
  padding: .58rem;
  border-radius: .65rem;
  background: rgba(84,169,235,.08);}
html[data-vc-page="index"] .stat .k {color: var(--tg-muted); font-size: .61rem; text-transform: uppercase; letter-spacing: .05em;}
html[data-vc-page="index"] .stat .v {margin-top: .25rem; overflow-wrap: anywhere; font-size: .79rem; font-weight: 600;}
html[data-vc-page="index"] .table {width: 100%; margin-top: .55rem; border-collapse: collapse;}
html[data-vc-page="index"] .table th, html[data-vc-page="index"] .table td {padding: .48rem; border-bottom: 1px solid rgba(255,255,255,.07); text-align: left; font-size: .73rem; overflow-wrap: anywhere;}
html[data-vc-page="index"] .table th {color: var(--tg-accent-2); background: rgba(255,255,255,.025);}
html[data-vc-page="index"] .table tr:last-child td {border-bottom: 0;}
html[data-vc-page="index"] .tag-row {display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .55rem;}
html[data-vc-page="index"] .tag {padding: .28rem .5rem;
  border-radius: 999px;
  color: #bfe4ff;
  background: rgba(84,169,235,.12);
  font-size: .67rem;
  font-weight: 600;}
html[data-vc-page="index"] .answer-link {display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  margin-top: .6rem;
  padding: .45rem .72rem;
  border-radius: .5rem;
  color: #fff;
  background: var(--tg-accent);
  text-decoration: none;
  font-size: .76rem;
  font-weight: 700;}
html[data-vc-page="index"] .answer-link:hover {background: var(--tg-accent-2);}
html[data-vc-page="index"] .cta-bubble .bubble {border: 1px solid rgba(84,169,235,.28);}
/* =========================================================
   6. НИЖНЯ ПАНЕЛЬ ДІЙ / TELEGRAM REPLY-КЛАВІАТУРА
   Зміни обмежені контейнером actionPillsEl, кнопками .pill
   та окремою кнопкою повторного відкриття клавіатури.
   ========================================================= */
html[data-vc-page="index"] .action-zone {position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 3.25rem;
  padding: .55rem max(.65rem, var(--safe-right)) calc(.55rem + var(--safe-bottom)) max(.65rem, var(--safe-left));
  border-top: 1px solid var(--tg-divider);
  background: var(--tg-panel);
  transition: min-height 220ms ease;}
html[data-vc-page="index"] .action-title {margin: 0 0 .42rem .15rem;
  color: var(--tg-muted);
  font-size: .68rem;
  opacity: 1;
  max-height: 1.2rem;
  overflow: hidden;
  transition: opacity 180ms ease, max-height 220ms ease, margin 220ms ease;}
html[data-vc-page="index"] .action-zone.keyboard-collapsed .action-title {margin: 0;
  opacity: 0;
  max-height: 0;}
html[data-vc-page="index"] .action-pills {display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  grid-auto-flow: row;
  gap: .35rem;
  width: 100%;
  min-width: 0;
  max-height: 0;
  padding-bottom: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(.85rem);
  transform-origin: bottom center;
  transition:
    transform 220ms ease,
    opacity 220ms ease,
    max-height 220ms ease,
    padding-bottom 220ms ease,
    visibility 0s linear 220ms;}
html[data-vc-page="index"] .action-pills.visible {max-height: min(42dvh, 22rem);
  padding-bottom: .15rem;
  overflow-x: hidden;
  overflow-y: auto;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    transform 220ms ease,
    opacity 220ms ease,
    max-height 220ms ease,
    padding-bottom 220ms ease,
    visibility 0s linear 0s;}
html[data-vc-page="index"] .pill {width: 100%;
  min-width: 0;
  min-height: 3.25rem;
  height: auto;
  border: 0;
  border-radius: .48rem;
  padding: .55rem .68rem;
  color: var(--tg-text);
  background: #242f3d;
  cursor: pointer;
  text-align: center;
  line-height: 1.25;
  font-size: .72rem;
  font-weight: 600;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;}
html[data-vc-page="index"] .pill:hover {background: #2b3948;}
html[data-vc-page="index"] .pill.primary {background: #284963;}
html[data-vc-page="index"] .pill.gold {color: #ffe4a8; background: #4a3c25;}
html[data-vc-page="index"] .pill[data-answered="true"] {opacity: .48;}
html[data-vc-page="index"] .pill[data-external="true"]::after {content: " ↗";}
/* Постійний Telegram-композер. Він не замінює reply-клавіатуру:
   поле залишається на місці, а клавіатура відкривається під ним. */
html[data-vc-page="index"] .telegram-composer {order: 1;
  width: 100%;
  min-width: 0;
  min-height: 2.9rem;
  display: flex;
  align-items: center;
  gap: .2rem;
  padding: .18rem .28rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 1.55rem;
  background: #202b36;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(.35rem);
  transition: transform 200ms ease, opacity 200ms ease, visibility 0s linear 200ms;}
html[data-vc-page="index"] .telegram-composer.visible {opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: transform 200ms ease, opacity 200ms ease, visibility 0s linear 0s;}
/* Reply-клавіатура розгортається ПІД постійним рядком введення. */
html[data-vc-page="index"] .action-pills {order: 2;}
html[data-vc-page="index"] .telegram-composer-side {flex: 0 0 2.25rem;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #a9bac8;
  background: transparent;}
html[data-vc-page="index"] .telegram-composer-side svg {width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;}
html[data-vc-page="index"] .telegram-composer-placeholder {flex: 1 1 auto;
  min-width: 0;
  padding: 0 .2rem;
  color: var(--tg-muted);
  font-size: clamp(.88rem, 1.4vw, .98rem);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  user-select: none;}
/* Кнопка клавіатури стоїть усередині композера, як окремий control.
   Саме поле більше не відкриває клавіатуру при випадковому натисканні. */
html[data-vc-page="index"] .keyboard-toggle {position: static;
  flex: 0 0 2.35rem;
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #d8e7f3;
  background: rgba(84,169,235,.22);
  cursor: pointer;
  line-height: 1;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;}
html[data-vc-page="index"] .keyboard-toggle svg {width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
  pointer-events: none;}
html[data-vc-page="index"] .keyboard-toggle:hover {color: #fff;
  background: rgba(84,169,235,.36);}
html[data-vc-page="index"] .keyboard-toggle:active {transform: scale(.92);}
html[data-vc-page="index"] .keyboard-toggle.is-open {color: #fff;
  background: var(--tg-accent);}
html[data-vc-page="index"] .keyboard-toggle:focus-visible {outline: 2px solid #fff;
  outline-offset: 1px;}
@media (prefers-reduced-motion: reduce) {
html[data-vc-page="index"] .action-zone, html[data-vc-page="index"] .action-title, html[data-vc-page="index"] .action-pills, html[data-vc-page="index"] .telegram-composer, html[data-vc-page="index"] .keyboard-toggle {transition-duration: 1ms;}
}
/* =========================================================
   7. МОДАЛЬНІ ВІКНА: ПРОФІЛЬ
   ========================================================= */
html[data-vc-page="index"] .modal-wrap {position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: max(1rem, var(--safe-top)) max(1rem, var(--safe-right)) max(1rem, var(--safe-bottom)) max(1rem, var(--safe-left));
  background: rgba(0,0,0,.68);}
html[data-vc-page="index"] .modal {width: min(100%, 38rem);
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  border: 1px solid var(--tg-divider);
  border-radius: .85rem;
  background: #202b36;
  box-shadow: 0 1.2rem 3rem rgba(0,0,0,.4);}
html[data-vc-page="index"] .modal {padding: 1.25rem;}
html[data-vc-page="index"] .modal h2 {margin: 0 0 .45rem; font-size: clamp(1.35rem, 4vw, 1.8rem); line-height: 1.15;}
html[data-vc-page="index"] .modal p {margin: 0 0 1rem; color: var(--tg-muted); line-height: 1.5;}
html[data-vc-page="index"] .modal p[data-i="introText"] {white-space: pre-line;}
html[data-vc-page="index"] .intro-lang-switch {width: 8.5rem;
  margin: 0 0 .8rem auto;
  padding: 0;}
html[data-vc-page="index"] .intro-lang-switch .lang-btn {min-height: 2.15rem; font-size: .72rem;}
html[data-vc-page="index"] .avatar-grid {display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: .45rem; margin: 1rem 0;}
html[data-vc-page="index"] .avatar-opt {aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--tg-divider);
  border-radius: 50%;
  background: #17212b;
  cursor: pointer;
  font-size: 1.4rem;}
html[data-vc-page="index"] .avatar-opt.active {border-color: var(--tg-accent); background: var(--tg-active);}
html[data-vc-page="index"] .form-row {display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .55rem;}
html[data-vc-page="index"] .nick {width: 100%;
  min-height: 2.75rem;
  border: 1px solid var(--tg-divider);
  border-radius: .55rem;
  outline: 0;
  padding: .65rem .75rem;
  color: var(--tg-text);
  background: #17212b;}
html[data-vc-page="index"] .nick:focus {border-color: var(--tg-accent);}
html[data-vc-page="index"] .cta, html[data-vc-page="index"] .small-btn {min-height: 2.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: .55rem;
  padding: .55rem .85rem;
  color: #fff;
  background: var(--tg-accent);
  text-decoration: none;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 700;}
html[data-vc-page="index"] .small-btn {background: #2b3948;}
html[data-vc-page="index"] .footer-note {margin-top: .75rem; color: var(--tg-muted); font-size: .7rem; line-height: 1.45;}
/* =========================================================
   8. МОБІЛЬНИЙ TELEGRAM: СПИСОК АБО ЧАТ НА ВЕСЬ ЕКРАН
   ========================================================= */
@media (max-width: 899.98px) {
html[data-vc-page="index"] {--header-height: 3.75rem;}
html[data-vc-page="index"] .icon-btn,
html[data-vc-page="index"] .faq-launcher {width: 2.75rem;
  height: 2.75rem;
  flex-basis: 2.75rem;}
html[data-vc-page="index"] .app {display: block;}
html[data-vc-page="index"] .sidebar, html[data-vc-page="index"] .main {width: 100%; height: 100%;}
html[data-vc-page="index"] .main {display: none;}
html[data-vc-page="index"] .app.mobile-chat-open .sidebar {display: none;}
html[data-vc-page="index"] .app.mobile-chat-open .main {display: grid;}
html[data-vc-page="index"] .back-btn {display: inline-grid; margin-left: calc(-.35rem + var(--safe-left));}
html[data-vc-page="index"] .chat-top {padding-left: .45rem;}
html[data-vc-page="index"] .messages {padding-inline: clamp(.55rem, 3vw, 1rem);}
html[data-vc-page="index"] .msg-row {max-width: 92%;}
html[data-vc-page="index"] .action-pills {grid-template-columns: repeat(auto-fit, minmax(min(100%, 11.5rem), 1fr));}
html[data-vc-page="index"] .action-pills.visible {max-height: min(46dvh, 24rem);}
html[data-vc-page="index"] .side-menu {width: min(19rem, calc(100% - 1rem));}
}
@media (max-width: 520px) {
html[data-vc-page="index"] .chat-item {min-height: 4.25rem; grid-template-columns: 3rem minmax(0,1fr) auto; padding-inline: .55rem;}
html[data-vc-page="index"] .chat-avatar {width: 3rem; height: 3rem;}
html[data-vc-page="index"] .chat-top {padding-right: calc(.6rem + var(--safe-right));}
html[data-vc-page="index"] .chat-icon {width: 2.5rem; height: 2.5rem; flex-basis: 2.5rem;}
html[data-vc-page="index"] .msg-avatar {display: none;}
html[data-vc-page="index"] .msg-row {max-width: 94%;}
html[data-vc-page="index"] .bubble {padding: .5rem .58rem .34rem;}
html[data-vc-page="index"] .grid-2, html[data-vc-page="index"] .grid-3 {grid-template-columns: 1fr;}
html[data-vc-page="index"] .avatar-grid {grid-template-columns: repeat(4, minmax(0,1fr));}
html[data-vc-page="index"] .form-row {grid-template-columns: 1fr;}
html[data-vc-page="index"] .modal-wrap {padding: 0;}
html[data-vc-page="index"] .modal {width: 100%; max-height: 100dvh; border-radius: 0;}
}
@media (prefers-reduced-motion: reduce) {
html[data-vc-page="index"] *, html[data-vc-page="index"] *::before, html[data-vc-page="index"] *::after {animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important;}
}
/* =========================================================
   FAQ: окрема компактна кнопка та статична модалка-довідка.
   Не використовує .chat-item і не втручається в рендер чатів.
   ========================================================= */
html[data-vc-page="index"] .faq-launcher {flex: 0 0 2.5rem;
  font-size: 1.05rem;
  font-weight: 800;}
html[data-vc-page="index"] .faq-modal-wrap {position: fixed;
  inset: 0;
  z-index: 1250;
  display: none;
  place-items: center;
  padding: max(1rem, var(--safe-top)) max(1rem, var(--safe-right)) max(1rem, var(--safe-bottom)) max(1rem, var(--safe-left));
  background: rgba(0,0,0,.68);}
html[data-vc-page="index"] .faq-modal-wrap.active {display: grid;}
html[data-vc-page="index"] .faq-modal {width: min(100%, 48rem);
  max-height: calc(100dvh - 2rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--tg-divider);
  border-radius: .85rem;
  background: #202b36;
  box-shadow: 0 1.2rem 3rem rgba(0,0,0,.4);}
html[data-vc-page="index"] .faq-modal-top {flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--tg-divider);
  background: #17212b;}
html[data-vc-page="index"] .faq-modal-title {margin: 0;
  color: var(--tg-text);
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 700;}
html[data-vc-page="index"] .faq-modal-body {min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.17) transparent;}
html[data-vc-page="index"] .faq-modal-body::-webkit-scrollbar {width: .35rem;}
html[data-vc-page="index"] .faq-modal-body::-webkit-scrollbar-thumb {border-radius: 999px;
  background: rgba(255,255,255,.18);}
html[data-vc-page="index"] .faq-section + .faq-section {margin-top: 1.15rem;}
html[data-vc-page="index"] .faq-section-title {margin: 0 0 .5rem;
  color: var(--tg-accent-2);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;}
html[data-vc-page="index"] .faq-item {border: 1px solid rgba(255,255,255,.08);
  border-radius: .65rem;
  background: #182533;
  overflow: hidden;}
html[data-vc-page="index"] .faq-item + .faq-item {margin-top: .45rem;}
html[data-vc-page="index"] .faq-question {position: relative;
  display: block;
  padding: .78rem 2.6rem .78rem .85rem;
  color: var(--tg-text);
  cursor: pointer;
  list-style: none;
  font-size: .86rem;
  line-height: 1.35;
  font-weight: 700;}
html[data-vc-page="index"] .faq-question::-webkit-details-marker {display: none;}
html[data-vc-page="index"] .faq-question::after {content: "+";
  position: absolute;
  top: 50%;
  right: .85rem;
  transform: translateY(-50%);
  color: var(--tg-accent-2);
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 500;}
html[data-vc-page="index"] .faq-item[open] .faq-question::after {content: "−";}
html[data-vc-page="index"] .faq-question:hover {background: rgba(255,255,255,.035);}
html[data-vc-page="index"] .faq-question:focus-visible {outline: 2px solid var(--tg-accent);
  outline-offset: -2px;}
html[data-vc-page="index"] .faq-answer {padding: 0 .85rem .85rem;
  color: #c7d3df;
  font-size: .82rem;
  line-height: 1.55;
  white-space: pre-wrap;}
@media (max-width: 899.98px) {
html[data-vc-page="index"] .faq-modal-wrap {padding: 0;}
html[data-vc-page="index"] .faq-modal {width: 100%;
    height: 100dvh;
    max-height: none;
    border-radius: 0;}
html[data-vc-page="index"] .faq-modal-top {padding-top: calc(.85rem + var(--safe-top));
    padding-right: calc(1rem + var(--safe-right));
    padding-left: calc(1rem + var(--safe-left));}
html[data-vc-page="index"] .faq-modal-body {padding-right: calc(1rem + var(--safe-right));
    padding-bottom: calc(1rem + var(--safe-bottom));
    padding-left: calc(1rem + var(--safe-left));}
}

/* ============================================================
   Source block: shared by for-companies.html, for-recruiters.html, for-candidates.html
   Scope: html[data-vc-page^="for-"]
   ============================================================ */
html[data-vc-page^="for-"] {color-scheme:dark;
  --tg-bg:#0e1621;
  --tg-sidebar:#17212b;
  --tg-header:#17212b;
  --tg-panel:#17212b;
  --tg-message-in:#182533;
  --tg-message-out:#2b5278;
  --tg-active:#2b5278;
  --tg-hover:#202b36;
  --tg-border:#0e1621;
  --tg-divider:rgba(255,255,255,.08);
  --tg-text:#f5f7fa;
  --tg-muted:#8ea2b5;
  --tg-accent:#54a9eb;
  --tg-accent-2:#6ab7ff;
  --tg-green:#63c37d;
  --sidebar-width:clamp(20rem,24vw,22.5rem);
  --header-height:4rem;
  --safe-top:env(safe-area-inset-top,0px);
  --safe-right:env(safe-area-inset-right,0px);
  --safe-bottom:env(safe-area-inset-bottom,0px);
  --safe-left:env(safe-area-inset-left,0px);}
html[data-vc-page^="for-"] * {box-sizing:border-box;min-width:0}
html[data-vc-page^="for-"], html[data-vc-page^="for-"] body {width:100%;height:100%;margin:0;overflow:hidden}
html[data-vc-page^="for-"] {font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-text-size-adjust:100%;background:var(--tg-bg)}
html[data-vc-page^="for-"] body {color:var(--tg-text);background:var(--tg-bg)}
html[data-vc-page^="for-"] a {color:inherit}
html[data-vc-page^="for-"] button, html[data-vc-page^="for-"] input {font:inherit}
html[data-vc-page^="for-"] button {color:inherit}
html[data-vc-page^="for-"] .vc-app {width:100%;height:100vh;height:100svh;height:100dvh;display:grid;grid-template-columns:var(--sidebar-width) minmax(0,1fr);overflow:hidden;background:var(--tg-bg)}
html[data-vc-page^="for-"] .vc-sidebar, html[data-vc-page^="for-"] .vc-main {min-width:0;min-height:0;height:100%}
@media (min-width: 1800px) {
html[data-vc-page^="for-"] .vc-app {max-width:112rem;margin-inline:auto}
}
html[data-vc-page^="for-"] .vc-sidebar {position:relative;z-index:20;display:flex;flex-direction:column;background:var(--tg-sidebar);border-right:1px solid var(--tg-border);overflow:hidden}
html[data-vc-page^="for-"] .vc-sidebar-head {position:relative;flex:0 0 auto;min-height:var(--header-height);display:flex;align-items:center;gap:.625rem;padding:calc(.55rem + var(--safe-top)) .75rem .55rem calc(.65rem + var(--safe-left));border-bottom:1px solid var(--tg-divider);background:var(--tg-header)}
html[data-vc-page^="for-"] .vc-icon-btn, html[data-vc-page^="for-"] .vc-back {width:2.5rem;height:2.5rem;flex:0 0 2.5rem;display:inline-grid;place-items:center;border:0;border-radius:50%;color:var(--tg-muted);background:transparent;cursor:pointer;text-decoration:none}
html[data-vc-page^="for-"] .vc-icon-btn:hover, html[data-vc-page^="for-"] .vc-back:hover {color:var(--tg-text);background:rgba(255,255,255,.07)}
html[data-vc-page^="for-"] .vc-icon-btn svg, html[data-vc-page^="for-"] .vc-back svg, html[data-vc-page^="for-"] .vc-search svg {width:1.35rem;height:1.35rem;fill:currentColor}
html[data-vc-page^="for-"] .vc-search {min-width:0;flex:1 1 auto;height:2.5rem;display:flex;align-items:center;gap:.55rem;padding:0 .8rem;border-radius:1.25rem;color:var(--tg-muted);background:#242f3d}
html[data-vc-page^="for-"] .vc-search:focus-within {color:var(--tg-accent);background:#202b36;box-shadow:inset 0 0 0 1px var(--tg-accent)}
html[data-vc-page^="for-"] .vc-search input {width:100%;border:0;outline:0;color:var(--tg-text);background:transparent;font-size:1rem}
html[data-vc-page^="for-"] .vc-search input::placeholder {color:var(--tg-muted)}
html[data-vc-page^="for-"] .vc-menu {position:absolute;top:calc(var(--header-height) + var(--safe-top) - .25rem);left:calc(.5rem + var(--safe-left));z-index:50;width:min(19rem,calc(100% - 1rem));padding:.45rem;border:1px solid var(--tg-divider);border-radius:.75rem;background:#202b36;box-shadow:0 .75rem 2rem rgba(0,0,0,.35);opacity:0;visibility:hidden;transform:translateY(-.4rem) scale(.98);transform-origin:top left;transition:.15s ease}
html[data-vc-page^="for-"] .vc-menu.open {opacity:1;visibility:visible;transform:none}
html[data-vc-page^="for-"] .vc-menu-brand {display:grid;grid-template-columns:2.75rem minmax(0,1fr);gap:.75rem;align-items:center;padding:.7rem .65rem .85rem;border-bottom:1px solid var(--tg-divider)}
html[data-vc-page^="for-"] .vc-menu-brand img {width:2.75rem;height:2.75rem;border-radius:50%;object-fit:contain;background:#0b1320}
html[data-vc-page^="for-"] .vc-menu-brand strong {display:block;font-size:.95rem}
html[data-vc-page^="for-"] .vc-menu-brand span {display:block;margin-top:.15rem;color:var(--tg-muted);font-size:.78rem}
html[data-vc-page^="for-"] .vc-menu-label {padding:.65rem .75rem .3rem;color:var(--tg-muted);font-size:.7rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
html[data-vc-page^="for-"] .vc-menu-link {min-height:2.65rem;display:flex;align-items:center;gap:.75rem;border-radius:.55rem;padding:.55rem .7rem;text-decoration:none;font-size:.9rem}
html[data-vc-page^="for-"] .vc-menu-link:hover {background:rgba(255,255,255,.07)}
html[data-vc-page^="for-"] .vc-lang-switch {display:grid;grid-template-columns:1fr 1fr;gap:.35rem;padding:.25rem .45rem .5rem}
html[data-vc-page^="for-"] .vc-lang-btn {min-height:2.25rem;border:0;border-radius:.5rem;color:var(--tg-muted);background:rgba(255,255,255,.05);cursor:pointer;font-size:.78rem;font-weight:700}
html[data-vc-page^="for-"] .vc-lang-btn.active {color:#fff;background:var(--tg-active)}
html[data-vc-page^="for-"] .vc-chat-list {flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-bottom:var(--safe-bottom);scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.17) transparent}
html[data-vc-page^="for-"] .vc-chat-item {width:100%;min-height:4.5rem;display:grid;grid-template-columns:3.25rem minmax(0,1fr) auto;gap:.7rem;align-items:center;padding:.55rem .65rem;color:inherit;background:transparent;text-decoration:none}
html[data-vc-page^="for-"] .vc-chat-item:hover {background:var(--tg-hover)}
html[data-vc-page^="for-"] .vc-chat-item.active {background:var(--tg-active)}
html[data-vc-page^="for-"] .vc-chat-avatar, html[data-vc-page^="for-"] .vc-top-avatar {display:grid;place-items:center;overflow:hidden;border-radius:50%;background:#0b1320}
html[data-vc-page^="for-"] .vc-chat-avatar {width:3.25rem;height:3.25rem}
html[data-vc-page^="for-"] .vc-top-avatar {width:2.75rem;height:2.75rem;flex:0 0 2.75rem}
html[data-vc-page^="for-"] .vc-chat-avatar img, html[data-vc-page^="for-"] .vc-top-avatar img {width:100%;height:100%;display:block;object-fit:cover;border-radius:inherit}
html[data-vc-page^="for-"] .vc-chat-copy {align-self:stretch;display:flex;flex-direction:column;justify-content:center}
html[data-vc-page^="for-"] .vc-chat-title {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.92rem;font-weight:700}
html[data-vc-page^="for-"] .vc-chat-preview {margin-top:.28rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--tg-muted);font-size:.8rem}
html[data-vc-page^="for-"] .vc-chat-meta {color:var(--tg-muted);font-size:.68rem}
html[data-vc-page^="for-"] .vc-chat-item.active .vc-chat-preview, html[data-vc-page^="for-"] .vc-chat-item.active .vc-chat-meta {color:rgba(255,255,255,.72)}
html[data-vc-page^="for-"] .vc-main {display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;background:var(--tg-bg)}
html[data-vc-page^="for-"] .vc-top {min-height:var(--header-height);display:flex;align-items:center;gap:.65rem;padding:calc(.5rem + var(--safe-top)) calc(1rem + var(--safe-right)) .5rem 1rem;border-bottom:1px solid var(--tg-divider);background:var(--tg-header)}
html[data-vc-page^="for-"] .vc-back {display:none}
html[data-vc-page^="for-"] .vc-top-left {min-width:0;display:flex;align-items:center;gap:.72rem}
html[data-vc-page^="for-"] .vc-top-copy {min-width:0}
html[data-vc-page^="for-"] .vc-top-title {margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.98rem;line-height:1.2;font-weight:700}
html[data-vc-page^="for-"] .vc-top-status {margin-top:.15rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--tg-muted);font-size:.75rem}
html[data-vc-page^="for-"] .vc-content {min-height:0;overflow:hidden;background:var(--tg-bg)}
html[data-vc-page^="for-"] .vc-page-scroll {height:100%;overflow:auto;overscroll-behavior:contain;padding:clamp(.75rem,2vw,1.25rem) clamp(.75rem,5vw,4rem) calc(1.5rem + var(--safe-bottom));background-color:var(--tg-bg);background-image:radial-gradient(circle at 15% 20%,rgba(84,169,235,.035) 0 1px,transparent 1px),radial-gradient(circle at 70% 60%,rgba(255,255,255,.025) 0 1px,transparent 1px);background-size:3.5rem 3.5rem,4.5rem 4.5rem}
html[data-vc-page^="for-"] .vc-message-stack {width:min(100%,60rem);margin:0 auto;display:flex;flex-direction:column;gap:.6rem}
html[data-vc-page^="for-"] .vc-date {align-self:center;margin:.2rem 0 .65rem;padding:.3rem .62rem;border-radius:.8rem;color:rgba(255,255,255,.78);background:rgba(31,45,58,.88);font-size:.68rem;font-weight:600}
html[data-vc-page^="for-"] .vc-msg {align-self:flex-start;display:flex;align-items:flex-end;gap:.42rem;width:fit-content;max-width:min(88%,52rem)}
html[data-vc-page^="for-"] .vc-msg.out {align-self:flex-end;flex-direction:row-reverse}
html[data-vc-page^="for-"] .vc-msg-avatar {width:1.85rem;height:1.85rem;flex:0 0 1.85rem;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:#0b1320}
html[data-vc-page^="for-"] .vc-msg-avatar img {width:100%;height:100%;object-fit:cover;border-radius:inherit}
html[data-vc-page^="for-"] .vc-bubble {position:relative;min-width:5rem;max-width:100%;padding:.65rem .72rem .45rem;border-radius:1rem 1rem 1rem .32rem;color:var(--tg-text);background:var(--tg-message-in);line-height:1.48}
html[data-vc-page^="for-"] .vc-msg.out .vc-bubble {border-radius:1rem 1rem .32rem 1rem;background:var(--tg-message-out)}
html[data-vc-page^="for-"] .vc-sender {margin-bottom:.2rem;color:var(--tg-accent-2);font-size:.72rem;font-weight:700}
html[data-vc-page^="for-"] .vc-text {overflow-wrap:anywhere;white-space:pre-wrap;font-size:.875rem}
html[data-vc-page^="for-"] .vc-time {float:right;margin:.35rem 0 0 .75rem;color:#aebdca;font-size:.625rem;white-space:nowrap}
html[data-vc-page^="for-"] .vc-card {width:100%;padding:1rem;border:1px solid var(--tg-divider);border-radius:.9rem;background:var(--tg-message-in);box-shadow:0 .8rem 2rem rgba(0,0,0,.12)}
html[data-vc-page^="for-"] .vc-card h1, html[data-vc-page^="for-"] .vc-card h2, html[data-vc-page^="for-"] .vc-card h3 {margin-top:0}
html[data-vc-page^="for-"] .vc-card p, html[data-vc-page^="for-"] .vc-card li {color:#d5e1ea;line-height:1.6}
html[data-vc-page^="for-"] .vc-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
html[data-vc-page^="for-"] .vc-link-card {display:block;padding:1rem;border:1px solid var(--tg-divider);border-radius:.8rem;background:rgba(255,255,255,.035);text-decoration:none}
html[data-vc-page^="for-"] .vc-link-card:hover {border-color:rgba(84,169,235,.45);background:rgba(84,169,235,.08)}
html[data-vc-page^="for-"] .vc-link-card strong {display:block}
html[data-vc-page^="for-"] .vc-link-card span {display:block;margin-top:.35rem;color:var(--tg-muted);font-size:.84rem;line-height:1.45}
html[data-vc-page^="for-"] .vc-btn {display:inline-flex;align-items:center;justify-content:center;min-height:2.45rem;margin:.35rem .35rem 0 0;padding:.55rem .85rem;border:0;border-radius:.55rem;color:#fff;background:var(--tg-accent);text-decoration:none;font-weight:700;font-size:.82rem}
html[data-vc-page^="for-"] .vc-btn.secondary {color:var(--tg-text);background:#242f3d}
html[data-vc-page^="for-"] .vc-btn:hover {filter:brightness(1.08)}
html[data-vc-page^="for-"] .vc-brand-hero {display:grid;grid-template-columns:minmax(0,1fr) minmax(12rem,18rem);gap:1rem;align-items:center}
html[data-vc-page^="for-"] .vc-brand-hero img {width:100%;max-height:16rem;object-fit:contain;border-radius:1.2rem;background:#0b1320}
html[data-vc-page^="for-"] .vc-kicker {color:var(--tg-accent-2);font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
html[data-vc-page^="for-"] .vc-big {font-size:clamp(2rem,6vw,4.7rem);line-height:1;margin:.5rem 0}
html[data-vc-page^="for-"] .vc-muted {color:var(--tg-muted)}
html[data-vc-page^="for-"] .vc-chat-list::-webkit-scrollbar, html[data-vc-page^="for-"] .vc-page-scroll::-webkit-scrollbar, html[data-vc-page^="for-"] .chat-messages::-webkit-scrollbar, html[data-vc-page^="for-"] .question-list::-webkit-scrollbar {width:.35rem;height:.35rem}
html[data-vc-page^="for-"] .vc-chat-list::-webkit-scrollbar-thumb, html[data-vc-page^="for-"] .vc-page-scroll::-webkit-scrollbar-thumb, html[data-vc-page^="for-"] .chat-messages::-webkit-scrollbar-thumb, html[data-vc-page^="for-"] .question-list::-webkit-scrollbar-thumb {border-radius:999px;background:rgba(255,255,255,.18)}
@media (max-width:900px) {
html[data-vc-page^="for-"] .vc-app {display:block}
html[data-vc-page^="for-"] .vc-sidebar {display:none}
html[data-vc-page^="for-"] .vc-main {width:100%;height:100%}
html[data-vc-page^="for-"] .vc-back {display:inline-grid}
html[data-vc-page^="for-"] .vc-top {padding-left:calc(.35rem + var(--safe-left));padding-right:calc(.65rem + var(--safe-right))}
html[data-vc-page^="for-"] .vc-page-scroll {padding-left:.75rem;padding-right:.75rem}
html[data-vc-page^="for-"] .vc-grid {grid-template-columns:1fr}
html[data-vc-page^="for-"] .vc-brand-hero {grid-template-columns:1fr}
html[data-vc-page^="for-"] .vc-brand-hero img {max-height:12rem}
html[data-vc-page^="for-"] .vc-msg {max-width:94%}
}
@media (max-width:480px) {
html[data-vc-page^="for-"] .vc-top-avatar {width:2.5rem;height:2.5rem;flex-basis:2.5rem}
html[data-vc-page^="for-"] .vc-card {padding:.85rem}
html[data-vc-page^="for-"] .vc-big {font-size:clamp(2rem,15vw,3.6rem)}
}
html[data-vc-page^="for-"] .chat-page {height:100%;display:grid;grid-template-rows:minmax(0,1fr) auto;overflow:hidden}
html[data-vc-page^="for-"] .chat-messages {min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scroll-behavior:smooth;display:flex;flex-direction:column;gap:.38rem;padding:clamp(.75rem,2vw,1.25rem) clamp(.75rem,6vw,5rem) 1rem;background-color:var(--tg-bg);background-image:radial-gradient(circle at 15% 20%,rgba(84,169,235,.035) 0 1px,transparent 1px),radial-gradient(circle at 70% 60%,rgba(255,255,255,.025) 0 1px,transparent 1px);background-size:3.5rem 3.5rem,4.5rem 4.5rem}
html[data-vc-page^="for-"] .date-sep {align-self:center;margin:.2rem 0 .65rem;padding:.3rem .62rem;border-radius:.8rem;color:rgba(255,255,255,.78);background:rgba(31,45,58,.88);font-size:.68rem;font-weight:600}
html[data-vc-page^="for-"] .msg-row {align-self:flex-start;display:flex;align-items:flex-end;gap:.42rem;width:fit-content;max-width:min(78%,48rem);animation:vc-for-messageIn .18s ease-out both}
html[data-vc-page^="for-"] .msg-row.user {align-self:flex-end;flex-direction:row-reverse}
html[data-vc-page^="for-"] .msg-avatar {width:1.85rem;height:1.85rem;flex:0 0 1.85rem;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:#0b1320;font-size:.73rem;font-weight:700}
html[data-vc-page^="for-"] .msg-avatar img {width:100%;height:100%;object-fit:cover;border-radius:inherit}
html[data-vc-page^="for-"] .bubble {position:relative;min-width:5rem;max-width:100%;padding:.55rem .65rem .38rem;border-radius:1rem 1rem 1rem .32rem;color:var(--tg-text);background:var(--tg-message-in);line-height:1.45}
html[data-vc-page^="for-"] .msg-row.user .bubble {border-radius:1rem 1rem .32rem 1rem;background:var(--tg-message-out)}
html[data-vc-page^="for-"] .sender {margin-bottom:.2rem;color:var(--tg-accent-2);font-size:.72rem;font-weight:700}
html[data-vc-page^="for-"] .msg-row.user .sender {color:rgba(255,255,255,.82)}
html[data-vc-page^="for-"] .bubble-text {overflow-wrap:anywhere;white-space:pre-wrap;font-size:.875rem}
html[data-vc-page^="for-"] .msg-time {float:right;margin:.28rem 0 0 .75rem;color:#aebdca;font-size:.625rem;line-height:1;white-space:nowrap}
html[data-vc-page^="for-"] .msg-row.user .msg-time::after {content:" ✓✓";color:#78c6ff}
html[data-vc-page^="for-"] .typing {min-width:2.9rem;height:1.05rem;display:inline-flex;align-items:center;justify-content:center;gap:.22rem}
html[data-vc-page^="for-"] .typing span {width:.34rem;height:.34rem;border-radius:50%;background:var(--tg-muted);animation:vc-for-typingPulse 1.05s infinite ease-in-out}
html[data-vc-page^="for-"] .typing span:nth-child(2) {animation-delay:.14s}
html[data-vc-page^="for-"] .typing span:nth-child(3) {animation-delay:.28s}
@keyframes vc-for-typingPulse {
0%,65%,100% {opacity:.35;transform:translateY(0)}
32% {opacity:1;transform:translateY(-.22rem)}
}
@keyframes vc-for-messageIn {
from {opacity:0;transform:translateY(.25rem) scale(.99)}
to {opacity:1;transform:none}
}
html[data-vc-page^="for-"] .answer-link {display:inline-flex;align-items:center;justify-content:center;min-height:2.2rem;margin-top:.6rem;padding:.45rem .72rem;border-radius:.5rem;color:#fff;background:var(--tg-accent);text-decoration:none;font-size:.76rem;font-weight:700}
html[data-vc-page^="for-"] .answer-link:hover {background:var(--tg-accent-2)}
html[data-vc-page^="for-"] .cta-bubble .bubble {border:1px solid rgba(84,169,235,.28)}
html[data-vc-page^="for-"] .chat-actions {min-width:0;display:flex;flex-direction:column;padding:.55rem max(.65rem,var(--safe-right)) calc(.55rem + var(--safe-bottom)) max(.65rem,var(--safe-left));border-top:1px solid var(--tg-divider);background:var(--tg-panel)}
html[data-vc-page^="for-"] .chat-actions.hidden {display:none}
html[data-vc-page^="for-"] .chat-actions-title {margin:0 0 .42rem .15rem;color:var(--tg-muted);font-size:.68rem}
html[data-vc-page^="for-"] .telegram-composer {order:1;width:100%;min-height:2.9rem;display:flex;align-items:center;gap:.2rem;padding:.18rem .28rem;border:1px solid rgba(255,255,255,.12);border-radius:1.55rem;background:#202b36}
html[data-vc-page^="for-"] .composer-side {flex:0 0 2.25rem;width:2.25rem;height:2.25rem;display:grid;place-items:center;color:#a9bac8}
html[data-vc-page^="for-"] .composer-side svg, html[data-vc-page^="for-"] .keyboard-toggle svg {width:1.25rem;height:1.25rem;fill:currentColor}
html[data-vc-page^="for-"] .composer-placeholder {flex:1;color:var(--tg-muted);font-size:clamp(.88rem,1.4vw,.98rem);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-vc-page^="for-"] .keyboard-toggle {flex:0 0 2.35rem;width:2.35rem;height:2.35rem;display:grid;place-items:center;border:0;border-radius:50%;color:#d8e7f3;background:rgba(84,169,235,.22);cursor:pointer}
html[data-vc-page^="for-"] .keyboard-toggle.is-open {color:#fff;background:var(--tg-accent)}
@media (max-width:899.98px) {
html[data-vc-page^="for-"] .vc-icon-btn,
html[data-vc-page^="for-"] .vc-faq-launcher,
html[data-vc-page^="for-"] .vc-back,
html[data-vc-page^="for-"] .keyboard-toggle {width:2.75rem;height:2.75rem;flex-basis:2.75rem}
}
html[data-vc-page^="for-"] .question-list {order:2;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:.35rem;width:100%;max-height:min(42dvh,22rem);margin-top:.35rem;overflow:auto;opacity:1;transform:none;transition:220ms ease}
html[data-vc-page^="for-"] .question-list.collapsed {max-height:0;margin-top:0;overflow:hidden;opacity:0;transform:translateY(.85rem);pointer-events:none}
html[data-vc-page^="for-"] .question-btn {width:100%;min-height:3.25rem;border:0;border-radius:.48rem;padding:.55rem .68rem;color:var(--tg-text);background:#242f3d;cursor:pointer;text-align:center;line-height:1.25;font-size:.72rem;font-weight:600;white-space:normal;overflow-wrap:anywhere}
html[data-vc-page^="for-"] .question-btn:hover {background:#2b3948}
html[data-vc-page^="for-"] .question-btn[data-answered="true"] {opacity:.48}
html[data-vc-page^="for-"] .question-btn[data-external="true"] {color:#ffe4a8;background:#4a3c25}
html[data-vc-page^="for-"] .question-btn[data-external="true"]::after {content:" ↗"}
html[data-vc-page^="for-"] .profile-modal {position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:1rem;background:rgba(0,0,0,.68)}
html[data-vc-page^="for-"] .profile-modal.hidden {display:none}
html[data-vc-page^="for-"] .profile-box {width:min(100%,38rem);max-height:calc(100dvh - 2rem);overflow:auto;padding:1.25rem;border:1px solid var(--tg-divider);border-radius:.85rem;background:#202b36;box-shadow:0 1.2rem 3rem rgba(0,0,0,.4)}
html[data-vc-page^="for-"] .profile-box h2 {margin:0 0 .45rem}
html[data-vc-page^="for-"] .profile-box p {margin:0 0 1rem;color:var(--tg-muted)}
html[data-vc-page^="for-"] .avatar-grid {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.45rem;margin:1rem 0}
html[data-vc-page^="for-"] .avatar-opt {aspect-ratio:1;overflow:hidden;padding:0;border:1px solid var(--tg-divider);border-radius:50%;background:#17212b;cursor:pointer}
html[data-vc-page^="for-"] .avatar-opt img {width:100%;height:100%;object-fit:cover}
html[data-vc-page^="for-"] .avatar-opt.active {border:2px solid var(--tg-accent)}
html[data-vc-page^="for-"] .profile-row {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.55rem}
html[data-vc-page^="for-"] .profile-row input {width:100%;min-height:2.65rem;border:1px solid var(--tg-divider);border-radius:.55rem;padding:.55rem .75rem;color:var(--tg-text);background:#17212b;outline:0}
html[data-vc-page^="for-"] .profile-row input:focus {border-color:var(--tg-accent)}
@media (max-width:900px) {
html[data-vc-page^="for-"] .chat-messages {padding-left:.75rem;padding-right:.75rem}
html[data-vc-page^="for-"] .msg-row {max-width:94%}
html[data-vc-page^="for-"] .question-list {grid-template-columns:1fr 1fr}
}
@media (max-width:560px) {
html[data-vc-page^="for-"] .question-list {grid-template-columns:1fr}
html[data-vc-page^="for-"] .avatar-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
}


/* === Page-specific CSS: 404.html + 404-en.html === */
html[data-vc-page="404"]{
  color-scheme: dark;
  --tg-bg: #0e1621;
  --tg-sidebar: #17212b;
  --tg-panel: #182533;
  --tg-panel-hover: #202b36;
  --tg-border: rgba(255,255,255,.08);
  --tg-text: #f5f7fa;
  --tg-muted: #8ea2b5;
  --tg-accent: #54a9eb;
  --tg-accent-2: #6ab7ff;
  --tg-button: #2b5278;
  --tg-button-hover: #315f8a;
  --gold: #ffc94a;
}
html[data-vc-page="404"] *{ box-sizing: border-box; }
html[data-vc-page="404"]{
  min-height: 100%;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--tg-text);
  background: var(--tg-bg);
  -webkit-text-size-adjust: 100%;
}
html[data-vc-page="404"] body{
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 80%, rgba(84, 169, 235, .11), transparent 25%),
    radial-gradient(circle at 84% 18%, rgba(43, 82, 120, .24), transparent 27%),
    linear-gradient(180deg, #101a27 0%, var(--tg-bg) 68%);
}
html[data-vc-page="404"] body::before{
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(106,183,255,.25) 0 1px, transparent 1.5px),
    radial-gradient(circle at 70% 65%, rgba(255,255,255,.15) 0 1px, transparent 1.5px);
  background-size: 64px 64px, 92px 92px;
}
html[data-vc-page="404"] a{ color: inherit; }
html[data-vc-page="404"] .page{
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: clamp(18px, 3.5vw, 40px);
}
html[data-vc-page="404"] .brand{
  display: flex;
  align-items: center;
  gap: 11px;
  width: min(100%, 1120px);
  margin: 0 auto;
}
html[data-vc-page="404"] .mark{
  width: 46px;
  height: 42px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  overflow: visible;
}
html[data-vc-page="404"] .mark img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 6px 13px rgba(33, 130, 255, .32));
}
html[data-vc-page="404"] .brand-name{
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.025em;
}
html[data-vc-page="404"] .content{
  width: min(100%, 1040px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, .98fr) minmax(300px, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
}
html[data-vc-page="404"] .art{
  position: relative;
  display: grid;
  place-items: center;
  min-height: 510px;
  isolation: isolate;
  perspective: 1000px;
}
html[data-vc-page="404"] .art::before{
  content: "";
  position: absolute;
  width: min(82%, 410px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35,132,255,.24), rgba(35,132,255,.05) 48%, transparent 72%);
  filter: blur(10px);
  animation: haloPulse 4.2s ease-in-out infinite;
  z-index: -1;
}
html[data-vc-page="404"] .dog{
  position: relative;
  z-index: 2;
  width: min(100%, 430px);
  height: auto;
  display: block;
  border-radius: 24px;
  filter: drop-shadow(0 26px 44px rgba(0,0,0,.43));
  transform: translate3d(var(--move-x, 0px), var(--move-y, 0px), 0) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  animation: floatArtwork 5.2s ease-in-out infinite;
  will-change: transform, filter;
}
html[data-vc-page="404"] .paper{
  position: absolute;
  z-index: 3;
  width: 54px;
  height: 42px;
  border: 1px solid rgba(106,183,255,.24);
  border-radius: 13px 13px 13px 5px;
  background: rgba(24,37,51,.86);
  box-shadow: 0 14px 28px rgba(0,0,0,.25);
  backdrop-filter: blur(8px);
}
html[data-vc-page="404"] .paper.one{
  left: 4%;
  bottom: 24%;
  transform: rotate(-9deg);
  animation: driftOne 4.6s ease-in-out infinite;
}
html[data-vc-page="404"] .paper.two{
  right: 1%;
  top: 22%;
  transform: rotate(8deg);
  animation: driftTwo 5s ease-in-out infinite;
}
html[data-vc-page="404"] .paper::before,
html[data-vc-page="404"] .paper::after{
  content: "";
  position: absolute;
  top: 17px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tg-accent-2);
  box-shadow: 11px 0 var(--tg-accent-2), 22px 0 var(--tg-accent-2);
  opacity: .9;
}
html[data-vc-page="404"] .paper::before{ left: 10px; }
html[data-vc-page="404"] .paper::after{ display: none; }
html[data-vc-page="404"] .copy{
  text-align: center;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--tg-border);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(32,43,54,.82), rgba(23,33,43,.78));
  box-shadow: 0 24px 60px rgba(0,0,0,.24);
  backdrop-filter: blur(16px);
}
html[data-vc-page="404"] .code{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  min-height: 30px;
  margin: 0 0 16px;
  padding: 5px 12px;
  border-radius: 999px;
  color: #cceaff;
  background: rgba(84,169,235,.14);
  border: 1px solid rgba(84,169,235,.22);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
html[data-vc-page="404"] h1{
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.16;
  letter-spacing: -.035em;
}
html[data-vc-page="404"] .lead{
  max-width: 430px;
  margin: 15px auto 0;
  color: var(--tg-muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.62;
}
html[data-vc-page="404"] .actions{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 27px;
}
html[data-vc-page="404"] .bot-link{
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 16px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  background: #242f3d;
  color: var(--tg-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
html[data-vc-page="404"] .bot-link:hover{
  transform: translateY(-2px);
  background: #2b3948;
  border-color: rgba(106,183,255,.28);
}
html[data-vc-page="404"] .bot-link.primary{
  border-color: transparent;
  background: var(--tg-button);
  color: #fff;
}
html[data-vc-page="404"] .bot-link.primary:hover{ background: var(--tg-button-hover); }
html[data-vc-page="404"] .bot-icon{
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tg-accent);
  color: #fff;
  font-size: 11px;
  box-shadow: 0 0 0 4px rgba(84,169,235,.10);
}
@keyframes floatArtwork{
  0%, 100% {
    transform: translate3d(var(--move-x, 0px), var(--move-y, 0px), 0) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(0) rotate(-.35deg);
    filter: drop-shadow(0 26px 44px rgba(0,0,0,.43)) brightness(1);
  }
  50% {
    transform: translate3d(var(--move-x, 0px), var(--move-y, 0px), 0) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-10px) rotate(.35deg);
    filter: drop-shadow(0 34px 52px rgba(0,0,0,.50)) brightness(1.035);
  }
}
@keyframes haloPulse{
  0%, 100% { opacity: .62; transform: scale(.96); }
  50% { opacity: 1; transform: scale(1.06); }
}
@keyframes driftOne{
  0%, 100% { transform: translateY(0) rotate(-9deg); }
  50% { transform: translateY(-13px) rotate(-2deg); }
}
@keyframes driftTwo{
  0%, 100% { transform: translateY(0) rotate(8deg); }
  50% { transform: translateY(11px) rotate(2deg); }
}
@media (max-width: 820px){html[data-vc-page="404"] .page{ min-height: auto; }
html[data-vc-page="404"] .content{
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 26px;
  }
html[data-vc-page="404"] .art{ min-height: 390px; }
html[data-vc-page="404"] .dog{ width: min(78vw, 390px); }
html[data-vc-page="404"] .copy{ width: min(100%, 620px); margin: 0 auto; }}
@media (max-width: 480px){html[data-vc-page="404"] .page{ padding: 16px; }
html[data-vc-page="404"] .brand-name{ font-size: 18px; }
html[data-vc-page="404"] .art{ min-height: 330px; }
html[data-vc-page="404"] .dog{ width: min(88vw, 340px); border-radius: 18px; }
html[data-vc-page="404"] .paper.one{ left: -1%; bottom: 22%; }
html[data-vc-page="404"] .paper.two{ right: -2%; top: 20%; }
html[data-vc-page="404"] .copy{ padding: 23px 17px; border-radius: 18px; }
html[data-vc-page="404"] h1{ font-size: 1.58rem; }
html[data-vc-page="404"] .lead{ font-size: 14px; }
html[data-vc-page="404"] .actions{ display: grid; grid-template-columns: 1fr; }
html[data-vc-page="404"] .bot-link{ width: 100%; }}
@media (prefers-reduced-motion: reduce){html[data-vc-page="404"] *,
html[data-vc-page="404"] *::before,
html[data-vc-page="404"] *::after{
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
html[data-vc-page="404"] .dog{ transform: none !important; }}


/* Copyright note at the bottom of the navigation menu */
.menu-footer,
.vc-menu-footer {
  margin: .35rem .45rem 0;
  padding: .65rem .3rem .35rem;
  border-top: 1px solid var(--tg-divider);
  color: var(--tg-muted);
  font-size: .68rem;
  line-height: 1.45;
  text-align: center;
}

/* Improve contrast for small timestamps on outgoing blue bubbles. */
html[data-vc-page="index"] .msg-row.user .bubble .time,
html[data-vc-page^="for-"] .msg-row.user .msg-time,
html[data-vc-page^="for-"] .vc-msg.out .vc-time {
  color: rgba(255,255,255,.72);
}


/* Offline fallback */
html[data-vc-page="offline"] { color-scheme: dark; background: #0e1621; }
html[data-vc-page="offline"] body { margin: 0; min-height: 100vh; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #f5f7fa; background: radial-gradient(circle at 50% 12%, rgba(84,169,235,.16), transparent 34%), #0e1621; }
.offline-shell { min-height: 100vh; display: grid; place-items: center; align-content: center; gap: 24px; padding: 24px; text-align: center; }
.offline-shell > picture img { width: 96px; height: 84px; object-fit: contain; }
.offline-card { width: min(100%, 520px); padding: 30px; border: 1px solid rgba(255,255,255,.09); border-radius: 22px; background: rgba(24,37,51,.92); box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.offline-kicker { color: #6ab7ff; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.offline-card h1 { margin: 12px 0 10px; font-size: clamp(1.8rem, 5vw, 2.6rem); }
.offline-card p { margin: 0; color: #a9bac9; line-height: 1.65; }
.offline-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; margin-top: 22px; padding: 10px 18px; border-radius: 12px; background: #2b5278; color: #fff; text-decoration: none; font-weight: 700; }
.offline-button:hover { background: #315f8a; }

/* FAQ button and modal on standalone VacancyCrowd pages. */
html:not([data-vc-page="index"]) .vc-faq-launcher {
  flex: 0 0 2.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}
html:not([data-vc-page="index"]) .faq-modal-wrap {
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: none;
  place-items: center;
  padding: max(1rem, var(--safe-top)) max(1rem, var(--safe-right)) max(1rem, var(--safe-bottom)) max(1rem, var(--safe-left));
  background: rgba(0,0,0,.68);
}
html:not([data-vc-page="index"]) .faq-modal-wrap.active { display: grid; }
html:not([data-vc-page="index"]) .faq-modal {
  width: min(100%, 48rem);
  max-height: calc(100dvh - 2rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--tg-divider);
  border-radius: .85rem;
  background: #202b36;
  box-shadow: 0 1.2rem 3rem rgba(0,0,0,.4);
}
html:not([data-vc-page="index"]) .faq-modal-top {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--tg-divider);
}
html:not([data-vc-page="index"]) .faq-modal-title {
  margin: 0;
  color: var(--tg-text);
  font-size: 1.05rem;
}
html:not([data-vc-page="index"]) .faq-modal-body {
  min-height: 0;
  overflow-y: auto;
  padding: 1rem;
}
html:not([data-vc-page="index"]) .faq-section + .faq-section { margin-top: 1.15rem; }
html:not([data-vc-page="index"]) .faq-section-title {
  margin: 0 0 .5rem;
  color: var(--tg-accent-2);
  font-size: .83rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
html:not([data-vc-page="index"]) .faq-item {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: .65rem;
  background: rgba(14,22,33,.48);
}
html:not([data-vc-page="index"]) .faq-item + .faq-item { margin-top: .45rem; }
html:not([data-vc-page="index"]) .faq-question {
  position: relative;
  display: block;
  padding: .78rem 2.5rem .78rem .85rem;
  color: var(--tg-text);
  cursor: pointer;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
}
html:not([data-vc-page="index"]) .faq-question::-webkit-details-marker { display: none; }
html:not([data-vc-page="index"]) .faq-question::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: .85rem;
  transform: translateY(-50%);
  color: var(--tg-accent-2);
  font-size: 1.1rem;
}
html:not([data-vc-page="index"]) .faq-item[open] .faq-question::after { content: "−"; }
html:not([data-vc-page="index"]) .faq-question:hover { background: rgba(255,255,255,.035); }
html:not([data-vc-page="index"]) .faq-question:focus-visible {
  outline: 2px solid var(--tg-accent);
  outline-offset: -2px;
}
html:not([data-vc-page="index"]) .faq-answer {
  padding: 0 .85rem .85rem;
  color: var(--tg-muted);
  font-size: .74rem;
  line-height: 1.55;
}
html:not([data-vc-page="index"]) .vc-site-faq-close {
  min-height: 2.35rem;
  border: 0;
  border-radius: .55rem;
  padding: .48rem .78rem;
  color: var(--tg-text);
  background: #2b3948;
  cursor: pointer;
  font: inherit;
  font-size: .76rem;
  font-weight: 700;
}
html:not([data-vc-page="index"]) .vc-site-faq-close:hover { background: #344557; }
@media (max-width: 520px) {
  html:not([data-vc-page="index"]) .faq-modal-wrap { padding: 0; }
  html:not([data-vc-page="index"]) .faq-modal {
    width: 100%;
    max-height: 100dvh;
    border-radius: 0;
  }
  html:not([data-vc-page="index"]) .faq-modal-top {
    padding-top: calc(.85rem + var(--safe-top));
  }
  html:not([data-vc-page="index"]) .faq-modal-body {
    padding-right: calc(1rem + var(--safe-right));
    padding-bottom: calc(1rem + var(--safe-bottom));
    padding-left: calc(1rem + var(--safe-left));
  }
}

/* =========================================================
   Responsive hardening for long localized copy and CTA labels
   ========================================================= */
html[data-vc-page="index"] .answer-link,
html[data-vc-page^="for-"] .answer-link,
html[data-vc-page^="for-"] .vc-btn {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
  line-height: 1.35;
}

html[data-vc-page="index"] .rich-card {
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

html[data-vc-page^="for-"] .vc-card,
html[data-vc-page^="for-"] .vc-link-card {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 560px) {
  html[data-vc-page^="for-"] .vc-btn {
    width: 100%;
    margin-right: 0;
  }
}

@media (max-width: 360px) {
  html[data-vc-page="index"] .sidebar-header {
    gap: .35rem;
    padding-left: calc(.45rem + var(--safe-left));
    padding-right: .45rem;
  }

  html[data-vc-page="index"] .icon-btn,
  html[data-vc-page="index"] .faq-launcher {
    width: 2.75rem;
    height: 2.75rem;
    flex-basis: 2.75rem;
  }

  html[data-vc-page="index"] .messages {
    padding-left: .45rem;
    padding-right: .45rem;
  }

  html[data-vc-page="index"] .msg-row {
    max-width: 97%;
  }
}

/* Offline page responsive sizing. */
html[data-vc-page="offline"] *,
html[data-vc-page="offline"] *::before,
html[data-vc-page="offline"] *::after {
  box-sizing: border-box;
  min-width: 0;
}

html[data-vc-page="offline"],
html[data-vc-page="offline"] body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

html[data-vc-page="offline"] .offline-card {
  width: min(100%, 520px);
  max-width: 100%;
  overflow-wrap: anywhere;
}

/* Long-form explanations inside VC · Помічники. */
.chat-article-title {
  display: block;
  margin: .08rem 0 .45rem;
  color: #ffffff;
  font-size: 1.05em;
  font-weight: 800;
  line-height: 1.3;
}
.chat-article-heading {
  display: block;
  margin: .8rem 0 .18rem;
  color: var(--tg-accent-2, #79c2ff);
  font-weight: 800;
  line-height: 1.35;
}

