.compact-chat{min-width:0;position:relative;color:#334b40;grid-column:1/-1}
.compact-chat [hidden]{display:none!important}
.chat-input-row{display:flex;align-items:center;gap:2px;direction:ltr;border:1px solid #cfd9c8;background:#fffef9;border-radius:25px;padding:3px;min-width:0}
.chat-input-row:focus-within{border-color:#607c65;box-shadow:0 0 0 2px #607c6520}
.chat-input-content{flex:1;min-width:0}
.compact-chat .chat-input-row textarea{display:block;min-height:44px;height:auto;field-sizing:content;max-height:120px;width:100%;padding:9px 10px;font:inherit;font-size:16px;line-height:26px;border:0;border-radius:0;box-shadow:none;background:transparent;resize:vertical;color:#334b40;outline:none}
.chat-input-row button,.chat-media-draft .voice-remove{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;cursor:pointer;background:transparent;color:#3e6653}
.chat-input-row button .icon{width:23px;height:23px;flex:none}
.chat-input-row .chat-send{background:#b94e22;color:#fff}
.chat-input-row .is-recording{color:#a63e32;box-shadow:none;background:#f8ece5}
.chat-attachment-menu{display:flex;gap:8px;padding:8px;margin-bottom:8px;width:max-content;max-width:100%;margin-right:auto;margin-left:0;border:1px solid #dce4d7;border-radius:16px;background:#fffef9}
.chat-attachment-menu button{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 14px;border:0;border-radius:12px;color:#3e6653;background:#edf2e6;cursor:pointer}
.chat-media-draft{display:flex;align-items:center;gap:8px;padding:8px;margin-bottom:8px;border:1px solid #dce4d7;border-radius:14px;background:#faf9f3}
.chat-media-draft [data-chat-media-preview]{flex:0 0 56px;height:56px}
.chat-media-draft img,.chat-media-draft video{display:block;width:56px;height:56px;object-fit:cover;border-radius:8px}
.chat-media-draft [data-chat-file-name]{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.chat-hold-status{display:none;align-items:center;justify-content:space-between;gap:4px;min-height:44px;font-size:12px;direction:rtl;padding:0 8px}
.chat-hold-status b{color:#a63e32}
[data-voice-mode="hold"] .chat-input-row textarea{display:none}
[data-voice-mode="hold"] .chat-hold-status{display:flex}
[data-voice-mode="hold"] .chat-input-row .chat-attach{visibility:hidden}
[data-voice-mode="hold"] .voice-recording{display:none}
.compact-chat .voice-draft{margin-top:8px;background:#edf2e6}
.compact-chat .voice-recording{background:#faf9f3}
.message-video{display:block;max-width:100%;width:280px;max-height:320px;border-radius:12px;background:#263c32}
.hub-chat-compose{min-width:0}
.message .chat-message-link{direction:ltr;unicode-bidi:isolate;overflow-wrap:anywhere;word-break:normal;text-decoration:underline;text-underline-offset:.18em}
.message .chat-message-link:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:2px}
