/**
 * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
 */
/*
 * What you're currently looking at is the source code of a legally protected, proprietary software.
 * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
 * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
 *
 * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
 */

/*
 * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
 */

.ck-content .multi-level-list {
	list-style: none;
}

.ck-content .multi-level-list li {
		position: relative;
	}

.ck-content .multi-level-list li .multi-level-list__marker {
			position: absolute;
			padding-inline-end: 5px;
			transform: translate(-100%, 0);
			pointer-events: none;

			/* RTL styles */
		}

[dir="rtl"] .ck-content .multi-level-list li .multi-level-list__marker {
				transform: translate(100%, 0);
	}

/* Do not show list markers as selected. */

.ck-content .multi-level-list li .multi-level-list__marker::selection {
				background-color: transparent;
			}

.ck-editor__editable .multi-level-list li .multi-level-list__marker::before {
				/* Use CSS to display multi-level list markers to prevent breaking the composition.
				See https://github.com/cksource/ckeditor5-commercial/issues/6873. */
				content: attr(data-multi-level-list-marker);
			}

.ck-content[dir='rtl'] .multi-level-list .multi-level-list__marker {
		transform: translate(100%, 0);
	}

/*
 * What you're currently looking at is the source code of a legally protected, proprietary software.
 * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
 * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
 *
 * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
 */


/* When there are no list styles and there is no collapsible. */


.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_without-styles {
		padding: var(--ck-spacing-large);
	}


.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_without-styles > * {
			min-width: 14em;
		}


.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_without-styles > * + * {
				margin-top: var(--ck-spacing-standard);
			}


/*
	* When the numbered list property field (start at) should be displayed,
	* more horizontal space is needed. Reconfigure the style grid to create that space.
	*/


.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_with-multi-level-properties > .ck-multi-level-list-styles {
			grid-template-columns: repeat( 4, auto );
		}


/* When list styles are rendered and property fields are in a collapsible. */


.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_with-multi-level-properties > .ck-collapsible {
			border-top: 1px solid var(--ck-color-base-border);
		}


.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_with-multi-level-properties > .ck-collapsible > .ck-collapsible__children > * {
					width: 100%;
				}


.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_with-multi-level-properties > .ck-collapsible > .ck-collapsible__children > * + * {
						margin-top: var(--ck-spacing-standard);
					}


.ck.ck-multi-level-list-properties .ck.ck-multi-level-list-properties__start-index .ck-input {
		min-width: auto;
		width: 100%;
	}
