/* The sheet picker's listbox (thread-switcher.md's popover). Action menus are the shared dropdown
   (components.css, .menu). Linked from _base.html. */

/* --- Menu (the thread switcher's popover, components/thread-switcher.md) ------------------- */

.theca-menu {
	position: absolute;
	top: calc(100% + var(--space-3));
	right: 0;
	z-index: 20;
	min-width: 200px;
	padding: var(--space-2);
	border: 0.5px solid var(--color-border-default);
	border-radius: var(--radius-lg);
	background: var(--color-background-surface);
	box-shadow: var(--shadow-lg);
}

.theca-menu-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-5);
	width: 100%;
	padding: var(--space-3) var(--space-4);
	border: none;
	border-radius: var(--radius-md);
	background: none;
	font-family: var(--font-body);
	font-size: var(--font-size-sm);
	font-weight: var(--font-weight-medium);
	color: var(--color-text-primary);
	text-align: left;
	cursor: pointer;
}

.theca-menu-item:hover,
.theca-menu-item:focus-visible {
	outline: none;
	background: var(--color-background-subtle);
}
