/* shell/shell-trays.css — responsive tray refinements kept apart from the
   global shell chrome so the shell stylesheet does not keep growing. */

/* Trays touch the physical edge on phones. Activity has its own safe-area
   footer; More and Shortlist need their final row above the home indicator. */
.tray-header {
	padding-right: calc(16px + env(safe-area-inset-right, 0px));
	padding-left: calc(16px + env(safe-area-inset-left, 0px));
}
.tray-body {
	padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	overscroll-behavior: contain;
}

/* The existing global coarse-pointer floor only gives buttons a 44px height.
   This standalone close control also needs a 44px horizontal target. */
.tray-close {
	width: var(--ctl-h);
	height: var(--ctl-h);
	min-width: var(--ctl-h);
	min-height: var(--ctl-h);
}
