/**
 * iERA design tokens — restrained green shell (Intranet 2.0 hybrid).
 *
 * Match Gantry / JomSocial overrides to these values:
 *   Brand:        #1B5E3B  (deep forest)
 *   Brand hover:  #164A30
 *   Soft brand:   #E8F2EC  (muted sage wash)
 *   Accent:       #3D7A5A  (desaturated green)
 *   Surface:      #F7F8F5
 *   Card:         #FFFFFF
 *   Text:         #1A2420
 *   Muted text:   #5C6B63
 *   Border:       #D5DDD7
 *
 * Avoid saturating large surfaces with brand green; use accents/strips instead.
 */
:root {
	--iera-brand: #1b5e3b;
	--iera-brand-dark: #164a30;
	--iera-brand-soft: #e8f2ec;
	--iera-brand-accent: #3d7a5a;
	--iera-brand-rgb: 27, 94, 59;

	--iera-surface: #f7f8f5;
	--iera-card: #ffffff;
	--iera-text: #1a2420;
	--iera-text-muted: #5c6b63;
	--iera-border: #d5ddd7;

	--iera-danger: #c44b5a;
	--iera-warning: #b8860b;
	--iera-success: #2f6b4f;
	--iera-info: #3d7a5a;

	--iera-radius: 12px;
	--iera-radius-sm: 8px;
	--iera-shadow: 0 2px 10px rgba(26, 36, 32, 0.06);
	--iera-touch-min: 44px;

	/* Back-compat aliases used across dashboard / hubs */
	--iera-primary: var(--iera-brand);
	--iera-secondary: var(--iera-brand-accent);
	--iera-light-bg: var(--iera-surface);
	--iera-header-primary: var(--iera-brand);
	--iera-header-primary-dark: var(--iera-brand-dark);

	/* Semantic accents (calmer; not neon) */
	--iera-p-shahadas: #2f6b4f;
	--iera-p-activities: #3d5a80;
	--iera-p-people: #a35c2b;
	--iera-p-nms: #5b4b7a;
	--iera-p-invoices: #8a6d1f;
	--iera-p-tasks: #2f6f68;
	--iera-p-neutral: #64706a;
}

/* Global shell spacing when mobile bottom nav is present */
@media (max-width: 767.98px) {
	body.com_iera .dashboard-container,
	body.com_iera .projects-container {
		padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px));
	}
}
