/* tap tiles over the step form (www/js/choice-tiles.js) */
.ct-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	max-width: 420px;
	margin: 12px auto 14px;
	padding: 0 6px;
}
.ct-grid--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 320px; }
.ct-grid--day { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.ct-grid--number { grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); }
.ct-tile {
	min-width: 0;
	min-height: 46px;
	padding: 8px 4px;
	border: 1px solid #c9b6dd;
	border-radius: 12px;
	background: #fff;
	color: #3b2a4a;
	font: inherit;
	font-size: 16px;
	line-height: 1.2;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background .15s, border-color .15s, transform .1s;
}
.ct-grid--day .ct-tile { min-height: 40px; padding: 6px 0; font-size: 15px; border-radius: 10px; }
.ct-tile:active { transform: scale(.97); }
.ct-tile.is-selected {
	background: #5b3a7a;
	border-color: #5b3a7a;
	color: #fff;
}
.ct-tile.is-selected::after { content: " \2713"; }
.ct-grid--day .ct-tile.is-selected::after { content: ""; }
.ct-grid.is-busy { opacity: .6; pointer-events: none; }
.ct-label { margin: 10px 0 0; font-size: 15px; color: #6b5a7a; }

/* the original controls stay in the form (they are what gets submitted) */
.ct-single .ct-hide,
.ct-single #send-area,
.ct-pick .ct-hide,
.ct-date select[name="date_day"],
.ct-date select[name="date_month"] { display: none; }
