.gaiha-chat-root,.gaiha-chat-root *{box-sizing:border-box}.gaiha-chat-root{--gc-bg:#fff;--gc-muted:#8b93a1;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;color:#20252d;font-size:14px;background:#fff;width:100%;height:min(810px,calc(100dvh - 130px));min-height:540px;line-height:1.45;border:1px solid #edf0f4;border-radius:18px;overflow:hidden;isolation:isolate}.gaiha-chat-root button,.gaiha-chat-root input{font:inherit}.gaiha-chat-root button{cursor:pointer}.gaiha-chat-root .gc-app{height:100%;display:grid;grid-template-columns:minmax(205px,25%) minmax(0,1fr) minmax(190px,23%);min-width:0}.gaiha-chat-root .gc-side,.gaiha-chat-root .gc-center,.gaiha-chat-root .gc-editor-panel{min-width:0;min-height:0;background:#fff}.gaiha-chat-root .gc-side{border-right:1px solid #edf0f4;display:flex;flex-direction:column;padding:20px 12px}.gaiha-chat-root .gc-brand{display:flex;justify-content:space-between;align-items:center;padding:0 12px}.gaiha-chat-root .gc-brand-icon{font-size:35px;line-height:1;color:#1e2a38}.gaiha-chat-root .gc-compose-link{background:#fff;border:1px solid #e7ebf2;border-radius:11px;width:38px;height:38px}.gaiha-chat-root .gc-tagline{font-size:12px;color:var(--gc-muted);padding:10px 12px 20px}.gaiha-chat-root .gc-tab.active{color:#2365c7;font-weight:600;border-bottom:2px solid #3585fb}.gaiha-chat-root .gc-conversations{overflow-y:auto;flex:1;min-height:0;padding-top:10px}.gaiha-chat-root .gc-conversation{border:0;width:100%;background:#fff;display:flex;align-items:center;gap:12px;text-align:left;border-radius:12px;padding:12px 10px;color:inherit}.gaiha-chat-root .gc-conversation.selected,.gaiha-chat-root .gc-conversation:hover{background:#eef5ff}.gaiha-chat-root .gc-avatar,.gaiha-chat-root .gc-room-avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;flex:none;background:#dcecff}.gaiha-chat-root .gc-room-avatar{display:grid;place-items:center;color:#3585f0;font-size:24px}.gaiha-chat-root .gc-person-info{min-width:0}.gaiha-chat-root .gc-person-info strong{font-size:13px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gaiha-chat-root .gc-person-info small{font-size:11px;color:#929ba8;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px}.gaiha-chat-root .gc-center{display:flex;flex-direction:column}.gaiha-chat-root .gc-thread-head{height:78px;flex:none;border-bottom:1px solid #edf0f4;display:flex;align-items:center;gap:13px;padding:14px 18px}.gaiha-chat-root .gc-room-symbol{display:grid;place-items:center;width:43px;height:43px;border-radius:50%;background:#e4f1ff;color:#3278d9;font-size:22px}.gaiha-chat-root .gc-thread-title{min-width:0}.gaiha-chat-root .gc-thread-title strong{display:block;font-size:17px}.gaiha-chat-root .gc-thread-title small{display:block;color:#929ba8;font-size:11px;margin-top:5px}.gaiha-chat-root .gc-feed{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:23px;padding:26px 18px}.gaiha-chat-root .gc-line{display:flex;gap:10px;align-items:flex-start;max-width:100%}.gaiha-chat-root .gc-line.mine{justify-content:flex-end}.gaiha-chat-root .gc-line .gc-avatar{width:34px;height:34px}.gaiha-chat-root .gc-message-detail{max-width:calc(100% - 45px);min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:7px}.gaiha-chat-root .gc-line.mine .gc-message-detail{align-items:flex-end}.gaiha-chat-root .gc-message-meta{display:flex;gap:10px;font-size:12px;font-weight:600;align-items:center}.gaiha-chat-root .gc-message-meta time{color:#949eab;font-weight:400}.gaiha-chat-root .gc-bubble{background:#f4f6f8;border-radius:12px;padding:11px 14px;white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%}.gaiha-chat-root .mine .gc-bubble{background:#e5f0ff}.gaiha-chat-root .gc-script{writing-mode:vertical-lr;text-orientation:mixed;max-height:min(220px,35dvh);min-height:55px;overflow-x:auto;overflow-y:hidden;font-family:var(--gaiha-chat-mongol-font,'Noto Sans Mongolian',serif);font-size:17px;line-height:1.8;white-space:pre-wrap}.gaiha-chat-root .gc-status{min-height:26px;color:#8893a2;font-size:11px;padding:0 20px}.gaiha-chat-root .gc-editor-panel{border-left:1px solid #edf0f4;display:flex;flex-direction:column;padding:16px;gap:12px}.gaiha-chat-root .gc-editor-head{display:flex;align-items:center;justify-content:space-between;font-size:14px}.gaiha-chat-root .gc-editor-head span{color:#a8b0ba}.gaiha-chat-root .gc-edit{flex:1;min-height:0;width:100%;border:1px solid #dfe5ec;border-radius:13px;padding:17px;outline:none;overflow:auto;user-select:text;-webkit-user-select:text;font-size:17px;line-height:1.8;background:#fff;white-space:pre-wrap}.gaiha-chat-root .gc-edit:focus{border-color:#6b9ce2;box-shadow:0 0 0 2px #e8f2ff}.gaiha-chat-root .gc-edit:empty:before{content:attr(data-placeholder);color:#bac2ce;pointer-events:none}.gaiha-chat-root .gc-edit-mn{writing-mode:vertical-lr;text-orientation:mixed;overflow-x:auto;overflow-y:hidden;font-family:var(--gaiha-chat-mongol-font,'Noto Sans Mongolian',serif)}.gaiha-chat-root .gc-edit-zh{writing-mode:horizontal-tb;overflow-y:auto;font-family:inherit}.gaiha-chat-root .gc-editor-actions{display:flex;align-items:center;gap:6px;flex:none}.gaiha-chat-root .gc-editor-actions button{border:1px solid #e6ebf1;background:#fff;border-radius:11px;min-height:39px}.gaiha-chat-root .gc-switch{flex:1;padding:5px 6px;font-size:12px;white-space:nowrap}.gaiha-chat-root .gc-mongol-label{font-family:var(--gaiha-chat-mongol-font,'Noto Sans Mongolian',serif);font-size:14px}.gaiha-chat-root .gc-attach{width:38px;font-size:23px;color:#333}.gaiha-chat-root .gc-editor-actions .gc-send{width:40px;color:#fff;background:#23272c;border-color:#23272c;font-size:18px}.gaiha-chat-root .gc-send:disabled{opacity:.5}.gaiha-chat-root .gc-empty{margin:auto;font-size:12px;color:#a5adb8}.gaiha-chat-root .gc-back{display:none;border:0;background:none;font-size:30px}.gaiha-chat-root .gc-editor-actions button:focus-visible,.gaiha-chat-root .gc-tab:focus-visible,.gaiha-chat-root .gc-conversation:focus-visible{outline:2px solid #4388e7;outline-offset:2px}#gaiha-chat-portal:not([hidden]){position:fixed;z-index:2147483001;right:18px;bottom:80px;width:min(980px,calc(100vw - 36px));height:70dvh;box-shadow:0 10px 35px #0002}#gaiha-chat-portal .gaiha-chat-root{height:100%;min-height:0}@media(max-width:800px){.gaiha-chat-root{height:calc(100dvh - 66px);min-height:400px;border:0;border-radius:0}.gaiha-chat-root .gc-app{grid-template-columns:minmax(160px,31%) minmax(0,1fr)}.gaiha-chat-root .gc-editor-panel{grid-column:2;grid-row:2;min-height:0;display:none}.gaiha-chat-root .gc-center{grid-column:2;grid-row:1}.gaiha-chat-root .gc-app{grid-template-rows:minmax(0,1fr)}.gaiha-chat-root .gc-center{position:relative}.gaiha-chat-root .gc-editor-panel{display:flex;position:absolute;right:0;bottom:0;top:auto;width:min(250px,65%);height:40%;background:#fff;box-shadow:0 -4px 20px #00000012}.gaiha-chat-root .gc-app{position:relative}.gaiha-chat-root .gc-feed{padding-bottom:42%}}@media(max-width:600px){.gaiha-chat-root{height:100dvh;min-height:0}.gaiha-chat-root .gc-app{display:block;position:relative}.gaiha-chat-root .gc-side,.gaiha-chat-root .gc-center{height:100%;width:100%;position:absolute;top:0;left:0}.gaiha-chat-root .gc-center{display:none}.gaiha-chat-root .gc-app.gc-mobile-chat .gc-center{display:flex}.gaiha-chat-root .gc-app.gc-mobile-chat .gc-side{display:none}.gaiha-chat-root .gc-back{display:block}.gaiha-chat-root .gc-thread-head{height:62px;padding:9px 12px}.gaiha-chat-root .gc-feed{padding:16px 10px 245px}.gaiha-chat-root .gc-editor-panel{display:none;position:absolute;z-index:3;right:8px;bottom:calc(6px + env(safe-area-inset-bottom));width:min(230px,55vw);height:220px;padding:10px;gap:6px;border:1px solid #dce4ee;border-radius:15px;box-shadow:0 5px 24px #00000012}.gaiha-chat-root .gc-app.gc-mobile-chat .gc-editor-panel{display:flex}.gaiha-chat-root .gc-editor-head{font-size:11px}.gaiha-chat-root .gc-edit{padding:10px;font-size:16px}.gaiha-chat-root .gc-editor-actions{gap:3px}.gaiha-chat-root .gc-switch{font-size:10px}.gaiha-chat-root .gc-attach{width:28px;font-size:18px}.gaiha-chat-root .gc-editor-actions .gc-send{width:28px}.gaiha-chat-root .gc-editor-actions button{min-height:33px}.gaiha-chat-root .gc-mongol-label{font-size:11px}#gaiha-chat-portal:not([hidden]){inset:0;width:100vw;height:100dvh}#gaiha-chat-portal .gaiha-chat-root{height:100dvh}}
