.kbar-chat{--kc-gold:#c8a96b;--kc-gold-soft:#D4B06A;--kc-gold-dark:#A97A32;--kc-bg:#111;--kc-panel:#171717;--kc-panel-2:#1e1e1e;--kc-text:#e7e1d5;--kc-muted:#9d988e;--kc-success:#6E8F62;--kc-success-hover:#77B86E;--kc-danger:#8b1e2d;position:fixed;right:90px;bottom:38px;z-index:999970;font-family:Inter,Roboto,"Helvetica Neue",Arial,sans-serif;color:var(--kc-text)}
.kbar-chat--left{right:auto;left:24px}.kbar-chat *{box-sizing:border-box}.kbar-chat button,.kbar-chat input,.kbar-chat textarea{font:inherit}.kbar-chat__launcher{display:flex;align-items:center;gap:10px;min-height:48px;padding:8px 12px 8px 12px;border:1px solid rgba(200,169,107,.48);border-radius:999px;background:linear-gradient(135deg,#332b20,#211c15);color:var(--kc-gold-soft);box-shadow:0 12px 36px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.035);cursor:pointer;transition:.22s ease}
.kbar-chat__launcher:hover{color:#f4e4b8;border-color:rgba(212,176,106,.76);transform:translateY(-1px);box-shadow:0 16px 42px rgba(0,0,0,.42),0 0 0 1px rgba(212,176,106,.08)}.kbar-chat__launcher-icon{display:grid;place-items:center;width:28px;height:28px}.kbar-chat__launcher-icon svg{width:28px;height:28px}.kbar-chat__launcher-label{font-size:13px;font-weight:650;letter-spacing:.015em}.kbar-chat__badge{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:linear-gradient(135deg,var(--kc-success),var(--kc-success-hover));color:#fff;font-size:11px;font-weight:800}
.kbar-chat__panel{position:absolute;right:0;bottom:62px;width:min(410px,calc(100vw - 28px));height:min(620px,75vh);min-height:460px;overflow:hidden;border:1px solid rgba(200,169,107,.28);border-radius:16px;background:linear-gradient(180deg,#181818,#101010);box-shadow:0 28px 80px rgba(0,0,0,.58),inset 0 1px 0 rgba(255,255,255,.035);display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto auto}.kbar-chat--left .kbar-chat__panel{right:auto;left:0}
.kbar-chat__header{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:11px;padding:15px 15px 14px;border-bottom:1px solid rgba(200,169,107,.16);background:linear-gradient(135deg,rgba(55,45,30,.92),rgba(24,21,18,.96))}.kbar-chat__brand-mark{display:grid;place-items:center;width:36px;height:36px;border:1px solid rgba(212,176,106,.46);border-radius:50%;background:radial-gradient(circle at 35% 25%,rgba(244,228,184,.14),rgba(169,122,50,.06));color:var(--kc-gold-soft);font-family:Merriweather,Georgia,serif;font-size:17px;font-weight:700}.kbar-chat__brand-copy{display:flex;flex-direction:column;min-width:0}.kbar-chat__brand-copy strong{color:#f1e8d8;font-family:Merriweather,Georgia,serif;font-size:14px;font-weight:700;line-height:1.25}.kbar-chat__brand-copy span{margin-top:2px;color:#aaa397;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kbar-chat__presence{width:9px;height:9px;border-radius:50%;background:#625f5a;box-shadow:0 0 0 3px rgba(255,255,255,.03)}.kbar-chat__presence.is-online{background:var(--kc-success-hover);box-shadow:0 0 0 3px rgba(119,184,110,.12),0 0 14px rgba(119,184,110,.4)}.kbar-chat__close{width:32px;height:32px;padding:0;border:0;border-radius:50%;background:transparent;color:#aaa;font-size:23px;line-height:1;cursor:pointer}.kbar-chat__close:hover{background:rgba(255,255,255,.05);color:#fff}
.kbar-chat__status{min-height:35px;padding:9px 16px;border-bottom:1px solid rgba(255,255,255,.045);color:#9f9a90;font-size:11px;line-height:1.45}.kbar-chat__status strong{color:#d6c7a9;font-weight:600}.kbar-chat__messages{overflow:auto;padding:16px;scrollbar-width:thin;scrollbar-color:#5e513c transparent}.kbar-chat__messages::-webkit-scrollbar{width:6px}.kbar-chat__messages::-webkit-scrollbar-thumb{background:#5e513c;border-radius:999px}
.kbar-chat__welcome{max-width:88%;margin:0 0 13px;padding:11px 13px;border:1px solid rgba(200,169,107,.16);border-radius:5px 14px 14px 14px;background:#20201e;color:#d9d4cb;font-size:13px;line-height:1.5}.kbar-chat__message{display:flex;flex-direction:column;max-width:84%;margin:0 0 11px}.kbar-chat__message--visitor{margin-left:auto;align-items:flex-end}.kbar-chat__message--operator{margin-right:auto;align-items:flex-start}.kbar-chat__bubble{padding:10px 12px;border-radius:14px;font-size:13px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}.kbar-chat__message--visitor .kbar-chat__bubble{border:1px solid rgba(212,176,106,.28);border-radius:14px 5px 14px 14px;background:linear-gradient(135deg,#3b3020,#2b241a);color:#f0e5d2}.kbar-chat__message--operator .kbar-chat__bubble{border:1px solid rgba(255,255,255,.065);border-radius:5px 14px 14px 14px;background:#222220;color:#ddd8cf}.kbar-chat__time{margin-top:4px;color:#6f6b65;font-size:9px}
.kbar-chat__identity{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 14px;border-top:1px solid rgba(255,255,255,.045);background:#151515}.kbar-chat__identity label{display:flex;flex-direction:column;gap:4px}.kbar-chat__identity span{color:#8f8a80;font-size:10px}.kbar-chat__identity input,.kbar-chat__challenge input{width:100%;min-height:34px;padding:7px 9px;border:1px solid rgba(200,169,107,.2);border-radius:8px;outline:0;background:#0f0f0f;color:#e5e0d6}.kbar-chat__identity input:focus,.kbar-chat__challenge input:focus{border-color:rgba(212,176,106,.65);box-shadow:0 0 0 2px rgba(212,176,106,.08)}
.kbar-chat__challenge{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 10px;padding:10px 14px;border-top:1px solid rgba(212,176,106,.16);background:#1d1a15}.kbar-chat__challenge strong{color:#ddc78f;font-size:11px}.kbar-chat__challenge span{grid-column:1;color:#c7c0b4;font-size:12px}.kbar-chat__challenge input{grid-column:2;grid-row:1/3;width:74px}
.kbar-chat__composer{display:grid;grid-template-columns:minmax(0,1fr) 42px;align-items:end;gap:8px;padding:11px 12px;border-top:1px solid rgba(200,169,107,.15);background:#131313}.kbar-chat__composer textarea{display:block;width:100%;min-height:42px;max-height:118px;resize:none;padding:10px 12px;border:1px solid rgba(200,169,107,.2);border-radius:12px;outline:0;background:#0d0d0d;color:#eee8dd;font-size:13px;line-height:1.45;overflow:auto;margin-bottom:0}.kbar-chat__composer textarea:focus{border-color:rgba(212,176,106,.62);box-shadow:0 0 0 2px rgba(212,176,106,.075)}.kbar-chat__composer textarea::placeholder{color:#706d68}.kbar-chat__send{display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid rgba(212,176,106,.45);border-radius:12px;background:linear-gradient(135deg,#443821,#2b241a);color:#e2c47f;cursor:pointer}.kbar-chat__send:hover{border-color:#d4b06a;color:#f4e4b8;background:linear-gradient(135deg,#554523,#33291c)}.kbar-chat__send:disabled{opacity:.45;cursor:wait}.kbar-chat__send svg{width:21px;height:21px;fill:currentColor}.kbar-chat__hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important}.kbar-chat__privacy{padding:0 13px 10px;background:#131313;color:#5f5c57;font-size:8.5px;line-height:1.35}.kbar-chat__new{margin:0 13px 10px;padding:9px 11px;border:1px solid rgba(200,169,107,.25);border-radius:9px;background:#211c15;color:#d4b06a;cursor:pointer}.kbar-chat__new:hover{color:#f4e4b8;border-color:rgba(212,176,106,.55)}
.kbar-chat-context-chip{display:flex;gap:8px;align-items:center;margin:0 0 11px;padding:9px 10px;border:1px solid rgba(200,169,107,.14);border-radius:10px;background:rgba(200,169,107,.05);color:#a99f8e;font-size:10.5px}.kbar-chat-context-chip strong{color:#d4c39f;font-weight:600}.kbar-chat__museum-ask{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin:12px 0 0;padding:9px 13px;border:1px solid rgba(200,169,107,.28);border-radius:10px;background:linear-gradient(135deg,#2d271e,#1c1915);color:#d4b06a;font-size:12px;cursor:pointer}.kbar-chat__museum-ask:hover{border-color:rgba(212,176,106,.6);color:#f4e4b8}
@media(max-width:600px){.kbar-chat__launcher-label{display:none}.kbar-chat{right:90px;bottom:38px;left:auto}.kbar-chat--left{left:10px;right:auto}.kbar-chat__launcher{min-height:46px}.kbar-chat__panel{position:fixed;inset:10px;width:auto;height:auto;min-height:0;max-height:none;border-radius:14px}.kbar-chat__identity{grid-template-columns:1fr}.kbar-chat__privacy{font-size:8px}}
@media(prefers-reduced-motion:reduce){.kbar-chat *{scroll-behavior:auto!important;transition:none!important}}
/* 1.1.1 — browser notifications + reliable sound controls */
.kbar-chat__header{grid-template-columns:auto 1fr auto auto auto}
.kbar-chat__notify{display:grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid rgba(212,176,106,.22);border-radius:50%;background:rgba(255,255,255,.025);color:#aaa397;cursor:pointer;transition:border-color .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease}
.kbar-chat__notify svg{width:16px;height:16px;fill:currentColor}
.kbar-chat__notify:hover{border-color:rgba(212,176,106,.55);background:rgba(212,176,106,.08);color:#ead49d}
.kbar-chat__notify.is-enabled{border-color:rgba(119,184,110,.42);background:rgba(119,184,110,.1);color:#8fc583;box-shadow:0 0 0 3px rgba(119,184,110,.05)}
.kbar-chat__notify.is-blocked{border-color:rgba(184,102,102,.3);color:#bd8780}
.kbar-chat__notify:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:480px){.kbar-chat__header{gap:8px}.kbar-chat__notify,.kbar-chat__close{width:30px;height:30px}}
