/* AzBHPA Board Dashboard — scoped under .azbhpa-dash */
.azbhpa-dash {
	--azb-dark: #1f4d3f;
	--azb-accent: #2f5d4f;
	--azb-deep: #173f43;
	--azb-ink: #192c39;
	--azb-muted: #3d534c;
	--azb-paper: #f6f4ee;
	--azb-mint: #e7f4f0;
	--azb-line: #cfe0d8;
	--azb-white: #ffffff;
	--azb-hold: #6a4c16;
	--azb-hold-bg: #f6eed8;
	--azb-cancel: #5c3d3d;
	--azb-cancel-bg: #f3e6e6;
	box-sizing: border-box;
	color: var(--azb-ink);
	background: var(--azb-white);
	font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.55;
	max-width: 1100px;
	margin: 0 auto;
	padding: 8px 0 24px;
}

.azbhpa-dash *,
.azbhpa-dash *::before,
.azbhpa-dash *::after {
	box-sizing: inherit;
}

.azbhpa-dash a {
	color: var(--azb-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.azbhpa-dash a:hover,
.azbhpa-dash a:focus-visible {
	color: var(--azb-dark);
}

.azbhpa-dash a:focus-visible,
.azbhpa-dash__refresh a:focus-visible {
	outline: 3px solid var(--azb-dark);
	outline-offset: 2px;
}

.azbhpa-dash__header {
	background: var(--azb-dark);
	color: var(--azb-white);
	padding: 28px 28px 24px;
	border-radius: 10px;
	margin-bottom: 28px;
}

.azbhpa-dash__eyebrow {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #cfe8df;
}

.azbhpa-dash__title {
	margin: 0 0 12px;
	font-size: 2rem;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: var(--azb-white);
}

.azbhpa-dash__meta {
	margin: 0 0 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	align-items: center;
	color: #e7f4f0;
	font-size: 0.95rem;
}

.azbhpa-dash__pill {
	display: inline-block;
	background: #164033;
	border: 1px solid #9ec9b8;
	color: #e7f4f0;
	border-radius: 999px;
	padding: 2px 10px;
	font-size: 0.8rem;
	font-weight: 600;
}

.azbhpa-dash__pill--live {
	background: #e7f4f0;
	color: var(--azb-dark);
	border-color: #e7f4f0;
}

.azbhpa-dash__source {
	margin: 0;
	font-size: 0.92rem;
	color: #dbece5;
}

.azbhpa-dash__source-notes {
	display: block;
	margin-top: 4px;
	color: #c5d9d1;
}

.azbhpa-dash__refresh {
	margin: 14px 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	align-items: baseline;
	font-size: 0.88rem;
	color: #c5d9d1;
}

.azbhpa-dash__refresh a {
	color: #ffffff;
	font-weight: 700;
}

.azbhpa-dash__section {
	margin: 0 0 36px;
	padding: 0 4px;
}

.azbhpa-dash__section > h2 {
	margin: 0 0 8px;
	font-size: 1.45rem;
	letter-spacing: -0.02em;
	color: var(--azb-dark);
}

.azbhpa-dash__subhead {
	margin: 24px 0 8px;
	font-size: 1.1rem;
	color: var(--azb-accent);
}

.azbhpa-dash__lede {
	margin: 0 0 18px;
	max-width: 70ch;
	color: var(--azb-muted);
	font-size: 0.95rem;
}

.azbhpa-dash__cards {
	list-style: none;
	margin: 0 0 8px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.azbhpa-dash__cards--three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.azbhpa-dash__card {
	background: var(--azb-paper);
	border: 1px solid var(--azb-line);
	border-radius: 10px;
	padding: 18px 18px 16px;
	min-height: 100%;
}

.azbhpa-dash__card--primary {
	background: var(--azb-mint);
	border-color: #b7d4c8;
}

.azbhpa-dash__card--muted {
	background: #fbfaf7;
}

.azbhpa-dash__card h3 {
	margin: 0 0 8px;
	font-size: 0.85rem;
	letter-spacing: 0.02em;
	text-transform: none;
	color: var(--azb-accent);
	font-weight: 700;
}

.azbhpa-dash__value {
	margin: 0;
	font-size: 2rem;
	line-height: 1.1;
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--azb-dark);
}

.azbhpa-dash__hint,
.azbhpa-dash__secondary {
	margin: 8px 0 0;
	font-size: 0.82rem;
	line-height: 1.45;
	color: var(--azb-muted);
}

.azbhpa-dash__secondary {
	font-weight: 600;
	color: var(--azb-accent);
}

.azbhpa-dash__table {
	width: 100%;
	border-collapse: collapse;
	background: var(--azb-white);
	border: 1px solid var(--azb-line);
	border-radius: 8px;
	overflow: hidden;
	font-size: 0.95rem;
}

.azbhpa-dash__caption {
	text-align: left;
	caption-side: top;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--azb-muted);
	padding: 0 0 8px;
}

.azbhpa-dash__table th,
.azbhpa-dash__table td {
	padding: 10px 12px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--azb-line);
}

.azbhpa-dash__table thead th {
	background: var(--azb-dark);
	color: var(--azb-white);
	font-weight: 700;
	font-size: 0.82rem;
	letter-spacing: 0.02em;
}

.azbhpa-dash__table tbody tr:nth-child(even) {
	background: #f8faf8;
}

.azbhpa-dash__table tbody tr:last-child td,
.azbhpa-dash__table tfoot th,
.azbhpa-dash__table tfoot td {
	border-bottom: 0;
}

.azbhpa-dash__table tfoot th,
.azbhpa-dash__table tfoot td {
	background: var(--azb-mint);
	font-weight: 700;
	color: var(--azb-dark);
}

.azbhpa-dash__num {
	text-align: right !important;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.azbhpa-dash__status {
	display: inline-block;
	border-radius: 999px;
	padding: 2px 8px;
	font-size: 0.8rem;
	font-weight: 700;
	background: var(--azb-mint);
	color: var(--azb-dark);
}

.azbhpa-dash__status--pending-cancel {
	background: var(--azb-hold-bg);
	color: var(--azb-hold);
}

.azbhpa-dash__status--on-hold {
	background: #e7edf3;
	color: #1e3a4c;
}

.azbhpa-dash__status--cancelled,
.azbhpa-dash__status--expired {
	background: var(--azb-cancel-bg);
	color: var(--azb-cancel);
}

.azbhpa-dash__kind {
	display: block;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--azb-muted);
}

.azbhpa-dash__empty {
	background: var(--azb-paper);
	border: 1px dashed var(--azb-accent);
	border-radius: 10px;
	padding: 20px 22px;
	color: var(--azb-ink);
	max-width: 70ch;
}

.azbhpa-dash__empty p {
	margin: 0;
}

.azbhpa-dash__footer {
	border-top: 1px solid var(--azb-line);
	padding-top: 16px;
	color: var(--azb-muted);
	font-size: 0.85rem;
}

.azbhpa-dash__gate {
	max-width: 40rem;
	margin: 16px auto;
	padding: 28px 24px;
	background: var(--azb-paper);
	border: 1px solid var(--azb-line);
	border-radius: 10px;
	color: var(--azb-ink);
}

.azbhpa-dash__gate h1,
.azbhpa-dash__gate p {
	margin: 0 0 12px;
}

.azbhpa-dash__gate h1 {
	color: var(--azb-dark);
	font-size: 1.5rem;
}

.azbhpa-dash__gate a {
	font-weight: 700;
}

@media (max-width: 800px) {
	.azbhpa-dash__cards,
	.azbhpa-dash__cards--three {
		grid-template-columns: 1fr 1fr;
	}

	.azbhpa-dash__table--wide {
		display: block;
		overflow-x: auto;
	}

	.azbhpa-dash__header {
		padding: 22px 18px;
	}
}

@media (max-width: 560px) {
	.azbhpa-dash__cards,
	.azbhpa-dash__cards--three {
		grid-template-columns: 1fr;
	}

	.azbhpa-dash__title {
		font-size: 1.65rem;
	}
}

@media print {
	.azbhpa-dash {
		max-width: none;
		color: #111;
		background: #fff;
		font-size: 11pt;
	}

	.azbhpa-dash__header {
		background: #fff !important;
		color: #111 !important;
		border: 2px solid #1f4d3f;
		border-radius: 0;
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}

	.azbhpa-dash__eyebrow,
	.azbhpa-dash__title,
	.azbhpa-dash__meta,
	.azbhpa-dash__source,
	.azbhpa-dash__source-notes,
	.azbhpa-dash__refresh span {
		color: #111 !important;
	}

	.azbhpa-dash__refresh a,
	.azbhpa-dash__pill {
		display: none !important;
	}

	.azbhpa-dash__card,
	.azbhpa-dash__section,
	.azbhpa-dash__table {
		break-inside: avoid;
	}

	.azbhpa-dash__table thead th {
		background: #1f4d3f !important;
		color: #fff !important;
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}

	.azbhpa-dash a[href]::after {
		content: none !important;
	}

	.azbhpa-dash__footer {
		break-inside: avoid;
	}
}
