.mos-rule {
	max-width: 640px;
	margin: 16px 0;
	padding: 16px;
	border: 1px solid #c3c4c7;
	background: #fff;
}

.mos-rule legend {
	padding: 0 6px;
	font-weight: 600;
}

.mos-rule select,
.mos-rule input[type="number"] {
	width: 100%;
	max-width: 480px;
}

.mos-weekday {
	display: inline-block;
	margin: 0 16px 8px 0;
}

.mos-picker {
	margin: 16px 0;
	padding: 5px !important;
	border: 1px solid #ddd;
	max-width: 420px;
}

.mos-calendar-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.mos-calendar {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	margin: 8px 0;
}

.mos-calendar th,
.mos-calendar td {
	text-align: center;
	padding: 2px;
	border: 0;
}

.mos-calendar button {
	width: 100%;
	min-height: 36px;
	padding: 4px;
	border: 1px solid #bbb;
	border-radius: 3px;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.mos-calendar button[aria-pressed="true"] {
	background: #333;
	color: #fff;
	border-color: #333;
}

.mos-picker button:disabled {
	opacity: .35;
	cursor: not-allowed;
}

.mos-picker button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.mos-error {
	color: #b32d2e;
}

.mos-classic-picker:empty {
	display: none;
}

.mos-product-guidance[hidden] {
	display: none !important;
}