/*
 * Dashboard - scoped modern stat-tile styles (2026-08-25).
 * Namespaced under .dash so it cannot leak into other AdminLTE pages -
 * same convention as .llc in lead-lifecycle.css. Replaces the old
 * full-bleed-color .small-box tiles with white cards + colored accents,
 * matching the design language already established in lead-lifecycle.css.
 */

.dash {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.dash-section { margin: 0 0 26px; }

.dash-section-hd {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 12.5px;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #64748b;
	margin: 0 0 12px;
}

.dash-section-hd .dash-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--dash-accent, #2563eb);
	flex: 0 0 auto;
}

.dash-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 12px;
}

/* Two big clickable summary cards - full solid color, click to reveal the
   matching section's detail tiles below. */
.dash-hero-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }

.dash-hero {
	flex: 1 1 260px;
	min-width: 240px;
	cursor: pointer;
	user-select: none;
	border-radius: 14px;
	padding: 20px 24px;
	color: #fff;
	background: var(--dash-accent, #2563eb);
	box-shadow: 0 4px 14px rgba(15, 23, 42, .14);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	transition: transform .15s ease, box-shadow .15s ease;
}

.dash-hero:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 23, 42, .2); }

.dash-hero-label {
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	opacity: .85;
	margin-bottom: 4px;
}

.dash-hero-num { font-size: 32px; font-weight: 700; line-height: 1; }
.dash-hero-icon { font-size: 26px; opacity: .8; }
.dash-hero-chevron { font-size: 15px; opacity: .75; transition: transform .2s ease; }
.dash-hero.is-open .dash-hero-chevron { transform: rotate(180deg); }

/* Detail tiles - full solid color (client direction 2026-08-25: "full
   color cards"), text in white with a soft shadow for legibility across
   arbitrary status colors, same technique .llc-status already uses. */
.dash-tile {
	display: flex;
	flex-direction: column;
	gap: 3px;
	background: var(--dash-accent, #2563eb);
	border: none;
	border-radius: 10px;
	padding: 16px 18px 14px;
	box-shadow: 0 1px 3px rgba(15, 23, 42, .12);
	text-decoration: none;
	color: #fff;
	transition: box-shadow .15s ease, transform .15s ease;
}

.dash-tile:hover,
.dash-tile:focus {
	box-shadow: 0 8px 20px rgba(15, 23, 42, .18);
	transform: translateY(-2px);
	text-decoration: none;
	color: #fff;
}

.dash-tile-num {
	font-size: 27px;
	font-weight: 700;
	color: #fff;
	line-height: 1.15;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
}

.dash-tile-label {
	font-size: 12.5px;
	color: rgba(255, 255, 255, .92);
	font-weight: 500;
	line-height: 1.3;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .15);
}

.dash-tile-more {
	margin-top: 8px;
	font-size: 11px;
	color: rgba(255, 255, 255, .7);
	display: flex;
	align-items: center;
	gap: 4px;
}

.dash-tile:hover .dash-tile-more { color: #fff; }

.dash-toggle-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 10px 0 4px;
}

.dash-toggle-link {
	font-weight: 600;
	font-size: 12.5px;
	color: #2563eb;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.dash-toggle-link:hover { text-decoration: underline; }

.dash-hidden-note { color: #94a3b8; font-size: 11.5px; }

.dash-settings { margin-left: auto; }
