/* КП NN Agent — мобильное приложение в стиле «Графит» (плитки v23, Андрей 30.09.2026): крупные плитки 2×2, строки-допники,
   слой снизу с инфографикой, закреплённые кнопки. Самостоятельный файл: nn.css не нужен. Отрисовка — таплинк-рендер.mjs. */
:root{
  --bg:#141415; --tile:#232325; --tile-2:#2a2a2d; --tile-3:#333337; --sheet:#1c1c1e;
  --fg:#f3f3f4; --fg-2:#d3d3d8; --mute:#95959b; --line:rgba(255,255,255,.08);
  --accent:#2446ff; --accent-fg:#8fa1ff; --accent-soft:rgba(36,70,255,.2); --ok:#4ade80; --warn:#ffc266;
  --f:'Golos Text',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif; --fd:'Unbounded','Golos Text',system-ui,sans-serif;
  --r:24px; --ease:cubic-bezier(.2,.8,.2,1); color-scheme:dark;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;background:var(--bg);color:var(--fg);font-family:var(--f);font-size:16px;line-height:1.45;-webkit-font-smoothing:antialiased}
/* без одного слова на последней строке (Андрей 01.10: «переносы кривые») — браузер сам подбирает переносы */
body{text-wrap:pretty}
body.lock{overflow:hidden}
a{color:var(--accent-fg);text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
svg.lucide{width:20px;height:20px}
.down{scale:.965;transition:scale .08s ease}

/* верх */
.bar{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:rgba(20,20,21,.84);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.home{display:flex;align-items:center;gap:8px;background:var(--tile);border-radius:999px;padding:6px 14px 6px 6px;color:var(--fg);font-weight:600;font-size:15px}
.home img{width:28px;height:28px;border-radius:50%}
.snd{width:40px;height:40px;border-radius:50%;background:var(--tile);display:grid;place-items:center;color:var(--fg-2)}
.snd.off{opacity:.45}
.wrap{max-width:520px;margin:0 auto;padding:6px 16px 120px}

/* шапка */
/* шапка — обложка КП: свет NN (синий) сходится со светом клиента (тёплый, как его кружок). Андрей 01.10: «тухлый верх» у серой плитки по центру */
.hero{position:relative;isolation:isolate;overflow:hidden;border-radius:28px;padding:20px 20px 20px;text-align:left;
  background:linear-gradient(165deg,#1e2238 0%,#18181b 52%,#1d1714 100%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.07),0 26px 50px -30px rgba(36,70,255,.7)}
.hero::before,.hero::after{content:"";position:absolute;z-index:-1;border-radius:50%;pointer-events:none}
.hero::before{width:300px;height:300px;right:-110px;top:-140px;background:radial-gradient(circle,rgba(58,91,255,.8),rgba(36,70,255,.22) 45%,transparent 70%);animation:hero-glow 9s ease-in-out infinite alternate}
.hero::after{width:240px;height:240px;left:-90px;bottom:-130px;background:radial-gradient(circle,rgba(255,128,61,.4),transparent 70%);animation:hero-glow 12s ease-in-out infinite alternate-reverse}
@keyframes hero-glow{to{transform:translate(-26px,20px) scale(1.14)}}
@media (prefers-reduced-motion:reduce){.hero::before,.hero::after{animation:none}}
.pair{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:14px}
.pair img,.pair .av{width:56px;height:56px;border-radius:50%}
.pair .av{display:grid;place-items:center;font:600 20px/1 var(--fd);color:#fff;background:linear-gradient(135deg,#ffb547,#ff6a3d)}
.pair .x{color:var(--mute)}
.hero .pair{justify-content:flex-start;gap:0;margin-bottom:22px}
.hero .pair img,.hero .pair .av{width:58px;height:58px;box-shadow:0 0 0 3px #1c1f30,0 10px 24px -8px rgba(0,0,0,.7)}
.hero .pair .av{margin-left:-6px;font-size:22px;box-shadow:0 0 0 3px #1c1f30,0 10px 24px -8px rgba(255,106,61,.6)}
.hero .pair .x{position:relative;z-index:1;margin-left:-8px;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#23252f;box-shadow:0 0 0 3px #1c1f30;color:var(--fg-2);font-size:14px;line-height:1}
.hero h1{font:600 27px/1.14 var(--fd);letter-spacing:-.02em;margin:0;text-wrap:balance}
.hero h1 b{font-weight:600;color:var(--accent-fg)}
.lead{color:var(--mute);font-size:15px;margin:10px 0 0}
.hero .lead{color:var(--fg-2);font-size:15.5px;margin-top:10px;max-width:30ch}
.chips{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:12px}
.chips span{background:var(--tile-2);border-radius:999px;padding:5px 11px;font-size:13px;font-weight:600;color:var(--fg-2)}
.hero .chips{justify-content:flex-start;margin-top:16px}
.hero .chips span{background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);color:var(--fg);padding:6px 12px}

/* дорога: разбор → тест → решение → запуск */
.road{list-style:none;margin:14px 0;padding:0 4px;display:grid;grid-template-columns:repeat(4,1fr);position:relative}
.road li{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12px;color:var(--mute);font-weight:600}
.road li::before{content:"";position:absolute;top:5px;right:50%;width:100%;height:2px;background:var(--tile-3)}
.road li:first-child::before{display:none}
.road li i{position:relative;width:12px;height:12px;border-radius:50%;background:var(--tile-3)}
.road li.done i,.road li.done::before,.road li.now::before{background:var(--accent)}
.road li.done i{background:var(--accent)}
.road li.now i{background:#fff;box-shadow:0 0 0 4px var(--accent-soft)}
.road li.now{color:var(--fg)}

/* плитки каркаса 2×2 */
.grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tile{position:relative;overflow:hidden;min-height:150px;display:flex;flex-direction:column;justify-content:flex-end;gap:4px;text-align:left;padding:16px;border-radius:var(--r);background:var(--tile);transition:background .15s}
.tile::after{content:"";position:absolute;right:-30px;top:-30px;width:110px;height:110px;border-radius:50%;background:radial-gradient(circle,rgba(143,161,255,.14),transparent 70%)}
.tile .bub{position:absolute;top:14px;left:14px}
.tile b{font:600 15px/1.2 var(--fd);letter-spacing:-.01em}
.tile small{color:var(--mute);font-size:13px}
.tile.main{background:linear-gradient(150deg,#3a5bff,#1f3bdc)}
.tile.main::after{background:radial-gradient(circle,rgba(255,255,255,.22),transparent 70%)}
.tile.main small{color:#d6ddff}
.tile.main .bub{background:rgba(255,255,255,.18);color:#fff}
.bub{flex:none;width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent-fg)}
.bub.sm{width:30px;height:30px;border-radius:10px}
.bub.sm svg{width:16px;height:16px}

/* допники */
.sec{font:500 13px/1 var(--f);color:var(--mute);margin:22px 4px 10px;letter-spacing:.02em}
.list{display:grid;gap:8px}
.row{display:flex;align-items:center;gap:12px;text-align:left;padding:10px 14px 10px 10px;border-radius:20px;background:var(--tile)}
.row .rt{flex:1;min-width:0;display:flex;flex-direction:column}
.row b{font-weight:600;font-size:15px}
.row small{color:var(--mute);font-size:13px}
.row .go{color:var(--mute);font-size:22px;line-height:1}
.row.team{background:rgba(255,194,102,.1)}
.row.team .bub{background:rgba(255,194,102,.16);color:var(--warn)}
.foot{text-align:center;color:var(--mute);font-size:12.5px;margin:26px 0 0}

/* кнопки */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 18px;border-radius:16px;background:var(--tile-2);color:var(--fg);font-weight:600;font-size:15px}
.btn.pri{background:var(--accent);color:#fff;box-shadow:0 10px 26px -12px rgba(36,70,255,.9)}
.btn.ghost{background:transparent;border:1px solid var(--line);width:100%}
.btn.round{width:52px;padding:0;border-radius:50%;flex:none}
.btns{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.btns .btn{flex:1 1 auto}
.dock{position:fixed;left:0;right:0;bottom:0;z-index:6;display:flex;gap:8px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:linear-gradient(0deg,rgba(20,20,21,.96) 60%,rgba(20,20,21,0));max-width:520px;margin:0 auto}
.dock .btn.pri{flex:1;min-height:52px}
.dock .btn{white-space:nowrap}
.dock .btn:not(.pri):not(.round){min-height:52px;padding:0 16px}

/* слой снизу */
.scrim{position:fixed;inset:0;z-index:8;background:rgba(0,0,0,.6);opacity:0;transition:opacity .3s}
.scrim.on{opacity:1}
.sheet{position:fixed;left:0;right:0;bottom:0;z-index:9;max-width:520px;margin:0 auto;max-height:88vh;overflow:auto;overscroll-behavior:contain;background:var(--sheet);border-radius:28px 28px 0 0;padding:8px 18px calc(24px + env(safe-area-inset-bottom));transform:translateY(105%);transition:transform .34s var(--ease)}
.sheet:not(.on){visibility:hidden;transition:transform .34s var(--ease),visibility 0s .34s}
.sheet.on{transform:none}
.grab{width:40px;height:5px;border-radius:3px;background:var(--tile-3);margin:4px auto 10px}
.ph{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.ph b{flex:1;font:600 18px/1.2 var(--fd)}
.ph .x{width:36px;height:36px;border-radius:50%;background:var(--tile-2);display:grid;place-items:center;color:var(--mute)}
.pane h4{margin:18px 0 8px;font-size:13px;font-weight:600;color:var(--mute);letter-spacing:.02em}
.tx{color:var(--fg-2);font-size:15px;margin:10px 0}
blockquote{margin:0 0 12px;padding:12px 14px;border-left:3px solid var(--accent);background:var(--tile);border-radius:0 14px 14px 0;color:var(--fg-2);font-size:14.5px}
.pane .chips{justify-content:flex-start;margin:12px 0 4px}

/* инфографика: поток из трёх узлов */
.flow{display:flex;align-items:flex-start;justify-content:space-between;gap:4px;padding:14px 10px;background:var(--tile);border-radius:20px}
.flow>div{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}
.flow small{font-size:12.5px;color:var(--fg-2);line-height:1.3}
.flow .ar{flex:none;width:18px;height:2px;margin-top:20px;background:linear-gradient(90deg,var(--tile-3),var(--accent-fg));position:relative}
.flow .ar::after{content:"";position:absolute;right:-1px;top:-3px;border:4px solid transparent;border-left:6px solid var(--accent-fg);border-right:0}

/* списки с иконками и шаги */
.ic{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.ic li{display:flex;align-items:center;gap:10px;font-size:15px;color:var(--fg-2)}
.st{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:0}
.st li{position:relative;display:flex;align-items:center;gap:12px;padding:8px 0}
.st li:not(:last-child)::after{content:"";position:absolute;left:20px;top:50px;bottom:-8px;width:2px;background:var(--tile-3)}
.st li>span:last-child{display:flex;flex-direction:column}
.st b{font-size:15px}
.st small{color:var(--mute);font-size:13px}

/* мини-группа Telegram */
.tgm{background:#17212b;border-radius:18px;overflow:hidden;margin:4px 0 8px}
.tgm-h{display:flex;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid #101921}
.tgm-h .av{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:13px;background:linear-gradient(135deg,#ffb547,#ff6a3d);color:#fff}
.tgm-h b{font-size:14px}
.tgm-r{display:flex;align-items:center;gap:10px;padding:7px 12px;font-size:14px;color:#f5f5f5}
.tgm-r .ti{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:13px;background:color-mix(in srgb,var(--c) 30%,#17212b)}

/* видео */
.vid{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:14px 0 0;padding:12px 14px;border-radius:18px;background:linear-gradient(135deg,#0f1433,#2446ff);color:#fff}
.vid .pl{flex:none;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.18)}
.vid>span:nth-child(2){flex:1 1 calc(100% - 60px);display:flex;flex-direction:column}
.vid b{font-size:14.5px}
.vid small{color:#c9d3ff;font-size:12.5px}
.vid em{font-style:normal;font-size:12.5px;font-weight:700;background:rgba(255,255,255,.16);border-radius:999px;padding:5px 10px;margin-left:54px}

/* сравнение */
.cmp{background:var(--tile);border-radius:18px;overflow:hidden}
.cmp-h{display:grid;grid-template-columns:.9fr 1fr 1.2fr;gap:8px;padding:10px 12px;font-size:12px;font-weight:600;color:var(--mute)}
.cmp-h span:last-child{color:var(--accent-fg)}
.cmp-r{display:grid;grid-template-columns:.9fr 1fr 1.2fr;gap:8px;padding:10px 12px;border-top:1px solid var(--line);font-size:13.5px;color:var(--mute)}
.cmp-r b{color:var(--fg);font-weight:600}
.cmp-r .us{color:var(--fg)}

/* вопросы */
.qa{display:grid;gap:8px}
.qa details{background:var(--tile);border-radius:16px;padding:0 14px}
.qa summary{list-style:none;cursor:pointer;padding:13px 0;font-weight:600;font-size:15px;display:flex;justify-content:space-between;gap:10px}
.qa summary::-webkit-details-marker{display:none}
.qa summary::after{content:"+";color:var(--accent-fg);font-size:20px;line-height:1}
.qa details[open] summary::after{content:"−"}
.qa p{margin:0 0 13px;color:var(--fg-2);font-size:14.5px}
.todo{display:flex;gap:8px;padding:12px 14px;border-radius:14px;background:rgba(255,194,102,.1);color:var(--warn);font-size:14px}
.todo b{color:var(--warn)}

/* расчёт */
.calc .cs{display:flex;align-items:center;gap:10px;margin:18px 0 10px}
.calc .cs:first-child{margin-top:0}
.calc .cs .n{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:#fff;font:600 12px/1 var(--fd)}
.calc .cs b{font-size:15px}
.calc .cs small{margin-left:auto;color:var(--mute);font-size:12.5px}
.opts{display:flex;flex-wrap:wrap;gap:8px}
.tg-opt{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:14px;background:var(--tile);font-size:14px;font-weight:600;color:var(--fg-2);border:1px solid transparent;transition:background .15s,border-color .15s}
.tg-opt em{font-style:normal;font-weight:600;color:var(--mute);font-size:13px}
.tg-opt.on{background:var(--accent-soft);border-color:var(--accent);color:#fff}
.tg-opt.on em{color:var(--accent-fg)}
.tg-opt>span{text-align:left}
.tg-opt small{display:none;margin-top:2px;font-size:11.5px;font-weight:500;color:var(--accent-fg)}
.tg-opt.on small{display:block}
/* блоки с контуром (Андрей 01.10: СДВГ теряется, когда всё на одном листе) — шаг расчёта или подзаголовок слоя со своими пунктами */
.grp,.calc .blk{margin-top:12px;padding:14px;border:1px solid rgba(255,255,255,.11);border-radius:20px;background:rgba(255,255,255,.015)}
.calc .blk:first-child{margin-top:0}
.grp>h4:first-child{margin-top:0}
.grp>:last-child,.calc .blk>:last-child{margin-bottom:0}
.calc .blk .cs{margin:0 0 12px}
.calc .blk>.sum:first-child{margin-top:0}
.calc .blk .sum b{font-size:17px}
.calc .blk.tot{border-color:rgba(36,70,255,.55)}
/* коробка: остальные критерии прячутся */
.calc.boxed .blk:not(.b-add):not(.fin){display:none}
.calc.boxed .b-add .cs,.calc.boxed .b-add .tg-opt:not([data-t="box"]),.calc.boxed .adl .cn-d{display:none}
.calc.boxed .fin>:not(.btns){display:none}
.acc{display:flex;align-items:center;gap:14px}
.acc>div:last-child{display:flex;flex-direction:column}
.acc b{font:600 20px/1.2 var(--fd)}
.acc small{color:var(--mute);font-size:13px}
.stp{display:flex;align-items:center;background:var(--tile);border-radius:14px;overflow:hidden}
.stp button{width:42px;height:44px;font-size:20px;color:var(--fg)}
.stp output{min-width:40px;text-align:center;font:600 17px/1 var(--fd)}
.chp{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.chp button{padding:7px 11px;border-radius:12px;background:var(--tile);font-size:13.5px;font-weight:600;color:var(--mute);border:1px solid transparent}
.chp button.on{border-color:var(--accent);color:#fff;background:var(--accent-soft)}
.bars{display:flex;align-items:flex-end;gap:5px;height:130px;margin:8px 0 4px}
.bars>div{flex:1;min-width:0;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:4px}
.bars i{display:block;width:100%;max-width:40px;border-radius:8px 8px 3px 3px;background:linear-gradient(180deg,#5b76ff,var(--accent))}
.bars b{font-size:10.5px;color:var(--fg-2);white-space:nowrap}
.bars small{font-size:10.5px;color:var(--mute);white-space:nowrap}
.sum{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}
.sum>div{background:var(--tile);border-radius:16px;padding:10px 11px;display:flex;flex-direction:column;min-width:0}
.sum>div.hi{background:var(--accent)}
.sum span{font-size:11.5px;color:var(--mute);font-weight:600}
.sum .hi span,.sum .hi small{color:#d6ddff}
.sum b{font:600 19px/1.2 var(--fd);letter-spacing:-.02em}
.sum small{font-size:11.5px;color:var(--mute)}
.calc .note{color:var(--mute);font-size:13px;margin:12px 0 0}

/* вход по коду */
.gate{min-height:100vh;display:grid;place-items:center;padding:24px 16px}
.gate-box{width:100%;max-width:400px;text-align:center}
.gate h1{font:600 22px/1.2 var(--fd);margin:0 0 6px}
.gate .lead{margin:0 0 18px}
.gate form{display:grid;gap:10px}
.gate input{font:600 28px/1 var(--fd);letter-spacing:.35em;text-align:center;padding:16px 10px 16px 20px;border:1px solid var(--line);border-radius:18px;background:var(--tile);color:var(--fg);width:100%}
.gate input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}
.gate .btn{width:100%;min-height:52px}
.err{background:rgba(248,113,113,.12);color:#fca5a5;border-radius:14px;padding:10px 12px;font-size:14px;margin:0 0 12px}

/* этапы сверху вниз одной колонкой, на всю ширину, по номерам и с линией между ними (Андрей 30.09: 2×2 — СДВГ) */
.stages{list-style:none;margin:0;padding:0;display:grid;gap:10px;position:relative}
.stages li{position:relative}
.stages li:not(:last-child)::after{content:"";position:absolute;left:33px;bottom:-11px;width:2px;height:12px;background:var(--tile-3);z-index:0}
.stages .tile{width:100%;min-height:78px;flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;padding:12px 14px}
.stages .tile::after{right:-40px;top:-50px}
.stages .tile .bub{position:static}
.stages .tile .num{flex:none;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--tile-3);color:var(--fg-2);font:600 12px/1 var(--fd)}
.stages .tile.main .num{background:rgba(255,255,255,.22);color:#fff}
.stages .tile .rt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.stages .tile b{font:600 16px/1.2 var(--fd)}
.stages .tile .go{color:var(--mute);font-size:24px;line-height:1}
.stages .tile.main .go{color:#fff}
.hero+.sec{margin-top:20px}
.fn{margin:10px 0 0;font-size:13px;color:var(--mute)}
/* 10 дней теста (Андрей 30.09): шкала-полоска, в середине 3 столбика исходящих */
.dz{display:grid;grid-template-columns:repeat(10,1fr);gap:4px;height:104px;margin-top:8px}
.dz>div{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:4px;min-width:0}
.dz b{font-size:10.5px;font-weight:700;color:var(--fg-2);white-space:nowrap}
.dz i{display:block;width:100%;height:74px;border-radius:8px 8px 3px 3px;background:linear-gradient(180deg,#5b76ff,var(--accent))}
.strip{display:grid;grid-template-columns:repeat(10,1fr);gap:4px;margin-top:6px}
.strip span{position:relative;height:22px;border-radius:7px;background:var(--tile-3);display:grid;place-items:center}
.strip span.out{background:var(--accent)}
.strip span.ans{background:rgba(74,222,128,.35)}
.strip span.rep{background:rgba(255,194,102,.55)}
.strip em{font-style:normal;font-size:10.5px;font-weight:700;color:var(--fg-2)}
.strip span.out em{color:#fff}
.phs{display:grid;grid-template-columns:repeat(10,1fr);gap:4px;margin-top:6px}
.phs span{padding:5px 0;border-radius:8px;background:var(--tile-2);font-size:10px;font-weight:600;color:var(--mute);text-align:center;white-space:nowrap;overflow:hidden}
.phs span.hi{background:var(--accent-soft);color:var(--accent-fg)}
/* охваты в расчёте: 3 · 5 · 10 аккаунтов, выбранный — ярко */
.bars.reach{height:130px;gap:8px;padding-inline:4px}
.bars.reach i{transition:height .45s cubic-bezier(.3,1.25,.45,1),background-color .2s}
.bars.reach>div i{background:var(--tile-3);max-width:56px}
.bars.reach>div.on i{background:linear-gradient(180deg,#5b76ff,var(--accent))}
.bars.reach>div.on b,.bars.reach>div.on small{color:var(--fg)}
.sum.rs{margin-top:8px;grid-template-columns:repeat(2,1fr)}
.days .sum b{font-size:18px;white-space:nowrap}
/* лесенка подключения бота (Андрей 01.10): экран Telegram слева-справа, пунктир от одного к другому и к кнопке */
.cn{margin-top:14px}
.cn>h4{margin:0 0 12px}
.cn-s{display:grid;grid-template-columns:60% 1fr;gap:12px;align-items:center}
.cn-s.r{grid-template-columns:1fr 60%}
.cn-s.r .tgs{order:2}
.cn-t{display:flex;flex-direction:column;gap:3px;min-width:0}
.cn-s.r .cn-t{text-align:right;align-items:flex-end}
.cn-t .n{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:#fff;font:600 12px/1 var(--fd);margin-bottom:3px}
.cn-t b{font:600 14.5px/1.25 var(--fd);letter-spacing:-.01em}
.cn-t small{color:var(--mute);font-size:12.5px;line-height:1.35}
.cn-d{display:block;width:100%;height:30px;overflow:visible}
.cn-d path{fill:none;stroke:var(--accent-fg);stroke-width:2;stroke-dasharray:4 5;stroke-linecap:round;opacity:.75}
.cn .btns{margin-top:0}
.cn .fn{text-align:center}
/* мини-экран Telegram, тёмная тема iOS */
.tgs{background:#000;border:1px solid rgba(255,255,255,.1);border-radius:16px;overflow:hidden;font-size:11px;line-height:1.25;box-shadow:0 10px 24px -14px rgba(0,0,0,.9)}
.tgs.pgb{display:flex;flex-direction:column;gap:6px;padding:12px 10px 10px;background:var(--sheet)}
.tgs.pgb>i{display:block;height:6px;width:70%;border-radius:3px;background:var(--tile-2)}
.tgs.pgb>i+i{width:45%;margin-bottom:6px}
.tgs.pgb .btn{min-height:36px;padding:0 10px;border-radius:12px;font-size:11.5px;gap:6px;white-space:nowrap;box-shadow:0 0 0 2px rgba(143,161,255,.55),0 8px 20px -8px rgba(36,70,255,.9)}
.tgs.pgb .btn svg.lucide{width:14px;height:14px}
.tgs-h{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:6px;padding:8px 9px;background:#1c1c1e}
.tgs-h b{font-size:11.5px;white-space:nowrap}
.tgs-h .l{color:#0a84ff;justify-self:start}
.tgs-h .r{color:#0a84ff;justify-self:end;font-weight:600}
.tgs-f{display:flex;align-items:center;gap:8px;margin:8px;padding:8px;border-radius:10px;background:#1c1c1e;font-weight:600}
.tgs-f .cam{flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:rgba(10,132,255,.18);color:#0a84ff}
.tgs-f svg.lucide{width:15px;height:15px}
.tgs-list{margin:8px;border-radius:10px;overflow:hidden;background:#1c1c1e}
.tgs-r{display:flex;align-items:center;gap:7px;padding:7px 8px;border-bottom:1px solid #2c2c2e}
.tgs-r:last-child{border-bottom:0}
.tgs-r .t{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tgs-r em{font-style:normal;color:#8e8e93}
.tgs-r.hi{background:rgba(36,70,255,.22);box-shadow:inset 3px 0 0 var(--accent);font-weight:600}
.tgs-r .av{flex:none;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:10px;color:#fff;background:linear-gradient(135deg,#ffb547,#ff6a3d)}
.tgs-r .ok{flex:none;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:#0a84ff;color:#fff}
.tgs-r .ok svg.lucide{width:11px;height:11px}
.tgs .sw{flex:none;width:30px;height:18px;border-radius:99px;background:#ff453a;position:relative}
.tgs .sw::after{content:"";position:absolute;left:2px;top:2px;width:14px;height:14px;border-radius:50%;background:#fff}
.tgs .sw.on{background:#34c759}
.tgs .sw.on::after{left:auto;right:2px}
.tgs-go{margin:2px 8px 8px;padding:8px;border-radius:10px;background:#0a84ff;color:#fff;text-align:center;font-weight:600}
/* темы группы: название и для чего — как превью в списке тем Telegram */
.tgm-r .tw{display:flex;flex-direction:column;min-width:0}
.tgm-r .tw b{font-weight:600;font-size:14px}
.tgm-r .tw small{color:#8e9aa6;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* итог — корзина (Андрей 01.10): сразу после охватов и прилипает к верху, пока листаете услуги; ниже — всё выбранное плашками */
.calc .blk.tot{position:sticky;top:0;z-index:3;background:#1f1f22;box-shadow:0 14px 22px -16px #000}
.calc .blk .cs+.sum{margin-top:0}
.calc .tot .cs .n{position:relative}
.calc .tot .cs .n svg.lucide{width:13px;height:13px}
.cnt{position:absolute;right:-7px;top:-6px;min-width:16px;height:16px;padding:0 4px;border-radius:99px;background:#fff;color:#1f1f22;font:700 10px/16px var(--f);font-style:normal;text-align:center}
.cnt.new{animation:cnt .5s var(--ease)}
@keyframes cnt{40%{transform:scale(1.45)}}
.cart{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:10px}
.ci{display:flex;flex-direction:column;gap:1px;min-width:0;padding:6px 10px;border-radius:11px;background:var(--tile-2);line-height:1.25;transition:opacity .35s,transform .35s}
.ci b{font-size:12.5px;font-weight:600;color:var(--fg);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ci small{color:var(--mute);font-size:11.5px;white-space:nowrap}
.ci.new{animation:ci .55s var(--ease)}
@keyframes ci{0%{transform:scale(.7);opacity:0;box-shadow:0 0 0 0 rgba(143,161,255,.8)}60%{transform:scale(1.04);opacity:1}100%{transform:none;box-shadow:0 0 0 10px rgba(143,161,255,0)}}
.ci.out{opacity:0;transform:scale(.85);text-decoration:line-through}
.c-more{display:flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:11px;border:1px dashed rgba(143,161,255,.45);background:none;color:var(--accent-fg);font:600 12.5px/1.25 var(--f)}
.c-more[hidden],.calc.boxed .cart{display:none}
.sum>div.bump{animation:bump .7s ease-out}
@keyframes bump{0%{box-shadow:0 0 0 0 rgba(143,161,255,.75)}100%{box-shadow:0 0 0 12px rgba(143,161,255,0)}}
.calc .blk.fin{border:0;background:none;padding:0 2px}
.calc .blk.fin .note{margin-top:0}
/* что добавить — лесенкой: кадр по теме слева-справа, пунктир, выбор нажатием на кадр или подпись */
.tg-opt.ad{display:grid;grid-template-columns:46% 1fr;gap:12px;align-items:center;width:100%;padding:0;background:none;border:0;border-radius:0;text-align:left;color:inherit}
.tg-opt.ad.r{grid-template-columns:1fr 46%}
.tg-opt.ad.r .th{order:2}
.tg-opt.ad.r>.at{text-align:right;align-items:flex-end}
.tg-opt.ad.on{background:none;border:0;color:inherit}
.ad .th{position:relative;display:block;aspect-ratio:16/10;border-radius:14px;overflow:hidden;border:2px solid rgba(255,255,255,.1);background:var(--tile);transition:border-color .15s,box-shadow .15s}
.ad .th img{display:block;width:100%;height:100%;object-fit:cover;opacity:.72;transition:opacity .15s}
.ad .ck{position:absolute;top:6px;right:6px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:rgba(0,0,0,.55);border:1.5px solid rgba(255,255,255,.55);color:transparent}
.ad .ck svg.lucide{width:13px;height:13px}
.ad.on .th{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
.ad.on .th img{opacity:1}
.ad.on .ck{background:var(--accent);border-color:var(--accent);color:#fff}
.ad .at{display:flex;flex-direction:column;gap:2px;min-width:0}
.ad .at b{font:600 14px/1.25 var(--fd);color:var(--fg)}
.tg-opt.ad em{font-size:13px;font-weight:700;color:var(--accent-fg)}
.tg-opt.ad small{display:block;margin:0;font-size:12px;font-weight:500;line-height:1.3;color:var(--mute)}
.tg-opt.ad small.u{display:none;color:var(--accent-fg)}
.tg-opt.ad.on small.u{display:block}
.adl .cn-d{height:26px}
.tgs.shot{padding:0;background:#000}
.tgs.shot img{display:block;width:100%;height:auto}

/* видео на странице (Андрей 01.10: «можно вставлять видео») — плеер в слое или под шапкой */
.play{margin:14px 0 0;border-radius:20px;overflow:hidden;background:#000;box-shadow:inset 0 0 0 1px var(--line)}
.play video{display:block;width:100%;aspect-ratio:16/9;background:#000;object-fit:cover}
.play figcaption{display:flex;flex-direction:column;gap:2px;padding:10px 14px 12px;background:var(--tile)}
.play figcaption b{font-size:14.5px}
.play figcaption small{color:var(--mute);font-size:12.5px}
.hv{margin-top:12px}
.hv .play{margin:0;box-shadow:0 22px 44px -26px rgba(36,70,255,.8),inset 0 0 0 1px var(--line)}

/* цены строками: название и пояснение слева, цена справа */
.prl{background:var(--tile);border-radius:18px;overflow:hidden}
.prl-r{display:flex;align-items:center;gap:12px;padding:11px 14px}
.prl-r+.prl-r{border-top:1px solid var(--line)}
.prl-r>span{flex:1;display:flex;flex-direction:column;gap:2px}
.prl-r b{font-size:14.5px;font-weight:600}
.prl-r small{color:var(--mute);font-size:12.5px;line-height:1.35}
.prl-r em{font-style:normal;font-weight:700;font-size:14px;color:var(--fg);white-space:nowrap;text-align:right}
.prl-r.hi{background:var(--accent-soft)}
.prl-r.hi em{color:var(--accent-fg)}
.pv{position:relative}
.pv-go{position:absolute;left:50%;top:50%;width:64px;height:64px;margin:-32px 0 0 -32px;border-radius:50%;display:grid;place-items:center;color:#fff;
  background:rgba(36,70,255,.92);box-shadow:0 12px 32px -8px rgba(36,70,255,.95),0 0 0 6px rgba(36,70,255,.22)}
.pv-go svg.lucide{width:26px;height:26px;margin-left:3px;fill:#fff}
.play.on .pv-go{display:none}

/* ───────── кейсы: воронка, цифры, скрин переписки, столбики (02.10) ───────── */
/* воронка — подпись строкой сверху, под ней полоса по логарифму от первой ступени (как на слайде карусели) */
.fnl{display:grid;gap:14px;margin:12px 0 0}
.fnl-t{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-bottom:6px}
.fnl-t .tier{font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:var(--accent-fg);background:var(--accent-soft);border-radius:6px;padding:3px 7px}
.fnl-t small{flex:1;min-width:0;font-size:13.5px;color:var(--fg-2);line-height:1.3}
.fnl-t em{font-style:normal;font-size:12px;color:var(--mute);white-space:nowrap}
.fnl-b{min-width:92px;height:52px;display:flex;align-items:center;padding-left:14px;border-radius:14px;
  background:linear-gradient(100deg,var(--accent),#5f79ff)}
.fnl-r.last .fnl-b{background:linear-gradient(100deg,#4a5584,#8e9ad0)}
.fnl-b b{font:700 24px/1 var(--fd);letter-spacing:-.02em;color:#fff}

/* крупные цифры карточками */
.stt{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0 0}
.stt-c{background:var(--tile);border-radius:18px;padding:14px}
.stt-c:first-child:nth-last-child(odd){grid-column:1 / -1}
.stt-c.hi{background:linear-gradient(145deg,var(--accent),#3f5cff);box-shadow:0 16px 34px -20px rgba(36,70,255,.9)}
.stt-c b{display:block;font:700 30px/1 var(--fd);letter-spacing:-.03em}
.stt-c span{display:block;margin-top:8px;font-size:14px;font-weight:600;color:var(--fg)}
.stt-c small{display:block;margin-top:5px;font-size:12.5px;line-height:1.35;color:var(--mute)}
.stt-c.hi small{color:rgba(255,255,255,.72)}

/* скрин переписки */
.pic{margin:12px 0 0;padding:8px;background:var(--tile);border-radius:20px}
.pic img{display:block;width:100%;border-radius:13px}
.pic figcaption{padding:11px 7px 3px;font-size:13.5px;line-height:1.4;color:var(--mute)}
.pic figcaption b{color:var(--fg-2)}

/* столбики: рабочий день канала */
.bst{margin:12px 0 0;padding:14px;background:var(--tile);border-radius:20px}
.bst-h{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.bst-h b{font-size:14.5px}
.bst-h small{font-size:12.5px;color:var(--mute)}
.bst-g{display:flex;align-items:flex-end;gap:5px;height:124px;margin-top:12px}
.bst-g>div{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:4px}
.bst-g em{font-style:normal;font-size:11.5px;font-weight:700;color:var(--fg-2)}
.bst-g i{display:block;width:100%;border-radius:6px 6px 0 0;background:linear-gradient(180deg,#5f79ff,var(--accent))}
.bst-g span{font-size:10.5px;color:var(--mute)}
.bst-g .nil em{color:var(--mute)}
.bst-g .nil i{background:var(--tile-3)}
.bst .fn{margin:10px 0 0}
