.lim-image-statusbar > button {
    display: flex;
    gap: 2px;
    align-items: center;
    user-select: none;
    padding-top: 6px;
    padding-bottom: 6px;
    position: relative;
}

.lim-image-statusbar > button > img {
    width: 16px;
    height: 16px;
    filter: none;
}

.lim-image-statusbar > button.lim-minimized {
    max-width: 32px;
    text-wrap: nowrap;
    overflow: hidden;
    white-space: nowrap;
    color: transparent !important;
}

.lim-image-statusbar > button[aria-pressed="true"] {
    color: var(--color-accent);
}

.lim-image-statusbar > button > span {
    display: none;
    position: absolute;
    bottom: 2px;
    left: 5px;
    right: 4px;
    height: 2px;
    border-width: 0;
    border-bottom: 1px solid var(--color-mid);
}

.lim-image-statusbar > button[aria-pressed="true"] > span {
    display: inline;
}

.lim-image-statusbar > span {
    align-self: center;
    user-select: none;
    padding-left: 0.3em;
    padding-right: 0.3em;
    text-wrap: nowrap;
    overflow: hidden;
    white-space: nowrap;
}

.lim-image-statusbar > span.lim-separator {
    user-select: none;
    padding: 0;
    height: 1em;
    border-left: 1px solid var(--color-mid);
    margin-left: 0.3em;
    margin-right: 0.3em;
}

.ndnav-dim-label {
    padding: 0.2em;
    grid-column: 1;
    user-select: none;
    background-color: var(--color-window);
}
.ndnav-dim-track {
    padding: 1px 1px;
    display: flex;
    flex-wrap: nowrap;
    gap: 1px;
    grid-column: 2;
    min-height: 1.4em;
    background-color: var(--color-base);
    user-select: none;
}
.ndnav-tick {
    flex: 1 1 1px;
    min-width: 1px;
    max-width: 50px;
    background-color: var(--color-highlight);
    user-select: none;
}
.ndnav-tick.selected {
    border: 1px solid var(--color-text);
}

.ndnav-dim-track.lim-disabled .ndnav-tick {
    background-color: var(--color-mid);
    border: unset;
}

.ndnav-dim-ctrl {
    grid-column: 3;
    flex: 1 1 1px;
    gap: 3px;
    flex-wrap: nowrap;
    flex-direction: column;
    padding: 0 8px 0 8px;
    user-select: none;
    background-color: var(--color-window);
}

.ndnav-dim-ctrl img {
    width: 16px;
    height: 16px;
    user-select: none;
    filter: var(--filter-blackSvg-to-textColor);
}

.ndnav-dim-track.lim-disabled + .ndnav-dim-ctrl img {
    filter: var(--filter-blackSvg-to-textDisabledColor);
}

/*

LUTs Dialog

*/

lim-luts-dialog {
    width: 800px;
    position: fixed;
    top: calc(var(--height-of-toolbar) + 8px);
    left: 50%;
    z-index: 10;
    transform: translateX(-50%);
    background-color: var(--color-window);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

lim-luts-dialog .lim-content {
    display: grid;
    grid-template-columns: max-content 10fr 6em 6em 10em 5em 24px;
    align-items: center;
    gap: 8px;
    padding: 2em;
    padding-top: 1em;
}

lim-luts-dialog input[type="checkbox"] {
    align-self: center;
}

lim-luts-dialog input[type="number"],
lim-luts-dialog input[type="numeric"] {
    height: 24px;
}

lim-luts-dialog span {
    align-self: center;
    user-select: none;
}

lim-luts-dialog input:invalid {
    border: 1px solid var(--color-error) !important;
}

lim-luts-dialog span.lim-align-self-start {
    align-self: flex-start;
}

lim-luts-dialog button.lim-small-icon {
    width: 24px;
    height: 24px;
    padding: 4px;
    margin: 1px;
    vertical-align: middle;
 }

lim-luts-dialog button.lim-small-icon > img {
   width: 12px;
   height: 12px;
   vertical-align: middle;
}

lim-luts-dialog button.lim-medium-icon {
    width: 24px;
    height: 24px;
    padding: 2px;
    margin: 1px;
    vertical-align: middle;
 }

lim-luts-dialog button.lim-medium-icon > img {
   width: 16px;
   height: 16px;
   vertical-align: middle;
}
