.table-wrap.has-visible-x-scroll {
    position: relative;
    overflow: auto;
    scrollbar-width: thin;
}

.table-wrap.has-visible-x-scroll::-webkit-scrollbar:horizontal {
    height: 0;
}

.table-wrap.has-visible-x-scroll::-webkit-scrollbar:vertical {
    width: 8px;
}

.workspace.has-floating-x-scrollbar {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.visible-x-scrollbar {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 1000;
    display: block;
    height: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    background: rgba(248, 250, 252, 0.92);
    border-radius: 999px;
    cursor: pointer;
    user-select: none;
}

.visible-x-scrollbar.is-visible {
    height: 16px;
    padding: 2px 0;
    opacity: 1;
    pointer-events: auto;
}

.visible-x-scrollbar__track {
    position: relative;
    height: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #e2e8f0;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.12);
}

.visible-x-scrollbar__thumb {
    position: absolute;
    top: 1px;
    left: 0;
    height: 8px;
    min-width: 42px;
    border-radius: 999px;
    background: #64748b;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.22);
    cursor: grab;
}

.visible-x-scrollbar__thumb:active {
    cursor: grabbing;
    background: #475569;
}
