.mhc{--mhc-ink:#25282b;--mhc-muted:#777b80;--mhc-border:#e6e7e9;position:relative;display:flex;flex-direction:column;min-width:0;min-height:340px;height:590px;max-height:min(800px,82dvh);overflow:hidden;background:#fff;border:1px solid var(--mhc-border);border-radius:22px;color:var(--mhc-ink);font-family:inherit;font-size:14px;font-weight:400;line-height:1.6;isolation:isolate;text-align:left}
.mhc *,.mhc-pdf-dialog *{box-sizing:border-box}.mhc [hidden],.mhc-pdf-dialog [hidden]{display:none!important}.mhc button,.mhc textarea,.mhc-pdf-dialog button,.mhc-pdf-dialog input{font:inherit}.mhc button,.mhc-pdf-dialog button{cursor:pointer}.mhc button:disabled{cursor:default;opacity:.4}.mhc button:focus-visible,.mhc-thread:focus-visible,.mhc-pdf-dialog :focus-visible{outline:2px solid #738482;outline-offset:3px}.mhc svg{flex:none;vertical-align:middle;pointer-events:none}.mhc-header{display:flex;align-items:center;gap:12px;flex:none;padding:17px 20px;background:#fff}.mhc-heading{min-width:0;flex:1}.mhc .mhc-heading h2{font-family:inherit;font-size:15px;line-height:1.3;letter-spacing:.02em;margin:0;font-weight:650;color:var(--mhc-ink)}.mhc .mhc-heading p{font-size:11px;line-height:1.3;margin:4px 0 0;color:var(--mhc-muted)}.mhc-header-actions{display:flex;gap:4px}.mhc-header-actions button,.mhc-response-actions button,.mhc-icon-button{display:grid;place-items:center;width:36px;height:36px;padding:7px;border:0;border-radius:50%;color:#676c70;background:transparent}.mhc-header-actions button:hover,.mhc-response-actions button:hover,.mhc-icon-button:hover{background:#f2f3f4;color:#25282b}
.mhc-thread{flex:1;min-height:100px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#dadcde transparent;padding:20px 20px 12px;outline-offset:-3px!important}.mhc-message{margin:0 auto 28px;display:flex;flex-direction:column;align-items:flex-start;gap:7px;max-width:760px;min-width:0}.mhc-message-name{font-size:10px;font-weight:650;letter-spacing:.04em;color:var(--mhc-muted)}.mhc-bubble{max-width:100%;font-size:14px;line-height:1.7;overflow-wrap:anywhere;word-break:normal}.mhc-message--assistant .mhc-bubble{width:100%;padding:0}.mhc-message-text p{margin:0 0 14px}.mhc-message-text p:last-child{margin-bottom:0}.mhc-message-text ul,.mhc-message-text ol{margin:12px 0;padding-left:24px}.mhc-message-text li+li{margin-top:6px}.mhc-message-text h4{font:650 1.04em/1.5 inherit;margin:20px 0 9px}.mhc-message-text blockquote{margin:12px 0;border-left:3px solid #cdd3d1;padding:2px 0 2px 14px;color:#61696b}.mhc-message-text pre{padding:14px;border-radius:12px;background:#f4f5f6;white-space:pre-wrap;overflow-x:auto}.mhc-message-text code{font: .9em/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;padding:2px 4px;background:#f2f3f4;border-radius:4px}.mhc-message-text pre code{padding:0;background:none}.mhc-message--user{align-items:flex-end}.mhc-message--user .mhc-message-name{display:none}.mhc-message--user .mhc-bubble{max-width:88%;background:#f1f2f3;color:#303337;border:0;border-radius:20px;padding:12px 17px}.mhc-message--user .mhc-message-text{white-space:pre-wrap}.mhc-message--error .mhc-bubble{color:#785944}.mhc-applied{display:flex;gap:7px;align-items:center;margin-top:14px;font-size:11px;font-weight:550;color:#537364}.mhc-applied svg{width:16px;height:16px}.mhc-change-list{margin:9px 0 0;padding:0 0 0 17px;font-size:12px;color:#626d68}.mhc-change-list li+li{margin-top:3px}.mhc-notes{margin-top:12px;font-size:12px;color:#787366}.mhc-notes summary{cursor:pointer}.mhc-notes p{margin:7px 0 0}.mhc-response-actions{display:flex;gap:2px;margin-left:-6px}.mhc-response-actions button{width:31px;height:31px;padding:7px;border-radius:8px;color:#909498}.mhc-response-actions button svg{width:16px;height:16px}.mhc-response-actions button[aria-pressed=true]{color:#394f48;background:#eef2f0}.mhc-message-images{display:flex;flex-wrap:wrap;gap:10px;max-width:100%;margin-top:2px}.mhc-message-images figure{margin:0;max-width:260px;width:min(260px,100%);border:1px solid #e2e4e5;border-radius:15px;overflow:hidden;background:#fafafa}.mhc .mhc-file-image{display:block;width:100%;max-height:280px;object-fit:contain;background:#f3f4f4}.mhc-message-images figcaption{padding:7px 11px;font-size:10px;line-height:1.4;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#787d80}
.mhc--empty .mhc-thread{display:flex;flex-direction:column}.mhc-welcome{width:100%;padding:15px 0 25px;text-align:center;max-width:650px;margin:auto}.mhc-welcome-mark{display:flex;justify-content:center;align-items:center;gap:0;margin:0 auto 22px;width:48px;height:48px;color:#353b3a;font-size:21px;font-weight:700;letter-spacing:-3px}.mhc-welcome-mark span{font-weight:350}.mhc .mhc-welcome h3{font-family:inherit;font-size:clamp(23px,3vw,32px);line-height:1.2;letter-spacing:-.8px;margin:0 auto 13px;font-weight:550;color:var(--mhc-ink)}.mhc .mhc-welcome p{font-size:13px;line-height:1.65;margin:0 auto 27px;max-width:430px;color:var(--mhc-muted)}.mhc-suggestions{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}.mhc-suggestions button{display:flex;justify-content:space-between;gap:13px;align-items:center;background:#fff;border:1px solid var(--mhc-border);border-radius:13px;padding:10px 13px;text-align:left;color:#61676b;font-size:11px;line-height:1.45;transition:background .15s,border-color .15s}.mhc-suggestions button:hover{background:#f7f8f8;border-color:#cbd2ce}.mhc-suggestions span{font-size:14px;color:#929895}
.mhc-bottom{width:100%;max-width:810px;padding:0 17px;flex:none;align-self:center}.mhc-actions{display:flex;flex-wrap:wrap;gap:7px}.mhc-actions:has(button:not([hidden])){padding:3px 0 10px}.mhc-actions button{display:flex;align-items:center;gap:6px;border:1px solid #e2e7e3;border-radius:20px;background:#fff;padding:6px 10px;color:#576960;font-size:11px;line-height:1.3}.mhc-actions button:hover{background:#f1f5f2}.mhc-status{margin:0 2px 9px;display:flex;gap:8px;align-items:center;color:#747d77;font-size:12px;line-height:1.5}.mhc--busy .mhc-status:before{content:'';width:11px;height:11px;flex:none;border:1.5px solid #d6ddda;border-top-color:#566e61;border-radius:50%;animation:mhc-spin .8s linear infinite}.mhc-selection{margin:0 2px 8px;font-size:11px;color:#728078}.mhc-composer{position:relative;margin:0;padding:12px 14px 10px;border:1px solid #dfe1e3;background:#fff;border-radius:24px;box-shadow:0 4px 22px #26362907}.mhc-composer:focus-within{border-color:#b7c0bc;box-shadow:0 4px 24px #2636290b}.mhc .mhc-composer textarea{display:block;width:100%;height:48px;min-height:48px;max-height:190px;margin:0;resize:none;border:0;background:transparent;outline:none!important;color:#303438;padding:6px 2px;font-size:14px;line-height:1.6;border-radius:0;box-shadow:none}.mhc .mhc-composer textarea::placeholder{color:#92979b}.mhc-composer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:3px}.mhc .mhc-icon-button{width:34px;height:34px;color:#60686b}.mhc-send-tools{display:flex;gap:5px;margin-left:auto;align-items:center}.mhc .mhc-send{width:34px;height:34px;padding:0;display:grid;place-items:center;border:0;border-radius:50%;background:#2d3433;color:#fff;transition:background .15s,opacity .15s}.mhc .mhc-send:hover{background:#17201e}.mhc .mhc-send:disabled{background:#e8eaeb;color:#a9adb0;opacity:1}.mhc-count{font-size:10px;color:#93999b}.mhc-attach-wrap{position:relative}.mhc-attach-menu{position:absolute;bottom:43px;left:-4px;z-index:5;min-width:230px;padding:6px;border:1px solid #e5e7e8;background:#fff;border-radius:15px;box-shadow:0 8px 32px #20272a18}.mhc-attach-menu button{display:flex;gap:10px;align-items:center;width:100%;padding:11px 10px;border:0;border-radius:10px;background:#fff;text-align:left;color:#4f565b;font-size:12px}.mhc-attach-menu button:hover{background:#f4f5f6}.mhc .mhc-footer{font-size:10px;line-height:1.5;text-align:center;margin:9px 0 10px;color:#93999b}.mhc-key-hint{display:block;font-size:9px;margin-top:3px;color:#a6aaad}.mhc .mhc-pending-hint{margin:7px 2px 0;color:#7a837c;font-size:11px}.mhc-save-state{font-size:10px;line-height:1.5;text-align:center;color:#979c9a;padding-bottom:4px}.mhc-save-state:empty{display:none}.mhc-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.mhc-files{display:flex;gap:7px;flex-wrap:wrap;padding:0 0 9px}.mhc-file-chip{display:flex;align-items:center;gap:8px;border:1px solid #e3e5e7;border-radius:12px;max-width:100%;padding:4px 5px 4px 4px;background:#fafbfb}.mhc-file-chip img{width:38px;height:38px;object-fit:cover;border-radius:8px}.mhc-file-chip span{max-width:140px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-size:10px;color:#646d70}.mhc-file-chip button{display:grid;place-items:center;width:24px;height:24px;padding:0;border:0;background:none;border-radius:50%;color:#858b8e;font-size:18px}.mhc-file-chip button:hover{background:#edf0ef}.mhc-voice-panel{margin:4px 0 8px;padding:12px 13px;border:1px solid #e1e7e4;border-radius:14px;background:#f6f8f7}.mhc-voice-panel p{margin:0 0 9px;font-size:11px;line-height:1.5;color:#64736b}.mhc-voice-panel>div{display:flex;flex-wrap:wrap;gap:7px}.mhc-voice-panel button{border:1px solid #d6ded9;background:#fff;border-radius:15px;padding:5px 10px;color:#506257;font-size:11px;line-height:1.5}.mhc-voice-panel [data-chat-voice-continue]{background:#354e40;color:#fff;border-color:#354e40}.mhc-drop-overlay{position:absolute;inset:9px;z-index:8;display:grid;place-items:center;text-align:center;padding:22px;border:2px dashed #8fa298;border-radius:20px;background:#f4f8f4f2;font-size:19px;color:#45604e;pointer-events:none}.mhc [data-chat-earlier]{display:block;margin:0 auto 20px;padding:7px 13px;border:1px solid #e4e7e5;border-radius:20px;background:#fff;color:#6c7870;font-size:11px}
.mhc--compact{height:530px;max-height:calc(100dvh - 180px);min-height:290px;border:0;border-radius:0;box-shadow:none}.mhc--compact .mhc-header{padding:12px 14px}.mhc--compact .mhc-welcome{padding:8px 0 15px}.mhc--compact .mhc-welcome-mark{margin-bottom:14px}.mhc--compact .mhc-welcome h3{font-size:23px}.mhc--compact .mhc-welcome p{margin-bottom:16px}.mhc--compact .mhc-thread{padding-top:12px}.mhc--workspace{height:100%;max-height:none;min-height:0;border:0;border-radius:0;box-shadow:none}.mhc--workspace .mhc-header{padding:20px 27px}.mhc--workspace .mhc-thread{padding:30px 32px 15px}.mhc--workspace .mhc-bubble{font-size:16px}.mhc--workspace .mhc-bottom{padding-bottom:5px}.mhc--workspace .mhc-heading h2{font-size:16px}.mhc--workspace .mhc-welcome p{font-size:15px}.mhc--workspace .mhc-suggestions button{font-size:12px}.mhc--workspace .mhc-composer textarea{font-size:16px}.mhc--workspace .mhc-welcome h3{font-size:clamp(28px,3vw,36px)}
.mhc-pdf-dialog{width:min(650px,calc(100vw - 28px));max-height:90dvh;margin:auto;padding:25px;border:1px solid #e0e5e2;border-radius:22px;box-shadow:0 24px 80px #18332325;color:#2f3b35;background:#fff;font-family:inherit;overflow:auto}.mhc-pdf-dialog::backdrop{background:#18231e6b;backdrop-filter:blur(3px)}.mhc-pdf-dialog h2{margin:0 0 8px;font:550 23px/1.25 inherit}.mhc-pdf-dialog p{font-size:13px;color:#737d77}.mhc-pdf-pages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}.mhc-pdf-pages label{min-width:0;display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid #e4e8e5;border-radius:14px;font-size:12px}.mhc-pdf-pages label>span{display:flex;gap:6px;align-items:center}.mhc-pdf-pages input[type=number]{width:100%;padding:8px;border:1px solid #dbe2dd;border-radius:8px}.mhc-pdf-pages img{display:block;width:100%;height:180px;object-fit:contain;background:#f3f5f4;border-radius:7px}.mhc-pdf-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:17px}.mhc-pdf-actions button{border:1px solid #dce4de;border-radius:20px;padding:9px 15px;background:#fff;color:#5c6d62;font-size:12px}.mhc-pdf-actions [data-pdf-confirm]{background:#354e40;color:#fff;border-color:#354e40}
@keyframes mhc-spin{to{transform:rotate(360deg)}}
@media(max-width:700px){.mhc{height:550px;max-height:76dvh;min-height:340px;border-radius:18px}.mhc--compact{height:500px;max-height:calc(80dvh - 65px);min-height:280px;border-radius:0}.mhc .mhc-composer textarea{font-size:16px;line-height:1.5}.mhc-header{padding:13px 15px}.mhc-key-hint{display:none}.mhc-bubble{font-size:14px}.mhc .mhc-footer{font-size:9px;margin-bottom:8px}.mhc-thread{padding-left:16px;padding-right:16px}.mhc-bottom{padding:0 12px}.mhc-suggestions button{min-height:41px;font-size:11px}.mhc-welcome{padding:14px 0 18px}.mhc .mhc-welcome h3{font-size:25px}.mhc .mhc-welcome p{font-size:13px}.mhc-message-images figure{max-width:220px}.mhc--workspace{height:100%;max-height:none;min-height:0;border-radius:0}.mhc--workspace .mhc-header{padding:15px 18px}.mhc--workspace .mhc-thread{padding:20px 17px 12px}.mhc--workspace .mhc-bubble{font-size:15px}.mhc--workspace .mhc-welcome h3{font-size:28px}.mhc--workspace .mhc-welcome p{font-size:13px}.mhc--workspace .mhc-suggestions{gap:7px}.mhc--workspace .mhc-suggestions button{font-size:11px}.mhc-pdf-dialog{padding:20px}.mhc-pdf-pages{gap:8px}.mhc-pdf-pages label{padding:9px}.mhc-pdf-pages img{height:140px}}
@media(prefers-reduced-motion:reduce){.mhc *{animation:none!important;transition:none!important}}
