/* Чат-виджет reloway.es v11 – кнопка «Получить консультацию менеджера» вместо поля контакта.
   v10 – «Помощник команды Reloway».
   v10 (18.11.2026): плашка с фразой у кнопки, анкета кнопками в ленте, плашка ответа менеджера.
   Общий файл для главной и блога; токены – из Footer.*.css (--navy, --sand,
   --brass, --terracotta, --hairline, --font-display, --ease).
   v9 (владелец 23.10.2026): приглашение открывает компактное окно на компьютере
   и нижнюю панель на 62 % высоты на телефоне; поле контакта, голосовые. */
.cw{position:fixed;right:22px;bottom:22px;z-index:60;font-family:var(--font-text,Inter,sans-serif);
  --cw-paper:#fff;--cw-shadow:0 18px 60px rgba(14,27,44,.28)}
.cw *{box-sizing:border-box}

/* кнопка – живой портрет в тонком песочном ободке, точка «онлайн» */
.cw-fab{width:64px;height:64px;border-radius:50%;border:0;padding:3px;cursor:pointer;
  background:var(--sand,#f4f1ea);color:var(--sand,#f4f1ea);display:flex;align-items:center;justify-content:center;
  box-shadow:0 0 0 1px rgba(14,27,44,.10),0 8px 26px rgba(14,27,44,.30);
  transition:transform .2s var(--ease,ease),background .2s var(--ease,ease)}
.cw-fab:hover{transform:translateY(-2px)}
.cw-fab:active{transform:scale(.96)}
.cw-fab:focus-visible{outline:2px solid var(--brass,#b08d57);outline-offset:3px}
.cw-fab svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.cw-fab .cw-ic-x{display:none}
.cw-fab .cw-ava{width:100%;height:100%}
.cw-fab .cw-ava::after{right:0;bottom:0;width:14px;height:14px;border-color:var(--sand,#f4f1ea)}
.cw.is-open .cw-fab{background:var(--navy,#14263f)}
.cw.is-open .cw-fab .cw-ava{display:none}
.cw.is-open .cw-fab .cw-ic-x{display:block}

/* пульс кнопки, пока чат не открыт или пришёл ответ менеджера */
.cw.is-pulse .cw-fab{animation:cw-pulse 2.4s var(--ease,ease) infinite}
@keyframes cw-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.05);box-shadow:0 0 0 1px rgba(14,27,44,.10),0 8px 28px rgba(14,27,44,.36),0 0 0 10px rgba(20,38,63,.10)}}

/* подсказка v8 в v9 не показывается: её место заняли приглашения */
.cw-teaser{display:none}

/* портрет */
.cw-ava{position:relative;display:block;flex:none;border-radius:50%;background:var(--cw-ava) center/cover no-repeat,var(--sand-2,#eae5db)}
.cw-ava video{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}
.cw-ava::after{content:"";position:absolute;right:1px;bottom:1px;width:12px;height:12px;border-radius:50%;
  background:#4cc36a;border:2px solid var(--navy,#14263f)}

/* окно */
.cw-win{display:none;position:absolute;right:0;bottom:76px;width:384px;height:min(640px,calc(100vh - 116px));
  background:var(--sand,#f4f1ea);border:1px solid var(--hairline,#d8d2c6);box-shadow:var(--cw-shadow);
  flex-direction:column;overflow:hidden;animation:cw-in .3s var(--ease,ease)}
.cw.is-open .cw-win{display:flex}
/* компактное окно – так открывается приглашение на компьютере; действие человека разворачивает */
.cw.is-compact .cw-win{height:min(470px,calc(100vh - 116px))}
html.cw-lock,html.cw-lock body{overflow:hidden;overscroll-behavior:none}

/* шапка: портрет, имя, подпись, Telegram и «свернуть» в одну строку */
.cw-head{display:flex;align-items:center;gap:12px;padding:12px 8px 12px 16px;background:var(--navy,#14263f);color:var(--sand,#f4f1ea);flex:none}
.cw-head .cw-ava{width:46px;height:46px;box-shadow:0 0 0 2px rgba(244,241,234,.28)}
.cw-head>div{min-width:0;flex:1}
.cw-head b{display:block;font-family:var(--font-display,Georgia,serif);font-weight:400;font-size:1.15rem;line-height:1.2}
.cw-head span{display:block;font-size:.8rem;line-height:1.35;color:rgba(244,241,234,.72);margin-top:2px}
.cw-head__tg,.cw-head__wa,.cw-close{flex:none;display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin:0;
  background:none;border:0;color:var(--sand,#f4f1ea);cursor:pointer;opacity:.8;transition:opacity .2s var(--ease,ease)}
.cw-head__tg:hover,.cw-head__wa:hover,.cw-close:hover{opacity:1}
.cw-head__tg:focus-visible,.cw-head__wa:focus-visible,.cw-close:focus-visible{outline:2px solid var(--brass-on-dark,#c8a268);outline-offset:-4px}
.cw-head__tg svg,.cw-head__wa svg{width:19px;height:19px;fill:currentColor}
.cw-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}

/* лента */
.cw-log{flex:1;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:16px 16px 6px;
  display:flex;flex-direction:column;gap:10px}
.cw-msg{max-width:88%;padding:10px 14px;font-size:.95rem;line-height:1.5;white-space:pre-wrap;word-break:break-word;
  animation:cw-in .25s var(--ease,ease)}
.cw-msg--ai{position:relative;align-self:flex-start;margin-left:34px;max-width:calc(88% - 34px);background:var(--cw-paper);border:1px solid var(--hairline,#d8d2c6)}
/* у ответов – маленький аватар того же человека, в серии – только у последнего */
.cw-msg--ai::before{content:"";position:absolute;left:-34px;bottom:0;width:26px;height:26px;border-radius:50%;
  background:var(--cw-ava) center/cover no-repeat,var(--sand-2,#eae5db)}
.cw-msg--ai:has(+.cw-msg--ai)::before{display:none}
.cw-msg--me{align-self:flex-end;background:var(--navy,#14263f);color:var(--sand,#f4f1ea)}
.cw-msg--sys{align-self:center;max-width:100%;padding:4px 8px;font-size:.8rem;line-height:1.4;color:var(--warm-grey,#6e6a64);text-align:center}
.cw-msg a{color:var(--terracotta,#a84b35);text-decoration:underline;text-underline-offset:2px}
.cw-msg--me a{color:var(--brass-on-dark,#c8a268)}
.cw-op{display:block;font-size:12px;font-weight:600;opacity:.75;margin-bottom:3px}
.cw-dots{display:flex;gap:5px;align-items:center;padding:14px 16px;min-height:42px}
.cw-dots i{width:7px;height:7px;border-radius:50%;background:var(--warm-grey,#6e6a64);opacity:.35;animation:cw-dot 1.1s infinite}
.cw-dots i:nth-child(2){animation-delay:.18s}
.cw-dots i:nth-child(3){animation-delay:.36s}

/* голосовое: длительность и расшифровка под ней */
.cw-msg--voice{display:flex;flex-direction:column;gap:4px;min-width:9rem}
.cw-voice{display:inline-flex;align-items:center;gap:6px;font:500 .8rem/1 var(--font-data,"IBM Plex Mono",monospace);color:var(--brass-on-dark,#c8a268)}
.cw-voice svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.cw-voice__t.is-wait{opacity:.7;font-style:italic}

/* поле контакта под ответом: ник в Telegram или номер */
.cw-contact{align-self:stretch;margin-left:34px;padding:12px 14px 10px;background:var(--cw-paper);border:1px solid var(--hairline,#d8d2c6);
  border-top:1px solid var(--brass,#b08d57);animation:cw-in .25s var(--ease,ease)}
.cw-contact__l{display:block;font-size:.8rem;line-height:1.3;color:var(--warm-grey,#6e6a64);margin-bottom:6px}
.cw-contact__row{display:flex;gap:8px;align-items:stretch}
.cw-contact__row input{flex:1;min-width:0;height:44px;padding:0 2px;border:0;border-bottom:1px solid var(--line-strong,#b9b2a4);border-radius:0;
  background:none;font:inherit;font-size:16px;color:var(--ink,#1e2833);outline:none}
.cw-contact__row input:focus{border-bottom-color:var(--navy,#14263f)}
.cw-contact__row input::placeholder{color:var(--warm-grey,#6e6a64)}
.cw-contact__row button{flex:none;height:44px;padding:0 16px;border:0;border-radius:0;background:var(--navy,#14263f);color:var(--sand,#f4f1ea);
  font:inherit;font-size:.9rem;white-space:nowrap;cursor:pointer;transition:background .15s var(--ease,ease)}
.cw-contact__row button:hover{background:var(--navy-deep,#0e1b2c)}
.cw-contact__row button:disabled{opacity:.5;cursor:default}
.cw-contact__row button:focus-visible{outline:2px solid var(--brass,#b08d57);outline-offset:2px}
.cw-contact__note{margin:8px 0 0;font-size:.78rem;line-height:1.35;color:var(--warm-grey,#6e6a64)}
.cw-contact__err{margin:4px 0 0;font-size:.8rem;line-height:1.35;color:var(--terracotta,#a84b35)}
.cw-contact__err:empty{display:none}
.cw-hp{position:absolute!important;left:-9999px;width:1px;height:1px;opacity:0;pointer-events:none}

/* подсказки-вопросы */
.cw-suggest{display:flex;flex-wrap:wrap;gap:8px;padding:4px 16px 10px;flex:none}
.cw-suggest:empty{display:none}
.cw-chip{border:1px solid var(--brass,#b08d57);border-radius:0;background:none;color:var(--brass-text,#856a3f);padding:7px 12px;
  font:inherit;font-size:.85rem;line-height:1.2;cursor:pointer;transition:background .15s var(--ease,ease),color .15s var(--ease,ease)}
.cw-chip:hover{background:var(--brass,#b08d57);color:#fff}
.cw-chip:focus-visible{outline:2px solid var(--navy,#14263f);outline-offset:2px}

/* v14 (21.11.2026): «Бесплатная консультация» – две равные кнопки Telegram и WhatsApp, видны всегда */
.cw-tg{display:flex;flex-direction:column;gap:6px;margin:0 16px 10px;flex:none}
.cw-tg__lbl{font-size:.78rem;line-height:1.3;color:var(--muted,#5f5a52);letter-spacing:.01em}
.cw-tg__row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.cw-tg__btn{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 12px;min-width:0;
  border:1px solid var(--hairline,#d8d2c6);border-radius:999px;background:#fff;color:var(--navy,#14263f);text-decoration:none;
  font-size:.9rem;font-weight:600;line-height:1.2;white-space:nowrap;
  transition:background .15s var(--ease,ease),color .15s var(--ease,ease),border-color .15s var(--ease,ease)}
.cw-tg__btn svg{width:19px;height:19px;flex:none}
.cw-tg__btn--tg svg{fill:#229ed9}
.cw-tg__btn--wa svg{fill:#25d366}
.cw-tg__btn:hover{background:var(--navy,#14263f);border-color:var(--navy,#14263f);color:var(--sand,#f4f1ea)}
.cw-tg__btn:focus-visible{outline:2px solid var(--navy,#14263f);outline-offset:2px}
.cw-tg.is-hot .cw-tg__lbl{color:var(--terracotta,#a84b35);font-weight:600}
.cw-tg.is-hot .cw-tg__btn{border-color:var(--terracotta,#a84b35)}

/* поле ввода, микрофон, запись */
.cw-form{position:relative;display:flex;gap:6px;align-items:flex-end;padding:8px 8px 8px 16px;border-top:1px solid var(--hairline,#d8d2c6);background:var(--cw-paper);flex:none}
.cw-form textarea{flex:1;min-width:0;resize:none;border:0;background:none;font:inherit;font-size:.95rem;line-height:1.45;
  max-height:120px;outline:none;padding:11px 0;color:var(--ink,#1e2833)}
.cw-form textarea::placeholder{color:var(--warm-grey,#6e6a64)}
.cw-form>button{flex:none;width:44px;height:44px;border:0;border-radius:0;background:var(--navy,#14263f);color:var(--sand,#f4f1ea);cursor:pointer;
  display:flex;align-items:center;justify-content:center;transition:background .15s var(--ease,ease)}
.cw-form>button:hover{background:var(--navy-deep,#0e1b2c)}
.cw-form>button:disabled{opacity:.4;cursor:default}
.cw-form>button:focus-visible,.cw-rec button:focus-visible{outline:2px solid var(--brass,#b08d57);outline-offset:2px}
.cw-form button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.cw-form>.cw-mic{background:none;color:var(--navy,#14263f);border:1px solid var(--hairline,#d8d2c6)}
.cw-form>.cw-mic:hover{background:var(--sand,#f4f1ea);border-color:var(--navy,#14263f)}
.cw-form>.cw-mic svg{stroke-width:1.7}
.cw-rec{display:none;flex:1;min-width:0;align-items:center;gap:10px}
.cw-form.is-rec>textarea,.cw-form.is-rec>button{display:none}
.cw-form.is-rec .cw-rec{display:flex}
.cw-rec button{flex:none;width:44px;height:44px;border:0;border-radius:0;display:flex;align-items:center;justify-content:center;cursor:pointer}
.cw-rec__x{background:none;color:var(--warm-grey,#6e6a64);border:1px solid var(--hairline,#d8d2c6)!important}
.cw-rec__x svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.cw-rec__send{background:var(--navy,#14263f);color:var(--sand,#f4f1ea)}
.cw-rec__dot{flex:none;width:8px;height:8px;border-radius:50%;background:var(--terracotta,#a84b35);animation:cw-rec 1.2s ease-in-out infinite}
.cw-rec__t{flex:none;font:500 .9rem/1 var(--font-data,"IBM Plex Mono",monospace);color:var(--ink,#1e2833);min-width:2.6em}
.cw-rec__lvl{flex:1;min-width:0;display:flex;align-items:center;gap:3px;height:26px;overflow:hidden}
.cw-rec__lvl i{flex:none;width:3px;height:3px;background:var(--navy,#14263f);opacity:.55;transition:height .1s linear}
.cw-rec__max{flex:none;font-size:.75rem;color:var(--warm-grey,#6e6a64)}

/* плашка-кнопка как у «Советника» «Давим Масло»: фото с точкой «онлайн», имя и фраза под страницу,
   фраза сменяется каждые 4,5 с; пока плашка видна, круглая кнопка-фото спрятана */
.cw-pill{position:absolute;right:0;bottom:0;display:flex;align-items:center;max-width:min(360px,calc(100vw - 32px));
  opacity:0;transform:translateY(8px) scale(.98);transform-origin:100% 100%;pointer-events:none;
  transition:opacity .35s var(--ease,ease),transform .35s var(--ease,ease)}
.cw.has-pill:not(.is-open):not(.is-tuck) .cw-pill{opacity:1;transform:none;pointer-events:auto}
.cw.has-pill:not(.is-open):not(.is-tuck) .cw-fab{opacity:0;pointer-events:none}
.cw-fab{transition:opacity .25s var(--ease,ease),transform .2s var(--ease,ease),background .2s var(--ease,ease)}
.cw-pill__b{display:flex;align-items:center;gap:12px;min-width:0;min-height:64px;padding:8px 22px 8px 8px;border:0;border-radius:999px;
  background:var(--navy,#14263f);color:var(--sand,#f4f1ea);font:inherit;text-align:left;cursor:pointer;
  box-shadow:0 0 0 1px rgba(244,241,234,.12) inset,0 12px 32px rgba(14,27,44,.32);transition:transform .2s var(--ease,ease),background .2s var(--ease,ease)}
.cw-pill__b:hover{transform:translateY(-2px);background:var(--navy-deep,#0e1b2c)}
.cw-pill__ava{width:48px;height:48px;box-shadow:0 0 0 2px rgba(244,241,234,.22)}
.cw-pill__ava::after{border-color:var(--navy,#14263f)}
.cw-pill__tx{display:flex;flex-direction:column;gap:1px;min-width:0}
.cw-pill__who{font-size:.78rem;line-height:1.3;color:rgba(244,241,234,.72);white-space:nowrap}
.cw-pill__who b{font-weight:600;color:var(--sand,#f4f1ea)}
.cw-pill__t{font-size:.95rem;font-weight:600;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  transition:opacity .28s var(--ease,ease)}
.cw-pill.is-swap .cw-pill__t{opacity:0}
.cw-pill__x{position:absolute;left:-6px;top:-6px;width:24px;height:24px;padding:0;border:1px solid var(--hairline,#d8d2c6);border-radius:50%;
  background:#fff;color:var(--navy,#14263f);cursor:pointer;display:flex;align-items:center;justify-content:center;
  opacity:0;transition:opacity .2s var(--ease,ease);box-shadow:0 2px 8px rgba(14,27,44,.18)}
.cw-pill:hover .cw-pill__x,.cw-pill__x:focus-visible{opacity:1}
@media (hover:none){.cw-pill__x{opacity:1}}
.cw-pill__x svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.cw-pill button:focus-visible{outline:2px solid var(--brass,#b08d57);outline-offset:3px}
.cw-pill.is-staff .cw-pill__b{background:var(--terracotta,#a84b35);border-radius:22px;align-items:flex-start}
.cw-pill.is-staff{max-width:min(380px,calc(100vw - 32px))}
.cw-pill.is-staff .cw-pill__ava::after{border-color:var(--terracotta,#a84b35)}
.cw-pill.is-staff .cw-pill__t{white-space:normal;font-weight:400;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}

/* анкета в ленте: «Вопрос 3 из 8», варианты кнопками во всю ширину */
.cw-quiz{align-self:stretch;margin-left:34px;display:flex;flex-direction:column;gap:6px;animation:cw-in .25s var(--ease,ease)}
.cw-quiz__n{display:flex;align-items:center;gap:10px;margin:0 0 2px;font:400 .72rem/1.3 var(--font-data,"IBM Plex Mono",monospace);
  letter-spacing:.04em;color:var(--brass-text,#856a3f)}
.cw-quiz__n span{flex:none}
.cw-quiz__n i{position:relative;flex:1;height:1px;background:var(--hairline,#d8d2c6)}
.cw-quiz__n i::after{content:"";position:absolute;left:0;top:0;bottom:0;width:var(--p,0%);background:var(--brass,#b08d57)}
.cw-quiz__opts{display:flex;flex-direction:column;gap:6px}
.cw-quiz__o{position:relative;min-height:44px;padding:10px 14px;border:1px solid var(--hairline,#d8d2c6);border-radius:0;background:var(--cw-paper);
  color:var(--ink,#1e2833);font:inherit;font-size:.92rem;line-height:1.3;text-align:left;cursor:pointer;
  transition:border-color .15s var(--ease,ease),background .15s var(--ease,ease),color .15s var(--ease,ease)}
.cw-quiz__o:hover{border-color:var(--navy,#14263f)}
.cw-quiz--multi .cw-quiz__o{padding-left:42px}
.cw-quiz--multi .cw-quiz__o::before{content:"";position:absolute;left:14px;top:50%;width:16px;height:16px;margin-top:-8px;
  border:1px solid var(--line-strong,#b9b2a4);background:#fff}
.cw-quiz__o[aria-pressed="true"]{background:var(--navy,#14263f);border-color:var(--navy,#14263f);color:var(--sand,#f4f1ea)}
.cw-quiz--multi .cw-quiz__o[aria-pressed="true"]::before{border-color:var(--sand,#f4f1ea);background:var(--navy,#14263f)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23f4f1ea' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat}
.cw-quiz__go{align-self:flex-start;min-height:44px;margin-top:2px;padding:0 20px;border:0;border-radius:0;background:var(--terracotta,#a84b35);
  color:#fff;font:inherit;font-size:.9rem;cursor:pointer;transition:background .15s var(--ease,ease),opacity .15s}
.cw-quiz__go:hover{background:#95412d}
.cw-quiz__go:disabled{opacity:.4;cursor:default}
.cw-quiz button:focus-visible{outline:2px solid var(--brass,#b08d57);outline-offset:2px}
/* анкета – первая подсказка, выделена */
.cw-chip--quiz{border-color:var(--terracotta,#a84b35);background:var(--terracotta,#a84b35);color:#fff}
.cw-chip--quiz:hover{background:#95412d;border-color:#95412d}

@keyframes cw-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes cw-up{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}
@keyframes cw-dot{0%,80%,100%{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
@keyframes cw-rec{0%,100%{opacity:1}50%{opacity:.3}}

@media (max-width:900px){.cw{right:16px;bottom:16px}.cw-fab{width:60px;height:60px}.cw-win{bottom:72px}}
@media (pointer:coarse){.cw-chip{min-height:44px}}
@media (max-width:640px){
  /* ширина – по видимой области, а не по раскладке: если какой-то блок
     страницы шире экрана, окно всё равно не уезжает за край */
  .cw-win{position:fixed;left:var(--cw-left,0px);right:auto;top:var(--cw-top,0px);bottom:auto;width:var(--cw-vw,100vw);height:var(--cw-vh,100dvh);border:0;box-shadow:none;animation:none}
  /* нижняя панель на 62 % высоты: страница сверху видна, фокус в поле разворачивает */
  .cw.is-sheet .cw-win{top:calc(var(--cw-top,0px) + var(--cw-vh,100dvh) * .38);height:calc(var(--cw-vh,100dvh) * .62);
    border-top:1px solid var(--navy,#14263f);animation:cw-up .3s var(--ease,ease)}
  .cw.is-open .cw-fab{display:none}
  .cw-head{padding-top:calc(12px + env(safe-area-inset-top,0px))}
  .cw.is-sheet .cw-head{padding-top:10px;padding-bottom:10px}
  .cw.is-sheet .cw-head .cw-ava{width:40px;height:40px}
  .cw-form{padding-bottom:calc(8px + env(safe-area-inset-bottom,0px))}
  /* 16 px – iOS не увеличивает страницу при фокусе в поле */
  .cw-form textarea{font-size:16px}
}
@media (max-width:400px){.cw-rec__max{display:none}}
@media (prefers-reduced-motion:reduce){
  .cw-win,.cw.is-sheet .cw-win,.cw-msg,.cw-contact,.cw-quiz,.cw.is-pulse .cw-fab{animation:none}
  .cw-pill,.cw-pill__t,.cw-quiz__o{transition:none}
  .cw-dots i,.cw-rec__dot{animation:none;opacity:.7}
  .cw-fab,.cw-chip,.cw-tg__btn,.cw-head__tg,.cw-head__wa,.cw-close,.cw-form>button,.cw-contact__row button,.cw-rec__lvl i{transition:none}
}

/* --- v10: вид как у «Советника» «Давим Масло» – скруглённое окно, облачка, круглое поле --- */
.cw-win{border-radius:18px;border:0;box-shadow:0 0 0 1px rgba(14,27,44,.08),0 24px 64px rgba(14,27,44,.30)}
.cw-head{padding:14px 10px 14px 16px}
.cw-head span{font-size:.78rem}
.cw-log{gap:8px;padding:18px 16px 8px}
.cw-msg{border-radius:18px;padding:10px 14px}
.cw-msg--ai{border:0;background:#fff;border-bottom-left-radius:6px;box-shadow:0 1px 2px rgba(14,27,44,.06)}
.cw-msg--me{border-bottom-right-radius:6px}
.cw-msg--op{background:#fff;box-shadow:0 0 0 1.5px var(--brass,#b08d57) inset}
.cw-dots{border-radius:18px;border-bottom-left-radius:6px}
.cw-chip{border-radius:999px;padding:8px 14px;background:#fff;border-color:var(--hairline,#d8d2c6);color:var(--navy,#14263f)}
.cw-chip:hover{background:var(--navy,#14263f);border-color:var(--navy,#14263f);color:var(--sand,#f4f1ea)}
.cw-chip--quiz{background:var(--terracotta,#a84b35);border-color:var(--terracotta,#a84b35);color:#fff}
.cw-tg{border-radius:999px}
.cw-contact{border:0;border-radius:16px;box-shadow:0 1px 2px rgba(14,27,44,.06)}
.cw-contact__row button{border-radius:999px}
.cw-quiz__o{border-radius:14px}
.cw-quiz__go{border-radius:999px}
.cw-form{gap:8px;padding:10px 10px 10px 12px;border-top:1px solid var(--hairline,#d8d2c6);background:var(--sand,#f4f1ea)}
.cw-form textarea{padding:11px 16px;border-radius:22px;background:#fff;box-shadow:0 0 0 1px var(--hairline,#d8d2c6) inset}
.cw-form textarea:focus{box-shadow:0 0 0 1.5px var(--navy,#14263f) inset}
.cw-form>button,.cw-rec button{border-radius:50%}
.cw-form>.cw-mic{background:#fff}
@media (max-width:640px){
  .cw-win{border-radius:0}
  .cw.is-sheet .cw-win{border-radius:18px 18px 0 0;border-top:0;box-shadow:0 -10px 40px rgba(14,27,44,.25)}
  .cw-pill{max-width:calc(100vw - 32px)}
}
@media (prefers-reduced-motion:reduce){.cw-pill__b,.cw-pill__x{transition:none}}

/* --- v11: консультация менеджера одной кнопкой, телефон – запасной путь --- */
.cw.has-ct .cw-tg{display:none}
.cw-ct__go{display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 18px;border-radius:999px;
  background:var(--terracotta,#a84b35);color:#fff;text-decoration:none;font-size:.95rem;font-weight:600;line-height:1.25;text-align:center;
  box-shadow:0 6px 18px rgba(168,75,53,.28);transition:background .15s var(--ease,ease),transform .15s var(--ease,ease)}
.cw-ct__go:hover{background:#95412d;transform:translateY(-1px)}
.cw-ct__go:focus-visible{outline:2px solid var(--navy,#14263f);outline-offset:3px}
.cw-ct__go svg{width:19px;height:19px;flex:none;fill:currentColor}
.cw-ct__more{display:block;margin:6px auto 0;padding:8px 6px;border:0;background:none;color:var(--warm-grey,#6e6a64);font:inherit;
  font-size:.82rem;text-decoration:underline;text-underline-offset:3px;cursor:pointer;min-height:36px}
.cw-ct__more:hover{color:var(--navy,#14263f)}
.cw-ct__phone{margin-top:10px;padding-top:10px;border-top:1px solid var(--hairline,#d8d2c6)}
.cw-contact>.cw-contact__note{margin:8px 0 0;text-align:center}
@media (pointer:coarse){.cw-ct__more{min-height:44px}}
@media (prefers-reduced-motion:reduce){.cw-ct__go{transition:none}}
.cw-ct__more[hidden],.cw-ct__phone[hidden]{display:none}
/* v14: карточка консультации – две равные кнопки */
.cw-ct__h{margin:0 0 8px;font-weight:600;color:var(--navy,#14263f);font-size:.95rem}
.cw-ct__two{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.cw-ct__two .cw-ct__go{min-width:0;padding:12px 10px}
.cw-ct__go--wa{background:#157a40;box-shadow:0 6px 18px rgba(21,122,64,.25)}
.cw-ct__go--wa:hover{background:#11683a}

