.chx-app{position:relative;z-index:1;display:grid;grid-template-columns:272px minmax(0,1fr);width:min(1760px,calc(100% - 48px));margin:14px auto 0;height:calc(100vh - var(--hdh,96px) - 34px);height:calc(100dvh - var(--hdh,96px) - 34px);min-height:520px;border:1px solid rgba(139,92,246,.3);border-radius:18px;overflow:hidden;background:#0b0a18;color:var(--g4-tx);font-size:15px;line-height:1.55;box-sizing:border-box}@media(min-width:992px){body.t4p--chars{overflow:hidden}body.t4p--chars .ft{display:none}}.chx-side{display:flex;flex-direction:column;gap:6px;min-height:0;padding:14px 12px 12px;background:radial-gradient(ellipse at 100% 12%,rgba(99,102,241,.14),transparent 57%),linear-gradient(175deg,#121029,#0b0a17 86%);border-right:1px solid var(--g4-line);overflow:hidden;z-index:40;box-sizing:border-box}.chx-side__top{display:flex;align-items:center;justify-content:space-between;padding:2px 6px 10px}.chx-brand{display:flex;align-items:center;gap:9px;min-width:0;color:#fff}.chx-brand img{width:26px;height:26px;flex:none;filter:drop-shadow(0 0 10px rgba(139,92,246,.55))}.chx-brand__sec{display:inline-flex;align-items:center;height:24px;padding:0 9px;border-radius:999px;border:1px solid rgba(167,139,250,.45);background:rgba(139,92,246,.2);color:#ddd6fe;font-size:12px;font-weight:700;white-space:nowrap}.chx-beta{display:inline-flex;align-items:center;height:18px;padding:0 6px;border-radius:6px;background:var(--g4-grad);color:#fff;font:800 10px/1 Manrope,sans-serif;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;flex:none}.chx-side .chx-side__close{display:none}.chx-create.btn{display:flex;height:44px;margin:2px 2px 8px;border-radius:999px;font-size:14.5px;gap:8px;padding:0 18px}.chx-nav{display:flex;flex-direction:column;gap:2px}.chx-nav a{display:flex;align-items:center;gap:12px;padding:9px 12px;border-radius:12px;border:1px solid transparent;color:var(--g4-mu);font-weight:600;font-size:14.5px;transition:background .15s,color .15s}.chx-nav a svg{color:#c4b5fd;flex:none}.chx-nav a:hover{background:rgba(139,92,246,.08);color:var(--g4-tx)}.chx-nav a.is-active{background:rgba(139,92,246,.2);border-color:rgba(167,139,250,.45);color:#fff}.chx-side__search{position:relative;margin:8px 2px 4px}.chx-side__search svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--g4-fa);pointer-events:none}.chx-side__search input{width:100%;height:38px;border-radius:12px;border:1px solid var(--g4-line);background:var(--g4-surf);padding:0 12px 0 36px;font:inherit;font-size:14px;color:var(--g4-tx);outline:none;box-sizing:border-box}.chx-side__search input:focus{border-color:rgba(167,139,250,.55)}.chx-side__label{font-size:12px;font-weight:600;color:var(--g4-fa);text-transform:uppercase;letter-spacing:.06em;padding:12px 12px 4px}.chx-recent{flex:1;overflow-y:auto;margin:0 -4px;padding:0 4px;scrollbar-color:var(--g4-surf3) transparent}.chx-recent__empty{color:var(--g4-fa);font-size:13px;padding:4px 12px;margin:0;line-height:1.45}.chx-recent__empty a{color:var(--g4-acc)}.chx-recent__item{display:flex;align-items:center;gap:10px;padding:7px 10px;border-radius:12px;transition:background .15s;cursor:pointer;width:100%;border:0;background:none;text-align:left;color:inherit;font:inherit;box-sizing:border-box}.chx-recent__item:hover{background:rgba(139,92,246,.08)}.chx-recent__item.is-active{background:rgba(139,92,246,.16);box-shadow:inset 2px 0 0 #a78bfa}.chx-recent__item img{width:36px;height:36px;border-radius:50%;object-fit:cover;flex:none;background:var(--g4-surf2)}.chx-recent__item span{display:flex;flex-direction:column;min-width:0}.chx-recent__item b{font-weight:600;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chx-recent__item small{color:var(--g4-mu);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chx-main{position:relative;min-width:0;min-height:0;overflow-y:auto;scrollbar-color:var(--g4-surf3) transparent;background:radial-gradient(ellipse 70% 460px at 60% -160px,rgba(139,92,246,.12),transparent 72%) no-repeat,#0b0a18}.chx-mtop,.chx-scrim{display:none}.chx-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 18px;border-radius:999px;border:1px solid transparent;font:inherit;font-weight:700;font-size:14.5px;cursor:pointer;white-space:nowrap;color:var(--g4-tx);transition:background .15s,border-color .15s,transform .12s;box-sizing:border-box}.chx-btn:active{transform:scale(.98)}.chx-btn--ghost{background:rgba(30,26,64,.7);border-color:var(--g4-line2)}.chx-btn--ghost:hover{background:rgba(42,36,88,.9);border-color:rgba(167,139,250,.55)}.chx-btn--danger:hover{border-color:rgba(248,113,113,.6);color:#fecaca}.chx-btn--lg,.btn.chx-btn--lg{height:46px;padding:0 22px;font-size:15px;border-radius:999px}.chx-btn--sm,.btn.chx-btn--sm{height:32px;padding:0 13px;font-size:13px;border-radius:999px}.chx-iconbtn{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:12px;border:0;background:transparent;color:var(--g4-mu);cursor:pointer;flex:none}.chx-iconbtn:hover{background:rgba(139,92,246,.14);color:var(--g4-tx)}.chx-pill{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 12px;border-radius:999px;border:1px solid var(--g4-line2);background:rgba(30,26,64,.7);cursor:pointer;font:inherit;font-size:13px;font-weight:700;color:var(--g4-tx);max-width:260px}.chx-pill span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chx-pill:hover{border-color:rgba(167,139,250,.55)}.chx-pill img{width:16px;height:16px;flex:none}.chx-wrap{max-width:1240px;margin:0 auto;padding:28px 32px 64px}.chx-eyebrow{display:flex;align-items:center;gap:8px;margin:0 0 10px;color:#c9cde4;font-size:11.5px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.chx-eyebrow::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--g4-grad);box-shadow:0 0 10px rgba(139,92,246,.9);flex:none}.chx-h1{font-size:clamp(28px,3.4vw,40px);font-weight:800;line-height:1.12;letter-spacing:-.035em;margin:0;color:var(--g4-tx)}.chx-h2{font-size:21px;font-weight:800;margin:0 0 14px;letter-spacing:-.02em}.chx-lead{color:var(--g4-mu);font-size:16px;max-width:640px;margin:10px 0 0}.chx-muted{color:var(--g4-mu);font-size:13.5px;margin:0 0 10px;line-height:1.5}.chx-text{color:#d6d9ec;font-size:15.5px;line-height:1.7;margin:0;max-width:860px}.chx-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:7px;font-size:11.5px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--g4-mu);margin-bottom:18px}.chx-crumbs a:hover{color:var(--g4-tx)}.chx-crumbs i{font-style:normal;opacity:.6}.chx-crumbs span{color:#fff}.chx-hello{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px;flex-wrap:wrap}.chx-hello>div:first-child{flex:1 1 380px}.chx-search{flex:0 1 460px;display:flex;align-items:center;gap:8px;height:50px;padding:0 5px 0 16px;background:var(--g4-surf);border:1px solid var(--g4-line2);border-radius:999px;box-sizing:border-box}.chx-search:focus-within{border-color:rgba(167,139,250,.6);box-shadow:0 0 0 4px rgba(139,92,246,.14)}.chx-search svg{color:var(--g4-fa);flex:none}.chx-search input{flex:1;min-width:0;height:100%;border:0;background:none;outline:none;font:inherit;font-size:15px;color:var(--g4-tx)}.chx-search .btn{height:40px;border-radius:999px;padding:0 20px;font-size:14.5px}.chx-chips{display:flex;gap:8px;overflow-x:auto;padding:2px 0 6px;margin-bottom:18px;scrollbar-width:none}.chx-chips::-webkit-scrollbar{display:none}.chx-chip{flex:none;height:36px;display:inline-flex;align-items:center;padding:0 16px;border-radius:999px;background:rgba(30,26,64,.55);border:1px solid var(--g4-line);font:inherit;font-size:13.5px;font-weight:600;color:#c9cde4;cursor:pointer;transition:background .15s,color .15s,border-color .15s}.chx-chip:hover{border-color:rgba(167,139,250,.62);color:#fff}.chx-chip.is-active{background:rgba(139,92,246,.24);color:#fff;border-color:#a78bfa}.chx-sec{margin:34px 0 0}.chx-sec__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.chx-sec__head h2{font-size:21px;font-weight:800;margin:0;letter-spacing:-.02em}.chx-sec__head h2 small{font-size:14px;font-weight:600;color:var(--g4-fa);margin-left:6px;letter-spacing:0}.chx-sec__head>a,.chx-sec__head>button.chx-link{color:var(--g4-mu);font-size:14px;font-weight:500;white-space:nowrap;border:0;background:none;cursor:pointer;font-family:inherit;padding:0}.chx-sec__head>a:hover,.chx-sec__head>button.chx-link:hover{color:var(--g4-tx)}.chx-seg{display:inline-flex;background:var(--g4-surf);border:1px solid var(--g4-line);border-radius:999px;padding:3px;flex:none}.chx-seg button{padding:6px 14px;border-radius:999px;font-size:13.5px;font-weight:600;color:var(--g4-mu);border:0;background:none;cursor:pointer;font-family:inherit}.chx-seg .is-active{background:rgba(139,92,246,.24);color:#fff;box-shadow:inset 0 0 0 1px rgba(167,139,250,.5)}.chx-row{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(300px,1fr);gap:12px;overflow-x:auto;padding-bottom:6px;scroll-snap-type:x mandatory;scrollbar-color:var(--g4-surf3) transparent}.chx-row>*{scroll-snap-align:start}.chx-row--big{grid-auto-columns:minmax(196px,216px)}.chx-row--cont{grid-auto-columns:minmax(240px,300px)}.chx-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}.chx-card{display:flex;gap:14px;padding:12px;border-radius:16px;background:var(--g4-card);border:1px solid var(--g4-line);min-width:0;color:inherit;transition:border-color .15s,transform .15s,box-shadow .2s;box-sizing:border-box}.chx-card:hover{border-color:rgba(167,139,250,.45);box-shadow:0 0 30px rgba(139,92,246,.14);transform:translateY(-1px)}.chx-card__img{width:88px;height:112px;border-radius:12px;object-fit:cover;flex:none;background:var(--g4-surf3)}.chx-card__body{display:flex;flex-direction:column;min-width:0;gap:2px;flex:1}.chx-card__name{font-weight:800;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chx-card__by{font-size:12.5px;color:var(--g4-fa)}.chx-card__desc{font-size:13.5px;color:var(--g4-mu);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-top:4px;line-height:1.45}.chx-card__meta{margin-top:auto;padding-top:6px;display:inline-flex;align-items:center;gap:5px;font-size:12.5px;color:var(--g4-fa)}.chx-card--big{flex-direction:column;gap:0;padding:0;overflow:hidden}.chx-card--big .chx-card__img{width:100%;height:auto;aspect-ratio:1/1.08;border-radius:0}.chx-card--big .chx-card__body{padding:12px 14px 14px}.chx-card--big .chx-card__desc{-webkit-line-clamp:2}.chx-cont{display:flex;align-items:center;gap:12px;padding:10px 14px 10px 10px;border-radius:999px;background:var(--g4-surf);border:1px solid var(--g4-line);min-width:0;cursor:pointer;color:inherit;font:inherit;text-align:left;box-sizing:border-box}.chx-cont:hover{border-color:rgba(167,139,250,.45)}.chx-cont img{width:52px;height:52px;border-radius:50%;object-fit:cover;flex:none}.chx-cont span{display:flex;flex-direction:column;min-width:0}.chx-cont b{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chx-cont small{color:var(--g4-mu);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chx-none{color:var(--g4-mu);padding:18px 4px;margin:0}.chx-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-top:44px;padding:28px 32px;border-radius:24px;background:radial-gradient(ellipse 55% 85% at 88% 8%,rgba(139,92,246,.24),transparent 62%),radial-gradient(ellipse 42% 70% at 12% 100%,rgba(99,102,241,.16),transparent 66%),linear-gradient(180deg,#141230,#0d0c1d);border:1px solid rgba(255,255,255,.07);box-shadow:0 18px 50px rgba(0,0,0,.28)}.chx-cta h2{font-size:22px;font-weight:800;margin:0 0 6px}.chx-cta p{margin:0;color:var(--g4-mu);max-width:620px}.chx-seo{margin-top:44px}.chx-faq{max-width:none}.chx-prof{display:grid;grid-template-columns:220px minmax(0,1fr);gap:32px;align-items:start}.chx-prof__ava{width:220px;height:220px;border-radius:28px;object-fit:cover;box-shadow:0 20px 60px -20px rgba(139,92,246,.5);background:var(--g4-surf2)}.chx-prof__tag{font-size:17px;color:#d3d6ea;margin:8px 0 0}.chx-prof__meta{display:flex;flex-wrap:wrap;gap:6px 18px;color:var(--g4-mu);font-size:14px;margin:12px 0 0}.chx-prof__meta b{color:var(--g4-tx);font-weight:600}.chx-prof__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px;align-items:center}.chx-tags{display:flex;flex-wrap:wrap;gap:6px;margin:16px 0 0}.chx-tags span{font-size:13px;color:var(--g4-mu);background:var(--g4-surf);border-radius:999px;padding:4px 11px}.chx-preview{display:flex;gap:12px;align-items:flex-start}.chx-preview>img{width:40px;height:40px;border-radius:50%;object-fit:cover;flex:none;background:var(--g4-surf2)}.chx-preview>div{background:var(--g4-surf);border:1px solid var(--g4-line);border-radius:4px 18px 18px 18px;padding:10px 16px 12px;max-width:640px;min-width:0}.chx-preview b{font-size:13px;color:var(--g4-mu);font-weight:600;display:block;margin-bottom:2px}.chx-md{overflow-wrap:anywhere}.chx-md p{margin:0 0 .6em}.chx-md p:last-child{margin-bottom:0}.chx-md em,.chx-md i{color:#c3bde0;font-style:italic}.chx-md code{background:rgba(139,92,246,.16);color:#e9e3ff;padding:1px 6px;border-radius:6px;font-size:13.5px}.chx-md pre{background:#07060d;padding:12px 14px;border-radius:12px;overflow-x:auto;margin:.6em 0;white-space:pre-wrap}.chx-loading{display:grid;place-items:center;padding:80px 0}.chx-spin{width:26px;height:26px;border-radius:50%;border:3px solid rgba(139,92,246,.22);border-top-color:#a78bfa;animation:t4s .8s linear infinite;display:inline-block;box-sizing:border-box}.chx-chat{display:flex;flex-direction:column;height:100%;min-height:0}.chx-main.is-chat{overflow:hidden}.chx-main.is-chat>#chxView{height:100%}.chx-main.is-chat .chx-mtop{display:none!important}.chx-chat__head{display:flex;align-items:center;gap:10px;padding:10px 16px;min-height:62px;border-bottom:1px solid var(--g4-line);background:rgba(11,10,24,.94);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:5;box-sizing:border-box;flex:none}.chx-chat__burger{display:none}.chx-chat__who{display:flex;align-items:center;gap:11px;min-width:0;flex:1;padding:4px 8px 4px 4px;border-radius:12px;color:inherit;border:0;background:none;font:inherit;text-align:left;cursor:pointer}.chx-chat__who:hover{background:rgba(139,92,246,.08)}.chx-chat__who img{width:38px;height:38px;border-radius:50%;object-fit:cover;flex:none}.chx-chat__who span{display:flex;flex-direction:column;min-width:0;line-height:1.25}.chx-chat__who b{font-size:15px;font-weight:800}.chx-chat__who small{color:var(--g4-mu);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chx-chat__tools{display:flex;align-items:center;gap:6px;flex:none}.chx-chat__body{flex:1;display:flex;min-height:0;position:relative}.chx-chat__col{flex:1;display:flex;flex-direction:column;min-width:0;min-height:0}.chx-chat__scroll{flex:1;overflow-y:auto;padding:18px 20px 28px;scrollbar-color:var(--g4-surf3) transparent}.chx-chat__intro{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:28px 16px 26px;max-width:760px;margin:0 auto}.chx-chat__intro img{width:88px;height:88px;border-radius:50%;object-fit:cover;margin-bottom:6px;box-shadow:0 0 0 3px rgba(139,92,246,.35),0 10px 40px -8px rgba(99,102,241,.55)}.chx-chat__intro h2{font-size:22px;font-weight:700;margin:0}.chx-chat__intro p{margin:0;color:var(--g4-mu);max-width:520px}.chx-chat__intro small{color:var(--g4-fa);font-size:12.5px}.chx-msgs{max-width:760px;margin:0 auto;display:flex;flex-direction:column;gap:18px}.chx-msg{display:flex;gap:10px;animation:chxIn .22s ease-out}@keyframes chxIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.chx-msg__ava{width:34px;height:34px;border-radius:50%;object-fit:cover;flex:none;margin-top:22px}.chx-msg__col{min-width:0;max-width:min(620px,100%);display:flex;flex-direction:column;align-items:flex-start}.chx-msg__name{font-size:13px;color:var(--g4-mu);font-weight:600;margin:0 0 5px 4px}.chx-msg--ai .chx-md{background:var(--g4-surf);border:1px solid var(--g4-line);border-radius:4px 20px 20px 20px;padding:11px 16px 12px;font-size:15.5px;line-height:1.6}.chx-msg--user{flex-direction:column;align-items:flex-end}.chx-msg__bubble{background:linear-gradient(135deg,rgba(139,92,246,.34),rgba(99,102,241,.24));border:1px solid rgba(167,139,250,.32);border-radius:20px 4px 20px 20px;padding:10px 16px 11px;max-width:min(560px,88%);font-size:15.5px;line-height:1.55;overflow-wrap:anywhere;box-sizing:border-box}.chx-msg__bubble p{margin:0 0 .5em}.chx-msg__bubble p:last-child{margin:0}.chx-msg__acts{display:flex;align-items:center;gap:2px;margin-top:4px;min-height:30px;opacity:0;transition:opacity .15s;flex-wrap:nowrap;white-space:nowrap}.chx-msg:hover .chx-msg__acts,.chx-msg:last-child .chx-msg__acts{opacity:1}.chx-msg__acts button{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 8px;border-radius:9px;border:0;background:none;color:var(--g4-fa);cursor:pointer;font:inherit;font-size:12.5px;font-weight:600}.chx-msg__acts button:hover{background:rgba(139,92,246,.14);color:var(--g4-tx)}.chx-msg__cost{font-size:12px;color:var(--g4-fa);margin-left:6px;display:inline-flex;align-items:center;gap:4px}.chx-msg__err{background:rgba(248,113,113,.08);border:1px solid rgba(248,113,113,.3);color:#fecaca;border-radius:4px 18px 18px 18px;padding:11px 16px;font-size:14.5px}.chx-typing{display:inline-flex;gap:5px;background:var(--g4-surf);border:1px solid var(--g4-line);border-radius:4px 20px 20px 20px;padding:16px 18px}.chx-typing i{width:7px;height:7px;border-radius:50%;background:var(--g4-grad);animation:chxDot 1.2s infinite ease-in-out}.chx-typing i:nth-child(2){animation-delay:.15s}.chx-typing i:nth-child(3){animation-delay:.3s}@keyframes chxDot{0%,80%,100%{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}.chx-compose{padding:10px 20px calc(12px + env(safe-area-inset-bottom));background:linear-gradient(to top,#0b0a18 70%,transparent);flex:none}.chx-compose__box{max-width:760px;margin:0 auto;display:flex;align-items:flex-end;gap:8px;background:linear-gradient(180deg,#1c1938,#131128);border:1px solid var(--g4-line2);border-radius:26px;padding:6px 6px 6px 18px;box-shadow:0 12px 34px rgba(0,0,0,.34);transition:border-color .15s,box-shadow .15s}.chx-compose__box:focus-within{border-color:rgba(167,139,250,.6);box-shadow:0 12px 34px rgba(0,0,0,.34),0 0 0 4px rgba(139,92,246,.14)}.chx-compose__box textarea{flex:1;min-width:0;resize:none;border:0;outline:none;background:none;padding:9px 0;max-height:200px;font:inherit;font-size:15.5px;line-height:1.5;color:var(--g4-tx)}.chx-compose__box textarea::placeholder{color:var(--g4-fa)}.chx-send.btn{width:40px;height:40px;padding:0;border-radius:50%;display:grid;place-items:center;flex:none}.chx-send.btn:disabled{opacity:.4;cursor:default;transform:none}.chx-compose__note{max-width:760px;margin:7px auto 0;text-align:center;font-size:12px;color:var(--g4-fa);display:flex;justify-content:center;gap:6px;flex-wrap:wrap;align-items:center}.chx-panel{width:0;overflow:hidden;border-left:1px solid transparent;transition:width .22s ease;flex:none;background:linear-gradient(185deg,#121029,#0b0a17 80%)}.chx-chat.panel-open .chx-panel{width:320px;border-left-color:var(--g4-line)}.chx-panel__in{width:320px;height:100%;overflow-y:auto;padding:22px 20px 28px;position:relative;text-align:center;box-sizing:border-box}.chx-panel__close{position:absolute;right:10px;top:10px}.chx-panel__ava{width:120px;height:120px;border-radius:24px;object-fit:cover;margin:6px auto 12px;display:block;box-shadow:0 0 0 1px rgba(167,139,250,.35),0 16px 44px -12px rgba(139,92,246,.55)}.chx-panel h2{font-size:19px;margin:0}.chx-panel__tag{color:var(--g4-mu);font-size:14px;margin:6px 0 0}.chx-panel__acts{margin-top:18px;display:flex;flex-direction:column;gap:8px}.chx-panel__acts>*{width:100%}.chx-panel__sec{text-align:left;margin-top:24px;padding-top:18px;border-top:1px solid var(--g4-line)}.chx-panel__sec h3{font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:var(--g4-fa);margin:0 0 8px;font-weight:600}.chx-panel__chats{display:flex;flex-direction:column;gap:2px}.chx-panel__chats button{display:flex;flex-direction:column;padding:8px 10px;border-radius:10px;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer;min-width:0}.chx-panel__chats button:hover{background:rgba(139,92,246,.08)}.chx-panel__chats button.is-active{background:rgba(139,92,246,.16)}.chx-panel__chats b{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:260px}.chx-panel__chats small{color:var(--g4-fa);font-size:12px}.chx-models{display:flex;flex-direction:column;gap:4px;margin-top:4px;max-height:60vh;overflow:auto}.chx-model{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;padding:11px 14px;border-radius:14px;border:1px solid transparent;background:none;cursor:pointer;color:inherit;font:inherit;box-sizing:border-box}.chx-model:hover{background:rgba(139,92,246,.08)}.chx-model.is-active{background:rgba(139,92,246,.2);border-color:rgba(167,139,250,.55)}.chx-model span{display:flex;align-items:center;gap:10px;min-width:0}.chx-model img{width:22px;height:22px;flex:none}.chx-model b{font-weight:600;font-size:14.5px}.chx-model em{font-style:normal;color:var(--g4-mu);font-size:13px;white-space:nowrap;display:inline-flex;align-items:center;gap:4px}.chx-create-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:22px}.chx-tabs{display:flex;gap:6px;border-bottom:1px solid var(--g4-line);margin-bottom:18px}.chx-tabs button{background:none;border:0;padding:10px 14px;font:inherit;font-weight:600;color:var(--g4-mu);cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px}.chx-tabs button.is-active{color:#fff;border-bottom-color:#8b5cf6}.chx-tabs button span{font-size:12px;color:var(--g4-fa);margin-left:4px}.chx-mine{display:grid;grid-template-columns:repeat(auto-fill,minmax(420px,1fr));gap:10px}.chx-mine__item{display:flex;align-items:center;gap:14px;padding:12px;border-radius:16px;background:var(--g4-surf);border:1px solid var(--g4-line)}.chx-mine__item img{width:64px;height:64px;border-radius:14px;object-fit:cover;flex:none}.chx-mine__txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.chx-mine__txt small{color:var(--g4-mu);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chx-mine__acts{display:flex;gap:6px;flex:none}.chx-badge{align-self:flex-start;font-size:11.5px;font-weight:600;padding:2px 8px;border-radius:999px;background:var(--g4-surf3);color:var(--g4-mu)}.chx-badge--ok{background:rgba(74,222,128,.12);color:#4ade80}.chx-chatlist{display:flex;flex-direction:column;gap:4px}.chx-chatlist__item{display:flex;align-items:center;gap:6px;border-radius:14px;padding-right:6px}.chx-chatlist__item:hover{background:rgba(139,92,246,.08)}.chx-chatlist__item>button:first-child{flex:1;min-width:0;display:flex;align-items:center;gap:12px;padding:10px 12px;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.chx-chatlist__item img{width:44px;height:44px;border-radius:50%;object-fit:cover;flex:none}.chx-chatlist__item span{flex:1;min-width:0;display:flex;flex-direction:column}.chx-chatlist__item small{color:var(--g4-mu);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chx-chatlist__item time{color:var(--g4-fa);font-size:12.5px;white-space:nowrap}.chx-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px;padding:42px 20px;background:radial-gradient(ellipse at 50% 0%,rgba(139,92,246,.12),transparent 60%),var(--g4-surf);border-radius:20px;border:1px dashed var(--g4-line2)}.chx-empty img{width:96px;height:96px;border-radius:50%;object-fit:cover;opacity:.9}.chx-empty p{margin:0;max-width:460px;color:var(--g4-mu)}.chx-form{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:28px;align-items:start}.chx-form__main{display:flex;flex-direction:column;gap:16px;min-width:0}.chx-card-sec{background:var(--g4-card);border:1px solid var(--g4-line);border-radius:20px;padding:22px}.chx-field{display:flex;flex-direction:column;gap:6px;margin-bottom:16px;position:relative}.chx-field:last-child{margin-bottom:0}.chx-field label{font-size:14px;font-weight:600}.chx-field input,.chx-field textarea,.chx-ai-fill input{width:100%;box-sizing:border-box;border:1px solid var(--g4-line2);background:#0b0a17;border-radius:12px;padding:11px 14px;font:inherit;font-size:15px;color:var(--g4-tx);outline:none;transition:border-color .15s,box-shadow .15s}.chx-field textarea{resize:vertical;min-height:64px;line-height:1.5}.chx-field input:focus,.chx-field textarea:focus,.chx-ai-fill input:focus{border-color:rgba(167,139,250,.6);box-shadow:0 0 0 4px rgba(139,92,246,.14)}.chx-field ::placeholder,.chx-ai-fill ::placeholder{color:var(--g4-fa)}.chx-req{color:#a78bfa}.chx-count{position:absolute;right:2px;top:2px;font-size:12px;color:var(--g4-fa)}.chx-ava-edit{display:flex;gap:20px;align-items:center}.chx-ava-edit__img{position:relative;width:132px;height:132px;flex:none}.chx-ava-edit__img img{width:132px;height:132px;border-radius:28px;object-fit:cover;background:var(--g4-surf2)}.chx-ava-edit__busy{position:absolute;inset:0;border-radius:28px;background:rgba(9,8,20,.78);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;font-size:12.5px;color:var(--g4-mu)}.chx-ava-edit__acts{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0}.chx-ava-styles{display:flex;gap:6px;flex-wrap:wrap}.chx-ava-styles label{cursor:pointer;position:relative}.chx-ava-styles input{position:absolute;opacity:0;pointer-events:none}.chx-ava-styles span{display:inline-block;padding:6px 14px;border-radius:999px;border:1px solid var(--g4-line2);font-size:13px;font-weight:600;color:var(--g4-mu)}.chx-ava-styles input:checked+span{background:rgba(139,92,246,.24);color:#fff;border-color:#a78bfa}.chx-ai-fill{display:flex;flex-direction:column;gap:10px;padding:14px 16px;margin:0 0 18px;border-radius:16px;background:linear-gradient(135deg,rgba(139,92,246,.14),rgba(99,102,241,.08));border:1px solid rgba(167,139,250,.28)}.chx-ai-fill b{display:block;font-size:14.5px}.chx-ai-fill small{color:var(--g4-mu);font-size:13px}.chx-ai-fill__row{display:flex;gap:8px}.chx-ai-fill__row input{flex:1}.chx-vis{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:12px}.chx-vis__opt{cursor:pointer;position:relative}.chx-vis__opt input{position:absolute;opacity:0;pointer-events:none}.chx-vis__opt span{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border-radius:14px;border:1px solid var(--g4-line2);height:100%;box-sizing:border-box;transition:border-color .15s,background .15s}.chx-vis__opt small{color:var(--g4-fa);font-size:12.5px}.chx-vis__opt input:checked+span{border-color:#a78bfa;background:rgba(139,92,246,.2)}.chx-form__bar{position:sticky;bottom:0;display:flex;align-items:center;gap:10px;padding:14px 0;background:linear-gradient(to top,#0b0a18 75%,transparent);z-index:3}.chx-form__msg{flex:1;text-align:right;color:var(--g4-mu);font-size:14px}.chx-form__msg.is-err{color:#f87171}.chx-form__preview{min-width:0}.chx-sticky{position:sticky;top:24px;display:flex;flex-direction:column;gap:10px}.chx-sticky .chx-preview>div{max-width:none}.chx-tips{margin:8px 0 0;padding:14px 16px 14px 32px;background:var(--g4-surf);border-radius:16px;color:var(--g4-mu);font-size:13px;display:flex;flex-direction:column;gap:6px}@media(max-width:1180px){.chx-chat.panel-open .chx-panel{position:absolute;right:0;top:0;bottom:0;z-index:8;box-shadow:-20px 0 60px rgba(0,0,0,.5)}.chx-form{grid-template-columns:minmax(0,1fr)}.chx-form__preview{display:none}}@media(max-width:991px){.chx-app{display:block;width:auto;margin:0;height:auto;min-height:0;border:0;border-radius:0;overflow:visible;background:transparent}.chx-main{overflow:visible;background:#0b0a18;min-height:70vh}.chx-side{position:fixed;left:0;top:0;bottom:0;z-index:10016;width:min(300px,86vw);transform:translateX(-102%);transition:transform .25s ease;box-shadow:20px 0 60px rgba(0,0,0,.5)}.chx-app.side-open .chx-side{transform:none}.chx-side .chx-side__close{display:inline-grid}.chx-app.side-open .chx-scrim{display:block;position:fixed;inset:0;background:rgba(4,3,10,.66);z-index:10015}.chx-mtop{display:flex;align-items:center;justify-content:space-between;position:sticky;top:var(--hdh,0px);z-index:20;padding:8px 10px;background:rgba(11,10,24,.96);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--g4-line)}.chx-mtop__title{display:flex;align-items:center;gap:8px;font-weight:800;font-size:16px;color:#fff}.chx-mtop__title img{width:24px;height:24px}.chx-wrap{padding:18px 16px 48px}.chx-main.is-chat{position:fixed;inset:0;z-index:10010;min-height:0}.chx-chat__burger{display:inline-grid}.chx-prof{grid-template-columns:1fr;justify-items:center;text-align:center;gap:18px}.chx-prof__ava{width:168px;height:168px}.chx-prof__meta,.chx-prof__actions,.chx-tags{justify-content:center}.chx-search{flex-basis:100%}.chx-mine{grid-template-columns:1fr}}@media(max-width:640px){.chx-grid{grid-template-columns:1fr;gap:8px}.chx-row{grid-auto-columns:minmax(260px,84%)}.chx-row--big{grid-auto-columns:minmax(160px,46%)}.chx-card__img{width:76px;height:96px}.chx-chat__head{padding:8px;min-height:56px}.chx-pill span{max-width:90px}.chx-chat__scroll{padding:12px 12px 20px}.chx-msg__ava{width:28px;height:28px}.chx-msg--ai .chx-md,.chx-msg__bubble{font-size:15px}.chx-compose{padding:8px 10px calc(10px + env(safe-area-inset-bottom))}.chx-chat.panel-open .chx-panel{width:100%}.chx-panel__in{width:100%}.chx-vis{grid-template-columns:1fr}.chx-ava-edit{flex-direction:column;align-items:flex-start}.chx-card-sec{padding:16px;border-radius:18px}.chx-ai-fill__row{flex-direction:column}.chx-form__bar{flex-wrap:wrap}.chx-form__bar>*{flex:1}.chx-form__msg{flex-basis:100%;text-align:center;order:-1}.chx-mine__item{flex-wrap:wrap}.chx-mine__acts{width:100%}.chx-mine__acts>*{flex:1}.chx-cta{padding:22px}.chx-sec__head{flex-wrap:wrap}}.chx-md .rp-act{display:block;margin:0 0 .45em}.chx-md .rp-act--end{margin:.45em 0 0}.chx-ri{position:relative}.chx-ri .chx-recent__item{padding-right:40px}.chx-ri__del{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:30px;height:30px;border-radius:9px;border:0;background:rgba(20,18,40,.92);color:#a7aecb;display:grid;place-items:center;cursor:pointer;opacity:0;transition:opacity .15s,color .15s,background .15s}.chx-ri:hover .chx-ri__del,.chx-ri__del:focus-visible{opacity:1}.chx-ri__del:hover{color:#fca5a5;background:rgba(248,113,113,.16)}@media(hover:none){.chx-ri__del{opacity:.75}}.chx-danger{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:16px;height:40px;border-radius:12px;border:1px solid rgba(248,113,113,.28);background:rgba(248,113,113,.07);color:#fca5a5;font:inherit;font-size:14px;font-weight:600;cursor:pointer;transition:background .15s}.chx-danger:hover{background:rgba(248,113,113,.15)}
