label.conversation-default-choice {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
    max-width: 100%;
    margin: 0.5rem 0;
    color: var(--muted-color, #68777c);
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.4;
    cursor: pointer;
}

label.conversation-default-choice input[type="checkbox"] {
    flex-shrink: 0;
    width: 0.85rem;
    height: 0.85rem;
    margin: 0;
}

label.conversation-default-choice input[type="checkbox"]:checked + span {
    color: var(--color, inherit);
}

label.conversation-default-choice:focus-within,
label.conversation-default-choice:hover {
    color: var(--color, inherit);
}

.conversation-defaults-section {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border, #505a61);
}

.conversation-defaults-section h3 {
    margin: 0 0 0.4rem;
    font-size: 0.9rem;
}

.conversation-defaults-section p,
.conversation-defaults-section dl {
    margin: 0 0 0.65rem;
    font-size: 0.75rem;
}

.conversation-defaults-section dl > div {
    display: grid;
    grid-template-columns: minmax(7rem, 1fr) minmax(0, 2fr);
    gap: 0.5rem;
    padding: 0.2rem 0;
}

.conversation-defaults-section dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.conversation-defaults-section button {
    width: auto;
    margin: 0;
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
}

#manage-agent-dialog footer,
#select-project-dialog footer {
    align-items: center;
}

#manage-agent-dialog footer .conversation-default-choice,
#select-project-dialog footer .conversation-default-choice {
    margin: 0;
}

#select-project-dialog footer .conversation-default-choice {
    margin-right: auto;
}

#manage-agent-dialog footer [role="button"],
#manage-agent-dialog footer .icon-button,
#select-project-dialog footer [role="button"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    line-height: 1.2;
}
