/* ANIDAM studio messenger — scoped independently from site components. */
.anidam-chat{position:fixed;right:24px;bottom:24px;z-index:950;font-family:inherit;color:#181b1a}
.anidam-chat *{box-sizing:border-box}
.anidam-chat button,.anidam-chat textarea{font-family:inherit}
.anidam-chat button{cursor:pointer}
.anidam-chat [hidden]{display:none!important}
.anidam-chat button:focus-visible,.anidam-chat a:focus-visible{outline:2px solid #FF2900;outline-offset:3px}
.anidam-chat-toggle{position:relative;display:grid;place-items:center;margin-left:auto;width:58px;height:58px;border:1px solid #ececea;border-radius:20px;background:#fff;color:#FF2900;box-shadow:0 6px 24px #17201920;transition:transform .2s}
.anidam-chat-toggle:hover{transform:translateY(-2px)}
.anidam-bot-icon{display:block;width:44px;height:44px;flex-shrink:0}
.anidam-chat-toggle[aria-expanded=true]{background:#181b1a;color:#fff;border-color:#181b1a}
.anidam-chat-toggle[aria-expanded=true] .anidam-bot-icon{display:none}
.anidam-chat-toggle[aria-expanded=true]:before,.anidam-chat-toggle[aria-expanded=true]:after{content:'';position:absolute;width:20px;height:2px;background:currentColor;transform:rotate(45deg)}
.anidam-chat-toggle[aria-expanded=true]:after{transform:rotate(-45deg)}
.anidam-chat-panel{width:min(400px,calc(100vw - 32px));height:min(620px,calc(100dvh - 108px));margin-bottom:14px;display:flex;flex-direction:column;overflow:hidden;border:1px solid #e5e6e3;border-radius:24px;background:#f5f5f2;box-shadow:0 24px 80px #131c1926,0 4px 14px #131c1908}
.anidam-chat-panel>header{display:flex;align-items:center;gap:12px;padding:20px;flex-shrink:0;background:#171c19;color:#fff;border-bottom:3px solid #FF2900}
.anidam-chat-avatar{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;background:#fff2e9;color:#FF2900;border-radius:12px}
.anidam-chat-avatar .anidam-bot-icon{width:33px;height:33px}
.anidam-chat-heading{flex:1;min-width:0}
.anidam-chat-heading strong{display:block;font-size:16px;font-weight:700;letter-spacing:.06em;line-height:1.3}
.anidam-chat-heading span{display:block;font-size:11px;color:#bac2bc;margin-top:5px;line-height:1.4}
.anidam-chat-back,.anidam-chat-close{display:grid;place-items:center;flex:0 0 24px;width:24px;height:30px;border:0;padding:0;background:transparent;color:#d8deda;font-size:26px;line-height:1}
.anidam-chat-body{flex:1;min-height:0;overflow:auto;display:flex;align-items:center;padding:28px}
.anidam-chat-welcome{width:100%}
.anidam-welcome-eyebrow{display:block;font-size:9px;font-weight:700;letter-spacing:.12em;color:#FF2900;margin-bottom:20px}
.anidam-chat .anidam-chat-welcome h2{font-family:inherit;font-size:32px;font-weight:600;line-height:1.12;letter-spacing:-1.3px;color:#171c19;margin:0}
.anidam-chat-welcome p{font-size:14px;line-height:1.7;color:#69716b;margin:20px 0 28px}
.anidam-chat-contact{display:flex;justify-content:space-between;align-items:center;width:100%;padding:15px 18px;border:0;border-radius:12px;background:#FF2900;color:#fff;font-size:14px;font-weight:600}
.anidam-chat-contact span{font-size:22px}
.anidam-conversation{position:relative;display:flex;flex-direction:column;flex:1;min-height:0;padding:0 18px 12px;gap:10px}
.anidam-chat-messages{display:flex;flex-direction:column;gap:18px;overflow:auto;overscroll-behavior:contain;flex:1;min-height:0;padding:18px 0 12px;scrollbar-width:thin;scrollbar-color:#d7dcd5 transparent}
.anidam-chat-day{display:flex;align-items:center;gap:12px;flex-shrink:0;color:#959b95;font-size:10px;letter-spacing:.05em;margin:0 0 2px}
.anidam-chat-day:before,.anidam-chat-day:after{content:'';flex:1;height:1px;background:#e0e3dd}
.anidam-chat-message{align-self:flex-end;flex-shrink:0;max-width:85%;margin:0;padding:10px 14px;background:#202922;color:white;font-size:13px;line-height:1.6;border-radius:14px 14px 3px 14px;white-space:pre-wrap;overflow-wrap:anywhere}
.anidam-assistant-row{flex-shrink:0;display:flex;flex-direction:column;gap:0;margin:0;min-width:0}
.anidam-assistant-row>.anidam-chat-avatar{display:none}
.anidam-assistant-row>div:last-child{width:94%;min-width:0}
.anidam-chat .anidam-assistant-bubble{margin:0;padding:16px;background:#fff;border:1px solid #e7e9e3;color:#343c35;border-radius:3px 16px 16px 16px;font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.anidam-assistant-row small{display:block;margin:7px 0 0 3px;color:#929a93;font-size:9px;line-height:1.4}
.anidam-chat-panel a.anidam-faq-link{display:inline-flex;align-items:center;gap:12px;color:#FF2900;background:#fff5ef;border-radius:7px;padding:7px 10px;margin-top:12px;font-size:11px;font-weight:600;text-decoration:none;line-height:1.5}
.anidam-faq-link:after{content:'↗'}
.anidam-topic-bar{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;padding-top:10px;border-top:1px solid #e0e4dd}
.anidam-topic-toggle{border:0;padding:3px 0;background:none;color:#303b32;font-size:11px;font-weight:600;display:flex;align-items:center;gap:7px}
.anidam-topic-toggle span{color:#FF2900;font-size:17px;line-height:1}
.anidam-topic-bar>span{font-size:9px;color:#939b94}
.anidam-faq-options{display:grid;grid-template-columns:1fr 1fr;gap:6px;flex-shrink:0;max-height:160px;overflow:auto}
.anidam-faq-options button{text-align:left;display:flex;align-items:center;justify-content:space-between;border:1px solid #e2e6de;background:#fff;color:#38443a;border-radius:8px;padding:9px 10px;font-size:11px;line-height:1.4}
.anidam-faq-options button:after{content:'↗';color:#9da69d}
.anidam-faq-options button:hover{border-color:#FF2900;background:#fff7f2}
.anidam-chat-compose{display:flex;align-items:center;gap:8px;flex-shrink:0;border:1px solid #dce1d8;border-radius:12px;background:#fff;padding:8px 9px 8px 13px;margin:0}
.anidam-chat-compose:focus-within{border-color:#FF2900;box-shadow:0 0 0 3px #FF290008}
.anidam-chat-field{flex:1;min-width:0}
.anidam-chat-compose textarea{display:block;width:100%;height:30px;min-height:0;max-height:90px;resize:none;border:0!important;outline:0!important;box-shadow:none!important;background:transparent;padding:5px 0;margin:0;font-size:13px;line-height:20px;color:#29342b}
.anidam-chat-compose textarea::placeholder{color:#939b94}
.anidam-chat-compose button{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;padding:0;border:0;border-radius:9px;background:#FF2900;color:#fff;font-size:22px;line-height:1}
.anidam-chat-compose .anidam-chat-emoji{width:24px;background:transparent;color:#8a948b;font-size:22px}
.anidam-chat-panel>footer{flex-shrink:0;padding:0 12px 14px;text-align:center;color:#9ba19b;font-size:9px;line-height:1.5}
.anidam-chat-panel>footer span{padding:0 4px}
.anidam-chat-panel>footer a{color:#68736a;text-decoration:none}
.anidam-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:480px){.anidam-chat{right:16px;bottom:16px}.anidam-chat-panel{height:min(620px,calc(100dvh - 100px))}.anidam-chat-panel>header{padding:17px}.anidam-chat-toggle{width:54px;height:54px}.anidam-chat-compose textarea{font-size:16px}.anidam-chat-body{padding:24px}}
@media(prefers-reduced-motion:reduce){.anidam-chat-toggle{transition:none}}
/* Searchable emoji popover stays anchored above the composer. */
.anidam-conversation{position:relative}
.anidam-chat .anidam-emoji-picker{position:absolute;right:16px;bottom:76px;z-index:5;width:calc(100% - 32px);box-sizing:border-box;display:flex;flex-direction:column;gap:0;padding:10px 0 0;background:#fff;border:1px solid #e3e4e6;border-radius:14px;box-shadow:0 8px 28px #00000018;overflow:hidden;max-height:min(330px,calc(100dvh - 270px))}
.anidam-chat .anidam-emoji-picker[hidden]{display:none}
.anidam-emoji-search-label{display:block;margin:0 10px 10px}
.anidam-chat .anidam-emoji-search{width:100%;box-sizing:border-box;min-height:38px;padding:8px 10px;border:1px solid #dfe1e5;border-radius:8px;background:#fff;font:inherit;font-size:14px;color:#242824;outline:none}
.anidam-chat .anidam-emoji-search:focus{border-color:#FF2900;box-shadow:0 0 0 2px #FF290012}
.anidam-emoji-title{font-size:13px;font-weight:600;padding:0 12px 8px;color:#25292c}
.anidam-emoji-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:3px;padding:0 8px 10px;overflow-y:auto;min-height:0;flex:1}
.anidam-chat .anidam-emoji-grid button{font-size:23px;width:100%;height:34px;padding:0;display:grid;place-items:center;border:0;border-radius:7px;background:transparent;cursor:pointer}
.anidam-chat .anidam-emoji-grid button:hover{background:#fff0e9}.anidam-emoji-grid p{grid-column:1/-1}
.anidam-chat .anidam-emoji-categories{display:flex;justify-content:space-around;gap:4px;padding:8px;background:#f3f3f5;border-top:1px solid #eee;flex-shrink:0}
.anidam-chat .anidam-emoji-categories button{width:34px;height:32px;font-size:20px;padding:0;border:0;border-radius:7px;cursor:pointer;background:transparent}
.anidam-chat .anidam-emoji-categories button[aria-pressed=true]{background:#fff;box-shadow:0 1px 4px #0001}
@media(max-width:360px){.anidam-emoji-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}


/* Liquid glass: translucent shell, bright edges and restrained brand accents. */
.anidam-chat-panel{background:linear-gradient(145deg,#ffffffb8,#f5f6f8a6);backdrop-filter:blur(30px) saturate(145%);-webkit-backdrop-filter:blur(30px) saturate(145%);border:1px solid #ffffffdb;border-radius:28px;box-shadow:inset 0 1px 0 #fff,inset 0 -1px 0 #ffffff66,0 24px 64px #202b361c,0 2px 8px #202b3608}
.anidam-chat-panel>header{background:linear-gradient(120deg,#ffffffa6,#ffffff30);border-bottom:1px solid #ffffffb3;color:#202529;padding:20px;box-shadow:0 1px 0 #52647608}
.anidam-chat-heading strong{letter-spacing:.025em;font-weight:650}
.anidam-chat-heading span{color:#707b83}
.anidam-chat-avatar{background:linear-gradient(145deg,#ffffffed,#fff3ec99);border:1px solid #fff;border-radius:14px;box-shadow:inset 0 1px 0 #fff,0 3px 10px #FF290008}
.anidam-chat-back,.anidam-chat-close{color:#6a747b}
.anidam-chat-message{background:linear-gradient(135deg,#ffe3d9e6,#ffd1bfc9);border:1px solid #ffffffb3;color:#FF2900;box-shadow:inset 0 1px 0 #ffffff9c,0 3px 9px #FF290007;border-radius:17px 17px 5px 17px}
.anidam-chat .anidam-assistant-bubble{background:linear-gradient(135deg,#ffffffba,#ffffff69);border:1px solid #ffffffdc;border-radius:18px 18px 18px 5px;box-shadow:inset 0 1px 0 #fff,0 4px 14px #3b526009;color:#39434a}
.anidam-assistant-row small{color:#849098;font-size:9px}
.anidam-chat-panel a.anidam-faq-link{background:#ffffffa6;border:1px solid #ffffffec;color:#FF2900;border-radius:9px;box-shadow:0 2px 5px #233a4805}
.anidam-chat-panel a.anidam-faq-link:hover{background:#fff}
.anidam-topic-bar{border-top-color:#ffffffb3}
.anidam-topic-toggle{color:#48565e;font-weight:500}
.anidam-topic-bar>span{color:#88959c}
.anidam-faq-options button{background:#ffffff80;border:1px solid #ffffffc9;color:#46535b;box-shadow:inset 0 1px 0 #ffffffbf;border-radius:10px}
.anidam-faq-options button:hover{background:#ffffffd9;border-color:#fff}
.anidam-chat-compose{background:linear-gradient(120deg,#ffffffc9,#ffffff80);border:1px solid #fff;border-radius:18px;padding:10px 10px 10px 15px;box-shadow:inset 0 1px 0 #fff,0 3px 14px #2d425610}
.anidam-chat-compose:focus-within{border-color:#FF2900;box-shadow:inset 0 1px 0 #fff,0 0 0 3px #ffffff66,0 4px 16px #2d42560a}
.anidam-chat-compose button[type=submit]{background:linear-gradient(145deg,#FF2900,#FF2900);border:1px solid #ffffff80;border-radius:11px;box-shadow:inset 0 1px 0 #ffffff66,0 3px 8px #FF290026}
.anidam-chat-panel>footer{color:#87939b}
.anidam-chat-panel>footer a{color:#63737d}
.anidam-chat-toggle,.anidam-chat-toggle[aria-expanded=true]{background:linear-gradient(135deg,#ffffffd9,#ffffff70);color:#FF2900;border:1px solid #fff;border-radius:21px;backdrop-filter:blur(20px) saturate(140%);-webkit-backdrop-filter:blur(20px) saturate(140%);box-shadow:inset 0 1px 0 #fff,0 8px 24px #26394b1a}
.anidam-chat-toggle[aria-expanded=true]{color:#53616b}
.anidam-chat-contact{background:linear-gradient(135deg,#FF2900,#FF2900);border:1px solid #ffffff80;box-shadow:inset 0 1px 0 #ffffff66,0 5px 16px #FF29001a;border-radius:14px}
.anidam-chat .anidam-emoji-picker{background:#fafbfaf5;border:1px solid #fff;box-shadow:0 10px 32px #283b4b20}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.anidam-chat-panel{background:#f4f6f7}.anidam-chat-toggle{background:#fff}}
@media(prefers-reduced-transparency:reduce){.anidam-chat-panel{background:#f4f6f7;backdrop-filter:none;-webkit-backdrop-filter:none}.anidam-chat-toggle{background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none}}
