/* ============================================================================
   support.css — СТРАНИЦА ПОДДЕРЖКИ (support.html)
   ----------------------------------------------------------------------------
   Композиция S6. Визуал — в языке витрины Asia Care (Onest 300, surface,
   тонкие линии, сдержанный ink): премиум без «золотых» пилюль и мягких теней.
   ============================================================================ */

/* ── ХЕДЕР ─────────────────────────────────────────────────────────────── */
.sup-hero{ position:relative; z-index:3; padding:calc(var(--nav-h) + 36px) 48px 32px;
  background:var(--surface); border-bottom:1px solid var(--line); }
.sup-hero-inner{ max-width:1024px; margin:0 auto; text-align:left; }
body.sup-product-selected .sup-hero-inner{ max-width:880px; }
.sup-back{ display:inline-flex; align-items:center; gap:8px; font-size:10px; letter-spacing:.18em;
  text-transform:uppercase; color:rgba(0,0,0,.45); margin-bottom:22px; transition:color .25s; font-weight:400; }
body:not(.sup-product-selected) .sup-back{ display:none; }
.sup-back:hover{ color:var(--ink); }
.sup-back::before{ content:"\2190"; font-size:12px; letter-spacing:0; }
.sup-hero h1{ font-family:var(--font-display); font-size:clamp(32px,3.4vw,44px); font-weight:300;
  letter-spacing:-0.025em; line-height:1.08; margin-bottom:12px; color:var(--ink); }
.sup-hero-sub{ font-size:15px; font-weight:300; color:rgba(0,0,0,.5); letter-spacing:.01em;
  max-width:480px; line-height:1.65; }

/* ── КОНТЕЙНЕР ─────────────────────────────────────────────────────────── */
.sup-app{ position:relative; z-index:0; max-width:1024px; margin:0 auto; padding:44px 48px 64px; background:var(--bg); }
body.sup-product-selected .sup-app{ max-width:880px; }
.sup-loading,.sup-fail{ text-align:center; padding:72px 20px; color:rgba(0,0,0,.45); font-size:14px; font-weight:300; }
.sup-step-title{ font-family:var(--font-display); font-weight:300; font-size:clamp(22px,2.4vw,28px);
  letter-spacing:-0.02em; color:var(--ink); margin:0 0 22px; }

/* ── ПОИСК ТОВАРА (Q1 hairline) ────────────────────────────────────────── */
.sup-search{ margin:0 0 22px; max-width:520px; }
.sup-search-label{ position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.sup-search-row{ display:flex; align-items:center; gap:12px; border-bottom:1px solid rgba(0,0,0,.18);
  padding-bottom:10px; transition:border-color .2s; }
.sup-search-row:focus-within{ border-bottom-color:var(--ink); }
.sup-search-ico{ width:18px; height:18px; color:rgba(0,0,0,.35); flex:none; transition:color .2s; }
.sup-search-row:focus-within .sup-search-ico{ color:var(--ink); }
.sup-search-input{ flex:1; min-width:0; border:0; background:transparent; outline:none; box-shadow:none;
  font:300 16px/1.4 var(--font-text); color:var(--ink); padding:0; -webkit-appearance:none; appearance:none; }
.sup-search-input::placeholder{ color:rgba(0,0,0,.35); font-weight:300; }
.sup-search-input::-webkit-search-cancel-button{ -webkit-appearance:none; appearance:none; }
.sup-search-clear{ border:0; background:none; padding:0; cursor:pointer; flex:none;
  font-size:11px; font-weight:500; letter-spacing:.1em; text-transform:uppercase; color:rgba(0,0,0,.4);
  transition:color .2s; }
.sup-search-clear:hover{ color:var(--ink); }
.sup-search-empty{ margin:28px 0 8px; text-align:center; font-size:14px; font-weight:300;
  color:rgba(0,0,0,.45); line-height:1.55; }

/* Скелетон FAQ при догрузке — страница уже на экране. */
.sup-faq-skeleton{ border-top:1px solid var(--line); padding-top:4px; }
.sup-faq-skel-row{ height:56px; border-bottom:1px solid var(--line);
  background:linear-gradient(90deg,transparent,rgba(0,0,0,.035),transparent);
  background-size:200% 100%; animation:supSkel 1.2s ease-in-out infinite; }
@keyframes supSkel{ 0%{ background-position:100% 0; } 100%{ background-position:-100% 0; } }
@media(prefers-reduced-motion:reduce){
  .sup-faq-skel-row{ animation:none; background:var(--surface); }
}
.sup-step-cat{ display:flex; align-items:center; gap:12px; }
.sup-step-icon{ display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px;
  border-radius:0; background:transparent; color:var(--ink); flex:none; }

/* Карточка выбранного товара — раскладка S6, премиум-отделка. */
.sup-product-hero{
  display:grid; grid-template-columns:168px minmax(0,1fr); gap:32px;
  align-items:center; margin:0 0 32px; padding:0 0 32px;
  border:0; border-bottom:1px solid var(--line); border-radius:0;
  background:transparent; box-shadow:none;
}
.sup-product-visual{ display:flex; flex-direction:column; min-width:0; }
.sup-product-visual .sup-current-img{
  width:100%; aspect-ratio:4/5; border-radius:0;
  overflow:hidden; background:var(--surface); border:0;
}
.sup-product-visual .sup-current-img img{ width:100%; height:100%; object-fit:cover; padding:0; }
.sup-product-article{
  display:inline-flex; align-items:center; gap:8px; min-height:auto; margin:0!important; padding:0;
  border:0; border-radius:0; background:transparent;
  font-size:10px!important; color:rgba(0,0,0,.45)!important; font-weight:400!important;
  letter-spacing:.16em!important; text-transform:uppercase;
}
.sup-product-article-sep{ opacity:.35; }
.sup-product-hero .sup-current{ flex-direction:column; align-items:flex-start; gap:16px; margin:0; padding:0;
  background:transparent; border-radius:0; }
.sup-product-hero .sup-current-img{ width:100%; height:auto; aspect-ratio:4/5; border-radius:0;
  background:var(--surface); border:0; }
.sup-product-hero .sup-current-img img{ object-fit:cover; padding:0; }
.sup-product-hero .sup-current-meta{ display:none; }
.sup-product-copy{
  min-width:0; display:flex; flex-direction:column; justify-content:center; gap:18px; padding:0;
}
.sup-product-heading{ min-width:0; display:flex; flex-direction:column; align-items:flex-start; gap:12px; }
.sup-product-copy h2{
  margin:0; max-width:520px; font-family:var(--font-display); font-size:clamp(26px,2.8vw,36px);
  font-weight:300; line-height:1.1; letter-spacing:-.025em; color:var(--ink);
}
.sup-product-copy>p{ margin:0; max-width:440px; font-size:14px; font-weight:300; line-height:1.7;
  color:rgba(0,0,0,.5); }
.sup-product-actions{ display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.sup-product-chat{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  min-height:48px; padding:0 22px; border:1.5px solid var(--ink); border-radius:0;
  background:var(--ink); color:#fff; font-size:11px; font-weight:500; letter-spacing:.12em; text-transform:uppercase;
  box-shadow:none; transition:background .22s,border-color .22s,color .22s,opacity .22s;
}
.sup-product-chat:hover{ background:#000; border-color:#000; transform:none; box-shadow:none; }
.sup-product-hero .sup-change{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height:48px; margin:0; padding:0 18px;
  border:1.5px solid rgba(0,0,0,.16); border-radius:0;
  background:transparent; color:var(--ink); font-size:11px; font-weight:500;
  letter-spacing:.1em; text-transform:uppercase; white-space:nowrap;
  box-shadow:none; transition:border-color .22s,background .22s,color .22s;
}
.sup-change-icon{ width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.4;
  stroke-linecap:round; stroke-linejoin:round; }
.sup-product-hero .sup-change:hover{
  border-color:var(--ink); background:var(--surface); color:var(--ink);
  transform:none; box-shadow:none;
}
.sup-product-link{
  display:inline-flex; align-items:center; gap:7px; margin:0;
  min-height:auto; padding:0 0 2px; border:0; border-bottom:1px solid rgba(0,0,0,.28); border-radius:0;
  background:transparent; color:var(--ink); font-size:11px; font-weight:500; letter-spacing:.12em;
  text-transform:uppercase; text-decoration:none; box-shadow:none; transition:opacity .22s,border-color .22s;
}
.sup-product-link:hover{ color:var(--ink); opacity:.55; transform:none; box-shadow:none; }
.sup-product-link::after{ content:"\2192"; letter-spacing:0; transition:transform .25s; }
.sup-product-link:hover::after{ transform:translateX(4px); }
.sup-demo-note{ margin-top:18px!important; padding-top:16px; border-top:1px solid var(--line);
  font-size:12px!important; font-weight:300!important; line-height:1.55!important; color:rgba(0,0,0,.4)!important; }

/* FAQ → чат */
.sup-workspace{ display:flex; flex-direction:column; gap:20px; }
.sup-workspace-chat-only{ gap:0; }
.sup-faq-shell,.sup-chat{ border:1px solid var(--line); border-radius:0; background:#fff;
  padding:32px; box-shadow:none; scroll-margin-top:96px; }
.sup-panel-head{ margin-bottom:22px; }
.sup-chat-head{ margin-bottom:16px; }
.sup-panel-head h2{ margin:0; font-family:var(--font-display); font-size:clamp(22px,2.5vw,30px);
  font-weight:300; line-height:1.12; letter-spacing:-.02em; color:var(--ink); }
.sup-panel-head p{ margin:0; color:rgba(0,0,0,.5); font-size:13.5px; font-weight:300; line-height:1.65; }
.sup-panel-kicker{ display:block; color:rgba(0,0,0,.4); font-size:10px; font-weight:500; letter-spacing:.18em; text-transform:uppercase; margin-bottom:8px; }
.sup-panel-head-question{ display:flex; align-items:center; gap:14px; margin-bottom:22px; }
.sup-panel-head-question h2{ margin-bottom:0; }
.sup-invalid{ display:flex; align-items:flex-start; gap:14px; margin:0 0 28px; padding:18px 20px;
  border:1px solid var(--line); border-radius:0; background:var(--surface); color:var(--ink); }
.sup-invalid-mark{ display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px;
  flex:none; border-radius:0; background:var(--ink); color:#fff; font-weight:500; font-size:12px; }
.sup-invalid strong{ font-size:14px; font-weight:500; }
.sup-invalid p{ margin:4px 0 0; font-size:12.5px; font-weight:300; line-height:1.55; color:rgba(0,0,0,.55); }
.sup-invalid p span{ font-family:var(--font-text); color:var(--ink); letter-spacing:.04em; }

/* ── ВЫБОР ТОВАРА ──────────────────────────────────────────────────────── */
.sup-prod-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:3px; }
.sup-prod{ display:flex; flex-direction:column; align-items:stretch; text-align:left; background:var(--bg);
  border:1px solid var(--line); border-radius:0; padding:0; cursor:pointer;
  transition:transform .35s cubic-bezier(.25,.1,.25,1), box-shadow .35s, border-color .35s; }
.sup-prod:hover{ transform:translateY(-5px); box-shadow:0 18px 40px rgba(0,0,0,.08); border-color:transparent; }
.sup-prod:focus-visible{ outline:2px solid var(--ink); outline-offset:2px; }
.sup-prod-img{ display:block; aspect-ratio:4/5; border-radius:0; overflow:hidden; background:var(--surface); margin-bottom:0; }
.sup-prod-img img{ width:100%; height:100%; object-fit:cover; transition:transform .8s cubic-bezier(.25,.1,.25,1),opacity .35s ease; opacity:0; }
.sup-prod-img img.is-ready{ opacity:1; }
.sup-prod:hover .sup-prod-img img{ transform:scale(1.04); }
.sup-prod-skel{ pointer-events:none; cursor:default; }
.sup-prod-skel:hover{ transform:none; box-shadow:none; border-color:var(--line); }
.sup-prod-skel .sup-prod-img{
  background:linear-gradient(90deg,var(--surface),rgba(0,0,0,.04),var(--surface));
  background-size:200% 100%; animation:supSkel 1.2s ease-in-out infinite;
}
.sup-prod-skel .sup-prod-title{ color:transparent; background:rgba(0,0,0,.04); min-height:1.2em; }
.sup-prod-noimg{ display:block; width:100%; height:100%; background:var(--surface); }
.sup-prod-title{ font-size:13.5px; font-weight:400; color:var(--ink); line-height:1.35; padding:16px 14px;
  letter-spacing:-.01em; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* ── ПЛАШКА (legacy) ───────────────────────────────────────────────────── */
.sup-current{ display:flex; align-items:center; gap:14px; background:var(--surface);
  border-radius:0; padding:12px 14px; margin-bottom:26px; }
.sup-current-img{ width:52px; height:64px; border-radius:0; overflow:hidden; background:var(--bg); flex:none; }
.sup-current-img img{ width:100%; height:100%; object-fit:cover; }
.sup-current-meta{ min-width:0; flex:1; }
.sup-current-title{ display:block; font-size:15px; font-weight:400; color:var(--ink); line-height:1.3; }
.sup-current-model{ display:block; margin-top:3px; font-size:10px; letter-spacing:.12em; text-transform:uppercase; color:rgba(0,0,0,.45); }
.sup-current-sku{ display:block; font-size:11px; color:rgba(0,0,0,.4); margin-top:2px; letter-spacing:.04em; }
.sup-change{ flex:none; background:none; border:1px solid rgba(0,0,0,.16); border-radius:0;
  padding:10px 16px; font-size:11px; font-weight:500; letter-spacing:.1em; text-transform:uppercase; color:var(--ink);
  cursor:pointer; transition:border-color .2s, background .2s; }
.sup-change:hover{ border-color:var(--ink); background:var(--bg); }

/* ── КАТЕГОРИИ FAQ ─────────────────────────────────────────────────────── */
.sup-cats{ display:flex; flex-direction:column; gap:0; border-top:1px solid var(--line); }
.sup-cat{ display:flex; align-items:center; gap:16px; width:100%; min-height:64px; text-align:left;
  background:transparent; border:0; border-bottom:1px solid var(--line); border-radius:0; padding:16px 2px; cursor:pointer;
  transition:color .22s; }
.sup-cat:hover{ transform:none; box-shadow:none; background:transparent; }
.sup-cat:focus-visible{ outline:2px solid var(--ink); outline-offset:2px; }
.sup-cat-icon{ display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px;
  border-radius:0; background:transparent; color:rgba(0,0,0,.55); flex:none;
  transition:color .22s; }
.sup-cat:hover .sup-cat-icon{ background:transparent; color:var(--ink); }
.sup-faq-icon{ display:block; width:20px; height:20px; }
.sup-cat-title{ font-size:15px; font-weight:400; color:var(--ink); flex:1; min-width:0; letter-spacing:-.01em;
  transition:opacity .22s; }
.sup-cat:hover .sup-cat-title{ opacity:.72; }
.sup-cat-arr{ flex:none; font-size:18px; color:rgba(0,0,0,.25); line-height:1; transition:transform .25s,color .25s; }
.sup-cat:hover .sup-cat-arr{ color:var(--ink); transform:translateX(4px); }

/* ── ВОПРОСЫ ─────────────────────────────────────────────────────────────
   Открытый вопрос — вариант A (hairline): без заливки ряда, тонкая линия
   над ответом + чуть плотнее заголовок. Альтернативы B/C — см. комментарий
   в конце блока (закомментированы). */
.sup-crumb{ display:inline-flex; align-items:center; gap:10px; min-height:40px; background:transparent;
  border:0; border-radius:0; cursor:pointer; font-size:11px;
  letter-spacing:.12em; text-transform:uppercase; font-weight:500; color:var(--ink); padding:0 0 2px;
  margin-bottom:22px; box-shadow:none; border-bottom:1px solid rgba(0,0,0,.28);
  transition:opacity .2s; }
.sup-crumb-icon{ display:inline-flex; align-items:center; justify-content:center; width:auto; height:auto;
  border-radius:0; background:transparent; color:var(--ink); font-size:14px; line-height:1;
  transition:transform .2s; }
.sup-crumb:hover{ transform:none; border-color:rgba(0,0,0,.45); background:transparent; box-shadow:none; opacity:.55; }
.sup-crumb:hover .sup-crumb-icon{ transform:translateX(-2px); }
.sup-crumb:focus-visible{ outline:2px solid var(--ink); outline-offset:3px; }
.sup-qs{ display:flex; flex-direction:column; gap:0; border-top:1px solid var(--line); }
.sup-q{ position:relative; background:transparent; border:0; border-bottom:1px solid var(--line); border-radius:0;
  overflow:hidden; transition:background .22s; }
.sup-q.open{ background:transparent; box-shadow:none; }
.sup-q-head{ display:flex; align-items:center; gap:16px; width:100%; min-height:58px; text-align:left;
  background:none; border:none; cursor:pointer; padding:18px 2px; }
.sup-q:not(.open) .sup-q-head:hover .sup-q-text{ opacity:.65; }
.sup-q-text{ flex:1; font-size:15px; font-weight:400; color:var(--ink); line-height:1.4; letter-spacing:-.01em;
  transition:opacity .2s,font-weight .2s; }
.sup-q.open .sup-q-text{ font-weight:500; }
.sup-q-plus{ position:relative; width:18px; height:18px; flex:none; }
.sup-q-plus::before,.sup-q-plus::after{ content:""; position:absolute; background:rgba(0,0,0,.35);
  transition:transform .3s cubic-bezier(.25,.1,.25,1),background .2s; }
.sup-q-plus::before{ left:1px; right:1px; top:8px; height:1px; border-radius:0; }
.sup-q-plus::after{ top:1px; bottom:1px; left:8px; width:1px; border-radius:0; }
.sup-q.open .sup-q-plus::before,.sup-q.open .sup-q-plus::after{ background:var(--ink); }
.sup-q.open .sup-q-plus::after{ transform:scaleY(0); }
.sup-q-body{ display:grid; grid-template-rows:0fr; transition:grid-template-rows .35s cubic-bezier(.25,.1,.25,1); }
.sup-q.open .sup-q-body{ grid-template-rows:1fr; }
.sup-q-answer{ overflow:hidden; padding:0 2px; font-size:14.5px; font-weight:300; line-height:1.7;
  color:rgba(0,0,0,.58); }
.sup-q.open .sup-q-answer{ margin:0 2px 4px; padding:16px 0 22px; border-top:1px solid rgba(0,0,0,.1); }
.sup-q-answer p{ margin:0 0 10px; }
.sup-q-answer p:last-child{ margin-bottom:0; }
.sup-q-answer a{ color:var(--ink); text-decoration:underline; text-underline-offset:3px; }
.sup-q-answer ul,.sup-q-answer ol{ margin:0 0 10px 18px; }
/* B — ink bar: .sup-q.open::before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:1.5px;background:var(--ink)}
   C — soft surface: .sup-q.open{background:var(--surface)} */

/* ── ПУСТО / НЕ НАШЛИ ──────────────────────────────────────────────────── */
.sup-empty{ background:var(--surface); border-radius:0; padding:24px; font-size:14.5px; font-weight:300;
  color:rgba(0,0,0,.55); line-height:1.65; margin-bottom:14px; }
.sup-nofind{ margin-top:28px; background:var(--surface); border-radius:0; padding:28px; text-align:center; }
.sup-nofind-t{ font-family:var(--font-display); font-weight:300; font-size:22px; color:var(--ink); margin:0 0 8px; letter-spacing:-.02em; }
.sup-nofind-s{ font-size:13.5px; font-weight:300; color:rgba(0,0,0,.5); margin:0 0 18px; line-height:1.55; }
.sup-nofind-btn{ display:inline-flex; align-items:center; justify-content:center; min-height:48px;
  padding:0 24px; border-radius:0; font-size:11px; font-weight:500; color:#fff; letter-spacing:.12em; text-transform:uppercase;
  transition:opacity .25s, background .25s; }
.sup-nofind-btn:hover{ transform:none; box-shadow:none; opacity:.85; }
.sup-nofind-go{ border:none; cursor:pointer; background:var(--ink); min-width:220px; }
.sup-nofind-go:hover{ background:#000; }
.sup-nofind-chat{ display:none; border:none; cursor:pointer; background:var(--ink); min-width:220px; }
.sup-nofind-chat:hover{ background:#000; }
.sup-nofind-alt{ display:none; margin-top:14px; font-size:12px; font-weight:400;
  color:rgba(0,0,0,.45); text-decoration:underline; text-underline-offset:3px; transition:color .2s; }
.sup-nofind-alt:hover{ color:var(--ink); }
body.sup-has-chat .sup-nofind-chat{ display:inline-flex; }
body.sup-has-chat .sup-nofind-alt{ display:inline-block; }
body.sup-has-chat .sup-nofind-go{ display:none; }

/* ── ЧАТ ───────────────────────────────────────────────────────────────── */
.sup-chat{ background:#fff; }
.sup-chat-status{ min-height:20px; margin:-8px 0 12px; color:#3d6b55; font-size:12px; font-weight:400; }
.sup-chat-status:empty{ display:none; }
.sup-chat-status.error{ color:#a14235; }
.sup-chat-thread{ min-height:180px; max-height:480px; overflow-y:auto; padding:20px; border:1px solid var(--line);
  border-radius:0; background:var(--surface); display:flex; flex-direction:column; gap:12px;
  scrollbar-width:none; -ms-overflow-style:none; }
.sup-chat-thread::-webkit-scrollbar{ width:0; height:0; display:none; }
.sup-chat-thread.is-empty{ display:none; }
.sup-message{ max-width:min(78%,520px); padding:12px 14px 10px; border-radius:0; box-shadow:none; border:1px solid var(--line); }
.sup-message.manager{ align-self:flex-start; background:#fff; border-bottom-left-radius:0; }
.sup-message.visitor{ align-self:flex-end; background:var(--ink); color:#fff; border-color:var(--ink); border-bottom-right-radius:0; }
.sup-message.pending{ opacity:.55; }
.sup-message-author{ display:block; margin-bottom:5px; font-size:9px; font-weight:500; letter-spacing:.14em; text-transform:uppercase; opacity:.5; }
.sup-message p{ margin:0; font-size:14px; line-height:1.55; word-break:break-word; font-weight:300; }
.sup-message time{ display:block; margin-top:6px; text-align:right; font-size:10px; opacity:.4; letter-spacing:.02em; }
.sup-chat-form{ margin-top:0; }
.sup-chat-thread:not(.is-empty)+.sup-chat-form{ margin-top:16px; }
.sup-chat-design-note{ margin:0 0 12px; padding:10px 12px; border-radius:0; background:var(--surface);
  color:rgba(0,0,0,.5); font-size:12px; line-height:1.45; font-weight:300; }
.sup-composer{ position:relative; border:1px solid rgba(0,0,0,.14); border-radius:0; background:#fff;
  box-shadow:none; transition:border-color .2s,box-shadow .2s; overflow:hidden; }
.sup-composer:hover{ border-color:rgba(0,0,0,.28); }
.sup-composer:focus-within{ border-color:var(--ink); background:#fff;
  box-shadow:0 0 0 1px var(--ink); }
.sup-composer-toolbar{ display:flex; align-items:center; gap:2px; padding:10px 10px 0; }
.sup-composer-btn{ display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px;
  border:0; border-radius:0; background:transparent; color:rgba(0,0,0,.38); cursor:pointer; padding:0;
  transition:background .2s,color .2s; }
.sup-composer-btn svg{ display:block; width:18px; height:18px; }
.sup-composer-btn:hover{ background:transparent; color:var(--ink); }
.sup-composer-btn.is-open{ color:var(--ink); background:var(--surface); }
.sup-composer-toolbar-hint{ margin-left:auto; color:rgba(0,0,0,.35); font-size:10px; line-height:1.3; max-width:52%; text-align:right; letter-spacing:.04em; }
.sup-composer textarea{ width:100%; resize:none; min-height:96px; max-height:260px; border:0; border-radius:0;
  background:transparent; color:var(--ink); caret-color:var(--ink); padding:10px 14px 14px;
  font:300 15px/1.55 var(--font-text); outline:none; box-shadow:none; }
.sup-composer textarea::-webkit-resizer{ display:none; }
.sup-composer textarea::placeholder{ color:rgba(0,0,0,.38); opacity:1; font-weight:300; }
.sup-attach-input{ position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
.sup-attach-list{ display:flex; flex-wrap:wrap; gap:8px; padding:0 12px 12px; }
.sup-attach-chip{ display:flex; align-items:center; gap:8px; max-width:100%; padding:6px 8px; border-radius:0;
  background:var(--surface); border:1px solid var(--line); }
.sup-attach-thumb{ width:42px; height:42px; object-fit:cover; border-radius:0; background:#ddd; flex:none; }
.sup-attach-file-ico{ display:inline-flex; align-items:center; justify-content:center; width:42px; height:42px;
  border-radius:0; background:var(--surface-2); flex:none; font-size:16px; }
.sup-attach-meta{ min-width:0; display:flex; flex-direction:column; gap:2px; }
.sup-attach-meta strong{ font-size:12px; font-weight:500; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:180px; }
.sup-attach-meta em{ font-style:normal; font-size:10.5px; color:rgba(0,0,0,.4); }
.sup-attach-remove{ width:28px; height:28px; border:0; border-radius:0; background:transparent; color:rgba(0,0,0,.4);
  cursor:pointer; font-size:18px; line-height:1; flex:none; }
.sup-attach-remove:hover{ background:rgba(0,0,0,.05); color:var(--ink); }
.sup-emoji-panel{ display:flex; flex-wrap:wrap; gap:2px; padding:8px 10px; border-top:1px solid var(--line); background:var(--surface); }
.sup-emoji-panel[hidden]{ display:none !important; }
.sup-emoji-item{ width:34px; height:34px; border:0; border-radius:0; background:transparent; cursor:pointer; font-size:18px; line-height:1; }
.sup-emoji-item:hover{ background:#fff; }
.sup-message-body{ margin:0; font-size:14px; line-height:1.55; word-break:break-word; font-weight:300; }
.sup-message-attachments{ display:flex; flex-direction:column; gap:8px; margin-top:8px; }
.sup-msg-media{ display:block; overflow:hidden; border-radius:0; max-width:240px; }
.sup-msg-media img,.sup-msg-media.video{ display:block; width:100%; max-height:220px; object-fit:cover; background:rgba(255,255,255,.08); }
.sup-message.manager .sup-msg-media img,.sup-message.manager .sup-msg-media.video{ background:rgba(0,0,0,.04); }
.sup-msg-file{ display:flex; align-items:center; gap:8px; padding:8px 10px; border-radius:0;
  background:rgba(255,255,255,.1); color:inherit; font-size:12.5px; text-decoration:none; }
.sup-message.manager .sup-msg-file{ background:rgba(0,0,0,.04); }
.sup-msg-file em{ margin-left:auto; font-style:normal; opacity:.55; font-size:11px; }
.sup-message-actions{ margin-top:6px; }
.sup-msg-edit{ border:0; background:transparent; padding:0; color:inherit; opacity:.5; font-size:10px;
  font-weight:500; letter-spacing:.08em; text-transform:uppercase; cursor:pointer; text-decoration:underline; text-underline-offset:2px; }
.sup-msg-edit:hover{ opacity:.9; }
.sup-message-edited,.sup-message-local{ display:block; margin-top:4px; font-size:10px; opacity:.45; }
.sup-message.is-editing{ max-width:min(92%,560px); }
.sup-message-editor textarea{ width:100%; min-height:72px; resize:vertical; border:1px solid rgba(255,255,255,.2);
  border-radius:0; background:rgba(255,255,255,.08); color:#fff; padding:10px 12px; font:300 14px/1.5 var(--font-text); outline:none; }
.sup-message-editor-row{ display:flex; justify-content:flex-end; gap:8px; margin-top:8px; }
.sup-msg-btn{ min-height:34px; padding:0 14px; border:1px solid rgba(255,255,255,.25); border-radius:0;
  background:transparent; color:#fff; font-size:11px; font-weight:500; letter-spacing:.08em; text-transform:uppercase; cursor:pointer; }
.sup-msg-btn.primary{ background:#fff; color:var(--ink); border-color:#fff; }
.sup-honeypot{ position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; opacity:0!important; }
.sup-chat-consent{ display:flex; align-items:flex-start; gap:10px; margin:0; color:rgba(0,0,0,.48);
  font-size:11.5px; font-weight:300; line-height:1.5; transition:color .2s; }
.sup-chat-consent input{ width:15px; height:15px; margin:2px 0 0; accent-color:var(--ink); flex:none;
  border-radius:0; transition:box-shadow .2s; }
.sup-chat-consent a{ color:var(--ink); text-decoration:underline; text-underline-offset:2px; }
.sup-chat-consent.has-error{ color:#a14235; }
.sup-chat-consent.has-error input{ accent-color:#b94a3a; outline:1px solid #b94a3a; outline-offset:1px;
  box-shadow:0 0 0 3px rgba(185,74,58,.1); }
.sup-chat-form-row{ display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:20px; margin-top:16px; }
.sup-chat-send{ display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:48px; padding:0 22px;
  border:1.5px solid var(--ink); border-radius:0; background:var(--ink); color:#fff; font-size:11px; font-weight:500;
  letter-spacing:.12em; text-transform:uppercase; cursor:pointer; transform:none; transition:background .22s,opacity .22s; }
.sup-chat-send:hover{ background:#000; border-color:#000; transform:none; }
.sup-chat-send:disabled{ opacity:.45; cursor:wait; transform:none; }

/* ── МЕССЕНДЖЕРЫ ───────────────────────────────────────────────────────── */
.sup-channels{ position:relative; z-index:2; background:var(--surface); padding:64px 48px;
  border-top:1px solid var(--line); }
.sup-channels h2,.sup-info h2{ font-family:var(--font-display); font-weight:300;
  font-size:clamp(24px,2.6vw,34px); letter-spacing:-0.02em; color:var(--ink);
  text-align:center; margin:0 0 10px; }
.sup-channels-sub{ text-align:center; font-size:14px; font-weight:300; color:rgba(0,0,0,.5);
  max-width:480px; margin:0 auto 36px; line-height:1.65; }
.sup-channels-grid{ display:grid; grid-template-columns:1fr 1fr; gap:3px; max-width:880px; margin:0 auto; }
.sup-ch{ display:flex; align-items:center; gap:18px; border-radius:0; padding:26px 28px;
  position:relative; overflow:hidden; background:#fff; border:1px solid var(--line); color:var(--ink);
  transition:border-color .25s,background .25s; }
.sup-ch::before{ content:""; position:absolute; top:0; left:0; right:0; height:3px;
  transform:scaleX(0); transform-origin:left; transition:transform .35s; }
.sup-ch:hover{ transform:none; background:var(--bg); border-color:rgba(0,0,0,.16); }
.sup-ch:hover::before{ transform:scaleX(1); }
.sup-ch-tg::before{ background:#229ED9; }
.sup-ch-max::before{ background:#5B45D6; }
.sup-ch-icon{ display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px;
  border-radius:0; color:#fff; flex:none; }
.sup-ch-tg .sup-ch-icon{ background:#229ED9; }
.sup-ch-max .sup-ch-icon{ background:#5B45D6; }
.sup-ch-icon svg{ width:20px; height:20px; fill:currentColor; }
.sup-ch-icon-max{ font-family:var(--font-display); font-weight:400; font-size:18px; letter-spacing:-.02em; color:#fff; }
.sup-ch-body{ min-width:0; flex:1; }
.sup-ch-name{ display:block; font-size:11px; font-weight:500; letter-spacing:.14em; text-transform:uppercase;
  transition:color .25s; }
.sup-ch-tg:hover .sup-ch-name{ color:#229ED9; }
.sup-ch-max:hover .sup-ch-name{ color:#5B45D6; }
.sup-ch-desc{ display:block; font-size:13px; font-weight:300; color:rgba(0,0,0,.5); margin-top:5px; line-height:1.45; }
.sup-ch-arr{ flex:none; font-size:16px; color:rgba(0,0,0,.3); transition:transform .3s,color .3s; }
.sup-ch:hover .sup-ch-arr{ transform:translateX(4px); color:var(--ink); }

/* ── КАК МЫ РАБОТАЕМ ───────────────────────────────────────────────────── */
.sup-info{ position:relative; z-index:0; padding:64px 48px 80px; background:var(--bg);
  border-top:1px solid var(--line); }
.sup-info h2{ margin-bottom:36px; }
.sup-info-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:3px; max-width:980px; margin:0 auto; }
.sup-info-card{ background:var(--surface); border:0; border-radius:0; padding:32px 28px; }
.sup-info-num{ display:block; font-family:var(--font-display); font-weight:300; font-size:clamp(26px,2.4vw,32px);
  letter-spacing:-0.03em; color:var(--ink); margin-bottom:12px; line-height:1; }
.sup-info-unit{ font-size:15px; font-weight:300; }
.sup-info-lbl{ display:block; font-size:13px; font-weight:300; line-height:1.65; color:rgba(0,0,0,.5);
  letter-spacing:.01em; }

#footer{ position:relative; z-index:2; }

/* ── ЗАКРЕПЛЁННАЯ ПАНЕЛЬ (только мобильные) ────────────────────────────── */
.sup-sticky{ display:none; }

/* ── АДАПТИВ ───────────────────────────────────────────────────────────── */
@media(max-width:960px){
  .sup-hero{ padding:calc(var(--nav-h) + 28px) 24px 26px; }
  .sup-app{ padding:32px 24px 52px; }
  .sup-prod-grid{ grid-template-columns:repeat(4,1fr); }
  .sup-channels{ padding:48px 24px; }
  .sup-info{ padding:48px 24px 64px; }
  .sup-info-grid{ grid-template-columns:1fr 1fr; }
  .sup-product-hero{ grid-template-columns:140px minmax(0,1fr); gap:24px; }
  .sup-product-hero .sup-change{ padding:0 14px; }
  .sup-faq-shell,.sup-chat{ padding:24px; }
}
@media(max-width:600px){
  .sup-hero{ padding:calc(var(--nav-h) + 24px) 16px 22px; }
  .sup-hero h1{ font-size:clamp(28px,7.5vw,34px); }
  .sup-app{ padding:24px 16px 44px; }
  .sup-prod-grid{ grid-template-columns:repeat(4,1fr); gap:3px; }
  .sup-prod-title{ font-size:11px; padding:10px 8px; line-height:1.3; }
  .sup-current{ gap:11px; padding:10px 12px; }
  .sup-current-img{ width:44px; height:55px; }
  .sup-current-title{ font-size:13.5px; }
  .sup-change{ padding:8px 12px; font-size:10px; }
  .sup-cat{ min-height:56px; padding:14px 0; gap:12px; }
  .sup-cat-icon{ width:32px; height:32px; }
  .sup-faq-icon{ width:16px; height:16px; }
  .sup-cat-title{ font-size:14px; }
  .sup-q-head{ padding:16px 0; }
  .sup-q-answer{ padding:0; }
  .sup-q.open .sup-q-answer{ margin:0; padding:14px 0 18px; }
  .sup-channels-grid{ grid-template-columns:1fr; }
  .sup-info-grid{ grid-template-columns:1fr; }
  .sup-product-hero{
    grid-template-columns:132px minmax(0,1fr); gap:14px 16px; align-items:start;
    padding:0 0 24px; margin-bottom:24px;
  }
  .sup-product-visual{ width:auto; margin:0; }
  .sup-product-copy{ padding:0; gap:12px; justify-content:flex-start; min-width:0; }
  .sup-product-heading{ gap:0; }
  .sup-product-copy h2{
    font-size:clamp(18px,4.8vw,22px); line-height:1.18; max-width:none;
  }
  .sup-product-actions{ flex-direction:column; align-items:flex-start; gap:8px; }
  .sup-product-chat,.sup-product-hero .sup-change{
    width:auto; max-width:100%; min-height:40px; padding:0 14px; font-size:10px; letter-spacing:.08em;
  }
  .sup-product-hero .sup-change{ gap:6px; }
  .sup-change-icon{ width:13px; height:13px; }
  .sup-product-link{ justify-content:flex-start; width:fit-content; font-size:10px; letter-spacing:.1em; }
  .sup-faq-shell,.sup-chat{ padding:20px 16px; }
  .sup-chat-thread{ min-height:170px; max-height:400px; padding:14px; }
  .sup-message{ max-width:88%; }
  .sup-chat-form-row{ grid-template-columns:1fr; align-items:stretch; gap:14px; }
  .sup-chat-send{ width:100%; }
  .sup-composer-toolbar-hint{ display:none; }
  .sup-msg-media{ max-width:100%; }

  .sup-sticky{ position:fixed; left:0; right:0; bottom:0; z-index:60;
    display:flex; align-items:center; gap:9px; padding:10px 14px calc(10px + env(safe-area-inset-bottom));
    background:rgba(255,255,255,.94); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px);
    border-top:1px solid var(--line); }
  .sup-sticky-lbl{ font-size:12px; font-weight:400; color:rgba(0,0,0,.55); flex:1; min-width:0; line-height:1.25; }
  .sup-sticky-btn{ flex:none; display:inline-flex; align-items:center; justify-content:center;
    min-height:44px; padding:0 18px; border-radius:0; font-size:11px; font-weight:500;
    letter-spacing:.1em; text-transform:uppercase; color:#fff; }
  .sup-sticky-chat{ background:var(--ink); padding-inline:20px; }
  body:not(.sup-product-selected) .sup-sticky{ display:none; }
  /* Чтобы панель не перекрывала последний контент и футер. */
  body{ padding-bottom:64px; }
}

/* ── ДОСТУПНОСТЬ: уважение к reduced motion ────────────────────────────── */
@media(prefers-reduced-motion:reduce){
  .sup-prod,.sup-cat,.sup-q,.sup-q-body,.sup-q-plus::before,.sup-q-plus::after,
  .sup-ch,.sup-ch-arr,.sup-nofind-btn{ transition:none; }
}
