/* Frequent cashier actions open immediately; no decorative motion. */
.pdv-account-card,
.operation-account-card {
	position: relative;
	min-width: 0;
}
.cashier-page #main .pdv-account-card > .pdv-table {
	width: 100%;
	height: 100%;
}
.pdv-account-card .pdv-table-caption {
	padding-right: 36px;
	min-height: 28px;
}
.pdv-account-card > :where(h2) {
	padding-right: 44px;
}
.account-menu-trigger {
	position: absolute;
	z-index: 1;
	top: 10px;
	right: 10px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	min-height: 44px;
	padding: 0;
	border: 1px solid var(--venue-line, #bcb5ca);
	border-radius: 12px;
	background: var(--venue-panel, #f6f3fb);
	color: var(--venue-panel-text, #32264b);
	font-size: 28px;
	line-height: 1;
	box-shadow: none;
}
.account-menu-trigger:hover:not(:disabled),
.account-menu-trigger[aria-expanded="true"] {
	background: var(--brand, #6240bd);
	color: var(--brand-contrast, #fff);
	border-color: var(--brand, #6240bd);
}
.account-menu-trigger:focus-visible {
	outline: 3px solid var(--brand, #6240bd);
	outline-offset: 3px;
}
.account-action-popover {
	position: fixed;
	inset: auto;
	margin: 0;
	padding: 8px;
	max-width: calc(100vw - 24px);
	overflow-y: auto;
	overscroll-behavior: contain;
	border: 1px solid var(--venue-line, #c6bdcf);
	border-radius: 16px;
	background: var(--venue-panel, #fff);
	color: var(--venue-panel-text, #241c32);
	box-shadow: 0 16px 48px rgb(12 8 24 / 0.26);
}
.account-action-popover .account-action-heading {
	margin: 0;
	padding: 10px 12px 14px;
	font-size: 14px;
	font-weight: 800;
	overflow-wrap: anywhere;
}
.account-action-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
.account-action-popover .account-menu-dismiss {
	flex: 0 0 auto;
	min-height: 44px;
	min-width: 64px;
	padding: 0 14px;
	border: 1px solid var(--venue-line, #c6bdcf);
	border-radius: 10px;
	background: var(--venue-panel, #fff);
	color: var(--venue-panel-text, #241c32);
	font-size: 14px;
}
.account-action-popover .account-menu-dismiss:focus-visible {
	outline: 3px solid var(--brand, #6240bd);
	outline-offset: 2px;
}
.account-action-popover .account-action-item {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr);
	align-items: center;
	justify-content: center;
	gap: 4px 12px;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 10px 12px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: inherit;
	box-shadow: none;
	text-align: left;
	font-size: 15px;
	line-height: 1.35;
	font-weight: 650;
}
.account-action-popover .account-action-item:hover,
.account-action-popover .account-action-item:focus-visible {
	background: color-mix(
		in srgb,
		var(--brand, #6240bd) 12%,
		var(--venue-panel, #fff)
	);
	outline: 2px solid var(--brand, #6240bd);
	outline-offset: -2px;
}
.account-action-popover .account-action-item[aria-disabled="true"] {
	font-weight: 500;
	color: var(--venue-panel-text, var(--gr-ink, #092144));
	background: var(--venue-panel, var(--gr-surface, #fff));
	border: 1px dashed var(--venue-line, var(--gr-line, #ccd5df));
	cursor: help;
}
.account-action-feedback {
	margin: 0;
	padding: 10px 12px;
	color: var(--venue-panel-text, var(--gr-ink, #092144));
	background: var(--venue-panel, var(--gr-surface, #fff));
	font-size: 14px;
	line-height: 1.45;
	overflow-wrap: anywhere;
}
.account-action-feedback:empty {
	padding: 0;
}
.account-action-reason {
	grid-column: 2;
	font-size: 12px;
	line-height: 1.4;
	font-weight: 450;
	overflow-wrap: anywhere;
}
.account-action-icon {
	display: block;
	width: 24px;
	height: 24px;
	background-color: currentColor;
	-webkit-mask: var(--account-icon) center / contain no-repeat;
	mask: var(--account-icon) center / contain no-repeat;
}
.account-action-popover
	.account-action-item[data-account-action="cancel"]
	.account-action-label,
.account-action-popover
	.account-action-item[data-account-action="block"]
	.account-action-label {
	color: var(--venue-panel-text, #8b2727);
}
.operation-account-card .account-card-head {
	padding-right: 44px;
}
@media (max-width: 560px) {
	.account-menu-trigger {
		top: 8px;
		right: 6px;
		width: 44px;
		min-width: 44px;
	}
	.pdv-account-card .pdv-table-caption {
		padding-right: 44px;
		min-height: 36px;
	}
	.account-action-popover .account-action-item {
		min-height: 48px;
	}
}
