.exhibit-chat-pilot{position:relative;background:linear-gradient(180deg,color-mix(in srgb,var(--panel) 97%,var(--gold) 3%),var(--panel));overflow:hidden}
.exhibit-chat-pilot::before{content:"";position:absolute;inset:0 0 auto;height:3px;background:var(--gold)}
.exhibit-chat-kicker{margin:0 0 .25rem;font-size:.76rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:600}
.exhibit-chat-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}
.exhibit-chat-head h2{margin:.1rem 0 .55rem}
.exhibit-chat-badge{flex:0 0 auto;border:1px solid var(--line);border-radius:999px;padding:.3rem .65rem;font-size:.75rem;color:var(--muted);background:var(--wall)}
.exhibit-chat-disclosure{margin:.35rem 0 1rem;padding:.7rem .8rem;border-left:3px solid var(--gold);background:color-mix(in srgb,var(--wall) 86%,var(--gold) 14%);font-size:.88rem;color:var(--muted)}
.exhibit-chat-prompts{display:flex;flex-wrap:wrap;gap:.5rem;margin:.8rem 0 1rem}
.exhibit-chat-prompts button{border:1px solid var(--line);background:var(--wall);color:var(--ink);border-radius:999px;padding:.58rem .8rem;font:600 .84rem var(--sans);cursor:pointer}
.exhibit-chat-prompts button:hover,.exhibit-chat-prompts button:focus-visible{border-color:var(--blue);color:var(--blue)}
.exhibit-chat-log{display:grid;gap:.7rem;margin:1rem 0;max-height:25rem;overflow:auto;scrollbar-gutter:stable;padding-right:.2rem}
.exhibit-chat-entry{padding:.72rem .82rem;border-left:3px solid var(--line);background:var(--wall);border-radius:0 10px 10px 0}
.exhibit-chat-entry[data-role="exhibit"]{border-left-color:var(--gold)}
.exhibit-chat-entry[data-role="visitor"]{border-left-color:var(--blue)}
.exhibit-chat-speaker{display:block;margin-bottom:.22rem;font-size:.72rem;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);font-weight:700}
.exhibit-chat-entry p{margin:.2rem 0}.exhibit-chat-source{margin-top:.45rem!important;font-size:.82rem;color:var(--muted)}
.exhibit-chat-source a{font-weight:600}
.exhibit-chat-form{display:flex;gap:.55rem;align-items:stretch}
.exhibit-chat-form input{min-width:0;flex:1;border:1px solid var(--line);border-radius:10px;padding:.78rem;background:var(--wall);color:var(--ink);font:inherit}
.exhibit-chat-form button{border:1px solid var(--blue);background:var(--blue);color:#fff;border-radius:10px;padding:.7rem 1rem;font:600 .9rem var(--sans);cursor:pointer}
.exhibit-chat-form button[disabled]{opacity:.6;cursor:wait}.exhibit-chat-status{min-height:1.35em;margin:.45rem 0 0;color:var(--muted);font-size:.82rem}
.exhibit-chat-note{margin:.65rem 0 0;font-size:.8rem;color:var(--muted)}
@media(max-width:560px){.exhibit-chat-head{display:block}.exhibit-chat-badge{display:inline-block;margin:.15rem 0 .65rem}.exhibit-chat-form{display:block}.exhibit-chat-form input,.exhibit-chat-form button{width:100%}.exhibit-chat-form button{margin-top:.5rem}.exhibit-chat-log{max-height:22rem}.exhibit-chat-prompts{display:grid;grid-template-columns:1fr}.exhibit-chat-prompts button{text-align:left;border-radius:10px}}
