/* ButtonBox.css */

.lh-box {
	position: fixed;
	top: 12px;
	right: 12px;
	display: inline-flex;
	gap: 8px;
	align-items: center;
	padding: 6px 8px;
	border-radius: 10px;
	background: #f7f7f7;
	border: 1px solid #d0d0d0;
	font: 14px/1 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	z-index: 9999;
	user-select: none;
}

.lh-box button {
	width: 28px;
	height: 28px;
	border: 1px solid #bbb;
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
}
.lh-box button:active { transform: translateY(1px); }

.lh-box span#lhValue {
	display: inline-block;
	min-width: 4ch;
	text-align: center;
	font-variant-numeric: tabular-nums;
	color: #000;
	font-weight: 600;
}

.hover-readout {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 4px 10px;
	align-items: center;
	padding: 6px 8px;
	border: 1px solid rgba(255,255,255,0.15);
	border-radius: 8px;
	font: 12px/1.2 monospace;
	background: rgba(255,255,255,0.04);
	margin-top: 6px; /* adjust to taste */
}

.hover-line {
	display: contents;
}

.hover-label {
	opacity: 0.8;
	text-transform: lowercase;
}

.hover-value {
	text-align: right;
	font-weight: 600;
}
