.rangetitle{
    width:100%;
}

#callcolours {
    padding: 10px;
    padding-left: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.csobody {
    color: var(--accord-white);
    background-color: var(--darkbg);
    border: 1px solid var(--accord-white);
    border-top: none;
    padding: 10px;
    text-align: left;
    border-bottom-left-radius: .5rem;
    border-bottom-right-radius: .5rem;
}

    .csobody label {
        font-weight: 600;
        padding-right: 20px;
    }

.csobody input{
    width:100%;
}

    .csobody select {
        width: 100%;
    }

.fullrow {
    display: flex;
    align-items: center;
    gap: 8px; /* optional */
}

    .fullrow label {
        white-space: nowrap; /* prevents wrapping */
    }

    .fullrow select {
        flex: 1; /* take all remaining space */
    }

.ccolswatch {
    position: relative;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid var(--accord-white);
    width: 48px;
    aspect-ratio: 1 / 1;
}

    .ccolswatch .tooltext {
        visibility: hidden;
        max-width: 250px;
        background-color: black;
        color: #fff;
        text-align: center;
        padding: 5px;
        border-radius: 6px;
        top: 100%;
        left: 0;
        transform: translateX(0);
        width: max-content;
        position: absolute;
        z-index: 1;
        white-space: nowrap;
    }

    .ccolswatch:hover .tooltext {
        visibility: visible;
        left: max(0px, 50% - 125px);
    }

@media screen and (max-width: 760px) {
    .fullrow {
        display: block;
    }
    .rangetitle {
        font-size: 3.5vw;
    }
    .ccolswatch {
        border-radius: 2vw;
        border: 1px solid var(--accord-white);
        width: calc(100% / 6 - 1vw);
        aspect-ratio: 1 / 1;
    }
    #callcolours {
        padding:1vw;
            gap: 1vw;
    }
}