
/* ===== КЕЙС: ДЕТАЛЬНАЯ СТРАНИЦА (COHERE CUSTOMER STORY LAYOUT) ===== */

/* 1. Центрированная редакционная шапка (без рамок, без чёрной окаёмки) */
.cs-hero{
  padding:clamp(48px,5.5vw,76px) var(--pad) 0;
  text-align:center;
}
.cs-hero__in{
  max-width:940px;
  margin:0 auto;
}
.cs-hero__meta{
  font-family:'JetBrains Mono',ui-monospace,Menlo,monospace;
  font-size:12px;
  font-weight:500;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#4A4A54;
  margin:0 0 22px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px;
}
.cs-hero__title{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif;
  font-weight:400;
  font-size:clamp(32px,4.2vw,54px);
  line-height:1.1;
  letter-spacing:-0.03em;
  color:#141418;
  margin:0 auto 22px;
  max-width:900px;
}
.cs-hero__lead{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif;
  font-size:clamp(16.5px,1.35vw,19.5px);
  line-height:1.55;
  color:#383842;
  max-width:680px;
  margin:0 auto;
}

/* Обложка под заголовком (узкая по центру, как на скриншоте Cohere) */
.cs-hero__cover{
  max-width:940px;
  margin:clamp(38px,4.5vw,52px) auto 0;
  border-radius:16px;
  overflow:hidden;
  position:relative;
  aspect-ratio:1024 / 571;
  background:#1E295E;
  border:0;
  box-shadow:none;
}
@media(max-width:720px){
  .cs-hero__cover{border-radius:14px}
}
.cs-hero__cover-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Гарантируем работу position:sticky во всех браузерах (overflow-x:hidden на body ломает sticky) */
html,body{
  overflow-x:clip !important;
}

/* 2. Полноширинная двухколоночная сетка статьи (сайдбар слева, контент распределён на всю оставшуюся ширину) */
.cs-body{
  width:100%;
  max-width:none;
  margin:clamp(52px,5.5vw,76px) 0 0;
  padding:0 clamp(32px,3.6vw,56px) clamp(48px,5.5vw,72px) clamp(24px,2.4vw,36px);
  display:grid;
  grid-template-columns:268px minmax(0,1fr);
  column-gap:clamp(48px,4.8vw,76px);
  align-items:stretch;
  position:relative;
}
@media(max-width:960px){
  .cs-body{
    grid-template-columns:1fr;
    padding:0 var(--pad) 48px;
    gap:40px;
  }
}

/* Колонка-трек у левого края на всю высоту статьи для удержания sticky-меню */
.cs-aside-track{
  position:relative;
  min-height:100%;
}

/* Левый плавающий сайдбар-меню (компактный, помещается целиком в экран без скролла) */
.cs-aside{
  position:-webkit-sticky;
  position:sticky;
  top:78px;
  z-index:20;
  display:flex;
  flex-direction:column;
}
@media(max-width:960px){
  .cs-aside{
    position:static;
    padding-bottom:24px;
    border-bottom:1px solid #E4E5EA;
  }
}
.cs-back{
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-size:13px;
  font-weight:500;
  color:#17171C;
  text-decoration:none;
  margin-bottom:10px;
  transition:opacity .2s,transform .2s;
}
.cs-back:hover{opacity:.65;transform:translateX(-2px)}
.cs-aside__logo{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:'Inter',sans-serif;
  font-size:18.5px;
  font-weight:700;
  letter-spacing:-0.03em;
  color:#5264C8;
  margin-bottom:5px;
}
.cs-aside__logo svg{
  width:22px;
  height:19px;
  flex:none;
}
.cs-aside__about{
  font-size:12.5px;
  line-height:1.4;
  color:#5A5A64;
  margin:0 0 10px;
}

/* Навигация по разделам (без точек, серое выделение фокусировки) */
.cs-aside__nav{
  padding:8px 0;
  border-top:1px solid #E4E5EA;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.cs-aside__nav-lbl{
  font-family:'JetBrains Mono',ui-monospace,Menlo,monospace;
  font-size:10px;
  font-weight:500;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#71717A;
  margin-bottom:3px;
}
.cs-nav-link{
  display:block;
  padding:5px 10px;
  margin:0 -10px;
  border-radius:6px;
  font-size:13px;
  line-height:1.32;
  font-weight:450;
  color:#686A74;
  text-decoration:none;
  transition:background .15s ease,color .15s ease;
}
.cs-nav-link:hover{
  color:#17171C;
  background:#ECEEF2;
}
.cs-nav-link.is-active{
  color:#111115;
  font-weight:500;
  background:#E4E6EC;
  box-shadow:inset 0 0 0 1px rgba(23,23,28,.05);
}

.cs-aside__row{
  padding:6px 0;
  border-top:1px solid #E4E5EA;
  display:flex;
  flex-direction:column;
  gap:1px;
}
.cs-aside__lbl{
  font-family:'JetBrains Mono',ui-monospace,Menlo,monospace;
  font-size:9.5px;
  font-weight:500;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#71717A;
}
.cs-aside__val{
  font-size:12.5px;
  font-weight:450;
  color:#17171C;
  line-height:1.3;
}
.cs-aside__cta{
  padding-top:9px;
  border-top:1px solid #E4E5EA;
  margin-top:2px;
}
.cs-aside__cta-p{
  font-size:12.5px;
  line-height:1.36;
  color:#17171C;
  margin:0 0 6px;
  font-weight:400;
}
.cs-aside__cta-btn{
  background:none;
  border:0;
  padding:0;
  font:inherit;
  font-size:12.5px;
  font-weight:500;
  color:#17171C;
  display:inline-flex;
  align-items:center;
  gap:6px;
  cursor:pointer;
  transition:gap .2s ease,color .2s ease;
}
.cs-aside__cta-btn:hover{
  gap:10px;
  color:#5264C8;
}

/* Правая колонка статьи: распределена на всю доступную ширину справа от меню */
.cs-article{
  min-width:0;
  width:100%;
  max-width:none;
  margin:0;
}

/* Блок «Основные выводы» (нейтрально-серая плашка как у Cohere, без молочного оттенка) */
.cs-takeaways{
  background:#F3F4F7;
  border-radius:16px;
  padding:clamp(28px,3vw,36px) clamp(28px,3.4vw,42px);
  margin:0 0 clamp(44px,4.8vw,56px);
  border:0;
}
.cs-takeaways__h{
  font-family:'Inter',sans-serif;
  font-size:21px;
  font-weight:500;
  letter-spacing:-0.015em;
  color:#17171C;
  margin:0 0 18px;
}
.cs-takeaways__list{
  margin:0;
  padding-left:20px;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.cs-takeaways__list li{
  font-size:16.5px;
  line-height:1.6;
  color:#22222A;
}

/* Типографика разделов статьи (Обзор, Решение, Воздействие) */
.cs-sec-h{
  font-family:'Inter',sans-serif;
  font-size:clamp(24px,2.2vw,30px);
  font-weight:500;
  letter-spacing:-0.022em;
  line-height:1.2;
  color:#17171C;
  margin:clamp(44px,4.8vw,56px) 0 18px;
}
.cs-p{
  font-size:16.5px;
  line-height:1.68;
  color:#22222A;
  margin:0 0 18px;
}
.cs-p:last-child{
  margin-bottom:0;
}

/* Чистый редакционный список преимуществ как у Cohere (без серых карточек-плашек) */
.cs-steps-list{
  margin:24px 0 0;
  padding:0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:18px;
}
.cs-steps-list li{
  position:relative;
  padding-left:30px;
  font-size:16.5px;
  line-height:1.64;
  color:#22222A;
}
.cs-steps-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:5px;
  width:17px;
  height:17px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='6.5' stroke='%2317171C' stroke-width='1.25'/%3E%3Cpath d='M5.3 8.1l1.8 1.8 3.6-3.7' stroke='%2317171C' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size:contain;
  background-repeat:no-repeat;
}
.cs-steps-list li b{
  color:#141418;
  font-weight:600;
}

/* Горизонтальный виджет цитаты со скошенным диагональным разрезом (эталон 3ed16a1e.png) */
.cs-quote-card{
  position:relative;
  margin:clamp(44px,4.8vw,56px) 0;
  min-height:336px;
  display:flex;
  align-items:stretch;
  background:transparent;
  border:0;
  box-shadow:none;
  isolation:isolate;
}
/* Правая визуальная панель с фотографией спикера и фирменной зернистой рябью поверх фото (как на главной) */
.cs-quote-card__art{
  position:absolute;
  top:1px;
  bottom:1px;
  left:43%;
  right:1px;
  border-radius:16px;
  overflow:hidden;
  background:#1E222A;
  z-index:1;
  isolation:isolate;
}
.cs-quote-card__photo{
  position:relative;
  z-index:1;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:62% 20%;
  display:block;
}
.cs-quote-card__art::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:2;
  opacity:.24;
  mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size:150px 150px;
}
/* SVG-рама, формирующая диагональный разрез, скругления углов и тонкую темную обводку левой карточки */
.cs-quote-card__frame{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index:2;
  pointer-events:none;
  display:block;
  overflow:visible;
}
/* Левая контентная часть внутри обведенной трапеции */
.cs-quote-card__body{
  position:relative;
  z-index:3;
  width:52%;
  padding:clamp(32px,3.6vw,42px) clamp(52px,5.6vw,78px) clamp(30px,3.2vw,38px) clamp(32px,3.4vw,40px);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:24px;
  box-sizing:border-box;
}
.cs-quote-card__text{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif;
  font-size:clamp(16px,1.32vw,18.5px);
  font-weight:400;
  line-height:1.44;
  letter-spacing:-0.014em;
  color:#141418;
  margin:0;
}
.cs-quote-card__who{
  font-size:13px;
  line-height:1.4;
  font-weight:400;
  color:#26262E;
  margin-top:4px;
}
@media(max-width:820px){
  .cs-quote-card{
    flex-direction:column;
    gap:14px;
    min-height:0;
  }
  .cs-quote-card__frame{
    display:none;
  }
  .cs-quote-card__body{
    width:100%;
    padding:26px 24px;
    border:1.15px solid #222228;
    border-radius:16px;
    background:#FFFFFF;
  }
  .cs-quote-card__art{
    position:relative;
    left:0;
    right:0;
    top:0;
    bottom:0;
    min-height:210px;
    border-radius:16px;
  }
}

/* Парящие цифры в разделе «Результаты» — чистая типографика без фоновых плашек */
.cs-metrics-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  column-gap:clamp(28px,3.2vw,44px);
  row-gap:28px;
  margin:28px 0 32px;
  padding:4px 0;
}
@media(max-width:860px){
  .cs-metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px;row-gap:28px}
}
@media(max-width:480px){
  .cs-metrics-grid{grid-template-columns:1fr;row-gap:22px}
}
.cs-metric-box{
  background:transparent;
  border:0;
  border-radius:0;
  padding:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
}
.cs-metric-box b{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif;
  font-size:clamp(34px,3.3vw,46px);
  font-weight:500;
  letter-spacing:-0.035em;
  color:#141418;
  line-height:1;
}
.cs-metric-box span{
  font-size:14px;
  line-height:1.48;
  color:#52545E;
  max-width:220px;
}

/* Аккордеон «Частые вопросы» — чистые разделительные линии без коробок, плашек и квадратных бейджей */
.cs-faq{
  display:flex;
  flex-direction:column;
  margin-top:12px;
  width:100%;
  border-top:1px solid #E4E6EC;
}
.cs-faq-item{
  border-bottom:1px solid #E4E6EC;
  background:transparent;
}
.cs-faq-head{
  width:100%;
  padding:22px 0;
  background:none;
  border:0;
  cursor:pointer;
  user-select:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  text-align:left;
  font:inherit;
}
.cs-faq-q{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif;
  font-size:clamp(17px,1.3vw,19px);
  font-weight:500;
  line-height:1.35;
  letter-spacing:-0.015em;
  color:#141418;
  margin:0;
  flex:1;
  transition:color .18s ease;
}
.cs-faq-head:hover .cs-faq-q{
  color:#5264C8;
}
.cs-faq-icon{
  width:20px;
  height:20px;
  position:relative;
  flex:none;
  color:#141418;
}
.cs-faq-icon::before,
.cs-faq-icon::after{
  content:"";
  position:absolute;
  background:currentColor;
  border-radius:1.5px;
  transition:transform .25s ease,opacity .2s ease;
}
.cs-faq-icon::before{
  top:9px;
  left:2px;
  right:2px;
  height:1.8px;
}
.cs-faq-icon::after{
  left:9px;
  top:2px;
  bottom:2px;
  width:1.8px;
}
.cs-faq-item.is-expanded .cs-faq-icon::after{
  transform:rotate(90deg);
  opacity:0;
}
.cs-faq-body{
  display:grid;
  grid-template-rows:0fr;
  opacity:0;
  transition:grid-template-rows .26s ease,opacity .2s ease;
}
.cs-faq-item.is-expanded .cs-faq-body{
  grid-template-rows:1fr;
  opacity:1;
}
.cs-faq-inner{
  overflow:hidden;
}
.cs-faq-a{
  padding:0 44px 22px 0;
  margin:0;
  font-size:16px;
  line-height:1.62;
  color:#4A4C56;
  max-width:820px;
}
@media(max-width:720px){
  .cs-faq-head{padding:18px 0;gap:16px}
  .cs-faq-a{padding:0 0 18px 0;font-size:15px}
}

/* ===== ИЛЛЮСТРАЦИИ КЕЙСА: СХЕМА АВТОМАТИЗАЦИИ И ИНТЕРФЕЙС ===== */
.cs-showcase{
  margin:clamp(56px,6vw,76px) 0;
  border:none;
  border-radius:0;
  background:transparent;
  overflow:visible;
  box-shadow:none;
}
.cs-showcase__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:20px;
  padding:0 0 clamp(28px,3.2vw,38px);
  border-bottom:none;
  background:transparent;
}
.cs-showcase__title{display:flex;flex-direction:column;gap:6px}
.cs-showcase__badge{font-family:'JetBrains Mono',monospace;font-size:10.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#6A6E7A}
.cs-showcase__h{font-size:clamp(18px,1.5vw,20px);font-weight:600;letter-spacing:-0.016em;color:#141418;margin:0}
.cs-showcase__tabs{display:inline-flex;align-items:center;gap:8px;padding:0;background:transparent;border:none}
.cs-tab{font:inherit;font-size:13px;font-weight:500;line-height:1.2;padding:8px 16px;border-radius:999px;border:1.15px solid rgba(23,23,28,.22);background:#FFFFFF;color:#17171C;cursor:pointer;transition:background .18s,color .18s,border-color .18s}
.cs-tab:hover{border-color:#17171C}
.cs-tab.is-active{background:#17171C;border-color:#17171C;color:#FFFFFF;font-weight:500;box-shadow:none}
.cs-pane{display:none;padding:0}
.cs-pane.is-active{display:block}

/* ===== ВКЛАДКА 1: ЧИСТАЯ АРХИТЕКТУРНАЯ СХЕМА С ИКОНКАМИ ПРИЛОЖЕНИЙ И ПОТОКОМ ЛИНИЙ БЕЗ ПОДЛОЖЕК ===== */
.cs-arch-flow{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  column-gap:clamp(32px,3.6vw,48px);
  row-gap:40px;
  padding:8px 0 12px;
  background:transparent;
  border:0;
}
@media(max-width:1080px){
  .cs-arch-flow{
    grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:36px;
    row-gap:42px;
  }
}
@media(max-width:600px){
  .cs-arch-flow{
    grid-template-columns:1fr;
    row-gap:36px;
  }
}
.cs-arch-node{
  background:transparent;
  border:0;
  padding:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  min-width:0;
}
/* Узнаваемые этапы: звонок, окно Flown, ИИ и выход результата. */
.cs-arch-node__track{
  width:100%;
  height:164px;
  display:flex;
  align-items:center;
  gap:0;
  margin-bottom:28px;
  position:relative;
}
.cs-arch-node__svg{
  width:184px;
  max-width:100%;
  height:164px;
  display:block;
  flex-shrink:1;
  overflow:visible;
}
.cs-arch-node--last .cs-arch-node__svg{
  width:196px;
}
/* Непрерывная пунктирная стрелка между этапами (растягивается на всю ширину колонки и межколоночный gap) */
.cs-arch-node__connector{
  flex:1 1 auto;
  min-width:20px;
  height:14px;
  margin-right:calc(-1 * clamp(32px,3.6vw,48px));
  display:flex;
  align-items:center;
  position:relative;
  z-index:2;
}
.cs-arch-node__connector-line{
  flex:1 1 auto;
  height:1.5px;
  background-image:repeating-linear-gradient(to right,#17171C 0 5px,transparent 5px 9px);
}
.cs-arch-node__connector-head{
  width:9px;
  height:10px;
  flex-shrink:0;
  display:block;
  margin-left:-2px;
}
@media(max-width:1080px){
  .cs-arch-node__connector{
    margin-right:0;
  }
}
@media(min-width:601px) and (max-width:1080px){
  .cs-arch-node:nth-child(2) .cs-arch-node__connector{visibility:hidden}
}
@media(max-width:600px){
  .cs-arch-node__connector{display:none}
  .cs-arch-node:not(.cs-arch-node--last)::after{
    content:'↓';
    align-self:center;
    margin-top:20px;
    font-size:24px;
    line-height:1;
    color:#17171C;
  }
}
.cs-arch-node__title{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif;
  font-size:19px;
  font-weight:500;
  letter-spacing:-0.018em;
  line-height:1.28;
  color:#141418;
  margin:0 0 12px;
}
.cs-arch-node__desc{
  font-size:14.5px;
  line-height:1.6;
  color:#383842;
  margin:0;
}

/* ===== РЕАЛЬНЫЙ ЭКРАН ПЛАТФОРМЫ (СТИЛЬ FLOWN) ===== */
.cs-pane[data-pane="ui"]{padding:0}
.pf-shell{
  display:grid;
  grid-template-columns:228px 1fr 218px;
  width:100%;
  border-radius:18px;
  background:#161619;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 24px 60px -20px rgba(0,0,0,.7);
  overflow:hidden;
  font-family:'Inter',-apple-system,sans-serif;
  color:#F2F2F4;
  min-height:640px;
}
@media(max-width:1100px){
  .pf-shell{grid-template-columns:216px 1fr}
  .pf-right-side{display:none}
}
@media(max-width:780px){
  .pf-shell{grid-template-columns:1fr}
  .pf-side{display:none}
}

/* Сайдбар слева */
.pf-side{
  background:#141416;
  border-right:1px solid rgba(255,255,255,.06);
  display:flex;
  flex-direction:column;
  padding:14px 10px 14px 12px;
  user-select:none;
}
.pf-nav{display:flex;flex-direction:column;gap:2px}
.pf-nav-item{
  display:flex;
  align-items:center;
  gap:10px;
  padding:7px 10px;
  border-radius:10px;
  font-size:13px;
  color:#C9C9CF;
  cursor:pointer;
  transition:background .15s,color .15s;
}
.pf-nav-item:hover{background:rgba(255,255,255,.04);color:#FFF}
.pf-nav-item.is-active{
  background:#26262B;
  color:#FFF;
  font-weight:500;
}
.pf-nav-ic{width:18px;height:18px;display:flex;align-items:center;justify-content:center;color:inherit;flex-shrink:0}
.pf-nav-lb{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.pf-side-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  padding:12px 10px 6px;
  color:#8E8E93;
}
.pf-act-btn{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:2px;border-radius:4px;transition:color .15s}
.pf-act-btn:hover{color:#FFF}

.pf-history{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:2px;
  overflow-y:auto;
  margin-top:4px;
}
.pf-sec-lbl{
  font-size:11px;
  font-weight:600;
  letter-spacing:.04em;
  color:#6C6C74;
  padding:10px 10px 4px;
}
.pf-hist-item{
  display:flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:8px;
  font-size:12.5px;
  color:#AEAEB4;
  cursor:pointer;
  transition:background .15s,color .15s;
}
.pf-hist-item:hover{background:rgba(255,255,255,.03);color:#FFF}
.pf-hist-item.is-active{
  background:#28282E;
  color:#FFF;
  font-weight:500;
}
.pf-hist-tx{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pf-pin-ic{flex-shrink:0;color:#8E8E93}

.pf-side-foot{
  margin-top:auto;
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,.06);
}

/* Центральная область — чат */
.pf-main{
  background:#18181B;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  position:relative;
}
.pf-main-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 28px;
  border-bottom:1px solid rgba(255,255,255,.06);
  font-size:13px;
  font-weight:500;
  color:#E6E6EA;
}
.pf-chat-body{
  flex:1;
  overflow-y:auto;
  padding:22px 32px 14px;
  max-width:820px;
  width:100%;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:12px;
  font-size:13px;
  line-height:1.55;
  color:#D0D0D6;
}
@media(max-width:640px){
  .pf-chat-body{padding:16px 18px 12px}
}

/* Таблица ответа */
.pf-tbl{
  display:flex;
  flex-direction:column;
  width:100%;
  border-top:1px solid rgba(255,255,255,.08);
  margin-bottom:4px;
}
.pf-tbl-row{
  display:grid;
  grid-template-columns:180px 1fr;
  gap:16px;
  padding:7.5px 0;
  border-bottom:1px solid rgba(255,255,255,.06);
  align-items:baseline;
  font-size:12.5px;
}
@media(max-width:600px){
  .pf-tbl-row{grid-template-columns:1fr;gap:3px}
}
.pf-tbl-k{color:#E2E2E6;font-weight:500}
.pf-tbl-v{color:#A6A6AE;line-height:1.45}
.pf-tbl-v b{color:#FAFAFB;font-weight:600}
.pf-v-accent{color:#5ED7B2}
.pf-link{color:#5E9BF0;text-decoration:none;word-break:break-all}
.pf-link:hover{text-decoration:underline}

/* Текстовые блоки */
.pf-p{margin:0;line-height:1.55;color:#D0D0D6;font-size:13px}
.pf-p--dim{color:#8E8E95;margin-top:6px}
.pf-subhead{font-weight:700;color:#FAFAFB;font-size:13px;margin:10px 0 4px}
.pf-bullets{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:6px}
.pf-bullets li{color:#C8C8CE;line-height:1.5;font-size:12.5px}
.pf-bullets li b{color:#FAFAFB;font-weight:600}

/* Бейдж статуса */
.pf-badge-exec{
  display:inline-flex;
  align-items:center;
  gap:5px;
  font-size:11px;
  color:#8E8E95;
  cursor:pointer;
  padding:3px 0;
  width:fit-content;
  margin-top:2px;
}
.pf-badge-exec:hover{color:#D0D0D6}

/* Карточка файла / артефакта */
.pf-file-card{
  display:flex;
  align-items:center;
  gap:12px;
  background:#232328;
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  padding:9px 13px;
  max-width:440px;
  margin-top:4px;
  box-shadow:0 2px 10px rgba(0,0,0,.15);
}
.pf-file-icon{
  width:32px;
  height:32px;
  border-radius:6px;
  background:rgba(34,197,94,.15);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  color:#22C55E;
}
.pf-file-info{flex:1;min-width:0}
.pf-file-name{font-size:12.5px;font-weight:600;color:#FFF;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pf-file-sub{font-size:11px;color:#8E8E95;margin-top:2px}
.pf-file-dl{
  background:transparent;
  border:none;
  color:#8E8E93;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:4px;
  border-radius:6px;
  transition:color .15s;
}
.pf-file-dl:hover{color:#FFF}

/* Реакции */
.pf-msg-actions{
  display:flex;
  align-items:center;
  gap:12px;
  color:#7E7E86;
  padding:4px 0 2px;
}
.pf-act-ic{
  background:transparent;
  border:none;
  color:#7E7E86;
  cursor:pointer;
  padding:3px;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:color .15s;
}
.pf-act-ic:hover{color:#FFF}

/* Композер */
.pf-composer-wrap{
  padding:8px 24px 14px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
}
.pf-composer-box{
  width:100%;
  max-width:660px;
  background:#26262B;
  border:1px solid rgba(255,255,255,.09);
  border-radius:14px;
  padding:9px 14px;
  display:flex;
  align-items:center;
  gap:10px;
  box-shadow:0 4px 18px rgba(0,0,0,.2);
}
.pf-cmp-plus{
  background:transparent;
  border:none;
  color:#8E8E93;
  cursor:pointer;
  padding:2px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.pf-cmp-plus:hover{color:#FFF}
.pf-cmp-input{flex:1;min-width:0}
.pf-cmp-ph{font-size:13px;color:#8E8E93}
.pf-cmp-actions{display:flex;align-items:center;gap:8px}
.pf-cmp-dots,.pf-cmp-mic{
  background:transparent;
  border:none;
  color:#8E8E93;
  cursor:pointer;
  padding:2px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.pf-cmp-dots:hover,.pf-cmp-mic:hover{color:#FFF}
.pf-cmp-send{
  width:24px;
  height:24px;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  color:#FFF;
  border:none;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.pf-cmp-send:hover{background:#5ED7B2;color:#0A0A0E}
.pf-apps-toggle{
  font-size:11.5px;
  color:#7E7E86;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:4px;
  transition:color .15s;
}
.pf-apps-toggle:hover{color:#C9C9CF}

/* Правая колонка: "В этом чате" */
.pf-right-side{
  background:#141416;
  border-left:1px solid rgba(255,255,255,.06);
  padding:14px 14px 14px 16px;
  display:flex;
  flex-direction:column;
  gap:16px;
  font-size:12px;
  user-select:none;
}
.pf-rs-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:#DCDCE0;
  font-weight:600;
  font-size:12px;
  padding-bottom:8px;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.pf-rs-actions{display:flex;align-items:center;gap:6px;color:#8E8E93}
.pf-rs-sec-t{
  font-size:11px;
  font-weight:600;
  color:#7E7E86;
  letter-spacing:.02em;
  margin-bottom:6px;
}
.pf-rs-item{
  display:flex;
  align-items:center;
  gap:8px;
  padding:5px 6px;
  border-radius:6px;
  color:#C9C9CF;
  font-size:11.5px;
  cursor:pointer;
  transition:background .15s;
}
.pf-rs-item:hover{background:rgba(255,255,255,.04);color:#FFF}
.pf-rs-ic{width:15px;height:15px;flex-shrink:0;display:flex;align-items:center;justify-content:center}
.pf-rs-ic--xls{color:#22C55E}
.pf-rs-ic--doc{color:#3B82F6}
.pf-rs-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Похожие кейсы */
.cs-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:28px}
@media(max-width:860px){.cs-related-grid{grid-template-columns:1fr}}
.cs-related-card{border:1px solid var(--border);border-radius:var(--r-card);padding:24px;background:var(--bg);display:flex;flex-direction:column;justify-content:space-between;gap:14px;box-shadow:var(--shadow-sm);transition:transform .25s var(--ease),box-shadow .25s var(--ease)}
.cs-related-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.cs-related-ind{font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--text-faint)}
.cs-related-t{font-size:17px;font-weight:600;line-height:1.3;letter-spacing:-0.015em;color:var(--text)}
.cs-related-link{font-size:13px;font-weight:600;color:var(--text);display:inline-flex;align-items:center;gap:6px;margin-top:auto}

.cs-draft{font-size:12px;color:var(--text-faint);margin-top:28px;padding-top:16px;border-top:1px dashed var(--border)}
