*[data-streamdown], *[data-streamdown]::before, *[data-streamdown]::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

dialog[data-streamdown]::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/*
! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*[data-streamdown],
*[data-streamdown]::before,
*[data-streamdown]::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

*[data-streamdown]::before,
*[data-streamdown]::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

[data-streamdown] {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  /* 3 */
  tab-size: 4;
  /* 3 */
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif !important;
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

[data-streamdown] {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr[data-streamdown] {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr[data-streamdown]:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1[data-streamdown],
h2[data-streamdown],
h3[data-streamdown],
h4[data-streamdown],
h5[data-streamdown],
h6[data-streamdown] {
  font-size: 14px !important;
  font-weight: 600 !important;
  margin: 0.5rem 0 !important;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a[data-streamdown] {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b[data-streamdown],
strong[data-streamdown] {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code[data-streamdown],
kbd[data-streamdown],
samp[data-streamdown],
pre[data-streamdown] {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small[data-streamdown] {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub[data-streamdown],
sup[data-streamdown] {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub[data-streamdown] {
  bottom: -0.25em;
}

sup[data-streamdown] {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table[data-streamdown] {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button[data-streamdown],
input[data-streamdown],
optgroup[data-streamdown],
select[data-streamdown],
textarea[data-streamdown] {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

li[data-streamdown], p[data-streamdown], .ai-chat-message p, .ai-chat-message li, .ai-chat-message span, .dashboard-text-block-widget p, .dashboard-text-block-widget li, .dashboard-text-block-widget span {
  line-height: 1.8;
  font-size: 14px !important;
}

p[data-streamdown], .ai-chat-message p {
   margin: 0.6rem 0 !important;
}

p[data-streamdown], .dashboard-text-block-widget p {
   margin: 0.6rem 0 !important;
}

.dashboard-text-block-widget li p, .dashboard-text-block-widget ul p {
   margin: 0 !important;
}

a[data-streamdown], a.text-primary[data-streamdown], a.link-primary[data-streamdown] {
  color: #1751d0 !important;
}

a.text-primary[data-streamdown]:hover,
a.text-primary[data-streamdown]:focus,
a.text-primary[data-streamdown]:active,
a.link-primary[data-streamdown]:hover,
a.link-primary[data-streamdown]:focus,
a.link-primary[data-streamdown]:active {
  color: #1751d0 !important;
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button[data-streamdown],
select[data-streamdown] {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button[data-streamdown],
input:where([type='button'])[data-streamdown],
input:where([type='reset'])[data-streamdown],
input:where([type='submit'])[data-streamdown] {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:is(*[data-streamdown]):-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:is(*[data-streamdown]):-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress[data-streamdown] {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

input[data-streamdown]::-webkit-inner-spin-button,
input[data-streamdown]::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

input[type='search'][data-streamdown] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

input[data-streamdown]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

input[data-streamdown]::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary[data-streamdown] {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote[data-streamdown],
dl[data-streamdown],
dd[data-streamdown],
h1[data-streamdown],
h2[data-streamdown],
h3[data-streamdown],
h4[data-streamdown],
h5[data-streamdown],
h6[data-streamdown],
hr[data-streamdown],
figure[data-streamdown],
p[data-streamdown],
pre[data-streamdown] {
  margin: 0;
}

fieldset[data-streamdown] {
  margin: 0;
  padding: 0;
}

legend[data-streamdown] {
  padding: 0;
}

ol[data-streamdown],
ul[data-streamdown],
menu[data-streamdown] {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog[data-streamdown] {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea[data-streamdown] {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input[data-streamdown]::placeholder,
textarea[data-streamdown]::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button[data-streamdown],
[role="button"][data-streamdown] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

[data-streamdown]:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img[data-streamdown],
svg[data-streamdown],
video[data-streamdown],
canvas[data-streamdown],
audio[data-streamdown],
iframe[data-streamdown],
embed[data-streamdown],
object[data-streamdown] {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img[data-streamdown],
video[data-streamdown] {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[data-streamdown][hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

.pointer-events-none[data-streamdown] {
  pointer-events: none;
}

.absolute[data-streamdown] {
  position: absolute;
}

.relative[data-streamdown] {
  position: relative;
}

.inset-0[data-streamdown] {
  inset: 0px;
}

.bottom-2[data-streamdown] {
  bottom: 0.5rem;
}

.right-0[data-streamdown] {
  right: 0px;
}

.right-2[data-streamdown] {
  right: 0.5rem;
}

.top-full[data-streamdown] {
  top: 100%;
}

.z-10[data-streamdown] {
  z-index: 10;
}

.my-4[data-streamdown] {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.my-6[data-streamdown] {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.mb-2[data-streamdown] {
  margin-bottom: 0.5rem;
}

.ml-1[data-streamdown] {
  margin-left: 0.25rem;
}

.ml-4[data-streamdown] {
  margin-left: 1rem;
}

.mt-1[data-streamdown] {
  margin-top: 0.25rem;
}

.mt-2[data-streamdown] {
  margin-top: 0.5rem;
}

.mt-6[data-streamdown] {
  margin-top: 1.5rem;
}

.block[data-streamdown] {
  display: block;
}

.inline-block[data-streamdown] {
  display: inline-block;
}

.flex[data-streamdown] {
  display: flex;
}

.table[data-streamdown] {
  display: table;
}

.table-cell[data-streamdown] {
  display: table-cell;
}

.table-row[data-streamdown] {
  display: table-row;
}

.list-item[data-streamdown] {
  display: list-item;
}

.hidden[data-streamdown] {
  display: none;
}

.h-4[data-streamdown] {
  height: 1rem;
}

.h-8[data-streamdown] {
  height: 2rem;
}

.h-auto[data-streamdown] {
  height: auto;
}

.w-4[data-streamdown] {
  width: 1rem;
}

.w-8[data-streamdown] {
  width: 2rem;
}

.w-full[data-streamdown] {
  width: 100%;
}

.min-w-\[120px\][data-streamdown] {
  min-width: 120px;
}

.min-w-full[data-streamdown] {
  min-width: 100%;
}

.max-w-full[data-streamdown] {
  max-width: 100%;
}

.border-collapse[data-streamdown] {
  border-collapse: collapse;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.animate-spin[data-streamdown] {
  animation: spin 1s linear infinite;
}

.cursor-pointer[data-streamdown] {
  cursor: pointer;
}

.list-outside[data-streamdown] {
  list-style-position: outside;
}

.list-decimal[data-streamdown] {
  list-style-type: decimal;
}

.list-disc[data-streamdown] {
  list-style-type: disc;
}

.flex-col[data-streamdown] {
  flex-direction: column;
}

.items-center[data-streamdown] {
  align-items: center;
}

.justify-end[data-streamdown] {
  justify-content: flex-end;
}

.justify-center[data-streamdown] {
  justify-content: center;
}

.justify-between[data-streamdown] {
  justify-content: space-between;
}

.gap-1[data-streamdown] {
  gap: 0.25rem;
}

.gap-2[data-streamdown] {
  gap: 0.5rem;
}

.space-x-2[data-streamdown] > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.5rem * var(--tw-space-x-reverse));
  margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
}

.space-y-2[data-streamdown] > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}

.space-y-4[data-streamdown] > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.7rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.7rem * var(--tw-space-y-reverse));
}

.divide-y[data-streamdown] > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-y-reverse: 0;
  border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
}

.overflow-hidden[data-streamdown] {
  overflow: hidden;
}

.overflow-x-auto[data-streamdown] {
  overflow-x: auto;
}

.whitespace-normal[data-streamdown] {
  white-space: normal;
}

.whitespace-nowrap[data-streamdown] {
  white-space: nowrap;
}

.rounded[data-streamdown] {
  border-radius: 0.25rem;
}

.rounded-full[data-streamdown] {
  border-radius: 9999px;
}

.rounded-lg[data-streamdown] {
  border-radius: 0.5rem;
}

.rounded-md[data-streamdown] {
  border-radius: 0.375rem;
}

.rounded-xl[data-streamdown] {
  border-radius: 0.75rem;
}

.border[data-streamdown] {
  border-width: 1px;
}

.border-b[data-streamdown] {
  border-bottom-width: 1px;
}

.border-b-2[data-streamdown] {
  border-bottom-width: 2px;
}

.border-l-4[data-streamdown] {
  border-left-width: 4px;
}

.border-t[data-streamdown] {
  border-top-width: 1px;
}

.border-current[data-streamdown] {
  border-color: currentColor;
}

.border-red-200[data-streamdown] {
  --tw-border-opacity: 1;
  border-color: rgb(254 202 202 / var(--tw-border-opacity, 1));
}

.bg-black\/10[data-streamdown] {
  background-color: rgb(0 0 0 / 0.1);
}

.bg-red-100[data-streamdown] {
  --tw-bg-opacity: 1;
  background-color: rgb(254 226 226 / var(--tw-bg-opacity, 1));
}

.bg-red-50[data-streamdown] {
  --tw-bg-opacity: 1;
  background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1));
}

.p-1[data-streamdown] {
  padding: 0.25rem;
}

.p-2[data-streamdown] {
  padding: 0.5rem;
}

.p-3[data-streamdown] {
  padding: 0.75rem;
}

.p-4[data-streamdown] {
  padding: 1rem;
}

.px-1\.5[data-streamdown] {
  padding-left: 0.375rem;
  padding-right: 0.375rem;
}

.px-3[data-streamdown] {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4[data-streamdown] {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-0\.5[data-streamdown] {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}

.py-1[data-streamdown] {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-2[data-streamdown] {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.pl-4[data-streamdown] {
  padding-left: 1rem;
}

.text-left[data-streamdown] {
  text-align: left;
}

.font-mono[data-streamdown] {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.text-2xl[data-streamdown] {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl[data-streamdown] {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-base[data-streamdown] {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-lg[data-streamdown] {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-sm[data-streamdown] {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xl[data-streamdown] {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-xs[data-streamdown] {
  font-size: 0.75rem;
  line-height: 1rem;
}

.font-medium[data-streamdown] {
  font-weight: 500;
}

.font-semibold[data-streamdown] {
  font-weight: 600;
}

.lowercase[data-streamdown] {
  text-transform: lowercase;
}

.italic[data-streamdown] {
  font-style: italic;
}

.text-red-600[data-streamdown] {
  --tw-text-opacity: 1;
  color: rgb(220 38 38 / var(--tw-text-opacity, 1));
}

.text-red-700[data-streamdown] {
  --tw-text-opacity: 1;
  color: rgb(185 28 28 / var(--tw-text-opacity, 1));
}

.text-red-800[data-streamdown] {
  --tw-text-opacity: 1;
  color: rgb(153 27 27 / var(--tw-text-opacity, 1));
}

.underline[data-streamdown] {
  text-decoration-line: underline;
}

.opacity-0[data-streamdown] {
  opacity: 0;
}

.shadow-lg[data-streamdown] {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-sm[data-streamdown] {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.backdrop-blur-sm[data-streamdown] {
  --tw-backdrop-blur: blur(4px);
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

.transition-all[data-streamdown] {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors[data-streamdown] {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-200[data-streamdown] {
  transition-duration: 200ms;
}

@source "./node_modules/streamdown/dist/index.js";

.group:hover .group-hover\:block[data-streamdown] {
  display: block;
}

.group:hover .group-hover\:opacity-100[data-streamdown] {
  opacity: 1;
}

@media (prefers-color-scheme: dark) {
  .dark\:block[data-streamdown] {
    display: block;
  }

  .dark\:hidden[data-streamdown] {
    display: none;
  }
}

/* Custom styles for Streamdown table wrapper and controls */
[data-streamdown="table-wrapper"] {
  display: flex;
  flex-direction: column;
  /* Spacing between the table and its controls. Set as a gap rather than a
     margin on the second child, because the controls are reordered below the
     table further down — a margin-top would then land above the table instead
     of between the two. */
  gap: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.prime-day-review-content [data-streamdown="table-wrapper"] {
  margin-top: -0.5rem !important;
  margin-bottom: -0.5rem !important;
}

.prime-day-review-content [data-streamdown="horizontal-rule"] {
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}

/* The wrapper's gap does the spacing now. !important because Streamdown puts
   its own `space-y-2` utility on the wrapper, which is more specific than this
   selector and would otherwise still apply a margin in DOM order. */
[data-streamdown="table-wrapper"] > * + * {
  margin-top: 0 !important;
}

/* Button container.

   The controls (copy, download) sit under the table rather than above it: the
   table is what the reader came for, so the block starts with it and the
   actions follow. Streamdown renders the controls first in the DOM, and the
   wrapper is a flex column, so this is `order` alone — no markup override and
   no loss of the built-in controls. */
[data-streamdown="table-wrapper"] > div:first-child {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  order: 2;
}

/* Buttons */
[data-streamdown="table-wrapper"] button {
  cursor: pointer;
  padding: 0.25rem;
  color: #6b7280; /* text-muted-foreground */
  transition: all 150ms;
  background: transparent;
  border: none;
}

[data-streamdown="table-wrapper"] button:hover {
  color: #111827; /* text-foreground */
}

/* Dropdown container */
[data-streamdown="table-wrapper"] .relative {
  position: relative;
}

/* Dropdown menu (the download button's CSV / Markdown choice).

   Opens upwards, since the button it hangs off is now below the table: opening
   downwards would put the menu past the end of the message, and in the chat
   panel that is often off the bottom of the scroll area. */
[data-streamdown="table-wrapper"] .absolute {
  position: absolute;
  top: auto;
  bottom: 100%;
  right: 0;
  z-index: 10;
  margin-bottom: 0.25rem;
  min-width: 120px;
  border-radius: 0.375rem;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

/* Dropdown items */
[data-streamdown="table-wrapper"] .absolute button {
  width: 100%;
  padding: 0.5rem 0.75rem;
  text-align: left;
  font-size: 0.75rem;
  color: #374151;
}

[data-streamdown="table-wrapper"] .absolute button:hover {
  background-color: #f3f4f6;
}

/* Table container */
[data-streamdown="table-wrapper"] .overflow-x-auto {
  overflow-x: auto;
  max-height: 240px;
}

/* Custom styles for Streamdown table content */
[data-streamdown="table"] {
  width: 100% !important;
  border-collapse: collapse !important;
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}

[data-streamdown="table-header"] {
  background-color: #ecf1ff !important; /* bg-gray-50 */
  position: sticky !important;
  top: 0 !important;
}

[data-streamdown="table-row"] {
  border-bottom: 1px solid #e5e7eb !important; /* border-gray-200 */
}

[data-streamdown="table-body"] [data-streamdown="table-row"]:hover:hover {
  background-color: #f9fafb !important; /* hover:bg-gray-50 */
}

[data-streamdown="table-header-cell"],
[data-streamdown="table-cell"] {
  border: 1px solid #e5e7eb !important; /* border-gray-200 */
  padding: 0.5rem 1rem !important; /* px-4 py-2 */
  text-align: left !important;
  font-size: 0.75rem !important; /* text-xs */
}

[data-streamdown="table-header-cell"] {
  font-weight: 600 !important; /* font-semibold */
  color: #111827 !important; /* text-gray-900 */
}

[data-streamdown="table-cell"] {
  color: #374151 !important; /* text-gray-700 */
}

/* ---------------------------------------------------------------------------
   Adbrew Intelligence chat only.

   Everything above is shared by every Streamdown surface (the dashboard Text
   Block widget, the Prime Day review). The chat renders long analytical tables
   in a panel the user can resize from 480px to full screen, which the shared
   rules were never sized for, so the overrides it needs are scoped here rather
   than changed for everyone. The hook class is on the message list in
   MessagesView.
   --------------------------------------------------------------------------- */

/* Makes the wrapper a query container so the cells below can tighten up when
   the panel is narrow. Media queries can't see that — the viewport doesn't
   change when the sidebar is resized. */
.intelligence-chat-messages [data-streamdown="table-wrapper"] {
  container-type: inline-size;
}

/* No height cap: the whole table is shown, however many rows it has, and the
   conversation scrolls past it as it would past any other content. Row height
   depends entirely on how much each cell wraps, so the shared 240px cut a table
   with long cells down to a row or two and put a second scrollbar inside the
   answer. */
.intelligence-chat-messages [data-streamdown="table-wrapper"] .overflow-x-auto {
  max-height: none;
}

.intelligence-chat-messages [data-streamdown="table"] {
  /* Auto layout: each column is sized by its own content and the bounds set on
     the cells below, rather than every column getting an equal share. */
  table-layout: auto !important;
  /* The wrapper already spaces the table from the surrounding text. */
  margin: 0 !important;
}

.intelligence-chat-messages [data-streamdown="table-header-cell"],
.intelligence-chat-messages [data-streamdown="table-cell"] {
  padding: 0.375rem 0.625rem !important;
  /* Match the streamed prose around the table — the shared rules set cells to
     12px, which read as a different, smaller thing sitting inside the answer.
     Leading stays tighter than the 1.8 body text uses, as tabular data wants. */
  font-size: 0.875rem !important;
  line-height: 1.3125rem !important;
  /* Cells wrap to multiple lines, so align their content to the top rather than
     to the table's inherited middle. */
  vertical-align: top !important;
  /* Streamdown sets white-space: nowrap on header cells, which forces the whole
     header row onto one line and blows up the table's minimum width. */
  white-space: normal !important;
  /* Wrap at word boundaries, and break a word only when its column is too
     narrow to hold it. Deliberately NOT `word-break: break-word` / `anywhere`:
     those let the browser break mid-token, which rendered "$310" as "$31"/"0"
     and split amounts across lines. */
  overflow-wrap: break-word !important;
  /* Floor so short columns stay legible. */
  min-width: 4rem;
}

/* Ceiling for the wrapping columns, so one long token (a campaign name, an
   ASIN) can't claim a third of the table and squeeze everything else — past the
   ceiling the token wraps instead. Numeric columns are excluded because they
   are kept on one line below, and a ceiling there would just make the value
   overflow its cell. */
.intelligence-chat-messages [data-streamdown="table-header-cell"]:not([align="right"]),
.intelligence-chat-messages [data-streamdown="table-cell"]:not([align="right"]) {
  max-width: 11rem;
}

/* remark tags a column's cells with align="right" when the markdown wrote
   `---:`, which is how the model marks its numeric columns. Those values are
   read as a unit, so keep each on one line — the table scrolls sideways rather
   than splitting "(20,673.57 / 21,692.93)" over three lines. */
.intelligence-chat-messages [data-streamdown="table-cell"][align="right"] {
  white-space: nowrap !important;
}

/* Honour the markdown's own column alignment explicitly. The align attribute is
   only a presentational hint, so the shared `text-align: left !important` above
   outranks it and headers would otherwise disagree with the values under them. */
.intelligence-chat-messages [data-streamdown="table-header-cell"][align="right"],
.intelligence-chat-messages [data-streamdown="table-cell"][align="right"] {
  text-align: right !important;
}

.intelligence-chat-messages [data-streamdown="table-header-cell"][align="center"],
.intelligence-chat-messages [data-streamdown="table-cell"][align="center"] {
  text-align: center !important;
}

/* Inline markup inside a cell must take the cell's text size. Streamdown
   renders bold as a <span>, and the `.ai-chat-message span` rule earlier in
   this file forces 14px !important on every span in a chat message — so bold
   cell text rendered two sizes larger than the text beside it. */
.intelligence-chat-messages [data-streamdown="table-header-cell"] *,
.intelligence-chat-messages [data-streamdown="table-cell"] * {
  font-size: inherit !important;
  line-height: inherit !important;
}

.intelligence-chat-messages [data-streamdown="table-cell"] {
  /* Keeps digits in numeric columns vertically aligned. */
  font-variant-numeric: tabular-nums;
}

/* Reclaim horizontal space when the panel is narrow (the sidebar at its default
   width). Not enough to fit a wide table — it still scrolls sideways — but
   enough to bring another column or so into view. */
@container (max-width: 560px) {
  .intelligence-chat-messages [data-streamdown="table-header-cell"],
  .intelligence-chat-messages [data-streamdown="table-cell"] {
    padding: 0.375rem 0.375rem !important;
  }

  /* A lower ceiling for the wrapping columns here. At the full 14rem a single
     long token — a campaign name is one unbroken word — holds its column at the
     ceiling and takes half the panel, even though it is one word that could
     just as well wrap. Breaking it a line earlier costs nothing: the rows are
     already as tall as the prose column makes them. Numeric columns keep the
     exclusion, so no value is squeezed into wrapping. */
  .intelligence-chat-messages [data-streamdown="table-header-cell"]:not([align="right"]),
  .intelligence-chat-messages [data-streamdown="table-cell"]:not([align="right"]) {
    max-width: 10rem;
  }
}

@media print {
  body.print-only-dashboard .dashboard-text-block-widget p,
  body.print-only-dashboard .dashboard-text-block-widget li,
  body.print-only-dashboard .dashboard-text-block-widget span,
  body.print-only-dashboard .dashboard-text-block-widget p[data-streamdown],
  body.print-only-dashboard .dashboard-text-block-widget li[data-streamdown],
  body.print-only-dashboard .dashboard-text-block-widget span[data-streamdown] {
    font-size: 17px !important;
  }
}