/* ═══ Sales Hub · „ЧАТ · ХОРАТА И CLAUDE“ — концепция А (01.11.2026) ═══
   Обликът е от одобрения прототип koncepcii-hub-01-11/chat/A.html (езикът на Платното: хартиени карти с кант, печат, Б1 сегменти с палец),
   на ШРИФТА НА ЖИВИЯ Hub — същият като „Днес“, „Клиенти“ и Платното (едно семейство). Всичко е под html.hubNew .hch
   (+ .ch-mref в общото досие, листът на телефона и летящата карта). Лентите (лявата и горната) не се пипат. */
html.hubNew .hch{--ease:cubic-bezier(.2,.8,.2,1);--spring:cubic-bezier(.34,1.56,.64,1);--spring2:cubic-bezier(.3,1.32,.5,1);--paper:#efe9de;
--grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .22 0 0 0 0 .08 0 0 0 .34 -.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
--sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;--mono:ui-monospace,"SF Mono",Menlo,monospace;
font-family:var(--sans);font-feature-settings:"locl" 0;-webkit-font-smoothing:antialiased;position:relative;min-height:0;background:var(--bg)}
html.hubNew .hch [hidden]{display:none!important}
html.hubNew .hch :where(button){font:inherit;cursor:pointer;border:none;background:none;color:inherit;text-align:inherit}
html.hubNew .hch .eyebrow{font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--mut)}
html.hubNew .hch kbd{font-family:var(--mono);font-size:10px;font-weight:600;background:var(--line2);border:1px solid var(--line);border-bottom-width:2px;border-radius:5px;padding:0 4px;color:var(--mut);line-height:16px;display:inline-block}
html.hubNew .hch .hn-head .hn-hb kbd{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.2);color:var(--gold)}
html.hubNew .hch .hn-head .hn-hb svg{stroke:currentColor}
/* ─── бутони (както в Платното и „Днес“) ─── */
html.hubNew .hch .hn-btn{display:inline-flex;align-items:center;gap:6px;background:var(--navy);color:var(--gold);border:1px solid var(--navy);font-size:12.5px;font-weight:800;padding:8px 14px;border-radius:10px;cursor:pointer;transition:transform .15s var(--ease),background .18s,box-shadow .2s;white-space:nowrap}
html.hubNew .hch .hn-btn:hover{background:#243954;box-shadow:0 4px 14px rgba(28,44,68,.18)} html.hubNew .hch .hn-btn:active{transform:scale(.96)}
html.hubNew .hch .hn-btn.sec{background:#fff;color:var(--navy);border-color:var(--line)} html.hubNew .hch .hn-btn.sec:hover{background:var(--bg2);box-shadow:none}
html.hubNew .hch .hn-btn.sec.ok{color:var(--green);border-color:#bfe3cc;background:#f1faf4;cursor:default}
html.hubNew .hch .hn-btn.gold{background:var(--gold);color:var(--navy);border-color:var(--gold)} html.hubNew .hch .hn-btn.gold:hover{background:#f0c88e}
html.hubNew .hch .hn-btn.ghost{background:transparent;border-color:transparent;color:var(--mut)} html.hubNew .hch .hn-btn.ghost:hover{background:rgba(28,44,68,.06);color:var(--ink);box-shadow:none}
html.hubNew .hch .hn-btn.sm{font-size:11.5px;padding:5px 10px;border-radius:8px} html.hubNew .hch .hn-btn.xs{font-size:11px;padding:3px 8px;border-radius:7px;gap:4px}
html.hubNew .hch .hn-btn svg{stroke:currentColor}
html.hubNew .hch .hn-ibtn{width:30px;height:30px;border-radius:9px;border:1px solid var(--line);background:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:transform .15s var(--ease),background .15s}
html.hubNew .hch .hn-ibtn:hover{background:var(--bg2)} html.hubNew .hch .hn-ibtn:active{transform:scale(.92)} html.hubNew .hch .hn-ibtn svg{stroke:var(--navy)}
/* ─── Б1 сегмент: писта + плъзгащ се палец (navy, златен текст) — същият като в Платното ─── */
html.hubNew .hch .seg{position:relative;display:inline-flex;background:var(--line2);border-radius:12px;padding:3px;gap:2px;flex:none;max-width:100%}
html.hubNew .hch .seg .th{position:absolute;left:0;top:0;border-radius:9px;background:var(--navy);box-shadow:0 3px 10px rgba(28,44,68,.22);transition:transform .44s var(--spring2),width .44s var(--spring2),height .2s;z-index:0;pointer-events:none}
html.hubNew .hch .seg button{position:relative;z-index:1;color:var(--mut);font-weight:800;font-size:11.5px;line-height:1.2;padding:6px 12px;border-radius:9px;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:6px;transition:color .25s,background .2s}
html.hubNew .hch .seg button:hover:not(.on){color:var(--ink);background:rgba(28,44,68,.05)}
html.hubNew .hch .seg button.on{color:var(--gold)} html.hubNew .hch .seg button:active{transform:scale(.97)}
html.hubNew .hch .seg button i{font-style:normal;font-size:10px;opacity:.75;font-weight:700;font-family:var(--mono)}
html.hubNew .hch .seg.sm button{padding:4px 9px;font-size:11px}
html.hubNew .hch .seg.full{display:flex;width:100%} html.hubNew .hch .seg.full button{flex:1}
html.hubNew .hch .segx{max-width:100%;overflow-x:auto;scrollbar-width:none} html.hubNew .hch .segx::-webkit-scrollbar{display:none}
/* ─── хартиената карта (стикерът на Платното) + печат ─── */
html.hubNew .hch .pc{position:relative;--kc:var(--gold);background:linear-gradient(180deg,rgba(255,255,255,.85),rgba(255,255,255,0) 60%),linear-gradient(180deg,#fff,#faf6ee);border:1px solid #dde2ea;border-left:4px solid var(--kc);border-radius:12px;box-shadow:0 1px 1px rgba(70,50,20,.05),0 3px 8px -5px rgba(70,50,20,.24);transition:translate .2s var(--ease),box-shadow .25s var(--ease),opacity .25s}
html.hubNew .hch .pc:hover{box-shadow:0 1px 1px rgba(70,50,20,.05),0 12px 24px -12px rgba(60,40,15,.36),0 3px 8px -3px rgba(28,44,68,.12)}
html.hubNew .hch .stamp{position:absolute;right:12px;top:10px;rotate:-9deg;border:1.8px solid currentColor;color:#23804c;border-radius:5px;padding:0 6px;font-size:10px;font-weight:800;letter-spacing:.08em;background:rgba(255,255,255,.62);box-shadow:inset 0 0 0 1.4px rgba(255,255,255,.55),inset 0 0 0 2.4px rgba(35,128,76,.45);pointer-events:none;line-height:1.55;animation:chStamp .42s var(--spring) both;z-index:3;text-transform:uppercase}
@keyframes chStamp{0%{opacity:0;scale:1.5;rotate:-18deg}45%{opacity:1;scale:.94;rotate:-8deg}100%{opacity:1;scale:1;rotate:-9deg}}
html.hubNew .hch .thump{animation:chThump .34s .07s cubic-bezier(.3,1.3,.5,1)} @keyframes chThump{0%{scale:1}35%{scale:.97}100%{scale:1}}
html.hubNew .hch .flash{animation:chFlash 1.1s var(--ease)} @keyframes chFlash{0%{box-shadow:0 0 0 0 rgba(232,185,120,.95)}100%{box-shadow:0 0 0 14px rgba(232,185,120,0)}}
html.hubNew .hch .tg{display:inline-flex;align-items:center;gap:4px;background:var(--line2);color:var(--mut);font-size:10px;font-weight:800;padding:0 7px;border-radius:6px;white-space:nowrap;line-height:17px}
html.hubNew .hch .tg.green{background:#e2f5e8;color:#1f6b43} html.hubNew .hch .tg.test{background:repeating-linear-gradient(-45deg,#fff3d9 0 6px,#ffe9bd 6px 12px);color:#8a5b00;border:1px dashed #e0b25c}
html.hubNew .hch mark{background:rgba(232,185,120,.55);color:inherit;border-radius:3px;padding:0 1px} html.hubNew .hch mark.cur{background:var(--gold);box-shadow:0 0 0 2px var(--gold)}
html.hubNew .hch .avs{display:inline-flex;vertical-align:middle} html.hubNew .hch .avs .hn-ava{box-shadow:0 0 0 2px #fff} html.hubNew .hch .avs .hn-ava+.hn-ava{margin-left:-5px}
html.hubNew .hch .hn-ava.xs{width:17px;height:17px;font-size:7.5px}
html.hubNew .hch .ch-team{background:var(--navy)!important;color:var(--gold)!important}
html.hubNew .hch .ch-annava{background:#fff3d9!important;color:#8a5b00!important} html.hubNew .hch .ch-annava svg{stroke:#8a5b00}
/* ─── фирмен чип (@фирма → досието) ─── */
html.hubNew .hch .fchip{display:inline-flex;align-items:center;gap:5px;background:#fff;border:1px solid var(--line);border-left:3px solid var(--sc,#8fa3c4);border-radius:7px;padding:0 7px 0 5px;font-size:12px;font-weight:800;color:var(--navy);cursor:pointer;line-height:20px;vertical-align:baseline;transition:transform .15s var(--ease),box-shadow .2s;white-space:nowrap;max-width:100%;overflow:hidden;position:relative}
html.hubNew .hch .fchip .fn{min-width:0;overflow:hidden;text-overflow:ellipsis}
html.hubNew .hch .fchip:hover{box-shadow:0 3px 10px -4px rgba(28,44,68,.35);transform:translateY(-1px)}
html.hubNew .hch .fchip small{font-size:9.5px;font-weight:800;color:var(--sc,var(--mut));text-transform:uppercase;letter-spacing:.05em;flex:none}
html.hubNew .hch .mine .fchip{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.22);border-left-color:var(--sc);color:#fff}
html.hubNew .hch .mention{color:var(--goldd);font-weight:800} html.hubNew .hch .mine .mention{color:var(--gold)}
html.hubNew .hch .sdot{width:8px;height:8px;border-radius:99px;background:var(--sc,#8fa3c4);display:inline-block;flex:none}

/* ═══ оформлението: Разговори | Стаята | От Claude ═══ */
html.hubNew .hch .ch-tools{display:none}
html.hubNew .hch .ch-wrap{flex:1;min-height:0;position:relative;overflow:hidden}
html.hubNew .hch .ch-grid{display:grid;grid-template-columns:248px minmax(0,1fr) 372px;height:100%}
/* разговорите */
html.hubNew .hch .ch-convs{background:var(--bg2);border-right:1px solid var(--line);padding:12px 8px;display:flex;flex-direction:column;gap:2px;min-height:0;overflow-y:auto;overflow-x:hidden}
html.hubNew .hch .ch-convs .eyebrow{padding:10px 10px 6px} html.hubNew .hch .ch-convs .eyebrow:first-child{padding-top:2px}
html.hubNew .hch .ch-conv{display:flex;gap:9px;align-items:center;padding:8px 9px;border-radius:12px;cursor:pointer;transition:background .18s var(--ease),transform .15s var(--ease);width:100%;min-height:52px}
html.hubNew .hch .ch-conv:hover{background:#eef2f7} html.hubNew .hch .ch-conv:active{transform:scale(.985)}
html.hubNew .hch .ch-conv.on{background:var(--navy)}
html.hubNew .hch .ch-conv .cv{flex:1;min-width:0;display:flex;flex-direction:column}
html.hubNew .hch .ch-conv .nm{font-size:12.5px;font-weight:800;color:var(--ink);display:flex;align-items:center;gap:6px}
html.hubNew .hch .ch-conv .pv{font-size:11px;color:var(--mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.hubNew .hch .ch-conv .tm{font-size:10px;color:var(--mut);flex-shrink:0;font-family:var(--mono);align-self:flex-start;margin-top:3px}
html.hubNew .hch .ch-conv.on .nm{color:#fff} html.hubNew .hch .ch-conv.on .pv,html.hubNew .hch .ch-conv.on .tm{color:#a9bad6}
html.hubNew .hch .ch-conv .un{background:var(--gold);color:var(--navy);font-size:10px;font-weight:800;padding:0 6px;border-radius:99px;line-height:16px}
html.hubNew .hch .ch-fl{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:0 8px}
html.hubNew .hch .ch-note{font-size:11px;color:var(--mut);padding:10px;margin-top:auto;border-top:1px dashed var(--line);line-height:1.45}
/* стаята */
html.hubNew .hch .ch-room{display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--bg);position:relative}
html.hubNew .hch .ch-roomhd{display:flex;align-items:center;gap:10px;padding:9px 16px;background:#fff;border-bottom:1px solid var(--line);flex-shrink:0;min-width:0}
html.hubNew .hch .ch-roomhd .t{flex:1;min-width:0} html.hubNew .hch .ch-roomhd b{font-size:13px;color:var(--ink)}
html.hubNew .hch .ch-roomhd .m{font-size:10.5px;color:var(--mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.hubNew .hch .ch-roomhd .hint{margin-left:auto;font-size:11px;color:var(--mut);display:flex;align-items:center;gap:6px;white-space:nowrap} html.hubNew .hch .ch-roomhd .hint svg{stroke:var(--goldd)}
html.hubNew .hch .ch-pinbar{display:flex;align-items:center;gap:10px;padding:8px 16px;background:linear-gradient(#fffaf0,#fff6e6);border-bottom:1px solid #f0ddb4;font-size:12.5px;flex-shrink:0;min-width:0}
html.hubNew .hch .ch-pinbar svg{stroke:var(--goldd);flex:none}
html.hubNew .hch .ch-pinbar .tx{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer} html.hubNew .hch .ch-pinbar .tx b{color:var(--goldd)}
html.hubNew .hch .ch-pinbar .n{font-size:10.5px;color:var(--mut);font-family:var(--mono);flex:none}
html.hubNew .hch .ch-msgs{flex:1;min-height:0;padding:14px 20px 12px;display:flex;flex-direction:column;gap:5px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;outline:none}
html.hubNew .hch .ch-day{align-self:center;font-size:10px;font-weight:800;color:var(--mut);background:var(--line2);border-radius:99px;padding:2px 10px;margin:10px 0 4px;text-transform:uppercase;letter-spacing:.08em}
html.hubNew .hch .ch-older{align-self:center;font-size:11.5px;font-weight:800;color:var(--navy);background:#fff;border:1px solid var(--line);border-radius:99px;padding:4px 12px;display:inline-flex;gap:6px;align-items:center}
html.hubNew .hch .ch-sys{align-self:center;font-size:11.5px;color:var(--mut);background:#fff;border:1px dashed #cdd5e0;border-radius:10px;padding:5px 11px;margin:4px 0;display:inline-flex;align-items:center;gap:7px;cursor:pointer;max-width:92%;text-align:center;transition:border-color .2s,color .2s}
html.hubNew .hch .ch-sys:hover{border-color:var(--gold);color:var(--ink)} html.hubNew .hch .ch-sys svg{stroke:var(--goldd);flex:none} html.hubNew .hch .ch-sys svg:last-child{transform:rotate(180deg)}
html.hubNew .hch .ch-empty{font-size:12.5px;color:var(--mut);text-align:center;padding:28px 10px} html.hubNew .hch .ch-empty.sm{padding:8px}
html.hubNew .hch .m{display:flex;gap:8px;align-items:flex-end;max-width:76%;position:relative;align-self:flex-start}
html.hubNew .hch .m.nw{animation:chIn .32s var(--spring2) both}
@keyframes chIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
html.hubNew .hch .m.mine{align-self:flex-end;flex-direction:row-reverse}
html.hubNew .hch .m.grp>.hn-ava{visibility:hidden}
html.hubNew .hch .m.ann{max-width:86%}
html.hubNew .hch .m .bw{min-width:0;display:flex;flex-direction:column} html.hubNew .hch .m.mine .bw{align-items:flex-end}
html.hubNew .hch .bub{background:#fff;border:1px solid var(--line);border-radius:14px 14px 14px 4px;padding:8px 12px;font-size:13.5px;line-height:1.5;color:var(--ink);word-break:break-word;overflow-wrap:anywhere;box-shadow:0 1px 1px rgba(70,50,20,.04),0 3px 8px -6px rgba(70,50,20,.22);position:relative;transition:box-shadow .2s}
html.hubNew .hch .mine .bub{background:var(--navy);border-color:var(--navy);color:#fff;border-radius:14px 14px 4px 14px}
html.hubNew .hch .mine .bub a{color:var(--gold)}
html.hubNew .hch .m.ann .bub{background:linear-gradient(#fffaf0,#fff3dc);border-color:#f0ddb4;color:var(--ink)}
html.hubNew .hch .m.del .bub{background:transparent;color:var(--mut);box-shadow:none;border-style:dashed}
html.hubNew .hch .m.editing .bub{box-shadow:0 0 0 2px var(--gold)}
html.hubNew .hch .bub img{display:block;max-width:min(320px,100%);min-width:44px;min-height:44px;object-fit:contain;background:var(--line2);border-radius:10px;margin:4px 0;cursor:zoom-in}
html.hubNew .hch .m .f{font-size:11px;font-weight:800;color:var(--goldd);margin-bottom:1px;display:flex;align-items:center;gap:5px} html.hubNew .hch .m .f svg{stroke:currentColor}
html.hubNew .hch .mine .f{color:var(--gold)}
html.hubNew .hch .m .q{display:block;width:100%;border-left:2px solid var(--gold);padding:2px 8px;font-size:11.5px;color:var(--mut);margin-bottom:5px;background:rgba(0,0,0,.03);border-radius:4px;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:420px}
html.hubNew .hch .mine .q{color:#a9bad6;background:rgba(255,255,255,.08)}
html.hubNew .hch .meta{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--mut);margin-top:3px;min-height:16px;font-family:var(--mono);flex-wrap:wrap}
html.hubNew .hch .meta .edited{font-family:var(--sans)}
html.hubNew .hch .seen{display:inline-flex;align-items:center;gap:4px}
html.hubNew .hch .rxs{display:inline-flex;gap:4px;flex-wrap:wrap}
html.hubNew .hch .rx{display:inline-flex;align-items:center;gap:3px;background:#fff;border:1px solid var(--line);border-radius:99px;padding:0 7px;font-size:11px;line-height:18px;cursor:pointer;font-family:var(--sans);font-weight:700;transition:transform .15s var(--ease)}
html.hubNew .hch .rx.my{border-color:var(--gold);background:#fff8e8} html.hubNew .hch .rx:active{transform:scale(.92)}
html.hubNew .hch .acts{position:absolute;top:-18px;right:6px;display:flex;align-items:center;gap:1px;background:#fff;border:1px solid var(--line);border-radius:11px;padding:2px;box-shadow:0 8px 18px -8px rgba(16,27,45,.35);opacity:0;transform:translateY(5px) scale(.94);transition:opacity .15s,transform .3s var(--spring);pointer-events:none;z-index:4}
html.hubNew .hch .m:hover .acts{opacity:1;transform:none;pointer-events:auto}
html.hubNew .hch .mine .acts{right:auto;left:6px}
html.hubNew .hch .acts button{height:26px;min-width:26px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;font-size:14px;color:var(--navy);padding:0 4px;transition:background .15s,transform .2s var(--spring)}
html.hubNew .hch .acts button:hover{background:var(--line2);transform:scale(1.12)} html.hubNew .hch .acts button svg{stroke:var(--navy)}
html.hubNew .hch .acts .sep{width:1px;height:16px;background:var(--line);margin:0 2px}
html.hubNew .hch .acts .pl{font-size:11px;font-weight:800;gap:4px;padding:0 7px}
html.hubNew .hch .ackrow{display:flex;align-items:center;gap:8px;margin-top:8px;flex-wrap:wrap}
html.hubNew .hch .ackrow .ackn{font-size:10.5px;color:var(--mut)}
/* картата в Платното под съобщението */
html.hubNew .hch .ch-plc{display:flex;align-items:center;gap:7px;margin-top:6px;padding:5px 9px 5px 7px;font-size:11.5px;cursor:pointer;max-width:360px;color:var(--ink);--kc:var(--blue);text-align:left}
html.hubNew .hch .ch-plc .no{font-family:var(--mono);font-size:10.5px;color:var(--mut);flex:none}
html.hubNew .hch .ch-plc .tx{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}
html.hubNew .hch .ch-plc .ring{width:14px;height:14px;border-radius:99px;border:1.6px solid var(--kc);flex:none}
html.hubNew .hch .ch-plc.done .ring{background:var(--kc);box-shadow:inset 0 0 0 2px #fff} html.hubNew .hch .ch-plc.done .tx{text-decoration:line-through;color:var(--mut)}
html.hubNew .hch .ch-plc.land{animation:chLand .5s var(--spring)} @keyframes chLand{0%{opacity:0;transform:translateY(-6px) scale(.94)}100%{opacity:1;transform:none}}
html.hubNew .ch-flyer{position:fixed;z-index:995;pointer-events:none;background:#fff;border:1px solid #dde2ea;border-left:4px solid var(--blue,#4f8ef7);border-radius:9px;padding:4px 8px;font-size:11px;font-weight:700;box-shadow:0 12px 26px -8px rgba(16,27,45,.5);white-space:nowrap;color:#1a2233;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
/* пише…, лентата над полето, полето */
html.hubNew .hch .ch-typing{font-size:11px;color:var(--mut);padding:0 20px 4px;height:18px;flex-shrink:0;white-space:nowrap;overflow:hidden}
html.hubNew .hch .ch-typing i{display:inline-block;width:5px;height:5px;border-radius:9px;background:var(--mut);margin-right:2px;animation:chBlink 1s infinite}
html.hubNew .hch .ch-typing i:nth-child(2){animation-delay:.15s} html.hubNew .hch .ch-typing i:nth-child(3){animation-delay:.3s} @keyframes chBlink{50%{opacity:.25}}
html.hubNew .hch .ch-bar{display:flex;align-items:center;gap:8px;padding:6px 16px;background:#fff;border-top:1px solid var(--line);font-size:12px;color:var(--mut);flex-shrink:0;min-width:0}
html.hubNew .hch .ch-bar>span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis} html.hubNew .hch .ch-bar svg{stroke:var(--goldd);flex:none}
html.hubNew .hch .ch-planf{flex:1;display:flex;flex-direction:column;gap:8px;padding:6px 0;min-width:0}
html.hubNew .hch .ch-planf .r0{display:flex;align-items:center;gap:8px;color:var(--ink)} html.hubNew .hch .ch-planf .r0 .n{font-size:11px;color:var(--mut);flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.hubNew .hch .ch-planf .r1{display:flex;align-items:center;gap:8px;min-width:0} html.hubNew .hch .ch-planf .r1 .l{font-size:10.5px;font-weight:800;color:var(--mut);width:84px;flex:none;text-transform:uppercase;letter-spacing:.06em}
html.hubNew .hch .ch-planf .r1 .seg{overflow-x:auto;scrollbar-width:none} html.hubNew .hch .ch-planf .r1 .seg::-webkit-scrollbar{display:none}
html.hubNew .hch .ch-planf .r2{display:flex;justify-content:flex-end;gap:8px}
html.hubNew .hch .ch-inp{width:100%;border:1px solid var(--line);border-radius:10px;padding:7px 10px;font-size:13px;outline:none;background:#fff;color:var(--ink);font-family:inherit}
html.hubNew .hch .ch-inp:focus{border-color:var(--navy);box-shadow:0 0 0 3px rgba(232,185,120,.32)}
html.hubNew .hch .ch-comp{padding:8px 14px 12px;background:#fff;border-top:1px solid var(--line);position:relative;flex-shrink:0}
html.hubNew .hch .ch-cbox{display:flex;align-items:flex-end;gap:8px;border:1px solid var(--line);border-radius:14px;padding:5px 5px 5px 6px;transition:border-color .15s,box-shadow .15s;background:#fff}
html.hubNew .hch .ch-cbox:focus-within{border-color:var(--navy);box-shadow:0 0 0 3px rgba(232,185,120,.32)}
html.hubNew .hch .ch-cbox textarea{flex:1;border:none;outline:none;resize:none;font-size:13.5px;line-height:1.45;padding:6px 0;height:34px;max-height:150px;background:transparent;min-width:0;font-family:inherit;color:var(--ink)}
html.hubNew .hch .ch-ib{width:34px;height:34px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex:none} html.hubNew .hch .ch-ib:hover{background:var(--line2)} html.hubNew .hch .ch-ib svg{stroke:var(--mut)}
html.hubNew .hch .ch-send{width:34px;height:34px;border-radius:10px;background:var(--navy);display:inline-flex;align-items:center;justify-content:center;color:var(--gold);flex:none;transition:transform .2s var(--spring),background .15s}
html.hubNew .hch .ch-send:hover{background:var(--navy2)} html.hubNew .hch .ch-send:active{transform:scale(.9)} html.hubNew .hch .ch-send svg{stroke:var(--gold)}
html.hubNew .hch .ch-hint{font-size:10.5px;color:var(--mut);margin-top:6px;display:flex;gap:12px;flex-wrap:wrap}
html.hubNew .hch .ch-imgp{font-size:11.5px;color:var(--mut)} html.hubNew .hch .ch-imgp:not(:empty){margin-top:6px;display:flex;gap:8px;align-items:center}
html.hubNew .hch .ch-ro{font-size:12.5px;color:var(--mut);display:flex;gap:8px;align-items:center;padding:6px 2px} html.hubNew .hch .ch-ro svg{stroke:#8a5b00}
html.hubNew .hch .ch-promise{display:flex;align-items:center;gap:8px;margin-top:8px;padding:5px 6px 5px 9px;font-size:12px;--kc:var(--blue);animation:chLand .4s var(--spring);flex-wrap:wrap}
html.hubNew .hch .ch-promise>svg{stroke:var(--blue);flex:none}
html.hubNew .hch .ch-promise .tx{flex:1 1 220px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis} html.hubNew .hch .ch-promise b{color:var(--navy)}
html.hubNew .hch .ch-mbox{position:absolute;left:14px;bottom:calc(100% - 4px);width:min(380px,calc(100% - 28px));background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 18px 40px -14px rgba(16,27,45,.4);padding:4px;z-index:9;animation:chDrop .25s var(--spring2);max-height:320px;overflow-y:auto}
@keyframes chDrop{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
html.hubNew .hch .ch-mbox .eyebrow{padding:6px 8px 2px;font-size:9.5px;display:block}
html.hubNew .hch .ch-mbox .it{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:8px;cursor:pointer;font-size:12.5px;font-weight:700;width:100%;color:var(--ink);min-width:0}
html.hubNew .hch .ch-mbox .it .nm{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.hubNew .hch .ch-mbox .it.on,html.hubNew .hch .ch-mbox .it:hover{background:var(--line2)}
html.hubNew .hch .ch-mbox .it small{margin-left:auto;font-size:10px;color:var(--mut);font-weight:700;flex:none}
html.hubNew .hch .ch-drop{position:absolute;inset:8px;border-radius:16px;border:2.5px dashed var(--gold);background:rgba(255,248,232,.95);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;color:var(--navy);font-size:14px;z-index:12;opacity:0;pointer-events:none;transition:opacity .2s}
html.hubNew .hch .ch-drop small{font-weight:600;color:var(--mut);font-size:12px}
html.hubNew .hch .ch-room.dragging .ch-drop{opacity:1} html.hubNew .hch .ch-room.drop-on .ch-drop{background:rgba(232,185,120,.32)}
/* ⌘F */
html.hubNew .hch .ch-srch{display:flex;align-items:center;gap:8px;padding:8px 16px;background:#fff;border-bottom:1px solid var(--line);flex-shrink:0;animation:chDrop .35s var(--spring2);min-width:0;flex-wrap:wrap;position:relative;z-index:6}
html.hubNew .hch .ch-srch .in{position:relative;flex:1;min-width:150px}
html.hubNew .hch .ch-srch input{width:100%;border:1px solid var(--line);border-radius:10px;padding:7px 10px 7px 30px;font-size:13px;outline:none;background:#fff;color:var(--ink);font-family:inherit}
html.hubNew .hch .ch-srch input:focus{border-color:var(--navy);box-shadow:0 0 0 3px rgba(232,185,120,.32)}
html.hubNew .hch .ch-srch .in svg{position:absolute;left:10px;top:50%;transform:translateY(-50%);stroke:var(--mut)}
html.hubNew .hch .ch-srch .cnt{font-family:var(--mono);font-size:11px;color:var(--mut);min-width:34px;text-align:center}
html.hubNew .hch .ch-hits{position:absolute;left:16px;right:16px;top:100%;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 18px 40px -16px rgba(16,27,45,.4);max-height:320px;overflow:auto;z-index:8;padding:4px;animation:chDrop .3s var(--spring2)}
html.hubNew .hch .ch-hits .hit{display:flex;gap:9px;align-items:flex-start;padding:7px 9px;border-radius:9px;cursor:pointer;font-size:12.5px;width:100%;color:var(--ink)}
html.hubNew .hch .ch-hits .hit:hover{background:var(--bg2)} html.hubNew .hch .ch-hits .hit.none{cursor:default;color:var(--mut)}
html.hubNew .hch .ch-hits .w{font-size:10px;font-weight:800;color:var(--mut);text-transform:uppercase;letter-spacing:.06em;white-space:nowrap;min-width:70px;padding-top:2px}
html.hubNew .hch .ch-hits .x{min-width:0;overflow:hidden;text-overflow:ellipsis}
/* „От Claude“ — хартия като Платното */
html.hubNew .hch .ch-lane{background:var(--paper);background-image:var(--grain);border-left:1px solid #e3d9c6;display:flex;flex-direction:column;min-height:0;position:relative;overflow:hidden}
html.hubNew .hch .ch-lanehd{padding:12px 14px 10px;display:flex;flex-direction:column;gap:9px;flex-shrink:0;border-bottom:1px solid rgba(160,130,80,.18)}
html.hubNew .hch .ch-lanehd .t1{display:flex;align-items:center;gap:9px;min-width:0} html.hubNew .hch .ch-lanehd .t1 b{font-size:14px;font-weight:800;color:var(--navy);white-space:nowrap;flex:none}
html.hubNew .hch .ch-lanehd .t1 .s{font-size:11px;color:var(--mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
html.hubNew .hch .ch-lanehd .seg{background:rgba(255,255,255,.6)}
html.hubNew .hch .ch-lanebody{flex:1;min-height:0;padding:12px 14px 18px;display:flex;flex-direction:column;gap:12px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
html.hubNew .hch .cc{padding:12px 13px 11px;flex-shrink:0;overflow:hidden}
html.hubNew .hch .cc[draggable=true]{cursor:grab} html.hubNew .hch .cc[draggable=true]:active{cursor:grabbing}
html.hubNew .hch .cc .h{display:flex;align-items:center;gap:7px;margin-bottom:6px;min-width:0}
html.hubNew .hch .cc .h .eyebrow{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--goldd)}
html.hubNew .hch .cc .h .tm{font-family:var(--mono);font-size:10px;color:var(--mut);flex:none}
html.hubNew .hch .cc .grip{color:#b9a98c;display:inline-flex} html.hubNew .hch .cc .grip svg{stroke:#b9a98c}
html.hubNew .hch .cc h3{font-size:14px;font-weight:800;color:var(--navy);margin:0 0 6px;line-height:1.3}
html.hubNew .hch .cc .tx{font-size:12.5px;color:var(--ink);margin:0;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
html.hubNew .hch .cc .lines{margin:0;padding:0;list-style:none;font-size:12px;color:var(--ink);display:flex;flex-direction:column;gap:2px}
html.hubNew .hch .cc .ft{display:flex;align-items:center;gap:6px;margin-top:10px;flex-wrap:wrap}
html.hubNew .hch .cc .ft .sp{flex:1}
html.hubNew .hch .cc .ref{font-size:10.5px;color:var(--mut);display:inline-flex;gap:5px;align-items:center} html.hubNew .hch .cc .ref svg{stroke:var(--mut)}
html.hubNew .hch .cc .chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}
html.hubNew .hch .cc.gone{transition:height .38s var(--ease),opacity .3s,transform .38s var(--ease),padding .38s var(--ease),margin .38s;opacity:0;transform:translateX(34px) rotate(2deg);padding-top:0!important;padding-bottom:0!important;margin-bottom:-12px}
html.hubNew .hch .tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:4px}
html.hubNew .hch .tiles.four{grid-template-columns:repeat(4,minmax(0,1fr))}
html.hubNew .hch .tile{background:#fff;border:1px solid #e6dccb;border-radius:10px;padding:7px 8px 6px;min-width:0;position:relative;display:flex;flex-direction:column;align-items:flex-start}
html.hubNew .hch button.tile{cursor:pointer;transition:transform .2s var(--spring),box-shadow .2s} html.hubNew .hch button.tile:hover{transform:translateY(-2px);box-shadow:0 8px 16px -10px rgba(60,40,15,.4)}
html.hubNew .hch .tile.on{border-color:var(--navy);box-shadow:0 0 0 2px rgba(28,44,68,.12)}
html.hubNew .hch .tile .v{font-size:24px;font-weight:700;line-height:1.05;color:var(--navy);font-variant-numeric:tabular-nums;letter-spacing:-.02em}
html.hubNew .hch .tile .k{font-size:10.5px;font-weight:800;color:var(--mut);line-height:1.25;margin-top:2px}
html.hubNew .hch .tile .d{font-family:var(--mono);font-size:9.5px;color:var(--green);font-weight:600} html.hubNew .hch .tile .d.z{color:var(--mut)} html.hubNew .hch .tile .d.red{color:var(--red)}
html.hubNew .hch .tdet{margin-top:8px;font-size:12px;color:var(--ink);background:#fff;border:1px dashed #e0d3bd;border-radius:10px;padding:8px 10px;animation:chDrop .3s var(--spring2)}
html.hubNew .hch .tdet .chips{margin-top:0}
html.hubNew .hch .brow{display:flex;align-items:center;gap:8px;padding:5px 0;border-top:1px dashed #e6dccb;font-size:12.5px;font-weight:700;min-width:0}
html.hubNew .hch .brow:first-of-type{border-top:none}
html.hubNew .hch .brow .n{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.hubNew .hch .brow .st{font-size:10.5px;font-weight:800;color:var(--green);white-space:nowrap}
html.hubNew .hch .ch-arch{display:flex;flex-direction:column;gap:8px;padding-top:2px}
html.hubNew .hch .ch-arch>button{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;font-weight:800;font-size:12px;color:var(--navy);padding:4px 2px}
html.hubNew .hch .ch-arch>button svg{transition:transform .3s var(--spring);transform:rotate(180deg);stroke:var(--navy)} html.hubNew .hch .ch-arch.open>button svg{transform:none}
html.hubNew .hch .ch-old{display:flex;align-items:center;gap:8px;padding:6px 8px 6px 10px;font-size:12px;opacity:.85;--kc:#c9d1dc} html.hubNew .hch .ch-old .tx{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--mut)}
/* общото досие (в чекмеджето / листа): „В разговорите“ */
html.hubNew .dos .ch-mref{display:block;width:100%;text-align:left;font:inherit;font-size:12px;padding:6px 8px;border-radius:9px;background:#fff;border:1px solid #e6dccb;cursor:pointer;margin-top:5px;color:#1a2233;line-height:1.45}
html.hubNew .dos .ch-mref:hover{border-color:#e8b978}
html.hubNew .hn-modal .ch-mref{display:block;width:100%;text-align:left;font:inherit;font-size:12.5px;padding:8px 10px;border-radius:10px;background:#fff;border:1px solid #d9dee6;cursor:pointer;margin-bottom:6px;color:#1a2233}
html.hubNew .hn-modal .ch-mref:hover{border-color:#e8b978}
/* листът на телефона (действия по съобщение) */
html.hubNew .hd-sheet .ch-sheet{display:flex;flex-direction:column;gap:12px;padding:4px 0 6px}
html.hubNew .hd-sheet .ch-sh-t{font-size:13px;color:#5c6a7d;line-height:1.45;max-height:60px;overflow:hidden}
html.hubNew .hd-sheet .ch-sh-rx{display:flex;justify-content:space-between;gap:6px}
html.hubNew .hd-sheet .ch-sh-rx button{flex:1;min-height:48px;font-size:22px;border-radius:12px;background:#eef2f7;border:none;cursor:pointer}
html.hubNew .hd-sheet .ch-sh-a{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
html.hubNew .hd-sheet .ch-sh-a .hn-btn{min-height:46px;justify-content:center}
html.hubNew .hd-sheet .ch-sh-a .hn-btn.warn{color:#c0392b;border-color:#f5c2c2;background:#fff}

@media(max-width:1180px) and (min-width:761px){
  html.hubNew .hch .ch-grid{grid-template-columns:212px minmax(0,1fr) 320px}
  html.hubNew .hch .ch-roomhd .hint{display:none}
  html.hubNew .hch .tiles.four{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* ═══ телефон: Б1 „Разговори | Стаята | От Claude“, трите панела се плъзгат; всяка цел ≥ 44 px; без хоризонтален скрол ═══ */
@media(max-width:760px){
  html.hubNew .hn-view.hch{padding-bottom:calc(60px + env(safe-area-inset-bottom));box-sizing:border-box}
  html.hubNew .hch .hn-head .lbl{display:none}
  html.hubNew .hch .hn-head .hn-hb{min-width:44px;min-height:44px;justify-content:center}
  html.hubNew .hch .ch-tools{display:block;padding:6px 10px;background:#fff;border-bottom:1px solid var(--line);flex-shrink:0}
  html.hubNew .hch .ch-tools .seg{padding:2px}
  html.hubNew .hch .ch-grid{display:flex;width:300%;height:100%;transition:transform .5s var(--spring2);will-change:transform}
  html.hubNew .hch .ch-grid>*{width:33.3334%;flex:none;min-width:0}
  html.hubNew .hch .ch-grid[data-pane="0"]{transform:translateX(0)} html.hubNew .hch .ch-grid[data-pane="1"]{transform:translateX(-33.3334%)} html.hubNew .hch .ch-grid[data-pane="2"]{transform:translateX(-66.6667%)}
  html.hubNew .hch .ch-convs{border-right:none;padding:10px 10px 16px}
  html.hubNew .hch .ch-conv{min-height:56px;padding:10px}
  html.hubNew .hch .ch-msgs{padding:12px 12px 8px}
  html.hubNew .hch .m{max-width:88%} html.hubNew .hch .m.ann{max-width:96%}
  html.hubNew .hch .rx{pointer-events:none}
  html.hubNew .hch .ch-roomhd{padding:8px 12px} html.hubNew .hch .ch-roomhd .hint{display:none}
  html.hubNew .hch .ch-pinbar,html.hubNew .hch .ch-srch{padding:8px 12px}
  html.hubNew .hch .ch-pinbar .tx{min-height:44px;display:flex;align-items:center}
  html.hubNew .hch .ch-comp{padding:8px 10px 10px}
  html.hubNew .hch .ch-hint{display:none}
  html.hubNew .hch .ch-ib,html.hubNew .hch .ch-send{width:44px;height:44px}
  html.hubNew .hch .ch-cbox textarea{height:44px;font-size:16px;padding:11px 0}
  html.hubNew .hch .hn-ibtn{width:44px;height:44px}
  html.hubNew .hch .hn-btn.xs,html.hubNew .hch .hn-btn.sm{min-height:44px;padding-left:12px;padding-right:12px}
  html.hubNew .hch .seg.sm button,html.hubNew .hch .seg button{min-height:44px;min-width:44px}
  html.hubNew .hch .ch-sys,html.hubNew .hch .ch-older{min-height:44px}
  html.hubNew .hch .m .q{min-height:44px;display:flex;align-items:center;gap:5px}
  html.hubNew .hch .ch-plc{min-height:44px}
  html.hubNew .hch .fchip{line-height:22px}
  html.hubNew .hch .fchip::after{content:"";position:absolute;left:-2px;right:-2px;top:-11px;bottom:-11px}
  html.hubNew .hch .fchip{overflow:visible}
  html.hubNew .hch :is(.chips,.ch-fl) .fchip{min-height:44px;padding:0 10px 0 8px} html.hubNew .hch :is(.chips,.ch-fl) .fchip::after{display:none}   /* в списъците чиповете са един под друг — цяла цел, без застъпване */
  html.hubNew .hch .ch-mbox .it{min-height:44px}
  html.hubNew .hch .ch-hits .hit{min-height:44px}
  html.hubNew .hch .ch-arch>button{min-height:44px}
  html.hubNew .hch .ch-lane{border-left:none}
  html.hubNew .hch .ch-lanebody{padding:10px 10px 16px} html.hubNew .hch .ch-lanehd{padding:10px 10px 8px}
  html.hubNew .hch .tiles.four{grid-template-columns:repeat(2,minmax(0,1fr))}
  html.hubNew .hch button.tile{min-height:44px}
  html.hubNew .hch .ch-hits{left:12px;right:12px}
  html.hubNew .hch .ch-planf .r1{flex-direction:column;align-items:stretch;gap:4px} html.hubNew .hch .ch-planf .r1 .l{width:auto}
  html.hubNew .hch .ch-promise .seg{order:3}
  html.hubNew .hch .ch-inp,html.hubNew .hch .ch-srch input{font-size:16px;min-height:44px}
}
@media(prefers-reduced-motion:reduce){html.hubNew .hch *{animation:none!important;transition:none!important}}
