.museum-chat-launcher{position:fixed;right:20px;bottom:max(20px,env(safe-area-inset-bottom));z-index:45;display:flex;align-items:center;gap:9px;min-height:46px;padding:11px 16px;border:1px solid #e8d8b5;border-radius:30px;background:var(--dark);color:var(--paper);box-shadow:0 5px 24px #13251e25;font:500 13px/1.4 var(--sans);transition:transform .2s,box-shadow .2s}.museum-chat-launcher:hover{transform:translateY(-2px);box-shadow:0 8px 28px #13251e35}.museum-chat-spark{color:var(--gold);font-size:20px;line-height:1}.museum-chat-panel{position:fixed;inset:auto 20px 20px auto;margin:0;padding:0;width:min(414px,calc(100vw - 32px));height:min(640px,calc(100dvh - 40px));max-width:none;max-height:none;border:1px solid var(--line);border-radius:18px;background:var(--paper);color:var(--ink);box-shadow:0 24px 90px #172a2640;overflow:hidden}.museum-chat-panel[open]{display:flex;flex-direction:column;animation:museum-chat-in .2s ease-out}.museum-chat-panel::backdrop{background:#10251a26}.museum-chat-header{display:flex;align-items:center;gap:12px;padding:18px 18px 16px;background:var(--dark);color:var(--paper);flex:none}.museum-chat-symbol{display:grid;place-items:center;width:40px;height:40px;border:1px solid #d8ba8870;border-radius:50%;color:var(--gold);font-size:24px}.museum-chat-heading{flex:1;min-width:0}.museum-chat-heading h2{font:500 16px/1.35 var(--sans);letter-spacing:0}.museum-chat-heading p{font:12px/1.5 var(--sans);color:#c9d1c5;margin-top:3px}.museum-chat-close{background:transparent;color:inherit;border:0;border-radius:50%;width:44px;height:44px;font-size:25px;flex:none}.museum-chat-close:hover{background:#ffffff15}.museum-chat-feed{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px 18px;scrollbar-width:thin;display:flex;flex-direction:column;gap:14px}.museum-chat-message{padding:13px 15px;border:1px solid var(--line);background:#fffdf8;border-radius:3px 14px 14px 14px;max-width:96%;flex:none;font:14px/1.65 var(--sans);overflow-wrap:anywhere}.museum-chat-message p{white-space:pre-wrap}.museum-chat-message.visitor{align-self:flex-end;border-color:#dee5da;background:#e6ecdf;border-radius:14px 3px 14px 14px}.museum-chat-message.notice{color:var(--muted);background:transparent}.museum-chat-label{display:block;font-size:10px;letter-spacing:.05em;text-transform:uppercase;color:var(--rust);margin-bottom:6px}.museum-chat-sources{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin-top:12px}.museum-chat-sources a{font-size:12px;line-height:1.5;min-height:32px;display:flex;align-items:center}.museum-chat-suggestions{display:flex;flex-wrap:wrap;gap:7px;padding:0 18px 12px;flex:none}.museum-chat-suggestions button{background:transparent;border:1px solid #bfc6bb;border-radius:16px;padding:7px 10px;min-height:36px;font:12px/1.4 var(--sans)}.museum-chat-status{padding:0 18px;font:12px/1.5 var(--sans);color:var(--muted);flex:none}.museum-chat-status:empty{display:none}.museum-chat-form{padding:12px 18px 8px;flex:none}.museum-chat-compose{display:flex;gap:8px;align-items:flex-end;background:#fffdf8;border:1px solid #bfc6bb;border-radius:12px;padding:6px}.museum-chat-compose:focus-within{outline:2px solid var(--rust);outline-offset:2px}.museum-chat-compose textarea{resize:none;width:100%;min-width:0;border:0;outline:0;background:transparent;color:inherit;padding:7px;font:16px/1.45 var(--sans);max-height:100px}.museum-chat-send{width:44px;height:44px;flex:none;border:0;border-radius:9px;background:var(--dark);color:var(--paper);font-size:23px}.museum-chat-cancel{border:0;background:transparent;text-decoration:underline;min-height:36px;font-size:12px;margin-top:4px}.museum-chat-note{padding:0 18px 14px;font:10px/1.5 var(--sans);color:var(--muted);flex:none}.museum-chat-note a{white-space:nowrap}.museum-chat-field-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@keyframes museum-chat-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media(max-width:599px){.museum-chat-launcher{right:12px;bottom:max(12px,env(safe-area-inset-bottom));padding:10px 14px;font-size:12px}.museum-chat-panel{inset:auto 8px max(8px,env(safe-area-inset-bottom)) 8px;width:auto;height:min(650px,calc(100dvh - 16px));border-radius:15px}.museum-chat-header{padding:12px 14px}.museum-chat-feed{padding:16px 14px}.museum-chat-suggestions{padding-inline:14px}.museum-chat-form{padding-inline:14px}.museum-chat-note{padding-inline:14px}.site-footer{padding-bottom:80px}}@media(prefers-reduced-motion:reduce){.museum-chat-panel[open]{animation:none}.museum-chat-launcher{transition:none}}html.motion-off .museum-chat-panel[open]{animation:none}html.motion-off .museum-chat-launcher{transition:none}

.museum-chat-panel{bottom:max(20px,env(safe-area-inset-bottom),var(--chat-lift,0px))}html:has(#museum-chat[open]){overflow:hidden}@media(max-width:599px){.museum-chat-panel{bottom:max(8px,env(safe-area-inset-bottom),var(--chat-lift,0px))}}
