:root{--text:#2a2a2e;--text-muted:#6b6375;--bg:#fff;--bg-raised:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-hover:#9a22ff;--error-bg:#fdecec;--error-border:#f3b4b4;--error-text:#8a1f1f;--ok-bg:#eefaf0;--ok-border:#b7e4c0;--ok-text:#1f7a3d;--warn-bg:#fff6e0;--warn-border:#f0d78c;--warn-text:#7a5b00;--shadow:0 1px 2px #0000000d, 0 1px 1px #00000008;--shadow-lg:0 12px 32px #140a1e1f, 0 4px 10px #140a1e0f;--focus-ring:#aa3bff59;--debugbar-height:44px;--chat-bg:#efeae2;--bubble-own-bg:#fff;--bubble-own-text:#111b21;--bubble-other-bg:#fff;--bubble-other-text:var(--text);--bubble-tick-read:#53bdeb;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;font:15px/1.55 system-ui,Segoe UI,Roboto,sans-serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--text:#e5e4e7;--text-muted:#9ca3af;--bg:#16171d;--bg-raised:#1c1d24;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-hover:#d1a3fd;--error-bg:#2a1414;--error-border:#5a2323;--error-text:#f3b4b4;--ok-bg:#12241a;--ok-border:#234a30;--ok-text:#86efac;--warn-bg:#2a2410;--warn-border:#5a4a1c;--warn-text:#f0d78c;--shadow:0 1px 2px #0000004d, 0 1px 1px #0003;--shadow-lg:0 20px 48px #00000073, 0 6px 16px #0000004d;--focus-ring:#c084fc66;--chat-bg:#0b141a;--bubble-other-bg:var(--code-bg)}}@keyframes fade-in{0%{opacity:0}}@keyframes scale-in{0%{opacity:0;transform:translateY(4px)scale(.98)}}*{box-sizing:border-box}html,body{height:100%;overflow-x:hidden}body{margin:0}#root{max-width:760px;min-height:100vh;margin:0 auto;padding:0 20px 72px}html.chat-mode,html.chat-mode body{height:100%;overflow:hidden}html.chat-mode #root{flex-direction:column;height:100vh;min-height:0;padding-bottom:0;display:flex;overflow:hidden}@supports (height:100dvh){html.chat-mode #root{height:100dvh}}html.chat-mode .app-shell{flex-direction:column;flex:1;min-height:0;display:flex}html.chat-mode .app-shell__content{flex:1;min-height:0;display:flex;overflow:hidden}html.chat-mode .app-shell__content>.chat{flex:1;min-height:0}h1{letter-spacing:-.01em;margin:0 0 16px;font-size:20px;font-weight:600}h2{letter-spacing:-.01em;margin:24px 0 8px;font-size:15px;font-weight:600}form{flex-direction:column;gap:12px;margin-bottom:16px;display:flex}label{color:var(--text-muted);flex-direction:column;gap:4px;font-size:13px;display:flex}input,textarea,select{font:inherit;border:1px solid var(--border);color:var(--text);background:0 0;border-radius:6px;outline:none;padding:8px 10px;transition:border-color .15s,box-shadow .15s}input:hover,textarea:hover,select:hover{border-color:var(--text-muted)}input:focus,textarea:focus,select:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--focus-ring)}input:disabled,textarea:disabled,select:disabled{opacity:.6;cursor:not-allowed}input[type=checkbox]{border:none;width:auto;padding:0}.checkbox-label{flex-direction:row;align-items:center;gap:8px}.media-preview{justify-content:center;padding:8px 0;display:flex}.media-preview__image{object-fit:contain;border-radius:8px;max-width:100%;max-height:220px}.media-preview__image--sticker{border-radius:0;max-height:140px}.media-preview__video{border-radius:8px;max-width:100%;max-height:220px}.media-preview__doc{color:var(--text-muted);font-size:13.5px}select,select option{background:var(--bg-raised);color:var(--text)}button{font:inherit;border:1px solid var(--accent);background:var(--accent);color:#fff;cursor:pointer;border-radius:6px;outline:none;width:fit-content;padding:8px 14px;font-size:14px;font-weight:500;transition:background-color .15s,border-color .15s,opacity .15s,transform 80ms,box-shadow .15s}button:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}button:active:not(:disabled){transform:scale(.98)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{box-shadow:0 0 0 3px var(--focus-ring)}button:disabled{opacity:.5;cursor:not-allowed;transform:none}.input-with-toggle{display:flex;position:relative}.input-with-toggle input{flex:1;padding-right:56px}.input-with-toggle__toggle{width:fit-content;color:var(--text-muted);background:0 0;border:none;padding:4px 8px;font-size:12px;font-weight:500;position:absolute;top:50%;right:4px;transform:translateY(-50%)}.input-with-toggle__toggle:hover:not(:disabled){color:var(--text);background:var(--code-bg);transform:translateY(-50%)}.btn-secondary{color:var(--text);border-color:var(--border);background:0 0}.btn-secondary:hover:not(:disabled){background:var(--code-bg);border-color:var(--border)}.btn-danger{color:var(--error-text);border-color:var(--error-border);background:0 0}.btn-danger:hover:not(:disabled){background:var(--error-bg);border-color:var(--error-border)}.button-row{flex-wrap:wrap;gap:8px;margin-bottom:16px;display:flex}.button-row--centered{justify-content:center}.button-row input{flex:1;min-width:120px}a{color:var(--accent);transition:color .15s}a:hover{color:var(--accent-hover)}code{background:var(--code-bg);border-radius:3px;padding:1px 5px;font-family:ui-monospace,Consolas,monospace;font-size:.9em}::selection{background:var(--accent);color:#fff}*{scrollbar-width:thin;scrollbar-color:var(--border) transparent}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background-color:var(--border);border:2px solid var(--bg);border-radius:8px}.screen{flex-direction:column;padding-top:24px;display:flex}.screen__header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.screen__header h1{margin-bottom:0}.card{background:var(--bg-raised);border:1px solid var(--border);border-radius:12px;padding:20px}.app-shell__header{border-bottom:1px solid var(--border);background:var(--bg-raised);box-shadow:var(--shadow);z-index:10;flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:16px;margin:0 -20px 24px;padding:10px 20px;display:flex;position:sticky;top:0}.app-shell__title{letter-spacing:-.01em;align-items:center;gap:10px;min-width:0;font-weight:600;display:flex}.app-shell__logo{background:var(--accent);color:#fff;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:26px;height:26px;font-size:13px;font-weight:700;display:inline-flex}.app-shell__title-text{flex-direction:column;min-width:0;line-height:1.3;display:flex}.app-shell__name{font-size:14px}.app-shell__role{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,Consolas,monospace;font-size:11px;font-weight:400;overflow:hidden}.app-shell__nav{flex-shrink:0;gap:4px;display:flex}.app-shell__header .btn-danger{flex-shrink:0}.app-shell__nav a{color:var(--text-muted);white-space:nowrap;border-radius:6px;padding:6px 10px;font-size:13px;font-weight:600;text-decoration:none;transition:background-color .15s,color .15s}.app-shell__nav a:hover{color:var(--text)}.app-shell__nav a.active{color:var(--accent);background:var(--accent-bg)}.error-banner{background:var(--error-bg);border:1px solid var(--error-border);color:var(--error-text);border-radius:6px;margin-bottom:16px;padding:10px 12px;font-size:13px}.error-banner ul{margin:8px 0 0;padding-left:18px}.success-banner{background:var(--ok-bg);border:1px solid var(--ok-border);color:var(--ok-text);border-radius:6px;margin-bottom:16px;padding:10px 12px;font-size:13px}.tabs{flex-wrap:wrap;gap:4px;margin-bottom:16px;display:flex}.tab{width:fit-content;font:inherit;color:var(--text-muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;padding:6px 12px;font-size:13px;font-weight:600}button.tab:hover{color:var(--text);background:var(--code-bg)}.tab--active{color:var(--accent);background:var(--accent-bg)}.pager{align-items:center;gap:12px;margin-bottom:16px;display:flex}.pager__info{color:var(--text-muted);font-size:12px}.json-panel{border:1px solid var(--border);border-radius:6px;margin-top:8px;overflow:hidden}.json-panel--ok{border-color:var(--ok-border)}.json-panel--error{border-color:var(--error-border)}.json-panel__status{background:var(--code-bg);padding:6px 10px;font-size:12px;font-weight:600}.json-panel pre{max-height:400px;margin:0;padding:12px;font-size:12px;overflow:auto}html.debug-bar-open #root{padding-bottom:calc(45vh + 48px)}html.debug-bar-open.chat-mode #root{padding-bottom:0}.debug-bar{z-index:60;background:var(--bg-raised);border-top:1px solid var(--border);position:fixed;bottom:0;left:0;right:0;box-shadow:0 -2px 10px #00000014}.debug-bar__panel{border-bottom:1px solid var(--border);max-height:45vh;padding:12px 16px;animation:.15s ease-out fade-in;overflow-y:auto}.debug-bar__toggle{width:100%;font:inherit;color:var(--text);cursor:pointer;background:0 0;border:none;border-radius:0;align-items:center;gap:12px;padding:8px 16px;display:flex}button.debug-bar__toggle:hover{background:0 0}.debug-bar__label{text-transform:uppercase;letter-spacing:.03em;color:var(--text-muted);font-size:11px;font-weight:600}.debug-bar__path{min-width:0;color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;text-align:left;flex:1;font-family:ui-monospace,Consolas,monospace;font-size:12px;overflow:hidden}.debug-bar__status{border:1px solid var(--ok-border);background:var(--ok-bg);border-radius:999px;padding:2px 8px;font-size:12px;font-weight:600}.debug-bar__status--error{border-color:var(--error-border);background:var(--error-bg);color:var(--error-text)}.debug-bar__hint{color:var(--text-muted);margin-left:auto;font-size:12px}.debug-bar__tabs{gap:4px;margin-bottom:10px;display:flex}.debug-bar__tab{width:fit-content;font:inherit;border:1px solid var(--border);color:var(--text-muted);cursor:pointer;background:0 0;border-radius:6px;padding:4px 10px;font-size:12px;font-weight:600}button.debug-bar__tab:hover{color:var(--text);border-color:var(--text-muted);background:0 0}.debug-bar__tab--active{color:var(--accent);border-color:var(--accent);background:var(--accent-bg)}.debug-bar__log-select{width:100%;max-width:100%;margin-bottom:12px;font-family:ui-monospace,Consolas,monospace;font-size:12px}.loading-spinner{color:var(--text-muted);align-items:center;gap:10px;padding:12px 0;font-size:13px;display:flex}.loading-spinner__dot{border:2px solid var(--border);border-top-color:var(--accent);border-radius:50%;flex-shrink:0;width:16px;height:16px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.hint{color:var(--text-muted);margin-bottom:18px;font-size:13px;line-height:1.55}.active-profile-banner{background:var(--accent-bg);border:1px solid var(--border);border-radius:6px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;padding:8px 12px;font-size:13px;display:flex}.badge{border:1px solid var(--border);text-transform:capitalize;white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:2px 10px;font-size:12px;font-weight:600;display:inline-flex}.badge__dot{border-radius:50%;flex-shrink:0;width:6px;height:6px}.badge--ok{background:var(--ok-bg);border-color:var(--ok-border)}.badge--ok .badge__dot{background:var(--ok-text)}.badge--warn{background:var(--warn-bg);border-color:var(--warn-border);color:var(--warn-text)}.badge--warn .badge__dot{background:var(--warn-text)}.badge--danger{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.badge--danger .badge__dot{background:var(--error-text)}.badge--neutral{background:var(--code-bg);color:var(--text-muted)}.badge--neutral .badge__dot{background:var(--text-muted)}.resource-list{flex-direction:column;gap:8px;margin:0 0 16px;padding:0;list-style:none;display:flex}.resource-list li{border:1px solid var(--border);background:var(--bg-raised);border-radius:8px;align-items:center;gap:12px;padding:10px 14px;font-size:13px;transition:border-color .15s,box-shadow .15s,transform .15s;display:flex}.resource-list.is-busy{opacity:.55;pointer-events:none}.resource-list li:hover{border-color:var(--accent);box-shadow:var(--shadow);transform:translateY(-1px)}.resource-list__main{flex:1;align-items:center;gap:10px;min-width:0;display:flex}.resource-list__id{color:var(--text-muted);font-size:12px}.conversation-list__body{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.conversation-list__preview{min-width:0;color:var(--text-muted);align-items:center;gap:4px;font-size:12px;display:flex}.conversation-list__preview-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.resource-list--links li{padding:0}.resource-list__link{min-width:0;color:var(--text);border-radius:8px;flex:1;align-items:center;gap:12px;padding:10px 14px;text-decoration:none;display:flex}.resource-list__link:hover{color:var(--text)}.resource-list__link .resource-list__main strong{align-items:center;min-width:0;display:flex}.resource-list__time{color:var(--text-muted);flex-direction:column;flex-shrink:0;align-items:flex-end;gap:4px;font-size:12px;display:flex}.unread-badge{background:var(--accent);color:#fff;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;min-width:18px;height:18px;padding:0 5px;font-size:11px;font-weight:600;line-height:1;display:inline-flex}.avatar{background:var(--accent-bg);width:30px;height:30px;color:var(--accent);text-transform:uppercase;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:13px;font-weight:700;display:inline-flex}.section{border-top:1px solid var(--border);margin-top:18px;padding-top:18px}.section:first-of-type{border-top:none;margin-top:0;padding-top:0}.chat{height:100%;min-height:0;padding-top:20px;padding-bottom:var(--debugbar-height);flex-direction:column;display:flex}.chat__header{flex:none}.chat__identity{align-items:center;gap:10px;margin-bottom:4px;display:flex}.chat__identity-text{flex-direction:column;flex:1;min-width:0;display:flex}.chat__identity h1{align-items:center;min-width:0;margin:0;display:flex}.presence-name-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.presence-dot{vertical-align:middle;border-radius:50%;flex-shrink:0;width:8px;height:8px;margin-left:6px;display:inline-block}.presence-dot--online{background:#22c55e}.presence-dot--offline{background:var(--text-muted)}.chat__typing-indicator{color:var(--accent);margin:0;font-size:12px;font-style:italic}.chat__day{background:var(--code-bg);border:1px solid var(--border);color:var(--text-muted);text-transform:uppercase;letter-spacing:.03em;border-radius:999px;align-self:center;margin:6px 0;padding:4px 12px;font-size:11px;font-weight:600;animation:.2s ease-out fade-in}.chat__messages{background:var(--chat-bg);border-radius:8px;flex-direction:column;flex:auto;gap:2px;min-height:0;padding:4px 2px;display:flex;overflow:hidden auto}.bubble-row:not(.bubble-row--grouped){margin-top:10px}@keyframes message-in{0%{opacity:0;transform:translateY(6px)}}.chat__composer{border-top:1px solid var(--border);flex-direction:row;flex:none;align-items:flex-end;gap:8px;margin:12px 0 0;padding-top:12px}.chat__composer-field{background:var(--code-bg);border:1px solid #0000;border-radius:999px;flex:1;align-items:flex-end;min-width:0;transition:border-color .15s,box-shadow .15s;display:flex}.chat__composer-field:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--focus-ring)}.chat__composer-field textarea{appearance:none;min-width:0;box-shadow:none;-webkit-tap-highlight-color:transparent;resize:none;max-height:120px;font:inherit;background:0 0;border:none;outline:none;flex:1;padding:10px 16px;line-height:1.4;overflow-y:hidden}.chat__composer-field textarea:focus{box-shadow:none}.chat__composer button{border-radius:22px;flex-shrink:0;padding:10px 20px}.bubble-row{align-items:center;gap:10px;width:100%;animation:.18s ease-out message-in;display:flex;position:relative}.bubble-row--business{justify-content:flex-end}.bubble-row--consumer{justify-content:flex-start}.bubble{max-width:78%;box-shadow:var(--shadow);overflow-wrap:anywhere;white-space:pre-wrap;border-radius:18px;flex-direction:column;gap:4px;padding:9px 13px;font-size:13.5px;display:flex;position:relative}.bubble--business{background:var(--bubble-own-bg);color:var(--bubble-own-text);border-bottom-right-radius:4px}.bubble--consumer{background:var(--bubble-other-bg);color:var(--bubble-other-text);border:1px solid var(--border);border-bottom-left-radius:4px}.bubble-row--grouped .bubble--business{border-top-right-radius:4px}.bubble-row--grouped .bubble--consumer{border-top-left-radius:4px}.bubble-row--grouped-next .bubble--business{border-bottom-right-radius:18px}.bubble-row--grouped-next .bubble--consumer{border-bottom-left-radius:18px}.bubble__meta{text-transform:uppercase;letter-spacing:.02em;align-items:center;gap:6px;font-size:10.5px;display:flex}.bubble__meta-time{opacity:.75}.bubble__retry{color:inherit;opacity:1;text-transform:uppercase;letter-spacing:.02em;background:#00000026;border:none;border-radius:8px;align-items:center;gap:3px;padding:2px 6px;font-size:10px;display:inline-flex}.bubble__retry:hover{background:#00000059}.bubble__retry:disabled{opacity:.6}.bubble__more-anchor{z-index:2;opacity:0;transition:opacity .12s;display:inline-flex;position:absolute;top:6px;right:6px}.bubble-row:hover .bubble__more-anchor,.bubble__more-anchor.is-open{opacity:1}.bubble__more-toggle{color:#fff;background:#00000073;border:none;border-radius:50%;flex:none;justify-content:center;align-items:center;width:26px;height:26px;padding:0;transition:background-color .12s,transform 80ms;display:flex;box-shadow:0 1px 4px #00000059}.bubble__more-toggle:active{transform:scale(.88)}.bubble__more-toggle:hover{background:#000000a6}.bubble__more-menu{z-index:5;background:var(--bg-raised);border:1px solid var(--border);box-shadow:var(--shadow-lg);border-radius:10px;flex-direction:column;gap:2px;margin-top:6px;padding:6px;animation:.12s ease-out bubble-react-popup-in;display:flex;position:absolute;top:100%;right:0}.bubble__more-menu--above{margin-top:0;margin-bottom:6px;top:auto;bottom:100%}.bubble__more-menu--flip-x{left:0;right:auto}.bubble__more-menu button{color:var(--text);text-align:left;white-space:nowrap;background:0 0;border:none;border-radius:6px;align-items:center;gap:8px;padding:7px 12px;font-size:12.5px;display:flex}.bubble__more-menu button:hover{background:var(--accent-bg)}.bubble__more-menu button.is-destructive{color:var(--error-text)}.bubble__more-menu button:disabled{opacity:.5}.bubble__quote{opacity:.85;background:#0000001f;border-left:3px solid;border-radius:4px;flex-direction:column;gap:1px;margin-bottom:2px;padding:4px 8px;font-size:12px;display:flex}.bubble--consumer .bubble__quote{background:#0000000f}.bubble__quote-sender{font-size:11px;font-weight:600}.bubble__quote-preview{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chat__reply-preview{background:var(--code-bg);border-left:3px solid var(--accent);border-radius:10px;align-items:center;gap:10px;margin-bottom:8px;padding:8px 12px;display:flex}.chat__reply-preview-body{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.chat__reply-preview-sender{color:var(--accent);font-size:12px;font-weight:600}.chat__reply-preview-text{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;overflow:hidden}.chat__reply-preview-cancel{color:var(--text-muted);background:0 0;border:none;flex:none;padding:4px;font-size:18px;line-height:1}.chat__reply-preview-cancel:hover{color:var(--text)}.bubble__deleted{opacity:.7;align-items:center;gap:6px;font-size:13px;font-style:italic;display:flex}.emoji-picker{z-index:6;background:var(--bg-raised);border:1px solid var(--border);width:260px;height:280px;box-shadow:var(--shadow-lg);border-radius:12px;flex-direction:column;margin-bottom:6px;animation:.12s ease-out bubble-react-popup-in;display:flex;position:absolute;bottom:100%;right:0;overflow:hidden}.emoji-picker--below{margin-top:6px;margin-bottom:0;top:100%;bottom:auto}.emoji-picker--flip-x{left:0;right:auto}.emoji-picker__search-row{flex:none;margin:8px}.emoji-picker__search{border:1px solid var(--border);background:var(--bg);width:100%;color:var(--text);border-radius:8px;padding:6px 10px;font-size:13px}.emoji-picker__search-toggle{border:1px solid var(--border);background:var(--bg);width:100%;color:var(--text-muted);border-radius:8px;align-items:center;gap:6px;padding:6px 10px;font-size:13px;display:flex}.emoji-picker__scroll{flex:auto;padding:0 8px 8px;overflow-y:auto}.emoji-picker__category-label{text-transform:uppercase;letter-spacing:.03em;color:var(--text-muted);padding:4px 2px;font-size:10.5px;font-weight:600}.emoji-picker__grid{grid-template-columns:repeat(6,1fr);gap:2px;display:grid}.emoji-picker__grid button{background:0 0;border:none;border-radius:6px;padding:4px;font-size:19px;line-height:1.4}.emoji-picker__grid button:hover{background:var(--accent-bg)}.emoji-picker__empty{color:var(--text-muted);text-align:center;padding:12px 4px;font-size:12px}.emoji-sheet-backdrop{display:none}.bubble__media{flex-direction:column;gap:6px;display:flex}.bubble__media-image{object-fit:cover;border-radius:10px;max-width:100%;max-height:260px}.bubble__media-image--sticker{border-radius:0;max-height:120px}.bubble__media-video{border-radius:10px;max-width:100%;max-height:260px}.doc-card{color:inherit;width:100%;max-width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;flex-direction:column;gap:8px;padding:4px 0 8px;text-decoration:none;display:flex}.doc-card__thumbnail{object-fit:cover;border-radius:8px;width:100%;max-height:220px;display:block}.doc-card__row{align-items:center;gap:10px;display:flex}.doc-card__badge{color:#fff;letter-spacing:.02em;border-radius:7px;flex:none;justify-content:center;align-items:center;width:38px;height:38px;font-size:10px;font-weight:700;display:flex}.doc-card__info{flex-direction:column;gap:1px;min-width:0;display:flex}.doc-card__filename{text-overflow:ellipsis;white-space:nowrap;font-size:13.5px;font-weight:600;overflow:hidden}.doc-card__meta{opacity:.65;font-size:11.5px}.doc-preview__backdrop{z-index:1000;background:#0009;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.doc-preview__panel{background:var(--bg-raised);color:var(--text);width:min(720px,100%);height:min(85vh,900px);box-shadow:var(--shadow-lg);border-radius:12px;flex-direction:column;display:flex;overflow:hidden}.doc-preview__header{border-bottom:1px solid var(--border);flex:none;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;display:flex}.doc-preview__filename{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;font-weight:600;overflow:hidden}.doc-preview__actions{flex:none;gap:2px;display:flex}.doc-preview__action{cursor:pointer;color:inherit;background:0 0;border:none;border-radius:6px;padding:7px;font-size:16px;line-height:1}.doc-preview__action:hover{background:var(--code-bg)}.doc-preview__body{flex:1;min-height:0}.doc-preview__frame{background:#fff;border:none;width:100%;height:100%}.doc-preview__fallback{text-align:center;height:100%;color:var(--text-muted);flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:24px;display:flex}.doc-preview__fallback-download{background:var(--accent);color:#fff;cursor:pointer;border:none;border-radius:8px;padding:9px 18px;font-size:14px;font-weight:600}.audio-player{align-items:center;gap:8px;min-width:180px;display:flex}.audio-player__toggle{width:32px;height:32px;color:inherit;background:#00000026;border:none;border-radius:50%;flex:none;justify-content:center;align-items:center;padding:0;display:flex}.bubble--consumer .audio-player__toggle{background:#00000014}.audio-player__track{cursor:pointer;background:#00000026;border-radius:2px;flex:auto;height:4px}.bubble--consumer .audio-player__track{background:#0000001f}.audio-player__progress{opacity:.85;background:currentColor;border-radius:2px;height:100%}.audio-player__time{opacity:.75;font-variant-numeric:tabular-nums;flex:none;font-size:11px}.bubble__media-caption{font-size:13.5px}.bubble__link-preview{color:inherit;background:#0000001f;border-radius:8px;flex-direction:column;margin-top:6px;text-decoration:none;display:flex;overflow:hidden}.bubble--consumer .bubble__link-preview{background:#0000000f}.bubble__link-preview-image{object-fit:cover;width:100%;height:120px}.bubble__link-preview-body{flex-direction:column;gap:2px;padding:8px 10px;display:flex}.bubble__link-preview-title{text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12.5px;font-weight:600;display:-webkit-box;overflow:hidden}.bubble__link-preview-description{opacity:.85;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;display:-webkit-box;overflow:hidden}.bubble__link-preview-site{text-transform:uppercase;letter-spacing:.03em;opacity:.7;font-size:10.5px}.bubble__header-text{margin-bottom:4px;font-weight:600;display:block}.bubble__header-media{margin-bottom:6px}.bubble__header-image{border-radius:8px;width:100%;display:block}.bubble__header-placeholder{background:#0000001f;border-radius:8px;justify-content:center;align-items:center;height:96px;font-size:13px;display:flex}.bubble__header-video{border-radius:8px;width:100%;max-height:220px;display:block}.bubble__footer{opacity:.65;margin-top:4px;font-size:11.5px;display:block}.bubble__buttons{border-top:1px solid #0000001f;flex-direction:column;margin-top:6px;padding-top:6px;display:flex}.bubble__button{text-align:center;color:inherit;border-bottom:1px solid #0000001f;padding:7px 4px;font-size:13px;font-weight:600;text-decoration:none}.bubble__button:last-child{border-bottom:none}.bubble__button--answered{opacity:.5}.bubble__reaction-anchor{display:inline-block;position:relative}.bubble__reaction{color:inherit;font:inherit;cursor:pointer;background:#00000014;border:none;border-radius:10px;align-items:center;margin-top:4px;padding:1px 7px;font-size:13.5px;line-height:1.4;display:inline-flex}.bubble-row--mine .bubble__reaction{background:#00000026}.bubble__reaction:hover{background:#0003}.bubble__reactors-popup{z-index:5;background:var(--bg-raised);border:1px solid var(--border);min-width:190px;box-shadow:var(--shadow-lg);border-radius:10px;flex-direction:column;gap:2px;margin-bottom:6px;padding:6px;animation:.12s ease-out bubble-react-popup-in;display:flex;position:absolute;bottom:100%;right:0}.bubble__reactors-popup--below{margin-top:6px;margin-bottom:0;top:100%;bottom:auto}.bubble__reactors-popup--flip-x{left:0;right:auto}.bubble__reactors-row{color:var(--text);border-radius:6px;align-items:center;gap:8px;padding:5px 8px;font-size:12.5px;display:flex}.bubble__reactors-emoji{flex-shrink:0;font-size:16px;line-height:1}.bubble__reactors-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.bubble__reactors-time{color:var(--text-muted);flex-shrink:0;font-size:11px}.bubble__contacts,.bubble__location{flex-direction:column;gap:2px;font-size:13.5px;display:flex}.bubble__contact{flex-direction:column;display:flex}.bubble__location a{color:inherit}.bubble__interactive-prompt{margin:0;font-size:13.5px;font-style:italic}.bubble__interactive-selection{background:#0000000f;border-radius:8px;flex-direction:column;gap:1px;padding:6px 10px;font-size:13.5px;display:inline-flex}.bubble__interactive-selection-description{opacity:.75;font-size:12px}.bubble__address{flex-direction:column;gap:2px;font-size:13.5px;display:flex}.interactive-section{border:1px solid var(--border);background:var(--bg);border-radius:8px;flex-direction:column;gap:8px;margin:8px 0;padding:12px;display:flex}.interactive-row{border:1px dashed var(--border);border-radius:6px;flex-direction:column;gap:8px;padding:10px;display:flex}.interactive-section__header,.interactive-row__header{justify-content:space-between;align-items:center;gap:8px;display:flex}.interactive-section__title-field{flex:1;min-width:0}.interactive-row__label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.03em;font-size:11.5px;font-weight:600}.interactive-remove{background:var(--code-bg);width:22px;height:22px;color:var(--text-muted);cursor:pointer;border:none;border-radius:50%;flex:none;justify-content:center;align-items:center;font-size:15px;line-height:1;display:inline-flex}.interactive-remove:hover{background:var(--error-bg);color:var(--error-text)}.interactive-add{border:1px dashed var(--border);color:var(--accent);cursor:pointer;background:0 0;border-radius:999px;align-self:flex-start;padding:6px 14px;font-size:13px;font-weight:600}.interactive-add:hover:not(:disabled){background:var(--accent-bg);border-color:var(--accent)}.interactive-add:disabled{opacity:.5;cursor:not-allowed;color:var(--text-muted)}.interactive-limit-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.interactive-limit-hint{color:var(--text-muted);font-size:12px}.field-label-row{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.char-counter{color:var(--text-muted);white-space:nowrap;font-size:11px;font-weight:400}.char-counter--low{color:var(--error-text);font-weight:600}.bubble__react-more{background:var(--code-bg);color:var(--text-muted);border:none;border-radius:50%;flex:none;align-self:center;width:22px;height:22px;font-size:15px;line-height:1}.bubble__react-more:hover{background:var(--accent-bg);color:var(--accent)}.bubble__react-toggle{color:var(--text-muted);opacity:.55;background:0 0;border:none;border-radius:50%;flex:none;justify-content:center;align-items:center;padding:5px;font-size:16px;line-height:1;transition:opacity .12s,transform 80ms;display:inline-flex}.bubble__react-toggle:active{transform:scale(.88)}button.bubble__react-toggle:hover{opacity:1;background:0 0}.bubble__react-anchor{align-self:flex-end;display:inline-flex;position:relative}.bubble__react-popup{z-index:5;background:var(--code-bg);border-radius:24px;gap:4px;margin-bottom:6px;padding:6px 10px;animation:.12s ease-out bubble-react-popup-in;display:flex;position:absolute;bottom:100%;right:0;box-shadow:0 6px 20px #00000059}.bubble__react-popup--below{margin-top:6px;margin-bottom:0;top:100%;bottom:auto}.bubble__react-popup--flip-x{left:0;right:auto}@keyframes bubble-react-popup-in{0%{opacity:0;transform:scale(.85)translateY(4px)}to{opacity:1;transform:scale(1)translateY(0)}}.bubble__react-popup button{background:0 0;border:none;border-radius:50%;padding:2px;font-size:20px;line-height:1;transition:transform .1s}.bubble__react-popup button:hover{transform:scale(1.25)}.bubble__react-popup button:disabled{opacity:.5}.chat__composer-wrapper{flex:none;position:relative}button.chat__attach{width:36px;height:36px;color:var(--text-muted);background:0 0;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;padding:0;transition:background-color .15s,color .15s,transform 80ms;display:flex}.chat__attach:hover:not(:disabled){background:var(--code-bg);color:var(--text)}.chat__attach:active:not(:disabled){transform:scale(.9)}.chat__attach--active{background:var(--accent-bg);color:var(--accent)}@keyframes rise-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.sticker-picker{background:var(--bg);border-top:1px solid var(--border);grid-template-columns:repeat(6,1fr);gap:4px;max-height:220px;padding:10px;animation:.15s ease-out rise-in;display:grid;position:absolute;bottom:100%;left:0;right:0;overflow-y:auto;box-shadow:0 -2px 10px #00000014}.sticker-picker__item{background:0 0;border:none;border-radius:8px;padding:8px 0;font-size:26px;line-height:1;transition:background-color .12s,transform .1s}.sticker-picker__item:hover{background:var(--code-bg);transform:scale(1.12)}.sticker-picker__item:disabled{opacity:.5;cursor:not-allowed}.chat__attach-grid{background:var(--bg);border:1px solid var(--border);border-radius:14px;grid-template-columns:repeat(4,1fr);gap:18px 4px;margin-bottom:4px;padding:20px 12px;animation:.15s ease-out rise-in;display:grid;position:absolute;bottom:100%;left:0;right:0;box-shadow:0 -2px 10px #00000014}.chat__attach-tile{width:100%;color:var(--text);background:0 0;border:none;flex-direction:column;align-items:center;gap:6px;padding:0;font-size:12px;display:flex}.chat__attach-tile:hover:not(:disabled){background:0 0}.chat__attach-tile-icon{color:#fff;border-radius:50%;justify-content:center;align-items:center;width:48px;height:48px;transition:transform .1s;display:flex}.chat__attach-tile:hover:not(:disabled) .chat__attach-tile-icon{transform:scale(1.08)}.chat__attach-tile:active:not(:disabled) .chat__attach-tile-icon{transform:scale(.94)}.chat__attach-tile-icon svg{width:24px;height:24px}.chat__attach-tile-icon--gallery{background:#b23fc9}.chat__attach-tile-icon--document{background:#5f6dee}.chat__attach-tile-icon--audio{background:#ea8331}.chat__attach-tile-icon--sticker{background:#f0a91e}.chat__attach-tile-icon--contact{background:#4e7fd8}.chat__attach-tile-icon--location{background:#16b897}.chat__attach-tile-icon--location-request{background:#0e8f78}.chat__attach-tile-icon--address{background:#b9862e}.chat__attach-tile-icon--list{background:#6b4fbb}.chat__attach-tile-icon--buttons{background:#2f9e6e}.chat__attach-tile-icon--cta-url{background:#d1495b}.chat__rich-form{background:var(--bg);border:1px solid var(--border);border-radius:10px;max-height:min(70vh,520px);margin-bottom:4px;padding:12px;animation:.15s ease-out rise-in;position:absolute;bottom:100%;left:0;right:0;overflow-y:auto;box-shadow:0 -2px 10px #00000014}.chat__rich-form h3{margin:0 0 8px;font-size:13px}.empty-state{color:var(--text-muted);text-align:center;border:1px dashed var(--border);border-radius:8px;margin-bottom:16px;padding:24px 0;font-size:13px}.auth-layout{justify-content:center;align-items:center;width:100vw;min-height:100vh;margin-left:calc(50% - 50vw);padding:24px;display:flex;position:relative;overflow:hidden}.auth-layout__glow{pointer-events:none;opacity:.15;filter:blur(64px);background:var(--accent);border-radius:50%;width:640px;height:640px;position:absolute;top:-160px;left:50%;transform:translate(-50%)}.auth-layout__card{background:var(--bg-raised);border:1px solid var(--border);width:100%;max-width:420px;box-shadow:var(--shadow-lg);border-radius:16px;padding:32px;animation:.15s cubic-bezier(.16,1,.3,1) scale-in;position:relative}.auth-layout__brand{align-items:center;gap:10px;margin-bottom:24px;display:flex}.auth-layout__logo{background:var(--accent);color:#fff;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;font-size:15px;font-weight:700;display:inline-flex}.auth-layout__brand-text{flex-direction:column;line-height:1.3;display:flex}.auth-layout__brand-name{font-size:14px;font-weight:600}.auth-layout__brand-subtitle{color:var(--text-muted);font-size:12px}.auth-layout__footer{border-top:1px solid var(--border);color:var(--text-muted);margin-top:16px;padding-top:16px;font-size:13px;line-height:1.55}.w-full{width:100%}@media (width<=720px){#root{padding-left:14px;padding-right:14px}.app-shell__header{flex-wrap:wrap;margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.app-shell__nav{scrollbar-width:none;order:3;width:100%;overflow-x:auto}.app-shell__nav::-webkit-scrollbar{display:none}.tabs{scrollbar-width:none;flex-wrap:nowrap;overflow-x:auto}.tabs::-webkit-scrollbar{display:none}.card{padding:14px}.bubble{max-width:88%}.resource-list li,.pager{flex-wrap:wrap}.emoji-sheet-backdrop{z-index:10;background:#00000073;animation:.15s ease-out emoji-sheet-backdrop-in;display:block;position:fixed;inset:0}.emoji-picker{z-index:11;border-radius:16px 16px 0 0;width:100%;height:65vh;max-height:65vh;margin:0;animation:.2s ease-out emoji-sheet-in;position:fixed;inset:auto 0 0}}@keyframes emoji-sheet-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes emoji-sheet-in{0%{transform:translateY(100%)}to{transform:translateY(0)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.resource-list li:hover{transform:none}}.env-switcher{border:1px solid var(--border);background:var(--bg);border-radius:999px;align-items:center;gap:2px;padding:2px;display:inline-flex}.env-switcher__option{appearance:none;color:var(--text-muted);font:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:999px;padding:5px 10px;font-size:.72rem;font-weight:600;line-height:1}.env-switcher__option:hover:not(:disabled){color:var(--text);background:var(--accent-bg)}.env-switcher__option:disabled{cursor:default;opacity:1;color:#fff;background:var(--accent)}.env-switcher__option--production:disabled{background:var(--error-text)}.env-switcher-row{justify-content:center;margin-bottom:16px;display:flex}.env-switcher-row--left{justify-content:flex-start}
