.ai-project-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 6px;
}
.ai-project-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    border-radius: 20px;
    background: var(--mint);
    color: var(--green);
    font-size: 10px;
    font-weight: 800;
    padding: 4px 5px 4px 8px;
}
.ai-project-tag form { display: inline-flex; }
.ai-project-tag button {
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    padding: 0 3px;
}
.ai-project-link-form select {
    width: auto;
    max-width: 190px;
    padding: 4px 24px 4px 8px;
    border-radius: 20px;
    font-size: 10px;
}
.project-chat-list { display: grid; }
.project-chat-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}
.project-chat-row:first-child { border: 0; }
.project-chat-row span { display: grid; gap: 4px; min-width: 0; }
.project-chat-row strong { font-size: 13px; }
.project-chat-row small, .project-chat-row time { font-size: 10px; color: var(--muted); }
.project-chat-row small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.project-chats .panel-head p { font-size: 11px; margin: 4px 0 0; }

@media (max-width: 760px) {
    .ai-chat-head { align-items: flex-start; }
    .ai-project-link-form select { max-width: 145px; }
    .project-chats .panel-head { align-items: flex-start; gap: 12px; }
}
