.tables-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.table-row {
	position: relative;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: var(--bg-1);
	padding: 16px 20px;
	cursor: pointer;
	transition:
		border-color 0.15s,
		transform 0.15s,
		box-shadow 0.15s;
}
.table-row:hover {
	border-color: var(--border-2);
}

/* Free state */
.table-row.free {
	background: linear-gradient(180deg, rgba(120, 180, 130, 0.12), rgba(120, 180, 130, 0.05)), var(--bg-1);
	border-color: rgba(120, 180, 130, 0.28);
}
.table-row.free .status-pill {
	color: oklch(0.42 0.13 145);
	font-variant-numeric: tabular-nums;
	font-size: 12px;
	letter-spacing: 0.04em;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-transform: uppercase;
}
.table-row.free .status-pill::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: oklch(0.55 0.16 145);
}
.table-row.free:hover {
	border-color: oklch(0.55 0.16 145 / 0.5);
	box-shadow: 0 0 12px oklch(0.55 0.16 145 / 0.25);
}
.table-row.free.selected {
	border-color: oklch(0.55 0.16 145);
	box-shadow:
		0 0 0 3px oklch(0.55 0.16 145 / 0.2),
		0 0 16px oklch(0.55 0.16 145 / 0.3);
}

/* Occupied state */
.table-row.occupied {
	background: linear-gradient(180deg, var(--glow-accent), var(--glow-accent-soft)), var(--bg-1);
	border-color: rgba(142, 93, 216, 0.35);
}
.table-row.occupied:hover {
	border-color: rgba(142, 93, 216, 0.5);
	box-shadow: 0 0 12px rgba(142, 93, 216, 0.25);
}
.table-row.occupied.selected {
	border-color: var(--accent);
	box-shadow:
		0 0 0 3px rgba(142, 93, 216, 0.2),
		0 0 16px rgba(142, 93, 216, 0.3);
}

.table-row-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.table-row-title {
	display: flex;
	align-items: baseline;
	gap: 10px;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: -0.01em;
}
.table-row-title .num {
	font-variant-numeric: tabular-nums;
	color: var(--fg-mute);
	font-weight: 400;
	font-size: 13px;
}
.table-row-title em {
	font-style: italic;
	font-weight: 400;
	color: var(--accent);
	font-size: 17px;
}
.table-row .kind-chip {
	display: inline-flex;
	align-items: center;
	height: 22px;
	padding: 0 10px;
	border-radius: 100px;
	font-size: 11px;
	color: var(--fg-dim);
	border: 1px solid var(--border-2);
	background: var(--bg);
	letter-spacing: 0.02em;
	font-variant-numeric: tabular-nums;
}
.table-row .timer {
	font-variant-numeric: tabular-nums;
	font-size: 16px;
	font-weight: 500;
	color: var(--accent);
	letter-spacing: 0.04em;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.table-row .timer::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 0 4px rgba(142, 93, 216, 0.22);
	animation: pulse 1.8s ease-in-out infinite;
}

.table-row-meta {
	display: flex;
	gap: 32px;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px dashed rgba(142, 93, 216, 0.28);
}
.table-row-meta .item {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.table-row-meta .item .v {
	font-variant-numeric: tabular-nums;
	font-size: 15px;
	color: var(--fg);
	letter-spacing: -0.01em;
	line-height: 1;
}
.table-row-meta .item .v.warn {
	color: var(--accent);
}
.table-row-meta .item .l {
	font-size: 10.5px;
	color: var(--fg-mute);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
