body.premium-chat-open{display:flex;flex-direction:column;position:fixed;top:var(--chat-viewport-top,0px);left:0;right:0;height:var(--chat-viewport-height,100dvh);overflow:hidden}
.premium-chat-open .app-header,.premium-chat-open .office-preview-banner,.premium-chat-open #connection{flex:none}
.premium-chat-open #tabs{display:none!important}
.premium-chat-open #app{flex:1;min-height:0;width:100%;max-width:740px;padding:0;margin:0 auto;overflow:hidden}
.premium-chat-open .message-page{height:100%;min-height:0;width:100%;overflow:hidden}
.premium-chat-open .chat-topline{display:flex;align-items:center;gap:8px;padding:6px 12px;background:#fafaf9f0;border-bottom:1px solid var(--line);flex:none}
.premium-chat-open .chat-topline h1{font-family:var(--premium-ui);font-size:16px;line-height:1.5;font-weight:600;margin:0;letter-spacing:.02em;min-width:0}
.premium-chat-open .chat-topline .back{margin:0;flex:none;width:44px;min-height:44px;display:grid;place-items:center;border-radius:50%;padding:8px}
.premium-chat-open .messages{padding:10px 14px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.premium-chat-open .bubble{font-size:15px;line-height:1.65;margin:10px 0;border-radius:17px 17px 17px 4px}
.premium-chat-open .bubble.mine{margin-left:auto;border-radius:17px 17px 4px 17px;background:#dfebf2}
.premium-chat-open .composer{flex:none;display:flex;align-items:flex-end;gap:8px;border-top:1px solid #d9dee5;background:#f9fafb;padding:8px 12px calc(8px + env(safe-area-inset-bottom));margin:0;min-width:0}
.premium-chat-open .composer textarea{flex:1;width:0;min-width:0;min-height:42px;height:42px;max-height:120px;resize:none;overflow:hidden;border:1px solid #dce1e6;border-radius:22px;padding:9px 14px;margin:0;background:white;font-family:var(--premium-ui);font-size:16px;line-height:22px;letter-spacing:0;-webkit-appearance:none;appearance:none}
.premium-chat-open .composer button{display:grid;place-items:center;flex:none;width:44px;height:44px;min-height:44px;border-radius:50%;padding:10px;background:var(--navy)}
.premium-chat-open .composer button:disabled{background:#a5b2be;opacity:.65;cursor:default}
.premium-chat-open .message-page>.inline-warning{flex:none;margin:0;padding:10px 14px}
.premium-chat-open #app>.error{position:absolute;z-index:5;left:12px;right:12px;max-width:700px;margin:auto;font-size:13px}
