.chat-app{min-height:100dvh;background:#fff;color:#111;padding-top:calc(112px + env(safe-area-inset-top,0px))}.chat-header{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:8px 16px;border-bottom:1px solid #e6e6e6;position:fixed;inset:0 0 auto;background:#fff;z-index:10;flex-wrap:wrap}.chat-brand{display:flex;align-items:center;gap:8px;font-size:18px;font-weight:700;color:#111;padding:4px;white-space:nowrap}.chat-header{padding-top:calc(8px + env(safe-area-inset-top,0px));padding-inline:max(16px,env(safe-area-inset-left,0px)) max(16px,env(safe-area-inset-right,0px))}.chat-brand img{width:32px;height:32px}.chat-header nav{display:flex;gap:2px}.chat-header .ant-btn{box-shadow:none}.chat-main{width:100%;min-width:0;max-width:880px;margin:0 auto;padding:12px 16px;flex:1}.chat-app-conversation .chat-main{display:flex;flex-direction:column;min-height:calc(100dvh - 112px)}.chat-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px;font-size:13px}.chat-messages{flex:1;padding-bottom:20px}.chat-welcome{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:28dvh;text-align:center;padding:24px 0}.chat-welcome img{width:56px;height:56px;margin-bottom:12px}.chat-welcome h1.ant-typography{font-size:30px;margin:0 0 10px;letter-spacing:-1px}.chat-messages article{padding:16px 0;margin-block:14px;line-height:1.7}.chat-messages .chat-message-user{background:#f3f3f3;border-radius:22px;padding:12px 18px;margin-left:auto;width:fit-content;max-width:88%}.chat-messages article strong{font-size:12px}.chat-messages p{white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:0}.chat-approval{border:1px solid #A71415;border-radius:16px;padding:16px;margin-block:16px}.chat-approval pre{max-height:300px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.chat-compose-area{position:sticky;bottom:0;background:#fff;padding-top:8px;padding-bottom:env(safe-area-inset-bottom)}.chat-compose-box{border:1px solid #c7c7c7;background:#fafafa;border-radius:24px;padding:10px 12px}.chat-compose-box:focus-within{border-color:#111}.chat-composer{display:flex;gap:8px;align-items:end;padding-block:8px 0}.chat-composer textarea{font-size:16px}.chat-composer .ant-btn{min-height:40px;border-radius:20px;box-shadow:none}.chat-file-notice{font-size:12px;margin:4px 8px}.chat-file-notice summary{cursor:pointer}.chat-session-note{text-align:center;font-size:11px;margin:8px 0}.chat-main footer{padding:12px 0;font-size:11px;text-align:center}.chat-activity{border:1px solid #ddd;border-radius:16px;padding:12px;margin:12px 0;overflow-wrap:anywhere}.chat-activity p{margin:4px 0;font-size:13px}.chat-activity ol{max-height:300px;overflow:auto}.chat-activity-compact{border:0;padding:0 6px;margin:0 0 8px}.chat-activity-compact p{font-size:12px;margin:2px 0}.chat-activity-compact a{color:#111;text-decoration:underline}.chat-app-details .chat-main{max-width:1120px}.chat-app-details .chat-main>*{margin-bottom:18px}.chat-app-details .ant-form{max-width:100%}.chat-app a:focus-visible,.chat-app summary:focus-visible{outline:2px solid #a71415;outline-offset:3px}@media(min-width:640px){.chat-app{padding-top:68px}.chat-header{padding:12px 24px;flex-wrap:nowrap}.chat-app-conversation .chat-main{min-height:calc(100dvh - 68px)}.chat-main{padding:16px 24px}.chat-welcome{min-height:34dvh}.chat-welcome h1.ant-typography{font-size:36px}}@media(max-width:639px){.chat-header>.ant-space{width:100%;justify-content:space-between}.chat-header nav .ant-btn{padding-inline:10px}.chat-header>.ant-space>.ant-space-item:last-child{position:absolute;right:16px;top:12px}.chat-compose-box .ant-space{gap:0!important}.chat-compose-box .ant-btn{padding-inline:8px}}
