.br_terms_navigation {
    display: none;
}

#br_popup .br_terms_navigation_panel {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#br_popup .br_terms_navigation_panel > .br_terms_navigation {
    display: block;
    flex: 0 0 auto;
    padding: 0 15px 12px;
}

#br_popup .br_terms_full_page {
    display: inline-block;
    margin-bottom: 8px;
    text-decoration: underline;
}

#br_popup .br_terms_full_page:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

#br_popup .br_terms_scroll_progress {
    height: 4px;
    overflow: hidden;
    border-radius: 2px;
    background: #dcdcde;
}

#br_popup .br_terms_scroll_progress_fill {
    display: block;
    width: 0;
    height: 100%;
    background: #2271b1;
}

#br_popup .br_terms_scroll_progress_row {
    display: flex;
    align-items: center;
    gap: 8px;
}

#br_popup .br_terms_scroll_progress_row > .br_terms_scroll_progress {
    flex: 1;
    height: 6px;
    border-radius: 3px;
}

#br_popup .br_terms_scroll_percentage {
    min-width: 4ch;
    font-size: 0.875em;
    font-variant-numeric: tabular-nums;
    line-height: 1.25;
    text-align: end;
    white-space: nowrap;
}

#br_popup .br_terms_navigation_panel > .br_popup_inner {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
}

#br_popup .br_terms_readable {
    max-width: 70ch;
    margin-inline: auto;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

#br_popup .br_terms_readable p,
#br_popup .br_terms_readable li {
    line-height: inherit;
}

@media print {
    #br_popup .br_terms_navigation_panel > .br_terms_navigation {
        display: none;
    }

    #br_popup .br_terms_navigation_panel {
        display: block;
        height: auto;
    }
}
