/* Раздел «Компании»: каркас (шапка, пилюля), список компаний, «Частые вопросы», окно проверки, короткое окно записи;
   r6 (20.10, К) — знания компании (#/org/<org>, screens/org-home.js, префикс ok-) и шапка страниц источников.
   Владелец: Э1 → К. Страницы разделов — свои файлы: org-goods.css (Э2), org-delivery.css (Э3), org-people.css (Э4); мастера — wizard.css. */

/* ── Шапка (r6, BRIEF-r6 §4.2): знания компании — «Компании» + пилюля … поиск и кнопки; страница источника — «‹» · значок ·
   название · пилюля … поиск и кнопки раздела. Под строкой — серая строка (что это за источник), плашки вкладок нет ── */
.org-top { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.org-hrow { display: flex; align-items: center; gap: 12px; min-height: 36px; min-width: 0; }
.org-h1 { font-size: 24px; line-height: 1.2; font-weight: 640; letter-spacing: -.018em; color: var(--ink); white-space: nowrap; }
.org-top.is-src .org-hrow { gap: 10px; }
.org-back { flex: 0 0 auto; width: 32px; height: 32px; margin-left: -6px; color: var(--mut); }
.org-back:hover { color: var(--ink); }
.org-h-ic { display: inline-flex; flex: 0 0 auto; color: var(--mut2); }
.org-h1-s { font-size: 22px; }
.org-h-sep { flex: 0 0 auto; color: var(--mut2); font-size: 18px; line-height: 1; }
.org-pill { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px 0 14px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--l1); color: var(--ink); font-size: 15px; cursor: pointer; white-space: nowrap; min-width: 0; transition: border-color .12s, background .12s; }
.org-pill b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.org-pill svg { flex: 0 0 auto; color: var(--mut2); }
.org-pill:hover, .org-pill[aria-expanded="true"] { border-color: var(--acc-soft-brd); background: var(--acc-soft); }
.org-pill:hover svg, .org-pill[aria-expanded="true"] svg { color: var(--acc); }
.org-hgap { flex: 1 1 auto; min-width: 8px; }
.org-search { position: relative; min-width: 240px; width: 280px; flex: 0 1 auto; }
.org-search-hint { position: absolute; left: 12px; right: 0; top: calc(100% + 4px); z-index: 5; display: none; padding: 5px 9px; border-radius: 8px;
  background: var(--l1); border: 1px solid var(--line-2); box-shadow: 0 6px 18px -10px var(--line-3); font-size: 11.5px; line-height: 15px; color: var(--mut); }
/* подсказка — пока поле пустое (что можно искать); с первой буквы прячется и не лежит на серой строке под шапкой */
.org-search:focus-within:has(input:placeholder-shown) .org-search-hint { display: block; }
.org-hbtns { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.org-hbtns:empty { display: none; }
.org-hbtns .btn { white-space: nowrap; }
.org-hlink { white-space: nowrap; }
/* число на кнопке шапки («Сотрудники 13»); у «Проверки» — ◆ у числа, если Продажник чего-то не знает */
.org-hb-n { display: inline-flex; align-items: center; gap: 5px; min-width: 20px; height: 19px; margin-left: 1px; padding: 0 7px; border-radius: 999px;
  background: var(--l2); color: var(--mut); font-style: normal; font-size: 11.5px; line-height: 19px; font-weight: 620; justify-content: center; }
.org-hb-n[data-sig]::before { content: ''; flex: 0 0 auto; width: 5px; height: 5px; border-radius: 1px; transform: rotate(45deg); background: var(--sig-wait); }
.org-hb-check { display: none; }
/* серая строка под шапкой: у страницы источника — под названием (после «‹» и значка), как у respond.io */
.org-hsub { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: 13.5px; line-height: 19px; color: var(--mut); }
.org-top.is-src .org-hsub { padding-left: 64px; }
.org-hsub-t, .org-hsub-s { min-width: 0; }
.org-hsub-s { display: none; }
.org-pane { min-width: 0; }
/* режим одной компании: название рядом с заголовком, без стрелки (QA 18) */
.org-one { min-width: 0; font-size: 15px; font-weight: 600; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* r4 (C2): переключатель вида раздела («Реквизиты и файлы · Шаблоны документов N») — на узком окне (≤ 1279) в серой строке
   под шапкой; на широком — своей строкой страницы (org-docs.js .od-view), здесь его нет */
.org-hview { display: none; flex: 0 0 auto; min-width: 0; }
.org-hview:empty { display: none; }
.org-hv { flex-wrap: nowrap; padding: 2px; border-radius: 11px; }
.org-hv button { height: 28px; padding: 0 11px; font-size: 12.5px; white-space: nowrap; }
.org-hv-s { display: none; }
/* у кнопки шапки — короткая подпись на узком окне (org.js buttonsHtml, b.short) */
.org-hb-s { display: none; }
.org-hl-s { display: none; font-style: normal; }

/* ── Список своих компаний (пилюля и переключатель меню) ─────────────────────── */
.org-list .mi { min-height: 46px; padding-top: 4px; padding-bottom: 4px; }
.org-list .mi-l { display: block; }
.org-li-av { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px;
  background: var(--acc-soft); border: 1px solid var(--acc-soft-brd); color: var(--acc); font-size: 11.5px; font-weight: 700; letter-spacing: .02em; }
.org-li-t { display: flex; flex-direction: column; min-width: 0; line-height: 17px; }
.org-li-t b { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; }
.org-li-t em { font-style: normal; font-size: 11.5px; color: var(--mut2); overflow: hidden; text-overflow: ellipsis; }
.org-li-n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* «не знает N» у другой компании — серым с ◆ (вариант A: цвет только в глифе) */
.org-li-gap { flex: 0 0 auto; font-size: 11px; font-weight: 560; color: var(--mut); white-space: nowrap; }
.org-li-gap::before { content: ''; display: inline-block; width: 5px; height: 5px; margin: 0 5px 0 1px; border-radius: 1px; transform: rotate(45deg); vertical-align: 1px; background: var(--sig-wait); }
.org-list-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 2px 6px 0 0; }
.org-list-h .menu-t { padding-left: 6px; }
.org-list-h em { font-style: normal; font-size: 11.5px; color: var(--mut2); }

/* подсветка юрлица по ?legal=… (блок App.legalUi — классы Настроек) */
.st-ent.is-hl { box-shadow: 0 0 0 3px var(--acc-soft); }

/* ── Окно «Как ответит Продажник» ────────────────────────────────────────────── */
/* r31, круг 3: окно — лента переписки (App.chatThread, css/chat-thread.css) и поле App.promptInput снизу */
.sheet.org-ask-win { width: min(760px, 100%); }
.org-ask-win .sb { display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.oa-th { --cth-gap: 18px; min-height: 150px; max-height: min(56vh, 520px); overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: 4px 2px 6px; scrollbar-width: thin; }
.oa-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 150px; text-align: center; }
.oa-empty b { margin-top: 4px; font-size: 15px; font-weight: 640; letter-spacing: -.01em; color: var(--ink); }
.oa-empty span { max-width: 42ch; font-size: 13px; line-height: 19px; color: var(--mut); text-wrap: balance; }
.oa-box { display: flex; flex-direction: column; gap: 10px; }
.oa-ans.is-none .cth-body { color: var(--mut); }
.oa-ans .oa-foot { justify-content: flex-start; }
.oa-gap { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; }
.oa-pi { flex: 0 0 auto; min-width: 0; }
@media (max-height: 700px) { .oa-th { max-height: 46vh; min-height: 110px; } .oa-empty { min-height: 110px; } }
.oa-sec { display: flex; flex-direction: column; gap: 4px; }
.oa-k { font-size: 11px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: var(--mut2); margin-bottom: 2px; }
.oa-reply { padding: 12px 14px; border-radius: 12px; background: var(--l2); border: 1px solid var(--line); font-size: 13.5px; line-height: 20px; color: var(--ink); }
.oa-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 6px 8px; border: 0; border-radius: 9px;
  background: none; color: var(--ink); font: inherit; font-size: 13px; line-height: 18px; text-align: left; cursor: pointer; }
.oa-row:hover { background: var(--l3); }
.oa-row > svg { flex: 0 0 auto; color: var(--mut2); }
.oa-row.is-flat { cursor: default; }
.oa-row.is-flat:hover { background: none; }
/* «Вопрос уйдёт владельцу: правило не назначено» — чернилами с ●, без красного текста (вариант A) */
.oa-row.is-bad { color: var(--sig-ink); font-weight: 600; justify-content: flex-start; }
.oa-row.is-bad::before { content: ''; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--sig-late); box-shadow: 0 0 0 3px var(--sig-late-halo); }
.oa-row.is-bad > span { flex: 1 1 auto; }
.oa-row.is-bad > svg { color: var(--mut2); }
.oa-none { padding: 4px 8px; font-size: 13px; line-height: 18px; color: var(--mut); }
.oa-foot { display: flex; justify-content: flex-end; }

/* ── Короткое окно записи 560 px (Д §3.10): значения → «Продажник» → «Кто менял» → «Где ссылался» ── */
.org-rw.sheet { width: min(560px, 100%); }
.org-rw .sb { padding-top: 6px; padding-bottom: 10px; gap: 0; }
.org-rw-main { display: flex; flex-direction: column; }
.org-rw-r { display: grid; grid-template-columns: 132px minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.org-rw .sb > .org-rw-r:last-child, .org-rw .sb > .org-rw-main:last-child > .org-rw-r:last-child { border-bottom: 0; }
.org-rw-l { font-size: 12.5px; color: var(--mut2); }
.org-rw-v { min-width: 0; color: var(--ink); overflow-wrap: anywhere; line-height: 1.45; }
.org-rw-v .ord-val, .org-rw-v .op-ed, .org-rw-v .od-ed { margin-left: -6px; }
.org-rw-sub { display: block; color: var(--mut); font-size: 12px; margin-top: 2px; }
.org-rw-v b.is-on { color: var(--acc); }
.org-rw-v [data-tone="ryn"] { color: var(--ryn); }
.org-rw-v [data-tone="zav"] { color: var(--zav); }
.org-rw-refs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.org-rw-refs a { display: flex; flex-direction: column; gap: 1px; color: var(--ink); text-decoration: none; border-radius: 8px; padding: 2px 6px; margin-left: -6px; }
.org-rw-refs a:hover { background: var(--l2); }
.org-rw-when { font-size: 11.5px; color: var(--mut2); }
.org-rw-said { font-size: 12.5px; color: var(--mut); overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; white-space: normal; }   /* r32: одна строка, обрезка по словам — не «300 м» → «3…» */
.org-rw .sf .org-rw-sp { flex: 1 1 auto; }
.org-rw-go { font-size: 13px; }

/* ══ Знания компании (#/org/<org>, screens/org-home.js): две колонки, как редактор агента respond.io ══════════════════════
   слева — карточки «О компании» и «Источники знаний»; справа — липкая панель «Проверка» (≈ 420 px на 1440) */
.ok { display: grid; grid-template-columns: minmax(0, 1fr) clamp(360px, 33%, 440px); gap: 20px; align-items: start; }
.ok-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ok-card { border-radius: 16px; }
.ok-ch { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 18px 20px 0; }
.ok-cht { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ok-cht h2 { font-size: 16px; font-weight: 640; line-height: 1.3; letter-spacing: -.012em; color: var(--ink); }
.ok-cht p { font-size: 13px; line-height: 18px; color: var(--mut); }
.ok-edit { flex: 0 0 auto; }
.ok-cb { display: flex; flex-direction: column; gap: 12px; padding: 14px 20px 18px; }

/* «О компании»: фраза и «ключ — значение» в две колонки; склад и часы погрузки — во всю ширину */
.ok-about-t { font-size: 14px; line-height: 21px; color: var(--ink); max-width: 90ch; }
.ok-about-t.is-miss .link { padding-left: 0; margin-left: 0; }
.ok-kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; margin: 0; }
.ok-kv > div { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: start; gap: 10px; min-width: 0; }
.ok-kv > div.is-wide { grid-column: 1 / -1; }
.ok-kv dt { font-size: 12.5px; line-height: 19px; color: var(--mut2); }
.ok-kv dd { margin: 0; min-width: 0; font-size: 13px; line-height: 19px; color: var(--ink); overflow-wrap: anywhere; }
.ok-base { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; border-radius: 5px; }
.ok-base:hover { color: var(--acc); }
.ok-miss { font-size: 12.5px; line-height: 18px; color: var(--mut2); }
.ok-miss .link { padding: 0 4px; font-size: 12.5px; }

/* «Источники знаний»: строки (а не таблица) — плитка значка, название, суть, состояние только если не «Готово», «⋯», «›» */
.ok-list { display: flex; flex-direction: column; padding: 8px 10px 10px; }
.ok-row { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto 28px 16px; align-items: center; gap: 12px; min-height: 58px; padding: 8px 10px;
  border-radius: 12px; cursor: pointer; outline: none; transition: background .12s; }
.ok-row:hover, .ok-row:focus-visible { background: var(--l2); }
.ok-row:focus-visible { box-shadow: inset 0 0 0 2px var(--focus); }
/* разделитель — прямой линией между строками (тенью он загибался по скруглённым углам) */
.ok-row + .ok-row::before { content: ''; position: absolute; left: 10px; right: 10px; top: 0; height: 1px; background: var(--line); pointer-events: none; }
.ok-row:hover + .ok-row::before, .ok-row + .ok-row:hover::before, .ok-row:focus-visible + .ok-row::before, .ok-row + .ok-row:focus-visible::before { background: transparent; }
.ok-ic { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--l2); border: 1px solid var(--line); color: var(--mut); }
.ok-row:hover .ok-ic { background: var(--l1); }
.ok-rt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ok-rt b { font-size: 14px; line-height: 19px; font-weight: 620; color: var(--ink); overflow-wrap: anywhere; }
.ok-rt em { font-style: normal; font-size: 12.5px; line-height: 17px; color: var(--mut); overflow-wrap: anywhere; }
.ok-st { display: inline-flex; align-items: center; min-width: 0; justify-self: end; white-space: nowrap; }
.ok-st .pill { white-space: nowrap; }
.ok-more, .ok-more-sp { width: 28px; height: 28px; }
/* «⋯» виден всегда, но бледно — действия строки не прячутся; при наведении — чётче */
.ok-more { color: var(--ink-off); transition: color .12s, background .12s; }
.ok-row:hover .ok-more, .ok-row:focus-within .ok-more, .ok-more[aria-expanded="true"] { color: var(--mut); }
.ok-go { display: inline-flex; color: var(--mut2); }
.ok-grp { padding: 14px 10px 6px; font-size: 12.5px; font-weight: 600; color: var(--mut2); }
.ok-grp + .ok-row::before { display: none; }
.ok-nf { padding: 18px 10px; font-size: 13px; color: var(--mut2); }

/* ── Панель «Проверка»: «Спросить» · «Исправить N» (как Test / Review у respond.io) ── */
/* во всю высоту окна под шапкой, как песочница respond.io: ответ — посередине, поле — сверху */
.ok-side { position: sticky; top: calc(var(--topbar-h) + 16px); min-width: 0; height: max(420px, calc(100vh - 172px)); display: flex; }
.ok-pnl { display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; min-height: 0; min-width: 0; }
.ok-pnl-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ok-pnl-t { display: none; font-size: 16px; font-weight: 640; color: var(--ink); }
.ok-seg { flex-wrap: nowrap; }
.ok-seg button { gap: 7px; }
.ok-pnl-top [data-ok-tabs] { display: flex; flex: 0 1 auto; min-width: 0; }
.ok-seg .ok-n { display: inline-flex; align-items: center; gap: 5px; }
.ok-seg .ok-n[data-sig]::before { content: ''; flex: 0 0 auto; width: 5px; height: 5px; border-radius: 1px; transform: rotate(45deg); background: var(--sig-wait); }
.ok-x { display: none; margin-left: auto; }
.ok-box { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; overflow-x: hidden; overflow-y: auto; padding: 14px; border-radius: 16px; background: var(--l1); border: 1px solid var(--line); }
.ok-foot { font-size: 11.5px; line-height: 16px; color: var(--mut2); text-align: center; }
.ok-k { display: block; font-size: 12px; font-weight: 600; color: var(--mut2); margin-bottom: 6px; }

/* «Спросить» — r31 (16.11, круг 3): разговор языком «Ассистента» (css/chat-thread.css, App.chatThread) и поле App.promptInput.
   Кирилл: «как в ассистенте, так и вообще везде… красиво, чётко, понятно, с тонким вкусом». Карточки-рамки вокруг ленты нет:
   лента прямо в окне, снизу — вопросы клиентов «пилюлями» и поле */
.ok-box:has(> .ok-ask) { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
[data-theme="light"] .ok-win .ok-box:has(> .ok-ask) { background: none; border: 0; box-shadow: none; }
[data-theme="light"] .ok-win .ok-box:has(> .ok-ask)::after { display: none; }
.ok-foot:empty { display: none; }
.ok-ask { display: flex; flex-direction: column; gap: 12px; flex: 1 1 auto; min-height: 0; }
.ok-res { --cth-gap: 18px; flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: 10px 2px 8px; scrollbar-width: thin;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 10px); mask-image: linear-gradient(to bottom, transparent 0, #000 10px); }
.ok-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; flex: 1 1 auto; min-height: 120px; padding: 12px 10px;
  text-align: center; color: var(--mut); font-size: 13px; line-height: 19px; }
.ok-empty b { font-size: 16px; line-height: 22px; font-weight: 650; letter-spacing: -.01em; color: var(--ink); }
.ok-empty .aim { margin-bottom: 6px; }
.ok-none .cth-body { color: var(--mut); }
.ok-dock { display: flex; flex-direction: column; gap: 10px; flex: 0 0 auto; min-width: 0; }
.ok-sugs:empty { display: none; }
.ok-sugs .cth-pills { max-height: 76px; overflow: hidden; padding: 2px; margin: -2px; }
.ok-sugs .cth-pill { white-space: nowrap; }
.ok-sugs .cth-pill > span { min-width: 0; white-space: nowrap; }
@media (max-height: 700px) { .ok-sugs .cth-pills { max-height: 36px; } .ok-res { --cth-gap: 14px; } }
/* «на что опирался» — тихая карточка белого стекла; строки — как в окне «Как ответит» */
.ok-why-b { display: flex; flex-direction: column; gap: 8px; padding: 6px 4px; }
.ok-why-b .oa-sec { gap: 2px; }
.ok-why-b .ok-k { margin: 4px 0 2px 8px; }
[data-theme="light"] .ok-why-b { background: #fff; box-shadow: 0 10px 28px -24px rgba(62, 52, 104, .35); }
/* «Отметить: не знает ответа» — тихая ссылка под ответом, не кнопка */
.ok-gapadd { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; height: 28px; margin-left: -8px; padding: 0 10px 0 8px; border: 0; border-radius: 999px; background: none;
  font: inherit; font-size: 12.5px; font-weight: 600; color: var(--mut); cursor: pointer; transition: background .14s, color .14s; }
.ok-gapadd:hover { background: var(--cth-hover, var(--l2)); color: var(--ink); }
.ok-gapadd:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.ok-gapadd:disabled { opacity: .5; cursor: default; }
.ok-gapadd > svg { flex: 0 0 auto; color: var(--ink-icon, var(--ink)); opacity: .7; }

/* «Не знает N» */
.ok-gaps { display: flex; flex-direction: column; }
.ok-gap { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; align-items: start; gap: 10px; margin: 0 -8px; padding: 11px 10px; }
/* разделитель — прямой линией (у строки скруглённая подсветка, рамка загибалась бы по углам) */
.ok-gap + .ok-gap::before { content: ''; position: absolute; left: 10px; right: 10px; top: 0; height: 1px; background: var(--line); pointer-events: none; }
.ok-gap:hover + .ok-gap::before, .ok-gap + .ok-gap:hover::before { background: transparent; }
.ok-g-dot { width: 7px; height: 7px; margin: 6px 0 0 2px; border-radius: 50%; background: var(--sig-idle); }
.ok-g-dot[data-sig="late"] { background: var(--sig-late); box-shadow: 0 0 0 3px var(--sig-late-halo); }
.ok-g-dot[data-sig="wait"] { width: 6.5px; height: 6.5px; border-radius: 1.5px; transform: rotate(45deg); background: var(--sig-wait); }
.ok-g-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ok-g-t b { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.ok-g-t em { font-style: normal; font-size: 12px; line-height: 17px; color: var(--mut); overflow-wrap: anywhere; }
.ok-gap .btn { margin-top: 1px; white-space: nowrap; }
.ok-all { align-self: flex-start; margin: 10px 0 0 -7px; font-size: 12.5px; }
.ok-none { padding: 10px 2px 4px; }
.ok-none .sig { white-space: normal; }
.ok-none .sig > span { overflow: visible; white-space: normal; }

/* шторка панели на узком окне (≤ 1279) и подложка под ней */
.ok-scrim { display: none; }

/* ── Окно «О компании» ── */
.sheet.ok-ed-win { width: min(680px, 100%); }
.ok-ed { gap: 14px; }
.ok-ed-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.ok-ed-x { display: flex; flex-direction: column; gap: 6px; padding-top: 2px; }
.ok-ed-l { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--mut); }
.ok-ed-l b { font-weight: 600; color: var(--ink); }
.ok-ed-l .link { font-size: 12.5px; padding-top: 1px; padding-bottom: 1px; }

/* ══ Узкое окно (≤ 1279, рабочая область ≈ 800 px): шапка одной строкой, серая строка короче, панель — шторкой ══ */
@media (max-width: 1279px) {
  .org-top { gap: 4px; margin-bottom: 14px; }
  .org-h1 { font-size: 22px; }
  .org-h1-s { font-size: 19px; }
  .org-hsub-t.has-short { display: none; }
  .org-hsub-s { display: inline; }
  .org-top.is-src .org-hsub-t { display: none; }
  .org-top.is-src .org-hsub:not(:has(.org-hv)) { display: none; }
  .org-hview { display: inline-flex; }
  .org-search { min-width: 0; width: 36px; padding: 0; justify-content: center; cursor: pointer; transition: width .15s; }
  .org-search input { display: none; }
  .org-search.is-open { width: 240px; padding: 0 12px; justify-content: flex-start; cursor: text; }
  .org-search.is-open input { display: block; }
  .org-hbtns { gap: 8px; }
  .org-hbtns .btn.has-ic:not(.btn-main) { width: 36px; padding: 0; justify-content: center; }
  .org-hbtns .btn.has-ic:not(.btn-main) > span { display: none; }
  /* «Сотрудники 13», «Проверка ◆ 5» — значок и число, подпись — в подсказке */
  .org-hbtns .btn.has-ic.org-hb-cnt:not(.btn-main) { width: auto; padding: 0 9px 0 10px; gap: 6px; }
  .org-hb-check { display: inline-flex; }
  .org-hlink > span { display: none; }
  .org-hlink:not(:has(svg)) > span { display: inline; }
  .org-hlink.has-short .org-hl-s { display: inline; }
  .org-hv-l, .org-hb-l { display: none; }
  .org-hv-s, .org-hb-s { display: inline; }
  .org-hv button { padding: 0 8px; }

  /* знания компании: одна колонка; «Проверка» — шторкой справа по кнопке в шапке */
  .ok { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ok-main { gap: 12px; }
  .ok-ch { padding: 14px 16px 0; }
  .ok-cb { padding: 10px 16px 14px; gap: 10px; }
  .ok-about-t { font-size: 13.5px; line-height: 20px; }
  .ok-kv { gap: 6px 20px; }
  .ok-list { padding: 4px 6px 6px; }
  .ok-row { min-height: 54px; padding: 7px 10px; }
  .ok-side { display: none; position: fixed; z-index: 220; top: var(--topbar-h); right: 0; bottom: 0; width: min(420px, calc(100vw - 24px)); height: auto; max-height: none;
    padding: 14px 14px 12px; background: var(--l0); border-left: 1px solid var(--line-2); box-shadow: -18px 0 50px rgba(16, 24, 40, .16); }
  .ok.is-open .ok-side { display: flex; animation: ok-in .2s cubic-bezier(.22, .8, .2, 1) both; }
  .ok.is-open .ok-scrim { display: block; position: fixed; z-index: 210; inset: var(--topbar-h) 0 0 0; background: var(--scrim); }
  .ok-pnl-t { display: inline; }
  .ok-x { display: inline-flex; }
}
/* низкое узкое окно (1100×560): главное — источники — в первом экране, «О компании» — под ними */
@media (max-width: 1279px) and (max-height: 760px) {
  .ok-src { order: -1; }
  .ok-cht p { display: none; }
}
@keyframes ok-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 760px) {
  .ok-kv, .ok-ed-g { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .org-search, .org-pill, .ok-row, .ok-more { transition: none; } .ok.is-open .ok-side { animation: none; } }

/* ══ Круг 2 (20.10, «чтобы всё с тобой взаимодействовало»): живой отклик знаний компании — свет лиловый и мятный, без красного.
   Общий отклик кнопок, вкладок, сегментов и чипов — css/motion.css (главный); здесь — только своё, экранное ══ */
.ok-page { --ok-mint: color-mix(in srgb, var(--vyg) 62%, var(--vyg-brd)); --ok-glow: color-mix(in srgb, var(--acc) 22%, transparent); }

/* строки источников: лиловая подсветка, кромка света слева, плитка значка загорается, «›» уезжает вправо, нажатие вжимает */
.ok-row { transition: background .2s, transform .16s cubic-bezier(.2, .8, .2, 1); }
.ok-row:hover, .ok-row:focus-visible { background: linear-gradient(90deg, var(--acc-row), var(--l2) 72%); }
.ok-row::after { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; pointer-events: none;
  background: linear-gradient(180deg, var(--acc), var(--ok-mint)); opacity: 0; transform: scaleY(.3); transition: opacity .2s, transform .26s cubic-bezier(.2, .8, .2, 1); }
.ok-row:hover::after, .ok-row:focus-visible::after { opacity: 1; transform: none; }
.ok-ic { transition: background .2s, color .2s, border-color .2s, box-shadow .25s, transform .22s cubic-bezier(.2, .8, .2, 1); }
.ok-row:hover .ok-ic, .ok-row:focus-visible .ok-ic { background: var(--l1); color: var(--acc); border-color: var(--acc-soft-brd); transform: translateY(-1px);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--acc) 9%, transparent), 0 6px 16px -10px color-mix(in srgb, var(--acc) 70%, transparent); }
.ok-go { transition: transform .22s cubic-bezier(.2, .8, .2, 1), color .15s; }
.ok-row:hover .ok-go, .ok-row:focus-visible .ok-go { transform: translateX(3px); color: var(--acc); }
.ok-row:active { transform: scale(.994); transition-duration: .06s; }
.ok-row.ok-prod:hover .ok-ic { color: var(--vyg); border-color: var(--vyg-brd); box-shadow: 0 0 0 4px color-mix(in srgb, var(--vyg) 10%, transparent); }

/* новая строка (добавили источник) — вспыхивает лиловым и гаснет; удалённая — уходит вправо и сворачивается */
.ok-row.is-new { animation: ok-new 1.9s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes ok-new { 0% { opacity: 0; transform: translateY(8px); background: var(--acc-soft); box-shadow: inset 3px 0 0 var(--acc), 0 0 0 1px var(--acc-soft-brd); }
  16% { opacity: 1; transform: none; } 100% { background: transparent; box-shadow: inset 3px 0 0 transparent, 0 0 0 1px transparent; } }
/* уходящая строка: гаснет, чуть сжимается и сворачивается по высоте (без сдвига вбок — не даёт полосы прокрутки) */
.ok-row.is-leaving, .ok-gap.is-leaving { opacity: 0 !important; transform: scale(.97); transform-origin: left center; height: 0 !important; min-height: 0 !important; padding-top: 0 !important;
  padding-bottom: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important; border-top-color: transparent !important;
  transition: opacity .18s ease, transform .24s ease, height .26s cubic-bezier(.2, .8, .2, 1), padding .26s, margin .26s; }
.ok-row.is-leaving::before, .ok-gap.is-leaving::before, .ok-row.is-leaving + .ok-row::before, .ok-gap.is-leaving + .ok-gap::before { opacity: 0; }

/* первый показ: карточки и строки встают лесенкой (только при открытии страницы, перерисовки не мигают) */
.ok.is-enter .ok-card, .ok.is-enter .ok-pnl { animation: ok-rise .38s cubic-bezier(.2, .8, .2, 1) both; }
.ok.is-enter .ok-src { animation-delay: .06s; }
.ok.is-enter .ok-pnl { animation-delay: .1s; }
.ok.is-enter .ok-list > * { animation: ok-rise .32s cubic-bezier(.2, .8, .2, 1) both; }
.ok.is-enter .ok-list > :nth-child(2) { animation-delay: .1s; } .ok.is-enter .ok-list > :nth-child(3) { animation-delay: .13s; }
.ok.is-enter .ok-list > :nth-child(4) { animation-delay: .16s; } .ok.is-enter .ok-list > :nth-child(5) { animation-delay: .19s; }
.ok.is-enter .ok-list > :nth-child(6) { animation-delay: .22s; } .ok.is-enter .ok-list > :nth-child(7) { animation-delay: .25s; }
.ok.is-enter .ok-list > :nth-child(8) { animation-delay: .28s; } .ok.is-enter .ok-list > :nth-child(n+9) { animation-delay: .31s; }
.ok.is-enter .ok-list > :first-child { animation-delay: .07s; }
@keyframes ok-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* «Обрабатывается N %» — живая полоса: лилово-мятная, бежит блик, ширина едет плавно (её правят на месте) */
.ok-prg { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.ok-prg-t { font-size: 12px; line-height: 16px; color: var(--mut); white-space: nowrap; }
.ok-prg-t b { font-weight: 640; color: var(--acc); font-variant-numeric: tabular-nums; }
.ok-prg-b { position: relative; display: block; width: 120px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.ok-prg-b > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; overflow: hidden; background: linear-gradient(90deg, var(--acc), var(--ok-mint));
  box-shadow: 0 0 10px var(--ok-glow); transition: width .45s cubic-bezier(.2, .8, .2, 1); }
.ok-prg-b > i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--l1) 70%, transparent), transparent);
  transform: translateX(-100%); animation: ok-shine 1.15s linear infinite; }
@keyframes ok-shine { to { transform: translateX(100%); } }
.ok-st.is-set > * { animation: ok-pop .34s cubic-bezier(.34, 1.56, .64, 1) both; }
@keyframes ok-pop { from { opacity: 0; transform: scale(.85); } }

/* «О компании»: «Склад» — ссылкой при наведении; после «Сохранить» карточка на миг подсвечивается */
.ok-base { transition: color .15s; }
.ok-base:hover { color: var(--acc); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--acc-soft-brd); }
.ok-about.is-saved { animation: ok-saved 1.4s ease-out both; }
@keyframes ok-saved { 0% { box-shadow: 0 0 0 0 var(--ok-glow); border-color: var(--acc-soft-brd); } 30% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--acc) 10%, transparent); border-color: var(--acc-soft-brd); }
  100% { box-shadow: 0 0 0 0 transparent; } }

/* панель «Проверка»: смена вкладки — содержимое мягко въезжает; число «Исправить» подпрыгивает, когда меняется */
.ok-box.is-swap > * { animation: ok-swap .26s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes ok-swap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ok-seg .ok-n.is-bump { animation: ok-bump .5s cubic-bezier(.34, 1.56, .64, 1) both; }
@keyframes ok-bump { 0% { transform: scale(1); } 35% { transform: scale(1.35); color: var(--acc); } 100% { transform: scale(1); } }
.ok-box:focus-within:not(:has(> .ok-ask)) { border-color: var(--acc-soft-brd); box-shadow: 0 0 0 4px color-mix(in srgb, var(--acc) 6%, transparent); }
.ok-box { transition: border-color .2s, box-shadow .25s; }

/* бегущие точки (их берёт и «Частые вопросы» — .ofq-sug) */
.ok-dots { display: inline-flex; gap: 3px; }
.ok-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--acc); opacity: .35; animation: ok-dot 1s ease-in-out infinite; }
.ok-dots i:nth-child(2) { animation-delay: .15s; background: color-mix(in srgb, var(--acc) 50%, var(--ok-mint)); }
.ok-dots i:nth-child(3) { animation-delay: .3s; background: var(--ok-mint); }
@keyframes ok-dot { 0%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.ok-why-b { animation: ok-rise .24s cubic-bezier(.2, .8, .2, 1) both; }
.ok-marked { align-self: flex-start; animation: ok-pop .34s cubic-bezier(.34, 1.56, .64, 1) both; }

/* «Исправить»: строка подсвечивается под указателем, кромка света — как у источников */
.ok-gap { position: relative; border-radius: 10px; transition: background .2s; }
.ok-gap:hover { background: linear-gradient(90deg, var(--acc-row), transparent 80%); }
.ok-g-dot { transition: transform .2s cubic-bezier(.34, 1.56, .64, 1); }
.ok-gap:hover .ok-g-dot { transform: scale(1.25); }
.ok-gap:hover .ok-g-dot[data-sig="wait"] { transform: rotate(45deg) scale(1.25); }

/* шторка «Проверки» на узком окне закрывается — уезжает вправо, подложка гаснет */
.ok.is-closing .ok-side { animation: ok-out .18s ease-in both; }
.ok.is-closing .ok-scrim { animation: ok-fade-out .18s ease-in both; }
@keyframes ok-out { to { transform: translateX(28px); opacity: 0; } }
@keyframes ok-fade-out { to { opacity: 0; } }
.ok.is-open .ok-scrim { animation: ok-fade-in .2s ease-out both; }
@keyframes ok-fade-in { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .ok-row, .ok-ic, .ok-go, .ok-sug, .ok-gap, .ok-g-dot { transition: background .15s, color .15s, border-color .15s !important; }
  .ok-row:hover .ok-ic, .ok-row:hover .ok-go, .ok-row:active, .ok-sug:hover, .ok-sug:active, .ok-gap:hover .ok-g-dot { transform: none !important; }
  .ok.is-enter *, .ok-row.is-new, .ok-box.is-swap > *, .ok-seg .ok-n.is-bump, .ok-thread *, .ok-why-b, .ok-marked, .ok-st.is-set > *, .ok-about.is-saved,
  .ok-q.is-shake, .ok-prg-b > i::after, .ok-dots i, .ok.is-closing .ok-side, .ok.is-open .ok-scrim, .ok.is-closing .ok-scrim { animation: none !important; }
}

/* ══ «Частые вопросы» — r7 (В, 21.10.2026; BRIEF-r7 §2.4): таблица готовых ответов, правка в строке (screens/org.js, префикс ofq-) ══
   Строка — Вопрос · Ответ · Тема (чип) · знак Продажника и «⋯»; черновики («Ждут ответа») — сверху; правка — поле прямо в ячейке,
   под ответом — «Подсказать ответ», подсказка клавиш, «Отмена · Сохранить». Цвет — только у отклонений; рамка — вокруг таблицы. */
.ofq { --ok-mint: color-mix(in srgb, var(--vyg) 62%, var(--vyg-brd)); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ofq-bar { display: flex; align-items: center; gap: 12px; min-width: 0; flex-wrap: wrap; }
.ofq-tf { gap: 7px; }
.ofq-tf b { font-weight: 620; }
.ofq-tf > svg:first-child { color: var(--mut2); }
.ofq-sum { font-size: 13px; color: var(--mut); white-space: nowrap; }
.ofq-sp { flex: 1 1 auto; min-width: 8px; }
.ofq-tl { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; color: var(--mut); margin-top: -2px; }
.ofq-mgap { margin-left: 8px; font-size: 11px; font-weight: 560; color: var(--mut); white-space: nowrap; }
.ofq-mgap::before { content: ''; display: inline-block; width: 5px; height: 5px; margin: 0 5px 0 1px; border-radius: 1px; transform: rotate(45deg); vertical-align: 1px; background: var(--sig-wait); }

.ofq-t { border-radius: 16px; background: var(--l1); border: 1px solid var(--line); overflow: hidden; }
.ofq-th, .ofq-r { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(300px, 1.75fr) 150px 62px; gap: 0 18px; padding: 0 12px 0 16px; }
.ofq-th { align-items: center; height: 36px; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 650; letter-spacing: .07em;
  text-transform: uppercase; color: var(--mut2); }
.ofq-g { padding: 10px 16px 4px; font-size: 11px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: var(--mut2); border-bottom: 1px solid var(--line); }
.ofq-r { align-items: start; padding-top: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); transition: background .12s; }
.ofq-t > :last-child { border-bottom: 0; }
.ofq-r:hover { background: var(--l2); }
.ofq-r.is-ed { background: var(--acc-row); }
.ofq-r.is-flash { animation: ofq-flash 1.6s ease-out both; }
@keyframes ofq-flash { 0% { background: var(--acc-soft); } 100% { background: transparent; } }
.ofq-c { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.ofq-cx { flex-direction: row; align-items: center; justify-content: flex-end; gap: 2px; padding-top: 2px; }
.ofq-ct { padding-top: 3px; }
/* текст ячейки — кнопка во всю ширину: щелчок открывает поле правки на месте */
.ofq-txt { display: block; width: calc(100% + 12px); margin: 0 -6px; padding: 4px 6px; border: 0; border-radius: 8px; background: none; color: var(--ink); font: inherit;
  font-size: 13.5px; line-height: 19px; text-align: left; white-space: normal; overflow-wrap: anywhere; cursor: text; transition: background .12s, box-shadow .12s; }
.ofq-txt:hover:not(:disabled) { background: var(--l1); box-shadow: inset 0 0 0 1px var(--line-2); }
.ofq-txt:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--acc-soft-brd); }
.ofq-txt:disabled { cursor: default; }
.ofq-qt { font-weight: 600; }
.ofq-qm { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; line-height: 16px; color: var(--mut2); }
.ofq-qm .link { padding: 0 4px; font-size: 12px; }
.ofq-none { padding: 4px 0 0; font-size: 13px; line-height: 18px; color: var(--mut); }
.ofq-dacts { display: flex; flex-wrap: wrap; gap: 2px 6px; margin-left: -7px; }
/* тема — чип; щелчок — меню тем */
.ofq-tp { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; height: 26px; padding: 0 8px 0 10px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--l1); color: var(--mut); font: inherit; font-size: 12px; white-space: nowrap; cursor: pointer; transition: border-color .12s, color .12s, background .12s; }
.ofq-tp > span { overflow: hidden; text-overflow: ellipsis; }
.ofq-tp > svg { flex: 0 0 auto; color: var(--mut2); opacity: 0; transition: opacity .12s; }
.ofq-tp:hover, .ofq-tp[aria-expanded="true"] { border-color: var(--acc-soft-brd); color: var(--acc); background: var(--acc-soft); }
.ofq-tp:hover > svg, .ofq-tp[aria-expanded="true"] > svg, .ofq-r.is-new .ofq-tp > svg { opacity: 1; color: inherit; }
.ofq-tp.is-none { border-style: dashed; color: var(--mut2); }
.ofq-tp.is-ro { cursor: default; }
.ofq-tp.is-ro:hover { border-color: var(--line-2); color: var(--mut); background: var(--l1); }
/* знак Продажника у строки — «Как ответит Продажник» с этим вопросом; при наведении чуть приподнимается */
.ofq-chk .ofq-aim { transition: transform .15s cubic-bezier(.2, .8, .2, 1); }
.ofq-chk:hover .ofq-aim, .ofq-chk:focus-visible .ofq-aim { transform: translateY(-1px) scale(1.08); }
.ofq-bb .org-hb-n { margin-left: 2px; }
.ofq-more { color: var(--mut2); }
/* поле правки на месте */
.ofq-in, .ofq-ta { width: 100%; background: var(--l1); }
.ofq-ta { min-height: 56px; resize: none; font-size: 13.5px; line-height: 19px; }
.ofq-edbar { display: flex; align-items: center; gap: 8px; width: 100%; flex-wrap: wrap; }
.ofq-edbar .ofq-sugb { margin-left: -7px; }
.ofq-sug { display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px 10px; border-radius: 10px; background: var(--l1); border: 1px solid var(--acc-soft-brd);
  font-size: 12.5px; line-height: 17px; color: var(--mut); animation: ok-rise .25s cubic-bezier(.2, .8, .2, 1) both; }
.ofq-sug > span:not(.aim):not(.ok-dots) { min-width: 0; }
.ofq-sug .link { margin-left: auto; white-space: nowrap; }
.ofq-r.is-new { box-shadow: inset 3px 0 0 var(--acc); }
.ofq-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 28px 16px; text-align: center; font-size: 13px; color: var(--mut); }
.ofq-empty b { font-size: 14px; color: var(--ink); font-weight: 620; }

/* окно «Вставить списком» */
.sheet.ofq-paste { width: min(780px, 100%); }
.ofq-pw { display: flex; flex-direction: column; gap: 10px; }
.ofq-pta { min-height: 128px; font-size: 13px; line-height: 19px; }
.ofq-phint { font-size: 12px; line-height: 17px; color: var(--mut2); }
.ofq-prev { display: flex; flex-direction: column; gap: 6px; min-height: 40px; }
.ofq-pnone { padding: 10px 12px; border-radius: 10px; background: var(--l2); font-size: 12.5px; color: var(--mut2); }
.ofq-ph { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--mut); }
.ofq-ph b { color: var(--ink); font-weight: 620; }
.ofq-pl { display: flex; flex-direction: column; max-height: 260px; overflow-y: auto; border: 1px solid var(--line); border-radius: 12px; }
.ofq-pr { display: grid; grid-template-columns: 22px minmax(150px, 1fr) minmax(200px, 1.6fr) auto; gap: 10px; align-items: start; padding: 8px 12px;
  border-bottom: 1px solid var(--line); font-size: 13px; line-height: 18px; cursor: pointer; }
.ofq-pr:last-child { border-bottom: 0; }
.ofq-pr .cb { margin-top: 1px; }
.ofq-pq { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.ofq-pa { color: var(--mut); overflow-wrap: anywhere; }
.ofq-pa i { font-style: normal; color: var(--mut2); }
.ofq-ptag { font-size: 11.5px; color: var(--mut2); white-space: nowrap; }
.ofq-pr.is-dup { cursor: default; }
.ofq-pr.is-dup .ofq-pq, .ofq-pr.is-dup .ofq-pa { color: var(--mut2); }
.ofq-paste .sf .ofq-psample { margin-left: -6px; }

@media (max-width: 1279px) {
  .ofq-th, .ofq-r { grid-template-columns: minmax(170px, 1fr) minmax(220px, 1.5fr) 118px 58px; gap: 0 12px; padding-left: 12px; padding-right: 8px; }
  .ofq-txt { font-size: 13px; line-height: 18px; }
  .ofq-r { padding-top: 6px; padding-bottom: 6px; }
}
@media (max-width: 760px) {
  .ofq-th { display: none; }
  .ofq-r { grid-template-columns: minmax(0, 1fr) auto; }
  .ofq-ca { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .ofq-r, .ofq-txt, .ofq-tp, .ofq-tp > svg, .ofq-chk .ofq-aim { transition: none !important; }
  .ofq-chk:hover .ofq-aim { transform: none; }
  .ofq-r.is-flash, .ofq-sug { animation: none !important; }
}

/* ══ r13 (23.10, S): хаба «Знания компании» нет — остались карточка «О компании» (в «Настройках → Рабочее пространство»), окно
   «Проверка знаний» (из меню «Управлять» у источников агента) и редактор документов внутри «Настроек» ══ */
.ok-win { display: flex; min-width: 0; height: clamp(300px, calc(100vh - 260px), 520px); }
.ok-win .ok-pnl { flex: 1 1 auto; }
.ok-win .ok-pnl-t, .ok-win .ok-x { display: none; }
.sheet.ok-check-win { width: min(560px, 100%); }
/* «О компании» в настройках — обычная карточка страницы: на всю ширину, без колонок знаний */
.st-pg .ok-about { max-width: none; }
.st-pg .ok-about .ok-kv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .st-pg .ok-about .ok-kv { grid-template-columns: minmax(0, 1fr); } }
/* редактор документов внутри «Настроек»: «‹» нет — серая строка и ряд встают от левого края */
.org.is-embed .org-top.is-src .org-hsub { padding-left: 34px; }
.org.is-embed .org-top { margin-bottom: 16px; }
.org-hero { margin-top: 10px; }
.org-hero:empty { display: none; }

/* ══ r16 (24.10): «Настройки → Документы для клиентов» — только файлы для отправки клиенту (org-docs.js, .od-page.od-v2).
   Кирилл: «оставь только всё самое нужное… папочки… понятно, удобно». Одна колонка («Документооборота» сбоку нет),
   «Юрлицо в счёте» — плитки-переключатель, папки переносятся строками, имя документа — целиком. ══ */
.od-page.od-v2 .od-main { gap: 16px; }
.od-page.od-v2 .od-docs { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
/* одна компания — её имени в шапке не нужно: страница и так в «Настройках» этой компании */
.org.is-embed .org-one { display: none; }

/* «Юрлицо в счёте» */
.od-page.od-v2 .od-le { padding: 16px 18px; }
.od-le-h { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.od-le-ht { flex: 1 1 auto; min-width: 0; }
.od-le-h > .btn { flex: 0 0 auto; }
.od-le-ht h2 { margin: 0; font-size: 15px; font-weight: 640; letter-spacing: -.01em; }
.od-le-ht p { margin: 3px 0 0; font-size: 12.5px; line-height: 17px; color: var(--mut); }
.od-le-sw { display: flex; flex-wrap: wrap; gap: 8px; }
.od-le-o { display: flex; align-items: center; gap: 10px; flex: 1 1 290px; max-width: 440px; min-width: 0; min-height: 56px; padding: 9px 8px 9px 12px;
  border-radius: 12px; border: 1px solid var(--line); background: var(--l1); cursor: pointer; transition: border-color .16s, background .16s, box-shadow .16s; }
.od-le-o:hover { border-color: var(--line-2); }
.od-le-o:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--acc-soft); }
.od-le-o.is-on { border-color: var(--acc-soft-brd); background: var(--acc-row); box-shadow: 0 0 0 3px var(--acc-soft); cursor: default; }
.od-le-o.is-hl:not(.is-on) { box-shadow: 0 0 0 3px var(--acc-soft); }
.od-le-r { flex: 0 0 auto; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--l1); }
.od-le-o.is-on .od-le-r { border-color: var(--acc); background: radial-gradient(circle, var(--acc) 0 3.5px, var(--l1) 4px); }
.od-le-t { display: flex; flex-direction: column; gap: 1px; flex: 1 1 auto; min-width: 0; }
.od-le-t b { font-size: 13.5px; font-weight: 620; line-height: 18px; overflow-wrap: anywhere; }
.od-le-t > span { font-size: 12px; line-height: 16px; color: var(--mut2); }
.od-le-t > .od-le-gap { color: var(--sig-ink, var(--ink)); }
.od-le-gap::before { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 7px 1px 1px; border-radius: 1.5px; background: var(--ryn); transform: rotate(45deg); }
.od-le-t > .od-le-on { color: var(--mut); }
.od-le-ed { flex: 0 0 auto; font-size: 12.5px; }
.od-le-add { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; min-height: 56px; padding: 0 16px; border-radius: 12px; border: 1px dashed var(--line-2);
  background: transparent; color: var(--mut); font: inherit; font-size: 13px; font-weight: 560; cursor: pointer; }
.od-le-add:hover { border-color: var(--acc-soft-brd); color: var(--acc); background: var(--acc-row); }
[data-theme="light"] .od-le-o { background: var(--pl-glass); border-color: var(--pl-glass-brd); }
[data-theme="light"] .od-le-o.is-on { background: var(--pl-sel-bg); border-color: var(--pl-sel-brd); box-shadow: var(--pl-sel-sh), 0 0 0 3px rgba(139, 92, 246, .08); }
[data-theme="light"] .od-le-add { background: rgba(255, 255, 255, .55); border-color: #d9cbfa; }

/* папки — все видны: ряд переносится строками, без прокрутки вбок и стрелок; «+ Папка» — в конце ряда */
.od-page.od-v2 .od-folders .fdrs { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; }
.od-page.od-v2 .od-folders .fdrs-arr { display: none !important; }
.od-page.od-v2 .od-folders .fdr-add { order: 99; }
.od-page.od-v2 .od-folders .fdr-pill, .od-page.od-v2 .od-folders .fdr-add { min-height: 48px; }
.od-page.od-v2 .od-folders .fdr { min-width: 168px; max-width: 260px; }
.od-page.od-v2 .od-folders .fdr-b { padding: 6px 4px 6px 10px; gap: 10px; }
.od-page.od-v2 .od-folders .fdr-i svg { width: 30px; height: 30px; }

/* строка документа: имя целиком (переносится по словам), «когда отправлять» — справа одной ширины */
.od-page.od-v2 .od-row { padding: 10px 10px 10px 12px; }
.od-page.od-v2 .od-n { flex-wrap: wrap; row-gap: 0; }
.od-page.od-v2 .od-n b { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
.od-page.od-v2 .od-mode { min-width: 178px; justify-content: flex-start; }
.od-page.od-v2 .od-mode > span { flex: 1 1 auto; text-align: left; }
.od-page.od-v2 .od-mode[data-mode="manual"] { color: var(--mut); }
@media (max-width: 1279px) { .od-page.od-v2 .od-mode { min-width: 0; } }
/* «Сертификаты» в ряду папок — не папка (привязаны к позициям): переименовать и удалить нечего — без «⋯» */
.od-page.od-v2 .od-folders .fdr[data-folder-drop="certs"] .fdr-m { display: none; }
