/* demo-chat styles. Uses site tokens when present, with fallbacks so it works standalone. */
.demo-chat { border: 1px solid var(--line, #D9DDE1); border-radius: var(--radius, 4px); background: var(--paper-2, #fff); padding: var(--s4, 16px); max-width: 640px; }
.demo-chat__log { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s3, 12px); max-height: 420px; overflow-y: auto; }
.demo-chat__msg { max-width: 85%; padding: var(--s3, 12px) var(--s4, 16px); border-radius: 12px; }
.demo-chat__msg p { margin: 0; }
.demo-chat__msg--bot { align-self: flex-start; background: var(--paper, #F4F2EE); color: var(--ink, #14202B); }
.demo-chat__msg--caller { align-self: flex-end; background: var(--ink, #14202B); color: var(--on-dark, #F4F2EE); }
.demo-chat__who { display: block; font-size: var(--fs-eyebrow, .8125rem); font-weight: 600; margin-bottom: 2px; }
.demo-chat__choices { display: flex; flex-wrap: wrap; gap: var(--s2, 8px); margin-top: var(--s4, 16px); }
.demo-chat__choice { font: inherit; min-height: 44px; padding: var(--s2, 8px) var(--s4, 16px); border: 2px solid var(--button, #17716A); border-radius: 22px; background: var(--white, #fff); color: var(--ink, #14202B); cursor: pointer; }
.demo-chat__choice:hover { background: var(--paper, #F4F2EE); }
.demo-chat__choice:focus-visible, .demo-chat__restart:focus-visible { outline: 3px solid var(--focus, #17716A); outline-offset: 2px; }
.demo-chat__end { margin: 0; font-size: var(--fs-small, .9375rem); }
.demo-chat__restart { margin-top: var(--s4, 16px); }
