/**
 * Privacy data retention settings screen and the privacy request log
 * (wp-admin only — never loaded on the front end).
 */

.franchesco-retention__intro {
	max-width: 46rem;
	font-size: 14px;
	line-height: 1.6;
}

.franchesco-retention__schedule {
	max-width: 46rem;
	margin: 8px 0 16px;
	padding: 10px 12px;
	font-size: 13px;
	line-height: 1.6;
	color: #50575e;
	background: #f6f7f7;
	border-left: 4px solid #2271b1;
}

.franchesco-retention h2 {
	margin-top: 32px;
}

.franchesco-retention__log {
	max-width: 60rem;
	margin: 12px 0 24px;
}

.franchesco-retention__log th,
.franchesco-retention__log td {
	padding: 10px 12px;
	vertical-align: middle;
	line-height: 1.5;
}

.franchesco-retention__log thead th {
	font-weight: 600;
}

.franchesco-retention__log td:first-child {
	white-space: nowrap;
}

.franchesco-pr-anonymized {
	display: inline-block;
	margin-top: 4px;
	padding: 1px 6px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.6;
	color: #1d4620;
	background: #edfaef;
	border: 1px solid #b7e0bd;
	border-radius: 3px;
}

/* The "Mark fulfilled" row action on the privacy request list. */
.post-type-privacy_request .row-actions .franchesco_fulfil a {
	color: #b32d2e;
}

.post-type-privacy_request .row-actions .franchesco_fulfil a:hover,
.post-type-privacy_request .row-actions .franchesco_fulfil a:focus-visible {
	color: #8a2424;
	text-decoration: underline;
}

/* The anonymized / still-waiting tally on a run summary row. */
.franchesco-retention__counts {
	display: inline-block;
	margin-left: 4px;
	color: #646970;
	font-size: 12px;
	white-space: nowrap;
}

@media screen and (max-width: 782px) {

	.franchesco-retention__log th,
	.franchesco-retention__log td {
		padding: 8px;
		font-size: 13px;
	}

	.franchesco-retention__log td:first-child {
		white-space: normal;
	}
}
