/* Módulo Aquisição — funil e widget */
#acquisitionFunnelPanel .card-header h6 {
    font-weight: 600;
}

.acq-widget-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1050;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.acq-widget-panel {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 340px;
    max-height: 420px;
    z-index: 1050;
    display: none;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.acq-widget-panel.open {
    display: flex;
}

.acq-widget-messages {
    flex: 1;
    overflow-y: auto;
    max-height: 280px;
    font-size: 0.9rem;
}

.acq-msg-in {
    background: #f1f3f5;
    border-radius: 12px 12px 12px 4px;
    padding: 8px 12px;
    margin-bottom: 8px;
    max-width: 85%;
}

.acq-msg-out {
    background: var(--bs-primary, #0d6efd);
    color: #fff;
    border-radius: 12px 12px 4px 12px;
    padding: 8px 12px;
    margin-bottom: 8px;
    margin-left: auto;
    max-width: 85%;
}

/* —— Kanban ACQ-9b —— */
.acq-kanban-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.acq-kanban-board {
    display: grid;
    grid-template-columns: repeat(5, minmax(200px, 1fr));
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}
.acq-kanban-col {
    background: var(--card-bg, #07111f);
    border: 1px solid var(--border-color, #263348);
    border-radius: 10px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}
.acq-kanban-col-header {
    padding: 0.65rem 0.75rem;
    font-weight: 600;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border-color, #263348);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.acq-kanban-col-header .badge {
    font-weight: 500;
}
.acq-kanban-col-body {
    padding: 0.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 200px;
}
.acq-kanban-col-body.drag-over {
    outline: 2px dashed var(--primary-color, #c4a35a);
    outline-offset: -4px;
}
.acq-kanban-card {
    background: color-mix(in srgb, var(--text-primary, #fff) 4%, var(--card-bg, #0a1220));
    border: 1px solid var(--border-color, #263348);
    border-radius: 8px;
    padding: 0.65rem 0.7rem;
    cursor: grab;
    color: var(--text-primary, inherit);
}
.acq-kanban-card:active { cursor: grabbing; }
.acq-kanban-card-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}
.acq-kanban-card-meta {
    font-size: 0.75rem;
    color: var(--text-secondary, #a7b0bf);
    margin-bottom: 0.4rem;
}
.acq-kanban-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}
.acq-kanban-card-actions .btn {
    font-size: 0.7rem;
    padding: 0.15rem 0.4rem;
}
@media (max-width: 1200px) {
    .acq-kanban-board {
        grid-template-columns: repeat(5, minmax(220px, 1fr));
    }
}
