/* Frequent turn navigation stays instant, including keyboard and reduced motion. */
.operation-page .app-header {
	gap: 16px;
}
.operation-menu-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	min-height: 44px;
	padding: 0;
	background: transparent;
	border: 1px solid #ffffff59;
	border-radius: 10px;
	color: inherit;
	font-size: 1.5rem;
}
.operation-menu-trigger[hidden] {
	display: none;
}
.operation-page .app-header .brand {
	min-width: 0;
	font-size: clamp(1rem, 2.2vw, 1.5rem);
	overflow-wrap: normal;
}
.operation-page .workspace-top {
	margin-bottom: 18px;
}
.operation-page .operation-drawer {
	position: fixed;
	inset: 0 auto 0 0;
	margin: 0;
	width: min(360px, calc(100vw - 24px));
	max-width: none;
	height: 100dvh;
	max-height: 100dvh;
	padding: 24px 18px;
	border: 0;
	border-right: 1px solid #d9dce4;
	border-radius: 0;
	background: #fff;
	color: #202330;
	box-shadow: 12px 0 40px #10182b26;
	overflow-y: auto;
	overscroll-behavior: contain;
}
.operation-drawer::backdrop {
	background: #10182780;
}
#operation-menu {
	animation: none;
}
.operation-drawer-heading {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	align-items: center;
	padding: 0 4px 20px;
	border-bottom: 1px solid #e4e6ec;
}
.operation-drawer-heading h2 {
	font-family: inherit;
	font-weight: 750;
	font-size: 1.35rem;
	line-height: 1.2;
	margin: 4px 0;
}
.operation-drawer-heading button {
	min-height: 44px;
	padding: 8px 14px;
	font-size: 0.9rem;
}
.operation-nav-label {
	margin: 24px 12px 8px;
	color: #6b7486;
	font-size: 0.68rem;
	letter-spacing: 0.11em;
	font-weight: 750;
	text-transform: uppercase;
}
.operation-nav-label:has(+ nav[hidden]) {
	display: none;
}
.operation-drawer .operation-navigation,
.operation-drawer .role-navigation {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 4px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}
.operation-drawer nav[hidden],
.operation-drawer nav button[hidden],
.operation-drawer a[hidden] {
	display: none;
}
.operation-drawer nav button,
.operation-drawer #manager-cashier {
	display: block;
	width: 100%;
	min-width: 0;
	min-height: 48px;
	padding: 12px;
	border: 0;
	border-radius: 9px;
	background: transparent;
	color: #263149;
	text-align: left;
	font-size: 0.94rem;
	line-height: 1.35;
	text-decoration: none;
	white-space: normal;
	word-break: normal;
	overflow-wrap: normal;
}
.operation-drawer nav button[aria-current="page"] {
	background: #edf0fd;
	color: #2944a0;
	box-shadow: inset 3px 0 #4662c7;
	font-weight: 750;
}
.operation-drawer nav button:hover {
	background: #f1f3f8;
	transform: none;
}
.operation-drawer :is(button, a):focus-visible,
.operation-menu-trigger:focus-visible {
	outline: 3px solid #5275df;
	outline-offset: 2px;
}
.operation-drawer-footer {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-top: 24px;
	padding: 20px 4px 4px;
	border-top: 1px solid #e4e6ec;
	background: none;
}
.operation-drawer-footer .alert-tools {
	display: grid;
	order: 0;
	width: auto;
	min-width: 0;
	justify-items: start;
	gap: 8px;
}
.operation-drawer-footer #alert-status {
	font-size: 0.75rem;
	line-height: 1.45;
	color: #677086;
}
#operation-menu #alert-status[data-state="clear"] {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}
#operation-menu :is(.operation-navigation, .role-navigation) button {
	min-height: 46px;
	height: auto;
	padding: 10px 12px;
	border: 0;
	background: transparent;
	color: #263149;
	border-radius: 8px;
	box-shadow: none;
	font-size: 0.94rem;
	line-height: 1.3;
}
#operation-menu #close-operation-menu {
	background: #f1f3f8;
	color: #263149;
}
#operation-menu .alert-modes {
	display: flex;
	gap: 10px;
}
#operation-menu .alert-mode,
#operation-menu #logout {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	min-height: 48px;
	padding: 10px;
	border: 1px solid #d4d9e3;
	border-radius: 12px;
	background: #f1f3f8;
	color: #667087;
	box-shadow: none;
	transform: none;
	transition: none;
}
#operation-menu .alert-mode[aria-pressed="true"] {
	background: #edf0fd;
	border-color: #b5c1ec;
	color: #2944a0;
}
#operation-menu .alert-mode:disabled {
	color: #8992a4;
	background: #f6f7f9;
	opacity: 0.6;
	cursor: not-allowed;
}
.alert-mode svg,
#logout svg {
	width: 26px;
	height: 26px;
}
.alert-mode[aria-pressed="true"] .alert-mode-off,
.alert-mode[aria-pressed="false"] .alert-mode-on {
	display: none;
}
#operation-menu #alert-status {
	color: #5c667b;
}
#operation-menu #logout {
	flex: 0 0 48px;
	color: #667087;
	background: transparent;
	border-color: transparent;
}
#operation-menu #logout:not(:disabled):hover {
	color: #8c3434;
	background: #fff2ee;
}
#operation-menu #manager-cashier {
	color: #263149;
}
#operation-menu
	:is(.operation-navigation, .role-navigation)
	button[aria-current="page"] {
	background: #edf0fd;
	color: #2944a0;
	box-shadow: inset 3px 0 #4662c7;
}
#operation-menu :is(.operation-navigation, .role-navigation) button:hover {
	background: #f1f3f8;
}
.operation-page #floor .page-heading h1 {
	font-family: inherit;
	font-size: clamp(1.65rem, 3.2vw, 2.5rem);
	line-height: 1.12;
	letter-spacing: -0.04em;
}
#floor-title:focus {
	outline: none;
}
.operation-page #floor .table-card .table-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 12px;
}
.operation-page #floor .table-card .table-bottom > * {
	min-width: 0;
	max-width: 100%;
	word-break: normal;
	overflow-wrap: normal;
}
.operation-page #floor .table-card .table-bottom strong {
	white-space: nowrap;
}
@media (max-width: 600px) {
	#floor .metrics {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0;
		padding: 8px 0;
		margin-bottom: 18px;
	}
	#floor .metric {
		padding: 10px 14px;
		border: 0;
	}
	#floor .metric span {
		font-size: 0.75rem;
	}
	#floor .metric strong {
		font-size: 1.5rem;
		line-height: 1.3;
	}
	#floor .metric small {
		display: none;
	}
	#floor .metric:last-child {
		grid-column: 1 / -1;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
	}
	.operation-page .app-header {
		padding-inline: 14px;
		gap: 12px;
	}
	.operation-page .page-heading {
		align-items: start;
		flex-direction: column;
		gap: 12px;
	}
	.operation-page .legend {
		flex-wrap: wrap;
		gap: 10px;
	}
	.operation-page .workspace-top {
		flex-direction: column;
		align-items: start;
		gap: 5px;
	}
	.operation-drawer {
		padding: 18px 14px;
	}
}
