.msa-chat-root{--chat-ink:#20201d;--chat-gold:#dfba71;--chat-line:#e8e5de;position:fixed;right:24px;bottom:24px;width:min(390px,calc(100% - 32px));font:16px/1.55 "Avenir Next",Avenir,"Segoe UI",sans-serif;color:var(--chat-ink);z-index:99990;pointer-events:none}
.msa-chat-root *,.msa-chat-root *::before,.msa-chat-root *::after{box-sizing:border-box}
.msa-chat-root [hidden]{display:none!important}
.msa-chat-root button,.msa-chat-root input,.msa-chat-root textarea,.msa-chat-root select{font:inherit}
.msa-chat-root button{cursor:pointer}
.msa-chat-root :focus-visible{outline:2px solid #a36c16;outline-offset:3px}
.msa-chat-root .msa-chat-prompt:focus{outline:none}
.msa-chat-launch{margin-left:auto;display:grid;place-items:center;width:58px;height:58px;padding:15px;border:1px solid #d5aa59;border-radius:50%;color:#18160e;background:var(--chat-gold);box-shadow:0 5px 22px #0003;pointer-events:auto;transition:transform .15s}
.msa-chat-launch svg{width:26px;height:26px}
.msa-chat-launch:hover{transform:translateY(-2px)}
.msa-chat-nudge{position:absolute;bottom:72px;right:0;width:min(292px,100%);border:1px solid #ded7c9;border-radius:13px 13px 3px 13px;background:#fff;box-shadow:0 7px 30px #0002;pointer-events:auto}
.msa-chat-nudge__message{display:block;width:100%;padding:16px 35px 16px 17px;text-align:left;color:#29271f;border:0;background:transparent;font-size:15px!important;line-height:1.5}
.msa-chat-nudge__close{position:absolute;top:1px;right:0;width:36px;height:36px;color:#766c5c;border:0;background:transparent;font-size:21px!important}
.msa-chat-panel{display:flex;flex-direction:column;width:100%;height:min(610px,calc(100dvh - 48px));overflow:hidden;border:1px solid #b9a788;border-radius:14px;box-shadow:0 16px 65px #0005;background:#fff;pointer-events:auto}
.msa-chat-heading{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:18px 15px 15px 20px;background:#171714;color:#fff;border-bottom:2px solid var(--chat-gold)}
.msa-chat-heading h2{color:var(--msa-gold,#c6963f);margin:0;font:500 21px/1.25 Baskerville,Georgia,serif;letter-spacing:0}
.msa-chat-heading p{margin:4px 0 0;color:#d0c9bc;font-size:12px;line-height:1.4}
.msa-chat-minimize{flex-shrink:0;width:40px;height:40px;padding:0;border:0;background:transparent;color:#ede5d6;font-size:25px!important}
.msa-chat-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:22px 20px 19px;scrollbar-width:thin;scrollbar-color:#c9c3b8 transparent}
.msa-chat-message{margin:0 0 17px;font-size:15px}
.msa-chat-message p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.msa-chat-message--you{width:fit-content;max-width:90%;margin-left:auto;padding:10px 13px;border-radius:13px 13px 3px 13px;background:#f3ebdb;color:#302b21}
.msa-chat-message--assistant{padding:0}
.msa-chat-source{display:block;margin-top:5px;font-size:11px;color:#745824;text-underline-offset:2px}
.msa-chat-active{position:relative}
.msa-chat-prompt{margin:0 0 17px;font-size:16px;line-height:1.55;overflow-wrap:anywhere}
.msa-chat-composer{position:relative;margin:13px 0 0}
.msa-chat-composer textarea{display:block;width:100%;min-height:86px;max-height:200px;padding:12px 53px 12px 12px;resize:vertical;border:1px solid #beb9ae;border-radius:10px;background:#fff;color:#22221e;font-size:16px;line-height:1.5}
.msa-chat-composer textarea::placeholder{color:#7e7a70}
.msa-chat-send{position:absolute;bottom:11px;right:10px;display:grid;place-items:center;width:37px;height:37px;padding:9px;border:0;border-radius:50%;color:#17140e;background:var(--chat-gold)}
.msa-chat-send svg{width:21px;height:21px}
.msa-chat-help,.msa-chat-consent{margin:11px 0 0;font-size:12px;line-height:1.5;color:#6b665d}
.msa-chat-identity{margin-top:17px}
.msa-chat-name-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.msa-chat-field{margin:0 0 12px;min-width:0}
.msa-chat-field label{display:block;margin-bottom:4px;font-size:13px;line-height:1.4;color:#4f4c44}
.msa-chat-field input,.msa-chat-field textarea,.msa-chat-type-form select{display:block;width:100%;min-height:45px;padding:9px 10px;border:1px solid #c4bfb5;border-radius:6px;color:#22221e;background:#fff;font-size:16px;line-height:1.4}
.msa-chat-field textarea{min-height:115px;resize:vertical}
.msa-chat-continue{width:100%;padding:11px 14px;margin-top:13px;border:1px solid #cfaa62;border-radius:7px;color:#231e14;background:var(--chat-gold);font-size:14px!important;font-weight:650!important;line-height:1.5;cursor:pointer}
.msa-chat-continue:hover,.msa-chat-send:hover{background:#e8c988}
.msa-chat-text-button{display:block;margin:12px auto 0;padding:5px 3px;border:0;background:transparent;color:#745824;font-size:13px!important;text-decoration:underline;text-underline-offset:3px}
.msa-chat-chips{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0 5px}
.msa-chat-chips button{padding:10px 12px;border:1px solid #c8b994;border-radius:20px;background:#fff;color:#594622;font-size:14px;line-height:1.45}
.msa-chat-chips button:hover{background:#f6efdf}
.msa-chat-error{font-size:13px;color:#a12d22;margin:10px 0}
.msa-chat-footer{flex-shrink:0;border-top:1px solid var(--chat-line);padding:10px 14px;text-align:center;background:#fff;font-size:12px;line-height:1.5}
.msa-chat-footer a{color:#64512c;text-decoration:none;padding:3px 8px}
.msa-chat-footer span{color:#bab2a3}
.msa-chat-footer p{margin:5px 0 0;color:#777269;font-size:11px}
.msa-chat-about{margin-top:4px}
.msa-chat-about summary{width:fit-content;margin:0 auto;padding:3px 8px;color:#64512c;font-size:11px;cursor:pointer}
.msa-chat-about p{max-width:310px;margin:7px auto 0}
.msa-chat-receipt{padding:14px;border:1px solid #e1dbcf;border-radius:8px;background:#fcfaf6;font-size:14px;overflow-wrap:anywhere}
.msa-chat-receipt p{margin:7px 0 0;white-space:pre-wrap}
.msa-chat-receipt__summary{border-top:1px solid #e6dfd2;padding-top:10px}
.msa-chat-receipt__urgency{color:#71521b}
.msa-chat-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.msa-chat-demo{position:fixed;left:12px;bottom:12px;z-index:99000;background:#fffef9;border:1px solid #d7cbb6;border-radius:6px;padding:8px 11px;color:#51483a;font:11px/1.5 "Segoe UI",sans-serif;box-shadow:0 3px 15px #0002}
.msa-chat-demo strong{margin-right:7px;font-size:12px}
.msa-chat-demo button{padding:2px 0;margin-right:12px;border:0;background:none;color:#6f541e;font:inherit;text-decoration:underline;cursor:pointer}
.msa-chat-record{--chat-gold:#dfba71;box-sizing:border-box;width:min(680px,calc(100% - 28px));max-height:calc(100dvh - 40px);overflow:auto;border:1px solid #a18b64;border-radius:10px;padding:23px;color:#27251f;background:#fff;font:15px/1.55 "Segoe UI",sans-serif}
.msa-chat-record::backdrop{background:#0008}
.msa-chat-record__head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}
.msa-chat-record h2{font:500 24px/1.25 Baskerville,Georgia,serif;margin:0}
.msa-chat-record__head button{border:0;background:none;width:35px;height:35px;font-size:26px;color:#63563c;cursor:pointer}
.msa-chat-record__note{color:#756f62;font-size:13px}
.msa-chat-record table{width:100%;border-collapse:collapse;margin:20px 0}
.msa-chat-record th,.msa-chat-record td{text-align:left;vertical-align:top;padding:11px 8px;border-bottom:1px solid #e4ded2;white-space:pre-wrap;overflow-wrap:anywhere}
.msa-chat-record th{font-size:12px;width:34%}
.msa-chat-record td{font-size:14px}
.msa-chat-record summary{cursor:pointer;font-weight:600}
.msa-chat-record pre{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.6 "Segoe UI",sans-serif;background:#f7f3ea;border-radius:6px;padding:15px}
.msa-chat-record__edit{margin-top:18px}
.msa-chat-record__edit input,.msa-chat-record__edit textarea{box-sizing:border-box;font:inherit}
.msa-chat-record :focus-visible{outline:2px solid #986513;outline-offset:2px}
@media(max-width:760px){.msa-chat-root{right:12px;bottom:calc(78px + env(safe-area-inset-bottom,0px));width:min(390px,calc(100% - 24px))}.msa-chat-panel{height:min(610px,calc(100dvh - 108px - env(safe-area-inset-bottom,0px)))}.msa-chat-heading{padding:15px 12px 13px 16px}.msa-chat-heading h2{font-size:20px}.msa-chat-scroll{padding:18px 16px}.msa-chat-demo{left:7px;top:7px;bottom:auto;max-width:calc(100% - 76px);padding:6px 9px}}
@media(max-width:335px){.msa-chat-heading h2{font-size:18px}.msa-chat-name-row{gap:7px}.msa-chat-scroll{padding-left:12px;padding-right:12px}}
@media(max-height:530px){.msa-chat-root{bottom:8px}.msa-chat-panel{height:calc(100dvh - 16px)}.msa-chat-heading{padding-top:8px;padding-bottom:8px}.msa-chat-footer{padding:5px 10px}}
@media(prefers-reduced-motion:reduce){.msa-chat-root *{transition:none!important;scroll-behavior:auto!important}}
