.floating-table-panel {
    box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
    height: clamp(260px, 42vh, 520px);
    overflow: hidden;
    position: fixed;
    resize: both;
    width: clamp(360px, 38vw, 720px);
    z-index: 10021;
}

.floating-table-panel-header {
    align-items: center;
    cursor: move;
    display: flex;
    font-size: clamp(.9rem, .8vw, 1.1rem);
    font-weight: 700;
    justify-content: space-between;
    padding: 6px 8px;
    user-select: none;
}

.floating-table-panel-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.floating-table-panel-close {
    align-items: center;
    cursor: pointer;
    display: flex;
    flex: 0 0 28px;
    font-size: 1.1rem;
    height: 28px;
    justify-content: center;
    margin-left: 8px;
}

.floating-table-panel-table {
    height: calc(100% - 40px);
    min-height: 0;
}

.floating-table-panel-table .tos-table,
.floating-table-panel-table .tos-table-cell-header,
.floating-table-panel-table .tos-table-cell-body {
    font-size: clamp(.72rem, .72vw, 1rem);
}

.floating-table-panel-table .tos-table,
.floating-table-panel-table .tos-table-row,
.floating-table-panel-table .tos-table-cell-header,
.floating-table-panel-table .tos-table-cell-body {
    color: var(--tos-text);
}

.floating-table-panel-table .tos-table-body {
    height: calc(100% - 32px);
}

.floating-table-panel-custom-content {
    font-size: clamp(.78rem, .76vw, 1rem);
    height: 100%;
    overflow: auto;
    padding: 8px;
}

.floating-table-panel-dragging {
    opacity: .74;
}
