.ops-success-heading {
	align-items: center;
	display: flex;
	gap: 16px;
	justify-content: space-between;
}

.ops-success-heading h2,
.ops-success-heading p,
.ops-success-location-card h2 {
	margin-bottom: 4px;
	margin-top: 0;
}

.ops-success-filter {
	align-items: end;
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(160px, 240px) minmax(160px, 240px) minmax(190px, max-content) max-content;
}

.ops-success-filter label {
	font-weight: bold;
}

.ops-success-filter input[type="date"] {
	box-sizing: border-box;
	display: block;
	margin-top: 5px;
	width: 100%;
}

.ops-success-checkbox {
	align-items: center;
	display: flex;
	gap: 7px;
	min-height: 38px;
	white-space: nowrap;
}

.ops-success-checkbox input {
	height: 17px;
	margin: 0;
	width: 17px;
}

.ops-success-summary-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ops-success-location-card {
	min-width: 0;
}

.ops-success-metric-grid {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin-top: 12px;
}

.ops-success-metric {
	background: #f5f8fb;
	border: 1px solid #d7e0e8;
	border-radius: 6px;
	min-width: 0;
	padding: 10px 7px;
	text-align: center;
}

.ops-success-metric span {
	color: #50606d;
	display: block;
	font-size: clamp(10px, 0.8vw, 13px);
	line-height: 1.2;
	min-height: 31px;
}

.ops-success-metric strong {
	color: var(--ops-home-color, #1f4f7a);
	display: block;
	font-size: clamp(19px, 1.65vw, 28px);
	font-variant-numeric: tabular-nums;
	margin-top: 4px;
}

.ops-success-table-wrap {
	max-height: 540px;
	overflow: auto;
}

.ops-success-table {
	margin-top: 10px;
	min-width: 860px;
	width: 100%;
}

.ops-success-table thead th {
	position: sticky;
	top: 0;
	z-index: 2;
}

.ops-success-table th:nth-child(1),
.ops-success-table td:nth-child(1) {
	width: 9%;
}

.ops-success-table th:nth-child(2),
.ops-success-table td:nth-child(2) {
	width: 11%;
}

.ops-success-table th:nth-child(3),
.ops-success-table td:nth-child(3) {
	width: 25%;
}

.ops-success-table th:nth-child(4),
.ops-success-table td:nth-child(4),
.ops-success-table th:nth-child(5),
.ops-success-table td:nth-child(5) {
	width: 14%;
}

.ops-success-table th:nth-child(6),
.ops-success-table td:nth-child(6) {
	text-align: right;
	width: 13%;
}

.ops-success-table th:nth-child(7),
.ops-success-table td:nth-child(7) {
	text-align: center;
	width: 14%;
}

.ops-success-days {
	font-variant-numeric: tabular-nums;
	font-weight: bold;
}

.ops-success-days-good,
.ops-success-status-good {
	color: #137333;
}

.ops-success-days-bad,
.ops-success-status-bad {
	color: #b3261e;
}

.ops-success-days-warning,
.ops-success-status-warning {
	color: #a65d00;
}

.ops-success-status {
	border: 1px solid currentColor;
	border-radius: 999px;
	display: inline-block;
	font-size: 12px;
	font-weight: bold;
	line-height: 1.2;
	padding: 3px 8px;
	white-space: nowrap;
}

.ops-success-empty {
	color: #68737c;
	font-style: italic;
	padding: 16px !important;
	text-align: center !important;
}

.ops-success-method summary {
	cursor: pointer;
	font-weight: bold;
}

@media (max-width: 1100px) {
	.ops-success-summary-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 720px) {
	.ops-success-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.ops-success-filter {
		grid-template-columns: 1fr;
	}

	.ops-success-metric-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media print {
	.ops-success-filter,
	.ops-success-heading .button {
		display: none;
	}

	.ops-success-table-wrap {
		max-height: none;
		overflow: visible;
	}
}
