/* Till header: till name left, Scan button right. */
.obe-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1em;
	max-width: 560px;
	margin-bottom: 1em;
}

.obe-scan-btn {
	font-size: 1.1em;
	padding: 0.55em 1.4em;
	cursor: pointer;
}

.obe-scanner {
	max-width: 320px;
}

/* Status lines. */
.obe-notice {
	max-width: 560px;
}

.obe-notice--error,
.obe-notice--warning {
	font-weight: 700;
}

/* Approval screen. */
.obe-approval {
	max-width: 560px;
	margin: 1em 0;
}

.obe-approval p {
	margin: 0 0 0.25em;
}

.obe-approval__name {
	opacity: 0.75;
}

.obe-approval__main {
	font-size: 1.5em;
	font-weight: 700;
}

.obe-approval--split .obe-approval__sub {
	font-size: 1.3em;
	font-weight: 700;
	text-transform: uppercase;
}

.obe-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1em;
}

/* Undo list. */
.obe-undo-table {
	border-collapse: collapse;
	width: 100%;
	max-width: 560px;
	font-size: 0.9em;
	font-variant-numeric: tabular-nums;
}

.obe-undo-table th,
.obe-undo-table td {
	padding: 0.55em 0.7em;
	text-align: left;
	border-bottom: 1px solid rgba(128, 128, 128, 0.35);
	vertical-align: middle;
}

.obe-undo-table th {
	font-size: 0.8em;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.obe-undo-table .obe-num {
	text-align: right;
	white-space: nowrap;
}

.obe-undo-table td:first-child {
	white-space: nowrap;
}

.obe-undo-table small {
	display: block;
	opacity: 0.65;
	font-size: 0.8em;
}

@media (max-width: 640px) {

	.obe-undo-table {
		font-size: 0.8em;
	}

	.obe-undo-table th,
	.obe-undo-table td {
		padding: 0.45em 0.4em;
	}
}
