/* One bounded conversation, with message-owned scrolling and anchored tools. */
body.chat-open #site{visibility:visible!important}#chat-shade{background:#1a426333!important;backdrop-filter:blur(9px);height:100dvh!important;z-index:210}
#chat.chat22{position:fixed!important;inset:auto 22px 22px auto!important;left:auto!important;top:auto!important;width:min(610px,calc(var(--visual-w,100vw) - 44px))!important;height:min(790px,calc(var(--visual-h,100dvh) - 44px))!important;max-height:none!important;border:1px solid #ffffffea!important;border-radius:28px!important;overflow:hidden;box-shadow:0 32px 100px #102f6050,inset 0 1px #fff;background:linear-gradient(145deg,#f8fcfff7,#eef5fcf2)!important;transform-origin:50% 50%;will-change:transform,opacity;display:flex;flex-direction:column;z-index:220}
#chat.chat22[hidden]{display:none!important}#chat.chat22[data-view22=focus]{inset:20px!important;width:calc(var(--visual-w,100vw) - 40px)!important;height:calc(var(--visual-h,100dvh) - 40px)!important}
#chat.chat22 .chat-head{flex:0 0 auto;min-height:78px;padding:14px 18px;gap:10px;background:linear-gradient(110deg,#ffffffd9,#dfedfb72);user-select:none}#chat.chat22 .chat-heading{flex:1;min-width:0}#chat.chat22 .chat-heading b{font-size:17px}#chat.chat22 .chat-heading small{font-size:10px;margin-top:4px}#chat.chat22 .guide-companion{width:42px;height:42px;flex:0 0 42px;position:relative}#chat.chat22 .guide-companion canvas{display:none}#chat.chat22 .guide-companion img{display:block!important;opacity:1!important;width:42px;height:42px;position:static!important;object-fit:contain}
#chat.chat22 .chat-body{display:flex!important;flex:1;min-height:0;height:auto;overflow:hidden}#chat.chat22 .chat-main{display:flex!important;flex-direction:column;flex:1;min-height:0;min-width:0;position:relative;overflow:hidden}#chat.chat22 .chat-context{flex:none;padding:10px 20px;font-size:10px;min-height:35px}#chat.chat22 .chat-context button{font-size:10px}#chat.chat22 .chat-log{flex:1;min-height:0;overflow-y:auto;padding:20px 26px 28px!important;scrollbar-width:thin;scrollbar-color:#92b3cd88 transparent;scroll-padding:25px}#chat.chat22 .chat-log::-webkit-scrollbar{width:7px}#chat.chat22 .chat-log::-webkit-scrollbar-thumb{background:#8eacc580;border-radius:20px}
#chat.chat22 .chat-composer{position:relative!important;inset:auto!important;transform:none!important;flex:none;width:auto!important;max-width:none!important;margin:0 18px 14px;padding:0;border:0}#chat.chat22 .composer-box{border-radius:22px;padding:10px 12px;background:#ffffffc9;box-shadow:0 5px 24px #143e7010}#chat.chat22 .composer-box textarea{font-size:16px!important;min-height:42px;max-height:130px}#chat.chat22 .composer-caption{font-size:9px;padding:6px 5px 0}#chat.chat22 .composer-actions{margin-top:5px}#chat.chat22 .composer-actions button{font-size:10px}#chat.chat22 .latest-button{bottom:calc(var(--composer-height) + 20px)}
#chat.chat22 .chat-history{position:relative!important;inset:auto!important;flex:0 0 230px;width:230px;min-width:0;height:auto;overflow:auto;padding:20px 14px;background:#e8f1fa96;border-right:1px solid #caddea66}#chat.chat22 .chat-history[hidden]{display:none!important}#chat.chat22 .chat-history p{font-size:9px}.c22-history-search{width:100%;border:1px solid #c6daeb;border-radius:11px;padding:9px 10px;margin:10px 0;background:#fff9;font-size:12px}.c22-history-search:focus-visible{outline:2px solid #287be4}
.c22-welcome{margin:10px auto 20px!important;max-width:700px}.c22-kicker{display:flex;align-items:center;gap:6px;font-size:9px;letter-spacing:.12em;font-weight:650;color:#467194}.c22-kicker>span{width:5px;height:5px;border-radius:50%;background:#0582e8;box-shadow:0 0 0 4px #0582e811}.chat22 .c22-welcome h2{font-size:clamp(27px,3.5vw,44px);line-height:1.1;letter-spacing:-.045em;margin:16px 0}.chat22 .c22-welcome>p{font-size:13px;line-height:1.65;max-width:450px}.c22-suggestions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:24px}.c22-suggestions button{position:relative;padding:15px 30px 15px 14px;text-align:left;border:1px solid #c9dfef;border-radius:18px;background:linear-gradient(145deg,#fff,#e5f1fd96);box-shadow:inset 0 1px #fff,0 5px 15px #1c5c9810;transition:transform .18s,border-color .18s}.c22-suggestions button:nth-child(2){background:linear-gradient(145deg,#fff,#def2f1)}.c22-suggestions button:nth-child(3){background:linear-gradient(145deg,#fff,#ece6fb)}.c22-suggestions button:nth-child(4){background:linear-gradient(145deg,#fff,#f8eedc)}.c22-suggestions button:hover{transform:translateY(-2px);border-color:#85b6e2}.c22-suggestions strong{display:block;font-size:12px;color:#19486b}.c22-suggestions span{display:block;font-size:10px;color:#608099;margin-top:5px}.c22-suggestions i{position:absolute;right:12px;top:16px;font-style:normal;color:#6386a6}.chat22 .c22-preview-note{font-size:10px!important;color:#6a849d;margin-top:20px}
.c22-tools{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-bottom:10px}.c22-modes{display:flex;gap:2px;background:#e8f1fa9c;border-radius:12px;padding:3px}.c22-modes button{font-size:10px;border-radius:9px;padding:5px 9px;color:#547493}.c22-modes [aria-pressed=true]{background:#fff;color:#1265bc;box-shadow:0 2px 6px #1b528217}.c22-reference{max-width:45%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;color:#507ca2;border:1px solid #d2e2ef;border-radius:10px;padding:6px 9px}.c22-tray{position:absolute;z-index:12;bottom:calc(100% + 8px);left:0;right:0;max-height:260px;overflow:auto;overscroll-behavior:contain;background:#f6fbfff7;backdrop-filter:blur(20px);border:1px solid #c7ddee;border-radius:18px;padding:9px;box-shadow:0 -10px 45px #24486820}.c22-tray[hidden]{display:none}.c22-tray-title{padding:7px 10px;font-size:9px;color:#6b869f;text-transform:uppercase;letter-spacing:.08em}.c22-tray button{display:block;text-align:left;padding:9px 12px;width:100%;border-radius:10px;font-size:12px;color:#315f82}.c22-tray [aria-selected=true],.c22-tray button:hover{background:#e0effe;color:#075cac}
.c22-finder{display:flex;align-items:center;gap:7px;padding:8px 16px;background:#e9f2fc;flex:none}.c22-finder[hidden]{display:none}.c22-finder input{min-width:0;flex:1;font-size:14px;border:1px solid #c8dbed;background:#fff;border-radius:9px;padding:8px}.c22-finder span{font-size:10px;white-space:nowrap}.c22-finder button{width:28px;height:28px;border-radius:8px;background:#fff9}.c22-found{outline:2px solid #91bef6;outline-offset:7px;border-radius:12px}.c22-turn-context{display:block;font-size:9px;opacity:.65;margin-top:9px}.chat22 .turn.user{margin-left:auto;max-width:86%;padding:14px 18px;border:1px solid #b9d8f4;border-radius:20px 20px 6px 20px;background:linear-gradient(130deg,#e9f3ff,#ddecfb)}.chat22 .turn{font-size:13px}.chat22 .turn h3{font-size:24px;line-height:1.2;letter-spacing:-.035em}.chat22 .turn p{font-size:13px;line-height:1.7}.chat22 .author{font-size:9px}.chat22 .turn-foot{font-size:9px;flex-wrap:wrap}.chat22 .reply-gallery{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.chat22 .reply-card{border-radius:18px;overflow:hidden;border:1px solid #c6dcf0;background:#fafdff}.chat22 .reply-card img{width:100%;height:180px;object-fit:cover;object-position:top}.chat22 .reply-card>div{padding:14px}.chat22 .reply-card h4{margin:0;font-size:15px}.chat22 .reply-card p{font-size:11px}.c22-gallery{display:grid;gap:12px}.c22-gallery button{border:1px solid #c6dced;border-radius:16px;overflow:hidden;text-align:left;background:#fff}.c22-gallery img{width:100%;height:190px;object-fit:cover;object-position:top}.c22-gallery span{display:block;padding:12px;font-size:12px;color:#315c80}.c22-checklist,.c22-brief{padding:18px;border:1px solid #c8dced;border-radius:18px;background:linear-gradient(135deg,#fefeff,#edf6fd)}.c22-checklist label{display:flex;gap:10px;align-items:center;margin:12px 0;font-size:13px}.c22-checklist input{accent-color:#0769ed;width:17px;height:17px}.c22-checklist p,.c22-brief small{font-size:10px!important;color:#68829b}.c22-brief label{display:block;margin:14px 0;font-size:11px;color:#54728f}.c22-brief textarea{display:block;margin-top:6px;padding:12px;width:100%;max-width:100%;resize:vertical;border:1px solid #c5dcee;border-radius:13px;background:#fff;font:14px/1.5 inherit;color:#214a71}.c22-brief small{display:block;margin-top:10px}.c22-roadmap details{border:1px solid #cadaeb;border-radius:15px;margin:9px 0;padding:14px}.c22-roadmap summary{cursor:pointer;font-size:14px}.c22-roadmap summary span{color:#0784db;margin-right:12px;font-size:11px}.c22-reading{display:grid;gap:10px}.c22-read-card{display:flex;flex-direction:column;gap:8px;border:1px solid #d0e0ee;border-radius:15px;padding:16px;background:#fff;text-decoration:none}.c22-read-card small,.c22-read-card span{font-size:10px;color:#6583a0}.c22-read-card strong{font-size:14px}.c22-shot img{display:block;width:100%;height:auto;border-radius:12px}
@media(max-width:760px){#chat.chat22,#chat.chat22[data-view22=focus]{left:8px!important;right:auto!important;top:calc(var(--chat-top,0px) + 8px)!important;bottom:auto!important;width:calc(var(--visual-w,100vw) - 16px)!important;height:calc(var(--visual-h,100dvh) - 16px)!important;border-radius:22px!important}#chat.chat22 .chat-head{min-height:69px;padding:12px;gap:7px}#chat.chat22 .chat-heading b{font-size:15px}#chat.chat22 .chat-heading small{font-size:8px}#chat.chat22 .chat-head .ib{width:30px;height:32px;flex:0 0 30px}#chat.chat22 [data-chat22=expand]{display:none}#chat.chat22 .chat-log{padding:18px 17px 24px!important}#chat.chat22 .chat-composer{margin:0 10px 10px}#chat.chat22 .chat-history{position:absolute!important;inset:0!important;z-index:10;width:100%;background:#f3f8fff5;backdrop-filter:blur(25px)}.c22-welcome h2{font-size:31px!important}.c22-suggestions{gap:8px;margin-top:18px}.c22-suggestions button{padding:13px 20px 13px 12px}.c22-suggestions strong{font-size:11px}.c22-suggestions span{font-size:9px}.c22-suggestions i{right:8px;top:12px}.c22-modes button{padding:5px 7px}.c22-reference{max-width:42%;font-size:9px}.c22-brief textarea,.c22-finder input,.c22-history-search{font-size:16px!important}.chat22 .chat-context>span{max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(max-height:560px){#chat.chat22 .chat-head{min-height:56px;padding-block:8px}#chat.chat22 .chat-context{display:none}#chat.chat22 .c22-tools{margin-bottom:4px}#chat.chat22 .composer-box textarea{min-height:28px}#chat.chat22 .composer-caption{display:none}#chat.chat22 .chat-composer{margin-bottom:8px}.chat22 .c22-welcome h2{font-size:29px}}
html[data-theme=dark] #chat.chat22{background:linear-gradient(140deg,#17374ff7,#10273cf5)!important;border-color:#5b819d!important;color:#e2effb}html[data-theme=dark] #chat.chat22 .chat-head{background:#20455e}html[data-theme=dark] #chat.chat22 .composer-box,html[data-theme=dark] .c22-tray{background:#18364bed;color:#e4f1fc;border-color:#547890}html[data-theme=dark] .c22-suggestions button,html[data-theme=dark] .chat22 .turn.user,html[data-theme=dark] .c22-brief,html[data-theme=dark] .c22-checklist,html[data-theme=dark] .c22-read-card,html[data-theme=dark] .chat22 .reply-card{background:#244861;color:#e2f1fc;border-color:#4c7693}html[data-theme=dark] .c22-suggestions strong,html[data-theme=dark] .c22-suggestions span{color:#d5e9fa}html[data-theme=dark] .c22-modes{background:#2b526b}html[data-theme=dark] .c22-modes [aria-pressed=true]{background:#3d6d92;color:#fff}html[data-theme=dark] #chat.chat22 .chat-history{background:#19374c}html[data-theme=dark] .c22-brief textarea{background:#17344a;color:#e3f1fc;border-color:#547994}@media(prefers-reduced-motion:reduce){.c22-suggestions button{transition:none}#chat.chat22{will-change:auto}}

#chat.chat22 .c22-product>button{display:block;width:100%;height:170px;overflow:hidden;padding:0;background:#eaf3fd}#chat.chat22 .c22-product>button img{display:block;width:100%;height:100%!important;object-fit:cover!important;object-position:top!important}#chat.chat22 .c22-product>div{padding:14px}

html[data-theme=dark] .c22-modes button{color:#b5d0e4}html[data-theme=dark] .c22-modes [aria-pressed=true]{color:#fff}
