/* Страница «ИИ-менеджер „Конь“». Основа — product.css. Своя гамма: золото
   ленты логотипа (#E2A957) поверх общего тёмно-синего, чтобы страница не
   повторяла Пресс-Офис и мониторинг. Фрагменты интерфейса — в цветах самого
   «Коня» (фон #0E1013, поверхность #16191E). */
.kn { --gold: #e2a957; --gold-ink: #f3cf97; --gold-soft: rgba(226, 169, 87, .14); }

/* ---------- логотип: лента стоит, конь покачивается (как в продукте) ---------- */
.kn-logo { position: relative; display: inline-block; width: 44px; height: 44px; flex: none; }
.kn-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.kn-horse { transform-origin: 52% 62%; animation: kn-sway 3.2s ease-in-out .35s infinite; }
@keyframes kn-sway {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0) scale(1); }
  28% { transform: translate3d(3.1%, -1.9%, 0) rotate(3.6deg) scale(1.026); }
  56% { transform: translate3d(-2.2%, 1%, 0) rotate(-2.6deg) scale(1.01); }
  78% { transform: translate3d(1.4%, -.7%, 0) rotate(1.5deg) scale(1.018); }
}
.kn-logo.is-xs { width: 22px; height: 22px; }
.kn-logo.is-sm { width: 34px; height: 34px; }
.kn-logo.is-lg { width: 64px; height: 64px; filter: drop-shadow(0 10px 24px rgba(226, 169, 87, .28)); }
.kn-logo.is-xl { width: 96px; height: 96px; }

/* ---------- первый экран ---------- */
.kn-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, calc(5vw / var(--z, 1)), 80px); align-items: center; padding: clamp(40px, calc(5vw / var(--z, 1)), 72px) 0 clamp(48px, calc(5vw / var(--z, 1)), 80px); }
.kn-hero h1 { margin-top: 24px; font-size: clamp(38px, calc(4.4vw / var(--z, 1)), 64px); font-weight: 400; line-height: 1.04; letter-spacing: -.02em; color: var(--ink-2); }
.kn-hero .lead { margin-top: 24px; max-width: 26em; font-size: var(--fs-lead); font-weight: 300; color: rgba(220, 230, 255, .78); }
.kn-hero .hero-actions { justify-content: flex-start; margin-top: 36px; }
.kn-hero .btn { min-height: 57px; font-size: 20px; }

/* чат Джарвиса */
.kn-chat { position: relative; border-radius: 26px; background: #0e1013; box-shadow: 0 0 0 1px rgba(226, 169, 87, .18), 0 40px 100px rgba(0, 0, 0, .45); overflow: hidden; font-family: "Onest", var(--f-text); text-align: left; }
.kn-chat::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 100% 0%, rgba(226, 169, 87, .12), transparent 70%); pointer-events: none; }
.kn-chat-head { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #23262c; }
.kn-chat-head b { display: block; font-weight: 600; font-size: 15px; color: #eef0f3; }
.kn-chat-head small { display: block; font-size: 12px; color: #8a909c; }
.kn-online { margin-left: auto; font-style: normal; font-size: 12px; color: #4cc08a; }
.kn-online::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #4cc08a; box-shadow: 0 0 0 3px rgba(76, 192, 138, .2); }
.kn-chat-body { position: relative; display: grid; gap: 12px; align-content: start; min-height: 410px; padding: 20px; }
.kn-msg { max-width: 86%; padding: 12px 15px; border-radius: 16px 16px 16px 4px; background: #16191e; font-size: 14.5px; line-height: 1.5; color: #dfe2e7; }
.kn-msg.is-me { justify-self: end; border-radius: 16px 16px 4px 16px; background: #2a2116; color: #f3e3c8; }
.kn-voice { display: flex; align-items: center; gap: 3px; height: 20px; margin-bottom: 8px; }
.kn-voice i { width: 3px; border-radius: 2px; background: var(--gold); animation: kn-wave 1.1s ease-in-out infinite; }
.kn-voice i:nth-child(1) { height: 6px; } .kn-voice i:nth-child(2) { height: 14px; animation-delay: .1s; } .kn-voice i:nth-child(3) { height: 18px; animation-delay: .2s; }
.kn-voice i:nth-child(4) { height: 10px; animation-delay: .3s; } .kn-voice i:nth-child(5) { height: 16px; animation-delay: .4s; } .kn-voice i:nth-child(6) { height: 8px; animation-delay: .5s; }
.kn-voice i:nth-child(7) { height: 12px; animation-delay: .6s; } .kn-voice i:nth-child(8) { height: 5px; animation-delay: .7s; }
@keyframes kn-wave { 50% { transform: scaleY(.45); } }
.kn-act { padding: 16px; border-radius: 16px; background: #16191e; box-shadow: inset 0 0 0 1px rgba(226, 169, 87, .35); }
.kn-act-title { font-weight: 600; font-size: 16px; color: #eef0f3; }
.kn-act-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.kn-act-links span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: #1f2329; font-size: 12.5px; color: #c8ccd3; }
.kn-act-links i { width: 8px; height: 8px; border-radius: 2px; }
.kn-act-links .is-proj { background: #7fb0ff; } .kn-act-links .is-client { background: #b49cff; } .kn-act-links .is-date { background: #8a909c; } .kn-act-links .is-p1 { background: #f0925c; }
.kn-act-btns { display: flex; gap: 8px; margin-top: 14px; }
.kn-act-btns span { padding: 8px 14px; border-radius: 10px; background: #1f2329; font-size: 13px; color: #dfe2e7; }
.kn-act-btns .kn-ok { background: var(--gold); color: #1a1206; font-weight: 600; }
.kn-act-done { display: none; margin-top: 12px; font-size: 13px; color: #4cc08a; }
.kn-act-done::before { content: "✓ "; }
/* сценарий: шаги появляются по очереди, «Создать» нажимается, задача создаётся */
.kn-chat.is-play [data-step] { opacity: 0; transform: translateY(10px); }
.kn-chat.is-play [data-step].is-on { opacity: 1; transform: none; transition: opacity .5s cubic-bezier(.22, 1, .36, 1), transform .5s cubic-bezier(.22, 1, .36, 1); }
.kn-chat .kn-act.is-press .kn-ok { transform: scale(.94); box-shadow: 0 0 0 6px rgba(226, 169, 87, .2); transition: transform .14s ease, box-shadow .3s ease; }
.kn-chat .kn-act.is-done { box-shadow: inset 0 0 0 1px rgba(76, 192, 138, .55); }
.kn-chat .kn-act.is-done .kn-act-btns { display: none; }
.kn-chat .kn-act.is-done .kn-act-done { display: block; }

/* ---------- тезис ---------- */
.kn-statement { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: clamp(28px, calc(3vw / var(--z, 1)), 44px) clamp(28px, calc(4vw / var(--z, 1)), 56px); border-radius: 32px; background: #f6efe4; color: #2a1d0c; }
.kn-statement p { font-size: clamp(19px, calc(1.8vw / var(--z, 1)), 24px); line-height: 1.4; color: #2a1d0c; }
.kn-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.kn-facts li { font-size: 14px; line-height: 1.3; color: rgba(42, 29, 12, .7); }
.kn-facts b { display: block; font-family: var(--f-num); font-weight: 400; font-size: clamp(36px, calc(3.4vw / var(--z, 1)), 48px); line-height: 1; letter-spacing: -.02em; color: #8a520f; }

/* ---------- граф связей ---------- */
.kn-graph { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, calc(4vw / var(--z, 1)), 64px); align-items: center; margin-top: 48px; }
.kn-graph-map { position: relative; aspect-ratio: 600 / 420; }
.kn-graph-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.kn-edge { stroke: rgba(226, 169, 87, .18); stroke-width: 1.2; transition: stroke .3s ease, stroke-width .3s ease; }
.kn-edge.is-on { stroke: rgba(226, 169, 87, .85); stroke-width: 1.8; }
.kn-pulse { fill: var(--gold); opacity: .25; transition: opacity .3s ease; }
.kn-pulse.is-on { opacity: 1; }
.kn-node { position: absolute; display: inline-flex; align-items: center; gap: 8px; transform: translate(-50%, -50%); padding: 10px 16px; border: 0; border-radius: 999px;
  background: #15171c; box-shadow: inset 0 0 0 1px rgba(226, 169, 87, .28); color: var(--ink-2); font: 400 16px/1 var(--f-text); white-space: nowrap; cursor: pointer;
  transition: background-color .25s ease, box-shadow .25s ease, transform .25s cubic-bezier(.22, 1, .36, 1); }
.kn-node:hover, .kn-node[aria-pressed="true"] { background: #2a2116; box-shadow: inset 0 0 0 1px var(--gold), 0 0 32px rgba(226, 169, 87, .25); transform: translate(-50%, -50%) scale(1.05); }
.kn-node.is-core { padding: 14px 22px; font-size: 19px; }
.kn-node.is-near { box-shadow: inset 0 0 0 1px rgba(226, 169, 87, .6); }
.kn-node:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.kn-graph-side { position: relative; min-height: 180px; }
.kn-node-text { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; font-size: 18px; line-height: 1.55; color: var(--soft); }
.kn-node-text.is-on { position: relative; opacity: 1; transform: none; }
.kn-node-text b { display: block; margin-bottom: 10px; font-weight: 400; font-size: clamp(26px, calc(2.4vw / var(--z, 1)), 34px); color: var(--gold-ink); }

/* ---------- экран «Сегодня» и разделы ---------- */
.kn-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, calc(4vw / var(--z, 1)), 64px); align-items: center; }
.kn-split h2 { font-size: var(--fs-h2); }
.kn-lead { margin-top: 18px; font-size: 18px; font-weight: 300; line-height: 1.5; color: var(--soft); }
.kn-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.kn-tab { padding: 8px 14px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .05); color: var(--soft); font: 300 15px/1.2 var(--f-text); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.kn-tab:hover { color: var(--ink); }
.kn-tab[aria-selected="true"] { background: var(--gold); color: #1a1206; font-weight: 400; }
.kn-panes { position: relative; margin-top: 18px; min-height: 84px; }
.kn-pane { display: none; font-size: 16px; font-weight: 300; line-height: 1.55; color: var(--soft); }
.kn-pane.is-on { display: block; animation: kn-in .35s ease; }
@keyframes kn-in { from { opacity: 0; transform: translateY(6px); } }

.kn-app { display: grid; grid-template-columns: 170px minmax(0, 1fr); border-radius: 22px; overflow: hidden; background: #0e1013; box-shadow: 0 0 0 1px rgba(226, 169, 87, .16), 0 40px 100px rgba(0, 0, 0, .45); font-family: "Onest", var(--f-text); color: #eef0f3; text-align: left; }
.kn-side { display: grid; align-content: start; gap: 4px; padding: 16px 12px; background: #0b0d10; border-right: 1px solid #1d2026; font-size: 13.5px; color: #b9bec7; }
.kn-side-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.kn-side-brand b { display: block; font-size: 14px; color: #eef0f3; }
.kn-side-brand small { display: block; font-size: 11px; color: #8a909c; }
.kn-side > span { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 9px; }
.kn-side > span.is-on { background: #16191e; color: #fff; }
.kn-side i { font-style: normal; color: #6f7480; }
.kn-side i.is-warn { color: var(--gold); }
.kn-side-j { margin-top: 18px; color: var(--gold-ink) !important; }
.kn-main { padding: 20px 22px 22px; }
.kn-dim { color: #8a909c; font-size: 13px; }
.kn-main h3 { margin: 4px 0 6px; font-family: "Onest", sans-serif; font-size: 24px; font-weight: 600; letter-spacing: 0; color: #fff; }
.kn-main > p { font-size: 14px; }
.kn-main > p b { color: #eef0f3; font-weight: 600; }
.kn-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.kn-card { padding: 14px; border-radius: 14px; background: #16191e; }
.kn-card.is-wide { grid-column: 1 / -1; }
.kn-card-h { display: flex; gap: 8px; align-items: baseline; margin-bottom: 10px; font-size: 14px; }
.kn-sig { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid #23262c; font-size: 13.5px; }
.kn-sig small { display: block; margin-top: 2px; font-size: 12px; color: #8a909c; }
.kn-sig i { width: 8px; height: 8px; border-radius: 50%; }
.kn-sig i.is-warn { background: #f0925c; } .kn-sig i.is-ok { background: var(--gold); }
.kn-sig em { padding: 6px 10px; border-radius: 8px; background: #23262c; font-style: normal; font-size: 12.5px; white-space: nowrap; }
.kn-big { font-family: "Onest", sans-serif; font-weight: 600; font-size: 24px; }
.kn-spark { display: block; width: 100%; height: 44px; margin-top: 6px; }
.kn-spark polyline { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 260; stroke-dashoffset: 260; }
.kn-shot.is-in .kn-spark polyline { animation: kn-draw 1.6s .3s cubic-bezier(.22, 1, .36, 1) forwards; }
@keyframes kn-draw { to { stroke-dashoffset: 0; } }
.kn-task { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13.5px; }
.kn-task i { width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px #3a3e46; }
.kn-task em { margin-left: auto; font-style: normal; font-size: 12px; color: #f0925c; }
.kn-task em.is-2 { color: #8a909c; }
.kn-task.is-done { color: #6f7480; text-decoration: line-through; }
.kn-task.is-done i { background: var(--gold); box-shadow: none; }

/* ---------- Джарвис ---------- */
.kn-jarvis { padding: clamp(32px, calc(4vw / var(--z, 1)), 56px); border-radius: 36px; background: radial-gradient(70% 90% at 0% 0%, rgba(226, 169, 87, .16), transparent 60%), rgba(255, 255, 255, .03); }
.kn-jarvis-head { max-width: 720px; }
.kn-jarvis-head h2 { font-size: var(--fs-h2); }
.kn-jarvis-head p { margin-top: 18px; font-size: var(--fs-body); font-weight: 300; color: var(--soft); }
.kn-jarvis-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 36px 0 32px; }
.kn-j { padding: 26px; border-radius: 24px; background: #0e1013; box-shadow: inset 0 0 0 1px rgba(226, 169, 87, .16); }
.kn-j b { font-family: var(--f-num); font-weight: 400; font-size: clamp(44px, calc(4vw / var(--z, 1)), 60px); line-height: 1; letter-spacing: -.02em; color: var(--gold-ink); }
.kn-j h3 { margin-top: 6px; font-size: 20px; }
.kn-j p { margin-top: 12px; font-size: 15px; font-weight: 300; line-height: 1.5; color: var(--soft); }
.kn-jarvis .pp-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; }

/* ---------- как собираем ---------- */
.kn-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 48px 0 0; padding: 0; list-style: none; counter-reset: kn; }
.kn-steps li { position: relative; padding: 0 28px 0 0; }
.kn-steps li + li { padding-left: 28px; border-left: 1px solid rgba(226, 169, 87, .22); }
.kn-steps h3 { font-size: 22px; }
.kn-steps p { margin-top: 12px; font-size: 16px; font-weight: 300; line-height: 1.5; color: var(--soft); }

/* ---------- эффект ---------- */
.kn-effect { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(32px, calc(4vw / var(--z, 1)), 64px); align-items: center; padding: clamp(32px, calc(4vw / var(--z, 1)), 56px); border-radius: 32px; background: #f6efe4; color: #2a1d0c; }
.kn-effect h2 { font-size: var(--fs-h2); color: #2a1d0c; }
.kn-effect p { margin-top: 16px; font-size: 16px; line-height: 1.5; color: rgba(42, 29, 12, .7); }
.kn-effect dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; }
.kn-effect dt { font-family: var(--f-num); font-size: clamp(34px, calc(3.2vw / var(--z, 1)), 48px); line-height: 1; letter-spacing: -.02em; color: #8a520f; white-space: nowrap; }
.kn-effect dd { margin: 12px 0 0; font-size: 15px; line-height: 1.45; color: rgba(42, 29, 12, .75); }

/* ---------- цены ---------- */
.kn-price h2 { font-size: var(--fs-h2); }
.kn-price-row { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr) minmax(0, .8fr); gap: 24px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--glass-line); }
.kn-price-row:first-of-type { margin-top: 32px; border-top: 1px solid var(--glass-line); }
.kn-price-row span { font-size: 24px; color: var(--ink-2); }
.kn-price-row p { font-size: 17px; font-weight: 300; color: var(--soft); }
.kn-price-row b { font-family: var(--f-num); font-weight: 400; font-size: clamp(26px, calc(2.4vw / var(--z, 1)), 34px); color: var(--gold-ink); text-align: right; white-space: nowrap; }

/* ---------- призыв ---------- */
.kn-cta { display: grid; justify-items: center; gap: 18px; padding: clamp(48px, calc(6vw / var(--z, 1)), 88px) clamp(24px, calc(4vw / var(--z, 1)), 64px); border-radius: 36px; background: #f6efe4; text-align: center; color: #2a1d0c; }
.kn-cta h2 { font-size: var(--fs-h2); color: #2a1d0c; }
.kn-cta p { max-width: 32em; font-size: 18px; line-height: 1.5; color: rgba(42, 29, 12, .72); }
.kn-cta .btn-dark { background: #1a1206; color: #fff; font-weight: 300; }
.kn-cta .btn-line { background: transparent; color: #1a1206; box-shadow: inset 0 0 0 1px rgba(26, 18, 6, .25); font-weight: 300; }
.kn-cta .hero-actions { margin-top: 8px; gap: 12px; }
.kn-cta .kn-logo.is-xl { background: #0e1013; border-radius: 28px; padding: 14px; box-sizing: content-box; }

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
  .kn-hero, .kn-split, .kn-graph, .kn-effect, .kn-statement { grid-template-columns: minmax(0, 1fr); }
  .kn-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 0; }
  .kn-steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .kn-jarvis-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .kn-hero h1 { font-size: calc(10vw / var(--z, 1)); }
  .kn-hero .hero-actions .btn, .kn-cta .hero-actions .btn { flex: 1 1 100%; }
  .kn-chat-body { min-height: 380px; padding: 16px; }
  .kn-facts b { font-size: 34px; }
  .kn-graph-map { aspect-ratio: 360 / 360; }
  .kn-node { padding: 8px 11px; font-size: 13.5px; }
  .kn-node.is-core { padding: 10px 14px; font-size: 15px; }
  .kn-node::after { content: ""; position: absolute; inset: -7px -2px; }
  .kn-app { grid-template-columns: minmax(0, 1fr); }
  .kn-side { display: none; }
  .kn-grid { grid-template-columns: minmax(0, 1fr); }
  .kn-jarvis .pp-checks { grid-template-columns: minmax(0, 1fr); }
  .kn-steps { grid-template-columns: minmax(0, 1fr); }
  .kn-steps li, .kn-steps li + li, .kn-steps li:nth-child(3) { padding: 0 0 0 20px; border-left: 2px solid rgba(226, 169, 87, .3); }
  .kn-effect dl { grid-template-columns: minmax(0, 1fr); }
  .kn-price-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .kn-price-row b { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .kn-horse, .kn-voice i { animation: none; }
  .kn-chat.is-play [data-step] { opacity: 1; transform: none; }
  .kn-spark polyline { stroke-dashoffset: 0; }
}

/* аватар Джарвиса в чате: без логотипа, логотип на странице один */
.kn-ava { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #2a2116; box-shadow: inset 0 0 0 1px rgba(226, 169, 87, .5); color: #f3cf97; font: 600 15px/1 "Onest", sans-serif; animation: kn-breathe 3.2s ease-in-out infinite; }
@keyframes kn-breathe { 50% { box-shadow: inset 0 0 0 1px rgba(226, 169, 87, .9), 0 0 16px rgba(226, 169, 87, .25); } }
@media (prefers-reduced-motion: reduce) { .kn-ava { animation: none; } }

/* =============== чат Джарвиса: как в мессенджере (v2) ===============
   Без свечений и золотых рамок: обычный чат в цветах «Коня». Шаги сценария
   занимают место сразу (меняется только прозрачность), поэтому высота не
   прыгает и снизу не остаётся пустоты — её занимает поле ввода. */
.kn-hero { align-items: center; }
.kn-chat { border-radius: 20px; box-shadow: 0 0 0 1px #23262c, 0 30px 80px rgba(0, 0, 0, .4); }
.kn-chat::before { display: none; }
.kn-chat-head { padding: 14px 18px; background: #121418; }
.kn-chat-body { min-height: 0; gap: 10px; padding: 14px 18px 16px; background: #0e1013; }
.kn-day { justify-self: center; padding: 3px 10px; border-radius: 999px; background: #1a1d22; font-size: 11.5px; color: #8a909c; }
.kn-msg { position: relative; max-width: 88%; padding: 10px 12px 22px; border-radius: 14px 14px 14px 4px; background: #181b20; font-size: 14px; line-height: 1.45; color: #dfe2e7; }
.kn-msg p { margin: 0; color: inherit; font-size: inherit; }
.kn-msg.is-me { justify-self: end; max-width: 80%; border-radius: 14px 14px 4px 14px; background: #2b2418; color: #f1e6d3; }
.kn-time { position: absolute; right: 10px; bottom: 6px; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: #7d828d; }
.kn-msg.is-me .kn-time { color: #a8977a; }
.kn-read { width: 14px; height: 8px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 9'%3E%3Cpath d='M1 4.5l3 3L10 1.5M6 7.5l1 0.2L14 1.5' fill='none' stroke='%23e2a957' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.kn-vm { display: flex; align-items: center; gap: 10px; }
.kn-play { position: relative; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--gold); }
.kn-play::after { content: ""; position: absolute; left: 12px; top: 9px; border-left: 9px solid #2b2418; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.kn-bars { display: flex; align-items: center; gap: 2px; height: 22px; }
.kn-bars i { width: 2.5px; border-radius: 2px; background: rgba(226, 169, 87, .55); }
.kn-chat.is-on-voice .kn-bars i { background: var(--gold); }
.kn-dur { font-size: 12px; color: #a8977a; font-variant-numeric: tabular-nums; }
.kn-tr { margin-top: 8px !important; padding-top: 8px; border-top: 1px solid rgba(226, 169, 87, .18); font-size: 13.5px !important; color: #e6dac4 !important; }
.kn-voice { display: none; }
.kn-act { margin-top: 10px; padding: 12px; border-radius: 10px; background: #0f1114; box-shadow: inset 0 0 0 1px #2a2e35; }
.kn-act-k { font-size: 11.5px; color: #8a909c; }
.kn-act-title { margin-top: 2px; font-size: 14.5px; }
.kn-act-f { display: grid; grid-template-columns: auto 1fr; gap: 5px 14px; margin: 10px 0 0; font-size: 13px; }
.kn-act-f dt { color: #8a909c; }
.kn-act-f dd { margin: 0; color: #dfe2e7; }
.kn-act-f em { padding: 1px 6px; border-radius: 5px; background: rgba(240, 146, 92, .16); color: #f0925c; font-style: normal; font-size: 12px; }
.kn-act-links { display: none; }
.kn-act-btns { margin-top: 12px; }
.kn-act-btns span { padding: 0 12px; height: 30px; display: inline-flex; align-items: center; border-radius: 8px; font-size: 13px; }
.kn-chat .kn-act.is-done { box-shadow: inset 0 0 0 1px rgba(76, 192, 138, .45); }
.kn-act-done { font-size: 13px; }
.kn-input { display: flex; align-items: center; gap: 10px; margin: 0 14px 14px; padding: 10px 12px 10px 16px; border-radius: 12px; background: #16191e; font-size: 13.5px; color: #6f7480; }
.kn-input span { flex: 1; }
.kn-mic { width: 30px; height: 30px; border-radius: 50%; background: #23262c no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 18'%3E%3Crect x='4' y='1' width='6' height='10' rx='3' fill='none' stroke='%23e2a957' stroke-width='1.5'/%3E%3Cpath d='M1.5 8.5a5.5 5.5 0 0 0 11 0M7 14v3' fill='none' stroke='%23e2a957' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* =============== интерфейс: семь экранов =============== */
.kn-nav { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 8px 10px; border: 0; border-radius: 9px; background: none; color: #b9bec7; font: 400 13.5px/1.2 "Onest", var(--f-text); text-align: left; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.kn-nav:hover { background: #121418; color: #eef0f3; }
.kn-nav.is-on { background: #16191e; color: #fff; }
.kn-nav i { font-style: normal; color: #6f7480; }
.kn-side-j { display: block; margin-top: 18px; padding: 8px 10px; color: var(--gold-ink); font-size: 13.5px; }
.kn-main { position: relative; height: 470px; overflow: hidden; }
.kn-screen { display: none; }
.kn-screen.is-on { display: block; animation: kn-in .3s ease; }
.kn-sub { margin-top: 2px; font-size: 13.5px; color: #8a909c; }
.kn-sub b { color: #eef0f3; font-weight: 600; }
.kn-sh { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.kn-sh h3 { margin: 0 !important; }
.kn-seg { display: flex; gap: 2px; padding: 3px; border-radius: 9px; background: #16191e; font-size: 12px; white-space: nowrap; }
.kn-seg b, .kn-seg i { padding: 4px 8px; border-radius: 7px; font-style: normal; font-weight: 400; color: #8a909c; }
.kn-seg b { background: #23262c; color: #eef0f3; }
.kn-grid-2 { margin-top: 12px; }
.kn-proj-tabs { display: flex; gap: 14px; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid #23262c; font-size: 12.5px; color: #8a909c; }
.kn-proj-tabs .is-on { color: var(--gold-ink); box-shadow: 0 9px 0 -7px var(--gold); }
.kn-table { border-radius: 12px; background: #16191e; }
.kn-tr-row { display: grid; grid-template-columns: minmax(0, 1.5fr) .75fr .95fr 1.05fr; gap: 10px; align-items: center; padding: 10px 14px; border-top: 1px solid #1f2329; font-size: 13px; color: #b9bec7; }
.kn-tr-row.is-head { border-top: 0; font-size: 11.5px; color: #6f7480; }
.kn-tr-row b { display: block; font-weight: 500; color: #eef0f3; }
.kn-tr-row small { display: block; font-size: 11.5px; color: #7d828d; }
.kn-st::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #4cc08a; }
.kn-st.is-warn::before { background: #f0925c; }
.kn-st.is-idle::before { background: #5a5f69; }
.kn-sp { white-space: nowrap; display: flex; flex-direction: row-reverse; justify-content: flex-start; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.kn-sp i { display: block; height: 4px; max-width: 44px; border-radius: 2px; background: var(--gold); }
.kn-quick { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px #2a2e35; font-size: 13px; color: #6f7480; }
.kn-quick span { color: var(--gold); font-size: 16px; }
.kn-quick kbd { margin-left: auto; padding: 1px 6px; border-radius: 5px; background: #23262c; font: 11px "Onest", sans-serif; color: #8a909c; }
.kn-tgroup { margin-top: 12px; border-radius: 12px; background: #16191e; }
.kn-tgh { padding: 10px 14px 6px; font-size: 13px; font-weight: 600; color: #eef0f3; }
.kn-tgh.is-hot { color: #f07272; }
.kn-tgh i { font-style: normal; font-weight: 400; color: #6f7480; margin-left: 4px; }
.kn-trow { display: grid; grid-template-columns: 14px minmax(0, 1fr) 28px 90px; gap: 12px; align-items: center; padding: 8px 14px; border-top: 1px solid #1f2329; font-size: 13px; }
.kn-trow > i { width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px #3a3e46; }
.kn-trow b { display: block; font-weight: 400; color: #eef0f3; }
.kn-trow small { display: block; font-size: 11.5px; color: #7d828d; }
.kn-trow em { font-style: normal; font-size: 12px; color: #8a909c; }
.kn-trow em.is-p1 { color: #f0925c; }
.kn-date { text-align: right; font-size: 12px; color: #8a909c; }
.kn-date.is-hot { color: #f07272; }
.kn-fn { display: grid; grid-template-columns: 74px minmax(0, 1fr) 18px; gap: 8px; align-items: center; padding: 5px 0; font-size: 12.5px; color: #b9bec7; }
.kn-fn i { display: block; height: 8px; border-radius: 4px; background: linear-gradient(90deg, rgba(226, 169, 87, .35), var(--gold)); }
.kn-fn b { font-weight: 500; text-align: right; color: #eef0f3; }
.kn-org { display: flex; align-items: center; gap: 10px; }
.kn-org-ava { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #2b2418; color: var(--gold-ink); font-size: 12px; font-weight: 600; }
.kn-org b { display: block; font-size: 14px; font-weight: 500; }
.kn-org small { display: block; font-size: 11.5px; color: #7d828d; }
.kn-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 12px; }
.kn-chips span { padding: 4px 8px; border-radius: 7px; background: #1f2329; font-size: 11.5px; color: #b9bec7; }
.kn-chips span.is-on { background: #2b2418; color: var(--gold-ink); }
.kn-ob { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 10px; align-items: center; margin-top: 12px; padding-top: 10px; border-top: 1px solid #23262c; font-size: 13px; }
.kn-ob > i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.kn-ob small { display: block; font-size: 11.5px; color: #7d828d; }
.kn-ob em { padding: 5px 9px; border-radius: 7px; background: #23262c; font-style: normal; font-size: 12px; }
.kn-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.kn-kpis div { padding: 12px 14px; border-radius: 12px; background: #16191e; }
.kn-kpis small { display: block; font-size: 11.5px; color: #8a909c; }
.kn-kpis b { display: block; margin-top: 4px; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.kn-kpis b.is-ok { color: #4cc08a; }
.kn-legend { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: #8a909c; }
.kn-legend i { width: 8px; height: 8px; border-radius: 2px; margin-left: 6px; }
.kn-legend .is-in, .kn-bar-in { background: var(--gold); }
.kn-legend .is-out, .kn-bar-out { background: #3a3e46; }
.kn-fbars { display: flex; align-items: flex-end; gap: 14px; height: 170px; padding-bottom: 18px; }
.kn-bar { position: relative; flex: 1; display: flex; align-items: flex-end; gap: 3px; height: 100%; }
.kn-bar span { flex: 1; border-radius: 4px 4px 0 0; transform-origin: bottom; }
.kn-screen.is-on .kn-bar span { animation: kn-grow .7s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes kn-grow { from { transform: scaleY(0); } }
.kn-bar small { position: absolute; left: 0; right: 0; bottom: -18px; text-align: center; font-size: 11px; color: #7d828d; }
.kn-svc { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid #23262c; font-size: 13px; }
.kn-svc:first-child { border-top: 0; padding-top: 0; }
.kn-svc > i { width: 8px; height: 8px; border-radius: 50%; background: #4cc08a; box-shadow: 0 0 0 3px rgba(76, 192, 138, .15); }
.kn-svc > i.is-warn { background: #f0925c; box-shadow: 0 0 0 3px rgba(240, 146, 92, .15); }
.kn-svc b { display: block; font-weight: 500; }
.kn-svc small { display: block; font-size: 11.5px; color: #7d828d; }
.kn-svc em { font-style: normal; font-size: 12px; color: #8a909c; }
.kn-meter { display: grid; grid-template-columns: 56px 1fr 34px; gap: 8px; align-items: center; margin-top: 8px; font-size: 12px; color: #b9bec7; }
.kn-meter i { display: block; height: 6px; border-radius: 3px; background: #23262c; }
.kn-meter b { display: block; height: 100%; border-radius: 3px; background: var(--gold); }
.kn-meter em { font-style: normal; text-align: right; color: #8a909c; }
.kn-big.is-sm { margin: 6px 0 2px; font-size: 17px; }
.kn-search { margin-bottom: 12px; padding: 10px 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px #2a2e35; font-size: 13px; color: #6f7480; }
.kn-kn { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid #23262c; font-size: 13px; }
.kn-kn:first-child { border-top: 0; padding-top: 0; }
.kn-kn-t { justify-self: start; padding: 3px 8px; border-radius: 6px; background: #2b2418; font-size: 11.5px; color: var(--gold-ink); }
.kn-kn b { display: block; font-weight: 500; }
.kn-kn small { display: block; font-size: 11.5px; color: #7d828d; }
.kn-kn em { font-style: normal; font-size: 12px; color: #8a909c; }

@media (max-width: 760px) {
  .kn-main { height: auto; padding: 16px; }
  .kn-seg { display: none; }
  .kn-tr-row { grid-template-columns: minmax(0, 1fr) auto; }
  .kn-tr-row > :nth-child(2), .kn-tr-row > :nth-child(4) { display: none; }
  .kn-trow { grid-template-columns: 14px minmax(0, 1fr) 70px; }
  .kn-trow em { display: none; }
  .kn-kpis { grid-template-columns: minmax(0, 1fr); }
  .kn-kpis div:nth-child(n + 2) { display: none; }
  .kn-kn { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .kn-kn em { display: none; }
  .kn-proj-tabs { overflow: hidden; }
}
