/**
 * PSB-PORTAL-PANEL-PRESUPUESTOS-LAYOUT-UNICO — home en columna única (sin dual estrecho).
 * Scope: .psb-pres-panel-home--layout-unico / legacy composicion-hotfix
 */

body.psb-pres-portal-shell .psb-pres-panel-home--composicion-hotfix {
	gap: 1.15rem;
}

body.psb-pres-portal-shell .psb-pres-panel-home--sin-resumen .psb-pres-panel-home__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 0.15rem;
}

body.psb-pres-portal-shell .psb-pres-panel-home--sin-resumen .psb-pres-panel-home-summary,
body.psb-pres-portal-shell .psb-pres-panel-home--sin-resumen .psb-pres-panel-home-counters {
	display: none !important;
}

body.psb-pres-portal-shell .psb-pres-panel-home--composicion-hotfix .psb-pres-panel-home__dual,
body.psb-pres-portal-shell .psb-pres-panel-home--layout-unico .psb-pres-panel-home__stack {
	display: flex;
	flex-direction: column;
	gap: 1.35rem;
	align-items: stretch;
	width: 100%;
}

body.psb-pres-portal-shell .psb-pres-panel-home--composicion-hotfix .psb-pres-panel-home-pending,
body.psb-pres-portal-shell .psb-pres-panel-home--composicion-hotfix .psb-pres-panel-home-activity,
body.psb-pres-portal-shell .psb-pres-panel-home--composicion-hotfix .psb-pres-panel-home-approve {
	min-height: 0;
	margin-bottom: 0;
	width: 100%;
}

body.psb-pres-portal-shell .psb-pres-panel-home--composicion-hotfix .psb-pres-panel-module__head--with-link,
body.psb-pres-portal-shell .psb-pres-panel-home--layout-unico .psb-pres-panel-module__head--with-link {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 12px;
	margin-bottom: 0.75rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid #f5f5f4;
}

body.psb-pres-portal-shell .psb-pres-panel-home--composicion-hotfix .psb-pres-panel-module__ver-todo,
body.psb-pres-portal-shell .psb-pres-panel-home--layout-unico .psb-pres-panel-module__ver-todo {
	font-size: 12px;
	font-weight: 550;
	color: #78716c;
	text-decoration: none;
	white-space: nowrap;
}

body.psb-pres-portal-shell .psb-pres-panel-home--composicion-hotfix .psb-pres-panel-module__ver-todo:hover,
body.psb-pres-portal-shell .psb-pres-panel-home--composicion-hotfix .psb-pres-panel-module__ver-todo:focus,
body.psb-pres-portal-shell .psb-pres-panel-home--layout-unico .psb-pres-panel-module__ver-todo:hover,
body.psb-pres-portal-shell .psb-pres-panel-home--layout-unico .psb-pres-panel-module__ver-todo:focus {
	color: #44403c;
	text-decoration: underline;
}

body.psb-pres-portal-shell .psb-pres-panel-home--composicion-hotfix .psb-pres-panel-rows--home,
body.psb-pres-portal-shell .psb-pres-panel-home--layout-unico .psb-pres-panel-rows--home {
	gap: 0.65rem;
}

body.psb-pres-portal-shell .psb-pres-panel-home--composicion-hotfix .psb-pres-panel-rows--home .psb-pres-panel-row,
body.psb-pres-portal-shell .psb-pres-panel-home--layout-unico .psb-pres-panel-rows--home .psb-pres-panel-row {
	padding: 1rem 1.1rem;
}

/* Forzar una sola columna también en anchos grandes (retirar dual histórico). */
@media (min-width: 900px) {
	body.psb-pres-portal-shell .psb-pres-panel-home--composicion-hotfix .psb-pres-panel-home__dual {
		display: flex;
		flex-direction: column;
		grid-template-columns: none;
		gap: 1.35rem;
	}
}
