#dpa-board-container {
    max-width: 850px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    font-family: 'Inter', -apple-system, sans-serif;
    overflow: hidden;
    border: 1px solid #eaeaea;
}

.dpa-header {
    background: #1a1a1a;
    padding: 18px 25px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dpa-status-dot { width: 10px; height: 10px; background: #00ff88; border-radius: 50%; box-shadow: 0 0 8px #00ff88; }

#dpa-chat-stream {
    height: 550px;
    overflow-y: auto;
    padding: 25px;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
}

/* Base Message Structure */
.dpa-message {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    max-width: 85%;
}

.dpa-avatar {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.dpa-bubble {
    padding: 15px 20px;
    border-radius: 4px 18px 18px 18px;
    font-size: 15px;
    line-height: 1.6;
    color: #334155;
    position: relative;
}

/* Agent Identities */
.agent-justice .dpa-avatar { background: #dcfce7; border: 1px solid #86efac; }
.agent-justice .dpa-bubble { background: #f0fdf4; border: 1px solid #dcfce7; }

.agent-emma .dpa-avatar { background: #fce7f3; border: 1px solid #f9a8d4; }
.agent-emma .dpa-bubble { background: #fdf2f8; border: 1px solid #fce7f3; }

.agent-moses .dpa-avatar { background: #f1f5f9; border: 1px solid #cbd5e1; }
.agent-moses .dpa-bubble { background: #f8fafc; border: 1px solid #f1f5f9; }

.agent-clovet .dpa-avatar { background: #fef9c3; border: 1px solid #fde047; }
.agent-clovet .dpa-bubble { background: #fefce8; border: 1px solid #fef9c3; }

.agent-daraima .dpa-avatar { background: #1e293b; color: white; }
.agent-daraima .dpa-bubble { background: #f1f5f9; border: 1px solid #e2e8f0; font-weight: 500; }

/* User Message */
.dpa-message.user-message { align-self: flex-end; flex-direction: row-reverse; }
.dpa-message.user-message .dpa-bubble {
    background: #1a1a1a;
    color: #fff;
    border-radius: 18px 4px 18px 18px;
}

/* Typing Indicator Styling */
.typing-bubble { font-style: italic; color: #94a3b8; font-size: 13px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.dot-anim { width: 4px; height: 4px; background: #94a3b8; border-radius: 50%; animation: blink 1.4s infinite; }

@keyframes blink { 0%, 100% { opacity: 0.2; } 50% { opacity: 1; } }

/* Table Reset */
.dpa-bubble table { width: 100%; border-collapse: collapse; margin-top: 15px; border-radius: 8px; overflow: hidden; }
.dpa-bubble th, .dpa-bubble td { padding: 10px; border: 1px solid #e2e8f0; }
.dpa-bubble th { background: #f8fafc; text-align: left; font-size: 12px; text-transform: uppercase; }