﻿.label-main {
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: normal; 
    color: #444444;
    display: block;
    margin-bottom: 12px;
    line-height: 1.4;
}

.root-mode-list {
    border-collapse: separate;
    border-spacing: 0 6px;
}

    .root-mode-list td {
        font-family: Arial, sans-serif;
        font-size: 14px;
        color: #333333;
        vertical-align: middle;
    }

    .root-mode-list input[type="radio"] {
        margin-right: 8px;
        cursor: pointer;
    }

    .root-mode-list label {
        cursor: pointer;
    }



.root-annotation {
    line-height: 23px;
    font-size: 15px;
    margin-bottom: 10px;
}

.root-cont {
    background: var(--bg);
    border: 1px solid var(--shadow-warm);
    border-radius: var(--radius);
    padding: 5px 16px;
    margin-bottom: 7px;
    width: 300px;
}

.root-sub-cont {
    background-image: url(/Pics/sqrt_2.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 200px;
    height: 100px;
    margin-left: 20px;
    margin-bottom: 5px;
}

.input-root {
    height: 26px !important;
    font-size: 16px !important;
    color: var(--text);
    outline: none !important;
    border-style: dotted;
    border-left-style: none;
    border-right-style: none;
    border-top-style: none;
    border-width: 0.5px;
    border-color: var(--muted);
    font-weight: bolder;
    background-color: transparent;
    -webkit-appearance: none;
    border-radius: 0;
}

    .input-root::placeholder {
        font-size: 11px;
    }

.t1 {
    width: 50px;
    margin-left: -11px;
    text-align: right;
}

.t2 {
    width: 146px;
    margin-top: 37px;
    margin-left: 50px;
}

.clear-btn-root {
    all: unset;
    cursor: pointer;
    color: var(--muted);
    font-size: 16px;
    padding: 4px;
    line-height: 1;
    flex-shrink: 0;
    margin-left: 255px;
}


.clear-btn-root {
    visibility: hidden;
}

.root-cont:has(.input-root:not(:placeholder-shown)) .clear-btn-root {
    visibility: visible;
}

mjx-container[jax="CHTML"] {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
}

.nowrap-span mjx-container[jax="CHTML"] {
    white-space: nowrap !important;
}
