/* Chat-only external grip. It is a 44px target around a 48px visual line;
 * the production draft, selection and attachment nodes are never recreated. */
body:not([data-fuuvo-chat-design="1"]) .fuuvo-chat-composer-resize,
body:not([data-fuuvo-chat-design="1"]) .fuuvo-chat-engineering-modebar,
body:not([data-fuuvo-chat-design="1"]) .fuuvo-chat-engineering-picker,
body:not([data-fuuvo-chat-design="1"]) .fuuvo-chat-engineering-media-tools {
    display: none !important;
}
@layer fuuvo-mobile-design {
html body[data-fuuvo-chat-design="1"] #chat-compose-field#chat-compose-field#chat-compose-field#chat-compose-field#chat-compose-field .fuuvo-chat-composer-resize {
    position: absolute !important;
    top: -22px !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: none !important;
    width: 76px !important;
    min-width: 76px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    margin: 0 !important;
    padding: 0 7px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: transparent !important;
    color: #697d8c !important;
    box-shadow: none !important;
    outline: none !important;
    cursor: ns-resize !important;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    z-index: 6 !important;
}
}

@layer fuuvo-mobile-design {
html body[data-fuuvo-chat-design="1"] #chat-compose-field#chat-compose-field#chat-compose-field#chat-compose-field#chat-compose-field .fuuvo-chat-composer-resize > .resize-surface {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    width: 62px !important;
    height: 14px !important;
    margin: 0 !important;
    padding: 0 6px !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: var(--fuuvo-chat-composer-fill,#fff) !important;
    box-shadow: none !important;
}
}

@layer fuuvo-mobile-design {
html body[data-fuuvo-chat-design="1"] #chat-compose-field#chat-compose-field#chat-compose-field#chat-compose-field#chat-compose-field .fuuvo-chat-composer-resize .resize-grip {
    display: block !important;
    flex: 0 0 48px !important;
    width: 48px !important;
    height: 3px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 3px !important;
    background: #a3b2be !important;
    box-shadow: none !important;
    transition: background .16s ease,box-shadow .16s ease !important;
}
}

@layer fuuvo-mobile-design {
html body[data-fuuvo-chat-design="1"] #chat-compose-field#chat-compose-field#chat-compose-field#chat-compose-field#chat-compose-field .fuuvo-chat-composer-resize:focus,
html body[data-fuuvo-chat-design="1"] #chat-compose-field#chat-compose-field#chat-compose-field#chat-compose-field#chat-compose-field .fuuvo-chat-composer-resize:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}
}

@layer fuuvo-mobile-design {
html body[data-fuuvo-chat-design="1"] #chat-compose-field#chat-compose-field#chat-compose-field#chat-compose-field#chat-compose-field .fuuvo-chat-composer-resize:focus-visible .resize-grip,
html body[data-fuuvo-chat-design="1"] #chat-compose-field#chat-compose-field#chat-compose-field#chat-compose-field#chat-compose-field .fuuvo-composer-resizing .resize-grip {
    background: #39acbb !important;
    box-shadow: 0 0 5px #47bfcc99,0 0 12px #47bfcc70 !important;
}
}

@layer fuuvo-mobile-design {
html body[data-fuuvo-chat-design="1"] #chat-compose-field#chat-compose-field#chat-compose-field#chat-compose-field#chat-compose-field .chat-input-wrap.fuuvo-composer-expanded > #chat-input {
    height: var(--fuuvo-chat-text-height,var(--fuuvo-desktop-text-height,120px)) !important;
    max-height: min(46vh,360px) !important;
}
}

@layer fuuvo-mobile-design {
html body[data-fuuvo-chat-design="1"] #chat-compose-field#chat-compose-field#chat-compose-field#chat-compose-field#chat-compose-field .chat-input-wrap.fuuvo-composer-resizing,
html body[data-fuuvo-chat-design="1"] #chat-compose-field#chat-compose-field#chat-compose-field#chat-compose-field#chat-compose-field .chat-input-wrap.fuuvo-composer-resizing * {
    transition: none !important;
}
}

html body[data-fuuvo-chat-design="1"].resizing-fuuvo-composer,
html body[data-fuuvo-chat-design="1"].resizing-fuuvo-composer * {
    cursor: ns-resize !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}
@media (hover:hover) {
@layer fuuvo-mobile-design {
html body[data-fuuvo-chat-design="1"] #chat-compose-field#chat-compose-field#chat-compose-field#chat-compose-field#chat-compose-field .fuuvo-chat-composer-resize:hover .resize-grip {
        background: #39acbb !important;
        box-shadow: 0 0 5px #47bfcc99,0 0 12px #47bfcc70 !important;
    }
}

}
@media (max-width:640px) {
@layer fuuvo-mobile-design {
html body[data-fuuvo-chat-design="1"] #chat-compose-field#chat-compose-field#chat-compose-field#chat-compose-field#chat-compose-field .chat-input-wrap.fuuvo-composer-expanded > #chat-input {
        max-height: min(40vh,280px) !important;
    }
}

}
@media (prefers-reduced-motion:reduce) {
@layer fuuvo-mobile-design {
html body[data-fuuvo-chat-design="1"] #chat-compose-field#chat-compose-field#chat-compose-field#chat-compose-field#chat-compose-field .fuuvo-chat-composer-resize .resize-grip {
        transition: none !important;
    }
}

}
