/* Scoped to the assistant; independent of the legal-dialog styles. */
html.mt-chat-open{overflow:hidden}
.mt-chat .mt-safety{font-size:12px;line-height:1.65;color:#526b7d;margin-top:16px}
.mt-chat .mt-messages:focus-visible{outline:3px solid var(--aqua);outline-offset:-4px}
.mt-launcher{position:fixed;right:24px;bottom:24px;z-index:50;display:flex;align-items:center;gap:12px;max-width:calc(100vw - 32px);min-height:58px;border:1px solid #ffffff66;border-radius:30px;background:var(--navy);color:#fff;padding:10px 22px 10px 10px;box-shadow:0 6px 24px #17324d25;font-size:14px;font-weight:600;text-align:left;line-height:1.35;transition:background .18s,box-shadow .18s}
.mt-launcher-icon{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;border-radius:50%;background:#ffffff12;color:var(--aqua)}
.mt-launcher svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7}.mt-launcher:hover{background:#234c6b;box-shadow:0 8px 30px #17324d35}
dialog.mt-chat{--mt-line:#dce7ec;--mt-muted:#526b7d;padding:0;margin:0;position:fixed;inset:auto 24px 24px auto;width:min(480px,calc(100vw - 48px));height:min(740px,calc(100dvh - 48px));max-width:none;max-height:none;border:1px solid var(--mt-line);border-radius:22px;color:var(--ink);background:#fff;box-shadow:0 20px 75px #102a4230;overflow:hidden;font-family:Montserrat,Arial,sans-serif;font-size:15px;line-height:1.6}
.mt-chat[open]{display:flex;flex-direction:column}.mt-chat::backdrop{background:#17324d20;backdrop-filter:none}
.mt-chat [hidden]{display:none!important}.mt-chat h2,.mt-chat h3,.mt-chat p{margin:0}.mt-chat p{font-size:15px;line-height:1.65}.mt-chat button,.mt-chat a{touch-action:manipulation}
.mt-chat button:focus-visible,.mt-chat a:focus-visible,.mt-chat summary:focus-visible{outline:3px solid var(--aqua);outline-offset:3px}.mt-chat [tabindex="-1"]:focus{outline:none}
.mt-chat-head{display:flex;align-items:center;gap:12px;flex:none;min-height:86px;padding:18px 20px;background:var(--navy);color:#fff}
.mt-brand-mark{width:42px;height:42px;display:grid;place-items:center;background:#fff;border:1px solid #ffffff20;border-radius:12px;flex-shrink:0}.mt-brand-mark img{display:block;width:29px;height:29px;object-fit:contain}
.mt-head-copy{min-width:0;flex:1}.mt-chat-head h2{margin:0;font-size:17px;font-weight:600;letter-spacing:-.025em;color:#fff;line-height:1.25}.mt-chat-head p{display:flex;align-items:center;gap:7px;margin-top:6px;font-size:12px;color:#d5e7ee;line-height:1.3}.mt-ai-badge{display:inline-flex;border:1px solid #83bec266;border-radius:4px;padding:1px 5px;color:#b7f0ed;font-size:10px;font-weight:700;letter-spacing:.07em}
.mt-chat-close{display:grid;place-items:center;margin-left:auto;flex-shrink:0;width:44px;height:44px;border:1px solid #ffffff25;border-radius:50%;background:transparent;color:white}.mt-chat-close:hover{background:#ffffff12}.mt-chat-close svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.8;fill:none}
.mt-intro{display:flex;flex-direction:column;flex:1;min-height:0}.mt-intro-body{overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1;padding:27px 26px 22px;background:linear-gradient(155deg,#f2fafb 0%,#fff 55%)}
.mt-intro-kicker{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:#37747a;margin-bottom:12px}.mt-intro-kicker:before{content:"";width:22px;height:2px;background:var(--aqua)}
.mt-intro h3{margin:0 0 12px;font-size:27px;line-height:1.2;letter-spacing:-.04em;max-width:330px}.mt-intro .mt-description{color:var(--mt-muted);font-size:14px;line-height:1.7}
.mt-topics{display:flex;flex-wrap:wrap;gap:6px;margin:18px 0 22px}.mt-topics span{font-size:11px;line-height:1.4;color:#446275;border:1px solid var(--mt-line);background:#fff;border-radius:6px;padding:5px 8px}
.mt-privacy{margin:0;border:1px solid var(--mt-line);border-radius:12px;padding:13px 15px;background:#fff}.mt-privacy summary{cursor:pointer;font-size:13px;font-weight:600;line-height:1.5;color:var(--navy)}.mt-privacy p{margin-top:12px;font-size:13px;line-height:1.7;color:var(--mt-muted)}.mt-privacy a{overflow-wrap:anywhere}
.mt-intro-actions{flex:none;border-top:1px solid var(--mt-line);padding:17px 26px 13px;background:#fff}.mt-intro-actions .mt-consent-copy{margin:0 0 13px;font-size:12px;line-height:1.65;color:var(--mt-muted)}
.mt-chat .mt-start{width:100%;min-height:50px;border:0;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 17px;background:var(--navy);color:#fff;font-size:14px;font-weight:600;line-height:1.4}.mt-start:hover{background:#234c6b}.mt-start svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.8;fill:none;flex-shrink:0}
.mt-intro-actions .mt-contact-alternative{display:block;padding:11px 4px 3px;text-align:center;color:var(--mt-muted);font-size:12px;line-height:1.6;text-decoration:none;min-height:36px}.mt-contact-alternative:hover{text-decoration:underline}
.mt-conversation{position:relative;min-height:0;flex:1;display:flex;flex-direction:column}.mt-messages{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;padding:24px 22px 16px;background:#f5f8fa;scroll-padding-top:20px}
.mt-message{margin:0 0 22px;overflow-wrap:anywhere}.mt-message-label{display:block;color:var(--mt-muted);font-size:11px;font-weight:600;line-height:1.4;margin:0 0 7px 2px}.mt-message-content{background:#fff;border:1px solid var(--mt-line);border-radius:3px 15px 15px;padding:15px 17px}.mt-message p{font-size:15px;line-height:1.7;white-space:pre-wrap;margin:0}.mt-message-user{margin-left:38px}.mt-message-user .mt-message-label{text-align:right;margin-right:2px}.mt-message-user .mt-message-content{background:var(--navy);border-color:var(--navy);border-radius:15px 3px 15px 15px;color:#fff}
.mt-message-notice .mt-message-content{background:#fff9ed;border-color:#e9d9ae;color:#5b4d2e}.mt-message-notice .mt-message-label{color:#79632c}.mt-notice-contact{display:inline-flex;align-items:center;min-height:40px;margin-top:7px;color:var(--navy);font-size:13px;font-weight:600}
.mt-sources{display:flex;flex-direction:column;gap:5px;margin-top:13px;padding-top:12px;border-top:1px solid var(--mt-line)}.mt-sources-heading{font-size:11px;color:var(--mt-muted);font-weight:600;line-height:1.4}.mt-sources a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;padding:7px 10px;border-radius:7px;color:var(--navy);background:#f0f7f9;text-decoration:none;font-size:12px;line-height:1.5}.mt-sources a:after{content:"↗";flex-shrink:0;font-size:16px;color:#3c7586}.mt-sources a:hover{background:#e2f0f4}
.mt-suggestions{margin:4px 0 20px}.mt-suggestions-title{font-size:12px!important;color:var(--mt-muted);margin:0 0 10px!important}.mt-question-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.mt-question-grid button{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;border:1px solid #cbdfe7;background:#fff;border-radius:10px;min-height:66px;padding:13px;text-align:left;font-size:12px;line-height:1.55;color:var(--navy)}.mt-question-grid button:after{content:"↗";flex-shrink:0;color:#438895;font-size:15px}.mt-question-grid button:hover{border-color:#84bcc9;background:#eef8fa}
.mt-new-answer{position:absolute;align-self:center;bottom:215px;z-index:2;min-height:40px;padding:8px 15px;border:1px solid #b5d6df;border-radius:22px;background:#fff;color:var(--navy);box-shadow:0 3px 14px #17324d20;font-size:12px;font-weight:600}
.mt-form{flex:none;padding:14px 20px 9px;background:#fff;border-top:1px solid var(--mt-line)}.mt-field-heading{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin-bottom:8px}.mt-field-heading label{font-size:12px;line-height:1.5;font-weight:600;color:var(--navy)}.mt-counter{font-size:11px;line-height:1.5;color:var(--mt-muted);font-variant-numeric:tabular-nums}.mt-counter.is-near-limit{color:#925220}
.mt-input-row{display:flex;align-items:flex-end;gap:8px;padding:7px 7px 7px 13px;border:1px solid #a7becb;border-radius:13px;background:#fff;transition:border-color .15s,box-shadow .15s}.mt-input-row:focus-within{border-color:#418e9b;box-shadow:0 0 0 3px #5bc8d825}.mt-form textarea{font:inherit;font-size:16px;line-height:1.5;color:var(--ink);background:transparent;display:block;flex:1;min-width:0;width:100%;height:44px;min-height:44px;max-height:116px;padding:10px 0;border:0;outline:none;resize:none;overflow-y:auto}.mt-form textarea::placeholder{color:#7b8f9e;opacity:1}
.mt-send{display:grid;place-items:center;flex-shrink:0;min-width:44px;width:44px;height:44px;min-height:44px;border:0;border-radius:9px;padding:0;background:var(--navy);color:#fff}.mt-send svg{width:21px;height:21px;stroke:currentColor;stroke-width:1.8;fill:none}.mt-send:hover:not(:disabled){background:#28536c}.mt-send:disabled{background:#e5edf1;color:#8ba3b0;cursor:default}
.mt-status{display:flex;align-items:center;gap:7px;min-height:22px;margin:7px 0 0!important;font-size:11px!important;line-height:1.5!important;color:var(--mt-muted)}.mt-status.is-pending:before{content:"";width:11px;height:11px;flex-shrink:0;border:2px solid #c5e2e9;border-top-color:#2f818d;border-radius:50%;animation:mt-spin 1s linear infinite}.mt-hint{font-size:10px!important;color:var(--mt-muted);line-height:1.5!important;margin-top:2px!important}
.mt-chat-bottom{display:flex;flex:none;align-items:center;justify-content:space-between;gap:14px;padding:0 20px 10px;border-top:1px solid #edf2f5;background:#fff}.mt-chat-bottom button,.mt-chat-bottom a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:7px 0;font-size:12px;line-height:1.4}.mt-chat-bottom button{border:0;background:none;color:var(--mt-muted);text-decoration:none}.mt-chat-bottom a{color:var(--navy);text-decoration:none;font-weight:500}.mt-chat-bottom button:hover,.mt-chat-bottom a:hover{text-decoration:underline;text-underline-offset:4px}
@keyframes mt-spin{to{transform:rotate(360deg)}}
.mt-chat.is-compact .mt-chat-head{min-height:62px;padding-top:9px;padding-bottom:9px}.mt-chat.is-compact .mt-brand-mark{width:34px;height:34px}.mt-chat.is-compact .mt-form{padding-top:8px;padding-bottom:4px}.mt-chat.is-compact .mt-chat-bottom{padding-bottom:4px}.mt-chat.is-compact .mt-hint{display:none}
.mt-chat.is-compact .mt-messages{padding-top:14px;padding-bottom:8px}.mt-chat.is-compact .mt-form textarea{max-height:68px}.mt-chat.is-compact .mt-input-row{max-height:84px}.mt-chat.is-compact .mt-chat-bottom button,.mt-chat.is-compact .mt-chat-bottom a{min-height:34px;padding-top:4px;padding-bottom:4px}
@media(max-width:600px){
.mt-launcher{right:14px;bottom:max(14px,env(safe-area-inset-bottom));min-height:52px;padding:8px 16px 8px 8px;font-size:13px;gap:9px}.mt-launcher-icon{width:34px;height:34px}
dialog.mt-chat{inset:var(--mt-viewport-top,0px) 0 auto;width:100%;height:var(--mt-viewport-height,100dvh);border:0;border-radius:0;max-height:none}
.mt-chat-head{min-height:76px;gap:10px;padding:calc(13px + env(safe-area-inset-top)) 16px 13px}.mt-brand-mark{width:37px;height:37px}.mt-brand-mark img{width:26px;height:26px}.mt-chat-head h2{font-size:16px}.mt-chat-head p{font-size:11px;margin-top:4px}.mt-chat-close{width:42px;height:42px}
.mt-intro-body{padding:25px 22px 22px}.mt-intro h3{font-size:26px}.mt-intro-actions{padding:15px 22px max(12px,env(safe-area-inset-bottom))}.mt-topics{margin:16px 0 20px}
.mt-messages{padding:21px 16px 12px}.mt-message{margin-bottom:20px}.mt-message-content{padding:13px 15px}.mt-message-user{margin-left:28px}.mt-question-grid{gap:8px}
.mt-form{padding:12px 16px 8px}.mt-chat-bottom{padding:0 16px max(7px,env(safe-area-inset-bottom))}.mt-chat-bottom button,.mt-chat-bottom a{min-height:42px}.mt-hint{display:none}
}
@media(max-width:380px){.mt-question-grid{grid-template-columns:1fr}.mt-question-grid button{min-height:48px;padding:11px 13px}.mt-chat-head h2{font-size:15px}.mt-intro-body{padding:22px 18px}.mt-intro-actions{padding-left:18px;padding-right:18px}.mt-intro h3{font-size:25px}.mt-message p{font-size:14px}.mt-chat-bottom{gap:8px}.mt-chat-bottom button,.mt-chat-bottom a{font-size:11px}}
@media(max-height:520px){.mt-chat-head{min-height:62px;padding-top:9px;padding-bottom:9px}.mt-brand-mark{width:34px;height:34px}.mt-chat-head p{margin-top:3px}.mt-intro-body{padding-top:18px;padding-bottom:16px}.mt-intro-actions{padding-top:10px;padding-bottom:8px}.mt-intro-actions .mt-consent-copy{font-size:11px;margin-bottom:9px}.mt-contact-alternative{padding-top:6px!important;min-height:30px!important}.mt-form{padding-top:9px;padding-bottom:4px}.mt-chat-bottom{padding-bottom:4px}.mt-hint{display:none}}
@media(prefers-reduced-motion:reduce){.mt-launcher,.mt-input-row{transition:none}.mt-status.is-pending:before{animation:none;border-color:#2f818d}}
