@font-face{font-family:Instrument Sans;font-style:normal;font-weight:400 700;font-stretch:100%;font-display:swap;src:url(../media/62f37606a5bd6f6f-s.3wn_q526zaolu.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Instrument Sans;font-style:normal;font-weight:400 700;font-stretch:100%;font-display:swap;src:url(../media/4cf231d25563e07b-s.p.3uuun_-7zsf1g.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Instrument Sans Fallback;src:local(Arial);ascent-override:94.42%;descent-override:24.33%;line-gap-override:0.0%;size-adjust:102.74%}.hccXaq_className{font-family:Instrument Sans,Instrument Sans Fallback;font-style:normal}.hccXaq_variable{--font-sans:"Instrument Sans", "Instrument Sans Fallback"}
@font-face{font-family:Newsreader;font-style:normal;font-weight:400;font-display:swap;src:url(../media/07ada52535bdea5d-s.2ym9msm88vm4r.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Newsreader;font-style:normal;font-weight:400;font-display:swap;src:url(../media/ebba1bee165cb80a-s.08jxdyhjmo52g.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Newsreader;font-style:normal;font-weight:400;font-display:swap;src:url(../media/75cb990346c55dc4-s.p.23oeb0afa3wba.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Newsreader;font-style:normal;font-weight:500;font-display:swap;src:url(../media/07ada52535bdea5d-s.2ym9msm88vm4r.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Newsreader;font-style:normal;font-weight:500;font-display:swap;src:url(../media/ebba1bee165cb80a-s.08jxdyhjmo52g.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Newsreader;font-style:normal;font-weight:500;font-display:swap;src:url(../media/75cb990346c55dc4-s.p.23oeb0afa3wba.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Newsreader Fallback;src:local(Times New Roman);ascent-override:69.68%;descent-override:25.12%;line-gap-override:0.0%;size-adjust:105.48%}.FqszJW_className{font-family:Newsreader,Newsreader Fallback;font-style:normal}.FqszJW_variable{--font-serif:"Newsreader", "Newsreader Fallback"}
@font-face{font-family:Poppins;font-style:normal;font-weight:400;font-display:swap;src:url(../media/41c98a3b1bc68f3a-s.3xzwb88tucl-q.woff2)format("woff2");unicode-range:U+900-97F,U+1CD0-1CF4,U+1CF7-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B0A}@font-face{font-family:Poppins;font-style:normal;font-weight:400;font-display:swap;src:url(../media/e84c5cd1ffbefa6f-s.20csvlgbb63y1.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Poppins;font-style:normal;font-weight:400;font-display:swap;src:url(../media/dd9dfc3601372168-s.p.17e3l4txdrufi.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Poppins;font-style:normal;font-weight:500;font-display:swap;src:url(../media/599675dea67dcb8d-s.0ewdtdf6ai7o-.woff2)format("woff2");unicode-range:U+900-97F,U+1CD0-1CF4,U+1CF7-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B0A}@font-face{font-family:Poppins;font-style:normal;font-weight:500;font-display:swap;src:url(../media/cdf6f527ee34c972-s.03ilua6xb7p2f.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Poppins;font-style:normal;font-weight:500;font-display:swap;src:url(../media/22a701959b157a82-s.p.1bg6trwi21i5q.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Poppins;font-style:normal;font-weight:600;font-display:swap;src:url(../media/1b6340a83cf1ecee-s.2bakuypqc5dou.woff2)format("woff2");unicode-range:U+900-97F,U+1CD0-1CF4,U+1CF7-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B0A}@font-face{font-family:Poppins;font-style:normal;font-weight:600;font-display:swap;src:url(../media/d89abe7e263475e6-s.0fg7ryy-bp2x_.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Poppins;font-style:normal;font-weight:600;font-display:swap;src:url(../media/6bafae418e8a1b08-s.p.2g9xiodaln20i.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Poppins Fallback;src:local(Arial);ascent-override:93.62%;descent-override:31.21%;line-gap-override:8.92%;size-adjust:112.16%}.mXTyEa_className{font-family:Poppins,Poppins Fallback;font-style:normal}.mXTyEa_variable{--font-poppins:"Poppins", "Poppins Fallback"}
:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#fbfaf7;--sunk:#f3f1ec;--surface:#fff;--raised:#ebe9e3;--paper:#f8f6f0;--text:#1c2320;--text-2:#4d5650;--muted:#656b66;--line:#1c232017;--line-strong:#1c232029;--accent:#21664e;--accent-hover:#1a523f;--accent-soft:#e2ece5;--presence:#2f9a63;--away:#b98a3a;--danger:#b42318;--danger-soft:#fbeae8;--warn-soft:#f6efdc;--ease:cubic-bezier(.22, 1, .36, 1);--sans:var(--font-sans), "Instrument Sans", system-ui, sans-serif;--serif:var(--font-serif), "Newsreader", Georgia, serif;font-family:var(--sans);background:var(--sunk);color:var(--text);-webkit-font-smoothing:antialiased;font-size:14px;line-height:20px}*{box-sizing:border-box}body{background:var(--sunk);margin:0}h1,h2,p{margin:0}button,input,textarea{font:inherit;color:inherit;font-weight:400}a{color:var(--accent);text-underline-offset:4px}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.icon{flex-shrink:0}.muted{color:var(--muted)}.small,small{font-size:13px;line-height:20px}.error{color:var(--danger)}.center{text-align:center}.figure,.count,time{font-variant-numeric:tabular-nums}.count{color:var(--muted);margin-left:4px;font-size:12px;font-weight:400}button,.button{border:1px solid var(--line-strong);background:var(--surface);height:32px;color:var(--text);white-space:nowrap;cursor:pointer;transition:background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease), transform .15s var(--ease);border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:0 12px;font-size:13px;font-weight:500;text-decoration:none;display:inline-flex}button:hover:not(:disabled){background:var(--sunk)}button:active:not(:disabled){transform:scale(.98)}button:disabled{cursor:default;opacity:.5}.primary{background:var(--accent);border-color:var(--accent);color:#fff}button.primary:hover:not(:disabled),.button.primary:hover{background:var(--accent-hover);border-color:var(--accent-hover)}.large{height:44px;padding:0 20px;font-size:15px}.text-button{height:32px;color:var(--text-2);background:0 0;border:0;padding:0 8px;font-weight:400}.text-button:hover:not(:disabled){color:var(--text);background:#1c23200d}.icon-button{width:40px;height:40px;color:var(--text-2);flex-shrink:0;padding:0}kbd{border:1px solid var(--line-strong);background:var(--surface);height:18px;color:var(--text-2);border-bottom-width:2px;border-radius:4px;align-items:center;margin-left:2px;padding:0 4px;font-family:inherit;font-size:11px;line-height:1;display:inline-flex}label{color:var(--text);gap:6px;font-size:13px;font-weight:500;display:grid}input,textarea{border:1px solid var(--line-strong);background:var(--surface);width:100%;color:var(--text);transition:border-color .15s var(--ease);border-radius:8px;font-size:14px}input{height:40px;padding:0 12px}textarea{resize:vertical;padding:10px 12px;line-height:22px}input::placeholder,textarea::placeholder{color:var(--muted)}input:focus-visible,textarea:focus-visible{border-color:var(--accent);outline:0;box-shadow:0 0 0 3px #21664e1f}.presence{background:var(--presence);border-radius:50%;flex-shrink:0;width:8px;height:8px;display:inline-block}.presence.offline{background:var(--away)}.presence.idle{background:#a3a5ad}.brand{color:var(--text);align-items:center;gap:8px;font-size:16px;font-weight:600;line-height:1;text-decoration:none;display:inline-flex}.brand-mark{color:var(--accent)}.auth-shell{--bg:#f9fbfc;--surface:#fff;--sunk:#eeeff9;--raised:#dbddf9;--paper:#eeeff9;--text:#0a0a0f;--text-2:#4a4c4e;--muted:#636466;--line:#0a0a0f14;--line-strong:#0a0a0f24;--accent:#6669de;--accent-hover:#5a5dd0;--accent-soft:#eeeff9;--sans:var(--font-poppins), system-ui, "Noto Sans Thai", sans-serif;min-height:100dvh;color:var(--text);font-family:var(--sans);background:#fff;place-items:center;padding:24px 16px;display:grid}.auth-card{border:1px solid var(--line);background:#fff;border-radius:24px;flex-direction:column;width:min(100%,440px);padding:40px;display:flex;box-shadow:0 8px 32px #0a0a0f14}.auth-card .brand{margin-bottom:28px;font-size:16px}.auth-card h1{letter-spacing:-.01em;margin-bottom:28px;font-size:24px;font-weight:500;line-height:32px}.auth-shell{--text-accent:#5c5499}.auth-card .brand{font-weight:500}.auth-card input{border-radius:12px;height:44px}.auth-card input:focus-visible{box-shadow:0 0 0 3px #6669de2e}.auth-card .primary.large{border-radius:12px;height:44px;font-size:15px}.auth-card a{color:var(--text-accent)}.auth-card .reveal{border-radius:8px;width:32px;height:32px;bottom:6px;right:6px}.auth-card .reveal:hover:not(:disabled){background:var(--sunk)}.auth-card .avatar-grid{max-width:none}.auth-card .avatar-choice input:checked~.avatar{box-shadow:0 0 0 2px #fff, 0 0 0 4px var(--accent)}.stack{flex-direction:column;gap:20px;display:flex}.field{gap:6px;display:grid}.field-help{color:var(--muted);font-size:12px;line-height:16px}.stack .primary{margin-top:4px}.password-wrap{position:relative}.password-wrap input{padding-right:44px}.reveal{width:32px;height:32px;color:var(--muted);background:0 0;border:0;padding:0;position:absolute;bottom:4px;right:4px}.reveal:hover:not(:disabled){color:var(--text);background:#1c23200d}.auth-switch{color:var(--text-2);margin-top:20px;font-size:14px}.loading-shell{justify-items:start;gap:16px;max-width:480px;margin:15vh auto;padding:32px;display:grid}.loading-shell h1{font-family:var(--serif);font-size:32px;font-weight:400;line-height:1.15}.avatar{background:var(--raised);border-radius:30%;flex-shrink:0;width:44px;height:44px;display:inline-flex;position:relative}.avatar.sm{width:32px;height:32px}.avatar.lg{width:56px;height:56px}.avatar.ghost{visibility:hidden}.avatar img{object-fit:cover;border-radius:30%;width:100%;height:100%;display:block}.avatar .presence{width:12px;height:12px;box-shadow:0 0 0 2px var(--ring,var(--bg));position:absolute;bottom:-3px;right:-3px}.avatar.sm .presence{width:10px;height:10px}.bot-badge{background:var(--accent);color:#fff;width:18px;height:18px;box-shadow:0 0 0 2px var(--ring,var(--bg));border-radius:50%;place-items:center;display:grid;position:absolute;bottom:-4px;right:-4px}.avatar.group-stack{background:0 0}.stack-a,.stack-b{background:var(--raised);width:68%;height:68%;color:var(--muted);box-shadow:0 0 0 2px var(--ring,var(--bg));border-radius:30%;place-items:center;display:grid;position:absolute}.stack-a{top:0;left:0}.stack-b{bottom:0;right:0}.stack-a img,.stack-b img{border-radius:30%;width:100%;height:100%}.avatar-picker{border:0;gap:8px;min-width:0;margin:0;padding:0;display:grid}.avatar-picker legend{margin-bottom:8px;padding:0;font-size:13px;font-weight:500}.avatar-grid{grid-template-columns:repeat(auto-fill,minmax(48px,1fr));gap:8px;max-width:400px;display:grid}.avatar-choice{cursor:pointer;border-radius:30%;display:block;position:relative}.avatar-choice input{opacity:0;z-index:1;cursor:pointer;border:0;width:100%;height:100%;margin:0;padding:0;position:absolute;inset:0}.avatar-choice .avatar{aspect-ratio:1;opacity:.72;width:100%;height:auto;transition:opacity .15s var(--ease), box-shadow .15s var(--ease)}.avatar-choice:hover .avatar{opacity:1}.avatar-choice input:checked~.avatar{opacity:1;box-shadow:0 0 0 2px var(--bg), 0 0 0 4px var(--accent)}.avatar-choice input:focus-visible~.avatar{outline:2px solid var(--accent);outline-offset:4px}.grammar-menu,.grammar-panel{z-index:50;border:1px solid var(--line);background:var(--surface);animation:pop-in .18s var(--ease);position:fixed;box-shadow:0 8px 24px #1c23201a,0 1px 2px #1c23200f}.grammar-menu{border-radius:10px;min-width:192px;padding:4px}.grammar-panel{border-radius:12px;width:340px;max-width:calc(100vw - 16px);padding:12px;font-size:14px}.grammar-item{width:100%;height:32px;color:var(--text);border:0;border-radius:6px;justify-content:flex-start;padding:0 10px;font-size:14px;font-weight:400}.grammar-item .icon{color:var(--muted)}.grammar-label{color:var(--muted);margin-bottom:8px;font-size:12px;font-weight:500;line-height:16px}.grammar-status{align-items:center;gap:8px;line-height:20px;display:flex}.grammar-status.ok{color:var(--accent)}.grammar-status.error{color:var(--danger)}.grammar-diff{background:var(--paper);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:6px;max-height:220px;padding:10px 12px;font-size:15px;line-height:24px;overflow-y:auto}.diff-del{color:var(--danger);text-decoration:line-through;text-decoration-thickness:1.5px}.diff-add{color:var(--accent-hover);text-underline-offset:3px;background:#21664e1a;border-radius:3px;-webkit-text-decoration:underline #21664e80;text-decoration:underline #21664e80}.grammar-actions{justify-content:flex-end;gap:8px;margin-top:12px;display:flex}.grammar-spinner{border:2px solid var(--line-strong);border-top-color:var(--accent);border-radius:50%;flex-shrink:0;width:14px;height:14px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pop-in{0%{opacity:0;transform:translateY(4px)}}.bot-manager{flex:1;width:100%;max-width:760px;padding:24px 32px 32px;overflow-y:auto}.bot-manager-head{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.bot-note{max-width:60ch;color:var(--text-2);font-size:14px;line-height:22px}.bot-manager>.error,.bot-manager>.muted{margin-top:16px}.bot-list{flex-direction:column;gap:8px;margin:24px 0 16px;padding:0;list-style:none;display:flex}.bot-list li{border:1px solid var(--line);background:var(--surface);border-radius:12px;justify-content:space-between;align-items:center;gap:16px;padding:12px 12px 12px 16px;display:flex}.bot-list strong{font-weight:500}.bot-status{color:var(--muted);align-items:center;gap:6px;font-size:12px;line-height:16px;display:flex}.bot-actions{gap:8px;display:flex}.bot-manager>.primary+.small{margin-top:8px}.bot-form{flex-direction:column;gap:20px;margin-top:24px;display:flex}.field-count{align-self:flex-end;margin-top:-12px;font-size:12px}.bot-templates{border:1px solid var(--line);background:var(--surface);border-radius:12px;flex-direction:column;gap:16px;margin:0;padding:16px 20px 20px;display:flex}.bot-templates legend{padding:0 6px;font-size:14px;font-weight:500}.bot-templates>.small{margin-top:-4px}.bot-template{border-bottom:1px solid var(--line);gap:12px;padding-bottom:16px;display:grid}.bot-template .text-button{justify-self:start;margin-left:-8px}.bot-template .text-button:hover:not(:disabled){color:var(--danger)}.add-template{align-self:flex-start}.bot-toggle{align-items:center;gap:8px;font-weight:400;display:flex}.bot-toggle input{width:16px;height:16px;accent-color:var(--accent);margin:0}@media (max-width:480px){.auth-shell{align-items:stretch;padding:0}.auth-card{width:100%;box-shadow:none;border:0;border-radius:0;padding:24px 20px 32px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:1ms!important;animation-duration:1ms!important}}
.workspace{--rail:#212023;--rail-active:#464646;--rail-text:#afaeb1;--bg:#f9fbfc;--surface:#fff;--sunk:#eeeff9;--raised:#dbddf9;--paper:#eeeff9;--text:#0a0a0f;--text-2:#4a4c4e;--muted:#636466;--text-accent:#5c5499;--text-sender:#201d48;--placeholder:#656479;--line:#0a0a0f14;--line-strong:#0a0a0f24;--accent:#6669de;--accent-hover:#5a5dd0;--accent-bright:#7678e7;--accent-soft:#eeeff9;--presence:#2f9a63;--sans:var(--font-poppins), system-ui, "Noto Sans Thai", sans-serif;background:var(--rail);height:100dvh;color:var(--text);font-family:var(--sans);grid-template-columns:76px minmax(0,1fr);font-size:14px;line-height:20px;display:grid}.workspace :focus-visible{outline-color:var(--accent)}.workspace input,.workspace textarea{border-radius:12px}.rail{flex-direction:column;align-items:center;gap:2px;min-height:0;padding:20px 8px;display:flex;overflow-y:auto}.rail :focus-visible{outline-color:#fff}.rail-logo{color:#fff;flex-shrink:0;place-items:center;width:40px;height:40px;margin-bottom:16px;display:grid}.rail-logo .brand-mark{color:#fff}.rail-item{width:100%;height:auto;color:var(--rail-text);background:0 0;border:0;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:10px 2px;font-size:11px;font-weight:400;line-height:14px;display:flex}.rail-item:hover:not(:disabled){color:#fff;background:#ffffff0f}.rail-item[aria-pressed=true],.rail-item[aria-pressed=true]:hover:not(:disabled){background:var(--rail-active);color:#fff}.rail-spacer{flex:1;min-height:12px}.rail-divider{background:#ffffff2e;flex-shrink:0;width:32px;height:1px;margin:6px 0}.rail-account{width:100%;color:var(--rail-text);flex-direction:column;align-items:center;gap:4px;padding:6px 2px;font-size:11px;line-height:14px;display:flex}.rail-account span:last-child{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.panel{background:var(--bg);border-radius:28px 0 0 28px;grid-template-columns:300px minmax(0,1fr);min-width:0;min-height:0;display:grid;overflow:hidden}.sidebar{flex-direction:column;min-height:0;padding-top:20px;display:flex}.list-tools{gap:8px;padding:0 16px 12px;display:flex}.search-label{min-width:0;color:var(--text);flex:1;display:block;position:relative}.search-label .icon{pointer-events:none;position:absolute;top:11px;left:14px}.search-label input{background:var(--raised);border:0;border-radius:14px;height:40px;padding:0 12px 0 40px;font-size:14px}.search-label input::placeholder{color:var(--text-2)}.icon-button{background:var(--sunk);width:40px;height:40px;color:var(--text-accent);border:0;border-radius:14px;flex-shrink:0;padding:0}.icon-button.quiet{width:36px;height:36px;color:var(--text-2);background:0 0}.icon-button.quiet:hover:not(:disabled){background:var(--surface)}.sidebar-scroll{flex:1;padding:0 8px 20px;overflow-y:auto}.sidebar h2{color:var(--muted);align-items:baseline;margin:8px 12px;font-size:12px;font-weight:500;line-height:16px;display:flex}.empty-note{color:var(--muted);padding:4px 12px;font-size:13px;line-height:20px}.room-row{--ring:var(--bg);text-align:left;width:100%;height:auto;min-height:60px;color:var(--text);white-space:normal;background:0 0;border:0;border-radius:16px;justify-content:flex-start;align-items:center;gap:12px;margin-bottom:2px;padding:8px 10px;font-size:14px;font-weight:400;display:flex}.room-row:hover:not(:disabled){background:#eeeff999}.room-row:disabled{opacity:1}.room-row.selected,.room-row.selected:hover:not(:disabled){--ring:var(--sunk);background:var(--sunk)}.row-body{flex-direction:column;flex:1;min-width:0;display:flex}.row-top{align-items:baseline;gap:8px;display:flex}.row-time{color:var(--muted);font-variant-numeric:tabular-nums;flex-shrink:0;font-size:12px;line-height:16px}.row-title{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}.row-sub{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:16px;overflow:hidden}.row-sub .you{color:var(--text-accent)}.count{color:var(--muted);font-variant-numeric:tabular-nums;margin-left:6px;font-size:12px;font-weight:400}.chat-column{background:var(--bg);flex-direction:column;min-width:0;min-height:0;display:flex}.chat-header{justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 28px 12px;display:flex}.chat-title{min-width:0}.chat-title h1{letter-spacing:0;overflow-wrap:anywhere;font-size:22px;font-weight:500;line-height:28px}.subtitle{color:var(--muted);margin-top:2px;font-size:13px;line-height:20px}.header-actions{flex-shrink:0;align-items:center;gap:16px;padding-top:2px;display:flex}.with-icon{border-radius:12px}.connection{color:var(--muted);white-space:nowrap;align-items:center;gap:8px;font-size:12px;display:flex}.notice{color:var(--text-2);background:#f6efdc;border-radius:14px;flex-wrap:wrap;align-items:center;gap:8px;margin:0 28px 8px;padding:8px 14px;font-size:13px;display:flex}.notice.error{background:var(--danger-soft);color:var(--danger)}.notice button{height:28px;padding:0 10px;font-size:12px}.welcome{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:8px;min-height:280px;padding:28px;display:flex}.welcome h2{font-size:24px;font-weight:500;line-height:32px}.welcome p{max-width:26rem;color:var(--muted);font-size:14px;line-height:22px}.welcome .welcome-online{align-items:center;gap:8px;margin-top:4px;font-size:13px;display:inline-flex}.welcome .primary{margin-top:12px}.members{max-height:104px;color:var(--text-2);flex-wrap:wrap;align-items:center;gap:6px;padding:0 28px 10px;font-size:12px;display:flex;overflow-y:auto}.members strong{color:var(--muted);margin-right:4px;font-weight:500}.members>span{background:var(--sunk);border-radius:12px;align-items:center;gap:6px;height:24px;padding:0 10px;display:inline-flex}.members .text-button{height:24px;font-size:12px}.message-list{flex-direction:column;flex:1;gap:8px;min-height:0;padding:8px 28px 16px;display:flex;overflow-y:auto}.message{align-self:flex-start;align-items:flex-end;gap:10px;max-width:min(80%,620px);display:flex}.message.own{align-self:flex-end}.bubble{background:var(--sunk);border-radius:20px;min-width:0;padding:10px 16px 8px}.message.own .bubble{background:var(--accent);color:#fff}.bubble .sender{color:var(--text-sender);margin-bottom:2px;font-size:13px;font-weight:500;line-height:18px;display:block}.bubble p{color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:22px}.message.own .bubble p{color:#fff}.bubble time{text-align:right;color:var(--muted);font-variant-numeric:tabular-nums;margin-top:2px;font-size:11px;line-height:14px;display:block}.message.own .bubble time{color:#fff}.message.pending .bubble{opacity:.8}.message.pending small{text-align:right;color:#fff;margin-top:2px;font-size:11px;line-height:14px;display:block}.message.pending .small{color:#fff;margin-top:4px}.message.pending button{margin-top:8px}.empty-conversation{text-align:center;color:var(--muted);gap:4px;margin:auto;display:grid}.empty-conversation p{color:var(--text);font-size:15px;font-weight:500}.history-button{align-self:center}.typing{color:var(--muted);margin:0 4px;font-size:12px}.composer{margin:0 28px 20px}.composer-box{background:var(--sunk);transition:box-shadow .15s var(--ease);border-radius:20px;align-items:flex-end;gap:4px;padding:6px 6px 6px 18px;display:flex}.composer-box:focus-within{box-shadow:0 0 0 2px var(--accent-bright)}.composer-box.over,.composer-box.over:focus-within{box-shadow:0 0 0 2px var(--danger)}.composer-box textarea{resize:none;field-sizing:content;background:0 0;border:0;border-radius:0;flex:1;min-height:36px;max-height:180px;padding:8px 0;font-size:14px;line-height:20px;display:block}.composer-box textarea::placeholder{color:var(--placeholder)}.composer-box textarea:focus-visible{box-shadow:none;border:0}.send{border-radius:12px;flex-shrink:0;width:36px;height:36px;padding:0}.dialog{background:var(--surface);width:min(420px,100vw - 32px);max-height:calc(100dvh - 48px);color:var(--text);border:0;border-radius:20px;padding:24px;overflow-y:auto;box-shadow:0 16px 48px #0a0a0f2e}.dialog::backdrop{background:#0a0a0f66}.dialog h2{overflow-wrap:anywhere;margin-bottom:16px;font-size:18px;font-weight:500;line-height:24px}.dialog form{gap:16px;display:grid}.dialog label{font-size:13px}.dialog-actions{justify-content:flex-end;gap:8px;display:flex}.bot-manager{padding:4px 28px 28px}.bot-list li,.bot-templates{border-radius:16px}.bot-list li{justify-content:flex-start;gap:12px}.bot-list .bot-name{flex:1;min-width:0}.bot-actions{margin-left:auto}@media (max-width:1100px){.panel{grid-template-columns:280px minmax(0,1fr)}}@media (max-width:900px){.workspace{grid-template-columns:68px minmax(0,1fr)}.rail{padding:16px 6px}.panel{border-radius:24px 0 0 24px;grid-template-columns:250px minmax(0,1fr)}.chat-header{padding:16px 20px 10px}.members{padding:0 20px 10px}.notice{margin:0 20px 8px}.message-list{padding:8px 20px 16px}.composer{margin:0 20px 16px}.bot-manager{padding:4px 20px 20px}}@media (max-width:700px){.workspace{flex-direction:column;height:auto;min-height:100dvh;display:flex}.rail{flex-direction:row;justify-content:space-between;gap:2px;padding:6px 10px;overflow:visible}.rail-logo,.rail-spacer,.rail-divider,.rail-account{display:none}.rail-item{border-radius:14px;padding:6px 2px}.panel{border-radius:24px 24px 0 0;flex-direction:column;display:flex}.sidebar{max-height:50dvh;padding-top:16px}.chat-column{height:85dvh;min-height:480px}.chat-header{padding:16px 16px 8px}.chat-title h1{font-size:20px;line-height:26px}.header-actions{gap:8px}.members{padding-left:16px;padding-right:16px}.notice{margin:0 16px 8px}.message-list{padding:8px 16px 12px}.message{gap:8px;max-width:92%}.composer{margin:0 12px 12px}.welcome h2{font-size:22px;line-height:28px}.bot-manager{padding:4px 16px 20px}.bot-manager-head{flex-direction:column-reverse;gap:16px}.bot-list li{flex-wrap:wrap}}.list-section{color:var(--muted,#666);margin:12px 16px 4px;font-size:13px;font-weight:600}.dialog.wide{width:min(640px,100vw - 32px)}
