/* Only our floating control. No table, article, image, ad or body rules. */
#anp-table-scrollbar {
    all: initial;
    position: fixed !important;
    display: block;
    box-sizing: border-box;
    z-index: 90;
    padding: 6px 10px 7px;
    border: 1px solid #d6dce3;
    border-radius: 7px;
    background: #fff;
    color: #333;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.16);
    font: 12px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif;
    direction: ltr;
    color-scheme: light;
    contain: layout style;
}
#anp-table-scrollbar[hidden] {
    display: none !important;
}
#anp-table-scrollbar > .anp-ts-label {
    all: initial;
    display: block;
    margin: 0 0 3px;
    color: #555;
    font: inherit;
    text-align: center;
}
#anp-table-scrollbar > .anp-ts-controls {
    all: initial;
    display: flex;
    align-items: center;
    gap: 8px;
}
#anp-table-scrollbar .anp-ts-button {
    all: initial;
    display: flex;
    flex: 0 0 28px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 26px;
    border: 1px solid #b9c5d2;
    border-radius: 4px;
    background: #f4f8fc;
    color: #245f96;
    font: 14px/1 system-ui, sans-serif;
    cursor: pointer;
}
#anp-table-scrollbar .anp-ts-button::before,
#anp-table-scrollbar .anp-ts-button::after {
    content: none !important;
}
#anp-table-scrollbar .anp-ts-button:disabled {
    opacity: 0.35;
    cursor: default;
}
#anp-table-scrollbar .anp-ts-button:hover:not(:disabled) {
    background: #e4effa;
}
#anp-table-scrollbar .anp-ts-track {
    all: initial;
    display: block;
    flex: 1 1 0%;
    box-sizing: border-box;
    min-width: 0;
    height: 26px;
    overflow-x: scroll !important;
    overflow-y: hidden !important;
    direction: ltr;
    scroll-behavior: auto !important;
    scrollbar-width: auto;
    scrollbar-color: #73869c #edf0f4;
}
#anp-table-scrollbar .anp-ts-track::-webkit-scrollbar {
    height: 16px;
}
#anp-table-scrollbar .anp-ts-track::-webkit-scrollbar-track {
    background: #edf0f4;
    border-radius: 8px;
}
#anp-table-scrollbar .anp-ts-track::-webkit-scrollbar-thumb {
    border: 3px solid #edf0f4;
    border-radius: 8px;
    background: #73869c;
}
#anp-table-scrollbar .anp-ts-space {
    all: initial;
    display: block;
    height: 1px;
    pointer-events: none;
}
#anp-table-scrollbar .anp-ts-button:focus-visible,
#anp-table-scrollbar .anp-ts-track:focus-visible {
    outline: 2px solid #287acb;
    outline-offset: 2px;
}
/* CSS also fails closed if JS is delayed or a device/print mode changes. */
@media not all and (min-width: 1024px) and (hover: hover) and (pointer: fine) {
    #anp-table-scrollbar {
        display: none !important;
    }
}
@media print {
    #anp-table-scrollbar {
        display: none !important;
    }
}
