body,html{height:100%;overflow:hidden;position:relative;margin:0;padding:0}body{min-height:100vh;overflow-y:auto!important}.chat-container,.chat-container input,.chat-container textarea{line-height:24px;color:#353740;font-family:"ColfaxAI",Helvetica,sans-serif}h3{font-size:32px;line-height:40px;font-weight:bold;color:#202123;margin:16px 0 40px}.chat-header{position:fixed;top:0;left:0;width:100%;height:60px;background-color:#fff;z-index:1000;display:flex;justify-content:flex-end;align-items:center;padding:0 20px;box-shadow:0 1px 3px rgba(0,0,0,0.1)}.chat-wrapper{padding-top:60px;height:calc(100vh - 60px);display:flex;flex-direction:column;box-sizing:border-box;width:100%;position:relative;overflow:hidden}.main-content{scroll-behavior:smooth;-webkit-overflow-scrolling:touch}.main-content{flex:1;display:flex;flex-direction:column;height:100%;width:100vw;padding:0;margin:0;overflow-y:auto;position:relative;padding-bottom:200px}.main-content::-webkit-scrollbar{width:8px;position:absolute;right:0}.main-content::-webkit-scrollbar-track{background:#f1f1f1}.main-content::-webkit-scrollbar-thumb{background:#888;border-radius:4px}.main-content::-webkit-scrollbar-thumb:hover{background:#555}.chat-container{max-width:800px;width:100%;padding:20px;padding-bottom:180px;margin:0 auto;display:flex;flex-direction:column;height:100%;box-sizing:border-box;justify-content:space-between;background:#fff;border-radius:0;box-shadow:none;position:relative;z-index:10;overflow-y:visible}.messages::after{content:"";display:block;height:180px;visibility:visible}.messages{flex-grow:1;display:flex;flex-direction:column;padding:10px 0;padding-bottom:20px;margin-bottom:15px;overflow-y:visible}.messages::-webkit-scrollbar{display:none}.user-message,.assistant-message{padding:12px 16px;border-radius:18px;margin-bottom:12px;max-width:80%;word-wrap:break-word;font-size:15px;line-height:1.5;box-shadow:0 1px 2px rgba(0,0,0,0.1)}.user-message{align-self:flex-end;background-color:#f0f4f8;color:#37474f;border-bottom-right-radius:4px;margin-left:auto}.assistant-message{align-self:flex-start;background-color:#f0f4f8;color:#37474f;border-bottom-left-radius:4px;margin-right:auto}.assistant-message pre{background:rgba(0,0,0,0.04);border-radius:6px;padding:12px;overflow-x:auto;margin:10px 0}.assistant-message code{font-family:'Consolas','Monaco',monospace;font-size:14px}.assistant-message ul,.assistant-message ol{padding-left:20px}.assistant-message p{margin:8px 0}.assistant-message strong{font-weight:600}.message-input-container{width:100%;background:#fff;box-sizing:border-box;display:flex;justify-content:center;align-items:center;z-index:100;padding:15px 20px;position:fixed;bottom:0;left:0;right:0;border-top:1px solid #eaeaea;box-shadow:0 -2px 10px rgba(0,0,0,0.1)}.input-wrapper{width:100%;max-width:800px;display:flex;flex-direction:column;align-items:center}.message-input-container form{display:flex;align-items:center;width:100%;justify-content:space-between;background:#f5f5f7;border-radius:12px;padding:8px 8px 8px 20px;box-shadow:0 2px 6px rgba(0,0,0,0.05);transition:box-shadow 0.3s ease}.message-input-container form:focus-within{box-shadow:0 4px 12px rgba(0,0,0,0.1);background:#fff;border:1px solid #c2e0ff}.message-input-container textarea{border:none;background:transparent;padding:12px 0;width:calc(100% - 50px);margin:0;box-sizing:border-box;resize:none;min-height:24px;max-height:120px;font-family:inherit;font-size:15px;line-height:1.4;outline:none}textarea::placeholder{color:#8e8ea0;opacity:0.8}.result{font-weight:bold;margin-top:40px}.button-group{display:flex;align-items:center;justify-content:space-between}#send-btn{width:42px;height:42px;color:#fff;background-color:black;border:none;border-radius:10%;cursor:pointer;margin:0;display:flex;justify-content:center;align-items:center;transition:transform 0.2s ease,background-color 0.2s ease}#send-btn:hover{transform:scale(1.05)}#send-btn:active{transform:scale(0.95)}.message-role{font-size:13px;font-weight:500;color:#70757a;margin-bottom:4px}.message-role.user{align-self:flex-end}.message-loading{align-self:flex-start;font-style:italic;color:#666;margin-bottom:8px;padding:5px 10px}.error-message{align-self:center;color:#f44336;margin:10px 0;padding:8px 16px;background-color:#ffebee;border-radius:4px}header{z-index:1000!important;position:relative}.offcanvas{z-index:1050!important}.offcanvas .offcanvas-header{z-index:1100!important}.chat-container{position:relative;z-index:10}@supports (-webkit-touch-callout:none){.chat-wrapper{height:-webkit-fill-available}}