/*convs*/
	#convs-list li {
        padding: 16px 18px;
        border-bottom: 1px solid #eee;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        gap: 2px;
        transition: background 0.15s;
    }
    #convs-list li:hover {
        background: #f3f8fa;
    }
    .conv-title {
        font-weight: 500;
        font-size: 16px;
    }
    .conv-model {
        font-size: 13px;
        color: #777;
    }

    .conversation-item {
        padding: 10px;
        border-bottom: 1px solid #eee;
        cursor: pointer;
    }

    .conversation-item:hover {
        background-color: #f5f5f5;
    }

    .conversation-entry {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .conversation-avatar {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
        flex: 0 0 48px;
        aspect-ratio: 1 / 1;
        border-radius: 50%;
        overflow: hidden;
        object-fit: cover;
        object-position: center center;
        display: block;
        background-color: #ccc;
    }

    .conversation-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 0;
        flex: 1 1 auto;
        padding-right: 40px;
    }

    .conversation-name-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        min-width: 0;
    }

    .conversation-name {
        font-weight: bold;
        font-size: 1em;
        color: #333;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .conversation-preview {
        font-size: 0.9em;
        color: #666;
        margin-top: 2px;
    }

    .conversation-story-badge {
        font-size: 11px;
        font-weight: 700;
        color: #0f172a;
        background: #ecfeff;
        border: 1px solid #99f6e4;
        border-radius: 999px;
        padding: 2px 7px;
        flex: 0 0 auto;
    }

/* Scrollable list */
#convs-list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    overflow-y: auto;
}

	
	/* Conversation item */
.conversation-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    position: relative;
}

.conversation-item:hover {
    background-color: #f5f5f5;
}


.conversation-actions {
    position: absolute;
    top: 50%;
    right: 10px;
    z-index: 3;
    transform: translateY(-50%);
}

.conversation-more-btn {
    appearance: none;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    opacity: 0.56;
    transition: background 0.14s ease, color 0.14s ease, opacity 0.14s ease;
}

.conversation-more-btn:hover,
.conversation-more-btn:focus-visible,
.conversation-actions.is-open .conversation-more-btn {
    background: rgba(15, 23, 42, 0.08);
    color: #111827;
    opacity: 1;
    outline: none;
}

.conversation-actions-menu {
    position: absolute;
    top: 36px;
    right: 0;
    z-index: 20;
    min-width: 174px;
    padding: 6px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

.conversation-actions-menu[hidden] {
    display: none;
}

.conversation-menu-delete {
    appearance: none;
    width: 100%;
    min-height: 36px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #b91c1c;
    cursor: pointer;
    display: block;
    padding: 0 10px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
}

.conversation-menu-delete:hover,
.conversation-menu-delete:focus-visible {
    background: #fef2f2;
    outline: none;
}

@media (pointer: fine) {
  .conversation-more-btn {
      opacity: 0;
  }

  .conversation-item:hover .conversation-more-btn,
  .conversation-item:focus-within .conversation-more-btn,
  .conversation-actions.is-open .conversation-more-btn {
      opacity: 0.72;
  }
}

.convs-empty-state {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px;
    cursor: default !important;
    text-align: center;
    min-height: 140px;
}

.convs-empty-state:hover {
    background: transparent !important;
}

.convs-empty-text {
    font-size: 15px;
    color: #333;
}

.convs-empty-start-btn {
    padding: 6px 12px;
}

