/* Painel administrativo — menu lateral compacto (menos espaço entre linhas e grupos). */
.fi-sidebar-nav { row-gap: 0.5rem; padding-block: 0.75rem; }
.fi-sidebar-nav-groups { row-gap: 0.25rem; }
.fi-sidebar-group { row-gap: 0; }
.fi-sidebar-group-btn { padding: 0.25rem 0.5rem; }
.fi-sidebar-group-items { row-gap: 0; }
.fi-sidebar-item-btn { padding: 0.3rem 0.5rem; column-gap: 0.625rem; border-radius: 0.5rem; }
.fi-sidebar-item-btn svg, .fi-sidebar-group-btn > svg { width: 1.125rem; height: 1.125rem; }
.fi-sidebar-item-label, .fi-sidebar-group-label { font-size: 0.8125rem; line-height: 1.25rem; }

/* Atendimento virtual — conversa no painel (estilo mensageiro) */
.aki-chat-admin { display: flex; flex-direction: column; border-radius: 0.75rem; overflow: hidden; border: 1px solid rgba(120,120,120,.25); max-width: 56rem; }
.aki-chat-thread { height: min(60vh, 560px); overflow-y: auto; padding: 1rem; background: #efeae2; display: flex; flex-direction: column; gap: .4rem; }
.dark .aki-chat-thread { background: #0b141a; }
.aki-chat-row { display: flex; }
.aki-chat-row.is-mine { justify-content: flex-end; }
.aki-chat-bubble { max-width: 78%; padding: .45rem .7rem .3rem; border-radius: .6rem; background: #fff; color: #111b21; box-shadow: 0 1px 1px rgba(0,0,0,.13); font-size: .875rem; line-height: 1.35; word-break: break-word; }
.is-mine .aki-chat-bubble { background: #d9fdd3; }
.dark .aki-chat-bubble { background: #202c33; color: #e9edef; }
.dark .is-mine .aki-chat-bubble { background: #005c4b; }
.aki-chat-bubble p { margin: 0; }
.aki-chat-author { display: block; font-size: .72rem; color: #b45309; margin-bottom: .1rem; }
.aki-chat-meta { display: block; text-align: right; font-size: .68rem; opacity: .65; margin-top: .15rem; }
.aki-chat-meta .is-read { color: #34b7f1; opacity: 1; }
.aki-chat-system { text-align: center; margin: .35rem 0; }
.aki-chat-system span { display: inline-block; background: rgba(255,244,196,.95); color: #54656f; font-size: .75rem; padding: .25rem .65rem; border-radius: .5rem; max-width: 85%; }
.aki-chat-empty { text-align: center; opacity: .6; margin: auto; }
.aki-chat-compose { display: flex; gap: .5rem; align-items: flex-end; padding: .6rem; background: #f0f2f5; }
.dark .aki-chat-compose { background: #202c33; }
.aki-chat-compose textarea { flex: 1; resize: none; max-height: 8rem; border: 0; border-radius: 1.25rem; padding: .6rem 1rem; font-size: .875rem; background: #fff; color: #111b21; }
.dark .aki-chat-compose textarea { background: #2a3942; color: #e9edef; }
.aki-chat-compose button { flex: none; width: 2.6rem; height: 2.6rem; border: 0; border-radius: 9999px; background: #00a884; color: #fff; display: grid; place-items: center; cursor: pointer; }
.aki-chat-compose button:disabled { opacity: .6; }
