:where(.motile-textarea-root){display:block;width:100%}:where(.motile-textarea){width:100%;border:2px solid #e5e8eb;border-radius:12px;padding:12px 16px;font-size:16px;font-weight:400;color:#111827;background:#fff;outline:none;transition:none;min-height:120px;line-height:1.6;box-sizing:border-box;font-family:inherit;resize:none}:where(.motile-textarea:hover:not(:disabled):not(:focus):not(.motile-textarea--error)){border-color:#c9cdd2}:where(.motile-textarea:focus){border:2px solid var( --motile-textarea-color,var(--motile-ui-textarea,var(--motile-theme,#3182f6)) )}:where(.motile-textarea:disabled){background:#f9fafb;color:#9ca3af;cursor:not-allowed;border-color:#e5e7eb;resize:none}:where(.motile-textarea.motile-textarea--error){border:2px solid #ef4444;background:#fef5f5}:where(.motile-textarea.motile-textarea--error:focus){border:2px solid #ef4444;background:#fef5f5}:where(.motile-textarea--shake){animation:motile-textarea-shake .5s ease-in-out}@keyframes motile-textarea-shake{0%{transform:translate(0)}15%{transform:translate(-10px)}30%{transform:translate(8px)}45%{transform:translate(-6px)}60%{transform:translate(4px)}75%{transform:translate(-2px)}to{transform:translate(0)}}:where(.motile-textarea)::placeholder{color:#9ca3af;opacity:1}:where(.motile-textarea-wrapper){position:relative;width:100%}:where(.motile-textarea--with-clear){padding-right:40px}:where(.motile-textarea--with-clear:focus){padding-right:40px}:where(.motile-textarea__clear-button){position:absolute;right:12px;top:12px;display:flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;background:transparent;border:none;color:#9ca3af;cursor:pointer;border-radius:4px;transition:background-color .2s ease,color .2s ease}:where(.motile-textarea__clear-button:hover){background:#f3f4f6;color:#6b7280}:where(.motile-textarea__clear-icon){width:16px;height:16px}@media (max-width:768px){:where(.motile-textarea){font-size:16px;padding:12px;min-height:100px}:where(.motile-textarea:focus){border:2px solid var( --motile-textarea-color,var(--motile-ui-textarea,var(--motile-theme,#3182f6)) )}:where(.motile-textarea--with-clear){padding-right:36px}:where(.motile-textarea--with-clear:focus){padding-right:36px}}@supports (-webkit-touch-callout:none){:where(.motile-textarea){-webkit-tap-highlight-color:transparent}}:where(.motile-textarea__helper-text){display:flex;align-items:flex-start;margin-top:4px;min-height:16px;gap:8px}:where(.motile-textarea__helper-text--both){justify-content:space-between}:where(.motile-textarea__helper-text--error-only){justify-content:flex-start}:where(.motile-textarea__helper-text--counter-only){justify-content:flex-end}:where(.motile-textarea__error-message){font-size:12px;color:#ef4444;line-height:16px;flex:1 1}:where(.motile-textarea__counter){font-size:12px;color:#9ca3af;line-height:16px;white-space:nowrap;flex-shrink:0}:where(.motile-textarea__label){position:absolute;left:16px;top:16px;font-size:16px;color:#9ca3af;pointer-events:none;transition:all .2s ease;background:transparent;padding:0;z-index:1}:where(.motile-textarea--with-label)::placeholder{opacity:0}:where(.motile-textarea--with-label:focus)::placeholder{opacity:1}:where(.motile-textarea-wrapper:has(.motile-textarea:focus) .motile-textarea__label),:where(.motile-textarea-wrapper:has(.motile-textarea:not(:placeholder-shown)) .motile-textarea__label){top:0;transform:translateY(-50%);font-size:12px;color:var( --motile-textarea-color,var(--motile-ui-textarea,var(--motile-theme,#3182f6)) );background:#fff;padding:0 4px}:where(.motile-textarea-wrapper:has(.motile-textarea:focus) .motile-textarea__label--error),:where(.motile-textarea-wrapper:has(.motile-textarea:not(:placeholder-shown)) .motile-textarea__label--error){color:#ef4444}:where(.motile-textarea.motile-textarea--with-label){padding-top:12px;padding-bottom:12px}@media (max-width:768px){:where(.motile-textarea__label){font-size:16px;left:12px;top:16px}:where(.motile-textarea-wrapper:has(.motile-textarea:focus) .motile-textarea__label),:where(.motile-textarea-wrapper:has(.motile-textarea:not(:placeholder-shown)) .motile-textarea__label){font-size:12px}}:where(.motile-textarea){scrollbar-width:thin;scrollbar-color:rgba(0,0,0,.2) transparent}:where(.motile-textarea)::-webkit-scrollbar{width:6px}:where(.motile-textarea)::-webkit-scrollbar-track{background:transparent}:where(.motile-textarea)::-webkit-scrollbar-thumb{background-color:#0003;border-radius:3px;-webkit-transition:background-color .2s ease;transition:background-color .2s ease}:where(.motile-textarea)::-webkit-scrollbar-thumb:hover{background-color:#0000004d}:where(.motile-textarea)::-webkit-scrollbar-thumb:active{background-color:#0006}@media (prefers-color-scheme:dark){:where(.motile-textarea){scrollbar-color:rgba(255,255,255,.2) transparent}:where(.motile-textarea)::-webkit-scrollbar-thumb{background-color:#fff3}:where(.motile-textarea)::-webkit-scrollbar-thumb:hover{background-color:#ffffff4d}:where(.motile-textarea)::-webkit-scrollbar-thumb:active{background-color:#fff6}}