.notes-toolbar {
    justify-content: flex-start;
}

.notes-modal-topbar,
.notes-concept-topbar {
    justify-content: flex-end;
}

.note-ai-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.55rem;
}

.tool-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
}

.note-ai-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    font-size: 0.56rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #111111;
    border: 1px solid transparent;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, #f48fb1, #81d4fa) border-box;
    box-shadow: none;
}

.note-ai-label-secondary {
    flex-shrink: 0;
}

.note-sidebar-actions {
    margin-top: auto;
}

.tool-key-concepts-section h3 {
    margin-bottom: 0;
}

.tool-key-concepts-section .tool-key-concepts {
    margin-top: 0.95rem;
}

@media (max-width: 720px) {
    .tool-section-heading {
        align-items: center;
        flex-wrap: wrap;
    }

    .note-ai-row {
        margin-top: 0.3rem;
    }

    .note-ai-label {
        font-size: 0.52rem;
        padding: 0.16rem 0.42rem;
    }
}
