.mc-chat [hidden] { display:none!important; }
.mc-chat { position:fixed; right:max(20px,env(safe-area-inset-right)); bottom:max(20px,env(safe-area-inset-bottom)); z-index:50; color:#f1f8f5; font-family:inherit; }
.mc-chat button { cursor:pointer; }
.mc-chat-launcher { display:flex; align-items:center; gap:10px; min-height:54px; margin-left:auto; padding:14px 20px; border-radius:30px; background:#7fe3bd; color:#062a27; border:1px solid #b7fff3; font-size:12px; font-weight:800; box-shadow:0 8px 32px #0005; }
.mc-chat-welcome { position:relative; width:270px; max-width:calc(100vw - 40px); margin-bottom:12px; padding:20px; border:1px solid #7fe3bd45; border-radius:18px 18px 4px 18px; background:linear-gradient(145deg,#223336,#10191a); box-shadow:0 18px 55px #0005; }
.mc-chat-welcome strong { display:block; font-size:14px; padding-right:25px; }
.mc-chat-welcome p { color:#afc4c1; font-size:12px; line-height:1.6; margin:10px 0; }
.mc-chat-welcome>button:last-child { color:#7fe3bd; font-size:12px; font-weight:700; min-height:44px; background:transparent; border:0; }
.mc-chat-dismiss { position:absolute; top:3px; right:3px; width:44px; height:44px; font-size:23px; background:none; border:0; color:#afc4c1; }
.mc-chat-panel { position:fixed; inset:auto max(20px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) auto; margin:0; padding:0; width:390px; max-width:calc(100vw - 24px); height:610px; max-height:calc(100dvh - 40px - env(safe-area-inset-bottom)); border:1px solid #64978e; border-radius:22px; background:#121b1c; color:#f1f8f5; box-shadow:0 25px 90px #0008; overflow:hidden; }
.mc-chat-panel[open] { display:flex; flex-direction:column; }
.mc-chat-panel::backdrop { background:#070f1070; backdrop-filter:blur(3px); }
.mc-chat-header { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; padding:22px 18px 17px; background:linear-gradient(120deg,#233a3d,#142022); border-bottom:1px solid #7fe3bd22; }
.mc-chat-eyebrow { color:#7fe3bd; letter-spacing:.17em; font-size:8px; font-weight:700; }
.mc-site .mc-chat-header h2 { font-family:'DM Serif Display',serif; font-size:26px; line-height:1.2; font-weight:400; margin:7px 0; letter-spacing:-.03em; }
.mc-chat-header p { font-size:10px; color:#a1bab6; }
.mc-chat-header button { flex:none; width:44px; height:44px; border:1px solid #7fe3bd30; border-radius:50%; background:transparent; color:#c8e1dd; font-size:25px; }
.mc-chat-log { flex:1; min-height:0; overflow:auto; overscroll-behavior:contain; padding:18px; }
.mc-chat-message { width:94%; padding:14px; margin-bottom:12px; border-radius:4px 16px 16px; background:#212e30; border:1px solid #7fe3bd15; overflow-wrap:anywhere; }
.mc-chat-message>strong { display:block; font-size:10px; color:#7fe3bd; margin-bottom:7px; }
.mc-chat-message p { font-size:13px; line-height:1.7; }
.mc-chat-message.is-visitor { margin-left:auto; background:#7fe3bd; color:#062a27; border-radius:16px 4px 16px 16px; }
.mc-chat-message.is-visitor>strong { color:#2b5258; }
.mc-chat-message a { display:inline-flex; align-items:center; min-height:44px; color:#7fe3bd; font-weight:700; text-decoration:underline; font-size:12px; margin-top:6px; }
.mc-chat-topics { display:flex; flex-wrap:wrap; gap:7px; padding:0 16px 12px; }
.mc-chat-topics button { min-height:44px; border:1px solid #638983; border-radius:24px; background:transparent; color:#cee6e2; padding:7px 12px; font-size:11px; }
.mc-chat-topics button:hover { background:#2a4144; }
.mc-chat-form { display:flex; gap:8px; padding:0 16px; }
.mc-chat-form input { flex:1; min-width:0; height:48px; border:1px solid #5c7376; border-radius:12px; background:#0c1314; color:#f1f8f5; padding:12px; font:inherit; font-size:16px; }
.mc-chat-form input::placeholder { color:#90aba6; }
.mc-chat-form button { display:grid; place-items:center; width:48px; flex:none; border:0; border-radius:12px; background:#7fe3bd; color:#062a27; }
.mc-chat-note { padding:10px 18px 14px; font-size:9px; line-height:1.5; color:#93afaa; }
@media(max-width:480px) { .mc-chat { right:12px; bottom:max(12px,env(safe-area-inset-bottom)); }.mc-chat-panel { right:12px; bottom:max(12px,env(safe-area-inset-bottom)); max-height:calc(100dvh - 24px - env(safe-area-inset-bottom)); }.mc-chat-welcome { width:248px; padding:16px; }.mc-chat-launcher { min-height:48px; padding:11px 16px; } }
