#dsb-servicebar {
    box-sizing: border-box;
    position: fixed;
    z-index: 200010;
    right: max(20px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    display: flex;
    gap: 4px;
    padding: 6px;
    margin: 0;
    max-width: calc(100vw - 32px);
    border: 1px solid #dce1eb;
    border-radius: 16px;
    background: #fff;
    color: #283c72;
    box-shadow: 0 4px 24px rgb(20 35 65 / 16%);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.25;
    isolation: isolate;
}
#dsb-servicebar[hidden], #dsb-servicebar-status[hidden] { display: none !important; }
#dsb-servicebar .dsb-servicebar__item {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 100px;
    min-height: 48px;
    padding: 10px 14px;
    margin: 0;
    border: 0;
    border-radius: 10px;
    background: #fff;
    background-image: none;
    box-shadow: none;
    color: #283c72;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: normal;
    text-decoration: none !important;
    text-shadow: none;
    text-transform: none;
    white-space: nowrap;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
#dsb-servicebar .dsb-servicebar__phone { background: #283c72; color: #fff; }
#dsb-servicebar .dsb-servicebar__top { min-width: 48px; width: 48px; padding: 10px; }
#dsb-servicebar .dsb-servicebar__menu { display: none; }
#dsb-servicebar .dsb-servicebar__item:hover { background: #eef1f7; color: #1c2d59; }
#dsb-servicebar .dsb-servicebar__phone:hover { background: #1c2d59; color: #fff; }
#dsb-servicebar .dsb-servicebar__item:focus-visible { outline: 3px solid #e77b00; outline-offset: 2px; }
#dsb-servicebar .dsb-servicebar__item svg {
    flex: 0 0 21px;
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
body.dsb-servicebar-ready {
    padding-bottom: calc(var(--dsb-original-body-padding, 0px) + var(--dsb-servicebar-space, 96px)) !important;
}
html.dsb-servicebar-ready { scroll-padding-bottom: var(--dsb-servicebar-space, 96px); }
body.dsb-servicebar-ready a.mobile-contact,
body.dsb-servicebar-ready #back-to-top,
body.dsb-servicebar-ready [data-borlabs-cookie-content-blocker-id="ally-accessibility-widget"] > div > .brlbs-cmpnt-cb-icon {
    display: none !important;
}
/* Borlabs assigns display:block !important inline; visibility also suppresses its floating opener. */
body.dsb-servicebar-ready #BorlabsCookieWidget,
body.dsb-servicebar-ready #BorlabsCookieWidget *,
body.dsb-servicebar-ready .brlbs-cmpnt-widget {
    visibility: hidden !important;
    pointer-events: none !important;
}
#dsb-servicebar-status {
    box-sizing: border-box;
    position: fixed;
    z-index: 200011;
    right: 20px;
    bottom: calc(var(--dsb-servicebar-space, 96px) + 4px);
    width: min(360px, calc(100vw - 32px));
    padding: 14px 18px;
    border: 1px solid #dce1eb;
    border-radius: 12px;
    background: #fff;
    color: #202d48;
    box-shadow: 0 4px 24px rgb(20 35 65 / 16%);
    font: 15px/1.5 Arial, Helvetica, sans-serif;
}
@media (max-width: 767px) {
    #dsb-servicebar {
        right: max(10px, env(safe-area-inset-right));
        left: max(10px, env(safe-area-inset-left));
        bottom: max(10px, env(safe-area-inset-bottom));
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr)) 44px;
        max-width: none;
        gap: 2px;
        padding: 5px;
        border-radius: 15px;
    }
    #dsb-servicebar .dsb-servicebar__top { min-width: 44px; width: 44px; padding: 7px 3px; }
    #dsb-servicebar .dsb-servicebar__item {
        flex-direction: column;
        gap: 5px;
        min-width: 0;
        min-height: 55px;
        padding: 7px 3px;
        font-size: 12px;
        white-space: normal;
        overflow-wrap: anywhere;
    }
    #dsb-servicebar-status { right: 10px; width: calc(100vw - 20px); }
}
@media print {
    #dsb-servicebar, #dsb-servicebar-status, #dsb-servicebar-menu-dialog { display: none !important; }
    body.dsb-servicebar-ready { padding-bottom: var(--dsb-original-body-padding, 0px) !important; }
}
#dsb-servicebar-menu-dialog { display: none; }
/* Match the existing theme's phone-navigation breakpoint. */
@media (max-width: 599px) {
    body.dsb-servicebar-mobile-menu-ready #mobile-nav-button { display: none !important; }
    body.dsb-servicebar-mobile-menu-ready #dsb-servicebar {
        grid-template-columns: repeat(4, minmax(0, 1fr)) 44px;
        gap: 0;
        padding: 4px;
        left: max(8px, env(safe-area-inset-left));
        right: max(8px, env(safe-area-inset-right));
    }
    body.dsb-servicebar-mobile-menu-ready #dsb-servicebar .dsb-servicebar__menu { display: flex; }
    body.dsb-servicebar-mobile-menu-ready #dsb-servicebar .dsb-servicebar__item { padding-inline: 2px; }
    #dsb-servicebar-menu-dialog[open] {
        display: block;
        box-sizing: border-box;
        position: fixed;
        top: auto;
        bottom: max(12px, env(safe-area-inset-bottom));
        left: 0;
        right: 0;
        width: min(440px, calc(100% - 20px));
        max-width: none;
        max-height: min(78vh, calc(100dvh - 40px));
        margin: 0 auto;
        padding: 0 16px 18px;
        border: 1px solid #dce1eb;
        border-radius: 20px;
        background: #fff;
        color: #283c72;
        box-shadow: 0 12px 40px rgb(20 35 65 / 24%);
        font: 16px/1.4 Arial, Helvetica, sans-serif;
        overflow: auto;
        overscroll-behavior: contain;
    }
    #dsb-servicebar-menu-dialog::backdrop { background: rgb(15 25 45 / 40%); }
    #dsb-servicebar-menu-dialog .dsb-servicebar-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: sticky;
        top: 0;
        z-index: 1;
        padding: 10px 0;
        background: #fff;
        border-bottom: 1px solid #e4e8ef;
    }
    #dsb-servicebar-menu-title { margin: 0; color: #283c72; font: 700 20px/1.4 Arial, Helvetica, sans-serif; text-transform: none; }
    #dsb-servicebar-menu-dialog button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        min-height: 44px;
        min-width: 44px;
        margin: 0;
        padding: 6px;
        border: 0;
        border-radius: 10px;
        background: #eef1f7;
        color: #283c72;
        box-shadow: none;
        text-shadow: none;
        font: 24px/1 Arial, Helvetica, sans-serif;
        cursor: pointer;
    }
    #dsb-servicebar-menu-dialog ul { list-style: none; padding: 0; margin: 0; }
    #dsb-servicebar-menu-dialog li { position: relative; padding: 0; margin: 0; border: 0; }
    #dsb-servicebar-menu-dialog li::before, #dsb-servicebar-menu-dialog li::after { display: none; }
    #dsb-servicebar-menu-dialog a {
        display: flex;
        align-items: center;
        min-height: 48px;
        box-sizing: border-box;
        padding: 12px 10px;
        color: #283c72;
        background: transparent;
        font: 600 16px/1.4 Arial, Helvetica, sans-serif;
        text-decoration: none !important;
        overflow-wrap: anywhere;
    }
    #dsb-servicebar-menu-dialog .dsb-has-submenu > a { margin-right: 48px; }
    #dsb-servicebar-menu-dialog .dsb-mobile-submenu-toggle { position: absolute; top: 2px; right: 0; }
    #dsb-servicebar-menu-dialog .sub-menu { display: none; padding-left: 12px; border-left: 2px solid #e0e5ef; margin: 2px 0 12px 10px; }
    #dsb-servicebar-menu-dialog .dsb-submenu-open > .sub-menu { display: block; }
    #dsb-servicebar-menu-dialog .sub-menu a { font-weight: 400; font-size: 15px; }
    #dsb-servicebar-menu-dialog a:hover { background: #eef1f7; border-radius: 10px; }
    #dsb-servicebar-menu-dialog :focus-visible { outline: 3px solid #e77b00; outline-offset: 1px; }
}
