html.fillscreen,
html.fillscreen body,
html.fillscreen #maincontainer {
    height: 100vh;
    overflow: hidden;
}

body {
    box-sizing: border-box;
    padding: 0rem;
}

html.fillscreen #maincontainer {
    display: flex;
    flex-direction: column;
}


h1 {
    font-size: 2rem;
    font-weight: bold;
}


#transcription-grid {
    flex-grow: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas:
        "terms numbers"
        "text text";
    gap: 1rem;
    overflow: hidden;
}

#transcription-card {
    grid-area: text;
    flex-direction: column;
}

#terms-card {
    grid-area: terms;
}

#numbers-card {
    grid-area: numbers;
}



#numbers,
#terms {
    font-size: 1.2rem;
}

.tg-card {
    overflow: hidden;
}



#transcription-card #text {
    overflow: auto;
    flex-grow: 1;
}

#text p {
    margin-bottom: 0.5rem;
    max-width: 600px;
}

#text {
    line-height: 1.8;
}

.translation-arrow {
    margin-left: 0.75rem;
    margin-right: 0.75rem;
    position: relative;
    bottom: 0.1em;
}






.tab-content { display: none; }
.tab-content.active { display: block; }


#extraSettings {
    display:grid;
    grid-template-columns: max-content max-content;
    justify-items: left;
    gap: 0.1rem 1rem;
}

.hidden { display: none !important; }

.tooltip-label {
    text-decoration: underline dotted;
    cursor: help;
}



b-sizing-bb {
    box-sizing: border-box;
}


.form-select {
    width: initial;   
}