.v2-nav-live-dot{width:7px;height:7px;border-radius:50%;background:#69dd9b;box-shadow:0 0 0 4px rgba(105,221,155,.12);margin-left:auto}
.v2-chat-workspace{height:calc(100dvh - 130px);min-height:560px;display:grid;grid-template-columns:minmax(250px,.75fr) minmax(470px,1.6fr) minmax(270px,.82fr);overflow:hidden;border:1px solid var(--line);border-radius:24px;background:var(--surface);box-shadow:0 24px 70px rgba(2,10,24,.12)}
.v2-chat-inbox,.v2-chat-context{min-width:0;min-height:0;height:100%;overflow:hidden;background:color-mix(in srgb,var(--surface2) 64%,var(--surface));}
.v2-chat-inbox{display:flex;flex-direction:column;border-right:1px solid var(--line)}
.v2-chat-inbox-head{display:flex;align-items:flex-start;justify-content:space-between;padding:24px 22px 14px}
.v2-chat-inbox-head h1{font-size:27px;line-height:1.1;margin:4px 0 0;color:var(--text);letter-spacing:-.04em}
.v2-chat-kicker{display:block;font-size:10px;font-weight:800;letter-spacing:.13em;color:var(--muted)}
.v2-demo-badge{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid rgba(59,130,246,.18);border-radius:999px;background:rgba(59,130,246,.09);color:#60a5fa;font-size:11px;font-weight:800}
.v2-demo-badge i{width:6px;height:6px;border-radius:50%;background:#60a5fa;box-shadow:0 0 0 4px rgba(96,165,250,.12)}
.v2-demo-badge.live{border-color:rgba(86,228,159,.22);background:rgba(86,228,159,.1);color:#2fba72}.v2-demo-badge.live i{background:#56e49f;box-shadow:0 0 0 4px rgba(86,228,159,.12)}
.v2-chat-search{height:42px;margin:0 18px 12px;padding:0 12px;display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.v2-chat-search svg{width:17px;color:var(--muted)}
.v2-chat-search input{width:100%;border:0;outline:0;background:transparent;color:var(--text);font:inherit;font-size:13px}
.v2-chat-search input::placeholder{color:var(--muted)}
.v2-chat-filters{display:flex;gap:6px;padding:0 18px 14px}
.v2-chat-filters button{border:0;border-radius:9px;padding:7px 10px;background:transparent;color:var(--muted);font:inherit;font-size:11px;font-weight:800;cursor:pointer}
.v2-chat-filters button:hover,.v2-chat-filters button.active{background:var(--surface);color:var(--text);box-shadow:0 4px 14px rgba(2,10,24,.07)}
.v2-chat-thread-list{flex:1;min-height:0;overflow:auto;padding:0 9px}
.v2-chat-thread-list,.v2-chat-context-scroll,.v2-chat-messages{scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--muted) 45%,transparent) transparent}
.v2-chat-thread-list::-webkit-scrollbar,.v2-chat-context-scroll::-webkit-scrollbar,.v2-chat-messages::-webkit-scrollbar{width:5px}
.v2-chat-thread-list::-webkit-scrollbar-thumb,.v2-chat-context-scroll::-webkit-scrollbar-thumb,.v2-chat-messages::-webkit-scrollbar-thumb{border-radius:99px;background:color-mix(in srgb,var(--muted) 38%,transparent)}
.v2-chat-thread{position:relative;width:100%;display:grid;grid-template-columns:40px minmax(0,1fr);gap:11px;text-align:left;padding:13px 11px;margin-bottom:4px;border:1px solid transparent;border-radius:15px;background:transparent;color:var(--text);font:inherit;cursor:pointer;transition:.18s ease}
.v2-chat-thread:hover{background:color-mix(in srgb,var(--surface) 72%,transparent)}
.v2-chat-thread.active{border-color:rgba(59,130,246,.22);background:var(--surface);box-shadow:0 8px 24px rgba(2,10,24,.07)}
.v2-chat-avatar{width:40px;height:40px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(145deg,#2563eb,#7c3aed);color:#fff;font-size:12px;font-weight:900;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}
.v2-chat-thread:nth-child(2n) .v2-chat-avatar{background:linear-gradient(145deg,#0f9f7f,#0e7490)}
.v2-chat-thread-copy{min-width:0;display:block}
.v2-chat-thread-copy>span{display:flex;gap:8px;align-items:center;justify-content:space-between}
.v2-chat-thread-copy strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v2-chat-thread-copy time{font-size:10px;color:var(--muted);font-weight:600}
.v2-chat-thread-copy b{display:block;margin-top:3px;color:color-mix(in srgb,var(--text) 82%,var(--muted));font-size:11px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v2-chat-thread-copy small{display:block;margin-top:5px;color:var(--muted);font-size:11px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v2-chat-thread>em{position:absolute;right:11px;bottom:11px;min-width:17px;height:17px;padding:0 4px;display:grid;place-items:center;border-radius:999px;background:#3b82f6;color:#fff;font-size:9px;font-style:normal;font-weight:900}
.v2-chat-empty{padding:24px 16px;color:var(--muted);font-size:12px;text-align:center}
.v2-chat-inbox-foot{margin:11px;padding:12px;display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:13px;background:color-mix(in srgb,var(--surface) 70%,transparent)}
.v2-chat-inbox-foot>span{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:rgba(86,228,159,.1);color:#2fba72}
.v2-chat-inbox-foot svg{width:15px}
.v2-chat-inbox-foot p{margin:0;min-width:0}
.v2-chat-inbox-foot strong,.v2-chat-inbox-foot small{display:block}
.v2-chat-inbox-foot strong{font-size:11px;color:var(--text)}
.v2-chat-inbox-foot small{margin-top:2px;font-size:9px;color:var(--muted)}
.v2-chat-dialog{min-width:0;min-height:0;height:100%;overflow:hidden;display:flex;flex-direction:column;background:var(--surface)}
.v2-chat-dialog-head{min-height:70px;padding:12px 20px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line)}
.v2-chat-person{display:flex;align-items:center;gap:11px;min-width:0}
.v2-chat-person>div{min-width:0}
.v2-chat-person strong{display:block;color:var(--text);font-size:14px}
.v2-chat-person div>span{display:flex;align-items:center;gap:6px;margin-top:3px;color:var(--muted);font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v2-chat-person div>span i{width:6px;height:6px;border-radius:50%;background:#56e49f}
.v2-chat-dialog-actions{display:flex;align-items:center;gap:8px}
.v2-chat-mobile-back{display:none}
.v2-chat-runtime-jump{display:none}
.v2-chat-ai-state{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;font-size:10px;font-weight:800;white-space:nowrap}
.v2-chat-ai-state.ai{background:rgba(86,228,159,.1);color:#2fba72}
.v2-chat-ai-state.manager{background:rgba(245,158,11,.11);color:#d88b08}
.v2-chat-takeover{padding:8px 11px!important;font-size:10px!important}
.v2-chat-safety{margin:12px 16px 0;padding:9px 11px;display:flex;align-items:center;gap:8px;border:1px solid rgba(59,130,246,.16);border-radius:12px;background:rgba(59,130,246,.06);color:var(--muted)}
.v2-chat-safety>span{color:#3b82f6;display:flex}
.v2-chat-safety svg{width:16px}
.v2-chat-safety p{flex:1;margin:0;font-size:10px;line-height:1.4}
.v2-chat-safety strong{color:var(--text)}
.v2-chat-safety button{border:0;background:transparent;color:#3b82f6;font:inherit;font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap}
.v2-chat-messages{flex:1;min-height:0;overflow:auto;padding:22px 18px 16px;scroll-behavior:smooth;background-image:radial-gradient(circle at 1px 1px,color-mix(in srgb,var(--line) 45%,transparent) 1px,transparent 0);background-size:22px 22px}
.v2-chat-welcome{max-width:390px;margin:10% auto 0;padding:25px;text-align:center;border:1px solid var(--line);border-radius:20px;background:color-mix(in srgb,var(--surface2) 48%,var(--surface));box-shadow:0 18px 45px rgba(2,10,24,.06)}
.v2-chat-welcome-icon{width:42px;height:42px;margin:0 auto 13px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(145deg,#2563eb,#7c3aed);color:#fff;font-size:20px}
.v2-chat-welcome h2{margin:0;color:var(--text);font-size:17px}
.v2-chat-welcome p{margin:8px 0 0;color:var(--muted);font-size:11px;line-height:1.55}
.v2-chat-bubble-row{display:flex;gap:8px;align-items:flex-end;margin:0 0 16px}
.v2-chat-bubble-row.client{justify-content:flex-end}
.v2-chat-bubble-row>div{max-width:min(78%,560px)}
.v2-chat-bot-mark{flex:0 0 auto;width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:linear-gradient(145deg,#2563eb,#7c3aed);color:#fff;font-size:9px;font-weight:900}
.v2-chat-bubble{padding:11px 13px;border:1px solid var(--line);border-radius:15px 15px 15px 5px;background:color-mix(in srgb,var(--surface2) 76%,var(--surface));color:var(--text);font-size:12px;line-height:1.55;box-shadow:0 6px 18px rgba(2,10,24,.05)}
.v2-chat-bubble-row.client .v2-chat-bubble{border-color:rgba(59,130,246,.35);border-radius:15px 15px 5px 15px;background:linear-gradient(145deg,#3178ec,#2563c7);color:#fff}
.v2-chat-bubble-row time{display:block;margin:5px 4px 0;color:var(--muted);font-size:9px}
.v2-chat-bubble-row.client time{text-align:right}
.v2-chat-bubble.typing{display:flex;gap:4px;min-width:54px}
.v2-chat-bubble.typing i{width:6px;height:6px;border-radius:50%;background:#7290b1;animation:v2-chat-typing 1s infinite ease-in-out}
.v2-chat-bubble.typing i:nth-child(2){animation-delay:.14s}.v2-chat-bubble.typing i:nth-child(3){animation-delay:.28s}
@keyframes v2-chat-typing{0%,60%,100%{transform:translateY(0);opacity:.45}30%{transform:translateY(-4px);opacity:1}}
.v2-chat-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:10px}
.v2-chat-demo-photo{min-width:0;padding:10px;border-radius:11px;background:color-mix(in srgb,var(--surface) 75%,transparent);border:1px solid var(--line)}
.v2-chat-demo-photo>span{display:block;margin-top:7px;color:var(--text);font-size:9px;font-weight:800;line-height:1.3}
.v2-chat-quick{display:flex;align-items:center;gap:6px;padding:10px 15px;overflow-x:auto;border-top:1px solid var(--line);background:color-mix(in srgb,var(--surface2) 35%,var(--surface))}
.v2-chat-quick{scrollbar-width:none}.v2-chat-quick::-webkit-scrollbar{display:none}
.v2-chat-quick>span{color:var(--muted);font-size:9px;font-weight:800;white-space:nowrap}
.v2-chat-quick button{padding:7px 9px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--text);font:inherit;font-size:9px;font-weight:700;white-space:nowrap;cursor:pointer}
.v2-chat-quick button:hover{border-color:rgba(59,130,246,.4);color:#3b82f6}
.v2-chat-composer{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:end;gap:8px;padding:12px 15px 15px;border-top:1px solid var(--line);background:var(--surface)}
.v2-chat-composer textarea{min-height:40px;max-height:96px;resize:none;padding:11px 12px;border:1px solid var(--line);border-radius:12px;outline:0;background:color-mix(in srgb,var(--surface2) 50%,var(--surface));color:var(--text);font:inherit;font-size:12px;line-height:1.45}
.v2-chat-composer textarea:focus{border-color:rgba(59,130,246,.5);box-shadow:0 0 0 3px rgba(59,130,246,.08)}
.v2-chat-attach{width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--line);border-radius:11px;background:var(--surface2);color:var(--muted);cursor:pointer}
.v2-chat-attach svg{width:16px}
.v2-chat-send{height:40px;display:flex;align-items:center;gap:7px;padding:0 14px;border:0;border-radius:11px;background:linear-gradient(135deg,#3178ec,#255fc4);color:#fff;font:inherit;font-size:10px;font-weight:900;cursor:pointer;box-shadow:0 8px 20px rgba(37,99,235,.22)}
.v2-chat-send svg{width:14px}.v2-chat-send:disabled{opacity:.55;cursor:wait}
.v2-chat-context{border-left:1px solid var(--line)}
.v2-chat-context-scroll{height:100%;overflow:auto;padding:14px}
.v2-chat-context article{padding:16px;margin-bottom:11px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:0 10px 28px rgba(2,10,24,.05)}
.v2-chat-runtime-card h2{margin:3px 0 0;color:var(--text);font-size:15px}
.v2-chat-mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:14px 0 11px;padding:4px;border-radius:11px;background:color-mix(in srgb,var(--surface2) 80%,var(--surface))}
.v2-chat-mode-switch button{height:31px;border:0;border-radius:8px;background:transparent;color:var(--muted);font:inherit;font-size:9px;font-weight:850;cursor:pointer}.v2-chat-mode-switch button.active{background:var(--surface);color:#3b82f6;box-shadow:0 4px 12px rgba(2,10,24,.08)}
.v2-chat-model-field,.v2-chat-key-field{display:block;margin-top:10px}.v2-chat-model-field>span,.v2-chat-key-field>span{display:block;margin-bottom:5px;color:var(--muted);font-size:8px;font-weight:800;letter-spacing:.04em}
.v2-chat-model-field select,.v2-chat-key-field input{width:100%;height:36px;padding:0 9px;border:1px solid var(--line);border-radius:10px;outline:0;background:var(--surface2);color:var(--text);font:inherit;font-size:10px}.v2-chat-model-field select:focus,.v2-chat-key-field input:focus{border-color:rgba(59,130,246,.5);box-shadow:0 0 0 3px rgba(59,130,246,.08)}
.v2-chat-key-field.is-disabled{opacity:.52}
.v2-chat-model-score{display:flex;flex-wrap:wrap;gap:4px 8px;margin-top:7px;color:var(--muted);font-size:8px}.v2-chat-model-score small{width:100%;font-size:8px;color:var(--muted)}
.v2-chat-runtime-save{width:100%;justify-content:center;margin-top:11px;padding:9px 10px!important;font-size:9px!important}
.v2-chat-runtime-status{display:flex;align-items:center;gap:6px;margin:10px 0 0;color:var(--muted);font-size:8px;font-weight:800}.v2-chat-runtime-status i{width:6px;height:6px;border-radius:50%;background:#94a3b8}.v2-chat-runtime-status.live{color:#2fba72}.v2-chat-runtime-status.live i{background:#56e49f;box-shadow:0 0 0 3px rgba(86,228,159,.1)}
.v2-chat-runtime-note{display:block;margin-top:7px;color:var(--muted);font-size:7px;line-height:1.4}
.v2-chat-connect-top,.v2-chat-card-title,.v2-chat-product-meta{display:flex;align-items:center;justify-content:space-between;gap:10px}
.v2-chat-olx-logo{display:grid;place-items:center;width:42px;height:28px;border-radius:8px;background:#21d5c2;color:#071426;font-size:14px;font-weight:950;letter-spacing:-.08em;text-transform:uppercase}
.v2-chat-offline{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:9px;font-weight:800}
.v2-chat-offline i{width:6px;height:6px;border-radius:50%;background:#94a3b8}
.v2-chat-connect-card h2,.v2-chat-product-card h2,.v2-chat-ai-card h2{margin:13px 0 0;color:var(--text);font-size:15px;letter-spacing:-.02em}
.v2-chat-connect-card p{margin:7px 0 13px;color:var(--muted);font-size:10px;line-height:1.55}
.v2-chat-connect-card .v2-primary{width:100%;justify-content:center;padding:10px 12px;font-size:10px}
.v2-chat-connect-card small{display:flex;align-items:center;justify-content:center;gap:5px;margin-top:8px;color:var(--muted);font-size:8px}
.v2-chat-connect-card small svg{width:11px}
.v2-chat-card-title>span:last-child{width:31px;height:31px;display:grid;place-items:center;border-radius:10px;background:rgba(59,130,246,.09);color:#3b82f6}
.v2-chat-card-title svg{width:15px}
.v2-chat-product-visual{position:relative;height:118px;margin:14px 0 11px;display:grid;place-items:center;border-radius:13px;overflow:hidden;background:radial-gradient(circle at 65% 35%,rgba(86,228,159,.2),transparent 35%),linear-gradient(145deg,color-mix(in srgb,var(--surface2) 85%,var(--surface)),var(--surface))}
.v2-chat-product-visual>span{position:absolute;left:10px;bottom:8px;color:var(--muted);font-size:8px;font-weight:700}
.v2-chat-sleepingbag{position:relative;width:51px;height:91px;border-radius:24px 24px 15px 15px;background:linear-gradient(90deg,#0f766e,#23b7a1 48%,#0d756d 50%,#085c56);transform:rotate(8deg);box-shadow:0 13px 24px rgba(0,0,0,.16),inset 0 0 0 2px rgba(255,255,255,.1)}
.v2-chat-sleepingbag:before{content:"";position:absolute;inset:8px 8px auto;height:26px;border-radius:50%;background:#082f49;box-shadow:inset 0 0 0 4px #134e4a}
.v2-chat-sleepingbag i{position:absolute;left:8px;right:8px;top:45px;height:2px;background:rgba(255,255,255,.26);box-shadow:0 12px rgba(255,255,255,.18),0 24px rgba(255,255,255,.14)}
.v2-chat-sleepingbag b{position:absolute;right:-5px;top:43px;width:7px;height:27px;border-radius:4px;background:#f59e0b}
.v2-chat-sleepingbag.compact{width:29px;height:52px;margin:auto;border-radius:15px 15px 9px 9px;transform:rotate(5deg)}
.v2-chat-sleepingbag.compact:before{inset:5px 5px auto;height:15px;box-shadow:inset 0 0 0 2px #134e4a}
.v2-chat-sleepingbag.compact i{left:5px;right:5px;top:27px;box-shadow:0 7px rgba(255,255,255,.18),0 14px rgba(255,255,255,.14)}
.v2-chat-sleepingbag.compact b{right:-3px;top:25px;width:4px;height:15px}
.v2-chat-product-meta span{color:var(--muted);font-size:9px}.v2-chat-product-meta strong{color:var(--text);font-size:11px}
.v2-chat-spark{font-size:18px!important;background:linear-gradient(145deg,#2563eb,#7c3aed)!important;color:#fff!important}
.v2-chat-ai-card ul{list-style:none;margin:14px 0;padding:0;display:grid;gap:9px}
.v2-chat-ai-card li{display:flex;align-items:center;gap:8px;color:color-mix(in srgb,var(--text) 82%,var(--muted));font-size:10px}
.v2-chat-ai-card li i{width:6px;height:6px;border-radius:50%;background:#56e49f;box-shadow:0 0 0 4px rgba(86,228,159,.09)}
.v2-chat-confidence{display:grid;grid-template-columns:1fr auto;gap:6px;margin-top:13px;padding-top:12px;border-top:1px solid var(--line)}
.v2-chat-confidence span,.v2-chat-confidence strong{font-size:9px}.v2-chat-confidence span{color:var(--muted)}.v2-chat-confidence strong{color:#2fba72}
.v2-chat-confidence progress{grid-column:1/-1;width:100%;height:5px;border:0;border-radius:99px;overflow:hidden;background:var(--surface2)}
.v2-chat-confidence progress::-webkit-progress-bar{background:var(--surface2)}.v2-chat-confidence progress::-webkit-progress-value{background:linear-gradient(90deg,#3b82f6,#56e49f)}

@media(max-width:1280px){.v2-chat-workspace{grid-template-columns:235px minmax(430px,1fr) 250px}.v2-chat-dialog-actions .v2-chat-ai-state{display:none}}
@media(max-width:1050px){.v2-chat-workspace{height:auto;min-height:720px;grid-template-columns:230px minmax(0,1fr)}.v2-chat-context{grid-column:1/-1;border-left:0;border-top:1px solid var(--line)}.v2-chat-context-scroll{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.v2-chat-context article{margin:0}.v2-chat-product-visual{height:95px}}
@media(max-width:760px){
  .v2-chat-workspace{display:block;height:auto;min-height:0;border-radius:16px;overflow:visible}
  .v2-chat-inbox{display:none;border-right:0}
  .v2-chat-workspace.show-mobile-list .v2-chat-inbox{display:flex;height:calc(100dvh - 150px);min-height:560px;max-height:none;padding-bottom:72px;border-bottom:0}
  .v2-chat-workspace.show-mobile-list .v2-chat-dialog,.v2-chat-workspace.show-mobile-list .v2-chat-context{display:none}
  .v2-chat-inbox-head{padding:18px 16px 12px}.v2-chat-inbox-head h1{font-size:24px}
  .v2-chat-search{margin-inline:12px}.v2-chat-filters{padding-inline:12px}
  .v2-chat-thread-list{padding-inline:6px}.v2-chat-thread{padding:12px 10px}
  .v2-chat-inbox-foot{margin:8px 10px}
  .v2-chat-dialog{height:calc(100dvh - 226px);min-height:440px;max-height:690px;border-radius:16px}
  .v2-chat-context{height:auto;overflow:visible;border-left:0;border-top:1px solid var(--line)}
  .v2-chat-context-scroll{height:auto;grid-template-columns:1fr;padding:10px}
  .v2-chat-dialog-head{min-height:62px;padding:8px 10px;gap:7px}
  .v2-chat-mobile-back{display:inline-flex;align-items:center;gap:3px;padding:7px 8px;border:1px solid var(--line);border-radius:10px;background:var(--surface2);color:#3b82f6;font:inherit;font-size:10px;font-weight:850;cursor:pointer}
  .v2-chat-runtime-jump{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;margin-left:auto;border:1px solid rgba(59,130,246,.2);border-radius:10px;background:rgba(59,130,246,.08);color:#3b82f6;font:inherit;font-size:10px;font-weight:900;cursor:pointer}
  .v2-chat-person{gap:8px}.v2-chat-person>.v2-chat-avatar{width:34px;height:34px;border-radius:11px}.v2-chat-person div>span{max-width:130px}
  .v2-chat-takeover{display:none}.v2-chat-safety{margin:8px 8px 0;padding:8px}.v2-chat-safety p{font-size:9px}.v2-chat-safety button{font-size:9px}
  .v2-chat-messages{padding:16px 10px 12px}.v2-chat-welcome{margin-top:7%;padding:20px 16px}.v2-chat-bubble-row>div{max-width:88%}
  .v2-chat-quick{padding:8px 9px}
  .v2-chat-composer{grid-template-columns:36px minmax(0,1fr) 42px;padding:10px 9px calc(78px + env(safe-area-inset-bottom))}
  .v2-chat-send{width:42px;padding:0;justify-content:center;font-size:0}.v2-chat-send svg{width:16px}
}
