.ke-bf-toolbar,
.ke-bf-toolbar *,
.ke-bf-reading-line {
    box-sizing: border-box;
}

.ke-bf-toolbar {
    position: fixed;
    z-index: 99998;
    top: 42%;
    font-family: Arial, Helvetica, sans-serif;
    color: #1f2933;
}

.ke-bf-toolbar.ke-bf-right {
    right: 16px;
}

.ke-bf-toolbar.ke-bf-left {
    left: 16px;
}

.ke-bf-toggle,
.ke-bf-panel button,
.ke-bf-statement-link {
    border: 2px solid #1f2933;
    border-radius: 6px;
    background: #ffffff;
    color: #1f2933;
    cursor: pointer;
    font: 700 15px/1.2 Arial, Helvetica, sans-serif;
}

.ke-bf-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 8px 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.ke-bf-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #1f2933;
    color: #ffffff;
}

.ke-bf-panel {
    position: absolute;
    top: 56px;
    width: 280px;
    padding: 14px;
    border: 2px solid #1f2933;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.ke-bf-right .ke-bf-panel {
    right: 0;
}

.ke-bf-left .ke-bf-panel {
    left: 0;
}

.ke-bf-menu-only {
    top: 96px;
}

.ke-bf-menu-only .ke-bf-panel {
    position: fixed;
    top: 96px;
}

.ke-bf-menu-only.ke-bf-right .ke-bf-panel {
    right: 16px;
}

.ke-bf-menu-only.ke-bf-left .ke-bf-panel {
    left: 16px;
}

.ke-bf-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 18px;
}

.ke-bf-close {
    width: 34px;
    height: 34px;
    padding: 0;
}

.ke-bf-group {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.ke-bf-group-title {
    font-weight: 700;
}

.ke-bf-button-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.ke-bf-panel button {
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    text-align: center;
}

.ke-bf-statement-link {
    display: block;
    width: 100%;
    min-height: 40px;
    margin-top: 8px;
    padding: 8px 10px;
    text-align: center;
    text-decoration: none;
}

.ke-bf-statement-link:hover,
.ke-bf-statement-link:focus-visible {
    background: #1f2933;
    color: #ffffff;
}

.ke-bf-panel button[aria-pressed="true"] {
    background: #1f2933;
    color: #ffffff;
}

.ke-bf-reset-all {
    margin-top: 4px;
}

.ke-bf-status {
    min-height: 18px;
    margin-top: 8px;
    font-size: 13px;
}

.ke-bf-toolbar button:focus-visible,
body.ke-bf-focus a:focus-visible,
body.ke-bf-focus button:focus-visible,
body.ke-bf-focus input:focus-visible,
body.ke-bf-focus select:focus-visible,
body.ke-bf-focus textarea:focus-visible,
body.ke-bf-focus [tabindex]:focus-visible {
    outline: 4px solid #ffbf00 !important;
    outline-offset: 3px !important;
}

body.ke-bf-font-1 p,
body.ke-bf-font-1 li,
body.ke-bf-font-1 td,
body.ke-bf-font-1 th,
body.ke-bf-font-1 label,
body.ke-bf-font-1 input,
body.ke-bf-font-1 select,
body.ke-bf-font-1 textarea,
body.ke-bf-font-1 main a,
body.ke-bf-font-1 .elementor-widget-text-editor,
body.ke-bf-font-1 .elementor-button-text {
    font-size: 112.5% !important;
}

body.ke-bf-font-2 p,
body.ke-bf-font-2 li,
body.ke-bf-font-2 td,
body.ke-bf-font-2 th,
body.ke-bf-font-2 label,
body.ke-bf-font-2 input,
body.ke-bf-font-2 select,
body.ke-bf-font-2 textarea,
body.ke-bf-font-2 main a,
body.ke-bf-font-2 .elementor-widget-text-editor,
body.ke-bf-font-2 .elementor-button-text {
    font-size: 125% !important;
}

body.ke-bf-font-3 p,
body.ke-bf-font-3 li,
body.ke-bf-font-3 td,
body.ke-bf-font-3 th,
body.ke-bf-font-3 label,
body.ke-bf-font-3 input,
body.ke-bf-font-3 select,
body.ke-bf-font-3 textarea,
body.ke-bf-font-3 main a,
body.ke-bf-font-3 .elementor-widget-text-editor,
body.ke-bf-font-3 .elementor-button-text {
    font-size: 140% !important;
}

body.ke-bf-contrast,
body.ke-bf-contrast main,
body.ke-bf-contrast section,
body.ke-bf-contrast article,
body.ke-bf-contrast header,
body.ke-bf-contrast footer,
body.ke-bf-contrast nav,
body.ke-bf-contrast .elementor,
body.ke-bf-contrast .elementor-section,
body.ke-bf-contrast .elementor-container,
body.ke-bf-contrast .elementor-column,
body.ke-bf-contrast .elementor-widget-container,
body.ke-bf-contrast .elementor-background-overlay {
    background-color: #ffffff !important;
    background-image: none !important;
    color: #000000 !important;
}

body.ke-bf-contrast a,
body.ke-bf-contrast button,
body.ke-bf-contrast input,
body.ke-bf-contrast select,
body.ke-bf-contrast textarea {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-color: #000000 !important;
}

body.ke-bf-contrast a {
    color: #003cff !important;
    text-decoration: underline !important;
    text-underline-offset: 0.18em;
}

body.ke-bf-links a {
    text-decoration: underline !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 0.18em !important;
}

body.ke-bf-grayscale {
    filter: grayscale(1);
}

body.ke-bf-motion *,
body.ke-bf-motion *::before,
body.ke-bf-motion *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
}

.ke-bf-reading-line {
    display: none;
    position: fixed;
    z-index: 99997;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ffbf00;
    box-shadow: 0 0 0 1px #000000;
    pointer-events: none;
}

body.ke-bf-reading-line-active .ke-bf-reading-line {
    display: block;
}

@media (max-width: 640px) {
    .ke-bf-toolbar {
        top: auto;
        right: 12px;
        bottom: 12px;
        left: auto;
    }

    .ke-bf-toolbar.ke-bf-left {
        left: 12px;
        right: auto;
    }

    .ke-bf-toggle-text {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .ke-bf-panel {
        top: auto;
        bottom: 56px;
        width: min(280px, calc(100vw - 24px));
    }

    .ke-bf-menu-only .ke-bf-panel {
        top: 72px;
        right: 12px;
        bottom: auto;
        left: auto;
        width: calc(100vw - 24px);
    }

    .ke-bf-menu-only.ke-bf-left .ke-bf-panel {
        right: auto;
        left: 12px;
    }
}
