.dwp-skip-link {
    background: #111;
    color: #fff;
    left: 16px;
    padding: 10px 14px;
    position: absolute;
    top: -80px;
    z-index: 100000;
}

.dwp-skip-link:focus {
    top: 16px;
}

.dwp-focus-ring :focus-visible {
    outline: 3px solid #0a7cff;
    outline-offset: 3px;
}

.dwp-underline-links a {
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

.dwp-toolbar {
    color: #1d2327;
    font-family: Arial, sans-serif;
    font-size: 15px !important;
    line-height: 1.35 !important;
    max-width: calc(100vw - 24px);
    position: fixed;
    bottom: 22px;
    right: 0;
    transform: translateX(calc(var(--dwp-button-size, 76px) - var(--dwp-tab-width, 26px)));
    transition: transform 180ms ease;
    z-index: 2147483647;
}

.dwp-toolbar::before {
    align-items: center;
    background: var(--dwp-tab-bg, #111827);
    border-radius: 8px 0 0 8px;
    box-shadow: -4px 0 18px rgba(0, 0, 0, 0.22);
    color: var(--dwp-tab-color, #fff);
    content: attr(data-tab-label);
    display: flex;
    font-size: 12px;
    font-weight: 700;
    justify-content: center;
    letter-spacing: 0 !important;
    min-height: 88px;
    padding: 8px 4px;
    pointer-events: none;
    position: absolute;
    left: 0;
    right: auto;
    text-orientation: mixed;
    top: 50%;
    transform: translateY(-50%);
    width: var(--dwp-tab-width, 26px);
    writing-mode: vertical-rl;
}

.dwp-toolbar:hover,
.dwp-toolbar:focus-within,
.dwp-toolbar.is-panel-open {
    transform: translateX(0);
}

.dwp-toolbar:hover::before,
.dwp-toolbar:focus-within::before,
.dwp-toolbar.is-panel-open::before {
    opacity: 0;
}

.dwp-toolbar--left {
    left: 0;
    right: auto;
    transform: translateX(calc((var(--dwp-button-size, 76px) - var(--dwp-tab-width, 26px)) * -1));
}

.dwp-toolbar--left::before {
    border-radius: 0 8px 8px 0;
    left: auto;
    right: 0;
}

.dwp-toolbar--left:hover,
.dwp-toolbar--left:focus-within,
.dwp-toolbar--left.is-panel-open {
    transform: translateX(0);
}

.dwp-toolbar button {
    align-items: center;
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 6px;
    color: #1d2327;
    cursor: pointer;
    display: flex;
    font: inherit;
    justify-content: center;
    min-height: 40px;
    padding: 8px 12px;
}

.dwp-toolbar__toggle {
    background: var(--dwp-button-bg, #111827) !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
    color: var(--dwp-button-color, #fff) !important;
    flex-direction: column;
    font-weight: 700 !important;
    gap: 3px;
    height: var(--dwp-button-size, 76px) !important;
    min-height: var(--dwp-button-size, 76px) !important;
    padding: 8px !important;
    width: var(--dwp-button-size, 76px) !important;
}

.dwp-toolbar--shape-rounded .dwp-toolbar__toggle {
    border-radius: 18px !important;
}

.dwp-toolbar--shape-square .dwp-toolbar__toggle {
    border-radius: 4px !important;
}

.dwp-toolbar__toggle:hover,
.dwp-toolbar__toggle:focus-visible {
    background: var(--dwp-button-hover-bg, #0a7cff) !important;
}

.dwp-toolbar__icon {
    display: block;
    height: calc(var(--dwp-button-size, 76px) * 0.37);
    width: calc(var(--dwp-button-size, 76px) * 0.37);
}

.dwp-toolbar__icon svg {
    display: block;
    fill: currentColor;
    height: 100%;
    width: 100%;
}

.dwp-toolbar__toggle-text {
    color: inherit !important;
    font-size: clamp(10px, calc(var(--dwp-button-size, 76px) * 0.16), 16px) !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
}

.dwp-toolbar__panel {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 10px;
    bottom: calc(var(--dwp-button-size, 76px) + 12px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
    min-width: 280px;
    padding: 16px;
    position: absolute;
    right: 0;
}

.dwp-toolbar--left .dwp-toolbar__panel {
    left: 0;
    right: auto;
}

.dwp-toolbar__header {
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 12px;
    padding-bottom: 10px;
}

.dwp-toolbar__header strong {
    color: #1d2327 !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
}

.dwp-toolbar__actions {
    display: grid;
    gap: 8px;
}

.dwp-toolbar__actions button {
    justify-content: flex-start;
    width: 100%;
}

html.dwp-high-contrast,
html.dwp-high-contrast body,
html.dwp-high-contrast #page-container,
html.dwp-high-contrast #et-main-area,
html.dwp-high-contrast #main-content,
html.dwp-high-contrast .et_builder_inner_content,
html.dwp-high-contrast .et_pb_section,
html.dwp-high-contrast .et_pb_row,
html.dwp-high-contrast .et_pb_column,
html.dwp-high-contrast .et_pb_module,
html.dwp-high-contrast body *:not(img):not(picture):not(video):not(canvas):not(svg):not(path):not(circle):not(rect):not(line):not(polyline):not(polygon):not(iframe) {
    background-color: var(--dwp-contrast-bg, #000) !important;
    border-color: var(--dwp-contrast-text, #fff) !important;
    box-shadow: none !important;
    color: var(--dwp-contrast-text, #fff) !important;
    text-shadow: none !important;
}

html.dwp-high-contrast body::before,
html.dwp-high-contrast body::after,
html.dwp-high-contrast #page-container::before,
html.dwp-high-contrast #page-container::after,
html.dwp-high-contrast #main-content::before,
html.dwp-high-contrast #main-content::after,
html.dwp-high-contrast .et_pb_section::before,
html.dwp-high-contrast .et_pb_section::after,
html.dwp-high-contrast .et_pb_row::before,
html.dwp-high-contrast .et_pb_row::after,
html.dwp-high-contrast .et_pb_module::before,
html.dwp-high-contrast .et_pb_module::after {
    background-color: var(--dwp-contrast-bg, #000) !important;
    box-shadow: none !important;
}

html.dwp-high-contrast body {
    min-height: 100vh;
}

html.dwp-high-contrast body a,
html.dwp-high-contrast body a * {
    color: var(--dwp-contrast-link, #ffff00) !important;
    text-decoration: underline !important;
}

html.dwp-high-contrast body img,
html.dwp-high-contrast body picture,
html.dwp-high-contrast body video,
html.dwp-high-contrast body canvas,
html.dwp-high-contrast body iframe {
    background: transparent !important;
    background-image: initial !important;
    filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

html.dwp-high-contrast body img *,
html.dwp-high-contrast body picture *,
html.dwp-high-contrast body video *,
html.dwp-high-contrast body canvas *,
html.dwp-high-contrast body svg * {
    background: initial !important;
    color: initial !important;
    fill: currentColor;
}

html.dwp-high-contrast .dwp-toolbar,
html.dwp-high-contrast .dwp-toolbar * {
    background-color: initial !important;
    background-image: initial !important;
    border-color: initial !important;
    color: initial !important;
    text-shadow: initial !important;
}

html.dwp-high-contrast .dwp-toolbar__toggle,
html.dwp-high-contrast .dwp-toolbar__toggle * {
    background: var(--dwp-button-bg, #111827) !important;
    color: var(--dwp-button-color, #fff) !important;
}

html.dwp-high-contrast .dwp-toolbar__toggle:hover,
html.dwp-high-contrast .dwp-toolbar__toggle:focus-visible {
    background: var(--dwp-button-hover-bg, #0a7cff) !important;
}

html.dwp-high-contrast .dwp-toolbar__panel {
    background: #fff !important;
    border-color: #dcdcde !important;
    color: #1d2327 !important;
}

html.dwp-high-contrast .dwp-toolbar__panel * {
    color: #1d2327 !important;
}

html.dwp-high-contrast .dwp-toolbar__actions button {
    background: #fff !important;
    border-color: #c3c4c7 !important;
    color: #1d2327 !important;
}

html.dwp-monochrome body > *:not(.dwp-toolbar) {
    filter: grayscale(1) !important;
}

html.dwp-monochrome .dwp-toolbar {
    filter: none !important;
}

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}

@media (max-width: 640px) {
    .dwp-toolbar {
        bottom: 14px;
        right: 0;
    }

    .dwp-toolbar--left {
        left: 0;
        right: auto;
    }

    .dwp-toolbar__panel {
        max-width: calc(100vw - 64px);
        min-width: 250px;
    }
}
