.altitude-lead-reports-admin {
	max-width: 1180px;
}

.alr-admin-hero {
	background: #00112f;
	border-radius: 12px;
	color: #fff;
	margin: 18px 0;
	padding: 28px 32px;
}

.alr-admin-hero p {
	color: rgba(255, 255, 255, 0.72);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.alr-admin-hero h1 {
	color: #fff;
	font-size: 30px;
	line-height: 1.2;
	margin: 0;
}

.alr-panel,
.alr-card,
.alr-report {
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(10, 10, 10, 0.04);
	margin: 16px 0;
	padding: 18px;
}

.alr-clients {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 16px 0 24px;
}

.alr-client-card {
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 16px;
}

.alr-client-card__header {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin-bottom: 12px;
}

.alr-client-card__header h3 {
	color: #00112f;
	font-size: 1rem;
	margin: 0;
}

.alr-client-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.alr-client-grid label {
	display: block;
}

.alr-client-grid span {
	color: #4b5563;
	display: block;
	font-size: 0.78rem;
	font-weight: 700;
	margin-bottom: 4px;
	text-transform: uppercase;
}

.alr-client-grid input,
.alr-client-grid select {
	background: #fff;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	box-sizing: border-box;
	font-size: 0.92rem;
	line-height: 1.2;
	min-height: 38px;
	padding: 8px 10px;
	width: 100%;
}

.alr-range-form {
	align-items: end;
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	box-shadow: none;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 14px 0 0;
	padding: 12px;
}

.alr-range-form label {
	display: grid;
	gap: 5px;
}

.alr-range-form .alr-custom-date-field {
	display: none;
}

.alr-range-form.is-custom .alr-custom-date-field {
	display: grid;
}

.alr-range-form span {
	color: #4b5563;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
}

.alr-range-form input,
.alr-range-form select {
	border: 1px solid #d1d5db;
	border-radius: 8px;
	min-height: 38px;
	padding: 7px 10px;
}

.alr-range-form button {
	background: #f4991a;
	border: 1px solid #f4991a;
	border-radius: 8px;
	color: #1f1f1f;
	cursor: pointer;
	font-weight: 800;
	min-height: 38px;
	padding: 7px 16px;
}

.alr-client-form {
	margin-top: 16px;
}

.alr-client-form .description {
	color: #5b6b82;
	margin: 12px 0;
}

.alr-clients-table code {
	background: #f6f8fb;
	border-radius: 6px;
	color: #00112f;
	display: inline-block;
	padding: 4px 7px;
}

.alr-clients-table .button {
	margin: 2px 6px 2px 0;
}

.alr-clients-table .button-link-delete {
	color: #b32d2e;
	text-decoration: none;
}

.alr-report--error,
.altitude-lead-report--error {
	background: rgba(185, 28, 28, 0.08);
	border: 1px solid rgba(185, 28, 28, 0.25);
	border-radius: 10px;
	color: #991b1b;
	margin: 12px 0;
	padding: 10px 12px;
}

.alr-report-header {
	border-bottom: 1px solid #ececec;
	margin-bottom: 16px;
	padding-bottom: 12px;
}

.alr-report.is-loading {
	opacity: 0.55;
	pointer-events: none;
	position: relative;
}

.alr-definitions {
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	border-left: 4px solid #f4991a;
	border-radius: 12px;
	color: #52657f;
	margin: 14px 0 16px;
	padding: 12px 14px;
}

.alr-definitions p {
	color: #00112f;
	margin: 0 0 6px;
}

.alr-definitions ul {
	margin: 0;
	padding-left: 18px;
}

.alr-definitions li {
	margin: 4px 0;
}

.alr-metrics {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	margin: 16px 0;
}

.alr-metric {
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 14px;
}

.alr-metric strong {
	color: #00112f;
	display: block;
	font-size: 1.6rem;
	line-height: 1.1;
	margin-bottom: 6px;
}

.alr-metric span {
	color: #6b7280;
	font-size: 0.82rem;
	font-weight: 700;
	text-transform: uppercase;
}

.alr-metric em {
	color: #6b7280;
	display: block;
	font-size: 0.78rem;
	font-style: normal;
	font-weight: 700;
	margin-top: 6px;
}

.alr-metric em.is-positive {
	color: #15803d;
}

.alr-metric em.is-negative {
	color: #b91c1c;
}

.alr-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.alr-card {
	min-width: 0;
}

.alr-card h3 {
	color: #00112f;
	font-size: 1.05rem;
	margin: 0 0 12px;
}

.altitude-report-table-wrap {
	overflow-x: auto;
}

.altitude-report-table {
	border-collapse: collapse;
	min-width: 620px;
	width: 100%;
}

.altitude-report-table th,
.altitude-report-table td {
	border-bottom: 1px solid #eeeeee;
	font-size: 0.92rem;
	padding: 10px;
	text-align: left;
	vertical-align: top;
}

.altitude-report-table th {
	background: #fafafa;
	color: #4b5563;
	font-size: 0.8rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.alr-recommendation {
	border-left: 4px solid #f4991a;
	margin: 0 0 12px;
	padding: 8px 0 8px 12px;
}

.alr-recommendation strong {
	color: #00112f;
	display: block;
	margin-bottom: 4px;
}

.alr-recommendation p {
	color: #6b7280;
	margin: 0;
}

.alr-panel .form-table th {
	color: #00112f;
}

.alr-panel .button-primary,
.alr-panel .button {
	border-radius: 8px;
	font-weight: 700;
}

.alr-panel .button-primary {
	background: #f4991a;
	border-color: #f4991a;
	color: #1f1f1f;
}

.alr-panel .button-primary:hover,
.alr-panel .button-primary:focus {
	background: #e5890f;
	border-color: #e5890f;
	color: #1f1f1f;
}

@media (max-width: 900px) {
	.alr-grid,
	.alr-clients,
	.alr-client-grid {
		grid-template-columns: 1fr;
	}
}
