﻿.data-cell[data-col="icon24"] { max-width: 29px; flex: 0 0 29px; }

.data-cell[data-col="w32px"] { max-width: 37px; flex: 0 0 37px; }
.data-cell[data-col="w50px"] { max-width: 50px; flex: 0 0 50px; }
.data-cell[data-col="w60px"] { max-width: 60px; flex: 0 0 60px; }
.data-cell[data-col="w80px"] { max-width: 80px; flex: 0 0 80px; }
.data-cell[data-col="w100px"] { max-width: 100px; flex: 0 0 100px; }
.data-cell[data-col="w120px"] { max-width: 120px; flex: 0 0 120px; }
.data-cell[data-col="w150px"] { max-width: 150px; flex: 0 0 150px; }
.data-cell[data-col="w200px"] { max-width: 200px; flex: 0 0 200px; }

/* the one elastic column */
.data-cell[data-col="auto"] {
	flex: 1 1 auto; /* fills remaining space when row < 100% */
	min-width: 0; /* allows shrinking when row > 100% */
	white-space: normal; /* or keep nowrap if you prefer */
	overflow: hidden; /* pair with text-overflow if truncating */
}


.data-viewport {
	width: 100%;
	/* height: 600px; */
	overflow: auto;
	box-sizing: border-box;
}

.data-table {
	display: block;
}

.data-row {
	display: flex;
	width: max-content; /* row grows to sum of cells */
	min-width: 100%;
	box-sizing: border-box;
	border-top: 1px dotted rgba(0,0,0,0.25);
	margin-top: 0px;
	padding-top: 5px;
}

.data-cell {
	flex: 0 0 auto;
	padding: 0px 5px 0px 0px;
	box-sizing: border-box;
	align-self: center;
}

/* group wrapper so its children lay out like direct children */
/*
.data-group {
	display: contents;
}
*/

/* The grouped cells (initially hidden until toggled on) */
.data-group[data-group] {
  display: none;
}

/* — Per-cell overflow behavior — */
.data-cell[data-fit="truncate"] {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.data-cell[data-fit="wrap"] {
	white-space: normal;
	overflow: visible;
	word-break: break-word; /* long tokens can wrap */
}

.data-cell[data-fit="scroll"] {
	white-space: nowrap;
	overflow: auto; /* horizontal scrollbar inside the cell */
}

	/* Optional: make internal scrollbars thinner on WebKit */
	.data-cell[data-fit="scroll"]::-webkit-scrollbar {
		height: 8px;
	}

.toggles {
  display: flex;
  gap: 16px;
  align-items: center;
}

.toggles label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  cursor: pointer;
}

.toggles input[type="checkbox"] {
  margin: 0;
  vertical-align: middle;
  transform: translateY(0); /* normalize Chrome/Safari vs Firefox */
  top: -1px;
}