/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */.dify-chat .dify-chat__shell{font-family:var(--dc-font);font-size:var(--dc-size);border:1px solid}@supports (color:color-mix(in lab,red,red)){.dify-chat .dify-chat__shell{border-color:color-mix(in srgb,currentColor 18%,transparent)}}.dify-chat .dify-chat__shell{border-radius:var(--dc-radius);background:var(--dc-background);color:inherit;isolation:isolate;line-height:inherit;min-width:0;overflow:visible}.dify-chat *,.dify-chat :before,.dify-chat :after{box-sizing:border-box}.dify-chat:not([data-native-buttons="1"]) button,.dify-chat textarea{font:inherit;color:inherit;letter-spacing:inherit;text-transform:none}.dify-chat:not([data-native-buttons="1"]) button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;border:1px solid}@supports (color:color-mix(in lab,red,red)){.dify-chat:not([data-native-buttons="1"]) button{border-color:color-mix(in srgb,currentColor 22%,transparent)}}.dify-chat:not([data-native-buttons="1"]) button{border-radius:calc(var(--dc-radius) * .65);cursor:pointer;line-height:inherit;white-space:normal;overflow-wrap:anywhere;max-width:100%;min-height:2.75em;box-shadow:none;padding:.4em .8em}.dify-chat:not([data-native-buttons="1"]) button:hover:not(:disabled){background:currentColor}@supports (color:color-mix(in lab,red,red)){.dify-chat:not([data-native-buttons="1"]) button:hover:not(:disabled){background:color-mix(in srgb,currentColor 8%,transparent)}}.dify-chat button:disabled{opacity:.5;cursor:default}.dify-chat :is(button,textarea,a,[tabindex]):focus-visible{outline:2px solid var(--dc-accent);outline-offset:3px}.dify-chat .dify-chat__header{border-bottom:1px solid;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75em;padding:1em;display:flex}@supports (color:color-mix(in lab,red,red)){.dify-chat .dify-chat__header{border-bottom:1px solid color-mix(in srgb,currentColor 14%,transparent)}}.dify-chat .dify-chat__title{font:inherit;color:inherit;margin:0;font-weight:650}.dify-chat .dify-chat__message-area{min-width:0;position:relative}.dify-chat .dify-chat__messages{max-height:var(--dc-height);min-height:min(16em,var(--dc-height));overscroll-behavior:contain;scrollbar-gutter:stable;padding:1em;overflow:auto}.dify-chat .dify-chat__message{border-radius:var(--dc-radius);overflow-wrap:anywhere;min-width:0;margin-block:0 1.25em;padding:.9em}.dify-chat .dify-chat__message--user{background:currentColor;margin-inline-start:8%}@supports (color:color-mix(in lab,red,red)){.dify-chat .dify-chat__message--user{background:color-mix(in srgb,currentColor 6%,transparent)}}.dify-chat .dify-chat__message--assistant{padding-inline:.25em}.dify-chat .dify-chat__role{opacity:.75;margin-block-end:.4em;font-weight:650}.dify-chat .dify-chat__plain{white-space:pre-wrap;margin:0}.dify-chat .dify-chat__welcome{text-align:center;padding:1.5em .5em}.dify-chat .dify-chat__welcome p{white-space:pre-wrap}.dify-chat .dify-chat__suggestions{flex-wrap:wrap;justify-content:center;gap:.6em;display:flex}.dify-chat .dify-chat__status,.dify-chat .dify-chat__error{padding:.5em 1em}.dify-chat .dify-chat__error{background:currentColor;border-inline-start:.2em solid;margin:.5em 1em}@supports (color:color-mix(in lab,red,red)){.dify-chat .dify-chat__error{background:color-mix(in srgb,currentColor 5%,transparent)}}.dify-chat .dify-chat__error p{margin:0 0 .4em}.dify-chat .dify-chat__status{align-items:center;gap:.6em;display:flex}.dify-chat .dify-chat__pulse{background:currentColor;border-radius:50%;width:.55em;height:.55em;animation:1.4s ease-in-out infinite dify-chat-pulse}.dify-chat .dify-chat__actions{flex-wrap:wrap;gap:.5em;padding-block:.5em;display:flex}.dify-chat .dify-chat__shell>.dify-chat__actions{padding-inline:1em}.dify-chat .dify-chat__composer{border:1px solid;margin:.75em;padding:.6em}@supports (color:color-mix(in lab,red,red)){.dify-chat .dify-chat__composer{border:1px solid color-mix(in srgb,currentColor 25%,transparent)}}.dify-chat .dify-chat__composer{border-radius:var(--dc-radius)}.dify-chat .dify-chat__composer textarea{width:100%;box-shadow:none;resize:none;background:0 0;border:0;border-radius:.2em;min-height:3em;max-height:240px;padding:.6em;line-height:1.5;display:block;overflow-y:auto}.dify-chat .dify-chat__composer textarea::-moz-placeholder{color:inherit;opacity:.6}.dify-chat .dify-chat__composer textarea::placeholder{color:inherit;opacity:.6}.dify-chat .dify-chat__composer-footer{justify-content:flex-end;align-items:center;gap:1em;padding-block-start:.4em;display:flex}.dify-chat .dify-chat__composer-footer small{font-size:inherit;opacity:.65;margin-inline-end:auto}.dify-chat:not([data-native-buttons="1"]) .dify-chat__send{border-color:var(--dc-accent);font-weight:650}.dify-chat .dify-chat__jump{background:var(--dc-background);bottom:.5em;position:absolute;inset-inline-end:1em;box-shadow:0 .15em .5em}@supports (color:color-mix(in lab,red,red)){.dify-chat .dify-chat__jump{box-shadow:0 .15em .5em color-mix(in srgb,currentColor 15%,transparent)}}.dify-chat .dify-chat__markdown{min-width:0}.dify-chat .dify-chat__markdown>:first-child{margin-top:0}.dify-chat .dify-chat__markdown>:last-child{margin-bottom:0}.dify-chat .dify-chat__markdown :is(h1,h2,h3,h4,h5,h6){color:inherit;font-family:inherit;line-height:inherit;font-size:var(--wp--custom--dify-chat--heading-size,var(--wp--preset--font-size--large,1.25em));margin-block:1em .4em;font-weight:700}.dify-chat .dify-chat__markdown :is(p,ul,ol){margin-block:.6em}.dify-chat .dify-chat__markdown :is(ul,ol){padding-inline-start:1.6em}.dify-chat .dify-chat__markdown ul{list-style:outside}.dify-chat .dify-chat__markdown ol{list-style:decimal}.dify-chat .dify-chat__markdown a{color:var(--dc-accent);text-underline-offset:.15em;text-decoration:underline}.dify-chat .dify-chat__markdown blockquote{border-inline-start:.2em solid;margin-inline:0;padding-inline-start:1em}@supports (color:color-mix(in lab,red,red)){.dify-chat .dify-chat__markdown blockquote{border-inline-start:.2em solid color-mix(in srgb,currentColor 30%,transparent)}}.dify-chat .dify-chat__markdown blockquote{color:inherit;font:inherit}.dify-chat .dify-chat__table{max-width:100%;overflow-x:auto}.dify-chat .dify-chat__table table{border-collapse:collapse;width:100%;font:inherit;color:inherit}.dify-chat .dify-chat__table :is(th,td){border:1px solid}@supports (color:color-mix(in lab,red,red)){.dify-chat .dify-chat__table :is(th,td){border:1px solid color-mix(in srgb,currentColor 25%,transparent)}}.dify-chat .dify-chat__table :is(th,td){text-align:start;padding:.5em .7em}.dify-chat .dify-chat__table th{background:currentColor}@supports (color:color-mix(in lab,red,red)){.dify-chat .dify-chat__table th{background:color-mix(in srgb,currentColor 5%,transparent)}}.dify-chat .dify-chat__code{border-radius:calc(var(--dc-radius) * .6);border:1px solid;margin-block:1em;position:relative}@supports (color:color-mix(in lab,red,red)){.dify-chat .dify-chat__code{border:1px solid color-mix(in srgb,currentColor 18%,transparent)}}.dify-chat .dify-chat__code{overflow:hidden}.dify-chat .dify-chat__code pre{background:currentColor;margin:0;padding:1em;overflow:auto}@supports (color:color-mix(in lab,red,red)){.dify-chat .dify-chat__code pre{background:color-mix(in srgb,currentColor 5%,transparent)}}.dify-chat .dify-chat__code pre{color:inherit}.dify-chat .dify-chat__code>button{margin:.5em}.dify-chat .dify-chat__markdown code{font-family:var(--dc-code-font);font-size:inherit;color:inherit;background:currentColor}@supports (color:color-mix(in lab,red,red)){.dify-chat .dify-chat__markdown code{background:color-mix(in srgb,currentColor 5%,transparent)}}.dify-chat .dify-chat__markdown code{border-radius:.2em;padding:.1em .3em}.dify-chat .dify-chat__code code{white-space:pre;background:0 0;padding:0}.dify-chat .dify-chat__code :is(.hljs-keyword,.hljs-selector-tag,.hljs-title,.hljs-built_in){color:var(--dc-accent);font-weight:700}.dify-chat .dify-chat__code :is(.hljs-comment,.hljs-quote){opacity:.65;font-style:italic}.dify-chat .dify-chat__code :is(.hljs-string,.hljs-number,.hljs-literal){text-decoration:underline}@supports (color:color-mix(in lab,red,red)){.dify-chat .dify-chat__code :is(.hljs-string,.hljs-number,.hljs-literal){text-decoration-color:color-mix(in srgb,currentColor 30%,transparent)}}.dify-chat .dify-chat__code :is(.hljs-string,.hljs-number,.hljs-literal){text-underline-offset:.2em}.dify-chat .dify-chat__sr{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@keyframes dify-chat-pulse{50%{opacity:.3}}@media(max-width:480px){.dify-chat .dify-chat__messages{padding:.5em}.dify-chat .dify-chat__message{padding:.6em}.dify-chat .dify-chat__composer{margin:.5em}.dify-chat .dify-chat__composer-footer{flex-wrap:wrap}.dify-chat .dify-chat__composer-footer small{flex-basis:100%}}@media(prefers-reduced-motion:reduce){.dify-chat .dify-chat__pulse{animation:none}}.dify-chat :is(input,select){font:inherit;color:inherit;background:var(--dc-background);border:1px solid;max-width:100%}@supports (color:color-mix(in lab,red,red)){.dify-chat :is(input,select){border:1px solid color-mix(in srgb,currentColor 25%,transparent)}}.dify-chat :is(input,select){border-radius:calc(var(--dc-radius)*.5);min-height:2.75em;box-shadow:none;padding:.45em .6em}.dify-chat :is(input[type=checkbox],input[type=range]){min-height:initial;accent-color:var(--dc-accent);padding:0}.dify-chat :is(input,select,summary):focus-visible{outline:2px solid var(--dc-accent);outline-offset:3px}.dify-chat summary{cursor:pointer;overflow-wrap:anywhere}.dify-chat .dify-chat__toolbar,.dify-chat .dify-chat__composer-buttons{flex-wrap:wrap;align-items:center;gap:.5em;display:flex}.dify-chat .dify-chat__layout{flex-wrap:wrap;align-items:stretch;min-width:0;display:flex}.dify-chat .dify-chat__main{flex-direction:column;flex:3 22em;min-width:0;display:flex}.dify-chat .dify-chat__sidebar{border-inline-end:1px solid;flex:15em;min-width:0;padding:.8em}@supports (color:color-mix(in lab,red,red)){.dify-chat .dify-chat__sidebar{border-inline-end:1px solid color-mix(in srgb,currentColor 18%,transparent)}}.dify-chat .dify-chat__sidebar{background:currentColor}@supports (color:color-mix(in lab,red,red)){.dify-chat .dify-chat__sidebar{background:color-mix(in srgb,currentColor 3%,transparent)}}.dify-chat .dify-chat__sidebar{max-height:var(--dc-height);overflow:auto}.dify-chat .dify-chat__sidebar-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.6em;margin-bottom:.6em;display:flex}.dify-chat .dify-chat__sidebar h3{font:inherit;color:inherit;margin:0;font-weight:650}.dify-chat .dify-chat__sidebar input[type=search]{width:100%;display:block}.dify-chat .dify-chat__check{flex-wrap:wrap;align-items:center;gap:.5em;margin-block:.65em;display:flex}.dify-chat .dify-chat__check small{font:inherit;opacity:.7;flex-basis:100%}.dify-chat .dify-chat__threads{margin:.75em 0;padding:0;list-style:none}.dify-chat .dify-chat__threads>li{border-radius:var(--dc-radius);border:1px solid #0000;margin-bottom:.45em;padding:.5em}.dify-chat .dify-chat__thread--active{border-color:currentColor!important}@supports (color:color-mix(in lab,red,red)){.dify-chat .dify-chat__thread--active{border-color:color-mix(in srgb,currentColor 30%,transparent)!important}}.dify-chat .dify-chat__thread--active{background:currentColor}@supports (color:color-mix(in lab,red,red)){.dify-chat .dify-chat__thread--active{background:color-mix(in srgb,currentColor 6%,transparent)}}.dify-chat .dify-chat__thread-open{text-align:start;border:0;width:100%;font-weight:600}.dify-chat .dify-chat__thread-open small{font:inherit;opacity:.7;font-weight:400;display:block}.dify-chat .dify-chat__thread-tools{flex-wrap:wrap;gap:.4em;padding-block:.5em;display:flex}.dify-chat .dify-chat__threads form label{margin-block:.4em;display:block}.dify-chat .dify-chat__threads form input{width:100%}.dify-chat .dify-chat__hint{opacity:.7;font:inherit}.dify-chat .dify-chat__preferences{border-bottom:1px solid;padding:.7em 1em}@supports (color:color-mix(in lab,red,red)){.dify-chat .dify-chat__preferences{border-bottom:1px solid color-mix(in srgb,currentColor 12%,transparent)}}.dify-chat .dify-chat__preference-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,12em),1fr));gap:.8em;padding-block:.8em;display:grid}.dify-chat .dify-chat__preference-grid label{flex-direction:column;gap:.3em;min-width:0;display:flex}.dify-chat .dify-chat__preference-grid .dify-chat__check{flex-direction:row}.dify-chat .dify-chat__preference-grid input[type=range]{width:100%}.dify-chat .dify-chat__template{flex-wrap:wrap;align-items:center;gap:.5em;padding:.3em .6em;display:flex}.dify-chat .dify-chat__template select{flex:10em;min-width:0}.dify-chat .dify-chat__composer-buttons{justify-content:flex-end}.dify-chat .dify-chat__composer-footer{flex-wrap:wrap}.dify-chat .dify-chat__composer-notice{font:inherit;opacity:.8;padding:.5em}.dify-chat .dify-chat__composer-notice p{margin:.4em 0}.dify-chat .dify-chat__file-list{flex-wrap:wrap;gap:.5em;margin:.5em;padding:0;list-style:none;display:flex}.dify-chat .dify-chat__file-list li{overflow-wrap:anywhere;border:1px solid;align-items:center;gap:.5em;display:flex}@supports (color:color-mix(in lab,red,red)){.dify-chat .dify-chat__file-list li{border:1px solid color-mix(in srgb,currentColor 15%,transparent)}}.dify-chat .dify-chat__file-list li{border-radius:calc(var(--dc-radius)*.5);max-width:100%;padding:.3em .5em}.dify-chat .dify-chat__notice{background:currentColor;justify-content:space-between;align-items:center;gap:.6em;padding:.6em 1em;display:flex}@supports (color:color-mix(in lab,red,red)){.dify-chat .dify-chat__notice{background:color-mix(in srgb,currentColor 5%,transparent)}}.dify-chat .dify-chat__notice p{overflow-wrap:anywhere;margin:0}.dify-chat .dify-chat__editing{border-inline-start:.2em solid;padding:.5em}.dify-chat .dify-chat__sources{border:1px solid;margin-block:.7em}@supports (color:color-mix(in lab,red,red)){.dify-chat .dify-chat__sources{border:1px solid color-mix(in srgb,currentColor 15%,transparent)}}.dify-chat .dify-chat__sources{border-radius:calc(var(--dc-radius)*.5);padding:.6em}.dify-chat .dify-chat__sources p{white-space:pre-wrap;max-height:12em;overflow:auto}.dify-chat .dify-chat__sources a{color:var(--dc-accent);text-decoration:underline}.dify-chat .dify-chat__feedback,.dify-chat .dify-chat__followup{margin-block:.6em}.dify-chat .dify-chat__feedback label{padding:.5em;display:block}.dify-chat .dify-chat__feedback textarea{background:0 0;border:1px solid;width:100%;display:block}@supports (color:color-mix(in lab,red,red)){.dify-chat .dify-chat__feedback textarea{border:1px solid color-mix(in srgb,currentColor 25%,transparent)}}.dify-chat .dify-chat__feedback textarea{border-radius:calc(var(--dc-radius)*.5);padding:.5em}.dify-chat .dify-chat__actions{align-items:center}.dify-chat .dify-chat__actions label{flex-wrap:wrap;align-items:center;gap:.5em;display:flex}.dify-chat .dify-chat__actions select{min-width:0;max-width:100%}.dify-chat button[aria-pressed=true]{border-color:var(--dc-accent);background:currentColor}@supports (color:color-mix(in lab,red,red)){.dify-chat button[aria-pressed=true]{background:color-mix(in srgb,currentColor 10%,transparent)}}.dify-chat button[aria-pressed=true]{font-weight:650}.dify-chat .dify-chat__bottom-actions{padding-inline:1em}.dify-chat .dify-chat__followup .dify-chat__suggestions{justify-content:flex-start;margin-top:.6em}@media(max-width:600px){.dify-chat .dify-chat__sidebar{border-inline-end:0;border-bottom:1px solid;flex-basis:100%;max-height:45dvh}@supports (color:color-mix(in lab,red,red)){.dify-chat .dify-chat__sidebar{border-bottom:1px solid color-mix(in srgb,currentColor 18%,transparent)}}.dify-chat .dify-chat__toolbar,.dify-chat .dify-chat__actions>label{width:100%}}.dify-chat .dify-chat__preference-grid{align-items:start}.dify-chat[data-inherit="1"] .dify-chat__title{font-family:var(--wp--custom--dify-chat--theme-heading-font,inherit);font-size:var(--wp--custom--dify-chat--theme-heading-size,inherit);font-weight:var(--wp--custom--dify-chat--theme-heading-weight,inherit);letter-spacing:var(--wp--custom--dify-chat--theme-heading-spacing,inherit);text-transform:var(--wp--custom--dify-chat--theme-heading-transform,none);color:var(--dc-accent);line-height:var(--wp--custom--dify-chat--theme-heading-line,inherit);overflow-wrap:anywhere;max-width:100%}.dify-chat .dify-chat__composer textarea{width:100%;max-width:100%;box-shadow:none;text-transform:none;color:inherit;background:0 0;border:0;border-radius:0;margin:0}.dify-chat .dify-chat__composer textarea::-moz-placeholder{text-transform:none;color:inherit;opacity:.65}.dify-chat .dify-chat__composer textarea::placeholder{text-transform:none;color:inherit;opacity:.65}.dify-chat .dify-chat__markdown :is(h1,h2,h3,h4,h5,h6){text-transform:none;letter-spacing:inherit;color:inherit;line-height:inherit}.dify-chat[data-native-buttons="1"] button{white-space:normal;overflow-wrap:anywhere;cursor:pointer;max-width:100%}.dify-chat[data-native-buttons="1"] button:disabled{cursor:default}.dify-chat .dify-chat__icon{vertical-align:middle;flex-shrink:0;width:1.25em;height:1.25em;display:inline-block}.dify-chat .dify-chat__icon-button{justify-content:center;align-items:center;min-width:2.25em;min-height:2.25em;padding:.35em;line-height:1;display:inline-flex}.dify-chat .dify-chat__toolbar{gap:.35em;width:auto}.dify-chat .dify-chat__menu{display:inline-block;position:relative}.dify-chat .dify-chat__menu>summary{cursor:pointer;border-radius:var(--dc-radius);list-style:none}.dify-chat .dify-chat__menu>summary::-webkit-details-marker{display:none}.dify-chat .dify-chat__menu-panel{z-index:30;overscroll-behavior:contain;inset-inline-end:0;border:1px solid;flex-direction:column;gap:.65em;width:min(25em,100vw - 3em);max-height:50dvh;padding:.75em;display:flex;position:absolute;top:calc(100% + .35em);overflow:auto}@supports (color:color-mix(in lab,red,red)){.dify-chat .dify-chat__menu-panel{border:1px solid color-mix(in srgb,currentColor 20%,transparent)}}.dify-chat .dify-chat__menu-panel{border-radius:var(--dc-radius);background:var(--dc-popup-background,var(--dc-background,Canvas))}.dify-chat .dify-chat__composer .dify-chat__menu-panel{top:auto;bottom:calc(100% + .35em)}.dify-chat .dify-chat__message-tools .dify-chat__menu[open]{flex-basis:100%;min-width:0}.dify-chat .dify-chat__message-tools .dify-chat__menu-panel{width:100%;margin-block-start:.5em;position:static}.dify-chat .dify-chat__menu-panel :is(label,select,textarea){min-width:0;max-width:100%}.dify-chat .dify-chat__menu-panel label{flex-direction:column;gap:.35em;display:flex}.dify-chat .dify-chat__menu-panel .dify-chat__preferences{border:0;padding:.4em 0}.dify-chat .dify-chat__composer-footer{justify-content:flex-end}.dify-chat .dify-chat__message-tools{gap:.25em}.dify-chat .dify-chat__suggestions{gap:.3em .75em}.dify-chat:not([data-native-buttons="1"]) button[data-variant=link]{min-height:initial;text-underline-offset:.15em;background:0 0;border:0;padding:.25em;text-decoration:underline}.dify-chat .dify-chat__sources{margin-block:.5em}.dify-chat .dify-chat__sources ol{padding-inline-start:1.4em}.dify-chat .dify-chat__sources li{margin-block:.35em}.dify-chat .dify-chat__main[hidden]{display:none}.dify-chat .dify-chat__extra-suggestions{margin-block:.65em}.dify-chat .dify-chat__extra-suggestions>summary{padding:.5em}.dify-chat .dify-chat__help p{margin-block:.55em}.dify-chat .dify-chat__sidebar .dify-chat__toolbar{flex-wrap:nowrap}.dify-chat .dify-chat__threads>li{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:.25em;display:grid}.dify-chat .dify-chat__threads>li>form{grid-column:1/-1}.dify-chat .dify-chat__threads .dify-chat__thread-open{min-width:0}.dify-chat .dify-chat__threads .dify-chat__menu[open]{grid-column:1/-1}.dify-chat .dify-chat__threads .dify-chat__menu-panel{width:100%;margin-block:.35em;position:static}.dify-chat .dify-chat__threads .dify-chat__thread-tools{flex-direction:column;align-items:stretch;display:flex}.dify-chat .dify-chat__shell[data-compact=true]{font-size:var(--wp--custom--dify-chat--compact-font-size,max(.85em,calc(var(--wp--custom--dify-chat--theme-font-size,1em) * .85)));border:0;border-radius:0;line-height:1.5}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__header{flex-wrap:nowrap;gap:.25em;padding:.35em .25em}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__title{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:1.05em;line-height:1.3;overflow:hidden}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__toolbar{flex-wrap:nowrap;flex-shrink:0;gap:.15em;width:auto}.dify-chat .dify-chat__shell[data-compact=true] :is(button,input,select,textarea){font:inherit;letter-spacing:inherit}.dify-chat .dify-chat__shell[data-compact=true] :is(button,summary.dify-chat__icon-button){min-height:44px}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__icon-button{min-width:44px;padding:.4em}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__icon{width:1.15em;height:1.15em}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__layout{flex-wrap:nowrap;min-width:0;display:flex}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__main{flex:1 1 0;min-width:0}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__messages{min-height:min(13em,var(--dc-height));padding:.65em .2em}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__message{margin-bottom:.85em;padding:.5em .25em}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__message--user{margin-inline-start:5%;padding:.65em .75em}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__welcome{padding:.65em .25em}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__welcome>p{margin-block:.5em .8em}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__suggestions{flex-direction:column;align-items:stretch;gap:.1em}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__suggestions>button{text-align:start;padding:.45em .35em}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__composer{flex-shrink:0;margin:.35em .1em;padding:.35em .4em}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__composer textarea{min-height:2.4em;padding:.4em;font-size:max(1em,1rem);line-height:1.5}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__composer-footer{padding-top:.1em}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__composer-buttons{flex-wrap:nowrap;flex:1;justify-content:space-between;gap:.25em}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__composer-buttons>.dify-chat__send,.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__composer-buttons>button:last-child{margin-inline-start:auto}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__menu-panel{width:min(23em,100vw - 1.5em);max-height:min(60dvh,var(--dc-menu-space,60dvh));gap:.5em;padding:.65em}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__menu-panel>button{text-align:start;align-items:center;gap:.6em;padding:.45em .65em;display:flex}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__preference-grid{grid-template-columns:minmax(0,1fr);gap:.6em}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__hint{font-size:.9em;line-height:1.5}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__sources{border:0;border-top:1px solid}@supports (color:color-mix(in lab,red,red)){.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__sources{border-top:1px solid color-mix(in srgb,currentColor 15%,transparent)}}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__sources{border-radius:0;margin-block:.4em;padding:.4em .1em}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__sources>p{margin-block:.25em}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__sources ol{margin-block:.35em;padding-inline-start:1.3em}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__sources a{overflow-wrap:anywhere}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__message-tools{gap:.1em;padding-block:.15em}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__markdown :is(h1,h2,h3,h4,h5,h6){font-size:1.1em;line-height:1.4}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__table :is(th,td){padding:.35em .45em}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__file-list{flex-direction:column;margin:.35em 0}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__file-list li{flex-wrap:wrap;gap:.2em .5em}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__file-list li small{font-size:.9em}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__sidebar{max-height:var(--dc-height);background:var(--dc-popup-background,var(--dc-background,Canvas));border:0;flex:100%;padding:.5em .2em}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__composer textarea{max-height:min(12em,30dvh)}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__composer>.dify-chat__file-list{max-height:15dvh;overflow:auto}.dify-chat .dify-chat__attachment-help>summary{min-height:44px;padding:.45em .25em}.dify-chat .dify-chat__attachment-help p{margin:.4em .25em}.dify-chat .dify-chat__composer[aria-busy=true] .dify-chat__menu>summary .dify-chat__icon{animation:1.4s ease-in-out infinite dify-chat-pulse}@media(prefers-reduced-motion:reduce){.dify-chat .dify-chat__composer[aria-busy=true] .dify-chat__menu>summary .dify-chat__icon{animation:none}}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__header{border:0;padding:.1em 0}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__title{font-size:1em;font-weight:inherit;opacity:.7}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__toolbar{margin-inline-start:auto}.dify-chat .dify-chat__mobile-tools{display:contents}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__composer{margin:.35em .1em max(.35em,env(safe-area-inset-bottom));grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:0 .25em;padding:.3em;display:grid}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__composer>textarea{min-width:0;min-height:44px;font-size:max(1em,var(--wp--custom--dify-chat--input-min-size,16px));grid-area:1/1}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__composer-footer{flex-wrap:nowrap;grid-area:1/2;padding:0}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__composer-buttons{flex:initial;justify-content:flex-end}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__composer>:is(.dify-chat__file-list,.dify-chat__attachment-help,.dify-chat__editing,p){grid-column:1/-1}.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__composer:has(>.dify-chat__editing)>textarea,.dify-chat .dify-chat__shell[data-compact=true] .dify-chat__composer:has(>.dify-chat__editing)>.dify-chat__composer-footer{grid-row:2}.dify-chat .dify-chat__shell[data-mobile=true]:not(.dify-chat__shell--page){height:var(--dc-mobile-height,70dvh);flex-direction:column;min-height:0;display:flex}.dify-chat .dify-chat__shell[data-mobile=true] .dify-chat__header{flex-shrink:0}.dify-chat .dify-chat__shell[data-mobile=true] .dify-chat__layout{flex:1;min-height:0}.dify-chat .dify-chat__shell[data-mobile=true] .dify-chat__main{min-height:0}.dify-chat .dify-chat__shell[data-mobile=true] .dify-chat__message-area{flex:1;min-height:0;display:flex}.dify-chat .dify-chat__shell[data-mobile=true] .dify-chat__messages{overscroll-behavior-y:auto;scrollbar-gutter:auto;flex:1;min-height:0;max-height:100%}.dify-chat .dify-chat__shell[data-mobile=true] .dify-chat__sidebar{max-height:100%}.dify-chat-page .dify-chat-page__main{box-sizing:border-box;width:100%;max-width:none;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) 0 env(safe-area-inset-left,0px);margin:0;display:block}.dify-chat-page .dify-chat-page__main>.dify-chat{width:100%;max-width:none;margin:0}.dify-chat .dify-chat__shell--page{height:var(--dc-page-height,100dvh);min-height:0;box-shadow:none;border:0;border-radius:0;flex-direction:column;display:flex;position:relative}.dify-chat .dify-chat__shell--page .dify-chat__header{flex-shrink:0}.dify-chat .dify-chat__shell--page .dify-chat__layout{flex-wrap:nowrap;flex:1;min-height:0}.dify-chat .dify-chat__shell--page .dify-chat__main{min-height:0}.dify-chat .dify-chat__shell--page .dify-chat__message-area{flex:1;min-height:0;display:flex}.dify-chat .dify-chat__shell--page .dify-chat__messages{overscroll-behavior-y:auto;flex:1;min-height:0;max-height:100%}.dify-chat .dify-chat__shell--page .dify-chat__sidebar{max-height:100%}.dify-chat .dify-chat__shell--page .dify-chat__composer{margin-bottom:max(.5em,env(safe-area-inset-bottom,0px));flex-shrink:0}.dify-chat .dify-chat__shell--page .dify-chat__composer textarea{max-height:min(12em,calc(var(--dc-page-height,100dvh) * .24))}
