@carbon/ai-chat-components 1.5.0 → 1.6.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *
4
- * Copyright IBM Corp. 2025
4
+ * Copyright IBM Corp. 2025, 2026
5
5
  *
6
6
  * This source code is licensed under the Apache-2.0 license found in the
7
7
  * LICENSE file in the root directory of this source tree.
@@ -8,7 +8,7 @@
8
8
  /**
9
9
  * @license
10
10
  *
11
- * Copyright IBM Corp. 2025
11
+ * Copyright IBM Corp. 2025, 2026
12
12
  *
13
13
  * This source code is licensed under the Apache-2.0 license found in the
14
14
  * LICENSE file in the root directory of this source tree.
@@ -81,8 +81,8 @@ class ResizeObserverManager {
81
81
  }
82
82
  const messagesMaxWidth = this.getMessagesMaxWidth();
83
83
  const updateAtMaxWidth = (hostWidth) => {
84
- // When host is less than max-width, input-and-messages is "at max width" (filling container)
85
- const isAtMaxWidth = hostWidth < messagesMaxWidth;
84
+ // When host is less than or equal to max-width, input-and-messages is "at max width" (filling container)
85
+ const isAtMaxWidth = hostWidth <= messagesMaxWidth;
86
86
  onWidthChange({ isAtMaxWidth, currentWidth: hostWidth });
87
87
  };
88
88
  const measure = () => {
@@ -1 +1 @@
1
- {"version":3,"file":"resize-observer-manager.js","sources":["../../../../src/components/chat-shell/src/resize-observer-manager.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAAA;;;;;;;AAOG;AAIH;;;AAGG;MACU,qBAAqB,CAAA;IAOhC,WAAA,CACmB,SAAqB,EACrB,WAAwB,EAAA;QADxB,IAAA,CAAA,SAAS,GAAT,SAAS;QACT,IAAA,CAAA,WAAW,GAAX,WAAW;IAC3B;AAEH;;AAEG;IACH,UAAU,GAAA;AACR,QAAA,IAAI,CAAC,oBAAoB,EAAE,UAAU,EAAE;AACvC,QAAA,IAAI,CAAC,8BAA8B,EAAE,UAAU,EAAE;AACjD,QA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Ae,KAAK,IAAI,CAAC,yBAAyB;QAEpD,IAAI,UAAU,EAAE;AACd,YAAA,IAAI,CAAC,yBAAyB,GAAG,eAAe;QAClD;AAEA,QAAA,OAAO,UAAU;IACnB;AAEA;;AAEG;AACH,IAAA,oBAAoB,CAAC,gBAA4B,EAAA;AAC/C,QAAA,IAAI,OAAO,gBAAgB,KAAK,WAAW,EAAE;YAC3C;QACF;AAEA,QAAA,IAAI,CAAC,mBAAmB,GAAG,IAAI,gBAAgB,CAAC,MAAK;AACnD,YAAA,IAAI,IAAI,CAAC,2BAA2B,EAAE,EAAE;AACtC,gBAAA,gBAAgB,EAAE;YACpB;AACF,QAAA,CAAC,CAAC;QAEF,IAAI,CAAC,mBAAmB,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE;AACjD,YAAA,UAAU,EAAE,IAAI;YAChB,eAAe,EAAE,CAAC,OAAO,CAAC;AAC3B,SAAA,CAAC;IACJ;AACD;AAED;;;;"}
1
+ {"version":3,"file":"resize-observer-manager.js","sources":["../../../../src/components/chat-shell/src/resize-observer-manager.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAAA;;;;;;;AAOG;AAIH;;;AAGG;MACU,qBAAqB,CAAA;IAOhC,WAAA,CACmB,SAAqB,EACrB,WAAwB,EAAA;QADxB,IAAA,CAAA,SAAS,GAAT,SAAS;QACT,IAAA,CAAA,WAAW,GAAX,WAAW;IAC3B;AAEH;;AAEG;IACH,UAAU,GAAA;AACR,QAAA,IAAI,CAAC,oBAAoB,EAAE,UAAU,EAAE;AACvC,QAAA,IAAI,CAAC,8BAA8B,EAAE,UAAU,EAAE;AACjD,QAAA,IAAI,CAAC,6BAA6B,EAAE,UAAU,EAAE;AAChD,QAAA,IAAI,CAAC,mBAAmB,EAAE,UAAU,EAAE;IACxC;AAEA;;AAEG;AACH,IAAA,mBAAmB,CAAC,cAAwC,EAAA;AAC1D,QAAA,IAAI,OAAO,cAAc,KAAK,WAAW,EAAE;YACzC;QACF;QA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gBAAgB,KAAK,WAAW,EAAE;YAC3C;QACF;AAEA,QAAA,IAAI,CAAC,mBAAmB,GAAG,IAAI,gBAAgB,CAAC,MAAK;AACnD,YAAA,IAAI,IAAI,CAAC,2BAA2B,EAAE,EAAE;AACtC,gBAAA,gBAAgB,EAAE;YACpB;AACF,QAAA,CAAC,CAAC;QAEF,IAAI,CAAC,mBAAmB,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE;AACjD,YAAA,UAAU,EAAE,IAAI;YAChB,eAAe,EAAE,CAAC,OAAO,CAAC;AAC3B,SAAA,CAAC;IACJ;AACD;AAED;;;;"}
@@ -7,7 +7,7 @@
7
7
 
8
8
  import { css } from 'lit';
9
9
 
10
- var styles = css([":host :host([data-rounded=\"\"]),:host [data-rounded=\"\"],:host-context([data-theme=g10]) :host([data-rounded=\"\"]),:host-context([data-theme=g10]) [data-rounded=\"\"],:host-context([data-theme=white]) :host([data-rounded=\"\"]),:host-context([data-theme=white]) [data-rounded=\"\"],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=\"\"]),:host-context([storybook-carbon-theme=g10]) [data-rounded=\"\"],:host-context([storybook-carbon-theme=white]) :host([data-rounded=\"\"]),:host-context([storybook-carbon-theme=white]) [data-rounded=\"\"]{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem);border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=\"\"])::part(button),:host :host([data-rounded=\"\"])::part(link),:host [data-rounded=\"\"]::part(button),:host [data-rounded=\"\"]::part(link),:host-context([data-theme=g10]) :host([data-rounded=\"\"])::part(button),:host-context([data-theme=g10]) :host([data-rounded=\"\"])::part(link),:host-context([data-theme=g10]) [data-rounded=\"\"]::part(button),:host-context([data-theme=g10]) [data-rounded=\"\"]::part(link),:host-context([data-theme=white]) :host([data-rounded=\"\"])::part(button),:host-context([data-theme=white]) :host([data-rounded=\"\"])::part(link),:host-context([data-theme=white]) [data-rounded=\"\"]::part(button),:host-context([data-theme=white]) [data-rounded=\"\"]::part(link),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=\"\"])::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=\"\"])::part(link),:host-context([storybook-carbon-theme=g10]) [data-rounded=\"\"]::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=\"\"]::part(link),:host-context([storybook-carbon-theme=white]) :host([data-rounded=\"\"])::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=\"\"])::part(link),:host-context([storybook-carbon-theme=white]) [data-rounded=\"\"]::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=\"\"]::part(link){border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem);border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem);outline-offset:-.0625rem}:host :host([data-rounded=\"\"])>:only-child,:host [data-rounded=\"\"]>:only-child,:host-context([data-theme=g10]) :host([data-rounded=\"\"])>:only-child,:host-context([data-theme=g10]) [data-rounded=\"\"]>:only-child,:host-context([data-theme=white]) :host([data-rounded=\"\"])>:only-child,:host-context([data-theme=white]) [data-rounded=\"\"]>:only-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=\"\"])>:only-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=\"\"]>:only-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=\"\"])>:only-child,:host-context([storybook-carbon-theme=white]) [data-rounded=\"\"]>:only-child{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem);border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top]),:host [data-rounded=top],:host-context([data-theme=g10]) :host([data-rounded=top]),:host-context([data-theme=g10]) [data-rounded=top],:host-context([data-theme=white]) :host([data-rounded=top]),:host-context([data-theme=white]) [data-rounded=top],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top]),:host-context([storybook-carbon-theme=g10]) [data-rounded=top],:host-context([storybook-carbon-theme=white]) :host([data-rounded=top]),:host-context([storybook-carbon-theme=white]) [data-rounded=top]{border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-left]),:host [data-rounded=top-left],:host-context([data-theme=g10]) :host([data-rounded=top-left]),:host-context([data-theme=g10]) [data-rounded=top-left],:host-context([data-theme=white]) :host([data-rounded=top-left]),:host-context([data-theme=white]) [data-rounded=top-left],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-left]),:host-context([storybook-carbon-theme=g10]) [data-rounded=top-left],:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-left]),:host-context([storybook-carbon-theme=white]) [data-rounded=top-left]{border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-right]),:host [data-rounded=top-right],:host-context([data-theme=g10]) :host([data-rounded=top-right]),:host-context([data-theme=g10]) [data-rounded=top-right],:host-context([data-theme=white]) :host([data-rounded=top-right]),:host-context([data-theme=white]) [data-rounded=top-right],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-right]),:host-context([storybook-carbon-theme=g10]) [data-rounded=top-right],:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-right]),:host-context([storybook-carbon-theme=white]) [data-rounded=top-right]{border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom]),:host [data-rounded=bottom],:host-context([data-theme=g10]) :host([data-rounded=bottom]),:host-context([data-theme=g10]) [data-rounded=bottom],:host-context([data-theme=white]) :host([data-rounded=bottom]),:host-context([data-theme=white]) [data-rounded=bottom],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom]),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom],:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom]),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom]{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-left]),:host [data-rounded=bottom-left],:host-context([data-theme=g10]) :host([data-rounded=bottom-left]),:host-context([data-theme=g10]) [data-rounded=bottom-left],:host-context([data-theme=white]) :host([data-rounded=bottom-left]),:host-context([data-theme=white]) [data-rounded=bottom-left],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-left]),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-left],:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-left]),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-left]{border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-right]),:host [data-rounded=bottom-right],:host-context([data-theme=g10]) :host([data-rounded=bottom-right]),:host-context([data-theme=g10]) [data-rounded=bottom-right],:host-context([data-theme=white]) :host([data-rounded=bottom-right]),:host-context([data-theme=white]) [data-rounded=bottom-right],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-right]),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-right],:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-right]),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-right]{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top]:not([data-stacked]))>:first-child,:host [data-rounded=top]:not([data-stacked])>:first-child,:host-context([data-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:first-child,:host-context([data-theme=g10]) [data-rounded=top]:not([data-stacked])>:first-child,:host-context([data-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:first-child,:host-context([data-theme=white]) [data-rounded=top]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top]:not([data-stacked])>:first-child{border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top]:not([data-stacked]))>:first-child::part(button),:host [data-rounded=top]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=top]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=top]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top]:not([data-stacked])>:first-child::part(button){border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top]:not([data-stacked]))>:last-child,:host [data-rounded=top]:not([data-stacked])>:last-child,:host-context([data-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:last-child,:host-context([data-theme=g10]) [data-rounded=top]:not([data-stacked])>:last-child,:host-context([data-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:last-child,:host-context([data-theme=white]) [data-rounded=top]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top]:not([data-stacked])>:last-child{border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top]:not([data-stacked]))>:last-child::part(button),:host [data-rounded=top]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=top]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=top]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top]:not([data-stacked])>:last-child::part(button){border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-left]:not([data-stacked]))>:first-child,:host [data-rounded=top-left]:not([data-stacked])>:first-child,:host-context([data-theme=g10]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child,:host-context([data-theme=g10]) [data-rounded=top-left]:not([data-stacked])>:first-child,:host-context([data-theme=white]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child,:host-context([data-theme=white]) [data-rounded=top-left]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top-left]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top-left]:not([data-stacked])>:first-child{border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-left]:not([data-stacked]))>:first-child::part(button),:host [data-rounded=top-left]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=top-left]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=top-left]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top-left]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top-left]:not([data-stacked])>:first-child::part(button){border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-right]:not([data-stacked]))>:last-child,:host [data-rounded=top-right]:not([data-stacked])>:last-child,:host-context([data-theme=g10]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child,:host-context([data-theme=g10]) [data-rounded=top-right]:not([data-stacked])>:last-child,:host-context([data-theme=white]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child,:host-context([data-theme=white]) [data-rounded=top-right]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top-right]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top-right]:not([data-stacked])>:last-child{border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-right]:not([data-stacked]))>:last-child::part(button),:host [data-rounded=top-right]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=top-right]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=top-right]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top-right]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top-right]:not([data-stacked])>:last-child::part(button){border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom]:not([data-stacked]))>:first-child,:host [data-rounded=bottom]:not([data-stacked])>:first-child,:host-context([data-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child,:host-context([data-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:first-child,:host-context([data-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child,:host-context([data-theme=white]) [data-rounded=bottom]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom]:not([data-stacked])>:first-child{border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom]:not([data-stacked]))>:first-child::part(button),:host [data-rounded=bottom]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom]:not([data-stacked])>:first-child::part(button){border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom]:not([data-stacked]))>:last-child,:host [data-rounded=bottom]:not([data-stacked])>:last-child,:host-context([data-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child,:host-context([data-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:last-child,:host-context([data-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child,:host-context([data-theme=white]) [data-rounded=bottom]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom]:not([data-stacked])>:last-child{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom]:not([data-stacked]))>:last-child::part(button),:host [data-rounded=bottom]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom]:not([data-stacked])>:last-child::part(button){border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child,:host [data-rounded=bottom-left]:not([data-stacked])>:first-child,:host-context([data-theme=g10]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child,:host-context([data-theme=g10]) [data-rounded=bottom-left]:not([data-stacked])>:first-child,:host-context([data-theme=white]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child,:host-context([data-theme=white]) [data-rounded=bottom-left]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-left]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-left]:not([data-stacked])>:first-child{border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child::part(button),:host [data-rounded=bottom-left]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom-left]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom-left]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-left]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-left]:not([data-stacked])>:first-child::part(button){border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child,:host [data-rounded=bottom-right]:not([data-stacked])>:last-child,:host-context([data-theme=g10]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child,:host-context([data-theme=g10]) [data-rounded=bottom-right]:not([data-stacked])>:last-child,:host-context([data-theme=white]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child,:host-context([data-theme=white]) [data-rounded=bottom-right]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-right]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-right]:not([data-stacked])>:last-child{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child::part(button),:host [data-rounded=bottom-right]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom-right]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom-right]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-right]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-right]:not([data-stacked])>:last-child::part(button){border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top][data-stacked])>:first-child,:host [data-rounded=top][data-stacked]>:first-child,:host-context([data-theme=g10]) :host([data-rounded=top][data-stacked])>:first-child,:host-context([data-theme=g10]) [data-rounded=top][data-stacked]>:first-child,:host-context([data-theme=white]) :host([data-rounded=top][data-stacked])>:first-child,:host-context([data-theme=white]) [data-rounded=top][data-stacked]>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top][data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top][data-stacked]>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top][data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top][data-stacked]>:first-child{border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top][data-stacked])>:first-child::part(button),:host [data-rounded=top][data-stacked]>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top][data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=top][data-stacked]>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top][data-stacked])>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=top][data-stacked]>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top][data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top][data-stacked]>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top][data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top][data-stacked]>:first-child::part(button){border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-right][data-stacked])>:first-child,:host [data-rounded=top-right][data-stacked]>:first-child,:host-context([data-theme=g10]) :host([data-rounded=top-right][data-stacked])>:first-child,:host-context([data-theme=g10]) [data-rounded=top-right][data-stacked]>:first-child,:host-context([data-theme=white]) :host([data-rounded=top-right][data-stacked])>:first-child,:host-context([data-theme=white]) [data-rounded=top-right][data-stacked]>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-right][data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top-right][data-stacked]>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-right][data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top-right][data-stacked]>:first-child{border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-right][data-stacked])>:first-child::part(button),:host [data-rounded=top-right][data-stacked]>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top-right][data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=top-right][data-stacked]>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top-right][data-stacked])>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=top-right][data-stacked]>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-right][data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top-right][data-stacked]>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-right][data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top-right][data-stacked]>:first-child::part(button){border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-left][data-stacked])>:first-child,:host [data-rounded=top-left][data-stacked]>:first-child,:host-context([data-theme=g10]) :host([data-rounded=top-left][data-stacked])>:first-child,:host-context([data-theme=g10]) [data-rounded=top-left][data-stacked]>:first-child,:host-context([data-theme=white]) :host([data-rounded=top-left][data-stacked])>:first-child,:host-context([data-theme=white]) [data-rounded=top-left][data-stacked]>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-left][data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top-left][data-stacked]>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-left][data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top-left][data-stacked]>:first-child{border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-left][data-stacked])>:first-child::part(button),:host [data-rounded=top-left][data-stacked]>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top-left][data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=top-left][data-stacked]>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top-left][data-stacked])>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=top-left][data-stacked]>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-left][data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top-left][data-stacked]>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-left][data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top-left][data-stacked]>:first-child::part(button){border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom][data-stacked])>:last-child,:host [data-rounded=bottom][data-stacked]>:last-child,:host-context([data-theme=g10]) :host([data-rounded=bottom][data-stacked])>:last-child,:host-context([data-theme=g10]) [data-rounded=bottom][data-stacked]>:last-child,:host-context([data-theme=white]) :host([data-rounded=bottom][data-stacked])>:last-child,:host-context([data-theme=white]) [data-rounded=bottom][data-stacked]>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom][data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom][data-stacked]>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom][data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom][data-stacked]>:last-child{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom][data-stacked])>:last-child::part(button),:host [data-rounded=bottom][data-stacked]>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom][data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom][data-stacked]>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom][data-stacked])>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom][data-stacked]>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom][data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom][data-stacked]>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom][data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom][data-stacked]>:last-child::part(button){border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-right][data-stacked])>:last-child,:host [data-rounded=bottom-right][data-stacked]>:last-child,:host-context([data-theme=g10]) :host([data-rounded=bottom-right][data-stacked])>:last-child,:host-context([data-theme=g10]) [data-rounded=bottom-right][data-stacked]>:last-child,:host-context([data-theme=white]) :host([data-rounded=bottom-right][data-stacked])>:last-child,:host-context([data-theme=white]) [data-rounded=bottom-right][data-stacked]>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-right][data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-right][data-stacked]>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-right][data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-right][data-stacked]>:last-child{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-right][data-stacked])>:last-child::part(button),:host [data-rounded=bottom-right][data-stacked]>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom-right][data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom-right][data-stacked]>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom-right][data-stacked])>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom-right][data-stacked]>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-right][data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-right][data-stacked]>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-right][data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-right][data-stacked]>:last-child::part(button){border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-left][data-stacked])>:last-child,:host [data-rounded=bottom-left][data-stacked]>:last-child,:host-context([data-theme=g10]) :host([data-rounded=bottom-left][data-stacked])>:last-child,:host-context([data-theme=g10]) [data-rounded=bottom-left][data-stacked]>:last-child,:host-context([data-theme=white]) :host([data-rounded=bottom-left][data-stacked])>:last-child,:host-context([data-theme=white]) [data-rounded=bottom-left][data-stacked]>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-left][data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-left][data-stacked]>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-left][data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-left][data-stacked]>:last-child{border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-left][data-stacked])>:last-child::part(button),:host [data-rounded=bottom-left][data-stacked]>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom-left][data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom-left][data-stacked]>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom-left][data-stacked])>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom-left][data-stacked]>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-left][data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-left][data-stacked]>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-left][data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-left][data-stacked]>:last-child::part(button){border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host,:host-context([data-theme=g10]),:host-context([data-theme=white]),:host-context([storybook-carbon-theme=g10]),:host-context([storybook-carbon-theme=white]){--cds-syntax-angle-bracket:#697077;--cds-syntax-annotation:#007d79;--cds-syntax-arithmetic-operator:#343a3f;--cds-syntax-atom:#161616;--cds-syntax-attribute:#00539a;--cds-syntax-attribute-name:#00539a;--cds-syntax-attribute-value:#161616;--cds-syntax-bitwise-operator:#343a3f;--cds-syntax-block-comment:#198038;--cds-syntax-bool:#161616;--cds-syntax-brace:#343a3f;--cds-syntax-bracket:#343a3f;--cds-syntax-character:#161616;--cds-syntax-class-name:#007d79;--cds-syntax-color:#161616;--cds-syntax-comment:#198038;--cds-syntax-compare-operator:#343a3f;--cds-syntax-constant:#0f62fe;--cds-syntax-content:#161616;--cds-syntax-content-separator:#343a3f;--cds-syntax-control-keyword:#6929c4;--cds-syntax-control-operator:#6929c4;--cds-syntax-definition:#00539a;--cds-syntax-definition-keyword:#00539a;--cds-syntax-definition-operator:#00539a;--cds-syntax-deleted:#ffd7d9;--cds-syntax-deref-operator:#343a3f;--cds-syntax-doc-comment:#198038;--cds-syntax-doc-string:#161616;--cds-syntax-document-meta:#198038;--cds-syntax-emphasis:#161616;--cds-syntax-escape:#343a3f;--cds-syntax-float:#198038;--cds-syntax-function:#8e6a00;--cds-syntax-heading:#00539a;--cds-syntax-heading-1:#00539a;--cds-syntax-heading-2:#00539a;--cds-syntax-heading-3:#00539a;--cds-syntax-heading-4:#00539a;--cds-syntax-heading-5:#00539a;--cds-syntax-heading-6:#00539a;--cds-syntax-inserted:#a7f0ba;--cds-syntax-integer:#198038;--cds-syntax-invalid:#da1e28;--cds-syntax-keyword:#0f62fe;--cds-syntax-label-name:#0f62fe;--cds-syntax-line-comment:#198038;--cds-syntax-link:#0f62fe;--cds-syntax-list:#161616;--cds-syntax-literal:#161616;--cds-syntax-local:#0f62fe;--cds-syntax-logic-operator:#343a3f;--cds-syntax-macro-name:#161616;--cds-syntax-meta:#198038;--cds-syntax-modifier:#0f62fe;--cds-syntax-module-keyword:#6929c4;--cds-syntax-monospace:#161616;--cds-syntax-name:#0f62fe;--cds-syntax-namespace:#007d79;--cds-syntax-null:#161616;--cds-syntax-number:#198038;--cds-syntax-operator:#343a3f;--cds-syntax-operator-keyword:#0f62fe;--cds-syntax-paren:#343a3f;--cds-syntax-processing-instruction:#161616;--cds-syntax-property-name:#00539a;--cds-syntax-punctuation:#343a3f;--cds-syntax-quote:#198038;--cds-syntax-regexp:#6929c4;--cds-syntax-self:#007d79;--cds-syntax-separator:#343a3f;--cds-syntax-special:#0f62fe;--cds-syntax-special-string:#8a3ffc;--cds-syntax-square-bracket:#343a3f;--cds-syntax-standard:#0f62fe;--cds-syntax-strikethrough:#161616;--cds-syntax-string:#161616;--cds-syntax-strong:#161616;--cds-syntax-tag:#007d79;--cds-syntax-tag-name:#007d79;--cds-syntax-type:#007d79;--cds-syntax-type-name:#007d79;--cds-syntax-type-operator:#007d79;--cds-syntax-unit:#198038;--cds-syntax-update-operator:#343a3f;--cds-syntax-url:#343a3f;--cds-syntax-variable:#0f62fe;--cds-syntax-variable-name:#0f62fe}:host(.cds-aichat--snippet-container--fill-mode){block-size:100%}.cds-aichat--snippet{background:var(--cds-background,#fff);border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem);border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem);display:block;font-family:inherit;max-inline-size:100%;padding:0}.cds-aichat--snippet code{font-family:var(--cds-code-01-font-family,\"IBM Plex Mono\",system-ui,-apple-system,BlinkMacSystemFont,\".SFNSText-Regular\",monospace);font-size:var(--cds-code-01-font-size,.75rem);font-weight:var(--cds-code-01-font-weight,400);letter-spacing:var(--cds-code-01-letter-spacing,.32px);line-height:var(--cds-code-01-line-height,1.33333)}:host(.cds-aichat--snippet-container--fill-mode) .cds-aichat--snippet{block-size:100%;display:flex;flex-direction:column}:host-context([data-theme=g100]),:host-context([data-theme=g90]),:host-context([storybook-carbon-theme=g100]),:host-context([storybook-carbon-theme=g90]){--cds-syntax-angle-bracket:#8d8d8d;--cds-syntax-annotation:#08bdba;--cds-syntax-arithmetic-operator:#e0e0e0;--cds-syntax-atom:#f4f4f4;--cds-syntax-attribute:#33b1ff;--cds-syntax-attribute-name:#33b1ff;--cds-syntax-attribute-value:#f4f4f4;--cds-syntax-bitwise-operator:#e0e0e0;--cds-syntax-block-comment:#42be65;--cds-syntax-bool:#f4f4f4;--cds-syntax-brace:#e0e0e0;--cds-syntax-bracket:#e0e0e0;--cds-syntax-character:#f4f4f4;--cds-syntax-class-name:#3ddbd9;--cds-syntax-color:#f4f4f4;--cds-syntax-comment:#42be65;--cds-syntax-compare-operator:#e0e0e0;--cds-syntax-constant:#4589ff;--cds-syntax-content:#f4f4f4;--cds-syntax-content-separator:#e0e0e0;--cds-syntax-control-keyword:#be95ff;--cds-syntax-control-operator:#be95ff;--cds-syntax-definition:#33b1ff;--cds-syntax-definition-keyword:#33b1ff;--cds-syntax-definition-operator:#33b1ff;--cds-syntax-deleted:#a2191f;--cds-syntax-deref-operator:#e0e0e0;--cds-syntax-doc-comment:#42be65;--cds-syntax-doc-string:#f4f4f4;--cds-syntax-document-meta:#42be65;--cds-syntax-emphasis:#f4f4f4;--cds-syntax-escape:#e0e0e0;--cds-syntax-float:#6fdc8c;--cds-syntax-function:#f1c21b;--cds-syntax-heading:#33b1ff;--cds-syntax-heading-1:#33b1ff;--cds-syntax-heading-2:#33b1ff;--cds-syntax-heading-3:#33b1ff;--cds-syntax-heading-4:#33b1ff;--cds-syntax-heading-5:#33b1ff;--cds-syntax-heading-6:#33b1ff;--cds-syntax-inserted:#198038;--cds-syntax-integer:#6fdc8c;--cds-syntax-invalid:#fa4d56;--cds-syntax-keyword:#4589ff;--cds-syntax-label-name:#a6c8ff;--cds-syntax-line-comment:#42be65;--cds-syntax-link:#4589ff;--cds-syntax-list:#f4f4f4;--cds-syntax-literal:#f4f4f4;--cds-syntax-local:#a6c8ff;--cds-syntax-logic-operator:#e0e0e0;--cds-syntax-macro-name:#f4f4f4;--cds-syntax-meta:#42be65;--cds-syntax-modifier:#4589ff;--cds-syntax-module-keyword:#be95ff;--cds-syntax-monospace:#f4f4f4;--cds-syntax-name:#a6c8ff;--cds-syntax-namespace:#3ddbd9;--cds-syntax-null:#f4f4f4;--cds-syntax-number:#6fdc8c;--cds-syntax-operator:#e0e0e0;--cds-syntax-operator-keyword:#4589ff;--cds-syntax-paren:#e0e0e0;--cds-syntax-processing-instruction:#f4f4f4;--cds-syntax-property-name:#33b1ff;--cds-syntax-punctuation:#e0e0e0;--cds-syntax-quote:#42be65;--cds-syntax-regexp:#be95ff;--cds-syntax-self:#3ddbd9;--cds-syntax-separator:#e0e0e0;--cds-syntax-special:#4589ff;--cds-syntax-special-string:#be95ff;--cds-syntax-square-bracket:#e0e0e0;--cds-syntax-standard:#4589ff;--cds-syntax-strikethrough:#f4f4f4;--cds-syntax-string:#f4f4f4;--cds-syntax-strong:#f4f4f4;--cds-syntax-tag:#3ddbd9;--cds-syntax-tag-name:#3ddbd9;--cds-syntax-type:#3ddbd9;--cds-syntax-type-name:#3ddbd9;--cds-syntax-type-operator:#3ddbd9;--cds-syntax-unit:#6fdc8c;--cds-syntax-update-operator:#e0e0e0;--cds-syntax-url:#e0e0e0;--cds-syntax-variable:#a6c8ff;--cds-syntax-variable-name:#a6c8ff}.cm-diff-line-inserted{background-color:var(--cds-syntax-inserted)}.cm-diff-line-deleted{background-color:var(--cds-syntax-deleted)}:host([disabled]) .cds-aichat--snippet{background-color:var(--cds-layer);color:var(--cds-text-disabled,hsla(0,0%,9%,.25))}:host([disabled]) .cds-aichat--snippet-container{cursor:not-allowed}:host([disabled]) .cm-editor{pointer-events:none}:host([disabled]) .cds-aichat--snippet__icon{fill:var(--cds-icon-disabled,hsla(0,0%,9%,.25))}:host([hide-copy-button]) .cds-aichat--snippet-container pre{padding-inline-end:0}:host([wrap-text]) pre{word-wrap:break-word;white-space:pre-wrap}.cds-aichat--snippet-container{max-block-size:var(--cds-snippet-max-height,100%);min-block-size:var(--cds-snippet-min-height,100%);order:1;overflow-y:auto;pointer-events:auto;position:relative;transition:max-height motion(standard,productive) .15s}.cds-aichat--snippet-container:focus{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.cds-aichat--snippet-container:focus{outline-style:dotted}}.cds-aichat--snippet-container:focus{outline-offset:0}.cds-aichat--snippet-container pre{overflow:auto;padding-block-end:1.5rem;padding-inline-end:1.5rem}.cds-aichat--snippet-container pre code{overflow:hidden}.cds-aichat--snippet-container--fill-mode{block-size:100%;overflow-y:auto}.cds-aichat--snippet--codemirror ::slotted(*){display:none}.cds-aichat--snippet--codemirror .cds-aichat--code-editor{block-size:100%;inline-size:100%}.cds-aichat--snippet__editor-skeleton{align-items:center;background:var(--cds-layer-01,#f4f4f4);display:flex;inset:0;padding:1rem;pointer-events:none;position:absolute;z-index:1}.cds-aichat--snippet__editor-skeleton cds-skeleton-text{inline-size:100%}.cds-aichat--visually-hidden{display:none}.cds-aichat--snippet__header{border-block-end:1px solid var(--cds-border-subtle-02,#e0e0e0)}.cds-aichat--snippet__meta{display:flex}.cds-aichat--snippet__footer{border-block-start:1px solid var(--cds-border-subtle-02,#e0e0e0);display:flex;justify-content:flex-end}.cds-aichat--snippet-btn--text{color:var(--cds-text-primary,#161616)}.cds-aichat--snippet__header-separator,.cds-aichat--snippet__language,.cds-aichat--snippet__linecount{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333)}.cds-aichat--snippet__header-separator{padding-inline-end:.25rem;padding-inline-start:.25rem}.cds-aichat--snippet-container--collapsed{overflow-x:auto;overflow-y:hidden;transition:max-height motion(standard,productive) .15s}.cds-aichat--icon-chevron--down{transform:rotate(0deg);transition:transform .3s}:host([expanded-code]) .cds-aichat--icon-chevron--down{transform:rotate(180deg);transition:transform .3s}"]);
10
+ var styles = css([":host :host([data-rounded=\"\"]),:host [data-rounded=\"\"],:host-context([data-theme=g10]) :host([data-rounded=\"\"]),:host-context([data-theme=g10]) [data-rounded=\"\"],:host-context([data-theme=white]) :host([data-rounded=\"\"]),:host-context([data-theme=white]) [data-rounded=\"\"],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=\"\"]),:host-context([storybook-carbon-theme=g10]) [data-rounded=\"\"],:host-context([storybook-carbon-theme=white]) :host([data-rounded=\"\"]),:host-context([storybook-carbon-theme=white]) [data-rounded=\"\"]{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem);border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=\"\"])::part(button),:host :host([data-rounded=\"\"])::part(link),:host [data-rounded=\"\"]::part(button),:host [data-rounded=\"\"]::part(link),:host-context([data-theme=g10]) :host([data-rounded=\"\"])::part(button),:host-context([data-theme=g10]) :host([data-rounded=\"\"])::part(link),:host-context([data-theme=g10]) [data-rounded=\"\"]::part(button),:host-context([data-theme=g10]) [data-rounded=\"\"]::part(link),:host-context([data-theme=white]) :host([data-rounded=\"\"])::part(button),:host-context([data-theme=white]) :host([data-rounded=\"\"])::part(link),:host-context([data-theme=white]) [data-rounded=\"\"]::part(button),:host-context([data-theme=white]) [data-rounded=\"\"]::part(link),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=\"\"])::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=\"\"])::part(link),:host-context([storybook-carbon-theme=g10]) [data-rounded=\"\"]::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=\"\"]::part(link),:host-context([storybook-carbon-theme=white]) :host([data-rounded=\"\"])::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=\"\"])::part(link),:host-context([storybook-carbon-theme=white]) [data-rounded=\"\"]::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=\"\"]::part(link){border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem);border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem);outline-offset:-.0625rem}:host :host([data-rounded=\"\"])>:only-child,:host [data-rounded=\"\"]>:only-child,:host-context([data-theme=g10]) :host([data-rounded=\"\"])>:only-child,:host-context([data-theme=g10]) [data-rounded=\"\"]>:only-child,:host-context([data-theme=white]) :host([data-rounded=\"\"])>:only-child,:host-context([data-theme=white]) [data-rounded=\"\"]>:only-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=\"\"])>:only-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=\"\"]>:only-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=\"\"])>:only-child,:host-context([storybook-carbon-theme=white]) [data-rounded=\"\"]>:only-child{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem);border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top]),:host [data-rounded=top],:host-context([data-theme=g10]) :host([data-rounded=top]),:host-context([data-theme=g10]) [data-rounded=top],:host-context([data-theme=white]) :host([data-rounded=top]),:host-context([data-theme=white]) [data-rounded=top],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top]),:host-context([storybook-carbon-theme=g10]) [data-rounded=top],:host-context([storybook-carbon-theme=white]) :host([data-rounded=top]),:host-context([storybook-carbon-theme=white]) [data-rounded=top]{border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-left]),:host [data-rounded=top-left],:host-context([data-theme=g10]) :host([data-rounded=top-left]),:host-context([data-theme=g10]) [data-rounded=top-left],:host-context([data-theme=white]) :host([data-rounded=top-left]),:host-context([data-theme=white]) [data-rounded=top-left],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-left]),:host-context([storybook-carbon-theme=g10]) [data-rounded=top-left],:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-left]),:host-context([storybook-carbon-theme=white]) [data-rounded=top-left]{border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-right]),:host [data-rounded=top-right],:host-context([data-theme=g10]) :host([data-rounded=top-right]),:host-context([data-theme=g10]) [data-rounded=top-right],:host-context([data-theme=white]) :host([data-rounded=top-right]),:host-context([data-theme=white]) [data-rounded=top-right],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-right]),:host-context([storybook-carbon-theme=g10]) [data-rounded=top-right],:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-right]),:host-context([storybook-carbon-theme=white]) [data-rounded=top-right]{border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom]),:host [data-rounded=bottom],:host-context([data-theme=g10]) :host([data-rounded=bottom]),:host-context([data-theme=g10]) [data-rounded=bottom],:host-context([data-theme=white]) :host([data-rounded=bottom]),:host-context([data-theme=white]) [data-rounded=bottom],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom]),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom],:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom]),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom]{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-left]),:host [data-rounded=bottom-left],:host-context([data-theme=g10]) :host([data-rounded=bottom-left]),:host-context([data-theme=g10]) [data-rounded=bottom-left],:host-context([data-theme=white]) :host([data-rounded=bottom-left]),:host-context([data-theme=white]) [data-rounded=bottom-left],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-left]),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-left],:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-left]),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-left]{border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-right]),:host [data-rounded=bottom-right],:host-context([data-theme=g10]) :host([data-rounded=bottom-right]),:host-context([data-theme=g10]) [data-rounded=bottom-right],:host-context([data-theme=white]) :host([data-rounded=bottom-right]),:host-context([data-theme=white]) [data-rounded=bottom-right],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-right]),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-right],:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-right]),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-right]{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top]:not([data-stacked]))>:first-child,:host [data-rounded=top]:not([data-stacked])>:first-child,:host-context([data-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:first-child,:host-context([data-theme=g10]) [data-rounded=top]:not([data-stacked])>:first-child,:host-context([data-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:first-child,:host-context([data-theme=white]) [data-rounded=top]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top]:not([data-stacked])>:first-child{border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top]:not([data-stacked]))>:first-child::part(button),:host [data-rounded=top]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=top]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=top]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top]:not([data-stacked])>:first-child::part(button){border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top]:not([data-stacked]))>:last-child,:host [data-rounded=top]:not([data-stacked])>:last-child,:host-context([data-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:last-child,:host-context([data-theme=g10]) [data-rounded=top]:not([data-stacked])>:last-child,:host-context([data-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:last-child,:host-context([data-theme=white]) [data-rounded=top]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top]:not([data-stacked])>:last-child{border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top]:not([data-stacked]))>:last-child::part(button),:host [data-rounded=top]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=top]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=top]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top]:not([data-stacked])>:last-child::part(button){border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-left]:not([data-stacked]))>:first-child,:host [data-rounded=top-left]:not([data-stacked])>:first-child,:host-context([data-theme=g10]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child,:host-context([data-theme=g10]) [data-rounded=top-left]:not([data-stacked])>:first-child,:host-context([data-theme=white]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child,:host-context([data-theme=white]) [data-rounded=top-left]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top-left]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top-left]:not([data-stacked])>:first-child{border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-left]:not([data-stacked]))>:first-child::part(button),:host [data-rounded=top-left]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=top-left]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=top-left]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top-left]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top-left]:not([data-stacked])>:first-child::part(button){border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-right]:not([data-stacked]))>:last-child,:host [data-rounded=top-right]:not([data-stacked])>:last-child,:host-context([data-theme=g10]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child,:host-context([data-theme=g10]) [data-rounded=top-right]:not([data-stacked])>:last-child,:host-context([data-theme=white]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child,:host-context([data-theme=white]) [data-rounded=top-right]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top-right]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top-right]:not([data-stacked])>:last-child{border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-right]:not([data-stacked]))>:last-child::part(button),:host [data-rounded=top-right]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=top-right]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=top-right]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top-right]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top-right]:not([data-stacked])>:last-child::part(button){border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom]:not([data-stacked]))>:first-child,:host [data-rounded=bottom]:not([data-stacked])>:first-child,:host-context([data-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child,:host-context([data-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:first-child,:host-context([data-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child,:host-context([data-theme=white]) [data-rounded=bottom]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom]:not([data-stacked])>:first-child{border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom]:not([data-stacked]))>:first-child::part(button),:host [data-rounded=bottom]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom]:not([data-stacked])>:first-child::part(button){border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom]:not([data-stacked]))>:last-child,:host [data-rounded=bottom]:not([data-stacked])>:last-child,:host-context([data-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child,:host-context([data-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:last-child,:host-context([data-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child,:host-context([data-theme=white]) [data-rounded=bottom]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom]:not([data-stacked])>:last-child{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom]:not([data-stacked]))>:last-child::part(button),:host [data-rounded=bottom]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom]:not([data-stacked])>:last-child::part(button){border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child,:host [data-rounded=bottom-left]:not([data-stacked])>:first-child,:host-context([data-theme=g10]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child,:host-context([data-theme=g10]) [data-rounded=bottom-left]:not([data-stacked])>:first-child,:host-context([data-theme=white]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child,:host-context([data-theme=white]) [data-rounded=bottom-left]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-left]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-left]:not([data-stacked])>:first-child{border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child::part(button),:host [data-rounded=bottom-left]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom-left]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom-left]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-left]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-left]:not([data-stacked])>:first-child::part(button){border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child,:host [data-rounded=bottom-right]:not([data-stacked])>:last-child,:host-context([data-theme=g10]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child,:host-context([data-theme=g10]) [data-rounded=bottom-right]:not([data-stacked])>:last-child,:host-context([data-theme=white]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child,:host-context([data-theme=white]) [data-rounded=bottom-right]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-right]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-right]:not([data-stacked])>:last-child{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child::part(button),:host [data-rounded=bottom-right]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom-right]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom-right]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-right]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-right]:not([data-stacked])>:last-child::part(button){border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top][data-stacked])>:first-child,:host [data-rounded=top][data-stacked]>:first-child,:host-context([data-theme=g10]) :host([data-rounded=top][data-stacked])>:first-child,:host-context([data-theme=g10]) [data-rounded=top][data-stacked]>:first-child,:host-context([data-theme=white]) :host([data-rounded=top][data-stacked])>:first-child,:host-context([data-theme=white]) [data-rounded=top][data-stacked]>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top][data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top][data-stacked]>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top][data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top][data-stacked]>:first-child{border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top][data-stacked])>:first-child::part(button),:host [data-rounded=top][data-stacked]>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top][data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=top][data-stacked]>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top][data-stacked])>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=top][data-stacked]>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top][data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top][data-stacked]>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top][data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top][data-stacked]>:first-child::part(button){border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-right][data-stacked])>:first-child,:host [data-rounded=top-right][data-stacked]>:first-child,:host-context([data-theme=g10]) :host([data-rounded=top-right][data-stacked])>:first-child,:host-context([data-theme=g10]) [data-rounded=top-right][data-stacked]>:first-child,:host-context([data-theme=white]) :host([data-rounded=top-right][data-stacked])>:first-child,:host-context([data-theme=white]) [data-rounded=top-right][data-stacked]>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-right][data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top-right][data-stacked]>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-right][data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top-right][data-stacked]>:first-child{border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-right][data-stacked])>:first-child::part(button),:host [data-rounded=top-right][data-stacked]>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top-right][data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=top-right][data-stacked]>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top-right][data-stacked])>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=top-right][data-stacked]>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-right][data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top-right][data-stacked]>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-right][data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top-right][data-stacked]>:first-child::part(button){border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-left][data-stacked])>:first-child,:host [data-rounded=top-left][data-stacked]>:first-child,:host-context([data-theme=g10]) :host([data-rounded=top-left][data-stacked])>:first-child,:host-context([data-theme=g10]) [data-rounded=top-left][data-stacked]>:first-child,:host-context([data-theme=white]) :host([data-rounded=top-left][data-stacked])>:first-child,:host-context([data-theme=white]) [data-rounded=top-left][data-stacked]>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-left][data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top-left][data-stacked]>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-left][data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top-left][data-stacked]>:first-child{border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-left][data-stacked])>:first-child::part(button),:host [data-rounded=top-left][data-stacked]>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top-left][data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=top-left][data-stacked]>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top-left][data-stacked])>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=top-left][data-stacked]>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-left][data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top-left][data-stacked]>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-left][data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top-left][data-stacked]>:first-child::part(button){border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom][data-stacked])>:last-child,:host [data-rounded=bottom][data-stacked]>:last-child,:host-context([data-theme=g10]) :host([data-rounded=bottom][data-stacked])>:last-child,:host-context([data-theme=g10]) [data-rounded=bottom][data-stacked]>:last-child,:host-context([data-theme=white]) :host([data-rounded=bottom][data-stacked])>:last-child,:host-context([data-theme=white]) [data-rounded=bottom][data-stacked]>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom][data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom][data-stacked]>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom][data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom][data-stacked]>:last-child{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom][data-stacked])>:last-child::part(button),:host [data-rounded=bottom][data-stacked]>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom][data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom][data-stacked]>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom][data-stacked])>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom][data-stacked]>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom][data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom][data-stacked]>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom][data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom][data-stacked]>:last-child::part(button){border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-right][data-stacked])>:last-child,:host [data-rounded=bottom-right][data-stacked]>:last-child,:host-context([data-theme=g10]) :host([data-rounded=bottom-right][data-stacked])>:last-child,:host-context([data-theme=g10]) [data-rounded=bottom-right][data-stacked]>:last-child,:host-context([data-theme=white]) :host([data-rounded=bottom-right][data-stacked])>:last-child,:host-context([data-theme=white]) [data-rounded=bottom-right][data-stacked]>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-right][data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-right][data-stacked]>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-right][data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-right][data-stacked]>:last-child{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-right][data-stacked])>:last-child::part(button),:host [data-rounded=bottom-right][data-stacked]>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom-right][data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom-right][data-stacked]>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom-right][data-stacked])>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom-right][data-stacked]>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-right][data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-right][data-stacked]>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-right][data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-right][data-stacked]>:last-child::part(button){border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-left][data-stacked])>:last-child,:host [data-rounded=bottom-left][data-stacked]>:last-child,:host-context([data-theme=g10]) :host([data-rounded=bottom-left][data-stacked])>:last-child,:host-context([data-theme=g10]) [data-rounded=bottom-left][data-stacked]>:last-child,:host-context([data-theme=white]) :host([data-rounded=bottom-left][data-stacked])>:last-child,:host-context([data-theme=white]) [data-rounded=bottom-left][data-stacked]>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-left][data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-left][data-stacked]>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-left][data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-left][data-stacked]>:last-child{border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-left][data-stacked])>:last-child::part(button),:host [data-rounded=bottom-left][data-stacked]>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom-left][data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom-left][data-stacked]>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom-left][data-stacked])>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom-left][data-stacked]>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-left][data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-left][data-stacked]>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-left][data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-left][data-stacked]>:last-child::part(button){border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host,:host-context([data-theme=g10]),:host-context([data-theme=white]),:host-context([storybook-carbon-theme=g10]),:host-context([storybook-carbon-theme=white]){--cds-syntax-angle-bracket:#697077;--cds-syntax-annotation:#007d79;--cds-syntax-arithmetic-operator:#343a3f;--cds-syntax-atom:#161616;--cds-syntax-attribute:#00539a;--cds-syntax-attribute-name:#00539a;--cds-syntax-attribute-value:#161616;--cds-syntax-bitwise-operator:#343a3f;--cds-syntax-block-comment:#198038;--cds-syntax-bool:#161616;--cds-syntax-brace:#343a3f;--cds-syntax-bracket:#343a3f;--cds-syntax-character:#161616;--cds-syntax-class-name:#007d79;--cds-syntax-color:#161616;--cds-syntax-comment:#198038;--cds-syntax-compare-operator:#343a3f;--cds-syntax-constant:#0f62fe;--cds-syntax-content:#161616;--cds-syntax-content-separator:#343a3f;--cds-syntax-control-keyword:#6929c4;--cds-syntax-control-operator:#6929c4;--cds-syntax-definition:#00539a;--cds-syntax-definition-keyword:#00539a;--cds-syntax-definition-operator:#00539a;--cds-syntax-deleted:#ffd7d9;--cds-syntax-deref-operator:#343a3f;--cds-syntax-doc-comment:#198038;--cds-syntax-doc-string:#161616;--cds-syntax-document-meta:#198038;--cds-syntax-emphasis:#161616;--cds-syntax-escape:#343a3f;--cds-syntax-float:#198038;--cds-syntax-function:#8e6a00;--cds-syntax-heading:#00539a;--cds-syntax-heading-1:#00539a;--cds-syntax-heading-2:#00539a;--cds-syntax-heading-3:#00539a;--cds-syntax-heading-4:#00539a;--cds-syntax-heading-5:#00539a;--cds-syntax-heading-6:#00539a;--cds-syntax-inserted:#a7f0ba;--cds-syntax-integer:#198038;--cds-syntax-invalid:#da1e28;--cds-syntax-keyword:#0f62fe;--cds-syntax-label-name:#0f62fe;--cds-syntax-line-comment:#198038;--cds-syntax-link:#0f62fe;--cds-syntax-list:#161616;--cds-syntax-literal:#161616;--cds-syntax-local:#0f62fe;--cds-syntax-logic-operator:#343a3f;--cds-syntax-macro-name:#161616;--cds-syntax-meta:#198038;--cds-syntax-modifier:#0f62fe;--cds-syntax-module-keyword:#6929c4;--cds-syntax-monospace:#161616;--cds-syntax-name:#0f62fe;--cds-syntax-namespace:#007d79;--cds-syntax-null:#161616;--cds-syntax-number:#198038;--cds-syntax-operator:#343a3f;--cds-syntax-operator-keyword:#0f62fe;--cds-syntax-paren:#343a3f;--cds-syntax-processing-instruction:#161616;--cds-syntax-property-name:#00539a;--cds-syntax-punctuation:#343a3f;--cds-syntax-quote:#198038;--cds-syntax-regexp:#6929c4;--cds-syntax-self:#007d79;--cds-syntax-separator:#343a3f;--cds-syntax-special:#0f62fe;--cds-syntax-special-string:#8a3ffc;--cds-syntax-square-bracket:#343a3f;--cds-syntax-standard:#0f62fe;--cds-syntax-strikethrough:#161616;--cds-syntax-string:#161616;--cds-syntax-strong:#161616;--cds-syntax-tag:#007d79;--cds-syntax-tag-name:#007d79;--cds-syntax-type:#007d79;--cds-syntax-type-name:#007d79;--cds-syntax-type-operator:#007d79;--cds-syntax-unit:#198038;--cds-syntax-update-operator:#343a3f;--cds-syntax-url:#343a3f;--cds-syntax-variable:#0f62fe;--cds-syntax-variable-name:#0f62fe}:host(.cds-aichat--snippet-container--fill-mode){block-size:100%}.cds-aichat--snippet{background:var(--cds-background,#fff);border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem);border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem);display:block;font-family:inherit;max-inline-size:100%;padding:0}.cds-aichat--snippet code{font-family:var(--cds-code-01-font-family,\"IBM Plex Mono\",system-ui,-apple-system,BlinkMacSystemFont,\".SFNSText-Regular\",monospace);font-size:var(--cds-code-01-font-size,.75rem);font-weight:var(--cds-code-01-font-weight,400);letter-spacing:var(--cds-code-01-letter-spacing,.32px);line-height:var(--cds-code-01-line-height,1.33333)}:host(.cds-aichat--snippet-container--fill-mode) .cds-aichat--snippet{block-size:100%;display:flex;flex-direction:column}:host-context([data-theme=g100]),:host-context([data-theme=g90]),:host-context([storybook-carbon-theme=g100]),:host-context([storybook-carbon-theme=g90]){--cds-syntax-angle-bracket:#8d8d8d;--cds-syntax-annotation:#08bdba;--cds-syntax-arithmetic-operator:#e0e0e0;--cds-syntax-atom:#f4f4f4;--cds-syntax-attribute:#33b1ff;--cds-syntax-attribute-name:#33b1ff;--cds-syntax-attribute-value:#f4f4f4;--cds-syntax-bitwise-operator:#e0e0e0;--cds-syntax-block-comment:#42be65;--cds-syntax-bool:#f4f4f4;--cds-syntax-brace:#e0e0e0;--cds-syntax-bracket:#e0e0e0;--cds-syntax-character:#f4f4f4;--cds-syntax-class-name:#3ddbd9;--cds-syntax-color:#f4f4f4;--cds-syntax-comment:#42be65;--cds-syntax-compare-operator:#e0e0e0;--cds-syntax-constant:#4589ff;--cds-syntax-content:#f4f4f4;--cds-syntax-content-separator:#e0e0e0;--cds-syntax-control-keyword:#be95ff;--cds-syntax-control-operator:#be95ff;--cds-syntax-definition:#33b1ff;--cds-syntax-definition-keyword:#33b1ff;--cds-syntax-definition-operator:#33b1ff;--cds-syntax-deleted:#a2191f;--cds-syntax-deref-operator:#e0e0e0;--cds-syntax-doc-comment:#42be65;--cds-syntax-doc-string:#f4f4f4;--cds-syntax-document-meta:#42be65;--cds-syntax-emphasis:#f4f4f4;--cds-syntax-escape:#e0e0e0;--cds-syntax-float:#6fdc8c;--cds-syntax-function:#f1c21b;--cds-syntax-heading:#33b1ff;--cds-syntax-heading-1:#33b1ff;--cds-syntax-heading-2:#33b1ff;--cds-syntax-heading-3:#33b1ff;--cds-syntax-heading-4:#33b1ff;--cds-syntax-heading-5:#33b1ff;--cds-syntax-heading-6:#33b1ff;--cds-syntax-inserted:#198038;--cds-syntax-integer:#6fdc8c;--cds-syntax-invalid:#fa4d56;--cds-syntax-keyword:#4589ff;--cds-syntax-label-name:#a6c8ff;--cds-syntax-line-comment:#42be65;--cds-syntax-link:#4589ff;--cds-syntax-list:#f4f4f4;--cds-syntax-literal:#f4f4f4;--cds-syntax-local:#a6c8ff;--cds-syntax-logic-operator:#e0e0e0;--cds-syntax-macro-name:#f4f4f4;--cds-syntax-meta:#42be65;--cds-syntax-modifier:#4589ff;--cds-syntax-module-keyword:#be95ff;--cds-syntax-monospace:#f4f4f4;--cds-syntax-name:#a6c8ff;--cds-syntax-namespace:#3ddbd9;--cds-syntax-null:#f4f4f4;--cds-syntax-number:#6fdc8c;--cds-syntax-operator:#e0e0e0;--cds-syntax-operator-keyword:#4589ff;--cds-syntax-paren:#e0e0e0;--cds-syntax-processing-instruction:#f4f4f4;--cds-syntax-property-name:#33b1ff;--cds-syntax-punctuation:#e0e0e0;--cds-syntax-quote:#42be65;--cds-syntax-regexp:#be95ff;--cds-syntax-self:#3ddbd9;--cds-syntax-separator:#e0e0e0;--cds-syntax-special:#4589ff;--cds-syntax-special-string:#be95ff;--cds-syntax-square-bracket:#e0e0e0;--cds-syntax-standard:#4589ff;--cds-syntax-strikethrough:#f4f4f4;--cds-syntax-string:#f4f4f4;--cds-syntax-strong:#f4f4f4;--cds-syntax-tag:#3ddbd9;--cds-syntax-tag-name:#3ddbd9;--cds-syntax-type:#3ddbd9;--cds-syntax-type-name:#3ddbd9;--cds-syntax-type-operator:#3ddbd9;--cds-syntax-unit:#6fdc8c;--cds-syntax-update-operator:#e0e0e0;--cds-syntax-url:#e0e0e0;--cds-syntax-variable:#a6c8ff;--cds-syntax-variable-name:#a6c8ff}.cm-diff-line-inserted{background-color:var(--cds-syntax-inserted)}.cm-diff-line-deleted{background-color:var(--cds-syntax-deleted)}:host([disabled]) .cds-aichat--snippet{background-color:var(--cds-layer);color:var(--cds-text-disabled,hsla(0,0%,9%,.25))}:host([disabled]) .cds-aichat--snippet-container{cursor:not-allowed}:host([disabled]) .cm-editor{pointer-events:none}:host([disabled]) .cds-aichat--snippet__icon{fill:var(--cds-icon-disabled,hsla(0,0%,9%,.25))}:host([hide-copy-button]) .cds-aichat--snippet-container pre{padding-inline-end:0}:host([wrap-text]) pre{word-wrap:break-word;white-space:pre-wrap}.cds-aichat--snippet-container{max-block-size:var(--cds-snippet-max-height,100%);min-block-size:var(--cds-snippet-min-height,100%);order:1;overflow-y:auto;pointer-events:auto;position:relative;transition:max-height motion(standard,productive) .15s}.cds-aichat--snippet-container:focus{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.cds-aichat--snippet-container:focus{outline-style:dotted}}.cds-aichat--snippet-container:focus{outline-offset:0}.cds-aichat--snippet-container pre{overflow:auto;padding-block-end:1.5rem;padding-inline-end:1.5rem}.cds-aichat--snippet-container pre code{overflow:hidden}.cds-aichat--snippet-container--fill-mode{block-size:100%;overflow-y:auto}.cds-aichat--snippet--codemirror ::slotted(*){display:none}.cds-aichat--snippet--codemirror .cds-aichat--code-editor{block-size:100%;inline-size:100%}.cds-aichat--snippet__editor-skeleton{align-items:center;background:var(--cds-layer-01,#f4f4f4);display:flex;inset:0;padding:1rem;pointer-events:none;position:absolute;z-index:1}.cds-aichat--snippet__editor-skeleton cds-skeleton-text{inline-size:100%}.cds-aichat--visually-hidden{display:none}.cds-aichat--snippet__header{border-block-end:1px solid var(--cds-border-subtle-02,#e0e0e0)}.cds-aichat--snippet__meta{display:flex}.cds-aichat--snippet__footer{border-block-start:1px solid var(--cds-border-subtle-02,#e0e0e0);display:flex;justify-content:flex-end}.cds-aichat--snippet-btn--text{color:var(--cds-text-primary,#161616)}.cds-aichat--snippet__icon{fill:var(--cds-icon-primary,#161616)}.cds-aichat--snippet__header-separator,.cds-aichat--snippet__language,.cds-aichat--snippet__linecount{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333)}.cds-aichat--snippet__header-separator{padding-inline-end:.25rem;padding-inline-start:.25rem}.cds-aichat--snippet-container--collapsed{overflow-x:auto;overflow-y:hidden;transition:max-height motion(standard,productive) .15s}.cds-aichat--icon-chevron--down{transform:rotate(0deg);transition:transform .3s}:host([expanded-code]) .cds-aichat--icon-chevron--down{transform:rotate(180deg);transition:transform .3s}"]);
11
11
 
12
12
  export { styles as default };
13
13
  //# sourceMappingURL=code-snippet.scss.js.map
@@ -84,7 +84,7 @@ let CDSAIChatTruncatedText = class CDSAIChatTruncatedText extends LitElement {
84
84
  }
85
85
  _syncTruncatedVars() {
86
86
  setVarsForSelector(this._truncatedSelector, {
87
- "--line-clamp-value": String(this.lines),
87
+ "--line-clamp-value": this.lines === 0 ? "none" : String(this.lines),
88
88
  "--max-height-value": this._maxHeight || "none",
89
89
  });
90
90
  }
@@ -1 +1 @@
1
- {"version":3,"file":"truncated-text.js","sources":["../../../../src/components/truncated-text/src/truncated-text.ts"],"sourcesContent":[null],"names":["customElement"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;;;;;;;AAOG;AAkBH,MAAM,aAAa,GAAG,gBAAgB;MACzB,UAAU,GAA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AAA;AArDhE,sBAAsB,GAAA,UAAA,CAAA;IAD3BA,aAAa,CAAC,WAAW;AACpB,CAAA,EAAA,sBAAsB,CAoQ3B;AASD,qCAAe,sBAAsB;;;;"}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *
4
- * Copyright IBM Corp. 2025
4
+ * Copyright IBM Corp. 2025, 2026
5
5
  *
6
6
  * This source code is licensed under the Apache-2.0 license found in the
7
7
  * LICENSE file in the root directory of this source tree.
@@ -8,7 +8,7 @@
8
8
  /**
9
9
  * @license
10
10
  *
11
- * Copyright IBM Corp. 2025
11
+ * Copyright IBM Corp. 2025, 2026
12
12
  *
13
13
  * This source code is licensed under the Apache-2.0 license found in the
14
14
  * LICENSE file in the root directory of this source tree.
@@ -81,8 +81,8 @@ class ResizeObserverManager {
81
81
  }
82
82
  const messagesMaxWidth = this.getMessagesMaxWidth();
83
83
  const updateAtMaxWidth = (hostWidth) => {
84
- // When host is less than max-width, input-and-messages is "at max width" (filling container)
85
- const isAtMaxWidth = hostWidth < messagesMaxWidth;
84
+ // When host is less than or equal to max-width, input-and-messages is "at max width" (filling container)
85
+ const isAtMaxWidth = hostWidth <= messagesMaxWidth;
86
86
  onWidthChange({ isAtMaxWidth, currentWidth: hostWidth });
87
87
  };
88
88
  const measure = () => {
@@ -1 +1 @@
1
- {"version":3,"file":"resize-observer-manager.js","sources":["../../../../src/components/chat-shell/src/resize-observer-manager.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAAA;;;;;;;AAOG;AAIH;;;AAGG;MACU,qBAAqB,CAAA;IAOhC,WAAA,CACmB,SAAqB,EACrB,WAAwB,EAAA;QADxB,IAAA,CAAA,SAAS,GAAT,SAAS;QACT,IAAA,CAAA,WAAW,GAAX,WAAW;IAC3B;AAEH;;AAEG;IACH,UAAU,GAAA;AACR,QAAA,IAAI,CAAC,oBAAoB,EAAE,UAAU,EAAE;AACvC,QAAA,IAAI,CAAC,8BAA8B,EAAE,UAAU,EAAE;A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AAA,eAAe,KAAK,IAAI,CAAC,yBAAyB;QAEpD,IAAI,UAAU,EAAE;AACd,YAAA,IAAI,CAAC,yBAAyB,GAAG,eAAe;QAClD;AAEA,QAAA,OAAO,UAAU;IACnB;AAEA;;AAEG;AACH,IAAA,oBAAoB,CAAC,gBAA4B,EAAA;AAC/C,QAAA,IAAI,OAAO,gBAAgB,KAAK,WAAW,EAAE;YAC3C;QACF;AAEA,QAAA,IAAI,CAAC,mBAAmB,GAAG,IAAI,gBAAgB,CAAC,MAAK;AACnD,YAAA,IAAI,IAAI,CAAC,2BAA2B,EAAE,EAAE;AACtC,gBAAA,gBAAgB,EAAE;YACpB;AACF,QAAA,CAAC,CAAC;QAEF,IAAI,CAAC,mBAAmB,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE;AACjD,YAAA,UAAU,EAAE,IAAI;YAChB,eAAe,EAAE,CAAC,OAAO,CAAC;AAC3B,SAAA,CAAC;IACJ;AACD;AAED;;;;"}
1
+ {"version":3,"file":"resize-observer-manager.js","sources":["../../../../src/components/chat-shell/src/resize-observer-manager.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAAA;;;;;;;AAOG;AAIH;;;AAGG;MACU,qBAAqB,CAAA;IAOhC,WAAA,CACmB,SAAqB,EACrB,WAAwB,EAAA;QADxB,IAAA,CAAA,SAAS,GAAT,SAAS;QACT,IAAA,CAAA,WAAW,GAAX,WAAW;IAC3B;AAEH;;AAEG;IACH,UAAU,GAAA;AACR,QAAA,IAAI,CAAC,oBAAoB,EAAE,UAAU,EAAE;AACvC,QAAA,IAAI,CAAC,8BAA8B,EAAE,UAAU,EAAE;AACjD,QAAA,IAAI,CAAC,6BAA6B,EAAE,UAAU,EAAE;AAChD,QAAA,IAAI,CAAC,mBAAmB,EAAE,UAAU,EAAE;IACxC;AAEA;;AAEG;AACH,IAAA,mBAAmB,CAAC,cAAwC,EAAA;AAC1D,QAAA,IAAI,OAAO,cAAc,KAAK,WAAW,EAAE;YACzC;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