:root {
    --suite-description: #b8bdcc;
    --suite-description-link: #8edcff;
}

label > span,
.setting-row > div:first-child,
.setting-item > div:first-child {
    min-width: 0;
    overflow: visible;
}

label small,
.setting-row small,
.setting-item p {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 4px 0 0 !important;
    overflow: visible !important;
    color: var(--suite-description) !important;
    font-size: .73rem !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    opacity: 1 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
}

label small a,
.setting-row small a,
.setting-item p a,
.setting-item a {
    color: var(--suite-description-link) !important;
    font-size: inherit !important;
    font-weight: 700 !important;
    line-height: inherit !important;
    opacity: 1 !important;
    white-space: normal !important;
}

#status {
    color: var(--suite-description) !important;
    font-size: .72rem !important;
    line-height: 1.5 !important;
    opacity: 1 !important;
}


/* Keep native dropdown menus readable and consistent with the suite theme. */
:root {
    --suite-dropdown-bg: #252731;
    --suite-dropdown-popup: #1c1e26;
    --suite-dropdown-text: #f6f6f8;
    --suite-dropdown-muted: #858a99;
    --suite-dropdown-border: #3b3e4a;
    --suite-dropdown-focus: #7658ff;
    --suite-dropdown-selected: #7658ff;
}

select {
    min-height: 34px;
    border: 1px solid var(--suite-dropdown-border) !important;
    border-radius: 7px;
    background-color: var(--suite-dropdown-bg) !important;
    color: var(--suite-dropdown-text) !important;
    color-scheme: dark;
    cursor: pointer;
}

select:hover {
    border-color: #565a6b !important;
}

select:focus,
select:focus-visible {
    border-color: var(--suite-dropdown-focus) !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(118, 88, 255, .22);
}

select option,
select optgroup {
    background-color: var(--suite-dropdown-popup) !important;
    color: var(--suite-dropdown-text) !important;
}

select option:checked {
    background-color: var(--suite-dropdown-selected) !important;
    color: #fff !important;
}

select option:disabled,
select:disabled {
    color: var(--suite-dropdown-muted) !important;
}

select:disabled {
    background-color: #20222a !important;
    cursor: not-allowed;
    opacity: .78;
}

select optgroup {
    color: #8edcff !important;
    font-weight: 800;
}
