.selection-inspector {
    overflow: hidden;
    background: #f7f8fb;
    border: 1px solid #e1e5eb;
    border-radius: 7px;
}

.selection-range-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid #e1e5eb;
}

.selection-range-values > div {
    min-width: 0;
    padding: 11px 10px;
    text-align: center;
}

.selection-range-values > div + div {
    border-left: 1px solid #e1e5eb;
}

.selection-range-values span,
.selection-range-values strong,
.selection-range-values small,
.selection-text-preview span,
.selection-text-preview strong,
.selection-text-preview small {
    display: block;
}

.selection-range-values span,
.selection-text-preview span {
    color: #687386;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.selection-range-values strong {
    margin-top: 2px;
    color: #202635;
    font-size: 18px;
}

.selection-range-values small {
    color: #929baa;
    font-size: 8px;
}

.selection-range-equation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 10px;
    color: #687386;
    background: #fff8fc;
    border-bottom: 1px solid #efd3e2;
    font-family: "Cascadia Code", Consolas, monospace;
    font-size: 11px;
}

.selection-range-equation i {
    color: #c40f70;
    font-style: normal;
}

.selection-range-equation strong {
    color: #a70f62;
}

.selection-text-preview {
    padding: 11px 12px;
}

.selection-text-preview strong {
    margin-top: 4px;
    overflow: hidden;
    color: #202635;
    font-size: 11px;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.selection-text-preview small {
    margin-top: 3px;
    color: #929baa;
    font-size: 9px;
}

.selection-format-section h3,
.selection-range-editor h3 {
    margin: 0 0 5px;
    color: #202635;
    font-size: 13px;
    font-weight: 700;
}

.selection-range-editor > p {
    margin: 0;
    font-size: 11px;
}

.selection-format-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 9px;
    overflow: hidden;
    border: 1px solid #e1e5eb;
    border-radius: 7px;
}

.selection-format-grid > div {
    min-width: 0;
    padding: 8px 10px;
    border-bottom: 1px solid #e9ecf0;
}

.selection-format-grid > div:nth-child(odd) {
    border-right: 1px solid #e9ecf0;
}

.selection-format-grid > div:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.selection-format-grid span,
.selection-format-grid strong {
    display: block;
}

.selection-format-grid span {
    color: #7c8798;
    font-size: 9px;
}

.selection-format-grid strong {
    margin-top: 2px;
    overflow: hidden;
    color: #202635;
    font-size: 10px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.selection-format-grid strong.is-mixed {
    color: #a70f62;
    font-style: italic;
}

.selection-color-value {
    display: flex !important;
    align-items: center;
    gap: 6px;
}

.selection-color-value i {
    width: 11px;
    height: 11px;
    flex: 0 0 11px;
    background: transparent;
    border: 1px solid #cbd2dc;
    border-radius: 2px;
}

.selection-color-value b {
    overflow: hidden;
    font-weight: inherit;
    text-overflow: ellipsis;
}

.selection-mixed-note {
    margin: 8px 0 0;
    color: #687386;
    font-size: 9px !important;
    line-height: 1.45 !important;
}

.selection-mixed-note strong {
    color: #a70f62;
}

.selection-range-editor {
    padding-top: 16px;
    border-top: 1px solid #e1e5eb;
}

.selection-range-editor .demo-field-label {
    margin-top: 9px;
}

@media (max-width: 575.98px) {
    .selection-format-grid {
        grid-template-columns: 1fr;
    }

    .selection-format-grid > div,
    .selection-format-grid > div:nth-child(odd),
    .selection-format-grid > div:nth-last-child(-n + 2) {
        border-right: 0;
        border-bottom: 1px solid #e9ecf0;
    }

    .selection-format-grid > div:last-child {
        border-bottom: 0;
    }
}
