/* module-actions — caller-specific tweaks on top of the shared
   `toolbox` primitive. Trigger + panel chrome live in toolbox.css. */

page-module,
inner-column,
shortcut-card {
	position: relative;
}

/* Corner placement when the trigger is a direct child of a positioned
   wrapper. Otherwise (default) the trigger flows inline — e.g. inside
   a .meta-row next to "Last updated:" in page-header. */
page-module > button.module-actions-trigger,
inner-column > button.module-actions-trigger,
shortcut-card > button.module-actions-trigger {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	z-index: 5;
}

/* Panel content rules — list of links variant. */
.module-actions-panel ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.5rem;
}

/* Slot-content forms: don't stretch submit buttons to full panel width. */
.module-actions-panel form {
	justify-items: start;
}
