@media (max-width:900px) { .dpo-chat-design .dpo-chat-composer { position:relative; bottom:auto; } } @media (max-width:520px) { .dpo-chat-design .dpo-chat-compose-row { position:relative; display:grid; grid-template-columns:44px 44px 44px minmax(44px,1fr); grid-template-rows:auto 44px; align-items:center; gap:4px; width:100%; min-width:0; max-width:100%; box-sizing:border-box; padding:6px; border:1px solid #d0dced; border-radius:14px; background:#fff; } .dpo-chat-design .dpo-chat-input-shell { display:contents; } .dpo-chat-design .dpo-chat-compose-row:focus-within { border-color:#8da0c2; box-shadow:0 0 0 2px #dfe7f4; } .dpo-chat-design .dpo-chat-input-shell > textarea, .dpo-chat-design .dpo-chat-input-shell > input:not([type=file]) { grid-column:1 / -1; grid-row:1; width:100%; min-width:0; max-width:100%; height:64px; min-height:64px; max-height:132px; box-sizing:border-box; margin:0; padding:8px; font-size:16px; line-height:22px; overflow-x:hidden; overflow-y:auto; overflow-wrap:anywhere; white-space:pre-wrap; -webkit-appearance:none; } .dpo-chat-design .dpo-chat-attach { grid-column:1; grid-row:2; } .dpo-chat-design .dpo-chat-emoji-menu { position:static; grid-column:2; grid-row:2; width:44px; min-width:44px; } .dpo-chat-design .dpo-chat-voice { grid-column:3; grid-row:2; } .dpo-chat-design .dpo-chat-icon-button { width:44px; min-width:44px; height:44px; min-height:44px; } .dpo-chat-design .dpo-chat-send.primary { grid-column:4; grid-row:2; justify-self:end; width:44px; min-width:44px; height:44px; min-height:44px; margin:0; } .dpo-chat-design .dpo-chat-emoji-popover { right:0; left:0; bottom:calc(100% + 8px); grid-template-columns:repeat(4,minmax(44px,1fr)); width:auto; min-width:0; max-width:100%; box-sizing:border-box; } }
