/* [PERF-GUARD] Controles de histórico sem trocar botões existentes ou cobrir o editor. */
.chat-viewport-host{position:relative}
.chat-new-message{position:absolute;right:16px;z-index:4;min-height:36px;max-width:calc(100% - 32px);padding:6px 14px;border:1px solid #e8bd65;border-radius:20px;background:#272218;color:#fff3cf;font-size:13px;box-shadow:0 3px 12px #0006}
.chat-history-more{flex:none;align-self:center;min-height:32px;margin:4px 0;padding:4px 12px;border:1px solid #766347;border-radius:16px;background:#242019;color:#fff3cf;font-size:12px}
.chat-new-message[hidden],.chat-history-more[hidden]{display:none!important}
.message-local-status{display:block;width:fit-content;font-size:12px;background:#282218;color:#ffe7ad;margin-top:4px;padding:2px 6px;border-radius:6px}
.message[data-local-state] .reply-action,.message[data-local-state] .message-action-menu{display:none}
.messages{overflow-anchor:none}
