/* ═══════════════════════════════════════════════════════════════
   Entity 900 Pages — Extracted inline styles
   Source files listed in section headers
   ═══════════════════════════════════════════════════════════════ */

/* === 900/dashboard.php === */
/* Quick Actions */
.sa-quick-actions-card {
	background: #fff;
	border: 1px solid #D8D0C3;
	margin-bottom: 1rem;
}
.sa-quick-actions-card__header {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 1rem;
	border-bottom: 1px solid #D8D0C3;
}
.sa-quick-actions-card__header h6 {
	font-size: 0.8rem;
	font-weight: 600;
	color: #6E6660;
	text-transform: uppercase;
	letter-spacing: 0.025em;
	margin: 0;
}
.sa-quick-actions-card__header i {
	color: var(--sa-primary-color, #282320);
	font-size: 0.85rem;
}
.sa-primary-actions {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1rem;
	padding: 1rem;
}
.sa-primary-action {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.25rem;
	background: #F8F6F3;
	border: 2px dashed #B5AB9D;
	text-decoration: none;
	color: #3D3833;
	transition: all 0.2s ease;
	cursor: pointer;
}
.sa-primary-action:hover {
	border-color: var(--sa-primary-color, #282320);
	background: #f0f4f5;
	color: #3D3833;
	transform: translateY(-1px);
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.sa-primary-action__icon {
	width: 46px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(40, 35, 32, 0.06);
	color: var(--sa-primary-color, #282320);
	font-size: 1.3rem;
	font-weight: 700;
	flex-shrink: 0;
}
.sa-primary-action__text h5 {
	font-size: 0.88rem;
	font-weight: 700;
	margin: 0 0 0.1rem;
	color: #212529;
}
.sa-primary-action__text p {
	font-size: 0.75rem;
	color: #6c757d;
	margin: 0;
}

/* Portfolio cards grid */
.sa-portfolio-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1rem;
}
.sa-portfolio-card {
	background: #fff;
	border: 1px solid #D8D0C3;
	overflow: hidden;
	transition: all 0.2s ease;
	cursor: pointer;
	text-decoration: none;
	color: inherit;
	display: block;
}
.sa-portfolio-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(0,0,0,.06);
	border-color: #847C70;
	color: inherit;
}
.sa-portfolio-card__banner {
	height: 5px;
}
.sa-portfolio-card__body {
	padding: 1rem 1.25rem;
	display: flex;
	align-items: center;
	gap: 1rem;
}
.sa-portfolio-card__logo {
	width: 48px;
	height: 48px;
	min-width: 48px;
	border-radius: 10px;
	object-fit: contain;
	padding: 3px;
	border: 1px solid #EFEBE5;
	background: #fff;
}
.sa-portfolio-card__avatar {
	width: 48px;
	height: 48px;
	min-width: 48px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
}
.sa-portfolio-card__name {
	font-size: 0.88rem;
	font-weight: 700;
	color: #1A1715;
	margin: 0 0 2px;
}
.sa-portfolio-card__meta {
	font-size: 0.72rem;
	color: #847C70;
	display: flex;
	gap: 0.75rem;
}
.sa-portfolio-card__meta span {
	display: flex;
	align-items: center;
	gap: 4px;
}
.sa-portfolio-card__meta i {
	font-size: 0.6rem;
}

/* Section headers */
.sa-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 1.5rem 0 0.75rem;
}
.sa-section-header h6 {
	font-size: 0.8rem;
	font-weight: 600;
	color: #6E6660;
	text-transform: uppercase;
	letter-spacing: 0.025em;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
.sa-section-header h6 i {
	color: var(--sa-primary-color, #282320);
	font-size: 0.85rem;
}
.sa-section-header a {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--sa-primary-color, #282320);
	text-decoration: none;
}
.sa-section-header a:hover {
	text-decoration: underline;
}

/* Service highlight mini cards */
.sa-service-highlights {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 0.75rem;
}
.sa-service-mini {
	background: #fff;
	border: 1px solid #D8D0C3;
	padding: 1rem;
	text-align: center;
	transition: all 0.15s ease;
	text-decoration: none;
	color: inherit;
	display: block;
}
.sa-service-mini:hover {
	border-color: #847C70;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.04);
	color: inherit;
}
.sa-service-mini__icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	margin: 0 auto 0.5rem;
	background: rgba(40, 35, 32, 0.06);
	color: var(--sa-primary-color, #282320);
}
.sa-service-mini__title {
	font-size: 0.78rem;
	font-weight: 600;
	color: #3D3833;
	margin: 0;
}

@media (max-width: 768px) {
	.sa-primary-actions {
		grid-template-columns: 1fr;
	}
	.sa-portfolio-grid {
		grid-template-columns: 1fr;
	}
}

/* === 900/entities-overview.php === */
/* ── Entity card grid ── */
.sa-ent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 1.25rem; }
@media (max-width: 576px) { .sa-ent-grid { grid-template-columns: 1fr; } }

.sa-ent-card { background: #fff; border: 1px solid #D8D0C3; position: relative; overflow: hidden; transition: all 0.25s cubic-bezier(0.4,0,0.2,1); display: flex; flex-direction: column; cursor: pointer; }
.sa-ent-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-color: #B5AB9D; }

.sa-ent-card__banner { height: 6px; }
.sa-ent-card__body { padding: 18px 20px 0; flex: 1; }
.sa-ent-card__head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.sa-ent-card__logo { width: 64px; height: 64px; min-width: 64px; border-radius: 12px; object-fit: contain; padding: 4px; border: 1px solid #EFEBE5; background: #fff; }
.sa-ent-card__avatar { width: 64px; height: 64px; min-width: 64px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.sa-ent-card__name { font-size: 0.95rem; font-weight: 700; color: #1A1715; margin: 0 0 3px; line-height: 1.25; }
.sa-ent-card__badges { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sa-ent-card__id-badge { font-size: 0.75rem; font-weight: 800; color: #3D3833; background: #D8D0C3; padding: 3px 10px; letter-spacing: 0.03em; }
.sa-ent-card__status-badge { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 2px 7px; }
.sa-ent-card__status-badge--active { background: #F2F5EE; color: #5F7058; }

.sa-ent-card__metrics { display: flex; gap: 6px; margin-bottom: 14px; }
.sa-ent-card__metric { flex: 1; text-align: center; padding: 8px 4px; border: 1px solid #EFEBE5; background: #fafafa; }
.sa-ent-card__metric-val { font-size: 0.95rem; font-weight: 800; color: #1A1715; line-height: 1.1; }
.sa-ent-card__metric-lbl { font-size: 0.55rem; font-weight: 600; color: #847C70; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 2px; }

.sa-ent-card__contact { font-size: 0.75rem; color: #524A45; margin-bottom: 3px; display: flex; align-items: center; gap: 7px; }
.sa-ent-card__contact i { width: 13px; text-align: center; color: #847C70; font-size: 0.68rem; }
.sa-ent-card__contact a { color: inherit; text-decoration: none; }
.sa-ent-card__contact a:hover { text-decoration: underline; }

.sa-ent-card__footer { display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; border-top: 1px solid #EFEBE5; background: #fafafa; }
.sa-ent-card__link { font-size: 0.75rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 4px; transition: all 0.15s ease; color: #3D3833; background: #EFEBE5; border: 1px solid #D8D0C3; }
.sa-ent-card__link:hover { background: #D8D0C3; color: #1A1715; }

.sa-ent-card__date { font-size: 0.65rem; color: #b0b7bf; margin-top: 8px; display: flex; align-items: center; gap: 5px; }

.sa-ent-empty { text-align: center; padding: 3rem; color: #847C70; }
.sa-ent-empty i { font-size: 2.5rem; display: block; margin-bottom: 8px; }

/* === 900/services.php === */
.sa-services-hero {
	background: linear-gradient(135deg, rgba(40, 35, 32, 0.04), rgba(40, 35, 32, 0.01));
	border: 1px solid #D8D0C3;
}
.sa-services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}
.sa-service-card {
	border: 1px solid #D8D0C3;
	transition: all 0.2s ease;
}
.sa-service-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(0,0,0,.06);
	border-color: #847C70;
}
.sa-service-icon {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
	margin-bottom: 1rem;
	background: rgba(40, 35, 32, 0.06);
	color: var(--sa-primary-color, #282320);
}
.sa-service-features {
	list-style: none;
	padding: 0;
	margin: 0.75rem 0 0;
}
.sa-service-features li {
	font-size: 0.8rem;
	color: #6E6660;
	padding: 0.25rem 0;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
.sa-service-features li i {
	font-size: 0.6rem;
	color: #847C70;
}
@media (max-width: 1200px) {
	.sa-services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
	.sa-services-grid { grid-template-columns: 1fr; }
}
