"use strict";
var __webpack_require__ = {};
(()=>{
    __webpack_require__.d = (exports1, definition)=>{
        for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
            enumerable: true,
            get: definition[key]
        });
    };
})();
(()=>{
    __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
})();
(()=>{
    __webpack_require__.r = (exports1)=>{
        if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
            value: 'Module'
        });
        Object.defineProperty(exports1, '__esModule', {
            value: true
        });
    };
})();
var __webpack_exports__ = {};
__webpack_require__.r(__webpack_exports__);
__webpack_require__.d(__webpack_exports__, {
    default: ()=>atomic_ask_follow_up_input_tw_css
});
const external_lit_namespaceObject = require("lit");
const styles = (0, external_lit_namespaceObject.css)`
  @reference '../../../utils/tailwind.global.tw.css';

  [part='input-container'] {
    /* Pin the container to the single-line height (textarea min-height + 2×1px border).
       When textarea-expander becomes position:absolute on expand it leaves normal flow,
       which would otherwise collapse the container and cause a layout jump. */
    min-height: calc(2.5rem + 2px);
  }

  [part='textarea-expander']::after {
    content: attr(data-replicated-value) ' ';
    visibility: hidden;
  }

  [part='textarea-expander'] {
    @apply mr-10;
  }

  [part='textarea-expander'] > [part='input-field'],
  [part='textarea-expander']::after {
    @apply resize-none overflow-hidden whitespace-nowrap bg-transparent px-4 py-2 outline-none placeholder-neutral-dark hide-scrollbar;
    padding-right: 3rem;
    grid-area: 1 / 1 / 2 / 2;
    min-height: 2.5rem;
  }

  /* Expanded: absolute overlay anchored at the bottom so growth goes upward.*/
  [part='textarea-expander'].expanded {
    @apply bg-background rounded-md border border-primary ring-1 ring-primary overflow-visible mr-0;
    position: absolute;
    bottom: -1px;
    left: -1px;
    right: -1px;
    z-index: 10;
  }

  [part='textarea-expander'].expanded > [part='input-field'],
  [part='textarea-expander'].expanded::after {
    @apply whitespace-pre-wrap overflow-y-auto;
    max-height: 8rem;
  }

  /* Keep submit button above the expanded textarea overlay */
  [part='submit-button'] {
    z-index: 11;
  }
`;
const atomic_ask_follow_up_input_tw_css = styles;
exports["default"] = __webpack_exports__["default"];
for(var __rspack_i in __webpack_exports__)if (-1 === [
    "default"
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
Object.defineProperty(exports, '__esModule', {
    value: true
});
